Skip to content

fix(providers): link omo panes resumed with --session-id to their sessions - #46

Merged
devswha merged 1 commit into
mainfrom
fix/omo-session-id-linking
Aug 13, 2026
Merged

fix(providers): link omo panes resumed with --session-id to their sessions#46
devswha merged 1 commit into
mainfrom
fix/omo-session-id-linking

Conversation

@devswha

@devswha devswha commented Aug 13, 2026

Copy link
Copy Markdown
Owner

What

extractExternalResumeSessionId matched only the pi-derived --resume|-r form for omo, but omo's canonical continuation flag is --session-id — the same fact #43 established for the headless runtime in server/pi-cli.ts (omo's --resume takes no value and opens an interactive picker, so no id ever appears in argv for that form).

A tmux pane started with omo --session-id <id> therefore never linked back to its transcript session in discovery.

How

  • omo tries --session-id (space and = forms) first and keeps the pi --resume fallback for wrappers that pass it through.
  • omp is unchanged: it has no --session-id flag, and the new regex is not applied to it.

Verification

  • New focused test: extractExternalResumeSessionId links omo panes started with --session-id (both argv forms, picker form stays null, omp isolation).
  • external-cli-sessions.service.test.ts: 57/57 pass.
  • Full npm run typecheck + targeted eslint clean.

…sions

extractExternalResumeSessionId matched only the pi-derived --resume|-r form
for omo, but omo's canonical continuation flag is --session-id (its --resume
takes no value and opens a picker) -- the same fact #43 established for the
headless runtime in server/pi-cli.ts. A tmux pane started with
`omo --session-id <id>` therefore never linked back to its transcript
session. omo now tries --session-id first and keeps the --resume fallback;
omp is unchanged and never accepts --session-id.
@devswha
devswha merged commit 38b808e into main Aug 13, 2026
2 checks passed
@devswha
devswha deleted the fix/omo-session-id-linking branch August 13, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant