@yanlinglabs/winter-agent-runtime 0.0.39 → 0.0.40

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.
@@ -1,4 +1,4 @@
1
- import"./index-dh2xed37.js";
1
+ import"./index-a8j104mg.js";
2
2
  import {
3
3
  liveProcessGroups,
4
4
  onProcessGroupChange
@@ -6,10 +6,10 @@ import {
6
6
  import"./index-mwew595z.js";
7
7
  import"./index-2wgfv0pa.js";
8
8
  import"./index-bef62z3r.js";
9
- import"./index-es0skt5n.js";
9
+ import"./index-rhxkckyn.js";
10
10
  import {
11
11
  runEmbeddedSession2
12
- } from "./index-b08mghw8.js";
12
+ } from "./index-r7yjcppm.js";
13
13
  import {
14
14
  Queue
15
15
  } from "./index-97t2rmtf.js";
package/dist/embedded.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  runEmbeddedSession2
3
- } from "./index-b08mghw8.js";
4
- import"./index-es0skt5n.js";
5
- import"./index-dh2xed37.js";
3
+ } from "./index-r7yjcppm.js";
4
+ import"./index-rhxkckyn.js";
5
+ import"./index-a8j104mg.js";
6
6
  import"./index-2wgfv0pa.js";
7
7
  import"./index-bef62z3r.js";
8
8
  import"./index-1hef2gff.js";
package/dist/engine.d.ts CHANGED
@@ -27,6 +27,7 @@ import "./tools/descriptors/index.ts";
27
27
  import "./tools/impl/index.ts";
28
28
  import { type ToolResultBlock, type ToolResultSiteIcon } from "./tools/registry.js";
29
29
  import { type ResolvedReviewer } from "./tools/impl/advisor.js";
30
+ import { type ToolLaneTails } from "./tools/concurrency.js";
30
31
  import type { AuxiliaryModelResolution } from "./provider/session-provider.js";
31
32
  import type { ToolSecretResolver } from "./provider/tool-secret.js";
32
33
  export type ContentBlock = {
@@ -1276,6 +1277,13 @@ export interface EngineOptions {
1276
1277
  }) => AuxiliaryModelResolution;
1277
1278
  /** The wiring's tool-secret resolver (`provider/tool-secret.ts`), reached by a tool through the web session registry. */
1278
1279
  resolveToolSecret?: ToolSecretResolver;
1280
+ /**
1281
+ * SDK 0.0.40: the SESSION's concurrency lanes (`tools/concurrency.ts`'s `ToolLaneTails`). The wiring builds
1282
+ * one per session and hands the SAME map to the child-engine factory, so a lane is exclusive across the
1283
+ * top-level engine and every subagent engine. ABSENT (a host driving `runEngine` directly) -> this run
1284
+ * makes its own, and its lanes then bind within this engine only.
1285
+ */
1286
+ toolLaneTails?: ToolLaneTails;
1279
1287
  /**
1280
1288
  * Called for EVERY generation this run prices -- its own main-loop and inner generations, and
1281
1289
  * every descendant's it folded in. A CHILD engine is handed its parent's