@tangle-network/agent-runtime 5.0.0 → 6.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 +20 -0
- package/dist/{activation-DGLWxFJu.js → activation-BRfZOfwb.js} +4 -4
- package/dist/{activation-DGLWxFJu.js.map → activation-BRfZOfwb.js.map} +1 -1
- package/dist/{activation-CtLdCiH3.d.ts → activation-DEKw9CDD.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +3 -3
- package/dist/{bundle-CV4Ts0cS.js → bundle-vFFiCigS.js} +2 -2
- package/dist/{bundle-CV4Ts0cS.js.map → bundle-vFFiCigS.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +70 -3
- package/dist/candidate-execution/index.js +4 -4
- package/dist/{coordination-manager-D74AZg7m.js → coordination-manager-RSJg5GmY.js} +10 -9
- package/dist/coordination-manager-RSJg5GmY.js.map +1 -0
- package/dist/coordination-map-routing-DVjW5Gx0.js.map +1 -1
- package/dist/{delegate-BVyFJ9AX.js → delegate-C0cprMUN.js} +2 -2
- package/dist/{delegate-BVyFJ9AX.js.map → delegate-C0cprMUN.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +9 -9
- package/dist/{graph-r8zcRxbi.js → graph-cEg-gquv.js} +5 -5
- package/dist/{graph-r8zcRxbi.js.map → graph-cEg-gquv.js.map} +1 -1
- package/dist/{improve-D12GulmK.js → improve-DNl4_6lP.js} +7 -7
- package/dist/{improve-D12GulmK.js.map → improve-DNl4_6lP.js.map} +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +10 -10
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +7 -7
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +12 -12
- package/dist/{loop-runner-BHBabRIw.d.ts → loop-runner-CDad0CCY.d.ts} +2 -2
- package/dist/{loop-runner-CYcN11I4.js → loop-runner-DQJjowz0.js} +2 -2
- package/dist/{loop-runner-CYcN11I4.js.map → loop-runner-DQJjowz0.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 +1 -1
- package/dist/mcp/index.js +6 -6
- package/dist/{prepare-DutbxpWr.js → prepare-B6SQA12v.js} +3 -3
- package/dist/{prepare-DutbxpWr.js.map → prepare-B6SQA12v.js.map} +1 -1
- package/dist/{profile-ClvuI8aY.js → profile-DN8Dw2Kp.js} +2 -2
- package/dist/{profile-ClvuI8aY.js.map → profile-DN8Dw2Kp.js.map} +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/{protected-model-port-DEsNIYi1.d.ts → protected-model-port-uN4M48vT.d.ts} +2 -2
- package/dist/{provision-supervisor-BiqHJ-d4.js → provision-supervisor-CtAaJCUa.js} +5 -5
- package/dist/{provision-supervisor-BiqHJ-d4.js.map → provision-supervisor-CtAaJCUa.js.map} +1 -1
- package/dist/{run-cancellation-D5R-7UQt.js → run-cancellation-BCuu6khW.js} +2 -2
- package/dist/{run-cancellation-D5R-7UQt.js.map → run-cancellation-BCuu6khW.js.map} +1 -1
- package/dist/{run-state-DRh8BOFi.js → run-state-ByHiAjUs.js} +6 -5
- package/dist/{run-state-DRh8BOFi.js.map → run-state-ByHiAjUs.js.map} +1 -1
- package/dist/{runtime-BX_9-DJB.js → runtime-9EYvBcHG.js} +13 -13
- package/dist/{runtime-BX_9-DJB.js.map → runtime-9EYvBcHG.js.map} +1 -1
- package/dist/runtime-hooks-CsW2pfFk.js.map +1 -1
- package/dist/{runtime-hooks-ZQqPw-0g.d.ts → runtime-hooks-DPghSHV7.d.ts} +11 -16
- package/dist/{scope-JcCkUy_z.js → scope-DzhBJrRN.js} +3510 -3451
- package/dist/scope-DzhBJrRN.js.map +1 -0
- package/dist/{search-executor-CdmaS5r4.js → search-executor-BJRNavck.js} +4 -4
- package/dist/{search-executor-CdmaS5r4.js.map → search-executor-BJRNavck.js.map} +1 -1
- package/dist/{server-BY6OluUf.js → server-DH0P6OY_.js} +4 -4
- package/dist/{server-BY6OluUf.js.map → server-DH0P6OY_.js.map} +1 -1
- package/dist/{structural-rollout-BjMUUXLn.js → structural-rollout-DgvJLTO0.js} +4 -4
- package/dist/{structural-rollout-BjMUUXLn.js.map → structural-rollout-DgvJLTO0.js.map} +1 -1
- package/dist/{supervise-rYEsVVcn.js → supervise-Cqhkb2Oj.js} +244 -80
- package/dist/supervise-Cqhkb2Oj.js.map +1 -0
- package/dist/{supervision-discovery-D95Ack4J.js → supervision-discovery-DI5GIFBJ.js} +3 -3
- package/dist/{supervision-discovery-D95Ack4J.js.map → supervision-discovery-DI5GIFBJ.js.map} +1 -1
- package/dist/{supervisor-B-bX69uL.js → supervisor-B6sl14OR.js} +243 -962
- package/dist/supervisor-B6sl14OR.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +13 -13
- package/dist/tool-loop.d.ts +1 -1
- package/dist/{top-web-D-wH9ipn.js → top-web-DGoXGxH8.js} +4 -4
- package/dist/{top-web-D-wH9ipn.js.map → top-web-DGoXGxH8.js.map} +1 -1
- package/dist/tui/bin.js +3 -3
- package/dist/tui/index.d.ts +2 -2
- package/dist/tui/index.js +2 -2
- package/dist/{types-DblV14Oe.d.ts → types-niKnm6ux.d.ts} +86 -242
- package/dist/{workspace-streams-DbKiDOWA.d.ts → workspace-archive-DS9E9tUr.d.ts} +2 -69
- package/dist/{workspace-streams-8ALHaZzx.js → workspace-streams-BqNM06y4.js} +34 -9
- package/dist/workspace-streams-BqNM06y4.js.map +1 -0
- package/package.json +5 -5
- package/dist/coordination-manager-D74AZg7m.js.map +0 -1
- package/dist/scope-JcCkUy_z.js.map +0 -1
- package/dist/supervise-rYEsVVcn.js.map +0 -1
- package/dist/supervisor-B-bX69uL.js.map +0 -1
- package/dist/workspace-streams-8ALHaZzx.js.map +0 -1
package/dist/loop-runner-bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runDelegatedLoop, r as isDelegatedLoopMode, t as DELEGATED_LOOP_MODES } from "./loop-runner-
|
|
2
|
+
import { i as runDelegatedLoop, r as isDelegatedLoopMode, t as DELEGATED_LOOP_MODES } from "./loop-runner-DQJjowz0.js";
|
|
3
3
|
// src/loop-runner-bin.ts
|
|
4
4
|
/**
|
|
5
5
|
*
|
package/dist/mcp/bin.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Mt as coordinationProfileToolPrefix, bn as FileObserverJournal, jn as readTraceContextFromEnv } from "../scope-DzhBJrRN.js";
|
|
3
3
|
import { i as ConfigError } from "../errors-AzSuGI23.js";
|
|
4
|
-
import { s as supervisorInstructions } from "../delegate-
|
|
5
|
-
import { a as FileDelegationStore, i as DelegationTaskQueue, n as observerJournalEventSource, t as createMcpServer } from "../server-
|
|
4
|
+
import { s as supervisorInstructions } from "../delegate-C0cprMUN.js";
|
|
5
|
+
import { a as FileDelegationStore, i as DelegationTaskQueue, n as observerJournalEventSource, t as createMcpServer } from "../server-DH0P6OY_.js";
|
|
6
6
|
import { isAbsolute } from "node:path";
|
|
7
7
|
// src/mcp/delegate-supervisor-provisioning.ts
|
|
8
8
|
function trimmed(value) {
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $m as
|
|
1
|
+
import { $m as ResearchOutputShape, Af as environmentReader, Am as DelegationResumeTick, Bf as DelegateHandlerOptions, Bg as AwaitWakeInput, Bm as DelegateUiAuditArgs, Cm as DetachedTurn, Df as SpawnResourceBytes, Dm as DelegationRecord, Ef as ResolvedSpawnResourcePath, Em as DelegationArgs, F as CoordinationTools, Ff as EventSubscription, Fm as SubmitOutput, G as SpawnRefusalCause, Gg as ManagerWake, Gm as DelegationHistoryArgs, Hf as createDelegateHandler, Hm as DelegateUiAuditRoute, I as CoordinationToolsOptions, If as EventSubscriptionStore, Im as DelegateCodeArgs, J_ as McpToolAnnotations, Jm as DelegationResultPayload, K_ as JsonRpcMessage, Km as DelegationHistoryEntry, Lf as McpEventRecord, Lm as DelegateCodeConfig, Mf as McpServer, Mm as DelegationTaskQueue, Nf as McpServerOptions, Nm as DelegationTaskQueueOptions, Of as SpawnResourceRead, Om as DelegationResumeContext, P as CoordinationStats, Pf as createMcpServer, Pm as SubmitInput, Qm as FeedbackRefersTo, Rf as McpEventSource, Rm as DelegateResearchArgs, Sm as createSiblingSandboxExecutor, Tf as ResolveSpawnResourcePathsResult, Tm as runDetachedTurn, Um as DelegationError, Vf as DelegateResult, Vg as CoordinationEvent, Vm as DelegateUiAuditConfig, Wm as DelegationFeedbackSnapshot, X_ as McpTransport, Xm as DelegationStatusResult, Y_ as McpToolDescriptor, Ym as DelegationStatus, Zm as FeedbackRating, _h as FileDelegationStore, _m as DelegationExecutor, a_ as Question, bh as CoderTask, bm as SiblingSandboxExecutorOptions, bv as LOCAL_HARNESSES, cm as FeedbackStore, d_ as QuestionOption, df as CheckRead, dm as CoderReviewer, eh as UiAuditLensFilter, fm as DelegateRunCtx, fy as TraceContext, gh as DelegationStore, gm as detachedSessionDelegate, hh as DelegationPersistenceError, hm as UiAuditorDelegate, jf as resolveSpawnResourcePaths, jm as DelegationRunContext, kf as SpawnResourceReader, km as DelegationResumeDriver, lm as CoderDelegate, m_ as QuestionUrgency, mh as composeLoopTraceEmitters, mm as DetachedWinnerSelection, my as readTraceContextFromEnv, ph as DelegationTraceSpan, pm as DetachedSessionDelegateOptions, py as createPropagatingTraceEmitter, q as WorkerSpawnContext, q_ as JsonRpcResponse, qm as DelegationProgress, sm as FeedbackEvent, th as UiAuditorDelegationOutput, u_ as QuestionLevel, um as CoderReview, uv as AnalystRegistry, vh as FileDelegationStoreOptions, vm as FleetHandle, vv as RunLocalHarnessOptions, wm as RunDetachedTurnOptions, xm as createFleetWorkspaceExecutor, xv as LocalHarness, yh as CoderOutput, ym as FleetWorkspaceExecutorOptions, yv as runLocalHarness, z as MakeWorkerAgent, zf as DelegateError, zg as GitRunner, zm as DelegateResearchConfig } from "../types-niKnm6ux.js";
|
|
2
2
|
import { HarnessType } from "@tangle-network/agent-interface";
|
|
3
3
|
/**
|
|
4
4
|
*
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _t as environmentReader, jn as readTraceContextFromEnv, kn as createPropagatingTraceEmitter, vt as resolveSpawnResourcePaths } from "../scope-DzhBJrRN.js";
|
|
2
2
|
import { i as ConfigError, m as ValidationError } from "../errors-AzSuGI23.js";
|
|
3
|
-
import {
|
|
4
|
-
import { A as createSandboxForSpec, D as runAgentRounds, Ht as runWorktreeHarness, O as assertBoxlessPromptOptions, Ut as LOCAL_HARNESSES } from "../supervisor-
|
|
3
|
+
import { it as sleep, q as deleteBoxSafe, st as throwIfAborted } from "../workspace-streams-BqNM06y4.js";
|
|
4
|
+
import { A as createSandboxForSpec, D as runAgentRounds, Ht as runWorktreeHarness, O as assertBoxlessPromptOptions, Ut as LOCAL_HARNESSES } from "../supervisor-B6sl14OR.js";
|
|
5
5
|
import { t as assertExecutableAgentProfile } from "../model-policy-JOcg3NRs.js";
|
|
6
6
|
import { n as createStdioToolServer } from "../tool-server-CZWd_Opp.js";
|
|
7
|
-
import { t as createCoordinationTools } from "../coordination-manager-
|
|
8
|
-
import { h as runCoderChecks, pt as selectValidWinner } from "../runtime-
|
|
9
|
-
import { a as FileDelegationStore, i as DelegationTaskQueue, o as composeLoopTraceEmitters, r as createDelegateHandler, t as createMcpServer } from "../server-
|
|
7
|
+
import { t as createCoordinationTools } from "../coordination-manager-RSJg5GmY.js";
|
|
8
|
+
import { h as runCoderChecks, pt as selectValidWinner } from "../runtime-9EYvBcHG.js";
|
|
9
|
+
import { a as FileDelegationStore, i as DelegationTaskQueue, o as composeLoopTraceEmitters, r as createDelegateHandler, t as createMcpServer } from "../server-DH0P6OY_.js";
|
|
10
10
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
11
11
|
import { isRecord } from "@tangle-network/agent-core";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { _ as parseAgentCandidateProfileActivation, c as buildLaunch, f as exactProfileExecutorFiles, h as modelRoutes, l as candidateEntrypointReceipt, m as materializeAgentCandidateProfilePlan, n as PI_CANDIDATE_SESSION_DIR_ENV, r as absoluteExecutionCwd, s as assertCandidateProfileExecutionSupport, t as PI_CANDIDATE_AGENT_DIR_ENV, u as candidateProfileAgentPaths, x as requirePublicCandidateConfigValue } from "./profile-
|
|
1
|
+
import { B as hasControlCharacter, C as readMaterializedWorkspaceFiles, D as verifyMaterializedWorkspace, E as verifyMaterializedProfileWorkspace, F as embeddedCandidateArtifact, I as immutableCandidateValue, J as errorMessage, L as omitTopLevelDigest, M as canonicalCandidateDigest$1, N as canonicalCandidateDocument, O as verifyWorkspaceSnapshotArtifacts, P as deepFreezeCandidate, R as sha256Bytes$1, T as verifyBytes, _ as assertExactObjectKeys, b as artifactCacheKey, d as verifyTaskCheckout, f as verifyTaskOutcomePatch, g as persistCandidateOutputArtifact, j as canonicalCandidateBytes$1, l as readCandidateGitHubResource, u as verifyCandidateCode, v as isWellFormedUnicode, w as readVerifiedArtifact } from "./workspace-streams-BqNM06y4.js";
|
|
2
|
+
import { _ as parseAgentCandidateProfileActivation, c as buildLaunch, f as exactProfileExecutorFiles, h as modelRoutes, l as candidateEntrypointReceipt, m as materializeAgentCandidateProfilePlan, n as PI_CANDIDATE_SESSION_DIR_ENV, r as absoluteExecutionCwd, s as assertCandidateProfileExecutionSupport, t as PI_CANDIDATE_AGENT_DIR_ENV, u as candidateProfileAgentPaths, x as requirePublicCandidateConfigValue } from "./profile-DN8Dw2Kp.js";
|
|
3
3
|
import { i as redactProtectedValue, n as createProtectedRecordRedactor, r as redactProtectedReason, t as assertNoProtectedBytes } from "./protected-redaction-DilFZch5.js";
|
|
4
4
|
import { agentCandidateArtifactRefSchema, agentCandidateBenchmarkResultEvidenceSchema, agentCandidateBenchmarkSuiteSchema, agentCandidateBenchmarkTaskSchema, agentCandidateBundleSchema, agentCandidateContainerSchema, agentCandidateExecutionLimitsSchema, agentCandidateExecutionPlanEvidenceSchema, agentCandidateExecutionPlanMaterialSchema, agentCandidateMaterializationReceiptSchema, agentCandidateModelAccessNetworkSchema, agentCandidateModelSettlementEvidenceSchema, agentCandidateProfilePlanEvidenceSchema, agentCandidateResolvedModelSchema, agentCandidateRunCellSchema, agentCandidateRunReceiptSchema, agentCandidateTaskOutcomeEvidenceSchema, agentCandidateTaskOutcomeSpecSchema, agentCandidateTerminationSchema, agentCandidateWorkspaceManifestMaterialSchema, agentCandidateWorkspaceSnapshotEvidenceSchema, sha256DigestSchema } from "@tangle-network/agent-interface";
|
|
5
5
|
import { REDACTION_VERSION, isLlmSpan } from "@tangle-network/agent-eval";
|
|
@@ -4318,4 +4318,4 @@ async function cleanupFailedPreparation(held, error) {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
export { verifiedResourceTextByDigest as C, AGENT_CANDIDATE_EXECUTION_SUPPORT as S, sealTerminalDigest as _, consumePreparedCandidateExecution as a, sealAgentCandidateModelSettlement as b, withinCandidateCleanupDeadline as c, assertTerminalMatchesClaim as d, assertTerminalMatchesStaged as f, requireStagedTerminal as g, rejectedStage as h, beginPreparedCandidateDisposal as i, assertRecoveryMatchesStaged as l, rejectedFinish as m, executePreparedAgentCandidate as n, candidateClaimFileInternals as o, recoveredTerminalRecord as p, assertPreparedCandidateIntegrity as r, candidateCleanupDeadline as s, prepareAgentCandidateExecution as t, assertTerminalAllowedInPhase as u, terminalRecord as v, verifyAgentCandidateBundle as w, exactProcessProviderAsCandidateExecutor as x, createProtectedAgentCandidateModelPort as y };
|
|
4320
4320
|
|
|
4321
|
-
//# sourceMappingURL=prepare-
|
|
4321
|
+
//# sourceMappingURL=prepare-B6SQA12v.js.map
|