@dougbots/avenor-pi 0.10.1 → 0.10.2

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2404,12 +2404,14 @@ function createExtension(deps = defaultDeps, options = {}) {
2404
2404
  description: "Ask another agent run a question and block until it replies.",
2405
2405
  parameters: Type.Object({
2406
2406
  to_run_id: Type.String({ description: "Target run ID" }),
2407
- message: Type.String({ description: "Question to ask the other agent" })
2407
+ message: Type.String({ description: "Question to ask the other agent" }),
2408
+ supervisor_id: Type.Optional(Type.String({ description: "Reuse an existing supervisor by socket path" }))
2408
2409
  }),
2409
2410
  async execute(_toolCallId, params) {
2410
2411
  return askTool({
2411
2412
  toRunId: params.to_run_id,
2412
- message: params.message
2413
+ message: params.message,
2414
+ supervisorId: params.supervisor_id
2413
2415
  });
2414
2416
  }
2415
2417
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dougbots/avenor-pi",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -35,7 +35,7 @@
35
35
  "dev": "tsdown --watch"
36
36
  },
37
37
  "dependencies": {
38
- "@dougbots/avenor-core": "^0.10.1"
38
+ "@dougbots/avenor-core": "^0.10.2"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@earendil-works/pi-coding-agent": ">=0.74.0",