Skip to content

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

Open
Yeachan-Heo wants to merge 2 commits into
omacom:quattrofrom
Yeachan-Heo:add-gjc-coding-agent
Open

Yeachan-Heo wants to merge 2 commits 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

gaebal-gajae added 2 commits October 25, 2026 04:01
- 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 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.

Findings

  1. P1 Translation check fails ▶
  2. P2 Existing agent icons disappear ▶
  3. P2 Config check repeats the edit ▶

Summary

Adds Gajae Code as a selectable default agent.

  • Gajae Code can be selected and launched as the 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"},

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

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

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 Config check repeats the edit

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.

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)

@omarchybot omarchybot added the enhancement New feature or request label Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants