@dougbots/avenor-pi 0.10.4 → 0.11.0
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/dist/index.js +10 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2077,12 +2077,14 @@ function createExtension(deps = defaultDeps, options = {}) {
|
|
|
2077
2077
|
promptSnippet: "Dispatch sub-agent runs via avenor (spawn, status, result, inspect, events, follow-up, shutdown)",
|
|
2078
2078
|
promptGuidelines: [
|
|
2079
2079
|
"Use avenor_spawn to delegate well-defined tasks to sub-agents.",
|
|
2080
|
-
"Use avenor_status
|
|
2081
|
-
"Use avenor_result to
|
|
2080
|
+
"Use avenor_status (view \"lifecycle\") only to check progress or pending permissions.",
|
|
2081
|
+
"Use avenor_result to retrieve the final result of a sub-agent; it waits by default, but set wait=false for runs that already completed.",
|
|
2082
2082
|
"Use avenor_inspect to review a bounded transcript and tool activity from a run.",
|
|
2083
|
-
"Use avenor_events only when raw event payloads
|
|
2083
|
+
"Use avenor_events only when you specifically need raw event payloads.",
|
|
2084
2084
|
"Use avenor_follow_up to iterate on a completed run.",
|
|
2085
|
-
"Use avenor_shutdown when done delegating work."
|
|
2085
|
+
"Use avenor_shutdown when done delegating work.",
|
|
2086
|
+
"When roster_entry is set, the roster selects agent, model, and backend; do not pass those fields alongside it.",
|
|
2087
|
+
"If a roster spawn fails validation or resolution, do not retry the roster: respawn without roster_file/roster_entry. Direct selectors (agent, model, backend) are optional; omission uses runtime defaults."
|
|
2086
2088
|
],
|
|
2087
2089
|
parameters: Type.Object({
|
|
2088
2090
|
agent: Type.Optional(Type.String({ description: "Optional agent name; omission uses the supplied model or runtime defaults" })),
|
|
@@ -2103,7 +2105,7 @@ function createExtension(deps = defaultDeps, options = {}) {
|
|
|
2103
2105
|
], { description: "Thinking level; omission uses the backend default" })),
|
|
2104
2106
|
backend: Type.Optional(Type.String({ description: "Backend override (defaults to pi for direct mode)" })),
|
|
2105
2107
|
roster_file: Type.Optional(Type.String({ description: "Path to the roster map" })),
|
|
2106
|
-
roster_entry: Type.Optional(Type.String({ description: "Roster entry to select" })),
|
|
2108
|
+
roster_entry: Type.Optional(Type.String({ description: "Roster entry to select. Requires roster_file unless a roster context is configured; disables agent, model, and backend" })),
|
|
2107
2109
|
server_url: Type.Optional(Type.String({ description: "Backend server URL" })),
|
|
2108
2110
|
supervisor_id: Type.Optional(Type.String({ description: "Reuse an existing supervisor by socket path" })),
|
|
2109
2111
|
wait: Type.Optional(Type.Boolean({ description: "Block until complete (default true)" }))
|
|
@@ -2331,10 +2333,10 @@ function createExtension(deps = defaultDeps, options = {}) {
|
|
|
2331
2333
|
pi.registerTool({
|
|
2332
2334
|
name: "avenor_result",
|
|
2333
2335
|
label: "Avenor Result",
|
|
2334
|
-
description: "
|
|
2336
|
+
description: "Retrieve the complete final output of a run without transcript or event details. Waits by default; set wait=false to retrieve an already-completed run without blocking.",
|
|
2335
2337
|
parameters: Type.Object({
|
|
2336
|
-
run_id: Type.String({ description: "Run ID
|
|
2337
|
-
wait: Type.Optional(Type.Boolean({ description: "Wait for a terminal result (default true)" })),
|
|
2338
|
+
run_id: Type.String({ description: "Run ID or label" }),
|
|
2339
|
+
wait: Type.Optional(Type.Boolean({ description: "Wait for a terminal result (default true); false retrieves the current state without blocking" })),
|
|
2338
2340
|
timeout: Type.Optional(Type.String({ description: "Maximum time to wait (e.g. 30s, 5m)" })),
|
|
2339
2341
|
supervisor_id: Type.Optional(Type.String({ description: "Reuse an existing supervisor by socket path" }))
|
|
2340
2342
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dougbots/avenor-pi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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.
|
|
38
|
+
"@dougbots/avenor-core": "^0.11.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@earendil-works/pi-coding-agent": ">=0.74.0",
|