Skip to content

feat(draftassist): inject DraftAssistHost; stop spawning from NewHTTPHandler - #201

Merged
AlexsanderHamir merged 4 commits into
mainfrom
feat/draft-assist-inject
Aug 15, 2026
Merged

AlexsanderHamir merged 4 commits into
mainfrom
feat/draft-assist-inject

Conversation

@AlexsanderHamir

@AlexsanderHamir AlexsanderHamir commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Resolve hamix-draft-agent via HAMIX_DRAFT_AGENT_BIN, executable sibling, then PATH.
  • NewHTTPHandler takes an injected DraftAssistHost; the smoke test supplies Fake so CI never spawns the sidecar.
  • Production selection still degrades to Fake when the sidecar or CURSOR_API_KEY is missing (P2 removes that fallback).

Test plan

Notes

  • Fake runner remains a test seam. P2 makes production fail-boot; do not merge P2 onto main without P3.

AlexsanderHamir and others added 4 commits August 15, 2026 12:28
…PATH

Co-authored-by: Cursor <cursoragent@cursor.com>
…njects Fake

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@AlexsanderHamir AlexsanderHamir changed the title feat/draft assist inject feat(draftassist): inject DraftAssistHost; stop spawning from NewHTTPHandler Aug 15, 2026
@AlexsanderHamir
AlexsanderHamir merged commit b3611a1 into main Aug 15, 2026
1 of 10 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