@runuai/host 0.8.40 → 0.8.41

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.
@@ -525,6 +525,12 @@ export class CodexSession implements AgentSession {
525
525
  private async handshake(): Promise<void> {
526
526
  await this.request("initialize", {
527
527
  clientInfo: { name: "uai", version: "0.2" },
528
+ // ADR-078: unlock experimental fields. thread/resume's `excludeTurns`
529
+ // (resume without replaying history — see tryResumeThread) is gated on
530
+ // this; without it the app-server rejects the field with
531
+ // "thread/resume.excludeTurns requires experimentalApi capability" and
532
+ // we fall back to a fresh thread, losing the whole conversation.
533
+ capabilities: { experimentalApi: true },
528
534
  });
529
535
  this.notify("initialized", {});
530
536
  // ADR-078: a thread id from a prior host process means this is a restart —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runuai/host",
3
- "version": "0.8.40",
3
+ "version": "0.8.41",
4
4
  "description": "Uai host — runs ephemeral AI coding tasks in Docker on a machine you control.",
5
5
  "license": "MIT",
6
6
  "author": "Diogo Perillo <diogo.perillo@gmail.com>",