Skip to content

Commit ecafa40

Browse files
author
opencode
committed
release: v0.5.1
1 parent 25f4721 commit ecafa40

10 files changed

Lines changed: 29 additions & 29 deletions

File tree

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.4.45",
4+
"version": "0.5.1",
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.4.45",
3+
"version": "0.5.1",
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.4.45",
3+
"version": "0.5.1",
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.4.45",
3+
"version": "0.5.1",
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.4.45",
3+
"version": "0.5.1",
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.4.45",
4+
"version": "0.5.1",
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.4.45",
4+
"version": "0.5.1",
55
"type": "module",
66
"scripts": {
77
"typecheck": "tsc --noEmit"

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,15 @@ export type Event =
2222
| ({
2323
type: "storage.write"
2424
} & EventStorageWrite)
25-
| ({
26-
type: "file.edited"
27-
} & EventFileEdited)
28-
| ({
29-
type: "server.connected"
30-
} & EventServerConnected)
3125
| ({
3226
type: "permission.updated"
3327
} & EventPermissionUpdated)
3428
| ({
3529
type: "permission.replied"
3630
} & EventPermissionReplied)
31+
| ({
32+
type: "file.edited"
33+
} & EventFileEdited)
3734
| ({
3835
type: "session.updated"
3936
} & EventSessionUpdated)
@@ -46,6 +43,9 @@ export type Event =
4643
| ({
4744
type: "session.error"
4845
} & EventSessionError)
46+
| ({
47+
type: "server.connected"
48+
} & EventServerConnected)
4949
| ({
5050
type: "file.watcher.updated"
5151
} & EventFileWatcherUpdated)
@@ -425,20 +425,6 @@ export type EventStorageWrite = {
425425
}
426426
}
427427

428-
export type EventFileEdited = {
429-
type: "file.edited"
430-
properties: {
431-
file: string
432-
}
433-
}
434-
435-
export type EventServerConnected = {
436-
type: "server.connected"
437-
properties: {
438-
[key: string]: unknown
439-
}
440-
}
441-
442428
export type EventPermissionUpdated = {
443429
type: "permission.updated"
444430
properties: Permission
@@ -469,6 +455,13 @@ export type EventPermissionReplied = {
469455
}
470456
}
471457

458+
export type EventFileEdited = {
459+
type: "file.edited"
460+
properties: {
461+
file: string
462+
}
463+
}
464+
472465
export type EventSessionUpdated = {
473466
type: "session.updated"
474467
properties: {
@@ -530,6 +523,13 @@ export type EventSessionError = {
530523
}
531524
}
532525

526+
export type EventServerConnected = {
527+
type: "server.connected"
528+
properties: {
529+
[key: string]: unknown
530+
}
531+
}
532+
533533
export type EventFileWatcherUpdated = {
534534
type: "file.watcher.updated"
535535
properties: {

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.4.45",
4+
"version": "0.5.1",
55
"scripts": {
66
"dev": "astro dev",
77
"dev:remote": "sst shell --stage=dev --target=Web astro dev",

sdks/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "opencode",
33
"displayName": "opencode",
44
"description": "opencode for VS Code",
5-
"version": "0.4.45",
5+
"version": "0.5.1",
66
"publisher": "sst-dev",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)