Skip to content

feat(cli): resume non-interactive sessions - #755

Merged
likun666661 merged 1 commit into
apache:mainfrom
likun666661:issue-730-slice4-resume-run
Jul 12, 2026
Merged

likun666661 merged 1 commit into
apache:mainfrom
likun666661:issue-730-slice4-resume-run

Conversation

@likun666661

Copy link
Copy Markdown
Member

Summary

  • add maka run --resume <session-id> while preserving the stored session identity, connection, model, thinking level, and permission mode
  • add cwd-scoped --continue selection over non-archived active/aborted sessions with deterministic lastMessageAt descending and session-id ascending ordering
  • canonicalize stored and requested cwd values for comparison, reject missing/inaccessible or conflicting paths, and use the canonical cwd at runtime without rewriting the stored header
  • reject incompatible backends, interactive ask sessions, conflicting explicit configuration, missing sessions, and empty continue selections as preflight exit 2

Part of #730 (Slice 4).

Testing

  • focused session-selection, process-boundary, and runtime-bootstrap tests (41 passed)
  • npm --workspace maka-agent test (285 passed)
  • npm run typecheck
  • git diff --check upstream/main...HEAD

@likun666661
likun666661 merged commit 8d4b3aa into apache:main Jul 12, 2026
3 checks passed
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