@hcflabs/pi-subagent 27.10.7 → 27.10.8

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/README.md CHANGED
@@ -238,7 +238,7 @@ The built-in reviewer answers exactly `PASS` when it finds no actionable correct
238
238
 
239
239
  The built-in reviewer and scout include `git_read`; existing user reviewers and scouts must add it to `tools`. No additional extension or Bash access is necessary. See [Reviewer Git inspection](./docs/orchestration.md#reviewer-git-inspection) for operations, parameters, limits, and Git requirements.
240
240
 
241
- Children load only declared resources and required adapters. Roles must list their model provider extension. `codemode` requires both `builtin:codemode` in `extensions` and `codemode` in `tools`. Missing Skills, tools, MCP servers, Roles, or routes fail before productive work. Main-only delegation/recovery tools and `ask_question` stay unavailable to children.
241
+ Children load only declared resources and required adapters. Roles must list their model provider extension. `codemode` requires both `builtin:codemode` in `extensions` and `codemode` in `tools`. Missing Skills, tools, MCP servers, Roles, or routes fail before productive work. Main-only delegation, integration, and recovery tools, `herdr_handoff`, and `ask_question` stay unavailable to children.
242
242
 
243
243
  Read [Role and resource policy](./docs/orchestration.md#role-and-resource-policy) for extension exposure, MCP validation, OAuth constraints, and child budgets. Project MCP overrides cannot change a Role's global allowlist or exposure.
244
244
 
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ export declare function roleToolPolicyFromArgv(args: readonly string[]): string[
19
19
  * `codemode` or `deferred` exposure. Loading `builtin:codemode` alone registers the tool inactive.
20
20
  */
21
21
  export declare function roleActivatesCodemode(tools: readonly string[]): boolean;
22
- export declare const CHILD_EXCLUDED_TOOL_NAMES: readonly ["delegate_task", "ask_question", "subagent_status", "subagent_resume", "subagent_stage", "subagent_abort"];
22
+ export declare const CHILD_EXCLUDED_TOOL_NAMES: readonly ["delegate_task", "ask_question", "subagent_status", "subagent_resume", "subagent_stage", "subagent_integrate", "subagent_abort", "herdr_handoff"];
23
23
  export declare const DELEGATE_TASK: {
24
24
  readonly id: "pi-subagent/delegateTask";
25
25
  readonly label: "Subagent delegation";
package/dist/index.js CHANGED
@@ -65,7 +65,9 @@ export const CHILD_EXCLUDED_TOOL_NAMES = [
65
65
  "subagent_status",
66
66
  "subagent_resume",
67
67
  "subagent_stage",
68
+ "subagent_integrate",
68
69
  "subagent_abort",
70
+ "herdr_handoff",
69
71
  ];
70
72
  const SYSTEM_PROMPT_FLAG = "--append-system-prompt";
71
73
  const CHILD_IDENTITY_POLICY = "You are a delegated Pi Subagent, not Main. Execute the assigned Role and task directly. Main-only delegation rules do not apply. Recursive delegation is unavailable; do not seek or invoke delegation tools.";
@@ -465,7 +465,7 @@ Every child launch:
465
465
  2. loads only declared resources plus required internal adapters;
466
466
  3. resolves Skill and model names from Pi's effective registries;
467
467
  4. installs an exact tool policy;
468
- 5. excludes Main-only delegation/recovery tools and `ask_question`; and
468
+ 5. excludes Main-only delegation, integration, and recovery tools, `herdr_handoff`, and `ask_question`; and
469
469
  6. prepends the delegated-subagent identity contract.
470
470
 
471
471
  An empty `tools` list adds no base tools. Selected extension tools can still activate.
@@ -494,7 +494,7 @@ Before launch, the extension checks each selected entry against Pi's documented
494
494
 
495
495
  The extension never modifies the file. Fix the entry or choose another server. The extension passes valid `auth`, `oauth`, and `description` fields through, so Pi's native provider auth and OAuth apply. `oauth.clientRegistration` must be `dcr` or `cimd`. A `cimd` entry cannot use `clientId` or `clientName`. Any `callbackUrl` must use localhost or 127.0.0.1 with path `/callback`.
496
496
 
497
- The extension still ignores project MCP overrides. A project cannot change the global server allowlist or exposure of the Role. Missing Skills, tools, MCP servers, Roles, or routes fail before productive work starts. The extension excludes Main-only delegation and recovery tools and `ask_question` from children.
497
+ The extension still ignores project MCP overrides. A project cannot change the global server allowlist or exposure of the Role. Missing Skills, tools, MCP servers, Roles, or routes fail before productive work starts. The extension excludes Main-only delegation, integration, and recovery tools, `herdr_handoff`, and `ask_question` from children.
498
498
 
499
499
  Isolated Herdr Role launches receive the same turn, token, and child-runtime budget metadata as ephemeral launches. Retained workers therefore keep one non-refilling session budget across follow-ups rather than receiving a new request budget.
500
500
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hcflabs/pi-subagent",
3
- "version": "27.10.7",
3
+ "version": "27.10.8",
4
4
  "description": "Delegate bounded direct work or durable checked isolated task graphs to Pi roles.",
5
5
  "keywords": [
6
6
  "pi-package",