Skip to content

Windows: gjc and omp panes get no chat transcript; the lookups rely on /proc and '/' separators #260

Closed

Description

@devswha

What happens

docs/remote-pcs.md says the chat lens on a Windows PC works as on any PC. For gjc and omp panes, the lookups cannot succeed there.

gjc

omp

  • ompTranscriptPath requires the path to start with join(HOME, ".omp", "agent", "sessions") + "/" (server/conversation.ts:647-648).
  • On Windows, join produces backslashes. A path herdr reports as C:\Users\…\.omp\agent\sessions\….jsonl would therefore be refused with no_session_path. This assumes herdr reports a native path; it was not checked on a PC.

codex (smaller)

  • Its open-fd fallback reads /proc (server/codex.ts:726). agent.get and the state database come first. Not checked on Windows.

Expected

The chat lens finds the transcript of a gjc or omp pane on a Windows PC, as it does on Linux and macOS.

Ideas

  • Check containment with path.relative or path.sep rather than a literal /.
  • On Windows, take gjc's running from the shell's descendants (windowsProcessTable + descendantArgv, as startShellAgent does), and let the screen-text match decide. Do the same for the sidebar mark.
  • Add unit tests with path.win32 paths.

Activity

  1. added a commit that references this issue on Oct 1, 2026
    87ba715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions