@opencode/protocol 0.0.0-dev-433 → 0.0.0-dev-438
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
|
@@ -545,7 +545,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
545
545
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
546
546
|
}>;
|
|
547
547
|
}>;
|
|
548
|
-
}>>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>,
|
|
548
|
+
}>>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.context", "GET", "/api/session/:sessionID/context", Schema.toCodecStringTree<Schema.Struct<{
|
|
549
549
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
550
550
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
551
551
|
};
|
|
@@ -11746,7 +11746,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
11746
11746
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11747
11747
|
}>;
|
|
11748
11748
|
}>;
|
|
11749
|
-
}>>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>,
|
|
11749
|
+
}>>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.update", "PATCH", "/api/session/:sessionID", Schema.toCodecStringTree<Schema.Struct<{
|
|
11750
11750
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11751
11751
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11752
11752
|
};
|
package/dist/groups/session.js
CHANGED
|
@@ -295,9 +295,7 @@ export const makeSessionGroup = (sessionLocationMiddleware, formLocationMiddlewa
|
|
|
295
295
|
}),
|
|
296
296
|
success: Schema.Struct({ data: SessionInbox.Synthetic }),
|
|
297
297
|
error: [ConflictError, SessionNotFoundError],
|
|
298
|
-
})
|
|
299
|
-
.middleware(sessionLocationMiddleware)
|
|
300
|
-
.annotateMerge(OpenApi.annotations({
|
|
298
|
+
}).annotateMerge(OpenApi.annotations({
|
|
301
299
|
identifier: "session.synthetic",
|
|
302
300
|
summary: "Add synthetic message",
|
|
303
301
|
description: "Durably admit synthetic session input and schedule execution unless resume is false.",
|
|
@@ -325,9 +323,7 @@ export const makeSessionGroup = (sessionLocationMiddleware, formLocationMiddlewa
|
|
|
325
323
|
}),
|
|
326
324
|
success: Schema.Struct({ data: SessionInbox.Compaction }),
|
|
327
325
|
error: [ConflictError, SessionNotFoundError],
|
|
328
|
-
})
|
|
329
|
-
.middleware(sessionLocationMiddleware)
|
|
330
|
-
.annotateMerge(OpenApi.annotations({
|
|
326
|
+
}).annotateMerge(OpenApi.annotations({
|
|
331
327
|
identifier: "session.compact",
|
|
332
328
|
summary: "Compact session",
|
|
333
329
|
description: "Durably admit a session compaction request. Steers by default: it runs at the next step boundary instead of waiting behind queued prompts.",
|
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-438",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typecheck:tsc": "tsc --noEmit"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@opencode/schema": "0.0.0-dev-
|
|
38
|
+
"@opencode/schema": "0.0.0-dev-438",
|
|
39
39
|
"effect": "4.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|