Skip to content

Commit 57b04d9

Browse files
author
opencode
committed
release: v0.5.2
1 parent 07dbc30 commit 57b04d9

File tree

11 files changed

+25
-10
lines changed

11 files changed

+25
-10
lines changed

cloud/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/cloud-core",
4-
"version": "0.5.1",
4+
"version": "0.5.2",
55
"private": true,
66
"type": "module",
77
"dependencies": {

cloud/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/cloud-function",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"$schema": "https://json.schemastore.org/package.json",
55
"private": true,
66
"type": "module",

cloud/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode/cloud-web",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"private": true,
55
"description": "",
66
"type": "module",

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/function",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"$schema": "https://json.schemastore.org/package.json",
55
"private": true,
66
"type": "module",

packages/opencode/package.json

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

packages/plugin/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/plugin",
4-
"version": "0.5.1",
4+
"version": "0.5.2",
55
"type": "module",
66
"scripts": {
77
"typecheck": "tsc --noEmit"

packages/sdk/js/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/sdk",
4-
"version": "0.5.1",
4+
"version": "0.5.2",
55
"type": "module",
66
"scripts": {
77
"typecheck": "tsc --noEmit"

packages/sdk/js/src/gen/sdk.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ class Session extends _HeyApiClient {
212212
return (options?.client ?? this._client).post<SessionCreateResponses, SessionCreateErrors, ThrowOnError>({
213213
url: "/session",
214214
...options,
215+
headers: {
216+
"Content-Type": "application/json",
217+
...options?.headers,
218+
},
215219
})
216220
}
217221

packages/sdk/js/src/gen/types.gen.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,14 @@ export type KeybindsConfig = {
801801
* Compact the session
802802
*/
803803
session_compact: string
804+
/**
805+
* Cycle to next child session
806+
*/
807+
session_child_cycle: string
808+
/**
809+
* Cycle to previous child session
810+
*/
811+
session_child_cycle_reverse: string
804812
/**
805813
* Scroll messages up by one page
806814
*/
@@ -1239,7 +1247,10 @@ export type SessionListResponses = {
12391247
export type SessionListResponse = SessionListResponses[keyof SessionListResponses]
12401248

12411249
export type SessionCreateData = {
1242-
body?: never
1250+
body?: {
1251+
parentID?: string
1252+
title?: string
1253+
}
12431254
path?: never
12441255
query?: never
12451256
url: "/session"

packages/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opencode/web",
33
"type": "module",
4-
"version": "0.5.1",
4+
"version": "0.5.2",
55
"scripts": {
66
"dev": "astro dev",
77
"dev:remote": "sst shell --stage=dev --target=Web astro dev",

0 commit comments

Comments
 (0)