@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.
- package/lib/agents/codex.ts +6 -0
- package/package.json +1 -1
package/lib/agents/codex.ts
CHANGED
|
@@ -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