@neta-art/cohub 8.11.0 → 8.12.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/animation.js +14 -2
- package/dist/board/core/file-preview.d.ts +2 -2
- package/dist/board/core/file-preview.js +2 -2
- package/dist/board/index.d.ts +2 -1
- package/dist/board/index.js +2 -1
- package/dist/board/mutation.js +2 -1
- package/dist/board/render/board-background.d.ts +16 -0
- package/dist/board/render/{themes/clean-theme.js → board-background.js} +28 -35
- package/dist/board/render/index.d.ts +3 -3
- package/dist/board/render/index.js +2 -2
- package/dist/board/render/renderers/file-card-renderer.js +3 -32
- package/dist/board/replay.d.ts +52 -0
- package/dist/board/replay.js +261 -0
- package/dist/board/semantic-document.d.ts +9 -2
- package/dist/board/semantic-document.js +1 -3
- package/dist/chunks/environment.d.ts +272 -7
- package/dist/chunks/environment.js +1 -0
- package/dist/chunks/http.d.ts +76 -5
- package/dist/chunks/http.js +47 -10
- package/dist/chunks/websocket.d.ts +1 -1
- package/dist/http.d.ts +3 -3
- package/dist/index.d.ts +9 -4
- package/dist/index.js +167 -46
- package/dist/protocol/dist/board-animation.d.ts +1 -0
- package/dist/protocol/dist/board-animation.js +34 -0
- package/dist/protocol/dist/board-authoring.d.ts +2 -1
- package/dist/protocol/dist/board-capability-registry.js +53 -3
- package/dist/protocol/dist/board-codec.js +149 -2
- package/dist/protocol/dist/board-constants.js +29 -7
- package/dist/protocol/dist/board-document.d.ts +30 -16
- package/dist/protocol/dist/board-document.js +15 -12
- package/dist/protocol/dist/board-effect.d.ts +4 -2
- package/dist/protocol/dist/board-effect.js +3 -2
- package/dist/protocol/dist/board.d.ts +148 -3
- package/dist/protocol/dist/board.js +7 -0
- package/dist/protocol/dist/index.d.ts +4 -2
- package/dist/protocol/dist/provenance.d.ts +21 -0
- package/dist/types.d.ts +1 -1
- package/docs/app-runtime-guide.md +7 -4
- package/package.json +1 -1
- package/dist/board/render/themes/board-theme-registry.d.ts +0 -22
- package/dist/board/render/themes/board-theme-registry.js +0 -13
- package/dist/board/render/themes/clean-theme.d.ts +0 -5
|
@@ -836,6 +836,93 @@ declare const BoardConnectionSchema: z.ZodObject<{
|
|
|
836
836
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
837
837
|
}, z.core.$strict>;
|
|
838
838
|
type BoardConnection = z.infer<typeof BoardConnectionSchema>;
|
|
839
|
+
/** Server-owned fields, mirroring how nodes carry a board id and revision. */
|
|
840
|
+
type BoardConnectionRecord = BoardConnection & {
|
|
841
|
+
boardId: string;
|
|
842
|
+
revision: number;
|
|
843
|
+
createdAt: string | null;
|
|
844
|
+
updatedAt: string | null;
|
|
845
|
+
};
|
|
846
|
+
/** The client-authored form of a connection (no server-owned fields). */
|
|
847
|
+
type BoardConnectionInput = BoardConnection;
|
|
848
|
+
/**
|
|
849
|
+
* A patch to an existing connection.
|
|
850
|
+
*
|
|
851
|
+
* `id` is excluded: a connection's identity never changes, and re-pointing both
|
|
852
|
+
* endpoints is an edit of the same relation, not a new one.
|
|
853
|
+
*/
|
|
854
|
+
declare const BoardConnectionPatchSchema: z.ZodObject<{
|
|
855
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
856
|
+
itemId: z.ZodString;
|
|
857
|
+
portId: z.ZodOptional<z.ZodString>;
|
|
858
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
859
|
+
kind: z.ZodLiteral<"auto">;
|
|
860
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
861
|
+
kind: z.ZodLiteral<"side">;
|
|
862
|
+
side: z.ZodEnum<{
|
|
863
|
+
bottom: "bottom";
|
|
864
|
+
left: "left";
|
|
865
|
+
right: "right";
|
|
866
|
+
top: "top";
|
|
867
|
+
}>;
|
|
868
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
870
|
+
kind: z.ZodLiteral<"fixed">;
|
|
871
|
+
nx: z.ZodNumber;
|
|
872
|
+
ny: z.ZodNumber;
|
|
873
|
+
}, z.core.$strip>]>>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
875
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
876
|
+
itemId: z.ZodString;
|
|
877
|
+
portId: z.ZodOptional<z.ZodString>;
|
|
878
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
879
|
+
kind: z.ZodLiteral<"auto">;
|
|
880
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
881
|
+
kind: z.ZodLiteral<"side">;
|
|
882
|
+
side: z.ZodEnum<{
|
|
883
|
+
bottom: "bottom";
|
|
884
|
+
left: "left";
|
|
885
|
+
right: "right";
|
|
886
|
+
top: "top";
|
|
887
|
+
}>;
|
|
888
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
889
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
890
|
+
kind: z.ZodLiteral<"fixed">;
|
|
891
|
+
nx: z.ZodNumber;
|
|
892
|
+
ny: z.ZodNumber;
|
|
893
|
+
}, z.core.$strip>]>>;
|
|
894
|
+
}, z.core.$strip>>;
|
|
895
|
+
relation: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
896
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
897
|
+
backward: "backward";
|
|
898
|
+
both: "both";
|
|
899
|
+
forward: "forward";
|
|
900
|
+
none: "none";
|
|
901
|
+
}>>>;
|
|
902
|
+
label: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
903
|
+
routing: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
904
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
905
|
+
curve: "curve";
|
|
906
|
+
orthogonal: "orthogonal";
|
|
907
|
+
straight: "straight";
|
|
908
|
+
}>>;
|
|
909
|
+
bend: z.ZodDefault<z.ZodNumber>;
|
|
910
|
+
waypoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
911
|
+
x: z.ZodNumber;
|
|
912
|
+
y: z.ZodNumber;
|
|
913
|
+
}, z.core.$strip>>>;
|
|
914
|
+
}, z.core.$strip>>>;
|
|
915
|
+
style: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
916
|
+
color: z.ZodDefault<z.ZodString>;
|
|
917
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
918
|
+
line: z.ZodDefault<z.ZodEnum<{
|
|
919
|
+
dashed: "dashed";
|
|
920
|
+
solid: "solid";
|
|
921
|
+
}>>;
|
|
922
|
+
}, z.core.$strip>>>;
|
|
923
|
+
metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
924
|
+
}, z.core.$strict>;
|
|
925
|
+
type BoardConnectionPatch = z.infer<typeof BoardConnectionPatchSchema>;
|
|
839
926
|
//#endregion
|
|
840
927
|
//#region ../protocol/dist/board-composition.d.ts
|
|
841
928
|
declare const BoardEasingSchema: z.ZodEnum<{
|
|
@@ -1376,10 +1463,11 @@ declare const BoardEffectSchema: z.ZodObject<{
|
|
|
1376
1463
|
type: z.ZodLiteral<"board">;
|
|
1377
1464
|
}, z.core.$strict>], "type">;
|
|
1378
1465
|
kind: z.ZodString;
|
|
1379
|
-
kindVersion: z.ZodNumber
|
|
1466
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
1380
1467
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1381
1468
|
lifecycle: z.ZodEnum<{
|
|
1382
1469
|
manual: "manual";
|
|
1470
|
+
"on-enter": "on-enter";
|
|
1383
1471
|
persistent: "persistent";
|
|
1384
1472
|
"when-visible": "when-visible";
|
|
1385
1473
|
}>;
|
|
@@ -1418,10 +1506,11 @@ declare const BoardEffectInputSchema: z.ZodObject<{
|
|
|
1418
1506
|
type: z.ZodLiteral<"board">;
|
|
1419
1507
|
}, z.core.$strict>], "type">;
|
|
1420
1508
|
kind: z.ZodString;
|
|
1421
|
-
kindVersion: z.ZodNumber
|
|
1509
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
1422
1510
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1423
1511
|
lifecycle: z.ZodEnum<{
|
|
1424
1512
|
manual: "manual";
|
|
1513
|
+
"on-enter": "on-enter";
|
|
1425
1514
|
persistent: "persistent";
|
|
1426
1515
|
"when-visible": "when-visible";
|
|
1427
1516
|
}>;
|
|
@@ -2607,10 +2696,11 @@ declare const BoardSemanticCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2607
2696
|
type: z.ZodLiteral<"board">;
|
|
2608
2697
|
}, z.core.$strict>], "type">;
|
|
2609
2698
|
kind: z.ZodString;
|
|
2610
|
-
kindVersion: z.ZodNumber
|
|
2699
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
2611
2700
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2612
2701
|
lifecycle: z.ZodEnum<{
|
|
2613
2702
|
manual: "manual";
|
|
2703
|
+
"on-enter": "on-enter";
|
|
2614
2704
|
persistent: "persistent";
|
|
2615
2705
|
"when-visible": "when-visible";
|
|
2616
2706
|
}>;
|
|
@@ -3600,10 +3690,11 @@ declare const BoardSemanticMutationSchema: z.ZodObject<{
|
|
|
3600
3690
|
type: z.ZodLiteral<"board">;
|
|
3601
3691
|
}, z.core.$strict>], "type">;
|
|
3602
3692
|
kind: z.ZodString;
|
|
3603
|
-
kindVersion: z.ZodNumber
|
|
3693
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
3604
3694
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3605
3695
|
lifecycle: z.ZodEnum<{
|
|
3606
3696
|
manual: "manual";
|
|
3697
|
+
"on-enter": "on-enter";
|
|
3607
3698
|
persistent: "persistent";
|
|
3608
3699
|
"when-visible": "when-visible";
|
|
3609
3700
|
}>;
|
|
@@ -3885,6 +3976,99 @@ type BoardRecord = {
|
|
|
3885
3976
|
createdAt: string | null;
|
|
3886
3977
|
updatedAt: string | null;
|
|
3887
3978
|
};
|
|
3979
|
+
type BoardNodeRecord = {
|
|
3980
|
+
boardId: string;
|
|
3981
|
+
nodeId: string;
|
|
3982
|
+
type: string;
|
|
3983
|
+
parentId: string | null;
|
|
3984
|
+
orderKey: string | null;
|
|
3985
|
+
x: number;
|
|
3986
|
+
y: number;
|
|
3987
|
+
width: number;
|
|
3988
|
+
height: number;
|
|
3989
|
+
rotation: number;
|
|
3990
|
+
refKind: string | null;
|
|
3991
|
+
refPath: string | null;
|
|
3992
|
+
refUrl: string | null;
|
|
3993
|
+
view: Record<string, unknown>;
|
|
3994
|
+
style: Record<string, unknown>;
|
|
3995
|
+
data: Record<string, unknown>;
|
|
3996
|
+
version: number;
|
|
3997
|
+
createdAt: string | null;
|
|
3998
|
+
updatedAt: string | null;
|
|
3999
|
+
};
|
|
4000
|
+
type BoardNodeInput = Omit<BoardNodeRecord, "boardId" | "version" | "createdAt" | "updatedAt">;
|
|
4001
|
+
declare const BOARD_DELETE_REASONS: readonly ["user-delete", "orphan-cleanup", "layout-replace", "placeholder-cascade", "node-cascade"];
|
|
4002
|
+
type BoardDeleteReason = (typeof BOARD_DELETE_REASONS)[number] | (string & {});
|
|
4003
|
+
type BoardOperationBase = {
|
|
4004
|
+
opId?: string;
|
|
4005
|
+
/** Optional local undo hint. Servers recompute authoritative inverse data. */
|
|
4006
|
+
inverse?: Record<string, unknown>;
|
|
4007
|
+
};
|
|
4008
|
+
type BoardOperation = (BoardOperationBase & {
|
|
4009
|
+
type: "board.patch";
|
|
4010
|
+
payload: {
|
|
4011
|
+
patch: {
|
|
4012
|
+
title?: string;
|
|
4013
|
+
metadata?: Record<string, unknown>;
|
|
4014
|
+
metadataPatch?: Record<string, unknown>;
|
|
4015
|
+
};
|
|
4016
|
+
};
|
|
4017
|
+
}) | (BoardOperationBase & {
|
|
4018
|
+
type: "node.create";
|
|
4019
|
+
payload: {
|
|
4020
|
+
node: BoardNodeInput;
|
|
4021
|
+
};
|
|
4022
|
+
}) | (BoardOperationBase & {
|
|
4023
|
+
type: "node.patch";
|
|
4024
|
+
payload: {
|
|
4025
|
+
nodeId: string;
|
|
4026
|
+
patch: Partial<BoardNodeInput>;
|
|
4027
|
+
};
|
|
4028
|
+
}) | (BoardOperationBase & {
|
|
4029
|
+
type: "node.delete";
|
|
4030
|
+
payload: {
|
|
4031
|
+
nodeId: string;
|
|
4032
|
+
reason?: BoardDeleteReason;
|
|
4033
|
+
};
|
|
4034
|
+
}) | (BoardOperationBase & {
|
|
4035
|
+
type: "connection.create";
|
|
4036
|
+
payload: {
|
|
4037
|
+
connection: BoardConnectionInput;
|
|
4038
|
+
};
|
|
4039
|
+
}) | (BoardOperationBase & {
|
|
4040
|
+
type: "connection.patch";
|
|
4041
|
+
payload: {
|
|
4042
|
+
connectionId: string;
|
|
4043
|
+
patch: BoardConnectionPatch;
|
|
4044
|
+
};
|
|
4045
|
+
}) | (BoardOperationBase & {
|
|
4046
|
+
type: "connection.delete";
|
|
4047
|
+
payload: {
|
|
4048
|
+
connectionId: string;
|
|
4049
|
+
reason?: BoardDeleteReason;
|
|
4050
|
+
};
|
|
4051
|
+
}) | (BoardOperationBase & {
|
|
4052
|
+
type: "effect.upsert";
|
|
4053
|
+
payload: {
|
|
4054
|
+
effect: Omit<BoardEffect, "boardId" | "revision">;
|
|
4055
|
+
};
|
|
4056
|
+
}) | (BoardOperationBase & {
|
|
4057
|
+
type: "effect.delete";
|
|
4058
|
+
payload: {
|
|
4059
|
+
effectId: string;
|
|
4060
|
+
};
|
|
4061
|
+
}) | (BoardOperationBase & {
|
|
4062
|
+
type: "composition.apply";
|
|
4063
|
+
payload: {
|
|
4064
|
+
composition: Omit<BoardComposition, "revision">;
|
|
4065
|
+
};
|
|
4066
|
+
}) | (BoardOperationBase & {
|
|
4067
|
+
type: "composition.delete";
|
|
4068
|
+
payload: {
|
|
4069
|
+
compositionId: string;
|
|
4070
|
+
};
|
|
4071
|
+
});
|
|
3888
4072
|
type BoardMutationReceipt = {
|
|
3889
4073
|
mutationId: string;
|
|
3890
4074
|
status: "applied" | "validated";
|
|
@@ -4324,10 +4508,11 @@ declare const BoardCreateInputSchema: z.ZodObject<{
|
|
|
4324
4508
|
type: z.ZodLiteral<"board">;
|
|
4325
4509
|
}, z.core.$strict>], "type">;
|
|
4326
4510
|
kind: z.ZodString;
|
|
4327
|
-
kindVersion: z.ZodNumber
|
|
4511
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
4328
4512
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4329
4513
|
lifecycle: z.ZodEnum<{
|
|
4330
4514
|
manual: "manual";
|
|
4515
|
+
"on-enter": "on-enter";
|
|
4331
4516
|
persistent: "persistent";
|
|
4332
4517
|
"when-visible": "when-visible";
|
|
4333
4518
|
}>;
|
|
@@ -4510,6 +4695,55 @@ type BoardValidationResult = {
|
|
|
4510
4695
|
diagnostics: BoardDiagnostic[];
|
|
4511
4696
|
peakCost: BoardRenderCost;
|
|
4512
4697
|
};
|
|
4698
|
+
/**
|
|
4699
|
+
* One applied Board transaction as recorded in the log, with the server-computed
|
|
4700
|
+
* inverse of every operation. Read-only: replay walks the log in either
|
|
4701
|
+
* direction without touching Board rows.
|
|
4702
|
+
*/
|
|
4703
|
+
type BoardTransactionRecord = {
|
|
4704
|
+
id: string;
|
|
4705
|
+
txId: string;
|
|
4706
|
+
baseVersion: number;
|
|
4707
|
+
/** Board version this transaction produced. */
|
|
4708
|
+
version: number;
|
|
4709
|
+
actorId: string;
|
|
4710
|
+
clientId: string | null;
|
|
4711
|
+
undoGroupId: string | null;
|
|
4712
|
+
source: RequestSource | null;
|
|
4713
|
+
createdAt: string;
|
|
4714
|
+
operations: BoardTransactionOperation[];
|
|
4715
|
+
};
|
|
4716
|
+
type BoardTransactionOperation = {
|
|
4717
|
+
type: BoardOperation["type"];
|
|
4718
|
+
payload: Record<string, unknown>;
|
|
4719
|
+
inverse: Record<string, unknown> | null;
|
|
4720
|
+
};
|
|
4721
|
+
/** Typed input; HTTP routes decode query strings before parsing. */
|
|
4722
|
+
declare const BoardTransactionsReadInputSchema: z.ZodObject<{
|
|
4723
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
4724
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
4725
|
+
snapshot: z.ZodDefault<z.ZodBoolean>;
|
|
4726
|
+
}, z.core.$strip>;
|
|
4727
|
+
type BoardTransactionsReadInput = z.input<typeof BoardTransactionsReadInputSchema>;
|
|
4728
|
+
/**
|
|
4729
|
+
* A page of the transaction log, newest first. The newest page (no `before`)
|
|
4730
|
+
* carries the current rows unless `snapshot=false`, so a replay can start from
|
|
4731
|
+
* the live state and walk inverses backwards; older pages carry transactions only.
|
|
4732
|
+
*/
|
|
4733
|
+
type BoardTransactionsPage = {
|
|
4734
|
+
board: {
|
|
4735
|
+
id: string;
|
|
4736
|
+
version: number;
|
|
4737
|
+
};
|
|
4738
|
+
transactions: BoardTransactionRecord[];
|
|
4739
|
+
/** Version to pass as `before` for the next older page, or null when exhausted. */
|
|
4740
|
+
nextBefore: number | null;
|
|
4741
|
+
snapshot?: {
|
|
4742
|
+
board: BoardRecord;
|
|
4743
|
+
nodes: BoardNodeRecord[];
|
|
4744
|
+
connections: BoardConnectionRecord[];
|
|
4745
|
+
};
|
|
4746
|
+
};
|
|
4513
4747
|
type BoardCapabilities = {
|
|
4514
4748
|
protocolVersion: typeof BOARD_PROTOCOL_VERSION;
|
|
4515
4749
|
capabilities: BoardCapability[];
|
|
@@ -4562,6 +4796,26 @@ declare const BoardPlaybackCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4562
4796
|
}, z.core.$strip>], "type">;
|
|
4563
4797
|
type BoardPlaybackCommand = z.infer<typeof BoardPlaybackCommandSchema>;
|
|
4564
4798
|
//#endregion
|
|
4799
|
+
//#region ../protocol/dist/board-animation.d.ts
|
|
4800
|
+
/** Parameters shared by the built-in deal entrance preset. */
|
|
4801
|
+
declare const BoardDealParamsSchema: z.ZodObject<{
|
|
4802
|
+
lift: z.ZodOptional<z.ZodNumber>;
|
|
4803
|
+
swing: z.ZodOptional<z.ZodNumber>;
|
|
4804
|
+
curve: z.ZodOptional<z.ZodNumber>;
|
|
4805
|
+
tilt: z.ZodOptional<z.ZodNumber>;
|
|
4806
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
4807
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
4808
|
+
landing: z.ZodOptional<z.ZodNumber>;
|
|
4809
|
+
}, z.core.$strict>;
|
|
4810
|
+
type BoardDealParams = z.infer<typeof BoardDealParamsSchema>;
|
|
4811
|
+
/** A versioned, reusable animation preset reference. */
|
|
4812
|
+
declare const BoardAnimationSpecSchema: z.ZodObject<{
|
|
4813
|
+
kind: z.ZodString;
|
|
4814
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
4815
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4816
|
+
}, z.core.$strict>;
|
|
4817
|
+
type BoardAnimationSpec = z.infer<typeof BoardAnimationSpecSchema>;
|
|
4818
|
+
//#endregion
|
|
4565
4819
|
//#region ../protocol/dist/board-node.d.ts
|
|
4566
4820
|
declare const BOARD_COLOR_IDS: readonly ["brand", "neutral", "black", "white", "blue", "green", "amber", "violet", "rose"];
|
|
4567
4821
|
type BoardColorId = (typeof BOARD_COLOR_IDS)[number];
|
|
@@ -4935,11 +5189,22 @@ declare const DESKTOP_COMMAND_PENDING_TTL_SECONDS: number;
|
|
|
4935
5189
|
declare const DESKTOP_COMMAND_TERMINAL_TTL_SECONDS: number;
|
|
4936
5190
|
type DesktopCommandStatus = "pending" | "applied" | "no_active_client" | "desktop_host_unavailable" | "rejected" | "unsupported" | "timeout";
|
|
4937
5191
|
declare const isTerminalDesktopCommandStatus: (status: DesktopCommandStatus) => boolean;
|
|
5192
|
+
/**
|
|
5193
|
+
* How the App surface should be presented on the desktop.
|
|
5194
|
+
*
|
|
5195
|
+
* - `window` (default) — opens as a preview tab in the workspace panel.
|
|
5196
|
+
* - `overlay` — renders in a transparent, chrome-free layer above the
|
|
5197
|
+
* workspace. The App controls its own geometry via `configure.request`
|
|
5198
|
+
* and input hit-testing via `inputRegion`. Stays below system UI.
|
|
5199
|
+
*/
|
|
5200
|
+
type DesktopSurface = "window" | "overlay";
|
|
4938
5201
|
type DesktopAppTarget = {
|
|
4939
5202
|
kind: "app";
|
|
4940
5203
|
appId: string;
|
|
4941
5204
|
label?: string;
|
|
4942
5205
|
launch?: NavigationLaunch;
|
|
5206
|
+
/** Requested surface role. Defaults to `"window"` when absent. */
|
|
5207
|
+
surface?: DesktopSurface;
|
|
4943
5208
|
};
|
|
4944
5209
|
type DesktopFileTarget = {
|
|
4945
5210
|
kind: "file";
|
|
@@ -7032,7 +7297,7 @@ type SpaceModListItem = {
|
|
|
7032
7297
|
* Kept as a runtime constant so hosts can validate untrusted scopes from
|
|
7033
7298
|
* app iframes — TypeScript unions cannot constrain cross-window messages.
|
|
7034
7299
|
*/
|
|
7035
|
-
declare const PERMISSIONS: readonly ["space.view", "space.edit", "space.label.view", "space.label.manage", "space.label.assign", "session.view", "session.edit", "session.prompt.readonly", "session.prompt.fullaccess", "generation.create", "file.view", "file.view.filtered", "file.edit", "checkpoint.view", "checkpoint.edit", "member.view", "member.manage", "references.view", "channel.view", "channel.manage", "cronjob.view", "cronjob.manage", "taskrun.view", "command.execute", "sandbox.view", "sandbox.manage", "mod.view", "mod.manage", "space.commerce.view", "space.commerce.manage", "user.space.list", "user.session.list", "user.taskrun.list", "user.usage.read"];
|
|
7300
|
+
declare const PERMISSIONS: readonly ["space.view", "space.edit", "space.create", "space.label.view", "space.label.manage", "space.label.assign", "session.view", "session.edit", "session.prompt.readonly", "session.prompt.fullaccess", "generation.create", "file.view", "file.view.filtered", "file.edit", "checkpoint.view", "checkpoint.edit", "member.view", "member.manage", "references.view", "channel.view", "channel.manage", "cronjob.view", "cronjob.manage", "taskrun.view", "command.execute", "sandbox.view", "sandbox.manage", "mod.view", "mod.manage", "space.commerce.view", "space.commerce.manage", "user.space.list", "user.session.list", "user.taskrun.list", "user.usage.read"];
|
|
7036
7301
|
type Permission = (typeof PERMISSIONS)[number];
|
|
7037
7302
|
/** Implication-aware membership check, mirroring `@cohub/core`. */
|
|
7038
7303
|
declare function scopeListHasPermission(scopes: readonly Permission[], permission: Permission): boolean;
|
|
@@ -7343,4 +7608,4 @@ declare const resolveVoiceInputWebsocketUrl: (options?: {
|
|
|
7343
7608
|
env?: CohubEnvironment;
|
|
7344
7609
|
}) => string;
|
|
7345
7610
|
//#endregion
|
|
7346
|
-
export { CheckpointDiffFile as $, BoardTrack as $a, isTerminalDesktopCommandStatus as $i, SpaceCommerceProductCreditBenefit as $n, hasRequestSourceIdentity as $o, SpaceUsageResponse as $r, PublicReferral as $t, BillingCreditGrantStatus as A, BoardAuthoringReadInput as Aa, AppArtifactManifest as Ai, SessionTurnWindowResponse as An, MessageToolCallsFile as Ao, SpaceFsWriteFileInput as Ar, LabelAssignmentListItem as At, BillingProductCreditBenefit as B, BoardEffectInputSchema as Ba, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Bi, SpaceBootstrapMeta as Bn, CompletionThinkingLevel as Bo, SpacePresenceSnapshot as Br, MeResponse as Bt, BillingCatalog as C, BoardPlaybackSnapshot as Ca, RealtimeRoomDescriptor as Ci, SessionMessagesPaginatedResponse as Cn, ChannelHealthReasonCode as Co, SpaceFsUploadDestination as Cr, GlobalSearchResult as Ct, BillingCheckoutResult as D, parseBoardPlaybackPolicy as Da, SessionTurnPatchEvent as Di, SessionTurnResponse as Dn, MessageRecord as Do, SpaceFsUploadPlanEntryInput as Dr, JsonObject as Dt, BillingCheckoutConfirmation as E, BoardValidationResult as Ea, RealtimeServerEvent as Ei, SessionTurnIndexResponse as En, FeishuChannelConfig as Eo, SpaceFsUploadPlanEntry as Er, InvitationDetail as Et, BillingDiscountPricing as F, BoardSemanticCommandSchema as Fa, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as Fi, SpaceAccess as Fn, StoredToolCall as Fo, SpaceMember as Fr, LabelListItem as Ft, BillingPromotionCodePreview as G, BoardComposition as Ga, DesktopCommandDispatchedPayload as Gi, SpaceCheckpointDetailResponse as Gn, SpaceCompletionStreamEvent as Go, SpaceSandboxAutoDestroyPolicy as Gr, PaletteOverviewSpace as Gt, BillingProductKind as H, parseBoardEffectInput as Ha, DesktopAppTarget as Hi, SpaceBootstrapStage as Hn, CreateSpaceCompletionInput as Ho, SpacePublicProfile as Hr, PERMISSIONS as Ht, BillingHistoryPagination as I, BoardSemanticMutation as Ia, DESKTOP_COMMAND_MAX_TIMEOUT_MS as Ii, SpaceAccessPolicy as In, TurnIntermediateMessagesFile as Io, SpaceMeta as Ir, LabelRecord as It, BillingSubscriptionHistoryList as J, BoardCompositionSchema as Ja, DesktopCommandStatus as Ji, SpaceCommerceCreditsBenefit as Jn, COHUB_SOURCE_HEADER as Jo, SpaceSessionsResponse as Jr, PatchResourceLabelsResponse as Jt, BillingRedemptionResult as K, BoardCompositionInputSchema as Ka, DesktopCommandError as Ki, SpaceCommerceBenefit as Kn, Usage as Ko, SpaceSandboxConfig as Kr, PaletteOverviewSpaceRelation as Kt, BillingPaymentStatus as L, BoardAssetRef as La, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Li, SpaceActivityAppRanking as Ln, CompletionAssistantMessage as Lo, SpaceModListItem as Lr, LabelResourceType as Lt, BillingCreditUnit as M, BoardItemPatch as Ma, AppBoardArtifactManifest as Mi, SkillCatalogEntry as Mn, SessionTurnRecord as Mo, SpaceInvitationListResponse as Mr, LabelAssignmentRecord as Mt, BillingDiscountOffer as N, BoardItemPatchSchema as Na, AppBoardAsset as Ni, SkillCatalogResponse as Nn, SpaceTurnsResponse$1 as No, SpaceInvitationLocation as Nr, LabelItemsResponse as Nt, BillingConversionIntent as O, BoardAuthoringItem as Oa, AppArtifactDescriptor as Oi, SessionTurnSignedUrlsResponse as On, SessionForkRecord as Oo, SpaceFsUploadProgress as Or, JsonPrimitive as Ot, BillingDiscountOfferRef as P, BoardSemanticCommand as Pa, AppContentKind as Pi, SkillCatalogSource as Pn, StoredIntermediateMessage as Po, SpaceListItem as Pr, LabelItemsSessionFork as Pt, CheckpointDiffDelivery as Q, BoardTimelineMarker as Qa, isDesktopCallMethod as Qi, SpaceCommerceProductBenefitBinding as Qn, RequestSourceVia as Qo, SpaceUsageHourlyStat as Qr, PromptTemplateCatalogResponse as Qt, BillingPluginStatus as R, BoardEffect as Ra, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Ri, SpaceActivityContributor as Rn, CompletionMessage as Ro, SpacePendingDiffFileResponse as Rr, LabelScopeType as Rt, BillingBalanceActivityStatus as S, BoardPlaybackPolicySchema as Sa, RealtimeRoom as Si, SessionMessageResponse as Sn, ChannelHealth as So, SpaceFsTreeResponse as Sr, GlobalSearchResponse as St, BillingCheckoutActionState as T, BoardSummary as Ta, RealtimeRoomMember as Ti, SessionRecord as Tn, DiscordChannelConfig as To, SpaceFsUploadError as Tr, GlobalSearchViewerRelation as Tt, BillingProductPricing as U, BOARD_ANIMATION_CHANNEL_CAPABILITIES as Ua, DesktopCall as Ui, SpaceBootstrapStatus as Un, ModelThinkingLevel as Uo, SpaceRecord as Ur, PaletteOverviewResponse as Ut, BillingProductDisplay as V, BoardEffectSchema as Va, DESKTOP_COMMAND_VERSION as Vi, SpaceBootstrapSource as Vn, CompletionUsage as Vo, SpacePresenceUser as Vr, ModelCatalogEntry as Vt, BillingProductPromotion as W, BoardAnimationTarget as Wa, DesktopCommand as Wi, SpaceChannelBindingInput as Wn, SpaceCompletionResult as Wo, SpaceRole as Wr, PaletteOverviewSession as Wt, BillingSubscriptionSummary as X, BoardProceduralClip as Xa, DesktopOpenCommand as Xi, SpaceCommerceOrder as Xn, REQUEST_SOURCE_VIA_MAX_LENGTH as Xo, SpaceTurnListItem as Xr, PromptAccessMode as Xt, BillingSubscriptionHistoryStatus as Y, BoardEasing as Ya, DesktopFileTarget as Yi, SpaceCommerceFeatureBenefit as Yn, COHUB_SOURCE_HEADER_NAMES as Yo, SpaceTurnAuthorFilter as Yr, Permission as Yt, Channel as Z, BoardTimeline as Za, DesktopTarget as Zi, SpaceCommerceProduct as Zn, RequestSource as Zo, SpaceTurnsResponse as Zr, PromptTemplateCatalogEntry as Zt, ApiError as _, BoardDiagnostic as _a, ChannelEnvelope as _i, ReferralStatus as _n, BillingPayload as _o, SpaceFsMoveInput as _r, CronJobUpdatePatch as _t, CohubRuntimeKind as a, BoardAwarenessNodePreview as aa, UserActivityRankings as ai, ReferenceAggregateGroup as an, GenerationModelPolicy as ao, SpaceDefaultResponse as ar, parseRequestSourceFromHeaders as as, CheckpointDiffSummary as at, BillingBalanceActivityKind as b, BoardPlaybackCommand as ba, RealtimeAppVersionRecord as bi, SendMessageCronJobPayload as bn, GenerationResult as bo, SpaceFsReadFilesInput as br, GenerationUsageHourlyStat as bt, normalizeVoiceInputWebsocketUrl as c, BOARD_COLOR_IDS as ca, UserRulesResponse as ci, ReferenceDirection as cn, GenerationPolicyError as co, SpaceFsCompleteUploadResponse as cr, resolveRequestSourceChannel as cs, CreateInvitationInput as ct, resolveCohubEnvironment as d, BoardGeoKind as da, UserSessionsResponse as di, ReferenceQueryableType as dn, encodeGenerationPolicy as do, SpaceFsCreateUploadResponse as dr, CreateSpaceModInput as dt, parseDesktopCommand as ea, SpaceUsageSummary as ei, PublicUserAppItem as en, BoardTrackInterpolation as eo, SpaceConfig as er, isRequestSourceClientId as es, CheckpointDiffFileResponse as et, resolveExecutionAppId as f, BoardCameraFocus as fa, scopeListHasPermission as fi, ReferenceRecord as fn, filterGenerationDeclarationsByPolicy as fo, SpaceFsDeleteNodeInput as fr, CreateSpacePromptInput as ft, AcceptInvitationResponse as g, BoardCreateInput as ga, BoardPlaybackChangedEvent as gi, ReferralReward as gn, parseGenerationPolicyFromEnv as go, SpaceFsFileResponse as gr, CronJobRecord as gt, resolveWebsocketUrl as h, BoardCapabilities as ha, BoardChangedEvent as hi, ReferralListItem as hn, normalizeGenerationPolicy as ho, SpaceFsFileKind as hr, CronJobPayload as ht, CohubExecutionContext as i, BoardAwarenessGesture as ia, UserActivityRange as ii, PublicUserWorkItem as in, BoardRenderCost as io, SpaceCreateResponse as ir, normalizeRequestSource as is, CheckpointDiffStatus as it, BillingCreditStatus as j, BoardAuthoringSnapshot as ja, AppArtifactManifestFile as ji, SessionTurnsPaginatedResponse as jn, SessionTurnIndexItem as jo, SpaceInvitation as jr, LabelAssignmentPageInfo as jt, BillingCreditExpiryGroup as k, BoardAuthoringItemSchema as ka, AppArtifactDownloadDescriptor as ki, SessionTurnStreamSnapshotResponse as kn, SessionTurnSegmentRecord as ko, SpaceFsUploadResponse as kr, JsonValue as kt, normalizeWebsocketUrl as l, BOARD_GEO_KINDS as la, UserSessionListItem as li, ReferenceKind as ln, assertGenerationRequestAllowedByPolicy as lo, SpaceFsCreateDirectoryInput as lr, CreateInvitationResponse as lt, resolveVoiceInputWebsocketUrl as m, BoardCameraState as ma, BoardAwarenessUpdatedEvent as mi, ReferralDashboard as mn, getAllowedGenerationModelIds as mo, SpaceFsEntry as mr, CreateSpaceSessionInput as mt, CohubContext as n, NavigationLaunch as na, TaskRunRecord as ni, PublicUserProfile as nn, BoardCapability as no, SpaceConfigResponse as nr, isRequestSourceUuid as ns, CheckpointDiffPatchLine as nt, getCohubContext as o, BoardAwarenessStateUpdate as oa, UserActivityResponse as oi, ReferenceAggregateGroupBy as on, GenerationParameterConstraint as oo, SpaceEnvInput as or, readRequestSourceFromEnv as os, CheckpointRecord as ot, resolveExecutionToken as p, BoardCameraFocusParams as pa, AppVersionPublishedEvent as pi, ReferenceResourceType as pn, findGenerationModelPolicy as po, SpaceFsEncoding as pr, CreateSpacePromptResponse as pt, BillingResponsePayload as q, BoardCompositionPlayback as qa, DesktopCommandRecord as qi, SpaceCommerceBuyerProfile as qn, ContentBlock as qo, SpaceSandboxProvider as qr, PatchResourceLabelsInput as qt, CohubEnvironment as r, SpacePublicEndpoints as ra, UserActivityQuery as ri, PublicUserSpaceItem as rn, BoardCoordinateSpace as ro, SpaceConfigUpdateResponse as rr, mergeRequestSourceIntoMeta as rs, CheckpointDiffStats as rt, normalizeBaseUrl as s, BoardAwarenessUpdate as sa, UserProfile as si, ReferenceAggregateResponse as sn, GenerationPolicy as so, SpaceFsCompleteUploadInput as sr, requestSourceToHeaders as ss, ClaimReferralResponse as st, COHUB_ENVIRONMENTS as t, NavigationCall as ta, TaskRunDetailResponse as ti, PublicUserPageResponse as tn, parseBoardCompositionInput as to, SpaceConfigInput as tr, isRequestSourceEmpty as ts, CheckpointDiffPatchKind as tt, resolveApiBaseUrl as u, BoardColorId as ua, UserSessionSpaceSummary as ui, ReferenceQueryResponse as un, decodeGenerationPolicy as uo, SpaceFsCreateUploadInput as ur, CreateSpaceInput as ut, BatchUserProfilesResponse as v, BoardManifest as va, LabelAssignmentsUpdatedEvent as vi, ResourceLabelsResponse as vn, GenerationContentBlock as vo, SpaceFsPreparingFile as vr, CursorPageInfo as vt, BillingCatalogProduct as w, BoardRecord as wa, RealtimeRoomEvent as wi, SessionMessagesResponse as wn, ChannelRuntimeState as wo, SpaceFsUploadEntry as wr, GlobalSearchType as wt, BillingBalanceActivityList as x, BoardPlaybackPolicy as xa, RealtimePatchOperation as xi, SessionBindingRecord as xn, ChannelConfig as xo, SpaceFsReadFilesResponse as xr, GenerationUsageSummary as xt, BillingBalanceActivity as y, BoardMutationReceipt as ya, RealtimeAppRecord as yi, SandboxSpecId as yn, GenerationModelDeclaration as yo, SpaceFsReadFilesError as yr, GenerationUsageBlock as yt, BillingProductBillingInterval as z, BoardEffectInput as za, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as zi, SpaceActivityResponse as zn, CompletionMessageRole as zo, SpacePendingDiffSummary as zr, LabelSource as zt };
|
|
7611
|
+
export { CheckpointDiffFile as $, BoardAnimationTarget as $a, isDesktopCallMethod as $i, SpaceCommerceProductCreditBenefit as $n, SpaceCompletionResult as $o, SpaceUsageResponse as $r, PublicReferral as $t, BillingCreditGrantStatus as A, BoardSummary as Aa, AppArtifactManifest as Ai, SessionTurnWindowResponse as An, ChannelConfig as Ao, SpaceFsWriteFileInput as Ar, LabelAssignmentListItem as At, BillingProductCreditBenefit as B, BoardAuthoringSnapshot as Ba, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Bi, SpaceBootstrapMeta as Bn, SessionTurnIndexItem as Bo, SpacePresenceSnapshot as Br, MeResponse as Bt, BillingCatalog as C, BoardManifest as Ca, RealtimeRoomDescriptor as Ci, SessionMessagesPaginatedResponse as Cn, getAllowedGenerationModelIds as Co, SpaceFsUploadDestination as Cr, GlobalSearchResult as Ct, BillingCheckoutResult as D, BoardPlaybackPolicySchema as Da, SessionTurnPatchEvent as Di, SessionTurnResponse as Dn, GenerationContentBlock as Do, SpaceFsUploadPlanEntryInput as Dr, JsonObject as Dt, BillingCheckoutConfirmation as E, BoardPlaybackPolicy as Ea, RealtimeServerEvent as Ei, SessionTurnIndexResponse as En, BillingPayload as Eo, SpaceFsUploadPlanEntry as Er, InvitationDetail as Et, BillingDiscountPricing as F, BoardValidationResult as Fa, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as Fi, SpaceAccess as Fn, FeishuChannelConfig as Fo, SpaceMember as Fr, LabelListItem as Ft, BillingPromotionCodePreview as G, BoardSemanticMutation as Ga, DesktopCommandDispatchedPayload as Gi, SpaceCheckpointDetailResponse as Gn, TurnIntermediateMessagesFile as Go, SpaceSandboxAutoDestroyPolicy as Gr, PaletteOverviewSpace as Gt, BillingProductKind as H, BoardItemPatchSchema as Ha, DesktopAppTarget as Hi, SpaceBootstrapStage as Hn, SpaceTurnsResponse$1 as Ho, SpacePublicProfile as Hr, PERMISSIONS as Ht, BillingHistoryPagination as I, parseBoardPlaybackPolicy as Ia, DESKTOP_COMMAND_MAX_TIMEOUT_MS as Ii, SpaceAccessPolicy as In, MessageRecord as Io, SpaceMeta as Ir, LabelRecord as It, BillingSubscriptionHistoryList as J, BoardEffectInput as Ja, DesktopCommandStatus as Ji, SpaceCommerceCreditsBenefit as Jn, CompletionMessageRole as Jo, SpaceSessionsResponse as Jr, PatchResourceLabelsResponse as Jt, BillingRedemptionResult as K, BoardAssetRef as Ka, DesktopCommandError as Ki, SpaceCommerceBenefit as Kn, CompletionAssistantMessage as Ko, SpaceSandboxConfig as Kr, PaletteOverviewSpaceRelation as Kt, BillingPaymentStatus as L, BoardAuthoringItem as La, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Li, SpaceActivityAppRanking as Ln, SessionForkRecord as Lo, SpaceModListItem as Lr, LabelResourceType as Lt, BillingCreditUnit as M, BoardTransactionRecord as Ma, AppBoardArtifactManifest as Mi, SkillCatalogEntry as Mn, ChannelHealthReasonCode as Mo, SpaceInvitationListResponse as Mr, LabelAssignmentRecord as Mt, BillingDiscountOffer as N, BoardTransactionsPage as Na, AppBoardAsset as Ni, SkillCatalogResponse as Nn, ChannelRuntimeState as No, SpaceInvitationLocation as Nr, LabelItemsResponse as Nt, BillingConversionIntent as O, BoardPlaybackSnapshot as Oa, AppArtifactDescriptor as Oi, SessionTurnSignedUrlsResponse as On, GenerationModelDeclaration as Oo, SpaceFsUploadProgress as Or, JsonPrimitive as Ot, BillingDiscountOfferRef as P, BoardTransactionsReadInput as Pa, AppContentKind as Pi, SkillCatalogSource as Pn, DiscordChannelConfig as Po, SpaceListItem as Pr, LabelItemsSessionFork as Pt, CheckpointDiffDelivery as Q, BOARD_ANIMATION_CHANNEL_CAPABILITIES as Qa, DesktopTarget as Qi, SpaceCommerceProductBenefitBinding as Qn, ModelThinkingLevel as Qo, SpaceUsageHourlyStat as Qr, PromptTemplateCatalogResponse as Qt, BillingPluginStatus as R, BoardAuthoringItemSchema as Ra, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Ri, SpaceActivityContributor as Rn, SessionTurnSegmentRecord as Ro, SpacePendingDiffFileResponse as Rr, LabelScopeType as Rt, BillingBalanceActivityStatus as S, BoardDiagnostic as Sa, RealtimeRoom as Si, SessionMessageResponse as Sn, findGenerationModelPolicy as So, SpaceFsTreeResponse as Sr, GlobalSearchResponse as St, BillingCheckoutActionState as T, BoardPlaybackCommand as Ta, RealtimeRoomMember as Ti, SessionRecord as Tn, parseGenerationPolicyFromEnv as To, SpaceFsUploadError as Tr, GlobalSearchViewerRelation as Tt, BillingProductPricing as U, BoardSemanticCommand as Ua, DesktopCall as Ui, SpaceBootstrapStatus as Un, StoredIntermediateMessage as Uo, SpaceRecord as Ur, PaletteOverviewResponse as Ut, BillingProductDisplay as V, BoardItemPatch as Va, DESKTOP_COMMAND_VERSION as Vi, SpaceBootstrapSource as Vn, SessionTurnRecord as Vo, SpacePresenceUser as Vr, ModelCatalogEntry as Vt, BillingProductPromotion as W, BoardSemanticCommandSchema as Wa, DesktopCommand as Wi, SpaceChannelBindingInput as Wn, StoredToolCall as Wo, SpaceRole as Wr, PaletteOverviewSession as Wt, BillingSubscriptionSummary as X, BoardEffectSchema as Xa, DesktopOpenCommand as Xi, SpaceCommerceOrder as Xn, CompletionUsage as Xo, SpaceTurnListItem as Xr, PromptAccessMode as Xt, BillingSubscriptionHistoryStatus as Y, BoardEffectInputSchema as Ya, DesktopFileTarget as Yi, SpaceCommerceFeatureBenefit as Yn, CompletionThinkingLevel as Yo, SpaceTurnAuthorFilter as Yr, Permission as Yt, Channel as Z, parseBoardEffectInput as Za, DesktopSurface as Zi, SpaceCommerceProduct as Zn, CreateSpaceCompletionInput as Zo, SpaceTurnsResponse as Zr, PromptTemplateCatalogEntry as Zt, ApiError as _, BoardCameraFocus as _a, ChannelEnvelope as _i, ReferralStatus as _n, GenerationPolicyError as _o, SpaceFsMoveInput as _r, resolveRequestSourceChannel as _s, CronJobUpdatePatch as _t, CohubRuntimeKind as a, BoardAwarenessGesture as aa, UserActivityRankings as ai, ReferenceAggregateGroup as an, BoardProceduralClip as ao, SpaceDefaultResponse as ar, REQUEST_SOURCE_VIA_MAX_LENGTH as as, CheckpointDiffSummary as at, BillingBalanceActivityKind as b, BoardCapabilities as ba, RealtimeAppVersionRecord as bi, SendMessageCronJobPayload as bn, encodeGenerationPolicy as bo, SpaceFsReadFilesInput as br, GenerationUsageHourlyStat as bt, normalizeVoiceInputWebsocketUrl as c, BoardAwarenessUpdate as ca, UserRulesResponse as ci, ReferenceDirection as cn, BoardTrack as co, SpaceFsCompleteUploadResponse as cr, hasRequestSourceIdentity as cs, CreateInvitationInput as ct, resolveCohubEnvironment as d, BoardColorId as da, UserSessionsResponse as di, ReferenceQueryableType as dn, BoardCapability as do, SpaceFsCreateUploadResponse as dr, isRequestSourceUuid as ds, CreateSpaceModInput as dt, isTerminalDesktopCommandStatus as ea, SpaceUsageSummary as ei, PublicUserAppItem as en, BoardComposition as eo, SpaceConfig as er, SpaceCompletionStreamEvent as es, CheckpointDiffFileResponse as et, resolveExecutionAppId as f, BoardGeoKind as fa, scopeListHasPermission as fi, ReferenceRecord as fn, BoardCoordinateSpace as fo, SpaceFsDeleteNodeInput as fr, mergeRequestSourceIntoMeta as fs, CreateSpacePromptInput as ft, AcceptInvitationResponse as g, BoardDealParamsSchema as ga, BoardPlaybackChangedEvent as gi, ReferralReward as gn, GenerationPolicy as go, SpaceFsFileResponse as gr, requestSourceToHeaders as gs, CronJobRecord as gt, resolveWebsocketUrl as h, BoardDealParams as ha, BoardChangedEvent as hi, ReferralListItem as hn, GenerationParameterConstraint as ho, SpaceFsFileKind as hr, readRequestSourceFromEnv as hs, CronJobPayload as ht, CohubExecutionContext as i, SpacePublicEndpoints as ia, UserActivityRange as ii, PublicUserWorkItem as in, BoardEasing as io, SpaceCreateResponse as ir, COHUB_SOURCE_HEADER_NAMES as is, CheckpointDiffStatus as it, BillingCreditStatus as j, BoardTransactionOperation as ja, AppArtifactManifestFile as ji, SessionTurnsPaginatedResponse as jn, ChannelHealth as jo, SpaceInvitation as jr, LabelAssignmentPageInfo as jt, BillingCreditExpiryGroup as k, BoardRecord as ka, AppArtifactDownloadDescriptor as ki, SessionTurnStreamSnapshotResponse as kn, GenerationResult as ko, SpaceFsUploadResponse as kr, JsonValue as kt, normalizeWebsocketUrl as l, BOARD_COLOR_IDS as la, UserSessionListItem as li, ReferenceKind as ln, BoardTrackInterpolation as lo, SpaceFsCreateDirectoryInput as lr, isRequestSourceClientId as ls, CreateInvitationResponse as lt, resolveVoiceInputWebsocketUrl as m, BoardAnimationSpecSchema as ma, BoardAwarenessUpdatedEvent as mi, ReferralDashboard as mn, GenerationModelPolicy as mo, SpaceFsEntry as mr, parseRequestSourceFromHeaders as ms, CreateSpaceSessionInput as mt, CohubContext as n, NavigationCall as na, TaskRunRecord as ni, PublicUserProfile as nn, BoardCompositionPlayback as no, SpaceConfigResponse as nr, ContentBlock as ns, CheckpointDiffPatchLine as nt, getCohubContext as o, BoardAwarenessNodePreview as oa, UserActivityResponse as oi, ReferenceAggregateGroupBy as on, BoardTimeline as oo, SpaceEnvInput as or, RequestSource as os, CheckpointRecord as ot, resolveExecutionToken as p, BoardAnimationSpec as pa, AppVersionPublishedEvent as pi, ReferenceResourceType as pn, BoardRenderCost as po, SpaceFsEncoding as pr, normalizeRequestSource as ps, CreateSpacePromptResponse as pt, BillingResponsePayload as q, BoardEffect as qa, DesktopCommandRecord as qi, SpaceCommerceBuyerProfile as qn, CompletionMessage as qo, SpaceSandboxProvider as qr, PatchResourceLabelsInput as qt, CohubEnvironment as r, NavigationLaunch as ra, UserActivityQuery as ri, PublicUserSpaceItem as rn, BoardCompositionSchema as ro, SpaceConfigUpdateResponse as rr, COHUB_SOURCE_HEADER as rs, CheckpointDiffStats as rt, normalizeBaseUrl as s, BoardAwarenessStateUpdate as sa, UserProfile as si, ReferenceAggregateResponse as sn, BoardTimelineMarker as so, SpaceFsCompleteUploadInput as sr, RequestSourceVia as ss, ClaimReferralResponse as st, COHUB_ENVIRONMENTS as t, parseDesktopCommand as ta, TaskRunDetailResponse as ti, PublicUserPageResponse as tn, BoardCompositionInputSchema as to, SpaceConfigInput as tr, Usage as ts, CheckpointDiffPatchKind as tt, resolveApiBaseUrl as u, BOARD_GEO_KINDS as ua, UserSessionSpaceSummary as ui, ReferenceQueryResponse as un, parseBoardCompositionInput as uo, SpaceFsCreateUploadInput as ur, isRequestSourceEmpty as us, CreateSpaceInput as ut, BatchUserProfilesResponse as v, BoardCameraFocusParams as va, LabelAssignmentsUpdatedEvent as vi, ResourceLabelsResponse as vn, assertGenerationRequestAllowedByPolicy as vo, SpaceFsPreparingFile as vr, CursorPageInfo as vt, BillingCatalogProduct as w, BoardMutationReceipt as wa, RealtimeRoomEvent as wi, SessionMessagesResponse as wn, normalizeGenerationPolicy as wo, SpaceFsUploadEntry as wr, GlobalSearchType as wt, BillingBalanceActivityList as x, BoardCreateInput as xa, RealtimePatchOperation as xi, SessionBindingRecord as xn, filterGenerationDeclarationsByPolicy as xo, SpaceFsReadFilesResponse as xr, GenerationUsageSummary as xt, BillingBalanceActivity as y, BoardCameraState as ya, RealtimeAppRecord as yi, SandboxSpecId as yn, decodeGenerationPolicy as yo, SpaceFsReadFilesError as yr, GenerationUsageBlock as yt, BillingProductBillingInterval as z, BoardAuthoringReadInput as za, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as zi, SpaceActivityResponse as zn, MessageToolCallsFile as zo, SpacePendingDiffSummary as zr, LabelSource as zt };
|
package/dist/chunks/http.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $r as SpaceUsageResponse, $t as PublicReferral, Aa as
|
|
1
|
+
import { $o as SpaceCompletionResult, $r as SpaceUsageResponse, $t as PublicReferral, Aa as BoardSummary, An as SessionTurnWindowResponse, Ao as ChannelConfig, Ar as SpaceFsWriteFileInput, Ba as BoardAuthoringSnapshot, Br as SpacePresenceSnapshot, Bt as MeResponse, Cn as SessionMessagesPaginatedResponse, Di as SessionTurnPatchEvent, Dn as SessionTurnResponse, Do as GenerationContentBlock, En as SessionTurnIndexResponse, Eo as BillingPayload, Et as InvitationDetail, Fr as SpaceMember, Ft as LabelListItem, Ga as BoardSemanticMutation, Gn as SpaceCheckpointDetailResponse, Go as TurnIntermediateMessagesFile, Ho as SpaceTurnsResponse, Hr as SpacePublicProfile, In as SpaceAccessPolicy, Io as MessageRecord, Ji as DesktopCommandStatus, Jr as SpaceSessionsResponse, Jt as PatchResourceLabelsResponse, Ki as DesktopCommandError, Kn as SpaceCommerceBenefit, Lo as SessionForkRecord, Lr as SpaceModListItem, Lt as LabelResourceType, Mr as SpaceInvitationListResponse, Mt as LabelAssignmentRecord, Na as BoardTransactionsPage, Nn as SkillCatalogResponse, Nt as LabelItemsResponse, Oa as BoardPlaybackSnapshot, Oi as AppArtifactDescriptor, On as SessionTurnSignedUrlsResponse, Oo as GenerationModelDeclaration, Pa as BoardTransactionsReadInput, Pi as AppContentKind, Qn as SpaceCommerceProductBenefitBinding, Qt as PromptTemplateCatalogResponse, Rr as SpacePendingDiffFileResponse, Sn as SessionMessageResponse, Sr as SpaceFsTreeResponse, St as GlobalSearchResponse, Ta as BoardPlaybackCommand, Tn as SessionRecord, Uo as StoredIntermediateMessage, Ur as SpaceRecord, Ut as PaletteOverviewResponse, Vo as SessionTurnRecord, Vt as ModelCatalogEntry, Wi as DesktopCommand, Wr as SpaceRole, Xn as SpaceCommerceOrder, Yr as SpaceTurnAuthorFilter, Yt as Permission, Z as Channel, Zn as SpaceCommerceProduct, Zo as CreateSpaceCompletionInput, _r as SpaceFsMoveInput, _t as CronJobUpdatePatch, ar as SpaceDefaultResponse, at as CheckpointDiffSummary, ba as BoardCapabilities, ca as BoardAwarenessUpdate, ci as UserRulesResponse, cn as ReferenceDirection, cr as SpaceFsCompleteUploadResponse, ct as CreateInvitationInput, di as UserSessionsResponse, dn as ReferenceQueryableType, dr as SpaceFsCreateUploadResponse, es as SpaceCompletionStreamEvent, et as CheckpointDiffFileResponse, ft as CreateSpacePromptInput, g as AcceptInvitationResponse, gi as BoardPlaybackChangedEvent$1, gr as SpaceFsFileResponse, gt as CronJobRecord, hi as BoardChangedEvent$1, ia as SpacePublicEndpoints, ir as SpaceCreateResponse, jn as SessionTurnsPaginatedResponse, jo as ChannelHealth, kn as SessionTurnStreamSnapshotResponse, kr as SpaceFsUploadResponse, ln as ReferenceKind, lt as CreateInvitationResponse, mi as BoardAwarenessUpdatedEvent$1, mn as ReferralDashboard, mt as CreateSpaceSessionInput, na as NavigationCall, ni as TaskRunRecord, nr as SpaceConfigResponse, ns as ContentBlock, oi as UserActivityResponse, on as ReferenceAggregateGroupBy, or as SpaceEnvInput, os as RequestSource, ot as CheckpointRecord, pt as CreateSpacePromptResponse, qi as DesktopCommandRecord, qn as SpaceCommerceBuyerProfile, qt as PatchResourceLabelsInput, r as CohubEnvironment, ra as NavigationLaunch, ri as UserActivityQuery, rr as SpaceConfigUpdateResponse, si as UserProfile, sn as ReferenceAggregateResponse, sr as SpaceFsCompleteUploadInput, st as ClaimReferralResponse, ti as TaskRunDetailResponse, tn as PublicUserPageResponse, tr as SpaceConfigInput, ts as Usage, un as ReferenceQueryResponse, ur as SpaceFsCreateUploadInput, ut as CreateSpaceInput, v as BatchUserProfilesResponse, vr as SpaceFsPreparingFile, vt as CursorPageInfo, wa as BoardMutationReceipt, wn as SessionMessagesResponse, wt as GlobalSearchType, xa as BoardCreateInput, xi as RealtimePatchOperation, xr as SpaceFsReadFilesResponse, za as BoardAuthoringReadInput, zn as SpaceActivityResponse, zo as MessageToolCallsFile, zr as SpacePendingDiffSummary } from "./environment.js";
|
|
2
2
|
import { a as WebsocketClientOptions, r as WebsocketClient, s as WebsocketEventPayload } from "./websocket.js";
|
|
3
3
|
import { a as VoiceInputCreateOptions } from "./voice-input.js";
|
|
4
4
|
//#region ../protocol/dist/model/status.d.ts
|
|
@@ -50,6 +50,26 @@ type ModelStatusResponse = {
|
|
|
50
50
|
models: Record<string, ModelStatusEntry>;
|
|
51
51
|
};
|
|
52
52
|
//#endregion
|
|
53
|
+
//#region ../protocol/dist/generation/pricing.d.ts
|
|
54
|
+
declare const GENERATION_PRICING_UNITS: readonly ["image", "second", "request", "1m_tokens"];
|
|
55
|
+
type GenerationPricingUnit = (typeof GENERATION_PRICING_UNITS)[number];
|
|
56
|
+
/**
|
|
57
|
+
* Display price for a generation model, maintained in the platform config space
|
|
58
|
+
* and synced from the upstream gateway catalog.
|
|
59
|
+
*
|
|
60
|
+
* `unit` names what one charge covers. `amount` is the exact unit price; use
|
|
61
|
+
* `min`/`max` instead when the price depends on request parameters (resolution,
|
|
62
|
+
* duration, quality) and a single number would mislead.
|
|
63
|
+
*/
|
|
64
|
+
type GenerationModelPricing = {
|
|
65
|
+
unit: GenerationPricingUnit;
|
|
66
|
+
amount?: number;
|
|
67
|
+
min?: number;
|
|
68
|
+
max?: number;
|
|
69
|
+
/** Short qualifier shown with the price, e.g. "std–pro". */
|
|
70
|
+
note?: string;
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
53
73
|
//#region ../protocol/dist/generation/index.d.ts
|
|
54
74
|
declare const GENERATION_TASK_TYPE: "generation";
|
|
55
75
|
type CreateGenerationTaskRequest = {
|
|
@@ -97,7 +117,9 @@ type GenerationTaskResult = {
|
|
|
97
117
|
billing?: GenerationUsageBilling | null;
|
|
98
118
|
meta?: Record<string, unknown>;
|
|
99
119
|
};
|
|
100
|
-
type PublicGenerationDeclaration = Omit<GenerationModelDeclaration, "adapter"
|
|
120
|
+
type PublicGenerationDeclaration = Omit<GenerationModelDeclaration, "adapter"> & {
|
|
121
|
+
pricing?: GenerationModelPricing;
|
|
122
|
+
};
|
|
101
123
|
type ListGenerationModelsResponse = {
|
|
102
124
|
models: PublicGenerationDeclaration[];
|
|
103
125
|
};
|
|
@@ -200,6 +222,43 @@ type PublicFileUrlResponse = {
|
|
|
200
222
|
url: string;
|
|
201
223
|
};
|
|
202
224
|
//#endregion
|
|
225
|
+
//#region ../protocol/dist/app-runtime.d.ts
|
|
226
|
+
declare const APP_RUNTIME_PROTOCOL = "cohub.app.runtime";
|
|
227
|
+
declare const APP_RUNTIME_VERSION = 1;
|
|
228
|
+
type RuntimeEnvelope = {
|
|
229
|
+
protocol: typeof APP_RUNTIME_PROTOCOL;
|
|
230
|
+
version: typeof APP_RUNTIME_VERSION;
|
|
231
|
+
};
|
|
232
|
+
/** Axis-aligned rectangle in CSS pixels, overlay-local (top-left origin). */
|
|
233
|
+
type AppRuntimeRect = {
|
|
234
|
+
x: number;
|
|
235
|
+
y: number;
|
|
236
|
+
width: number;
|
|
237
|
+
height: number;
|
|
238
|
+
};
|
|
239
|
+
/** Which corner of the overlay `geometry.x` / `geometry.y` are measured from. */
|
|
240
|
+
type AppRuntimeAnchor = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center";
|
|
241
|
+
/**
|
|
242
|
+
* The App asks its overlay host to change where it sits or where it accepts
|
|
243
|
+
* pointer events. The host clamps geometry to the viewport. Absent fields keep
|
|
244
|
+
* their current value; an axis without a size fills the layer.
|
|
245
|
+
*
|
|
246
|
+
* `inputRegion`: `"none"` (default) makes the overlay click-through, `"all"`
|
|
247
|
+
* makes it fully interactive, and a rect list limits interaction to those
|
|
248
|
+
* overlay-local rectangles.
|
|
249
|
+
*/
|
|
250
|
+
type AppRuntimeConfigureRequest = RuntimeEnvelope & {
|
|
251
|
+
type: "configure.request";
|
|
252
|
+
geometry?: {
|
|
253
|
+
anchor?: AppRuntimeAnchor;
|
|
254
|
+
x?: number;
|
|
255
|
+
y?: number;
|
|
256
|
+
width?: number;
|
|
257
|
+
height?: number;
|
|
258
|
+
};
|
|
259
|
+
inputRegion?: "all" | "none" | AppRuntimeRect[];
|
|
260
|
+
};
|
|
261
|
+
//#endregion
|
|
203
262
|
//#region ../protocol/dist/app-navigation.d.ts
|
|
204
263
|
declare const APP_NAVIGATION_PROTOCOL = "cohub.app.navigation";
|
|
205
264
|
declare const APP_NAVIGATION_VERSION = 1;
|
|
@@ -267,7 +326,7 @@ type AppPromotionEventKey = typeof APP_PROMOTION_EVENT_KEYS[number];
|
|
|
267
326
|
//#endregion
|
|
268
327
|
//#region src/app-runtime.d.ts
|
|
269
328
|
type AppRuntimeInvocationContext = {
|
|
270
|
-
surface: "page" | "app" | "background" | "broker";
|
|
329
|
+
surface: "page" | "app" | "overlay" | "background" | "broker";
|
|
271
330
|
source?: "desktop_command" | "user" | "route" | "embed";
|
|
272
331
|
spaceId?: string;
|
|
273
332
|
sessionId?: string;
|
|
@@ -444,6 +503,12 @@ declare class AppRuntimeApi {
|
|
|
444
503
|
* No-op in broker mode, where the App owns its own window.
|
|
445
504
|
*/
|
|
446
505
|
requestClose(): void;
|
|
506
|
+
/**
|
|
507
|
+
* Requests the host to update the overlay's geometry or pointer hit regions.
|
|
508
|
+
* Only meaningful when the App was opened as an `overlay` surface; the host
|
|
509
|
+
* is free to clamp or ignore values that violate its layout policy.
|
|
510
|
+
*/
|
|
511
|
+
requestConfigure(input: Omit<AppRuntimeConfigureRequest, "protocol" | "version" | "type">): void;
|
|
447
512
|
getAccessToken(options?: {
|
|
448
513
|
forceRefresh?: boolean;
|
|
449
514
|
}): Promise<string | null>;
|
|
@@ -473,7 +538,7 @@ declare class AppRuntimeApi {
|
|
|
473
538
|
* One consent: create a viewer-owned Space (full `CreateSpaceInput`, same
|
|
474
539
|
* as `spaces.create`) and grant the scopes on it. Never silent — each
|
|
475
540
|
* confirm mints a new Space. The host creates with the viewer's account
|
|
476
|
-
* token
|
|
541
|
+
* token.
|
|
477
542
|
* `{ granted: false, space }` means the Space was created but not provisioned;
|
|
478
543
|
* no grant was issued. A viewer deny is `{ granted: false, space: null }`.
|
|
479
544
|
*/
|
|
@@ -1676,6 +1741,8 @@ declare class BoardClient {
|
|
|
1676
1741
|
capabilities(customFetch?: Fetch): Promise<BoardCapabilities>;
|
|
1677
1742
|
summary(customFetch?: Fetch): Promise<BoardSummary>;
|
|
1678
1743
|
authoring(input?: BoardAuthoringReadInput, customFetch?: Fetch): Promise<BoardAuthoringSnapshot>;
|
|
1744
|
+
/** Read-only transaction log, newest first; the first page carries the current rows. */
|
|
1745
|
+
transactions(input?: BoardTransactionsReadInput, customFetch?: Fetch): Promise<BoardTransactionsPage>;
|
|
1679
1746
|
mutateSemantic(input: Omit<BoardSemanticMutation, "mutationId" | "dryRun"> & {
|
|
1680
1747
|
mutationId?: string;
|
|
1681
1748
|
dryRun?: boolean;
|
|
@@ -1711,6 +1778,7 @@ declare class SpaceBoardsApi {
|
|
|
1711
1778
|
mutateSemantic(boardId: string, mutation: BoardSemanticMutation): Promise<BoardMutationReceipt>;
|
|
1712
1779
|
summary(boardId: string, customFetch?: Fetch): Promise<BoardSummary>;
|
|
1713
1780
|
capabilities(boardId: string, customFetch?: Fetch): Promise<BoardCapabilities>;
|
|
1781
|
+
transactions(boardId: string, input?: BoardTransactionsReadInput, customFetch?: Fetch): Promise<BoardTransactionsPage>;
|
|
1714
1782
|
private playback;
|
|
1715
1783
|
play(boardId: string, command: Omit<Extract<BoardPlaybackCommand, {
|
|
1716
1784
|
type: "play";
|
|
@@ -1955,6 +2023,8 @@ type AppStatus = "published" | "disabled";
|
|
|
1955
2023
|
type AppVisibility = "public" | "space";
|
|
1956
2024
|
type AppPresentationMeta = {
|
|
1957
2025
|
hideCohubBar?: boolean;
|
|
2026
|
+
/** How `cohub desktop open` presents the App when `--as` is not given. */
|
|
2027
|
+
surface?: "window" | "overlay";
|
|
1958
2028
|
};
|
|
1959
2029
|
/** Snapshot of fields extracted from the published page head. */
|
|
1960
2030
|
type AppExtractedPageMeta = {
|
|
@@ -1964,6 +2034,7 @@ type AppExtractedPageMeta = {
|
|
|
1964
2034
|
image?: string | null;
|
|
1965
2035
|
lang?: string | null;
|
|
1966
2036
|
themeColor?: string | null;
|
|
2037
|
+
surface?: "window" | "overlay" | null;
|
|
1967
2038
|
sourcePath?: string | null;
|
|
1968
2039
|
extractedAt?: string | null;
|
|
1969
2040
|
};
|
|
@@ -2493,4 +2564,4 @@ declare class CohubHttpClient {
|
|
|
2493
2564
|
}
|
|
2494
2565
|
declare const createHttpClient: (options?: CohubClientOptions) => CohubHttpClient;
|
|
2495
2566
|
//#endregion
|
|
2496
|
-
export { AppTargetType as $, UnauthorizedContext as $n, WebSocketConnectionState as $t, WaitForUiCommandOptions as A, CreatePublicAssetUploadInput as An,
|
|
2567
|
+
export { AppTargetType as $, UnauthorizedContext as $n, WebSocketConnectionState as $t, WaitForUiCommandOptions as A, CreatePublicAssetUploadInput as An, PublicFileListEntry as Ar, WorkVersionRecord as At, AppPresentationMeta as B, UploadPublicAssetInput as Bn, ListGenerationModelsResponse as Br, BoardChangedEvent as Bt, DesktopCommandsApi as C, SessionPatchState as Cn, AppNavigationOpenResponse as Cr, WorkPublicSpaceRecord as Ct, UiCommandStatus as D, ReferenceResourceSelector as Dn, AppRuntimeRect as Dr, WorkStatus as Dt, UiCommandRecord as E, SessionAccessApi as En, AppRuntimeConfigureRequest as Er, WorkSessionResponse as Et, AppCreateInput as F, PublicAssetUploadProtocol as Fn, SpaceStartupResponse as Fr, UsersApi as Ft, AppPromotionRecord as G, CronJobsApi as Gn, SessionEventName as Gt, AppPromotionEventResponse as H, PromptsApi as Hn, ModelStatusEntry as Hr, BoardEventName as Ht, AppDetailResponse as I, PublicAssetsApi as In, CreateGenerationTaskRequest as Ir, UserApi as It, AppPublicSpaceRecord as J, Fetch as Jn, SpaceClient as Jt, AppPromotionStatsResponse as K, ChannelsApi as Kn, SessionSubscriptionHandlers as Kt, AppExtractedPageMeta as L, UploadAppSourceInput as Ln, CreateGenerationTaskResponse as Lr, TaskWaitOptions as Lt, AppAuthorizeResponse as M, PublicAssetMimeType as Mn, PublicFileUploadEntryInput as Mr, WorkViewStatsResponse as Mt, AppContent as N, PublicAssetPurpose as Nn, PublicFileUploadPlanEntry as Nr, WorkVisibility as Nt, UiCommandsApi as O, ReferencesApi as On, PublicFileCreateUploadInput as Or, WorkTargetType as Ot, AppContentDownload as P, PublicAssetUploadProgress as Pn, PublicFileUrlResponse as Pr, ReferralsApi as Pt, AppStatus as Q, RawHttpResponse as Qn, SpacesApi as Qt, AppGetResponse as R, UploadChatAttachmentInput as Rn, GenerationTaskResult as Rr, TasksApi as Rt, CreateUiCommandInput as S, SessionPatchReducer as Sn, AppNavigationOpenMessage as Sr, WorkPublicOwnerRecord as St, UiCommandError as T, createSessionPatchReducer as Tn, AppRuntimeAnchor as Tr, WorkResolveResponse as Tt, AppPromotionProvider as U, ModelsApi as Un, ModelStatusResponse as Ur, BoardPlaybackChangedEvent as Ut, AppPromotionCreateInput as V, SkillsApi as Vn, PublicGenerationDeclaration as Vr, BoardClient as Vt, AppPromotionProviderStatus as W, GenerationsApi as Wn, BoardSubscriptionHandlers as Wt, AppResolveResponse as X, HttpTraceContext as Xn, SpacePublicFilesApi as Xt, AppRecord as Y, HttpError as Yn, SpaceEventName as Yt, AppSessionResponse as Z, HttpTransport as Zn, SpaceTurnListOptions as Zt, WorkCommerceEntitlementsResponse as _, SessionGenerationStreamClient as _n, createAppRuntime as _r, WorkPromotionEventResponse as _t, AppCommerceCreditConsumeResponse as a, AssistantMessageCommit as an, AppRuntimeApi as ar, AppVisibility as at, WorkCommercePurchaseResponse as b, SessionPatchApplyInput as bn, AppNavigationCall as br, WorkPromotionRecord as bt, AppCommerceEntitlementsResponse as c, GenerationStreamEvent as cn, AppRuntimeCheckoutStatus as cr, WorkContent as ct, AppCommercePurchaseResponse as d, GenerationStreamLifecycleEvent as dn, AppRuntimeModeConfig as dr, WorkDetailResponse as dt, BuildSpaceInvitePathInput as en, joinApiUrl as er, AppUpdateInput as et, WorkCommerceApi as f, GenerationStreamOutOfSyncEvent as fn, AppRuntimeRequestOptions as fr, WorkExtractedPageMeta as ft, WorkCommerceEntitlement as g, GenerationStreamTurnUpdatedEvent as gn, PopupBrokerTransport as gr, WorkPromotionCreateInput as gt, WorkCommerceCreditConsumeStatus as h, GenerationStreamSubscriptionHandlers as hn, ParentBridgeTransport as hr, WorkPresentationMeta as ht, AppCommerceCheckoutStatus as i, buildSpacePath as in, AppIdResolver as ir, AppViewerGrantRecord as it, AppActionRunResponse as j, CreatePublicAssetUploadResponse as jn, PublicFileListResponse as jr, WorkViewSource as jt, WaitForDesktopCommandOptions as k, SearchApi as kn, PublicFileCreateUploadResponse as kr, WorkUpdateInput as kt, AppCommerceOrder as l, GenerationStreamFinalizedEvent as ln, AppRuntimeContext as lr, WorkContentDownload as lt, WorkCommerceCreditConsumeResponse as m, GenerationStreamSubscribeOptions as mn, AppRuntimeTransport as mr, WorkMeta as mt, createHttpClient as n, PublicInviteApi as nn, sanitizeAccessToken as nr, AppViewSource as nt, AppCommerceCreditConsumeStatus as o, GenerationStreamCommitEvent as on, AppRuntimeAuthorizationResult as or, AppsApi as ot, WorkCommerceCheckoutStatus as p, GenerationStreamStateEvent as pn, AppRuntimeShellContext as pr, WorkGetResponse as pt, AppPublicOwnerRecord as q, CohubClientOptions as qn, SpaceChannelBindingRecord as qt, AppCommerceApi as r, buildSpaceInvitePath as rn, AppContextChangedListener as rr, AppViewStatsResponse as rt, AppCommerceEntitlement as s, GenerationStreamErrorEvent as sn, AppRuntimeCheckoutState as sr, WorkAuthorizeResponse as st, CohubHttpClient as t, BuildSpacePathInput as tn, matchesUnauthorizedErrorToken as tr, AppVersionRecord as tt, AppCommerceProductResolveResponse as u, GenerationStreamIntermediateMessage as un, AppRuntimeInvocationContext as ur, WorkCreateInput as ut, WorkCommerceOrder as v, createSessionGenerationStreamClient as vn, createSlugAppIdResolver as vr, WorkPromotionProvider as vt, UiCommand as w, SessionPatchStatus as wn, AppNavigationTarget as wr, WorkRecord as wt, CreateDesktopCommandInput as x, SessionPatchApplyResult as xn, AppNavigationLaunch as xr, WorkPromotionStatsResponse as xt, WorkCommerceProductResolveResponse as y, parseAssistantMessageCommit as yn, resolveAppTransport as yr, WorkPromotionProviderStatus as yt, AppMeta as z, UploadChatImageAttachmentInput as zn, GenerationUsageBilling as zr, BoardAwarenessUpdatedEvent as zt };
|