Skip to content

Add Gajae Code (gjc) as a selectable default agent - #16551

Closed
Yeachan-Heo wants to merge 1 commit into
omacom:quattrofrom
Yeachan-Heo:add-gjc-coding-agent
Closed

Yeachan-Heo wants to merge 1 commit into
omacom:quattrofrom
Yeachan-Heo:add-gjc-coding-agent

Conversation

@Yeachan-Heo

Copy link
Copy Markdown

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

  • bin/omarchy-default-agent: Add gjc case with npm:@gajae-code/coding-agent package
  • bin/omarchy-agent: Add gjc command launching with prompt support
  • default/omarchy/omarchy-menu.jsonc: Add setup.default.agent.gjc menu entry
  • manual/17-ai.md: Add gjc to the AI agents table with link
  • etc/mise/conf.d/omarchy-tools.toml: Add npm:@gajae-code/coding-agent as lazy-installable tool with 4h auto-update
  • test/shell.d/default-agent-test.sh: Add comprehensive test coverage mirroring other agents

Implementation Details

gjc is configured as an npm-backed lazy tool that:

  • Installs on first use from npm registry
  • Updates itself every 4 hours before running
  • Supports the standard Omarchy agent launching patterns
  • Accepts optional prompts via the -- separator
  • Appears in Setup > Defaults > Agent menu

All tests pass with updated counts for tool quantities.


gaebal-gajae

- 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.
@greptile-apps

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[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.

Findings

  1. P1 Translation check fails ▶
  2. P2 Existing icons disappear ▶
  3. P2 Test checks text only ▶

Summary

Adds Gajae Code as a selectable default agent.

  • Users can choose Gajae Code as their default coding 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"},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Translation check fails

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"},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Existing icons disappear

Adding Gajae Code also clears the existing Grok and Hermes icons. Empty icon values hide their glyphs, so both existing choices lose their icons. Restore those two values; adding gjc does not require changing them.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Test checks text only

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.

Suggested change
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!

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