@opencode-ai/schema 0.0.0-next-15174 → 0.0.0-next-15180
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/durable-event-manifest.d.ts +232 -322
- package/dist/event-manifest.d.ts +464 -644
- package/dist/session-event.d.ts +1165 -1615
- package/dist/session-event.js +12 -14
- package/dist/session-input.d.ts +284 -181
- package/dist/session-input.js +35 -13
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -2940,7 +2940,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2940
2940
|
};
|
|
2941
2941
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
2942
2942
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2943
|
-
readonly type: Schema.Literal<"session.
|
|
2943
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
2944
2944
|
readonly durable: Schema.Struct<{
|
|
2945
2945
|
readonly aggregateID: Schema.String;
|
|
2946
2946
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -2976,7 +2976,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2976
2976
|
};
|
|
2977
2977
|
}>;
|
|
2978
2978
|
}> & {
|
|
2979
|
-
type: "session.
|
|
2979
|
+
type: "session.input.promoted";
|
|
2980
2980
|
durability: "durable";
|
|
2981
2981
|
durable: {
|
|
2982
2982
|
readonly version: number;
|
|
@@ -2998,7 +2998,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2998
2998
|
};
|
|
2999
2999
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3000
3000
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3001
|
-
readonly type: Schema.Literal<"session.
|
|
3001
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
3002
3002
|
readonly durable: Schema.Struct<{
|
|
3003
3003
|
readonly aggregateID: Schema.String;
|
|
3004
3004
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3024,350 +3024,260 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3024
3024
|
}>, never, never>;
|
|
3025
3025
|
}>>, never, never>;
|
|
3026
3026
|
readonly data: Schema.Struct<{
|
|
3027
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3027
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3028
3028
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3029
3029
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3030
3030
|
};
|
|
3031
|
-
|
|
3032
|
-
readonly
|
|
3033
|
-
readonly
|
|
3034
|
-
readonly
|
|
3035
|
-
readonly
|
|
3036
|
-
readonly
|
|
3037
|
-
readonly
|
|
3038
|
-
|
|
3039
|
-
readonly
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
readonly
|
|
3046
|
-
readonly
|
|
3047
|
-
readonly
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
readonly
|
|
3059
|
-
|
|
3060
|
-
readonly
|
|
3061
|
-
|
|
3031
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
3032
|
+
readonly type: Schema.tag<"user">;
|
|
3033
|
+
readonly data: Schema.Struct<{
|
|
3034
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3035
|
+
readonly text: Schema.String;
|
|
3036
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3037
|
+
readonly data: Schema.String;
|
|
3038
|
+
readonly mime: Schema.String;
|
|
3039
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3040
|
+
readonly type: Schema.Literal<"inline">;
|
|
3041
|
+
}>, Schema.Struct<{
|
|
3042
|
+
readonly type: Schema.Literal<"uri">;
|
|
3043
|
+
readonly uri: Schema.String;
|
|
3044
|
+
}>]>;
|
|
3045
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3046
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3047
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3048
|
+
readonly start: Schema.Finite;
|
|
3049
|
+
readonly end: Schema.Finite;
|
|
3050
|
+
readonly text: Schema.String;
|
|
3051
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3052
|
+
readonly start: Schema.Finite;
|
|
3053
|
+
readonly end: Schema.Finite;
|
|
3054
|
+
readonly text: Schema.String;
|
|
3055
|
+
}>>, never, never>;
|
|
3056
|
+
}> & {
|
|
3057
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
3058
|
+
readonly data: string;
|
|
3059
|
+
readonly mime: string;
|
|
3060
|
+
readonly source: {
|
|
3061
|
+
readonly type: "inline";
|
|
3062
|
+
} | {
|
|
3063
|
+
readonly type: "uri";
|
|
3064
|
+
readonly uri: string;
|
|
3065
|
+
};
|
|
3066
|
+
readonly name?: string | undefined;
|
|
3067
|
+
readonly description?: string | undefined;
|
|
3068
|
+
readonly mention?: {
|
|
3069
|
+
readonly start: number;
|
|
3070
|
+
readonly end: number;
|
|
3071
|
+
readonly text: string;
|
|
3072
|
+
} | undefined;
|
|
3062
3073
|
};
|
|
3063
|
-
|
|
3064
|
-
readonly
|
|
3065
|
-
readonly
|
|
3066
|
-
|
|
3067
|
-
readonly
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3074
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3075
|
+
readonly data: Schema.String;
|
|
3076
|
+
readonly mime: Schema.String;
|
|
3077
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3078
|
+
readonly type: Schema.Literal<"inline">;
|
|
3079
|
+
}>, Schema.Struct<{
|
|
3080
|
+
readonly type: Schema.Literal<"uri">;
|
|
3081
|
+
readonly uri: Schema.String;
|
|
3082
|
+
}>]>;
|
|
3083
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3084
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3085
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3086
|
+
readonly start: Schema.Finite;
|
|
3087
|
+
readonly end: Schema.Finite;
|
|
3088
|
+
readonly text: Schema.String;
|
|
3089
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3090
|
+
readonly start: Schema.Finite;
|
|
3091
|
+
readonly end: Schema.Finite;
|
|
3092
|
+
readonly text: Schema.String;
|
|
3093
|
+
}>>, never, never>;
|
|
3094
|
+
}> & {
|
|
3095
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
3096
|
+
readonly data: string;
|
|
3097
|
+
readonly mime: string;
|
|
3098
|
+
readonly source: {
|
|
3099
|
+
readonly type: "inline";
|
|
3100
|
+
} | {
|
|
3101
|
+
readonly type: "uri";
|
|
3102
|
+
readonly uri: string;
|
|
3103
|
+
};
|
|
3104
|
+
readonly name?: string | undefined;
|
|
3105
|
+
readonly description?: string | undefined;
|
|
3106
|
+
readonly mention?: {
|
|
3107
|
+
readonly start: number;
|
|
3108
|
+
readonly end: number;
|
|
3109
|
+
readonly text: string;
|
|
3110
|
+
} | undefined;
|
|
3100
3111
|
};
|
|
3101
|
-
readonly name?: string | undefined;
|
|
3102
|
-
readonly description?: string | undefined;
|
|
3103
|
-
readonly mention?: {
|
|
3104
|
-
readonly start: number;
|
|
3105
|
-
readonly end: number;
|
|
3106
|
-
readonly text: string;
|
|
3107
|
-
} | undefined;
|
|
3108
|
-
};
|
|
3109
|
-
}>>, never, never>;
|
|
3110
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3111
|
-
readonly name: Schema.String;
|
|
3112
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3113
|
-
readonly start: Schema.Finite;
|
|
3114
|
-
readonly end: Schema.Finite;
|
|
3115
|
-
readonly text: Schema.String;
|
|
3116
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3117
|
-
readonly start: Schema.Finite;
|
|
3118
|
-
readonly end: Schema.Finite;
|
|
3119
|
-
readonly text: Schema.String;
|
|
3120
3112
|
}>>, never, never>;
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
readonly
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
};
|
|
3145
|
-
readonly name?: string | undefined;
|
|
3146
|
-
readonly description?: string | undefined;
|
|
3147
|
-
readonly mention?: {
|
|
3148
|
-
readonly start: number;
|
|
3149
|
-
readonly end: number;
|
|
3150
|
-
readonly text: string;
|
|
3151
|
-
} | undefined;
|
|
3152
|
-
}[] | undefined;
|
|
3153
|
-
readonly agents?: readonly {
|
|
3154
|
-
readonly name: string;
|
|
3155
|
-
readonly mention?: {
|
|
3156
|
-
readonly start: number;
|
|
3157
|
-
readonly end: number;
|
|
3158
|
-
readonly text: string;
|
|
3159
|
-
} | undefined;
|
|
3160
|
-
}[] | undefined;
|
|
3113
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3114
|
+
readonly name: Schema.String;
|
|
3115
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3116
|
+
readonly start: Schema.Finite;
|
|
3117
|
+
readonly end: Schema.Finite;
|
|
3118
|
+
readonly text: Schema.String;
|
|
3119
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3120
|
+
readonly start: Schema.Finite;
|
|
3121
|
+
readonly end: Schema.Finite;
|
|
3122
|
+
readonly text: Schema.String;
|
|
3123
|
+
}>>, never, never>;
|
|
3124
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3125
|
+
readonly name: Schema.String;
|
|
3126
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3127
|
+
readonly start: Schema.Finite;
|
|
3128
|
+
readonly end: Schema.Finite;
|
|
3129
|
+
readonly text: Schema.String;
|
|
3130
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3131
|
+
readonly start: Schema.Finite;
|
|
3132
|
+
readonly end: Schema.Finite;
|
|
3133
|
+
readonly text: Schema.String;
|
|
3134
|
+
}>>, never, never>;
|
|
3135
|
+
}>>>, never, never>;
|
|
3161
3136
|
}>;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
readonly name?: string | undefined;
|
|
3174
|
-
readonly description?: string | undefined;
|
|
3175
|
-
readonly mention?: {
|
|
3176
|
-
readonly start: number;
|
|
3177
|
-
readonly end: number;
|
|
3178
|
-
readonly text: string;
|
|
3179
|
-
} | undefined;
|
|
3180
|
-
}[] | undefined;
|
|
3181
|
-
readonly agents?: readonly {
|
|
3182
|
-
readonly name: string;
|
|
3183
|
-
readonly mention?: {
|
|
3184
|
-
readonly start: number;
|
|
3185
|
-
readonly end: number;
|
|
3186
|
-
readonly text: string;
|
|
3187
|
-
} | undefined;
|
|
3188
|
-
}[] | undefined;
|
|
3189
|
-
};
|
|
3190
|
-
};
|
|
3191
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3192
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3137
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3138
|
+
}>, Schema.Struct<{
|
|
3139
|
+
readonly type: Schema.tag<"synthetic">;
|
|
3140
|
+
readonly data: Schema.Struct<{
|
|
3141
|
+
readonly text: Schema.String;
|
|
3142
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3143
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3144
|
+
}>;
|
|
3145
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3146
|
+
}>]>;
|
|
3147
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3193
3148
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3194
3149
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3195
3150
|
};
|
|
3196
3151
|
}>;
|
|
3197
3152
|
}> & {
|
|
3198
|
-
type: "session.
|
|
3153
|
+
type: "session.input.admitted";
|
|
3199
3154
|
durability: "durable";
|
|
3200
3155
|
durable: {
|
|
3201
3156
|
readonly version: number;
|
|
3202
3157
|
readonly aggregate: string;
|
|
3203
3158
|
};
|
|
3204
3159
|
data: Schema.Struct<{
|
|
3205
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3160
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3206
3161
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3207
3162
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3208
3163
|
};
|
|
3209
|
-
|
|
3210
|
-
readonly
|
|
3211
|
-
readonly
|
|
3212
|
-
readonly
|
|
3213
|
-
readonly
|
|
3214
|
-
readonly
|
|
3215
|
-
readonly
|
|
3216
|
-
|
|
3217
|
-
readonly
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
readonly
|
|
3224
|
-
readonly
|
|
3225
|
-
readonly
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
readonly
|
|
3237
|
-
|
|
3238
|
-
readonly
|
|
3239
|
-
|
|
3164
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
3165
|
+
readonly type: Schema.tag<"user">;
|
|
3166
|
+
readonly data: Schema.Struct<{
|
|
3167
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3168
|
+
readonly text: Schema.String;
|
|
3169
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3170
|
+
readonly data: Schema.String;
|
|
3171
|
+
readonly mime: Schema.String;
|
|
3172
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3173
|
+
readonly type: Schema.Literal<"inline">;
|
|
3174
|
+
}>, Schema.Struct<{
|
|
3175
|
+
readonly type: Schema.Literal<"uri">;
|
|
3176
|
+
readonly uri: Schema.String;
|
|
3177
|
+
}>]>;
|
|
3178
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3179
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3180
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3181
|
+
readonly start: Schema.Finite;
|
|
3182
|
+
readonly end: Schema.Finite;
|
|
3183
|
+
readonly text: Schema.String;
|
|
3184
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3185
|
+
readonly start: Schema.Finite;
|
|
3186
|
+
readonly end: Schema.Finite;
|
|
3187
|
+
readonly text: Schema.String;
|
|
3188
|
+
}>>, never, never>;
|
|
3189
|
+
}> & {
|
|
3190
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
3191
|
+
readonly data: string;
|
|
3192
|
+
readonly mime: string;
|
|
3193
|
+
readonly source: {
|
|
3194
|
+
readonly type: "inline";
|
|
3195
|
+
} | {
|
|
3196
|
+
readonly type: "uri";
|
|
3197
|
+
readonly uri: string;
|
|
3198
|
+
};
|
|
3199
|
+
readonly name?: string | undefined;
|
|
3200
|
+
readonly description?: string | undefined;
|
|
3201
|
+
readonly mention?: {
|
|
3202
|
+
readonly start: number;
|
|
3203
|
+
readonly end: number;
|
|
3204
|
+
readonly text: string;
|
|
3205
|
+
} | undefined;
|
|
3240
3206
|
};
|
|
3241
|
-
|
|
3242
|
-
readonly
|
|
3243
|
-
readonly
|
|
3244
|
-
|
|
3245
|
-
readonly
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3207
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3208
|
+
readonly data: Schema.String;
|
|
3209
|
+
readonly mime: Schema.String;
|
|
3210
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3211
|
+
readonly type: Schema.Literal<"inline">;
|
|
3212
|
+
}>, Schema.Struct<{
|
|
3213
|
+
readonly type: Schema.Literal<"uri">;
|
|
3214
|
+
readonly uri: Schema.String;
|
|
3215
|
+
}>]>;
|
|
3216
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3217
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3218
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3219
|
+
readonly start: Schema.Finite;
|
|
3220
|
+
readonly end: Schema.Finite;
|
|
3221
|
+
readonly text: Schema.String;
|
|
3222
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3223
|
+
readonly start: Schema.Finite;
|
|
3224
|
+
readonly end: Schema.Finite;
|
|
3225
|
+
readonly text: Schema.String;
|
|
3226
|
+
}>>, never, never>;
|
|
3227
|
+
}> & {
|
|
3228
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
3229
|
+
readonly data: string;
|
|
3230
|
+
readonly mime: string;
|
|
3231
|
+
readonly source: {
|
|
3232
|
+
readonly type: "inline";
|
|
3233
|
+
} | {
|
|
3234
|
+
readonly type: "uri";
|
|
3235
|
+
readonly uri: string;
|
|
3236
|
+
};
|
|
3237
|
+
readonly name?: string | undefined;
|
|
3238
|
+
readonly description?: string | undefined;
|
|
3239
|
+
readonly mention?: {
|
|
3240
|
+
readonly start: number;
|
|
3241
|
+
readonly end: number;
|
|
3242
|
+
readonly text: string;
|
|
3243
|
+
} | undefined;
|
|
3278
3244
|
};
|
|
3279
|
-
readonly name?: string | undefined;
|
|
3280
|
-
readonly description?: string | undefined;
|
|
3281
|
-
readonly mention?: {
|
|
3282
|
-
readonly start: number;
|
|
3283
|
-
readonly end: number;
|
|
3284
|
-
readonly text: string;
|
|
3285
|
-
} | undefined;
|
|
3286
|
-
};
|
|
3287
|
-
}>>, never, never>;
|
|
3288
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3289
|
-
readonly name: Schema.String;
|
|
3290
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3291
|
-
readonly start: Schema.Finite;
|
|
3292
|
-
readonly end: Schema.Finite;
|
|
3293
|
-
readonly text: Schema.String;
|
|
3294
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3295
|
-
readonly start: Schema.Finite;
|
|
3296
|
-
readonly end: Schema.Finite;
|
|
3297
|
-
readonly text: Schema.String;
|
|
3298
3245
|
}>>, never, never>;
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
readonly
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
};
|
|
3323
|
-
readonly name?: string | undefined;
|
|
3324
|
-
readonly description?: string | undefined;
|
|
3325
|
-
readonly mention?: {
|
|
3326
|
-
readonly start: number;
|
|
3327
|
-
readonly end: number;
|
|
3328
|
-
readonly text: string;
|
|
3329
|
-
} | undefined;
|
|
3330
|
-
}[] | undefined;
|
|
3331
|
-
readonly agents?: readonly {
|
|
3332
|
-
readonly name: string;
|
|
3333
|
-
readonly mention?: {
|
|
3334
|
-
readonly start: number;
|
|
3335
|
-
readonly end: number;
|
|
3336
|
-
readonly text: string;
|
|
3337
|
-
} | undefined;
|
|
3338
|
-
}[] | undefined;
|
|
3246
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3247
|
+
readonly name: Schema.String;
|
|
3248
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3249
|
+
readonly start: Schema.Finite;
|
|
3250
|
+
readonly end: Schema.Finite;
|
|
3251
|
+
readonly text: Schema.String;
|
|
3252
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3253
|
+
readonly start: Schema.Finite;
|
|
3254
|
+
readonly end: Schema.Finite;
|
|
3255
|
+
readonly text: Schema.String;
|
|
3256
|
+
}>>, never, never>;
|
|
3257
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3258
|
+
readonly name: Schema.String;
|
|
3259
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3260
|
+
readonly start: Schema.Finite;
|
|
3261
|
+
readonly end: Schema.Finite;
|
|
3262
|
+
readonly text: Schema.String;
|
|
3263
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3264
|
+
readonly start: Schema.Finite;
|
|
3265
|
+
readonly end: Schema.Finite;
|
|
3266
|
+
readonly text: Schema.String;
|
|
3267
|
+
}>>, never, never>;
|
|
3268
|
+
}>>>, never, never>;
|
|
3339
3269
|
}>;
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
readonly name?: string | undefined;
|
|
3352
|
-
readonly description?: string | undefined;
|
|
3353
|
-
readonly mention?: {
|
|
3354
|
-
readonly start: number;
|
|
3355
|
-
readonly end: number;
|
|
3356
|
-
readonly text: string;
|
|
3357
|
-
} | undefined;
|
|
3358
|
-
}[] | undefined;
|
|
3359
|
-
readonly agents?: readonly {
|
|
3360
|
-
readonly name: string;
|
|
3361
|
-
readonly mention?: {
|
|
3362
|
-
readonly start: number;
|
|
3363
|
-
readonly end: number;
|
|
3364
|
-
readonly text: string;
|
|
3365
|
-
} | undefined;
|
|
3366
|
-
}[] | undefined;
|
|
3367
|
-
};
|
|
3368
|
-
};
|
|
3369
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3370
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3270
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3271
|
+
}>, Schema.Struct<{
|
|
3272
|
+
readonly type: Schema.tag<"synthetic">;
|
|
3273
|
+
readonly data: Schema.Struct<{
|
|
3274
|
+
readonly text: Schema.String;
|
|
3275
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3276
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3277
|
+
}>;
|
|
3278
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3279
|
+
}>]>;
|
|
3280
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3371
3281
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3372
3282
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3373
3283
|
};
|
|
@@ -8524,7 +8434,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8524
8434
|
};
|
|
8525
8435
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8526
8436
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8527
|
-
readonly type: Schema.Literal<"session.
|
|
8437
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
8528
8438
|
readonly durable: Schema.Struct<{
|
|
8529
8439
|
readonly aggregateID: Schema.String;
|
|
8530
8440
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8560,7 +8470,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8560
8470
|
};
|
|
8561
8471
|
}>;
|
|
8562
8472
|
}> & {
|
|
8563
|
-
type: "session.
|
|
8473
|
+
type: "session.input.promoted";
|
|
8564
8474
|
durability: "durable";
|
|
8565
8475
|
durable: {
|
|
8566
8476
|
readonly version: number;
|
|
@@ -8582,7 +8492,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8582
8492
|
};
|
|
8583
8493
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8584
8494
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8585
|
-
readonly type: Schema.Literal<"session.
|
|
8495
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
8586
8496
|
readonly durable: Schema.Struct<{
|
|
8587
8497
|
readonly aggregateID: Schema.String;
|
|
8588
8498
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8608,350 +8518,260 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8608
8518
|
}>, never, never>;
|
|
8609
8519
|
}>>, never, never>;
|
|
8610
8520
|
readonly data: Schema.Struct<{
|
|
8611
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8521
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8612
8522
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8613
8523
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8614
8524
|
};
|
|
8615
|
-
|
|
8616
|
-
readonly
|
|
8617
|
-
readonly
|
|
8618
|
-
readonly
|
|
8619
|
-
readonly
|
|
8620
|
-
readonly
|
|
8621
|
-
readonly
|
|
8622
|
-
|
|
8623
|
-
readonly
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
readonly
|
|
8630
|
-
readonly
|
|
8631
|
-
readonly
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
readonly
|
|
8643
|
-
|
|
8644
|
-
readonly
|
|
8645
|
-
|
|
8525
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
8526
|
+
readonly type: Schema.tag<"user">;
|
|
8527
|
+
readonly data: Schema.Struct<{
|
|
8528
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8529
|
+
readonly text: Schema.String;
|
|
8530
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8531
|
+
readonly data: Schema.String;
|
|
8532
|
+
readonly mime: Schema.String;
|
|
8533
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
8534
|
+
readonly type: Schema.Literal<"inline">;
|
|
8535
|
+
}>, Schema.Struct<{
|
|
8536
|
+
readonly type: Schema.Literal<"uri">;
|
|
8537
|
+
readonly uri: Schema.String;
|
|
8538
|
+
}>]>;
|
|
8539
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8540
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8541
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8542
|
+
readonly start: Schema.Finite;
|
|
8543
|
+
readonly end: Schema.Finite;
|
|
8544
|
+
readonly text: Schema.String;
|
|
8545
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8546
|
+
readonly start: Schema.Finite;
|
|
8547
|
+
readonly end: Schema.Finite;
|
|
8548
|
+
readonly text: Schema.String;
|
|
8549
|
+
}>>, never, never>;
|
|
8550
|
+
}> & {
|
|
8551
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
8552
|
+
readonly data: string;
|
|
8553
|
+
readonly mime: string;
|
|
8554
|
+
readonly source: {
|
|
8555
|
+
readonly type: "inline";
|
|
8556
|
+
} | {
|
|
8557
|
+
readonly type: "uri";
|
|
8558
|
+
readonly uri: string;
|
|
8559
|
+
};
|
|
8560
|
+
readonly name?: string | undefined;
|
|
8561
|
+
readonly description?: string | undefined;
|
|
8562
|
+
readonly mention?: {
|
|
8563
|
+
readonly start: number;
|
|
8564
|
+
readonly end: number;
|
|
8565
|
+
readonly text: string;
|
|
8566
|
+
} | undefined;
|
|
8646
8567
|
};
|
|
8647
|
-
|
|
8648
|
-
readonly
|
|
8649
|
-
readonly
|
|
8650
|
-
|
|
8651
|
-
readonly
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8568
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
8569
|
+
readonly data: Schema.String;
|
|
8570
|
+
readonly mime: Schema.String;
|
|
8571
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
8572
|
+
readonly type: Schema.Literal<"inline">;
|
|
8573
|
+
}>, Schema.Struct<{
|
|
8574
|
+
readonly type: Schema.Literal<"uri">;
|
|
8575
|
+
readonly uri: Schema.String;
|
|
8576
|
+
}>]>;
|
|
8577
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8578
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8579
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8580
|
+
readonly start: Schema.Finite;
|
|
8581
|
+
readonly end: Schema.Finite;
|
|
8582
|
+
readonly text: Schema.String;
|
|
8583
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8584
|
+
readonly start: Schema.Finite;
|
|
8585
|
+
readonly end: Schema.Finite;
|
|
8586
|
+
readonly text: Schema.String;
|
|
8587
|
+
}>>, never, never>;
|
|
8588
|
+
}> & {
|
|
8589
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
8590
|
+
readonly data: string;
|
|
8591
|
+
readonly mime: string;
|
|
8592
|
+
readonly source: {
|
|
8593
|
+
readonly type: "inline";
|
|
8594
|
+
} | {
|
|
8595
|
+
readonly type: "uri";
|
|
8596
|
+
readonly uri: string;
|
|
8597
|
+
};
|
|
8598
|
+
readonly name?: string | undefined;
|
|
8599
|
+
readonly description?: string | undefined;
|
|
8600
|
+
readonly mention?: {
|
|
8601
|
+
readonly start: number;
|
|
8602
|
+
readonly end: number;
|
|
8603
|
+
readonly text: string;
|
|
8604
|
+
} | undefined;
|
|
8684
8605
|
};
|
|
8685
|
-
readonly name?: string | undefined;
|
|
8686
|
-
readonly description?: string | undefined;
|
|
8687
|
-
readonly mention?: {
|
|
8688
|
-
readonly start: number;
|
|
8689
|
-
readonly end: number;
|
|
8690
|
-
readonly text: string;
|
|
8691
|
-
} | undefined;
|
|
8692
|
-
};
|
|
8693
|
-
}>>, never, never>;
|
|
8694
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8695
|
-
readonly name: Schema.String;
|
|
8696
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8697
|
-
readonly start: Schema.Finite;
|
|
8698
|
-
readonly end: Schema.Finite;
|
|
8699
|
-
readonly text: Schema.String;
|
|
8700
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8701
|
-
readonly start: Schema.Finite;
|
|
8702
|
-
readonly end: Schema.Finite;
|
|
8703
|
-
readonly text: Schema.String;
|
|
8704
8606
|
}>>, never, never>;
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
readonly
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
};
|
|
8729
|
-
readonly name?: string | undefined;
|
|
8730
|
-
readonly description?: string | undefined;
|
|
8731
|
-
readonly mention?: {
|
|
8732
|
-
readonly start: number;
|
|
8733
|
-
readonly end: number;
|
|
8734
|
-
readonly text: string;
|
|
8735
|
-
} | undefined;
|
|
8736
|
-
}[] | undefined;
|
|
8737
|
-
readonly agents?: readonly {
|
|
8738
|
-
readonly name: string;
|
|
8739
|
-
readonly mention?: {
|
|
8740
|
-
readonly start: number;
|
|
8741
|
-
readonly end: number;
|
|
8742
|
-
readonly text: string;
|
|
8743
|
-
} | undefined;
|
|
8744
|
-
}[] | undefined;
|
|
8607
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8608
|
+
readonly name: Schema.String;
|
|
8609
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8610
|
+
readonly start: Schema.Finite;
|
|
8611
|
+
readonly end: Schema.Finite;
|
|
8612
|
+
readonly text: Schema.String;
|
|
8613
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8614
|
+
readonly start: Schema.Finite;
|
|
8615
|
+
readonly end: Schema.Finite;
|
|
8616
|
+
readonly text: Schema.String;
|
|
8617
|
+
}>>, never, never>;
|
|
8618
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
8619
|
+
readonly name: Schema.String;
|
|
8620
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8621
|
+
readonly start: Schema.Finite;
|
|
8622
|
+
readonly end: Schema.Finite;
|
|
8623
|
+
readonly text: Schema.String;
|
|
8624
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8625
|
+
readonly start: Schema.Finite;
|
|
8626
|
+
readonly end: Schema.Finite;
|
|
8627
|
+
readonly text: Schema.String;
|
|
8628
|
+
}>>, never, never>;
|
|
8629
|
+
}>>>, never, never>;
|
|
8745
8630
|
}>;
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
readonly name?: string | undefined;
|
|
8758
|
-
readonly description?: string | undefined;
|
|
8759
|
-
readonly mention?: {
|
|
8760
|
-
readonly start: number;
|
|
8761
|
-
readonly end: number;
|
|
8762
|
-
readonly text: string;
|
|
8763
|
-
} | undefined;
|
|
8764
|
-
}[] | undefined;
|
|
8765
|
-
readonly agents?: readonly {
|
|
8766
|
-
readonly name: string;
|
|
8767
|
-
readonly mention?: {
|
|
8768
|
-
readonly start: number;
|
|
8769
|
-
readonly end: number;
|
|
8770
|
-
readonly text: string;
|
|
8771
|
-
} | undefined;
|
|
8772
|
-
}[] | undefined;
|
|
8773
|
-
};
|
|
8774
|
-
};
|
|
8775
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8776
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8631
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8632
|
+
}>, Schema.Struct<{
|
|
8633
|
+
readonly type: Schema.tag<"synthetic">;
|
|
8634
|
+
readonly data: Schema.Struct<{
|
|
8635
|
+
readonly text: Schema.String;
|
|
8636
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8637
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8638
|
+
}>;
|
|
8639
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8640
|
+
}>]>;
|
|
8641
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8777
8642
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8778
8643
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8779
8644
|
};
|
|
8780
8645
|
}>;
|
|
8781
8646
|
}> & {
|
|
8782
|
-
type: "session.
|
|
8647
|
+
type: "session.input.admitted";
|
|
8783
8648
|
durability: "durable";
|
|
8784
8649
|
durable: {
|
|
8785
8650
|
readonly version: number;
|
|
8786
8651
|
readonly aggregate: string;
|
|
8787
8652
|
};
|
|
8788
8653
|
data: Schema.Struct<{
|
|
8789
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8654
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8790
8655
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8791
8656
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8792
8657
|
};
|
|
8793
|
-
|
|
8794
|
-
readonly
|
|
8795
|
-
readonly
|
|
8796
|
-
readonly
|
|
8797
|
-
readonly
|
|
8798
|
-
readonly
|
|
8799
|
-
readonly
|
|
8800
|
-
|
|
8801
|
-
readonly
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
readonly
|
|
8808
|
-
readonly
|
|
8809
|
-
readonly
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
readonly
|
|
8821
|
-
|
|
8822
|
-
readonly
|
|
8823
|
-
|
|
8658
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
8659
|
+
readonly type: Schema.tag<"user">;
|
|
8660
|
+
readonly data: Schema.Struct<{
|
|
8661
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8662
|
+
readonly text: Schema.String;
|
|
8663
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8664
|
+
readonly data: Schema.String;
|
|
8665
|
+
readonly mime: Schema.String;
|
|
8666
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
8667
|
+
readonly type: Schema.Literal<"inline">;
|
|
8668
|
+
}>, Schema.Struct<{
|
|
8669
|
+
readonly type: Schema.Literal<"uri">;
|
|
8670
|
+
readonly uri: Schema.String;
|
|
8671
|
+
}>]>;
|
|
8672
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8673
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8674
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8675
|
+
readonly start: Schema.Finite;
|
|
8676
|
+
readonly end: Schema.Finite;
|
|
8677
|
+
readonly text: Schema.String;
|
|
8678
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8679
|
+
readonly start: Schema.Finite;
|
|
8680
|
+
readonly end: Schema.Finite;
|
|
8681
|
+
readonly text: Schema.String;
|
|
8682
|
+
}>>, never, never>;
|
|
8683
|
+
}> & {
|
|
8684
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
8685
|
+
readonly data: string;
|
|
8686
|
+
readonly mime: string;
|
|
8687
|
+
readonly source: {
|
|
8688
|
+
readonly type: "inline";
|
|
8689
|
+
} | {
|
|
8690
|
+
readonly type: "uri";
|
|
8691
|
+
readonly uri: string;
|
|
8692
|
+
};
|
|
8693
|
+
readonly name?: string | undefined;
|
|
8694
|
+
readonly description?: string | undefined;
|
|
8695
|
+
readonly mention?: {
|
|
8696
|
+
readonly start: number;
|
|
8697
|
+
readonly end: number;
|
|
8698
|
+
readonly text: string;
|
|
8699
|
+
} | undefined;
|
|
8824
8700
|
};
|
|
8825
|
-
|
|
8826
|
-
readonly
|
|
8827
|
-
readonly
|
|
8828
|
-
|
|
8829
|
-
readonly
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
|
|
8701
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
8702
|
+
readonly data: Schema.String;
|
|
8703
|
+
readonly mime: Schema.String;
|
|
8704
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
8705
|
+
readonly type: Schema.Literal<"inline">;
|
|
8706
|
+
}>, Schema.Struct<{
|
|
8707
|
+
readonly type: Schema.Literal<"uri">;
|
|
8708
|
+
readonly uri: Schema.String;
|
|
8709
|
+
}>]>;
|
|
8710
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8711
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8712
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8713
|
+
readonly start: Schema.Finite;
|
|
8714
|
+
readonly end: Schema.Finite;
|
|
8715
|
+
readonly text: Schema.String;
|
|
8716
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8717
|
+
readonly start: Schema.Finite;
|
|
8718
|
+
readonly end: Schema.Finite;
|
|
8719
|
+
readonly text: Schema.String;
|
|
8720
|
+
}>>, never, never>;
|
|
8721
|
+
}> & {
|
|
8722
|
+
create: (input: SessionEvent.FileAttachment) => {
|
|
8723
|
+
readonly data: string;
|
|
8724
|
+
readonly mime: string;
|
|
8725
|
+
readonly source: {
|
|
8726
|
+
readonly type: "inline";
|
|
8727
|
+
} | {
|
|
8728
|
+
readonly type: "uri";
|
|
8729
|
+
readonly uri: string;
|
|
8730
|
+
};
|
|
8731
|
+
readonly name?: string | undefined;
|
|
8732
|
+
readonly description?: string | undefined;
|
|
8733
|
+
readonly mention?: {
|
|
8734
|
+
readonly start: number;
|
|
8735
|
+
readonly end: number;
|
|
8736
|
+
readonly text: string;
|
|
8737
|
+
} | undefined;
|
|
8862
8738
|
};
|
|
8863
|
-
readonly name?: string | undefined;
|
|
8864
|
-
readonly description?: string | undefined;
|
|
8865
|
-
readonly mention?: {
|
|
8866
|
-
readonly start: number;
|
|
8867
|
-
readonly end: number;
|
|
8868
|
-
readonly text: string;
|
|
8869
|
-
} | undefined;
|
|
8870
|
-
};
|
|
8871
|
-
}>>, never, never>;
|
|
8872
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8873
|
-
readonly name: Schema.String;
|
|
8874
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8875
|
-
readonly start: Schema.Finite;
|
|
8876
|
-
readonly end: Schema.Finite;
|
|
8877
|
-
readonly text: Schema.String;
|
|
8878
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8879
|
-
readonly start: Schema.Finite;
|
|
8880
|
-
readonly end: Schema.Finite;
|
|
8881
|
-
readonly text: Schema.String;
|
|
8882
8739
|
}>>, never, never>;
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
readonly
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
};
|
|
8907
|
-
readonly name?: string | undefined;
|
|
8908
|
-
readonly description?: string | undefined;
|
|
8909
|
-
readonly mention?: {
|
|
8910
|
-
readonly start: number;
|
|
8911
|
-
readonly end: number;
|
|
8912
|
-
readonly text: string;
|
|
8913
|
-
} | undefined;
|
|
8914
|
-
}[] | undefined;
|
|
8915
|
-
readonly agents?: readonly {
|
|
8916
|
-
readonly name: string;
|
|
8917
|
-
readonly mention?: {
|
|
8918
|
-
readonly start: number;
|
|
8919
|
-
readonly end: number;
|
|
8920
|
-
readonly text: string;
|
|
8921
|
-
} | undefined;
|
|
8922
|
-
}[] | undefined;
|
|
8740
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8741
|
+
readonly name: Schema.String;
|
|
8742
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8743
|
+
readonly start: Schema.Finite;
|
|
8744
|
+
readonly end: Schema.Finite;
|
|
8745
|
+
readonly text: Schema.String;
|
|
8746
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8747
|
+
readonly start: Schema.Finite;
|
|
8748
|
+
readonly end: Schema.Finite;
|
|
8749
|
+
readonly text: Schema.String;
|
|
8750
|
+
}>>, never, never>;
|
|
8751
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
8752
|
+
readonly name: Schema.String;
|
|
8753
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8754
|
+
readonly start: Schema.Finite;
|
|
8755
|
+
readonly end: Schema.Finite;
|
|
8756
|
+
readonly text: Schema.String;
|
|
8757
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8758
|
+
readonly start: Schema.Finite;
|
|
8759
|
+
readonly end: Schema.Finite;
|
|
8760
|
+
readonly text: Schema.String;
|
|
8761
|
+
}>>, never, never>;
|
|
8762
|
+
}>>>, never, never>;
|
|
8923
8763
|
}>;
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
readonly name?: string | undefined;
|
|
8936
|
-
readonly description?: string | undefined;
|
|
8937
|
-
readonly mention?: {
|
|
8938
|
-
readonly start: number;
|
|
8939
|
-
readonly end: number;
|
|
8940
|
-
readonly text: string;
|
|
8941
|
-
} | undefined;
|
|
8942
|
-
}[] | undefined;
|
|
8943
|
-
readonly agents?: readonly {
|
|
8944
|
-
readonly name: string;
|
|
8945
|
-
readonly mention?: {
|
|
8946
|
-
readonly start: number;
|
|
8947
|
-
readonly end: number;
|
|
8948
|
-
readonly text: string;
|
|
8949
|
-
} | undefined;
|
|
8950
|
-
}[] | undefined;
|
|
8951
|
-
};
|
|
8952
|
-
};
|
|
8953
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8954
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8764
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8765
|
+
}>, Schema.Struct<{
|
|
8766
|
+
readonly type: Schema.tag<"synthetic">;
|
|
8767
|
+
readonly data: Schema.Struct<{
|
|
8768
|
+
readonly text: Schema.String;
|
|
8769
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8770
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8771
|
+
}>;
|
|
8772
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8773
|
+
}>]>;
|
|
8774
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8955
8775
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8956
8776
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8957
8777
|
};
|