feat(init): add support for kilocode and antigravity agents#802
feat(init): add support for kilocode and antigravity agents#802aeppling merged 1 commit intortk-ai:developfrom
Conversation
📊 Automated PR Analysis
SummaryAdds support for two new agent targets (Kilo Code and Google Antigravity) to the Review Checklist
Analyzed automatically by wshm · This is an automated analysis, not a human review. |
c0ef338 to
f16400e
Compare
|
Hey We are cleaning up the codebase and improving the project structure for better onboarding. As part of this effort, PR #826 reorganizes No logic changes — only file moves and import path updates. What you need to doRebase your branch on git fetch origin && git rebase origin/developGit detects renames automatically. If you get import conflicts, update the paths: use crate::git; // now: use crate::cmds::git::git;
use crate::tracking; // now: use crate::core::tracking;
use crate::config; // now: use crate::core::config;
use crate::init; // now: use crate::hooks::init;
use crate::gain; // now: use crate::analytics::gain;Need help rebasing? Tag @aeppling |
f16400e to
f3f4993
Compare
|
Hi @aeppling, thanks for the heads up! I've successfully fetched the latest Let me know if everything looks good on your end or if there's anything else needed. Thanks! |
f3f4993 to
f72f7c5
Compare
|
Hello, currently focusing on some priority fix, we will come back to this asap for implementation Just a quick insight but from docs https://antigravity.google/docs/rules-workflows the path for antigravity rules is .agents/ not agent/ |
f72f7c5 to
be70468
Compare
|
Hey @aeppling, thanks for the insight on the .agents/ path , That's already fixed in this latest push (.agent/ → .agents/ to match the official docs). Also rebased on latest develop and verified locally: cargo fmt, cargo clippy --all-targets, and cargo test --all (1350 passed) all green. |
|
Hey @Yosoyepa , here is the full review to be addressed before going further, this is mostly for conformity with others integrations. Code Review Issues1. Routing pattern mismatchIssue: Routing goes through Gemini and Copilot are routed before the 2. Missing
|
|
Also waiting for #1029 to be merge, so we can add the user documentation for the new integration :) |
|
Hey, #1029 merged, could you also add those new integration to supported-agent.md in docs/guide/ please ? (also need resolve conflict with develop) |
be70468 to
cd36f1a
Compare
|
Hey @aeppling, done! Rebased on latest develop, resolved the README conflict, and added both Kilo Code and Antigravity to docs/guide/getting-started/supported-agents.md as requested. Let me know if there's anything else you'd like me to adjust. :D |
d7f8280 to
19d336f
Compare
|
Also, just got through the full code review you left — thanks for the thoroughness! I've gone ahead and addressed all 8 points in this latest push:
All local checks ( |
7a2495d to
b036ffa
Compare
|
https://github.com/rtk-ai/rtk/actions/runs/24155946709 failures from ci tests: (MACOS test) ---- hooks::init::tests::test_antigravity_mode_creates_rules_file stdout ---- thread 'hooks::init::tests::test_antigravity_mode_creates_rules_file' (17539) panicked at src/hooks/init.rs:2776:33: Caused by: ---- hooks::init::tests::test_kilocode_mode_creates_rules_file stdout ---- RTK configured for Kilo Code. Rules: .kilocode/rules/rtk-rules.md (installed) thread 'hooks::init::tests::test_kilocode_mode_creates_rules_file' (17566) panicked at src/hooks/init.rs:2752:9: failures: test result: FAILED. 1360 passed; 2 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.52s error: test failed, to rerun pass |
|
Thanks for flagging that, @aeppling! That macOS failure was caused by the tests using Already fixed in the latest push ( I noticed Cline and Windsurf don't currently have unit tests, so there wasn't an existing pattern to follow here. Does this |
Add rtk init --agent kilocode and rtk init --agent antigravity commands. Kilo Code: installs .kilocode/rules/rtk-rules.md (project-scoped) Google Antigravity: installs .agents/rules/antigravity-rtk-rules.md (project-scoped) Both follow the same prompt-level guidance pattern as Cline and Windsurf, using rules files that instruct the agent to prefix shell commands with rtk.
b036ffa to
d0a3797
Compare
|
Hey, Indeed those does not currently have unit test, my bad, i'm ok with this approach, we'll need to update others Thanks for contributing @Yosoyepa |
|
Awesome, thanks for the merge and for the detailed review! I really appreciate the time you took to guide me and help align the code with the project's standards. It was a fantastic first contribution experience for me. |
|
Hi guys, is it worth waiting for Antigravity support to be added in new RTK versions so that everything works without errors? |
Add support for generating rules for Kilo Code and Google Antigravity via
rtk init.Summary
AgentTargetto support--agent kilocodeand--agent antigravity..kilocode/rules/rtk-rules.mdand .agent/rules/antigravity-rtk-rules.md).init::runconsole outputs consistent and free of emojis to strictly follow the project's formatting conventions.Test plan
cargo fmt --all && cargo clippy --all-targets && cargo testrtk <command>output inspected (Successfully testedrtk gain,rtk git statuslocally to ensure the new settings inject and reduce token usage without issues).