@signalridge/pi-subagents 1.10.2 → 1.10.3
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.
- package/CHANGELOG.md +5 -0
- package/package.json +2 -2
- package/src/agent-runner.ts +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalridge/pi-subagents",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "Signalridge's managed subagent runtime with workflow-owned orchestration RPC.",
|
|
5
5
|
"author": "tintinweb and signalridge contributors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"croner": "^10.0.1",
|
|
35
35
|
"@signalridge/pi-subagents-protocol": "^1.5.0",
|
|
36
36
|
"@signalridge/pi-ui": "^1.3.1",
|
|
37
|
-
"nanoid": "^5.
|
|
37
|
+
"nanoid": "^5.1.16"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsc",
|
package/src/agent-runner.ts
CHANGED
|
@@ -314,7 +314,7 @@ export function installExtensionToolScope(
|
|
|
314
314
|
}
|
|
315
315
|
// Scope first, then approval: a tool this agent may not use at all is
|
|
316
316
|
// refused without troubling the user about it.
|
|
317
|
-
const gated = await askGate?.(context.toolCall.name,
|
|
317
|
+
const gated = await askGate?.(context.toolCall.name, context.args);
|
|
318
318
|
if (gated) return gated;
|
|
319
319
|
return priorBeforeToolCall?.(context, signal);
|
|
320
320
|
};
|
|
@@ -1312,7 +1312,7 @@ export async function runAgent(
|
|
|
1312
1312
|
const priorBeforeToolCall = session.agent.beforeToolCall;
|
|
1313
1313
|
session.agent.beforeToolCall = async (context, signal) => {
|
|
1314
1314
|
const run = async () => {
|
|
1315
|
-
const gated = await askGate(context.toolCall.name,
|
|
1315
|
+
const gated = await askGate(context.toolCall.name, context.args);
|
|
1316
1316
|
if (gated) return gated;
|
|
1317
1317
|
return priorBeforeToolCall?.(context, signal);
|
|
1318
1318
|
};
|