@tangle-network/agent-runtime 0.283.1 → 0.284.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/{activation-DL1VoNrT.d.ts → activation-CxiJixSO.d.ts} +2 -2
- package/dist/{activation-B_vuAOSo.js → activation-DXFzDCmr.js} +2 -2
- package/dist/{activation-B_vuAOSo.js.map → activation-DXFzDCmr.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/candidate-execution/index.d.ts +2 -38
- package/dist/{coordination-driver-BmkANXc5.js → coordination-driver-BJzVI1oV.js} +2 -2
- package/dist/{coordination-driver-BmkANXc5.js.map → coordination-driver-BJzVI1oV.js.map} +1 -1
- package/dist/{delegate-BfHKdHzV.js → delegate-CfoEXPam.js} +2 -2
- package/dist/{delegate-BfHKdHzV.js.map → delegate-CfoEXPam.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-XmlRTlaI.js → graph-RCV6ri8A.js} +4 -4
- package/dist/{graph-XmlRTlaI.js.map → graph-RCV6ri8A.js.map} +1 -1
- package/dist/{improvement-cycle-BFerq3l4.js → improvement-cycle-DxBnEP8q.js} +3 -3
- package/dist/{improvement-cycle-BFerq3l4.js.map → improvement-cycle-DxBnEP8q.js.map} +1 -1
- package/dist/{index-CkLB8mJF.d.ts → index-BmGVkjsc.d.ts} +66 -5
- package/dist/index.d.ts +13 -6
- package/dist/index.js +51 -9
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-D8P3T5rT.js → loop-runner-bin-BPy7y5rd.js} +3 -3
- package/dist/{loop-runner-bin-D8P3T5rT.js.map → loop-runner-bin-BPy7y5rd.js.map} +1 -1
- package/dist/{loop-runner-bin-CINywrHK.d.ts → loop-runner-bin-CqwbQ0et.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{protected-model-port-BlLP8ja6.d.ts → protected-model-port-DDnU39ul.d.ts} +2 -2
- package/dist/{provision-supervisor-BNUmrHwC.js → provision-supervisor-CqRp0Rzo.js} +3 -3
- package/dist/{provision-supervisor-BNUmrHwC.js.map → provision-supervisor-CqRp0Rzo.js.map} +1 -1
- package/dist/{runtime-CM3KCe9V.js → runtime-lin_kRwN.js} +102 -10
- package/dist/runtime-lin_kRwN.js.map +1 -0
- package/dist/{search-method-Dlor0kKQ.js → search-method-Hjmqa4B8.js} +2 -2
- package/dist/{search-method-Dlor0kKQ.js.map → search-method-Hjmqa4B8.js.map} +1 -1
- package/dist/{server-BnMcTE7J.js → server-a2wdjRG1.js} +3 -3
- package/dist/{server-BnMcTE7J.js.map → server-a2wdjRG1.js.map} +1 -1
- package/dist/{stream-agent-turn-Bk79CnTw.d.ts → stream-agent-turn-IIqBKeLB.d.ts} +149 -5
- package/dist/{supervise-DL_Hj1uk.js → supervise-C71s4_OJ.js} +3 -3
- package/dist/{supervise-DL_Hj1uk.js.map → supervise-C71s4_OJ.js.map} +1 -1
- package/dist/{supervisor-YAc4U8HQ.js → supervisor-D4NnNHZd.js} +470 -70
- package/dist/supervisor-D4NnNHZd.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CuXu5zuS.d.ts → workspace-archive-DpyZV2Cj.d.ts} +38 -2
- package/package.json +5 -4
- package/dist/runtime-CM3KCe9V.js.map +0 -1
- package/dist/supervisor-YAc4U8HQ.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $a as RuntimeStreamEvent, C as ExecutorToolCall, Ca as Validator, Ha as AgentTaskStatus, Pn as ExecutorProgress, Qi as ExecCtx, Tn as TraceSource, Ua as BackendErrorDetail, X as Scope, Y as Runtime, b as ExecutorRegistry, ba as SandboxClient, f as ExecutorCancellation, fa as LoopTokenUsage, g as ExecutorFactory, gt as UsageEvent, p as ExecutorCancellationRequest, rt as Spend, s as DefaultVerdict, vr as UnavailablePausePolicy, y as ExecutorProgressEvent } from "./types-D56jQad-.js";
|
|
2
|
-
import {
|
|
1
|
+
import { $a as RuntimeStreamEvent, C as ExecutorToolCall, Ca as Validator, Ha as AgentTaskStatus, Pn as ExecutorProgress, Qi as ExecCtx, Tn as TraceSource, Ua as BackendErrorDetail, X as Scope, Y as Runtime, b as ExecutorRegistry, ba as SandboxClient, f as ExecutorCancellation, fa as LoopTokenUsage, g as ExecutorFactory, gt as UsageEvent, p as ExecutorCancellationRequest, rt as Spend, s as DefaultVerdict, v as ExecutorNodeContext, vr as UnavailablePausePolicy, y as ExecutorProgressEvent } from "./types-D56jQad-.js";
|
|
2
|
+
import { c as AgentCandidateArtifactPort, t as AgentCandidateWorkspaceArchiveLimits } from "./workspace-archive-DpyZV2Cj.js";
|
|
3
3
|
import { AgentCandidateWorkspaceSnapshotEvidence, AgentProfile, AgentProfileMcpServer, AgentProfileValidationResult, HarnessType, ReasoningEffort, StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
5
5
|
import { ChildProcess } from "node:child_process";
|
|
@@ -825,15 +825,126 @@ interface ProviderPlacement {
|
|
|
825
825
|
interface ProviderWorkspaceRetentionPort {
|
|
826
826
|
/** Maximum wall-clock time Runtime gives capture and verification. */
|
|
827
827
|
readonly timeoutMs: number;
|
|
828
|
+
/** Same explicit archive bounds used by the capture callback. */
|
|
829
|
+
readonly limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
|
|
830
|
+
/** Refuse cleanup while any native session or workspace coverage remains missing. */
|
|
831
|
+
readonly requireCompleteProvenance?: boolean;
|
|
828
832
|
/** Reads the durable manifest and archive after capture returns. */
|
|
829
833
|
readonly artifacts: AgentCandidateArtifactPort;
|
|
830
834
|
/** Capture the live environment into the standard candidate workspace evidence shape. */
|
|
831
|
-
capture(context: ProviderWorkspaceRetentionContext): Promise<AgentCandidateWorkspaceSnapshotEvidence>;
|
|
835
|
+
capture(context: ProviderWorkspaceRetentionContext): Promise<AgentCandidateWorkspaceSnapshotEvidence | ProviderWorkspaceCaptureResult>;
|
|
836
|
+
}
|
|
837
|
+
/** Source inventory metadata for a workspace entry. */
|
|
838
|
+
interface ProviderWorkspaceEntryMetadata {
|
|
839
|
+
readonly path: string;
|
|
840
|
+
readonly type: 'file' | 'directory' | 'symlink';
|
|
841
|
+
readonly sizeBytes: number;
|
|
842
|
+
readonly mode: number;
|
|
843
|
+
readonly owner?: string | null;
|
|
844
|
+
readonly group?: string | null;
|
|
845
|
+
readonly modifiedAt?: string | null;
|
|
846
|
+
readonly accessedAt?: string | null;
|
|
847
|
+
readonly symlinkTarget?: string | null;
|
|
848
|
+
}
|
|
849
|
+
/** Source-reported coverage retained with the verified archive reference. */
|
|
850
|
+
interface ProviderWorkspaceCaptureProvenance {
|
|
851
|
+
readonly status: 'reported' | 'unavailable';
|
|
852
|
+
readonly provider?: string;
|
|
853
|
+
readonly environmentId?: string;
|
|
854
|
+
readonly executionId?: string;
|
|
855
|
+
readonly workspaceScope?: 'environment';
|
|
856
|
+
readonly workspaceRoot?: string;
|
|
857
|
+
readonly capturedAt?: string;
|
|
858
|
+
readonly entries?: ReadonlyArray<ProviderWorkspaceEntryMetadata>;
|
|
859
|
+
readonly excludedPaths?: ReadonlyArray<ProviderWorkspaceEntryMetadata & {
|
|
860
|
+
readonly reason: string;
|
|
861
|
+
}>;
|
|
862
|
+
readonly workspace?: {
|
|
863
|
+
readonly scannedFiles: number;
|
|
864
|
+
readonly scannedDirectories: number;
|
|
865
|
+
readonly reportedFiles: number;
|
|
866
|
+
readonly reportedDirectories: number;
|
|
867
|
+
readonly complete: boolean;
|
|
868
|
+
};
|
|
869
|
+
readonly sessions?: ReadonlyArray<{
|
|
870
|
+
readonly id: string;
|
|
871
|
+
readonly executionId: string;
|
|
872
|
+
readonly transportEvents: string;
|
|
873
|
+
readonly eventCount: number;
|
|
874
|
+
readonly messageCount: number;
|
|
875
|
+
readonly messageScope?: string;
|
|
876
|
+
readonly backendType?: string;
|
|
877
|
+
readonly executionIds?: ReadonlyArray<string>;
|
|
878
|
+
readonly eventCountsByExecutionId?: Readonly<Record<string, number>>;
|
|
879
|
+
readonly nativeSessionId?: string | null;
|
|
880
|
+
readonly nativeReason?: string | null;
|
|
881
|
+
readonly sidecarImageDigest?: string | null;
|
|
882
|
+
readonly sidecarBundleRevision?: string | null;
|
|
883
|
+
readonly nativeStore?: {
|
|
884
|
+
readonly scope: 'session';
|
|
885
|
+
readonly roots: ReadonlyArray<{
|
|
886
|
+
readonly scope: 'session-home' | 'workspace-session';
|
|
887
|
+
readonly path: string;
|
|
888
|
+
}>;
|
|
889
|
+
readonly inventory: {
|
|
890
|
+
readonly scannedFiles: number;
|
|
891
|
+
readonly reportedFiles: number;
|
|
892
|
+
readonly scannedDirectories: number;
|
|
893
|
+
readonly reportedDirectories: number;
|
|
894
|
+
readonly scannedSymlinks: number;
|
|
895
|
+
readonly reportedSymlinks: number;
|
|
896
|
+
readonly skippedEntries: number;
|
|
897
|
+
} | null;
|
|
898
|
+
readonly complete: boolean;
|
|
899
|
+
readonly entries: ReadonlyArray<{
|
|
900
|
+
readonly rootScope: 'session-home' | 'workspace-session';
|
|
901
|
+
readonly path: string;
|
|
902
|
+
readonly kind: 'file' | 'directory' | 'symlink';
|
|
903
|
+
readonly mode: number;
|
|
904
|
+
readonly sizeBytes: number;
|
|
905
|
+
readonly sha256: string | null;
|
|
906
|
+
readonly linkTarget: string | null;
|
|
907
|
+
}>;
|
|
908
|
+
readonly excludedPaths: ReadonlyArray<{
|
|
909
|
+
readonly rootScope: 'session-home' | 'workspace-session';
|
|
910
|
+
readonly path: string;
|
|
911
|
+
readonly kind: 'file' | 'directory' | 'symlink';
|
|
912
|
+
readonly mode: number;
|
|
913
|
+
readonly sizeBytes: number;
|
|
914
|
+
readonly reason: 'credential';
|
|
915
|
+
}>;
|
|
916
|
+
};
|
|
917
|
+
readonly processStreams?: {
|
|
918
|
+
readonly complete: boolean;
|
|
919
|
+
readonly streamCount: number;
|
|
920
|
+
readonly stdinBytes: number;
|
|
921
|
+
readonly stdoutBytes: number;
|
|
922
|
+
readonly stderrBytes: number;
|
|
923
|
+
readonly protocolBytes: number;
|
|
924
|
+
};
|
|
925
|
+
readonly nativeEvents?: {
|
|
926
|
+
readonly complete: boolean;
|
|
927
|
+
readonly count: number;
|
|
928
|
+
};
|
|
929
|
+
}>;
|
|
930
|
+
readonly missing: ReadonlyArray<string>;
|
|
931
|
+
}
|
|
932
|
+
interface ProviderWorkspaceCaptureResult {
|
|
933
|
+
readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
|
|
934
|
+
readonly provenance: ProviderWorkspaceCaptureProvenance;
|
|
935
|
+
readonly coverageComplete?: boolean;
|
|
936
|
+
readonly incompleteReason?: string;
|
|
832
937
|
}
|
|
833
938
|
/** The exact live execution facts supplied to a retention callback. */
|
|
834
939
|
interface ProviderWorkspaceRetentionContext {
|
|
835
940
|
readonly environment: AgentEnvironment;
|
|
836
941
|
readonly executionId: string;
|
|
942
|
+
/** Exact supervised tree identity, when a supervisor created this execution. */
|
|
943
|
+
readonly node?: ExecutorNodeContext;
|
|
944
|
+
/** Sandbox/provider session used for this turn; null means no session id was observed. */
|
|
945
|
+
readonly providerSessionId?: string | null;
|
|
946
|
+
/** The harness's own session identity is unknown until a provider reports it. */
|
|
947
|
+
readonly nativeSessionId?: string | null;
|
|
837
948
|
/** The exact profile used to create the provider environment. */
|
|
838
949
|
readonly profile: AgentProfile;
|
|
839
950
|
/** The provider-derived outcome, when one was available before cleanup. */
|
|
@@ -841,6 +952,20 @@ interface ProviderWorkspaceRetentionContext {
|
|
|
841
952
|
/** A fresh signal bounded by {@link ProviderWorkspaceRetentionPort.timeoutMs}. */
|
|
842
953
|
readonly signal: AbortSignal;
|
|
843
954
|
}
|
|
955
|
+
/** Durable join from one provider box to the verified bytes retained before cleanup. */
|
|
956
|
+
interface ProviderWorkspaceCaptureReceipt {
|
|
957
|
+
readonly executionId: string;
|
|
958
|
+
readonly node?: ExecutorNodeContext;
|
|
959
|
+
readonly environmentId: string;
|
|
960
|
+
/** Immutable authored AgentProfile identity; run records retain its content. */
|
|
961
|
+
readonly profileDigest: string;
|
|
962
|
+
readonly providerSessionId: string | null;
|
|
963
|
+
readonly nativeSessionId: string | null;
|
|
964
|
+
readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
|
|
965
|
+
readonly provenance: ProviderWorkspaceCaptureProvenance;
|
|
966
|
+
readonly coverageComplete: boolean;
|
|
967
|
+
readonly incompleteReason?: string;
|
|
968
|
+
}
|
|
844
969
|
//#endregion
|
|
845
970
|
//#region src/runtime/tangle-sandbox-exact-process-provider.d.ts
|
|
846
971
|
type SandboxControlClient = Pick<Sandbox, 'create' | 'get' | 'list'>;
|
|
@@ -885,6 +1010,16 @@ interface ProviderAsSandboxClientOptions {
|
|
|
885
1010
|
requireTerminalEvent?: boolean;
|
|
886
1011
|
/** Require declared live continuation plus concrete session controls. */
|
|
887
1012
|
requireSession?: boolean;
|
|
1013
|
+
/** Verified workspace capture before every environment delete, including steerable sessions. */
|
|
1014
|
+
workspaceRetention?: ProviderWorkspaceRetentionPort;
|
|
1015
|
+
/** Supervised identity assigned before the environment is created. */
|
|
1016
|
+
retentionIdentity?: {
|
|
1017
|
+
executionId: string;
|
|
1018
|
+
profile: AgentProfile;
|
|
1019
|
+
node?: ExecutorNodeContext;
|
|
1020
|
+
};
|
|
1021
|
+
/** Called after verification and before deletion so the run result can retain the exact join. */
|
|
1022
|
+
onWorkspaceCaptured?: (receipt: ProviderWorkspaceCaptureReceipt) => void;
|
|
888
1023
|
mapCreateOptions?: (options: CreateSandboxOptions | undefined) => Partial<CreateAgentEnvironmentInput>;
|
|
889
1024
|
}
|
|
890
1025
|
/** Adapt a neutral environment provider to the `SandboxClient` interface used by existing loop paths.
|
|
@@ -952,6 +1087,8 @@ interface ProviderLeafOut {
|
|
|
952
1087
|
events: AgentEnvironmentEvent[];
|
|
953
1088
|
/** Portable executable workspace evidence accepted before the source environment was deleted. */
|
|
954
1089
|
workspaceSnapshot?: AgentCandidateWorkspaceSnapshotEvidence;
|
|
1090
|
+
/** Exact provider and supervisor identities bound to the retained bytes. */
|
|
1091
|
+
workspaceCapture?: ProviderWorkspaceCaptureReceipt;
|
|
955
1092
|
/** How many streamed part updates the archive left out because a later frame superseded them. */
|
|
956
1093
|
supersededPartUpdates?: number;
|
|
957
1094
|
}
|
|
@@ -1843,6 +1980,9 @@ interface SteerableSandboxArgs {
|
|
|
1843
1980
|
readonly profile: AgentProfile;
|
|
1844
1981
|
readonly harness: BackendType;
|
|
1845
1982
|
readonly sandboxClient: SandboxClient;
|
|
1983
|
+
/** Require capture failures at box cleanup to fail the supervised worker. */
|
|
1984
|
+
readonly failOnDestroyError?: boolean;
|
|
1985
|
+
readonly workspaceCaptures?: () => ReadonlyArray<ProviderWorkspaceCaptureReceipt>;
|
|
1846
1986
|
readonly inbox: Inbox;
|
|
1847
1987
|
readonly taskToPrompt: (task: unknown) => string;
|
|
1848
1988
|
readonly options?: SandboxSteeringOptions;
|
|
@@ -1880,6 +2020,10 @@ interface RouterSeam {
|
|
|
1880
2020
|
*/
|
|
1881
2021
|
interface SandboxSeam {
|
|
1882
2022
|
sandboxClient: SandboxClient;
|
|
2023
|
+
/** Surface evidence capture failures from session cleanup. */
|
|
2024
|
+
failOnDestroyError?: boolean;
|
|
2025
|
+
/** Verified provider captures collected before session teardown. */
|
|
2026
|
+
workspaceCaptures?: () => ReadonlyArray<ProviderWorkspaceCaptureReceipt>;
|
|
1883
2027
|
/** Forwarded into the composed `runAgentRounds`'s `ctx` (trace emitter, run handle, etc.). */
|
|
1884
2028
|
loopCtx?: Partial<Omit<ExecCtx, 'sandboxClient' | 'signal'>>;
|
|
1885
2029
|
/** PR #150 `RunAgentRoundsOptions.lineage` passthrough — opaque; forwarded, not parsed. */
|
|
@@ -2268,5 +2412,5 @@ declare function streamAgentTurn(backend: AgentTurnBackend, input: AgentTurnInpu
|
|
|
2268
2412
|
*/
|
|
2269
2413
|
declare function collectAgentTurn(stream: AsyncIterable<RuntimeStreamEvent>): Promise<CollectedAgentTurn>;
|
|
2270
2414
|
//#endregion
|
|
2271
|
-
export { decodeHarnessUsage as $,
|
|
2272
|
-
//# sourceMappingURL=stream-agent-turn-
|
|
2415
|
+
export { decodeHarnessUsage as $, PEER_MAIL_WIRE_KEY as $n, ResourceRequest as $t, createInbox as A, removeWorktree as An, AgentEnvironmentProvider$1 as At, secretEnvOfMcpServer as B, localHarnessExecutable as Bn, AgentTurnResult$2 as Bt, SteerableSandboxArgs as C, DiffOptions as Cn, mapSandboxToolEvent as Ct, Inbox as D, WorktreeHandle as Dn, AgentEnvironment$1 as Dt, AuthorityInboxMessage as E, RemoveWorktreeOptions as En, sumSandboxUsage as Et, ResolvedMcpServerLaunch as F, LOCAL_HARNESSES as Fn, AgentEnvironmentSummary as Ft, CodexRolloutStoreRef as G, ToolLoopCallContext as Gn, ExecRequest as Gt, CodexRolloutIdentity as H, runLocalHarness as Hn, CheckpointRequest as Ht, envKeyProvider as I, LocalHarness as In, AgentProfileRef$1 as It, addHarnessUsage as J, ToolLoopCompactionOptions as Jn, PlacementInfo as Jt, CodexRolloutTurn as K, ToolLoopChat as Kn, ExecResult as Kt, mcpSecretEnvMetadataKey as L, LocalHarnessResult as Ln, AgentSession as Lt, BridgeModelCredential as M, CodexExecutionPolicy as Mn, AgentEnvironmentProviderRegistry as Mt, BridgeSeam as N, CodexTokenUsage as Nn, AgentEnvironmentQuery as Nt, InboxMessage as O, captureWorktreeDiff as On, AgentEnvironmentCapabilities$1 as Ot, KeyProvider as P, DEFAULT_LOCAL_HARNESS as Pn, AgentEnvironmentStatus as Pt, HarnessUsage as Q, DEFAULT_PEER_MAIL_LIMITS as Qn, ProviderPromptOptions as Qt, resolveMcpServerLaunch as R, RunLocalHarnessOptions as Rn, AgentSessionRef as Rt, SandboxSteeringOptions as S, CreateWorktreeOptions as Sn, resolveRedactor as Sr, mapSandboxEvent as St, createSteerableSandboxSession as T, GitRunner as Tn, sandboxProgressEvents as Tt, CodexRolloutSession as U, RouterTransportConfig as Un, CreateAgentEnvironmentInput$1 as Ut, CodexForkBoundary as V, parseCodexTokenUsage as Vn, CheckpointRef as Vt, CodexRolloutStoreReader as W, ToolSpec as Wn, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as Wt, harnessUsageIsEmpty as X, ToolLoopToolCall as Xn, ProviderExecutorOptions as Xt, createCodexRolloutStoreReader as Y, ToolLoopMessageRecord as Yn, ProviderAsSandboxClientOptions as Yt, readCodexRolloutSession as Z, AUTHORITY_MARKERS as Zn, ProviderLeafOut as Zt, cliInPlaceExecutor as _, InPlaceHarnessResult as _n, McpToolAnnotations as _r, SandboxUsageLedger as _t, StreamAgentTurnOptions as a, resolveAgentEnvironmentProvider as an, PeerMailReadout as ar, SharedBoxPlacement as at, createExecutorRegistry as b, WorktreeHarnessResult as bn, Redactor as br, createSandboxUsageLedger as bt, CliInPlaceSeam as c, SandboxControlClient as cn, PeerMailbox as cr, SharedBoxStats as ct, CliWorktreeSeam as d, ProviderWorkspaceCaptureReceipt as dn, createPeerMailbox as dr, sharedBoxRefusal as dt, SandboxClientProviderOptions as en, PeerMailEnvelope as er, DEFAULT_SHARED_BOX_RESOURCES as et, ExecutorConfig as f, ProviderWorkspaceCaptureResult as fn, isPeerMailEnvelope as fr, sharedWorkerClientName as ft, SandboxSeam as g, ProviderPlacement as gn, JsonRpcResponse as gr, SandboxToolPartState as gt, RouterToolsSeam as h, ProviderWorkspaceRetentionPort as hn, JsonRpcMessage as hr, SandboxServedBackend as ht, CollectedAgentTurn as i, providerAsSandboxClient as in, PeerMailOutcome as ir, SharedBoxHandle as it, BridgeHarnessStore as j, CodexExecutionEvidence as jn, AgentEnvironmentProviderRef as jt, PeerInboxMessage as k, createWorktree as kn, AgentEnvironmentEvent$1 as kt, CliSeam as l, createTangleSandboxExactProcessProvider as ln, PeerMailboxOptions as lr, SharedWorkerIdentity as lt, RouterSeam as m, ProviderWorkspaceRetentionContext as mn, peerMailVerbNames as mr, SandboxOutputMarker as mt, AgentTurnInput$1 as n, createAgentEnvironmentProviderRegistry as nn, PeerMailKind as nr, ROUTER_CLIENT_HEADER as nt, collectAgentTurn as o, sandboxClientAsProvider as on, PeerMailRefusal as or, SharedBoxPlacementOptions as ot, ProviderSeam as p, ProviderWorkspaceEntryMetadata as pn, peerMailTools as pr, SandboxLeafOut as pt, CodexStoreDelta as q, ToolLoopCompaction as qn, ForkRequest as qt, AgentTurnUsage as r, providerAsExecutor as rn, PeerMailLimits as rr, SharedBoxCloseReceipt as rt, streamAgentTurn as s, CreateTangleSandboxExactProcessProviderOptions as sn, PeerMailSendInput as sr, SharedBoxProcess as st, AgentTurnBackend as t, WorkspaceRequest as tn, PeerMailEvent as tr, DEFAULT_SHARED_BOX_WORKERS as tt, CliWorktreeBridgeSeam as u, ProviderWorkspaceCaptureProvenance as un, claimsAuthority as ur, sharedBoxPlacement as ut, cliWorktreeExecutor as v, WorktreeCheckRunner as vn, McpToolDescriptor as vr, assertSandboxServedModel as vt, SteerableSandboxSession as w, DiffResult as wn, sandboxEventServedBackend as wt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as x, WorktreeProfileMaterializationReceipt as xn, defaultRedactor as xr, extractLlmCallEvent as xt, createExecutor as y, WorktreeCommandResult as yn, McpTransport as yr, createSandboxToolPartState as yt, resolveSecretEnv as z, harnessSupportsReasoningEffort as zn, AgentSessionStatus$1 as zt };
|
|
2416
|
+
//# sourceMappingURL=stream-agent-turn-IIqBKeLB.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as bindScopeRetainedOwnerEnvironmentId,
|
|
1
|
+
import { $ as bindScopeRetainedOwnerEnvironmentId, A as driverExecutorFactory, Aa as zeroSpend, Ai as isNoEntError, An as executorFailure, Ar as readHarnessTranscript, B as recordScopeOwnerMaterialization, Ba as teardownSurfaces, C as createContinuationKeeper, Cr as RunCancellationReason, Di as unsupportedProfileDimensions, Dt as bindReusableExecutorExecutionId, Er as runAbortable, F as beginScopeOwnerAttempt, Fi as attestRuntimeOwnedScopeOwner, Gi as runtimeOwnedExecutorExecutionBinding, Gr as generateSpanId, H as restoreScopeOwnerAcceptedExecution, Hi as providerAttemptEvidence, Ji as runtimeOwnedPendingExecutorMaterialization, Ki as runtimeOwnedExecutorMaterialization, L as deriveNodeExecutionIdentity, La as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, Ln as bridgeRuntimeAttachmentsKey, Lt as createRouterTranscript, Ma as resourceTelemetry, Mi as readCommittedJsonLines, Mn as bridgeModelRouteRefusal, Na as withBudgetResources, Nt as snapshotExecutorConfig, Oa as unmeteredSpend, Ot as captureReusableExecutorConfig, P as assertRecursiveReservationPolicy, R as meterRuntimeOwnedAccounting, Ri as inheritRuntimeOwnedExecutorAttestation, Rn as bridgeStopSignalKey, Ti as renderUnsupported, Tr as linkAbort, U as scopeOwnerExecutorNodeContext, Ui as recordRuntimeOwnedDriveHarnessProviderEvidence, Ur as createOtelExporter, V as recordScopeOwnerPause, Wi as runtimeOwnedDriveHarnessProviderEvidence, Yi as runtimeOwnedScopeOwnerRuntime, Yr as toOtelAttributes, Zn as routerBrain, _ as CheckUnavailableError, _i as defineProfileMaterializationContract, at as scopeRetainedOwnerContext, b as bestComposite, bi as promptControlProfileMaterialization, c as runTree, ct as scopeRetainedOwnerRestorePoint, en as parseWorkerToolTraceArtifact, et as bindScopeRetainedOwnerProvider, f as runDriverWithRetry, ga as addSpend, gi as controlProfileMaterialization, h as CONTINUATIONS_DIR, hi as assertProfileMaterialization, hr as errMessage, i as bestDelivered, in as assertValidBudget, it as reconcileScopeRetainedOwnerEnvironment, j as isDriverSpec, ja as addResourceSpend, ji as prepareJsonlAppend, jn as bridgeAdmissionRefusal, jr as contentAddress, jt as createExecutor, k as driverChild, ka as withTimeout, ki as worktreeCliProfileMaterialization, kr as persistHarnessTranscript, ln as spendFromUsageTotals, lt as scopeRetainedOwnerResult, mr as retainedExecutorSeamKey, n as createRootHandle, nt as noteScopeRetainedOwnerCoordination, on as meterUsageEvent, or as resolveAgentEnvironmentProvider, ot as scopeRetainedOwnerPriorSpend, p as summarizeDriverAttempts, pr as registerRetainedExecutorPreparation, qi as runtimeOwnedExecutorProviderEvidence, r as createSupervisor, rt as prepareScopeRetainedOwnerTask, s as runFinalizer, sn as newUsageTotals, st as scopeRetainedOwnerResourceReader, ta as detachedSnapshot, tt as consumeScopeRetainedOwnerResult, u as HarnessTurnFailedError, un as WORKER_TRACE_PROPAGATION, v as admitContinuationPolicy, vi as fullProfileMaterialization, wa as sleep, x as checkVerdictOf, xi as promptModelProfileMaterialization, yi as profileMaterializationAxes$1, yn as createInbox, z as meterRuntimeOwnedProviderAttempt, za as teardownExecutor } from "./supervisor-D4NnNHZd.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
3
3
|
import { a as concreteProfileModel, c as profileModelExecutionSettings, d as agentHarness, f as harnessRunsAgent, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile } from "./model-policy-BbSCSak0.js";
|
|
4
4
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
5
5
|
import { n as assertNoSymlinkDescendant } from "./durable-file-DWQA4ooo.js";
|
|
6
|
-
import { C as applyRunCancellation, E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, b as withRunContext, c as createProgressTracker, d as progressStop, j as createCoordinationToolsForManager, k as coordinationVerbNames, n as createSteerAcknowledger, r as driverAgent, t as createCancelAcknowledger, u as plateau, v as createFileRunContext, w as watchRunCancellation, y as createInMemoryRunContext } from "./coordination-driver-
|
|
6
|
+
import { C as applyRunCancellation, E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, b as withRunContext, c as createProgressTracker, d as progressStop, j as createCoordinationToolsForManager, k as coordinationVerbNames, n as createSteerAcknowledger, r as driverAgent, t as createCancelAcknowledger, u as plateau, v as createFileRunContext, w as watchRunCancellation, y as createInMemoryRunContext } from "./coordination-driver-BJzVI1oV.js";
|
|
7
7
|
import { r as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-Dqer2M4_.js";
|
|
8
8
|
import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-vwd4SwX_.js";
|
|
9
9
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
@@ -4516,4 +4516,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
4516
4516
|
//#endregion
|
|
4517
4517
|
export { gateOnDeliverable as C, serveCoordinationMcp as S, readRootStream as _, superviseWithTestBrain as a, composeReentryTask as b, resolveWorkerSpawnRetry as c, assertCoordinationBinding as d, coordinationProfileToolPrefix as f, ROOT_STREAM_FILE as g, supervisorAgentWithTestBrain as h, superviseRootProfile as i, retryPreSpawnRefusals as l, supervisorAgent as m, profileGuidanceComposer as n, workerFromBackend as o, resolveSupervisorProfile as p, supervise as r, isPreSpawnExecutorFailure as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, withWorkerSpawnRetry as u, readRootStreamReceipt as v, mapExecutorResult as w, createSupervisorSpanRecorder as x, UNPROVEN_CONTINUITY as y };
|
|
4518
4518
|
|
|
4519
|
-
//# sourceMappingURL=supervise-
|
|
4519
|
+
//# sourceMappingURL=supervise-C71s4_OJ.js.map
|