@opencode-ai/protocol 0.0.0-next-16255 → 0.0.0-next-16273
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/errors.d.ts +6 -0
- package/dist/errors.js +5 -0
- package/dist/groups/agent.d.ts +125 -29
- package/dist/groups/agent.js +13 -0
- package/dist/groups/command.d.ts +26 -26
- package/dist/groups/debug.d.ts +6 -6
- package/dist/groups/event.d.ts +5036 -6369
- package/dist/groups/generate.d.ts +13 -13
- package/dist/groups/message.d.ts +77 -77
- package/dist/groups/model.d.ts +34 -34
- package/dist/groups/permission.d.ts +14 -14
- package/dist/groups/provider.d.ts +40 -40
- package/dist/groups/question.d.ts +12 -12
- package/dist/groups/session.d.ts +1542 -1765
- package/package.json +3 -3
|
@@ -10,9 +10,9 @@ export declare const makeQuestionGroup: <LocationId extends HttpApiMiddleware.An
|
|
|
10
10
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
11
11
|
readonly location: typeof Location.Info;
|
|
12
12
|
readonly data: Schema.$Array<Schema.Struct<{
|
|
13
|
-
readonly id: Schema.brand<Schema.String, "
|
|
14
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
15
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
13
|
+
readonly id: Schema.brand<Schema.String, "Question.ID"> & {
|
|
14
|
+
create: () => string & import("effect/Brand").Brand<"Question.ID">;
|
|
15
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Question.ID">;
|
|
16
16
|
};
|
|
17
17
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
18
18
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -43,9 +43,9 @@ export declare const makeQuestionGroup: <LocationId extends HttpApiMiddleware.An
|
|
|
43
43
|
};
|
|
44
44
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
45
45
|
readonly data: Schema.$Array<Schema.Struct<{
|
|
46
|
-
readonly id: Schema.brand<Schema.String, "
|
|
47
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
48
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
46
|
+
readonly id: Schema.brand<Schema.String, "Question.ID"> & {
|
|
47
|
+
create: () => string & import("effect/Brand").Brand<"Question.ID">;
|
|
48
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Question.ID">;
|
|
49
49
|
};
|
|
50
50
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
51
51
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -74,9 +74,9 @@ export declare const makeQuestionGroup: <LocationId extends HttpApiMiddleware.An
|
|
|
74
74
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
75
75
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
76
76
|
};
|
|
77
|
-
requestID: Schema.brand<Schema.String, "
|
|
78
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
79
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
77
|
+
requestID: Schema.brand<Schema.String, "Question.ID"> & {
|
|
78
|
+
create: () => string & import("effect/Brand").Brand<"Question.ID">;
|
|
79
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Question.ID">;
|
|
80
80
|
};
|
|
81
81
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
82
82
|
readonly answers: Schema.$Array<Schema.$Array<Schema.String>>;
|
|
@@ -85,8 +85,8 @@ export declare const makeQuestionGroup: <LocationId extends HttpApiMiddleware.An
|
|
|
85
85
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
86
86
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
87
87
|
};
|
|
88
|
-
requestID: Schema.brand<Schema.String, "
|
|
89
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
90
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
88
|
+
requestID: Schema.brand<Schema.String, "Question.ID"> & {
|
|
89
|
+
create: () => string & import("effect/Brand").Brand<"Question.ID">;
|
|
90
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Question.ID">;
|
|
91
91
|
};
|
|
92
92
|
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError | typeof QuestionNotFoundError>, SessionLocationId, HttpApiMiddleware.Requires<SessionLocationId>>, false>;
|