* fix(cli): silence Cursor post-done harness "Briefly inform" turns
After AGENT_NOTIFY_SUMMARY status:done, drop notify_on_output resume
speech/tools/thinking until the next HAPI user prompt so the competing
finished-shell system ping cannot force a second user-visible reply.
Fixes#2267
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): narrow post-done silence to speech; keep soft-steer active
Address cold review + Codex P2: suppress only text/reasoning after
status:done, treat outstanding soft-steer as an active turn, and add a
launcher regression for harness-resume drops.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): discard suppressed harness buffers before next prompt
After a done close, idle-flushed harness speech stays buffered. Clear it
before reopening the silence gate so prompt()'s pre-swap drain cannot
resurrect the redundant reply (Codex P2 on #307).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): keep post-done silence through drain and handler swap
Address upstream bot Minors on #2268: suppress speech after done even
during promptInFlight drain windows, and reopen the gate only once when
promptGeneration advances after the handler swap (not before prompt()).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): seal done footer before quiet-drain harness coalescing
Address #2268 Minor: Cursor can append finished-shell speech during the
post-prompt quiet window onto the same buffer as AGENT_NOTIFY_SUMMARY
done, which hid the end-anchored footer. Seal the done segment when
flavor=cursor at native response return, and truncate buried harness
prose in the launcher as defense in depth.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): harden post-done seal against queue race and false closes
Await sessionUpdateQueue before sealing a Cursor done footer; keep note()
end-anchored; fence-aware truncate with soft-steer exemption and same-line
glue handling so examples and steered speech are not cut (#2268 Minors).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): keep seal end-anchored; harden footer scan edges
Seal only flushes end-anchored done footers (soft-steer truncate stays in
the launcher). Footer scan skips inline-code examples and tracks JSON
string/escape state so braces inside summary values do not break glue
detection (#2268 Minors).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cli): ignore tilde-fenced done-footer documentation examples
Recognize ~~~ fences with matching opener length alongside ``` so
truncate/seal defense does not treat tilde-fenced footer examples as a
real post-close (#2268 Minor).
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
The native iOS and Android apps are now published. Replace the
build-from-source install path with store links, mark the native apps as
paid and the Web/PWA as the free client, and add store buttons to the
website hero. Source builds remain documented for developers.
* feat(cursor): bump hub thinking on ACP harness wake
When Cursor resumes after idle (notify_on_output / mid-idle ACP activity
or a permission request), flip thinking via the existing session-alive
keepalive so the hub list matches reality. Fixes#1470.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cursor): emit thinking true/false edges for ACP harness wake
Address Codex Major on #1487: activity listener now reports idle as
false, and the launcher only keepalives on actual thinking transitions
so streamed chunks do not spam session-alive.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(cursor): reattach activity thinking listener after session/new remap
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
* feat(cursor): add support for Cursor Agent CLI integration
- Introduced new command `hapi cursor` to start Cursor Agent sessions.
- Added functionality for resuming sessions and managing permission modes.
- Updated documentation to include Cursor Agent usage and installation instructions.
- Enhanced existing codebase to accommodate Cursor as a recognized agent flavor.
- Implemented local and remote session handling for Cursor Agent.
This update expands HAPI's capabilities by integrating support for the Cursor Agent, allowing users to leverage its features alongside existing agents.
* Remove TODO.md file as it is no longer needed following the integration of Cursor Agent CLI support. This cleanup helps streamline project documentation and reflects the completion of the associated tasks.
* feat(cursor): implement remote mode and fix --hapi-starting-mode
- Consume --hapi-starting-mode in cursor command (do not forward to agent)
- Implement cursorRemoteLauncher: spawn agent -p with stream-json, --trust
- Add cursorEventConverter for NDJSON parsing (system/assistant/tool_call/result)
- Multi-turn via --resume session_id
- Update docs: cursor supports both local and remote modes
Made-with: Cursor
* fix: type error
* fix(cursor): address PR review - model UI, sessionId metadata, duplicate flags
- HappyComposer: use isClaudeFlavor for model mode (cursor has no model modes)
- cursorLocalLauncher: call onSessionFound for resume so cursorSessionId in metadata
- cursorCommand: do not forward parsed flags to cursorArgs (avoid duplicates)
Made-with: Cursor
Use relative paths with .md extension for docs/guide/*.md files and
relative paths in README.md to support both GitHub rendering and
VitePress website (which has base: '/docs/'). Fixes#36
- Support both local and remote server deployment
- Add direct public IP access option for remote servers
- Remove tunnel requirement messaging
- Organize remote access options with details sections
- Initialize VitePress documentation site with config, index, and guides
- Add guides for quick-start, installation, PWA, how-it-works, FAQ, and why HAPI
- Update .gitignore to exclude VitePress cache directory
- Update logo.svg with actual icon from web/public/icon.svg
- Simplify README.md with link to full installation guide
- Remove redundant WHY_NOT_HAPPY.md (content migrated to why-hapi guide)