Repository navigation
Conversation
… dropdown The session management page asked for a source directory path, so importing a Codex, Claude Code or ZCode store meant knowing where that Agent keeps its sessions on this machine and typing the path by hand. The page now asks which Agent to import instead: the Host detects the installed stores and the section offers them in one dropdown with the Import button beside it, so the import opens whatever is actually on disk rather than whatever the user remembered. `listAgentSessionSources` holds the fixed home-directory layout of each foreign Agent and marks one installed only when its marker paths exist, so an Agent that was never run here offers nothing instead of an import that refuses every session. Alpha's own store leads the list and reads the deployment-configured root, so a configured root outside the default layout stays the one this import opens. Detection never opens a Session: the import re-detects the format of whatever root the caller picked. The list reaches the Client through a new `harnessSessionSources` remote and the `sessionSources` client method, and the section shows a detecting state while the Host walks the markers and an empty state when no Agent is found. Only detected installations appear as options, and the selection is disabled until at least one is.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
CI verdict on this branchAll 33 check-runs finished: 19 success, 10 skipped, 4 failure. The 4 red lanes are pre-existing and reproduce identically without this change. Why this PR exists: 1. No green 2. Coverage lane, compared against the immediately preceding PR run (
So this change moves both files it touches in the right direction and introduces no uncovered code of its own. 3. Snapshots lane: the failing set is identical. 128 failing snapshot case names before this change, 128 after, matching one-for-one with zero added and zero removed. The root cause is recorded-machine-local 4. Windows coverage lane: the same This change's own tests pass on Windows too: Why this is closed rather than merged
|
The session management page asked for a source directory path, so importing a Codex, Claude Code or ZCode store meant knowing where that Agent keeps its sessions on this machine and typing the path by hand. The page now asks which Agent to import instead: the Host detects the installed stores and the section offers them in one dropdown with the Import button beside it.
listAgentSessionSourcesholds the fixed home-directory layout of each foreign Agent and marks one installed only when its marker paths exist, so an Agent that was never run here offers nothing instead of an import that refuses every session.harnessSessionSourcesremote and thesessionSourcesclient method. Only detected installations appear as options, the selection stays disabled until at least one is, and the section shows a detecting state and an empty state.