@opencode-ai/protocol 0.0.0-next-15073 → 0.0.0-next-15075
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/session.d.ts
CHANGED
|
@@ -1461,6 +1461,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1461
1461
|
readonly text: Schema.String;
|
|
1462
1462
|
readonly description: Schema.optional<Schema.String>;
|
|
1463
1463
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1464
|
+
readonly resume: Schema.optional<Schema.Boolean>;
|
|
1464
1465
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<HttpApiSchema.NoContent>, HttpApiEndpoint.Json<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.shell", "POST", "/api/session/:sessionID/shell", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
1465
1466
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1466
1467
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/groups/session.js
CHANGED
|
@@ -255,6 +255,7 @@ export const makeSessionGroup = (sessionLocationMiddleware) => HttpApiGroup.make
|
|
|
255
255
|
text: Schema.String,
|
|
256
256
|
description: Schema.String.pipe(Schema.optional),
|
|
257
257
|
metadata: SessionMessage.Synthetic.fields.metadata,
|
|
258
|
+
resume: Schema.Boolean.pipe(Schema.optional),
|
|
258
259
|
}),
|
|
259
260
|
success: HttpApiSchema.NoContent,
|
|
260
261
|
error: SessionNotFoundError,
|
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-15075",
|
|
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-15075",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|