@tangle-network/agent-runtime 0.67.0 → 0.69.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-DUCSSQ23.js → chunk-G6U3GVK2.js} +2 -2
- package/dist/{chunk-RMHASGSA.js → chunk-K4FQSEXQ.js} +3 -3
- package/dist/{chunk-J6DAU44N.js → chunk-NLRA6434.js} +192 -45
- package/dist/chunk-NLRA6434.js.map +1 -0
- package/dist/{chunk-E63JRVIY.js → chunk-QZ6FA5LM.js} +3 -3
- package/dist/{chunk-DXA4XTZ3.js → chunk-RTDI2DHD.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/loop-runner-bin.js +3 -3
- package/dist/loops.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/runtime.d.ts +12 -0
- package/dist/runtime.js +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-J6DAU44N.js.map +0 -1
- /package/dist/{chunk-DUCSSQ23.js.map → chunk-G6U3GVK2.js.map} +0 -0
- /package/dist/{chunk-RMHASGSA.js.map → chunk-K4FQSEXQ.js.map} +0 -0
- /package/dist/{chunk-E63JRVIY.js.map → chunk-QZ6FA5LM.js.map} +0 -0
- /package/dist/{chunk-DXA4XTZ3.js.map → chunk-RTDI2DHD.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFleetWorkspaceExecutor,
|
|
3
3
|
createSiblingSandboxExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RTDI2DHD.js";
|
|
5
5
|
import {
|
|
6
6
|
runWorktreeHarness
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NLRA6434.js";
|
|
8
8
|
import {
|
|
9
9
|
buildLoopOtelSpans,
|
|
10
10
|
createOtelExporter
|
|
@@ -275,4 +275,4 @@ export {
|
|
|
275
275
|
createPropagatingTraceEmitter,
|
|
276
276
|
traceContextToEnv
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=chunk-
|
|
278
|
+
//# sourceMappingURL=chunk-QZ6FA5LM.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
runDetachedTurn,
|
|
12
12
|
runLoop,
|
|
13
13
|
selectValidWinner
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NLRA6434.js";
|
|
15
15
|
|
|
16
16
|
// src/mcp/executor.ts
|
|
17
17
|
function createSiblingSandboxExecutor(options) {
|
|
@@ -472,4 +472,4 @@ export {
|
|
|
472
472
|
coderTaskFromArgs,
|
|
473
473
|
settleDetachedCoderTurn
|
|
474
474
|
};
|
|
475
|
-
//# sourceMappingURL=chunk-
|
|
475
|
+
//# sourceMappingURL=chunk-RTDI2DHD.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mcpToolsForRuntimeMcp,
|
|
3
3
|
mcpToolsForRuntimeMcpSubset
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G6U3GVK2.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_ROUTER_BASE_URL,
|
|
7
7
|
cleanModelId,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
runLoopRunnerCli,
|
|
22
22
|
selfImproveLoopRunner,
|
|
23
23
|
worktreeLoopRunner
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-K4FQSEXQ.js";
|
|
25
25
|
import "./chunk-FNMGYYSS.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-RTDI2DHD.js";
|
|
27
27
|
import "./chunk-DVQGYDN5.js";
|
|
28
28
|
import "./chunk-P5OKDSLB.js";
|
|
29
29
|
import {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
defineRuntimeHooks,
|
|
32
32
|
notifyRuntimeDecisionPoint,
|
|
33
33
|
notifyRuntimeHookEvent
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NLRA6434.js";
|
|
35
35
|
import "./chunk-WIR4HOOJ.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentEvalError,
|
package/dist/loop-runner-bin.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseLoopRunnerArgv,
|
|
4
4
|
runLoopRunnerCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K4FQSEXQ.js";
|
|
6
6
|
import "./chunk-FNMGYYSS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-RTDI2DHD.js";
|
|
8
8
|
import "./chunk-DVQGYDN5.js";
|
|
9
9
|
import "./chunk-P5OKDSLB.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-NLRA6434.js";
|
|
11
11
|
import "./chunk-WIR4HOOJ.js";
|
|
12
12
|
import "./chunk-VLF5RHEQ.js";
|
|
13
13
|
import "./chunk-O2UPHN7X.js";
|
package/dist/loops.js
CHANGED
package/dist/mcp/bin.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createPropagatingTraceEmitter,
|
|
4
4
|
detectExecutor,
|
|
5
5
|
readTraceContextFromEnv
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-QZ6FA5LM.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveRouterBaseUrl
|
|
9
9
|
} from "../chunk-GRAGM4MC.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
coderTaskFromArgs,
|
|
12
12
|
detachedSessionDelegate,
|
|
13
13
|
settleDetachedCoderTurn
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-RTDI2DHD.js";
|
|
15
15
|
import {
|
|
16
16
|
coderTaskToPrompt
|
|
17
17
|
} from "../chunk-DVQGYDN5.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
parseDetachedSessionRef,
|
|
30
30
|
runDetachedTurn,
|
|
31
31
|
runLoop
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-NLRA6434.js";
|
|
33
33
|
import "../chunk-WIR4HOOJ.js";
|
|
34
34
|
import "../chunk-VLF5RHEQ.js";
|
|
35
35
|
import "../chunk-O2UPHN7X.js";
|
package/dist/mcp/index.js
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
detectExecutor,
|
|
5
5
|
readTraceContextFromEnv,
|
|
6
6
|
traceContextToEnv
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-QZ6FA5LM.js";
|
|
8
8
|
import {
|
|
9
9
|
mcpToolsForRuntimeMcp,
|
|
10
10
|
mcpToolsForRuntimeMcpSubset
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-G6U3GVK2.js";
|
|
12
12
|
import {
|
|
13
13
|
createKbGate
|
|
14
14
|
} from "../chunk-FNMGYYSS.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
createSiblingSandboxExecutor,
|
|
19
19
|
detachedSessionDelegate,
|
|
20
20
|
settleDetachedCoderTurn
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-RTDI2DHD.js";
|
|
22
22
|
import "../chunk-DVQGYDN5.js";
|
|
23
23
|
import {
|
|
24
24
|
DELEGATION_MCP_SERVER_KEY,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
validateDelegateUiAuditArgs,
|
|
83
83
|
validateDelegationHistoryArgs,
|
|
84
84
|
validateDelegationStatusArgs
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-NLRA6434.js";
|
|
86
86
|
import "../chunk-WIR4HOOJ.js";
|
|
87
87
|
import "../chunk-VLF5RHEQ.js";
|
|
88
88
|
import {
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2768,6 +2768,12 @@ interface CliWorktreeSeam {
|
|
|
2768
2768
|
* `agentProfile` is the bridge-dialect profile (metadata.disallowedTools, mcp)
|
|
2769
2769
|
* forwarded verbatim per request — how an arm disables native tools or injects
|
|
2770
2770
|
* a provider search MCP.
|
|
2771
|
+
*
|
|
2772
|
+
* The executor opens a RESUMABLE cli-bridge session — structurally identical to the
|
|
2773
|
+
* sandbox executor's persistent box, just local. `sessionId` is the stable
|
|
2774
|
+
* caller-owned id cli-bridge maps to the harness's internal conversation id; a
|
|
2775
|
+
* follow-up steer/resume on the SAME id continues the SAME harness session (opencode
|
|
2776
|
+
* `-s`, claude `--resume`, …). Omit it and the executor mints a stable one per spawn.
|
|
2771
2777
|
*/
|
|
2772
2778
|
interface BridgeSeam {
|
|
2773
2779
|
bridgeUrl: string;
|
|
@@ -2775,6 +2781,12 @@ interface BridgeSeam {
|
|
|
2775
2781
|
model: string;
|
|
2776
2782
|
agentProfile?: Record<string, unknown>;
|
|
2777
2783
|
timeoutMs?: number;
|
|
2784
|
+
/** Stable, caller-owned cli-bridge session id for harness-side resume. Defaults
|
|
2785
|
+
* to a freshly minted per-spawn id so each worker is its own resumable session. */
|
|
2786
|
+
sessionId?: string;
|
|
2787
|
+
/** Per-resume-turn inference cap before the worker settles on its last output.
|
|
2788
|
+
* Mirrors `routerToolsInlineExecutor.maxTurns`; default 200 (runaway backstop). */
|
|
2789
|
+
maxTurns?: number;
|
|
2778
2790
|
}
|
|
2779
2791
|
/**
|
|
2780
2792
|
* Router seam WITH tool use — the tool-using router backend. Same direct
|
package/dist/runtime.js
CHANGED
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.69.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": {
|