Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 7088bfa

Browse files
committed
Merge branch 'dev' of https://github.com/sst/opencode into dev
2 parents dbdbfb8 + fe94bb8 commit 7088bfa

33 files changed

Lines changed: 541 additions & 241 deletions

File tree

bun.lock

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

packages/console/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev",
88
"build": "vinxi build && ../../opencode/script/schema.ts ./.output/public/config.json",
99
"start": "vinxi start",
10-
"version": "1.0.20"
10+
"version": "1.0.23"
1111
},
1212
"dependencies": {
1313
"@ibm/plex": "6.4.1",

packages/console/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@opencode-ai/console-core",
4-
"version": "1.0.20",
4+
"version": "1.0.23",
55
"private": true,
66
"type": "module",
77
"dependencies": {

packages/console/function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-function",
3-
"version": "1.0.20",
3+
"version": "1.0.23",
44
"$schema": "https://json.schemastore.org/package.json",
55
"private": true,
66
"type": "module",

packages/console/mail/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-mail",
3-
"version": "1.0.20",
3+
"version": "1.0.23",
44
"dependencies": {
55
"@jsx-email/all": "2.2.3",
66
"@jsx-email/cli": "1.4.3",

packages/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/desktop",
3-
"version": "1.0.20",
3+
"version": "1.0.23",
44
"description": "",
55
"type": "module",
66
"scripts": {

packages/desktop/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import Home from "@/pages"
1212
const host = import.meta.env.VITE_OPENCODE_SERVER_HOST ?? "127.0.0.1"
1313
const port = import.meta.env.VITE_OPENCODE_SERVER_PORT ?? "4096"
1414

15-
const url = new URLSearchParams(document.location.search).get("url") || `http://${host}:${port}`
15+
const url =
16+
new URLSearchParams(document.location.search).get("url") ||
17+
(location.hostname.includes("opencode.ai") ? `http://${host}:${port}` : "/")
1618

1719
const root = document.getElementById("root")
1820
if (import.meta.env.DEV && !(root instanceof HTMLElement)) {

packages/function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/function",
3-
"version": "1.0.20",
3+
"version": "1.0.23",
44
"$schema": "https://json.schemastore.org/package.json",
55
"private": true,
66
"type": "module",

packages/opencode/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
3-
"version": "1.0.20",
3+
"version": "1.0.23",
44
"name": "opencode",
55
"type": "module",
66
"private": true,
@@ -54,8 +54,8 @@
5454
"@opencode-ai/plugin": "workspace:*",
5555
"@opencode-ai/script": "workspace:*",
5656
"@opencode-ai/sdk": "workspace:*",
57-
"@opentui/core": "0.1.34",
58-
"@opentui/solid": "0.1.34",
57+
"@opentui/core": "0.1.33",
58+
"@opentui/solid": "0.1.33",
5959
"@parcel/watcher": "2.5.1",
6060
"@solid-primitives/event-bus": "1.1.2",
6161
"@pierre/precision-diffs": "catalog:",

packages/opencode/src/auth/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export namespace Auth {
1010
refresh: z.string(),
1111
access: z.string(),
1212
expires: z.number(),
13+
enterpriseUrl: z.string().optional(),
1314
})
1415
.meta({ ref: "OAuth" })
1516

0 commit comments

Comments
 (0)