@tangle-network/agent-runtime 0.47.0 → 0.48.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.js +1 -1
- package/dist/{chunk-MGFEUYOH.js → chunk-656G2XCL.js} +3 -3
- package/dist/{chunk-72JQCHOZ.js → chunk-IW2LMLK6.js} +1634 -191
- package/dist/chunk-IW2LMLK6.js.map +1 -0
- package/dist/{chunk-5YDS7BLC.js → chunk-LX66I3SC.js} +2 -2
- package/dist/{chunk-T4OQQEE3.js → chunk-TJS7S3HJ.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/loop-runner-bin.js +3 -3
- package/dist/loops.d.ts +2 -2
- package/dist/loops.js +47 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +3 -3
- package/dist/runtime.d.ts +825 -64
- package/dist/runtime.js +47 -1
- package/dist/{types-Cbx3dNK5.d.ts → types-BpDfCPUp.d.ts} +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-72JQCHOZ.js.map +0 -1
- /package/dist/{chunk-MGFEUYOH.js.map → chunk-656G2XCL.js.map} +0 -0
- /package/dist/{chunk-5YDS7BLC.js.map → chunk-LX66I3SC.js.map} +0 -0
- /package/dist/{chunk-T4OQQEE3.js.map → chunk-TJS7S3HJ.js.map} +0 -0
package/dist/runtime.js
CHANGED
|
@@ -6,7 +6,12 @@ import {
|
|
|
6
6
|
InMemoryResultBlobStore,
|
|
7
7
|
InMemorySpawnJournal,
|
|
8
8
|
acquireSandbox,
|
|
9
|
+
adaptiveRefine,
|
|
10
|
+
assertStrategyContract,
|
|
9
11
|
assertTraceDerivedFindings,
|
|
12
|
+
auditIntent,
|
|
13
|
+
authorStrategy,
|
|
14
|
+
breadthDriver,
|
|
10
15
|
buildSteerContext,
|
|
11
16
|
builtinShapes,
|
|
12
17
|
completionAuthorizes,
|
|
@@ -15,6 +20,7 @@ import {
|
|
|
15
20
|
createDriver,
|
|
16
21
|
createExecutor,
|
|
17
22
|
createExecutorRegistry,
|
|
23
|
+
createMcpEnvironment,
|
|
18
24
|
createRootHandle,
|
|
19
25
|
createSandboxForSpec,
|
|
20
26
|
createSandboxLineage,
|
|
@@ -22,14 +28,21 @@ import {
|
|
|
22
28
|
createScopeAnalyst,
|
|
23
29
|
createShapeRegistry,
|
|
24
30
|
createSupervisor,
|
|
31
|
+
createVerifierEnvironment,
|
|
32
|
+
defaultAnalystInstruction,
|
|
33
|
+
defaultAuditorInstruction,
|
|
25
34
|
defaultSelectWinner,
|
|
26
35
|
definePersona,
|
|
36
|
+
defineStrategy,
|
|
37
|
+
depthDriver,
|
|
27
38
|
deterministicCompletion,
|
|
28
39
|
equalKOnCost,
|
|
29
40
|
fanout,
|
|
30
41
|
flatWidenGate,
|
|
31
42
|
gitWorkspace,
|
|
43
|
+
harvestCorpus,
|
|
32
44
|
inlineSandboxClient,
|
|
45
|
+
jjWorkspace,
|
|
33
46
|
localShell,
|
|
34
47
|
loopDispatch,
|
|
35
48
|
loopUntil,
|
|
@@ -38,23 +51,33 @@ import {
|
|
|
38
51
|
openSandboxRun,
|
|
39
52
|
panel,
|
|
40
53
|
pipeline,
|
|
54
|
+
printBenchmarkReport,
|
|
41
55
|
probeSandboxCapabilities,
|
|
56
|
+
promotionGate,
|
|
57
|
+
refine,
|
|
42
58
|
registerShape,
|
|
43
59
|
renderAnalyses,
|
|
44
60
|
renderCorpusToInstructions,
|
|
45
61
|
renderReport,
|
|
46
62
|
replaySpawnTree,
|
|
47
63
|
reportLoopUsage,
|
|
64
|
+
runAgentic,
|
|
65
|
+
runBenchmark,
|
|
48
66
|
runLoop,
|
|
49
67
|
runPersonified,
|
|
68
|
+
runStrategyEvolution,
|
|
69
|
+
sample,
|
|
70
|
+
sampleThenRefine,
|
|
71
|
+
selectChampion,
|
|
50
72
|
sentinelCompletion,
|
|
51
73
|
settledToIteration,
|
|
52
74
|
spendFromUsageEvents,
|
|
53
75
|
stopSentinel,
|
|
76
|
+
strategyAuthorContract,
|
|
54
77
|
trajectoryReport,
|
|
55
78
|
verify,
|
|
56
79
|
widen
|
|
57
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-IW2LMLK6.js";
|
|
58
81
|
import {
|
|
59
82
|
extractLlmCallEvent,
|
|
60
83
|
mapSandboxEvent
|
|
@@ -68,7 +91,12 @@ export {
|
|
|
68
91
|
InMemoryResultBlobStore,
|
|
69
92
|
InMemorySpawnJournal,
|
|
70
93
|
acquireSandbox,
|
|
94
|
+
adaptiveRefine,
|
|
95
|
+
assertStrategyContract,
|
|
71
96
|
assertTraceDerivedFindings,
|
|
97
|
+
auditIntent,
|
|
98
|
+
authorStrategy,
|
|
99
|
+
breadthDriver,
|
|
72
100
|
buildSteerContext,
|
|
73
101
|
builtinShapes,
|
|
74
102
|
completionAuthorizes,
|
|
@@ -77,6 +105,7 @@ export {
|
|
|
77
105
|
createDriver,
|
|
78
106
|
createExecutor,
|
|
79
107
|
createExecutorRegistry,
|
|
108
|
+
createMcpEnvironment,
|
|
80
109
|
createRootHandle,
|
|
81
110
|
createSandboxForSpec,
|
|
82
111
|
createSandboxLineage,
|
|
@@ -84,15 +113,22 @@ export {
|
|
|
84
113
|
createScopeAnalyst,
|
|
85
114
|
createShapeRegistry,
|
|
86
115
|
createSupervisor,
|
|
116
|
+
createVerifierEnvironment,
|
|
117
|
+
defaultAnalystInstruction,
|
|
118
|
+
defaultAuditorInstruction,
|
|
87
119
|
defaultSelectWinner,
|
|
88
120
|
definePersona,
|
|
121
|
+
defineStrategy,
|
|
122
|
+
depthDriver,
|
|
89
123
|
deterministicCompletion,
|
|
90
124
|
equalKOnCost,
|
|
91
125
|
extractLlmCallEvent,
|
|
92
126
|
fanout,
|
|
93
127
|
flatWidenGate,
|
|
94
128
|
gitWorkspace,
|
|
129
|
+
harvestCorpus,
|
|
95
130
|
inlineSandboxClient,
|
|
131
|
+
jjWorkspace,
|
|
96
132
|
localShell,
|
|
97
133
|
loopDispatch,
|
|
98
134
|
loopUntil,
|
|
@@ -102,19 +138,29 @@ export {
|
|
|
102
138
|
openSandboxRun,
|
|
103
139
|
panel,
|
|
104
140
|
pipeline,
|
|
141
|
+
printBenchmarkReport,
|
|
105
142
|
probeSandboxCapabilities,
|
|
143
|
+
promotionGate,
|
|
144
|
+
refine,
|
|
106
145
|
registerShape,
|
|
107
146
|
renderAnalyses,
|
|
108
147
|
renderCorpusToInstructions,
|
|
109
148
|
renderReport,
|
|
110
149
|
replaySpawnTree,
|
|
111
150
|
reportLoopUsage,
|
|
151
|
+
runAgentic,
|
|
152
|
+
runBenchmark,
|
|
112
153
|
runLoop,
|
|
113
154
|
runPersonified,
|
|
155
|
+
runStrategyEvolution,
|
|
156
|
+
sample,
|
|
157
|
+
sampleThenRefine,
|
|
158
|
+
selectChampion,
|
|
114
159
|
sentinelCompletion,
|
|
115
160
|
settledToIteration,
|
|
116
161
|
spendFromUsageEvents,
|
|
117
162
|
stopSentinel,
|
|
163
|
+
strategyAuthorContract,
|
|
118
164
|
trajectoryReport,
|
|
119
165
|
verify,
|
|
120
166
|
widen
|
|
@@ -435,4 +435,4 @@ interface WidenGate<Out> {
|
|
|
435
435
|
readonly judgeExempt?: boolean;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
export type { Agent as A, Budget as B,
|
|
438
|
+
export type { Agent as A, Budget as B, ExecutorRegistry as E, Handle as H, NodeId as N, ResultBlobStore as R, Scope as S, TreeView as T, UsageEvent as U, WidenGate as W, SpawnJournal as a, SpawnEvent as b, Settled as c, AgentSpec as d, RootHandle as e, SupervisedResult as f, Spend as g, ExecutorFactory as h, Supervisor as i, Executor as j, ExecutorContext as k, ExecutorResult as l, NodeSnapshot as m, NodeStatus as n, Restart as o, RootSignal as p, Runtime as q, SpawnOpts as r, SupervisorOpts as s };
|
package/dist/workflow.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
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": {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@biomejs/biome": "^2.4.0",
|
|
104
|
-
"@tangle-network/agent-eval": "^0.
|
|
104
|
+
"@tangle-network/agent-eval": "^0.89.0",
|
|
105
105
|
"@tangle-network/sandbox": "^0.4.0",
|
|
106
106
|
"@types/node": "^25.6.0",
|
|
107
107
|
"playwright": "^1.40.0",
|