@tangle-network/agent-runtime 0.59.0 → 0.61.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/agent.d.ts +1 -1
- package/dist/agent.js +1 -2
- package/dist/agent.js.map +1 -1
- package/dist/analyst-loop.d.ts +1 -1
- package/dist/{chunk-IN7WHMGZ.js → chunk-5V343QPB.js} +47 -7
- package/dist/chunk-5V343QPB.js.map +1 -0
- package/dist/chunk-7IXF3VUJ.js +59 -0
- package/dist/chunk-7IXF3VUJ.js.map +1 -0
- package/dist/{chunk-ZWGEA722.js → chunk-AU5MCNHO.js} +2 -2
- package/dist/chunk-IBRJTG7O.js +475 -0
- package/dist/chunk-IBRJTG7O.js.map +1 -0
- package/dist/{chunk-MMDIORZY.js → chunk-Q5R33I7Y.js} +4 -23
- package/dist/chunk-Q5R33I7Y.js.map +1 -0
- package/dist/{chunk-45D64J7B.js → chunk-VCOT7XEQ.js} +190 -99
- package/dist/chunk-VCOT7XEQ.js.map +1 -0
- package/dist/coder-DD5J5Onk.d.ts +52 -0
- package/dist/coordination-k29badiX.d.ts +381 -0
- package/dist/{delegates-C94qchkz.d.ts → delegates-CWMv_rKL.d.ts} +649 -21
- package/dist/index.d.ts +9 -6
- package/dist/index.js +9 -9
- package/dist/intelligence.d.ts +1 -1
- package/dist/{loop-runner-bin-Noz7P-mS.d.ts → loop-runner-bin-Bqt0hiNY.d.ts} +46 -12
- package/dist/loop-runner-bin.d.ts +7 -4
- package/dist/loop-runner-bin.js +4 -4
- package/dist/loops.d.ts +7 -6
- package/dist/loops.js +17 -6
- package/dist/mcp/bin.js +10 -10
- package/dist/mcp/bin.js.map +1 -1
- package/dist/mcp/index.d.ts +12 -12
- package/dist/mcp/index.js +7 -7
- package/dist/{openai-tools-d4GKwgya.d.ts → openai-tools-CA2N3-Ak.d.ts} +1 -1
- package/dist/profiles.d.ts +7 -9
- package/dist/profiles.js +5 -7
- package/dist/profiles.js.map +1 -1
- package/dist/{run-loop-CcqfR_gy.d.ts → run-loop-D3PwlG7J.d.ts} +1 -1
- package/dist/runtime.d.ts +30 -1046
- package/dist/runtime.js +17 -6
- package/dist/{types-CUzjRFZ3.d.ts → types-Crxftafi.d.ts} +2 -2
- package/dist/workflow.d.ts +2 -2
- package/dist/workflow.js +1 -2
- package/dist/workflow.js.map +1 -1
- package/dist/worktree-fanout-CBULEoVe.d.ts +1098 -0
- package/package.json +2 -2
- package/dist/chunk-45D64J7B.js.map +0 -1
- package/dist/chunk-4FEUFYOY.js +0 -282
- package/dist/chunk-4FEUFYOY.js.map +0 -1
- package/dist/chunk-7QYOXFCD.js +0 -293
- package/dist/chunk-7QYOXFCD.js.map +0 -1
- package/dist/chunk-IN7WHMGZ.js.map +0 -1
- package/dist/chunk-MMDIORZY.js.map +0 -1
- package/dist/coder-CybltHEm.d.ts +0 -163
- package/dist/coordination-Biw19JzN.d.ts +0 -944
- /package/dist/{chunk-ZWGEA722.js.map → chunk-AU5MCNHO.js.map} +0 -0
package/dist/runtime.js
CHANGED
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
buildSteerContext,
|
|
20
20
|
builtinShapes,
|
|
21
21
|
cliWorktreeExecutor,
|
|
22
|
-
coderDeliverable,
|
|
23
22
|
completionAuthorizes,
|
|
24
23
|
contentAddress,
|
|
25
24
|
coordinationDriverAgent,
|
|
25
|
+
countDiffLines,
|
|
26
26
|
createBudgetPool,
|
|
27
27
|
createEventBus,
|
|
28
28
|
createExecutor,
|
|
@@ -65,6 +65,7 @@ import {
|
|
|
65
65
|
harvestCorpus,
|
|
66
66
|
inlineSandboxClient,
|
|
67
67
|
isDriverSpec,
|
|
68
|
+
isNonEmptyPatch,
|
|
68
69
|
jjWorkspace,
|
|
69
70
|
localShell,
|
|
70
71
|
loopDispatch,
|
|
@@ -74,6 +75,7 @@ import {
|
|
|
74
75
|
observe,
|
|
75
76
|
openSandboxRun,
|
|
76
77
|
panel,
|
|
78
|
+
patchDelivered,
|
|
77
79
|
pickChampion,
|
|
78
80
|
pipeline,
|
|
79
81
|
printBenchmarkReport,
|
|
@@ -93,6 +95,7 @@ import {
|
|
|
93
95
|
routerToolLoop,
|
|
94
96
|
runAgentic,
|
|
95
97
|
runBenchmark,
|
|
98
|
+
runCoderChecks,
|
|
96
99
|
runInWorkspace,
|
|
97
100
|
runLoop,
|
|
98
101
|
runPersonified,
|
|
@@ -101,6 +104,7 @@ import {
|
|
|
101
104
|
sampleThenRefine,
|
|
102
105
|
sandboxSessionTraceSource,
|
|
103
106
|
selectChampion,
|
|
107
|
+
selectValidWinner,
|
|
104
108
|
sentinelCompletion,
|
|
105
109
|
serveCoordinationMcp,
|
|
106
110
|
settledToIteration,
|
|
@@ -110,14 +114,15 @@ import {
|
|
|
110
114
|
supervisorSkill,
|
|
111
115
|
toToolSpan,
|
|
112
116
|
toolPartDecoders,
|
|
117
|
+
touchedPathsFromPatch,
|
|
118
|
+
touchesSecretPath,
|
|
113
119
|
trajectoryReport,
|
|
114
120
|
verify,
|
|
115
121
|
watchTrace,
|
|
116
122
|
widen,
|
|
117
123
|
withDriverExecutor,
|
|
118
|
-
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-7QYOXFCD.js";
|
|
124
|
+
worktreeFanout
|
|
125
|
+
} from "./chunk-VCOT7XEQ.js";
|
|
121
126
|
import "./chunk-WIR4HOOJ.js";
|
|
122
127
|
import {
|
|
123
128
|
extractLlmCallEvent,
|
|
@@ -147,10 +152,10 @@ export {
|
|
|
147
152
|
buildSteerContext,
|
|
148
153
|
builtinShapes,
|
|
149
154
|
cliWorktreeExecutor,
|
|
150
|
-
coderDeliverable,
|
|
151
155
|
completionAuthorizes,
|
|
152
156
|
contentAddress,
|
|
153
157
|
coordinationDriverAgent,
|
|
158
|
+
countDiffLines,
|
|
154
159
|
createBudgetPool,
|
|
155
160
|
createEventBus,
|
|
156
161
|
createExecutor,
|
|
@@ -194,6 +199,7 @@ export {
|
|
|
194
199
|
harvestCorpus,
|
|
195
200
|
inlineSandboxClient,
|
|
196
201
|
isDriverSpec,
|
|
202
|
+
isNonEmptyPatch,
|
|
197
203
|
jjWorkspace,
|
|
198
204
|
localShell,
|
|
199
205
|
loopDispatch,
|
|
@@ -204,6 +210,7 @@ export {
|
|
|
204
210
|
observe,
|
|
205
211
|
openSandboxRun,
|
|
206
212
|
panel,
|
|
213
|
+
patchDelivered,
|
|
207
214
|
pickChampion,
|
|
208
215
|
pipeline,
|
|
209
216
|
printBenchmarkReport,
|
|
@@ -223,6 +230,7 @@ export {
|
|
|
223
230
|
routerToolLoop,
|
|
224
231
|
runAgentic,
|
|
225
232
|
runBenchmark,
|
|
233
|
+
runCoderChecks,
|
|
226
234
|
runInWorkspace,
|
|
227
235
|
runLoop,
|
|
228
236
|
runPersonified,
|
|
@@ -231,6 +239,7 @@ export {
|
|
|
231
239
|
sampleThenRefine,
|
|
232
240
|
sandboxSessionTraceSource,
|
|
233
241
|
selectChampion,
|
|
242
|
+
selectValidWinner,
|
|
234
243
|
sentinelCompletion,
|
|
235
244
|
serveCoordinationMcp,
|
|
236
245
|
settledToIteration,
|
|
@@ -240,11 +249,13 @@ export {
|
|
|
240
249
|
supervisorSkill,
|
|
241
250
|
toToolSpan,
|
|
242
251
|
toolPartDecoders,
|
|
252
|
+
touchedPathsFromPatch,
|
|
253
|
+
touchesSecretPath,
|
|
243
254
|
trajectoryReport,
|
|
244
255
|
verify,
|
|
245
256
|
watchTrace,
|
|
246
257
|
widen,
|
|
247
258
|
withDriverExecutor,
|
|
248
|
-
|
|
259
|
+
worktreeFanout
|
|
249
260
|
};
|
|
250
261
|
//# sourceMappingURL=runtime.js.map
|
|
@@ -650,7 +650,7 @@ interface ValidationCtx {
|
|
|
650
650
|
signal: AbortSignal;
|
|
651
651
|
/**
|
|
652
652
|
* Optional trace emitter. When set, validator implementations that make
|
|
653
|
-
* LLM calls (e.g. LLM reviewer
|
|
653
|
+
* LLM calls (e.g. an LLM-judge reviewer) emit spans into it.
|
|
654
654
|
* The kernel passes `ctx.traceEmitter` from `ExecCtx` when available.
|
|
655
655
|
*/
|
|
656
656
|
traceEmitter?: LoopTraceEmitter;
|
|
@@ -1097,4 +1097,4 @@ interface ExecCtx {
|
|
|
1097
1097
|
parentSpanId?: string;
|
|
1098
1098
|
}
|
|
1099
1099
|
|
|
1100
|
-
export { type AgentRunSpec as A, type BackendErrorDetail as B, startRuntimeRun as C, type Driver as D, type ExecCtx as E, type LoopDecisionPayload as F, type LoopEndedPayload as G, type LoopIterationDispatchPayload as H, type Iteration as I, type LoopIterationEndedPayload as J, type KnowledgeReadinessDecision as K, type LoopWinner as L, type LoopIterationStartedPayload as M, type LoopPlanDescription as N, type OutputAdapter as O, type LoopPlanPayload as P, type LoopStartedPayload as Q, type RuntimeStreamEvent as R, type SandboxClient as S, type LoopTeardownFailedPayload as T, type ValidationCtx as U, type Validator as V, type LoopLineageOptions as a, type LoopResult as b, type OpenAIChatTool as c, type LoopTraceEvent as d, type
|
|
1100
|
+
export { type AgentRunSpec as A, type BackendErrorDetail as B, startRuntimeRun as C, type Driver as D, type ExecCtx as E, type LoopDecisionPayload as F, type LoopEndedPayload as G, type LoopIterationDispatchPayload as H, type Iteration as I, type LoopIterationEndedPayload as J, type KnowledgeReadinessDecision as K, type LoopWinner as L, type LoopIterationStartedPayload as M, type LoopPlanDescription as N, type OutputAdapter as O, type LoopPlanPayload as P, type LoopStartedPayload as Q, type RuntimeStreamEvent as R, type SandboxClient as S, type LoopTeardownFailedPayload as T, type ValidationCtx as U, type Validator as V, type LoopLineageOptions as a, type LoopResult as b, type OpenAIChatTool as c, type LoopTraceEvent as d, type LoopSandboxPlacement as e, type LoopTokenUsage as f, type LoopTraceEmitter as g, type AgentBackendInput as h, type AgentExecutionBackend as i, type OpenAIChatToolChoice as j, type AgentBackendContext as k, type RunAgentTaskOptions as l, type AgentTaskRunResult as m, type RunAgentTaskStreamOptions as n, type AgentRuntimeEvent as o, type AgentTaskStatus as p, type RuntimeSessionStore as q, type RuntimeSession as r, type AgentAdapter as s, type AgentKnowledgeProvider as t, type AgentRuntimeEventSink as u, type AgentTaskContext as v, type AgentTaskSpec as w, type RuntimeRunHandle as x, type RuntimeRunPersistenceAdapter as y, type RuntimeRunRow as z };
|
package/dist/workflow.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentProfile, CreateSandboxOptions, PromptOptions, TaskOptions, SandboxEvent } from '@tangle-network/sandbox';
|
|
2
|
-
import { S as SandboxClient, O as OutputAdapter,
|
|
3
|
-
import { R as RunLoopOptions } from './run-loop-
|
|
2
|
+
import { S as SandboxClient, O as OutputAdapter, e as LoopSandboxPlacement, b as LoopResult } from './types-Crxftafi.js';
|
|
3
|
+
import { R as RunLoopOptions } from './run-loop-D3PwlG7J.js';
|
|
4
4
|
import '@tangle-network/agent-eval';
|
|
5
5
|
import './runtime-hooks-C7JwKb9E.js';
|
|
6
6
|
|