From 23cafd133739b2fac3a60b13b628b57c66ffbd3a Mon Sep 17 00:00:00 2001 From: Dylan Conlin Date: Sat, 14 Feb 2026 18:24:42 -0800 Subject: [PATCH 1/2] fix(tui): stop truncating last table row after streaming completes The experimental markdown renderer's streaming mode intentionally drops the last table row (which may be incomplete during generation). However, streaming was hardcoded to true, so the last row stayed hidden even after the message finished generating. Pass the actual streaming state based on message completion time so tables render all rows once the response is complete. Fixes #13539 --- packages/opencode/src/cli/cmd/tui/routes/session/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx index e83b9abe98ae..c91973f03f8e 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx @@ -1377,7 +1377,7 @@ function TextPart(props: { last: boolean; part: TextPart; message: AssistantMess From 69d70fcde85583194e713383aced2044d5827310 Mon Sep 17 00:00:00 2001 From: Dylan Conlin Date: Tue, 17 Feb 2026 08:44:36 -0800 Subject: [PATCH 2/2] ci: disable inherited upstream workflows on fork Add `if: github.repository == 'anomalyco/opencode'` condition to all 38 jobs across 31 workflow files. This prevents all inherited upstream workflows from running on the dylan-conlin/opencode fork while preserving the files for upstream sync compatibility. --- .github/workflows/beta.yml | 1 + .github/workflows/close-stale-prs.yml | 1 + .github/workflows/compliance-close.yml | 1 + .github/workflows/containers.yml | 1 + .github/workflows/daily-issues-recap.yml | 1 + .github/workflows/daily-pr-recap.yml | 1 + .github/workflows/deploy.yml | 1 + .github/workflows/docs-locale-sync.yml | 2 +- .github/workflows/docs-update.yml | 2 +- .github/workflows/duplicate-issues.yml | 1 + .github/workflows/generate.yml | 1 + .github/workflows/nix-hashes.yml | 3 ++- .github/workflows/notify-discord.yml | 1 + .github/workflows/opencode.yml | 1 + .github/workflows/pr-management.yml | 2 ++ .github/workflows/pr-standards.yml | 1 + .github/workflows/publish-github-action.yml | 1 + .github/workflows/publish-vscode.yml | 1 + .github/workflows/publish.yml | 6 ++++-- .github/workflows/release-github-action.yml | 1 + .github/workflows/review.yml | 1 + .github/workflows/sign-cli.yml | 2 +- .github/workflows/stale-issues.yml | 1 + .github/workflows/sync-zed-extension.yml | 1 + .github/workflows/test.yml | 4 +++- .github/workflows/triage.yml | 1 + .github/workflows/typecheck.yml | 1 + .github/workflows/vouch-check-issue.yml | 1 + .github/workflows/vouch-check-pr.yml | 1 + .github/workflows/vouch-manage-by-issue.yml | 1 + 30 files changed, 37 insertions(+), 7 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 20d2bc18d825..01bf8c714878 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -7,6 +7,7 @@ on: jobs: sync: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: write diff --git a/.github/workflows/close-stale-prs.yml b/.github/workflows/close-stale-prs.yml index e0e571b46911..39611919c614 100644 --- a/.github/workflows/close-stale-prs.yml +++ b/.github/workflows/close-stale-prs.yml @@ -17,6 +17,7 @@ permissions: jobs: close-stale-prs: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/.github/workflows/compliance-close.yml b/.github/workflows/compliance-close.yml index 5b424d0adfa7..56cea99da986 100644 --- a/.github/workflows/compliance-close.yml +++ b/.github/workflows/compliance-close.yml @@ -13,6 +13,7 @@ permissions: jobs: close-non-compliant: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest steps: - name: Close non-compliant issues and PRs after 2 hours diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index c7df066d41c6..da82ecb42dd9 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -16,6 +16,7 @@ permissions: jobs: build: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 env: REGISTRY: ghcr.io/${{ github.repository_owner }} diff --git a/.github/workflows/daily-issues-recap.yml b/.github/workflows/daily-issues-recap.yml index 31cf08233b99..acdb40e48d28 100644 --- a/.github/workflows/daily-issues-recap.yml +++ b/.github/workflows/daily-issues-recap.yml @@ -8,6 +8,7 @@ on: jobs: daily-recap: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read diff --git a/.github/workflows/daily-pr-recap.yml b/.github/workflows/daily-pr-recap.yml index 2f0f023cfd09..6be2c0b5e22a 100644 --- a/.github/workflows/daily-pr-recap.yml +++ b/.github/workflows/daily-pr-recap.yml @@ -8,6 +8,7 @@ on: jobs: pr-recap: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c08d7edf3b15..3d3a48308463 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: deploy: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/docs-locale-sync.yml b/.github/workflows/docs-locale-sync.yml index 8cd0cc52e2a2..fef665425d0c 100644 --- a/.github/workflows/docs-locale-sync.yml +++ b/.github/workflows/docs-locale-sync.yml @@ -9,7 +9,7 @@ on: jobs: sync-locales: - if: github.actor != 'opencode-agent[bot]' + if: github.repository == 'anomalyco/opencode' && (github.actor != 'opencode-agent[bot]') runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: id-token: write diff --git a/.github/workflows/docs-update.yml b/.github/workflows/docs-update.yml index 900ad2b0c586..786854991ef2 100644 --- a/.github/workflows/docs-update.yml +++ b/.github/workflows/docs-update.yml @@ -10,7 +10,7 @@ env: jobs: update-docs: - if: github.repository == 'sst/opencode' + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: id-token: write diff --git a/.github/workflows/duplicate-issues.yml b/.github/workflows/duplicate-issues.yml index 87e655fe4bf7..8b0476624404 100644 --- a/.github/workflows/duplicate-issues.yml +++ b/.github/workflows/duplicate-issues.yml @@ -6,6 +6,7 @@ on: jobs: check-duplicates: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 706ab2989e15..60a7b21d140e 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -7,6 +7,7 @@ on: jobs: generate: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: write diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml index 894dbf47b1ea..1cc1ba02feb9 100644 --- a/.github/workflows/nix-hashes.yml +++ b/.github/workflows/nix-hashes.yml @@ -21,6 +21,7 @@ jobs: # Native runners required: bun install cross-compilation flags (--os/--cpu) # do not produce byte-identical node_modules as native installs. compute-hash: + if: github.repository == 'anomalyco/opencode' strategy: fail-fast: false matrix: @@ -75,8 +76,8 @@ jobs: retention-days: 1 update-hashes: + if: github.repository == 'anomalyco/opencode' && github.event_name != 'pull_request' needs: compute-hash - if: github.event_name != 'pull_request' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml index b1d8053603a9..3c45ac67960f 100644 --- a/.github/workflows/notify-discord.yml +++ b/.github/workflows/notify-discord.yml @@ -6,6 +6,7 @@ on: jobs: notify: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - name: Send nicely-formatted embed to Discord diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml index 76e75fcaefb9..bccfbe39281d 100644 --- a/.github/workflows/opencode.yml +++ b/.github/workflows/opencode.yml @@ -9,6 +9,7 @@ on: jobs: opencode: if: | + github.repository == 'anomalyco/opencode' && contains(github.event.comment.body, ' /oc') || startsWith(github.event.comment.body, '/oc') || contains(github.event.comment.body, ' /opencode') || diff --git a/.github/workflows/pr-management.yml b/.github/workflows/pr-management.yml index 008272415492..dc39623ef7e1 100644 --- a/.github/workflows/pr-management.yml +++ b/.github/workflows/pr-management.yml @@ -7,6 +7,7 @@ on: jobs: check-duplicates: if: | + github.repository == 'anomalyco/opencode' && github.event.pull_request.user.login != 'actions-user' && github.event.pull_request.user.login != 'opencode' && github.event.pull_request.user.login != 'rekram1-node' && @@ -67,6 +68,7 @@ jobs: fi add-contributor-label: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest permissions: pull-requests: write diff --git a/.github/workflows/pr-standards.yml b/.github/workflows/pr-standards.yml index 397f794a1cd5..852c3ad2decc 100644 --- a/.github/workflows/pr-standards.yml +++ b/.github/workflows/pr-standards.yml @@ -7,6 +7,7 @@ on: jobs: check-standards: if: | + github.repository == 'anomalyco/opencode' && github.event.pull_request.user.login != 'actions-user' && github.event.pull_request.user.login != 'opencode' && github.event.pull_request.user.login != 'rekram1-node' && diff --git a/.github/workflows/publish-github-action.yml b/.github/workflows/publish-github-action.yml index d2789373a34a..495ea91bf5e2 100644 --- a/.github/workflows/publish-github-action.yml +++ b/.github/workflows/publish-github-action.yml @@ -14,6 +14,7 @@ permissions: jobs: publish: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish-vscode.yml b/.github/workflows/publish-vscode.yml index f49a10578072..532c0a611363 100644 --- a/.github/workflows/publish-vscode.yml +++ b/.github/workflows/publish-vscode.yml @@ -13,6 +13,7 @@ permissions: jobs: publish: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1b492258b73..bc676f2ecc20 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,8 +32,8 @@ permissions: jobs: version: - runs-on: blacksmith-4vcpu-ubuntu-2404 if: github.repository == 'anomalyco/opencode' + runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v3 with: @@ -59,9 +59,9 @@ jobs: tag: ${{ steps.version.outputs.tag }} build-cli: + if: github.repository == 'anomalyco/opencode' needs: version runs-on: blacksmith-4vcpu-ubuntu-2404 - if: github.repository == 'anomalyco/opencode' steps: - uses: actions/checkout@v3 with: @@ -87,6 +87,7 @@ jobs: version: ${{ needs.version.outputs.version }} build-tauri: + if: github.repository == 'anomalyco/opencode' needs: - build-cli - version @@ -203,6 +204,7 @@ jobs: APPLE_API_KEY_PATH: ${{ runner.temp }}/apple-api-key.p8 publish: + if: github.repository == 'anomalyco/opencode' needs: - version - build-cli diff --git a/.github/workflows/release-github-action.yml b/.github/workflows/release-github-action.yml index 3f5caa55c8dc..c22cda1dee17 100644 --- a/.github/workflows/release-github-action.yml +++ b/.github/workflows/release-github-action.yml @@ -14,6 +14,7 @@ permissions: jobs: release: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 58e73fac8fbc..0904669e7333 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -7,6 +7,7 @@ on: jobs: check-guidelines: if: | + github.repository == 'anomalyco/opencode' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/review') && contains(fromJson('["OWNER","MEMBER"]'), github.event.comment.author_association) diff --git a/.github/workflows/sign-cli.yml b/.github/workflows/sign-cli.yml index d9d61fd800eb..6d5e2bff04ea 100644 --- a/.github/workflows/sign-cli.yml +++ b/.github/workflows/sign-cli.yml @@ -12,8 +12,8 @@ permissions: jobs: sign-cli: - runs-on: blacksmith-4vcpu-ubuntu-2404 if: github.repository == 'anomalyco/opencode' + runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index a4b8583f9285..48bcf8403bf2 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -11,6 +11,7 @@ env: jobs: stale: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest permissions: issues: write diff --git a/.github/workflows/sync-zed-extension.yml b/.github/workflows/sync-zed-extension.yml index f14487cde974..33262c46b3fa 100644 --- a/.github/workflows/sync-zed-extension.yml +++ b/.github/workflows/sync-zed-extension.yml @@ -7,6 +7,7 @@ on: jobs: zed: + if: github.repository == 'anomalyco/opencode' name: Release Zed Extension runs-on: blacksmith-4vcpu-ubuntu-2404 steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 647b9e188690..3286fd59cf35 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: jobs: unit: + if: github.repository == 'anomalyco/opencode' name: unit (linux) runs-on: blacksmith-4vcpu-ubuntu-2404 defaults: @@ -31,6 +32,7 @@ jobs: run: bun turbo test e2e: + if: github.repository == 'anomalyco/opencode' name: e2e (${{ matrix.settings.name }}) needs: unit strategy: @@ -80,12 +82,12 @@ jobs: packages/app/e2e/playwright-report required: + if: github.repository == 'anomalyco/opencode' && always() name: test (linux) runs-on: blacksmith-4vcpu-ubuntu-2404 needs: - unit - e2e - if: always() steps: - name: Verify upstream test jobs passed run: | diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 99e7b5b34fe3..bab283ee9fff 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -6,6 +6,7 @@ on: jobs: triage: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index b247d24b40db..66677fd7e80e 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -9,6 +9,7 @@ on: jobs: typecheck: + if: github.repository == 'anomalyco/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - name: Checkout repository diff --git a/.github/workflows/vouch-check-issue.yml b/.github/workflows/vouch-check-issue.yml index 94569f47312a..180ad3bcefe7 100644 --- a/.github/workflows/vouch-check-issue.yml +++ b/.github/workflows/vouch-check-issue.yml @@ -10,6 +10,7 @@ permissions: jobs: check: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest steps: - name: Check if issue author is denounced diff --git a/.github/workflows/vouch-check-pr.yml b/.github/workflows/vouch-check-pr.yml index 470b8e0a5ad7..6e4f9d7002ce 100644 --- a/.github/workflows/vouch-check-pr.yml +++ b/.github/workflows/vouch-check-pr.yml @@ -10,6 +10,7 @@ permissions: jobs: check: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest steps: - name: Check if PR author is denounced diff --git a/.github/workflows/vouch-manage-by-issue.yml b/.github/workflows/vouch-manage-by-issue.yml index cf0524c21a8e..9eed95d9c0a8 100644 --- a/.github/workflows/vouch-manage-by-issue.yml +++ b/.github/workflows/vouch-manage-by-issue.yml @@ -15,6 +15,7 @@ permissions: jobs: manage: + if: github.repository == 'anomalyco/opencode' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4