@neta-art/cohub 8.11.0 → 8.12.1
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 +296 -9
- package/dist/chunks/environment.js +1 -0
- package/dist/chunks/http.d.ts +54 -4
- package/dist/chunks/http.js +67 -12
- package/dist/chunks/websocket.d.ts +1 -1
- package/dist/http.d.ts +3 -3
- package/dist/index.d.ts +11 -4
- package/dist/index.js +201 -51
- 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
|
@@ -521,7 +521,7 @@ type QQChannelConfig = BaseChannelConfig & {
|
|
|
521
521
|
type ChannelConfig = DiscordChannelConfig | FeishuChannelConfig | WeChatChannelConfig | QQChannelConfig | (BaseChannelConfig & Record<string, unknown>);
|
|
522
522
|
/** Runtime connection health for a bound gateway channel (space_channel id). */
|
|
523
523
|
type ChannelRuntimeState = "unbound" | "connecting" | "ready" | "degraded" | "error" | "stopped";
|
|
524
|
-
type ChannelHealthReasonCode = "invalid_credentials" | "auth_failed" | "network" | "permission" | "provider_error" | "unknown";
|
|
524
|
+
type ChannelHealthReasonCode = "invalid_credentials" | "auth_failed" | "network" | "permission" | "provider_error" | "rate_limit" | "unknown";
|
|
525
525
|
type ChannelHealth = {
|
|
526
526
|
state: ChannelRuntimeState;
|
|
527
527
|
reasonCode?: ChannelHealthReasonCode | null;
|
|
@@ -536,11 +536,31 @@ type ChannelHealth = {
|
|
|
536
536
|
meta?: Record<string, string> | null;
|
|
537
537
|
};
|
|
538
538
|
//#endregion
|
|
539
|
-
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.
|
|
539
|
+
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.26/node_modules/@neta-art/generation/dist/builtins-jIE_k69Z.d.ts
|
|
540
540
|
//#region src/types.d.ts
|
|
541
541
|
declare const MODEL_SCHEMA: "neta.generation.model.v1";
|
|
542
542
|
declare const GENERATION_MODEL_CATEGORIES: readonly ["image", "video", "audio"];
|
|
543
543
|
type GenerationModelCategory = (typeof GENERATION_MODEL_CATEGORIES)[number];
|
|
544
|
+
declare const GENERATION_PRICING_UNITS: readonly ["image", "second", "request", "1m_tokens"];
|
|
545
|
+
type GenerationPricingUnit = (typeof GENERATION_PRICING_UNITS)[number];
|
|
546
|
+
/**
|
|
547
|
+
* Display-only unit price for a model catalog. `unit` names what one charge
|
|
548
|
+
* covers; `amount` is the exact unit price, or a `min`/`max` pair when the
|
|
549
|
+
* price depends on request parameters (resolution, duration, quality).
|
|
550
|
+
*/
|
|
551
|
+
type GenerationModelPricing = {
|
|
552
|
+
unit: GenerationPricingUnit;
|
|
553
|
+
/** Short qualifier shown with the price, e.g. "std-pro". */
|
|
554
|
+
note?: string;
|
|
555
|
+
} & ({
|
|
556
|
+
amount: number;
|
|
557
|
+
min?: never;
|
|
558
|
+
max?: never;
|
|
559
|
+
} | {
|
|
560
|
+
amount?: never;
|
|
561
|
+
min: number;
|
|
562
|
+
max: number;
|
|
563
|
+
});
|
|
544
564
|
type GenerationSource = {
|
|
545
565
|
type: "url";
|
|
546
566
|
url: string;
|
|
@@ -643,6 +663,8 @@ type GenerationModelDeclaration = {
|
|
|
643
663
|
title?: string;
|
|
644
664
|
/** Product catalog class. */
|
|
645
665
|
category?: GenerationModelCategory;
|
|
666
|
+
/** Display-only unit price in USD, maintained per deployment. */
|
|
667
|
+
pricing?: GenerationModelPricing;
|
|
646
668
|
description?: string;
|
|
647
669
|
/** Hide from default discovery while keeping exact-ID lookup and runtime use available. */
|
|
648
670
|
hidden?: boolean;
|
|
@@ -836,6 +858,93 @@ declare const BoardConnectionSchema: z.ZodObject<{
|
|
|
836
858
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
837
859
|
}, z.core.$strict>;
|
|
838
860
|
type BoardConnection = z.infer<typeof BoardConnectionSchema>;
|
|
861
|
+
/** Server-owned fields, mirroring how nodes carry a board id and revision. */
|
|
862
|
+
type BoardConnectionRecord = BoardConnection & {
|
|
863
|
+
boardId: string;
|
|
864
|
+
revision: number;
|
|
865
|
+
createdAt: string | null;
|
|
866
|
+
updatedAt: string | null;
|
|
867
|
+
};
|
|
868
|
+
/** The client-authored form of a connection (no server-owned fields). */
|
|
869
|
+
type BoardConnectionInput = BoardConnection;
|
|
870
|
+
/**
|
|
871
|
+
* A patch to an existing connection.
|
|
872
|
+
*
|
|
873
|
+
* `id` is excluded: a connection's identity never changes, and re-pointing both
|
|
874
|
+
* endpoints is an edit of the same relation, not a new one.
|
|
875
|
+
*/
|
|
876
|
+
declare const BoardConnectionPatchSchema: z.ZodObject<{
|
|
877
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
878
|
+
itemId: z.ZodString;
|
|
879
|
+
portId: z.ZodOptional<z.ZodString>;
|
|
880
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
881
|
+
kind: z.ZodLiteral<"auto">;
|
|
882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
883
|
+
kind: z.ZodLiteral<"side">;
|
|
884
|
+
side: z.ZodEnum<{
|
|
885
|
+
bottom: "bottom";
|
|
886
|
+
left: "left";
|
|
887
|
+
right: "right";
|
|
888
|
+
top: "top";
|
|
889
|
+
}>;
|
|
890
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
891
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
892
|
+
kind: z.ZodLiteral<"fixed">;
|
|
893
|
+
nx: z.ZodNumber;
|
|
894
|
+
ny: z.ZodNumber;
|
|
895
|
+
}, z.core.$strip>]>>;
|
|
896
|
+
}, z.core.$strip>>;
|
|
897
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
898
|
+
itemId: z.ZodString;
|
|
899
|
+
portId: z.ZodOptional<z.ZodString>;
|
|
900
|
+
anchor: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
901
|
+
kind: z.ZodLiteral<"auto">;
|
|
902
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
903
|
+
kind: z.ZodLiteral<"side">;
|
|
904
|
+
side: z.ZodEnum<{
|
|
905
|
+
bottom: "bottom";
|
|
906
|
+
left: "left";
|
|
907
|
+
right: "right";
|
|
908
|
+
top: "top";
|
|
909
|
+
}>;
|
|
910
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
911
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
912
|
+
kind: z.ZodLiteral<"fixed">;
|
|
913
|
+
nx: z.ZodNumber;
|
|
914
|
+
ny: z.ZodNumber;
|
|
915
|
+
}, z.core.$strip>]>>;
|
|
916
|
+
}, z.core.$strip>>;
|
|
917
|
+
relation: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
918
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
919
|
+
backward: "backward";
|
|
920
|
+
both: "both";
|
|
921
|
+
forward: "forward";
|
|
922
|
+
none: "none";
|
|
923
|
+
}>>>;
|
|
924
|
+
label: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
925
|
+
routing: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
926
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
927
|
+
curve: "curve";
|
|
928
|
+
orthogonal: "orthogonal";
|
|
929
|
+
straight: "straight";
|
|
930
|
+
}>>;
|
|
931
|
+
bend: z.ZodDefault<z.ZodNumber>;
|
|
932
|
+
waypoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
933
|
+
x: z.ZodNumber;
|
|
934
|
+
y: z.ZodNumber;
|
|
935
|
+
}, z.core.$strip>>>;
|
|
936
|
+
}, z.core.$strip>>>;
|
|
937
|
+
style: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
938
|
+
color: z.ZodDefault<z.ZodString>;
|
|
939
|
+
size: z.ZodDefault<z.ZodNumber>;
|
|
940
|
+
line: z.ZodDefault<z.ZodEnum<{
|
|
941
|
+
dashed: "dashed";
|
|
942
|
+
solid: "solid";
|
|
943
|
+
}>>;
|
|
944
|
+
}, z.core.$strip>>>;
|
|
945
|
+
metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
946
|
+
}, z.core.$strict>;
|
|
947
|
+
type BoardConnectionPatch = z.infer<typeof BoardConnectionPatchSchema>;
|
|
839
948
|
//#endregion
|
|
840
949
|
//#region ../protocol/dist/board-composition.d.ts
|
|
841
950
|
declare const BoardEasingSchema: z.ZodEnum<{
|
|
@@ -1376,10 +1485,11 @@ declare const BoardEffectSchema: z.ZodObject<{
|
|
|
1376
1485
|
type: z.ZodLiteral<"board">;
|
|
1377
1486
|
}, z.core.$strict>], "type">;
|
|
1378
1487
|
kind: z.ZodString;
|
|
1379
|
-
kindVersion: z.ZodNumber
|
|
1488
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
1380
1489
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1381
1490
|
lifecycle: z.ZodEnum<{
|
|
1382
1491
|
manual: "manual";
|
|
1492
|
+
"on-enter": "on-enter";
|
|
1383
1493
|
persistent: "persistent";
|
|
1384
1494
|
"when-visible": "when-visible";
|
|
1385
1495
|
}>;
|
|
@@ -1418,10 +1528,11 @@ declare const BoardEffectInputSchema: z.ZodObject<{
|
|
|
1418
1528
|
type: z.ZodLiteral<"board">;
|
|
1419
1529
|
}, z.core.$strict>], "type">;
|
|
1420
1530
|
kind: z.ZodString;
|
|
1421
|
-
kindVersion: z.ZodNumber
|
|
1531
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
1422
1532
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1423
1533
|
lifecycle: z.ZodEnum<{
|
|
1424
1534
|
manual: "manual";
|
|
1535
|
+
"on-enter": "on-enter";
|
|
1425
1536
|
persistent: "persistent";
|
|
1426
1537
|
"when-visible": "when-visible";
|
|
1427
1538
|
}>;
|
|
@@ -2607,10 +2718,11 @@ declare const BoardSemanticCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2607
2718
|
type: z.ZodLiteral<"board">;
|
|
2608
2719
|
}, z.core.$strict>], "type">;
|
|
2609
2720
|
kind: z.ZodString;
|
|
2610
|
-
kindVersion: z.ZodNumber
|
|
2721
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
2611
2722
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2612
2723
|
lifecycle: z.ZodEnum<{
|
|
2613
2724
|
manual: "manual";
|
|
2725
|
+
"on-enter": "on-enter";
|
|
2614
2726
|
persistent: "persistent";
|
|
2615
2727
|
"when-visible": "when-visible";
|
|
2616
2728
|
}>;
|
|
@@ -3600,10 +3712,11 @@ declare const BoardSemanticMutationSchema: z.ZodObject<{
|
|
|
3600
3712
|
type: z.ZodLiteral<"board">;
|
|
3601
3713
|
}, z.core.$strict>], "type">;
|
|
3602
3714
|
kind: z.ZodString;
|
|
3603
|
-
kindVersion: z.ZodNumber
|
|
3715
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
3604
3716
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3605
3717
|
lifecycle: z.ZodEnum<{
|
|
3606
3718
|
manual: "manual";
|
|
3719
|
+
"on-enter": "on-enter";
|
|
3607
3720
|
persistent: "persistent";
|
|
3608
3721
|
"when-visible": "when-visible";
|
|
3609
3722
|
}>;
|
|
@@ -3885,6 +3998,99 @@ type BoardRecord = {
|
|
|
3885
3998
|
createdAt: string | null;
|
|
3886
3999
|
updatedAt: string | null;
|
|
3887
4000
|
};
|
|
4001
|
+
type BoardNodeRecord = {
|
|
4002
|
+
boardId: string;
|
|
4003
|
+
nodeId: string;
|
|
4004
|
+
type: string;
|
|
4005
|
+
parentId: string | null;
|
|
4006
|
+
orderKey: string | null;
|
|
4007
|
+
x: number;
|
|
4008
|
+
y: number;
|
|
4009
|
+
width: number;
|
|
4010
|
+
height: number;
|
|
4011
|
+
rotation: number;
|
|
4012
|
+
refKind: string | null;
|
|
4013
|
+
refPath: string | null;
|
|
4014
|
+
refUrl: string | null;
|
|
4015
|
+
view: Record<string, unknown>;
|
|
4016
|
+
style: Record<string, unknown>;
|
|
4017
|
+
data: Record<string, unknown>;
|
|
4018
|
+
version: number;
|
|
4019
|
+
createdAt: string | null;
|
|
4020
|
+
updatedAt: string | null;
|
|
4021
|
+
};
|
|
4022
|
+
type BoardNodeInput = Omit<BoardNodeRecord, "boardId" | "version" | "createdAt" | "updatedAt">;
|
|
4023
|
+
declare const BOARD_DELETE_REASONS: readonly ["user-delete", "orphan-cleanup", "layout-replace", "placeholder-cascade", "node-cascade"];
|
|
4024
|
+
type BoardDeleteReason = (typeof BOARD_DELETE_REASONS)[number] | (string & {});
|
|
4025
|
+
type BoardOperationBase = {
|
|
4026
|
+
opId?: string;
|
|
4027
|
+
/** Optional local undo hint. Servers recompute authoritative inverse data. */
|
|
4028
|
+
inverse?: Record<string, unknown>;
|
|
4029
|
+
};
|
|
4030
|
+
type BoardOperation = (BoardOperationBase & {
|
|
4031
|
+
type: "board.patch";
|
|
4032
|
+
payload: {
|
|
4033
|
+
patch: {
|
|
4034
|
+
title?: string;
|
|
4035
|
+
metadata?: Record<string, unknown>;
|
|
4036
|
+
metadataPatch?: Record<string, unknown>;
|
|
4037
|
+
};
|
|
4038
|
+
};
|
|
4039
|
+
}) | (BoardOperationBase & {
|
|
4040
|
+
type: "node.create";
|
|
4041
|
+
payload: {
|
|
4042
|
+
node: BoardNodeInput;
|
|
4043
|
+
};
|
|
4044
|
+
}) | (BoardOperationBase & {
|
|
4045
|
+
type: "node.patch";
|
|
4046
|
+
payload: {
|
|
4047
|
+
nodeId: string;
|
|
4048
|
+
patch: Partial<BoardNodeInput>;
|
|
4049
|
+
};
|
|
4050
|
+
}) | (BoardOperationBase & {
|
|
4051
|
+
type: "node.delete";
|
|
4052
|
+
payload: {
|
|
4053
|
+
nodeId: string;
|
|
4054
|
+
reason?: BoardDeleteReason;
|
|
4055
|
+
};
|
|
4056
|
+
}) | (BoardOperationBase & {
|
|
4057
|
+
type: "connection.create";
|
|
4058
|
+
payload: {
|
|
4059
|
+
connection: BoardConnectionInput;
|
|
4060
|
+
};
|
|
4061
|
+
}) | (BoardOperationBase & {
|
|
4062
|
+
type: "connection.patch";
|
|
4063
|
+
payload: {
|
|
4064
|
+
connectionId: string;
|
|
4065
|
+
patch: BoardConnectionPatch;
|
|
4066
|
+
};
|
|
4067
|
+
}) | (BoardOperationBase & {
|
|
4068
|
+
type: "connection.delete";
|
|
4069
|
+
payload: {
|
|
4070
|
+
connectionId: string;
|
|
4071
|
+
reason?: BoardDeleteReason;
|
|
4072
|
+
};
|
|
4073
|
+
}) | (BoardOperationBase & {
|
|
4074
|
+
type: "effect.upsert";
|
|
4075
|
+
payload: {
|
|
4076
|
+
effect: Omit<BoardEffect, "boardId" | "revision">;
|
|
4077
|
+
};
|
|
4078
|
+
}) | (BoardOperationBase & {
|
|
4079
|
+
type: "effect.delete";
|
|
4080
|
+
payload: {
|
|
4081
|
+
effectId: string;
|
|
4082
|
+
};
|
|
4083
|
+
}) | (BoardOperationBase & {
|
|
4084
|
+
type: "composition.apply";
|
|
4085
|
+
payload: {
|
|
4086
|
+
composition: Omit<BoardComposition, "revision">;
|
|
4087
|
+
};
|
|
4088
|
+
}) | (BoardOperationBase & {
|
|
4089
|
+
type: "composition.delete";
|
|
4090
|
+
payload: {
|
|
4091
|
+
compositionId: string;
|
|
4092
|
+
};
|
|
4093
|
+
});
|
|
3888
4094
|
type BoardMutationReceipt = {
|
|
3889
4095
|
mutationId: string;
|
|
3890
4096
|
status: "applied" | "validated";
|
|
@@ -4324,10 +4530,11 @@ declare const BoardCreateInputSchema: z.ZodObject<{
|
|
|
4324
4530
|
type: z.ZodLiteral<"board">;
|
|
4325
4531
|
}, z.core.$strict>], "type">;
|
|
4326
4532
|
kind: z.ZodString;
|
|
4327
|
-
kindVersion: z.ZodNumber
|
|
4533
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
4328
4534
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4329
4535
|
lifecycle: z.ZodEnum<{
|
|
4330
4536
|
manual: "manual";
|
|
4537
|
+
"on-enter": "on-enter";
|
|
4331
4538
|
persistent: "persistent";
|
|
4332
4539
|
"when-visible": "when-visible";
|
|
4333
4540
|
}>;
|
|
@@ -4510,6 +4717,55 @@ type BoardValidationResult = {
|
|
|
4510
4717
|
diagnostics: BoardDiagnostic[];
|
|
4511
4718
|
peakCost: BoardRenderCost;
|
|
4512
4719
|
};
|
|
4720
|
+
/**
|
|
4721
|
+
* One applied Board transaction as recorded in the log, with the server-computed
|
|
4722
|
+
* inverse of every operation. Read-only: replay walks the log in either
|
|
4723
|
+
* direction without touching Board rows.
|
|
4724
|
+
*/
|
|
4725
|
+
type BoardTransactionRecord = {
|
|
4726
|
+
id: string;
|
|
4727
|
+
txId: string;
|
|
4728
|
+
baseVersion: number;
|
|
4729
|
+
/** Board version this transaction produced. */
|
|
4730
|
+
version: number;
|
|
4731
|
+
actorId: string;
|
|
4732
|
+
clientId: string | null;
|
|
4733
|
+
undoGroupId: string | null;
|
|
4734
|
+
source: RequestSource | null;
|
|
4735
|
+
createdAt: string;
|
|
4736
|
+
operations: BoardTransactionOperation[];
|
|
4737
|
+
};
|
|
4738
|
+
type BoardTransactionOperation = {
|
|
4739
|
+
type: BoardOperation["type"];
|
|
4740
|
+
payload: Record<string, unknown>;
|
|
4741
|
+
inverse: Record<string, unknown> | null;
|
|
4742
|
+
};
|
|
4743
|
+
/** Typed input; HTTP routes decode query strings before parsing. */
|
|
4744
|
+
declare const BoardTransactionsReadInputSchema: z.ZodObject<{
|
|
4745
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
4746
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
4747
|
+
snapshot: z.ZodDefault<z.ZodBoolean>;
|
|
4748
|
+
}, z.core.$strip>;
|
|
4749
|
+
type BoardTransactionsReadInput = z.input<typeof BoardTransactionsReadInputSchema>;
|
|
4750
|
+
/**
|
|
4751
|
+
* A page of the transaction log, newest first. The newest page (no `before`)
|
|
4752
|
+
* carries the current rows unless `snapshot=false`, so a replay can start from
|
|
4753
|
+
* the live state and walk inverses backwards; older pages carry transactions only.
|
|
4754
|
+
*/
|
|
4755
|
+
type BoardTransactionsPage = {
|
|
4756
|
+
board: {
|
|
4757
|
+
id: string;
|
|
4758
|
+
version: number;
|
|
4759
|
+
};
|
|
4760
|
+
transactions: BoardTransactionRecord[];
|
|
4761
|
+
/** Version to pass as `before` for the next older page, or null when exhausted. */
|
|
4762
|
+
nextBefore: number | null;
|
|
4763
|
+
snapshot?: {
|
|
4764
|
+
board: BoardRecord;
|
|
4765
|
+
nodes: BoardNodeRecord[];
|
|
4766
|
+
connections: BoardConnectionRecord[];
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4513
4769
|
type BoardCapabilities = {
|
|
4514
4770
|
protocolVersion: typeof BOARD_PROTOCOL_VERSION;
|
|
4515
4771
|
capabilities: BoardCapability[];
|
|
@@ -4562,6 +4818,26 @@ declare const BoardPlaybackCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4562
4818
|
}, z.core.$strip>], "type">;
|
|
4563
4819
|
type BoardPlaybackCommand = z.infer<typeof BoardPlaybackCommandSchema>;
|
|
4564
4820
|
//#endregion
|
|
4821
|
+
//#region ../protocol/dist/board-animation.d.ts
|
|
4822
|
+
/** Parameters shared by the built-in deal entrance preset. */
|
|
4823
|
+
declare const BoardDealParamsSchema: z.ZodObject<{
|
|
4824
|
+
lift: z.ZodOptional<z.ZodNumber>;
|
|
4825
|
+
swing: z.ZodOptional<z.ZodNumber>;
|
|
4826
|
+
curve: z.ZodOptional<z.ZodNumber>;
|
|
4827
|
+
tilt: z.ZodOptional<z.ZodNumber>;
|
|
4828
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
4829
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
4830
|
+
landing: z.ZodOptional<z.ZodNumber>;
|
|
4831
|
+
}, z.core.$strict>;
|
|
4832
|
+
type BoardDealParams = z.infer<typeof BoardDealParamsSchema>;
|
|
4833
|
+
/** A versioned, reusable animation preset reference. */
|
|
4834
|
+
declare const BoardAnimationSpecSchema: z.ZodObject<{
|
|
4835
|
+
kind: z.ZodString;
|
|
4836
|
+
kindVersion: z.ZodDefault<z.ZodNumber>;
|
|
4837
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4838
|
+
}, z.core.$strict>;
|
|
4839
|
+
type BoardAnimationSpec = z.infer<typeof BoardAnimationSpecSchema>;
|
|
4840
|
+
//#endregion
|
|
4565
4841
|
//#region ../protocol/dist/board-node.d.ts
|
|
4566
4842
|
declare const BOARD_COLOR_IDS: readonly ["brand", "neutral", "black", "white", "blue", "green", "amber", "violet", "rose"];
|
|
4567
4843
|
type BoardColorId = (typeof BOARD_COLOR_IDS)[number];
|
|
@@ -4935,11 +5211,22 @@ declare const DESKTOP_COMMAND_PENDING_TTL_SECONDS: number;
|
|
|
4935
5211
|
declare const DESKTOP_COMMAND_TERMINAL_TTL_SECONDS: number;
|
|
4936
5212
|
type DesktopCommandStatus = "pending" | "applied" | "no_active_client" | "desktop_host_unavailable" | "rejected" | "unsupported" | "timeout";
|
|
4937
5213
|
declare const isTerminalDesktopCommandStatus: (status: DesktopCommandStatus) => boolean;
|
|
5214
|
+
/**
|
|
5215
|
+
* How the App surface should be presented on the desktop.
|
|
5216
|
+
*
|
|
5217
|
+
* - `window` (default) — opens as a preview tab in the workspace panel.
|
|
5218
|
+
* - `overlay` — renders in a transparent, chrome-free layer above the
|
|
5219
|
+
* workspace. The App controls its own geometry via `configure.request`
|
|
5220
|
+
* and input hit-testing via `inputRegion`. Stays below system UI.
|
|
5221
|
+
*/
|
|
5222
|
+
type DesktopSurface = "window" | "overlay";
|
|
4938
5223
|
type DesktopAppTarget = {
|
|
4939
5224
|
kind: "app";
|
|
4940
5225
|
appId: string;
|
|
4941
5226
|
label?: string;
|
|
4942
5227
|
launch?: NavigationLaunch;
|
|
5228
|
+
/** Requested surface role. Defaults to `"window"` when absent. */
|
|
5229
|
+
surface?: DesktopSurface;
|
|
4943
5230
|
};
|
|
4944
5231
|
type DesktopFileTarget = {
|
|
4945
5232
|
kind: "file";
|
|
@@ -7032,7 +7319,7 @@ type SpaceModListItem = {
|
|
|
7032
7319
|
* Kept as a runtime constant so hosts can validate untrusted scopes from
|
|
7033
7320
|
* app iframes — TypeScript unions cannot constrain cross-window messages.
|
|
7034
7321
|
*/
|
|
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"];
|
|
7322
|
+
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
7323
|
type Permission = (typeof PERMISSIONS)[number];
|
|
7037
7324
|
/** Implication-aware membership check, mirroring `@cohub/core`. */
|
|
7038
7325
|
declare function scopeListHasPermission(scopes: readonly Permission[], permission: Permission): boolean;
|
|
@@ -7343,4 +7630,4 @@ declare const resolveVoiceInputWebsocketUrl: (options?: {
|
|
|
7343
7630
|
env?: CohubEnvironment;
|
|
7344
7631
|
}) => string;
|
|
7345
7632
|
//#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 };
|
|
7633
|
+
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
|
|
@@ -200,6 +200,43 @@ type PublicFileUrlResponse = {
|
|
|
200
200
|
url: string;
|
|
201
201
|
};
|
|
202
202
|
//#endregion
|
|
203
|
+
//#region ../protocol/dist/app-runtime.d.ts
|
|
204
|
+
declare const APP_RUNTIME_PROTOCOL = "cohub.app.runtime";
|
|
205
|
+
declare const APP_RUNTIME_VERSION = 1;
|
|
206
|
+
type RuntimeEnvelope = {
|
|
207
|
+
protocol: typeof APP_RUNTIME_PROTOCOL;
|
|
208
|
+
version: typeof APP_RUNTIME_VERSION;
|
|
209
|
+
};
|
|
210
|
+
/** Axis-aligned rectangle in CSS pixels, overlay-local (top-left origin). */
|
|
211
|
+
type AppRuntimeRect = {
|
|
212
|
+
x: number;
|
|
213
|
+
y: number;
|
|
214
|
+
width: number;
|
|
215
|
+
height: number;
|
|
216
|
+
};
|
|
217
|
+
/** Which corner of the overlay `geometry.x` / `geometry.y` are measured from. */
|
|
218
|
+
type AppRuntimeAnchor = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center";
|
|
219
|
+
/**
|
|
220
|
+
* The App asks its overlay host to change where it sits or where it accepts
|
|
221
|
+
* pointer events. The host clamps geometry to the viewport. Absent fields keep
|
|
222
|
+
* their current value; an axis without a size fills the layer.
|
|
223
|
+
*
|
|
224
|
+
* `inputRegion`: `"none"` (default) makes the overlay click-through, `"all"`
|
|
225
|
+
* makes it fully interactive, and a rect list limits interaction to those
|
|
226
|
+
* overlay-local rectangles.
|
|
227
|
+
*/
|
|
228
|
+
type AppRuntimeConfigureRequest = RuntimeEnvelope & {
|
|
229
|
+
type: "configure.request";
|
|
230
|
+
geometry?: {
|
|
231
|
+
anchor?: AppRuntimeAnchor;
|
|
232
|
+
x?: number;
|
|
233
|
+
y?: number;
|
|
234
|
+
width?: number;
|
|
235
|
+
height?: number;
|
|
236
|
+
};
|
|
237
|
+
inputRegion?: "all" | "none" | AppRuntimeRect[];
|
|
238
|
+
};
|
|
239
|
+
//#endregion
|
|
203
240
|
//#region ../protocol/dist/app-navigation.d.ts
|
|
204
241
|
declare const APP_NAVIGATION_PROTOCOL = "cohub.app.navigation";
|
|
205
242
|
declare const APP_NAVIGATION_VERSION = 1;
|
|
@@ -267,7 +304,7 @@ type AppPromotionEventKey = typeof APP_PROMOTION_EVENT_KEYS[number];
|
|
|
267
304
|
//#endregion
|
|
268
305
|
//#region src/app-runtime.d.ts
|
|
269
306
|
type AppRuntimeInvocationContext = {
|
|
270
|
-
surface: "page" | "app" | "background" | "broker";
|
|
307
|
+
surface: "page" | "app" | "overlay" | "background" | "broker";
|
|
271
308
|
source?: "desktop_command" | "user" | "route" | "embed";
|
|
272
309
|
spaceId?: string;
|
|
273
310
|
sessionId?: string;
|
|
@@ -444,6 +481,12 @@ declare class AppRuntimeApi {
|
|
|
444
481
|
* No-op in broker mode, where the App owns its own window.
|
|
445
482
|
*/
|
|
446
483
|
requestClose(): void;
|
|
484
|
+
/**
|
|
485
|
+
* Requests the host to update the overlay's geometry or pointer hit regions.
|
|
486
|
+
* Only meaningful when the App was opened as an `overlay` surface; the host
|
|
487
|
+
* is free to clamp or ignore values that violate its layout policy.
|
|
488
|
+
*/
|
|
489
|
+
requestConfigure(input: Omit<AppRuntimeConfigureRequest, "protocol" | "version" | "type">): void;
|
|
447
490
|
getAccessToken(options?: {
|
|
448
491
|
forceRefresh?: boolean;
|
|
449
492
|
}): Promise<string | null>;
|
|
@@ -473,7 +516,7 @@ declare class AppRuntimeApi {
|
|
|
473
516
|
* One consent: create a viewer-owned Space (full `CreateSpaceInput`, same
|
|
474
517
|
* as `spaces.create`) and grant the scopes on it. Never silent — each
|
|
475
518
|
* confirm mints a new Space. The host creates with the viewer's account
|
|
476
|
-
* token
|
|
519
|
+
* token.
|
|
477
520
|
* `{ granted: false, space }` means the Space was created but not provisioned;
|
|
478
521
|
* no grant was issued. A viewer deny is `{ granted: false, space: null }`.
|
|
479
522
|
*/
|
|
@@ -1130,6 +1173,7 @@ type SessionSubscriptionHandlers = {
|
|
|
1130
1173
|
patchState?: (result: SessionPatchApplyResult) => void;
|
|
1131
1174
|
turnUpdated?: (event: WebsocketEventPayload) => void;
|
|
1132
1175
|
turnFinalized?: (event: WebsocketEventPayload) => void;
|
|
1176
|
+
/** A failed turn, or a rejected subscription (`system.subscribe.error`). */
|
|
1133
1177
|
error?: (event: WebsocketEventPayload) => void;
|
|
1134
1178
|
persisted?: (event: WebsocketEventPayload) => void;
|
|
1135
1179
|
event?: (event: WebsocketEventPayload) => void;
|
|
@@ -1676,6 +1720,8 @@ declare class BoardClient {
|
|
|
1676
1720
|
capabilities(customFetch?: Fetch): Promise<BoardCapabilities>;
|
|
1677
1721
|
summary(customFetch?: Fetch): Promise<BoardSummary>;
|
|
1678
1722
|
authoring(input?: BoardAuthoringReadInput, customFetch?: Fetch): Promise<BoardAuthoringSnapshot>;
|
|
1723
|
+
/** Read-only transaction log, newest first; the first page carries the current rows. */
|
|
1724
|
+
transactions(input?: BoardTransactionsReadInput, customFetch?: Fetch): Promise<BoardTransactionsPage>;
|
|
1679
1725
|
mutateSemantic(input: Omit<BoardSemanticMutation, "mutationId" | "dryRun"> & {
|
|
1680
1726
|
mutationId?: string;
|
|
1681
1727
|
dryRun?: boolean;
|
|
@@ -1711,6 +1757,7 @@ declare class SpaceBoardsApi {
|
|
|
1711
1757
|
mutateSemantic(boardId: string, mutation: BoardSemanticMutation): Promise<BoardMutationReceipt>;
|
|
1712
1758
|
summary(boardId: string, customFetch?: Fetch): Promise<BoardSummary>;
|
|
1713
1759
|
capabilities(boardId: string, customFetch?: Fetch): Promise<BoardCapabilities>;
|
|
1760
|
+
transactions(boardId: string, input?: BoardTransactionsReadInput, customFetch?: Fetch): Promise<BoardTransactionsPage>;
|
|
1714
1761
|
private playback;
|
|
1715
1762
|
play(boardId: string, command: Omit<Extract<BoardPlaybackCommand, {
|
|
1716
1763
|
type: "play";
|
|
@@ -1955,6 +2002,8 @@ type AppStatus = "published" | "disabled";
|
|
|
1955
2002
|
type AppVisibility = "public" | "space";
|
|
1956
2003
|
type AppPresentationMeta = {
|
|
1957
2004
|
hideCohubBar?: boolean;
|
|
2005
|
+
/** How `cohub desktop open` presents the App when `--as` is not given. */
|
|
2006
|
+
surface?: "window" | "overlay";
|
|
1958
2007
|
};
|
|
1959
2008
|
/** Snapshot of fields extracted from the published page head. */
|
|
1960
2009
|
type AppExtractedPageMeta = {
|
|
@@ -1964,6 +2013,7 @@ type AppExtractedPageMeta = {
|
|
|
1964
2013
|
image?: string | null;
|
|
1965
2014
|
lang?: string | null;
|
|
1966
2015
|
themeColor?: string | null;
|
|
2016
|
+
surface?: "window" | "overlay" | null;
|
|
1967
2017
|
sourcePath?: string | null;
|
|
1968
2018
|
extractedAt?: string | null;
|
|
1969
2019
|
};
|
|
@@ -2493,4 +2543,4 @@ declare class CohubHttpClient {
|
|
|
2493
2543
|
}
|
|
2494
2544
|
declare const createHttpClient: (options?: CohubClientOptions) => CohubHttpClient;
|
|
2495
2545
|
//#endregion
|
|
2496
|
-
export { AppTargetType as $, UnauthorizedContext as $n, WebSocketConnectionState as $t, WaitForUiCommandOptions as A, CreatePublicAssetUploadInput as An,
|
|
2546
|
+
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 };
|