@opencode/protocol 0.0.0-dev-20465 → 0.0.0-dev-20470
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 +16 -17
- package/package.json +2 -2
package/dist/groups/session.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { Event } from "@opencode/schema/event";
|
|
|
4
4
|
import { Context, Effect, Schema } from "effect";
|
|
5
5
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSchema } from "effect/unstable/httpapi";
|
|
6
6
|
import { ConflictError, CommandExecutionError, CommandNotFoundError, FormAlreadySettledError, FormInvalidAnswerError, FormNotFoundError, InvalidCursorError, InvalidRequestError, MessageNotFoundError, ServiceUnavailableError, SessionBusyError, SessionNotFoundError, SkillNotFoundError, UnknownError } from "../errors.js";
|
|
7
|
-
import { SessionEvent } from "@opencode/schema/session-event";
|
|
8
7
|
declare const SessionsCursorInput: Schema.Union<readonly [Schema.Struct<{
|
|
9
8
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10
9
|
readonly parentID: Schema.optional<Schema.Union<readonly [Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1009,7 +1008,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1009
1008
|
readonly text: Schema.String;
|
|
1010
1009
|
}>>, never, never>;
|
|
1011
1010
|
}> & {
|
|
1012
|
-
create: (input:
|
|
1011
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
1013
1012
|
readonly data: string;
|
|
1014
1013
|
readonly source: {
|
|
1015
1014
|
readonly type: "inline";
|
|
@@ -1047,7 +1046,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1047
1046
|
readonly text: Schema.String;
|
|
1048
1047
|
}>>, never, never>;
|
|
1049
1048
|
}> & {
|
|
1050
|
-
create: (input:
|
|
1049
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
1051
1050
|
readonly data: string;
|
|
1052
1051
|
readonly source: {
|
|
1053
1052
|
readonly type: "inline";
|
|
@@ -2088,7 +2087,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2088
2087
|
readonly text: Schema.String;
|
|
2089
2088
|
}>>, never, never>;
|
|
2090
2089
|
}> & {
|
|
2091
|
-
create: (input:
|
|
2090
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
2092
2091
|
readonly data: string;
|
|
2093
2092
|
readonly source: {
|
|
2094
2093
|
readonly type: "inline";
|
|
@@ -2126,7 +2125,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2126
2125
|
readonly text: Schema.String;
|
|
2127
2126
|
}>>, never, never>;
|
|
2128
2127
|
}> & {
|
|
2129
|
-
create: (input:
|
|
2128
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
2130
2129
|
readonly data: string;
|
|
2131
2130
|
readonly source: {
|
|
2132
2131
|
readonly type: "inline";
|
|
@@ -3237,7 +3236,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3237
3236
|
readonly text: Schema.String;
|
|
3238
3237
|
}>>, never, never>;
|
|
3239
3238
|
}> & {
|
|
3240
|
-
create: (input:
|
|
3239
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
3241
3240
|
readonly data: string;
|
|
3242
3241
|
readonly source: {
|
|
3243
3242
|
readonly type: "inline";
|
|
@@ -3275,7 +3274,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3275
3274
|
readonly text: Schema.String;
|
|
3276
3275
|
}>>, never, never>;
|
|
3277
3276
|
}> & {
|
|
3278
|
-
create: (input:
|
|
3277
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
3279
3278
|
readonly data: string;
|
|
3280
3279
|
readonly source: {
|
|
3281
3280
|
readonly type: "inline";
|
|
@@ -3741,7 +3740,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3741
3740
|
readonly text: Schema.String;
|
|
3742
3741
|
}>>, never, never>;
|
|
3743
3742
|
}> & {
|
|
3744
|
-
create: (input:
|
|
3743
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
3745
3744
|
readonly data: string;
|
|
3746
3745
|
readonly source: {
|
|
3747
3746
|
readonly type: "inline";
|
|
@@ -3779,7 +3778,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3779
3778
|
readonly text: Schema.String;
|
|
3780
3779
|
}>>, never, never>;
|
|
3781
3780
|
}> & {
|
|
3782
|
-
create: (input:
|
|
3781
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
3783
3782
|
readonly data: string;
|
|
3784
3783
|
readonly source: {
|
|
3785
3784
|
readonly type: "inline";
|
|
@@ -4372,7 +4371,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
4372
4371
|
readonly text: Schema.String;
|
|
4373
4372
|
}>>, never, never>;
|
|
4374
4373
|
}> & {
|
|
4375
|
-
create: (input:
|
|
4374
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
4376
4375
|
readonly data: string;
|
|
4377
4376
|
readonly source: {
|
|
4378
4377
|
readonly type: "inline";
|
|
@@ -4410,7 +4409,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
4410
4409
|
readonly text: Schema.String;
|
|
4411
4410
|
}>>, never, never>;
|
|
4412
4411
|
}> & {
|
|
4413
|
-
create: (input:
|
|
4412
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
4414
4413
|
readonly data: string;
|
|
4415
4414
|
readonly source: {
|
|
4416
4415
|
readonly type: "inline";
|
|
@@ -5626,7 +5625,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5626
5625
|
readonly text: Schema.String;
|
|
5627
5626
|
}>>, never, never>;
|
|
5628
5627
|
}> & {
|
|
5629
|
-
create: (input:
|
|
5628
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
5630
5629
|
readonly data: string;
|
|
5631
5630
|
readonly source: {
|
|
5632
5631
|
readonly type: "inline";
|
|
@@ -5664,7 +5663,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5664
5663
|
readonly text: Schema.String;
|
|
5665
5664
|
}>>, never, never>;
|
|
5666
5665
|
}> & {
|
|
5667
|
-
create: (input:
|
|
5666
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
5668
5667
|
readonly data: string;
|
|
5669
5668
|
readonly source: {
|
|
5670
5669
|
readonly type: "inline";
|
|
@@ -5809,7 +5808,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5809
5808
|
readonly text: Schema.String;
|
|
5810
5809
|
}>>, never, never>;
|
|
5811
5810
|
}> & {
|
|
5812
|
-
create: (input:
|
|
5811
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
5813
5812
|
readonly data: string;
|
|
5814
5813
|
readonly source: {
|
|
5815
5814
|
readonly type: "inline";
|
|
@@ -5847,7 +5846,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5847
5846
|
readonly text: Schema.String;
|
|
5848
5847
|
}>>, never, never>;
|
|
5849
5848
|
}> & {
|
|
5850
|
-
create: (input:
|
|
5849
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
5851
5850
|
readonly data: string;
|
|
5852
5851
|
readonly source: {
|
|
5853
5852
|
readonly type: "inline";
|
|
@@ -10327,7 +10326,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10327
10326
|
readonly text: Schema.String;
|
|
10328
10327
|
}>>, never, never>;
|
|
10329
10328
|
}> & {
|
|
10330
|
-
create: (input:
|
|
10329
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
10331
10330
|
readonly data: string;
|
|
10332
10331
|
readonly source: {
|
|
10333
10332
|
readonly type: "inline";
|
|
@@ -10365,7 +10364,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10365
10364
|
readonly text: Schema.String;
|
|
10366
10365
|
}>>, never, never>;
|
|
10367
10366
|
}> & {
|
|
10368
|
-
create: (input:
|
|
10367
|
+
create: (input: import("@opencode/schema/prompt").FileAttachment) => {
|
|
10369
10368
|
readonly data: string;
|
|
10370
10369
|
readonly source: {
|
|
10371
10370
|
readonly type: "inline";
|
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-20470",
|
|
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-20470",
|
|
36
36
|
"effect": "4.0.0-rc.112"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|