@tangle-network/agent-runtime 0.66.0 → 0.68.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-YWO4H64E.js → chunk-FCIPUALH.js} +3 -3
- package/dist/{chunk-RTNMMHWR.js → chunk-LTEF2LYD.js} +3 -3
- package/dist/{chunk-E4X4FNQZ.js → chunk-OYU5LR4T.js} +2 -2
- package/dist/{chunk-RYD7ND4A.js → chunk-QNUEFNU7.js} +2 -2
- package/dist/{chunk-MT4XM3G6.js → chunk-VKUHUFX7.js} +17 -2
- package/dist/chunk-VKUHUFX7.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/loop-runner-bin.js +3 -3
- package/dist/loops.d.ts +1 -1
- package/dist/loops.js +3 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/runtime.d.ts +51 -1
- package/dist/runtime.js +3 -1
- package/dist/workflow.js +1 -1
- package/package.json +1 -1
- package/skills/build-with-agent-runtime/SKILL.md +17 -0
- package/dist/chunk-MT4XM3G6.js.map +0 -1
- /package/dist/{chunk-YWO4H64E.js.map → chunk-FCIPUALH.js.map} +0 -0
- /package/dist/{chunk-RTNMMHWR.js.map → chunk-LTEF2LYD.js.map} +0 -0
- /package/dist/{chunk-E4X4FNQZ.js.map → chunk-OYU5LR4T.js.map} +0 -0
- /package/dist/{chunk-RYD7ND4A.js.map → chunk-QNUEFNU7.js.map} +0 -0
package/dist/agent.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FNMGYYSS.js";
|
|
4
4
|
import {
|
|
5
5
|
detachedSessionDelegate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QNUEFNU7.js";
|
|
7
7
|
import {
|
|
8
8
|
runAnalystLoop
|
|
9
9
|
} from "./chunk-P5OKDSLB.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
definePersona,
|
|
13
13
|
runPersonified,
|
|
14
14
|
worktreeFanout
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VKUHUFX7.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigError
|
|
18
18
|
} from "./chunk-VLF5RHEQ.js";
|
|
@@ -211,4 +211,4 @@ export {
|
|
|
211
211
|
runLoopRunnerCli,
|
|
212
212
|
parseLoopRunnerArgv
|
|
213
213
|
};
|
|
214
|
-
//# sourceMappingURL=chunk-
|
|
214
|
+
//# sourceMappingURL=chunk-FCIPUALH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFleetWorkspaceExecutor,
|
|
3
3
|
createSiblingSandboxExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QNUEFNU7.js";
|
|
5
5
|
import {
|
|
6
6
|
runWorktreeHarness
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VKUHUFX7.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-LTEF2LYD.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
DELEGATION_STATUS_DESCRIPTION,
|
|
15
15
|
DELEGATION_STATUS_INPUT_SCHEMA,
|
|
16
16
|
DELEGATION_STATUS_TOOL_NAME
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VKUHUFX7.js";
|
|
18
18
|
|
|
19
19
|
// src/mcp/openai-tools.ts
|
|
20
20
|
function buildTool(name, description, parameters) {
|
|
@@ -61,4 +61,4 @@ export {
|
|
|
61
61
|
mcpToolsForRuntimeMcp,
|
|
62
62
|
mcpToolsForRuntimeMcpSubset
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=chunk-
|
|
64
|
+
//# sourceMappingURL=chunk-OYU5LR4T.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
runDetachedTurn,
|
|
12
12
|
runLoop,
|
|
13
13
|
selectValidWinner
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VKUHUFX7.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-QNUEFNU7.js.map
|
|
@@ -7889,7 +7889,11 @@ var DelegationTaskQueue = class _DelegationTaskQueue {
|
|
|
7889
7889
|
* handing the store's backing file to another process.
|
|
7890
7890
|
*/
|
|
7891
7891
|
async flush() {
|
|
7892
|
-
|
|
7892
|
+
let tail2;
|
|
7893
|
+
while (this.persistTail !== tail2) {
|
|
7894
|
+
tail2 = this.persistTail;
|
|
7895
|
+
await tail2;
|
|
7896
|
+
}
|
|
7893
7897
|
if (this.persistFailure) throw this.persistFailure;
|
|
7894
7898
|
}
|
|
7895
7899
|
/** Test-only — number of in-flight (non-terminal) records. */
|
|
@@ -9834,6 +9838,16 @@ function safeParse(s) {
|
|
|
9834
9838
|
}
|
|
9835
9839
|
}
|
|
9836
9840
|
|
|
9841
|
+
// src/runtime/supervise/run-context.ts
|
|
9842
|
+
function createInMemoryRunContext(opts = {}) {
|
|
9843
|
+
const base = createExecutorRegistry();
|
|
9844
|
+
return {
|
|
9845
|
+
journal: new InMemorySpawnJournal(),
|
|
9846
|
+
blobs: new InMemoryResultBlobStore(),
|
|
9847
|
+
executors: opts.withDriver ? withDriverExecutor(base) : base
|
|
9848
|
+
};
|
|
9849
|
+
}
|
|
9850
|
+
|
|
9837
9851
|
// src/runtime/supervise/trace-source.ts
|
|
9838
9852
|
function toToolSpan(input, runId, seq, at) {
|
|
9839
9853
|
return {
|
|
@@ -10522,6 +10536,7 @@ export {
|
|
|
10522
10536
|
runCoderChecks,
|
|
10523
10537
|
patchDelivered,
|
|
10524
10538
|
routerDriverChat,
|
|
10539
|
+
createInMemoryRunContext,
|
|
10525
10540
|
toToolSpan,
|
|
10526
10541
|
decodeOpencodePart,
|
|
10527
10542
|
decodeAnthropicPart,
|
|
@@ -10540,4 +10555,4 @@ export {
|
|
|
10540
10555
|
jjWorkspace,
|
|
10541
10556
|
runInWorkspace
|
|
10542
10557
|
};
|
|
10543
|
-
//# sourceMappingURL=chunk-
|
|
10558
|
+
//# sourceMappingURL=chunk-VKUHUFX7.js.map
|