From 20f9212960ff3fa663d1f06e04dfcbdd42a7a0e3 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Thu, 3 Dec 2026 15:36:17 +0800 Subject: [PATCH] /opencode add signs OpenCode in, in a terminal on its machine Co-authored-by: Pointman Co-authored-by: Claude --- README.md | 5 +++-- extension.toml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 380ba17..ebbd5a6 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,9 @@ The runtime owner confirmed the 0.4.3 release floor. ## Install and sign in -Install the official OpenCode v2 CLI for the machine, then run `opencode auth login` -in the ordinary machine environment. The release installer uses this repository’s checksum-verified repacks of official +Install the official OpenCode v2 CLI for the machine, then sign it in: `/opencode add` in the app opens a +terminal on the machine running `opencode auth login` in the ordinary machine environment (`pointman opencode add` in a +terminal there). The release installer uses this repository’s checksum-verified repacks of official 2.2.1 binaries; it does not install npm’s potentially different CLI generation. mac-m4 currently has `/opt/homebrew/bin/opencode`, version 2.2.1. Other platforms are unverified. No key form or vault secret is defined by this extension. diff --git a/extension.toml b/extension.toml index 62cd587..e93de84 100644 --- a/extension.toml +++ b/extension.toml @@ -1,8 +1,8 @@ [extension] id = "opencode" name = "OpenCode" -version = "0.2.1" -node = ">=0.6,<1" +version = "0.2.2" +node = ">=0.6.2,<1" # [harness.sign_in] args: older nodes refuse it publisher = "aurelio" summary = "OpenCode with the machine's sign-in and private agent configuration." @@ -21,6 +21,7 @@ asset = "opencode-{platform}.tar.gz" [harness.sign_in] how = "opencode auth login (in your normal machine environment)" +args = ["auth", "login"] # `/opencode add` in the app, `pointman opencode add` on the machine [harness.run] prompt = "arg"