@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 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,
@@ -1,13 +1,13 @@
1
- import"./index-mftq279y.js";
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-mqj4x0fn.js";
7
+ import"./index-gmxxtqpe.js";
8
8
  import {
9
9
  runEmbeddedSession2
10
- } from "./index-d255xsgm.js";
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-d255xsgm.js";
4
- import"./index-mqj4x0fn.js";
5
- import"./index-mftq279y.js";
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-mftq279y.js";
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-mqj4x0fn.js";
19
+ } from "./index-gmxxtqpe.js";
20
20
 
21
21
  // src/embedded.ts
22
22
  import { splitFrames, encodeFrame } from "@yanlinglabs/winter-agent-sdk";
@@ -87,7 +87,7 @@ import {
87
87
  providerCredentialRef2,
88
88
  createModelClassifier2,
89
89
  selectClassifierRoute2
90
- } from "./index-mftq279y.js";
90
+ } from "./index-jz5d90c6.js";
91
91
  import {
92
92
  createInMemoryChannel2
93
93
  } from "./index-97t2rmtf.js";
@@ -26367,7 +26367,7 @@ class TranscriptWriter2 {
26367
26367
  return entries;
26368
26368
  }
26369
26369
  }
26370
- var RUNTIME_ENGINE_VERSION2 = "0.0.28";
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
@@ -53,7 +53,7 @@ import {
53
53
  DEFAULT_CLASSIFIER_TIMEOUT_MS2,
54
54
  createModelClassifier2,
55
55
  selectClassifierRoute2
56
- } from "./index-mftq279y.js";
56
+ } from "./index-jz5d90c6.js";
57
57
  import"./index-8jgwp1px.js";
58
58
  import"./index-bef62z3r.js";
59
59
  import {
@@ -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.28";
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-mftq279y.js";
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-mqj4x0fn.js";
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.28";
1
+ export declare const RUNTIME_VERSION = "0.0.29";
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var RUNTIME_VERSION = "0.0.28";
2
+ var RUNTIME_VERSION = "0.0.29";
3
3
  export {
4
4
  RUNTIME_VERSION
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yanlinglabs/winter-agent-runtime",
3
- "version": "0.0.28",
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.28",
73
- "@yanlinglabs/winter-provider-runtime": "0.0.28",
74
- "@yanlinglabs/winter-provider-catalog": "0.0.28"
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"