Skip to content

Commit dba013b

Browse files
committed
feat: refactor agent integrations into a modular system and remove legacy integration directories
1 parent e75111c commit dba013b

47 files changed

Lines changed: 2265 additions & 1615 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- **Expanded Tool Registry**: Added granular `cargo` subcommand support and new tool categories for Database, Mobile, Cloud, and CI/CD toolchains with accurate distiller routing.
1515

1616
### Improved
17+
- **OpenClaw Portability**: The OpenClaw integration natively fetches plugin files directly from the public GitHub repository, allowing successful 1-click installation without requiring a full local git repository clone.
1718
- **Robust RegEx Generation (`omni learn`)**: Fixed a critical bug where auto-learned numeric patterns used literal `#` instead of functional `\d+` in generated TOML filters. Now delegates TOML string escaping to the `toml` crate for correctness.
1819
- **Enhanced Verify Report (`omni learn --verify`)**: Results are now grouped by source (Built-in vs. User), with clear per-category pass/fail counts and actionable tips when user-learned filters fail.
1920
- **Auto-Clear Learn Queue**: `omni learn --apply` now automatically clears `~/.omni/learn_queue.jsonl` after successful application, preventing stale data from polluting subsequent `--discover` runs.
@@ -23,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2324
- **Filter Loading**: Made `match_command` optional in `FilterConfig`, gracefully skipping filters with empty or missing patterns instead of crashing.
2425

2526
### Fixed
27+
- **Learned Filters Concurrency (`learned.toml`)**: Replaced seconds-based timestamp resolution with `timestamp_micros()` for auto-generated filters to prevent fatal TOML duplication parse errors during high-frequency concurrent learning (fixes the infinite `doctor --fix` `.bak` failure loop).
2628
- **Test Regression (`test_claude_code_stdout_format`)**: Resolved a persistent CI failure caused by state contamination from user-learned filters leaking into the test environment.
2729
- **Stats UX Hint**: Added `--all-commands` usage hint to `omni stats` when showing truncated top-10 results.
2830

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ By default, `omni init --claude` automatically hooks into **Claude Code**. Howev
154154

155155
1. **VS Code & Continue.dev**: Use our MCP context provider (`integrations/continue-dev/`).
156156
2. **OpenCode & Codex CLI**: Built-in wrappers automatically pipe command output to OMNI.
157-
3. **Generic Webhook (Antigravity IDE etc)**: Run `omni serve --port=7891` to launch an ultra-lightweight local HTTP server for agents to drop payloads into OMNI.
157+
3. **Antigravity IDE**: OMNI natively supports IDEs like Antigravity via MCP over stdio. Just import the plugin manifest (`integrations/antigravity/antigravity.plugin.json`).
158158

159159
**Multi-Agent Tuning (`~/.omni/config.toml`)**
160160
Different agents have different pain points. Keep VS Code chat clean, whilst letting OpenCode read more data. Tune them individually:

docs/HOW_TO_USE.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,10 +898,20 @@ omni init # Interactive Menu for any AI Agent
898898

899899
# Or bypass the menu for a specific agent
900900
omni init --claude # Full Setup for Claude Code (Hooks + MCP)
901-
omni init --vscode # Setup for VS Code Continue.dev
901+
omni init --cursor # Setup for Cursor AI
902+
omni init --zed # Setup for Zed Editor
903+
omni init --cline # Setup for Cline
904+
omni init --roo # Setup for Roo Code
905+
omni init --copilot # Setup for GitHub Copilot CLI
906+
omni init --gemini # Setup for Gemini CLI
902907
omni init --opencode # Setup for OpenCode plugin
903908
omni init --codex # Setup for Codex CLI
909+
omni init --openclaw # Setup for OpenClaw plugin
910+
omni init --antigravity# Setup for Antigravity IDE
911+
912+
# Claude-specific utilities
904913
omni init --mcp # Setup Claude MCP Server only
914+
omni init --hook # Setup Claude hooks only
905915
omni init --status # Check Claude installation status
906916
omni init --uninstall # Remove all OMNI components from Claude
907917
```
@@ -1178,7 +1188,7 @@ OMNI is designed to be the "Intelligence Layer" for multiple agent frameworks.
11781188
You can use OMNI natively with OpenClaw by installing the official skill from ClawHub:
11791189
- **ClawHub**: [OMNI Semantic Signal Engine](https://clawhub.ai/fajarhide/omni-signal-engine)
11801190
- **Install Command**: `clawhub install omni-signal-engine`
1181-
- **Manual Install**: `openclaw plugins install ./integrations/openclaw`
1191+
- **Automatic Setup**: OpenClaw integration is completely automatic. Run `omni doctor --fix` to fetch and install the latest plugin directly from the OMNI public repository.
11821192

11831193
---
11841194

integrations/antigravity/README.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

integrations/antigravity/antigravity.plugin.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

integrations/codex-cli/README.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

integrations/codex-cli/install.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.

integrations/continue-dev/README.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

integrations/continue-dev/dist/index.d.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)