mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-07 19:06:11 +00:00
* feat(a2a): steer session citations toward inspect_peer Copy-reference prose and markdown /sessions/<id> links both parse to hub ids; MCP/CLI descriptions and flavor prompts forbid treating them as local FS paths so agents call inspect_peer first (tiann/hapi#1370). Co-authored-by: Cursor <cursoragent@cursor.com> * fix(a2a): fail closed on ambiguous session citations Codex #1373: do not silently pick ids[0] when a paste contains multiple /sessions/ links (shared by inspect_peer and ping_peer). Also strip trailing prose punctuation from bare citation ids. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(a2a): prefer Copy-reference path over title /sessions/ Codex #1373 MINOR: titles containing /sessions/<other> must not make normalizeSessionIdPrefix fail closed on an otherwise valid paste. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(a2a): do not short-circuit multi-citation Copy-reference pastes Codex #1373 MAJOR: only treat parenthesized Copy-reference as canonical when the paste is that citation alone (plus optional steer suffix). Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"name": "@hapi/protocol",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./apiTypes": "./src/apiTypes.ts",
|
|
"./messages": "./src/messages.ts",
|
|
"./slashCommands": "./src/slashCommands.ts",
|
|
"./buildInfo": "./src/buildInfo.ts",
|
|
"./conversationHistory": "./src/conversationHistory.ts",
|
|
"./modes": "./src/modes.ts",
|
|
"./rpcMethods": "./src/rpcMethods.ts",
|
|
"./schemas": "./src/schemas.ts",
|
|
"./sessionCitation": "./src/sessionCitation.ts",
|
|
"./sessionExport": "./src/sessionExport.ts",
|
|
"./types": "./src/types.ts",
|
|
"./voice": "./src/voice.ts",
|
|
"./voicePickerCatalog": "./src/voicePickerCatalog.ts",
|
|
"./voice-personality": "./src/voicePersonality.ts"
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^4.2.1"
|
|
}
|
|
}
|