release: v0.8.0

This commit is contained in:
opencode
2025-09-14 06:07:43 +00:00
parent 1f8d396b76
commit 4b30705c42
11 changed files with 32 additions and 30 deletions

View File

@@ -7,7 +7,7 @@
"dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev", "dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev",
"build": "vinxi build && ../../packages/opencode/script/schema.ts ./.output/public/config.json", "build": "vinxi build && ../../packages/opencode/script/schema.ts ./.output/public/config.json",
"start": "vinxi start", "start": "vinxi start",
"version": "0.7.9" "version": "0.8.0"
}, },
"dependencies": { "dependencies": {
"@ibm/plex": "6.4.1", "@ibm/plex": "6.4.1",

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"name": "@opencode/cloud-core", "name": "@opencode/cloud-core",
"version": "0.7.9", "version": "0.8.0",
"private": true, "private": true,
"type": "module", "type": "module",
"dependencies": { "dependencies": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@opencode/cloud-function", "name": "@opencode/cloud-function",
"version": "0.7.9", "version": "0.8.0",
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"private": true, "private": true,
"type": "module", "type": "module",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@opencode/cloud-scripts", "name": "@opencode/cloud-scripts",
"version": "0.7.9", "version": "0.8.0",
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"private": true, "private": true,
"type": "module", "type": "module",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@opencode/function", "name": "@opencode/function",
"version": "0.7.9", "version": "0.8.0",
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"private": true, "private": true,
"type": "module", "type": "module",

View File

@@ -1,6 +1,6 @@
{ {
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"version": "0.7.9", "version": "0.8.0",
"name": "opencode", "name": "opencode",
"type": "module", "type": "module",
"private": true, "private": true,

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/plugin", "name": "@opencode-ai/plugin",
"version": "0.7.9", "version": "0.8.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "https://json.schemastore.org/package.json", "$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk", "name": "@opencode-ai/sdk",
"version": "0.7.9", "version": "0.8.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"

View File

@@ -29,6 +29,9 @@ export type Event =
| ({ | ({
type: "message.part.removed" type: "message.part.removed"
} & EventMessagePartRemoved) } & EventMessagePartRemoved)
| ({
type: "session.compacted"
} & EventSessionCompacted)
| ({ | ({
type: "permission.updated" type: "permission.updated"
} & EventPermissionUpdated) } & EventPermissionUpdated)
@@ -38,21 +41,18 @@ export type Event =
| ({ | ({
type: "file.edited" type: "file.edited"
} & EventFileEdited) } & EventFileEdited)
| ({
type: "session.idle"
} & EventSessionIdle)
| ({ | ({
type: "session.updated" type: "session.updated"
} & EventSessionUpdated) } & EventSessionUpdated)
| ({ | ({
type: "session.deleted" type: "session.deleted"
} & EventSessionDeleted) } & EventSessionDeleted)
| ({
type: "session.idle"
} & EventSessionIdle)
| ({ | ({
type: "session.error" type: "session.error"
} & EventSessionError) } & EventSessionError)
| ({
type: "session.compacted"
} & EventSessionCompacted)
| ({ | ({
type: "server.connected" type: "server.connected"
} & EventServerConnected) } & EventServerConnected)
@@ -425,6 +425,13 @@ export type EventMessagePartRemoved = {
} }
} }
export type EventSessionCompacted = {
type: "session.compacted"
properties: {
sessionID: string
}
}
export type EventPermissionUpdated = { export type EventPermissionUpdated = {
type: "permission.updated" type: "permission.updated"
properties: Permission properties: Permission
@@ -462,6 +469,13 @@ export type EventFileEdited = {
} }
} }
export type EventSessionIdle = {
type: "session.idle"
properties: {
sessionID: string
}
}
export type EventSessionUpdated = { export type EventSessionUpdated = {
type: "session.updated" type: "session.updated"
properties: { properties: {
@@ -499,13 +513,6 @@ export type EventSessionDeleted = {
} }
} }
export type EventSessionIdle = {
type: "session.idle"
properties: {
sessionID: string
}
}
export type EventSessionError = { export type EventSessionError = {
type: "session.error" type: "session.error"
properties: { properties: {
@@ -526,13 +533,6 @@ export type EventSessionError = {
} }
} }
export type EventSessionCompacted = {
type: "session.compacted"
properties: {
sessionID: string
}
}
export type EventServerConnected = { export type EventServerConnected = {
type: "server.connected" type: "server.connected"
properties: { properties: {
@@ -571,6 +571,7 @@ export type Config = {
description?: string description?: string
agent?: string agent?: string
model?: string model?: string
subtask?: boolean
} }
} }
plugin?: Array<string> plugin?: Array<string>
@@ -1156,6 +1157,7 @@ export type Command = {
agent?: string agent?: string
model?: string model?: string
template: string template: string
subtask?: boolean
} }
export type Symbol = { export type Symbol = {

View File

@@ -1,7 +1,7 @@
{ {
"name": "@opencode/web", "name": "@opencode/web",
"type": "module", "type": "module",
"version": "0.7.9", "version": "0.8.0",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"dev:remote": "sst shell --stage=dev --target=Web astro dev", "dev:remote": "sst shell --stage=dev --target=Web astro dev",

View File

@@ -2,7 +2,7 @@
"name": "opencode", "name": "opencode",
"displayName": "opencode", "displayName": "opencode",
"description": "opencode for VS Code", "description": "opencode for VS Code",
"version": "0.7.9", "version": "0.8.0",
"publisher": "sst-dev", "publisher": "sst-dev",
"repository": { "repository": {
"type": "git", "type": "git",