@opencode-ai/protocol 0.0.0-dev-17753 → 0.0.0-dev-17755
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +2 -2
- package/dist/groups/pty.d.ts +3 -1
- package/dist/groups/pty.js +1 -0
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -43,5 +43,5 @@ export const groupNames = {
|
|
|
43
43
|
"server.vcs": "vcs",
|
|
44
44
|
"server.config": "config",
|
|
45
45
|
};
|
|
46
|
-
export const promiseOmitEndpoints = new Set(["pty.connect"
|
|
47
|
-
export const effectOmitEndpoints = new Set(["fs.read", "pty.connect"
|
|
46
|
+
export const promiseOmitEndpoints = new Set(["pty.connect"]);
|
|
47
|
+
export const effectOmitEndpoints = new Set(["fs.read", "pty.connect"]);
|
package/dist/groups/pty.d.ts
CHANGED
|
@@ -131,7 +131,9 @@ export declare const PtyGroup: HttpApiGroup.HttpApiGroup<"server.pty", HttpApiEn
|
|
|
131
131
|
readonly directory: Schema.optional<Schema.String>;
|
|
132
132
|
readonly workspace: Schema.optional<Schema.String>;
|
|
133
133
|
}>>;
|
|
134
|
-
}>>, never,
|
|
134
|
+
}>>, never, Schema.toCodecStringTree<Schema.Struct<{
|
|
135
|
+
readonly "x-opencode-ticket": Schema.optional<Schema.String>;
|
|
136
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
135
137
|
readonly location: typeof Location.Info;
|
|
136
138
|
readonly data: Schema.Struct<{
|
|
137
139
|
readonly ticket: Schema.String;
|
package/dist/groups/pty.js
CHANGED
|
@@ -76,6 +76,7 @@ export const PtyGroup = HttpApiGroup.make("server.pty")
|
|
|
76
76
|
.add(HttpApiEndpoint.post("pty.connectToken", "/api/pty/:ptyID/connect-token", {
|
|
77
77
|
params: { ptyID: Pty.ID },
|
|
78
78
|
query: LocationQuery,
|
|
79
|
+
headers: Schema.Struct({ [PTY_CONNECT_TOKEN_HEADER]: Schema.optional(Schema.String) }),
|
|
79
80
|
success: Location.response(PtyTicket.ConnectToken),
|
|
80
81
|
error: [ForbiddenError, PtyNotFoundError],
|
|
81
82
|
})
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/protocol",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-17755",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "tsgo --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@opencode-ai/schema": "0.0.0-dev-
|
|
35
|
+
"@opencode-ai/schema": "0.0.0-dev-17755",
|
|
36
36
|
"effect": "4.0.0-rc.110"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|