@hcflabs/pi-subagent 28.3.1 → 28.3.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/CONTEXT.md +2 -2
- package/dist/direct-herdr.js +1 -1
- package/dist/herdr-runtime.js +1 -0
- package/package.json +2 -2
package/CONTEXT.md
CHANGED
|
@@ -10,7 +10,7 @@ Pi Subagent delegates bounded work to Role-configured Pi workers. Direct tasks s
|
|
|
10
10
|
The Pi session and checkout that coordinate delegated work. Main is not the Git branch `main`.
|
|
11
11
|
|
|
12
12
|
**Repository target**:
|
|
13
|
-
A Git top-level directory inside Main's working directory, selected with a `repo` field. Direct work, isolated state, and promotion use it in place of Main's checkout. See [ADR
|
|
13
|
+
A Git top-level directory inside Main's working directory, selected with a `repo` field. Direct work, isolated state, and promotion use it in place of Main's checkout. See [ADR 019](../../docs/adr/019-pi-subagent-orchestration.md).
|
|
14
14
|
_Avoid_: child checkout, project
|
|
15
15
|
|
|
16
16
|
**Role**:
|
|
@@ -45,7 +45,7 @@ An isolated-graph task whose result is bounded text rather than a changeset. Com
|
|
|
45
45
|
An isolated-graph task that produces a committed change in its own worker worktree.
|
|
46
46
|
|
|
47
47
|
**Full suite**:
|
|
48
|
-
The one check that every changeset graph must pass at validation. Admission selects it from config, `package.json`, or `Makefile` and saves it with the request. See [ADR
|
|
48
|
+
The one check that every changeset graph must pass at validation. Admission selects it from config, `package.json`, or `Makefile` and saves it with the request. See [ADR 019](../../docs/adr/019-pi-subagent-orchestration.md).
|
|
49
49
|
_Avoid_: root test script, `pnpm test` suite
|
|
50
50
|
|
|
51
51
|
### Checked integration
|
package/dist/direct-herdr.js
CHANGED
|
@@ -216,7 +216,7 @@ export function createDirectHerdr(pi, cwd, idleMs) {
|
|
|
216
216
|
onTab({ name, tabId, paneId, sessionFile, leasePath, turn, workspaceId, cwd: workingDir });
|
|
217
217
|
signal.throwIfAborted();
|
|
218
218
|
const started = await startPiAgent(herdr, { name, pane: paneId,
|
|
219
|
-
args: [...sessionArgs, "--session", sessionFile], options: options(signal), shouldRetry: () => false });
|
|
219
|
+
args: [...sessionArgs, "--session", sessionFile], options: options(signal), shouldRetry: () => false, freshPane: true });
|
|
220
220
|
if (started.code !== 0 || started.killed)
|
|
221
221
|
throw new Error(`Herdr agent start failed: ${started.stderr.slice(0, 1000)}`);
|
|
222
222
|
if (inspect(JSON.parse(started.stdout), "agent_started", name, paneId, tabId) !== "idle")
|
package/dist/herdr-runtime.js
CHANGED
|
@@ -909,6 +909,7 @@ export class HerdrHostRuntime {
|
|
|
909
909
|
args: [...args, "--session", sessionFile],
|
|
910
910
|
options,
|
|
911
911
|
shouldRetry: () => false,
|
|
912
|
+
freshPane: true,
|
|
912
913
|
});
|
|
913
914
|
if (response.code !== 0 || response.killed) {
|
|
914
915
|
const failure = safeText(herdrCommandFailure(["agent", "start"], response));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hcflabs/pi-subagent",
|
|
3
|
-
"version": "28.3.
|
|
3
|
+
"version": "28.3.3",
|
|
4
4
|
"description": "Delegate bounded direct work or durable checked isolated task graphs to Pi roles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@hcflabs/pi-config-store": "^4.0.0",
|
|
74
|
-
"@hcflabs/pi-herdr": "^0.
|
|
74
|
+
"@hcflabs/pi-herdr": "^0.7.0",
|
|
75
75
|
"@hcflabs/pi-process": "^0.3.0",
|
|
76
76
|
"@hcflabs/pi-repo": "^0.1.0",
|
|
77
77
|
"@hcflabs/pi-task-models": "^9.0.0",
|