pi-sessions 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,6 +76,7 @@ export function createSessionReachableTool(deps: SessionReachableDeps): ToolDefi
|
|
|
76
76
|
promptGuidelines: [
|
|
77
77
|
"Before session_send_message, use session_reachable to find the target session id.",
|
|
78
78
|
],
|
|
79
|
+
annotations: { readOnlyHint: true, openWorldHint: false },
|
|
79
80
|
parameters: subagentsAvailable ? SESSION_REACHABLE_PARAMS : SESSION_REACHABLE_USER_PARAMS,
|
|
80
81
|
outputSchema: SESSION_REACHABLE_TOOL_DETAILS_SCHEMA,
|
|
81
82
|
renderResult(result, options, theme, context) {
|
|
@@ -638,7 +638,7 @@ function extractMessageFileTouches(
|
|
|
638
638
|
toolCalls = message.content.filter(isToolCallBlock);
|
|
639
639
|
} else if (message.role === "toolResult" && message.nestedCalls) {
|
|
640
640
|
// Calls made through ctx.executeTool(), e.g. from a codemode script, only appear here.
|
|
641
|
-
toolCalls = message.nestedCalls.calls;
|
|
641
|
+
toolCalls = message.nestedCalls.calls.filter((call) => call.status !== "error");
|
|
642
642
|
} else {
|
|
643
643
|
return [];
|
|
644
644
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-sessions",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pi session search, ask, handoff, messaging, auto-titling, and indexing tools",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@biomejs/biome": "^2.5.10",
|
|
41
|
-
"@earendil-works/pi-agent-core": "^0.
|
|
42
|
-
"@earendil-works/pi-ai": "^0.
|
|
43
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
44
|
-
"@earendil-works/pi-tui": "^0.
|
|
41
|
+
"@earendil-works/pi-agent-core": "^1.0.2",
|
|
42
|
+
"@earendil-works/pi-ai": "^1.0.2",
|
|
43
|
+
"@earendil-works/pi-coding-agent": "^1.0.2",
|
|
44
|
+
"@earendil-works/pi-tui": "^1.0.2",
|
|
45
45
|
"@types/node": "^24.13.3",
|
|
46
46
|
"strip-ansi": "^7.2.0",
|
|
47
47
|
"typebox": "1.3.27",
|
|
48
48
|
"typescript": "^7.0.0",
|
|
49
|
-
"vitest": "^
|
|
49
|
+
"vitest": "^5.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@earendil-works/pi-agent-core": "*",
|