@botlearn-course/daemon 0.0.32-beta.1 → 0.0.32-beta.2

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.
@@ -48,6 +48,8 @@ export interface EngineRunOptions {
48
48
  cwd: string;
49
49
  /** Daemon-owned state directory for runtime metadata that the model must not mutate. */
50
50
  runtimeStateDir?: string;
51
+ /** RuntimeSession (with sandbox generation) that owns a long-lived runtime process. */
52
+ runtimeSessionKey?: string;
51
53
  signal: AbortSignal;
52
54
  extraArgs?: string[];
53
55
  modelContract?: RunStartPayload["runtime"]["model_contract"];
@@ -200,6 +200,7 @@ export function wrapEngineAdapter(id, engine, opts) {
200
200
  sessionId: run.nativeSessionId ?? null,
201
201
  cwd: run.workspaceDir,
202
202
  ...(run.runtimeStateDir ? { runtimeStateDir: run.runtimeStateDir } : {}),
203
+ ...(run.runtimeSessionKey ? { runtimeSessionKey: run.runtimeSessionKey } : {}),
203
204
  signal: blockSignal,
204
205
  ...(run.runtimeEnv ? { env: run.runtimeEnv } : {}),
205
206
  ...(run.skillProvider ? { skillProvider: run.skillProvider } : {}),
package/dist/types.d.ts CHANGED
@@ -183,6 +183,8 @@ export interface RunExecution {
183
183
  workspaceDir: string;
184
184
  /** Daemon-owned state directory for one managed RuntimeSession; never exposed to the model. */
185
185
  runtimeStateDir?: string;
186
+ /** Managed RuntimeSession and sandbox generation; owns any long-lived runtime process. */
187
+ runtimeSessionKey?: string;
186
188
  /** Runtime-native thread/session id to resume; null creates the first native session. */
187
189
  nativeSessionId?: string | null;
188
190
  /** Monotonic Course Service context revision accepted for this turn. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botlearn-course/daemon",
3
- "version": "0.0.32-beta.1",
3
+ "version": "0.0.32-beta.2",
4
4
  "description": "BotLearn Course daemon for Agent Service managed sandboxes (internal).",
5
5
  "type": "module",
6
6
  "bin": {