@cubicecho/agent-router-worker 0.12.0 → 0.13.0

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.
@@ -1151,7 +1151,7 @@ path.resolve(import.meta.dirname, "..", "..");
1151
1151
  * A bundle can't read the repo's package.json the way `version()` does, because it isn't there.
1152
1152
  */
1153
1153
  function workerVersion() {
1154
- return "0.12.0";
1154
+ return "0.13.0";
1155
1155
  }
1156
1156
  // worker/workdir/git.ts
1157
1157
  /** The git program, found on PATH. */
package/lib.js CHANGED
@@ -1 +1 @@
1
- export { r as TOOL_ORIGIN_LOCAL, i as TOOL_ORIGIN_ROUTER, a as WorkerConfigError, n as executeRun, o as readWorkerConfig, t as startWorker } from "./chunks/worker-CeigVtbh.js";
1
+ export { r as TOOL_ORIGIN_LOCAL, i as TOOL_ORIGIN_ROUTER, a as WorkerConfigError, n as executeRun, o as readWorkerConfig, t as startWorker } from "./chunks/worker-DjXaG4tH.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubicecho/agent-router-worker",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "agent-router's worker program: runs a workspace's agent loops on another machine.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -46,6 +46,12 @@ export declare const MS_PER_DAY = 86400000;
46
46
  * reads it to refuse calls past `RUN_DEFAULTS.maxAgentDepth`. Only the number is sent, never a run's id.
47
47
  */
48
48
  export declare const AGENT_DEPTH_META_KEY = "cubicecho.com/agent-depth";
49
+ /**
50
+ * The `_meta` key a tool call names the session it was made in under: the app's conversation that the calling run
51
+ * belongs to. `/mcp` files the run a call starts under it, so one session's runs group together however many agents
52
+ * they passed through. agent-core exports the same key as `SESSION_META_KEY`. A label only.
53
+ */
54
+ export declare const SESSION_META_KEY = "com.cubicecho/session";
49
55
  /** The `_meta` key a task's progress notification carries the run's `RunEvent` under. */
50
56
  export declare const RUN_EVENT_META_KEY = "cubicecho.com/run-event";
51
57
  /**
package/worker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { o as readWorkerConfig, s as errorMessage, t as startWorker } from "./chunks/worker-CeigVtbh.js";
2
+ import { o as readWorkerConfig, s as errorMessage, t as startWorker } from "./chunks/worker-DjXaG4tH.js";
3
3
  // worker/index.ts
4
4
  /** Exits with this when the worker can't start, or is stopped twice. */
5
5
  const EXIT_FAILED = 1;