release: v0.5.2

This commit is contained in:
opencode
2025-08-15 15:22:21 +00:00
parent 07dbc30c63
commit 57b04d9eb7
11 changed files with 25 additions and 10 deletions

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.5.1", "version": "0.5.2",
"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.5.1", "version": "0.5.2",
"$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-web", "name": "@opencode/cloud-web",
"version": "0.5.1", "version": "0.5.2",
"private": true, "private": true,
"description": "", "description": "",
"type": "module", "type": "module",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@opencode/function", "name": "@opencode/function",
"version": "0.5.1", "version": "0.5.2",
"$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.5.1", "version": "0.5.2",
"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.5.1", "version": "0.5.2",
"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.5.1", "version": "0.5.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"

View File

@@ -212,6 +212,10 @@ class Session extends _HeyApiClient {
return (options?.client ?? this._client).post<SessionCreateResponses, SessionCreateErrors, ThrowOnError>({ return (options?.client ?? this._client).post<SessionCreateResponses, SessionCreateErrors, ThrowOnError>({
url: "/session", url: "/session",
...options, ...options,
headers: {
"Content-Type": "application/json",
...options?.headers,
},
}) })
} }

View File

@@ -801,6 +801,14 @@ export type KeybindsConfig = {
* Compact the session * Compact the session
*/ */
session_compact: string session_compact: string
/**
* Cycle to next child session
*/
session_child_cycle: string
/**
* Cycle to previous child session
*/
session_child_cycle_reverse: string
/** /**
* Scroll messages up by one page * Scroll messages up by one page
*/ */
@@ -1239,7 +1247,10 @@ export type SessionListResponses = {
export type SessionListResponse = SessionListResponses[keyof SessionListResponses] export type SessionListResponse = SessionListResponses[keyof SessionListResponses]
export type SessionCreateData = { export type SessionCreateData = {
body?: never body?: {
parentID?: string
title?: string
}
path?: never path?: never
query?: never query?: never
url: "/session" url: "/session"

View File

@@ -1,7 +1,7 @@
{ {
"name": "@opencode/web", "name": "@opencode/web",
"type": "module", "type": "module",
"version": "0.5.1", "version": "0.5.2",
"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.5.1", "version": "0.5.2",
"publisher": "sst-dev", "publisher": "sst-dev",
"repository": { "repository": {
"type": "git", "type": "git",