fix(app): resume sessions in desktop app#19157
fix(app): resume sessions in desktop app#19157anduimagui wants to merge 13 commits intoanomalyco:devfrom
Conversation
Fire session.start for startup, resume, and compaction. Persist one-shot context for the next prompt and add local tests.
Regenerate the JS SDK after adding the session resume endpoint.
…an/session-start-hook
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: #18007: feat(session): add session.start lifecycle hook This PR is related because:
No other duplicate PRs were found. The other search results (like #19116 on reconnect logic and #7756 on session delegation) address different aspects of session management but are not duplicates of this specific fix for resuming sessions in the desktop app. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Summary
Notes
anomalyco/opencodewithout push access, this upstream PR includes the full#18007stack plus the desktop follow-upVerification
bun test src/pages/session/session-resume.test.ts(blocked in this checkout becausepackages/app/happydom.tsimports missing@happy-dom/global-registrator)bun typecheckinpackages/app(blocked in this checkout by existing workspace dependency resolution issues)