Repository navigation
Add Gajae Code (gjc) as a selectable default agent - #16551
Yeachan-Heo wants to merge 1 commit into
Conversation
- Add gjc to bin/omarchy-default-agent with npm:@gajae-code/coding-agent package - Add gjc command handling in bin/omarchy-agent following Grok's pattern - Add menu entry for gjc in setup.default.agent - Add gjc to AI agents table in manual/17-ai.md - Add gjc to mise config in etc/mise/conf.d/omarchy-tools.toml - Add comprehensive test coverage in test/shell.d/default-agent-test.sh - Update test counts for lazy tools to account for new agent Follows the pattern established by Kimi (PR omacom#7261) and mirrors Oh My Pi (omp). Gjc is an npm-backed lazy tool that updates itself every 4 hours.
[Medium impact] The changes stay within the coding-agent selection and launch workflow. Fix the missing English catalog entry and remove the prohibited config-text assertion before merging. FindingsSummaryAdds Gajae Code as a selectable default agent.
Reviews (1) · Last reviewed commit: "Add Gajae Code (gjc) as a selectable def..." · Reviewed by Greptile |
| "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, | ||
| "setup.default.agent.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"}, | ||
| "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, | ||
| "setup.default.agent.gjc": {"icon":"","iconFont":"omarchy","label":"Gajae Code","checked":"[[ \"$(omarchy-default-agent)\" == \"gjc\" ]]","action":"omarchy-default-agent gjc"}, |
There was a problem hiding this comment.
The new setup.default.agent.gjc row has no matching entry in default/i18n/en/menu.json. i18n-test.sh requires every menu row to have an English catalog entry, so the PR's translation check will fail. Add the matching label to the English catalog, as required by docs/i18n.md.
File Used: docs/i18n.md (source)
| "setup.default.agent.freebuff": {"icon":"","iconFont":"omarchy","label":"Freebuff","checked":"[[ \"$(omarchy-default-agent)\" == \"freebuff\" ]]","action":"omarchy-default-agent freebuff"}, | ||
| "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, | ||
| "setup.default.agent.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"}, | ||
| "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, |
| fail "user setup declares $tool as a native lazy tool" | ||
| done | ||
| for tool in codex claude copilot opencode pi "\"$kimi_package\""; do | ||
| for tool in codex claude copilot opencode pi "\"$gjc_package\"" "\"$kimi_package\""; do |
There was a problem hiding this comment.
Adding gjc_package to this loop only checks the text of the declaration just added. AGENTS.md explicitly prohibits tests that grep source or config for the new string. Remove this added text check before merging; keep the tests that exercise agent selection and launch arguments.
| for tool in codex claude copilot opencode pi "\"$gjc_package\"" "\"$kimi_package\""; do | |
| for tool in codex claude copilot opencode pi "\"$kimi_package\""; do |
File Used: AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Add Gajae Code (gjc) as a selectable default coding agent, following the pattern established by Kimi (PR #7261) and mirroring Oh My Pi (omp).
Changes
Implementation Details
gjc is configured as an npm-backed lazy tool that:
All tests pass with updated counts for tool quantities.
gaebal-gajae