@neta-art/cohub 5.6.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -5
- package/dist/board/codec.js +15 -0
- package/dist/board/core/palette.d.ts +3 -2
- package/dist/board/core/shape-types.d.ts +8 -2
- package/dist/board/core/shape-types.js +3 -7
- package/dist/board/core/tool-styles.d.ts +2 -1
- package/dist/board/image-key.js +3 -5
- package/dist/board/index.d.ts +10 -5
- package/dist/board/index.js +7 -3
- package/dist/board/media-playback.d.ts +22 -0
- package/dist/board/media-playback.js +67 -0
- package/dist/board/media.d.ts +7 -0
- package/dist/board/media.js +70 -0
- package/dist/board/nodes.d.ts +113 -0
- package/dist/board/nodes.js +154 -0
- package/dist/board/render/audio-waveform.d.ts +12 -0
- package/dist/board/render/audio-waveform.js +36 -0
- package/dist/board/render/index.d.ts +4 -1
- package/dist/board/render/index.js +4 -1
- package/dist/board/render/media-interaction.d.ts +19 -0
- package/dist/board/render/media-interaction.js +26 -0
- package/dist/board/render/renderers/audio-card-renderer.d.ts +5 -0
- package/dist/board/render/renderers/audio-card-renderer.js +120 -0
- package/dist/board/render/renderers/board-renderer-registry.js +4 -2
- package/dist/board/render/renderers/draw-card-renderer.js +1 -1
- package/dist/board/render/renderers/file-card-renderer.js +1 -1
- package/dist/board/render/renderers/frame-card-renderer.js +1 -1
- package/dist/board/render/renderers/geo-card-renderer.js +1 -1
- package/dist/board/render/renderers/image-card-renderer.js +1 -1
- package/dist/board/render/renderers/task-card-renderer.d.ts +2 -1
- package/dist/board/render/renderers/task-card-renderer.js +21 -53
- package/dist/board/render/renderers/text-card-renderer.js +1 -1
- package/dist/board/render/renderers/unknown-card-renderer.js +1 -1
- package/dist/board/render/renderers/video-card-renderer.js +1 -1
- package/dist/board/render/video-thumbnail.d.ts +16 -0
- package/dist/board/render/video-thumbnail.js +86 -0
- package/dist/board/task.d.ts +10 -5
- package/dist/board/task.js +159 -103
- package/dist/chunks/environment.d.ts +6 -6
- package/dist/chunks/environment.js +6 -6
- package/dist/chunks/http.d.ts +71 -5
- package/dist/chunks/http.js +1535 -167
- package/dist/chunks/transport.js +8 -1
- package/dist/chunks/websocket.d.ts +139 -3
- package/dist/http.d.ts +3 -3
- package/dist/index.d.ts +245 -4
- package/dist/index.js +438 -788
- package/dist/protocol/dist/board-document.d.ts +271 -53
- package/dist/protocol/dist/board-document.js +54 -22
- package/dist/protocol/dist/board-node.d.ts +18 -0
- package/dist/protocol/dist/board-node.js +239 -0
- package/dist/protocol/dist/board-url.d.ts +12 -0
- package/dist/protocol/dist/board-url.js +83 -0
- package/dist/protocol/dist/board.d.ts +5 -0
- package/dist/protocol/dist/index.d.ts +2 -1
- package/dist/protocol/dist/index.js +2 -1
- package/dist/protocol/dist/provenance.js +1 -0
- package/docs/work-runtime-guide.md +7 -7
- package/package.json +1 -1
package/dist/chunks/transport.js
CHANGED
|
@@ -59,6 +59,7 @@ const COHUB_SOURCE_HEADER = {
|
|
|
59
59
|
turn: "X-Cohub-Source-Turn",
|
|
60
60
|
toolCall: "X-Cohub-Source-Tool-Call",
|
|
61
61
|
client: "X-Cohub-Source-Client",
|
|
62
|
+
sandboxVersion: "X-Cohub-Source-Sandbox",
|
|
62
63
|
via: "X-Cohub-Source-Via"
|
|
63
64
|
};
|
|
64
65
|
const UUID_RE = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
|
|
@@ -94,9 +95,10 @@ const asClientId = (value) => {
|
|
|
94
95
|
const cleaned = asNonEmpty(value);
|
|
95
96
|
return cleaned && isRequestSourceClientId(cleaned) ? cleaned : void 0;
|
|
96
97
|
};
|
|
98
|
+
const asSandboxVersion = (value) => asNonEmpty(value)?.slice(0, 128);
|
|
97
99
|
const isRequestSourceEmpty = (source) => {
|
|
98
100
|
if (!source) return true;
|
|
99
|
-
return !source.spaceId && !source.sessionId && !source.turnId && !source.toolCallId && !source.clientId && !source.via;
|
|
101
|
+
return !source.spaceId && !source.sessionId && !source.turnId && !source.toolCallId && !source.clientId && !source.sandboxVersion && !source.via;
|
|
100
102
|
};
|
|
101
103
|
const hasRequestSourceIdentity = (source) => {
|
|
102
104
|
if (!source) return false;
|
|
@@ -111,6 +113,7 @@ const normalizeRequestSource = (input) => {
|
|
|
111
113
|
const turnId = asUuid(record.turnId);
|
|
112
114
|
const toolCallId = asUuid(record.toolCallId);
|
|
113
115
|
const clientId = asClientId(record.clientId);
|
|
116
|
+
const sandboxVersion = asSandboxVersion(record.sandboxVersion);
|
|
114
117
|
const via = asVia(record.via);
|
|
115
118
|
const source = {
|
|
116
119
|
...spaceId ? { spaceId } : {},
|
|
@@ -118,6 +121,7 @@ const normalizeRequestSource = (input) => {
|
|
|
118
121
|
...turnId ? { turnId } : {},
|
|
119
122
|
...toolCallId ? { toolCallId } : {},
|
|
120
123
|
...clientId ? { clientId } : {},
|
|
124
|
+
...sandboxVersion ? { sandboxVersion } : {},
|
|
121
125
|
...via ? { via } : {}
|
|
122
126
|
};
|
|
123
127
|
return isRequestSourceEmpty(source) ? null : source;
|
|
@@ -128,6 +132,7 @@ const parseRequestSourceFromHeaders = (getHeader) => normalizeRequestSource({
|
|
|
128
132
|
turnId: getHeader(COHUB_SOURCE_HEADER.turn),
|
|
129
133
|
toolCallId: getHeader(COHUB_SOURCE_HEADER.toolCall),
|
|
130
134
|
clientId: getHeader(COHUB_SOURCE_HEADER.client),
|
|
135
|
+
sandboxVersion: getHeader(COHUB_SOURCE_HEADER.sandboxVersion),
|
|
131
136
|
via: getHeader(COHUB_SOURCE_HEADER.via)
|
|
132
137
|
});
|
|
133
138
|
const requestSourceToHeaders = (source) => {
|
|
@@ -139,6 +144,7 @@ const requestSourceToHeaders = (source) => {
|
|
|
139
144
|
if (normalized.turnId) headers[COHUB_SOURCE_HEADER.turn] = normalized.turnId;
|
|
140
145
|
if (normalized.toolCallId) headers[COHUB_SOURCE_HEADER.toolCall] = normalized.toolCallId;
|
|
141
146
|
if (normalized.clientId) headers[COHUB_SOURCE_HEADER.client] = normalized.clientId;
|
|
147
|
+
if (normalized.sandboxVersion) headers[COHUB_SOURCE_HEADER.sandboxVersion] = normalized.sandboxVersion;
|
|
142
148
|
if (normalized.via) headers[COHUB_SOURCE_HEADER.via] = normalized.via;
|
|
143
149
|
return headers;
|
|
144
150
|
};
|
|
@@ -149,6 +155,7 @@ const readRequestSourceFromEnv = (env = {}, defaults) => normalizeRequestSource(
|
|
|
149
155
|
turnId: env.COHUB_TURN_ID,
|
|
150
156
|
toolCallId: env.COHUB_TOOL_CALL_ID,
|
|
151
157
|
clientId: env.COHUB_SOURCE_CLIENT_ID,
|
|
158
|
+
sandboxVersion: asNonEmpty(env.COHUB_SANDBOX_VERSION) ?? env.IMAGE_VERSION,
|
|
152
159
|
via: env.COHUB_SOURCE_VIA ?? defaults?.via
|
|
153
160
|
});
|
|
154
161
|
const resolveRequestSourceChannel = (source, fallback = "public_api") => {
|
|
@@ -8,6 +8,7 @@ declare const COHUB_SOURCE_HEADER: {
|
|
|
8
8
|
readonly turn: "X-Cohub-Source-Turn";
|
|
9
9
|
readonly toolCall: "X-Cohub-Source-Tool-Call";
|
|
10
10
|
readonly client: "X-Cohub-Source-Client";
|
|
11
|
+
readonly sandboxVersion: "X-Cohub-Source-Sandbox";
|
|
11
12
|
readonly via: "X-Cohub-Source-Via";
|
|
12
13
|
};
|
|
13
14
|
type RequestSourceVia = "cli" | "bash" | "tool" | "api" | "web" | (string & {});
|
|
@@ -24,6 +25,8 @@ type RequestSource = {
|
|
|
24
25
|
* — never an authorization input.
|
|
25
26
|
*/
|
|
26
27
|
clientId?: string;
|
|
28
|
+
/** Untrusted provenance hint derived from the Sandbox runtime environment. */
|
|
29
|
+
sandboxVersion?: string;
|
|
27
30
|
via?: RequestSourceVia;
|
|
28
31
|
};
|
|
29
32
|
declare const isRequestSourceUuid: (value: unknown) => value is string;
|
|
@@ -671,6 +674,64 @@ declare const BoardConnectionPatchSchema: z.ZodObject<{
|
|
|
671
674
|
}, z.core.$strip>;
|
|
672
675
|
type BoardConnectionPatch = z.infer<typeof BoardConnectionPatchSchema>;
|
|
673
676
|
//#endregion
|
|
677
|
+
//#region ../protocol/dist/board-node.d.ts
|
|
678
|
+
declare const BOARD_COLOR_IDS: readonly ["brand", "neutral", "black", "white", "blue", "green", "amber", "violet", "rose"];
|
|
679
|
+
type BoardColorId = (typeof BOARD_COLOR_IDS)[number];
|
|
680
|
+
declare const BOARD_GEO_KINDS: readonly ["rectangle", "rounded", "ellipse", "diamond", "triangle"];
|
|
681
|
+
type BoardGeoKind = (typeof BOARD_GEO_KINDS)[number];
|
|
682
|
+
declare const BOARD_NATIVE_NODE_TYPES: readonly ["image", "video", "audio", "file", "task", "text", "geo", "draw", "arrow", "frame"];
|
|
683
|
+
type BoardNativeNodeType = (typeof BOARD_NATIVE_NODE_TYPES)[number];
|
|
684
|
+
type BoardNodeValidationDiagnostic = {
|
|
685
|
+
severity: "error";
|
|
686
|
+
code: "INVALID_BOARD_NODE" | "INVALID_BOARD_GEOMETRY";
|
|
687
|
+
message: string;
|
|
688
|
+
path: string;
|
|
689
|
+
expected?: string;
|
|
690
|
+
received?: unknown;
|
|
691
|
+
allowedValues?: readonly string[];
|
|
692
|
+
coordinateSpace?: "frame-local" | "world";
|
|
693
|
+
};
|
|
694
|
+
type BoardJsonSchema = Record<string, unknown>;
|
|
695
|
+
type BoardNodeContract = {
|
|
696
|
+
types: readonly BoardNativeNodeType[];
|
|
697
|
+
colors: readonly BoardColorId[];
|
|
698
|
+
geos: readonly BoardGeoKind[];
|
|
699
|
+
coordinates: {
|
|
700
|
+
frame: "world";
|
|
701
|
+
drawPoints: "frame-local";
|
|
702
|
+
arrowEndpoints: "world";
|
|
703
|
+
};
|
|
704
|
+
references: {
|
|
705
|
+
nodeTypes: readonly ["image", "video", "audio", "file"];
|
|
706
|
+
kind: "space_file";
|
|
707
|
+
pathField: "refPath";
|
|
708
|
+
};
|
|
709
|
+
schemas: {
|
|
710
|
+
envelope: BoardJsonSchema;
|
|
711
|
+
data: Record<BoardNativeNodeType, BoardJsonSchema>;
|
|
712
|
+
view: Record<BoardNativeNodeType, BoardJsonSchema>;
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
type BoardNodeLike = {
|
|
716
|
+
nodeId?: unknown;
|
|
717
|
+
type: unknown;
|
|
718
|
+
parentId?: unknown;
|
|
719
|
+
orderKey?: unknown;
|
|
720
|
+
x: number;
|
|
721
|
+
y: number;
|
|
722
|
+
width: number;
|
|
723
|
+
height: number;
|
|
724
|
+
rotation?: unknown;
|
|
725
|
+
refKind?: unknown;
|
|
726
|
+
refPath?: unknown;
|
|
727
|
+
refUrl?: unknown;
|
|
728
|
+
view?: unknown;
|
|
729
|
+
style?: unknown;
|
|
730
|
+
data?: unknown;
|
|
731
|
+
};
|
|
732
|
+
declare const BOARD_NODE_CONTRACT: BoardNodeContract;
|
|
733
|
+
declare function validateBoardNodeInput(node: BoardNodeLike, path?: string): BoardNodeValidationDiagnostic[];
|
|
734
|
+
//#endregion
|
|
674
735
|
//#region ../protocol/dist/board.d.ts
|
|
675
736
|
declare const BOARD_SNAPSHOT_KIND: "cohub.board.snapshot";
|
|
676
737
|
declare const BOARD_PROTOCOL_VERSION: 1;
|
|
@@ -1146,6 +1207,10 @@ type BoardDiagnostic = {
|
|
|
1146
1207
|
message: string;
|
|
1147
1208
|
path?: string;
|
|
1148
1209
|
adaptation?: Record<string, unknown>;
|
|
1210
|
+
expected?: string;
|
|
1211
|
+
received?: unknown;
|
|
1212
|
+
allowedValues?: readonly string[];
|
|
1213
|
+
coordinateSpace?: "frame-local" | "world";
|
|
1149
1214
|
};
|
|
1150
1215
|
type BoardValidationResult = {
|
|
1151
1216
|
valid: boolean;
|
|
@@ -1156,6 +1221,7 @@ type BoardCapabilities = {
|
|
|
1156
1221
|
protocolVersion: 1;
|
|
1157
1222
|
capabilities: BoardCapability[];
|
|
1158
1223
|
limits: BoardRenderCost;
|
|
1224
|
+
nodes: BoardNodeContract;
|
|
1159
1225
|
};
|
|
1160
1226
|
/** Persisted on `boards.metadata.playback`: how a Board plays when opened. */
|
|
1161
1227
|
declare const BoardPlaybackPolicySchema: z.ZodObject<{
|
|
@@ -2660,6 +2726,26 @@ type BillingProductPricing = {
|
|
|
2660
2726
|
discountLabel: string | null;
|
|
2661
2727
|
discountRate: number | null;
|
|
2662
2728
|
};
|
|
2729
|
+
type BillingDiscountPricing = {
|
|
2730
|
+
amountMinor: number;
|
|
2731
|
+
amountUsd: number;
|
|
2732
|
+
discountAmountMinor: number;
|
|
2733
|
+
discountAmountUsd: number;
|
|
2734
|
+
paidAmountMinor: number;
|
|
2735
|
+
paidAmountUsd: number;
|
|
2736
|
+
currency: string;
|
|
2737
|
+
};
|
|
2738
|
+
type BillingDiscountOfferRef = {
|
|
2739
|
+
key: string;
|
|
2740
|
+
revision: string;
|
|
2741
|
+
};
|
|
2742
|
+
type BillingDiscountOffer = {
|
|
2743
|
+
ref: BillingDiscountOfferRef;
|
|
2744
|
+
name: string;
|
|
2745
|
+
duration: "once" | "forever";
|
|
2746
|
+
endsAt: string | null;
|
|
2747
|
+
pricing: BillingDiscountPricing;
|
|
2748
|
+
};
|
|
2663
2749
|
type BillingProductDisplay = {
|
|
2664
2750
|
description: string | null;
|
|
2665
2751
|
benefits: string[];
|
|
@@ -2693,6 +2779,7 @@ type BillingCatalogProduct = {
|
|
|
2693
2779
|
kind: BillingProductKind;
|
|
2694
2780
|
interval: BillingProductBillingInterval;
|
|
2695
2781
|
pricing: BillingProductPricing;
|
|
2782
|
+
offer: BillingDiscountOffer | null;
|
|
2696
2783
|
display: BillingProductDisplay;
|
|
2697
2784
|
isDefaultPlan: boolean;
|
|
2698
2785
|
};
|
|
@@ -2867,6 +2954,18 @@ type BillingCheckoutResult = {
|
|
|
2867
2954
|
subscriptionId: string | null;
|
|
2868
2955
|
reused: boolean;
|
|
2869
2956
|
};
|
|
2957
|
+
type BillingPromotionCodePreview = {
|
|
2958
|
+
userId: string;
|
|
2959
|
+
productKey: string;
|
|
2960
|
+
promotionCode: string;
|
|
2961
|
+
eligible: boolean;
|
|
2962
|
+
reasonCode: string | null;
|
|
2963
|
+
message: string | null;
|
|
2964
|
+
name: string | null;
|
|
2965
|
+
duration: "once" | "forever" | null;
|
|
2966
|
+
endsAt: string | null;
|
|
2967
|
+
pricing: BillingDiscountPricing | null;
|
|
2968
|
+
};
|
|
2870
2969
|
type BillingRedemptionResult = {
|
|
2871
2970
|
userId: string;
|
|
2872
2971
|
billing: BillingPluginStatus;
|
|
@@ -2877,7 +2976,7 @@ type BillingRedemptionResult = {
|
|
|
2877
2976
|
};
|
|
2878
2977
|
type BillingConversionIntent = {
|
|
2879
2978
|
level: "soft" | "hard";
|
|
2880
|
-
reason: "negative_balance" | "negative_balance_limit_exceeded" | "minimum_balance_not_met" | "feature_not_entitled";
|
|
2979
|
+
reason: "negative_balance" | "negative_balance_limit_exceeded" | "balance_not_positive" | "minimum_balance_not_met" | "feature_not_entitled";
|
|
2881
2980
|
audience: "free" | "paid" | "unknown";
|
|
2882
2981
|
preferredOfferKind: "plan" | "upgrade" | "addon" | "mixed";
|
|
2883
2982
|
title: string;
|
|
@@ -3779,10 +3878,47 @@ type GenerationUsageBlock = {
|
|
|
3779
3878
|
type SpaceUsageResponse = {
|
|
3780
3879
|
hourly: SpaceUsageHourlyStat[];
|
|
3781
3880
|
summary: SpaceUsageSummary;
|
|
3782
|
-
/**
|
|
3881
|
+
/** Generation rollups (image / video / music). Optional for older servers. */
|
|
3783
3882
|
generation?: GenerationUsageBlock;
|
|
3784
3883
|
days: number;
|
|
3785
3884
|
};
|
|
3885
|
+
type UserActivityQuery = {
|
|
3886
|
+
days?: number;
|
|
3887
|
+
from?: string | Date;
|
|
3888
|
+
to?: string | Date;
|
|
3889
|
+
};
|
|
3890
|
+
type UserActivityRange = {
|
|
3891
|
+
from: string;
|
|
3892
|
+
to: string;
|
|
3893
|
+
};
|
|
3894
|
+
type UserActivityRankings = {
|
|
3895
|
+
llmModels: Array<{
|
|
3896
|
+
provider: string;
|
|
3897
|
+
model: string;
|
|
3898
|
+
totalTokens: number;
|
|
3899
|
+
requestCount: number;
|
|
3900
|
+
costTotal: number;
|
|
3901
|
+
}>;
|
|
3902
|
+
generationModels: Array<{
|
|
3903
|
+
provider: string;
|
|
3904
|
+
model: string;
|
|
3905
|
+
requestCount: number;
|
|
3906
|
+
costTotal: number;
|
|
3907
|
+
}>;
|
|
3908
|
+
works: Array<{
|
|
3909
|
+
workId: string;
|
|
3910
|
+
spaceId: string;
|
|
3911
|
+
spaceName: string;
|
|
3912
|
+
slug: string;
|
|
3913
|
+
title: string;
|
|
3914
|
+
status: "published" | "disabled";
|
|
3915
|
+
viewCount: number;
|
|
3916
|
+
}>;
|
|
3917
|
+
};
|
|
3918
|
+
type UserActivityResponse = SpaceUsageResponse & {
|
|
3919
|
+
range: UserActivityRange;
|
|
3920
|
+
rankings: UserActivityRankings;
|
|
3921
|
+
};
|
|
3786
3922
|
type ReferralStatus = "pending" | "qualified" | "rewarded";
|
|
3787
3923
|
type ReferralReward = {
|
|
3788
3924
|
inviterUsd: number;
|
|
@@ -4099,4 +4235,4 @@ declare class WebsocketClient {
|
|
|
4099
4235
|
}
|
|
4100
4236
|
declare const createWebsocketClient: (options?: WebsocketClientOptions) => WebsocketClient;
|
|
4101
4237
|
//#endregion
|
|
4102
|
-
export {
|
|
4238
|
+
export { CreateInvitationInput as $, CompletionThinkingLevel as $a, UiSurfaceRequest as $i, SpaceFsPreparingFile as $n, GenerationModelPolicy as $r, ReferralListItem as $t, BillingPluginStatus as A, BOARD_NATIVE_NODE_TYPES as Aa, BoardAwarenessStateUpdate as Ai, SpaceCommerceFeatureBenefit as An, SpaceTurnAuthorFilter as Ar, MeResponse as At, BillingSubscriptionHistoryStatus as B, BoardConnectionRecord as Ba, UI_COMMAND_MAX_TIMEOUT_MS as Bi, SpaceDefaultResponse as Bn, UserActivityRankings as Br, PublicUserProfile as Bt, BillingCreditStatus as C, BoardSequence as Ca, RealtimeServerEvent as Ci, SpaceBootstrapStage as Cn, SpacePublicProfile as Cr, LabelItemsResponse as Ct, BillingDiscountPricing as D, parseBoardPlaybackPolicy as Da, WorkVersionPublishedEvent as Di, SpaceCommerceBenefit as Dn, SpaceSandboxConfig as Dr, LabelResourceType as Dt, BillingDiscountOfferRef as E, BoardValidationResult as Ea, SessionTurnPatchEvent as Ei, SpaceCheckpointDetailResponse as En, SpaceSandboxAutoDestroyPolicy as Er, LabelRecord as Et, BillingProductPricing as F, BoardNodeContract as Fa, WorkArtifactManifestFile as Fi, SpaceConfig as Fn, SpaceUsageSummary as Fr, PromptAccessMode as Ft, CheckpointDiffFileResponse as G, SessionForkRecord as Ga, UI_COMMAND_VERSION as Gi, SpaceFsCreateUploadInput as Gn, UserSessionSpaceSummary as Gr, ReferenceAggregateResponse as Gt, Channel as H, BoardRenderCost as Ha, UI_COMMAND_PENDING_TTL_SECONDS as Hi, SpaceFsCompleteUploadInput as Hn, UserProfile as Hr, PublicUserWorkItem as Ht, BillingPromotionCodePreview as I, BoardNodeValidationDiagnostic as Ia, WorkBoardArtifactManifest as Ii, SpaceConfigInput as In, TaskRunDetailResponse as Ir, PromptTemplateCatalogEntry as It, CheckpointDiffStats as J, SessionTurnRecord as Ja, UiCommandError as Ji, SpaceFsEncoding as Jn, ChannelHealth as Jr, ReferenceQueryResponse as Jt, CheckpointDiffPatchKind as K, SessionTurnSegmentRecord as Ka, UiCommand as Ki, SpaceFsCreateUploadResponse as Kn, UserSessionsResponse as Kr, ReferenceDirection as Kt, BillingRedemptionResult as L, validateBoardNodeInput as La, WorkBoardAsset as Li, SpaceConfigResponse as Ln, TaskRunRecord as Lr, PromptTemplateCatalogResponse as Lt, BillingProductCreditBenefit as M, BoardColorId as Ma, WorkArtifactDescriptor as Mi, SpaceCommerceProduct as Mn, SpaceTurnsResponse as Mr, PatchResourceLabelsInput as Mt, BillingProductDisplay as N, BoardGeoKind as Na, WorkArtifactDownloadDescriptor as Ni, SpaceCommerceProductBenefitBinding as Nn, SpaceUsageHourlyStat as Nr, PatchResourceLabelsResponse as Nt, BillingHistoryPagination as O, BOARD_COLOR_IDS as Oa, BoardAwarenessGesture as Oi, SpaceCommerceBuyerProfile as On, SpaceSandboxProvider as Or, LabelScopeType as Ot, BillingProductKind as P, BoardNativeNodeType as Pa, WorkArtifactManifest as Pi, SpaceCommerceProductCreditBenefit as Pn, SpaceUsageResponse as Pr, Permission as Pt, ClaimReferralResponse as Q, CompletionMessageRole as Qa, UiPreviewTarget as Qi, SpaceFsMoveInput as Qn, FeishuChannelConfig as Qr, ReferralDashboard as Qt, BillingResponsePayload as R, BoardConnection as Ra, WorkContentKind as Ri, SpaceConfigUpdateResponse as Rn, UserActivityQuery as Rr, PublicReferral as Rt, BillingCreditGrantStatus as S, BoardRecord as Sa, RealtimeRoomMember as Si, SpaceBootstrapSource as Sn, resolveRequestSourceChannel as So, SpacePresenceUser as Sr, LabelAssignmentRecord as St, BillingDiscountOffer as T, BoardTransaction as Ta, RealtimeWorkVersionRecord as Ti, SpaceChannelBindingInput as Tn, SpaceRole as Tr, LabelListItem as Tt, CheckpointDiffDelivery as U, SpacePublicEndpoints as Ua, UI_COMMAND_SETTLEMENT_GRACE_SECONDS as Ui, SpaceFsCompleteUploadResponse as Un, UserRulesResponse as Ur, ReferenceAggregateGroup as Ut, BillingSubscriptionSummary as V, BoardCapability as Va, UI_COMMAND_PAYLOAD_MAX_BYTES as Vi, SpaceEnvInput as Vn, UserActivityResponse as Vr, PublicUserSpaceItem as Vt, CheckpointDiffFile as W, MessageRecord as Wa, UI_COMMAND_TERMINAL_TTL_SECONDS as Wi, SpaceFsCreateDirectoryInput as Wn, UserSessionListItem as Wr, ReferenceAggregateGroupBy as Wt, CheckpointDiffSummary as X, CompletionAssistantMessage as Xa, UiCommandStatus as Xi, SpaceFsFileKind as Xn, ChannelRuntimeState as Xr, ReferenceRecord as Xt, CheckpointDiffStatus as Y, SpaceTurnsResponse$1 as Ya, UiCommandRecord as Yi, SpaceFsEntry as Yn, ChannelHealthReasonCode as Yr, ReferenceQueryableType as Yt, CheckpointRecord as Z, CompletionMessage as Za, UiPreviewShowCommand as Zi, SpaceFsFileResponse as Zn, DiscordChannelConfig as Zr, ReferenceResourceType as Zt, BillingCatalogProduct as _, BoardOperation as _a, ChannelEnvelope as _i, SkillCatalogResponse as _n, mergeRequestSourceIntoMeta as _o, SpaceMeta as _r, JsonObject as _t, WebsocketClientOptions as a, BoardBootstrap as aa, encodeGenerationPolicy as ai, SessionBindingRecord as an, Usage as ao, SpaceFsUploadEntry as ar, CreateSpaceSessionInput as at, BillingConversionIntent as b, BoardPlaybackPolicySchema as ba, RealtimeRoomDescriptor as bi, SpaceAccessPolicy as bn, readRequestSourceFromEnv as bo, SpacePendingDiffSummary as br, LabelAssignmentListItem as bt, createWebsocketClient as c, BoardCreateInput as ca, getAllowedGenerationModelIds as ci, SessionMessagesResponse as cn, COHUB_SOURCE_HEADER as co, SpaceFsUploadPlanEntryInput as cr, CronJobUpdatePatch as ct, BatchUserProfilesResponse as d, BoardEffect as da, GenerationContentBlock as di, SessionTurnResponse as dn, RequestSource as do, SpaceFsWriteFileInput as dr, GenerationUsageHourlyStat as dt, UiWorkPreviewTarget as ea, GenerationParameterConstraint as ei, ReferralReward as en, CompletionUsage as eo, SpaceFsReadFilesError as er, CreateInvitationResponse as et, BillingBalanceActivity as f, BoardInspectInput as fa, GenerationModelDeclaration as fi, SessionTurnSignedUrlsResponse as fn, RequestSourceVia as fo, SpaceInvitation as fr, GenerationUsageSummary as ft, BillingCatalog as g, BoardNodeRecord as ga, BoardTransactionAppliedEvent as gi, SkillCatalogEntry as gn, isRequestSourceUuid as go, SpaceMember as gr, InvitationDetail as gt, BillingBalanceActivityStatus as h, BoardNodeInput as ha, BoardPlaybackChangedEvent as hi, SessionTurnsPaginatedResponse as hn, isRequestSourceEmpty as ho, SpaceListItem as hr, GlobalSearchType as ht, WebsocketClientEvents as i, BoardAssetRef as ia, decodeGenerationPolicy as ii, SendMessageCronJobPayload as in, SpaceCompletionStreamEvent as io, SpaceFsUploadDestination as ir, CreateSpacePromptResponse as it, BillingProductBillingInterval as j, BOARD_NODE_CONTRACT as ja, BoardAwarenessUpdate as ji, SpaceCommerceOrder as jn, SpaceTurnListItem as jr, ModelCatalogEntry as jt, BillingPaymentStatus as k, BOARD_GEO_KINDS as ka, BoardAwarenessNodePreview as ki, SpaceCommerceCreditsBenefit as kn, SpaceSessionsResponse as kr, LabelSource as kt, AcceptInvitationResponse as l, BoardDeleteReason as la, normalizeGenerationPolicy as li, SessionRecord as ln, COHUB_SOURCE_HEADER_NAMES as lo, SpaceFsUploadProgress as lr, CursorPageInfo as lt, BillingBalanceActivityList as m, BoardManifest as ma, BoardAwarenessUpdatedEvent as mi, SessionTurnWindowResponse as mn, isRequestSourceClientId as mo, SpaceInvitationLocation as mr, GlobalSearchResult as mt, WebSocketLike as n, isUiSurfaceMethod as na, GenerationPolicyError as ni, ResourceLabelsResponse as nn, ModelThinkingLevel as no, SpaceFsReadFilesResponse as nr, CreateSpaceModInput as nt, WebsocketClientState as o, BoardCapabilities as oa, filterGenerationDeclarationsByPolicy as oi, SessionMessageResponse as on, BillingPayload as oo, SpaceFsUploadError as or, CronJobPayload as ot, BillingBalanceActivityKind as p, BoardKeyframe as pa, GenerationResult as pi, SessionTurnStreamSnapshotResponse as pn, hasRequestSourceIdentity as po, SpaceInvitationListResponse as pr, GlobalSearchResponse as pt, CheckpointDiffPatchLine as q, SessionTurnIndexItem as qa, UiCommandDispatchedPayload as qi, SpaceFsDeleteNodeInput as qn, ChannelConfig as qr, ReferenceKind as qt, WebsocketClient as r, parseUiCommand as ra, assertGenerationRequestAllowedByPolicy as ri, SandboxSpecId as rn, SpaceCompletionResult as ro, SpaceFsTreeResponse as rr, CreateSpacePromptInput as rt, WebsocketEventPayload as s, BoardClip as sa, findGenerationModelPolicy as si, SessionMessagesPaginatedResponse as sn, ContentBlock as so, SpaceFsUploadPlanEntry as sr, CronJobRecord as st, WebSocketConstructor as t, isTerminalUiCommandStatus as ta, GenerationPolicy as ti, ReferralStatus as tn, CreateSpaceCompletionInput as to, SpaceFsReadFilesInput as tr, CreateSpaceInput as tt, ApiError as u, BoardDiagnostic as ua, parseGenerationPolicyFromEnv as ui, SessionTurnIndexResponse as un, REQUEST_SOURCE_VIA_MAX_LENGTH as uo, SpaceFsUploadResponse as ur, GenerationUsageBlock as ut, BillingCheckoutActionState as v, BoardPlaybackCommand as va, LabelAssignmentsUpdatedEvent as vi, SkillCatalogSource as vn, normalizeRequestSource as vo, SpaceModListItem as vr, JsonPrimitive as vt, BillingCreditUnit as w, BoardTarget as wa, RealtimeWorkRecord as wi, SpaceBootstrapStatus as wn, SpaceRecord as wr, LabelItemsSessionFork as wt, BillingCreditExpiryGroup as x, BoardPlaybackSnapshot as xa, RealtimeRoomEvent as xi, SpaceBootstrapMeta as xn, requestSourceToHeaders as xo, SpacePresenceSnapshot as xr, LabelAssignmentPageInfo as xt, BillingCheckoutResult as y, BoardPlaybackPolicy as ya, RealtimePatchOperation as yi, SpaceAccess as yn, parseRequestSourceFromHeaders as yo, SpacePendingDiffFileResponse as yr, JsonValue as yt, BillingSubscriptionHistoryList as z, BoardConnectionDirection as za, UI_COMMAND_DEFAULT_TIMEOUT_MS as zi, SpaceCreateResponse as zn, UserActivityRange as zr, PublicUserPageResponse as zt };
|
package/dist/http.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import {
|
|
3
|
-
export { AcceptInvitationResponse, ApiError, BatchUserProfilesResponse, BillingBalanceActivity, BillingBalanceActivityKind, BillingBalanceActivityList, BillingBalanceActivityStatus, BillingCatalog, BillingCatalogProduct, BillingCheckoutActionState, BillingCheckoutResult, BillingConversionIntent, BillingCreditExpiryGroup, BillingCreditGrantStatus, BillingCreditStatus, BillingCreditUnit, BillingHistoryPagination, BillingPaymentStatus, BillingPluginStatus, BillingProductBillingInterval, BillingProductCreditBenefit, BillingProductDisplay, BillingProductKind, BillingProductPricing, BillingRedemptionResult, BillingResponsePayload, BillingSubscriptionHistoryList, BillingSubscriptionHistoryStatus, BillingSubscriptionSummary, type BoardAssetRef, type BoardBootstrap, type BoardCapabilities, type BoardCapability, type BoardClip, type BoardCreateInput, type BoardDeleteReason, type BoardDiagnostic, type BoardEffect, type BoardInspectInput, type BoardKeyframe, type BoardManifest, type BoardNodeInput, type BoardNodeRecord, type BoardOperation, type BoardPlaybackCommand, type BoardPlaybackPolicy, type BoardPlaybackSnapshot, type BoardRecord, type BoardRenderCost, type BoardSequence, type BoardTarget, type BoardTransaction, type BoardValidationResult, Channel, type ChannelConfig, type ChannelHealth, type ChannelHealthReasonCode, type ChannelRuntimeState, CheckpointDiffDelivery, CheckpointDiffFile, CheckpointDiffFileResponse, CheckpointDiffPatchKind, CheckpointDiffPatchLine, CheckpointDiffStats, CheckpointDiffStatus, CheckpointDiffSummary, CheckpointRecord, ClaimReferralResponse, type CohubClientOptions, CohubHttpClient, type CompletionAssistantMessage, type CompletionMessage, type CompletionMessageRole, type CompletionThinkingLevel, type CompletionUsage, type ContentBlock, type CreateGenerationTaskRequest, type CreateGenerationTaskResponse, CreateInvitationInput, CreateInvitationResponse, type CreateSpaceCompletionInput, CreateSpaceInput, CreateSpaceModInput, CreateSpacePromptInput, CreateSpacePromptResponse, CreateSpaceSessionInput, CronJobPayload, CronJobRecord, CronJobUpdatePatch, CursorPageInfo, type DiscordChannelConfig, type FeishuChannelConfig, type Fetch, type GenerationContentBlock, type GenerationPolicy, type GenerationResult, type GenerationTaskResult, type GenerationUsageBilling, GenerationUsageBlock, GenerationUsageHourlyStat, GenerationUsageSummary, GlobalSearchResponse, GlobalSearchResult, GlobalSearchType, HttpError, HttpTransport, InvitationDetail, JsonObject, JsonPrimitive, JsonValue, LabelAssignmentListItem, LabelAssignmentPageInfo, LabelAssignmentRecord, LabelItemsResponse, LabelItemsSessionFork, LabelListItem, LabelRecord, LabelResourceType, LabelScopeType, LabelSource, type ListGenerationModelsResponse, MeResponse, type MessageRecord, ModelCatalogEntry, type ModelStatusEntry, type ModelStatusResponse, type ModelThinkingLevel, PatchResourceLabelsInput, PatchResourceLabelsResponse, Permission, PromptAccessMode, PromptTemplateCatalogEntry, PromptTemplateCatalogResponse, type PublicGenerationDeclaration, PublicReferral, PublicUserPageResponse, PublicUserProfile, PublicUserSpaceItem, PublicUserWorkItem, ReferenceAggregateGroup, ReferenceAggregateGroupBy, ReferenceAggregateResponse, ReferenceDirection, ReferenceKind, ReferenceQueryResponse, ReferenceQueryableType, ReferenceRecord, ReferenceResourceType, ReferralDashboard, ReferralListItem, ReferralReward, ReferralStatus, ResourceLabelsResponse, SandboxSpecId, SendMessageCronJobPayload, SessionBindingRecord, type SessionForkRecord, SessionMessageResponse, SessionMessagesPaginatedResponse, SessionMessagesResponse, SessionRecord, type SessionTurnIndexItem, SessionTurnIndexResponse, type SessionTurnRecord, SessionTurnResponse, type SessionTurnSegmentRecord, SessionTurnSignedUrlsResponse, SessionTurnStreamSnapshotResponse, SessionTurnWindowResponse, SessionTurnsPaginatedResponse, SkillCatalogEntry, SkillCatalogResponse, SkillCatalogSource, SpaceAccess, SpaceAccessPolicy, SpaceBootstrapMeta, SpaceBootstrapSource, SpaceBootstrapStage, SpaceBootstrapStatus, SpaceChannelBindingInput, SpaceCheckpointDetailResponse, SpaceCommerceBenefit, SpaceCommerceBuyerProfile, SpaceCommerceCreditsBenefit, SpaceCommerceFeatureBenefit, SpaceCommerceOrder, SpaceCommerceProduct, SpaceCommerceProductBenefitBinding, SpaceCommerceProductCreditBenefit, type SpaceCompletionResult, type SpaceCompletionStreamEvent, SpaceConfig, SpaceConfigInput, SpaceConfigResponse, SpaceConfigUpdateResponse, SpaceCreateResponse, SpaceDefaultResponse, SpaceEnvInput, SpaceFsCompleteUploadInput, SpaceFsCompleteUploadResponse, SpaceFsCreateDirectoryInput, SpaceFsCreateUploadInput, SpaceFsCreateUploadResponse, SpaceFsDeleteNodeInput, SpaceFsEncoding, SpaceFsEntry, SpaceFsFileKind, SpaceFsFileResponse, SpaceFsMoveInput, SpaceFsPreparingFile, SpaceFsReadFilesError, SpaceFsReadFilesInput, SpaceFsReadFilesResponse, SpaceFsTreeResponse, SpaceFsUploadDestination, SpaceFsUploadEntry, SpaceFsUploadError, SpaceFsUploadPlanEntry, SpaceFsUploadPlanEntryInput, SpaceFsUploadProgress, SpaceFsUploadResponse, SpaceFsWriteFileInput, SpaceInvitation, SpaceInvitationListResponse, SpaceInvitationLocation, SpaceListItem, SpaceMember, SpaceMeta, SpaceModListItem, SpacePendingDiffFileResponse, SpacePendingDiffSummary, SpacePresenceSnapshot, SpacePresenceUser, SpacePublicProfile, SpaceRecord, SpaceRole, SpaceSandboxAutoDestroyPolicy, SpaceSandboxConfig, SpaceSandboxProvider, SpaceSessionsResponse, type SpaceStartupResponse, SpaceTurnAuthorFilter, SpaceTurnListItem, SpaceTurnsResponse, SpaceUsageHourlyStat, SpaceUsageResponse, SpaceUsageSummary, TaskRunDetailResponse, TaskRunRecord, UserProfile, UserRulesResponse, UserSessionListItem, UserSessionSpaceSummary, UserSessionsResponse, createHttpClient };
|
|
1
|
+
import { $ as CreateInvitationInput, $a as CompletionThinkingLevel, $n as SpaceFsPreparingFile, $t as ReferralListItem, A as BillingPluginStatus, An as SpaceCommerceFeatureBenefit, Ar as SpaceTurnAuthorFilter, At as MeResponse, B as BillingSubscriptionHistoryStatus, Bn as SpaceDefaultResponse, Br as UserActivityRankings, Bt as PublicUserProfile, C as BillingCreditStatus, Ca as BoardSequence, Cn as SpaceBootstrapStage, Cr as SpacePublicProfile, Ct as LabelItemsResponse, D as BillingDiscountPricing, Dn as SpaceCommerceBenefit, Dr as SpaceSandboxConfig, Dt as LabelResourceType, E as BillingDiscountOfferRef, Ea as BoardValidationResult, En as SpaceCheckpointDetailResponse, Er as SpaceSandboxAutoDestroyPolicy, Et as LabelRecord, F as BillingProductPricing, Fn as SpaceConfig, Fr as SpaceUsageSummary, Ft as PromptAccessMode, G as CheckpointDiffFileResponse, Ga as SessionForkRecord, Gn as SpaceFsCreateUploadInput, Gr as UserSessionSpaceSummary, Gt as ReferenceAggregateResponse, H as Channel, Ha as BoardRenderCost, Hn as SpaceFsCompleteUploadInput, Hr as UserProfile, Ht as PublicUserWorkItem, I as BillingPromotionCodePreview, In as SpaceConfigInput, Ir as TaskRunDetailResponse, It as PromptTemplateCatalogEntry, J as CheckpointDiffStats, Ja as SessionTurnRecord, Jn as SpaceFsEncoding, Jr as ChannelHealth, Jt as ReferenceQueryResponse, K as CheckpointDiffPatchKind, Ka as SessionTurnSegmentRecord, Kn as SpaceFsCreateUploadResponse, Kr as UserSessionsResponse, Kt as ReferenceDirection, L as BillingRedemptionResult, Ln as SpaceConfigResponse, Lr as TaskRunRecord, Lt as PromptTemplateCatalogResponse, M as BillingProductCreditBenefit, Mn as SpaceCommerceProduct, Mr as SpaceTurnsResponse, Mt as PatchResourceLabelsInput, N as BillingProductDisplay, Nn as SpaceCommerceProductBenefitBinding, Nr as SpaceUsageHourlyStat, Nt as PatchResourceLabelsResponse, O as BillingHistoryPagination, On as SpaceCommerceBuyerProfile, Or as SpaceSandboxProvider, Ot as LabelScopeType, P as BillingProductKind, Pn as SpaceCommerceProductCreditBenefit, Pr as SpaceUsageResponse, Pt as Permission, Q as ClaimReferralResponse, Qa as CompletionMessageRole, Qn as SpaceFsMoveInput, Qr as FeishuChannelConfig, Qt as ReferralDashboard, R as BillingResponsePayload, Rn as SpaceConfigUpdateResponse, Rr as UserActivityQuery, Rt as PublicReferral, S as BillingCreditGrantStatus, Sa as BoardRecord, Sn as SpaceBootstrapSource, Sr as SpacePresenceUser, St as LabelAssignmentRecord, T as BillingDiscountOffer, Ta as BoardTransaction, Tn as SpaceChannelBindingInput, Tr as SpaceRole, Tt as LabelListItem, U as CheckpointDiffDelivery, Un as SpaceFsCompleteUploadResponse, Ur as UserRulesResponse, Ut as ReferenceAggregateGroup, V as BillingSubscriptionSummary, Va as BoardCapability, Vn as SpaceEnvInput, Vr as UserActivityResponse, Vt as PublicUserSpaceItem, W as CheckpointDiffFile, Wa as MessageRecord, Wn as SpaceFsCreateDirectoryInput, Wr as UserSessionListItem, Wt as ReferenceAggregateGroupBy, X as CheckpointDiffSummary, Xa as CompletionAssistantMessage, Xn as SpaceFsFileKind, Xr as ChannelRuntimeState, Xt as ReferenceRecord, Y as CheckpointDiffStatus, Yn as SpaceFsEntry, Yr as ChannelHealthReasonCode, Yt as ReferenceQueryableType, Z as CheckpointRecord, Za as CompletionMessage, Zn as SpaceFsFileResponse, Zr as DiscordChannelConfig, Zt as ReferenceResourceType, _ as BillingCatalogProduct, _a as BoardOperation, _n as SkillCatalogResponse, _r as SpaceMeta, _t as JsonObject, aa as BoardBootstrap, an as SessionBindingRecord, ar as SpaceFsUploadEntry, at as CreateSpaceSessionInput, b as BillingConversionIntent, bn as SpaceAccessPolicy, br as SpacePendingDiffSummary, bt as LabelAssignmentListItem, ca as BoardCreateInput, cn as SessionMessagesResponse, cr as SpaceFsUploadPlanEntryInput, ct as CronJobUpdatePatch, d as BatchUserProfilesResponse, da as BoardEffect, di as GenerationContentBlock, dn as SessionTurnResponse, dr as SpaceFsWriteFileInput, dt as GenerationUsageHourlyStat, en as ReferralReward, eo as CompletionUsage, er as SpaceFsReadFilesError, et as CreateInvitationResponse, f as BillingBalanceActivity, fa as BoardInspectInput, fn as SessionTurnSignedUrlsResponse, fr as SpaceInvitation, ft as GenerationUsageSummary, g as BillingCatalog, ga as BoardNodeRecord, gn as SkillCatalogEntry, gr as SpaceMember, gt as InvitationDetail, h as BillingBalanceActivityStatus, ha as BoardNodeInput, hn as SessionTurnsPaginatedResponse, hr as SpaceListItem, ht as GlobalSearchType, ia as BoardAssetRef, in as SendMessageCronJobPayload, io as SpaceCompletionStreamEvent, ir as SpaceFsUploadDestination, it as CreateSpacePromptResponse, j as BillingProductBillingInterval, jn as SpaceCommerceOrder, jr as SpaceTurnListItem, jt as ModelCatalogEntry, k as BillingPaymentStatus, kn as SpaceCommerceCreditsBenefit, kr as SpaceSessionsResponse, kt as LabelSource, l as AcceptInvitationResponse, la as BoardDeleteReason, ln as SessionRecord, lr as SpaceFsUploadProgress, lt as CursorPageInfo, m as BillingBalanceActivityList, ma as BoardManifest, mn as SessionTurnWindowResponse, mr as SpaceInvitationLocation, mt as GlobalSearchResult, nn as ResourceLabelsResponse, no as ModelThinkingLevel, nr as SpaceFsReadFilesResponse, nt as CreateSpaceModInput, oa as BoardCapabilities, on as SessionMessageResponse, or as SpaceFsUploadError, ot as CronJobPayload, p as BillingBalanceActivityKind, pa as BoardKeyframe, pi as GenerationResult, pn as SessionTurnStreamSnapshotResponse, pr as SpaceInvitationListResponse, pt as GlobalSearchResponse, q as CheckpointDiffPatchLine, qa as SessionTurnIndexItem, qn as SpaceFsDeleteNodeInput, qr as ChannelConfig, qt as ReferenceKind, rn as SandboxSpecId, ro as SpaceCompletionResult, rr as SpaceFsTreeResponse, rt as CreateSpacePromptInput, sa as BoardClip, sn as SessionMessagesPaginatedResponse, so as ContentBlock, sr as SpaceFsUploadPlanEntry, st as CronJobRecord, ti as GenerationPolicy, tn as ReferralStatus, to as CreateSpaceCompletionInput, tr as SpaceFsReadFilesInput, tt as CreateSpaceInput, u as ApiError, ua as BoardDiagnostic, un as SessionTurnIndexResponse, ur as SpaceFsUploadResponse, ut as GenerationUsageBlock, v as BillingCheckoutActionState, va as BoardPlaybackCommand, vn as SkillCatalogSource, vr as SpaceModListItem, vt as JsonPrimitive, w as BillingCreditUnit, wa as BoardTarget, wn as SpaceBootstrapStatus, wr as SpaceRecord, wt as LabelItemsSessionFork, x as BillingCreditExpiryGroup, xa as BoardPlaybackSnapshot, xn as SpaceBootstrapMeta, xr as SpacePresenceSnapshot, xt as LabelAssignmentPageInfo, y as BillingCheckoutResult, ya as BoardPlaybackPolicy, yn as SpaceAccess, yr as SpacePendingDiffFileResponse, yt as JsonValue, z as BillingSubscriptionHistoryList, zn as SpaceCreateResponse, zr as UserActivityRange, zt as PublicUserPageResponse } from "./chunks/websocket.js";
|
|
2
|
+
import { An as GenerationUsageBilling, Dn as CreateGenerationTaskRequest, En as SpaceStartupResponse, Mn as PublicGenerationDeclaration, Nn as ModelStatusEntry, On as CreateGenerationTaskResponse, Pn as ModelStatusResponse, Qt as HttpError, Xt as CohubClientOptions, Zt as Fetch, en as HttpTransport, jn as ListGenerationModelsResponse, kn as GenerationTaskResult, n as createHttpClient, t as CohubHttpClient } from "./chunks/http.js";
|
|
3
|
+
export { AcceptInvitationResponse, ApiError, BatchUserProfilesResponse, BillingBalanceActivity, BillingBalanceActivityKind, BillingBalanceActivityList, BillingBalanceActivityStatus, BillingCatalog, BillingCatalogProduct, BillingCheckoutActionState, BillingCheckoutResult, BillingConversionIntent, BillingCreditExpiryGroup, BillingCreditGrantStatus, BillingCreditStatus, BillingCreditUnit, BillingDiscountOffer, BillingDiscountOfferRef, BillingDiscountPricing, BillingHistoryPagination, BillingPaymentStatus, BillingPluginStatus, BillingProductBillingInterval, BillingProductCreditBenefit, BillingProductDisplay, BillingProductKind, BillingProductPricing, BillingPromotionCodePreview, BillingRedemptionResult, BillingResponsePayload, BillingSubscriptionHistoryList, BillingSubscriptionHistoryStatus, BillingSubscriptionSummary, type BoardAssetRef, type BoardBootstrap, type BoardCapabilities, type BoardCapability, type BoardClip, type BoardCreateInput, type BoardDeleteReason, type BoardDiagnostic, type BoardEffect, type BoardInspectInput, type BoardKeyframe, type BoardManifest, type BoardNodeInput, type BoardNodeRecord, type BoardOperation, type BoardPlaybackCommand, type BoardPlaybackPolicy, type BoardPlaybackSnapshot, type BoardRecord, type BoardRenderCost, type BoardSequence, type BoardTarget, type BoardTransaction, type BoardValidationResult, Channel, type ChannelConfig, type ChannelHealth, type ChannelHealthReasonCode, type ChannelRuntimeState, CheckpointDiffDelivery, CheckpointDiffFile, CheckpointDiffFileResponse, CheckpointDiffPatchKind, CheckpointDiffPatchLine, CheckpointDiffStats, CheckpointDiffStatus, CheckpointDiffSummary, CheckpointRecord, ClaimReferralResponse, type CohubClientOptions, CohubHttpClient, type CompletionAssistantMessage, type CompletionMessage, type CompletionMessageRole, type CompletionThinkingLevel, type CompletionUsage, type ContentBlock, type CreateGenerationTaskRequest, type CreateGenerationTaskResponse, CreateInvitationInput, CreateInvitationResponse, type CreateSpaceCompletionInput, CreateSpaceInput, CreateSpaceModInput, CreateSpacePromptInput, CreateSpacePromptResponse, CreateSpaceSessionInput, CronJobPayload, CronJobRecord, CronJobUpdatePatch, CursorPageInfo, type DiscordChannelConfig, type FeishuChannelConfig, type Fetch, type GenerationContentBlock, type GenerationPolicy, type GenerationResult, type GenerationTaskResult, type GenerationUsageBilling, GenerationUsageBlock, GenerationUsageHourlyStat, GenerationUsageSummary, GlobalSearchResponse, GlobalSearchResult, GlobalSearchType, HttpError, HttpTransport, InvitationDetail, JsonObject, JsonPrimitive, JsonValue, LabelAssignmentListItem, LabelAssignmentPageInfo, LabelAssignmentRecord, LabelItemsResponse, LabelItemsSessionFork, LabelListItem, LabelRecord, LabelResourceType, LabelScopeType, LabelSource, type ListGenerationModelsResponse, MeResponse, type MessageRecord, ModelCatalogEntry, type ModelStatusEntry, type ModelStatusResponse, type ModelThinkingLevel, PatchResourceLabelsInput, PatchResourceLabelsResponse, Permission, PromptAccessMode, PromptTemplateCatalogEntry, PromptTemplateCatalogResponse, type PublicGenerationDeclaration, PublicReferral, PublicUserPageResponse, PublicUserProfile, PublicUserSpaceItem, PublicUserWorkItem, ReferenceAggregateGroup, ReferenceAggregateGroupBy, ReferenceAggregateResponse, ReferenceDirection, ReferenceKind, ReferenceQueryResponse, ReferenceQueryableType, ReferenceRecord, ReferenceResourceType, ReferralDashboard, ReferralListItem, ReferralReward, ReferralStatus, ResourceLabelsResponse, SandboxSpecId, SendMessageCronJobPayload, SessionBindingRecord, type SessionForkRecord, SessionMessageResponse, SessionMessagesPaginatedResponse, SessionMessagesResponse, SessionRecord, type SessionTurnIndexItem, SessionTurnIndexResponse, type SessionTurnRecord, SessionTurnResponse, type SessionTurnSegmentRecord, SessionTurnSignedUrlsResponse, SessionTurnStreamSnapshotResponse, SessionTurnWindowResponse, SessionTurnsPaginatedResponse, SkillCatalogEntry, SkillCatalogResponse, SkillCatalogSource, SpaceAccess, SpaceAccessPolicy, SpaceBootstrapMeta, SpaceBootstrapSource, SpaceBootstrapStage, SpaceBootstrapStatus, SpaceChannelBindingInput, SpaceCheckpointDetailResponse, SpaceCommerceBenefit, SpaceCommerceBuyerProfile, SpaceCommerceCreditsBenefit, SpaceCommerceFeatureBenefit, SpaceCommerceOrder, SpaceCommerceProduct, SpaceCommerceProductBenefitBinding, SpaceCommerceProductCreditBenefit, type SpaceCompletionResult, type SpaceCompletionStreamEvent, SpaceConfig, SpaceConfigInput, SpaceConfigResponse, SpaceConfigUpdateResponse, SpaceCreateResponse, SpaceDefaultResponse, SpaceEnvInput, SpaceFsCompleteUploadInput, SpaceFsCompleteUploadResponse, SpaceFsCreateDirectoryInput, SpaceFsCreateUploadInput, SpaceFsCreateUploadResponse, SpaceFsDeleteNodeInput, SpaceFsEncoding, SpaceFsEntry, SpaceFsFileKind, SpaceFsFileResponse, SpaceFsMoveInput, SpaceFsPreparingFile, SpaceFsReadFilesError, SpaceFsReadFilesInput, SpaceFsReadFilesResponse, SpaceFsTreeResponse, SpaceFsUploadDestination, SpaceFsUploadEntry, SpaceFsUploadError, SpaceFsUploadPlanEntry, SpaceFsUploadPlanEntryInput, SpaceFsUploadProgress, SpaceFsUploadResponse, SpaceFsWriteFileInput, SpaceInvitation, SpaceInvitationListResponse, SpaceInvitationLocation, SpaceListItem, SpaceMember, SpaceMeta, SpaceModListItem, SpacePendingDiffFileResponse, SpacePendingDiffSummary, SpacePresenceSnapshot, SpacePresenceUser, SpacePublicProfile, SpaceRecord, SpaceRole, SpaceSandboxAutoDestroyPolicy, SpaceSandboxConfig, SpaceSandboxProvider, SpaceSessionsResponse, type SpaceStartupResponse, SpaceTurnAuthorFilter, SpaceTurnListItem, SpaceTurnsResponse, SpaceUsageHourlyStat, SpaceUsageResponse, SpaceUsageSummary, TaskRunDetailResponse, TaskRunRecord, UserActivityQuery, UserActivityRange, UserActivityRankings, UserActivityResponse, UserProfile, UserRulesResponse, UserSessionListItem, UserSessionSpaceSummary, UserSessionsResponse, createHttpClient };
|