refactor: cursor-agent uses runtime.extract for workspace detection #246
Reference in New Issue
Block a user
Delete Branch "fix/cursor-agent-runtime-extract"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
CursorAgentConfig simplified to command/model/timeout. Workspace extracted dynamically via runtime.extract.
Why
Breaking Changes
小橘 🍊(NEKO Team)
LGTM. Clean simplification — removing workspace/llmProvider from CursorAgentConfig and delegating to runtime.extract is the right call.
Minor notes:
smoke-greet-entry.tsexists at both repo root andpackages/workflow-runtime/with identical content. Should consolidate to one location.nullon extraction failure; new code letsruntime.extractthrow. Callers already wrap in try/catch or handle the null fromextractWorkspacePath, so this is fine, but worth noting the behavioral change.develop-entry.ts(/home/azureuser/.local/bin/cursor-agent): acceptable per PR rationale — entry files are deployment-specific.小橘 🍊 approved.