Compare commits

..

1 Commits

Author SHA1 Message Date
opencode 3b10b163e1 release: v0.13.3 2025-09-29 05:46:42 +00:00
17 changed files with 24 additions and 55 deletions
-1
View File
@@ -93,4 +93,3 @@
| 2025-09-26 | 404,334 (+5,455) | 306,713 (+5,050) | 711,047 (+10,505) |
| 2025-09-27 | 411,618 (+7,284) | 317,763 (+11,050) | 729,381 (+18,334) |
| 2025-09-28 | 414,910 (+3,292) | 322,522 (+4,759) | 737,432 (+8,051) |
| 2025-09-29 | 419,919 (+5,009) | 328,033 (+5,511) | 747,952 (+10,520) |
+9 -9
View File
@@ -12,7 +12,7 @@
},
"packages/app": {
"name": "@opencode/app",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@kobalte/core": "0.13.11",
"@opencode-ai/sdk": "workspace:*",
@@ -60,7 +60,7 @@
},
"packages/console/core": {
"name": "@opencode/console-core",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@aws-sdk/client-sts": "3.782.0",
"@opencode/console-resource": "workspace:*",
@@ -77,7 +77,7 @@
},
"packages/console/function": {
"name": "@opencode/console-function",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@ai-sdk/anthropic": "2.0.0",
"@ai-sdk/openai": "2.0.2",
@@ -103,7 +103,7 @@
},
"packages/console/scripts": {
"name": "@opencode/console-scripts",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@opencode/console-core": "workspace:*",
"tsx": "4.20.5",
@@ -115,7 +115,7 @@
},
"packages/function": {
"name": "@opencode/function",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@octokit/auth-app": "8.0.1",
"@octokit/rest": "22.0.0",
@@ -130,7 +130,7 @@
},
"packages/opencode": {
"name": "opencode",
"version": "0.13.5",
"version": "0.13.3",
"bin": {
"opencode": "./bin/opencode",
},
@@ -181,7 +181,7 @@
},
"packages/plugin": {
"name": "@opencode-ai/plugin",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@opencode-ai/sdk": "workspace:*",
"zod": "catalog:",
@@ -193,7 +193,7 @@
},
"packages/sdk/js": {
"name": "@opencode-ai/sdk",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@hey-api/openapi-ts": "0.81.0",
},
@@ -205,7 +205,7 @@
},
"packages/web": {
"name": "@opencode/web",
"version": "0.13.5",
"version": "0.13.3",
"dependencies": {
"@astrojs/cloudflare": "12.6.3",
"@astrojs/markdown-remark": "6.3.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/app",
"version": "0.13.5",
"version": "0.13.3",
"description": "",
"type": "module",
"scripts": {
+1 -1
View File
@@ -7,7 +7,7 @@
"dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev",
"build": "vinxi build && ../../opencode/script/schema.ts ./.output/public/config.json",
"start": "vinxi start",
"version": "0.13.5"
"version": "0.13.3"
},
"dependencies": {
"@ibm/plex": "6.4.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode/console-core",
"version": "0.13.5",
"version": "0.13.3",
"private": true,
"type": "module",
"dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/console-function",
"version": "0.13.5",
"version": "0.13.3",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/console-scripts",
"version": "0.13.5",
"version": "0.13.3",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/function",
"version": "0.13.5",
"version": "0.13.3",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "0.13.5",
"version": "0.13.3",
"name": "opencode",
"type": "module",
"private": true,
+2
View File
@@ -147,6 +147,7 @@ if (!snapshot) {
await $`cd ./dist/aur-${pkg} && git push`
}
/*
// Homebrew formula
const homebrewFormula = [
"# typed: false",
@@ -204,4 +205,5 @@ if (!snapshot) {
await $`cd ./dist/homebrew-tap && git add opencode.rb`
await $`cd ./dist/homebrew-tap && git commit -m "Update to v${version}"`
await $`cd ./dist/homebrew-tap && git push`
*/
}
+1 -1
View File
@@ -1,6 +1,6 @@
export namespace ConfigMarkdown {
export const FILE_REGEX = /(?<![\w`])@(\.?[^\s`,.]*(?:\.[^\s`,.]+)*)/g
export const SHELL_REGEX = /!`([^`]+)`/g
export const SHELL_REGEX = /`[^`]+`/g
export function files(template: string) {
return Array.from(template.matchAll(FILE_REGEX))
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/plugin",
"version": "0.13.5",
"version": "0.13.3",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
"version": "0.13.5",
"version": "0.13.3",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
-1
View File
@@ -11,7 +11,6 @@ const pkg = await import("../package.json").then((m) => m.default)
const original = JSON.parse(JSON.stringify(pkg))
for (const [key, value] of Object.entries(pkg.exports)) {
const file = value.replace("./src/", "./dist/").replace(".ts", "")
/// @ts-expect-error
pkg.exports[key] = {
import: file + ".js",
types: file + ".d.ts",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@opencode/web",
"type": "module",
"version": "0.13.5",
"version": "0.13.3",
"scripts": {
"dev": "astro dev",
"dev:remote": "VITE_API_URL=https://api.opencode.ai astro dev",
+1 -32
View File
@@ -100,41 +100,10 @@ You can globally configure a model's options through the config.
}
```
Here we're configuring global settings for two built-in models: `gpt-5` when accessed via the `openai` provider, and `claude-sonnet-4-20250514` when accessed via the `anthropic` provider.
The built-in provider and model names can be found on [Models.dev](https://models.dev).
Here we're configuring global settings for two models: `gpt-5` when accessed via the `openai` provider, and `claude-sonnet-4-20250514` when accessed via the `anthropic` provider.
You can also configure these options for any agents that you are using. The agent config overrides any global options here. [Learn more](/docs/agents/#additional).
You can also define custom models that extend built-in ones and can optionally use specific options by referring to their id:
```jsonc title="opencode.jsonc" {6-20}
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"opencode": {
"models": {
"gpt-5-high": {
"id": "gpt-5",
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
},
"gpt-5-low": {
"id": "gpt-5",
"options": {
"reasoningEffort": "low",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
}
}
}
```
---
## Loading models
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "opencode",
"displayName": "opencode",
"description": "opencode for VS Code",
"version": "0.13.5",
"version": "0.13.3",
"publisher": "sst-dev",
"repository": {
"type": "git",