@tangle-network/agent-runtime 0.94.1 → 0.94.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/dist/agent.js +3 -3
- package/dist/{agentic-generator-D9ZmAuiL.d.ts → agentic-generator-B7Cyl6cn.d.ts} +1 -1
- package/dist/{chunk-HPCJBBLS.js → chunk-7ESP4C3O.js} +2 -2
- package/dist/{chunk-K7OPNHU4.js → chunk-DNK3L7QB.js} +2 -2
- package/dist/{chunk-PJNGPWTA.js → chunk-JFAGXZKR.js} +383 -67
- package/dist/chunk-JFAGXZKR.js.map +1 -0
- package/dist/{chunk-D336OZHK.js → chunk-L4CACVIJ.js} +2 -2
- package/dist/{chunk-JEP2WM24.js → chunk-OAVVQAOQ.js} +2 -2
- package/dist/{chunk-RTSZNYXM.js → chunk-PV6Q3OKU.js} +3 -3
- package/dist/{chunk-URMJTSXB.js → chunk-TTWMSNFZ.js} +14 -2
- package/dist/chunk-TTWMSNFZ.js.map +1 -0
- package/dist/{chunk-SJHFJOCY.js → chunk-ZLPKMFOE.js} +2 -2
- package/dist/{completion-gate-BAj3dXeW.d.ts → completion-gate-Bz7VYs7a.d.ts} +9 -1
- package/dist/{coordination-B3ZuApR_.d.ts → coordination-CdU8LyvB.d.ts} +4 -2
- package/dist/{improve-r8SvIxYv.d.ts → improve-mrYmy_1e.d.ts} +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +8 -8
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/knowledge.d.ts +4 -4
- package/dist/knowledge.js +3 -3
- package/dist/lifecycle.d.ts +3 -3
- package/dist/lifecycle.js +2 -2
- package/dist/{local-harness-B7bNuNJw.d.ts → local-harness-C2HDGiOY.d.ts} +16 -0
- package/dist/{loop-runner-bin-D4bMIxmB.d.ts → loop-runner-bin-BSvtOPMv.d.ts} +1 -1
- package/dist/loop-runner-bin.d.ts +4 -4
- package/dist/loop-runner-bin.js +4 -4
- package/dist/loops.d.ts +9 -9
- package/dist/loops.js +3 -3
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/index.js +4 -4
- package/dist/{mcp-serve-verifier-BuXjaZDE.d.ts → mcp-serve-verifier-C65X30mY.d.ts} +1 -1
- package/dist/{supervise-DTNcLDl2.d.ts → supervise-U6DTnQu6.d.ts} +2 -2
- package/dist/{worktree-fanout-IMKqdV_E.d.ts → worktree-fanout-DqzIBWMW.d.ts} +5 -2
- package/package.json +1 -1
- package/dist/chunk-PJNGPWTA.js.map +0 -1
- package/dist/chunk-URMJTSXB.js.map +0 -1
- /package/dist/{chunk-HPCJBBLS.js.map → chunk-7ESP4C3O.js.map} +0 -0
- /package/dist/{chunk-K7OPNHU4.js.map → chunk-DNK3L7QB.js.map} +0 -0
- /package/dist/{chunk-D336OZHK.js.map → chunk-L4CACVIJ.js.map} +0 -0
- /package/dist/{chunk-JEP2WM24.js.map → chunk-OAVVQAOQ.js.map} +0 -0
- /package/dist/{chunk-RTSZNYXM.js.map → chunk-PV6Q3OKU.js.map} +0 -0
- /package/dist/{chunk-SJHFJOCY.js.map → chunk-ZLPKMFOE.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agenticGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OAVVQAOQ.js";
|
|
4
4
|
import {
|
|
5
5
|
assertModelAllowed
|
|
6
6
|
} from "./chunk-ISTDY47H.js";
|
|
@@ -532,4 +532,4 @@ export {
|
|
|
532
532
|
applyImprovementWinnerToProfile,
|
|
533
533
|
improve
|
|
534
534
|
};
|
|
535
|
-
//# sourceMappingURL=chunk-
|
|
535
|
+
//# sourceMappingURL=chunk-ZLPKMFOE.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LocalHarness, C as CodexTokenUsage, a as CodexExecutionPolicy } from './local-harness-
|
|
1
|
+
import { L as LocalHarness, C as CodexTokenUsage, a as CodexExecutionPolicy } from './local-harness-C2HDGiOY.js';
|
|
2
2
|
import { c as Executor } from './types-Bb-CqxJH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -140,12 +140,20 @@ interface WorktreeHarnessResult {
|
|
|
140
140
|
usage?: CodexTokenUsage;
|
|
141
141
|
/** Installed CLI version captured immediately before execution. */
|
|
142
142
|
cliVersion?: string;
|
|
143
|
+
/** SHA-256 of the native Codex executable staged read-only in the candidate worktree. */
|
|
144
|
+
executableSha256?: string;
|
|
143
145
|
/** SHA-256 of `codex debug prompt-input` output for the exact isolated prompt. */
|
|
144
146
|
effectivePromptSha256?: string;
|
|
145
147
|
/** SHA-256 of the exact executable + argv with prompt content replaced by `<PROMPT>`. */
|
|
146
148
|
nonPromptArgsSha256?: string;
|
|
147
149
|
/** SHA-256 of the isolated config that fixes permissions and shell environment. */
|
|
148
150
|
controlledConfigSha256?: string;
|
|
151
|
+
/** SHA-256 of the normalized caller-supplied host read-denial paths. */
|
|
152
|
+
readDeniedPathsSha256?: string;
|
|
153
|
+
/** Sorted normalized caller-supplied host read-denial paths. */
|
|
154
|
+
readDeniedPaths?: string[];
|
|
155
|
+
/** Number of normalized caller-supplied host read-denial paths. */
|
|
156
|
+
readDeniedPathCount?: number;
|
|
149
157
|
/** Explicit isolation claims checked before model execution. */
|
|
150
158
|
executionPolicy?: CodexExecutionPolicy;
|
|
151
159
|
};
|
|
@@ -5,8 +5,8 @@ import { S as SandboxClient, E as ExecCtx, g as LoopTraceEmitter, f as LoopTrace
|
|
|
5
5
|
import { BackendType, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
6
6
|
import { AgentEvalError } from '@tangle-network/agent-eval';
|
|
7
7
|
import { b as ToolSpec, c as RuntimeTelemetryOptions, R as RouterConfig } from './sanitize-C2jicjNf.js';
|
|
8
|
-
import { G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-
|
|
9
|
-
import { L as LocalHarness } from './local-harness-
|
|
8
|
+
import { G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-Bz7VYs7a.js';
|
|
9
|
+
import { L as LocalHarness } from './local-harness-C2HDGiOY.js';
|
|
10
10
|
import { ProviderExecutorOptions, AgentEnvironmentProviderRegistry } from './environment-provider.js';
|
|
11
11
|
import { AgentEnvironmentProvider } from '@tangle-network/agent-interface/environment-provider';
|
|
12
12
|
|
|
@@ -89,6 +89,8 @@ interface CliWorktreeSeam {
|
|
|
89
89
|
harnessTimeoutMs?: number;
|
|
90
90
|
/** Isolated, network-off Codex execution with terminal JSONL usage capture. */
|
|
91
91
|
codexReproducible?: boolean;
|
|
92
|
+
/** Absolute host paths denied to reproducible Codex. */
|
|
93
|
+
codexReadDeniedPaths?: ReadonlyArray<string>;
|
|
92
94
|
testCmd?: string;
|
|
93
95
|
typecheckCmd?: string;
|
|
94
96
|
checkTimeoutMs?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Scenario, SelfImproveOptions, SurfaceProposer, SelfImproveResult, MutableSurface } from '@tangle-network/agent-eval/contract';
|
|
2
2
|
import { AgentProfile } from '@tangle-network/agent-interface';
|
|
3
|
-
import { L as LocalHarness } from './local-harness-
|
|
4
|
-
import { V as Verifier, C as CandidateGenerator } from './agentic-generator-
|
|
3
|
+
import { L as LocalHarness } from './local-harness-C2HDGiOY.js';
|
|
4
|
+
import { V as Verifier, C as CandidateGenerator } from './agentic-generator-B7Cyl6cn.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -5,29 +5,29 @@ export { r as AgentAdapter, s as AgentKnowledgeProvider, A as AgentRuntimeEvent,
|
|
|
5
5
|
export { AgentCandidateCodeSource, AgentCandidateCodeSurfaceSource, AgentCandidateModelGrantActivateInput, AgentCandidateModelGrantClient, AgentCandidateModelGrantReservation, AgentCandidateModelGrantReserveInput, AgentCandidateModelGrantSettleInput, AgentCandidateProfileSource, BuildAgentCandidateBundleInput, CreateProtectedAgentCandidateModelPortOptions, DisposePreparedAgentCandidateOptions, FileAgentCandidateExecutionClaimStore, FileAgentCandidateExecutionClaimStoreOptions, RecoverExpiredAgentCandidateOptions, applyExactAgentProfileDiff, buildAgentCandidateBundle, candidateExecutionClaim, createProtectedAgentCandidateModelPort, disposePreparedAgentCandidateExecution, parseExactAgentProfile, parseExactAgentProfileDiff, persistCandidateOutputArtifact, recoverExpiredAgentCandidateExecution, verifyAgentCandidateBundle } from './candidate-execution/index.js';
|
|
6
6
|
export { d as AgentCandidateArtifactPort, e as AgentCandidateBenchmarkGraderIdentity, f as AgentCandidateBenchmarkGraderPort, A as AgentCandidateBundleInput, g as AgentCandidateContainerPort, h as AgentCandidateExecutionAttemptRecord, i as AgentCandidateExecutionAttemptRef, j as AgentCandidateExecutionClaim, k as AgentCandidateExecutionClaimResult, l as AgentCandidateExecutionClaimStore, m as AgentCandidateExecutionCleanupHandles, n as AgentCandidateExecutionFailureClass, o as AgentCandidateExecutionFinishResult, p as AgentCandidateExecutionLease, q as AgentCandidateExecutionPhase, r as AgentCandidateExecutionPhaseResult, b as AgentCandidateExecutionPorts, s as AgentCandidateExecutionRecoveryEvidence, t as AgentCandidateExecutionStageResult, u as AgentCandidateExecutionTerminalRecord, v as AgentCandidateExecutionTerminalResult, w as AgentCandidateExecutionUsage, x as AgentCandidateExecutorFinalCapture, y as AgentCandidateExecutorMemoryCapture, z as AgentCandidateExecutorPort, B as AgentCandidateExecutorProfileFile, C as AgentCandidateExecutorRequest, D as AgentCandidateExecutorStopRequest, F as AgentCandidateExecutorTaskOutcomeCapture, G as AgentCandidateExecutorWorkspaceFile, H as AgentCandidateExecutorWorkspaceInput, I as AgentCandidateMemoryPort, J as AgentCandidateMemoryResetResult, K as AgentCandidateModelLimits, L as AgentCandidateModelPort, M as AgentCandidateOutputArtifactPort, N as AgentCandidateOutputPurpose, O as AgentCandidateProtectedModelActivation, Q as AgentCandidateProtectedModelCall, R as AgentCandidateProtectedModelReservation, S as AgentCandidateProtectedModelSettlement, T as AgentCandidateProtectedRunCapture, U as AgentCandidateRepositoryPort, V as AgentCandidateRetryRejection, c as AgentCandidateRunFinalization, a as AgentCandidateTaskExecution, W as AgentCandidateVerificationPorts, X as AgentCandidateWorkspacePort, Y as CANDIDATE_TRACE_ENV, Z as CANDIDATE_TRACE_TAGS, _ as CanonicalCandidateDocument, E as ExecutePreparedAgentCandidateOptions, $ as InMemoryAgentCandidateExecutionClaimStore, P as PrepareAgentCandidateExecutionOptions, a0 as PreparedAgentCandidateExecution, a1 as PreparedAgentCandidateInstruction, a2 as PreparedAgentCandidateLaunch, a3 as PreparedAgentCandidateTrace, a4 as ResolvedAgentCandidateContainer, a5 as VerifiedAgentCandidate, a6 as VerifiedAgentCandidateTaskOutcome, a7 as executePreparedAgentCandidate, a8 as prepareAgentCandidateExecution, a9 as sealAgentCandidateBundle } from './prepare-BKxAiUcH.js';
|
|
7
7
|
import { Scenario, ProfileDispatchFn, ProposeContext, SurfaceProposer } from '@tangle-network/agent-eval/campaign';
|
|
8
|
-
import { C as CandidateGenerator } from './agentic-generator-
|
|
9
|
-
export { A as AgenticGeneratorOptions, I as ImprovementDriverOptions, M as ManagedImprovementDriver, V as Verifier, a as VerifyResult, b as agenticGenerator, c as commandVerifier, i as improvementDriver } from './agentic-generator-
|
|
10
|
-
export { c as ImproveCodeOptions, d as ImproveMemoryOptions, a as ImproveOptions, b as ImproveResult, e as ImproveSkillsOptions, I as ImproveSurface, f as applyImprovementWinnerToProfile, i as improve } from './improve-
|
|
11
|
-
export { M as McpServeSpec, m as mcpServeVerifier } from './mcp-serve-verifier-
|
|
8
|
+
import { C as CandidateGenerator } from './agentic-generator-B7Cyl6cn.js';
|
|
9
|
+
export { A as AgenticGeneratorOptions, I as ImprovementDriverOptions, M as ManagedImprovementDriver, V as Verifier, a as VerifyResult, b as agenticGenerator, c as commandVerifier, i as improvementDriver } from './agentic-generator-B7Cyl6cn.js';
|
|
10
|
+
export { c as ImproveCodeOptions, d as ImproveMemoryOptions, a as ImproveOptions, b as ImproveResult, e as ImproveSkillsOptions, I as ImproveSurface, f as applyImprovementWinnerToProfile, i as improve } from './improve-mrYmy_1e.js';
|
|
11
|
+
export { M as McpServeSpec, m as mcpServeVerifier } from './mcp-serve-verifier-C65X30mY.js';
|
|
12
12
|
import { AgentProfileDiff, AgentProfile as AgentProfile$1 } from '@tangle-network/agent-interface';
|
|
13
13
|
import { Scenario as Scenario$1, SelfImproveOptions } from '@tangle-network/agent-eval/contract';
|
|
14
14
|
import { S as SurfaceImprovementEdit } from './improvement-adapter-BieWeK5J.js';
|
|
15
15
|
import { I as ImprovementAdapter } from './types-BC3bZpH0.js';
|
|
16
16
|
export { AgentKnowledgeReadinessCheckOptions, KnowledgeImprovementJobMeasurement, KnowledgeImprovementJobResult, KnowledgeReadinessCheck, KnowledgeReadinessCheckInput, KnowledgeReadinessCheckResult, RESEARCH_SUPERVISOR_SYSTEM_PROMPT, RunKnowledgeImprovementJobOptions, SupervisedKnowledgeUpdateInput, SupervisedKnowledgeUpdateOptions, SupervisedKnowledgeUpdateResult, SupervisedKnowledgeUpdater, createAgentKnowledgeReadinessCheck, createSupervisedKnowledgeUpdater, formatSupervisedKnowledgeTask, knowledgeReadinessDeliverable, runKnowledgeImprovementJob, runSupervisedKnowledgeUpdate } from './knowledge.js';
|
|
17
|
-
export { D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, j as runDelegatedLoop, k as runLoopRunnerCli, s as selfImproveLoopRunner, w as worktreeLoopRunner } from './loop-runner-bin-
|
|
17
|
+
export { D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, j as runDelegatedLoop, k as runLoopRunnerCli, s as selfImproveLoopRunner, w as worktreeLoopRunner } from './loop-runner-bin-BSvtOPMv.js';
|
|
18
18
|
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-D0ZSRCC6.js';
|
|
19
|
-
export { b0 as EvalRunEvent, b1 as EvalRunGeneration, b2 as EvalRunsExportConfig, b3 as EvalRunsExportResult, b4 as INTELLIGENCE_WIRE_VERSION, b5 as LoopSpanNode, b6 as OtelAttribute, b7 as OtelExportConfig, b8 as OtelExporter, b9 as OtelSpan, ba as RuntimeEventOtelOptions, bb as buildLoopOtelSpans, bc as buildLoopSpanNodes, bd as buildRuntimeEventOtelSpans, be as createOtelExporter, bf as exportEvalRuns, bg as loopEventToOtelSpan } from './coordination-
|
|
19
|
+
export { b0 as EvalRunEvent, b1 as EvalRunGeneration, b2 as EvalRunsExportConfig, b3 as EvalRunsExportResult, b4 as INTELLIGENCE_WIRE_VERSION, b5 as LoopSpanNode, b6 as OtelAttribute, b7 as OtelExportConfig, b8 as OtelExporter, b9 as OtelSpan, ba as RuntimeEventOtelOptions, bb as buildLoopOtelSpans, bc as buildLoopSpanNodes, bd as buildRuntimeEventOtelSpans, be as createOtelExporter, bf as exportEvalRuns, bg as loopEventToOtelSpan } from './coordination-CdU8LyvB.js';
|
|
20
20
|
import { c as RuntimeTelemetryOptions } from './sanitize-C2jicjNf.js';
|
|
21
21
|
export { d as RuntimeEventCollector, e as RuntimeStreamEventCollector, S as SanitizedKnowledgeReadinessReport, f as createRuntimeEventCollector, g as createRuntimeStreamEventCollector, s as sanitizeAgentRuntimeEvent, h as sanitizeKnowledgeReadinessReport, i as sanitizeRuntimeStreamEvent } from './sanitize-C2jicjNf.js';
|
|
22
22
|
import '@tangle-network/sandbox';
|
|
23
|
-
import './local-harness-
|
|
23
|
+
import './local-harness-C2HDGiOY.js';
|
|
24
24
|
import 'node:child_process';
|
|
25
25
|
import '@tangle-network/agent-knowledge';
|
|
26
|
-
import './supervise-
|
|
26
|
+
import './supervise-U6DTnQu6.js';
|
|
27
27
|
import './types-Bb-CqxJH.js';
|
|
28
|
-
import './completion-gate-
|
|
28
|
+
import './completion-gate-Bz7VYs7a.js';
|
|
29
29
|
import './kb-gate-CwHO0vz6.js';
|
|
30
|
-
import './worktree-fanout-
|
|
30
|
+
import './worktree-fanout-DqzIBWMW.js';
|
|
31
31
|
import './substrate-DO2GHNg2.js';
|
|
32
32
|
import './environment-provider.js';
|
|
33
33
|
import '@tangle-network/agent-interface/environment-provider';
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
mcpToolsForRuntimeMcp,
|
|
10
10
|
mcpToolsForRuntimeMcpSubset
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DNK3L7QB.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_ROUTER_BASE_URL,
|
|
14
14
|
cleanModelId,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
runLoopRunnerCli,
|
|
28
28
|
selfImproveLoopRunner,
|
|
29
29
|
worktreeLoopRunner
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PV6Q3OKU.js";
|
|
31
31
|
import "./chunk-SGKPNBXE.js";
|
|
32
32
|
import {
|
|
33
33
|
applyImprovementWinnerToProfile,
|
|
34
34
|
improve,
|
|
35
35
|
improvementDriver,
|
|
36
36
|
rawTraceDistiller
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZLPKMFOE.js";
|
|
38
38
|
import {
|
|
39
39
|
CANDIDATE_TRACE_ENV,
|
|
40
40
|
CANDIDATE_TRACE_TAGS,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
normalizeBackendStreamEvent,
|
|
60
60
|
nowIso,
|
|
61
61
|
touchSession
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-L4CACVIJ.js";
|
|
63
63
|
import "./chunk-ZQZX77MM.js";
|
|
64
64
|
import {
|
|
65
65
|
mcpBuildPrompt,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
agenticGenerator,
|
|
71
71
|
commandVerifier
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-OAVVQAOQ.js";
|
|
73
73
|
import {
|
|
74
74
|
RESEARCH_SUPERVISOR_SYSTEM_PROMPT,
|
|
75
75
|
createAgentKnowledgeReadinessCheck,
|
|
@@ -78,14 +78,14 @@ import {
|
|
|
78
78
|
knowledgeReadinessDeliverable,
|
|
79
79
|
runKnowledgeImprovementJob,
|
|
80
80
|
runSupervisedKnowledgeUpdate
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-7ESP4C3O.js";
|
|
82
82
|
import "./chunk-5QOB7H74.js";
|
|
83
83
|
import {
|
|
84
84
|
composeRuntimeHooks,
|
|
85
85
|
defineRuntimeHooks,
|
|
86
86
|
notifyRuntimeDecisionPoint,
|
|
87
87
|
notifyRuntimeHookEvent
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-TTWMSNFZ.js";
|
|
89
89
|
import "./chunk-DPEUKJRO.js";
|
|
90
90
|
import {
|
|
91
91
|
INTELLIGENCE_WIRE_VERSION,
|
|
@@ -105,7 +105,7 @@ import "./chunk-WIPGQ4GT.js";
|
|
|
105
105
|
import "./chunk-VSWBYWFK.js";
|
|
106
106
|
import "./chunk-3MDZX7YU.js";
|
|
107
107
|
import "./chunk-FVJ7M3DA.js";
|
|
108
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-JFAGXZKR.js";
|
|
109
109
|
import {
|
|
110
110
|
AgentEvalError,
|
|
111
111
|
BackendTransportError,
|
package/dist/intelligence.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ import { AnalystFinding } from '@tangle-network/agent-eval/analyst';
|
|
|
5
5
|
import { Scenario, SelfImproveResult } from '@tangle-network/agent-eval/contract';
|
|
6
6
|
import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-BC3bZpH0.js';
|
|
7
7
|
import { A as AgentCandidateBundleInput, a as AgentCandidateTaskExecution, b as AgentCandidateExecutionPorts, P as PrepareAgentCandidateExecutionOptions, E as ExecutePreparedAgentCandidateOptions, c as AgentCandidateRunFinalization } from './prepare-BKxAiUcH.js';
|
|
8
|
-
import { I as ImproveSurface, a as ImproveOptions, b as ImproveResult } from './improve-
|
|
8
|
+
import { I as ImproveSurface, a as ImproveOptions, b as ImproveResult } from './improve-mrYmy_1e.js';
|
|
9
9
|
import '@tangle-network/agent-eval';
|
|
10
10
|
import '@tangle-network/sandbox';
|
|
11
|
-
import './local-harness-
|
|
11
|
+
import './local-harness-C2HDGiOY.js';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import './agentic-generator-
|
|
13
|
+
import './agentic-generator-B7Cyl6cn.js';
|
|
14
14
|
import '@tangle-network/agent-eval/campaign';
|
|
15
15
|
|
|
16
16
|
/**
|
package/dist/intelligence.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyImprovementWinnerToProfile,
|
|
3
3
|
improve
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZLPKMFOE.js";
|
|
5
5
|
import {
|
|
6
6
|
assertCandidateProfileBinding,
|
|
7
7
|
canonicalCandidateDigest,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
runAnalystLoop
|
|
19
19
|
} from "./chunk-ZQZX77MM.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OAVVQAOQ.js";
|
|
21
21
|
import {
|
|
22
22
|
buildLoopOtelSpans,
|
|
23
23
|
buildRuntimeEventOtelSpans,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import "./chunk-WIPGQ4GT.js";
|
|
28
28
|
import "./chunk-3MDZX7YU.js";
|
|
29
29
|
import "./chunk-FVJ7M3DA.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-JFAGXZKR.js";
|
|
31
31
|
import "./chunk-YEJR7IXO.js";
|
|
32
32
|
import "./chunk-DGUM43GV.js";
|
|
33
33
|
|
package/dist/knowledge.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { KnowledgeReadinessSpec, BuildEvalKnowledgeBundleOptions, KnowledgeBaseQualityOptions, KnowledgeImprovementResult, KnowledgeImprovementOptions } from '@tangle-network/agent-knowledge';
|
|
2
|
-
import { E as ExecutorConfig } from './coordination-
|
|
3
|
-
import { a as SuperviseOptions, S as SupervisorProfile } from './supervise-
|
|
2
|
+
import { E as ExecutorConfig } from './coordination-CdU8LyvB.js';
|
|
3
|
+
import { a as SuperviseOptions, S as SupervisorProfile } from './supervise-U6DTnQu6.js';
|
|
4
4
|
import { B as Budget, b as SupervisedResult } from './types-Bb-CqxJH.js';
|
|
5
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
5
|
+
import { D as DeliverableSpec } from './completion-gate-Bz7VYs7a.js';
|
|
6
6
|
import '@tangle-network/agent-interface';
|
|
7
7
|
import './substrate-DO2GHNg2.js';
|
|
8
8
|
import './types-DWA64rbJ.js';
|
|
9
9
|
import '@tangle-network/agent-eval';
|
|
10
10
|
import '@tangle-network/sandbox';
|
|
11
11
|
import './sanitize-C2jicjNf.js';
|
|
12
|
-
import './local-harness-
|
|
12
|
+
import './local-harness-C2HDGiOY.js';
|
|
13
13
|
import 'node:child_process';
|
|
14
14
|
import './environment-provider.js';
|
|
15
15
|
import '@tangle-network/agent-interface/environment-provider';
|
package/dist/knowledge.js
CHANGED
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
knowledgeReadinessDeliverable,
|
|
7
7
|
runKnowledgeImprovementJob,
|
|
8
8
|
runSupervisedKnowledgeUpdate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7ESP4C3O.js";
|
|
10
10
|
import "./chunk-5QOB7H74.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TTWMSNFZ.js";
|
|
12
12
|
import "./chunk-DPEUKJRO.js";
|
|
13
13
|
import "./chunk-ISTDY47H.js";
|
|
14
14
|
import "./chunk-WIPGQ4GT.js";
|
|
15
15
|
import "./chunk-VSWBYWFK.js";
|
|
16
16
|
import "./chunk-3MDZX7YU.js";
|
|
17
17
|
import "./chunk-FVJ7M3DA.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-JFAGXZKR.js";
|
|
19
19
|
import "./chunk-YEJR7IXO.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
package/dist/lifecycle.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { AgentProfile } from '@tangle-network/agent-interface';
|
|
|
2
2
|
import { a as ProfileArtifact, A as ArtifactKind, b as ArtifactStatus, c as ArtifactInput, E as EvalRunner, d as EvalResult, G as GenerateContext, C as CandidateGenerator, e as PromotionVerdict, P as PromotionGate } from './generator-YkAQrOoD.js';
|
|
3
3
|
export { f as ArtifactPayloads, H as HeldOutPromotionGateOptions, M as MarginalLift, g as MeasureMarginalLiftOptions, h as heldOutPromotionGate, m as measureMarginalLift, t as thresholdPromotionGate } from './generator-YkAQrOoD.js';
|
|
4
4
|
import { LlmClientOptions, AnalystFinding } from '@tangle-network/agent-eval';
|
|
5
|
-
import { M as McpServeSpec } from './mcp-serve-verifier-
|
|
6
|
-
import { L as LocalHarness } from './local-harness-
|
|
7
|
-
import './agentic-generator-
|
|
5
|
+
import { M as McpServeSpec } from './mcp-serve-verifier-C65X30mY.js';
|
|
6
|
+
import { L as LocalHarness } from './local-harness-C2HDGiOY.js';
|
|
7
|
+
import './agentic-generator-B7Cyl6cn.js';
|
|
8
8
|
import '@tangle-network/agent-eval/campaign';
|
|
9
9
|
import 'node:child_process';
|
|
10
10
|
|
package/dist/lifecycle.js
CHANGED
|
@@ -45,6 +45,9 @@ interface RunLocalHarnessOptions {
|
|
|
45
45
|
/** Isolate Codex from ambient configuration/instructions and require JSONL token usage.
|
|
46
46
|
* The invocation should come from `harnessInvocation(..., { codexReproducible: true })`. */
|
|
47
47
|
codexReproducible?: boolean;
|
|
48
|
+
/** Absolute host paths that reproducible Codex must not read. The normalized set is compiled
|
|
49
|
+
* into the controlled permission profile and its digest is returned in execution evidence. */
|
|
50
|
+
codexReadDeniedPaths?: ReadonlyArray<string>;
|
|
48
51
|
/** Wall-clock kill deadline (ms). Default 5 min. Subprocess SIGTERMed on expiry. */
|
|
49
52
|
timeoutMs?: number;
|
|
50
53
|
/** Caller cancellation. SIGTERM is sent on abort. */
|
|
@@ -59,7 +62,10 @@ interface RunLocalHarnessOptions {
|
|
|
59
62
|
cwd: string;
|
|
60
63
|
env: NodeJS.ProcessEnv;
|
|
61
64
|
stdio: 'pipe';
|
|
65
|
+
detached: boolean;
|
|
62
66
|
}) => ChildProcess;
|
|
67
|
+
/** Test seam for locating the native Codex executable before it is staged in the worktree. */
|
|
68
|
+
resolveCodexExecutable?: (command: string, env: NodeJS.ProcessEnv) => Promise<string>;
|
|
63
69
|
}
|
|
64
70
|
/** Exact aggregate usage emitted by Codex's terminal `turn.completed` JSONL event. */
|
|
65
71
|
interface CodexTokenUsage {
|
|
@@ -87,17 +93,27 @@ interface CodexExecutionPolicy {
|
|
|
87
93
|
shellEnvironment: 'core-filtered';
|
|
88
94
|
loginShell: false;
|
|
89
95
|
credentialsReadable: false;
|
|
96
|
+
hostHomeReadable: false;
|
|
97
|
+
procEnvironment: 'private-sanitized';
|
|
98
|
+
sensitiveEnvironmentNamesVisible: false;
|
|
90
99
|
parentRepoRead: false;
|
|
91
100
|
gitMetadata: false;
|
|
92
101
|
temporaryDirectory: 'workspace-private';
|
|
102
|
+
stagedExecutable: 'static-elf-read-only';
|
|
103
|
+
callerReadDeniedPaths: 'enforced';
|
|
93
104
|
containerSockets: false;
|
|
94
105
|
}
|
|
95
106
|
/** Zero-model-call evidence for the exact Codex process about to run. */
|
|
96
107
|
interface CodexExecutionEvidence {
|
|
97
108
|
cliVersion: string;
|
|
109
|
+
executableSha256: string;
|
|
98
110
|
effectivePromptSha256: string;
|
|
99
111
|
nonPromptArgsSha256: string;
|
|
100
112
|
controlledConfigSha256: string;
|
|
113
|
+
/** Sorted normalized paths compiled into the permission profile. */
|
|
114
|
+
readDeniedPaths: string[];
|
|
115
|
+
readDeniedPathsSha256: string;
|
|
116
|
+
readDeniedPathCount: number;
|
|
101
117
|
policy: CodexExecutionPolicy;
|
|
102
118
|
}
|
|
103
119
|
/** @experimental */
|
|
@@ -3,7 +3,7 @@ import { SelfImproveOptions, SelfImproveResult } from '@tangle-network/agent-eva
|
|
|
3
3
|
import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-BC3bZpH0.js';
|
|
4
4
|
import { F as FactCandidate, C as CreateKbGateOptions } from './kb-gate-CwHO0vz6.js';
|
|
5
5
|
import { B as Budget } from './types-Bb-CqxJH.js';
|
|
6
|
-
import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-
|
|
6
|
+
import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-DqzIBWMW.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { L as LoopRunnerCliArgs, e as LoopRunnerCliResult, p as parseLoopRunnerArgv, k as runLoopRunnerCli } from './loop-runner-bin-
|
|
2
|
+
export { L as LoopRunnerCliArgs, e as LoopRunnerCliResult, p as parseLoopRunnerArgv, k as runLoopRunnerCli } from './loop-runner-bin-BSvtOPMv.js';
|
|
3
3
|
import '@tangle-network/agent-eval/campaign';
|
|
4
4
|
import '@tangle-network/agent-eval/contract';
|
|
5
5
|
import './types-BC3bZpH0.js';
|
|
@@ -9,7 +9,7 @@ import './types-Bb-CqxJH.js';
|
|
|
9
9
|
import '@tangle-network/agent-interface';
|
|
10
10
|
import '@tangle-network/sandbox';
|
|
11
11
|
import './types-DWA64rbJ.js';
|
|
12
|
-
import './worktree-fanout-
|
|
13
|
-
import './completion-gate-
|
|
14
|
-
import './local-harness-
|
|
12
|
+
import './worktree-fanout-DqzIBWMW.js';
|
|
13
|
+
import './completion-gate-Bz7VYs7a.js';
|
|
14
|
+
import './local-harness-C2HDGiOY.js';
|
|
15
15
|
import 'node:child_process';
|
package/dist/loop-runner-bin.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseLoopRunnerArgv,
|
|
4
4
|
runLoopRunnerCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PV6Q3OKU.js";
|
|
6
6
|
import "./chunk-SGKPNBXE.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-L4CACVIJ.js";
|
|
8
8
|
import "./chunk-ZQZX77MM.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TTWMSNFZ.js";
|
|
10
10
|
import "./chunk-DPEUKJRO.js";
|
|
11
11
|
import "./chunk-ISTDY47H.js";
|
|
12
12
|
import "./chunk-WIPGQ4GT.js";
|
|
13
13
|
import "./chunk-VSWBYWFK.js";
|
|
14
14
|
import "./chunk-3MDZX7YU.js";
|
|
15
15
|
import "./chunk-FVJ7M3DA.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JFAGXZKR.js";
|
|
17
17
|
import "./chunk-YEJR7IXO.js";
|
|
18
18
|
import "./chunk-DGUM43GV.js";
|
|
19
19
|
export {
|
package/dist/loops.d.ts
CHANGED
|
@@ -4,26 +4,26 @@ import { SandboxEvent, SandboxInstance, CreateSandboxOptions, PromptOptions, Tas
|
|
|
4
4
|
export { AgentProfile, CreateSandboxOptions, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
5
5
|
import { a as ResultBlobStore, f as SpawnJournal, N as NodeId, j as SpawnEvent, E as ExecutorFactory, A as Agent, B as Budget, S as Scope, h as Settled, b as SupervisedResult, i as Spend, U as UsageEvent, e as ExecutorRegistry, k as Supervisor } from './types-Bb-CqxJH.js';
|
|
6
6
|
export { d as AgentSpec, c as Executor, l as ExecutorContext, m as ExecutorResult, R as Runtime, n as SupervisorOpts, T as TreeView, W as WidenGate } from './types-Bb-CqxJH.js';
|
|
7
|
-
import { M as MakeWorkerAgent, A as AnalystRegistry, o as CoordinationTools, n as CoordinationEvent, as as QuestionPolicy, E as ExecutorConfig } from './coordination-
|
|
8
|
-
export { bh as BusEvent, bi as BusRecord, bj as BusStats, bk as EventBus, bl as ProviderSeam, bm as PublishOptions, bn as cliWorktreeExecutor, bo as createEventBus, bp as createExecutor, bq as createExecutorRegistry } from './coordination-
|
|
7
|
+
import { M as MakeWorkerAgent, A as AnalystRegistry, o as CoordinationTools, n as CoordinationEvent, as as QuestionPolicy, E as ExecutorConfig } from './coordination-CdU8LyvB.js';
|
|
8
|
+
export { bh as BusEvent, bi as BusRecord, bj as BusStats, bk as EventBus, bl as ProviderSeam, bm as PublishOptions, bn as cliWorktreeExecutor, bo as createEventBus, bp as createExecutor, bq as createExecutorRegistry } from './coordination-CdU8LyvB.js';
|
|
9
9
|
import { R as RuntimeHooks, I as Iteration, S as SandboxClient, D as Driver, d as AgentRunSpec, c as OutputAdapter, V as Validator, E as ExecCtx, X as LoopWinner, Y as LoopLineageOptions, Z as LoopResult, L as LoopTokenUsage, a as RuntimeStreamEvent, _ as MountRecorder, k as AgentExecutionBackend, b as AgentTaskStatus, B as BackendErrorDetail, $ as SelectionReceipt } from './types-DWA64rbJ.js';
|
|
10
10
|
export { a0 as LoopDecisionPayload, a1 as LoopEndedPayload, a2 as LoopIterationDispatchPayload, a3 as LoopIterationEndedPayload, a4 as LoopIterationStartedPayload, a5 as LoopPlanDescription, a6 as LoopPlanPayload, e as LoopSandboxPlacement, a7 as LoopStartedPayload, a8 as LoopTeardownFailedPayload, g as LoopTraceEmitter, f as LoopTraceEvent, a9 as MountManifestEntry, aa as RunProvenance, ab as ValidationCtx } from './types-DWA64rbJ.js';
|
|
11
11
|
import { RunProfileMatrixResult, Scenario, ProfileDispatchFn, JudgeConfig, RunProfileMatrixOptions, DispatchFn } from '@tangle-network/agent-eval/campaign';
|
|
12
12
|
export { AgentEnvironmentProviderRef, AgentEnvironmentProviderRegistry, ProviderAsSandboxClientOptions, ProviderExecutorOptions, SandboxClientProviderOptions, createAgentEnvironmentProviderRegistry, providerAsExecutor, providerAsSandboxClient, resolveAgentEnvironmentProvider, sandboxClientAsProvider } from './environment-provider.js';
|
|
13
|
-
import { C as CorpusRecord, c as Corpus, O as Outcome, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-
|
|
14
|
-
export { A as AuthoredHarness, t as DefinePersona, u as EqualKOnCost, v as Fanout, w as FanoutSynthesis, x as FlatWidenGate, y as LoopUntil, z as LoopUntilState, B as Panel, G as PanelJudge, H as PanelVerdict, I as PatchDeliverableOptions, J as PersonaContext, K as PersonaExecutors, M as Pipeline, N as RenderCorpusToInstructions, Q as RunPersonified, U as ShapeBudget, X as ShapeContext, Y as TrajectoryNode, Z as TrajectoryReportFn, _ as Verify, $ as Widen, a0 as WidenDecision, a1 as WidenLineage, a2 as WorktreeCliExecutorOptions, a as WorktreeFanoutOptions, b as WorktreePatchArtifact, a3 as createWorktreeCliExecutor, a4 as patchDelivered, a5 as worktreeFanout } from './worktree-fanout-
|
|
13
|
+
import { C as CorpusRecord, c as Corpus, O as Outcome, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-DqzIBWMW.js';
|
|
14
|
+
export { A as AuthoredHarness, t as DefinePersona, u as EqualKOnCost, v as Fanout, w as FanoutSynthesis, x as FlatWidenGate, y as LoopUntil, z as LoopUntilState, B as Panel, G as PanelJudge, H as PanelVerdict, I as PatchDeliverableOptions, J as PersonaContext, K as PersonaExecutors, M as Pipeline, N as RenderCorpusToInstructions, Q as RunPersonified, U as ShapeBudget, X as ShapeContext, Y as TrajectoryNode, Z as TrajectoryReportFn, _ as Verify, $ as Widen, a0 as WidenDecision, a1 as WidenLineage, a2 as WorktreeCliExecutorOptions, a as WorktreeFanoutOptions, b as WorktreePatchArtifact, a3 as createWorktreeCliExecutor, a4 as patchDelivered, a5 as worktreeFanout } from './worktree-fanout-DqzIBWMW.js';
|
|
15
15
|
import { b as AnalystRegistryLike } from './types-BC3bZpH0.js';
|
|
16
16
|
import { AgentProfile as AgentProfile$1 } from '@tangle-network/agent-interface';
|
|
17
17
|
import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-C2jicjNf.js';
|
|
18
18
|
export { j as RouterChatResult, k as RouterChatToolsResult, l as RouterToolCall, m as RouterToolLoopResult, n as ToolLoopCompaction, b as ToolSpec, r as routerBrain, o as routerChatWithTools, p as routerChatWithUsage, q as routerToolLoop } from './sanitize-C2jicjNf.js';
|
|
19
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
20
|
-
export { g as WorktreeCommandResult, h as gateOnDeliverable } from './completion-gate-
|
|
21
|
-
import { S as SupervisorProfile } from './supervise-
|
|
22
|
-
export { D as DriveHarness, a as SuperviseOptions, b as SupervisorAgentDeps, s as supervise, c as supervisorAgent, w as workerFromBackend } from './supervise-
|
|
19
|
+
import { D as DeliverableSpec } from './completion-gate-Bz7VYs7a.js';
|
|
20
|
+
export { g as WorktreeCommandResult, h as gateOnDeliverable } from './completion-gate-Bz7VYs7a.js';
|
|
21
|
+
import { S as SupervisorProfile } from './supervise-U6DTnQu6.js';
|
|
22
|
+
export { D as DriveHarness, a as SuperviseOptions, b as SupervisorAgentDeps, s as supervise, c as supervisorAgent, w as workerFromBackend } from './supervise-U6DTnQu6.js';
|
|
23
23
|
import { stuckLoopView, toolWasteView } from '@tangle-network/agent-eval/pipelines';
|
|
24
24
|
export { AgentEnvironment, AgentEnvironmentCapabilities, AgentEnvironmentEvent, AgentEnvironmentProvider, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentProfileRef, AgentSession, AgentSessionRef, AgentSessionStatus, AgentTurnInput, AgentTurnResult, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from '@tangle-network/agent-interface/environment-provider';
|
|
25
25
|
import './substrate-DO2GHNg2.js';
|
|
26
|
-
import './local-harness-
|
|
26
|
+
import './local-harness-C2HDGiOY.js';
|
|
27
27
|
import 'node:child_process';
|
|
28
28
|
|
|
29
29
|
/**
|
package/dist/loops.js
CHANGED
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
watchTrace,
|
|
103
103
|
widen,
|
|
104
104
|
worktreeFanout
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-L4CACVIJ.js";
|
|
106
106
|
import {
|
|
107
107
|
acquireSandbox,
|
|
108
108
|
asAuthoredProfile,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
supervisorAgent,
|
|
141
141
|
supervisorInstructions,
|
|
142
142
|
workerFromBackend
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-TTWMSNFZ.js";
|
|
144
144
|
import "./chunk-DPEUKJRO.js";
|
|
145
145
|
import {
|
|
146
146
|
assertModelAllowed
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
mapSandboxToolEvent,
|
|
166
166
|
sumSandboxUsage
|
|
167
167
|
} from "./chunk-FVJ7M3DA.js";
|
|
168
|
-
import "./chunk-
|
|
168
|
+
import "./chunk-JFAGXZKR.js";
|
|
169
169
|
import "./chunk-YEJR7IXO.js";
|
|
170
170
|
import "./chunk-DGUM43GV.js";
|
|
171
171
|
export {
|
package/dist/mcp/bin.js
CHANGED
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
DelegationTaskQueue,
|
|
10
10
|
FileDelegationStore,
|
|
11
11
|
createMcpServer
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-TTWMSNFZ.js";
|
|
13
13
|
import "../chunk-DPEUKJRO.js";
|
|
14
14
|
import "../chunk-ISTDY47H.js";
|
|
15
15
|
import "../chunk-WIPGQ4GT.js";
|
|
16
16
|
import "../chunk-VSWBYWFK.js";
|
|
17
17
|
import "../chunk-3MDZX7YU.js";
|
|
18
18
|
import "../chunk-FVJ7M3DA.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-JFAGXZKR.js";
|
|
20
20
|
import "../chunk-YEJR7IXO.js";
|
|
21
21
|
import "../chunk-DGUM43GV.js";
|
|
22
22
|
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { S as SandboxClient, e as LoopSandboxPlacement } from '../types-DWA64rbJ.js';
|
|
2
|
-
import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-
|
|
3
|
-
export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, G as DelegateResearchConfig, H as DelegateResearchResult, I as DelegateResult, J as DelegateRunCtx, K as DelegateUiAuditConfig, L as DelegateUiAuditRoute, N as DelegationError, O as DelegationFeedbackSnapshot, P as DelegationHistoryEntry, Q as DelegationPersistenceError, R as DelegationProfile, S as DelegationProgress, T as DelegationRecord, V as DelegationResultPayload, W as DelegationResumeContext, X as DelegationResumeDriver, Y as DelegationResumeTick, Z as DelegationRunContext, _ as DelegationStateCorruptError, $ as DelegationStatus, a0 as DelegationStore, a1 as DelegationTaskQueueOptions, a2 as DelegationTraceCaps, a3 as DelegationTraceCollector, a4 as DelegationTraceSpan, a5 as DetachedSessionDelegateOptions, a6 as DetachedSessionRefParts, a7 as DetachedTurn, a8 as DetachedTurnResumeDriverOptions, a9 as DetachedWinnerSelection, aa as DriveTurnCapableBox, ab as DriveTurnTick, ac as FeedbackEvent, ad as FeedbackRating, ae as FeedbackRefersTo, af as FileDelegationStore, ag as FileDelegationStoreOptions, ah as FleetWorkspaceExecutorOptions, ai as InMemoryDelegationStore, aj as InMemoryFeedbackStore, ak as JsonRpcMessage, al as JsonRpcResponse, M as MakeWorkerAgent, am as McpServer, an as McpServerOptions, ao as McpToolDescriptor, ap as McpTransport, aq as Question, ar as QuestionDecision, as as QuestionPolicy, at as QuestionRecord, au as ResearchOutputShape, av as ResearchSource, aw as RunDetachedTurnOptions, ax as SettleDetachedCoderTurnOptions, ay as SettledWorker, az as SiblingSandboxExecutorOptions, aA as SubmitInput, aB as SubmitOutput, aC as TraceContext, aD as UiAuditorDelegationOutput, aE as buildDelegationTraceSpans, aF as capDelegationTrace, aG as coderTaskFromArgs, aH as composeLoopTraceEmitters, aI as createCoordinationTools, aJ as createDelegateHandler, aK as createDelegationTraceCollector, aL as createDetachedTurnResumeDriver, aM as createFleetWorkspaceExecutor, aN as createInProcessTransport, aO as createMcpServer, aP as createPropagatingTraceEmitter, aQ as createSiblingSandboxExecutor, aR as detachedSessionDelegate, aS as detachedTurnEvents, aT as eventToSnapshot, aU as formatDetachedSessionRef, aV as hashIdempotencyInput, aW as parseDetachedSessionRef, aX as readTraceContextFromEnv, aY as runDetachedTurn, aZ as settleDetachedCoderTurn, a_ as traceContextToEnv, a$ as validateDelegateArgs } from '../coordination-
|
|
4
|
-
import { L as LocalHarness, r as runLocalHarness } from '../local-harness-
|
|
5
|
-
export { b as CodexExecutionEvidence, a as CodexExecutionPolicy, C as CodexTokenUsage, c as LocalHarnessResult, R as RunLocalHarnessOptions, p as parseCodexTokenUsage } from '../local-harness-
|
|
6
|
-
import { G as GitRunner } from '../completion-gate-
|
|
7
|
-
export { C as CreateWorktreeOptions, b as DiffOptions, c as DiffResult, R as RemoveWorktreeOptions, d as WorktreeHandle, e as captureWorktreeDiff, f as createWorktree, r as removeWorktree } from '../completion-gate-
|
|
2
|
+
import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-CdU8LyvB.js';
|
|
3
|
+
export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, G as DelegateResearchConfig, H as DelegateResearchResult, I as DelegateResult, J as DelegateRunCtx, K as DelegateUiAuditConfig, L as DelegateUiAuditRoute, N as DelegationError, O as DelegationFeedbackSnapshot, P as DelegationHistoryEntry, Q as DelegationPersistenceError, R as DelegationProfile, S as DelegationProgress, T as DelegationRecord, V as DelegationResultPayload, W as DelegationResumeContext, X as DelegationResumeDriver, Y as DelegationResumeTick, Z as DelegationRunContext, _ as DelegationStateCorruptError, $ as DelegationStatus, a0 as DelegationStore, a1 as DelegationTaskQueueOptions, a2 as DelegationTraceCaps, a3 as DelegationTraceCollector, a4 as DelegationTraceSpan, a5 as DetachedSessionDelegateOptions, a6 as DetachedSessionRefParts, a7 as DetachedTurn, a8 as DetachedTurnResumeDriverOptions, a9 as DetachedWinnerSelection, aa as DriveTurnCapableBox, ab as DriveTurnTick, ac as FeedbackEvent, ad as FeedbackRating, ae as FeedbackRefersTo, af as FileDelegationStore, ag as FileDelegationStoreOptions, ah as FleetWorkspaceExecutorOptions, ai as InMemoryDelegationStore, aj as InMemoryFeedbackStore, ak as JsonRpcMessage, al as JsonRpcResponse, M as MakeWorkerAgent, am as McpServer, an as McpServerOptions, ao as McpToolDescriptor, ap as McpTransport, aq as Question, ar as QuestionDecision, as as QuestionPolicy, at as QuestionRecord, au as ResearchOutputShape, av as ResearchSource, aw as RunDetachedTurnOptions, ax as SettleDetachedCoderTurnOptions, ay as SettledWorker, az as SiblingSandboxExecutorOptions, aA as SubmitInput, aB as SubmitOutput, aC as TraceContext, aD as UiAuditorDelegationOutput, aE as buildDelegationTraceSpans, aF as capDelegationTrace, aG as coderTaskFromArgs, aH as composeLoopTraceEmitters, aI as createCoordinationTools, aJ as createDelegateHandler, aK as createDelegationTraceCollector, aL as createDetachedTurnResumeDriver, aM as createFleetWorkspaceExecutor, aN as createInProcessTransport, aO as createMcpServer, aP as createPropagatingTraceEmitter, aQ as createSiblingSandboxExecutor, aR as detachedSessionDelegate, aS as detachedTurnEvents, aT as eventToSnapshot, aU as formatDetachedSessionRef, aV as hashIdempotencyInput, aW as parseDetachedSessionRef, aX as readTraceContextFromEnv, aY as runDetachedTurn, aZ as settleDetachedCoderTurn, a_ as traceContextToEnv, a$ as validateDelegateArgs } from '../coordination-CdU8LyvB.js';
|
|
4
|
+
import { L as LocalHarness, r as runLocalHarness } from '../local-harness-C2HDGiOY.js';
|
|
5
|
+
export { b as CodexExecutionEvidence, a as CodexExecutionPolicy, C as CodexTokenUsage, c as LocalHarnessResult, R as RunLocalHarnessOptions, p as parseCodexTokenUsage } from '../local-harness-C2HDGiOY.js';
|
|
6
|
+
import { G as GitRunner } from '../completion-gate-Bz7VYs7a.js';
|
|
7
|
+
export { C as CreateWorktreeOptions, b as DiffOptions, c as DiffResult, R as RemoveWorktreeOptions, d as WorktreeHandle, e as captureWorktreeDiff, f as createWorktree, r as removeWorktree } from '../completion-gate-Bz7VYs7a.js';
|
|
8
8
|
export { C as CreateKbGateOptions, F as FactCandidate, a as FactJudge, b as FactJudgeVerdict, K as KbGateResult, c as createKbGate } from '../kb-gate-CwHO0vz6.js';
|
|
9
9
|
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from '../openai-tools-D0ZSRCC6.js';
|
|
10
10
|
import { AnalystFinding } from '@tangle-network/agent-eval';
|
package/dist/mcp/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
mcpToolsForRuntimeMcp,
|
|
11
11
|
mcpToolsForRuntimeMcpSubset
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-DNK3L7QB.js";
|
|
13
13
|
import {
|
|
14
14
|
createKbGate
|
|
15
15
|
} from "../chunk-SGKPNBXE.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
assertTraceDerivedFindings,
|
|
18
18
|
runCoderChecks,
|
|
19
19
|
selectValidWinner
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-L4CACVIJ.js";
|
|
21
21
|
import {
|
|
22
22
|
DELEGATE_DESCRIPTION,
|
|
23
23
|
DELEGATE_FEEDBACK_DESCRIPTION,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
validateDelegateUiAuditArgs,
|
|
68
68
|
validateDelegationHistoryArgs,
|
|
69
69
|
validateDelegationStatusArgs
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-TTWMSNFZ.js";
|
|
71
71
|
import "../chunk-DPEUKJRO.js";
|
|
72
72
|
import "../chunk-ISTDY47H.js";
|
|
73
73
|
import "../chunk-WIPGQ4GT.js";
|
|
@@ -82,7 +82,7 @@ import "../chunk-FVJ7M3DA.js";
|
|
|
82
82
|
import {
|
|
83
83
|
parseCodexTokenUsage,
|
|
84
84
|
runLocalHarness
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-JFAGXZKR.js";
|
|
86
86
|
import {
|
|
87
87
|
ValidationError
|
|
88
88
|
} from "../chunk-YEJR7IXO.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Scope, a as ResultBlobStore, B as Budget, A as Agent, b as SupervisedResult } from './types-Bb-CqxJH.js';
|
|
2
|
-
import { M as MakeWorkerAgent, A as AnalystRegistry, E as ExecutorConfig } from './coordination-
|
|
2
|
+
import { M as MakeWorkerAgent, A as AnalystRegistry, E as ExecutorConfig } from './coordination-CdU8LyvB.js';
|
|
3
3
|
import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-C2jicjNf.js';
|
|
4
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
4
|
+
import { D as DeliverableSpec } from './completion-gate-Bz7VYs7a.js';
|
|
5
5
|
|
|
6
6
|
/** The supervisor's profile — the subset of an `AgentProfile` that selects + shapes its brain.
|
|
7
7
|
* `harness` is the backend-as-data discriminant; `systemPrompt` is the standing instruction. */
|
|
@@ -3,8 +3,8 @@ import { AnalystFinding, DefaultVerdict } from '@tangle-network/agent-eval';
|
|
|
3
3
|
import { d as AgentSpec, e as ExecutorRegistry, B as Budget, A as Agent, f as SpawnJournal, a as ResultBlobStore, g as RootHandle, b as SupervisedResult, N as NodeId, h as Settled, i as Spend, S as Scope, c as Executor } from './types-Bb-CqxJH.js';
|
|
4
4
|
import { R as RuntimeHooks, I as Iteration } from './types-DWA64rbJ.js';
|
|
5
5
|
import { BackendType } from '@tangle-network/sandbox';
|
|
6
|
-
import { W as WorktreeHarnessResult, G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-
|
|
7
|
-
import { L as LocalHarness, r as runLocalHarness } from './local-harness-
|
|
6
|
+
import { W as WorktreeHarnessResult, G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-Bz7VYs7a.js';
|
|
7
|
+
import { L as LocalHarness, r as runLocalHarness } from './local-harness-C2HDGiOY.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
@@ -832,6 +832,9 @@ interface WorktreeCliExecutorOptions {
|
|
|
832
832
|
/** Run Codex with an ephemeral session, isolated config/instructions, network disabled, and
|
|
833
833
|
* JSONL usage capture. Requires `harness: 'codex'`; metered by default. */
|
|
834
834
|
codexReproducible?: boolean;
|
|
835
|
+
/** Absolute host paths denied to reproducible Codex (for benchmark answer copies, credentials,
|
|
836
|
+
* or other task-specific ambient state). */
|
|
837
|
+
codexReadDeniedPaths?: ReadonlyArray<string>;
|
|
835
838
|
/**
|
|
836
839
|
* Shell command run in the live worktree to derive the tests-PASS signal (e.g. `pnpm test`).
|
|
837
840
|
* Its exit code becomes `artifact.checks.tests.passed`. Omit to skip (no signal derived).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.94.
|
|
3
|
+
"version": "0.94.2",
|
|
4
4
|
"description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-runtime#readme",
|
|
6
6
|
"repository": {
|