Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/amp/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"amp.url": "http://localhost:8317"
"amp.url": "https://ampcode.com"

@cubic-dev-ai cubic-dev-ai Bot Apr 13, 2026

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: Keep AMP pointed at the local proxy. This change bypasses the repository’s localhost:8317 integration and sends requests straight to the upstream service instead.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At config/amp/settings.json, line 2:

<comment>Keep AMP pointed at the local proxy. This change bypasses the repository’s `localhost:8317` integration and sends requests straight to the upstream service instead.</comment>

<file context>
@@ -1,3 +1,3 @@
 {
-  "amp.url": "http://localhost:8317"
+  "amp.url": "https://ampcode.com"
 }
</file context>
Suggested change
"amp.url": "https://ampcode.com"
"amp.url": "http://localhost:8317"
Fix with Cubic

}
5 changes: 5 additions & 0 deletions config/claude/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"cleanupPeriodDays": 99999,
"effortLevel": "high",
"env": {
"AIKIDO_DISABLE": "true",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-6",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
"CLAUDE_CODE_DISABLE_1M_CONTEXT": "1",
"CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING": "1",
"CLAUDE_CODE_DISABLE_AUTO_MEMORY": "1",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"CLAUDE_CODE_SUBAGENT_MODEL": "sonnet",
"NO_COLOR": "1",
"SAFE_CHAIN_LOGGING": "silent",
"TURBO_NO_UPDATE_NOTIFIER": "1"
Expand Down
24 changes: 12 additions & 12 deletions config/cliproxyapi/config.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ quota-exceeded:
# When true, enable authentication for the WebSocket API (/v1/ws).
ws-auth: false
# AMP integration
ampcode:
upstream-url: "https://ampcode.com"
upstream-api-key: "__AMP_UPSTREAM_API_KEY__"
restrict-management-to-localhost: false
# Map non-prefixed model names to antigravity provider's gemini-prefixed models
model-mappings:
- from: "claude-opus-4-5-thinking"
to: "gemini-claude-opus-4-5-thinking"
- from: "claude-sonnet-4-6"
to: "gemini-claude-sonnet-4-6"
- from: "claude-sonnet-4-6-thinking"
to: "gemini-claude-sonnet-4-6-thinking"
# ampcode:
# upstream-url: "https://ampcode.com"

@cubic-dev-ai cubic-dev-ai Bot Apr 13, 2026

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: The commented AMP template lost its YAML indentation, so uncommenting it produces an invalid or mis-scoped config.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At config/cliproxyapi/config.template.yaml, line 42:

<comment>The commented AMP template lost its YAML indentation, so uncommenting it produces an invalid or mis-scoped config.</comment>

<file context>
@@ -39,17 +39,17 @@ quota-exceeded:
-      # to: "gemini-claude-sonnet-4-6"
-    # - from: "claude-sonnet-4-6-thinking"
-      # to: "gemini-claude-sonnet-4-6-thinking"
+# upstream-url: "https://ampcode.com"
+# upstream-api-key: "__AMP_UPSTREAM_API_KEY__"
+# restrict-management-to-localhost: false
</file context>
Fix with Cubic

# upstream-api-key: "__AMP_UPSTREAM_API_KEY__"
# restrict-management-to-localhost: false
# Map non-prefixed model names to antigravity provider's gemini-prefixed models
# model-mappings:
# - from: "claude-opus-4-5-thinking"
# to: "gemini-claude-opus-4-5-thinking"
# - from: "claude-sonnet-4-6"
# to: "gemini-claude-sonnet-4-6"
# - from: "claude-sonnet-4-6-thinking"
# to: "gemini-claude-sonnet-4-6-thinking"
# Gemini API keys (preferred)
# gemini-api-key:
# - api-key: "AIzaSy...01"
Expand Down
24 changes: 12 additions & 12 deletions config/cliproxyapi/config.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ quota-exceeded:
# When true, enable authentication for the WebSocket API (/v1/ws).
ws-auth: false
# AMP integration
ampcode:
upstream-url: "https://ampcode.com"
upstream-api-key: "__AMP_UPSTREAM_API_KEY__"
restrict-management-to-localhost: false
# Map non-prefixed model names to antigravity provider's gemini-prefixed models
model-mappings:
- from: "claude-opus-4-5-thinking"
to: "gemini-claude-opus-4-5-thinking"
- from: "claude-sonnet-4-6"
to: "gemini-claude-sonnet-4-6"
- from: "claude-sonnet-4-6-thinking"
to: "gemini-claude-sonnet-4-6-thinking"
# ampcode:
# upstream-url: "https://ampcode.com"
# upstream-api-key: "__AMP_UPSTREAM_API_KEY__"
# restrict-management-to-localhost: false
# Map non-prefixed model names to antigravity provider's gemini-prefixed models
# model-mappings:
# - from: "claude-opus-4-5-thinking"
# to: "gemini-claude-opus-4-5-thinking"
# - from: "claude-sonnet-4-6"
# to: "gemini-claude-sonnet-4-6"
# - from: "claude-sonnet-4-6-thinking"
# to: "gemini-claude-sonnet-4-6-thinking"
# Gemini API keys (preferred)
# gemini-api-key:
# - api-key: "AIzaSy...01"
Expand Down
39 changes: 1 addition & 38 deletions config/factory/config.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,3 @@
{
"custom_models": [
{
"model": "claude-opus-4-5-20251101",
"base_url": "http://127.0.0.1:8317/v1",
"api_key": "sk-dummy",
"provider": "anthropic"
},
{
"model": "claude-haiku-4-5-20251001",
"base_url": "http://127.0.0.1:8317/v1",
"api_key": "sk-dummy",
"provider": "anthropic"
},
{
"model": "gemini-3-pro-preview",
"base_url": "http://127.0.0.1:8317/v1",
"api_key": "sk-dummy",
"provider": "antigravity"
},
{
"model": "gpt-5.1",
"base_url": "http://127.0.0.1:8317/v1",
"api_key": "sk-dummy",
"provider": "openai"
},
{
"model": "gpt-5.1-codex",
"base_url": "http://127.0.0.1:8317/v1",
"api_key": "sk-dummy",
"provider": "openai"
},
{
"model": "gpt-5.1-codex-max",
"base_url": "http://127.0.0.1:8317/v1",
"api_key": "sk-dummy",
"provider": "openai"
}
]
"completionSound": "off"
}
15 changes: 15 additions & 0 deletions config/ghostty/config
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,20 @@ keybind = ctrl+shift+z=toggle_split_zoom
keybind = ctrl+shift+e=equalize_splits
keybind = ctrl+shift+w=close_surface

# opensessions sidebar
keybind = cmd+e=text:\x02\x14
keybind = cmd+shift+o=text:\x02\x13
keybind = cmd+o>s=text:\x02\x13
keybind = cmd+o>t=text:\x02\x14
keybind = cmd+o>1=text:\x02\x1b1
keybind = cmd+o>2=text:\x02\x1b2
keybind = cmd+o>3=text:\x02\x1b3
keybind = cmd+o>4=text:\x02\x1b4
keybind = cmd+o>5=text:\x02\x1b5
keybind = cmd+o>6=text:\x02\x1b6
keybind = cmd+o>7=text:\x02\x1b7
keybind = cmd+o>8=text:\x02\x1b8
keybind = cmd+o>9=text:\x02\x1b9

# Active panel highlighting (dim unfocused splits)
unfocused-split-opacity = 0.7
4 changes: 3 additions & 1 deletion home-manager/packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,16 @@ with pkgs;
stdenv.cc.cc.lib
tailscale
trashy
vllm
xclip
xdg-utils
zlib
]
++ lib.optionals (stdenv.hostPlatform.system != "aarch64-linux") [
qwen-code
]
++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux") [
vllm
]
++ lib.optionals stdenv.isLinux [ alsa-lib ]
++ lib.optionals (stdenv.isLinux && isDesktop) [
_1password-gui
Expand Down
8 changes: 8 additions & 0 deletions home-manager/programs/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,12 @@ set -g history-limit 2147483647
# =============================================================================
run-shell ~/ghq/github.com/shunkakinoki/tmux-claude-teams/claude-teams.tmux

# =============================================================================
# TPM plugins
# =============================================================================
set -g @plugin 'Ataraxy-Labs/opensessions'

# Initialize TPM (keep at bottom)
run-shell ~/.tmux/plugins/tpm/tpm

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.

medium

Hardcoding the path to TPM (~/.tmux/plugins/tpm/tpm) is not idiomatic in a Nix-managed environment. This creates a non-hermetic dependency on external state that may not exist if TPM hasn't been manually cloned. In a Home Manager setup, it is recommended to manage tmux plugins using the programs.tmux.plugins option, which handles installation and initialization automatically.

@cubic-dev-ai cubic-dev-ai Bot Apr 13, 2026

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: This hardcoded TPM bootstrap path is not provisioned by the repository's Home Manager tmux setup, so tmux will try to source a missing script on reload/startup.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At home-manager/programs/tmux/tmux.conf, line 177:

<comment>This hardcoded TPM bootstrap path is not provisioned by the repository's Home Manager tmux setup, so tmux will try to source a missing script on reload/startup.</comment>

<file context>
@@ -168,4 +168,12 @@ set -g history-limit 2147483647
+set -g @plugin 'Ataraxy-Labs/opensessions'
+
+# Initialize TPM (keep at bottom)
+run-shell ~/.tmux/plugins/tpm/tpm
+
 # Persistent session history logger is managed by launchd/systemd.
</file context>
Fix with Cubic


# Persistent session history logger is managed by launchd/systemd.
5 changes: 3 additions & 2 deletions nix-darwin/config/homebrew.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"sheldon"
"sshpass"
"temporal"
"tmux"

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.

medium

Adding tmux to the Homebrew brews list may be redundant if it is already managed via Home Manager (as indicated by the presence of home-manager/programs/tmux/tmux.conf). Managing core utilities through Nix is generally preferred in this setup to ensure consistency and avoid potential path conflicts between Homebrew and Nix-installed binaries.

"watchexec"
"yt-dlp"
];
Expand All @@ -79,10 +80,10 @@
"block-goose"
"chatgpt"
"cmux"
"claude-code@latest"
"claude-code"

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.

medium

claude-code is a CLI tool and should likely be listed under brews rather than casks. Casks are typically reserved for GUI applications. If this is a CLI tool distributed via a tap, moving it to the brews section will ensure it is installed correctly as a formula.

"claude"
"codex-app"
"codex@latest"
"codex"

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.

medium

codex appears to be a CLI tool and should likely be moved to the brews list. The GUI version of the application is already correctly categorized as codex-app in the casks list.

"codexbar"
"conductor"
"copilot-money"
Expand Down
Loading