Skip to content

Commit a9d9e4d

Browse files
authored
Merge branch 'dev' into feat/canceled-prompts-in-history
2 parents 2531b2d + 0bbf26a commit a9d9e4d

375 files changed

Lines changed: 11716 additions & 6919 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/VOUCHED.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ r44vc0rp
2121
rekram1-node
2222
-spider-yamet clawdbot/llm psychosis, spam pinging the team
2323
thdxr
24+
-OpenCode2026

.github/actions/setup-bun/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,13 @@ runs:
4141
shell: bash
4242

4343
- name: Install dependencies
44-
run: bun install
44+
run: |
45+
# Workaround for patched peer variants
46+
# e.g. ./patches/ for standard-openapi
47+
# https://github.com/oven-sh/bun/issues/28147
48+
if [ "$RUNNER_OS" = "Windows" ]; then
49+
bun install --linker hoisted
50+
else
51+
bun install
52+
fi
4553
shell: bash

.github/workflows/test.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,17 @@ jobs:
5050

5151
e2e:
5252
name: e2e (${{ matrix.settings.name }})
53-
needs: unit
5453
strategy:
5554
fail-fast: false
5655
matrix:
5756
settings:
5857
- name: linux
5958
host: blacksmith-4vcpu-ubuntu-2404
60-
playwright: bunx playwright install --with-deps
6159
- name: windows
6260
host: blacksmith-4vcpu-windows-2025
63-
playwright: bunx playwright install
6461
runs-on: ${{ matrix.settings.host }}
6562
env:
66-
PLAYWRIGHT_BROWSERS_PATH: 0
63+
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.playwright-browsers
6764
defaults:
6865
run:
6966
shell: bash
@@ -76,9 +73,28 @@ jobs:
7673
- name: Setup Bun
7774
uses: ./.github/actions/setup-bun
7875

76+
- name: Read Playwright version
77+
id: playwright-version
78+
run: |
79+
version=$(node -e 'console.log(require("./packages/app/package.json").devDependencies["@playwright/test"])')
80+
echo "version=$version" >> "$GITHUB_OUTPUT"
81+
82+
- name: Cache Playwright browsers
83+
id: playwright-cache
84+
uses: actions/cache@v4
85+
with:
86+
path: ${{ github.workspace }}/.playwright-browsers
87+
key: ${{ runner.os }}-${{ runner.arch }}-playwright-${{ steps.playwright-version.outputs.version }}-chromium
88+
89+
- name: Install Playwright system dependencies
90+
if: runner.os == 'Linux'
91+
working-directory: packages/app
92+
run: bunx playwright install-deps chromium
93+
7994
- name: Install Playwright browsers
95+
if: steps.playwright-cache.outputs.cache-hit != 'true'
8096
working-directory: packages/app
81-
run: ${{ matrix.settings.playwright }}
97+
run: bunx playwright install chromium
8298

8399
- name: Run app e2e tests
84100
run: bun --cwd packages/app test:e2e:local

.opencode/.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
plans/
2-
bun.lock
1+
node_modules
2+
plans
33
package.json
4-
package-lock.json
4+
bun.lock
5+
.gitignore
6+
package-lock.json

.opencode/agent/translator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Translate content for a specified locale while preserving technical terms
33
mode: subagent
4-
model: opencode/gemini-3-pro
4+
model: opencode/gpt-5.4
55
---
66

77
You are a professional translator and localization specialist.

.opencode/tool/github-pr-search.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/// <reference path="../env.d.ts" />
22
import { tool } from "@opencode-ai/plugin"
3-
import DESCRIPTION from "./github-pr-search.txt"
4-
53
async function githubFetch(endpoint: string, options: RequestInit = {}) {
64
const response = await fetch(`https://api.github.com${endpoint}`, {
75
...options,
@@ -24,7 +22,16 @@ interface PR {
2422
}
2523

2624
export default tool({
27-
description: DESCRIPTION,
25+
description: `Use this tool to search GitHub pull requests by title and description.
26+
27+
This tool searches PRs in the anomalyco/opencode repository and returns LLM-friendly results including:
28+
- PR number and title
29+
- Author
30+
- State (open/closed/merged)
31+
- Labels
32+
- Description snippet
33+
34+
Use the query parameter to search for keywords that might appear in PR titles or descriptions.`,
2835
args: {
2936
query: tool.schema.string().describe("Search query for PR titles and descriptions"),
3037
limit: tool.schema.number().describe("Maximum number of results to return").default(10),

.opencode/tool/github-pr-search.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

.opencode/tool/github-triage.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/// <reference path="../env.d.ts" />
22
import { tool } from "@opencode-ai/plugin"
3-
import DESCRIPTION from "./github-triage.txt"
4-
53
const TEAM = {
64
desktop: ["adamdotdevin", "iamdavidhill", "Brendonovich", "nexxeln"],
75
zen: ["fwang", "MrMushrooooom"],
@@ -40,7 +38,12 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) {
4038
}
4139

4240
export default tool({
43-
description: DESCRIPTION,
41+
description: `Use this tool to assign and/or label a GitHub issue.
42+
43+
Choose labels and assignee using the current triage policy and ownership rules.
44+
Pick the most fitting labels for the issue and assign one owner.
45+
46+
If unsure, choose the team/section with the most overlap with the issue and assign a member from that team at random.`,
4447
args: {
4548
assignee: tool.schema
4649
.enum(ASSIGNEES as [string, ...string[]])

.opencode/tool/github-triage.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)