@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.
- package/dist/embedded-worker.js +3 -3
- package/dist/embedded.js +3 -3
- package/dist/engine.d.ts +8 -0
- package/dist/{index-dh2xed37.js → index-a8j104mg.js} +1949 -111
- package/dist/{index-b08mghw8.js → index-r7yjcppm.js} +2 -2
- package/dist/{index-es0skt5n.js → index-rhxkckyn.js} +8 -2
- package/dist/index.js +1 -1
- package/dist/permissions/bash-read-only.d.ts +26 -0
- package/dist/permissions/grammar.d.ts +32 -6
- package/dist/production-wiring.d.ts +3 -1
- package/dist/rpc/bridge.d.ts +1 -0
- package/dist/store/dialect.d.ts +1 -1
- package/dist/subagents/child-engine.d.ts +2 -0
- package/dist/subagents/register-default-factory.d.ts +2 -0
- package/dist/testing.js +2 -2
- package/dist/tools/concurrency.d.ts +48 -0
- package/dist/tools/registry.d.ts +13 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/dist/embedded-worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./index-
|
|
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-
|
|
9
|
+
import"./index-rhxkckyn.js";
|
|
10
10
|
import {
|
|
11
11
|
runEmbeddedSession2
|
|
12
|
-
} from "./index-
|
|
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-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
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
|