@henryqw/pi-subagent 22.0.0 → 22.0.1

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.
@@ -1,6 +1,6 @@
1
1
  import { realpath } from "node:fs/promises";
2
2
  import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
3
- import type { Role } from "../src/index.ts";
3
+ import type { Role } from "../dist/index.js";
4
4
 
5
5
  const READ_ONLY_TOOLS = new Set([
6
6
  "read", "grep", "find", "ffgrep", "fffind", "ls", "codegraph_explore", "subagent_status",
@@ -1,19 +1,19 @@
1
1
  import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
2
- import type { EphemeralSubagentExecutor } from "../src/ephemeral.ts";
3
- import { ROLE_TOOL_POLICY_FLAG } from "../src/index.ts";
2
+ import type { EphemeralSubagentExecutor } from "../dist/ephemeral.js";
3
+ import { ROLE_TOOL_POLICY_FLAG } from "../dist/index.js";
4
4
  import type { EffectiveExecutionPolicy } from "./config.ts";
5
5
  import {
6
6
  createCanonicalGitRootResolver,
7
7
  createExactJudgmentExecutor,
8
- } from "../src/composition.ts";
8
+ } from "../dist/composition.js";
9
9
  import {
10
10
  CheckedGitRuntime,
11
11
  type DirectProcessRunner,
12
- } from "../src/git-runtime.ts";
13
- import { HerdrHostRuntime } from "../src/herdr-runtime.ts";
14
- import { runProcess as directRunProcess } from "../src/process.ts";
15
- import { RoleLaunchRuntime, type LaunchRuntimeOptions } from "../src/launch-runtime.ts";
16
- import { IsolatedRunner, type OperationContext, type RunResponse } from "../src/runner.ts";
12
+ } from "../dist/git-runtime.js";
13
+ import { HerdrHostRuntime } from "../dist/herdr-runtime.js";
14
+ import { runProcess as directRunProcess } from "../dist/process.js";
15
+ import { RoleLaunchRuntime, type LaunchRuntimeOptions } from "../dist/launch-runtime.js";
16
+ import { IsolatedRunner, type OperationContext, type RunResponse } from "../dist/runner.js";
17
17
  import {
18
18
  IdOnlySchema,
19
19
  ResumeRequestSchema,
@@ -31,8 +31,8 @@ import {
31
31
  type RunState,
32
32
  type WorktreeAllocationIntent,
33
33
  type WorkspaceAllocationIntent,
34
- } from "../src/schema.ts";
35
- import { FileRunStore } from "../src/store.ts";
34
+ } from "../dist/schema.js";
35
+ import { FileRunStore } from "../dist/store.js";
36
36
  import type { IsolatedInventory } from "./subagent-command.ts";
37
37
 
38
38
  const LOOKUP_ROOT_TIMEOUT_MS = 5_000;
@@ -10,8 +10,8 @@ import { registerSubagentCommand, type DirectTask } from "./subagent-command.ts"
10
10
  import { MODEL_CLASS_GUIDANCE } from "./model-class-policy.ts";
11
11
  import { formatWorkflowResult, presentWorkflowEntryStatus, type BackgroundWorkflowTransportDetails, type WorkflowTransportEntry } from "./result-transport.ts";
12
12
  import { DelegateTaskSchema, identifyWorkflowEntries, parseDelegateTask, runForegroundWorkflow, type Delegation, type ParsedWorkflow, type WorkflowEntry } from "./workflow.ts";
13
- import { createDirectHerdr, type DirectHandle, type DirectTab } from "../src/direct-herdr.ts";
14
- import { materializeTransientLaunch } from "../src/launch-runtime.ts";
13
+ import { createDirectHerdr, type DirectHandle, type DirectTab } from "../dist/direct-herdr.js";
14
+ import { materializeTransientLaunch } from "../dist/launch-runtime.js";
15
15
  const WIDGET_KEY = "subagent-status";
16
16
  const WIDGET_INTERVAL_MS = 80;
17
17
  const MAX_WIDGET_ITEMS = 8;
@@ -3,7 +3,7 @@ import { DISPLAY_TEXT_CONTRACT } from "@henryqw/pi-subagent";
3
3
  import { PROFILE_NAMES } from "@henryqw/pi-task-models";
4
4
  import { Type, type Static } from "typebox";
5
5
  import { Check, Errors } from "typebox/value";
6
- import { ExecuteRequestSchema, parseExecuteRequest, type ExecuteRequest } from "../src/schema.ts";
6
+ import { ExecuteRequestSchema, parseExecuteRequest, type ExecuteRequest } from "../dist/schema.js";
7
7
  import { TaskNameSchema, normalizeTaskName } from "./task-name.ts";
8
8
 
9
9
  export const MAX_WORKFLOW_ENTRIES = 8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-subagent",
3
- "version": "22.0.0",
3
+ "version": "22.0.1",
4
4
  "description": "Delegate bounded direct work or durable checked isolated task graphs to Pi roles.",
5
5
  "keywords": [
6
6
  "pi-package",