@neta-art/cohub 10.0.0 → 11.0.0
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/README.md +11 -2
- package/dist/board/editor/animation.d.ts +3 -0
- package/dist/board/editor/animation.js +16 -1
- package/dist/board/editor/clipboard.js +7 -0
- package/dist/board/editor/copy.js +23 -18
- package/dist/board/editor/creation.d.ts +5 -1
- package/dist/board/editor/creation.js +2 -1
- package/dist/board/editor/deletion.js +3 -3
- package/dist/board/editor/document.d.ts +8 -2
- package/dist/board/editor/document.js +54 -7
- package/dist/board/editor/editor.d.ts +18 -3
- package/dist/board/editor/editor.js +11 -1
- package/dist/board/editor/query.d.ts +5 -5
- package/dist/board/editor/query.js +14 -12
- package/dist/board/editor/selection.js +2 -1
- package/dist/board/export/index.d.ts +25 -4
- package/dist/board/export/index.js +45 -12
- package/dist/board/export/node/index.d.ts +5 -4
- package/dist/board/export/node/index.js +16 -11
- package/dist/board/export/node/scripts.d.ts +16 -0
- package/dist/board/export/node/scripts.js +258 -0
- package/dist/board/export/scene.d.ts +2 -1
- package/dist/board/export/scene.js +20 -6
- package/dist/board/model/animation.d.ts +4 -1
- package/dist/board/model/animation.js +34 -7
- package/dist/board/model/authoring.d.ts +20 -0
- package/dist/board/model/authoring.js +185 -0
- package/dist/board/model/export-plan.js +1 -0
- package/dist/board/model/file-preview.js +1 -1
- package/dist/board/model/file-snapshot.js +3 -2
- package/dist/board/model/image-key.js +6 -2
- package/dist/board/model/index.d.ts +13 -6
- package/dist/board/model/index.js +14 -8
- package/dist/board/model/items/builtin.js +2 -2
- package/dist/board/model/items/create.d.ts +4 -2
- package/dist/board/model/items/create.js +6 -5
- package/dist/board/model/items/index.d.ts +2 -2
- package/dist/board/model/items/index.js +2 -2
- package/dist/board/model/media-playback.d.ts +2 -1
- package/dist/board/model/media-playback.js +14 -4
- package/dist/board/model/media.js +7 -1
- package/dist/board/model/sampling.d.ts +19 -0
- package/dist/board/model/sampling.js +96 -0
- package/dist/board/model/script-example.d.ts +4 -0
- package/dist/board/model/script-example.js +21 -0
- package/dist/board/model/script-hit.d.ts +10 -0
- package/dist/board/model/script-hit.js +52 -0
- package/dist/board/model/script-index.d.ts +7 -0
- package/dist/board/model/script-index.js +15 -0
- package/dist/board/model/script-scene.d.ts +24 -0
- package/dist/board/model/script-scene.js +267 -0
- package/dist/board/model/script.d.ts +105 -0
- package/dist/board/model/script.js +1 -0
- package/dist/board/render/css-color.d.ts +6 -1
- package/dist/board/render/css-color.js +34 -20
- package/dist/board/render/diagnostics.d.ts +20 -0
- package/dist/board/render/diagnostics.js +117 -0
- package/dist/board/render/index.d.ts +9 -6
- package/dist/board/render/index.js +9 -6
- package/dist/board/render/palette.d.ts +2 -1
- package/dist/board/render/palette.js +6 -2
- package/dist/board/render/renderers/arrow-card-renderer.js +3 -2
- package/dist/board/render/renderers/audio-card-renderer.js +2 -1
- package/dist/board/render/renderers/board-renderer-registry.d.ts +10 -5
- package/dist/board/render/renderers/board-renderer-registry.js +3 -3
- package/dist/board/render/renderers/custom-card-renderer.d.ts +5 -0
- package/dist/board/render/renderers/{sketch-card-renderer.js → custom-card-renderer.js} +16 -15
- package/dist/board/render/renderers/draw-card-renderer.js +3 -2
- package/dist/board/render/renderers/effect-card-renderer.js +22 -5
- package/dist/board/render/renderers/frame-card-renderer.js +30 -14
- package/dist/board/render/renderers/image-card-renderer.js +43 -4
- package/dist/board/render/renderers/shape-card-renderer.js +10 -27
- package/dist/board/render/renderers/text-card-renderer.js +5 -3
- package/dist/board/render/renderers/unknown-card-renderer.js +1 -0
- package/dist/board/render/renderers/video-card-renderer.js +2 -1
- package/dist/board/render/sampling.d.ts +22 -0
- package/dist/board/render/sampling.js +21 -0
- package/dist/board/render/script-export.d.ts +11 -0
- package/dist/board/render/script-export.js +86 -0
- package/dist/board/render/script-host.d.ts +31 -0
- package/dist/board/render/script-host.js +421 -0
- package/dist/board/render/script-modules.d.ts +2 -0
- package/dist/board/render/script-modules.js +2 -0
- package/dist/board/render/script-runtime.d.ts +29 -0
- package/dist/board/render/script-runtime.js +213 -0
- package/dist/board/render/script-sandbox.d.ts +4 -0
- package/dist/board/render/script-sandbox.js +173 -0
- package/dist/board/render/stroke.d.ts +2 -1
- package/dist/board/render/stroke.js +22 -1
- package/dist/board/render/text-measurement.js +1 -1
- package/dist/board/stage/assets.js +6 -1
- package/dist/board/stage/maintenance.d.ts +5 -0
- package/dist/board/stage/maintenance.js +11 -0
- package/dist/board/stage/scene.js +5 -2
- package/dist/board/stage/script-pointer.d.ts +19 -0
- package/dist/board/stage/script-pointer.js +35 -0
- package/dist/board/stage/stage.d.ts +10 -0
- package/dist/board/stage/stage.js +249 -43
- package/dist/board/stage/texture-pool.js +2 -3
- package/dist/chunks/environment.d.ts +266 -23
- package/dist/chunks/host-bridge.d.ts +2 -2
- package/dist/chunks/http.d.ts +88 -7
- package/dist/chunks/http.js +155 -63
- package/dist/chunks/transport.js +3 -1
- package/dist/chunks/websocket.d.ts +9 -1
- package/dist/chunks/websocket.js +16 -2
- package/dist/host-bridge.js +2 -1
- package/dist/http.d.ts +2 -2
- package/dist/index.d.ts +182 -4
- package/dist/index.js +1374 -126
- package/dist/protocol/dist/board-assets.d.ts +1 -0
- package/dist/protocol/dist/board-constants.js +2 -2
- package/dist/protocol/dist/board-model.d.ts +201 -11
- package/dist/protocol/dist/board-model.js +33 -14
- package/dist/protocol/dist/board-patch.js +2 -1
- package/dist/protocol/dist/board-schema.d.ts +4 -2
- package/dist/protocol/dist/board-schema.js +18 -4
- package/dist/protocol/dist/board-script-modules.d.ts +25 -0
- package/dist/protocol/dist/board-script-modules.js +127 -0
- package/dist/protocol/dist/display/index.d.ts +1 -0
- package/dist/protocol/dist/index.d.ts +4 -2
- package/dist/protocol/dist/realtime/types.d.ts +1 -0
- package/dist/protocol/dist/rtc/index.d.ts +1 -0
- package/package.json +2 -1
- package/dist/board/export/node/sketch.d.ts +0 -19
- package/dist/board/export/node/sketch.js +0 -146
- package/dist/board/render/renderers/sketch-card-renderer.d.ts +0 -5
- package/dist/board/render/sketch-host.d.ts +0 -14
- package/dist/board/render/sketch-host.js +0 -216
|
@@ -46,6 +46,15 @@ declare const resolveRequestSourceChannel: (source: RequestSource | null | undef
|
|
|
46
46
|
/** Put identity under meta.source; strip body source. Via-only is skipped. */
|
|
47
47
|
declare const mergeRequestSourceIntoMeta: (meta: Record<string, unknown> | null | undefined, headerSource: RequestSource | null | undefined) => Record<string, unknown> | null;
|
|
48
48
|
declare const COHUB_SOURCE_HEADER_NAMES: readonly string[];
|
|
49
|
+
type ActorKind = "user" | "agent" | "cli";
|
|
50
|
+
type ActorModel = {
|
|
51
|
+
provider: string | null;
|
|
52
|
+
id: string;
|
|
53
|
+
};
|
|
54
|
+
type Actor = {
|
|
55
|
+
kind: ActorKind;
|
|
56
|
+
model?: ActorModel;
|
|
57
|
+
};
|
|
49
58
|
//#endregion
|
|
50
59
|
//#region ../protocol/dist/core/content.d.ts
|
|
51
60
|
type ContentBlockMeta = Record<string, unknown>;
|
|
@@ -243,6 +252,40 @@ declare class DisplayActionError extends Error {
|
|
|
243
252
|
}
|
|
244
253
|
declare function compileDisplayActions(actions: readonly DisplayAction[], width: number, height: number): DisplayInputEvent[];
|
|
245
254
|
//#endregion
|
|
255
|
+
//#region ../protocol/dist/rtc/index.d.ts
|
|
256
|
+
declare const rtcIceServerSchema: z.ZodObject<{
|
|
257
|
+
urls: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
258
|
+
username: z.ZodOptional<z.ZodString>;
|
|
259
|
+
credential: z.ZodOptional<z.ZodString>;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
type RtcIceServer = z.infer<typeof rtcIceServerSchema>;
|
|
262
|
+
type RtcIceServers = {
|
|
263
|
+
iceServers: RtcIceServer[];
|
|
264
|
+
expiresAt: string;
|
|
265
|
+
};
|
|
266
|
+
declare const APP_RTC_DELIVERIES: readonly ["reliable", "latest"];
|
|
267
|
+
type AppRtcDelivery = (typeof APP_RTC_DELIVERIES)[number];
|
|
268
|
+
declare const APP_RTC_PUBLICATION_KINDS: readonly ["data", "audio", "video"];
|
|
269
|
+
type AppRtcPublicationKind = (typeof APP_RTC_PUBLICATION_KINDS)[number];
|
|
270
|
+
type AppRtcMediaKind = Exclude<AppRtcPublicationKind, "data">;
|
|
271
|
+
declare const APP_RTC_QUALITIES: readonly ["high", "medium", "low"];
|
|
272
|
+
type AppRtcQuality = (typeof APP_RTC_QUALITIES)[number];
|
|
273
|
+
declare const appRtcPublicationSchema: z.ZodObject<{
|
|
274
|
+
id: z.ZodString;
|
|
275
|
+
name: z.ZodString;
|
|
276
|
+
kind: z.ZodEnum<{
|
|
277
|
+
audio: "audio";
|
|
278
|
+
data: "data";
|
|
279
|
+
video: "video";
|
|
280
|
+
}>;
|
|
281
|
+
delivery: z.ZodOptional<z.ZodEnum<{
|
|
282
|
+
latest: "latest";
|
|
283
|
+
reliable: "reliable";
|
|
284
|
+
}>>;
|
|
285
|
+
simulcast: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
type AppRtcPublication = z.infer<typeof appRtcPublicationSchema>;
|
|
288
|
+
//#endregion
|
|
246
289
|
//#region ../protocol/dist/display/index.d.ts
|
|
247
290
|
declare const DISPLAY_SYSTEM_ACTIONS: readonly ["back", "home", "recents", "notifications", "quickSettings", "lock"];
|
|
248
291
|
type DisplaySystemAction = (typeof DISPLAY_SYSTEM_ACTIONS)[number];
|
|
@@ -388,16 +431,6 @@ type DisplayCapture = {
|
|
|
388
431
|
width: number;
|
|
389
432
|
height: number;
|
|
390
433
|
};
|
|
391
|
-
declare const rtcIceServerSchema: z.ZodObject<{
|
|
392
|
-
urls: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
393
|
-
username: z.ZodOptional<z.ZodString>;
|
|
394
|
-
credential: z.ZodOptional<z.ZodString>;
|
|
395
|
-
}, z.core.$strip>;
|
|
396
|
-
type RtcIceServer = z.infer<typeof rtcIceServerSchema>;
|
|
397
|
-
type RtcIceServers = {
|
|
398
|
-
iceServers: RtcIceServer[];
|
|
399
|
-
expiresAt: string;
|
|
400
|
-
};
|
|
401
434
|
type DisplaySession = {
|
|
402
435
|
sessionId: string;
|
|
403
436
|
answer: string;
|
|
@@ -581,6 +614,13 @@ declare const BoardStyleSchema: z.ZodObject<{
|
|
|
581
614
|
}, z.core.$strict>;
|
|
582
615
|
type BoardStyle = z.infer<typeof BoardStyleSchema>;
|
|
583
616
|
declare const BoardFrameItemSchema: z.ZodObject<{
|
|
617
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
618
|
+
src: z.ZodString;
|
|
619
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
620
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
621
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
622
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
623
|
+
}, z.core.$strict>>;
|
|
584
624
|
parent: z.ZodOptional<z.ZodString>;
|
|
585
625
|
z: z.ZodOptional<z.ZodNumber>;
|
|
586
626
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -625,10 +665,21 @@ declare const BoardFrameItemSchema: z.ZodObject<{
|
|
|
625
665
|
type: z.ZodLiteral<"frame">;
|
|
626
666
|
props: z.ZodPrefault<z.ZodObject<{
|
|
627
667
|
label: z.ZodDefault<z.ZodString>;
|
|
668
|
+
decoration: z.ZodOptional<z.ZodEnum<{
|
|
669
|
+
frame: "frame";
|
|
670
|
+
none: "none";
|
|
671
|
+
}>>;
|
|
628
672
|
clip: z.ZodDefault<z.ZodBoolean>;
|
|
629
673
|
}, z.core.$strict>>;
|
|
630
674
|
}, z.core.$strict>;
|
|
631
675
|
declare const BoardTextItemSchema: z.ZodObject<{
|
|
676
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
677
|
+
src: z.ZodString;
|
|
678
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
679
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
680
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
681
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
682
|
+
}, z.core.$strict>>;
|
|
632
683
|
parent: z.ZodOptional<z.ZodString>;
|
|
633
684
|
z: z.ZodOptional<z.ZodNumber>;
|
|
634
685
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -684,6 +735,13 @@ declare const BoardTextItemSchema: z.ZodObject<{
|
|
|
684
735
|
}, z.core.$strict>>;
|
|
685
736
|
}, z.core.$strict>;
|
|
686
737
|
declare const BoardShapeItemSchema: z.ZodObject<{
|
|
738
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
739
|
+
src: z.ZodString;
|
|
740
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
741
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
742
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
743
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
744
|
+
}, z.core.$strict>>;
|
|
687
745
|
parent: z.ZodOptional<z.ZodString>;
|
|
688
746
|
z: z.ZodOptional<z.ZodNumber>;
|
|
689
747
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -746,6 +804,13 @@ declare const BoardShapeItemSchema: z.ZodObject<{
|
|
|
746
804
|
}, z.core.$strict>>;
|
|
747
805
|
}, z.core.$strict>;
|
|
748
806
|
declare const BoardDrawItemSchema: z.ZodObject<{
|
|
807
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
808
|
+
src: z.ZodString;
|
|
809
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
810
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
811
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
812
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
813
|
+
}, z.core.$strict>>;
|
|
749
814
|
parent: z.ZodOptional<z.ZodString>;
|
|
750
815
|
z: z.ZodOptional<z.ZodNumber>;
|
|
751
816
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -793,6 +858,13 @@ declare const BoardDrawItemSchema: z.ZodObject<{
|
|
|
793
858
|
}, z.core.$strict>;
|
|
794
859
|
}, z.core.$strict>;
|
|
795
860
|
declare const BoardArrowItemSchema: z.ZodObject<{
|
|
861
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
862
|
+
src: z.ZodString;
|
|
863
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
864
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
865
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
866
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
867
|
+
}, z.core.$strict>>;
|
|
796
868
|
parent: z.ZodOptional<z.ZodString>;
|
|
797
869
|
z: z.ZodOptional<z.ZodNumber>;
|
|
798
870
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -888,6 +960,13 @@ declare const BoardArrowItemSchema: z.ZodObject<{
|
|
|
888
960
|
}, z.core.$strict>;
|
|
889
961
|
}, z.core.$strict>;
|
|
890
962
|
declare const BoardImageItemSchema: z.ZodObject<{
|
|
963
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
964
|
+
src: z.ZodString;
|
|
965
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
966
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
967
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
968
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
969
|
+
}, z.core.$strict>>;
|
|
891
970
|
parent: z.ZodOptional<z.ZodString>;
|
|
892
971
|
z: z.ZodOptional<z.ZodNumber>;
|
|
893
972
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -953,6 +1032,13 @@ declare const BoardImageItemSchema: z.ZodObject<{
|
|
|
953
1032
|
}, z.core.$strict>;
|
|
954
1033
|
}, z.core.$strict>;
|
|
955
1034
|
declare const BoardVideoItemSchema: z.ZodObject<{
|
|
1035
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1036
|
+
src: z.ZodString;
|
|
1037
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1038
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1039
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1041
|
+
}, z.core.$strict>>;
|
|
956
1042
|
parent: z.ZodOptional<z.ZodString>;
|
|
957
1043
|
z: z.ZodOptional<z.ZodNumber>;
|
|
958
1044
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1013,6 +1099,13 @@ declare const BoardVideoItemSchema: z.ZodObject<{
|
|
|
1013
1099
|
}, z.core.$strict>;
|
|
1014
1100
|
}, z.core.$strict>;
|
|
1015
1101
|
declare const BoardAudioItemSchema: z.ZodObject<{
|
|
1102
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1103
|
+
src: z.ZodString;
|
|
1104
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1105
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1106
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1108
|
+
}, z.core.$strict>>;
|
|
1016
1109
|
parent: z.ZodOptional<z.ZodString>;
|
|
1017
1110
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1018
1111
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1073,6 +1166,13 @@ declare const BoardAudioItemSchema: z.ZodObject<{
|
|
|
1073
1166
|
}, z.core.$strict>;
|
|
1074
1167
|
}, z.core.$strict>;
|
|
1075
1168
|
declare const BoardFileItemSchema: z.ZodObject<{
|
|
1169
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1170
|
+
src: z.ZodString;
|
|
1171
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1172
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1173
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1175
|
+
}, z.core.$strict>>;
|
|
1076
1176
|
parent: z.ZodOptional<z.ZodString>;
|
|
1077
1177
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1078
1178
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1132,6 +1232,13 @@ declare const BoardFileItemSchema: z.ZodObject<{
|
|
|
1132
1232
|
}, z.core.$strict>;
|
|
1133
1233
|
}, z.core.$strict>;
|
|
1134
1234
|
declare const BoardTaskItemSchema: z.ZodObject<{
|
|
1235
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1236
|
+
src: z.ZodString;
|
|
1237
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1238
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1239
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1240
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1241
|
+
}, z.core.$strict>>;
|
|
1135
1242
|
parent: z.ZodOptional<z.ZodString>;
|
|
1136
1243
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1137
1244
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1225,6 +1332,13 @@ declare const BoardTaskItemSchema: z.ZodObject<{
|
|
|
1225
1332
|
}, z.core.$strict>;
|
|
1226
1333
|
}, z.core.$strict>;
|
|
1227
1334
|
declare const BoardEffectItemSchema: z.ZodObject<{
|
|
1335
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1336
|
+
src: z.ZodString;
|
|
1337
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1338
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1339
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1341
|
+
}, z.core.$strict>>;
|
|
1228
1342
|
parent: z.ZodOptional<z.ZodString>;
|
|
1229
1343
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1230
1344
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1287,7 +1401,7 @@ declare const BoardEffectItemSchema: z.ZodObject<{
|
|
|
1287
1401
|
seed: z.ZodOptional<z.ZodString>;
|
|
1288
1402
|
}, z.core.$strict>;
|
|
1289
1403
|
}, z.core.$strict>;
|
|
1290
|
-
declare const
|
|
1404
|
+
declare const BoardCustomItemSchema: z.ZodObject<{
|
|
1291
1405
|
parent: z.ZodOptional<z.ZodString>;
|
|
1292
1406
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1293
1407
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1329,14 +1443,24 @@ declare const BoardSketchItemSchema: z.ZodObject<{
|
|
|
1329
1443
|
width: z.ZodNumber;
|
|
1330
1444
|
height: z.ZodNumber;
|
|
1331
1445
|
}, z.core.$strict>>;
|
|
1332
|
-
type: z.ZodLiteral<"
|
|
1333
|
-
|
|
1446
|
+
type: z.ZodLiteral<"custom">;
|
|
1447
|
+
script: z.ZodObject<{
|
|
1334
1448
|
src: z.ZodString;
|
|
1335
|
-
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.
|
|
1449
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1450
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1336
1451
|
seed: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1337
1453
|
}, z.core.$strict>;
|
|
1454
|
+
props: z.ZodDefault<z.ZodObject<{}, z.core.$strict>>;
|
|
1338
1455
|
}, z.core.$strict>;
|
|
1339
1456
|
declare const BoardExtensionItemSchema: z.ZodObject<{
|
|
1457
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1458
|
+
src: z.ZodString;
|
|
1459
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1460
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1461
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1463
|
+
}, z.core.$strict>>;
|
|
1340
1464
|
parent: z.ZodOptional<z.ZodString>;
|
|
1341
1465
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1342
1466
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1383,6 +1507,13 @@ declare const BoardExtensionItemSchema: z.ZodObject<{
|
|
|
1383
1507
|
}, z.core.$strict>;
|
|
1384
1508
|
declare const BOARD_ITEM_SCHEMAS: {
|
|
1385
1509
|
readonly frame: z.ZodObject<{
|
|
1510
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1511
|
+
src: z.ZodString;
|
|
1512
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1513
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1514
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1516
|
+
}, z.core.$strict>>;
|
|
1386
1517
|
parent: z.ZodOptional<z.ZodString>;
|
|
1387
1518
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1388
1519
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1427,10 +1558,21 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1427
1558
|
type: z.ZodLiteral<"frame">;
|
|
1428
1559
|
props: z.ZodPrefault<z.ZodObject<{
|
|
1429
1560
|
label: z.ZodDefault<z.ZodString>;
|
|
1561
|
+
decoration: z.ZodOptional<z.ZodEnum<{
|
|
1562
|
+
frame: "frame";
|
|
1563
|
+
none: "none";
|
|
1564
|
+
}>>;
|
|
1430
1565
|
clip: z.ZodDefault<z.ZodBoolean>;
|
|
1431
1566
|
}, z.core.$strict>>;
|
|
1432
1567
|
}, z.core.$strict>;
|
|
1433
1568
|
readonly text: z.ZodObject<{
|
|
1569
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1570
|
+
src: z.ZodString;
|
|
1571
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1572
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1573
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1575
|
+
}, z.core.$strict>>;
|
|
1434
1576
|
parent: z.ZodOptional<z.ZodString>;
|
|
1435
1577
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1436
1578
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1486,6 +1628,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1486
1628
|
}, z.core.$strict>>;
|
|
1487
1629
|
}, z.core.$strict>;
|
|
1488
1630
|
readonly shape: z.ZodObject<{
|
|
1631
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1632
|
+
src: z.ZodString;
|
|
1633
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1634
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1635
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1637
|
+
}, z.core.$strict>>;
|
|
1489
1638
|
parent: z.ZodOptional<z.ZodString>;
|
|
1490
1639
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1491
1640
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1548,6 +1697,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1548
1697
|
}, z.core.$strict>>;
|
|
1549
1698
|
}, z.core.$strict>;
|
|
1550
1699
|
readonly draw: z.ZodObject<{
|
|
1700
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1701
|
+
src: z.ZodString;
|
|
1702
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1703
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1704
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1706
|
+
}, z.core.$strict>>;
|
|
1551
1707
|
parent: z.ZodOptional<z.ZodString>;
|
|
1552
1708
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1553
1709
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1595,6 +1751,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1595
1751
|
}, z.core.$strict>;
|
|
1596
1752
|
}, z.core.$strict>;
|
|
1597
1753
|
readonly arrow: z.ZodObject<{
|
|
1754
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1755
|
+
src: z.ZodString;
|
|
1756
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1757
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1758
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1760
|
+
}, z.core.$strict>>;
|
|
1598
1761
|
parent: z.ZodOptional<z.ZodString>;
|
|
1599
1762
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1600
1763
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1690,6 +1853,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1690
1853
|
}, z.core.$strict>;
|
|
1691
1854
|
}, z.core.$strict>;
|
|
1692
1855
|
readonly image: z.ZodObject<{
|
|
1856
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1857
|
+
src: z.ZodString;
|
|
1858
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1859
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1860
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1862
|
+
}, z.core.$strict>>;
|
|
1693
1863
|
parent: z.ZodOptional<z.ZodString>;
|
|
1694
1864
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1695
1865
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1755,6 +1925,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1755
1925
|
}, z.core.$strict>;
|
|
1756
1926
|
}, z.core.$strict>;
|
|
1757
1927
|
readonly video: z.ZodObject<{
|
|
1928
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1929
|
+
src: z.ZodString;
|
|
1930
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1931
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1932
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
1933
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1934
|
+
}, z.core.$strict>>;
|
|
1758
1935
|
parent: z.ZodOptional<z.ZodString>;
|
|
1759
1936
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1760
1937
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1815,6 +1992,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1815
1992
|
}, z.core.$strict>;
|
|
1816
1993
|
}, z.core.$strict>;
|
|
1817
1994
|
readonly audio: z.ZodObject<{
|
|
1995
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
1996
|
+
src: z.ZodString;
|
|
1997
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1998
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1999
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
2000
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2001
|
+
}, z.core.$strict>>;
|
|
1818
2002
|
parent: z.ZodOptional<z.ZodString>;
|
|
1819
2003
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1820
2004
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1875,6 +2059,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1875
2059
|
}, z.core.$strict>;
|
|
1876
2060
|
}, z.core.$strict>;
|
|
1877
2061
|
readonly file: z.ZodObject<{
|
|
2062
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
2063
|
+
src: z.ZodString;
|
|
2064
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2065
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2066
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
2067
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2068
|
+
}, z.core.$strict>>;
|
|
1878
2069
|
parent: z.ZodOptional<z.ZodString>;
|
|
1879
2070
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1880
2071
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -1934,6 +2125,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
1934
2125
|
}, z.core.$strict>;
|
|
1935
2126
|
}, z.core.$strict>;
|
|
1936
2127
|
readonly task: z.ZodObject<{
|
|
2128
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
2129
|
+
src: z.ZodString;
|
|
2130
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2131
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2132
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2134
|
+
}, z.core.$strict>>;
|
|
1937
2135
|
parent: z.ZodOptional<z.ZodString>;
|
|
1938
2136
|
z: z.ZodOptional<z.ZodNumber>;
|
|
1939
2137
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -2027,6 +2225,13 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
2027
2225
|
}, z.core.$strict>;
|
|
2028
2226
|
}, z.core.$strict>;
|
|
2029
2227
|
readonly effect: z.ZodObject<{
|
|
2228
|
+
script: z.ZodOptional<z.ZodObject<{
|
|
2229
|
+
src: z.ZodString;
|
|
2230
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2231
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2232
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
2233
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2234
|
+
}, z.core.$strict>>;
|
|
2030
2235
|
parent: z.ZodOptional<z.ZodString>;
|
|
2031
2236
|
z: z.ZodOptional<z.ZodNumber>;
|
|
2032
2237
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -2089,7 +2294,7 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
2089
2294
|
seed: z.ZodOptional<z.ZodString>;
|
|
2090
2295
|
}, z.core.$strict>;
|
|
2091
2296
|
}, z.core.$strict>;
|
|
2092
|
-
readonly
|
|
2297
|
+
readonly custom: z.ZodObject<{
|
|
2093
2298
|
parent: z.ZodOptional<z.ZodString>;
|
|
2094
2299
|
z: z.ZodOptional<z.ZodNumber>;
|
|
2095
2300
|
position: z.ZodDefault<z.ZodObject<{
|
|
@@ -2131,12 +2336,15 @@ declare const BOARD_ITEM_SCHEMAS: {
|
|
|
2131
2336
|
width: z.ZodNumber;
|
|
2132
2337
|
height: z.ZodNumber;
|
|
2133
2338
|
}, z.core.$strict>>;
|
|
2134
|
-
type: z.ZodLiteral<"
|
|
2135
|
-
|
|
2339
|
+
type: z.ZodLiteral<"custom">;
|
|
2340
|
+
script: z.ZodObject<{
|
|
2136
2341
|
src: z.ZodString;
|
|
2137
|
-
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.
|
|
2342
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2343
|
+
targets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2138
2344
|
seed: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2139
2346
|
}, z.core.$strict>;
|
|
2347
|
+
props: z.ZodDefault<z.ZodObject<{}, z.core.$strict>>;
|
|
2140
2348
|
}, z.core.$strict>;
|
|
2141
2349
|
};
|
|
2142
2350
|
type BoardBuiltinItemType = keyof typeof BOARD_ITEM_SCHEMAS;
|
|
@@ -2152,11 +2360,11 @@ type BoardAudioItem = z.infer<typeof BoardAudioItemSchema>;
|
|
|
2152
2360
|
type BoardFileItem = z.infer<typeof BoardFileItemSchema>;
|
|
2153
2361
|
type BoardTaskItem = z.infer<typeof BoardTaskItemSchema>;
|
|
2154
2362
|
type BoardEffectItem = z.infer<typeof BoardEffectItemSchema>;
|
|
2155
|
-
type
|
|
2363
|
+
type BoardCustomItem = z.infer<typeof BoardCustomItemSchema>;
|
|
2156
2364
|
type BoardExtensionItem = Omit<z.infer<typeof BoardExtensionItemSchema>, "type"> & {
|
|
2157
2365
|
type: `${string}.${string}`;
|
|
2158
2366
|
};
|
|
2159
|
-
type BoardBuiltinItem = BoardFrameItem | BoardTextItem | BoardShapeItem | BoardDrawItem | BoardArrowItem | BoardImageItem | BoardVideoItem | BoardAudioItem | BoardFileItem | BoardTaskItem | BoardEffectItem |
|
|
2367
|
+
type BoardBuiltinItem = BoardFrameItem | BoardTextItem | BoardShapeItem | BoardDrawItem | BoardArrowItem | BoardImageItem | BoardVideoItem | BoardAudioItem | BoardFileItem | BoardTaskItem | BoardEffectItem | BoardCustomItem;
|
|
2160
2368
|
type BoardItem = BoardBuiltinItem | BoardExtensionItem;
|
|
2161
2369
|
type BoardDiagnostic = {
|
|
2162
2370
|
severity: "error" | "warning";
|
|
@@ -3007,6 +3215,7 @@ type AppBoardArtifactManifest = {
|
|
|
3007
3215
|
sourcePath: string;
|
|
3008
3216
|
snapshot: BoardSnapshot;
|
|
3009
3217
|
assets: AppBoardAsset[];
|
|
3218
|
+
externalUrls?: string[];
|
|
3010
3219
|
};
|
|
3011
3220
|
//#endregion
|
|
3012
3221
|
//#region ../protocol/dist/realtime/types.d.ts
|
|
@@ -3050,6 +3259,25 @@ type RealtimeRoomMember = {
|
|
|
3050
3259
|
* underlying account id.
|
|
3051
3260
|
*/
|
|
3052
3261
|
userKey?: string;
|
|
3262
|
+
kind?: ActorKind;
|
|
3263
|
+
model?: ActorModel;
|
|
3264
|
+
publications?: AppRtcPublication[];
|
|
3265
|
+
};
|
|
3266
|
+
type RealtimeRoomHistoryEvent = {
|
|
3267
|
+
id: string;
|
|
3268
|
+
timestamp: number;
|
|
3269
|
+
sequence: number;
|
|
3270
|
+
type: string;
|
|
3271
|
+
data: unknown;
|
|
3272
|
+
clientEventId: string | null;
|
|
3273
|
+
sender: {
|
|
3274
|
+
participantId: string;
|
|
3275
|
+
};
|
|
3276
|
+
};
|
|
3277
|
+
type RealtimeRoomHistory = {
|
|
3278
|
+
events: RealtimeRoomHistoryEvent[];
|
|
3279
|
+
cursor: number;
|
|
3280
|
+
truncated: boolean;
|
|
3053
3281
|
};
|
|
3054
3282
|
type RealtimeRoomEvent = {
|
|
3055
3283
|
id: string;
|
|
@@ -3085,6 +3313,20 @@ type RealtimeRoomJoinedEvent = {
|
|
|
3085
3313
|
participantId: string;
|
|
3086
3314
|
members: RealtimeRoomMember[];
|
|
3087
3315
|
sequence: number;
|
|
3316
|
+
missed?: RealtimeRoomHistory;
|
|
3317
|
+
};
|
|
3318
|
+
};
|
|
3319
|
+
type RealtimeRoomHistoryResultEvent = {
|
|
3320
|
+
id: string;
|
|
3321
|
+
timestamp: number;
|
|
3322
|
+
domain: "room";
|
|
3323
|
+
type: "realtime.room.history";
|
|
3324
|
+
requestId?: string | null;
|
|
3325
|
+
spaceId?: null;
|
|
3326
|
+
sessionId?: null;
|
|
3327
|
+
rooms: RealtimeRoom[];
|
|
3328
|
+
payload: RealtimeRoomHistory & {
|
|
3329
|
+
roomId: string;
|
|
3088
3330
|
};
|
|
3089
3331
|
};
|
|
3090
3332
|
type RealtimeRoomMemberChangedEvent = {
|
|
@@ -3534,6 +3776,7 @@ type BoardChangedEvent = {
|
|
|
3534
3776
|
payload: {
|
|
3535
3777
|
boardId: string;
|
|
3536
3778
|
actorId: string;
|
|
3779
|
+
actor?: Actor;
|
|
3537
3780
|
mutationId: string;
|
|
3538
3781
|
/** Version before this write; a client at exactly this version can apply `after`. */
|
|
3539
3782
|
baseVersion: number;
|
|
@@ -3721,12 +3964,12 @@ type DesktopCommandDispatchedEvent = {
|
|
|
3721
3964
|
rooms?: RealtimeRoom[];
|
|
3722
3965
|
payload: DesktopCommandDispatchedPayload;
|
|
3723
3966
|
};
|
|
3724
|
-
type RealtimeServerEvent = SystemReadyEvent | SystemAuthOkEvent | SystemRequestErrorEvent | SystemPongEvent | SystemAckOkEvent | SystemSubscribeOkEvent | SystemSubscribeErrorEvent | SessionCreatedEvent | SessionUpdatedEvent | SessionRequestAcceptedEvent | SessionRequestErrorEvent | SessionTurnCreatedEvent | SessionTurnPatchEvent | SessionTurnErrorEvent | SessionTurnLifecycleEvent | SessionTurnUpdatedEvent | SessionTurnFinalizedEvent | SessionTurnNotifyEvent | SessionMessagePersistedEvent | SpaceFsChangedEvent | SpacePortsChangedEvent | SpaceListChangedEvent | SpacePresenceUpdatedEvent | BoardChangedEvent | BoardAwarenessUpdatedEvent | BoardPlaybackChangedEvent | AppVersionPublishedEvent | TaskCreatedEvent | TaskUpdatedEvent | LabelAssignmentsUpdatedEvent | DesktopCommandDispatchedEvent | RealtimeRoomEvent | RealtimeRoomJoinedEvent | RealtimeRoomMemberChangedEvent | RealtimeRoomPresenceUpdatedEvent | RealtimeRoomRequestEvent | RealtimeRoomRequestErrorEvent | RealtimeRoomClosedEvent;
|
|
3967
|
+
type RealtimeServerEvent = SystemReadyEvent | SystemAuthOkEvent | SystemRequestErrorEvent | SystemPongEvent | SystemAckOkEvent | SystemSubscribeOkEvent | SystemSubscribeErrorEvent | SessionCreatedEvent | SessionUpdatedEvent | SessionRequestAcceptedEvent | SessionRequestErrorEvent | SessionTurnCreatedEvent | SessionTurnPatchEvent | SessionTurnErrorEvent | SessionTurnLifecycleEvent | SessionTurnUpdatedEvent | SessionTurnFinalizedEvent | SessionTurnNotifyEvent | SessionMessagePersistedEvent | SpaceFsChangedEvent | SpacePortsChangedEvent | SpaceListChangedEvent | SpacePresenceUpdatedEvent | BoardChangedEvent | BoardAwarenessUpdatedEvent | BoardPlaybackChangedEvent | AppVersionPublishedEvent | TaskCreatedEvent | TaskUpdatedEvent | LabelAssignmentsUpdatedEvent | DesktopCommandDispatchedEvent | RealtimeRoomEvent | RealtimeRoomJoinedEvent | RealtimeRoomHistoryResultEvent | RealtimeRoomMemberChangedEvent | RealtimeRoomPresenceUpdatedEvent | RealtimeRoomRequestEvent | RealtimeRoomRequestErrorEvent | RealtimeRoomClosedEvent;
|
|
3725
3968
|
//#endregion
|
|
3726
3969
|
//#region ../protocol/dist/search/text-match.d.ts
|
|
3727
3970
|
type SearchTextRange = [start: number, end: number];
|
|
3728
3971
|
//#endregion
|
|
3729
|
-
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.
|
|
3972
|
+
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.33/node_modules/@neta-art/generation/dist/builtins-jIE_k69Z.d.ts
|
|
3730
3973
|
//#region src/types.d.ts
|
|
3731
3974
|
declare const MODEL_SCHEMA: "neta.generation.model.v1";
|
|
3732
3975
|
declare const GENERATION_MODEL_CATEGORIES: readonly ["image", "video", "audio"];
|
|
@@ -7006,4 +7249,4 @@ declare const resolveVoiceInputWebsocketUrl: (options?: {
|
|
|
7006
7249
|
env?: CohubEnvironment;
|
|
7007
7250
|
}) => string;
|
|
7008
7251
|
//#endregion
|
|
7009
|
-
export { CheckpointDiffDelivery as $, BoardPlaybackChangedEvent as $a, RuntimeContextMessage as $i, SpaceCommerceProduct as $n, SpaceFsCopyResult as $o, SpaceSessionsResponse as $r, validateArchiveBoundary as $s, PromptTemplateCatalogResponse as $t, BillingCreditExpiryGroup as A, nativeRuntimeEventSchema as Aa, SpaceCompletionResult as Ac, SessionFileRecord as Ai, SessionTurnSignedUrlsResponse as An, DesktopAppTarget as Ao, SpaceFsUploadProgress as Ar, BoardDocument as As, JsonPrimitive as At, BillingProductBillingInterval as B, encodeGenerationPolicy as Ba, isRequestSourceClientId as Bc, SessionTurnRecord as Bi, SpaceActivityContributor as Bn, DesktopTarget as Bo, SpaceMember as Br, parseBoardItem as Bs, LabelScopeType as Bt, BillingBalanceActivityStatus as C, NativeTurnComplete as Ca, CompletionMessage as Cc, ChannelHealth as Ci, SessionListFork as Cn, DESKTOP_COMMAND_MAX_TIMEOUT_MS as Co, SpaceFsReadFilesResponse as Cr, BOARD_ITEM_TYPES as Cs, GlobalSearchChatHit as Ct, BillingCheckoutConfirmation as D, SETTLED_TURN_STATUSES as Da, CompletionUsage as Dc, FeishuChannelConfig as Di, SessionRecord as Dn, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as Do, SpaceFsUploadError as Dr, BoardColor as Ds, GlobalSearchViewerRelation as Dt, BillingCheckoutActionState as E, RuntimeNativeStop as Ea, CompletionThinkingLevel as Ec, DiscordChannelConfig as Ei, SessionMessagesResponse as En, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Eo, SpaceFsUploadEntry as Er, BoardAnimationSchema as Es, GlobalSearchType as Et, BillingDiscountOfferRef as F, GenerationParameterConstraint as Fa, COHUB_SOURCE_HEADER_NAMES as Fc, RequestMetric as Fi, SkillCatalogResponse as Fn, DesktopCommandRecord as Fo, SpaceInvitationLocation as Fr, BoardPatchSchema as Fs, LabelItemsResponse as Ft, BillingProductPromotion as G, parseGenerationPolicyFromEnv as Ga, parseRequestSourceFromHeaders as Gc, HarnessKind as Gi, SpaceBootstrapStatus as Gn, resolveOpenSurface as Go, SpacePresenceSnapshot as Gr, AppAuthorizationTarget as Gs, PaletteOverviewResponse as Gt, BillingProductDisplay as H, findGenerationModelPolicy as Ha, isRequestSourceUuid as Hc, StoredIntermediateMessage as Hi, SpaceBootstrapMeta as Hn, isDesktopCallMethod as Ho, SpaceModListItem as Hr, AppAuthorizationGrant as Hs, MeResponse as Ht, BillingDiscountPricing as I, GenerationPolicy as Ia, REQUEST_SOURCE_VIA_MAX_LENGTH as Ic, SessionStats as Ii, SkillCatalogSource as In, DesktopCommandStatus as Io, SpaceListFilter as Ir, BoardSettings as Is, LabelItemsSessionFork as It, BillingResponsePayload as J, GenerationResult as Ja, resolveRequestSourceChannel as Jc, RUNTIME_PROTOCOL_VERSION as Ji, SpaceCommerceBenefit as Jn, SpacePublicEndpoints as Jo, SpaceRecord as Jr, RUNTIME_ARCHIVE_SEGMENT_BYTES as Js, PatchResourceLabelsInput as Jt, BillingPromotionCodePreview as K, GenerationContentBlock as Ka, readRequestSourceFromEnv as Kc, LocalHarness as Ki, SpaceChannelBindingInput as Kn, NavigationCall as Ko, SpacePresenceUser as Kr, HarnessArchive as Ks, PaletteOverviewSpace as Kt, BillingHistoryPagination as L, GenerationPolicyError as La, RequestSource as Lc, TurnMetrics as Li, SpaceAccess as Ln, DesktopFileTarget as Lo, SpaceListItem as Lr, BoardStyle as Ls, LabelListItem as Lt, BillingCreditStatus as M, nativeTurnProgressSchema as Ma, Usage as Mc, SessionForkRecord as Mi, SessionTurnWindowResponse as Mn, DesktopCommand as Mo, SpaceFsWriteFileInput as Mr, BoardKeyframe as Ms, LabelAssignmentListItem as Mt, BillingCreditUnit as N, runtimeNativeStopSchema as Na, ContentBlock as Nc, SessionTurnSegmentRecord as Ni, SessionTurnsPaginatedResponse as Nn, DesktopCommandDispatchedPayload as No, SpaceInvitation as Nr, BoardMarker as Ns, LabelAssignmentPageInfo as Nt, BillingCheckoutResult as O, isNativeClientTurn as Oa, CreateSpaceCompletionInput as Oc, MessageRecord as Oi, SessionTurnIndexResponse as On, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Oo, SpaceFsUploadPlanEntry as Or, BoardDelta as Os, InvitationDetail as Ot, BillingDiscountOffer as P, GenerationModelPolicy as Pa, COHUB_SOURCE_HEADER as Pc, ExecutionStats as Pi, SkillCatalogEntry as Pn, DesktopCommandError as Po, SpaceInvitationListResponse as Pr, BoardPatch as Ps, LabelAssignmentRecord as Pt, Channel as Q, BoardChangedEvent as Qa, RuntimeContext as Qi, SpaceCommerceOrder as Qn, SpaceFsCopyResponse as Qo, SpaceSandboxProvider as Qr, harnessArchiveIndexSchema as Qs, PromptTemplateCatalogEntry as Qt, BillingPaymentStatus as R, assertGenerationRequestAllowedByPolicy as Ra, RequestSourceVia as Rc, MessageToolCallsFile as Ri, SpaceAccessPolicy as Rn, DesktopOpenCommand as Ro, SpaceListOptions as Rr, BoardTrack as Rs, LabelRecord as Rt, BillingBalanceActivityList as S, NativeRuntimeEvent as Sa, CompletionImageInput as Sc, ChannelConfig as Si, SessionBindingRecord as Sn, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as So, SpaceFsReadFilesInput as Sr, BOARD_COLOR_TOKENS as Ss, GenerationUsageSummary as St, BillingCatalogProduct as T, NativeTurnProgress as Ta, CompletionMessageRole as Tc, ChannelRuntimeState as Ti, SessionMessagesPaginatedResponse as Tn, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as To, SpaceFsUploadDestination as Tr, BoardAnimationHeader as Ts, GlobalSearchResult as Tt, BillingProductKind as U, getAllowedGenerationModelIds as Ua, mergeRequestSourceIntoMeta as Uc, StoredToolCall as Ui, SpaceBootstrapSource as Un, isTerminalDesktopCommandStatus as Uo, SpacePendingDiffFileResponse as Ur, AppAuthorizationRequest as Us, ModelCatalogEntry as Ut, BillingProductCreditBenefit as V, filterGenerationDeclarationsByPolicy as Va, isRequestSourceEmpty as Vc, SpaceTurnsResponse$1 as Vi, SpaceActivityResponse as Vn, defaultDesktopCommandTimeoutMs as Vo, SpaceMeta as Vr, BillingPayload as Vs, LabelSource as Vt, BillingProductPricing as W, normalizeGenerationPolicy as Wa, normalizeRequestSource as Wc, TurnIntermediateMessagesFile as Wi, SpaceBootstrapStage as Wn, parseDesktopCommand as Wo, SpacePendingDiffSummary as Wr, AppAuthorizationResult as Ws, PERMISSIONS as Wt, BillingSubscriptionHistoryStatus as X, AppVersionPublishedEvent as Xa, RuntimeCapabilities as Xi, SpaceCommerceCreditsBenefit as Xn, SpaceFsCopyInput as Xo, SpaceSandboxAutoDestroyPolicy as Xr, RuntimeArchiveSegment as Xs, Permission as Xt, BillingSubscriptionHistoryList as Y, SearchTextRange as Ya, RUNTIME_RECOVERY_BATCH_SIZE as Yi, SpaceCommerceBuyerProfile as Yn, SpaceFsCopyError as Yo, SpaceRole as Yr, RuntimeArchivePage as Ys, PatchResourceLabelsResponse as Yt, BillingSubscriptionSummary as Z, BoardAwarenessUpdatedEvent as Za, RuntimeCommand as Zi, SpaceCommerceFeatureBenefit as Zn, SpaceFsCopyOptions as Zo, SpaceSandboxConfig as Zr, RuntimeArchiveUpload as Zs, PromptAccessMode as Zt, AcceptInvitationResponse as _, NATIVE_SYNC_SOURCE as _a, DISPLAY_ACTION_TYPES as _c, UserSessionSourceKey as _i, ReferralReward as _n, AppBoardArtifactManifest as _o, SpaceFsFileKind as _r, BoardReadInput as _s, CronJobRecord as _t, CohubRuntimeKind as a, RuntimeStopConfirmation as aa, DisplayInfo as ac, SpaceUsageSummary as ai, PublicUserWorkItem as an, RealtimeRoom as ao, SpaceConfigUpdateResponse as ar, BoardAwarenessStateUpdate as as, CheckpointDiffStatus as at, BillingBalanceActivity as b, NativeIngestTurn as ba, compileDisplayActions as bc, isUserLevelPermission as bi, SandboxSpecId as bn, AppVersionSource as bo, SpaceFsPreparingFile as br, BoardSnapshot as bs, GenerationUsageBlock as bt, normalizeVoiceInputWebsocketUrl as c, RuntimeTurnUserMessage as ca, DisplaySession as cc, USER_LEVEL_PERMISSIONS as ci, ReferenceAggregateResponse as cn, RealtimeRoomMember as co, SpaceEnvInput as cr, BoardApplyInput as cs, ClaimReferralResponse as ct, resolveCohubEnvironment as d, runtimeCommandSchema as da, DisplayTreeParams as dc, UserActivityRange as di, ReferenceQueryResponse as dn, SessionCreatedEvent as do, SpaceFsCreateDirectoryInput as dr, BoardCreateInput as ds, CreateSpaceInput as dt, RuntimeExecutionEvent as ea, DISPLAY_ELEMENT_REF_PATTERN as ec, SpaceTurnAuthorFilter as ei, PublicReferral as en, ChannelEnvelope as eo, SpaceCommerceProductBenefitBinding as er, SpaceFsCopySource as es, CheckpointDiffFile as et, resolveExecutionAppId as f, runtimeEventSchema as fa, DisplayViewer as fc, UserActivityRankings as fi, ReferenceQueryableType as fn, SessionTurnPatchEvent as fo, SpaceFsCreateUploadInput as fr, BoardHistoryInput as fs, CreateSpaceModInput as ft, resolveWebsocketUrl as g, NATIVE_INGEST_MAX_TURNS as ga, normalizeDisplayPoint as gc, UserSessionListItem as gi, ReferralListItem as gn, AppArtifactManifestFile as go, SpaceFsEntry as gr, BoardPlaybackSnapshot as gs, CronJobPayload as gt, resolveWebBaseUrl as h, selectRuntimeContextMessages as ha, RtcIceServers as hc, UserRulesResponse as hi, ReferralDashboard as hn, AppArtifactManifest as ho, SpaceFsEncoding as hr, BoardPlaybackCommand as hs, CreateSpaceSessionInput as ht, CohubExecutionContext as i, RuntimeStatus as ia, DisplayElement as ic, SpaceUsageResponse as ii, PublicUserSpaceItem as in, RealtimePatchOperation as io, SpaceConfigResponse as ir, BoardAwarenessItemPreview as is, CheckpointDiffStats as it, BillingCreditGrantStatus as j, nativeTurnCompleteSchema as ja, SpaceCompletionStreamEvent as jc, SessionFilesResponse as ji, SessionTurnStreamSnapshotResponse as jn, DesktopCall as jo, SpaceFsUploadResponse as jr, BoardItem as js, JsonValue as jt, BillingConversionIntent as k, nativeIngestTurnSchema as ka, ModelThinkingLevel as kc, SessionFileChangeKind as ki, SessionTurnResponse as kn, DESKTOP_COMMAND_VERSION as ko, SpaceFsUploadPlanEntryInput as kr, BoardDiagnostic as ks, JsonObject as kt, normalizeWebsocketUrl as l, isLocalHarness as la, DisplaySystemAction as lc, UsageTotals as li, ReferenceDirection as ln, RealtimeServerEvent as lo, SpaceFsCompleteUploadInput as lr, BoardApplyResult as ls, CreateInvitationInput as lt, resolveVoiceInputWebsocketUrl as m, contextToPiMessages as ma, RtcIceServer as mc, UserProfile as mi, ReferenceResourceType as mn, AppArtifactDownloadDescriptor as mo, SpaceFsDeleteNodeInput as mr, BoardManifest as ms, CreateSpacePromptResponse as mt, CohubContext as n, RuntimePendingExecution as na, DisplayCapture as nc, SpaceTurnsResponse as ni, PublicUserPageResponse as nn, RealtimeAppRecord as no, SpaceConfig as nr, SpaceFsCopyStatus as ns, CheckpointDiffPatchKind as nt, getCohubContext as o, RuntimeTraceContext as oa, DisplayInputEvent as oc, TaskRunDetailResponse as oi, ReferenceAggregateGroup as on, RealtimeRoomDescriptor as oo, SpaceCreateResponse as or, BoardAwarenessUpdate as os, CheckpointDiffSummary as ot, resolveExecutionToken as p, runtimeReadySchema as pa, DisplayVirtualStart as pc, UserActivityResponse as pi, ReferenceRecord as pn, AppArtifactDescriptor as po, SpaceFsCreateUploadResponse as pr, BoardHistoryPage as ps, CreateSpacePromptInput as pt, BillingRedemptionResult as q, GenerationModelDeclaration as qa, requestSourceToHeaders as qc, RUNTIME_MAX_FRAME_BYTES as qi, SpaceCheckpointDetailResponse as qn, NavigationLaunch as qo, SpacePublicProfile as qr, HarnessArchiveIndex as qs, PaletteOverviewSpaceRelation as qt, CohubEnvironment as r, RuntimeSessionRecoveryStatus as ra, DisplayCaptureParams as rc, SpaceUsageHourlyStat as ri, PublicUserProfile as rn, RealtimeAppVersionRecord as ro, SpaceConfigInput as rr, BoardAwarenessGesture as rs, CheckpointDiffPatchLine as rt, normalizeBaseUrl as s, RuntimeTurnInput as sa, DisplayList as sc, TaskRunRecord as si, ReferenceAggregateGroupBy as sn, RealtimeRoomEvent as so, SpaceDefaultResponse as sr, parseBoardDocument as ss, CheckpointRecord as st, COHUB_ENVIRONMENTS as t, RuntimeMessage as ta, DISPLAY_SYSTEM_ACTIONS as tc, SpaceTurnListItem as ti, PublicUserAppItem as tn, LabelAssignmentsUpdatedEvent as to, SpaceCommerceProductCreditBenefit as tr, SpaceFsCopyStats as ts, CheckpointDiffFileResponse as tt, resolveApiBaseUrl as u, resolveHarness as ua, DisplayTree as uc, UserActivityQuery as ui, ReferenceKind as un, RealtimeSessionFork as uo, SpaceFsCompleteUploadResponse as ur, BoardChangeSummary as us, CreateInvitationResponse as ut, ApiError as v, NativeIngest as va, DisplayAction as vc, UserSessionSpaceSummary as vi, ReferralStatus as vn, AppBoardAsset as vo, SpaceFsFileResponse as vr, BoardReadResult as vs, CronJobUpdatePatch as vt, BillingCatalog as w, NativeTurnMessage as wa, CompletionMessageInput as wc, ChannelHealthReasonCode as wi, SessionMessageResponse as wn, DESKTOP_COMMAND_OPEN_TIMEOUT_MS as wo, SpaceFsTreeResponse as wr, BoardAnimation as ws, GlobalSearchResponse as wt, BillingBalanceActivityKind as x, NativeKnownResult as xa, CompletionAssistantMessage as xc, scopeListHasPermission as xi, SendMessageCronJobPayload as xn, DESKTOP_COMMAND_ACCEPT_TIMEOUT_MS as xo, SpaceFsReadFilesError as xr, BoardTransactionRecord as xs, GenerationUsageHourlyStat as xt, BatchUserProfilesResponse as y, NativeIngestResult as ya, DisplayActionError as yc, UserSessionsResponse as yi, ResourceLabelsResponse as yn, AppContentKind as yo, SpaceFsMoveInput as yr, BoardRecord as ys, CursorPageInfo as yt, BillingPluginStatus as z, decodeGenerationPolicy as za, hasRequestSourceIdentity as zc, SessionTurnIndexItem as zi, SpaceActivityAppRanking as zn, DesktopSurface as zo, SpaceListPage as zr, BoardTrackSchema as zs, LabelResourceType as zt };
|
|
7252
|
+
export { CheckpointDiffDelivery as $, BoardPlaybackChangedEvent as $a, normalizeRequestSource as $c, RuntimeContextMessage as $i, SpaceCommerceProduct as $n, SpaceFsCopyOptions as $o, SpaceSessionsResponse as $r, RuntimeArchiveUpload as $s, PromptTemplateCatalogResponse as $t, BillingCreditExpiryGroup as A, nativeRuntimeEventSchema as Aa, CompletionMessageInput as Ac, SessionFileRecord as Ai, SessionTurnSignedUrlsResponse as An, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Ao, SpaceFsUploadProgress as Ar, BoardDelta as As, JsonPrimitive as At, BillingProductBillingInterval as B, encodeGenerationPolicy as Ba, Actor as Bc, SessionTurnRecord as Bi, SpaceActivityContributor as Bn, DesktopOpenCommand as Bo, SpaceMember as Br, BoardTrack as Bs, LabelScopeType as Bt, BillingBalanceActivityStatus as C, NativeTurnComplete as Ca, DISPLAY_ACTION_TYPES as Cc, ChannelHealth as Ci, SessionListFork as Cn, DESKTOP_COMMAND_ACCEPT_TIMEOUT_MS as Co, SpaceFsReadFilesResponse as Cr, BoardTransactionRecord as Cs, GlobalSearchChatHit as Ct, BillingCheckoutConfirmation as D, SETTLED_TURN_STATUSES as Da, CompletionAssistantMessage as Dc, FeishuChannelConfig as Di, SessionRecord as Dn, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Do, SpaceFsUploadError as Dr, BoardAnimationHeader as Ds, GlobalSearchViewerRelation as Dt, BillingCheckoutActionState as E, RuntimeNativeStop as Ea, compileDisplayActions as Ec, DiscordChannelConfig as Ei, SessionMessagesResponse as En, DESKTOP_COMMAND_OPEN_TIMEOUT_MS as Eo, SpaceFsUploadEntry as Er, BoardAnimation as Es, GlobalSearchType as Et, BillingDiscountOfferRef as F, GenerationParameterConstraint as Fa, ModelThinkingLevel as Fc, RequestMetric as Fi, SkillCatalogResponse as Fn, DesktopCommandDispatchedPayload as Fo, SpaceInvitationLocation as Fr, BoardMarker as Fs, LabelItemsResponse as Ft, BillingProductPromotion as G, parseGenerationPolicyFromEnv as Ga, REQUEST_SOURCE_VIA_MAX_LENGTH as Gc, HarnessKind as Gi, SpaceBootstrapStatus as Gn, isTerminalDesktopCommandStatus as Go, SpacePresenceSnapshot as Gr, AppAuthorizationRequest as Gs, PaletteOverviewResponse as Gt, BillingProductDisplay as H, findGenerationModelPolicy as Ha, ActorModel as Hc, StoredIntermediateMessage as Hi, SpaceBootstrapMeta as Hn, DesktopTarget as Ho, SpaceModListItem as Hr, parseBoardItem as Hs, MeResponse as Ht, BillingDiscountPricing as I, GenerationPolicy as Ia, SpaceCompletionResult as Ic, SessionStats as Ii, SkillCatalogSource as In, DesktopCommandError as Io, SpaceListFilter as Ir, BoardPatch as Is, LabelItemsSessionFork as It, BillingResponsePayload as J, GenerationResult as Ja, hasRequestSourceIdentity as Jc, RUNTIME_PROTOCOL_VERSION as Ji, SpaceCommerceBenefit as Jn, NavigationCall as Jo, SpaceRecord as Jr, HarnessArchive as Js, PatchResourceLabelsInput as Jt, BillingPromotionCodePreview as K, GenerationContentBlock as Ka, RequestSource as Kc, LocalHarness as Ki, SpaceChannelBindingInput as Kn, parseDesktopCommand as Ko, SpacePresenceUser as Kr, AppAuthorizationResult as Ks, PaletteOverviewSpace as Kt, BillingHistoryPagination as L, GenerationPolicyError as La, SpaceCompletionStreamEvent as Lc, TurnMetrics as Li, SpaceAccess as Ln, DesktopCommandRecord as Lo, SpaceListItem as Lr, BoardPatchSchema as Ls, LabelListItem as Lt, BillingCreditStatus as M, nativeTurnProgressSchema as Ma, CompletionThinkingLevel as Mc, SessionForkRecord as Mi, SessionTurnWindowResponse as Mn, DesktopAppTarget as Mo, SpaceFsWriteFileInput as Mr, BoardDocument as Ms, LabelAssignmentListItem as Mt, BillingCreditUnit as N, runtimeNativeStopSchema as Na, CompletionUsage as Nc, SessionTurnSegmentRecord as Ni, SessionTurnsPaginatedResponse as Nn, DesktopCall as No, SpaceInvitation as Nr, BoardItem as Ns, LabelAssignmentPageInfo as Nt, BillingCheckoutResult as O, isNativeClientTurn as Oa, CompletionImageInput as Oc, MessageRecord as Oi, SessionTurnIndexResponse as On, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Oo, SpaceFsUploadPlanEntry as Or, BoardAnimationSchema as Os, InvitationDetail as Ot, BillingDiscountOffer as P, GenerationModelPolicy as Pa, CreateSpaceCompletionInput as Pc, ExecutionStats as Pi, SkillCatalogEntry as Pn, DesktopCommand as Po, SpaceInvitationListResponse as Pr, BoardKeyframe as Ps, LabelAssignmentRecord as Pt, Channel as Q, BoardChangedEvent as Qa, mergeRequestSourceIntoMeta as Qc, RuntimeContext as Qi, SpaceCommerceOrder as Qn, SpaceFsCopyInput as Qo, SpaceSandboxProvider as Qr, RuntimeArchiveSegment as Qs, PromptTemplateCatalogEntry as Qt, BillingPaymentStatus as R, assertGenerationRequestAllowedByPolicy as Ra, Usage as Rc, MessageToolCallsFile as Ri, SpaceAccessPolicy as Rn, DesktopCommandStatus as Ro, SpaceListOptions as Rr, BoardSettings as Rs, LabelRecord as Rt, BillingBalanceActivityList as S, NativeRuntimeEvent as Sa, RtcIceServers as Sc, ChannelConfig as Si, SessionBindingRecord as Sn, AppVersionSource as So, SpaceFsReadFilesInput as Sr, BoardSnapshot as Ss, GenerationUsageSummary as St, BillingCatalogProduct as T, NativeTurnProgress as Ta, DisplayActionError as Tc, ChannelRuntimeState as Ti, SessionMessagesPaginatedResponse as Tn, DESKTOP_COMMAND_MAX_TIMEOUT_MS as To, SpaceFsUploadDestination as Tr, BOARD_ITEM_TYPES as Ts, GlobalSearchResult as Tt, BillingProductKind as U, getAllowedGenerationModelIds as Ua, COHUB_SOURCE_HEADER as Uc, StoredToolCall as Ui, SpaceBootstrapSource as Un, defaultDesktopCommandTimeoutMs as Uo, SpacePendingDiffFileResponse as Ur, BillingPayload as Us, ModelCatalogEntry as Ut, BillingProductCreditBenefit as V, filterGenerationDeclarationsByPolicy as Va, ActorKind as Vc, SpaceTurnsResponse$1 as Vi, SpaceActivityResponse as Vn, DesktopSurface as Vo, SpaceMeta as Vr, BoardTrackSchema as Vs, LabelSource as Vt, BillingProductPricing as W, normalizeGenerationPolicy as Wa, COHUB_SOURCE_HEADER_NAMES as Wc, TurnIntermediateMessagesFile as Wi, SpaceBootstrapStage as Wn, isDesktopCallMethod as Wo, SpacePendingDiffSummary as Wr, AppAuthorizationGrant as Ws, PERMISSIONS as Wt, BillingSubscriptionHistoryStatus as X, AppVersionPublishedEvent as Xa, isRequestSourceEmpty as Xc, RuntimeCapabilities as Xi, SpaceCommerceCreditsBenefit as Xn, SpacePublicEndpoints as Xo, SpaceSandboxAutoDestroyPolicy as Xr, RUNTIME_ARCHIVE_SEGMENT_BYTES as Xs, Permission as Xt, BillingSubscriptionHistoryList as Y, SearchTextRange as Ya, isRequestSourceClientId as Yc, RUNTIME_RECOVERY_BATCH_SIZE as Yi, SpaceCommerceBuyerProfile as Yn, NavigationLaunch as Yo, SpaceRole as Yr, HarnessArchiveIndex as Ys, PatchResourceLabelsResponse as Yt, BillingSubscriptionSummary as Z, BoardAwarenessUpdatedEvent as Za, isRequestSourceUuid as Zc, RuntimeCommand as Zi, SpaceCommerceFeatureBenefit as Zn, SpaceFsCopyError as Zo, SpaceSandboxConfig as Zr, RuntimeArchivePage as Zs, PromptAccessMode as Zt, AcceptInvitationResponse as _, NATIVE_SYNC_SOURCE as _a, AppRtcDelivery as _c, UserSessionSourceKey as _i, ReferralReward as _n, AppArtifactManifest as _o, SpaceFsFileKind as _r, BoardPlaybackCommand as _s, CronJobRecord as _t, CohubRuntimeKind as a, RuntimeStopConfirmation as aa, DisplayCaptureParams as ac, SpaceUsageSummary as ai, PublicUserWorkItem as an, RealtimeRoom as ao, SpaceConfigUpdateResponse as ar, BoardAwarenessGesture as as, CheckpointDiffStatus as at, BillingBalanceActivity as b, NativeIngestTurn as ba, AppRtcQuality as bc, isUserLevelPermission as bi, SandboxSpecId as bn, AppBoardAsset as bo, SpaceFsPreparingFile as br, BoardReadResult as bs, GenerationUsageBlock as bt, normalizeVoiceInputWebsocketUrl as c, RuntimeTurnUserMessage as ca, DisplayInputEvent as cc, USER_LEVEL_PERMISSIONS as ci, ReferenceAggregateResponse as cn, RealtimeRoomHistory as co, SpaceEnvInput as cr, BoardAwarenessUpdate as cs, ClaimReferralResponse as ct, resolveCohubEnvironment as d, runtimeCommandSchema as da, DisplaySystemAction as dc, UserActivityRange as di, ReferenceQueryResponse as dn, RealtimeServerEvent as do, SpaceFsCreateDirectoryInput as dr, BoardApplyResult as ds, CreateSpaceInput as dt, RuntimeExecutionEvent as ea, harnessArchiveIndexSchema as ec, SpaceTurnAuthorFilter as ei, parseRequestSourceFromHeaders as el, PublicReferral as en, ChannelEnvelope as eo, SpaceCommerceProductBenefitBinding as er, SpaceFsCopyResponse as es, CheckpointDiffFile as et, resolveExecutionAppId as f, runtimeEventSchema as fa, DisplayTree as fc, UserActivityRankings as fi, ReferenceQueryableType as fn, RealtimeSessionFork as fo, SpaceFsCreateUploadInput as fr, BoardChangeSummary as fs, CreateSpaceModInput as ft, resolveWebsocketUrl as g, NATIVE_INGEST_MAX_TURNS as ga, normalizeDisplayPoint as gc, UserSessionListItem as gi, ReferralListItem as gn, AppArtifactDownloadDescriptor as go, SpaceFsEntry as gr, BoardManifest as gs, CronJobPayload as gt, resolveWebBaseUrl as h, selectRuntimeContextMessages as ha, DisplayVirtualStart as hc, UserRulesResponse as hi, ReferralDashboard as hn, AppArtifactDescriptor as ho, SpaceFsEncoding as hr, BoardHistoryPage as hs, CreateSpaceSessionInput as ht, CohubExecutionContext as i, RuntimeStatus as ia, DisplayCapture as ic, SpaceUsageResponse as ii, PublicUserSpaceItem as in, RealtimePatchOperation as io, SpaceConfigResponse as ir, SpaceFsCopyStatus as is, CheckpointDiffStats as it, BillingCreditGrantStatus as j, nativeTurnCompleteSchema as ja, CompletionMessageRole as jc, SessionFilesResponse as ji, SessionTurnStreamSnapshotResponse as jn, DESKTOP_COMMAND_VERSION as jo, SpaceFsUploadResponse as jr, BoardDiagnostic as js, JsonValue as jt, BillingConversionIntent as k, nativeIngestTurnSchema as ka, CompletionMessage as kc, SessionFileChangeKind as ki, SessionTurnResponse as kn, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as ko, SpaceFsUploadPlanEntryInput as kr, BoardColor as ks, JsonObject as kt, normalizeWebsocketUrl as l, isLocalHarness as la, DisplayList as lc, UsageTotals as li, ReferenceDirection as ln, RealtimeRoomHistoryEvent as lo, SpaceFsCompleteUploadInput as lr, parseBoardDocument as ls, CreateInvitationInput as lt, resolveVoiceInputWebsocketUrl as m, contextToPiMessages as ma, DisplayViewer as mc, UserProfile as mi, ReferenceResourceType as mn, SessionTurnPatchEvent as mo, SpaceFsDeleteNodeInput as mr, BoardHistoryInput as ms, CreateSpacePromptResponse as mt, CohubContext as n, RuntimePendingExecution as na, DISPLAY_ELEMENT_REF_PATTERN as nc, SpaceTurnsResponse as ni, requestSourceToHeaders as nl, PublicUserPageResponse as nn, RealtimeAppRecord as no, SpaceConfig as nr, SpaceFsCopySource as ns, CheckpointDiffPatchKind as nt, getCohubContext as o, RuntimeTraceContext as oa, DisplayElement as oc, TaskRunDetailResponse as oi, ReferenceAggregateGroup as on, RealtimeRoomDescriptor as oo, SpaceCreateResponse as or, BoardAwarenessItemPreview as os, CheckpointDiffSummary as ot, resolveExecutionToken as p, runtimeReadySchema as pa, DisplayTreeParams as pc, UserActivityResponse as pi, ReferenceRecord as pn, SessionCreatedEvent as po, SpaceFsCreateUploadResponse as pr, BoardCreateInput as ps, CreateSpacePromptInput as pt, BillingRedemptionResult as q, GenerationModelDeclaration as qa, RequestSourceVia as qc, RUNTIME_MAX_FRAME_BYTES as qi, SpaceCheckpointDetailResponse as qn, resolveOpenSurface as qo, SpacePublicProfile as qr, AppAuthorizationTarget as qs, PaletteOverviewSpaceRelation as qt, CohubEnvironment as r, RuntimeSessionRecoveryStatus as ra, DISPLAY_SYSTEM_ACTIONS as rc, SpaceUsageHourlyStat as ri, resolveRequestSourceChannel as rl, PublicUserProfile as rn, RealtimeAppVersionRecord as ro, SpaceConfigInput as rr, SpaceFsCopyStats as rs, CheckpointDiffPatchLine as rt, normalizeBaseUrl as s, RuntimeTurnInput as sa, DisplayInfo as sc, TaskRunRecord as si, ReferenceAggregateGroupBy as sn, RealtimeRoomEvent as so, SpaceDefaultResponse as sr, BoardAwarenessStateUpdate as ss, CheckpointRecord as st, COHUB_ENVIRONMENTS as t, RuntimeMessage as ta, validateArchiveBoundary as tc, SpaceTurnListItem as ti, readRequestSourceFromEnv as tl, PublicUserAppItem as tn, LabelAssignmentsUpdatedEvent as to, SpaceCommerceProductCreditBenefit as tr, SpaceFsCopyResult as ts, CheckpointDiffFileResponse as tt, resolveApiBaseUrl as u, resolveHarness as ua, DisplaySession as uc, UserActivityQuery as ui, ReferenceKind as un, RealtimeRoomMember as uo, SpaceFsCompleteUploadResponse as ur, BoardApplyInput as us, CreateInvitationResponse as ut, ApiError as v, NativeIngest as va, AppRtcMediaKind as vc, UserSessionSpaceSummary as vi, ReferralStatus as vn, AppArtifactManifestFile as vo, SpaceFsFileResponse as vr, BoardPlaybackSnapshot as vs, CronJobUpdatePatch as vt, BillingCatalog as w, NativeTurnMessage as wa, DisplayAction as wc, ChannelHealthReasonCode as wi, SessionMessageResponse as wn, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as wo, SpaceFsTreeResponse as wr, BOARD_COLOR_TOKENS as ws, GlobalSearchResponse as wt, BillingBalanceActivityKind as x, NativeKnownResult as xa, RtcIceServer as xc, scopeListHasPermission as xi, SendMessageCronJobPayload as xn, AppContentKind as xo, SpaceFsReadFilesError as xr, BoardRecord as xs, GenerationUsageHourlyStat as xt, BatchUserProfilesResponse as y, NativeIngestResult as ya, AppRtcPublication as yc, UserSessionsResponse as yi, ResourceLabelsResponse as yn, AppBoardArtifactManifest as yo, SpaceFsMoveInput as yr, BoardReadInput as ys, CursorPageInfo as yt, BillingPluginStatus as z, decodeGenerationPolicy as za, ContentBlock as zc, SessionTurnIndexItem as zi, SpaceActivityAppRanking as zn, DesktopFileTarget as zo, SpaceListPage as zr, BoardStyle as zs, LabelResourceType as zt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region ../protocol/dist/host-bridge.d.ts
|
|
3
|
-
declare const HOST_BRIDGE_CAPABILITIES: readonly ["auth.token", "auth.signIn", "auth.session", "notifications", "share", "filePicker", "navigation", "cache", "runtime", "appearance", "launch", "haptics", "files", "navigation.back", "shortcuts", "display"];
|
|
3
|
+
declare const HOST_BRIDGE_CAPABILITIES: readonly ["auth.token", "auth.signIn", "auth.session", "notifications", "share", "filePicker", "navigation", "cache", "runtime", "appearance", "launch", "haptics", "files", "navigation.back", "shortcuts", "display", "media.capture"];
|
|
4
4
|
type HostBridgeCapability = (typeof HOST_BRIDGE_CAPABILITIES)[number];
|
|
5
5
|
declare const hostPlatformSchema: z.ZodEnum<{
|
|
6
6
|
android: "android";
|
|
@@ -31,7 +31,7 @@ declare const HOST_BRIDGE_METHODS: {
|
|
|
31
31
|
web: "web";
|
|
32
32
|
}>;
|
|
33
33
|
hostId: z.ZodString;
|
|
34
|
-
capabilities: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("appearance" | "auth.session" | "auth.signIn" | "auth.token" | "cache" | "display" | "filePicker" | "files" | "haptics" | "launch" | "navigation" | "navigation.back" | "notifications" | "runtime" | "share" | "shortcuts")[], string[]>>;
|
|
34
|
+
capabilities: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("appearance" | "auth.session" | "auth.signIn" | "auth.token" | "cache" | "display" | "filePicker" | "files" | "haptics" | "launch" | "media.capture" | "navigation" | "navigation.back" | "notifications" | "runtime" | "share" | "shortcuts")[], string[]>>;
|
|
35
35
|
}, z.core.$strict>;
|
|
36
36
|
};
|
|
37
37
|
readonly "auth.getAccessToken": {
|