Compare commits

...

5 Commits

Author SHA1 Message Date
opencode 061877e275 release: v0.11.7 2025-09-26 11:19:15 +00:00
Adam 05e6c3d8a0 fix(tui): cursor position 2025-09-26 06:13:23 -05:00
Dax Raad 093fbca711 core: add themes to allowed config directories 2025-09-26 06:40:41 -04:00
opencode 81deea855f release: v0.11.6 2025-09-26 09:52:23 +00:00
Dax Raad 5c67bebf86 tui: fix cursor position offset in home screen 2025-09-26 05:46:16 -04:00
14 changed files with 26 additions and 24 deletions
+9 -9
View File
@@ -12,7 +12,7 @@
},
"packages/app": {
"name": "@opencode/app",
"version": "0.11.5",
"version": "0.11.7",
"dependencies": {
"@kobalte/core": "0.13.11",
"@opencode-ai/sdk": "workspace:*",
@@ -60,7 +60,7 @@
},
"packages/console/core": {
"name": "@opencode/console-core",
"version": "0.11.5",
"version": "0.11.7",
"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.11.5",
"version": "0.11.7",
"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.11.5",
"version": "0.11.7",
"dependencies": {
"@opencode/console-core": "workspace:*",
"tsx": "4.20.5",
@@ -115,7 +115,7 @@
},
"packages/function": {
"name": "@opencode/function",
"version": "0.11.5",
"version": "0.11.7",
"dependencies": {
"@octokit/auth-app": "8.0.1",
"@octokit/rest": "22.0.0",
@@ -130,7 +130,7 @@
},
"packages/opencode": {
"name": "opencode",
"version": "0.11.5",
"version": "0.11.7",
"bin": {
"opencode": "./bin/opencode",
},
@@ -181,7 +181,7 @@
},
"packages/plugin": {
"name": "@opencode-ai/plugin",
"version": "0.11.5",
"version": "0.11.7",
"dependencies": {
"@opencode-ai/sdk": "workspace:*",
"zod": "catalog:",
@@ -193,7 +193,7 @@
},
"packages/sdk/js": {
"name": "@opencode-ai/sdk",
"version": "0.11.5",
"version": "0.11.7",
"dependencies": {
"@hey-api/openapi-ts": "0.81.0",
},
@@ -205,7 +205,7 @@
},
"packages/web": {
"name": "@opencode/web",
"version": "0.11.5",
"version": "0.11.7",
"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.11.5",
"version": "0.11.7",
"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.11.5"
"version": "0.11.7"
},
"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.11.5",
"version": "0.11.7",
"private": true,
"type": "module",
"dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/console-function",
"version": "0.11.5",
"version": "0.11.7",
"$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.11.5",
"version": "0.11.7",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/function",
"version": "0.11.5",
"version": "0.11.7",
"$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.11.5",
"version": "0.11.7",
"name": "opencode",
"type": "module",
"private": true,
+1 -1
View File
@@ -118,7 +118,7 @@ export namespace Config {
})
async function assertValid(dir: string) {
const ALLOWED_DIRS = new Set(["agent", "command", "mode", "plugin", "tool"])
const ALLOWED_DIRS = new Set(["agent", "command", "mode", "plugin", "tool", "themes"])
const UNEXPECTED_DIR_GLOB = new Bun.Glob("*/")
for await (const item of UNEXPECTED_DIR_GLOB.scan({ absolute: true, cwd: dir, onlyFiles: false })) {
const dirname = path.basename(item)
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/plugin",
"version": "0.11.5",
"version": "0.11.7",
"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.11.5",
"version": "0.11.7",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
+5 -3
View File
@@ -991,9 +991,9 @@ func (a Model) home() (string, int, int) {
)
// Use limit of 4 for vscode, 6 for others
limit := 6
limit := 5
if util.IsVSCode() {
limit = 4
limit = 3
}
showVscode := util.IsVSCode()
@@ -1043,8 +1043,10 @@ func (a Model) home() (string, int, int) {
editorX := max(0, (effectiveWidth-editorWidth)/2)
editorY := (a.height / 2) + (mainHeight / 2) - 3
editorYDelta := 3
if editorLines > 1 {
editorYDelta = 2
content := a.editor.Content()
editorHeight := lipgloss.Height(content)
@@ -1073,7 +1075,7 @@ func (a Model) home() (string, int, int) {
)
}
return mainLayout, editorX + 5, editorY + 2
return mainLayout, editorX + 5, editorY + editorYDelta
}
func (a Model) chat() (string, int, int) {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@opencode/web",
"type": "module",
"version": "0.11.5",
"version": "0.11.7",
"scripts": {
"dev": "astro dev",
"dev:remote": "VITE_API_URL=https://api.opencode.ai astro dev",
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "opencode",
"displayName": "opencode",
"description": "opencode for VS Code",
"version": "0.11.5",
"version": "0.11.7",
"publisher": "sst-dev",
"repository": {
"type": "git",