Repository navigation
Add Gajae Code (gjc) as a selectable default agent - #16552
Yeachan-Heo wants to merge 2 commits 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 change reaches Omarchy’s default-agent selection and launch flow. Fix the missing English catalog entry and remove the prohibited config-only assertion before merging. FindingsSummaryAdds Gajae Code as a selectable default agent.
Reviews (1) · Last reviewed commit: "Link Gajae Code to its repository" · 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. The translation check requires every menu row to appear there, so this PR fails i18n-check. The repository guide also requires menu labels to be mirrored in the English catalog. Add "setup.default.agent.gjc": {"label": "Gajae Code"} there; other languages can follow through the translation workflow.
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"}, |
There was a problem hiding this comment.
Existing agent icons disappear
This change clears the existing Grok and Hermes icons while adding Gajae Code. Users lose their familiar visual markers in the agent picker. Keep their previous icon values, and , unchanged.
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!
| 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 that the config contains the declaration added by this PR. AGENTS.md explicitly forbids tests that grep the edited config to confirm the edit exists. Remove this added source check before merging, and keep the tests that exercise agent selection and launch.
| 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)
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