diff --git a/.github/workflows/duplicate-issues.yml b/.github/workflows/duplicate-issues.yml index 11f49fb7..23dc9d39 100644 --- a/.github/workflows/duplicate-issues.yml +++ b/.github/workflows/duplicate-issues.yml @@ -27,12 +27,12 @@ jobs: { "bash": { "gh issue*": "allow", - "*": "deny" - }, + "*": "deny" + }, "webfetch": "deny" } run: | - opencode run -m anthropic/claude-sonnet-4-20250514 "A new issue has been created:' + opencode run -m opencode/claude-haiku-4-5 "A new issue has been created:' Issue number: ${{ github.event.issue.number }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8d86728..ccce2aa2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,3 +28,9 @@ jobs: bun turbo test env: CI: true + + - name: Check SDK is up to date + run: | + bun ./packages/sdk/js/script/build.ts + git diff --exit-code packages/sdk/js/src/gen packages/sdk/js/dist + continue-on-error: false diff --git a/.opencode/command/issues.md b/.opencode/command/issues.md new file mode 100644 index 00000000..793dce65 --- /dev/null +++ b/.opencode/command/issues.md @@ -0,0 +1,23 @@ +--- +description: "Find issue(s) on github" +model: opencode/claude-haiku-4-5 +--- + +Search through existing issues in sst/opencode using the gh cli to find issues matching this query: + +$ARGUMENTS + +Consider: + +1. Similar titles or descriptions +2. Same error messages or symptoms +3. Related functionality or components +4. Similar feature requests + +Please list any matching issues with: + +- Issue number and title +- Brief explanation of why it matches the query +- Link to the issue + +If no clear matches are found, say so.