Skip to content

fix: restore amp sessions and harden cursor resume#41

Open
fastestdevalive wants to merge 1 commit into
gb-personalfrom
feat/ampcode-fix
Open

fix: restore amp sessions and harden cursor resume#41
fastestdevalive wants to merge 1 commit into
gb-personalfrom
feat/ampcode-fix

Conversation

@fastestdevalive
Copy link
Copy Markdown
Owner

Summary

  • add Amp restore support via getRestoreCommand() so restored AO sessions continue the latest Amp thread (amp threads continue --last)
  • enforce Cursor force mode in managed runs by updating launch/restore commands to use agent --force and agent --force --continue
  • extend agent plugin tests for Amp/Cursor restore and command generation behavior, and update the feature plan with the final implementation decisions

Test plan

  • pnpm --filter @composio/ao-plugin-agent-amp test
  • pnpm --filter @composio/ao-plugin-agent-cursor test
  • pnpm build
  • pnpm lint (warnings only, no errors)
  • pnpm typecheck (fails in pre-existing core test-utils typing mismatch unrelated to this change)
  • pnpm test (fails in pre-existing opencode integration expectations unrelated to this change)

Issue: ampcode-fix

Made with Cursor

…fix)

Ensure restored Amp sessions continue the latest thread instead of launching a fresh chat, and enforce Cursor force mode on launch/restore to avoid interactive trust interruptions during managed session recovery.

Made-with: Cursor
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