@neta-art/cohub 5.3.3 → 5.4.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/dist/board/codec.d.ts +2 -0
- package/dist/board/codec.js +18 -13
- package/dist/board/core/arrow-geometry.d.ts +23 -0
- package/dist/board/core/arrow-geometry.js +109 -0
- package/dist/board/core/connections.d.ts +83 -0
- package/dist/board/core/connections.js +399 -0
- package/dist/board/core/export-plan.d.ts +15 -4
- package/dist/board/core/export-plan.js +49 -16
- package/dist/board/core/shape-definition.js +1 -1
- package/dist/board/core/shape-types.d.ts +8 -2
- package/dist/board/core/shape-types.js +1 -1
- package/dist/board/core/tool-styles.d.ts +9 -3
- package/dist/board/core/tool-styles.js +10 -6
- package/dist/board/export/index.js +1 -0
- package/dist/board/export/scene.d.ts +3 -0
- package/dist/board/export/scene.js +18 -1
- package/dist/board/index.d.ts +8 -5
- package/dist/board/index.js +8 -5
- package/dist/board/render/connection-layer.d.ts +48 -0
- package/dist/board/render/connection-layer.js +223 -0
- package/dist/board/render/index.d.ts +2 -1
- package/dist/board/render/index.js +3 -2
- package/dist/board/render/renderers/arrow-card-renderer.js +35 -48
- package/dist/chunks/http.d.ts +53 -1
- package/dist/chunks/http.js +287 -1
- package/dist/chunks/websocket.d.ts +296 -57
- package/dist/http.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -56
- package/dist/protocol/dist/board-connection.d.ts +310 -0
- package/dist/protocol/dist/board-connection.js +215 -0
- package/dist/protocol/dist/board-constants.d.ts +11 -1
- package/dist/protocol/dist/board-constants.js +15 -1
- package/dist/protocol/dist/board-document.d.ts +106 -60
- package/dist/protocol/dist/board-document.js +57 -17
- package/dist/protocol/dist/board.d.ts +1 -0
- package/dist/protocol/dist/board.js +3 -0
- package/dist/protocol/dist/index.d.ts +2 -1
- package/dist/protocol/dist/index.js +2 -1
- package/dist/protocol/dist/realtime/board-awareness.js +15 -15
- package/package.json +1 -1
- package/dist/board/core/bindings.d.ts +0 -45
- package/dist/board/core/bindings.js +0 -162
|
@@ -503,6 +503,174 @@ type BoardCapability = {
|
|
|
503
503
|
schema?: Record<string, unknown>;
|
|
504
504
|
};
|
|
505
505
|
//#endregion
|
|
506
|
+
//#region ../protocol/dist/board-connection.d.ts
|
|
507
|
+
/**
|
|
508
|
+
* Which ends carry an arrowhead.
|
|
509
|
+
*
|
|
510
|
+
* This is the *semantic* direction, not a style flag: `forward` means the
|
|
511
|
+
* relation reads source → target, `backward` means target → source, and `none`
|
|
512
|
+
* means the relation is symmetric. Renderers derive arrowheads from it, so the
|
|
513
|
+
* drawing can never disagree with the meaning.
|
|
514
|
+
*/
|
|
515
|
+
declare const BOARD_CONNECTION_DIRECTIONS: readonly ["none", "forward", "backward", "both"];
|
|
516
|
+
type BoardConnectionDirection = (typeof BOARD_CONNECTION_DIRECTIONS)[number];
|
|
517
|
+
declare const BoardConnectionSchema: z.ZodObject<{
|
|
518
|
+
id: z.ZodString;
|
|
519
|
+
source: z.ZodObject<{
|
|
520
|
+
nodeId: z.ZodString;
|
|
521
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
522
|
+
kind: z.ZodLiteral<"auto">;
|
|
523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"side">;
|
|
525
|
+
side: z.ZodEnum<{
|
|
526
|
+
bottom: "bottom";
|
|
527
|
+
left: "left";
|
|
528
|
+
right: "right";
|
|
529
|
+
top: "top";
|
|
530
|
+
}>;
|
|
531
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
533
|
+
kind: z.ZodLiteral<"fixed">;
|
|
534
|
+
nx: z.ZodNumber;
|
|
535
|
+
ny: z.ZodNumber;
|
|
536
|
+
}, z.core.$strip>]>>;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
target: z.ZodObject<{
|
|
539
|
+
nodeId: z.ZodString;
|
|
540
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
541
|
+
kind: z.ZodLiteral<"auto">;
|
|
542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
543
|
+
kind: z.ZodLiteral<"side">;
|
|
544
|
+
side: z.ZodEnum<{
|
|
545
|
+
bottom: "bottom";
|
|
546
|
+
left: "left";
|
|
547
|
+
right: "right";
|
|
548
|
+
top: "top";
|
|
549
|
+
}>;
|
|
550
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
551
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
552
|
+
kind: z.ZodLiteral<"fixed">;
|
|
553
|
+
nx: z.ZodNumber;
|
|
554
|
+
ny: z.ZodNumber;
|
|
555
|
+
}, z.core.$strip>]>>;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
relation: z.ZodDefault<z.ZodString>;
|
|
558
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
559
|
+
backward: "backward";
|
|
560
|
+
both: "both";
|
|
561
|
+
forward: "forward";
|
|
562
|
+
none: "none";
|
|
563
|
+
}>>;
|
|
564
|
+
label: z.ZodDefault<z.ZodString>;
|
|
565
|
+
routing: z.ZodDefault<z.ZodObject<{
|
|
566
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
567
|
+
curve: "curve";
|
|
568
|
+
orthogonal: "orthogonal";
|
|
569
|
+
straight: "straight";
|
|
570
|
+
}>>;
|
|
571
|
+
bend: z.ZodDefault<z.ZodNumber>;
|
|
572
|
+
waypoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
573
|
+
x: z.ZodNumber;
|
|
574
|
+
y: z.ZodNumber;
|
|
575
|
+
}, z.core.$strip>>>;
|
|
576
|
+
}, z.core.$strip>>;
|
|
577
|
+
style: z.ZodDefault<z.ZodObject<{
|
|
578
|
+
color: z.ZodDefault<z.ZodString>;
|
|
579
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
580
|
+
line: z.ZodDefault<z.ZodEnum<{
|
|
581
|
+
dashed: "dashed";
|
|
582
|
+
solid: "solid";
|
|
583
|
+
}>>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
586
|
+
}, z.core.$strip>;
|
|
587
|
+
type BoardConnection = z.infer<typeof BoardConnectionSchema>;
|
|
588
|
+
/** Server-owned fields, mirroring how nodes carry a board id and revision. */
|
|
589
|
+
type BoardConnectionRecord = BoardConnection & {
|
|
590
|
+
boardId: string;
|
|
591
|
+
revision: number;
|
|
592
|
+
createdAt: string | null;
|
|
593
|
+
updatedAt: string | null;
|
|
594
|
+
};
|
|
595
|
+
/** The client-authored form of a connection (no server-owned fields). */
|
|
596
|
+
type BoardConnectionInput = BoardConnection;
|
|
597
|
+
/**
|
|
598
|
+
* A patch to an existing connection.
|
|
599
|
+
*
|
|
600
|
+
* `id` is excluded: a connection's identity never changes, and re-pointing both
|
|
601
|
+
* endpoints is an edit of the same relation, not a new one.
|
|
602
|
+
*/
|
|
603
|
+
declare const BoardConnectionPatchSchema: z.ZodObject<{
|
|
604
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
605
|
+
nodeId: z.ZodString;
|
|
606
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
607
|
+
kind: z.ZodLiteral<"auto">;
|
|
608
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
609
|
+
kind: z.ZodLiteral<"side">;
|
|
610
|
+
side: z.ZodEnum<{
|
|
611
|
+
bottom: "bottom";
|
|
612
|
+
left: "left";
|
|
613
|
+
right: "right";
|
|
614
|
+
top: "top";
|
|
615
|
+
}>;
|
|
616
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
+
kind: z.ZodLiteral<"fixed">;
|
|
619
|
+
nx: z.ZodNumber;
|
|
620
|
+
ny: z.ZodNumber;
|
|
621
|
+
}, z.core.$strip>]>>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
624
|
+
nodeId: z.ZodString;
|
|
625
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
626
|
+
kind: z.ZodLiteral<"auto">;
|
|
627
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
628
|
+
kind: z.ZodLiteral<"side">;
|
|
629
|
+
side: z.ZodEnum<{
|
|
630
|
+
bottom: "bottom";
|
|
631
|
+
left: "left";
|
|
632
|
+
right: "right";
|
|
633
|
+
top: "top";
|
|
634
|
+
}>;
|
|
635
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
637
|
+
kind: z.ZodLiteral<"fixed">;
|
|
638
|
+
nx: z.ZodNumber;
|
|
639
|
+
ny: z.ZodNumber;
|
|
640
|
+
}, z.core.$strip>]>>;
|
|
641
|
+
}, z.core.$strip>>;
|
|
642
|
+
relation: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
643
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
644
|
+
backward: "backward";
|
|
645
|
+
both: "both";
|
|
646
|
+
forward: "forward";
|
|
647
|
+
none: "none";
|
|
648
|
+
}>>>;
|
|
649
|
+
label: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
650
|
+
routing: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
651
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
652
|
+
curve: "curve";
|
|
653
|
+
orthogonal: "orthogonal";
|
|
654
|
+
straight: "straight";
|
|
655
|
+
}>>;
|
|
656
|
+
bend: z.ZodDefault<z.ZodNumber>;
|
|
657
|
+
waypoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
658
|
+
x: z.ZodNumber;
|
|
659
|
+
y: z.ZodNumber;
|
|
660
|
+
}, z.core.$strip>>>;
|
|
661
|
+
}, z.core.$strip>>>;
|
|
662
|
+
style: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
663
|
+
color: z.ZodDefault<z.ZodString>;
|
|
664
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
665
|
+
line: z.ZodDefault<z.ZodEnum<{
|
|
666
|
+
dashed: "dashed";
|
|
667
|
+
solid: "solid";
|
|
668
|
+
}>>;
|
|
669
|
+
}, z.core.$strip>>>;
|
|
670
|
+
metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
671
|
+
}, z.core.$strip>;
|
|
672
|
+
type BoardConnectionPatch = z.infer<typeof BoardConnectionPatchSchema>;
|
|
673
|
+
//#endregion
|
|
506
674
|
//#region ../protocol/dist/board.d.ts
|
|
507
675
|
declare const BOARD_SNAPSHOT_KIND: "cohub.board.snapshot";
|
|
508
676
|
declare const BOARD_PROTOCOL_VERSION: 1;
|
|
@@ -672,7 +840,7 @@ type BoardNodeRecord = {
|
|
|
672
840
|
updatedAt: string | null;
|
|
673
841
|
};
|
|
674
842
|
type BoardNodeInput = Omit<BoardNodeRecord, "boardId" | "version" | "createdAt" | "updatedAt">;
|
|
675
|
-
declare const BOARD_DELETE_REASONS: readonly ["user-delete", "orphan-cleanup", "layout-replace", "placeholder-cascade"];
|
|
843
|
+
declare const BOARD_DELETE_REASONS: readonly ["user-delete", "orphan-cleanup", "layout-replace", "placeholder-cascade", "node-cascade"];
|
|
676
844
|
type BoardDeleteReason = (typeof BOARD_DELETE_REASONS)[number] | (string & {});
|
|
677
845
|
type BoardOperationBase = {
|
|
678
846
|
opId?: string;
|
|
@@ -704,6 +872,23 @@ type BoardOperation = (BoardOperationBase & {
|
|
|
704
872
|
nodeId: string;
|
|
705
873
|
reason?: BoardDeleteReason;
|
|
706
874
|
};
|
|
875
|
+
}) | (BoardOperationBase & {
|
|
876
|
+
type: "connection.create";
|
|
877
|
+
payload: {
|
|
878
|
+
connection: BoardConnectionInput;
|
|
879
|
+
};
|
|
880
|
+
}) | (BoardOperationBase & {
|
|
881
|
+
type: "connection.patch";
|
|
882
|
+
payload: {
|
|
883
|
+
connectionId: string;
|
|
884
|
+
patch: BoardConnectionPatch;
|
|
885
|
+
};
|
|
886
|
+
}) | (BoardOperationBase & {
|
|
887
|
+
type: "connection.delete";
|
|
888
|
+
payload: {
|
|
889
|
+
connectionId: string;
|
|
890
|
+
reason?: BoardDeleteReason;
|
|
891
|
+
};
|
|
707
892
|
}) | (BoardOperationBase & {
|
|
708
893
|
type: "effect.upsert";
|
|
709
894
|
payload: {
|
|
@@ -737,6 +922,7 @@ type BoardTransaction = {
|
|
|
737
922
|
type BoardBootstrap = {
|
|
738
923
|
board: BoardRecord;
|
|
739
924
|
nodes: BoardNodeRecord[];
|
|
925
|
+
connections: BoardConnectionRecord[];
|
|
740
926
|
effects: BoardEffect[];
|
|
741
927
|
sequences: BoardSequence[];
|
|
742
928
|
clips: BoardClip[];
|
|
@@ -770,6 +956,76 @@ declare const BoardCreateInputSchema: z.ZodObject<{
|
|
|
770
956
|
style: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
771
957
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
772
958
|
}, z.core.$strip>>>;
|
|
959
|
+
connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
960
|
+
id: z.ZodString;
|
|
961
|
+
source: z.ZodObject<{
|
|
962
|
+
nodeId: z.ZodString;
|
|
963
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
964
|
+
kind: z.ZodLiteral<"auto">;
|
|
965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
966
|
+
kind: z.ZodLiteral<"side">;
|
|
967
|
+
side: z.ZodEnum<{
|
|
968
|
+
bottom: "bottom";
|
|
969
|
+
left: "left";
|
|
970
|
+
right: "right";
|
|
971
|
+
top: "top";
|
|
972
|
+
}>;
|
|
973
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
974
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
975
|
+
kind: z.ZodLiteral<"fixed">;
|
|
976
|
+
nx: z.ZodNumber;
|
|
977
|
+
ny: z.ZodNumber;
|
|
978
|
+
}, z.core.$strip>]>>;
|
|
979
|
+
}, z.core.$strip>;
|
|
980
|
+
target: z.ZodObject<{
|
|
981
|
+
nodeId: z.ZodString;
|
|
982
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
983
|
+
kind: z.ZodLiteral<"auto">;
|
|
984
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
985
|
+
kind: z.ZodLiteral<"side">;
|
|
986
|
+
side: z.ZodEnum<{
|
|
987
|
+
bottom: "bottom";
|
|
988
|
+
left: "left";
|
|
989
|
+
right: "right";
|
|
990
|
+
top: "top";
|
|
991
|
+
}>;
|
|
992
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
993
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
994
|
+
kind: z.ZodLiteral<"fixed">;
|
|
995
|
+
nx: z.ZodNumber;
|
|
996
|
+
ny: z.ZodNumber;
|
|
997
|
+
}, z.core.$strip>]>>;
|
|
998
|
+
}, z.core.$strip>;
|
|
999
|
+
relation: z.ZodDefault<z.ZodString>;
|
|
1000
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
1001
|
+
backward: "backward";
|
|
1002
|
+
both: "both";
|
|
1003
|
+
forward: "forward";
|
|
1004
|
+
none: "none";
|
|
1005
|
+
}>>;
|
|
1006
|
+
label: z.ZodDefault<z.ZodString>;
|
|
1007
|
+
routing: z.ZodDefault<z.ZodObject<{
|
|
1008
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
1009
|
+
curve: "curve";
|
|
1010
|
+
orthogonal: "orthogonal";
|
|
1011
|
+
straight: "straight";
|
|
1012
|
+
}>>;
|
|
1013
|
+
bend: z.ZodDefault<z.ZodNumber>;
|
|
1014
|
+
waypoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1015
|
+
x: z.ZodNumber;
|
|
1016
|
+
y: z.ZodNumber;
|
|
1017
|
+
}, z.core.$strip>>>;
|
|
1018
|
+
}, z.core.$strip>>;
|
|
1019
|
+
style: z.ZodDefault<z.ZodObject<{
|
|
1020
|
+
color: z.ZodDefault<z.ZodString>;
|
|
1021
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
1022
|
+
line: z.ZodDefault<z.ZodEnum<{
|
|
1023
|
+
dashed: "dashed";
|
|
1024
|
+
solid: "solid";
|
|
1025
|
+
}>>;
|
|
1026
|
+
}, z.core.$strip>>;
|
|
1027
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1028
|
+
}, z.core.$strip>>>;
|
|
773
1029
|
effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
774
1030
|
id: z.ZodString;
|
|
775
1031
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -870,6 +1126,7 @@ type BoardCreateInput = z.infer<typeof BoardCreateInputSchema>;
|
|
|
870
1126
|
declare const BoardInspectInputSchema: z.ZodObject<{
|
|
871
1127
|
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
872
1128
|
clips: "clips";
|
|
1129
|
+
connections: "connections";
|
|
873
1130
|
effects: "effects";
|
|
874
1131
|
nodes: "nodes";
|
|
875
1132
|
playback: "playback";
|
|
@@ -1084,28 +1341,14 @@ declare const BoardAwarenessNodePreviewSchema: z.ZodObject<{
|
|
|
1084
1341
|
rotation: z.ZodNumber;
|
|
1085
1342
|
}, z.core.$strip>;
|
|
1086
1343
|
arrow: z.ZodOptional<z.ZodObject<{
|
|
1087
|
-
start: z.
|
|
1088
|
-
kind: z.ZodLiteral<"point">;
|
|
1344
|
+
start: z.ZodObject<{
|
|
1089
1345
|
x: z.ZodNumber;
|
|
1090
1346
|
y: z.ZodNumber;
|
|
1091
|
-
}, z.core.$strip
|
|
1092
|
-
|
|
1093
|
-
target: z.ZodString;
|
|
1094
|
-
nx: z.ZodNumber;
|
|
1095
|
-
ny: z.ZodNumber;
|
|
1096
|
-
precise: z.ZodBoolean;
|
|
1097
|
-
}, z.core.$strip>]>;
|
|
1098
|
-
end: z.ZodUnion<readonly [z.ZodObject<{
|
|
1099
|
-
kind: z.ZodLiteral<"point">;
|
|
1347
|
+
}, z.core.$strip>;
|
|
1348
|
+
end: z.ZodObject<{
|
|
1100
1349
|
x: z.ZodNumber;
|
|
1101
1350
|
y: z.ZodNumber;
|
|
1102
|
-
}, z.core.$strip
|
|
1103
|
-
kind: z.ZodLiteral<"binding">;
|
|
1104
|
-
target: z.ZodString;
|
|
1105
|
-
nx: z.ZodNumber;
|
|
1106
|
-
ny: z.ZodNumber;
|
|
1107
|
-
precise: z.ZodBoolean;
|
|
1108
|
-
}, z.core.$strip>]>;
|
|
1351
|
+
}, z.core.$strip>;
|
|
1109
1352
|
bend: z.ZodNumber;
|
|
1110
1353
|
}, z.core.$strip>>;
|
|
1111
1354
|
}, z.core.$strip>;
|
|
@@ -1184,11 +1427,23 @@ declare const BoardAwarenessGestureSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1184
1427
|
}, z.core.$strip>;
|
|
1185
1428
|
color: z.ZodString;
|
|
1186
1429
|
geo: z.ZodString;
|
|
1430
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1431
|
+
kind: z.ZodLiteral<"connection">;
|
|
1432
|
+
id: z.ZodString;
|
|
1433
|
+
sourceNodeId: z.ZodString;
|
|
1434
|
+
targetNodeId: z.ZodNullable<z.ZodString>;
|
|
1435
|
+
current: z.ZodObject<{
|
|
1436
|
+
x: z.ZodNumber;
|
|
1437
|
+
y: z.ZodNumber;
|
|
1438
|
+
}, z.core.$strip>;
|
|
1439
|
+
color: z.ZodString;
|
|
1440
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
1187
1441
|
}, z.core.$strip>, z.ZodObject<{
|
|
1188
1442
|
kind: z.ZodLiteral<"transform">;
|
|
1189
1443
|
id: z.ZodString;
|
|
1190
1444
|
mode: z.ZodEnum<{
|
|
1191
1445
|
arrow: "arrow";
|
|
1446
|
+
connection: "connection";
|
|
1192
1447
|
resize: "resize";
|
|
1193
1448
|
rotate: "rotate";
|
|
1194
1449
|
translate: "translate";
|
|
@@ -1203,28 +1458,14 @@ declare const BoardAwarenessGestureSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1203
1458
|
rotation: z.ZodNumber;
|
|
1204
1459
|
}, z.core.$strip>;
|
|
1205
1460
|
arrow: z.ZodOptional<z.ZodObject<{
|
|
1206
|
-
start: z.
|
|
1207
|
-
kind: z.ZodLiteral<"point">;
|
|
1461
|
+
start: z.ZodObject<{
|
|
1208
1462
|
x: z.ZodNumber;
|
|
1209
1463
|
y: z.ZodNumber;
|
|
1210
|
-
}, z.core.$strip
|
|
1211
|
-
|
|
1212
|
-
target: z.ZodString;
|
|
1213
|
-
nx: z.ZodNumber;
|
|
1214
|
-
ny: z.ZodNumber;
|
|
1215
|
-
precise: z.ZodBoolean;
|
|
1216
|
-
}, z.core.$strip>]>;
|
|
1217
|
-
end: z.ZodUnion<readonly [z.ZodObject<{
|
|
1218
|
-
kind: z.ZodLiteral<"point">;
|
|
1464
|
+
}, z.core.$strip>;
|
|
1465
|
+
end: z.ZodObject<{
|
|
1219
1466
|
x: z.ZodNumber;
|
|
1220
1467
|
y: z.ZodNumber;
|
|
1221
|
-
}, z.core.$strip
|
|
1222
|
-
kind: z.ZodLiteral<"binding">;
|
|
1223
|
-
target: z.ZodString;
|
|
1224
|
-
nx: z.ZodNumber;
|
|
1225
|
-
ny: z.ZodNumber;
|
|
1226
|
-
precise: z.ZodBoolean;
|
|
1227
|
-
}, z.core.$strip>]>;
|
|
1468
|
+
}, z.core.$strip>;
|
|
1228
1469
|
bend: z.ZodNumber;
|
|
1229
1470
|
}, z.core.$strip>>;
|
|
1230
1471
|
}, z.core.$strip>>;
|
|
@@ -1312,11 +1553,23 @@ declare const BoardAwarenessUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1312
1553
|
}, z.core.$strip>;
|
|
1313
1554
|
color: z.ZodString;
|
|
1314
1555
|
geo: z.ZodString;
|
|
1556
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1557
|
+
kind: z.ZodLiteral<"connection">;
|
|
1558
|
+
id: z.ZodString;
|
|
1559
|
+
sourceNodeId: z.ZodString;
|
|
1560
|
+
targetNodeId: z.ZodNullable<z.ZodString>;
|
|
1561
|
+
current: z.ZodObject<{
|
|
1562
|
+
x: z.ZodNumber;
|
|
1563
|
+
y: z.ZodNumber;
|
|
1564
|
+
}, z.core.$strip>;
|
|
1565
|
+
color: z.ZodString;
|
|
1566
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
1315
1567
|
}, z.core.$strip>, z.ZodObject<{
|
|
1316
1568
|
kind: z.ZodLiteral<"transform">;
|
|
1317
1569
|
id: z.ZodString;
|
|
1318
1570
|
mode: z.ZodEnum<{
|
|
1319
1571
|
arrow: "arrow";
|
|
1572
|
+
connection: "connection";
|
|
1320
1573
|
resize: "resize";
|
|
1321
1574
|
rotate: "rotate";
|
|
1322
1575
|
translate: "translate";
|
|
@@ -1331,28 +1584,14 @@ declare const BoardAwarenessUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1331
1584
|
rotation: z.ZodNumber;
|
|
1332
1585
|
}, z.core.$strip>;
|
|
1333
1586
|
arrow: z.ZodOptional<z.ZodObject<{
|
|
1334
|
-
start: z.
|
|
1335
|
-
kind: z.ZodLiteral<"point">;
|
|
1587
|
+
start: z.ZodObject<{
|
|
1336
1588
|
x: z.ZodNumber;
|
|
1337
1589
|
y: z.ZodNumber;
|
|
1338
|
-
}, z.core.$strip
|
|
1339
|
-
|
|
1340
|
-
target: z.ZodString;
|
|
1341
|
-
nx: z.ZodNumber;
|
|
1342
|
-
ny: z.ZodNumber;
|
|
1343
|
-
precise: z.ZodBoolean;
|
|
1344
|
-
}, z.core.$strip>]>;
|
|
1345
|
-
end: z.ZodUnion<readonly [z.ZodObject<{
|
|
1346
|
-
kind: z.ZodLiteral<"point">;
|
|
1590
|
+
}, z.core.$strip>;
|
|
1591
|
+
end: z.ZodObject<{
|
|
1347
1592
|
x: z.ZodNumber;
|
|
1348
1593
|
y: z.ZodNumber;
|
|
1349
|
-
}, z.core.$strip
|
|
1350
|
-
kind: z.ZodLiteral<"binding">;
|
|
1351
|
-
target: z.ZodString;
|
|
1352
|
-
nx: z.ZodNumber;
|
|
1353
|
-
ny: z.ZodNumber;
|
|
1354
|
-
precise: z.ZodBoolean;
|
|
1355
|
-
}, z.core.$strip>]>;
|
|
1594
|
+
}, z.core.$strip>;
|
|
1356
1595
|
bend: z.ZodNumber;
|
|
1357
1596
|
}, z.core.$strip>>;
|
|
1358
1597
|
}, z.core.$strip>>;
|
|
@@ -2050,7 +2289,7 @@ type UiCommandDispatchedEvent = {
|
|
|
2050
2289
|
};
|
|
2051
2290
|
type RealtimeServerEvent = SystemReadyEvent | SystemAuthOkEvent | SystemRequestErrorEvent | SystemPongEvent | SystemAckOkEvent | SystemSubscribeOkEvent | SystemSubscribeErrorEvent | SessionCreatedEvent | SessionUpdatedEvent | SessionRequestAcceptedEvent | SessionRequestErrorEvent | SessionTurnCreatedEvent | SessionTurnPatchEvent | SessionTurnErrorEvent | SessionTurnLifecycleEvent | SessionTurnUpdatedEvent | SessionTurnFinalizedEvent | SessionTurnNotifyEvent | SessionMessagePersistedEvent | SpaceFsChangedEvent | SpacePortsChangedEvent | SpacePresenceUpdatedEvent | BoardTransactionAppliedEvent | BoardAwarenessUpdatedEvent | BoardPlaybackChangedEvent | WorkVersionPublishedEvent | TaskCreatedEvent | TaskUpdatedEvent | LabelAssignmentsUpdatedEvent | UiCommandDispatchedEvent | RealtimeRoomEvent | RealtimeRoomJoinedEvent | RealtimeRoomMemberChangedEvent | RealtimeRoomPresenceUpdatedEvent | RealtimeRoomRequestEvent | RealtimeRoomRequestErrorEvent | RealtimeRoomClosedEvent;
|
|
2052
2291
|
//#endregion
|
|
2053
|
-
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.
|
|
2292
|
+
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.20/node_modules/@neta-art/generation/dist/builtins-8R5iZQ10.d.ts
|
|
2054
2293
|
//#region src/types.d.ts
|
|
2055
2294
|
declare const MODEL_SCHEMA: "neta.generation.model.v1";
|
|
2056
2295
|
type GenerationSource = {
|
|
@@ -3859,4 +4098,4 @@ declare class WebsocketClient {
|
|
|
3859
4098
|
}
|
|
3860
4099
|
declare const createWebsocketClient: (options?: WebsocketClientOptions) => WebsocketClient;
|
|
3861
4100
|
//#endregion
|
|
3862
|
-
export { CreateSpacePromptInput as $,
|
|
4101
|
+
export { CreateSpacePromptInput as $, mergeRequestSourceIntoMeta as $a, BoardClip as $i, SpaceFsTreeResponse as $n, findGenerationModelPolicy as $r, SandboxSpecId as $t, BillingProductDisplay as A, SessionTurnRecord as Aa, WorkContentKind as Ai, SpaceCommerceProductCreditBenefit as An, SpaceUsageResponse as Ar, Permission as At, CheckpointDiffFile as B, SpaceCompletionStreamEvent as Ba, UiCommandError as Bi, SpaceFsCreateDirectoryInput as Bn, ChannelHealth as Br, ReferenceAggregateGroupBy as Bt, BillingCreditStatus as C, BoardCapability as Ca, BoardAwarenessUpdate as Ci, SpaceCommerceBenefit as Cn, SpaceSandboxConfig as Cr, LabelResourceType as Ct, BillingPluginStatus as D, SessionForkRecord as Da, WorkArtifactManifestFile as Di, SpaceCommerceOrder as Dn, SpaceTurnListItem as Dr, ModelCatalogEntry as Dt, BillingPaymentStatus as E, MessageRecord as Ea, WorkArtifactManifest as Ei, SpaceCommerceFeatureBenefit as En, SpaceTurnAuthorFilter as Er, MeResponse as Et, BillingSubscriptionHistoryList as F, CompletionThinkingLevel as Fa, UI_COMMAND_SETTLEMENT_GRACE_SECONDS as Fi, SpaceCreateResponse as Fn, UserRulesResponse as Fr, PublicUserPageResponse as Ft, CheckpointDiffStatus as G, COHUB_SOURCE_HEADER_NAMES as Ga, UiSurfaceRequest as Gi, SpaceFsEntry as Gn, GenerationModelPolicy as Gr, ReferenceQueryableType as Gt, CheckpointDiffPatchKind as H, BillingPayload as Ha, UiCommandStatus as Hi, SpaceFsCreateUploadResponse as Hn, ChannelRuntimeState as Hr, ReferenceDirection as Ht, BillingSubscriptionHistoryStatus as I, CompletionUsage as Ia, UI_COMMAND_TERMINAL_TTL_SECONDS as Ii, SpaceDefaultResponse as In, UserSessionListItem as Ir, PublicUserProfile as It, ClaimReferralResponse as J, RequestSourceVia as Ja, isUiSurfaceMethod as Ji, SpaceFsMoveInput as Jn, GenerationPolicyError as Jr, ReferralDashboard as Jt, CheckpointDiffSummary as K, REQUEST_SOURCE_VIA_MAX_LENGTH as Ka, UiWorkPreviewTarget as Ki, SpaceFsFileKind as Kn, GenerationParameterConstraint as Kr, ReferenceRecord as Kt, BillingSubscriptionSummary as L, CreateSpaceCompletionInput as La, UI_COMMAND_VERSION as Li, SpaceEnvInput as Ln, UserSessionSpaceSummary as Lr, PublicUserSpaceItem as Lt, BillingProductPricing as M, CompletionAssistantMessage as Ma, UI_COMMAND_MAX_TIMEOUT_MS as Mi, SpaceConfigInput as Mn, TaskRunDetailResponse as Mr, PromptTemplateCatalogEntry as Mt, BillingRedemptionResult as N, CompletionMessage as Na, UI_COMMAND_PAYLOAD_MAX_BYTES as Ni, SpaceConfigResponse as Nn, TaskRunRecord as Nr, PromptTemplateCatalogResponse as Nt, BillingProductBillingInterval as O, SessionTurnSegmentRecord as Oa, WorkBoardArtifactManifest as Oi, SpaceCommerceProduct as On, SpaceTurnsResponse as Or, PatchResourceLabelsInput as Ot, BillingResponsePayload as P, CompletionMessageRole as Pa, UI_COMMAND_PENDING_TTL_SECONDS as Pi, SpaceConfigUpdateResponse as Pn, UserProfile as Pr, PublicReferral as Pt, CreateSpaceModInput as Q, isRequestSourceUuid as Qa, BoardCapabilities as Qi, SpaceFsReadFilesResponse as Qn, filterGenerationDeclarationsByPolicy as Qr, ResourceLabelsResponse as Qt, Channel as R, ModelThinkingLevel as Ra, UiCommand as Ri, SpaceFsCompleteUploadInput as Rn, UserSessionsResponse as Rr, PublicUserWorkItem as Rt, BillingCreditGrantStatus as S, BoardConnectionRecord as Sa, BoardAwarenessStateUpdate as Si, SpaceCheckpointDetailResponse as Sn, SpaceSandboxAutoDestroyPolicy as Sr, LabelRecord as St, BillingHistoryPagination as T, SpacePublicEndpoints as Ta, WorkArtifactDownloadDescriptor as Ti, SpaceCommerceCreditsBenefit as Tn, SpaceSessionsResponse as Tr, LabelSource as Tt, CheckpointDiffPatchLine as U, ContentBlock as Ua, UiPreviewShowCommand as Ui, SpaceFsDeleteNodeInput as Un, DiscordChannelConfig as Ur, ReferenceKind as Ut, CheckpointDiffFileResponse as V, Usage as Va, UiCommandRecord as Vi, SpaceFsCreateUploadInput as Vn, ChannelHealthReasonCode as Vr, ReferenceAggregateResponse as Vt, CheckpointDiffStats as W, COHUB_SOURCE_HEADER as Wa, UiPreviewTarget as Wi, SpaceFsEncoding as Wn, FeishuChannelConfig as Wr, ReferenceQueryResponse as Wt, CreateInvitationResponse as X, isRequestSourceClientId as Xa, BoardAssetRef as Xi, SpaceFsReadFilesError as Xn, decodeGenerationPolicy as Xr, ReferralReward as Xt, CreateInvitationInput as Y, hasRequestSourceIdentity as Ya, parseUiCommand as Yi, SpaceFsPreparingFile as Yn, assertGenerationRequestAllowedByPolicy as Yr, ReferralListItem as Yt, CreateSpaceInput as Z, isRequestSourceEmpty as Za, BoardBootstrap as Zi, SpaceFsReadFilesInput as Zn, encodeGenerationPolicy as Zr, ReferralStatus as Zt, BillingCatalogProduct as _, BoardTransaction as _a, RealtimeWorkVersionRecord as _i, SpaceBootstrapMeta as _n, SpacePresenceSnapshot as _r, LabelAssignmentPageInfo as _t, WebsocketClientOptions as a, BoardKeyframe as aa, GenerationResult as ai, SessionRecord as an, SpaceFsUploadProgress as ar, CursorPageInfo as at, BillingConversionIntent as b, BoardConnection as ba, BoardAwarenessGesture as bi, SpaceBootstrapStatus as bn, SpaceRecord as br, LabelItemsSessionFork as bt, createWebsocketClient as c, BoardNodeRecord as ca, BoardTransactionAppliedEvent as ci, SessionTurnSignedUrlsResponse as cn, SpaceInvitation as cr, GenerationUsageSummary as ct, BatchUserProfilesResponse as d, BoardPlaybackPolicy as da, RealtimePatchOperation as di, SessionTurnsPaginatedResponse as dn, SpaceListItem as dr, GlobalSearchType as dt, BoardCreateInput as ea, getAllowedGenerationModelIds as ei, SendMessageCronJobPayload as en, normalizeRequestSource as eo, SpaceFsUploadDestination as er, CreateSpacePromptResponse as et, BillingBalanceActivity as f, BoardPlaybackPolicySchema as fa, RealtimeRoomDescriptor as fi, SkillCatalogEntry as fn, SpaceMember as fr, InvitationDetail as ft, BillingCatalog as g, BoardTarget as ga, RealtimeWorkRecord as gi, SpaceAccessPolicy as gn, SpacePendingDiffSummary as gr, LabelAssignmentListItem as gt, BillingBalanceActivityStatus as h, BoardSequence as ha, RealtimeServerEvent as hi, SpaceAccess as hn, SpacePendingDiffFileResponse as hr, JsonValue as ht, WebsocketClientEvents as i, BoardInspectInput as ia, GenerationModelDeclaration as ii, SessionMessagesResponse as in, resolveRequestSourceChannel as io, SpaceFsUploadPlanEntryInput as ir, CronJobUpdatePatch as it, BillingProductKind as j, SpaceTurnsResponse$1 as ja, UI_COMMAND_DEFAULT_TIMEOUT_MS as ji, SpaceConfig as jn, SpaceUsageSummary as jr, PromptAccessMode as jt, BillingProductCreditBenefit as k, SessionTurnIndexItem as ka, WorkBoardAsset as ki, SpaceCommerceProductBenefitBinding as kn, SpaceUsageHourlyStat as kr, PatchResourceLabelsResponse as kt, AcceptInvitationResponse as l, BoardOperation as la, ChannelEnvelope as li, SessionTurnStreamSnapshotResponse as ln, SpaceInvitationListResponse as lr, GlobalSearchResponse as lt, BillingBalanceActivityList as m, BoardRecord as ma, RealtimeRoomMember as mi, SkillCatalogSource as mn, SpaceModListItem as mr, JsonPrimitive as mt, WebSocketLike as n, BoardDiagnostic as na, parseGenerationPolicyFromEnv as ni, SessionMessageResponse as nn, readRequestSourceFromEnv as no, SpaceFsUploadError as nr, CronJobPayload as nt, WebsocketClientState as o, BoardManifest as oa, BoardAwarenessUpdatedEvent as oi, SessionTurnIndexResponse as on, SpaceFsUploadResponse as or, GenerationUsageBlock as ot, BillingBalanceActivityKind as p, BoardPlaybackSnapshot as pa, RealtimeRoomEvent as pi, SkillCatalogResponse as pn, SpaceMeta as pr, JsonObject as pt, CheckpointRecord as q, RequestSource as qa, isTerminalUiCommandStatus as qi, SpaceFsFileResponse as qn, GenerationPolicy as qr, ReferenceResourceType as qt, WebsocketClient as r, BoardEffect as ra, GenerationContentBlock as ri, SessionMessagesPaginatedResponse as rn, requestSourceToHeaders as ro, SpaceFsUploadPlanEntry as rr, CronJobRecord as rt, WebsocketEventPayload as s, BoardNodeInput as sa, BoardPlaybackChangedEvent as si, SessionTurnResponse as sn, SpaceFsWriteFileInput as sr, GenerationUsageHourlyStat as st, WebSocketConstructor as t, BoardDeleteReason as ta, normalizeGenerationPolicy as ti, SessionBindingRecord as tn, parseRequestSourceFromHeaders as to, SpaceFsUploadEntry as tr, CreateSpaceSessionInput as tt, ApiError as u, BoardPlaybackCommand as ua, LabelAssignmentsUpdatedEvent as ui, SessionTurnWindowResponse as un, SpaceInvitationLocation as ur, GlobalSearchResult as ut, BillingCheckoutActionState as v, BoardValidationResult as va, SessionTurnPatchEvent as vi, SpaceBootstrapSource as vn, SpacePresenceUser as vr, LabelAssignmentRecord as vt, BillingCreditUnit as w, BoardRenderCost as wa, WorkArtifactDescriptor as wi, SpaceCommerceBuyerProfile as wn, SpaceSandboxProvider as wr, LabelScopeType as wt, BillingCreditExpiryGroup as x, BoardConnectionDirection as xa, BoardAwarenessNodePreview as xi, SpaceChannelBindingInput as xn, SpaceRole as xr, LabelListItem as xt, BillingCheckoutResult as y, parseBoardPlaybackPolicy as ya, WorkVersionPublishedEvent as yi, SpaceBootstrapStage as yn, SpacePublicProfile as yr, LabelItemsResponse as yt, CheckpointDiffDelivery as z, SpaceCompletionResult as za, UiCommandDispatchedPayload as zi, SpaceFsCompleteUploadResponse as zn, ChannelConfig as zr, ReferenceAggregateGroup as zt };
|
package/dist/http.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as CreateSpacePromptInput, $i as BoardClip, $n as SpaceFsTreeResponse, $t as SandboxSpecId, A as BillingProductDisplay, Aa as
|
|
1
|
+
import { $ as CreateSpacePromptInput, $i as BoardClip, $n as SpaceFsTreeResponse, $t as SandboxSpecId, A as BillingProductDisplay, Aa as SessionTurnRecord, An as SpaceCommerceProductCreditBenefit, Ar as SpaceUsageResponse, At as Permission, B as CheckpointDiffFile, Ba as SpaceCompletionStreamEvent, Bn as SpaceFsCreateDirectoryInput, Br as ChannelHealth, Bt as ReferenceAggregateGroupBy, C as BillingCreditStatus, Ca as BoardCapability, Cn as SpaceCommerceBenefit, Cr as SpaceSandboxConfig, Ct as LabelResourceType, D as BillingPluginStatus, Da as SessionForkRecord, Dn as SpaceCommerceOrder, Dr as SpaceTurnListItem, Dt as ModelCatalogEntry, E as BillingPaymentStatus, Ea as MessageRecord, En as SpaceCommerceFeatureBenefit, Er as SpaceTurnAuthorFilter, Et as MeResponse, F as BillingSubscriptionHistoryList, Fa as CompletionThinkingLevel, Fn as SpaceCreateResponse, Fr as UserRulesResponse, Ft as PublicUserPageResponse, G as CheckpointDiffStatus, Gn as SpaceFsEntry, Gt as ReferenceQueryableType, H as CheckpointDiffPatchKind, Hn as SpaceFsCreateUploadResponse, Hr as ChannelRuntimeState, Ht as ReferenceDirection, I as BillingSubscriptionHistoryStatus, Ia as CompletionUsage, In as SpaceDefaultResponse, Ir as UserSessionListItem, It as PublicUserProfile, J as ClaimReferralResponse, Jn as SpaceFsMoveInput, Jt as ReferralDashboard, K as CheckpointDiffSummary, Kn as SpaceFsFileKind, Kt as ReferenceRecord, L as BillingSubscriptionSummary, La as CreateSpaceCompletionInput, Ln as SpaceEnvInput, Lr as UserSessionSpaceSummary, Lt as PublicUserSpaceItem, M as BillingProductPricing, Ma as CompletionAssistantMessage, Mn as SpaceConfigInput, Mr as TaskRunDetailResponse, Mt as PromptTemplateCatalogEntry, N as BillingRedemptionResult, Na as CompletionMessage, Nn as SpaceConfigResponse, Nr as TaskRunRecord, Nt as PromptTemplateCatalogResponse, O as BillingProductBillingInterval, Oa as SessionTurnSegmentRecord, On as SpaceCommerceProduct, Or as SpaceTurnsResponse, Ot as PatchResourceLabelsInput, P as BillingResponsePayload, Pa as CompletionMessageRole, Pn as SpaceConfigUpdateResponse, Pr as UserProfile, Pt as PublicReferral, Q as CreateSpaceModInput, Qi as BoardCapabilities, Qn as SpaceFsReadFilesResponse, Qt as ResourceLabelsResponse, R as Channel, Ra as ModelThinkingLevel, Rn as SpaceFsCompleteUploadInput, Rr as UserSessionsResponse, Rt as PublicUserWorkItem, S as BillingCreditGrantStatus, Sn as SpaceCheckpointDetailResponse, Sr as SpaceSandboxAutoDestroyPolicy, St as LabelRecord, T as BillingHistoryPagination, Tn as SpaceCommerceCreditsBenefit, Tr as SpaceSessionsResponse, Tt as LabelSource, U as CheckpointDiffPatchLine, Ua as ContentBlock, Un as SpaceFsDeleteNodeInput, Ur as DiscordChannelConfig, Ut as ReferenceKind, V as CheckpointDiffFileResponse, Vn as SpaceFsCreateUploadInput, Vr as ChannelHealthReasonCode, Vt as ReferenceAggregateResponse, W as CheckpointDiffStats, Wn as SpaceFsEncoding, Wr as FeishuChannelConfig, Wt as ReferenceQueryResponse, X as CreateInvitationResponse, Xi as BoardAssetRef, Xn as SpaceFsReadFilesError, Xt as ReferralReward, Y as CreateInvitationInput, Yn as SpaceFsPreparingFile, Yt as ReferralListItem, Z as CreateSpaceInput, Zi as BoardBootstrap, Zn as SpaceFsReadFilesInput, Zt as ReferralStatus, _ as BillingCatalogProduct, _a as BoardTransaction, _n as SpaceBootstrapMeta, _r as SpacePresenceSnapshot, _t as LabelAssignmentPageInfo, aa as BoardKeyframe, ai as GenerationResult, an as SessionRecord, ar as SpaceFsUploadProgress, at as CursorPageInfo, b as BillingConversionIntent, bn as SpaceBootstrapStatus, br as SpaceRecord, bt as LabelItemsSessionFork, ca as BoardNodeRecord, cn as SessionTurnSignedUrlsResponse, cr as SpaceInvitation, ct as GenerationUsageSummary, d as BatchUserProfilesResponse, da as BoardPlaybackPolicy, dn as SessionTurnsPaginatedResponse, dr as SpaceListItem, dt as GlobalSearchType, ea as BoardCreateInput, en as SendMessageCronJobPayload, er as SpaceFsUploadDestination, et as CreateSpacePromptResponse, f as BillingBalanceActivity, fn as SkillCatalogEntry, fr as SpaceMember, ft as InvitationDetail, g as BillingCatalog, ga as BoardTarget, gn as SpaceAccessPolicy, gr as SpacePendingDiffSummary, gt as LabelAssignmentListItem, h as BillingBalanceActivityStatus, ha as BoardSequence, hn as SpaceAccess, hr as SpacePendingDiffFileResponse, ht as JsonValue, ia as BoardInspectInput, in as SessionMessagesResponse, ir as SpaceFsUploadPlanEntryInput, it as CronJobUpdatePatch, j as BillingProductKind, jn as SpaceConfig, jr as SpaceUsageSummary, jt as PromptAccessMode, k as BillingProductCreditBenefit, ka as SessionTurnIndexItem, kn as SpaceCommerceProductBenefitBinding, kr as SpaceUsageHourlyStat, kt as PatchResourceLabelsResponse, l as AcceptInvitationResponse, la as BoardOperation, ln as SessionTurnStreamSnapshotResponse, lr as SpaceInvitationListResponse, lt as GlobalSearchResponse, m as BillingBalanceActivityList, ma as BoardRecord, mn as SkillCatalogSource, mr as SpaceModListItem, mt as JsonPrimitive, na as BoardDiagnostic, nn as SessionMessageResponse, nr as SpaceFsUploadError, nt as CronJobPayload, oa as BoardManifest, on as SessionTurnIndexResponse, or as SpaceFsUploadResponse, ot as GenerationUsageBlock, p as BillingBalanceActivityKind, pa as BoardPlaybackSnapshot, pn as SkillCatalogResponse, pr as SpaceMeta, pt as JsonObject, q as CheckpointRecord, qn as SpaceFsFileResponse, qr as GenerationPolicy, qt as ReferenceResourceType, ra as BoardEffect, ri as GenerationContentBlock, rn as SessionMessagesPaginatedResponse, rr as SpaceFsUploadPlanEntry, rt as CronJobRecord, sa as BoardNodeInput, sn as SessionTurnResponse, sr as SpaceFsWriteFileInput, st as GenerationUsageHourlyStat, ta as BoardDeleteReason, tn as SessionBindingRecord, tr as SpaceFsUploadEntry, tt as CreateSpaceSessionInput, u as ApiError, ua as BoardPlaybackCommand, un as SessionTurnWindowResponse, ur as SpaceInvitationLocation, ut as GlobalSearchResult, v as BillingCheckoutActionState, va as BoardValidationResult, vn as SpaceBootstrapSource, vr as SpacePresenceUser, vt as LabelAssignmentRecord, w as BillingCreditUnit, wa as BoardRenderCost, wn as SpaceCommerceBuyerProfile, wr as SpaceSandboxProvider, wt as LabelScopeType, x as BillingCreditExpiryGroup, xn as SpaceChannelBindingInput, xr as SpaceRole, xt as LabelListItem, y as BillingCheckoutResult, yn as SpaceBootstrapStage, yr as SpacePublicProfile, yt as LabelItemsResponse, z as CheckpointDiffDelivery, za as SpaceCompletionResult, zn as SpaceFsCompleteUploadResponse, zr as ChannelConfig, zt as ReferenceAggregateGroup } from "./chunks/websocket.js";
|
|
2
2
|
import { $t as HttpTransport, Cn as ListGenerationModelsResponse, En as ModelStatusResponse, Sn as GenerationUsageBilling, Tn as ModelStatusEntry, Xt as Fetch, Yt as CohubClientOptions, Zt as HttpError, bn as CreateGenerationTaskResponse, n as createHttpClient, t as CohubHttpClient, vn as SpaceStartupResponse, wn as PublicGenerationDeclaration, xn as GenerationTaskResult, yn as CreateGenerationTaskRequest } from "./chunks/http.js";
|
|
3
3
|
export { AcceptInvitationResponse, ApiError, BatchUserProfilesResponse, BillingBalanceActivity, BillingBalanceActivityKind, BillingBalanceActivityList, BillingBalanceActivityStatus, BillingCatalog, BillingCatalogProduct, BillingCheckoutActionState, BillingCheckoutResult, BillingConversionIntent, BillingCreditExpiryGroup, BillingCreditGrantStatus, BillingCreditStatus, BillingCreditUnit, BillingHistoryPagination, BillingPaymentStatus, BillingPluginStatus, BillingProductBillingInterval, BillingProductCreditBenefit, BillingProductDisplay, BillingProductKind, BillingProductPricing, BillingRedemptionResult, BillingResponsePayload, BillingSubscriptionHistoryList, BillingSubscriptionHistoryStatus, BillingSubscriptionSummary, type BoardAssetRef, type BoardBootstrap, type BoardCapabilities, type BoardCapability, type BoardClip, type BoardCreateInput, type BoardDeleteReason, type BoardDiagnostic, type BoardEffect, type BoardInspectInput, type BoardKeyframe, type BoardManifest, type BoardNodeInput, type BoardNodeRecord, type BoardOperation, type BoardPlaybackCommand, type BoardPlaybackPolicy, type BoardPlaybackSnapshot, type BoardRecord, type BoardRenderCost, type BoardSequence, type BoardTarget, type BoardTransaction, type BoardValidationResult, Channel, type ChannelConfig, type ChannelHealth, type ChannelHealthReasonCode, type ChannelRuntimeState, CheckpointDiffDelivery, CheckpointDiffFile, CheckpointDiffFileResponse, CheckpointDiffPatchKind, CheckpointDiffPatchLine, CheckpointDiffStats, CheckpointDiffStatus, CheckpointDiffSummary, CheckpointRecord, ClaimReferralResponse, type CohubClientOptions, CohubHttpClient, type CompletionAssistantMessage, type CompletionMessage, type CompletionMessageRole, type CompletionThinkingLevel, type CompletionUsage, type ContentBlock, type CreateGenerationTaskRequest, type CreateGenerationTaskResponse, CreateInvitationInput, CreateInvitationResponse, type CreateSpaceCompletionInput, CreateSpaceInput, CreateSpaceModInput, CreateSpacePromptInput, CreateSpacePromptResponse, CreateSpaceSessionInput, CronJobPayload, CronJobRecord, CronJobUpdatePatch, CursorPageInfo, type DiscordChannelConfig, type FeishuChannelConfig, type Fetch, type GenerationContentBlock, type GenerationPolicy, type GenerationResult, type GenerationTaskResult, type GenerationUsageBilling, GenerationUsageBlock, GenerationUsageHourlyStat, GenerationUsageSummary, GlobalSearchResponse, GlobalSearchResult, GlobalSearchType, HttpError, HttpTransport, InvitationDetail, JsonObject, JsonPrimitive, JsonValue, LabelAssignmentListItem, LabelAssignmentPageInfo, LabelAssignmentRecord, LabelItemsResponse, LabelItemsSessionFork, LabelListItem, LabelRecord, LabelResourceType, LabelScopeType, LabelSource, type ListGenerationModelsResponse, MeResponse, type MessageRecord, ModelCatalogEntry, type ModelStatusEntry, type ModelStatusResponse, type ModelThinkingLevel, PatchResourceLabelsInput, PatchResourceLabelsResponse, Permission, PromptAccessMode, PromptTemplateCatalogEntry, PromptTemplateCatalogResponse, type PublicGenerationDeclaration, PublicReferral, PublicUserPageResponse, PublicUserProfile, PublicUserSpaceItem, PublicUserWorkItem, ReferenceAggregateGroup, ReferenceAggregateGroupBy, ReferenceAggregateResponse, ReferenceDirection, ReferenceKind, ReferenceQueryResponse, ReferenceQueryableType, ReferenceRecord, ReferenceResourceType, ReferralDashboard, ReferralListItem, ReferralReward, ReferralStatus, ResourceLabelsResponse, SandboxSpecId, SendMessageCronJobPayload, SessionBindingRecord, type SessionForkRecord, SessionMessageResponse, SessionMessagesPaginatedResponse, SessionMessagesResponse, SessionRecord, type SessionTurnIndexItem, SessionTurnIndexResponse, type SessionTurnRecord, SessionTurnResponse, type SessionTurnSegmentRecord, SessionTurnSignedUrlsResponse, SessionTurnStreamSnapshotResponse, SessionTurnWindowResponse, SessionTurnsPaginatedResponse, SkillCatalogEntry, SkillCatalogResponse, SkillCatalogSource, SpaceAccess, SpaceAccessPolicy, SpaceBootstrapMeta, SpaceBootstrapSource, SpaceBootstrapStage, SpaceBootstrapStatus, SpaceChannelBindingInput, SpaceCheckpointDetailResponse, SpaceCommerceBenefit, SpaceCommerceBuyerProfile, SpaceCommerceCreditsBenefit, SpaceCommerceFeatureBenefit, SpaceCommerceOrder, SpaceCommerceProduct, SpaceCommerceProductBenefitBinding, SpaceCommerceProductCreditBenefit, type SpaceCompletionResult, type SpaceCompletionStreamEvent, SpaceConfig, SpaceConfigInput, SpaceConfigResponse, SpaceConfigUpdateResponse, SpaceCreateResponse, SpaceDefaultResponse, SpaceEnvInput, SpaceFsCompleteUploadInput, SpaceFsCompleteUploadResponse, SpaceFsCreateDirectoryInput, SpaceFsCreateUploadInput, SpaceFsCreateUploadResponse, SpaceFsDeleteNodeInput, SpaceFsEncoding, SpaceFsEntry, SpaceFsFileKind, SpaceFsFileResponse, SpaceFsMoveInput, SpaceFsPreparingFile, SpaceFsReadFilesError, SpaceFsReadFilesInput, SpaceFsReadFilesResponse, SpaceFsTreeResponse, SpaceFsUploadDestination, SpaceFsUploadEntry, SpaceFsUploadError, SpaceFsUploadPlanEntry, SpaceFsUploadPlanEntryInput, SpaceFsUploadProgress, SpaceFsUploadResponse, SpaceFsWriteFileInput, SpaceInvitation, SpaceInvitationListResponse, SpaceInvitationLocation, SpaceListItem, SpaceMember, SpaceMeta, SpaceModListItem, SpacePendingDiffFileResponse, SpacePendingDiffSummary, SpacePresenceSnapshot, SpacePresenceUser, SpacePublicProfile, SpaceRecord, SpaceRole, SpaceSandboxAutoDestroyPolicy, SpaceSandboxConfig, SpaceSandboxProvider, SpaceSessionsResponse, type SpaceStartupResponse, SpaceTurnAuthorFilter, SpaceTurnListItem, SpaceTurnsResponse, SpaceUsageHourlyStat, SpaceUsageResponse, SpaceUsageSummary, TaskRunDetailResponse, TaskRunRecord, UserProfile, UserRulesResponse, UserSessionListItem, UserSessionSpaceSummary, UserSessionsResponse, createHttpClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CreateSpacePromptInput, $a as
|
|
1
|
+
import { $ as CreateSpacePromptInput, $a as mergeRequestSourceIntoMeta, $i as BoardClip, $n as SpaceFsTreeResponse, $r as findGenerationModelPolicy, $t as SandboxSpecId, A as BillingProductDisplay, Aa as SessionTurnRecord, Ai as WorkContentKind, An as SpaceCommerceProductCreditBenefit, Ar as SpaceUsageResponse, At as Permission, B as CheckpointDiffFile, Ba as SpaceCompletionStreamEvent, Bi as UiCommandError, Bn as SpaceFsCreateDirectoryInput, Br as ChannelHealth, Bt as ReferenceAggregateGroupBy, C as BillingCreditStatus, Ca as BoardCapability, Ci as BoardAwarenessUpdate, Cn as SpaceCommerceBenefit, Cr as SpaceSandboxConfig, Ct as LabelResourceType, D as BillingPluginStatus, Da as SessionForkRecord, Di as WorkArtifactManifestFile, Dn as SpaceCommerceOrder, Dr as SpaceTurnListItem, Dt as ModelCatalogEntry, E as BillingPaymentStatus, Ea as MessageRecord, Ei as WorkArtifactManifest, En as SpaceCommerceFeatureBenefit, Er as SpaceTurnAuthorFilter, Et as MeResponse, F as BillingSubscriptionHistoryList, Fa as CompletionThinkingLevel, Fi as UI_COMMAND_SETTLEMENT_GRACE_SECONDS, Fn as SpaceCreateResponse, Fr as UserRulesResponse, Ft as PublicUserPageResponse, G as CheckpointDiffStatus, Ga as COHUB_SOURCE_HEADER_NAMES, Gi as UiSurfaceRequest, Gn as SpaceFsEntry, Gr as GenerationModelPolicy, Gt as ReferenceQueryableType, H as CheckpointDiffPatchKind, Hi as UiCommandStatus, Hn as SpaceFsCreateUploadResponse, Hr as ChannelRuntimeState, Ht as ReferenceDirection, I as BillingSubscriptionHistoryStatus, Ia as CompletionUsage, Ii as UI_COMMAND_TERMINAL_TTL_SECONDS, In as SpaceDefaultResponse, Ir as UserSessionListItem, It as PublicUserProfile, J as ClaimReferralResponse, Ja as RequestSourceVia, Ji as isUiSurfaceMethod, Jn as SpaceFsMoveInput, Jr as GenerationPolicyError, Jt as ReferralDashboard, K as CheckpointDiffSummary, Ka as REQUEST_SOURCE_VIA_MAX_LENGTH, Ki as UiWorkPreviewTarget, Kn as SpaceFsFileKind, Kr as GenerationParameterConstraint, Kt as ReferenceRecord, L as BillingSubscriptionSummary, La as CreateSpaceCompletionInput, Li as UI_COMMAND_VERSION, Ln as SpaceEnvInput, Lr as UserSessionSpaceSummary, Lt as PublicUserSpaceItem, M as BillingProductPricing, Ma as CompletionAssistantMessage, Mi as UI_COMMAND_MAX_TIMEOUT_MS, Mn as SpaceConfigInput, Mr as TaskRunDetailResponse, Mt as PromptTemplateCatalogEntry, N as BillingRedemptionResult, Na as CompletionMessage, Ni as UI_COMMAND_PAYLOAD_MAX_BYTES, Nn as SpaceConfigResponse, Nr as TaskRunRecord, Nt as PromptTemplateCatalogResponse, O as BillingProductBillingInterval, Oa as SessionTurnSegmentRecord, Oi as WorkBoardArtifactManifest, On as SpaceCommerceProduct, Or as SpaceTurnsResponse, Ot as PatchResourceLabelsInput, P as BillingResponsePayload, Pa as CompletionMessageRole, Pi as UI_COMMAND_PENDING_TTL_SECONDS, Pn as SpaceConfigUpdateResponse, Pr as UserProfile, Pt as PublicReferral, Q as CreateSpaceModInput, Qa as isRequestSourceUuid, Qi as BoardCapabilities, Qn as SpaceFsReadFilesResponse, Qr as filterGenerationDeclarationsByPolicy, Qt as ResourceLabelsResponse, R as Channel, Ra as ModelThinkingLevel, Ri as UiCommand, Rn as SpaceFsCompleteUploadInput, Rr as UserSessionsResponse, Rt as PublicUserWorkItem, S as BillingCreditGrantStatus, Si as BoardAwarenessStateUpdate, Sn as SpaceCheckpointDetailResponse, Sr as SpaceSandboxAutoDestroyPolicy, St as LabelRecord, T as BillingHistoryPagination, Ti as WorkArtifactDownloadDescriptor, Tn as SpaceCommerceCreditsBenefit, Tr as SpaceSessionsResponse, Tt as LabelSource, U as CheckpointDiffPatchLine, Ua as ContentBlock, Ui as UiPreviewShowCommand, Un as SpaceFsDeleteNodeInput, Ur as DiscordChannelConfig, Ut as ReferenceKind, V as CheckpointDiffFileResponse, Vi as UiCommandRecord, Vn as SpaceFsCreateUploadInput, Vr as ChannelHealthReasonCode, Vt as ReferenceAggregateResponse, W as CheckpointDiffStats, Wa as COHUB_SOURCE_HEADER, Wi as UiPreviewTarget, Wn as SpaceFsEncoding, Wr as FeishuChannelConfig, Wt as ReferenceQueryResponse, X as CreateInvitationResponse, Xa as isRequestSourceClientId, Xi as BoardAssetRef, Xn as SpaceFsReadFilesError, Xr as decodeGenerationPolicy, Xt as ReferralReward, Y as CreateInvitationInput, Ya as hasRequestSourceIdentity, Yi as parseUiCommand, Yn as SpaceFsPreparingFile, Yr as assertGenerationRequestAllowedByPolicy, Yt as ReferralListItem, Z as CreateSpaceInput, Za as isRequestSourceEmpty, Zi as BoardBootstrap, Zn as SpaceFsReadFilesInput, Zr as encodeGenerationPolicy, Zt as ReferralStatus, _ as BillingCatalogProduct, _a as BoardTransaction, _i as RealtimeWorkVersionRecord, _n as SpaceBootstrapMeta, _r as SpacePresenceSnapshot, _t as LabelAssignmentPageInfo, aa as BoardKeyframe, ai as GenerationResult, an as SessionRecord, ar as SpaceFsUploadProgress, at as CursorPageInfo, b as BillingConversionIntent, bi as BoardAwarenessGesture, bn as SpaceBootstrapStatus, br as SpaceRecord, bt as LabelItemsSessionFork, c as createWebsocketClient, ca as BoardNodeRecord, cn as SessionTurnSignedUrlsResponse, cr as SpaceInvitation, ct as GenerationUsageSummary, d as BatchUserProfilesResponse, da as BoardPlaybackPolicy, dn as SessionTurnsPaginatedResponse, dr as SpaceListItem, dt as GlobalSearchType, ea as BoardCreateInput, ei as getAllowedGenerationModelIds, en as SendMessageCronJobPayload, eo as normalizeRequestSource, er as SpaceFsUploadDestination, et as CreateSpacePromptResponse, f as BillingBalanceActivity, fa as BoardPlaybackPolicySchema, fi as RealtimeRoomDescriptor, fn as SkillCatalogEntry, fr as SpaceMember, ft as InvitationDetail, g as BillingCatalog, ga as BoardTarget, gi as RealtimeWorkRecord, gn as SpaceAccessPolicy, gr as SpacePendingDiffSummary, gt as LabelAssignmentListItem, h as BillingBalanceActivityStatus, ha as BoardSequence, hi as RealtimeServerEvent, hn as SpaceAccess, hr as SpacePendingDiffFileResponse, ht as JsonValue, ia as BoardInspectInput, ii as GenerationModelDeclaration, in as SessionMessagesResponse, io as resolveRequestSourceChannel, ir as SpaceFsUploadPlanEntryInput, it as CronJobUpdatePatch, j as BillingProductKind, ji as UI_COMMAND_DEFAULT_TIMEOUT_MS, jn as SpaceConfig, jr as SpaceUsageSummary, jt as PromptAccessMode, k as BillingProductCreditBenefit, ka as SessionTurnIndexItem, ki as WorkBoardAsset, kn as SpaceCommerceProductBenefitBinding, kr as SpaceUsageHourlyStat, kt as PatchResourceLabelsResponse, l as AcceptInvitationResponse, la as BoardOperation, li as ChannelEnvelope, ln as SessionTurnStreamSnapshotResponse, lr as SpaceInvitationListResponse, lt as GlobalSearchResponse, m as BillingBalanceActivityList, ma as BoardRecord, mi as RealtimeRoomMember, mn as SkillCatalogSource, mr as SpaceModListItem, mt as JsonPrimitive, na as BoardDiagnostic, ni as parseGenerationPolicyFromEnv, nn as SessionMessageResponse, no as readRequestSourceFromEnv, nr as SpaceFsUploadError, nt as CronJobPayload, oa as BoardManifest, on as SessionTurnIndexResponse, or as SpaceFsUploadResponse, ot as GenerationUsageBlock, p as BillingBalanceActivityKind, pa as BoardPlaybackSnapshot, pi as RealtimeRoomEvent, pn as SkillCatalogResponse, pr as SpaceMeta, pt as JsonObject, q as CheckpointRecord, qa as RequestSource, qi as isTerminalUiCommandStatus, qn as SpaceFsFileResponse, qr as GenerationPolicy, qt as ReferenceResourceType, r as WebsocketClient, ra as BoardEffect, ri as GenerationContentBlock, rn as SessionMessagesPaginatedResponse, ro as requestSourceToHeaders, rr as SpaceFsUploadPlanEntry, rt as CronJobRecord, s as WebsocketEventPayload, sa as BoardNodeInput, sn as SessionTurnResponse, sr as SpaceFsWriteFileInput, st as GenerationUsageHourlyStat, ta as BoardDeleteReason, ti as normalizeGenerationPolicy, tn as SessionBindingRecord, to as parseRequestSourceFromHeaders, tr as SpaceFsUploadEntry, tt as CreateSpaceSessionInput, u as ApiError, ua as BoardPlaybackCommand, ui as LabelAssignmentsUpdatedEvent, un as SessionTurnWindowResponse, ur as SpaceInvitationLocation, ut as GlobalSearchResult, v as BillingCheckoutActionState, va as BoardValidationResult, vn as SpaceBootstrapSource, vr as SpacePresenceUser, vt as LabelAssignmentRecord, w as BillingCreditUnit, wa as BoardRenderCost, wi as WorkArtifactDescriptor, wn as SpaceCommerceBuyerProfile, wr as SpaceSandboxProvider, wt as LabelScopeType, x as BillingCreditExpiryGroup, xi as BoardAwarenessNodePreview, xn as SpaceChannelBindingInput, xr as SpaceRole, xt as LabelListItem, y as BillingCheckoutResult, ya as parseBoardPlaybackPolicy, yi as WorkVersionPublishedEvent, yn as SpaceBootstrapStage, yr as SpacePublicProfile, yt as LabelItemsResponse, z as CheckpointDiffDelivery, za as SpaceCompletionResult, zi as UiCommandDispatchedPayload, zn as SpaceFsCompleteUploadResponse, zr as ChannelConfig, zt as ReferenceAggregateGroup } from "./chunks/websocket.js";
|
|
2
2
|
import { a as normalizeWebsocketUrl, c as resolveVoiceInputWebsocketUrl, i as normalizeVoiceInputWebsocketUrl, l as resolveWebsocketUrl, n as CohubEnvironment, o as resolveApiBaseUrl, r as normalizeBaseUrl, s as resolveCohubEnvironment, t as COHUB_ENVIRONMENTS } from "./chunks/environment.js";
|
|
3
3
|
import { $ as SpaceEventName, $t as HttpTransport, A as WorkViewSource, At as ReferenceResourceSelector, B as TasksApi, Bt as UploadChatAttachmentInput, C as WorkRecord, Cn as ListGenerationModelsResponse, Ct as SessionPatchApplyInput, D as WorkTargetType, Dt as SessionPatchStatus, E as WorkStatus, En as ModelStatusResponse, Et as SessionPatchState, F as UsersApi, Ft as PublicAssetMimeType, G as BoardSubscriptionHandlers, Gt as ModelsApi, H as BoardClient, Ht as UploadPublicAssetInput, I as UserApi, It as PublicAssetPurpose, J as BoardTransactionInput, Jt as ChannelsApi, K as BoardTransactionAppliedEvent, Kt as GenerationsApi, L as CreateUiCommandInput, Lt as PublicAssetUploadProgress, M as WorkVisibility, Mt as SearchApi, N as WorksApi, Nt as CreatePublicAssetUploadInput, O as WorkUpdateInput, Ot as createSessionPatchReducer, P as ReferralsApi, Pt as CreatePublicAssetUploadResponse, Q as SpaceClient, Qt as HttpTraceContext, R as UiCommandsApi, Rt as PublicAssetUploadProtocol, S as WorkPublicSpaceRecord, Sn as GenerationUsageBilling, St as parseAssistantMessageCommit, T as WorkSessionResponse, Tn as ModelStatusEntry, Tt as SessionPatchReducer, U as BoardEventName, Ut as SkillsApi, V as BoardAwarenessUpdatedEvent, Vt as UploadChatImageAttachmentInput, W as BoardPlaybackChangedEvent, Wt as PromptsApi, X as SessionSubscriptionHandlers, Xt as Fetch, Y as SessionEventName, Yt as CohubClientOptions, Z as SpaceChannelBindingRecord, Zt as HttpError, _ as WorkExtractedPageMeta, _n as resolveWorkTransport, _t as GenerationStreamSubscribeOptions, a as WorkCommerceCreditConsumeResponse, an as ParentBridgeTransport, at as PublicInviteApi, b as WorkPresentationMeta, bn as CreateGenerationTaskResponse, bt as SessionGenerationStreamClient, c as WorkCommerceEntitlementsResponse, cn as WorkRuntimeApi, ct as AssistantMessageCommit, d as WorkCommercePurchaseResponse, dn as WorkRuntimeContext, dt as GenerationStreamEvent, en as RawHttpResponse, et as SpaceTurnListOptions, f as WorkAuthorizeResponse, fn as WorkRuntimeModeConfig, ft as GenerationStreamFinalizedEvent, g as WorkDetailResponse, gn as createWorkRuntime, gt as GenerationStreamStateEvent, h as WorkCreateInput, hn as createSlugWorkIdResolver, ht as GenerationStreamOutOfSyncEvent, i as WorkCommerceCheckoutStatus, in as sanitizeAccessToken, it as BuildSpacePathInput, j as WorkViewStatsResponse, jt as ReferencesApi, k as WorkVersionRecord, kt as SessionAccessApi, l as WorkCommerceOrder, ln as WorkRuntimeCheckoutState, lt as GenerationStreamCommitEvent, m as WorkContentDownload, mn as WorkRuntimeTransport, mt as GenerationStreamLifecycleEvent, n as createHttpClient, nn as joinApiUrl, nt as WebSocketConnectionState, o as WorkCommerceCreditConsumeStatus, on as PopupBrokerTransport, ot as buildSpaceInvitePath, p as WorkContent, pn as WorkRuntimeRequestOptions, pt as GenerationStreamIntermediateMessage, q as BoardTransactionError, qt as CronJobsApi, r as WorkCommerceApi, rn as matchesUnauthorizedErrorToken, rt as BuildSpaceInvitePathInput, s as WorkCommerceEntitlement, sn as WorkIdResolver, st as buildSpacePath, t as CohubHttpClient, tn as UnauthorizedContext, tt as SpacesApi, u as WorkCommerceProductResolveResponse, un as WorkRuntimeCheckoutStatus, ut as GenerationStreamErrorEvent, v as WorkGetResponse, vn as SpaceStartupResponse, vt as GenerationStreamSubscriptionHandlers, w as WorkResolveResponse, wn as PublicGenerationDeclaration, wt as SessionPatchApplyResult, x as WorkPublicOwnerRecord, xn as GenerationTaskResult, xt as createSessionGenerationStreamClient, y as WorkMeta, yn as CreateGenerationTaskRequest, yt as GenerationStreamTurnUpdatedEvent, z as WaitForUiCommandOptions, zt as PublicAssetsApi } from "./chunks/http.js";
|
|
4
4
|
import { a as VoiceInputCreateOptions, i as VoiceInputClientOptions, l as createVoiceInputClient, n as VoiceInputCallbacks, o as VoiceInputEvent, r as VoiceInputClient, t as VoiceApi } from "./chunks/voice-input.js";
|