@1agents/acp-service 0.10.12 → 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.
Files changed (108) hide show
  1. package/dist/src/catalog.js +13 -3
  2. package/package.json +4 -4
  3. package/skills/acp-service/SKILL.md +1 -1
  4. package/vendor/runtime/README.md +36 -11
  5. package/vendor/runtime/dist/{agent-registry-DxcyXXqb.js → agent-registry-CsdsVpJb.js} +209 -177
  6. package/vendor/runtime/dist/agent-registry-CsdsVpJb.js.map +1 -0
  7. package/vendor/runtime/dist/agent-registry.d.ts +0 -2
  8. package/vendor/runtime/dist/agent-registry.d.ts.map +1 -1
  9. package/vendor/runtime/dist/agent-registry.js +1 -1
  10. package/vendor/runtime/dist/{cli-BKmMxgix.js → cli-B5gQOSDl.js} +33 -14
  11. package/vendor/runtime/dist/cli-B5gQOSDl.js.map +1 -0
  12. package/vendor/runtime/dist/cli.d.ts +2 -6
  13. package/vendor/runtime/dist/cli.d.ts.map +1 -1
  14. package/vendor/runtime/dist/cli.js +189 -164
  15. package/vendor/runtime/dist/cli.js.map +1 -1
  16. package/vendor/runtime/dist/{client-C5zneoBs.d.ts → client-D5y4RXME.d.ts} +4 -12
  17. package/vendor/runtime/dist/client-D5y4RXME.d.ts.map +1 -0
  18. package/vendor/runtime/dist/docs-site/CLI.html +19 -21
  19. package/vendor/runtime/dist/docs-site/VISION.html +3 -2
  20. package/vendor/runtime/dist/docs-site/agents.html +10 -15
  21. package/vendor/runtime/dist/docs-site/assets/agents/Apache-2.0.txt +202 -0
  22. package/vendor/runtime/dist/docs-site/assets/agents/LobeHub-MIT.txt +21 -0
  23. package/vendor/runtime/dist/docs-site/assets/agents/Mux-AGPL-3.0.txt +661 -0
  24. package/vendor/runtime/dist/docs-site/assets/agents/README.md +41 -0
  25. package/vendor/runtime/dist/docs-site/assets/agents/ante.png +0 -0
  26. package/vendor/runtime/dist/docs-site/assets/agents/antigravity.png +0 -0
  27. package/vendor/runtime/dist/docs-site/assets/agents/claude.png +0 -0
  28. package/vendor/runtime/dist/docs-site/assets/agents/codex.png +0 -0
  29. package/vendor/runtime/dist/docs-site/assets/agents/copilot.png +0 -0
  30. package/vendor/runtime/dist/docs-site/assets/agents/cursor.png +0 -0
  31. package/vendor/runtime/dist/docs-site/assets/agents/deepseek-harness.png +0 -0
  32. package/vendor/runtime/dist/docs-site/assets/agents/devin.png +0 -0
  33. package/vendor/runtime/dist/docs-site/assets/agents/droid.png +0 -0
  34. package/vendor/runtime/dist/docs-site/assets/agents/fast-agent.png +0 -0
  35. package/vendor/runtime/dist/docs-site/assets/agents/fx.png +0 -0
  36. package/vendor/runtime/dist/docs-site/assets/agents/gemini.png +0 -0
  37. package/vendor/runtime/dist/docs-site/assets/agents/goose.png +0 -0
  38. package/vendor/runtime/dist/docs-site/assets/agents/grok-build.png +0 -0
  39. package/vendor/runtime/dist/docs-site/assets/agents/iflow.png +0 -0
  40. package/vendor/runtime/dist/docs-site/assets/agents/junie.png +0 -0
  41. package/vendor/runtime/dist/docs-site/assets/agents/kilocode.png +0 -0
  42. package/vendor/runtime/dist/docs-site/assets/agents/kimi.png +0 -0
  43. package/vendor/runtime/dist/docs-site/assets/agents/kiro.png +0 -0
  44. package/vendor/runtime/dist/docs-site/assets/agents/mcode.png +0 -0
  45. package/vendor/runtime/dist/docs-site/assets/agents/mux.png +0 -0
  46. package/vendor/runtime/dist/docs-site/assets/agents/octomind.png +0 -0
  47. package/vendor/runtime/dist/docs-site/assets/agents/openclaw.png +0 -0
  48. package/vendor/runtime/dist/docs-site/assets/agents/opencode.png +0 -0
  49. package/vendor/runtime/dist/docs-site/assets/agents/pi.png +0 -0
  50. package/vendor/runtime/dist/docs-site/assets/agents/pool.png +0 -0
  51. package/vendor/runtime/dist/docs-site/assets/agents/qoder.png +0 -0
  52. package/vendor/runtime/dist/docs-site/assets/agents/qwen.png +0 -0
  53. package/vendor/runtime/dist/docs-site/assets/agents/trae.png +0 -0
  54. package/vendor/runtime/dist/docs-site/assets/agents/zeroclaw.png +0 -0
  55. package/vendor/runtime/dist/docs-site/compare.html +8 -7
  56. package/vendor/runtime/dist/docs-site/config.html +5 -4
  57. package/vendor/runtime/dist/docs-site/custom-agents.html +13 -13
  58. package/vendor/runtime/dist/docs-site/exit-codes.html +4 -3
  59. package/vendor/runtime/dist/docs-site/flows.html +21 -8
  60. package/vendor/runtime/dist/docs-site/index.html +7 -6
  61. package/vendor/runtime/dist/docs-site/install.html +7 -6
  62. package/vendor/runtime/dist/docs-site/llms.txt +6 -6
  63. package/vendor/runtime/dist/docs-site/output-formats.html +9 -8
  64. package/vendor/runtime/dist/docs-site/permissions.html +5 -4
  65. package/vendor/runtime/dist/docs-site/prompting.html +9 -7
  66. package/vendor/runtime/dist/docs-site/quickstart.html +5 -4
  67. package/vendor/runtime/dist/docs-site/releasing.html +9 -8
  68. package/vendor/runtime/dist/docs-site/runtime-environment.html +28 -5
  69. package/vendor/runtime/dist/docs-site/runtime-process-lifecycle.html +13 -7
  70. package/vendor/runtime/dist/docs-site/safe-errors.html +3 -2
  71. package/vendor/runtime/dist/docs-site/session-control.html +7 -6
  72. package/vendor/runtime/dist/docs-site/session-watch.html +6 -5
  73. package/vendor/runtime/dist/docs-site/sessions.html +13 -10
  74. package/vendor/runtime/dist/docs-site/shared-sessions.html +7 -4
  75. package/vendor/runtime/dist/{flows-VrII9VKZ.js → flows-CDj5YcTh.js} +136 -68
  76. package/vendor/runtime/dist/flows-CDj5YcTh.js.map +1 -0
  77. package/vendor/runtime/dist/flows.d.ts +28 -19
  78. package/vendor/runtime/dist/flows.d.ts.map +1 -1
  79. package/vendor/runtime/dist/flows.js +1 -1
  80. package/vendor/runtime/dist/{invocation-options-DHMZ5Rrb.js → input-file-BsfVGZgn.js} +30 -15
  81. package/vendor/runtime/dist/input-file-BsfVGZgn.js.map +1 -0
  82. package/vendor/runtime/dist/{ipc-CNNM5DP_.js → ipc-DfqJsbk6.js} +114 -146
  83. package/vendor/runtime/dist/ipc-DfqJsbk6.js.map +1 -0
  84. package/vendor/runtime/dist/{output-DtzXtiBc.js → output-DOIF4iFc.js} +20 -47
  85. package/vendor/runtime/dist/output-DOIF4iFc.js.map +1 -0
  86. package/vendor/runtime/dist/{queue-owner-runtime-ehuh3SQU.js → queue-owner-runtime-DHBQbjXo.js} +394 -258
  87. package/vendor/runtime/dist/queue-owner-runtime-DHBQbjXo.js.map +1 -0
  88. package/vendor/runtime/dist/runtime.d.ts +37 -36
  89. package/vendor/runtime/dist/runtime.d.ts.map +1 -1
  90. package/vendor/runtime/dist/runtime.js +117 -172
  91. package/vendor/runtime/dist/runtime.js.map +1 -1
  92. package/vendor/runtime/dist/{session-options-NjpFwf-c.d.ts → session-options-Ci4aw1oD.d.ts} +13 -16
  93. package/vendor/runtime/dist/session-options-Ci4aw1oD.d.ts.map +1 -0
  94. package/vendor/runtime/dist/{session-watch-CbKfGRkZ.js → session-watch-DRwFHcWw.js} +5 -6
  95. package/vendor/runtime/dist/{session-watch-CbKfGRkZ.js.map → session-watch-DRwFHcWw.js.map} +1 -1
  96. package/vendor/runtime/dist/{watch-BGt4kcE6.js → watch-CUDGkljG.js} +3 -4
  97. package/vendor/runtime/dist/{watch-BGt4kcE6.js.map → watch-CUDGkljG.js.map} +1 -1
  98. package/vendor/runtime/package.json +3 -3
  99. package/vendor/runtime/skills/acpx/SKILL.md +42 -11
  100. package/vendor/runtime/dist/agent-registry-DxcyXXqb.js.map +0 -1
  101. package/vendor/runtime/dist/cli-BKmMxgix.js.map +0 -1
  102. package/vendor/runtime/dist/client-C5zneoBs.d.ts.map +0 -1
  103. package/vendor/runtime/dist/flows-VrII9VKZ.js.map +0 -1
  104. package/vendor/runtime/dist/invocation-options-DHMZ5Rrb.js.map +0 -1
  105. package/vendor/runtime/dist/ipc-CNNM5DP_.js.map +0 -1
  106. package/vendor/runtime/dist/output-DtzXtiBc.js.map +0 -1
  107. package/vendor/runtime/dist/queue-owner-runtime-ehuh3SQU.js.map +0 -1
  108. package/vendor/runtime/dist/session-options-NjpFwf-c.d.ts.map +0 -1
@@ -1,9 +1,8 @@
1
1
  import { AcpAgentInspection, AcpAgentInspectionOptions, AcpAgentRegistry, AcpInspectableAgentRegistry, DEFAULT_AGENT_NAME, createAgentRegistry } from "./agent-registry.js";
2
- import { A as GrokExitPlanModeRequest, C as PermissionPolicy, D as SafeErrorOrigin, E as SafeErrorCategory, F as GrokAskUserQuestionResponse, M as GrokExitPlanOutcome, N as GrokAskUserAnswers, O as SessionRecord, P as GrokAskUserQuestionRequest, S as PermissionMode, T as SafeError, _ as AcpProcessSpawnFailure, a as AcpElicitationHandler, b as McpServer$1, c as AcpElicitationResponse, d as AcpPermissionHandler, f as AcpPermissionRequest, g as AcpProcessLifecycle, h as AcpProcessLaunchScope, i as AcpElicitationContext, j as GrokExitPlanModeResponse, k as PromptInput, l as AcpJsonRpcMessage, m as AcpProcessLaunch, n as SystemPromptOption, o as AcpElicitationMode, p as AcpProcessExit, s as AcpElicitationRequest, t as SessionAgentOptions, u as AcpPermissionDecision, v as AcpProcessStarted, x as NonInteractivePermissionPolicy, y as AuthPolicy } from "./session-options-NjpFwf-c.js";
3
- import { n as AcpControlAuthority, t as AcpClient } from "./client-C5zneoBs.js";
4
- import { z } from "zod";
2
+ import { n as AcpControlAuthority, t as AcpClient } from "./client-D5y4RXME.js";
3
+ import { A as PromptInput, C as PermissionMode, D as SafeErrorCategory, E as SafeError, F as GrokAskUserQuestionRequest, I as GrokAskUserQuestionResponse, M as GrokExitPlanModeResponse, N as GrokExitPlanOutcome, O as SafeErrorOrigin, P as GrokAskUserAnswers, S as NonInteractivePermissionPolicy, _ as AcpProcessLifecycle, a as AcpElicitationHandler, b as AuthPolicy, c as AcpElicitationResponse, d as AcpPermissionDecision, f as AcpPermissionHandler, g as AcpProcessLaunchScope, h as AcpProcessLaunch, i as AcpElicitationContext, j as GrokExitPlanModeRequest, k as SessionRecord, l as AcpJsonRpcMessage, m as AcpProcessExit, n as SystemPromptOption, o as AcpElicitationMode, p as AcpPermissionRequest, s as AcpElicitationRequest, t as SessionAgentOptions, u as AcpMessageDirection, v as AcpProcessSpawnFailure, w as PermissionPolicy, x as McpServer$1, y as AcpProcessStarted } from "./session-options-Ci4aw1oD.js";
4
+ import "zod";
5
5
  import { SetSessionConfigOptionResponse, ToolCallContent, ToolCallLocation, ToolKind } from "@1agents/acp-runtime-sdk";
6
- //#region src/acp/model-support.d.ts
7
6
  export declare const REQUESTED_MODEL_UNSUPPORTED_ERROR_CODE: "ACP_MODEL_UNSUPPORTED";
8
7
  type RequestedModelUnsupportedErrorCode = typeof REQUESTED_MODEL_UNSUPPORTED_ERROR_CODE;
9
8
  export declare const REQUESTED_MODEL_UNSUPPORTED_REASONS: readonly ["missing-capability", "unadvertised-model"];
@@ -17,8 +16,6 @@ export declare class RequestedModelUnsupportedError extends Error {
17
16
  });
18
17
  }
19
18
  export declare function isRequestedModelUnsupportedError(value: unknown): value is RequestedModelUnsupportedError;
20
- //#endregion
21
- //#region src/acp/config-option-support.d.ts
22
19
  type AcpRuntimeConfigOptionChoice = {
23
20
  value: string;
24
21
  name: string;
@@ -31,8 +28,6 @@ type AcpRuntimeConfigOption = {
31
28
  currentValue?: string;
32
29
  options: AcpRuntimeConfigOptionChoice[];
33
30
  };
34
- //#endregion
35
- //#region src/acp/mode-support.d.ts
36
31
  type AcpRuntimeSessionModeInfo = {
37
32
  id: string;
38
33
  name: string;
@@ -42,8 +37,6 @@ type AcpRuntimeSessionModes = {
42
37
  currentModeId?: string;
43
38
  availableModes: AcpRuntimeSessionModeInfo[];
44
39
  };
45
- //#endregion
46
- //#region src/session/journal.d.ts
47
40
  type SessionWatchResult = {
48
41
  status: "completed" | "cancelled";
49
42
  stopReason?: string;
@@ -71,8 +64,6 @@ type SessionWatchEvent = {
71
64
  requestId: string;
72
65
  result: SessionWatchResult;
73
66
  });
74
- //#endregion
75
- //#region src/runtime/public/contract.d.ts
76
67
  /**
77
68
  * ACP has no mid-turn steering request. In-process runtimes admit a "steer"
78
69
  * turn like "prompt": it waits behind any active turn on the same session and
@@ -95,6 +86,14 @@ type AcpRuntimeEnsureInput = {
95
86
  sessionKey: string;
96
87
  agent: string;
97
88
  mode: AcpRuntimeSessionMode;
89
+ /**
90
+ * Resume this exact ACP session. The in-process runtime keeps matching local
91
+ * history and saved configuration, and later prompt/control reconnects refuse
92
+ * replacement if this target cannot load. Same-record aliases cannot relax
93
+ * this constraint. Adding the constraint requires an idle arrangement;
94
+ * explicit lifecycle reset remains separate. Supply the
95
+ * target again when attaching through another runtime instance.
96
+ */
98
97
  resumeSessionId?: string;
99
98
  cwd?: string;
100
99
  /**
@@ -542,6 +541,18 @@ type AcpRuntimeOptions = {
542
541
  cwd: string;
543
542
  /** Trusted child-only environment, snapshotted at construction and never persisted. */
544
543
  agentProcessEnv?: Record<string, string>;
544
+ /**
545
+ * Opt-in allowlist for agent children, command probes and ACP terminals: when set, they
546
+ * inherit only process essentials, these parent names and `ACPX_AUTH_*` grants.
547
+ * Snapshotted at construction. Explicit grants and overlays still apply.
548
+ */
549
+ agentProcessEnvAllow?: readonly string[];
550
+ /**
551
+ * Parent environment names withheld from agent children, command probes and ACP
552
+ * terminals, applied after `agentProcessEnvAllow` and snapshotted at construction.
553
+ * Explicit grants and overlays still apply.
554
+ */
555
+ agentProcessEnvBlock?: readonly string[];
545
556
  sessionStore: AcpSessionStore;
546
557
  agentRegistry: AcpAgentRegistry;
547
558
  /**
@@ -566,6 +577,13 @@ type AcpRuntimeOptions = {
566
577
  verbose?: boolean;
567
578
  /** ACP elicitation modes the embedding host can render for prompt turns. */
568
579
  elicitationModes?: readonly AcpElicitationMode[];
580
+ /**
581
+ * Best-effort wire observation for owned session clients, including setup and
582
+ * reconnects. Elicitation payloads and suppressed replay updates are omitted.
583
+ * Outbound observations precede transport writes; they are not delivery receipts.
584
+ * Callback failures are ignored. Treat observed messages as read-only.
585
+ */
586
+ onAcpMessage?: (direction: AcpMessageDirection, message: AcpJsonRpcMessage) => void;
569
587
  /** Optional lifecycle observer for ACP agent processes owned by this runtime. */
570
588
  processLifecycle?: AcpProcessLifecycle;
571
589
  onPermissionRequest?: AcpPermissionHandler;
@@ -613,8 +631,6 @@ type AcpRuntimeOptions = {
613
631
  type AcpFileSessionStoreOptions = {
614
632
  stateDir: string;
615
633
  };
616
- //#endregion
617
- //#region src/runtime/public/probe.d.ts
618
634
  type RuntimeHealthReport = {
619
635
  ok: boolean;
620
636
  message: string;
@@ -628,14 +644,16 @@ type InspectAgentModelsOptions = {
628
644
  timeoutMs?: number;
629
645
  /** Trusted child-only environment overlay; never persisted. */
630
646
  agentProcessEnv?: Record<string, string>;
647
+ /** Opt-in allowlist of parent environment names the inspected agent inherits. */
648
+ agentProcessEnvAllow?: readonly string[];
649
+ /** Parent environment names the inspected agent does not inherit. */
650
+ agentProcessEnvBlock?: readonly string[];
631
651
  };
632
652
  /**
633
653
  * Inspect session model metadata without a runtime store or prompt. The agent
634
654
  * may create native session history; only its owned transport is closed.
635
655
  */
636
656
  export declare function inspectAgentModels(options: InspectAgentModelsOptions): Promise<AcpRuntimeSessionModels | undefined>;
637
- //#endregion
638
- //#region src/runtime/engine/turn.d.ts
639
657
  type Deferred<T> = {
640
658
  promise: Promise<T>;
641
659
  resolve: (value: T) => void;
@@ -651,8 +669,6 @@ declare class AsyncEventQueue {
651
669
  next(): Promise<AcpRuntimeEvent | null>;
652
670
  iterate(): AsyncIterable<AcpRuntimeEvent>;
653
671
  }
654
- //#endregion
655
- //#region src/runtime/engine/manager.d.ts
656
672
  type AcpRuntimeManagerDeps = {
657
673
  clientFactory?: (options: ConstructorParameters<typeof AcpClient>[0]) => AcpClient;
658
674
  };
@@ -701,6 +717,7 @@ type RuntimeTurnTask = {
701
717
  declare class AcpRuntimeManager {
702
718
  private readonly options;
703
719
  private readonly deps;
720
+ private readonly exactSessionRecordIds;
704
721
  private readonly activeControllers;
705
722
  private readonly controlSessionRecords;
706
723
  private readonly retainedSessionOwners;
@@ -715,6 +732,7 @@ declare class AcpRuntimeManager {
715
732
  private readonly pendingTasks;
716
733
  private shuttingDown;
717
734
  private shutdownTask?;
735
+ private readonly observeAcpMessage;
718
736
  constructor(options: AcpRuntimeOptions, deps?: AcpRuntimeManagerDeps);
719
737
  private setTransientCredentials;
720
738
  private createClient;
@@ -859,11 +877,7 @@ declare class AcpRuntimeManager {
859
877
  private handleBackendSessionCloseError;
860
878
  private requireRecord;
861
879
  }
862
- //#endregion
863
- //#region src/runtime/public/file-session-store.d.ts
864
880
  export declare function createFileSessionStore(options: AcpFileSessionStoreOptions): AcpSessionStore;
865
- //#endregion
866
- //#region src/runtime/public/turn-journal.d.ts
867
881
  type AcpTurnJournalStatus = "queued" | "running" | "completed" | "failed" | "cancelled";
868
882
  type AcpTurnJournalTurn = {
869
883
  id: string;
@@ -936,8 +950,6 @@ declare class AcpTurnJournal {
936
950
  export declare function createTurnJournal(options: {
937
951
  stateDir: string;
938
952
  }): AcpTurnJournal;
939
- //#endregion
940
- //#region src/runtime/public/errors.d.ts
941
953
  declare const ACP_ERROR_CODES: readonly ["ACP_BACKEND_MISSING", "ACP_BACKEND_UNAVAILABLE", "ACP_BACKEND_UNSUPPORTED_CONTROL", "ACP_DISPATCH_DISABLED", "ACP_INVALID_RUNTIME_OPTION", "ACP_SESSION_INIT_FAILED", "ACP_TURN_FAILED"];
942
954
  type AcpRuntimeErrorCode = (typeof ACP_ERROR_CODES)[number];
943
955
  export declare class AcpRuntimeError extends Error {
@@ -948,8 +960,6 @@ export declare class AcpRuntimeError extends Error {
948
960
  });
949
961
  }
950
962
  export declare function isAcpRuntimeError(value: unknown): value is AcpRuntimeError;
951
- //#endregion
952
- //#region src/acp/error-normalization.d.ts
953
963
  type SafeErrorOptions = {
954
964
  origin?: SafeErrorOrigin;
955
965
  /** A caller-owned request identifier, never a provider message. */
@@ -963,8 +973,6 @@ type SafeErrorOptions = {
963
973
  * codes are copied. Resource categories describe failures, not retry policy.
964
974
  */
965
975
  export declare function toSafeError(error: unknown, options?: SafeErrorOptions): SafeError;
966
- //#endregion
967
- //#region src/runtime/public/shared.d.ts
968
976
  type AcpxHandleState = {
969
977
  name: string;
970
978
  agent: string;
@@ -974,12 +982,8 @@ type AcpxHandleState = {
974
982
  backendSessionId?: string;
975
983
  agentSessionId?: string;
976
984
  };
977
- //#endregion
978
- //#region src/runtime/public/handle-state.d.ts
979
985
  export declare function encodeAcpxRuntimeHandleState(state: AcpxHandleState): string;
980
986
  export declare function decodeAcpxRuntimeHandleState(runtimeSessionName: string): AcpxHandleState | null;
981
- //#endregion
982
- //#region src/runtime/shared.d.ts
983
987
  type SharedAcpRuntimeOptions = {
984
988
  cwd: string;
985
989
  agentRegistry?: AcpAgentRegistry;
@@ -1058,8 +1062,6 @@ export declare class SharedAcpRuntime {
1058
1062
  shutdown(): Promise<void>;
1059
1063
  }
1060
1064
  export declare function createSharedAcpRuntime(options: SharedAcpRuntimeOptions): SharedAcpRuntime;
1061
- //#endregion
1062
- //#region src/runtime.d.ts
1063
1065
  export declare const ACPX_BACKEND_ID = "acpx";
1064
1066
  type AcpxRuntimeLike = AcpRuntime & {
1065
1067
  probeAvailability(): Promise<void>;
@@ -1172,6 +1174,5 @@ export declare function createAcpRuntime(options: AcpRuntimeOptions): AcpxRuntim
1172
1174
  export declare function createRuntimeStore(options: {
1173
1175
  stateDir: string;
1174
1176
  }): AcpSessionStore;
1175
- //#endregion
1176
- export { type AcpAgentInspection, type AcpAgentInspectionOptions, type AcpAgentRegistry, type AcpElicitationContext, type AcpElicitationHandler, type AcpElicitationMode, type AcpElicitationRequest, type AcpElicitationResponse, type AcpFileSessionStoreOptions, type AcpInspectableAgentRegistry, type AcpPermissionDecision, type AcpPermissionHandler, type AcpPermissionRequest, type AcpProcessExit, type AcpProcessLaunch, type AcpProcessLaunchScope, type AcpProcessLifecycle, type AcpProcessSpawnFailure, type AcpProcessStarted, type AcpRuntime, type AcpRuntimeAvailableCommand, type AcpRuntimeCapabilities, type AcpRuntimeDoctorReport, type AcpRuntimeEnsureInput, type AcpRuntimeErrorCode, type AcpRuntimeEvent, type AcpRuntimeHandle, type AcpRuntimeOptions, type AcpRuntimePlanEntry, type AcpRuntimePromptMode, type AcpRuntimeSessionContext, type AcpRuntimeSessionMode, type AcpRuntimeSessionModels, type AcpRuntimeSessionPermissions, type AcpRuntimeSessionUsage, type AcpRuntimeStatus, type AcpRuntimeTurn, type AcpRuntimeTurnAttachment, type AcpRuntimeTurnInput, type AcpRuntimeTurnResult, type AcpRuntimeTurnResultError, type AcpRuntimeUsageBreakdown, type AcpRuntimeUsageCost, type AcpSessionRecord, type AcpSessionStore, type AcpSessionUpdateTag, type AcpTextDeltaOriginMeta, type AcpTurnJournalMutation, type AcpTurnJournalRecordResult, type AcpTurnJournalSnapshot, type AcpTurnJournalStatus, type AcpTurnJournalTurn, DEFAULT_AGENT_NAME, type InspectAgentModelsOptions, type PermissionPolicy, type RequestedModelUnsupportedErrorCode, type RequestedModelUnsupportedReason, type SafeError, type SafeErrorCategory, type SafeErrorOrigin, type SessionAgentOptions, type SessionWatchEvent, type SessionWatchResult, type SharedAcpRuntimeOptions, type SystemPromptOption, createAgentRegistry };
1177
+ export { type AcpAgentInspection, type AcpAgentInspectionOptions, type AcpAgentRegistry, type AcpElicitationContext, type AcpElicitationHandler, type AcpElicitationMode, type AcpElicitationRequest, type AcpElicitationResponse, type AcpFileSessionStoreOptions, type AcpInspectableAgentRegistry, type AcpJsonRpcMessage, type AcpMessageDirection, type AcpPermissionDecision, type AcpPermissionHandler, type AcpPermissionRequest, type AcpProcessExit, type AcpProcessLaunch, type AcpProcessLaunchScope, type AcpProcessLifecycle, type AcpProcessSpawnFailure, type AcpProcessStarted, type AcpRuntime, type AcpRuntimeAvailableCommand, type AcpRuntimeCapabilities, type AcpRuntimeDoctorReport, type AcpRuntimeEnsureInput, type AcpRuntimeErrorCode, type AcpRuntimeEvent, type AcpRuntimeHandle, type AcpRuntimeOptions, type AcpRuntimePlanEntry, type AcpRuntimePromptMode, type AcpRuntimeSessionContext, type AcpRuntimeSessionMode, type AcpRuntimeSessionModels, type AcpRuntimeSessionPermissions, type AcpRuntimeSessionUsage, type AcpRuntimeStatus, type AcpRuntimeTurn, type AcpRuntimeTurnAttachment, type AcpRuntimeTurnInput, type AcpRuntimeTurnResult, type AcpRuntimeTurnResultError, type AcpRuntimeUsageBreakdown, type AcpRuntimeUsageCost, type AcpSessionRecord, type AcpSessionStore, type AcpSessionUpdateTag, type AcpTextDeltaOriginMeta, type AcpTurnJournalMutation, type AcpTurnJournalRecordResult, type AcpTurnJournalSnapshot, type AcpTurnJournalStatus, type AcpTurnJournalTurn, DEFAULT_AGENT_NAME, type InspectAgentModelsOptions, type PermissionPolicy, type RequestedModelUnsupportedErrorCode, type RequestedModelUnsupportedReason, type SafeError, type SafeErrorCategory, type SafeErrorOrigin, type SessionAgentOptions, type SessionWatchEvent, type SessionWatchResult, type SharedAcpRuntimeOptions, type SystemPromptOption, createAgentRegistry };
1177
1178
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","names":["McpServer","_$__public_contract_js0.AcpRuntimeEvent","_$__public_contract_js0.AcpRuntimeStatus","_$___runtime_js0.SessionWatchEvent","_$__runtime_js0.AcpRuntimeTurnResult"],"sources":["../src/acp/model-support.ts","../src/acp/config-option-support.ts","../src/acp/mode-support.ts","../src/session/journal.ts","../src/runtime/public/contract.ts","../src/runtime/public/probe.ts","../src/runtime/engine/turn.ts","../src/runtime/engine/manager.ts","../src/runtime/public/file-session-store.ts","../src/runtime/public/turn-journal.ts","../src/runtime/public/errors.ts","../src/acp/error-normalization.ts","../src/runtime/public/shared.ts","../src/runtime/public/handle-state.ts","../src/runtime/shared.ts","../src/runtime.ts"],"mappings":";;;;;;qBAea;KAED,4CAA4C;qBAE3C;KAKD,0CAA0C;qBAEzC,uCAAuC;WACzC;WACA,QAAQ;WACR;EAGP,YAAA,iBACA,QAAQ,iCACR;IAAY;;;wBAoBA,iCACd,iBACC,SAAS;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CN,cAAc;IAAS,QAAQ;MAAqB;EAMpD,oBAAoB;IACxB,QAAQ;IACR;IACA,cAAc;MACZ;EAME,YAAY;IAChB,QAAQ;IACR;MACE;IAAU;IAAmB;;EAM3B,cAAc;IAAS,QAAQ;IAAkB;MAAsB;EAM7E,UAAU,OAAO;;;;;;;IAkCM,OAAA;MAAE;QAAiB;IAGd,YAAA;MAAE;QAAiB;;EAMxC,QAAQ,OAAO,sBAAsB,cAAc;EAkBpD,gBAAgB;IAAU,SAAS;MAAqB,QAAQ;EAWhE,UAAU;IACd,QAAQ;IACR,SAAS;MACP,QAAQ;EAMN,QACJ,OAAO;IAAwB,QAAQ;IAAkB;MACxD;EAMG,SACJ,OAAO;IAAwB,QAAQ;IAAkB;MACxD;EAMG,gBACJ,OAAO;IACL,QAAQ;IACR;IACA;MAED,QAAQ;EAML,OAAO;IAAS,QAAQ;IAAkB;MAAoB;EAM9D,oBAAoB;IAAS,QAAQ;MAAqB;EAM1D,MAAM;IACV,QAAQ;IACR;IACA;MACE;EAQJ,YAAY;UAeE;UAkBA;UAmBN;UAcA;;wBA+BM,iBAAiB,SAAS,oBAAoB;wBAI9C,mBAAmB;EAAW;IAAqB"}
1
+ {"version":3,"file":"runtime.d.ts","names":["McpServer","_$__public_contract_js0.AcpRuntimeEvent","_$__public_contract_js0.AcpRuntimeStatus","_$___runtime_js0.SessionWatchEvent"],"sources":["../src/acp/model-support.ts","../src/acp/config-option-support.ts","../src/acp/mode-support.ts","../src/session/journal.ts","../src/runtime/public/contract.ts","../src/runtime/public/probe.ts","../src/runtime/engine/turn.ts","../src/runtime/engine/manager.ts","../src/runtime/public/file-session-store.ts","../src/runtime/public/turn-journal.ts","../src/runtime/public/errors.ts","../src/acp/error-normalization.ts","../src/runtime/public/shared.ts","../src/runtime/public/handle-state.ts","../src/runtime/shared.ts","../src/runtime.ts"],"mappings":";;;;;qBAea;KAED,4CAA4C;qBAE3C;KAKD,0CAA0C;qBAEzC,uCAAuC;WACzC;WACA,QA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