$ the-wire · showcase
Copilot compaction moves to SDK state with no auth breakage
By RepoJournal · Filed · About OpenClaw
OpenClaw routes Copilot session compaction through SDK-backed state, dropping marker sidecars while preserving auth and session binding, and Windows nodes now reconnect after restart with the real app version.
OpenClaw reworked Copilot session compaction to route through SDK-backed state instead of marker sidecars [1]. The change preserves auth and session binding behavior in SQLite-backed plugin state, and Copilot CLI budget compaction now uses native harness compaction. This is a refactor, not a behavior change, meaning existing sessions should survive the migration without re-authentication.
A diagnostics fix clears embedded-run activity when stuck-session recovery declares a lane idle [2]. Previously, aborting an embedded run without markDiagnosticEmbeddedRunEnded left hasActiveEmbeddedRun set in the activity store, so the liveness sweep reported a false idle/embedded_run state. The fix closes that gap so recovered lanes report cleanly.
The Windows node now reconnects already-paired nodes on startup using the persisted device token, and reports AppVersionInfo.Version instead of the hardcoded 1.0.0 in handshake fields [3]. It also preserves credential precedence so a paired node doesn't downgrade to bootstrap tokens, and fixes the native exec approval prompt so real button clicks wake the pending path. Related commits avoid double prompts and exit the prompt loop after a choice [4][5][6]. Separately, localized tray resources in fr-fr, zh-cn, and zh-tw were repaired for mojibake, covering Windows-1252 and CP437 misdecoded UTF-8, with validation tests added [7].
The docs site gained a page action menu with handoff links for Markdown, ChatGPT, Claude, and Perplexity [8], edit-source links now route through the source map so mirrored pages point at their owning repo [9], and Ask Molty was reworked from a docked sheet into a floating dialog so the layout stays readable [10]. A new lightweight docs preview build limits output to 30 pages for faster local checks [11].
Action items
- → Review Copilot session compaction changes before deploying if you rely on sidecar markers openclaw/openclaw [monitor]
- → Update Windows node and tray to pick up reconnection and mojibake fixes openclaw/openclaw-windows-node [plan]
References
- [1] refactor: compact copilot sessions through sdk state ↗ openclaw/openclaw
- [2] fix(diagnostics): clear embedded-run activity when recovery declares lane idle (#88820) ↗ openclaw/openclaw
- [3] fix(node): reconnect and report app version after restart ↗ openclaw/openclaw-windows-node
- [4] fix(exec): avoid double prompts for approved wrappers ↗ openclaw/openclaw-windows-node
- [5] fix(exec): exit native approval prompt after choice ↗ openclaw/openclaw-windows-node
- [6] fix(exec): wake native prompt loop after decision ↗ openclaw/openclaw-windows-node
- [7] Fix mojibake in localized tray resources ↗ openclaw/openclaw-windows-node
- [8] feat(docs): add page AI actions ↗ openclaw/docs
- [9] fix(docs): route edit source links to owning repos ↗ openclaw/docs
- [10] fix(docs): keep Ask Molty from compressing docs layout ↗ openclaw/docs
- [11] fix(devx): add lightweight docs preview build ↗ openclaw/docs