@tangle-network/agent-runtime 0.295.4 → 0.296.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-b7b_lmhE.js → activation-Bsa9KIms.js} +3 -3
- package/dist/{activation-b7b_lmhE.js.map → activation-Bsa9KIms.js.map} +1 -1
- package/dist/{activation-DZMqUGrJ.d.ts → activation-rMt8OhcX.d.ts} +3 -3
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{bundle-CDR0caM4.js → bundle-C9v5TH_H.js} +2 -2
- package/dist/{bundle-CDR0caM4.js.map → bundle-C9v5TH_H.js.map} +1 -1
- package/dist/candidate-execution/index.js +5 -5
- package/dist/{coordination-driver-IBnJrG35.js → coordination-driver-BTwCdKrl.js} +2 -2
- package/dist/{coordination-driver-IBnJrG35.js.map → coordination-driver-BTwCdKrl.js.map} +1 -1
- package/dist/{delegate-D3_pGiGW.js → delegate-CXkgU67D.js} +2 -2
- package/dist/{delegate-D3_pGiGW.js.map → delegate-CXkgU67D.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +3 -3
- package/dist/{graph-BbsdhFNv.js → graph-CqKrLWkl.js} +4 -4
- package/dist/{graph-BbsdhFNv.js.map → graph-CqKrLWkl.js.map} +1 -1
- package/dist/{improvement-cycle-C2IuQaRp.js → improvement-cycle-7rd18eW9.js} +6 -6
- package/dist/{improvement-cycle-C2IuQaRp.js.map → improvement-cycle-7rd18eW9.js.map} +1 -1
- package/dist/{index-D5p4txpC.d.ts → index-3GzNNtI9.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +9 -9
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +8 -8
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-CIxUa3W_.d.ts → loop-runner-bin-BjRHJLW9.d.ts} +3 -3
- package/dist/{loop-runner-bin-DTCYtNxx.js → loop-runner-bin-CmduY4JY.js} +3 -3
- package/dist/{loop-runner-bin-DTCYtNxx.js.map → loop-runner-bin-CmduY4JY.js.map} +1 -1
- 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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-Dlws03EW.d.ts → openai-tools-CrfETZkV.d.ts} +2 -2
- package/dist/{prepare-Dzkj4AGj.js → prepare-CGVNMb1o.js} +3 -3
- package/dist/{prepare-Dzkj4AGj.js.map → prepare-CGVNMb1o.js.map} +1 -1
- package/dist/{profile-BubsrYhR.js → profile-BetOB4_Q.js} +2 -2
- package/dist/{profile-BubsrYhR.js.map → profile-BetOB4_Q.js.map} +1 -1
- package/dist/profiles.d.ts +2 -2
- package/dist/{protected-model-port-_Daje74V.js → protected-model-port-CuVHkhti.js} +4 -4
- package/dist/{protected-model-port-_Daje74V.js.map → protected-model-port-CuVHkhti.js.map} +1 -1
- package/dist/{provision-supervisor-DRl8doHG.js → provision-supervisor-B-7DnLBR.js} +3 -3
- package/dist/{provision-supervisor-DRl8doHG.js.map → provision-supervisor-B-7DnLBR.js.map} +1 -1
- package/dist/{runtime-Bgf9mm__.js → runtime-DicgLBWl.js} +9 -9
- package/dist/{runtime-Bgf9mm__.js.map → runtime-DicgLBWl.js.map} +1 -1
- package/dist/{search-method-D3WdgmuN.js → search-method-CLfmCMeT.js} +3 -3
- package/dist/{search-method-D3WdgmuN.js.map → search-method-CLfmCMeT.js.map} +1 -1
- package/dist/{server-B3nNSFlK.js → server-DHHeobZh.js} +3 -3
- package/dist/{server-B3nNSFlK.js.map → server-DHHeobZh.js.map} +1 -1
- package/dist/{stream-agent-turn-D6lDcAYs.d.ts → stream-agent-turn-LDA8JK7E.d.ts} +5 -178
- package/dist/{substrate-VEJrCLxe.d.ts → substrate-Bd4FFbim.d.ts} +2 -2
- package/dist/{supervise-D5yxnDzD.js → supervise-B5r5oZZ1.js} +4 -4
- package/dist/{supervise-D5yxnDzD.js.map → supervise-B5r5oZZ1.js.map} +1 -1
- package/dist/{supervisor-B1jEhBXU.js → supervisor-Rov7xW0j.js} +339 -53
- package/dist/supervisor-Rov7xW0j.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +14 -14
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-C2MBdgd_.d.ts → types-CwGpKzG1.d.ts} +285 -9
- package/dist/{workspace-streams-D4TMTrJV.js → workspace-streams-D5gHJdTb.js} +78 -60
- package/dist/workspace-streams-D5gHJdTb.js.map +1 -0
- package/package.json +1 -1
- package/dist/supervisor-B1jEhBXU.js.map +0 -1
- package/dist/workspace-streams-D4TMTrJV.js.map +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AgentCandidateWorkspaceSnapshotEvidence, AgentExactRunControlRef, AgentProfile, AgentProfileMcpServer, HarnessType, ReasoningEffort, StreamEvent } from "@tangle-network/agent-interface";
|
|
1
|
+
import { C as ExecutorToolCall, Ea as LoopTokenUsage, La as Validator, Mr as UnavailablePausePolicy, Pa as SandboxClient, Pn as ExecutorProgress, Tn as TraceSource, X as Scope, Y as Runtime, b as ExecutorRegistry, f as ExecutorCancellation, fa as ExecCtx, fr as ProviderWorkspaceCaptureReceipt, g as ExecutorFactory, gr as ProviderWorkspaceRetentionPort, gt as UsageEvent, no as AgentTaskStatus, p as ExecutorCancellationRequest, po as RuntimeStreamEvent, ro as BackendErrorDetail, rt as Spend, s as DefaultVerdict, v as ExecutorNodeContext, y as ExecutorProgressEvent } from "./types-CwGpKzG1.js";
|
|
2
|
+
import { AgentCandidateWorkspaceSnapshotEvidence, AgentProfile, AgentProfileMcpServer, HarnessType, ReasoningEffort, StreamEvent } from "@tangle-network/agent-interface";
|
|
4
3
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
5
4
|
import { ChildProcess } from "node:child_process";
|
|
6
5
|
import { WorkspacePlanReceipt } from "@tangle-network/agent-profile-materialize";
|
|
7
6
|
import { BackendType, CreateSandboxOptions, PromptOptions, Sandbox, SandboxEvent, SandboxInstance } from "@tangle-network/sandbox";
|
|
8
|
-
import { AgentEnvironment
|
|
7
|
+
import { AgentEnvironment as AgentEnvironment$1, AgentEnvironmentCapabilities, AgentEnvironmentCapabilities as AgentEnvironmentCapabilities$1, AgentEnvironmentEvent, AgentEnvironmentEvent as AgentEnvironmentEvent$1, AgentEnvironmentProvider, AgentEnvironmentProvider as AgentEnvironmentProvider$1, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentProfileRef, AgentSession, AgentSessionRef, AgentSessionStatus as AgentSessionStatus$1, AgentTurnInput, AgentTurnInput as AgentTurnInput$1, AgentTurnResult as AgentTurnResult$2, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, CreateAgentEnvironmentInput as CreateAgentEnvironmentInput$1, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from "@tangle-network/agent-interface/environment-provider";
|
|
9
8
|
//#region src/redact.d.ts
|
|
10
9
|
/**
|
|
11
10
|
* Redaction for values that may leave the Runtime process. The built-in
|
|
@@ -835,178 +834,6 @@ interface ProviderPlacement {
|
|
|
835
834
|
promptOptions?: ProviderPromptOptions;
|
|
836
835
|
}
|
|
837
836
|
//#endregion
|
|
838
|
-
//#region src/runtime/provider-workspace-retention.d.ts
|
|
839
|
-
/** The caller-owned boundary used to retain an executable provider workspace. */
|
|
840
|
-
interface ProviderWorkspaceRetentionPort {
|
|
841
|
-
/** Maximum wall-clock time Runtime gives queueing, capture, and verification. */
|
|
842
|
-
readonly timeoutMs: number;
|
|
843
|
-
/**
|
|
844
|
-
* Maximum simultaneous captures and verifications using this exact port object, including
|
|
845
|
-
* recursive children. Omit for no admission bound. Share the port to share the bound.
|
|
846
|
-
* Timed-out callbacks keep their slot until they settle, even if they ignore cancellation.
|
|
847
|
-
*/
|
|
848
|
-
readonly maxConcurrentCaptures?: number;
|
|
849
|
-
/** Same explicit archive bounds used by the capture callback. */
|
|
850
|
-
readonly limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
|
|
851
|
-
/** Refuse cleanup while any native session or workspace coverage remains missing. */
|
|
852
|
-
readonly requireCompleteProvenance?: boolean;
|
|
853
|
-
/** Reads the durable manifest and archive after capture returns. */
|
|
854
|
-
readonly artifacts: AgentCandidateArtifactPort;
|
|
855
|
-
/** Capture the live environment into the standard candidate workspace evidence shape. */
|
|
856
|
-
capture(context: ProviderWorkspaceRetentionContext): Promise<AgentCandidateWorkspaceSnapshotEvidence | ProviderWorkspaceCaptureResult>;
|
|
857
|
-
}
|
|
858
|
-
/** Source inventory metadata for a workspace entry. */
|
|
859
|
-
interface ProviderWorkspaceEntryMetadata {
|
|
860
|
-
readonly path: string;
|
|
861
|
-
readonly type: 'file' | 'directory' | 'symlink';
|
|
862
|
-
readonly sizeBytes: number;
|
|
863
|
-
readonly mode: number;
|
|
864
|
-
readonly owner?: string | null;
|
|
865
|
-
readonly group?: string | null;
|
|
866
|
-
readonly modifiedAt?: string | null;
|
|
867
|
-
readonly accessedAt?: string | null;
|
|
868
|
-
readonly symlinkTarget?: string | null;
|
|
869
|
-
}
|
|
870
|
-
/** One Sidecar execution attempt; retries remain separate evidence. */
|
|
871
|
-
interface ProviderWorkspaceAttemptProvenance {
|
|
872
|
-
readonly executionId: string;
|
|
873
|
-
readonly ordinal: number;
|
|
874
|
-
readonly providerSessionId: string;
|
|
875
|
-
readonly nativeSessionIds: ReadonlyArray<string>;
|
|
876
|
-
readonly processIds: ReadonlyArray<string>;
|
|
877
|
-
readonly outcome: 'succeeded' | 'failed' | 'cancelled' | 'unknown';
|
|
878
|
-
readonly missingReasons: ReadonlyArray<string>;
|
|
879
|
-
}
|
|
880
|
-
/** Source-reported coverage retained with the verified archive reference. */
|
|
881
|
-
interface ProviderWorkspaceCaptureProvenance {
|
|
882
|
-
readonly status: 'reported' | 'unavailable';
|
|
883
|
-
readonly provider?: string;
|
|
884
|
-
readonly environmentId?: string;
|
|
885
|
-
readonly executionId?: string;
|
|
886
|
-
/** Exact admitted provider execution; executionId above remains the Runtime artifact identity. */
|
|
887
|
-
readonly controlRef?: AgentExactRunControlRef;
|
|
888
|
-
readonly workspaceScope?: 'environment';
|
|
889
|
-
readonly workspaceRoot?: string;
|
|
890
|
-
readonly capturedAt?: string;
|
|
891
|
-
readonly entries?: ReadonlyArray<ProviderWorkspaceEntryMetadata>;
|
|
892
|
-
readonly excludedPaths?: ReadonlyArray<ProviderWorkspaceEntryMetadata & {
|
|
893
|
-
readonly reason: string;
|
|
894
|
-
}>;
|
|
895
|
-
readonly workspace?: {
|
|
896
|
-
readonly scannedFiles: number;
|
|
897
|
-
readonly scannedDirectories: number;
|
|
898
|
-
readonly reportedFiles: number;
|
|
899
|
-
readonly reportedDirectories: number;
|
|
900
|
-
readonly complete: boolean;
|
|
901
|
-
};
|
|
902
|
-
/** Sidecar attempts join sessions through executionIds, not the Runtime node ID. */
|
|
903
|
-
readonly attempts?: ReadonlyArray<ProviderWorkspaceAttemptProvenance>;
|
|
904
|
-
readonly sessions?: ReadonlyArray<{
|
|
905
|
-
readonly id: string;
|
|
906
|
-
readonly executionId: string;
|
|
907
|
-
readonly transportEvents: string;
|
|
908
|
-
readonly eventCount: number;
|
|
909
|
-
readonly messageCount: number;
|
|
910
|
-
readonly messageScope?: string;
|
|
911
|
-
readonly backendType?: string;
|
|
912
|
-
readonly executionIds?: ReadonlyArray<string>;
|
|
913
|
-
readonly eventCountsByExecutionId?: Readonly<Record<string, number>>;
|
|
914
|
-
readonly nativeSessionId?: string | null;
|
|
915
|
-
readonly nativeReason?: string | null;
|
|
916
|
-
readonly sidecarImageDigest?: string | null;
|
|
917
|
-
readonly sidecarBundleRevision?: string | null;
|
|
918
|
-
readonly nativeStore?: {
|
|
919
|
-
readonly scope: 'session';
|
|
920
|
-
readonly roots: ReadonlyArray<{
|
|
921
|
-
readonly scope: 'session-home' | 'workspace-session';
|
|
922
|
-
readonly path: string;
|
|
923
|
-
}>;
|
|
924
|
-
readonly inventory: {
|
|
925
|
-
readonly scannedFiles: number;
|
|
926
|
-
readonly reportedFiles: number;
|
|
927
|
-
readonly scannedDirectories: number;
|
|
928
|
-
readonly reportedDirectories: number;
|
|
929
|
-
readonly scannedSymlinks: number;
|
|
930
|
-
readonly reportedSymlinks: number;
|
|
931
|
-
readonly skippedEntries: number;
|
|
932
|
-
} | null;
|
|
933
|
-
readonly complete: boolean;
|
|
934
|
-
readonly entries: ReadonlyArray<{
|
|
935
|
-
readonly rootScope: 'session-home' | 'workspace-session';
|
|
936
|
-
readonly path: string;
|
|
937
|
-
readonly kind: 'file' | 'directory' | 'symlink';
|
|
938
|
-
readonly mode: number;
|
|
939
|
-
readonly sizeBytes: number;
|
|
940
|
-
readonly sha256: string | null;
|
|
941
|
-
readonly linkTarget: string | null;
|
|
942
|
-
}>;
|
|
943
|
-
readonly excludedPaths: ReadonlyArray<{
|
|
944
|
-
readonly rootScope: 'session-home' | 'workspace-session';
|
|
945
|
-
readonly path: string;
|
|
946
|
-
readonly kind: 'file' | 'directory' | 'symlink';
|
|
947
|
-
readonly mode: number;
|
|
948
|
-
readonly sizeBytes: number;
|
|
949
|
-
readonly reason: 'credential';
|
|
950
|
-
}>;
|
|
951
|
-
};
|
|
952
|
-
readonly processStreams?: {
|
|
953
|
-
readonly complete: boolean;
|
|
954
|
-
readonly streamCount: number;
|
|
955
|
-
readonly stdinBytes: number;
|
|
956
|
-
readonly stdoutBytes: number;
|
|
957
|
-
readonly stderrBytes: number;
|
|
958
|
-
readonly protocolBytes: number;
|
|
959
|
-
};
|
|
960
|
-
readonly nativeEvents?: {
|
|
961
|
-
readonly complete: boolean;
|
|
962
|
-
readonly count: number;
|
|
963
|
-
};
|
|
964
|
-
}>;
|
|
965
|
-
readonly missing: ReadonlyArray<string>;
|
|
966
|
-
}
|
|
967
|
-
interface ProviderWorkspaceCaptureResult {
|
|
968
|
-
readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
|
|
969
|
-
readonly provenance: ProviderWorkspaceCaptureProvenance;
|
|
970
|
-
readonly coverageComplete?: boolean;
|
|
971
|
-
readonly incompleteReason?: string;
|
|
972
|
-
}
|
|
973
|
-
/** The exact live execution facts supplied to a retention callback. */
|
|
974
|
-
interface ProviderWorkspaceRetentionContext {
|
|
975
|
-
readonly environment: AgentEnvironment;
|
|
976
|
-
/** Runtime invocation identity used by the artifact store; never a provider session coordinate. */
|
|
977
|
-
readonly executionId: string;
|
|
978
|
-
/** Exact admitted provider execution, available even before the harness emits its session id. */
|
|
979
|
-
readonly controlRef?: AgentExactRunControlRef;
|
|
980
|
-
/** Exact supervised tree identity, when a supervisor created this execution. */
|
|
981
|
-
readonly node?: ExecutorNodeContext;
|
|
982
|
-
/** Sandbox/provider session used for this turn; null means no session id was observed. */
|
|
983
|
-
readonly providerSessionId?: string | null;
|
|
984
|
-
/** The harness's own session identity is unknown until a provider reports it. */
|
|
985
|
-
readonly nativeSessionId?: string | null;
|
|
986
|
-
/** The exact profile used to create the provider environment. */
|
|
987
|
-
readonly profile: AgentProfile;
|
|
988
|
-
/** The provider-derived outcome, when one was available before cleanup. */
|
|
989
|
-
readonly outcome?: AgentRunOutcome;
|
|
990
|
-
/** A fresh signal bounded by {@link ProviderWorkspaceRetentionPort.timeoutMs}. */
|
|
991
|
-
readonly signal: AbortSignal;
|
|
992
|
-
}
|
|
993
|
-
/** Durable join from one provider box to the verified bytes retained before cleanup. */
|
|
994
|
-
interface ProviderWorkspaceCaptureReceipt {
|
|
995
|
-
readonly executionId: string;
|
|
996
|
-
/** Durable provider-native identity, separate from the Runtime invocation identity. */
|
|
997
|
-
readonly controlRef?: AgentExactRunControlRef;
|
|
998
|
-
readonly node?: ExecutorNodeContext;
|
|
999
|
-
readonly environmentId: string;
|
|
1000
|
-
/** Immutable authored AgentProfile identity; run records retain its content. */
|
|
1001
|
-
readonly profileDigest: string;
|
|
1002
|
-
readonly providerSessionId: string | null;
|
|
1003
|
-
readonly nativeSessionId: string | null;
|
|
1004
|
-
readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
|
|
1005
|
-
readonly provenance: ProviderWorkspaceCaptureProvenance;
|
|
1006
|
-
readonly coverageComplete: boolean;
|
|
1007
|
-
readonly incompleteReason?: string;
|
|
1008
|
-
}
|
|
1009
|
-
//#endregion
|
|
1010
837
|
//#region src/runtime/tangle-sandbox-exact-process-provider.d.ts
|
|
1011
838
|
type SandboxControlClient = Pick<Sandbox, 'create' | 'get' | 'list'>;
|
|
1012
839
|
interface CreateTangleSandboxExactProcessProviderOptions {
|
|
@@ -2414,5 +2241,5 @@ declare function streamAgentTurn(backend: AgentTurnBackend, input: AgentTurnInpu
|
|
|
2414
2241
|
*/
|
|
2415
2242
|
declare function collectAgentTurn(stream: AsyncIterable<RuntimeStreamEvent>): Promise<CollectedAgentTurn>;
|
|
2416
2243
|
//#endregion
|
|
2417
|
-
export { decodeHarnessUsage as $,
|
|
2418
|
-
//# sourceMappingURL=stream-agent-turn-
|
|
2244
|
+
export { decodeHarnessUsage as $, PeerMailSendInput as $n, WorkspaceRequest as $t, createInbox as A, harnessSupportsReasoningEffort as An, AgentEnvironmentProvider$1 as At, secretEnvOfMcpServer as B, ToolLoopCompactionOptions as Bn, AgentTurnResult$2 as Bt, SteerableSandboxArgs as C, CodexExecutionPolicy as Cn, mapSandboxToolEvent as Ct, Inbox as D, LocalHarness as Dn, AgentEnvironment$1 as Dt, AuthorityInboxMessage as E, LOCAL_HARNESSES as En, sumSandboxUsage as Et, ResolvedMcpServerLaunch as F, RouterTransportConfig as Fn, AgentEnvironmentSummary as Ft, CodexRolloutStoreRef as G, PEER_MAIL_WIRE_KEY as Gn, ExecResult as Gt, CodexRolloutIdentity as H, ToolLoopToolCall as Hn, CheckpointRequest as Ht, envKeyProvider as I, ToolSpec as In, AgentProfileRef as It, addHarnessUsage as J, PeerMailKind as Jn, ProviderAsSandboxClientOptions as Jt, CodexRolloutTurn as K, PeerMailEnvelope as Kn, ForkRequest as Kt, mcpSecretEnvMetadataKey as L, ToolLoopCallContext as Ln, AgentSession as Lt, BridgeModelCredential as M, parseCodexTokenUsage as Mn, AgentEnvironmentProviderRegistry as Mt, BridgeSeam as N, runLocalHarness as Nn, AgentEnvironmentQuery as Nt, InboxMessage as O, LocalHarnessResult as On, AgentEnvironmentCapabilities$1 as Ot, KeyProvider as P, RouterResponseReceipt as Pn, AgentEnvironmentStatus as Pt, HarnessUsage as Q, PeerMailRefusal as Qn, ResourceRequest as Qt, resolveMcpServerLaunch as R, ToolLoopChat as Rn, AgentSessionRef as Rt, SandboxSteeringOptions as S, CodexExecutionEvidence as Sn, mapSandboxEvent as St, createSteerableSandboxSession as T, DEFAULT_LOCAL_HARNESS as Tn, sandboxProgressEvents as Tt, CodexRolloutSession as U, AUTHORITY_MARKERS as Un, CreateAgentEnvironmentInput$1 as Ut, CodexForkBoundary as V, ToolLoopMessageRecord as Vn, CheckpointRef as Vt, CodexRolloutStoreReader as W, DEFAULT_PEER_MAIL_LIMITS as Wn, ExecRequest as Wt, harnessUsageIsEmpty as X, PeerMailOutcome as Xn, ProviderLeafOut as Xt, createCodexRolloutStoreReader as Y, PeerMailLimits as Yn, ProviderExecutorOptions as Yt, readCodexRolloutSession as Z, PeerMailReadout as Zn, ProviderPromptOptions as Zt, cliInPlaceExecutor as _, RemoveWorktreeOptions as _n, SandboxUsageLedger as _t, StreamAgentTurnOptions as a, SandboxControlClient as an, peerMailTools as ar, SharedBoxPlacement as at, createExecutorRegistry as b, createWorktree as bn, createSandboxUsageLedger as bt, CliInPlaceSeam as c, InPlaceHarnessResult as cn, JsonRpcResponse as cr, SharedBoxStats as ct, CliWorktreeSeam as d, WorktreeHarnessResult as dn, McpTransport as dr, sharedBoxRefusal as dt, createAgentEnvironmentProviderRegistry as en, PeerMailbox as er, DEFAULT_SHARED_BOX_RESOURCES as et, ExecutorConfig as f, WorktreeProfileMaterializationReceipt as fn, Redactor as fr, sharedWorkerClientName as ft, SandboxSeam as g, GitRunner as gn, SandboxToolPartState as gt, RouterToolsSeam as h, DiffResult as hn, SandboxServedBackend as ht, CollectedAgentTurn as i, CreateTangleSandboxExactProcessProviderOptions as in, isPeerMailEnvelope as ir, SharedBoxHandle as it, BridgeHarnessStore as j, localHarnessExecutable as jn, AgentEnvironmentProviderRef as jt, PeerInboxMessage as k, RunLocalHarnessOptions as kn, AgentEnvironmentEvent$1 as kt, CliSeam as l, WorktreeCheckRunner as ln, McpToolAnnotations as lr, SharedWorkerIdentity as lt, RouterSeam as m, DiffOptions as mn, resolveRedactor as mr, SandboxOutputMarker as mt, AgentTurnInput$1 as n, providerAsSandboxClient as nn, claimsAuthority as nr, ROUTER_CLIENT_HEADER as nt, collectAgentTurn as o, createTangleSandboxExactProcessProvider as on, peerMailVerbNames as or, SharedBoxPlacementOptions as ot, ProviderSeam as p, CreateWorktreeOptions as pn, defaultRedactor as pr, SandboxLeafOut as pt, CodexStoreDelta as q, PeerMailEvent as qn, PlacementInfo as qt, AgentTurnUsage as r, resolveAgentEnvironmentProvider as rn, createPeerMailbox as rr, SharedBoxCloseReceipt as rt, streamAgentTurn as s, ProviderPlacement as sn, JsonRpcMessage as sr, SharedBoxProcess as st, AgentTurnBackend as t, providerAsExecutor as tn, PeerMailboxOptions as tr, DEFAULT_SHARED_BOX_WORKERS as tt, CliWorktreeBridgeSeam as u, WorktreeCommandResult as un, McpToolDescriptor as ur, sharedBoxPlacement as ut, cliWorktreeExecutor as v, WorktreeHandle as vn, assertSandboxServedModel as vt, SteerableSandboxSession as w, CodexTokenUsage as wn, sandboxEventServedBackend as wt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as x, removeWorktree as xn, extractLlmCallEvent as xt, createExecutor as y, captureWorktreeDiff as yn, createSandboxToolPartState as yt, resolveSecretEnv as z, ToolLoopCompaction as zn, AgentSessionStatus$1 as zt };
|
|
2245
|
+
//# sourceMappingURL=stream-agent-turn-LDA8JK7E.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { La as Validator, Ma as OutputAdapter, da as Driver, la as AgentRunSpec } from "./types-CwGpKzG1.js";
|
|
2
2
|
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
3
3
|
//#region src/profiles/coder.d.ts
|
|
4
4
|
/**
|
|
@@ -281,4 +281,4 @@ interface UiFinding {
|
|
|
281
281
|
}
|
|
282
282
|
//#endregion
|
|
283
283
|
export { CoderTask as _, UiFindingSeverity as a, KnowledgeUpdate as c, ResearchSource as d, ResearchTask as f, researcherProfile as g, multiHarnessResearcherFanout as h, UiFindingScreenshot as i, MultiHarnessResearcherFanoutOptions as l, createResearcherValidator as m, UI_LENSES as n, UiLens as o, ResearcherProfileOptions as p, UiFinding as r, KnowledgeItem as s, UI_FINDING_SEVERITIES as t, ResearchOutput as u, coderTaskToPrompt as v };
|
|
284
|
-
//# sourceMappingURL=substrate-
|
|
284
|
+
//# sourceMappingURL=substrate-Bd4FFbim.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as bindScopeRetainedOwnerProvider, $n as parseWorkerToolTraceArtifact, A as driverExecutorFactory, Aa as
|
|
1
|
+
import { $ as bindScopeRetainedOwnerProvider, $n as parseWorkerToolTraceArtifact, A as driverExecutorFactory, Aa as addResourceSpend, Ai as prepareJsonlAppend, An as resolveAgentEnvironmentProvider, Ar as contentAddress, At as createExecutor, B as recordScopeOwnerDriverAttempt, C as createContinuationKeeper, Ca as sleep, Cr as runAbortable, Da as unmeteredSpend, Dr as readHarnessTranscript, Dt as captureReusableExecutorConfig, Ei as unsupportedProfileDimensions, Er as persistHarnessTranscript, Et as bindReusableExecutorExecutionId, F as beginScopeOwnerAttempt, Gi as runtimeOwnedExecutorMaterialization, H as recordScopeOwnerPause, Hi as recordRuntimeOwnedDriveHarnessProviderEvidence, Hr as createOtelExporter, Ia as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, In as registerRetainedExecutorPreparation, It as createRouterTranscript, Ji as runtimeOwnedScopeOwnerRuntime, Jr as toOtelAttributes, Ki as runtimeOwnedExecutorProviderEvidence, L as deriveNodeExecutionIdentity, Li as inheritRuntimeOwnedExecutorAttestation, Ln as retainedExecutorSeamKey, Ma as withBudgetResources, Mt as snapshotExecutorConfig, Oa as withTimeout, Oi as worktreeCliProfileMaterialization, P as assertRecursiveReservationPolicy, Pi as attestRuntimeOwnedScopeOwner, Q as bindScopeRetainedOwnerEnvironmentId, R as meterRuntimeOwnedAccounting, Ra as teardownExecutor, Rt as WORKER_TRACE_PROPAGATION, Sr as linkAbort, U as restoreScopeOwnerAcceptedExecution, Ui as runtimeOwnedDriveHarnessProviderEvidence, V as recordScopeOwnerMaterialization, Vi as providerAttemptEvidence, W as scopeOwnerExecutorNodeContext, Wi as runtimeOwnedExecutorExecutionBinding, Wr as generateSpanId, _ as CheckUnavailableError, _i as fullProfileMaterialization, an as bridgeModelRouteRefusal, at as scopeRetainedOwnerPriorSpend, b as bestComposite, bi as promptModelProfileMaterialization, br as RunCancellationReason, c as runTree, ct as scopeRetainedOwnerResult, dn as bridgeStopSignalKey, ea as detachedSnapshot, et as consumeScopeRetainedOwnerResult, f as runDriverWithRetry, gi as defineProfileMaterializationContract, h as CONTINUATIONS_DIR, ha as addSpend, hi as controlProfileMaterialization, i as bestDelivered, in as bridgeAdmissionRefusal, ir as assertValidBudget, it as scopeRetainedOwnerContext, j as isDriverSpec, ja as resourceTelemetry, ji as readCommittedJsonLines, k as driverChild, ka as zeroSpend, ki as isNoEntError, lr as spendFromUsageTotals, mi as assertProfileMaterialization, n as createRootHandle, nt as prepareScopeRetainedOwnerTask, or as meterUsageEvent, ot as scopeRetainedOwnerResourceReader, p as summarizeDriverAttempts, qi as runtimeOwnedPendingExecutorMaterialization, qt as createInbox, r as createSupervisor, rt as reconcileScopeRetainedOwnerEnvironment, s as runFinalizer, sr as newUsageTotals, st as scopeRetainedOwnerRestorePoint, tr as executorFailure, tt as noteScopeRetainedOwnerCoordination, u as HarnessTurnFailedError, un as bridgeRuntimeAttachmentsKey, ur as errMessage, v as admitContinuationPolicy, vi as profileMaterializationAxes$1, wi as renderUnsupported, wn as routerBrain, x as checkVerdictOf, yi as promptControlProfileMaterialization, z as meterRuntimeOwnedProviderAttempt, za as teardownSurfaces } from "./supervisor-Rov7xW0j.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
3
3
|
import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-DydyWTQg.js";
|
|
4
4
|
import { n as assertNoSymlinkDescendant } from "./durable-file-DWQA4ooo.js";
|
|
5
5
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
6
|
-
import { B as withCoordinationAwaitFence, C as applyRunCancellation, E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, I as COORDINATION_CLIENT_TOOL_TIMEOUT_MS, L as MCP_TOOL_TIMEOUT_HEADER, R as declaredAwaitFenceMs, 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, z as declaredToolTimeoutMs } from "./coordination-driver-
|
|
6
|
+
import { B as withCoordinationAwaitFence, C as applyRunCancellation, E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, I as COORDINATION_CLIENT_TOOL_TIMEOUT_MS, L as MCP_TOOL_TIMEOUT_HEADER, R as declaredAwaitFenceMs, 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, z as declaredToolTimeoutMs } from "./coordination-driver-BTwCdKrl.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-DSCWdbX2.js";
|
|
9
9
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
@@ -3463,7 +3463,7 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3463
3463
|
}
|
|
3464
3464
|
}
|
|
3465
3465
|
const capture = executor.harnessTranscript?.();
|
|
3466
|
-
if (capture !== void 0 && (capture.status
|
|
3466
|
+
if (capture !== void 0 && (capture.status !== "unavailable" || managerTranscript?.status === "unavailable" || managerTranscript === void 0)) managerTranscript = capture;
|
|
3467
3467
|
if (activeExecutor === executor) activeExecutor = void 0;
|
|
3468
3468
|
}
|
|
3469
3469
|
if (failed) throw failure;
|
|
@@ -4547,4 +4547,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
4547
4547
|
//#endregion
|
|
4548
4548
|
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 };
|
|
4549
4549
|
|
|
4550
|
-
//# sourceMappingURL=supervise-
|
|
4550
|
+
//# sourceMappingURL=supervise-B5r5oZZ1.js.map
|