Skip to content

Commit 7fb6b58

Browse files
committed
Merge branch 'dev' into feat/canceled-prompts-in-history
2 parents 3f37b43 + d1ee4c8 commit 7fb6b58

697 files changed

Lines changed: 21519 additions & 16496 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# - Denounce with minus prefix: -username or -platform:username.
99
# - Optional details after a space following the handle.
1010
adamdotdevin
11+
ariane-emory
12+
-florianleibert
1113
fwang
1214
iamdavidhill
1315
jayair

.github/workflows/docs-locale-sync.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,13 @@ jobs:
6464
6565
Requirements:
6666
1. Update all relevant locale docs under packages/web/src/content/docs/<locale>/ so they reflect these English page changes.
67-
2. Preserve frontmatter keys, internal links, code blocks, and existing locale-specific metadata unless the English change requires an update.
68-
3. Keep locale docs structure aligned with their corresponding English pages.
69-
4. Do not modify English source docs in packages/web/src/content/docs/*.mdx.
70-
5. If no locale updates are needed, make no changes.
67+
2. You MUST use the Task tool for translation work and launch subagents with subagent_type `translator` (defined in .opencode/agent/translator.md).
68+
3. Do not translate directly in the primary agent. Use translator subagent output as the source for locale text updates.
69+
4. Run translator subagent Task calls in parallel whenever file/locale translation work is independent.
70+
5. Preserve frontmatter keys, internal links, code blocks, and existing locale-specific metadata unless the English change requires an update.
71+
6. Keep locale docs structure aligned with their corresponding English pages.
72+
7. Do not modify English source docs in packages/web/src/content/docs/*.mdx.
73+
8. If no locale updates are needed, make no changes.
7174
7275
- name: Commit and push locale docs updates
7376
if: steps.changes.outputs.has_changes == 'true'

.github/workflows/pr-management.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ jobs:
6060
run: |
6161
COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates")
6262
63-
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_
63+
if [ "$COMMENT" != "No duplicate PRs found" ]; then
64+
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_
6465
6566
$COMMENT"
67+
fi
6668
6769
add-contributor-label:
6870
runs-on: ubuntu-latest

.github/workflows/sign-cli.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: sign-cli
2+
3+
on:
4+
push:
5+
branches:
6+
- brendan/desktop-signpath
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
actions: read
12+
13+
jobs:
14+
sign-cli:
15+
runs-on: blacksmith-4vcpu-ubuntu-2404
16+
if: github.repository == 'anomalyco/opencode'
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
fetch-tags: true
21+
22+
- uses: ./.github/actions/setup-bun
23+
24+
- name: Build
25+
run: |
26+
./packages/opencode/script/build.ts
27+
28+
- name: Upload unsigned Windows CLI
29+
id: upload_unsigned_windows_cli
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: unsigned-opencode-windows-cli
33+
path: packages/opencode/dist/opencode-windows-x64/bin/opencode.exe
34+
if-no-files-found: error
35+
36+
- name: Submit SignPath signing request
37+
id: submit_signpath_signing_request
38+
uses: signpath/github-action-submit-signing-request@v1
39+
with:
40+
api-token: ${{ secrets.SIGNPATH_API_KEY }}
41+
organization-id: ${{ secrets.SIGNPATH_ORGANIZATION_ID }}
42+
project-slug: ${{ secrets.SIGNPATH_PROJECT_SLUG }}
43+
signing-policy-slug: ${{ secrets.SIGNPATH_SIGNING_POLICY_SLUG }}
44+
artifact-configuration-slug: ${{ secrets.SIGNPATH_ARTIFACT_CONFIGURATION_SLUG }}
45+
github-artifact-id: ${{ steps.upload_unsigned_windows_cli.outputs.artifact-id }}
46+
wait-for-completion: true
47+
output-artifact-directory: signed-opencode-cli
48+
49+
- name: Upload signed Windows CLI
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: signed-opencode-windows-cli
53+
path: signed-opencode-cli/*.exe
54+
if-no-files-found: error

.opencode/skill/bun-file-io/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ description: Use this when you are working on file operations like reading, writ
3232
- Decode tool stderr with `Bun.readableStreamToText`.
3333
- For large writes, use `Bun.write(Bun.file(path), text)`.
3434

35+
NOTE: Bun.file(...).exists() will return `false` if the value is a directory.
36+
Use Filesystem.exists(...) instead if path can be file or directory
37+
3538
## Quick checklist
3639

3740
- Use Bun APIs first.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
github-policies:
2+
runners:
3+
allowed_groups:
4+
- "blacksmith runners 01kbd5v56sg8tz7rea39b7ygpt"
5+
build:
6+
disallow_reruns: false
7+
branch_rulesets:

0 commit comments

Comments
 (0)