@opencode-ai/protocol 0.0.0-next-15086 → 0.0.0-next-15087
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.d.ts +0 -20
- package/dist/client.js +0 -20
- package/dist/groups/debug.js +1 -1
- package/dist/groups/message.js +1 -1
- package/dist/groups/pty.js +1 -1
- package/package.json +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -52,26 +52,6 @@ export declare const groupNames: {
|
|
|
52
52
|
readonly "server.projectCopy": "projectCopy";
|
|
53
53
|
readonly "server.vcs": "vcs";
|
|
54
54
|
};
|
|
55
|
-
export declare const endpointNames: {
|
|
56
|
-
readonly "debug.location.evict": "evictLocation";
|
|
57
|
-
readonly "session.messages": "list";
|
|
58
|
-
readonly "integration.connect.key": "connectKey";
|
|
59
|
-
readonly "integration.connect.oauth": "connectOauth";
|
|
60
|
-
readonly "integration.attempt.status": "attemptStatus";
|
|
61
|
-
readonly "integration.attempt.complete": "attemptComplete";
|
|
62
|
-
readonly "integration.attempt.cancel": "attemptCancel";
|
|
63
|
-
readonly "session.instructions.entry.list": readonly ["instructions", "entry", "list"];
|
|
64
|
-
readonly "session.instructions.entry.put": readonly ["instructions", "entry", "put"];
|
|
65
|
-
readonly "session.instructions.entry.remove": readonly ["instructions", "entry", "remove"];
|
|
66
|
-
readonly "session.revert.stage": "revertStage";
|
|
67
|
-
readonly "session.revert.clear": "revertClear";
|
|
68
|
-
readonly "session.revert.commit": "revertCommit";
|
|
69
|
-
readonly "permission.request.list": "listRequests";
|
|
70
|
-
readonly "permission.saved.list": "listSaved";
|
|
71
|
-
readonly "permission.saved.remove": "removeSaved";
|
|
72
|
-
readonly "form.request.list": "listRequests";
|
|
73
|
-
readonly "question.request.list": "listRequests";
|
|
74
|
-
};
|
|
75
55
|
export declare const promiseOmitEndpoints: Set<string>;
|
|
76
56
|
export declare const effectOmitEndpoints: Set<string>;
|
|
77
57
|
export {};
|
package/dist/client.js
CHANGED
|
@@ -39,25 +39,5 @@ export const groupNames = {
|
|
|
39
39
|
"server.projectCopy": "projectCopy",
|
|
40
40
|
"server.vcs": "vcs",
|
|
41
41
|
};
|
|
42
|
-
export const endpointNames = {
|
|
43
|
-
"debug.location.evict": "evictLocation",
|
|
44
|
-
"session.messages": "list",
|
|
45
|
-
"integration.connect.key": "connectKey",
|
|
46
|
-
"integration.connect.oauth": "connectOauth",
|
|
47
|
-
"integration.attempt.status": "attemptStatus",
|
|
48
|
-
"integration.attempt.complete": "attemptComplete",
|
|
49
|
-
"integration.attempt.cancel": "attemptCancel",
|
|
50
|
-
"session.instructions.entry.list": ["instructions", "entry", "list"],
|
|
51
|
-
"session.instructions.entry.put": ["instructions", "entry", "put"],
|
|
52
|
-
"session.instructions.entry.remove": ["instructions", "entry", "remove"],
|
|
53
|
-
"session.revert.stage": "revertStage",
|
|
54
|
-
"session.revert.clear": "revertClear",
|
|
55
|
-
"session.revert.commit": "revertCommit",
|
|
56
|
-
"permission.request.list": "listRequests",
|
|
57
|
-
"permission.saved.list": "listSaved",
|
|
58
|
-
"permission.saved.remove": "removeSaved",
|
|
59
|
-
"form.request.list": "listRequests",
|
|
60
|
-
"question.request.list": "listRequests",
|
|
61
|
-
};
|
|
62
42
|
export const promiseOmitEndpoints = new Set(["pty.connect", "pty.connectToken"]);
|
|
63
43
|
export const effectOmitEndpoints = new Set(["fs.read", "pty.connect", "pty.connectToken"]);
|
package/dist/groups/debug.js
CHANGED
|
@@ -6,7 +6,7 @@ export const DebugGroup = HttpApiGroup.make("server.debug")
|
|
|
6
6
|
.add(HttpApiEndpoint.get("debug.location", "/api/debug/location", {
|
|
7
7
|
success: Schema.Array(Location.Ref),
|
|
8
8
|
}).annotateMerge(OpenApi.annotations({
|
|
9
|
-
identifier: "v2.debug.location",
|
|
9
|
+
identifier: "v2.debug.location.list",
|
|
10
10
|
summary: "List loaded locations",
|
|
11
11
|
description: "List locations currently loaded by the server.",
|
|
12
12
|
})))
|
package/dist/groups/message.js
CHANGED
|
@@ -27,7 +27,7 @@ export const MessageGroup = HttpApiGroup.make("server.message")
|
|
|
27
27
|
}).annotate({ identifier: "SessionMessagesResponse" }),
|
|
28
28
|
error: [InvalidCursorError, SessionNotFoundError, UnknownError],
|
|
29
29
|
}).annotateMerge(OpenApi.annotations({
|
|
30
|
-
identifier: "v2.
|
|
30
|
+
identifier: "v2.message.list",
|
|
31
31
|
summary: "Get session messages",
|
|
32
32
|
description: "Retrieve projected messages for a session. Items keep the requested order across pages; use cursor.next or cursor.previous to move through the ordered timeline.",
|
|
33
33
|
})))
|
package/dist/groups/pty.js
CHANGED
|
@@ -81,7 +81,7 @@ export const PtyGroup = HttpApiGroup.make("server.pty")
|
|
|
81
81
|
})
|
|
82
82
|
.annotateMerge(locationQueryOpenApi)
|
|
83
83
|
.annotateMerge(OpenApi.annotations({
|
|
84
|
-
identifier: "v2.pty.
|
|
84
|
+
identifier: "v2.pty.connect.token",
|
|
85
85
|
summary: "Create PTY WebSocket token",
|
|
86
86
|
description: "Create a short-lived single-use ticket for opening a PTY WebSocket connection.",
|
|
87
87
|
})))
|
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-next-
|
|
4
|
+
"version": "0.0.0-next-15087",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsgo --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
29
|
+
"@opencode-ai/schema": "0.0.0-next-15087",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|