@tangle-network/agent-runtime 0.67.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 CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-XRYEZPR6.js";
4
4
  import {
5
5
  createSandboxForSpec
6
- } from "./chunk-J6DAU44N.js";
6
+ } from "./chunk-VKUHUFX7.js";
7
7
  import "./chunk-WIR4HOOJ.js";
8
8
  import {
9
9
  mapSandboxEvent
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-FNMGYYSS.js";
4
4
  import {
5
5
  detachedSessionDelegate
6
- } from "./chunk-DXA4XTZ3.js";
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-J6DAU44N.js";
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-RMHASGSA.js.map
214
+ //# sourceMappingURL=chunk-FCIPUALH.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createFleetWorkspaceExecutor,
3
3
  createSiblingSandboxExecutor
4
- } from "./chunk-DXA4XTZ3.js";
4
+ } from "./chunk-QNUEFNU7.js";
5
5
  import {
6
6
  runWorktreeHarness
7
- } from "./chunk-J6DAU44N.js";
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-E63JRVIY.js.map
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-J6DAU44N.js";
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-DUCSSQ23.js.map
64
+ //# sourceMappingURL=chunk-OYU5LR4T.js.map
@@ -11,7 +11,7 @@ import {
11
11
  runDetachedTurn,
12
12
  runLoop,
13
13
  selectValidWinner
14
- } from "./chunk-J6DAU44N.js";
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-DXA4XTZ3.js.map
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
- await this.persistTail;
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. */
@@ -10551,4 +10555,4 @@ export {
10551
10555
  jjWorkspace,
10552
10556
  runInWorkspace
10553
10557
  };
10554
- //# sourceMappingURL=chunk-J6DAU44N.js.map
10558
+ //# sourceMappingURL=chunk-VKUHUFX7.js.map