@tangle-network/agent-runtime 0.206.1 → 0.208.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-D8FvmCf5.js → activation-9wJniom2.js} +2 -2
- package/dist/{activation-D8FvmCf5.js.map → activation-9wJniom2.js.map} +1 -1
- package/dist/{activation-3drfS9_j.d.ts → activation-Dan50rKs.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-CwT-9dXa.js → coordination-driver-CqZGBqdt.js} +22 -8
- package/dist/coordination-driver-CqZGBqdt.js.map +1 -0
- package/dist/{delegate-yLW9_OGW.js → delegate-CU7bWMuW.js} +2 -2
- package/dist/{delegate-yLW9_OGW.js.map → delegate-CU7bWMuW.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-Dcb2PVEB.js → graph-B0cNCFmD.js} +4 -4
- package/dist/{graph-Dcb2PVEB.js.map → graph-B0cNCFmD.js.map} +1 -1
- package/dist/{improvement-cycle-ByIC070x.js → improvement-cycle-Bsm8TBDT.js} +3 -3
- package/dist/{improvement-cycle-ByIC070x.js.map → improvement-cycle-Bsm8TBDT.js.map} +1 -1
- package/dist/{index-B62R6dL9.d.ts → index-CHkf3b2C.d.ts} +4171 -4095
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +10 -10
- package/dist/{loop-runner-bin-CArH3v2c.d.ts → loop-runner-bin-BUVcdgNU.d.ts} +3 -3
- package/dist/{loop-runner-bin-CNNq7tcp.js → loop-runner-bin-CLxG15ta.js} +3 -3
- package/dist/{loop-runner-bin-CNNq7tcp.js.map → loop-runner-bin-CLxG15ta.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 +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/platform.d.ts +4 -2
- package/dist/platform.js +34 -3
- package/dist/platform.js.map +1 -1
- package/dist/{provision-supervisor-B8zEk1-7.js → provision-supervisor-CEMk0grI.js} +5 -5
- package/dist/{provision-supervisor-B8zEk1-7.js.map → provision-supervisor-CEMk0grI.js.map} +1 -1
- package/dist/{redact-CLRRxkXF.js → redact-BMwd8IBm.js} +243 -31
- package/dist/redact-BMwd8IBm.js.map +1 -0
- package/dist/{run-layout-B8I_LXN-.js → run-layout-hZREkcfu.js} +10 -5
- package/dist/run-layout-hZREkcfu.js.map +1 -0
- package/dist/{runtime-C-oKXuHJ.js → runtime-ByeeZbA3.js} +264 -13
- package/dist/runtime-ByeeZbA3.js.map +1 -0
- package/dist/{server-CLtEdwo_.js → server-Bl1F2Y3v.js} +3 -3
- package/dist/{server-CLtEdwo_.js.map → server-Bl1F2Y3v.js.map} +1 -1
- package/dist/{stream-agent-turn-CpRKkS19.d.ts → stream-agent-turn-B3NfR48z.d.ts} +34 -4
- package/dist/{structural-rollout-Bnewh9dN.js → structural-rollout-DsGWoyj4.js} +2 -2
- package/dist/{structural-rollout-Bnewh9dN.js.map → structural-rollout-DsGWoyj4.js.map} +1 -1
- package/dist/{supervise-BN5VMhRq.js → supervise-D3r_gEyO.js} +24 -22
- package/dist/supervise-D3r_gEyO.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/{top-app-KgIFpD9H.js → top-app-CMMd8DgR.js} +6 -2
- package/dist/top-app-CMMd8DgR.js.map +1 -0
- package/dist/tui/bin.js +1 -1
- package/dist/tui/index.d.ts +2 -1
- package/dist/tui/index.js +2 -2
- package/package.json +1 -1
- package/dist/coordination-driver-CwT-9dXa.js.map +0 -1
- package/dist/redact-CLRRxkXF.js.map +0 -1
- package/dist/run-layout-B8I_LXN-.js.map +0 -1
- package/dist/runtime-C-oKXuHJ.js.map +0 -1
- package/dist/supervise-BN5VMhRq.js.map +0 -1
- package/dist/top-app-KgIFpD9H.js.map +0 -1
|
@@ -4000,6 +4000,119 @@ async function defaultRunCommand(opts) {
|
|
|
4000
4000
|
};
|
|
4001
4001
|
}
|
|
4002
4002
|
//#endregion
|
|
4003
|
+
//#region src/runtime/provider-placement.ts
|
|
4004
|
+
const placementMetadataKey = "runtimeProviderPlacement";
|
|
4005
|
+
/** Select exactly one declaration before any provider effects. Shared defaults carry infrastructure only. */
|
|
4006
|
+
function selectProviderPlacement(profile, options) {
|
|
4007
|
+
if (options.placements === void 0) return { options };
|
|
4008
|
+
if (options.defaults?.backend !== void 0 || options.defaults?.secrets !== void 0 || options.promptOptions !== void 0) throw new ValidationError$1("provider placements: backend, secrets and promptOptions belong in each placement");
|
|
4009
|
+
for (const key of [
|
|
4010
|
+
"profile",
|
|
4011
|
+
"idempotencyKey",
|
|
4012
|
+
"requestedId"
|
|
4013
|
+
]) if (Object.hasOwn(options.defaults ?? {}, key)) throw new ValidationError$1(`provider placements: defaults.${key} is owned by Runtime`);
|
|
4014
|
+
const placements = detachedSnapshot(options.placements, "provider placements");
|
|
4015
|
+
const ids = /* @__PURE__ */ new Set();
|
|
4016
|
+
for (const placement of placements) {
|
|
4017
|
+
canonicalCandidateDigest(placement);
|
|
4018
|
+
if (Object.keys(placement).some((key) => ![
|
|
4019
|
+
"id",
|
|
4020
|
+
"match",
|
|
4021
|
+
"create",
|
|
4022
|
+
"promptOptions"
|
|
4023
|
+
].includes(key)) || Object.keys(placement.match).some((key) => ![
|
|
4024
|
+
"harness",
|
|
4025
|
+
"provider",
|
|
4026
|
+
"model"
|
|
4027
|
+
].includes(key))) throw new ValidationError$1("provider placements: unknown declaration or match field");
|
|
4028
|
+
if ([placement.match.provider, placement.match.model].some((value) => value !== void 0 && (typeof value !== "string" || !value.trim()))) throw new ValidationError$1("provider placements: provider and model selectors must be nonempty strings");
|
|
4029
|
+
if (!placement.id?.trim() || ids.has(placement.id)) throw new ValidationError$1("provider placements: ids must be nonempty and unique");
|
|
4030
|
+
ids.add(placement.id);
|
|
4031
|
+
if (!placement.match?.harness || placement.create?.backend !== placement.match.harness) throw new ValidationError$1("provider placements: create.backend must match the declared harness");
|
|
4032
|
+
for (const key of [
|
|
4033
|
+
"profile",
|
|
4034
|
+
"signal",
|
|
4035
|
+
"idempotencyKey",
|
|
4036
|
+
"requestedId",
|
|
4037
|
+
"runtimeAttachments"
|
|
4038
|
+
]) if (Object.hasOwn(placement.create, key)) throw new ValidationError$1(`provider placements: create.${key} is owned by Runtime`);
|
|
4039
|
+
const backend = placement.promptOptions?.backend;
|
|
4040
|
+
if (backend?.type !== void 0 && backend.type !== placement.match.harness || backend?.model?.provider !== void 0 && backend.model.provider !== placement.match.provider || backend?.model?.model !== void 0 && backend.model.model !== placement.match.model) throw new ValidationError$1("provider placements: turn backend/model must match the declared profile selector");
|
|
4041
|
+
}
|
|
4042
|
+
const matches = placements.filter(({ match }) => profile.harness === match.harness && (match.provider === void 0 || profile.model?.provider === match.provider) && (match.model === void 0 || concreteProfileModel(profile) === match.model));
|
|
4043
|
+
if (matches.length !== 1) throw new ValidationError$1(`provider placements: expected one matching declaration, found ${matches.length}`);
|
|
4044
|
+
const placement = matches[0];
|
|
4045
|
+
const common = options.defaults ?? {};
|
|
4046
|
+
if (Object.hasOwn(common.metadata ?? {}, placementMetadataKey) || Object.hasOwn(placement.create.metadata ?? {}, placementMetadataKey)) throw new ValidationError$1("provider placements: reserved placement metadata key");
|
|
4047
|
+
for (const key of Object.keys(placement.create.env ?? {})) if (Object.hasOwn(common.env ?? {}, key)) throw new ValidationError$1("provider placements: placement cannot replace a shared environment variable");
|
|
4048
|
+
const effectiveCreate = {
|
|
4049
|
+
...common,
|
|
4050
|
+
...placement.create,
|
|
4051
|
+
...common.env === void 0 && placement.create.env === void 0 ? {} : { env: {
|
|
4052
|
+
...common.env,
|
|
4053
|
+
...placement.create.env
|
|
4054
|
+
} },
|
|
4055
|
+
metadata: {
|
|
4056
|
+
...common.metadata,
|
|
4057
|
+
...placement.create.metadata
|
|
4058
|
+
}
|
|
4059
|
+
};
|
|
4060
|
+
const identity = {
|
|
4061
|
+
id: placement.id,
|
|
4062
|
+
digest: canonicalCandidateDigest({
|
|
4063
|
+
id: placement.id,
|
|
4064
|
+
match: placement.match,
|
|
4065
|
+
create: publicCreateOptions(effectiveCreate),
|
|
4066
|
+
promptOptions: publicPromptOptions(placement.promptOptions)
|
|
4067
|
+
})
|
|
4068
|
+
};
|
|
4069
|
+
return {
|
|
4070
|
+
identity,
|
|
4071
|
+
options: {
|
|
4072
|
+
...options,
|
|
4073
|
+
placements: void 0,
|
|
4074
|
+
defaults: {
|
|
4075
|
+
...effectiveCreate,
|
|
4076
|
+
metadata: {
|
|
4077
|
+
...effectiveCreate.metadata,
|
|
4078
|
+
[placementMetadataKey]: identity
|
|
4079
|
+
}
|
|
4080
|
+
},
|
|
4081
|
+
promptOptions: placement.promptOptions
|
|
4082
|
+
}
|
|
4083
|
+
};
|
|
4084
|
+
}
|
|
4085
|
+
function publicPromptOptions(options) {
|
|
4086
|
+
if (options === void 0) return null;
|
|
4087
|
+
const { backend, ...turn } = options;
|
|
4088
|
+
if (backend === void 0) return turn;
|
|
4089
|
+
const { model, ...backendOptions } = backend;
|
|
4090
|
+
if (model === void 0) return {
|
|
4091
|
+
...turn,
|
|
4092
|
+
backend: backendOptions
|
|
4093
|
+
};
|
|
4094
|
+
const { apiKey, authFiles, ...modelOptions } = model;
|
|
4095
|
+
return {
|
|
4096
|
+
...turn,
|
|
4097
|
+
backend: {
|
|
4098
|
+
...backendOptions,
|
|
4099
|
+
model: {
|
|
4100
|
+
...modelOptions,
|
|
4101
|
+
...apiKey === void 0 ? {} : { apiKeyPresent: true },
|
|
4102
|
+
...authFiles === void 0 ? {} : { authFiles: authFiles.map(({ content: _content, ...file }) => file) }
|
|
4103
|
+
}
|
|
4104
|
+
}
|
|
4105
|
+
};
|
|
4106
|
+
}
|
|
4107
|
+
function publicCreateOptions(create) {
|
|
4108
|
+
const { env, secrets, signal: _signal, profile: _profile, idempotencyKey: _idempotencyKey, requestedId: _requestedId, runtimeAttachments: _runtimeAttachments, ...configuration } = create;
|
|
4109
|
+
return {
|
|
4110
|
+
...configuration,
|
|
4111
|
+
...env === void 0 ? {} : { environmentVariableNames: Object.keys(env).sort() },
|
|
4112
|
+
...secrets === void 0 ? {} : { secretNames: Array.isArray(secrets) ? [...secrets].sort() : Object.keys(secrets).sort() }
|
|
4113
|
+
};
|
|
4114
|
+
}
|
|
4115
|
+
//#endregion
|
|
4003
4116
|
//#region src/sanitize.ts
|
|
4004
4117
|
/** Strip PII and large blobs from a `KnowledgeReadinessReport` for safe telemetry emission. @stable */
|
|
4005
4118
|
function sanitizeKnowledgeReadinessReport(report, options = {}) {
|
|
@@ -5978,6 +6091,7 @@ function createRetainedRunHandle(environment, session, initialControlRef, capabi
|
|
|
5978
6091
|
*/
|
|
5979
6092
|
function retainedCreateMaterial(environment) {
|
|
5980
6093
|
return {
|
|
6094
|
+
...environment.metadata?.runtimeProviderPlacement === void 0 ? {} : { placement: environment.metadata.runtimeProviderPlacement },
|
|
5981
6095
|
...environment.backend === void 0 ? {} : { backend: environment.backend },
|
|
5982
6096
|
...environment.workspace === void 0 ? {} : { workspaceDigest: canonicalCandidateDigest(publicWorkspaceMaterial(environment.workspace)) },
|
|
5983
6097
|
...environment.resources === void 0 ? {} : { resourcesDigest: canonicalCandidateDigest(publicResourceMaterial(environment.resources)) },
|
|
@@ -6410,6 +6524,20 @@ function assertRetainedCapabilityRequirements(providerName, capabilities) {
|
|
|
6410
6524
|
}
|
|
6411
6525
|
//#endregion
|
|
6412
6526
|
//#region src/runtime/supervise/abortable.ts
|
|
6527
|
+
/** Provenance of an explicit cancellation, preserved through every abort link. */
|
|
6528
|
+
var RunCancellationReason = class extends Error {
|
|
6529
|
+
source;
|
|
6530
|
+
operationId;
|
|
6531
|
+
constructor(source, reason, operationId) {
|
|
6532
|
+
super(reason);
|
|
6533
|
+
this.source = source;
|
|
6534
|
+
this.operationId = operationId;
|
|
6535
|
+
this.name = "RunCancellationReason";
|
|
6536
|
+
}
|
|
6537
|
+
toString() {
|
|
6538
|
+
return this.message;
|
|
6539
|
+
}
|
|
6540
|
+
};
|
|
6413
6541
|
/**
|
|
6414
6542
|
* One abort race, and one abort cascade, for the supervision tree.
|
|
6415
6543
|
*
|
|
@@ -6431,6 +6559,7 @@ function assertRetainedCapabilityRequirements(providerName, capabilities) {
|
|
|
6431
6559
|
*/
|
|
6432
6560
|
function abortReason(signal, fallback) {
|
|
6433
6561
|
const reason = signal.reason;
|
|
6562
|
+
if (reason instanceof RunCancellationReason) return reason;
|
|
6434
6563
|
if (typeof reason === "string" && reason.length > 0) return reason;
|
|
6435
6564
|
if (reason instanceof Error && reason.name !== "AbortError" && reason.message.length > 0) return reason.message;
|
|
6436
6565
|
return fallback;
|
|
@@ -6438,7 +6567,7 @@ function abortReason(signal, fallback) {
|
|
|
6438
6567
|
/** An `AbortError` carrying the signal's own string reason, or `fallback` when it states none. */
|
|
6439
6568
|
function abortError$1(signal, fallback) {
|
|
6440
6569
|
const reason = abortReason(signal, fallback);
|
|
6441
|
-
const error = new Error(typeof reason === "string" && reason.length > 0 ? reason : fallback);
|
|
6570
|
+
const error = new Error(reason instanceof Error ? reason.message : typeof reason === "string" && reason.length > 0 ? reason : fallback);
|
|
6442
6571
|
error.name = "AbortError";
|
|
6443
6572
|
return error;
|
|
6444
6573
|
}
|
|
@@ -7034,6 +7163,11 @@ function providerAsSandboxClient(provider, options = {}) {
|
|
|
7034
7163
|
...defaults,
|
|
7035
7164
|
...sandboxInput,
|
|
7036
7165
|
...customInput,
|
|
7166
|
+
...defaults.env === void 0 && sandboxInput.env === void 0 && customInput.env === void 0 ? {} : { env: {
|
|
7167
|
+
...defaults.env,
|
|
7168
|
+
...sandboxInput.env,
|
|
7169
|
+
...customInput.env
|
|
7170
|
+
} },
|
|
7037
7171
|
providerOptions: {
|
|
7038
7172
|
...defaults.providerOptions ?? {},
|
|
7039
7173
|
...sandboxInput.providerOptions ?? {},
|
|
@@ -7142,9 +7276,18 @@ function providerTurnWithDefaults(defaults, turn, signal) {
|
|
|
7142
7276
|
*
|
|
7143
7277
|
* @experimental */
|
|
7144
7278
|
function providerAsExecutor(provider, options = {}) {
|
|
7145
|
-
|
|
7279
|
+
const captured = options.placements === void 0 ? options : {
|
|
7280
|
+
...options,
|
|
7281
|
+
placements: detachedSnapshot(options.placements, "provider placements"),
|
|
7282
|
+
defaults: detachedSnapshot(options.defaults, "provider placement defaults")
|
|
7283
|
+
};
|
|
7284
|
+
return (spec, ctx) => {
|
|
7285
|
+
const profile = captured.placements === void 0 ? spec.profile : detachedSnapshot(spec.profile, "provider placement profile");
|
|
7286
|
+
const selected = selectProviderPlacement(profile, captured);
|
|
7287
|
+
return createProviderExecutor(provider, profile, ctx, selected.options, selected.identity);
|
|
7288
|
+
};
|
|
7146
7289
|
}
|
|
7147
|
-
function createProviderExecutor(provider, profile, ctx, options) {
|
|
7290
|
+
function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
7148
7291
|
const controller = linkAbort(ctx.signal);
|
|
7149
7292
|
let environment;
|
|
7150
7293
|
let artifact;
|
|
@@ -7154,6 +7297,7 @@ function createProviderExecutor(provider, profile, ctx, options) {
|
|
|
7154
7297
|
let destroyed = false;
|
|
7155
7298
|
const runtime = options.runtime ?? provider.name;
|
|
7156
7299
|
const createProfile = options.profileForCreate?.(profile) ?? profile;
|
|
7300
|
+
if (placement && canonicalAgentProfileDigest(createProfile) !== canonicalAgentProfileDigest(profile)) throw new ValidationError("provider placement: profileForCreate cannot change the selected profile");
|
|
7157
7301
|
const executionId = retention?.executionId ?? ctx.node?.nodeId ?? `provider-run-${randomUUID()}`;
|
|
7158
7302
|
const attemptId = ctx.node?.attemptId ?? newExecutionAttemptId(executionId);
|
|
7159
7303
|
const providerModel = concreteProfileModel(createProfile);
|
|
@@ -7179,7 +7323,8 @@ function createProviderExecutor(provider, profile, ctx, options) {
|
|
|
7179
7323
|
destroyOnSettle: options.destroyOnSettle ?? true,
|
|
7180
7324
|
requireTerminalEvent: options.requireTerminalEvent ?? true,
|
|
7181
7325
|
tokenLimits,
|
|
7182
|
-
environmentId: null
|
|
7326
|
+
environmentId: null,
|
|
7327
|
+
...placement ? { placement } : {}
|
|
7183
7328
|
}
|
|
7184
7329
|
};
|
|
7185
7330
|
const plannedBinding = {
|
|
@@ -7187,12 +7332,17 @@ function createProviderExecutor(provider, profile, ctx, options) {
|
|
|
7187
7332
|
binding: {
|
|
7188
7333
|
provider: provider.name,
|
|
7189
7334
|
executionId,
|
|
7190
|
-
model: providerModel ?? null
|
|
7335
|
+
model: providerModel ?? null,
|
|
7336
|
+
...placement ? { placement } : {}
|
|
7191
7337
|
},
|
|
7192
7338
|
descriptor: {
|
|
7193
7339
|
kind: "agent-environment",
|
|
7194
7340
|
transport: "provider",
|
|
7195
|
-
backend: provider.name
|
|
7341
|
+
backend: provider.name,
|
|
7342
|
+
...placement ? {
|
|
7343
|
+
placementId: placement.id,
|
|
7344
|
+
placementDigest: placement.digest
|
|
7345
|
+
} : {}
|
|
7196
7346
|
}
|
|
7197
7347
|
};
|
|
7198
7348
|
let executor;
|
|
@@ -7295,7 +7445,18 @@ async function* streamProviderExecutor(args) {
|
|
|
7295
7445
|
const started = Date.now();
|
|
7296
7446
|
const linked = linkAbort(args.signal, args.controller.signal).signal;
|
|
7297
7447
|
const defaultTurn = taskToTurnInput(args.task, linked);
|
|
7298
|
-
|
|
7448
|
+
let turn = providerTurnWithDefaults(providerTurnDefaults(args.options.promptOptions, `providerAsExecutor(${args.provider.name})`), args.options.taskToTurn?.(args.task, args.profile, defaultTurn) ?? defaultTurn, linked);
|
|
7449
|
+
if (args.options.defaults?.metadata?.runtimeProviderPlacement !== void 0) {
|
|
7450
|
+
if (turn.model !== void 0 && turn.model !== concreteProfileModel(args.profile)) throw new ValidationError("provider placement: taskToTurn cannot replace the profile model");
|
|
7451
|
+
const declared = providerTurnDefaults(args.options.promptOptions, "provider placement");
|
|
7452
|
+
if (canonicalCandidateDigest(turn.providerOptions ?? {}) !== canonicalCandidateDigest(declared?.providerOptions ?? {})) throw new ValidationError("provider placement: taskToTurn cannot replace declared provider options");
|
|
7453
|
+
const { signal: _signal, ...material } = turn;
|
|
7454
|
+
turn = {
|
|
7455
|
+
...detachedSnapshot(material, "provider placement turn"),
|
|
7456
|
+
signal: linked
|
|
7457
|
+
};
|
|
7458
|
+
}
|
|
7459
|
+
const source = await providerExecutionSource(args, turn, linked);
|
|
7299
7460
|
const environment = source.environment;
|
|
7300
7461
|
args.onEnvironment(environment);
|
|
7301
7462
|
const events = [];
|
|
@@ -11743,7 +11904,7 @@ function aggregateProviderModelEvidence(forest) {
|
|
|
11743
11904
|
return;
|
|
11744
11905
|
}
|
|
11745
11906
|
if (node.ownedTreeRoot !== void 0) return;
|
|
11746
|
-
if (event.kind === "cancelled") {
|
|
11907
|
+
if (event.kind === "cancelled" && event.providerModel === void 0) {
|
|
11747
11908
|
markMissing();
|
|
11748
11909
|
return;
|
|
11749
11910
|
}
|
|
@@ -12000,8 +12161,9 @@ async function replaySpawnTree(journal, blobs, root) {
|
|
|
12000
12161
|
kind: "down",
|
|
12001
12162
|
handle: handleFor(ev.id, "cancelled"),
|
|
12002
12163
|
reason: ev.reason,
|
|
12003
|
-
infra:
|
|
12004
|
-
|
|
12164
|
+
infra: ev.infra === true,
|
|
12165
|
+
...ev.providerModel === void 0 ? {} : { providerModel: copyProviderModelEvidence(ev.providerModel) },
|
|
12166
|
+
trace: ev.trace ?? {
|
|
12005
12167
|
status: "unavailable",
|
|
12006
12168
|
reason: "execution-did-not-start"
|
|
12007
12169
|
},
|
|
@@ -12133,10 +12295,13 @@ function materializeTreeView(events) {
|
|
|
12133
12295
|
} else {
|
|
12134
12296
|
const node = requireNode(nodes, ev.id);
|
|
12135
12297
|
node.status = "cancelled";
|
|
12136
|
-
node.trace = {
|
|
12298
|
+
node.trace = ev.trace ?? {
|
|
12137
12299
|
status: "unavailable",
|
|
12138
12300
|
reason: "execution-did-not-start"
|
|
12139
12301
|
};
|
|
12302
|
+
if (ev.spent !== void 0) node.spent = cloneSpend(ev.spent);
|
|
12303
|
+
node.providerModel = copyProviderModelEvidence(ev.providerModel);
|
|
12304
|
+
node.outRef = ev.outRef;
|
|
12140
12305
|
const settledAt = Date.parse(ev.at);
|
|
12141
12306
|
if (Number.isFinite(settledAt)) node.settledAt = settledAt;
|
|
12142
12307
|
}
|
|
@@ -17057,7 +17222,9 @@ function createExecutor(config) {
|
|
|
17057
17222
|
case "cli-worktree": return cliWorktreeExecutor(spec, seamed);
|
|
17058
17223
|
case "cli-in-place": return cliInPlaceExecutor(spec, seamed);
|
|
17059
17224
|
case "provider": {
|
|
17060
|
-
const
|
|
17225
|
+
const originalSeam = readSeam(seamed, providerSeamKey, "provider");
|
|
17226
|
+
const selected = originalSeam.steering ? selectProviderPlacement(spec.profile, originalSeam) : void 0;
|
|
17227
|
+
const providerSeam = selected?.options ?? originalSeam;
|
|
17061
17228
|
const provider = resolveAgentEnvironmentProvider(providerSeam.provider, providerSeam.registry);
|
|
17062
17229
|
if (providerSeam.steering) {
|
|
17063
17230
|
if (providerSeam.taskToTurn) throw new ValidationError$1("createExecutor(provider, steering): taskToTurn is not representable by the text-only steerable session");
|
|
@@ -17087,10 +17254,33 @@ function createExecutor(config) {
|
|
|
17087
17254
|
...spec,
|
|
17088
17255
|
harness
|
|
17089
17256
|
}, providerCtx);
|
|
17090
|
-
|
|
17257
|
+
const wrapper = inheritRuntimeOwnedExecutorAttestation(executor, {
|
|
17091
17258
|
...executor,
|
|
17092
17259
|
runtime: providerSeam.runtime ?? provider.name
|
|
17093
17260
|
});
|
|
17261
|
+
if (selected?.identity) {
|
|
17262
|
+
const declaration = runtimeOwnedExecutorMaterialization(executor);
|
|
17263
|
+
const binding = runtimeOwnedExecutorExecutionBinding(executor);
|
|
17264
|
+
attestRuntimeOwnedExecutor(wrapper, {
|
|
17265
|
+
...declaration,
|
|
17266
|
+
plan: {
|
|
17267
|
+
...declaration.plan,
|
|
17268
|
+
placement: selected.identity
|
|
17269
|
+
}
|
|
17270
|
+
}, {
|
|
17271
|
+
...binding,
|
|
17272
|
+
binding: {
|
|
17273
|
+
...binding.binding,
|
|
17274
|
+
placement: selected.identity
|
|
17275
|
+
},
|
|
17276
|
+
descriptor: {
|
|
17277
|
+
...binding.descriptor,
|
|
17278
|
+
placementId: selected.identity.id,
|
|
17279
|
+
placementDigest: selected.identity.digest
|
|
17280
|
+
}
|
|
17281
|
+
});
|
|
17282
|
+
}
|
|
17283
|
+
return wrapper;
|
|
17094
17284
|
}
|
|
17095
17285
|
const profileForCreate = providerSeam.profileForCreate;
|
|
17096
17286
|
return providerAsExecutor(provider, {
|
|
@@ -18581,7 +18771,7 @@ function sumSpendFromEvents(events) {
|
|
|
18581
18771
|
function sumMeasuredSpendFromEvents(events) {
|
|
18582
18772
|
let childWork = zeroSpend();
|
|
18583
18773
|
let driverInference = zeroSpend();
|
|
18584
|
-
for (const ev of events) if (ev.kind === "settled") childWork = addSpend(childWork, ev.spent);
|
|
18774
|
+
for (const ev of events) if (ev.kind === "settled" || ev.kind === "cancelled" && ev.spent !== void 0) childWork = addSpend(childWork, ev.spent);
|
|
18585
18775
|
else if (ev.kind === "metered") driverInference = addSpend(driverInference, ev.spend);
|
|
18586
18776
|
return {
|
|
18587
18777
|
childWork,
|
|
@@ -19328,7 +19518,7 @@ function createScope(args) {
|
|
|
19328
19518
|
return bindings && bindings.length > 0 ? Object.freeze([...bindings]) : void 0;
|
|
19329
19519
|
},
|
|
19330
19520
|
abort(reason) {
|
|
19331
|
-
controller.abort(reason);
|
|
19521
|
+
controller.abort(new RunCancellationReason("worker-handle", reason ?? "worker cancelled"));
|
|
19332
19522
|
}
|
|
19333
19523
|
};
|
|
19334
19524
|
const live = {
|
|
@@ -19360,6 +19550,11 @@ function createScope(args) {
|
|
|
19360
19550
|
...executor.cancel ? { requestCancel: executor.cancel.bind(executor) } : {},
|
|
19361
19551
|
abortChild: (reason) => controller.abort(reason)
|
|
19362
19552
|
};
|
|
19553
|
+
const recordCancellation = () => {
|
|
19554
|
+
if (!live.executorDone && live.acceptedResult === void 0 && controller.signal.reason instanceof RunCancellationReason) live.cancellationReason = controller.signal.reason;
|
|
19555
|
+
};
|
|
19556
|
+
if (controller.signal.aborted) recordCancellation();
|
|
19557
|
+
else controller.signal.addEventListener("abort", recordCancellation, { once: true });
|
|
19363
19558
|
children.set(id, live);
|
|
19364
19559
|
if (opts.key !== void 0) keyed.set(opts.key, {
|
|
19365
19560
|
state: "live",
|
|
@@ -19803,7 +19998,7 @@ function createScope(args) {
|
|
|
19803
19998
|
const child = children.get(nodeId);
|
|
19804
19999
|
if (!child) throw new ValidationError$1(`scope.cancel: unknown node ${JSON.stringify(nodeId)}`);
|
|
19805
20000
|
if (child.requestCancel) return await child.requestCancel(request);
|
|
19806
|
-
child.abortChild("cancelled");
|
|
20001
|
+
child.abortChild(new RunCancellationReason("scope", "cancelled"));
|
|
19807
20002
|
return {
|
|
19808
20003
|
status: "unknown",
|
|
19809
20004
|
effect: "cancel_requested",
|
|
@@ -20215,13 +20410,19 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
|
|
|
20215
20410
|
const at = new Date(settledAt).toISOString();
|
|
20216
20411
|
if (settlement.metered) await appendSettlementMetering(args.journal, args.root, child.id, settlement.metered, at);
|
|
20217
20412
|
if (settlement.kind === "down") {
|
|
20218
|
-
|
|
20413
|
+
const cancellation = child.cancellationReason;
|
|
20414
|
+
child.status = cancellation === void 0 ? "failed" : "cancelled";
|
|
20219
20415
|
child.trace = settlement.trace;
|
|
20220
20416
|
child.providerModel = settlement.providerModel;
|
|
20221
20417
|
if (!child.recoveryPending) await args.journal.appendEvent(args.root, {
|
|
20222
|
-
|
|
20418
|
+
...cancellation === void 0 ? {
|
|
20419
|
+
kind: "settled",
|
|
20420
|
+
status: "down"
|
|
20421
|
+
} : {
|
|
20422
|
+
kind: "cancelled",
|
|
20423
|
+
source: cancellation.source
|
|
20424
|
+
},
|
|
20223
20425
|
id: child.id,
|
|
20224
|
-
status: "down",
|
|
20225
20426
|
spent: child.spent,
|
|
20226
20427
|
infra: settlement.infra,
|
|
20227
20428
|
reason: settlement.reason,
|
|
@@ -21004,15 +21205,14 @@ const driverExecutorFactory = (rawSpec, ctx) => {
|
|
|
21004
21205
|
await finalizeScopeOwnerMaterialization(nestedScope);
|
|
21005
21206
|
await closeActive("driver completed");
|
|
21006
21207
|
const events = await loadTreeEvents(journal, nestedRoot);
|
|
21007
|
-
const
|
|
21008
|
-
const childWork = sumSpend(settled);
|
|
21208
|
+
const childWork = sumSpend(events.filter(isSettled));
|
|
21009
21209
|
const totalMetered = sumMetered(events);
|
|
21010
21210
|
meteredSpend = nonZeroOrUndef(unreportedSpend(totalMetered, previouslyMetered));
|
|
21011
21211
|
accounting = {
|
|
21012
21212
|
reported: childWork,
|
|
21013
21213
|
reservation: addSpend(childWork, totalMetered)
|
|
21014
21214
|
};
|
|
21015
|
-
const verdict = deriveDeliveryVerdict(settled, out, spec.acceptedSubmission?.() === true);
|
|
21215
|
+
const verdict = deriveDeliveryVerdict(events.filter((event) => event.kind === "settled"), out, spec.acceptedSubmission?.() === true);
|
|
21016
21216
|
artifact = {
|
|
21017
21217
|
outRef: `${driverRuntime}:${nestedRoot}`,
|
|
21018
21218
|
out: out === void 0 ? null : out,
|
|
@@ -21027,7 +21227,7 @@ const driverExecutorFactory = (rawSpec, ctx) => {
|
|
|
21027
21227
|
meteredSpend = partial?.metered ? nonZeroOrUndef(unreportedSpend(partial.metered, previouslyMetered)) : void 0;
|
|
21028
21228
|
accounting = partial?.accounting;
|
|
21029
21229
|
const events = await journal.loadTree(nestedRoot).catch(() => void 0);
|
|
21030
|
-
const settledIds = new Set(events?.filter((event) => event.kind === "settled").map((event) => event.id));
|
|
21230
|
+
const settledIds = new Set(events?.filter((event) => event.kind === "settled" || event.kind === "cancelled").map((event) => event.id));
|
|
21031
21231
|
if (events?.some((event) => event.kind === "execution-admitted" && event.id === seam.nodeId || event.kind === "spawned" && event.parent !== void 0 && event.runtime !== "inline" && !settledIds.has(event.id))) throw new RetainedExecutionPendingError(err);
|
|
21032
21232
|
if (cleanupError !== void 0) throw cleanupError;
|
|
21033
21233
|
throw err;
|
|
@@ -21098,7 +21298,7 @@ async function loadTreeEvents(journal, nestedRoot) {
|
|
|
21098
21298
|
return events;
|
|
21099
21299
|
}
|
|
21100
21300
|
function isSettled(ev) {
|
|
21101
|
-
return ev.kind === "settled";
|
|
21301
|
+
return ev.kind === "settled" || ev.kind === "cancelled" && ev.spent !== void 0;
|
|
21102
21302
|
}
|
|
21103
21303
|
/** Sum the conserved spend over the nested tree's settled events — the honest per-channel
|
|
21104
21304
|
* roll-up of the whole sub-tree's child WORK. */
|
|
@@ -21583,8 +21783,8 @@ function createSupervisor() {
|
|
|
21583
21783
|
controller.abort(reason);
|
|
21584
21784
|
return true;
|
|
21585
21785
|
};
|
|
21586
|
-
const onCallerAbort = () => cascadeAbort("caller signal aborted");
|
|
21587
|
-
if (opts.signal) if (opts.signal.aborted)
|
|
21786
|
+
const onCallerAbort = () => cascadeAbort(opts.signal?.reason instanceof RunCancellationReason ? opts.signal.reason : new RunCancellationReason("signal", typeof opts.signal?.reason === "string" ? opts.signal.reason : "caller signal aborted"));
|
|
21787
|
+
if (opts.signal) if (opts.signal.aborted) onCallerAbort();
|
|
21588
21788
|
else opts.signal.addEventListener("abort", onCallerAbort, { once: true });
|
|
21589
21789
|
const breaker = createIntensityBreaker(opts, () => cascadeAbort("intensity breaker tripped"));
|
|
21590
21790
|
const journal = wrapJournalForBreaker(opts.journal, breaker);
|
|
@@ -21619,7 +21819,7 @@ function createSupervisor() {
|
|
|
21619
21819
|
const openScope = scope;
|
|
21620
21820
|
if (rootLease) rootLease.bind({
|
|
21621
21821
|
scope: openScope,
|
|
21622
|
-
cascadeAbort,
|
|
21822
|
+
cascadeAbort: (reason) => cascadeAbort(new RunCancellationReason("root-handle", reason ?? "root handle aborted")),
|
|
21623
21823
|
signal: pushRootSignal(cascadeAbort),
|
|
21624
21824
|
deliver: rootDeliver ? (message) => rootDeliver(message) !== false : () => false
|
|
21625
21825
|
});
|
|
@@ -21687,6 +21887,7 @@ function createSupervisor() {
|
|
|
21687
21887
|
}
|
|
21688
21888
|
const tree = runTree(scope);
|
|
21689
21889
|
pool.assertNoOpenTickets();
|
|
21890
|
+
if (controller.signal.reason instanceof RunCancellationReason) return noWinner();
|
|
21690
21891
|
if (actOutcome.ok) {
|
|
21691
21892
|
if (executionAborted) return noWinner();
|
|
21692
21893
|
const out = actOutcome.out;
|
|
@@ -21724,6 +21925,16 @@ function createSupervisor() {
|
|
|
21724
21925
|
...gaps.length > 0 ? { spendGaps: gaps } : {}
|
|
21725
21926
|
};
|
|
21726
21927
|
const lifecycle = classifyNoWinner(executionAborted, pool, opts, breaker, deadlineExceeded, allChildrenDownAtSettle, downCountAtSettle);
|
|
21928
|
+
if (controller.signal.reason instanceof RunCancellationReason) {
|
|
21929
|
+
const cancellation = controller.signal.reason;
|
|
21930
|
+
return {
|
|
21931
|
+
...common,
|
|
21932
|
+
reason: "cancelled",
|
|
21933
|
+
source: cancellation.source,
|
|
21934
|
+
cancellationReason: cancellation.message,
|
|
21935
|
+
...cancellation.operationId === void 0 ? {} : { operationId: cancellation.operationId }
|
|
21936
|
+
};
|
|
21937
|
+
}
|
|
21727
21938
|
if (lifecycle !== void 0) return {
|
|
21728
21939
|
...common,
|
|
21729
21940
|
reason: lifecycle
|
|
@@ -21811,7 +22022,7 @@ function createRootHandle() {
|
|
|
21811
22022
|
* pause semantics — building them now would be mechanism ahead of the gate). */
|
|
21812
22023
|
function pushRootSignal(cascadeAbort) {
|
|
21813
22024
|
return (msg) => {
|
|
21814
|
-
if (msg.kind === "cancel") cascadeAbort(msg.reason ?? "root signal: cancel");
|
|
22025
|
+
if (msg.kind === "cancel") cascadeAbort(new RunCancellationReason("root-signal", msg.reason ?? "root signal: cancel"));
|
|
21815
22026
|
};
|
|
21816
22027
|
}
|
|
21817
22028
|
function createIntensityBreaker(opts, trip) {
|
|
@@ -21999,7 +22210,8 @@ function spendGapsFromEvents(events) {
|
|
|
21999
22210
|
});
|
|
22000
22211
|
};
|
|
22001
22212
|
for (const ev of events) if (ev.kind === "spawned" && ev.parent !== void 0 && !terminal.has(ev.id)) record(ev.id, "never-settled", ["tokens", "usd"]);
|
|
22002
|
-
else if (ev.kind === "
|
|
22213
|
+
else if (ev.kind === "cancelled" && ev.spent === void 0) record(ev.id, "unreported", ["tokens", "usd"]);
|
|
22214
|
+
else if (ev.kind === "settled" || ev.kind === "cancelled" && ev.spent !== void 0) record(ev.id, "unreported", unknownChannels(ev.spent));
|
|
22003
22215
|
else if (ev.kind === "metered") record(ev.id, "unreported", unknownChannels(ev.spend));
|
|
22004
22216
|
return [...gaps.values()].map((gap) => {
|
|
22005
22217
|
const label = labels.get(gap.id);
|
|
@@ -22108,6 +22320,6 @@ function resolveRedactor(redact) {
|
|
|
22108
22320
|
return (value) => defaultRedactor(redact(value));
|
|
22109
22321
|
}
|
|
22110
22322
|
//#endregion
|
|
22111
|
-
export { bridgeAdmissionRefusal as $,
|
|
22323
|
+
export { bridgeAdmissionRefusal as $, buildLoopSpanNodes as $n, newExecutionAttemptId as $r, spendFromUsageEvents as $t, consumeScopeRetainedOwnerResult as A, awaitAbortable$1 as Ai, throwIfAborted as An, fullProfileMaterialization as Ar, peerMailTools as At, workerInteractiveBindingFile as B, startRetainedRun as Bn, validateProfileMaterialization as Br, insideCursorNamespace as Bt, settledToIteration as C, mapSandboxToolEvent as Ci, hasCompleteCacheBreakdown as Cn, localHarnessExecutable as Cr, createInbox as Ct, timerAt as D, sumSandboxUsage as Di, sleep as Dn, assertProfileMaterialization as Dr, claimsAuthority as Dt, pollFor as E, sandboxProgressEvents as Ei, randomSuffix as En, AGENT_PROFILE_MATERIALIZATION_AXES as Er, PEER_MAIL_WIRE_KEY as Et, interactiveAdmissionSeamKey as F, RunCancellationReason as Fn, promptResourceProfileMaterialization as Fr, taskToPrompt as Ft, destroyInteractiveEnvironment as G, harnessUsageIsEmpty as Gn, writeAllBytes as Gr, WORKER_TOOL_TRACE_SCHEMA_VERSION as Gt, reconnectRetainedInteractiveRun as H, retainedCreateMaterial as Hn, isNoEntError as Hr, materializeTreeView as Ht, readWorkerInteractiveAdmissions as I, abortError$1 as In, renderProfileMaterializationIssues as Ir, FileResultBlobStore as It, queueOf as J, mergeTraceEnv as Jn, authoredProfileDigest as Jr, parseWorkerToolTraceArtifact as Jt, effectiveConcurrency as K, readCodexRolloutSession as Kn, attestRuntimeOwnedPendingExecutor as Kr, captureWorkerTraceEvidence as Kt, workerInteractiveAdmissionFile as L, linkAbort as Ln, renderUnsupported as Lr, FileSpawnJournal as Lt, scopeRetainedOwnerContext as M, promptOptionsFromAgentTurnInput as Mi, zeroSpend as Mn, promptControlProfileMaterialization as Mr, isLiveNodeStatus as Mt, scopeRetainedOwnerPriorSpend as N, providerMessageText as Ni, registerRetainedExecutorPreparation as Nn, promptModelProfileMaterialization as Nr, isTerminalNodeStatus as Nt, validateWaitSpec as O, decodeHarnessUsage as Oi, stringifySafe as On, controlProfileMaterialization as Or, createPeerMailbox as Ot, scopeRetainedOwnerResult as P, retainedExecutorSeamKey as Pn, promptOnlyProfileMaterialization as Pr, createInPlaceCliExecutor as Pt, bindReusableExecutorExecutionId as Q, buildLoopOtelSpans as Qn, knownMaterializationReceipt as Qr, createBudgetPool as Qt, attachWorker as R, reconnectRetainedRun as Rn, sandboxActProfileMaterialization as Rr, InMemoryResultBlobStore as Rt, scopeOwnerExecutorNodeContext as S, mapSandboxEvent as Si, deleteBoxSafe as Sn, harnessSupportsReasoningEffort as Sr, readWorkerProgress as St, isWaitOutcome as T, sandboxEventServedBackend as Ti, promptCacheTokenClasses as Tn, CodexExecutionDiagnosticError as Tr, DEFAULT_PEER_MAIL_LIMITS as Tt, recoverRetainedInteractiveRun as U, addHarnessUsage as Un, parseCommittedJsonLines as Ur, pendingWaits as Ut, workerInteractiveBindingsDir as V, startRetainedRunInEnvironment as Vn, worktreeCliProfileMaterialization as Vr, loadSpawnForest as Vt, startRetainedInteractiveRun as W, createCodexRolloutStoreReader as Wn, prepareJsonlAppend as Wr, replaySpawnTree as Wt, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as X, traceContextToEnv as Xn, inheritRuntimeOwnedExecutorAttestation as Xr, contentAddress as Xt, rollingDispatch as Y, readTraceContextFromEnv as Yn, finalizeRuntimeOwnedPendingExecutor as Yr, workerTraceAnalysisStore as Yt, teardownExecutor as Z, INTELLIGENCE_WIRE_VERSION as Zn, knownExecutionBindingReceipt as Zr, assertValidBudget as Zt, deriveNodeExecutionIdentity as _, canonicalStreamEventFromSandboxEvent as _i, resolveAgentEnvironmentProvider as _n, captureWorktreeDiff as _r, createPushTraceSource as _t, createSupervisor as a, runtimeOwnedExecutorProviderEvidence as ai, createSandboxLineage as an, generateSpanId as ar, cliWorktreeExecutor as at, recordScopeOwnerMaterialization as b, extractLlmCallEvent as bi, chargedTokens as bn, DEFAULT_LOCAL_HARNESS as br, DEFAULT_STALL_AFTER_MS as bt, pickBestDelivered as c, unknownExecutionBindingReceipt as ci, assertBoxlessPromptOptions as cn, padTraceId as cr, snapshotExecutorConfig as ct, driverChild as d, executableAgentSpecSnapshot as di, runBrainLoop as dn, createRuntimeStreamEventCollector as dr, readWorkerTraceContext as dt, providerAttemptEvidence as ei, TERMINAL_DECISIONS as en, buildRuntimeEventOtelSpans as er, bridgeModelRouteRefusal as et, driverExecutorFactory as f, detachedFrozen as fi, canonicalObservedModelParts as fn, sanitizeAgentRuntimeEvent as fr, workerTraceEnv as ft, createScope as g, assertSandboxServedModel as gi, providerAsSandboxClient as gn, runWorktreeHarness as gr, createSteerableSandboxSession as gt, beginScopeOwnerAttempt as h, readSandboxOutcome as hi, providerAsExecutor as hn, runSettledCommand as hr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as ht, createRootHandle as i, runtimeOwnedExecutorMaterialization as ii, runAgentRounds as in, flatOtelSpan as ir, cliInPlaceExecutor as it, prepareScopeRetainedOwnerTask as j, promptFromAgentTurnInput as ji, unmeteredSpend as jn, profileMaterializationAxes$1 as jr, peerMailVerbNames as jt, waitUntil as k, abortError$2 as ki, throwAbort as kn, defineProfileMaterializationContract as kr, isPeerMailEnvelope as kt, runFinalizer as l, unknownMaterializationReceipt as li, readPromptOptions as ln, toOtelAttributes as lr, createWorktreeCliExecutor as lt, withDriverExecutor as m, projectSandboxOutcome as mi, createAgentEnvironmentProviderRegistry as mn, sanitizeRuntimeStreamEvent as mr, workerTraceSeamKey as mt, defaultRedactorIdentityMaterial as n, runtimeOwnedDriveHarnessProviderEvidence as ni, defaultSelectWinner as nn, createOtelExporter as nr, bridgeStopSignalKey as nt, bestDelivered as o, runtimeOwnedPendingExecutorMaterialization as oi, probeSandboxCapabilities as on, loopEventToOtelSpan as or, createExecutor as ot, isDriverSpec as p, detachedSnapshot as pi, observedModelMatchesDeclared as pn, sanitizeKnowledgeReadinessReport as pr, workerTraceHeaders as pt, freeSlots as q, createPropagatingTraceEmitter as qn, attestRuntimeOwnedScopeOwner as qr, isTraceAnalysisStore as qt, resolveRedactor as r, runtimeOwnedExecutorExecutionBinding as ri, isTerminalDecision as rn, exportEvalRuns as rr, captureReusableExecutorConfig as rt, collectDelivered as s, runtimeOwnedScopeOwnerRuntime as si, acquireSandbox as sn, padSpanId as sr, createExecutorRegistry as st, defaultRedactor as t, recordRuntimeOwnedDriveHarnessProviderEvidence as ti, createSandboxForSpec as tn, createOpenInferenceFileExporter as tr, bridgeRuntimeAttachmentsKey as tt, runTree as u, executableAgentProfileSnapshot as ui, routerBrain as un, createRuntimeEventCollector as ur, WORKER_TRACE_PROPAGATION as ut, meterRuntimeOwnedAccounting as v, createSandboxToolPartState as vi, sandboxClientAsProvider as vn, createWorktree as vr, decodeToolPart as vt, createWaitProbes as w, notifySandboxEventObserver as wi, isAbortError$2 as wn, parseCodexTokenUsage as wr, AUTHORITY_MARKERS as wt, restoreScopeOwnerAcceptedExecution as x, isSandboxTerminalEvent as xi, cloneSpend as xn, LOCAL_HARNESSES as xr, createActivityLog as xt, meterRuntimeOwnedProviderAttempt as y, createSandboxUsageLedger as yi, addSpend as yn, removeWorktree as yr, sandboxSessionTraceSource as yt, readWorkerInteractiveBinding as z, recoverRetainedRun as zn, unsupportedProfileDimensions as zr, InMemorySpawnJournal as zt };
|
|
22112
22324
|
|
|
22113
|
-
//# sourceMappingURL=redact-
|
|
22325
|
+
//# sourceMappingURL=redact-BMwd8IBm.js.map
|