@opencode/protocol 0.0.0-dev-20449 → 0.0.0-dev-20451
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/groups/server.d.ts +6 -0
- package/dist/groups/server.js +4 -0
- package/package.json +2 -2
package/dist/groups/server.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ export declare const ServerInfo: Schema.Struct<{
|
|
|
8
8
|
readonly paths: Schema.Struct<{
|
|
9
9
|
readonly tmp: Schema.String;
|
|
10
10
|
}>;
|
|
11
|
+
readonly capabilities: Schema.optional<Schema.Struct<{
|
|
12
|
+
readonly persistentPty: Schema.optional<Schema.Boolean>;
|
|
13
|
+
}>>;
|
|
11
14
|
}>;
|
|
12
15
|
export type ServerInfo = typeof ServerInfo.Type;
|
|
13
16
|
export declare const PairingCode: Schema.Struct<{
|
|
@@ -27,6 +30,9 @@ export declare const ServerGroup: HttpApiGroup.HttpApiGroup<"server.server", Htt
|
|
|
27
30
|
readonly paths: Schema.Struct<{
|
|
28
31
|
readonly tmp: Schema.String;
|
|
29
32
|
}>;
|
|
33
|
+
readonly capabilities: Schema.optional<Schema.Struct<{
|
|
34
|
+
readonly persistentPty: Schema.optional<Schema.Boolean>;
|
|
35
|
+
}>>;
|
|
30
36
|
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"server.pair", "POST", "/api/pair", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
31
37
|
readonly code: Schema.String;
|
|
32
38
|
readonly expires_in: Schema.Int;
|
package/dist/groups/server.js
CHANGED
|
@@ -9,6 +9,10 @@ export const ServerInfo = Schema.Struct({
|
|
|
9
9
|
paths: Schema.Struct({
|
|
10
10
|
tmp: Schema.String,
|
|
11
11
|
}),
|
|
12
|
+
// Optional at every level so clients still decode servers that predate a capability.
|
|
13
|
+
capabilities: Schema.optional(Schema.Struct({
|
|
14
|
+
persistentPty: Schema.optional(Schema.Boolean),
|
|
15
|
+
})),
|
|
12
16
|
}).annotate({ identifier: "ServerInfo" });
|
|
13
17
|
export const PairingCode = Schema.Struct({
|
|
14
18
|
code: Schema.String,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/protocol",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-20451",
|
|
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/schema": "0.0.0-dev-
|
|
35
|
+
"@opencode/schema": "0.0.0-dev-20451",
|
|
36
36
|
"effect": "4.0.0-rc.112"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|