@yanlinglabs/winter-agent-runtime 0.0.28 → 0.0.29
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/README.md +3 -1
- package/dist/embedded-worker.js +3 -3
- package/dist/embedded.js +3 -3
- package/dist/{index-d255xsgm.js → index-eyddzcgs.js} +2 -2
- package/dist/{index-mqj4x0fn.js → index-gmxxtqpe.js} +1 -1
- package/dist/{index-mftq279y.js → index-jz5d90c6.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/store/dialect.d.ts +1 -1
- package/dist/testing.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -55,7 +55,9 @@ each session needs its own JavaScript realm: run one session per Bun `Worker`.
|
|
|
55
55
|
(`process.kill(-pgid, "SIGKILL")`). After a clean exit the list is empty.
|
|
56
56
|
- `@yanlinglabs/winter-agent-runtime/embedded-worker` — the Worker entry. A compiled
|
|
57
57
|
(`bun build --compile`) host passes its own one-line worker file as an extra entrypoint and
|
|
58
|
-
constructs the Worker from that file's plain relative path.
|
|
58
|
+
constructs the Worker from that file's plain relative path. Compile the host with
|
|
59
|
+
`--no-compile-autoload-bunfig --no-compile-autoload-dotenv`, as the `winter` binary is: a session
|
|
60
|
+
runs in a user's repository, and otherwise the binary reads that directory's `bunfig.toml` and `.env`.
|
|
59
61
|
- `@yanlinglabs/winter-agent-runtime/embedded` — `runEmbeddedSession(...)`, one session with every
|
|
60
62
|
process global (argv, env, stdio, exit) as a parameter.
|
|
61
63
|
- `@yanlinglabs/winter-agent-runtime/workflow-worker` — the Workflow tool's sandboxed worker entry,
|
package/dist/embedded-worker.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-jz5d90c6.js";
|
|
2
2
|
import {
|
|
3
3
|
liveProcessGroups,
|
|
4
4
|
onProcessGroupChange
|
|
5
5
|
} from "./index-8jgwp1px.js";
|
|
6
6
|
import"./index-bef62z3r.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-gmxxtqpe.js";
|
|
8
8
|
import {
|
|
9
9
|
runEmbeddedSession2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-eyddzcgs.js";
|
|
11
11
|
import {
|
|
12
12
|
Queue
|
|
13
13
|
} 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-eyddzcgs.js";
|
|
4
|
+
import"./index-gmxxtqpe.js";
|
|
5
|
+
import"./index-jz5d90c6.js";
|
|
6
6
|
import"./index-bef62z3r.js";
|
|
7
7
|
import"./index-8jgwp1px.js";
|
|
8
8
|
export {
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
resolveEngineSession2,
|
|
10
10
|
resolveProductionWinterHome2,
|
|
11
11
|
resolveProductionStoreHome
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-jz5d90c6.js";
|
|
13
13
|
import {
|
|
14
14
|
registerDefaultChildEngineFactory,
|
|
15
15
|
loadResumedChain,
|
|
16
16
|
buildProductionWiring,
|
|
17
17
|
withAutoSkillPermissions,
|
|
18
18
|
restoreChildRoster
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-gmxxtqpe.js";
|
|
20
20
|
|
|
21
21
|
// src/embedded.ts
|
|
22
22
|
import { splitFrames, encodeFrame } from "@yanlinglabs/winter-agent-sdk";
|
|
@@ -26367,7 +26367,7 @@ class TranscriptWriter2 {
|
|
|
26367
26367
|
return entries;
|
|
26368
26368
|
}
|
|
26369
26369
|
}
|
|
26370
|
-
var RUNTIME_ENGINE_VERSION2 = "0.0.
|
|
26370
|
+
var RUNTIME_ENGINE_VERSION2 = "0.0.29";
|
|
26371
26371
|
function withPermissionJournal(writer, location) {
|
|
26372
26372
|
return {
|
|
26373
26373
|
transcriptPath: join25(location.winterHome, "projects", location.projectKey, `${location.sessionId}.jsonl`),
|
package/dist/index.js
CHANGED
package/dist/store/dialect.d.ts
CHANGED
|
@@ -478,7 +478,7 @@ export declare class TranscriptWriter implements SessionPersistence {
|
|
|
478
478
|
private dialectRecord;
|
|
479
479
|
static readBack(store: SessionStore, key: SessionKey): Promise<SessionStoreEntry[]>;
|
|
480
480
|
}
|
|
481
|
-
export declare const RUNTIME_ENGINE_VERSION = "0.0.
|
|
481
|
+
export declare const RUNTIME_ENGINE_VERSION = "0.0.29";
|
|
482
482
|
export interface ResolvedEngineSession {
|
|
483
483
|
config: RuntimeConfig;
|
|
484
484
|
store: SessionPersistence | undefined;
|
package/dist/testing.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runEngine2,
|
|
4
4
|
echoProvider2,
|
|
5
5
|
resolveEngineSession2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jz5d90c6.js";
|
|
7
7
|
import"./index-8jgwp1px.js";
|
|
8
8
|
import"./index-bef62z3r.js";
|
|
9
9
|
import {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
buildProductionWiring,
|
|
13
13
|
withAutoSkillPermissions,
|
|
14
14
|
restoreChildRoster
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-gmxxtqpe.js";
|
|
16
16
|
import {
|
|
17
17
|
Queue
|
|
18
18
|
} from "./index-97t2rmtf.js";
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RUNTIME_VERSION = "0.0.
|
|
1
|
+
export declare const RUNTIME_VERSION = "0.0.29";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yanlinglabs/winter-agent-runtime",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"@modelcontextprotocol/client": "^2.1.0",
|
|
70
70
|
"ajv": "^8.20.0",
|
|
71
71
|
"ignore": "7.0.5",
|
|
72
|
-
"@yanlinglabs/winter-agent-sdk": "0.0.
|
|
73
|
-
"@yanlinglabs/winter-provider-
|
|
74
|
-
"@yanlinglabs/winter-provider-
|
|
72
|
+
"@yanlinglabs/winter-agent-sdk": "0.0.29",
|
|
73
|
+
"@yanlinglabs/winter-provider-catalog": "0.0.29",
|
|
74
|
+
"@yanlinglabs/winter-provider-runtime": "0.0.29"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@modelcontextprotocol/server": "^2.1.0"
|