From d6ccb8e047e25f03e4574668fc2c0b1955dec88d Mon Sep 17 00:00:00 2001 From: Aaron Trowbridge Date: Sat, 1 Aug 2026 20:17:43 -0400 Subject: [PATCH 1/2] =?UTF-8?q?release:=200.2.0=20=E2=80=94=20the=201.18.1?= =?UTF-8?q?0=20consolidation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version bump 0.1.2 → 0.2.0 and the opencode lock repinned to the fork's v1.18.10-amicode.1 release (upstream 1.18.10 + workbench split panes + webview bridge fixes; built by the amicode-release workflow, UI gate verified ON in every binary). sha256s from the release notes. --- packages/extension/opencode.lock.json | 12 ++++++------ packages/extension/package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/extension/opencode.lock.json b/packages/extension/opencode.lock.json index a1b4e6f9..74138a03 100644 --- a/packages/extension/opencode.lock.json +++ b/packages/extension/opencode.lock.json @@ -1,21 +1,21 @@ { - "version": "1.17.3", + "version": "1.18.10", "repo": "harmoniqs/opencode", - "tag": "v1.17.3-amicode.13", + "tag": "v1.18.10-amicode.1", "source": "release", - "ref": "63e56edd846e8e8bf0098e17ec4d819234356502", + "ref": "81c3e71b1d091f45bae498071d03ca009b5a5e3a", "platforms": { "darwin-arm64": { "asset": "opencode-darwin-arm64.zip", - "sha256": "5344451d42681cf557f46be74543c45d5dc94ba7f23efa81cab9d3e30f65c9bd" + "sha256": "97e9533806e4e647994611d6c94d9f6a50d6005f2330d132e3cc321bada4cdf2" }, "linux-arm64": { "asset": "opencode-linux-arm64.tar.gz", - "sha256": "361c7281113fad53a117f47f01d771017d3a998048f3fc17a6274870988682f9" + "sha256": "7faf082f5461d3c9db66ae83e080a574a0bfcf12ef505b8a031fc0fa596f3cce" }, "linux-x64": { "asset": "opencode-linux-x64.tar.gz", - "sha256": "36ce5ced6b9108d0e9d921fc9b1cb16f6eb8f6e1e7ed61965e39ea494ed0e062" + "sha256": "4a48639af96a1984381173dc32b1862840bec394d3d3bbe3b8f4ed0ced5cd6a8" } } } diff --git a/packages/extension/package.json b/packages/extension/package.json index a6b29fc5..4e4da0b9 100644 --- a/packages/extension/package.json +++ b/packages/extension/package.json @@ -2,7 +2,7 @@ "name": "amicode", "displayName": "Amicode", "description": "Amico research IDE — opencode-backed chat + native VS Code surfaces for vault, catalog, and live solve inspection.", - "version": "0.1.2", + "version": "0.2.0", "publisher": "harmoniqs", "license": "Apache-2.0", "icon": "media/icon.png", From 739cff8e2d9d10e8b01660d1f1329996fb7e5df3 Mon Sep 17 00:00:00 2001 From: Aaron Trowbridge Date: Sat, 1 Aug 2026 20:23:48 -0400 Subject: [PATCH 2/2] fix(ci): vsix UI gate learns Shape C (shorthand memo, wrapper-optional) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same drift as the fork's amicode-release gate (#107–#109): the 1.18.10 binary minifies the layout memo shorthand, so the amicode.13-era patterns matched nothing. Ported the fork's fixed Shape C verbatim and verified it against the released linux-x64 and darwin-arm64 binaries locally. --- packages/extension/scripts/assert_ui_gate.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/packages/extension/scripts/assert_ui_gate.sh b/packages/extension/scripts/assert_ui_gate.sh index 4cbf7a46..f078975c 100755 --- a/packages/extension/scripts/assert_ui_gate.sh +++ b/packages/extension/scripts/assert_ui_gate.sh @@ -30,6 +30,25 @@ if grep -aq 'newLayoutDesigns:[A-Za-z$_]\{1,8\}(()=>!1)' "$BIN"; then exit 1 fi +# Shape C (1.18.10 merge): the memo survived but the property went SHORTHAND — +# `newLayoutDesigns:` with `=[wrapper](()=>!0)` at the assignment site +# (the wrapper call is optional — it minifies differently per target). Mirrors +# the fork's amicode-release.yml gate; `\$` in the double-quoted classes because +# `$_A` is a valid shell name and `set -u` would abort on expansion. +VAR=$( { grep -aoh 'newLayoutDesigns:[$_A-Za-z0-9]\{1,20\}[,}]' "$BIN" || true; } | head -1 | sed 's/newLayoutDesigns://; s/[,}]//') +if test -n "$VAR"; then + if grep -aq "[^A-Za-z0-9_\$]${VAR}=[\$_A-Za-z]\{0,8\}(()=>!1)" "$BIN"; then + echo "FAIL: amicode UI gate shorthand memo is OFF (=>!1) — $BIN was built with OPENCODE_CHANNEL=latest/prod and hides every amicode surface" + exit 1 + fi + if grep -aq "[^A-Za-z0-9_\$]${VAR}=[\$_A-Za-z]\{0,8\}(()=>!0)" "$BIN"; then + echo "OK: amicode UI gate hardcoded ON (shorthand memo ${VAR}=…(()=>!0)) — $BIN" + exit 0 + fi + echo "FAIL: shorthand memo var ${VAR} found but its assignment matches neither (()=>!0) nor (()=>!1) in $BIN (minifier drift?)" + exit 1 +fi + # Shape B (legacy, channel-gated): `...general?.newLayoutDesigns,)` where the # default lands in as `=!0` (on) / `=!1` (off). Kept so this check # still works if the setting is ever rewired back to the channel default.