Repository navigation
Add Gajae Code (gjc) as a selectable default agent #16551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -206,8 +206,9 @@ | |
| "setup.default.agent.dsh": {"icon":"","iconFont":"omarchy","label":"DeepSeek Harness","checked":"[[ \"$(omarchy-default-agent)\" == \"dsh\" ]]","action":"omarchy-default-agent dsh"}, | ||
| "setup.default.agent.devin": {"icon":"","iconFont":"omarchy","label":"Devin CLI","checked":"[[ \"$(omarchy-default-agent)\" == \"devin\" ]]","action":"omarchy-default-agent devin"}, | ||
| "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"}, | ||
| "setup.default.agent.gjc": {"icon":"","iconFont":"omarchy","label":"Gajae Code","checked":"[[ \"$(omarchy-default-agent)\" == \"gjc\" ]]","action":"omarchy-default-agent gjc"}, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new File Used: |
||
| "setup.default.agent.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"}, | ||
| "setup.default.agent.kilo": {"icon":"","iconFont":"omarchy","label":"Kilo","checked":"[[ \"$(omarchy-default-agent)\" == \"kilo\" ]]","action":"omarchy-default-agent kilo"}, | ||
| "setup.default.agent.kimi": {"icon":"","iconFont":"omarchy","label":"Kimi","checked":"[[ \"$(omarchy-default-agent)\" == \"kimi\" ]]","action":"omarchy-default-agent kimi"}, | ||
| "setup.default.agent.kiro-cli": {"icon":"","iconFont":"omarchy","label":"Kiro CLI","checked":"[[ \"$(omarchy-default-agent)\" == \"kiro-cli\" ]]","action":"omarchy-default-agent kiro-cli"}, | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -147,6 +147,7 @@ export OMARCHY_PATH="$ROOT" | |||||
| export OMARCHY_MISE_CONFIG_PATH="$test_tmp/etc/mise/config.toml" | ||||||
|
|
||||||
| grok_package="grok" | ||||||
| gjc_package="npm:@gajae-code/coding-agent" | ||||||
| omp_package="oh-my-pi" | ||||||
| crush_package="crush" | ||||||
| agy_package="antigravity-cli" | ||||||
|
|
@@ -183,6 +184,7 @@ assert_lazy_stub() { | |||||
| } | ||||||
|
|
||||||
| assert_lazy_stub "$grok_package" grok | ||||||
| assert_lazy_stub "$gjc_package" gjc | ||||||
| assert_lazy_stub "$omp_package" omp | ||||||
| assert_lazy_stub "$crush_package" crush | ||||||
| assert_lazy_stub "$ori_package" ori | ||||||
|
|
@@ -204,7 +206,7 @@ for tool in "$ori_package" basecamp; do | |||||
| grep -Eq "^$tool = \\{ version = \"latest\", lazy = true, minimum_release_age = \"0s\" \\}$" "$lazy_config" || | ||||||
| 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 | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding
Suggested change
File Used: 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! |
||||||
| grep -Eq "^$tool = \\{ version = \"latest\", lazy = true, auto_update = \"4h\", " "$lazy_config" || | ||||||
| fail "user setup declares $tool as a self-updating native lazy tool" | ||||||
| done | ||||||
|
|
@@ -242,12 +244,12 @@ for agent in "${!declared_option_bins[@]}"; do | |||||
| fail "user setup declares ${!tool_var} with ${option%%=*} inside its table" | ||||||
| done | ||||||
| done | ||||||
| [[ $(grep -c 'auto_update = "4h"' "$lazy_config") == 21 ]] || fail "only the agent CLIs update themselves" | ||||||
| [[ $(grep -c 'auto_update = "4h"' "$lazy_config") == 22 ]] || fail "only the agent CLIs update themselves" | ||||||
| for tool in node uv; do | ||||||
| grep -Eq "^$tool = \\{ version = \"latest\", lazy = true, minimum_release_age = \"0s\" \\}$" "$lazy_config" || | ||||||
| fail "user setup declares $tool as a native lazy tool" | ||||||
| done | ||||||
| [[ $(grep -c 'lazy = true' "$lazy_config") == 31 ]] || fail "user setup declares every default mise tool as lazy" | ||||||
| [[ $(grep -c 'lazy = true' "$lazy_config") == 32 ]] || fail "user setup declares every default mise tool as lazy" | ||||||
| grep -Fx "reshim --system" "$mise_history" >/dev/null || fail "user setup builds the system lazy bootstrap shims" | ||||||
| pass "user setup configures system lazy tools from registry shorthands" | ||||||
| : >"$stub_log" | ||||||
|
|
@@ -337,6 +339,8 @@ declare -A expected_agents=( | |||||
| [codex]="codex" | ||||||
| [crush]="crush" | ||||||
| [grok]="grok" | ||||||
| [gjc]="gjc" | ||||||
| [gajae-code]="gjc" | ||||||
| [agy]="agy" | ||||||
| [antigravity]="agy" | ||||||
| [antigravity-cli]="agy" | ||||||
|
|
@@ -383,6 +387,7 @@ declare -A expected_packages=( | |||||
| [codex]="codex" | ||||||
| [crush]="$crush_package" | ||||||
| [grok]="$grok_package" | ||||||
| [gjc]="$gjc_package" | ||||||
| [agy]="$agy_package" | ||||||
| [copilot]="copilot" | ||||||
| [kimi]="$kimi_package" | ||||||
|
|
@@ -720,6 +725,7 @@ assert_launch codex env -u CODEX_HOME OMARCHY_AGENT_CODEX_HOME= codex --approve- | |||||
| assert_launch muse muse --approval-mode never -- "Review this project" | ||||||
| assert_launch crush crush run "Review this project" | ||||||
| assert_launch grok env -u GROK_HOME OMARCHY_AGENT_GROK_HOME= grok --permission-mode bypassPermissions -- "Review this project" | ||||||
| assert_launch gjc gjc -- "Review this project" | ||||||
| assert_launch cursor-agent cursor-agent --yolo --trust agent -- "Review this project" | ||||||
| assert_launch hermes env -u HERMES_SESSION_SOURCE hermes chat --yolo --tui "--query=Review this project" | ||||||
| assert_launch agy agy --dangerously-skip-permissions --prompt-interactive "Review this project" | ||||||
|
|
@@ -773,6 +779,7 @@ assert_bypass codex env -u CODEX_HOME OMARCHY_AGENT_CODEX_HOME= codex --approve- | |||||
| assert_bypass muse muse --approval-mode never | ||||||
| assert_bypass crush crush --yolo | ||||||
| assert_bypass grok env -u GROK_HOME OMARCHY_AGENT_GROK_HOME= grok --permission-mode bypassPermissions | ||||||
| assert_bypass gjc gjc | ||||||
| assert_bypass cursor-agent cursor-agent --yolo --trust | ||||||
| assert_bypass hermes hermes --yolo | ||||||
| assert_bypass agy agy --dangerously-skip-permissions | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding Gajae Code also clears the existing Grok and Hermes icons. Empty
iconvalues hide their glyphs, so both existing choices lose their icons. Restore those two values; addinggjcdoes not require changing them.