Skip to content

Commit 12a10ad

Browse files
authored
Merge branch 'dev' into feat/python_sdk
2 parents ed7601f + cd65517 commit 12a10ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4278
-4845
lines changed

.github/workflows/snapshot.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: snapshot
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- opentui
8+
9+
concurrency: ${{ github.workflow }}-${{ github.ref }}
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- run: git fetch --force --tags
20+
21+
- uses: actions/setup-go@v5
22+
with:
23+
go-version: ">=1.24.0"
24+
cache: true
25+
cache-dependency-path: go.sum
26+
27+
- uses: oven-sh/setup-bun@v2
28+
with:
29+
bun-version: 1.2.21
30+
31+
- name: Cache ~/.bun
32+
id: cache-bun
33+
uses: actions/cache@v3
34+
with:
35+
path: ~/.bun
36+
key: ${{ runner.os }}-bun-1-2-21-${{ hashFiles('bun.lock') }}
37+
restore-keys: |
38+
${{ runner.os }}-bun-1-2-21-
39+
40+
- name: Install dependencies
41+
run: bun install
42+
43+
- name: Publish
44+
run: |
45+
./packages/opencode/script/publish.ts
46+
env:
47+
OPENCODE_SNAPSHOT: true
48+
OPENCODE_TAG: ${{ github.ref_name }}
49+
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
50+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}

.opencode/tool/foo.ts

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

STATS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,9 @@
8484
| 2025-09-17 | 351,117 (+8,508) | 260,970 (+5,706) | 612,087 (+14,214) |
8585
| 2025-09-18 | 358,717 (+7,600) | 266,922 (+5,952) | 625,639 (+13,552) |
8686
| 2025-09-19 | 365,401 (+6,684) | 271,859 (+4,937) | 637,260 (+11,621) |
87+
| 2025-09-20 | 372,092 (+6,691) | 276,917 (+5,058) | 649,009 (+11,749) |
88+
| 2025-09-21 | 377,079 (+4,987) | 280,261 (+3,344) | 657,340 (+8,331) |
89+
| 2025-09-22 | 382,492 (+5,413) | 284,009 (+3,748) | 666,501 (+9,161) |
90+
| 2025-09-23 | 387,008 (+4,516) | 289,129 (+5,120) | 676,137 (+9,636) |
91+
| 2025-09-24 | 393,325 (+6,317) | 294,927 (+5,798) | 688,252 (+12,115) |
92+
| 2025-09-25 | 398,879 (+5,554) | 301,663 (+6,736) | 700,542 (+12,290) |

bun.lock

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infra/console.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", {
7575
"checkout.session.async_payment_succeeded",
7676
"checkout.session.completed",
7777
"checkout.session.expired",
78+
"charge.refunded",
7879
"customer.created",
7980
"customer.deleted",
8081
"customer.updated",
@@ -93,9 +94,6 @@ export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", {
9394
"customer.subscription.resumed",
9495
"customer.subscription.trial_will_end",
9596
"customer.subscription.updated",
96-
"customer.tax_id.created",
97-
"customer.tax_id.deleted",
98-
"customer.tax_id.updated",
9997
],
10098
})
10199

install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ mkdir -p "$INSTALL_DIR"
4646

4747
if [ -z "$requested_version" ]; then
4848
url="https://github.com/sst/opencode/releases/latest/download/$filename"
49-
specific_version=$(curl -s https://api.github.com/repos/sst/opencode/releases/latest | awk -F'"' '/"tag_name": "/ {gsub(/^v/, "", $4); print $4}')
49+
specific_version=$(curl -s https://api.github.com/repos/sst/opencode/releases/latest | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p')
5050

5151
if [[ $? -ne 0 || -z "$specific_version" ]]; then
5252
echo -e "${RED}Failed to fetch version information${NC}"

packages/app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/assets/theme.css

packages/app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode/app",
3-
"version": "0.10.2",
3+
"version": "0.11.3",
44
"description": "",
55
"type": "module",
66
"scripts": {
@@ -24,6 +24,7 @@
2424
"@kobalte/core": "0.13.11",
2525
"@opencode-ai/sdk": "workspace:*",
2626
"@shikijs/transformers": "3.9.2",
27+
"@solid-primitives/event-bus": "1.1.2",
2728
"@solid-primitives/resize-observer": "2.1.3",
2829
"@solid-primitives/scroll": "2.1.3",
2930
"@solidjs/router": "0.15.3",

packages/app/scripts/vite-theme-plugin.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ColorResolver {
3737
if (typeof value === "string") {
3838
if (value === "none") return { dark: value, light: value }
3939
if (value.startsWith("#")) {
40-
return { dark: value.toUpperCase(), light: value.toUpperCase() }
40+
return { dark: value.toLowerCase(), light: value.toLowerCase() }
4141
}
4242
const resolved = this.resolveReference(value)
4343
return { dark: resolved, light: resolved }
@@ -57,7 +57,7 @@ class ColorResolver {
5757
if (typeof value === "string") {
5858
if (value === "none") return value
5959
if (value.startsWith("#")) {
60-
return value.toUpperCase()
60+
return value.toLowerCase()
6161
}
6262
return this.resolveReference(value)
6363
}
@@ -72,7 +72,7 @@ class ColorResolver {
7272
if (typeof colorValue === "string") {
7373
if (colorValue === "none") return colorValue
7474
if (colorValue.startsWith("#")) {
75-
return colorValue.toUpperCase()
75+
return colorValue.toLowerCase()
7676
}
7777
return this.resolveReference(colorValue)
7878
}

0 commit comments

Comments
 (0)