Skip to content

feat: add Cline, Antigravity extension, project filter, and stale agent fix#37

Closed
Solar2004 wants to merge 16 commits into
aannoo:mainfrom
Solar2004:main
Closed

feat: add Cline, Antigravity extension, project filter, and stale agent fix#37
Solar2004 wants to merge 16 commits into
aannoo:mainfrom
Solar2004:main

Conversation

@Solar2004
Copy link
Copy Markdown

@Solar2004 Solar2004 commented May 3, 2026

Summary

Adds Cline CLI integration (full tool support) and Antigravity (Google VS Code fork) extension bridge, plus TUI improvements and bug fixes.

New tools

  • Cline CLI - full integration with hooks, PTY launcher, config, TUI
  • Antigravity - VS Code extension bridge (hcom hooks add antigravity)

TUI

  • Project filter - press F to filter agent list by project
  • Detail pane shows @project #tag info

Fixes

  • Stale agents - bootstrap no longer shows closed agents as active (uses computed status)

Solar2004 added 8 commits May 3, 2026 11:52
- Add Kilo enum variant to tool.rs with kilo-start/status/read/stop hooks
- Create hooks/kilo.rs with full lifecycle handlers (start, status, read, stop)
- Create tools/kilo_preprocessing.rs for hcom bash auto-approval env vars
- Add LaunchTool::Kilo to launcher.rs with PTY dispatch and plugin check
- Add kilo to bootstrap.rs spawn list and delivery auto-check
- Add kilo_args field to config.rs with HCOM_KILO_ARGS env and [launch.kilo] toml
- Add kilo to router.rs LAUNCH_TOOLS and hook dispatch
- Add kilo to commands/launch.rs preview and arg merging
- Create hcom_kilo.ts plugin (kilocode-specific adaptation of hcom.ts)
- Handle cross-agent merge conflicts with KiloCode naming
…mpts via .hcom/agents/

- Add --agent-name flag to launch CLI (commands/launch.rs)
- Wire through to launcher LaunchParams.name (already existed)
- Create agent_prompts.rs module for loading ~/.hcom/agents/<name>.md
- Inject agent prompt into bootstrap (bootstrap.rs)
- Inject agent prompt on compaction in both hcom.ts and hcom_kilo.ts plugins
- Ensure agents dir created on launch
…eate .hcom/agents/ files for spawned sub-agents
Agents with the same project only see each other's messages. Agents
with no project label see everyone (backward compatible).

- DB schema v18 adds instances.project column
- SenderIdentity carries project, auto-resolved from instance data
- compute_scope() filters instances by project boundary
- hcom send --project X and hcom list --project X flags
On startup, hcom now scans all non-inactive instances with tracked PIDs.
If the PID is no longer alive (e.g. after system reboot), it saves a
life.stopped snapshot (compatible with hcom r <name>) and cleans up
bindings. Hook-based agents without PIDs are handled by existing
heartbeat staleness detection.

- mark_dead_instances() in instance_lifecycle.rs
- Called from main.rs before router::dispatch()
@Solar2004 Solar2004 force-pushed the main branch 2 times, most recently from 122099d to 94941ee Compare May 3, 2026 15:17
Solar2004 added 7 commits May 3, 2026 17:04
Add Cline as a supported AI coding CLI in hcom (like Claude, Gemini, Codex,
OpenCode, Kilo). Includes Tool enum, LaunchTool, PTY launcher, embedded
hook scripts, config support, help entries, status checks, TUI support,
and integration tests.
…lter to TUI

- bootstrap.rs: replace broken status_time>=cutoff filter with
  get_instance_status() computed status — stopped agents no longer
  appear as active to new agents
- TUI: add project filter overlay (F key) to filter agent list by project
- TUI: show @project #tag in agent detail pane
- Create hcom-bridge VS Code extension that spawns hcom listen as
  child process and bridges messages bidirectionally via:
  * antigravityExtensibility.sendToAgentPanel() — hcom -> Jetski
  * vscode.chat.createChatParticipant(@hcom) — Jetski -> hcom
  * hcomClient.ts — child process mgmt for hcom listen
  * jetskiBridge.ts — status bar, commands, message forwarding
- Embed compiled extension (~13KB) in Rust via include_str!
- Add src/hooks/antigravity.rs — install/verify/remove/ensure
- Wire hcom hooks add/remove/status antigravity
- Add build.sh for extension compilation
- Document in antigravity-integration.md
@Solar2004 Solar2004 changed the title feat: add kilo agent support to hcom feat: add Cline, Antigravity extension, project filter, and stale agent fix May 3, 2026
@Solar2004
Copy link
Copy Markdown
Author

Replacing with cleaner branch (no fork URL changes, no version bumps)

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