Skip to content

Commit c999008

Browse files
Matt Liottaclaude
authored andcommitted
feat(opencode): bump car-runtime to 0.6.1, scrub upstream-product confusion
CAR upgrade (0.5.1 → 0.6.1): - Migrate addFact / factCount / buildContext / ingestSkill to async via Effect.tryPromise (these went sync → Promise in anomalyco#146). - Replace the registerToolSchema feature-detection cast with a direct call — it's first-class on the napi surface in 0.6.0. - Set CAR_FFI_MODE=embedded before construction so the new daemon-prefer default in 0.6.0's anomalyco#139 doesn't probe / spawn car-server. opencode is a single-process CLI; the per-instance memgine is what we want. - Replace Effect.catchAll with Effect.match in the startup-skill ingest loop. catchAll was removed in Effect 4.x beta; match is the equivalent fold for both branches. - Move "Tool-parameter validation via registerToolSchema" from "Coming next" to "Live in this fork today" in the README. Rebrand (anomalyco/opencode → mliotta/opencode): - Repo-wide rename of source-of-truth and distribution refs (READMEs, workflows, scripts, .opencode/, system prompts, install script, brew tap, console download routes, desktop auto-update). Reverts the scoping decision in d4cab2f — this fork is build-from-source so there's no anomalyco distribution channel left to preserve. - Skipped: third-party anomalyco-owned repos (ghostty-web, models.dev, zed-extensions, tree-sitter-clojure, opentunnel) and the Korean IME patch's link to a real upstream issue. Also skipped the solid-js patch's machine-specific bun-tag paths and the OTEL test fixture. README installation rewrite: - Replace the Installation + Desktop App + Installation Directory blocks in README.md and 21 translations with build-from-source instructions and a callout that the package-manager commands (curl|bash, npm, brew, scoop, choco, pacman, mise, nixpkgs) all install sst/opencode, not this fork. Translated headers preserved; body is English code + callout since it's mostly commands. Verified with `bun run tsc --noEmit -p packages/opencode/tsconfig.json` (exit 0) and `bun test test/installation/installation.test.ts` (9/9). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent d4cab2f commit c999008

154 files changed

Lines changed: 516 additions & 1382 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/opencode.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: ./.github/actions/setup-bun
2727

2828
- name: Run opencode
29-
uses: anomalyco/opencode/github@latest
29+
uses: mliotta/opencode/github@latest
3030
env:
3131
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
3232
OPENCODE_PERMISSION: '{"bash": "deny"}'

‎.github/workflows/publish.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333
jobs:
3434
version:
3535
runs-on: blacksmith-4vcpu-ubuntu-2404
36-
if: github.repository == 'anomalyco/opencode'
36+
if: github.repository == 'mliotta/opencode'
3737
steps:
3838
- uses: actions/checkout@v3
3939
with:
@@ -60,7 +60,7 @@ jobs:
6060
OPENCODE_BUMP: ${{ inputs.bump }}
6161
OPENCODE_VERSION: ${{ inputs.version }}
6262
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
63-
GH_REPO: ${{ (github.ref_name == 'beta' && 'anomalyco/opencode-beta') || github.repository }}
63+
GH_REPO: ${{ (github.ref_name == 'beta' && 'mliotta/opencode-beta') || github.repository }}
6464
outputs:
6565
version: ${{ steps.version.outputs.version }}
6666
release: ${{ steps.version.outputs.release }}
@@ -70,7 +70,7 @@ jobs:
7070
build-cli:
7171
needs: version
7272
runs-on: blacksmith-4vcpu-ubuntu-2404
73-
if: github.repository == 'anomalyco/opencode'
73+
if: github.repository == 'mliotta/opencode'
7474
steps:
7575
- uses: actions/checkout@v3
7676
with:
@@ -114,7 +114,7 @@ jobs:
114114
- build-cli
115115
- version
116116
runs-on: blacksmith-4vcpu-windows-2025
117-
if: github.repository == 'anomalyco/opencode'
117+
if: github.repository == 'mliotta/opencode'
118118
env:
119119
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
120120
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
@@ -213,7 +213,7 @@ jobs:
213213
needs:
214214
- build-cli
215215
- version
216-
if: github.repository == 'anomalyco/opencode'
216+
if: github.repository == 'mliotta/opencode'
217217
continue-on-error: false
218218
env:
219219
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}

‎.github/workflows/stats.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
99

1010
jobs:
1111
stats:
12-
if: github.repository == 'anomalyco/opencode'
12+
if: github.repository == 'mliotta/opencode'
1313
runs-on: blacksmith-4vcpu-ubuntu-2404
1414
permissions:
1515
contents: write

‎.opencode/command/issues.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: "find issue(s) on github"
33
model: opencode/claude-haiku-4-5
44
---
55

6-
Search through existing issues in anomalyco/opencode using the gh cli to find issues matching this query:
6+
Search through existing issues in mliotta/opencode using the gh cli to find issues matching this query:
77

88
$ARGUMENTS
99

‎.opencode/glossary/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Prefer guidance that is:
3333

3434
## Sources
3535

36-
- PR #12345: https://github.com/anomalyco/opencode/pull/12345
36+
- PR #12345: https://github.com/mliotta/opencode/pull/12345
3737

3838
## Do Not Translate (Locale Additions)
3939

‎.opencode/glossary/ar.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Sources
44

5-
- PR #9947: https://github.com/anomalyco/opencode/pull/9947
5+
- PR #9947: https://github.com/mliotta/opencode/pull/9947
66

77
## Do Not Translate (Locale Additions)
88

‎.opencode/glossary/br.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Sources
44

5-
- PR #10086: https://github.com/anomalyco/opencode/pull/10086
5+
- PR #10086: https://github.com/mliotta/opencode/pull/10086
66

77
## Do Not Translate (Locale Additions)
88

‎.opencode/glossary/bs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Sources
44

5-
- PR #12283: https://github.com/anomalyco/opencode/pull/12283
5+
- PR #12283: https://github.com/mliotta/opencode/pull/12283
66

77
## Do Not Translate (Locale Additions)
88

‎.opencode/glossary/da.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Sources
44

5-
- PR #9821: https://github.com/anomalyco/opencode/pull/9821
5+
- PR #9821: https://github.com/mliotta/opencode/pull/9821
66

77
## Do Not Translate (Locale Additions)
88

‎.opencode/glossary/de.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Sources
44

5-
- PR #9817: https://github.com/anomalyco/opencode/pull/9817
5+
- PR #9817: https://github.com/mliotta/opencode/pull/9817
66

77
## Do Not Translate (Locale Additions)
88

0 commit comments

Comments
 (0)