From 29d8cc6a1c4e45769335ab2e25b2631a5b82119b Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 Jan 2026 16:14:03 -0500 Subject: [PATCH 1/2] fix: show all provider models when no providers connected When no providers were connected, the model dialog would hide models that were in the recent list, but the recent section wasn't being displayed. This caused models to completely disappear. The filter was checking recentList (which only contained non-favorite recent items) instead of recents (all recent items), causing models to be incorrectly filtered out of the main provider list when the recent section wasn't shown. --- packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx b/packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx index bcbbe69287..4ad92eeb83 100644 --- a/packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx @@ -158,7 +158,7 @@ export function DialogModel(props: { providerID?: string }) { (item) => item.providerID === value.providerID && item.modelID === value.modelID, ) if (inFavorites) return false - const inRecents = recentList.some( + const inRecents = recents.some( (item) => item.providerID === value.providerID && item.modelID === value.modelID, ) if (inRecents) return false From e2c6ab3a458c20ddacfb0ee97f60a299c6f96f2a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 Jan 2026 16:16:36 -0500 Subject: [PATCH 2/2] ci: trigger publish workflow after beta sync --- .github/workflows/beta.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index d92133ea6a..755feb8e62 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -16,6 +16,7 @@ jobs: permissions: contents: write pull-requests: read + actions: write steps: - name: Checkout repository uses: actions/checkout@v4 @@ -32,3 +33,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: bun script/beta.ts + + - name: Trigger publish workflow + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh workflow run publish.yml --ref beta