From 97f121c18ba86346c697aa6fb31b4aadf0ea1db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey?= Date: Sun, 5 Apr 2026 16:05:13 -0700 Subject: [PATCH 1/4] feat(glyph): add opencode-claude-auth as an opencode plugin Co-Authored-By: Claude Sonnet 4.6 --- hosts/glyph/home.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/glyph/home.nix b/hosts/glyph/home.nix index 1a3d4150..b2b8f0da 100644 --- a/hosts/glyph/home.nix +++ b/hosts/glyph/home.nix @@ -23,6 +23,7 @@ port = 8890; hostname = "0.0.0.0"; }; + plugin = ["${pkgs.opencode-claude-auth}"]; }; }; From 50d5c598be329e6e553399d473aa5ae846b14d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey?= Date: Mon, 6 Apr 2026 10:56:16 -0700 Subject: [PATCH 2/4] chore(secrets): update opencode-env secret Co-Authored-By: Claude Sonnet 4.6 --- home/secrets/opencode-env.age | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/home/secrets/opencode-env.age b/home/secrets/opencode-env.age index 1c28aa7e..544375a2 100644 --- a/home/secrets/opencode-env.age +++ b/home/secrets/opencode-env.age @@ -1,7 +1,9 @@ age-encryption.org/v1 --> ssh-ed25519 j0kEgQ h0mhqqou3c2H0SaTRedKuN0ZZDFmjxloJD6HkOn3r2U -CW4zS9B6JSwHTz/foalwTxHL+A5Hhkx39B27xdBg2IU --> ssh-ed25519 3EWhnQ 2kwHA9caPTzam6IlkNH0iIZ8JPDW1QqMUwvr6JviChg -GKcuTzkrYorOGY66bvJeZAza9hQ8yAb8v2fYh8yDw6E ---- uqY/5Y9DgAKdaPsxQeAkXNad//FiFj6JBV8OLn4AQag -LY*0,w\fh^ \ No newline at end of file +-> ssh-ed25519 j0kEgQ KRMt+ed2z3K+V896Vr0qTIQmd/6UEZFEBe9wz67/ZU8 +JzEuafhfdlrT+kLkzAxLQXK3nHwEqwdf8RYKIEXZp+Q +-> ssh-ed25519 3EWhnQ TnnDYUguFgj/Nfa5nN6dQZDZtqhgP/Zxwi03pjzP0Wk +IAWqY63I2wQJNT52zGqlXG9hkK+LXjyQY2cxRVoQxUA +--- 5Jpn5w7BqAHANnEuihIVr/WuzM3DbYA77GBouUI+hN8 + 2˳ii +cM>BS&9$Rz}}$~P=6 ȓ ̎D>ƨoҤxUE'0슻lA.؝r_ V]\N ɽb lS-d# +Z% ON \ No newline at end of file From 3404b14b123d59afb03dc809e80b1605fe4c14ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey?= Date: Mon, 6 Apr 2026 11:07:56 -0700 Subject: [PATCH 3/4] fix(glyph): remove server block from opencode settings The server config in opencode.json applies globally, causing a port conflict when the interactive CLI starts while the systemd web service is already bound to port 8890. The web service already receives host/port via web.extraArgs. Co-Authored-By: Claude Sonnet 4.6 --- hosts/glyph/home.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hosts/glyph/home.nix b/hosts/glyph/home.nix index b2b8f0da..976f9b31 100644 --- a/hosts/glyph/home.nix +++ b/hosts/glyph/home.nix @@ -19,10 +19,6 @@ enabled_providers = ["anthropic"]; autoupdate = false; share = "disabled"; - server = { - port = 8890; - hostname = "0.0.0.0"; - }; plugin = ["${pkgs.opencode-claude-auth}"]; }; }; From 6c017d5f95e7e5bebfcdb55281d27305cd2ad764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey?= Date: Mon, 6 Apr 2026 11:43:07 -0700 Subject: [PATCH 4/4] fix(glyph): use correct module path for opencode-claude-auth plugin The nix store path points to the package root, but Bun needs the actual node module path under lib/node_modules/. Co-Authored-By: Claude Sonnet 4.6 --- hosts/glyph/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/glyph/home.nix b/hosts/glyph/home.nix index 976f9b31..21cf5887 100644 --- a/hosts/glyph/home.nix +++ b/hosts/glyph/home.nix @@ -19,7 +19,7 @@ enabled_providers = ["anthropic"]; autoupdate = false; share = "disabled"; - plugin = ["${pkgs.opencode-claude-auth}"]; + plugin = ["${pkgs.opencode-claude-auth}/lib/node_modules/opencode-claude-auth"]; }; };