@livx.cc/agentx 0.99.110 → 0.99.111

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.
@@ -631,6 +631,12 @@ declare class Agent {
631
631
  * steers over its own channel (claude-code's warm InputQueue via `providerOptions.steer`). Non-text
632
632
  * injections (images) stay queued for the step-boundary `drainInjections()` re-open — the text-only
633
633
  * steer channel can't carry them. Consumed DURING chat(); no overlap with drainInjections() (post-call). */
634
+ /** claude-code/*: the providerOptions every step adds (and prewarm, so the session it starts is the one step 1 reuses). */
635
+ private claudeCodePo;
636
+ /** claude-code/* warm session: start it now (its process, MCP handshakes) so the first turn doesn't pay for it. Its
637
+ * system prompt is fixed at the start, so it is prepared here (no task hint) — memoized, the turns reuse the same one.
638
+ * No model call; the transcript gains only that system message. Other models: nothing to warm. */
639
+ prewarm(): Promise<void>;
634
640
  drainPendingSteers(): string[];
635
641
  /** Fold any host-injected messages into the transcript as user turns. Returns true if any landed. */
636
642
  private drainInjections;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livx.cc/agentx",
3
- "version": "0.99.110",
3
+ "version": "0.99.111",
4
4
  "description": "Edge-native AI agent runtime — drives a virtual filesystem via any LLM (ai.libx.js). Same bytes run in node, browser, or edge.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -82,7 +82,7 @@
82
82
  "@bod.ee/db": "~2.14.3",
83
83
  "@livx.cc/mcp-jev": "^0.1.0",
84
84
  "@livx.cc/wcli": "^2.2.5",
85
- "ai.libx.js": "0.18.64",
85
+ "ai.libx.js": "0.18.66",
86
86
  "libx.js": "^6.3.0"
87
87
  },
88
88
  "devDependencies": {