@tangle-network/agent-runtime 0.102.0 → 0.102.1
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.d.ts +1 -1
- package/dist/agent.js +5 -3
- package/dist/agent.js.map +1 -1
- package/dist/analyst-loop.d.ts +1 -1
- package/dist/candidate-execution/index.js +5 -4
- package/dist/{chunk-SPCD4IQQ.js → chunk-377GOJHJ.js} +2 -2
- package/dist/{chunk-LKKIM5QD.js → chunk-3DW5DEKQ.js} +3 -3
- package/dist/{chunk-KVJQV342.js → chunk-6MR4IJRW.js} +25 -1777
- package/dist/chunk-6MR4IJRW.js.map +1 -0
- package/dist/{chunk-4AMAFNUD.js → chunk-7FJJUC73.js} +311 -40
- package/dist/chunk-7FJJUC73.js.map +1 -0
- package/dist/{chunk-23Z7N5IG.js → chunk-CI7WS6S2.js} +5 -5
- package/dist/{chunk-DA7YL6I4.js → chunk-CK76OZPM.js} +3 -3
- package/dist/{chunk-KSBUSEUA.js → chunk-KJ2Q4T7F.js} +2 -2
- package/dist/{chunk-MAONWP4R.js → chunk-KPHTCHQ4.js} +611 -1419
- package/dist/chunk-KPHTCHQ4.js.map +1 -0
- package/dist/{chunk-AIBIRAJ6.js → chunk-KSM6GFHP.js} +2 -2
- package/dist/chunk-L5DST3QC.js +351 -0
- package/dist/chunk-L5DST3QC.js.map +1 -0
- package/dist/{chunk-TGDHHHH4.js → chunk-LJLG734E.js} +12 -253
- package/dist/chunk-LJLG734E.js.map +1 -0
- package/dist/chunk-ROILMKDL.js +1338 -0
- package/dist/chunk-ROILMKDL.js.map +1 -0
- package/dist/{chunk-N2CEE5Q3.js → chunk-RTB3TC73.js} +3 -3
- package/dist/chunk-SQ3ZJH3Y.js +3082 -0
- package/dist/chunk-SQ3ZJH3Y.js.map +1 -0
- package/dist/chunk-UPWGXKXB.js +254 -0
- package/dist/chunk-UPWGXKXB.js.map +1 -0
- package/dist/{completion-gate-C80jiRfN.d.ts → completion-gate-C6dhVN-N.d.ts} +2 -2
- package/dist/{coordination-BFE3Den7.d.ts → coordination-D9l_YmwW.d.ts} +6 -6
- package/dist/environment-provider.d.ts +2 -2
- package/dist/{improve-CIml6hT3.d.ts → improve-B40dRu0X.d.ts} +40 -19
- package/dist/index.d.ts +329 -21
- package/dist/index.js +541 -137
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +5 -5
- package/dist/intelligence.js +7 -5
- package/dist/intelligence.js.map +1 -1
- package/dist/knowledge.d.ts +8 -8
- package/dist/knowledge.js +9 -7
- package/dist/{local-harness-ZqCx51u7.d.ts → local-harness-CtK9dSny.d.ts} +14 -2
- package/dist/{loop-runner-bin-Cn1N2rRo.d.ts → loop-runner-bin-PnWslIw4.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +6 -6
- package/dist/loop-runner-bin.js +6 -4
- package/dist/loops.d.ts +231 -460
- package/dist/loops.js +58 -37
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +184 -12
- package/dist/mcp/index.js +31 -9
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/memory-bin.d.ts +1 -0
- package/dist/mcp/memory-bin.js +22 -0
- package/dist/mcp/memory-bin.js.map +1 -0
- package/dist/profiles.d.ts +3 -3
- package/dist/structural-rollout-D7xik9XR.d.ts +446 -0
- package/dist/{substrate-DO2GHNg2.d.ts → substrate-Dyiqmd3o.d.ts} +1 -1
- package/dist/{supervise-BLPI50-w.d.ts → supervise-BQdNAXtK.d.ts} +4 -4
- package/dist/testing.js +10 -8
- package/dist/testing.js.map +1 -1
- package/dist/{types-B3vAW0Oq.d.ts → types-CLat4bT9.d.ts} +1 -1
- package/dist/{types-CmnA2iL3.d.ts → types-D870JlH0.d.ts} +2 -2
- package/dist/{worktree-fanout-DCA3G4bO.d.ts → worktree-fanout-DsIR4d6w.d.ts} +234 -234
- package/package.json +4 -3
- package/dist/chunk-4AMAFNUD.js.map +0 -1
- package/dist/chunk-IKGCKPDX.js +0 -1115
- package/dist/chunk-IKGCKPDX.js.map +0 -1
- package/dist/chunk-KVJQV342.js.map +0 -1
- package/dist/chunk-MAONWP4R.js.map +0 -1
- package/dist/chunk-TGDHHHH4.js.map +0 -1
- package/dist/{chunk-SPCD4IQQ.js.map → chunk-377GOJHJ.js.map} +0 -0
- package/dist/{chunk-LKKIM5QD.js.map → chunk-3DW5DEKQ.js.map} +0 -0
- package/dist/{chunk-23Z7N5IG.js.map → chunk-CI7WS6S2.js.map} +0 -0
- package/dist/{chunk-DA7YL6I4.js.map → chunk-CK76OZPM.js.map} +0 -0
- package/dist/{chunk-KSBUSEUA.js.map → chunk-KJ2Q4T7F.js.map} +0 -0
- package/dist/{chunk-AIBIRAJ6.js.map → chunk-KSM6GFHP.js.map} +0 -0
- package/dist/{chunk-N2CEE5Q3.js.map → chunk-RTB3TC73.js.map} +0 -0
- package/dist/{sanitize-BTSsdBXw.d.ts → sanitize-DEbPNtyI.d.ts} +58 -58
package/dist/knowledge.d.ts
CHANGED
|
@@ -2,17 +2,17 @@ import { PromoteKnowledgeCandidateOptions, RagKnowledgeUpdateResult, KnowledgeRe
|
|
|
2
2
|
import { b as AgentImprovementActivationResultStore, c as AgentImprovementActivationTransition, a as AgentImprovementActivationReconciliation } from './activation-Cm-9MMX1.js';
|
|
3
3
|
import { AgentCandidateKnowledge, AgentCandidateCapturedArtifact, AgentCandidateBundle } from '@tangle-network/agent-interface';
|
|
4
4
|
import { b as AgentCandidateOutputArtifactPort } from './types-CWqfCO8s.js';
|
|
5
|
-
import { E as ExecutorConfig } from './coordination-
|
|
6
|
-
import { a as SuperviseOptions, S as SupervisorProfile } from './supervise-
|
|
7
|
-
import { B as Budget, b as SupervisedResult } from './types-
|
|
8
|
-
import { D as DeliverableSpec } from './completion-gate-
|
|
5
|
+
import { E as ExecutorConfig } from './coordination-D9l_YmwW.js';
|
|
6
|
+
import { a as SuperviseOptions, S as SupervisorProfile } from './supervise-BQdNAXtK.js';
|
|
7
|
+
import { B as Budget, b as SupervisedResult } from './types-D870JlH0.js';
|
|
8
|
+
import { D as DeliverableSpec } from './completion-gate-C6dhVN-N.js';
|
|
9
9
|
import '@tangle-network/agent-eval';
|
|
10
|
-
import './substrate-
|
|
11
|
-
import './types-
|
|
10
|
+
import './substrate-Dyiqmd3o.js';
|
|
11
|
+
import './types-CLat4bT9.js';
|
|
12
12
|
import '@tangle-network/sandbox';
|
|
13
13
|
import './types-BwoZWq-i.js';
|
|
14
|
-
import './sanitize-
|
|
15
|
-
import './local-harness-
|
|
14
|
+
import './sanitize-DEbPNtyI.js';
|
|
15
|
+
import './local-harness-CtK9dSny.js';
|
|
16
16
|
import 'node:child_process';
|
|
17
17
|
import './environment-provider.js';
|
|
18
18
|
import '@tangle-network/agent-interface/environment-provider';
|
package/dist/knowledge.js
CHANGED
|
@@ -8,16 +8,18 @@ import {
|
|
|
8
8
|
knowledgeReadinessDeliverable,
|
|
9
9
|
runKnowledgeImprovementJob,
|
|
10
10
|
runSupervisedKnowledgeUpdate
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CI7WS6S2.js";
|
|
12
12
|
import "./chunk-5QOB7H74.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-KSM6GFHP.js";
|
|
14
|
+
import "./chunk-3DW5DEKQ.js";
|
|
15
|
+
import "./chunk-7FJJUC73.js";
|
|
16
|
+
import "./chunk-LJLG734E.js";
|
|
17
|
+
import "./chunk-6MR4IJRW.js";
|
|
18
18
|
import "./chunk-DPEUKJRO.js";
|
|
19
|
+
import "./chunk-ROILMKDL.js";
|
|
20
|
+
import "./chunk-UPWGXKXB.js";
|
|
19
21
|
import "./chunk-2VZYRB55.js";
|
|
20
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-SQ3ZJH3Y.js";
|
|
21
23
|
import "./chunk-IMSNJSXH.js";
|
|
22
24
|
import "./chunk-M6MD6JBS.js";
|
|
23
25
|
import "./chunk-3MDZX7YU.js";
|
|
@@ -50,6 +50,8 @@ interface RunLocalHarnessOptions {
|
|
|
50
50
|
codexReadDeniedPaths?: ReadonlyArray<string>;
|
|
51
51
|
/** Wall-clock kill deadline (ms). Default 5 min. Subprocess SIGTERMed on expiry. */
|
|
52
52
|
timeoutMs?: number;
|
|
53
|
+
/** Newest stdout/stderr bytes retained per stream. Default 64 MiB. */
|
|
54
|
+
maxOutputBytes?: number;
|
|
53
55
|
/** Caller cancellation. SIGTERM is sent on abort. */
|
|
54
56
|
signal?: AbortSignal;
|
|
55
57
|
/** Override env (defaults to inheriting from the parent). */
|
|
@@ -132,6 +134,11 @@ interface LocalHarnessResult {
|
|
|
132
134
|
durationMs: number;
|
|
133
135
|
/** Set when timeoutMs elapsed before exit. */
|
|
134
136
|
timedOut: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Set when the caller's AbortSignal fired before this result settled.
|
|
139
|
+
* Optional so injected runners and stored results from older releases remain valid.
|
|
140
|
+
*/
|
|
141
|
+
aborted?: boolean;
|
|
135
142
|
/** Present for a reproducible Codex run; parsed from the real terminal JSONL event. */
|
|
136
143
|
usage?: CodexTokenUsage;
|
|
137
144
|
/** Present for reproducible Codex runs; generated and checked before model execution. */
|
|
@@ -148,11 +155,16 @@ interface LocalHarnessResult {
|
|
|
148
155
|
* Fails loud — throws when:
|
|
149
156
|
* - `cwd` doesn't exist (subprocess emits ENOENT; surfaced as Error)
|
|
150
157
|
* - the harness binary is not on PATH (ENOENT)
|
|
158
|
+
* - the caller signal was already aborted before process launch
|
|
151
159
|
*
|
|
152
160
|
* Does NOT throw when:
|
|
153
161
|
* - the subprocess exits non-zero (`result.exitCode` carries the code)
|
|
154
|
-
* -
|
|
155
|
-
* `result.timedOut` carries the reason)
|
|
162
|
+
* - a non-reproducible subprocess is aborted / timed out (`result.aborted` /
|
|
163
|
+
* `result.timedOut` carries the reason even when a TERM-aware child exits zero)
|
|
164
|
+
*
|
|
165
|
+
* Reproducible Codex additionally requires a terminal usage event. If cancellation
|
|
166
|
+
* prevents that event, this rejects with `CodexExecutionDiagnosticError` instead of
|
|
167
|
+
* returning an incomplete reproducibility receipt.
|
|
156
168
|
*
|
|
157
169
|
* @experimental
|
|
158
170
|
*/
|
|
@@ -2,8 +2,8 @@ import { Scenario } from '@tangle-network/agent-eval/campaign';
|
|
|
2
2
|
import { SelfImproveOptions, SelfImproveResult } from '@tangle-network/agent-eval/contract';
|
|
3
3
|
import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-CmYCMbFT.js';
|
|
4
4
|
import { F as FactCandidate, C as CreateKbGateOptions } from './kb-gate-CwHO0vz6.js';
|
|
5
|
-
import { B as Budget } from './types-
|
|
6
|
-
import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-
|
|
5
|
+
import { B as Budget } from './types-D870JlH0.js';
|
|
6
|
+
import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-DsIR4d6w.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
@@ -1,17 +1,17 @@
|
|
|
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-PnWslIw4.js';
|
|
3
3
|
import '@tangle-network/agent-eval/campaign';
|
|
4
4
|
import '@tangle-network/agent-eval/contract';
|
|
5
5
|
import './types-CmYCMbFT.js';
|
|
6
6
|
import '@tangle-network/agent-eval';
|
|
7
7
|
import './kb-gate-CwHO0vz6.js';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-D870JlH0.js';
|
|
9
9
|
import '@tangle-network/agent-interface';
|
|
10
10
|
import '@tangle-network/sandbox';
|
|
11
|
-
import './types-
|
|
11
|
+
import './types-CLat4bT9.js';
|
|
12
12
|
import './types-BwoZWq-i.js';
|
|
13
|
-
import './worktree-fanout-
|
|
14
|
-
import './completion-gate-
|
|
13
|
+
import './worktree-fanout-DsIR4d6w.js';
|
|
14
|
+
import './completion-gate-C6dhVN-N.js';
|
|
15
15
|
import '@tangle-network/agent-profile-materialize';
|
|
16
|
-
import './local-harness-
|
|
16
|
+
import './local-harness-CtK9dSny.js';
|
|
17
17
|
import 'node:child_process';
|
package/dist/loop-runner-bin.js
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseLoopRunnerArgv,
|
|
4
4
|
runLoopRunnerCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RTB3TC73.js";
|
|
6
6
|
import "./chunk-SGKPNBXE.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-KPHTCHQ4.js";
|
|
8
8
|
import "./chunk-Q2JSAVQ3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-6MR4IJRW.js";
|
|
10
10
|
import "./chunk-DPEUKJRO.js";
|
|
11
|
+
import "./chunk-ROILMKDL.js";
|
|
12
|
+
import "./chunk-UPWGXKXB.js";
|
|
11
13
|
import "./chunk-2VZYRB55.js";
|
|
12
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-SQ3ZJH3Y.js";
|
|
13
15
|
import "./chunk-IMSNJSXH.js";
|
|
14
16
|
import "./chunk-M6MD6JBS.js";
|
|
15
17
|
import "./chunk-3MDZX7YU.js";
|