@tangle-network/agent-runtime 9.0.0 → 9.0.2
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/CHANGELOG.md +14 -0
- package/dist/{activation-jAPhmkOb.js → activation-BrBDs0Yj.js} +2 -2
- package/dist/{activation-jAPhmkOb.js.map → activation-BrBDs0Yj.js.map} +1 -1
- package/dist/{activation-Cvw_7nrn.d.ts → activation-CoVktVKr.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-manager-T9_VZ_Gh.js → coordination-manager-DKmQGzBB.js} +3 -3
- package/dist/{coordination-manager-T9_VZ_Gh.js.map → coordination-manager-DKmQGzBB.js.map} +1 -1
- package/dist/{delegate-BCMyrm5n.js → delegate-CHGMIC6s.js} +2 -2
- package/dist/{delegate-BCMyrm5n.js.map → delegate-CHGMIC6s.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +4 -4
- package/dist/{graph-CajniLnc.js → graph-BRlI0CEL.js} +12 -14
- package/dist/graph-BRlI0CEL.js.map +1 -0
- package/dist/{graph-registry-D3cY0BJU.js → graph-registry-D0FE9VpR.js} +2 -1
- package/dist/graph-registry-D0FE9VpR.js.map +1 -0
- package/dist/{graph-registry-DTeb6qhB.js → graph-registry-Dbm8QhbA.js} +1 -1
- package/dist/{improve-Bv419bnu.js → improve-CnTEGkF6.js} +5 -5
- package/dist/{improve-Bv419bnu.js.map → improve-CnTEGkF6.js.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +11 -11
- package/dist/{loop-runner-DaMM2vSj.js → loop-runner-CqPsP7uW.js} +2 -2
- package/dist/{loop-runner-DaMM2vSj.js.map → loop-runner-CqPsP7uW.js.map} +1 -1
- package/dist/{loop-runner-Bd9Ieh5w.d.ts → loop-runner-DZeXWH78.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 +2 -2
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +4 -4
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-mJuBx86X.js → provision-supervisor-B-ULubUf.js} +3 -3
- package/dist/{provision-supervisor-mJuBx86X.js.map → provision-supervisor-B-ULubUf.js.map} +1 -1
- package/dist/{run-state-ZjIxcjfp.js → run-state-nbF5NNGy.js} +2 -2
- package/dist/{run-state-ZjIxcjfp.js.map → run-state-nbF5NNGy.js.map} +1 -1
- package/dist/{runtime-C-G9MAGo.js → runtime-9ZCcT0kP.js} +13 -13
- package/dist/{runtime-C-G9MAGo.js.map → runtime-9ZCcT0kP.js.map} +1 -1
- package/dist/{search-executor-D3la0D_r.js → search-executor-2xqDTDNO.js} +2 -2
- package/dist/{search-executor-D3la0D_r.js.map → search-executor-2xqDTDNO.js.map} +1 -1
- package/dist/{server-CrckVQDt.js → server-D3RV-84X.js} +2 -2
- package/dist/{server-CrckVQDt.js.map → server-D3RV-84X.js.map} +1 -1
- package/dist/{structural-rollout-U49dEq3i.js → structural-rollout-BHNqBUV0.js} +6 -3
- package/dist/structural-rollout-BHNqBUV0.js.map +1 -0
- package/dist/{supervise-CSB-Kl6S.js → supervise-CULDLjjS.js} +4 -4
- package/dist/{supervise-CSB-Kl6S.js.map → supervise-CULDLjjS.js.map} +1 -1
- package/dist/{supervisor-K2sskHJV.js → supervisor-BhcXPxAk.js} +35 -28
- package/dist/supervisor-BhcXPxAk.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CwGD-823.d.ts → types-CTp7j9jD.d.ts} +167 -159
- package/package.json +2 -2
- package/dist/graph-CajniLnc.js.map +0 -1
- package/dist/graph-registry-D3cY0BJU.js.map +0 -1
- package/dist/structural-rollout-U49dEq3i.js.map +0 -1
- package/dist/supervisor-K2sskHJV.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $t as readSandboxOutcome, C as captureReusableExecutorConfig, Qt as projectSandboxOutcome, b as InMemorySpawnJournal, n as createSupervisor, v as withDriverExecutor, w as createExecutor, x as createExecutorRegistry, y as InMemoryResultBlobStore } from "./supervisor-
|
|
1
|
+
import { $t as readSandboxOutcome, C as captureReusableExecutorConfig, Qt as projectSandboxOutcome, b as InMemorySpawnJournal, n as createSupervisor, v as withDriverExecutor, w as createExecutor, x as createExecutorRegistry, y as InMemoryResultBlobStore } from "./supervisor-BhcXPxAk.js";
|
|
2
2
|
import { c as profileModelExecutionSettings, g as observedModelMatchesDeclared, i as concreteModelId, l as profileProviderModel, o as enforceTokenLimits, s as profileBridgeWireModel, t as assertExecutableAgentProfile } from "./model-policy-CZwhXp8O.js";
|
|
3
3
|
import { m as ValidationError, p as SessionMismatchError, r as BackendTransportError } from "./errors-DG8yufqX.js";
|
|
4
4
|
import { Gr as unknownMaterializationReceipt, Kr as executableAgentProfileSnapshot, Or as knownExecutionBindingReceipt, Rr as runtimeOwnedExecutorExecutionBinding, Tr as authoredProfileDigest, Vr as runtimeOwnedPendingExecutorMaterialization, Wr as unknownExecutionBindingReceipt, di as promptOptionsFromAgentTurnInput, ei as awaitAbortable, fi as providerMessageText, kr as knownMaterializationReceipt, ui as promptFromAgentTurnInput, zr as runtimeOwnedExecutorMaterialization } from "./supervisor-accounting-BB22j3hu.js";
|
|
5
|
-
import { ct as terminalTextFromSandboxEvent, ht as createSandboxUsageLedger, it as mapSandboxToolEvent, lt as canonicalStreamEventFromSandboxEvent, n as runtimeFailureCause, nt as createSandboxToolPartState, rt as mapSandboxEvent } from "./failure-cause-CVB-YE88.js";
|
|
5
|
+
import { P as executorFailure, ct as terminalTextFromSandboxEvent, ht as createSandboxUsageLedger, it as mapSandboxToolEvent, lt as canonicalStreamEventFromSandboxEvent, n as runtimeFailureCause, nt as createSandboxToolPartState, rt as mapSandboxEvent } from "./failure-cause-CVB-YE88.js";
|
|
6
6
|
import { I as armDeadlineTimer, c as errorMessage, f as isAsyncIterable } from "./util-fcckrkKp.js";
|
|
7
7
|
import { z as sha256Bytes$1 } from "./workspace-streams-DA9R3j-p.js";
|
|
8
8
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, renderInputPartsAsText } from "@tangle-network/agent-interface";
|
|
@@ -426,6 +426,8 @@ async function* driveExecutorTurn(executor, task, session, input, signal, acc, d
|
|
|
426
426
|
timestamp: nowIso()
|
|
427
427
|
};
|
|
428
428
|
if (acc.sandboxOutcome && projectSandboxOutcome(acc.sandboxOutcome).status === "failed") throw new Error(projectSandboxOutcome(acc.sandboxOutcome).reason);
|
|
429
|
+
const failure = executorFailure(result);
|
|
430
|
+
if (failure) throw new Error(failure.error, { cause: failure });
|
|
429
431
|
}
|
|
430
432
|
function executorTaskValue(input) {
|
|
431
433
|
const messages = input.providerOptions?.messages;
|
|
@@ -653,6 +655,7 @@ function buildFinalEvent(task, session, acc, outcome, provenance) {
|
|
|
653
655
|
...acc.result ? { result: {
|
|
654
656
|
outRef: acc.result.outRef,
|
|
655
657
|
output: acc.result.out,
|
|
658
|
+
...acc.result.outcome ? { outcome: acc.result.outcome } : {},
|
|
656
659
|
...acc.sandboxOutcome ? { verdict: projectSandboxOutcome(acc.sandboxOutcome).verdict } : acc.result.verdict ? { verdict: acc.result.verdict } : {},
|
|
657
660
|
spent: acc.result.spent
|
|
658
661
|
} } : acc.sandboxOutcome ? { result: { verdict: projectSandboxOutcome(acc.sandboxOutcome).verdict } } : {},
|
|
@@ -3052,4 +3055,4 @@ function structuralRollout(config = {}) {
|
|
|
3052
3055
|
}
|
|
3053
3056
|
export { defaultAnalystInstruction as A, InMemoryRuntimeSessionStore as B, optimizerMethod as C, runAgentic as D, refine as E, collectAgentTurn as F, nowIso as H, streamAgentTurn as I, createIterableBackend as L, renderReport as M, profileChatClient as N, sample as O, profileOptimizerModelCall as P, createSandboxPromptBackend as R, strategyAuthorSystemPrompt as S, depthStrategy as T, startOrResumeRuntimeSession as U, newRuntimeSession as V, touchSession as W, defineStrategy as _, defaultStructuralRolloutPolicy as a, sampleThenRefine as b, officialChecksFromMeta as c, selectBestIndex as d, structuralRollout as f, authorStrategy as g, assertStrategyContract as h, defaultExtractCandidate as i, observe as j, ObservationError as k, resolveEntrySymbol as l, adaptiveRefine as m, compareCheckOutcomes as n, filterAuthoredAsserts as o, visibleCheckScore as p, composeCheckSources as r, modelAuthoredChecks as s, canDisplace as t, sandboxCheckRunner as u, loadAuthoredStrategy as v, breadthStrategy as w, strategyAuthorContract as x, requestStrategySource as y, normalizeBackendStreamEvent as z };
|
|
3054
3057
|
|
|
3055
|
-
//# sourceMappingURL=structural-rollout-
|
|
3058
|
+
//# sourceMappingURL=structural-rollout-BHNqBUV0.js.map
|