Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
78735d5
Create opencode-review.yml
theoneand33 Aug 25, 2026
b1ee227
feat(provider): add Pi coding agent integration
github-actions[bot] Aug 25, 2026
8afc6ba
ci: add automated upstream sync workflow
github-actions[bot] Aug 25, 2026
4bdb984
Update opencode-review.yml
theoneand33 Aug 26, 2026
8fe3344
fix(pi): address review findings
github-actions[bot] Aug 26, 2026
5d0048b
ci: use sparse checkout to exclude .repos directory
github-actions[bot] Aug 26, 2026
c7e3d40
refactor(provider): dedupe driver identity and textGeneration
github-actions[bot] Aug 26, 2026
aceb48a
Merge pull request #1 from theoneand33/add-pi-support
theoneand33 Aug 26, 2026
a498a96
ci: replace Blacksmith runners with GitHub-hosted runners
theoneand33 Aug 26, 2026
4615740
ci(release): remove relay config and web deploy from release workflow
theoneand33 Aug 26, 2026
b914e91
ci(release): remove CLI, AUR and Discord publish jobs
theoneand33 Aug 26, 2026
c022963
chore: fix lint violations and use Set for membership checks
theoneand33 Aug 26, 2026
05e951d
refactor(pi): align adapter with updated provider contracts
theoneand33 Aug 26, 2026
9a58e6b
ci(release): increase job timeout to 20 minutes
theoneand33 Aug 26, 2026
becc87d
ci(release): increase job timeout from 20 to 30 minutes
theoneand33 Aug 26, 2026
4abd084
Merge remote-tracking branch 'origin/main'
theoneand33 Aug 27, 2026
cd79a7e
Update sync-upstream.yml
theoneand33 Aug 27, 2026
aec8820
feat(pi): add filesystem skill discovery for $ picker
theoneand33 Aug 26, 2026
ed725c0
fix(pi): recursive skill discovery and cwd-aware snapshot
github-actions[bot] Aug 26, 2026
8d820de
Update sync-upstream.yml
theoneand33 Aug 27, 2026
60c4f03
chore(ci): use glm 5.3 flash via openrouter for opencode actions
theoneand33 Aug 27, 2026
c69d3b8
chore: resolve upstream sync conflicts
github-actions[bot] Aug 27, 2026
8fc1c65
Merge branch 'main' into sync/upstream-20260827-215608
theoneand33 Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
check:
name: Check
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
# limit stays at the default 4 so peak load per runner is unchanged.
test:
name: Test
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
# isolation that flag buys is preserved exactly.
test_server:
name: Test Server ${{ matrix.shard }}
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
# for checks that take under 3s, on the critical path of every PR.
rust:
name: Rust
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
# the diff cannot be resolved, the lint runs.
mobile_native_changes:
name: Mobile Native Changes
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
contents: read
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
# Skip only on an explicit "no": a gate job that failed or errored leaves the
# output empty, and that must run the lint rather than silently skip it.
if: ${{ !cancelled() && needs.mobile_native_changes.outputs.changed != 'false' }}
runs-on: blacksmith-6vcpu-macos-26
runs-on: macos-15
timeout-minutes: 10
steps:
- name: Checkout
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:

release_smoke:
name: Release Smoke
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
deploy_relay:
name: Deploy production relay
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 15
environment:
name: production
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-macos-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository &&
contains(github.event.pull_request.labels.*.name, 'preview:mac') &&
(github.event.action != 'labeled' || github.event.label.name == 'preview:mac')
runs-on: blacksmith-12vcpu-macos-26
runs-on: macos-15
timeout-minutes: 30
outputs:
dmg_name: ${{ steps.build.outputs.dmg_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-eas-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: |
contains(github.event.pull_request.labels.*.name, 'πŸš€ Mobile Continuous Deployment') &&
(github.event.action != 'labeled' || github.event.label.name == 'πŸš€ Mobile Continuous Deployment')
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
concurrency:
group: mobile-eas-preview-${{ github.event.pull_request.number }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-eas-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ concurrency:
jobs:
production:
name: EAS Production ${{ github.event_name == 'push' && 'auto' || inputs.mode }}
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
permissions:
contents: read
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-fingerprint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ concurrency:
jobs:
fingerprint:
name: Native fingerprint diff
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
permissions:
contents: read
issues: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mobile-showcase-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ios:
name: iPhone 6.9, iPhone 6.5, and iPad 13
if: inputs.platform == 'all' || inputs.platform == 'ios'
runs-on: blacksmith-12vcpu-macos-26
runs-on: macos-15
# Capturing every palette multiplies the device matrix by six, and only the
# one native build is shared between them.
timeout-minutes: ${{ inputs.theme == 'all' && 300 || 60 }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
android:
name: Android phone, 7-inch tablet, and 10-inch tablet
if: inputs.platform == 'all' || inputs.platform == 'android'
runs-on: blacksmith-16vcpu-ubuntu-2404
runs-on: ubuntu-24.04
# Capturing every palette multiplies the device matrix by six, and only the
# one native build is shared between them.
timeout-minutes: ${{ inputs.theme == 'all' && 300 || 60 }}
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/opencode-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: opencode-review

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
opencode-review:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
issues: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@v6

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High workflows/opencode-review.yml:18

Both third-party actions execute from mutable references (actions/checkout@v6 and anomalyco/opencode/github@latest), so a retagged or compromised release runs with OPENROUTER_API_KEY and write-capable repository permissions and can exfiltrate the key or modify the repository. Pin both actions to reviewed immutable commit SHAs.

πŸ€– Copy this AI Prompt to have your agent fix this:
In file @.github/workflows/opencode-review.yml around line 18:

Both third-party actions execute from mutable references (`actions/checkout@v6` and `anomalyco/opencode/github@latest`), so a retagged or compromised release runs with `OPENROUTER_API_KEY` and write-capable repository permissions and can exfiltrate the key or modify the repository. Pin both actions to reviewed immutable commit SHAs.

with:
persist-credentials: false
sparse-checkout: |
/*
!/.repos/
sparse-checkout-cone-mode: false

- name: Configure git identity for opencode commits
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "opencode[bot]"

- name: Run opencode
uses: anomalyco/opencode/github@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
with:
model: openrouter/z-ai/glm-5.3-flash
use_github_token: true
# ponytail: OIDC workaround for repos created after 2026-07-15 (immutable sub format β†’ p.rest). Remove when https://github.com/anomalyco/opencode/issues/37823 is fixed upstream
prompt: |
Review this pull request:
- Check for code quality issues
- Look for potential bugs
- Suggest improvements
2 changes: 1 addition & 1 deletion .github/workflows/publish-aur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ concurrency:
jobs:
publish:
name: Validate and publish
runs-on: blacksmith-8vcpu-ubuntu-2404
runs-on: ubuntu-24.04
timeout-minutes: 30
container:
image: archlinux:base-devel
Expand Down
Loading
Loading