@neta-art/cohub 11.0.0 → 11.2.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.
Files changed (115) hide show
  1. package/README.md +31 -5
  2. package/dist/board/editor/context.d.ts +1 -0
  3. package/dist/board/editor/context.js +1 -0
  4. package/dist/board/editor/creation.d.ts +2 -2
  5. package/dist/board/editor/creation.js +3 -3
  6. package/dist/board/editor/editor.d.ts +5 -4
  7. package/dist/board/editor/editor.js +8 -1
  8. package/dist/board/editor/index.d.ts +2 -2
  9. package/dist/board/editor/interaction.d.ts +12 -2
  10. package/dist/board/editor/interaction.js +50 -8
  11. package/dist/board/editor/selection-transform.d.ts +1 -1
  12. package/dist/board/editor/selection-transform.js +13 -2
  13. package/dist/board/editor/snapshots.d.ts +0 -2
  14. package/dist/board/editor/snapshots.js +4 -20
  15. package/dist/board/export/index.d.ts +2 -0
  16. package/dist/board/export/index.js +1 -0
  17. package/dist/board/export/scene.d.ts +2 -0
  18. package/dist/board/export/scene.js +8 -1
  19. package/dist/board/model/file-preview.d.ts +0 -1
  20. package/dist/board/model/file-preview.js +10 -1
  21. package/dist/board/model/image-key.js +1 -1
  22. package/dist/board/model/index.d.ts +8 -7
  23. package/dist/board/model/index.js +6 -5
  24. package/dist/board/model/items/create.d.ts +16 -3
  25. package/dist/board/model/items/create.js +125 -5
  26. package/dist/board/model/items/index.d.ts +2 -2
  27. package/dist/board/model/items/index.js +2 -2
  28. package/dist/board/model/media-playback.js +1 -1
  29. package/dist/board/model/overlay-placement.d.ts +25 -0
  30. package/dist/board/model/overlay-placement.js +35 -0
  31. package/dist/board/model/replay.d.ts +1 -1
  32. package/dist/board/model/replay.js +1 -0
  33. package/dist/board/model/script-hit.d.ts +20 -3
  34. package/dist/board/model/script-hit.js +81 -24
  35. package/dist/board/model/script-observers.d.ts +18 -0
  36. package/dist/board/model/script-observers.js +92 -0
  37. package/dist/board/model/script-scene.d.ts +1 -1
  38. package/dist/board/model/script-scene.js +35 -8
  39. package/dist/board/model/script.d.ts +51 -7
  40. package/dist/board/render/audio-waveform.d.ts +1 -1
  41. package/dist/board/render/audio-waveform.js +8 -5
  42. package/dist/board/render/board-background.js +5 -4
  43. package/dist/board/render/card-tag.d.ts +24 -0
  44. package/dist/board/render/card-tag.js +205 -0
  45. package/dist/board/render/index.d.ts +8 -5
  46. package/dist/board/render/index.js +8 -5
  47. package/dist/board/render/media-interaction.d.ts +2 -1
  48. package/dist/board/render/media-interaction.js +15 -7
  49. package/dist/board/render/palette.js +2 -2
  50. package/dist/board/render/renderers/arrow-card-renderer.js +20 -16
  51. package/dist/board/render/renderers/audio-card-renderer.d.ts +8 -1
  52. package/dist/board/render/renderers/audio-card-renderer.js +64 -60
  53. package/dist/board/render/renderers/base-card-renderer.d.ts +1 -26
  54. package/dist/board/render/renderers/base-card-renderer.js +6 -92
  55. package/dist/board/render/renderers/board-renderer-registry.d.ts +25 -2
  56. package/dist/board/render/renderers/board-renderer-registry.js +11 -4
  57. package/dist/board/render/renderers/custom-card-renderer.js +6 -8
  58. package/dist/board/render/renderers/effect-card-renderer.js +0 -5
  59. package/dist/board/render/renderers/file-card-renderer.d.ts +1 -11
  60. package/dist/board/render/renderers/file-card-renderer.js +43 -105
  61. package/dist/board/render/renderers/frame-card-renderer.js +14 -15
  62. package/dist/board/render/renderers/image-card-renderer.js +62 -67
  63. package/dist/board/render/renderers/media-key.d.ts +6 -0
  64. package/dist/board/render/renderers/media-key.js +39 -0
  65. package/dist/board/render/renderers/shape-card-renderer.js +6 -12
  66. package/dist/board/render/renderers/task-card-renderer.d.ts +1 -8
  67. package/dist/board/render/renderers/task-card-renderer.js +286 -111
  68. package/dist/board/render/renderers/unknown-card-renderer.js +17 -16
  69. package/dist/board/render/renderers/video-card-renderer.js +73 -80
  70. package/dist/board/render/script-host.d.ts +1 -1
  71. package/dist/board/render/script-host.js +53 -28
  72. package/dist/board/render/script-runtime.js +13 -3
  73. package/dist/board/render/script-texture.d.ts +11 -0
  74. package/dist/board/render/script-texture.js +33 -0
  75. package/dist/board/render/stroke.d.ts +1 -1
  76. package/dist/board/render/stroke.js +5 -4
  77. package/dist/board/render/style.d.ts +29 -0
  78. package/dist/board/render/style.js +54 -0
  79. package/dist/board/render/surface.d.ts +34 -0
  80. package/dist/board/render/surface.js +132 -0
  81. package/dist/board/render/text-fit.d.ts +8 -0
  82. package/dist/board/render/text-fit.js +60 -0
  83. package/dist/board/render/text-resolution.d.ts +2 -1
  84. package/dist/board/render/text-resolution.js +4 -1
  85. package/dist/board/stage/assets.js +1 -1
  86. package/dist/board/stage/index.d.ts +3 -2
  87. package/dist/board/stage/index.js +2 -1
  88. package/dist/board/stage/overlay.d.ts +41 -0
  89. package/dist/board/stage/overlay.js +182 -0
  90. package/dist/board/stage/scene.d.ts +4 -43
  91. package/dist/board/stage/scene.js +38 -130
  92. package/dist/board/stage/script-pointer.d.ts +1 -0
  93. package/dist/board/stage/script-pointer.js +8 -2
  94. package/dist/board/stage/stage.d.ts +13 -3
  95. package/dist/board/stage/stage.js +217 -53
  96. package/dist/chunks/environment.d.ts +1037 -8
  97. package/dist/chunks/environment.js +12 -4
  98. package/dist/chunks/http.d.ts +51 -2
  99. package/dist/chunks/http.js +10 -1
  100. package/dist/chunks/transport.js +1 -1
  101. package/dist/chunks/websocket.d.ts +1 -1
  102. package/dist/http.d.ts +3 -3
  103. package/dist/index.d.ts +3 -3
  104. package/dist/index.js +151 -139
  105. package/dist/protocol/dist/board-model.d.ts +36 -1
  106. package/dist/protocol/dist/board-model.js +14 -4
  107. package/dist/protocol/dist/board-task.d.ts +22 -0
  108. package/dist/{board/model/task.js → protocol/dist/board-task.js} +34 -7
  109. package/dist/protocol/dist/generation/blocks.d.ts +8 -0
  110. package/dist/{generation-blocks.js → protocol/dist/generation/blocks.js} +14 -15
  111. package/dist/protocol/dist/index.d.ts +5 -2
  112. package/dist/protocol/dist/task/index.d.ts +4 -0
  113. package/package.json +2 -1
  114. package/dist/board/model/task.d.ts +0 -11
  115. package/dist/types.d.ts +0 -36
@@ -1,5 +1,6 @@
1
1
  import "./host-bridge.js";
2
2
  import { z } from "zod";
3
+ import "zod/v4";
3
4
  //#region ../protocol/dist/provenance.d.ts
4
5
  /** Request provenance via X-Cohub-Source-* headers. Never used for authorization. */
5
6
  declare const COHUB_SOURCE_HEADER: {
@@ -1023,6 +1024,10 @@ declare const BoardImageItemSchema: z.ZodObject<{
1023
1024
  coverPath: z.ZodOptional<z.ZodString>;
1024
1025
  coverUrl: z.ZodOptional<z.ZodString>;
1025
1026
  }, z.core.$strict>>;
1027
+ origin: z.ZodOptional<z.ZodObject<{
1028
+ taskRunId: z.ZodString;
1029
+ artifactId: z.ZodString;
1030
+ }, z.core.$strict>>;
1026
1031
  crop: z.ZodOptional<z.ZodObject<{
1027
1032
  x: z.ZodNumber;
1028
1033
  y: z.ZodNumber;
@@ -1095,6 +1100,10 @@ declare const BoardVideoItemSchema: z.ZodObject<{
1095
1100
  coverPath: z.ZodOptional<z.ZodString>;
1096
1101
  coverUrl: z.ZodOptional<z.ZodString>;
1097
1102
  }, z.core.$strict>>;
1103
+ origin: z.ZodOptional<z.ZodObject<{
1104
+ taskRunId: z.ZodString;
1105
+ artifactId: z.ZodString;
1106
+ }, z.core.$strict>>;
1098
1107
  time: z.ZodOptional<z.ZodNumber>;
1099
1108
  }, z.core.$strict>;
1100
1109
  }, z.core.$strict>;
@@ -1162,6 +1171,10 @@ declare const BoardAudioItemSchema: z.ZodObject<{
1162
1171
  coverPath: z.ZodOptional<z.ZodString>;
1163
1172
  coverUrl: z.ZodOptional<z.ZodString>;
1164
1173
  }, z.core.$strict>>;
1174
+ origin: z.ZodOptional<z.ZodObject<{
1175
+ taskRunId: z.ZodString;
1176
+ artifactId: z.ZodString;
1177
+ }, z.core.$strict>>;
1165
1178
  time: z.ZodOptional<z.ZodNumber>;
1166
1179
  }, z.core.$strict>;
1167
1180
  }, z.core.$strict>;
@@ -1294,6 +1307,7 @@ declare const BoardTaskItemSchema: z.ZodObject<{
1294
1307
  title: z.ZodString;
1295
1308
  model: z.ZodOptional<z.ZodString>;
1296
1309
  promptExcerpt: z.ZodOptional<z.ZodString>;
1310
+ errorExcerpt: z.ZodOptional<z.ZodString>;
1297
1311
  artifactCount: z.ZodNumber;
1298
1312
  artifacts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1299
1313
  id: z.ZodString;
@@ -1327,6 +1341,7 @@ declare const BoardTaskItemSchema: z.ZodObject<{
1327
1341
  title: z.ZodOptional<z.ZodString>;
1328
1342
  textExcerpt: z.ZodString;
1329
1343
  }, z.core.$strict>], "type">>>;
1344
+ startedAt: z.ZodOptional<z.ZodString>;
1330
1345
  updatedAt: z.ZodOptional<z.ZodString>;
1331
1346
  }, z.core.$strict>;
1332
1347
  }, z.core.$strict>;
@@ -1916,6 +1931,10 @@ declare const BOARD_ITEM_SCHEMAS: {
1916
1931
  coverPath: z.ZodOptional<z.ZodString>;
1917
1932
  coverUrl: z.ZodOptional<z.ZodString>;
1918
1933
  }, z.core.$strict>>;
1934
+ origin: z.ZodOptional<z.ZodObject<{
1935
+ taskRunId: z.ZodString;
1936
+ artifactId: z.ZodString;
1937
+ }, z.core.$strict>>;
1919
1938
  crop: z.ZodOptional<z.ZodObject<{
1920
1939
  x: z.ZodNumber;
1921
1940
  y: z.ZodNumber;
@@ -1988,6 +2007,10 @@ declare const BOARD_ITEM_SCHEMAS: {
1988
2007
  coverPath: z.ZodOptional<z.ZodString>;
1989
2008
  coverUrl: z.ZodOptional<z.ZodString>;
1990
2009
  }, z.core.$strict>>;
2010
+ origin: z.ZodOptional<z.ZodObject<{
2011
+ taskRunId: z.ZodString;
2012
+ artifactId: z.ZodString;
2013
+ }, z.core.$strict>>;
1991
2014
  time: z.ZodOptional<z.ZodNumber>;
1992
2015
  }, z.core.$strict>;
1993
2016
  }, z.core.$strict>;
@@ -2055,6 +2078,10 @@ declare const BOARD_ITEM_SCHEMAS: {
2055
2078
  coverPath: z.ZodOptional<z.ZodString>;
2056
2079
  coverUrl: z.ZodOptional<z.ZodString>;
2057
2080
  }, z.core.$strict>>;
2081
+ origin: z.ZodOptional<z.ZodObject<{
2082
+ taskRunId: z.ZodString;
2083
+ artifactId: z.ZodString;
2084
+ }, z.core.$strict>>;
2058
2085
  time: z.ZodOptional<z.ZodNumber>;
2059
2086
  }, z.core.$strict>;
2060
2087
  }, z.core.$strict>;
@@ -2187,6 +2214,7 @@ declare const BOARD_ITEM_SCHEMAS: {
2187
2214
  title: z.ZodString;
2188
2215
  model: z.ZodOptional<z.ZodString>;
2189
2216
  promptExcerpt: z.ZodOptional<z.ZodString>;
2217
+ errorExcerpt: z.ZodOptional<z.ZodString>;
2190
2218
  artifactCount: z.ZodNumber;
2191
2219
  artifacts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2192
2220
  id: z.ZodString;
@@ -2220,6 +2248,7 @@ declare const BOARD_ITEM_SCHEMAS: {
2220
2248
  title: z.ZodOptional<z.ZodString>;
2221
2249
  textExcerpt: z.ZodString;
2222
2250
  }, z.core.$strict>], "type">>>;
2251
+ startedAt: z.ZodOptional<z.ZodString>;
2223
2252
  updatedAt: z.ZodOptional<z.ZodString>;
2224
2253
  }, z.core.$strict>;
2225
2254
  }, z.core.$strict>;
@@ -2705,6 +2734,14 @@ declare function parseBoardDocument(input: unknown): {
2705
2734
  diagnostics: BoardDiagnostic[];
2706
2735
  };
2707
2736
  //#endregion
2737
+ //#region ../protocol/dist/task/index.d.ts
2738
+ type TaskRunStatus = "pending" | "running" | "completed" | "failed";
2739
+ type TaskRunBoard = {
2740
+ boardId: string;
2741
+ title?: string;
2742
+ itemIds: string[];
2743
+ };
2744
+ //#endregion
2708
2745
  //#region ../protocol/dist/realtime/board-awareness.d.ts
2709
2746
  declare const BoardAwarenessItemPreviewSchema: z.ZodObject<{
2710
2747
  itemId: z.ZodString;
@@ -2952,9 +2989,6 @@ type BoardAwarenessStateUpdate = z.infer<typeof BoardAwarenessStateUpdateSchema>
2952
2989
  type BoardAwarenessGesture = z.infer<typeof BoardAwarenessGestureSchema>;
2953
2990
  type BoardAwarenessUpdate = z.infer<typeof BoardAwarenessUpdateSchema>;
2954
2991
  //#endregion
2955
- //#region ../protocol/dist/task/index.d.ts
2956
- type TaskRunStatus = "pending" | "running" | "completed" | "failed";
2957
- //#endregion
2958
2992
  //#region ../protocol/dist/fs/index.d.ts
2959
2993
  type SpaceFsChange = {
2960
2994
  path?: string;
@@ -3969,10 +4003,993 @@ type RealtimeServerEvent = SystemReadyEvent | SystemAuthOkEvent | SystemRequestE
3969
4003
  //#region ../protocol/dist/search/text-match.d.ts
3970
4004
  type SearchTextRange = [start: number, end: number];
3971
4005
  //#endregion
3972
- //#region ../../node_modules/.pnpm/@neta-art+generation@0.1.33/node_modules/@neta-art/generation/dist/builtins-jIE_k69Z.d.ts
4006
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/types/unrecognized.d.ts
4007
+ declare const __brand: unique symbol;
4008
+ type Unrecognized<T> = T & {
4009
+ [__brand]: "unrecognized";
4010
+ };
4011
+ //#endregion
4012
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/types/enums.d.ts
4013
+ type OpenEnum<T extends Readonly<Record<string, string | number>>> = T[keyof T] | Unrecognized<T[keyof T] extends number ? number : string>;
4014
+ //#endregion
4015
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/providername.d.ts
4016
+ declare const ProviderName: {
4017
+ readonly Modal: "Modal";
4018
+ readonly AkashML: "AkashML";
4019
+ readonly Ai21: "AI21";
4020
+ readonly AionLabs: "AionLabs";
4021
+ readonly Alibaba: "Alibaba";
4022
+ readonly Ambient: "Ambient";
4023
+ readonly Baidu: "Baidu";
4024
+ readonly AmazonBedrock: "Amazon Bedrock";
4025
+ readonly AmazonNova: "Amazon Nova";
4026
+ readonly Anthropic: "Anthropic";
4027
+ readonly ArceeAI: "Arcee AI";
4028
+ readonly AssemblyAI: "AssemblyAI";
4029
+ readonly AtlasCloud: "AtlasCloud";
4030
+ readonly Avian: "Avian";
4031
+ readonly Azure: "Azure";
4032
+ readonly BaseTen: "BaseTen";
4033
+ readonly BytePlus: "BytePlus";
4034
+ readonly BlackForestLabs: "Black Forest Labs";
4035
+ readonly Cerebras: "Cerebras";
4036
+ readonly Chutes: "Chutes";
4037
+ readonly Cirrascale: "Cirrascale";
4038
+ readonly ClaudePlatformOnAWS: "Claude Platform on AWS";
4039
+ readonly Clarifai: "Clarifai";
4040
+ readonly Cloudflare: "Cloudflare";
4041
+ readonly Cohere: "Cohere";
4042
+ readonly CoreWeave: "CoreWeave";
4043
+ readonly Cosine: "Cosine";
4044
+ readonly Crucible: "Crucible";
4045
+ readonly Crusoe: "Crusoe";
4046
+ readonly Darkbloom: "Darkbloom";
4047
+ readonly Databricks: "Databricks";
4048
+ readonly Decart: "Decart";
4049
+ readonly Deepgram: "Deepgram";
4050
+ readonly DeepInfra: "DeepInfra";
4051
+ readonly DeepSeek: "DeepSeek";
4052
+ readonly DekaLLM: "DekaLLM";
4053
+ readonly DigitalOcean: "DigitalOcean";
4054
+ readonly ElevenLabs: "ElevenLabs";
4055
+ readonly Featherless: "Featherless";
4056
+ readonly Fireworks: "Fireworks";
4057
+ readonly FishAudio: "Fish Audio";
4058
+ readonly Friendli: "Friendli";
4059
+ readonly GMICloud: "GMICloud";
4060
+ readonly Google: "Google";
4061
+ readonly GoogleAIStudio: "Google AI Studio";
4062
+ readonly Groq: "Groq";
4063
+ readonly HeyGen: "HeyGen";
4064
+ readonly Inception: "Inception";
4065
+ readonly Inceptron: "Inceptron";
4066
+ readonly InferenceNet: "InferenceNet";
4067
+ readonly Ionstream: "Ionstream";
4068
+ readonly Infermatic: "Infermatic";
4069
+ readonly IoNet: "Io Net";
4070
+ readonly InferactVLLM: "Inferact vLLM";
4071
+ readonly Inflection: "Inflection";
4072
+ readonly Liquid: "Liquid";
4073
+ readonly Makora: "Makora";
4074
+ readonly Mara: "Mara";
4075
+ readonly Mancer2: "Mancer 2";
4076
+ readonly Meta: "Meta";
4077
+ readonly Minimax: "Minimax";
4078
+ readonly ModelRun: "ModelRun";
4079
+ readonly Mistral: "Mistral";
4080
+ readonly Modular: "Modular";
4081
+ readonly MoonshotAI: "Moonshot AI";
4082
+ readonly Morph: "Morph";
4083
+ readonly VoyageAIByMongoDB: "VoyageAI by MongoDB";
4084
+ readonly TypeSafe: "TypeSafe";
4085
+ readonly NearAI: "Near AI";
4086
+ readonly Nebius: "Nebius";
4087
+ readonly NexAGI: "Nex AGI";
4088
+ readonly NextBit: "NextBit";
4089
+ readonly Novita: "Novita";
4090
+ readonly Nvidia: "Nvidia";
4091
+ readonly Ollama: "Ollama";
4092
+ readonly OpenAI: "OpenAI";
4093
+ readonly OpenInference: "OpenInference";
4094
+ readonly Parasail: "Parasail";
4095
+ readonly Poolside: "Poolside";
4096
+ readonly PrimeIntellect: "PrimeIntellect";
4097
+ readonly Perceptron: "Perceptron";
4098
+ readonly Perplexity: "Perplexity";
4099
+ readonly Phala: "Phala";
4100
+ readonly Recraft: "Recraft";
4101
+ readonly Reka: "Reka";
4102
+ readonly Relace: "Relace";
4103
+ readonly Respan: "Respan";
4104
+ readonly SailResearch: "Sail Research";
4105
+ readonly SakanaAI: "Sakana AI";
4106
+ readonly SambaNova: "SambaNova";
4107
+ readonly ScaleDown: "ScaleDown";
4108
+ readonly Seed: "Seed";
4109
+ readonly SiliconFlow: "SiliconFlow";
4110
+ readonly Sourceful: "Sourceful";
4111
+ readonly StepFun: "StepFun";
4112
+ readonly Stealth: "Stealth";
4113
+ readonly StreamLake: "StreamLake";
4114
+ readonly Switchpoint: "Switchpoint";
4115
+ readonly Tencent: "Tencent";
4116
+ readonly Tenstorrent: "Tenstorrent";
4117
+ readonly ThinkingMachines: "Thinking Machines";
4118
+ readonly Together: "Together";
4119
+ readonly Unbiased: "Unbiased";
4120
+ readonly Upstage: "Upstage";
4121
+ readonly Venice: "Venice";
4122
+ readonly Wafer: "Wafer";
4123
+ readonly WandB: "WandB";
4124
+ readonly Quiver: "Quiver";
4125
+ readonly Krea: "Krea";
4126
+ readonly Runway: "Runway";
4127
+ readonly Xiaomi: "Xiaomi";
4128
+ readonly XAI: "xAI";
4129
+ readonly ZAi: "Z.AI";
4130
+ readonly FakeProvider: "FakeProvider";
4131
+ };
4132
+ type ProviderName = OpenEnum<typeof ProviderName>;
4133
+ //#endregion
4134
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/percentilelatencycutoffs.d.ts
4135
+ /**
4136
+ * Percentile-based latency cutoffs. All specified cutoffs must be met for an endpoint to be preferred.
4137
+ */
4138
+ type PercentileLatencyCutoffs = {
4139
+ /**
4140
+ * Maximum p50 latency (seconds)
4141
+ */
4142
+ p50?: number | null | undefined;
4143
+ /**
4144
+ * Maximum p75 latency (seconds)
4145
+ */
4146
+ p75?: number | null | undefined;
4147
+ /**
4148
+ * Maximum p90 latency (seconds)
4149
+ */
4150
+ p90?: number | null | undefined;
4151
+ /**
4152
+ * Maximum p99 latency (seconds)
4153
+ */
4154
+ p99?: number | null | undefined;
4155
+ };
4156
+ //#endregion
4157
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/preferredmaxlatency.d.ts
4158
+ /**
4159
+ * Preferred maximum latency (in seconds). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints above the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
4160
+ */
4161
+ type PreferredMaxLatency = number | PercentileLatencyCutoffs;
4162
+ //#endregion
4163
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/percentilethroughputcutoffs.d.ts
4164
+ /**
4165
+ * Percentile-based throughput cutoffs. All specified cutoffs must be met for an endpoint to be preferred.
4166
+ */
4167
+ type PercentileThroughputCutoffs = {
4168
+ /**
4169
+ * Minimum p50 throughput (tokens/sec)
4170
+ */
4171
+ p50?: number | null | undefined;
4172
+ /**
4173
+ * Minimum p75 throughput (tokens/sec)
4174
+ */
4175
+ p75?: number | null | undefined;
4176
+ /**
4177
+ * Minimum p90 throughput (tokens/sec)
4178
+ */
4179
+ p90?: number | null | undefined;
4180
+ /**
4181
+ * Minimum p99 throughput (tokens/sec)
4182
+ */
4183
+ p99?: number | null | undefined;
4184
+ };
4185
+ //#endregion
4186
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/preferredminthroughput.d.ts
4187
+ /**
4188
+ * Preferred minimum throughput (in tokens per second). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints below the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
4189
+ */
4190
+ type PreferredMinThroughput = number | PercentileThroughputCutoffs;
4191
+ //#endregion
4192
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/provideroptions.d.ts
4193
+ /**
4194
+ * Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
4195
+ */
4196
+ type ProviderOptions = {
4197
+ oneai?: {
4198
+ [k: string]: any;
4199
+ } | undefined;
4200
+ ai21?: {
4201
+ [k: string]: any;
4202
+ } | undefined;
4203
+ aionLabs?: {
4204
+ [k: string]: any;
4205
+ } | undefined;
4206
+ akashml?: {
4207
+ [k: string]: any;
4208
+ } | undefined;
4209
+ alibaba?: {
4210
+ [k: string]: any;
4211
+ } | undefined;
4212
+ amazonBedrock?: {
4213
+ [k: string]: any;
4214
+ } | undefined;
4215
+ amazonBedrockClaudeOnAws?: {
4216
+ [k: string]: any;
4217
+ } | undefined;
4218
+ amazonNova?: {
4219
+ [k: string]: any;
4220
+ } | undefined;
4221
+ ambient?: {
4222
+ [k: string]: any;
4223
+ } | undefined;
4224
+ anthropic?: {
4225
+ [k: string]: any;
4226
+ } | undefined;
4227
+ anthropic2?: {
4228
+ [k: string]: any;
4229
+ } | undefined;
4230
+ anyscale?: {
4231
+ [k: string]: any;
4232
+ } | undefined;
4233
+ arceeAi?: {
4234
+ [k: string]: any;
4235
+ } | undefined;
4236
+ assemblyai?: {
4237
+ [k: string]: any;
4238
+ } | undefined;
4239
+ atlasCloud?: {
4240
+ [k: string]: any;
4241
+ } | undefined;
4242
+ atoma?: {
4243
+ [k: string]: any;
4244
+ } | undefined;
4245
+ avian?: {
4246
+ [k: string]: any;
4247
+ } | undefined;
4248
+ azure?: {
4249
+ [k: string]: any;
4250
+ } | undefined;
4251
+ baidu?: {
4252
+ [k: string]: any;
4253
+ } | undefined;
4254
+ baseten?: {
4255
+ [k: string]: any;
4256
+ } | undefined;
4257
+ blackForestLabs?: {
4258
+ [k: string]: any;
4259
+ } | undefined;
4260
+ byteplus?: {
4261
+ [k: string]: any;
4262
+ } | undefined;
4263
+ centml?: {
4264
+ [k: string]: any;
4265
+ } | undefined;
4266
+ cerebras?: {
4267
+ [k: string]: any;
4268
+ } | undefined;
4269
+ chutes?: {
4270
+ [k: string]: any;
4271
+ } | undefined;
4272
+ cirrascale?: {
4273
+ [k: string]: any;
4274
+ } | undefined;
4275
+ clarifai?: {
4276
+ [k: string]: any;
4277
+ } | undefined;
4278
+ claudeOnAws?: {
4279
+ [k: string]: any;
4280
+ } | undefined;
4281
+ cloudflare?: {
4282
+ [k: string]: any;
4283
+ } | undefined;
4284
+ cohere?: {
4285
+ [k: string]: any;
4286
+ } | undefined;
4287
+ coreweave?: {
4288
+ [k: string]: any;
4289
+ } | undefined;
4290
+ cosine?: {
4291
+ [k: string]: any;
4292
+ } | undefined;
4293
+ crofai?: {
4294
+ [k: string]: any;
4295
+ } | undefined;
4296
+ crucible?: {
4297
+ [k: string]: any;
4298
+ } | undefined;
4299
+ crusoe?: {
4300
+ [k: string]: any;
4301
+ } | undefined;
4302
+ darkbloom?: {
4303
+ [k: string]: any;
4304
+ } | undefined;
4305
+ databricks?: {
4306
+ [k: string]: any;
4307
+ } | undefined;
4308
+ decart?: {
4309
+ [k: string]: any;
4310
+ } | undefined;
4311
+ deepgram?: {
4312
+ [k: string]: any;
4313
+ } | undefined;
4314
+ deepinfra?: {
4315
+ [k: string]: any;
4316
+ } | undefined;
4317
+ deepseek?: {
4318
+ [k: string]: any;
4319
+ } | undefined;
4320
+ dekallm?: {
4321
+ [k: string]: any;
4322
+ } | undefined;
4323
+ digitalocean?: {
4324
+ [k: string]: any;
4325
+ } | undefined;
4326
+ elevenlabs?: {
4327
+ [k: string]: any;
4328
+ } | undefined;
4329
+ enfer?: {
4330
+ [k: string]: any;
4331
+ } | undefined;
4332
+ fakeProvider?: {
4333
+ [k: string]: any;
4334
+ } | undefined;
4335
+ featherless?: {
4336
+ [k: string]: any;
4337
+ } | undefined;
4338
+ fireworks?: {
4339
+ [k: string]: any;
4340
+ } | undefined;
4341
+ fishAudio?: {
4342
+ [k: string]: any;
4343
+ } | undefined;
4344
+ friendli?: {
4345
+ [k: string]: any;
4346
+ } | undefined;
4347
+ gmicloud?: {
4348
+ [k: string]: any;
4349
+ } | undefined;
4350
+ googleAiStudio?: {
4351
+ [k: string]: any;
4352
+ } | undefined;
4353
+ googleVertex?: {
4354
+ [k: string]: any;
4355
+ } | undefined;
4356
+ gopomelo?: {
4357
+ [k: string]: any;
4358
+ } | undefined;
4359
+ groq?: {
4360
+ [k: string]: any;
4361
+ } | undefined;
4362
+ heygen?: {
4363
+ [k: string]: any;
4364
+ } | undefined;
4365
+ huggingface?: {
4366
+ [k: string]: any;
4367
+ } | undefined;
4368
+ hyperbolic?: {
4369
+ [k: string]: any;
4370
+ } | undefined;
4371
+ hyperbolicQuantized?: {
4372
+ [k: string]: any;
4373
+ } | undefined;
4374
+ inception?: {
4375
+ [k: string]: any;
4376
+ } | undefined;
4377
+ inceptron?: {
4378
+ [k: string]: any;
4379
+ } | undefined;
4380
+ inferactVllm?: {
4381
+ [k: string]: any;
4382
+ } | undefined;
4383
+ inferenceNet?: {
4384
+ [k: string]: any;
4385
+ } | undefined;
4386
+ infermatic?: {
4387
+ [k: string]: any;
4388
+ } | undefined;
4389
+ inflection?: {
4390
+ [k: string]: any;
4391
+ } | undefined;
4392
+ inocloud?: {
4393
+ [k: string]: any;
4394
+ } | undefined;
4395
+ ioNet?: {
4396
+ [k: string]: any;
4397
+ } | undefined;
4398
+ ionstream?: {
4399
+ [k: string]: any;
4400
+ } | undefined;
4401
+ klusterai?: {
4402
+ [k: string]: any;
4403
+ } | undefined;
4404
+ krea?: {
4405
+ [k: string]: any;
4406
+ } | undefined;
4407
+ lambda?: {
4408
+ [k: string]: any;
4409
+ } | undefined;
4410
+ lepton?: {
4411
+ [k: string]: any;
4412
+ } | undefined;
4413
+ liquid?: {
4414
+ [k: string]: any;
4415
+ } | undefined;
4416
+ lynn?: {
4417
+ [k: string]: any;
4418
+ } | undefined;
4419
+ lynnPrivate?: {
4420
+ [k: string]: any;
4421
+ } | undefined;
4422
+ makora?: {
4423
+ [k: string]: any;
4424
+ } | undefined;
4425
+ mancer?: {
4426
+ [k: string]: any;
4427
+ } | undefined;
4428
+ mancerOld?: {
4429
+ [k: string]: any;
4430
+ } | undefined;
4431
+ mara?: {
4432
+ [k: string]: any;
4433
+ } | undefined;
4434
+ meta?: {
4435
+ [k: string]: any;
4436
+ } | undefined;
4437
+ minimax?: {
4438
+ [k: string]: any;
4439
+ } | undefined;
4440
+ mistral?: {
4441
+ [k: string]: any;
4442
+ } | undefined;
4443
+ modal?: {
4444
+ [k: string]: any;
4445
+ } | undefined;
4446
+ modelrun?: {
4447
+ [k: string]: any;
4448
+ } | undefined;
4449
+ modular?: {
4450
+ [k: string]: any;
4451
+ } | undefined;
4452
+ moonshotai?: {
4453
+ [k: string]: any;
4454
+ } | undefined;
4455
+ morph?: {
4456
+ [k: string]: any;
4457
+ } | undefined;
4458
+ ncompass?: {
4459
+ [k: string]: any;
4460
+ } | undefined;
4461
+ nearAi?: {
4462
+ [k: string]: any;
4463
+ } | undefined;
4464
+ nebius?: {
4465
+ [k: string]: any;
4466
+ } | undefined;
4467
+ nexAgi?: {
4468
+ [k: string]: any;
4469
+ } | undefined;
4470
+ nextbit?: {
4471
+ [k: string]: any;
4472
+ } | undefined;
4473
+ nineteen?: {
4474
+ [k: string]: any;
4475
+ } | undefined;
4476
+ novita?: {
4477
+ [k: string]: any;
4478
+ } | undefined;
4479
+ nvidia?: {
4480
+ [k: string]: any;
4481
+ } | undefined;
4482
+ octoai?: {
4483
+ [k: string]: any;
4484
+ } | undefined;
4485
+ ollama?: {
4486
+ [k: string]: any;
4487
+ } | undefined;
4488
+ openInference?: {
4489
+ [k: string]: any;
4490
+ } | undefined;
4491
+ openai?: {
4492
+ [k: string]: any;
4493
+ } | undefined;
4494
+ parasail?: {
4495
+ [k: string]: any;
4496
+ } | undefined;
4497
+ perceptron?: {
4498
+ [k: string]: any;
4499
+ } | undefined;
4500
+ perplexity?: {
4501
+ [k: string]: any;
4502
+ } | undefined;
4503
+ phala?: {
4504
+ [k: string]: any;
4505
+ } | undefined;
4506
+ poolside?: {
4507
+ [k: string]: any;
4508
+ } | undefined;
4509
+ primeintellect?: {
4510
+ [k: string]: any;
4511
+ } | undefined;
4512
+ quiver?: {
4513
+ [k: string]: any;
4514
+ } | undefined;
4515
+ recraft?: {
4516
+ [k: string]: any;
4517
+ } | undefined;
4518
+ recursal?: {
4519
+ [k: string]: any;
4520
+ } | undefined;
4521
+ reflection?: {
4522
+ [k: string]: any;
4523
+ } | undefined;
4524
+ reka?: {
4525
+ [k: string]: any;
4526
+ } | undefined;
4527
+ relace?: {
4528
+ [k: string]: any;
4529
+ } | undefined;
4530
+ replicate?: {
4531
+ [k: string]: any;
4532
+ } | undefined;
4533
+ respan?: {
4534
+ [k: string]: any;
4535
+ } | undefined;
4536
+ runway?: {
4537
+ [k: string]: any;
4538
+ } | undefined;
4539
+ sailResearch?: {
4540
+ [k: string]: any;
4541
+ } | undefined;
4542
+ sakana?: {
4543
+ [k: string]: any;
4544
+ } | undefined;
4545
+ sakanaAi?: {
4546
+ [k: string]: any;
4547
+ } | undefined;
4548
+ sambanova?: {
4549
+ [k: string]: any;
4550
+ } | undefined;
4551
+ sambanovaCloaked?: {
4552
+ [k: string]: any;
4553
+ } | undefined;
4554
+ scaledown?: {
4555
+ [k: string]: any;
4556
+ } | undefined;
4557
+ seed?: {
4558
+ [k: string]: any;
4559
+ } | undefined;
4560
+ sfCompute?: {
4561
+ [k: string]: any;
4562
+ } | undefined;
4563
+ siliconflow?: {
4564
+ [k: string]: any;
4565
+ } | undefined;
4566
+ sourceful?: {
4567
+ [k: string]: any;
4568
+ } | undefined;
4569
+ stealth?: {
4570
+ [k: string]: any;
4571
+ } | undefined;
4572
+ stepfun?: {
4573
+ [k: string]: any;
4574
+ } | undefined;
4575
+ streamlake?: {
4576
+ [k: string]: any;
4577
+ } | undefined;
4578
+ switchpoint?: {
4579
+ [k: string]: any;
4580
+ } | undefined;
4581
+ targon?: {
4582
+ [k: string]: any;
4583
+ } | undefined;
4584
+ tencent?: {
4585
+ [k: string]: any;
4586
+ } | undefined;
4587
+ tenstorrent?: {
4588
+ [k: string]: any;
4589
+ } | undefined;
4590
+ thinkingmachines?: {
4591
+ [k: string]: any;
4592
+ } | undefined;
4593
+ together?: {
4594
+ [k: string]: any;
4595
+ } | undefined;
4596
+ togetherLite?: {
4597
+ [k: string]: any;
4598
+ } | undefined;
4599
+ typesafe?: {
4600
+ [k: string]: any;
4601
+ } | undefined;
4602
+ ubicloud?: {
4603
+ [k: string]: any;
4604
+ } | undefined;
4605
+ unbiased?: {
4606
+ [k: string]: any;
4607
+ } | undefined;
4608
+ upstage?: {
4609
+ [k: string]: any;
4610
+ } | undefined;
4611
+ venice?: {
4612
+ [k: string]: any;
4613
+ } | undefined;
4614
+ voyageai?: {
4615
+ [k: string]: any;
4616
+ } | undefined;
4617
+ wafer?: {
4618
+ [k: string]: any;
4619
+ } | undefined;
4620
+ wandb?: {
4621
+ [k: string]: any;
4622
+ } | undefined;
4623
+ wandbLegacy?: {
4624
+ [k: string]: any;
4625
+ } | undefined;
4626
+ xai?: {
4627
+ [k: string]: any;
4628
+ } | undefined;
4629
+ xiaomi?: {
4630
+ [k: string]: any;
4631
+ } | undefined;
4632
+ zAi?: {
4633
+ [k: string]: any;
4634
+ } | undefined;
4635
+ };
4636
+ //#endregion
4637
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/providersort.d.ts
4638
+ /**
4639
+ * The provider sorting strategy (price, throughput, latency)
4640
+ */
4641
+ declare const ProviderSort: {
4642
+ readonly Price: "price";
4643
+ readonly Throughput: "throughput";
4644
+ readonly Latency: "latency";
4645
+ readonly Exacto: "exacto";
4646
+ };
4647
+ /**
4648
+ * The provider sorting strategy (price, throughput, latency)
4649
+ */
4650
+ type ProviderSort = OpenEnum<typeof ProviderSort>;
4651
+ //#endregion
4652
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/providersortconfig.d.ts
4653
+ /**
4654
+ * The provider sorting strategy (price, throughput, latency)
4655
+ */
4656
+ declare const By: {
4657
+ readonly Price: "price";
4658
+ readonly Throughput: "throughput";
4659
+ readonly Latency: "latency";
4660
+ readonly Exacto: "exacto";
4661
+ };
4662
+ /**
4663
+ * The provider sorting strategy (price, throughput, latency)
4664
+ */
4665
+ type By = OpenEnum<typeof By>;
4666
+ /**
4667
+ * Partitioning strategy for sorting: "model" (default) groups endpoints by model before sorting (fallback models remain fallbacks), "none" sorts all endpoints together regardless of model.
4668
+ */
4669
+ declare const Partition: {
4670
+ readonly Model: "model";
4671
+ readonly None: "none";
4672
+ };
4673
+ /**
4674
+ * Partitioning strategy for sorting: "model" (default) groups endpoints by model before sorting (fallback models remain fallbacks), "none" sorts all endpoints together regardless of model.
4675
+ */
4676
+ type Partition = OpenEnum<typeof Partition>;
4677
+ /**
4678
+ * The provider sorting strategy (price, throughput, latency)
4679
+ */
4680
+ type ProviderSortConfig = {
4681
+ /**
4682
+ * The provider sorting strategy (price, throughput, latency)
4683
+ */
4684
+ by?: By | null | undefined;
4685
+ /**
4686
+ * Partitioning strategy for sorting: "model" (default) groups endpoints by model before sorting (fallback models remain fallbacks), "none" sorts all endpoints together regardless of model.
4687
+ */
4688
+ partition?: Partition | null | undefined;
4689
+ };
4690
+ //#endregion
4691
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/quantization.d.ts
4692
+ declare const Quantization: {
4693
+ readonly Int4: "int4";
4694
+ readonly Int8: "int8";
4695
+ readonly Fp4: "fp4";
4696
+ readonly Mxfp4: "mxfp4";
4697
+ readonly Nvfp4: "nvfp4";
4698
+ readonly Fp6: "fp6";
4699
+ readonly Fp8: "fp8";
4700
+ readonly Mxfp8: "mxfp8";
4701
+ readonly Fp16: "fp16";
4702
+ readonly Bf16: "bf16";
4703
+ readonly Fp32: "fp32";
4704
+ readonly Unknown: "unknown";
4705
+ };
4706
+ type Quantization = OpenEnum<typeof Quantization>;
4707
+ //#endregion
4708
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/providerpreferences.d.ts
4709
+ /**
4710
+ * Data collection setting. If no available model provider meets the requirement, your request will return an error.
4711
+ *
4712
+ * @remarks
4713
+ * - allow: (default) allow providers which store user data non-transiently and may train on it
4714
+ *
4715
+ * - deny: use only providers which do not collect user data.
4716
+ */
4717
+ declare const DataCollection: {
4718
+ readonly Deny: "deny";
4719
+ readonly Allow: "allow";
4720
+ };
4721
+ /**
4722
+ * Data collection setting. If no available model provider meets the requirement, your request will return an error.
4723
+ *
4724
+ * @remarks
4725
+ * - allow: (default) allow providers which store user data non-transiently and may train on it
4726
+ *
4727
+ * - deny: use only providers which do not collect user data.
4728
+ */
4729
+ type DataCollection = OpenEnum<typeof DataCollection>;
4730
+ /**
4731
+ * The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
4732
+ */
4733
+ type MaxPrice = {
4734
+ /**
4735
+ * Maximum price in USD per audio unit
4736
+ */
4737
+ audio?: string | undefined;
4738
+ /**
4739
+ * Maximum price in USD per million completion tokens
4740
+ */
4741
+ completion?: string | undefined;
4742
+ /**
4743
+ * Maximum price in USD per image
4744
+ */
4745
+ image?: string | undefined;
4746
+ /**
4747
+ * Maximum price in USD per million prompt tokens
4748
+ */
4749
+ prompt?: string | undefined;
4750
+ /**
4751
+ * Maximum price in USD per request
4752
+ */
4753
+ request?: string | undefined;
4754
+ };
4755
+ /**
4756
+ * Provider routing preferences for the request.
4757
+ */
4758
+ type ProviderPreferences = {
4759
+ /**
4760
+ * Whether to allow backup providers to serve requests
4761
+ *
4762
+ * @remarks
4763
+ * - true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
4764
+ * - false: use only the primary/custom provider, and return the upstream error if it's unavailable.
4765
+ */
4766
+ allowFallbacks?: boolean | null | undefined;
4767
+ /**
4768
+ * Data collection setting. If no available model provider meets the requirement, your request will return an error.
4769
+ *
4770
+ * @remarks
4771
+ * - allow: (default) allow providers which store user data non-transiently and may train on it
4772
+ *
4773
+ * - deny: use only providers which do not collect user data.
4774
+ */
4775
+ dataCollection?: DataCollection | null | undefined;
4776
+ /**
4777
+ * Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.
4778
+ */
4779
+ enforceDistillableText?: boolean | null | undefined;
4780
+ /**
4781
+ * List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.
4782
+ */
4783
+ ignore?: Array<ProviderName | string> | null | undefined;
4784
+ /**
4785
+ * The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
4786
+ */
4787
+ maxPrice?: MaxPrice | undefined;
4788
+ /**
4789
+ * List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.
4790
+ */
4791
+ only?: Array<ProviderName | string> | null | undefined;
4792
+ /**
4793
+ * Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
4794
+ */
4795
+ options?: ProviderOptions | undefined;
4796
+ /**
4797
+ * An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message.
4798
+ */
4799
+ order?: Array<ProviderName | string> | null | undefined;
4800
+ /**
4801
+ * Preferred maximum latency (in seconds). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints above the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
4802
+ */
4803
+ preferredMaxLatency?: PreferredMaxLatency | null | undefined;
4804
+ /**
4805
+ * Preferred minimum throughput (in tokens per second). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints below the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
4806
+ */
4807
+ preferredMinThroughput?: PreferredMinThroughput | null | undefined;
4808
+ /**
4809
+ * A list of quantization levels to filter the provider by.
4810
+ */
4811
+ quantizations?: Array<Quantization> | null | undefined;
4812
+ /**
4813
+ * Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest.
4814
+ */
4815
+ requireParameters?: boolean | null | undefined;
4816
+ /**
4817
+ * The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
4818
+ */
4819
+ sort?: ProviderSort | ProviderSortConfig | null | undefined;
4820
+ /**
4821
+ * Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
4822
+ */
4823
+ zdr?: boolean | null | undefined;
4824
+ };
4825
+ //#endregion
4826
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/traceconfig.d.ts
4827
+ /**
4828
+ * Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
4829
+ */
4830
+ type TraceConfig = {
4831
+ generationName?: string | undefined;
4832
+ parentSpanId?: string | undefined;
4833
+ spanName?: string | undefined;
4834
+ traceId?: string | undefined;
4835
+ traceName?: string | undefined;
4836
+ additionalProperties?: {
4837
+ [k: string]: any;
4838
+ } | undefined;
4839
+ };
4840
+ //#endregion
4841
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/decisionschoicequestion.d.ts
4842
+ type DecisionsChoiceQuestion = {
4843
+ criteria: {
4844
+ [k: string]: string | {
4845
+ [k: string]: any;
4846
+ } | Array<any> | null;
4847
+ };
4848
+ /**
4849
+ * A plain string, or a JSON object or array of structured guidance.
4850
+ */
4851
+ instructions: string | {
4852
+ [k: string]: any;
4853
+ } | Array<any>;
4854
+ type: "choice";
4855
+ };
4856
+ //#endregion
4857
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/decisionsnoulquestion.d.ts
4858
+ type DecisionsNoulQuestionCriteria = {
4859
+ /**
4860
+ * A plain string, or a JSON object or array of structured guidance.
4861
+ */
4862
+ false: string | {
4863
+ [k: string]: any;
4864
+ } | Array<any>;
4865
+ /**
4866
+ * A plain string, or a JSON object or array of structured guidance.
4867
+ */
4868
+ true: string | {
4869
+ [k: string]: any;
4870
+ } | Array<any>;
4871
+ };
4872
+ type DecisionsNoulQuestion = {
4873
+ criteria?: DecisionsNoulQuestionCriteria | undefined;
4874
+ /**
4875
+ * A plain string, or a JSON object or array of structured guidance.
4876
+ */
4877
+ instructions: string | {
4878
+ [k: string]: any;
4879
+ } | Array<any>;
4880
+ type: "noul";
4881
+ };
4882
+ //#endregion
4883
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/decisionsscorequestion.d.ts
4884
+ type DecisionsScoreQuestion = {
4885
+ criteria: Array<string | {
4886
+ [k: string]: any;
4887
+ } | Array<any>>;
4888
+ /**
4889
+ * A plain string, or a JSON object or array of structured guidance.
4890
+ */
4891
+ instructions: string | {
4892
+ [k: string]: any;
4893
+ } | Array<any>;
4894
+ type: "score";
4895
+ };
4896
+ //#endregion
4897
+ //#region ../../node_modules/.pnpm/@openrouter+sdk@1.4.25/node_modules/@openrouter/sdk/esm/models/decisionsrequest.d.ts
4898
+ type DecisionsRequest = {
4899
+ model: string;
4900
+ provider?: ProviderPreferences | null | undefined;
4901
+ questions: {
4902
+ [k: string]: DecisionsChoiceQuestion | DecisionsNoulQuestion | DecisionsScoreQuestion;
4903
+ };
4904
+ /**
4905
+ * A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
4906
+ */
4907
+ sessionId?: string | undefined;
4908
+ /**
4909
+ * The content to evaluate: a plain string, or a JSON object or array of related context.
4910
+ */
4911
+ state: string | {
4912
+ [k: string]: any;
4913
+ } | Array<any>;
4914
+ /**
4915
+ * Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
4916
+ */
4917
+ trace?: TraceConfig | undefined;
4918
+ user?: string | undefined;
4919
+ };
4920
+ //#endregion
4921
+ //#region ../../node_modules/.pnpm/@typesafe-ai+sdk@0.6.0/node_modules/@typesafe-ai/sdk/dist/index.d.mts
4922
+ //#endregion
4923
+ //#region src/types.d.ts
4924
+ /** A JSON-compatible value. */
4925
+ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | {
4926
+ [key: string]: JsonValue$1;
4927
+ };
4928
+ /** Text, a JSON object or array, or `null` for state, instructions, and criteria. */
4929
+ type EntryType = string | {
4930
+ [key: string]: JsonValue$1;
4931
+ } | JsonValue$1[] | null;
4932
+ /** A criterion description; `null` leaves the label undescribed. */
4933
+ type Description = EntryType;
4934
+ /** A yes/no question with optional descriptions for either outcome. */
4935
+ interface NoulQuestion {
4936
+ type: "noul";
4937
+ /** The question as text, a JSON object, or an array; optional or `null`. */
4938
+ instructions?: EntryType;
4939
+ /** Optional descriptions of the yes and no outcomes. */
4940
+ criteria?: {
4941
+ /** Description of the yes outcome. */
4942
+ true?: EntryType;
4943
+ /** Description of the no outcome. */
4944
+ false?: EntryType;
4945
+ } | null;
4946
+ }
4947
+ /** Labels mapped to descriptions, or `null` for undescribed labels. */
4948
+ type ChoiceCriteria = {
4949
+ [label: string]: Description;
4950
+ };
4951
+ /** A question that selects between named alternatives. */
4952
+ interface ChoiceQuestion<T extends ChoiceCriteria = ChoiceCriteria> {
4953
+ type: "choice";
4954
+ /** The question as text, a JSON object, or an array; optional or `null`. */
4955
+ instructions?: EntryType;
4956
+ /** Descriptions of the available outcomes. */
4957
+ criteria: T;
4958
+ }
4959
+ /** At least two descriptions indexed by score from zero; `null` leaves a score undescribed. */
4960
+ type ScoreCriteria = readonly [EntryType, EntryType, ...EntryType[]];
4961
+ /** A question that assigns a score using an ordered rubric. */
4962
+ interface ScoreQuestion<T extends ScoreCriteria = ScoreCriteria> {
4963
+ type: "score";
4964
+ /** The question as text, a JSON object, or an array; optional or `null`. */
4965
+ instructions?: EntryType;
4966
+ /** Descriptions of the available outcomes. */
4967
+ criteria: T;
4968
+ }
4969
+ /** A question identified by its `type` field. */
4970
+ type Question = NoulQuestion | ScoreQuestion | ChoiceQuestion;
4971
+ /** Questions keyed by the names used to identify their answers. */
4972
+ interface Questions {
4973
+ [name: string]: Question;
4974
+ }
4975
+ /**
4976
+ * State and named questions for `systemOne`.
4977
+ *
4978
+ * Additional properties on a request variable are forwarded, including `null` values.
4979
+ */
4980
+ interface SystemOneRequest<Q extends Questions = Questions> {
4981
+ /** Text, a JSON object or array, or `null` to evaluate. */
4982
+ state: EntryType;
4983
+ /** Nonempty questions keyed by the names used to identify their answers. */
4984
+ questions: Q;
4985
+ /** Model override; omitted values inherit `defaultModel`. */
4986
+ model?: string;
4987
+ }
4988
+ //#endregion
4989
+ //#region ../../node_modules/.pnpm/@neta-art+generation@0.1.35/node_modules/@neta-art/generation/dist/builtins-BOpYwe7W.d.ts
3973
4990
  //#region src/types.d.ts
3974
4991
  declare const MODEL_SCHEMA: "neta.generation.model.v1";
3975
- declare const GENERATION_MODEL_CATEGORIES: readonly ["image", "video", "audio"];
4992
+ declare const GENERATION_MODEL_CATEGORIES: readonly ["image", "video", "audio", "decision"];
3976
4993
  type GenerationModelCategory = (typeof GENERATION_MODEL_CATEGORIES)[number];
3977
4994
  declare const GENERATION_PRICING_UNITS: readonly ["image", "second", "request", "1m_tokens"];
3978
4995
  type GenerationPricingUnit = (typeof GENERATION_PRICING_UNITS)[number];
@@ -4114,6 +5131,16 @@ type GenerationModelDeclaration = {
4114
5131
  title?: string;
4115
5132
  request: GenerateRequest;
4116
5133
  }>;
5134
+ /** Examples passed directly to systemOne(), using the official TypeSafe request type. */
5135
+ systemOneExamples?: Array<{
5136
+ title?: string;
5137
+ request: SystemOneRequest;
5138
+ }>;
5139
+ /** Examples passed as decisionsRequest to decisions(), using the official OpenRouter request type. */
5140
+ decisionsExamples?: Array<{
5141
+ title?: string;
5142
+ request: DecisionsRequest;
5143
+ }>;
4117
5144
  };
4118
5145
  type GenerateRequest = {
4119
5146
  model: string;
@@ -6041,7 +7068,7 @@ type BillingBalanceActivityList = {
6041
7068
  type UserRulesResponse = {
6042
7069
  content: string;
6043
7070
  updatedAt: string | null;
6044
- source: "config-space";
7071
+ source: "home-space";
6045
7072
  path: string;
6046
7073
  };
6047
7074
  type SpaceFsEntry = {
@@ -6716,6 +7743,7 @@ type CronJobRecord<TPayload extends CronJobPayload = CronJobPayload> = {
6716
7743
  type TaskRunDetailResponse = {
6717
7744
  run: TaskRunRecord;
6718
7745
  progress: unknown;
7746
+ boards?: TaskRunBoard[];
6719
7747
  };
6720
7748
  type TaskRunRecord = {
6721
7749
  id: string;
@@ -7238,8 +8266,9 @@ declare const resolveApiBaseUrl: (options?: {
7238
8266
  env?: CohubEnvironment;
7239
8267
  }) => string;
7240
8268
  declare const resolveWebBaseUrl: (options?: {
8269
+ url?: string;
7241
8270
  env?: CohubEnvironment;
7242
- }) => "https://cohub.live" | "https://dev.cohub.live";
8271
+ }) => string;
7243
8272
  declare const resolveWebsocketUrl: (options?: {
7244
8273
  url?: string;
7245
8274
  env?: CohubEnvironment;
@@ -7249,4 +8278,4 @@ declare const resolveVoiceInputWebsocketUrl: (options?: {
7249
8278
  env?: CohubEnvironment;
7250
8279
  }) => string;
7251
8280
  //#endregion
7252
- export { CheckpointDiffDelivery as $, BoardPlaybackChangedEvent as $a, normalizeRequestSource as $c, RuntimeContextMessage as $i, SpaceCommerceProduct as $n, SpaceFsCopyOptions as $o, SpaceSessionsResponse as $r, RuntimeArchiveUpload as $s, PromptTemplateCatalogResponse as $t, BillingCreditExpiryGroup as A, nativeRuntimeEventSchema as Aa, CompletionMessageInput as Ac, SessionFileRecord as Ai, SessionTurnSignedUrlsResponse as An, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Ao, SpaceFsUploadProgress as Ar, BoardDelta as As, JsonPrimitive as At, BillingProductBillingInterval as B, encodeGenerationPolicy as Ba, Actor as Bc, SessionTurnRecord as Bi, SpaceActivityContributor as Bn, DesktopOpenCommand as Bo, SpaceMember as Br, BoardTrack as Bs, LabelScopeType as Bt, BillingBalanceActivityStatus as C, NativeTurnComplete as Ca, DISPLAY_ACTION_TYPES as Cc, ChannelHealth as Ci, SessionListFork as Cn, DESKTOP_COMMAND_ACCEPT_TIMEOUT_MS as Co, SpaceFsReadFilesResponse as Cr, BoardTransactionRecord as Cs, GlobalSearchChatHit as Ct, BillingCheckoutConfirmation as D, SETTLED_TURN_STATUSES as Da, CompletionAssistantMessage as Dc, FeishuChannelConfig as Di, SessionRecord as Dn, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Do, SpaceFsUploadError as Dr, BoardAnimationHeader as Ds, GlobalSearchViewerRelation as Dt, BillingCheckoutActionState as E, RuntimeNativeStop as Ea, compileDisplayActions as Ec, DiscordChannelConfig as Ei, SessionMessagesResponse as En, DESKTOP_COMMAND_OPEN_TIMEOUT_MS as Eo, SpaceFsUploadEntry as Er, BoardAnimation as Es, GlobalSearchType as Et, BillingDiscountOfferRef as F, GenerationParameterConstraint as Fa, ModelThinkingLevel as Fc, RequestMetric as Fi, SkillCatalogResponse as Fn, DesktopCommandDispatchedPayload as Fo, SpaceInvitationLocation as Fr, BoardMarker as Fs, LabelItemsResponse as Ft, BillingProductPromotion as G, parseGenerationPolicyFromEnv as Ga, REQUEST_SOURCE_VIA_MAX_LENGTH as Gc, HarnessKind as Gi, SpaceBootstrapStatus as Gn, isTerminalDesktopCommandStatus as Go, SpacePresenceSnapshot as Gr, AppAuthorizationRequest as Gs, PaletteOverviewResponse as Gt, BillingProductDisplay as H, findGenerationModelPolicy as Ha, ActorModel as Hc, StoredIntermediateMessage as Hi, SpaceBootstrapMeta as Hn, DesktopTarget as Ho, SpaceModListItem as Hr, parseBoardItem as Hs, MeResponse as Ht, BillingDiscountPricing as I, GenerationPolicy as Ia, SpaceCompletionResult as Ic, SessionStats as Ii, SkillCatalogSource as In, DesktopCommandError as Io, SpaceListFilter as Ir, BoardPatch as Is, LabelItemsSessionFork as It, BillingResponsePayload as J, GenerationResult as Ja, hasRequestSourceIdentity as Jc, RUNTIME_PROTOCOL_VERSION as Ji, SpaceCommerceBenefit as Jn, NavigationCall as Jo, SpaceRecord as Jr, HarnessArchive as Js, PatchResourceLabelsInput as Jt, BillingPromotionCodePreview as K, GenerationContentBlock as Ka, RequestSource as Kc, LocalHarness as Ki, SpaceChannelBindingInput as Kn, parseDesktopCommand as Ko, SpacePresenceUser as Kr, AppAuthorizationResult as Ks, PaletteOverviewSpace as Kt, BillingHistoryPagination as L, GenerationPolicyError as La, SpaceCompletionStreamEvent as Lc, TurnMetrics as Li, SpaceAccess as Ln, DesktopCommandRecord as Lo, SpaceListItem as Lr, BoardPatchSchema as Ls, LabelListItem as Lt, BillingCreditStatus as M, nativeTurnProgressSchema as Ma, CompletionThinkingLevel as Mc, SessionForkRecord as Mi, SessionTurnWindowResponse as Mn, DesktopAppTarget as Mo, SpaceFsWriteFileInput as Mr, BoardDocument as Ms, LabelAssignmentListItem as Mt, BillingCreditUnit as N, runtimeNativeStopSchema as Na, CompletionUsage as Nc, SessionTurnSegmentRecord as Ni, SessionTurnsPaginatedResponse as Nn, DesktopCall as No, SpaceInvitation as Nr, BoardItem as Ns, LabelAssignmentPageInfo as Nt, BillingCheckoutResult as O, isNativeClientTurn as Oa, CompletionImageInput as Oc, MessageRecord as Oi, SessionTurnIndexResponse as On, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Oo, SpaceFsUploadPlanEntry as Or, BoardAnimationSchema as Os, InvitationDetail as Ot, BillingDiscountOffer as P, GenerationModelPolicy as Pa, CreateSpaceCompletionInput as Pc, ExecutionStats as Pi, SkillCatalogEntry as Pn, DesktopCommand as Po, SpaceInvitationListResponse as Pr, BoardKeyframe as Ps, LabelAssignmentRecord as Pt, Channel as Q, BoardChangedEvent as Qa, mergeRequestSourceIntoMeta as Qc, RuntimeContext as Qi, SpaceCommerceOrder as Qn, SpaceFsCopyInput as Qo, SpaceSandboxProvider as Qr, RuntimeArchiveSegment as Qs, PromptTemplateCatalogEntry as Qt, BillingPaymentStatus as R, assertGenerationRequestAllowedByPolicy as Ra, Usage as Rc, MessageToolCallsFile as Ri, SpaceAccessPolicy as Rn, DesktopCommandStatus as Ro, SpaceListOptions as Rr, BoardSettings as Rs, LabelRecord as Rt, BillingBalanceActivityList as S, NativeRuntimeEvent as Sa, RtcIceServers as Sc, ChannelConfig as Si, SessionBindingRecord as Sn, AppVersionSource as So, SpaceFsReadFilesInput as Sr, BoardSnapshot as Ss, GenerationUsageSummary as St, BillingCatalogProduct as T, NativeTurnProgress as Ta, DisplayActionError as Tc, ChannelRuntimeState as Ti, SessionMessagesPaginatedResponse as Tn, DESKTOP_COMMAND_MAX_TIMEOUT_MS as To, SpaceFsUploadDestination as Tr, BOARD_ITEM_TYPES as Ts, GlobalSearchResult as Tt, BillingProductKind as U, getAllowedGenerationModelIds as Ua, COHUB_SOURCE_HEADER as Uc, StoredToolCall as Ui, SpaceBootstrapSource as Un, defaultDesktopCommandTimeoutMs as Uo, SpacePendingDiffFileResponse as Ur, BillingPayload as Us, ModelCatalogEntry as Ut, BillingProductCreditBenefit as V, filterGenerationDeclarationsByPolicy as Va, ActorKind as Vc, SpaceTurnsResponse$1 as Vi, SpaceActivityResponse as Vn, DesktopSurface as Vo, SpaceMeta as Vr, BoardTrackSchema as Vs, LabelSource as Vt, BillingProductPricing as W, normalizeGenerationPolicy as Wa, COHUB_SOURCE_HEADER_NAMES as Wc, TurnIntermediateMessagesFile as Wi, SpaceBootstrapStage as Wn, isDesktopCallMethod as Wo, SpacePendingDiffSummary as Wr, AppAuthorizationGrant as Ws, PERMISSIONS as Wt, BillingSubscriptionHistoryStatus as X, AppVersionPublishedEvent as Xa, isRequestSourceEmpty as Xc, RuntimeCapabilities as Xi, SpaceCommerceCreditsBenefit as Xn, SpacePublicEndpoints as Xo, SpaceSandboxAutoDestroyPolicy as Xr, RUNTIME_ARCHIVE_SEGMENT_BYTES as Xs, Permission as Xt, BillingSubscriptionHistoryList as Y, SearchTextRange as Ya, isRequestSourceClientId as Yc, RUNTIME_RECOVERY_BATCH_SIZE as Yi, SpaceCommerceBuyerProfile as Yn, NavigationLaunch as Yo, SpaceRole as Yr, HarnessArchiveIndex as Ys, PatchResourceLabelsResponse as Yt, BillingSubscriptionSummary as Z, BoardAwarenessUpdatedEvent as Za, isRequestSourceUuid as Zc, RuntimeCommand as Zi, SpaceCommerceFeatureBenefit as Zn, SpaceFsCopyError as Zo, SpaceSandboxConfig as Zr, RuntimeArchivePage as Zs, PromptAccessMode as Zt, AcceptInvitationResponse as _, NATIVE_SYNC_SOURCE as _a, AppRtcDelivery as _c, UserSessionSourceKey as _i, ReferralReward as _n, AppArtifactManifest as _o, SpaceFsFileKind as _r, BoardPlaybackCommand as _s, CronJobRecord as _t, CohubRuntimeKind as a, RuntimeStopConfirmation as aa, DisplayCaptureParams as ac, SpaceUsageSummary as ai, PublicUserWorkItem as an, RealtimeRoom as ao, SpaceConfigUpdateResponse as ar, BoardAwarenessGesture as as, CheckpointDiffStatus as at, BillingBalanceActivity as b, NativeIngestTurn as ba, AppRtcQuality as bc, isUserLevelPermission as bi, SandboxSpecId as bn, AppBoardAsset as bo, SpaceFsPreparingFile as br, BoardReadResult as bs, GenerationUsageBlock as bt, normalizeVoiceInputWebsocketUrl as c, RuntimeTurnUserMessage as ca, DisplayInputEvent as cc, USER_LEVEL_PERMISSIONS as ci, ReferenceAggregateResponse as cn, RealtimeRoomHistory as co, SpaceEnvInput as cr, BoardAwarenessUpdate as cs, ClaimReferralResponse as ct, resolveCohubEnvironment as d, runtimeCommandSchema as da, DisplaySystemAction as dc, UserActivityRange as di, ReferenceQueryResponse as dn, RealtimeServerEvent as do, SpaceFsCreateDirectoryInput as dr, BoardApplyResult as ds, CreateSpaceInput as dt, RuntimeExecutionEvent as ea, harnessArchiveIndexSchema as ec, SpaceTurnAuthorFilter as ei, parseRequestSourceFromHeaders as el, PublicReferral as en, ChannelEnvelope as eo, SpaceCommerceProductBenefitBinding as er, SpaceFsCopyResponse as es, CheckpointDiffFile as et, resolveExecutionAppId as f, runtimeEventSchema as fa, DisplayTree as fc, UserActivityRankings as fi, ReferenceQueryableType as fn, RealtimeSessionFork as fo, SpaceFsCreateUploadInput as fr, BoardChangeSummary as fs, CreateSpaceModInput as ft, resolveWebsocketUrl as g, NATIVE_INGEST_MAX_TURNS as ga, normalizeDisplayPoint as gc, UserSessionListItem as gi, ReferralListItem as gn, AppArtifactDownloadDescriptor as go, SpaceFsEntry as gr, BoardManifest as gs, CronJobPayload as gt, resolveWebBaseUrl as h, selectRuntimeContextMessages as ha, DisplayVirtualStart as hc, UserRulesResponse as hi, ReferralDashboard as hn, AppArtifactDescriptor as ho, SpaceFsEncoding as hr, BoardHistoryPage as hs, CreateSpaceSessionInput as ht, CohubExecutionContext as i, RuntimeStatus as ia, DisplayCapture as ic, SpaceUsageResponse as ii, PublicUserSpaceItem as in, RealtimePatchOperation as io, SpaceConfigResponse as ir, SpaceFsCopyStatus as is, CheckpointDiffStats as it, BillingCreditGrantStatus as j, nativeTurnCompleteSchema as ja, CompletionMessageRole as jc, SessionFilesResponse as ji, SessionTurnStreamSnapshotResponse as jn, DESKTOP_COMMAND_VERSION as jo, SpaceFsUploadResponse as jr, BoardDiagnostic as js, JsonValue as jt, BillingConversionIntent as k, nativeIngestTurnSchema as ka, CompletionMessage as kc, SessionFileChangeKind as ki, SessionTurnResponse as kn, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as ko, SpaceFsUploadPlanEntryInput as kr, BoardColor as ks, JsonObject as kt, normalizeWebsocketUrl as l, isLocalHarness as la, DisplayList as lc, UsageTotals as li, ReferenceDirection as ln, RealtimeRoomHistoryEvent as lo, SpaceFsCompleteUploadInput as lr, parseBoardDocument as ls, CreateInvitationInput as lt, resolveVoiceInputWebsocketUrl as m, contextToPiMessages as ma, DisplayViewer as mc, UserProfile as mi, ReferenceResourceType as mn, SessionTurnPatchEvent as mo, SpaceFsDeleteNodeInput as mr, BoardHistoryInput as ms, CreateSpacePromptResponse as mt, CohubContext as n, RuntimePendingExecution as na, DISPLAY_ELEMENT_REF_PATTERN as nc, SpaceTurnsResponse as ni, requestSourceToHeaders as nl, PublicUserPageResponse as nn, RealtimeAppRecord as no, SpaceConfig as nr, SpaceFsCopySource as ns, CheckpointDiffPatchKind as nt, getCohubContext as o, RuntimeTraceContext as oa, DisplayElement as oc, TaskRunDetailResponse as oi, ReferenceAggregateGroup as on, RealtimeRoomDescriptor as oo, SpaceCreateResponse as or, BoardAwarenessItemPreview as os, CheckpointDiffSummary as ot, resolveExecutionToken as p, runtimeReadySchema as pa, DisplayTreeParams as pc, UserActivityResponse as pi, ReferenceRecord as pn, SessionCreatedEvent as po, SpaceFsCreateUploadResponse as pr, BoardCreateInput as ps, CreateSpacePromptInput as pt, BillingRedemptionResult as q, GenerationModelDeclaration as qa, RequestSourceVia as qc, RUNTIME_MAX_FRAME_BYTES as qi, SpaceCheckpointDetailResponse as qn, resolveOpenSurface as qo, SpacePublicProfile as qr, AppAuthorizationTarget as qs, PaletteOverviewSpaceRelation as qt, CohubEnvironment as r, RuntimeSessionRecoveryStatus as ra, DISPLAY_SYSTEM_ACTIONS as rc, SpaceUsageHourlyStat as ri, resolveRequestSourceChannel as rl, PublicUserProfile as rn, RealtimeAppVersionRecord as ro, SpaceConfigInput as rr, SpaceFsCopyStats as rs, CheckpointDiffPatchLine as rt, normalizeBaseUrl as s, RuntimeTurnInput as sa, DisplayInfo as sc, TaskRunRecord as si, ReferenceAggregateGroupBy as sn, RealtimeRoomEvent as so, SpaceDefaultResponse as sr, BoardAwarenessStateUpdate as ss, CheckpointRecord as st, COHUB_ENVIRONMENTS as t, RuntimeMessage as ta, validateArchiveBoundary as tc, SpaceTurnListItem as ti, readRequestSourceFromEnv as tl, PublicUserAppItem as tn, LabelAssignmentsUpdatedEvent as to, SpaceCommerceProductCreditBenefit as tr, SpaceFsCopyResult as ts, CheckpointDiffFileResponse as tt, resolveApiBaseUrl as u, resolveHarness as ua, DisplaySession as uc, UserActivityQuery as ui, ReferenceKind as un, RealtimeRoomMember as uo, SpaceFsCompleteUploadResponse as ur, BoardApplyInput as us, CreateInvitationResponse as ut, ApiError as v, NativeIngest as va, AppRtcMediaKind as vc, UserSessionSpaceSummary as vi, ReferralStatus as vn, AppArtifactManifestFile as vo, SpaceFsFileResponse as vr, BoardPlaybackSnapshot as vs, CronJobUpdatePatch as vt, BillingCatalog as w, NativeTurnMessage as wa, DisplayAction as wc, ChannelHealthReasonCode as wi, SessionMessageResponse as wn, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as wo, SpaceFsTreeResponse as wr, BOARD_COLOR_TOKENS as ws, GlobalSearchResponse as wt, BillingBalanceActivityKind as x, NativeKnownResult as xa, RtcIceServer as xc, scopeListHasPermission as xi, SendMessageCronJobPayload as xn, AppContentKind as xo, SpaceFsReadFilesError as xr, BoardRecord as xs, GenerationUsageHourlyStat as xt, BatchUserProfilesResponse as y, NativeIngestResult as ya, AppRtcPublication as yc, UserSessionsResponse as yi, ResourceLabelsResponse as yn, AppBoardArtifactManifest as yo, SpaceFsMoveInput as yr, BoardReadInput as ys, CursorPageInfo as yt, BillingPluginStatus as z, decodeGenerationPolicy as za, ContentBlock as zc, SessionTurnIndexItem as zi, SpaceActivityAppRanking as zn, DesktopFileTarget as zo, SpaceListPage as zr, BoardStyle as zs, LabelResourceType as zt };
8281
+ export { CheckpointDiffDelivery as $, BoardPlaybackChangedEvent as $a, mergeRequestSourceIntoMeta as $c, RuntimeContextMessage as $i, SpaceCommerceProduct as $n, SpaceFsCopyOptions as $o, SpaceSessionsResponse as $r, RuntimeArchiveSegment as $s, PromptTemplateCatalogResponse as $t, BillingCreditExpiryGroup as A, nativeRuntimeEventSchema as Aa, CompletionMessage as Ac, SessionFileRecord as Ai, SessionTurnSignedUrlsResponse as An, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Ao, SpaceFsUploadProgress as Ar, BoardColor as As, JsonPrimitive as At, BillingProductBillingInterval as B, encodeGenerationPolicy as Ba, ContentBlock as Bc, SessionTurnRecord as Bi, SpaceActivityContributor as Bn, DesktopOpenCommand as Bo, SpaceMember as Br, BoardStyle as Bs, LabelScopeType as Bt, BillingBalanceActivityStatus as C, NativeTurnComplete as Ca, RtcIceServers as Cc, ChannelHealth as Ci, SessionListFork as Cn, DESKTOP_COMMAND_ACCEPT_TIMEOUT_MS as Co, SpaceFsReadFilesResponse as Cr, BoardSnapshot as Cs, GlobalSearchChatHit as Ct, BillingCheckoutConfirmation as D, SETTLED_TURN_STATUSES as Da, compileDisplayActions as Dc, FeishuChannelConfig as Di, SessionRecord as Dn, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Do, SpaceFsUploadError as Dr, BoardAnimation as Ds, GlobalSearchViewerRelation as Dt, BillingCheckoutActionState as E, RuntimeNativeStop as Ea, DisplayActionError as Ec, DiscordChannelConfig as Ei, SessionMessagesResponse as En, DESKTOP_COMMAND_OPEN_TIMEOUT_MS as Eo, SpaceFsUploadEntry as Er, BOARD_ITEM_TYPES as Es, GlobalSearchType as Et, BillingDiscountOfferRef as F, GenerationParameterConstraint as Fa, CreateSpaceCompletionInput as Fc, RequestMetric as Fi, SkillCatalogResponse as Fn, DesktopCommandDispatchedPayload as Fo, SpaceInvitationLocation as Fr, BoardKeyframe as Fs, LabelItemsResponse as Ft, BillingProductPromotion as G, parseGenerationPolicyFromEnv as Ga, COHUB_SOURCE_HEADER_NAMES as Gc, HarnessKind as Gi, SpaceBootstrapStatus as Gn, isTerminalDesktopCommandStatus as Go, SpacePresenceSnapshot as Gr, AppAuthorizationGrant as Gs, PaletteOverviewResponse as Gt, BillingProductDisplay as H, findGenerationModelPolicy as Ha, ActorKind as Hc, StoredIntermediateMessage as Hi, SpaceBootstrapMeta as Hn, DesktopTarget as Ho, SpaceModListItem as Hr, BoardTrackSchema as Hs, MeResponse as Ht, BillingDiscountPricing as I, GenerationPolicy as Ia, ModelThinkingLevel as Ic, SessionStats as Ii, SkillCatalogSource as In, DesktopCommandError as Io, SpaceListFilter as Ir, BoardMarker as Is, LabelItemsSessionFork as It, BillingResponsePayload as J, GenerationResult as Ja, RequestSourceVia as Jc, RUNTIME_PROTOCOL_VERSION as Ji, SpaceCommerceBenefit as Jn, NavigationCall as Jo, SpaceRecord as Jr, AppAuthorizationTarget as Js, PatchResourceLabelsInput as Jt, BillingPromotionCodePreview as K, GenerationContentBlock as Ka, REQUEST_SOURCE_VIA_MAX_LENGTH as Kc, LocalHarness as Ki, SpaceChannelBindingInput as Kn, parseDesktopCommand as Ko, SpacePresenceUser as Kr, AppAuthorizationRequest as Ks, PaletteOverviewSpace as Kt, BillingHistoryPagination as L, GenerationPolicyError as La, SpaceCompletionResult as Lc, TurnMetrics as Li, SpaceAccess as Ln, DesktopCommandRecord as Lo, SpaceListItem as Lr, BoardPatch as Ls, LabelListItem as Lt, BillingCreditStatus as M, nativeTurnProgressSchema as Ma, CompletionMessageRole as Mc, SessionForkRecord as Mi, SessionTurnWindowResponse as Mn, DesktopAppTarget as Mo, SpaceFsWriteFileInput as Mr, BoardDiagnostic as Ms, LabelAssignmentListItem as Mt, BillingCreditUnit as N, runtimeNativeStopSchema as Na, CompletionThinkingLevel as Nc, SessionTurnSegmentRecord as Ni, SessionTurnsPaginatedResponse as Nn, DesktopCall as No, SpaceInvitation as Nr, BoardDocument as Ns, LabelAssignmentPageInfo as Nt, BillingCheckoutResult as O, isNativeClientTurn as Oa, CompletionAssistantMessage as Oc, MessageRecord as Oi, SessionTurnIndexResponse as On, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Oo, SpaceFsUploadPlanEntry as Or, BoardAnimationHeader as Os, InvitationDetail as Ot, BillingDiscountOffer as P, GenerationModelPolicy as Pa, CompletionUsage as Pc, ExecutionStats as Pi, SkillCatalogEntry as Pn, DesktopCommand as Po, SpaceInvitationListResponse as Pr, BoardItem as Ps, LabelAssignmentRecord as Pt, Channel as Q, BoardChangedEvent as Qa, isRequestSourceUuid as Qc, RuntimeContext as Qi, SpaceCommerceOrder as Qn, SpaceFsCopyInput as Qo, SpaceSandboxProvider as Qr, RuntimeArchivePage as Qs, PromptTemplateCatalogEntry as Qt, BillingPaymentStatus as R, assertGenerationRequestAllowedByPolicy as Ra, SpaceCompletionStreamEvent as Rc, MessageToolCallsFile as Ri, SpaceAccessPolicy as Rn, DesktopCommandStatus as Ro, SpaceListOptions as Rr, BoardPatchSchema as Rs, LabelRecord as Rt, BillingBalanceActivityList as S, NativeRuntimeEvent as Sa, RtcIceServer as Sc, ChannelConfig as Si, SessionBindingRecord as Sn, AppVersionSource as So, SpaceFsReadFilesInput as Sr, BoardRecord as Ss, GenerationUsageSummary as St, BillingCatalogProduct as T, NativeTurnProgress as Ta, DisplayAction as Tc, ChannelRuntimeState as Ti, SessionMessagesPaginatedResponse as Tn, DESKTOP_COMMAND_MAX_TIMEOUT_MS as To, SpaceFsUploadDestination as Tr, BOARD_COLOR_TOKENS as Ts, GlobalSearchResult as Tt, BillingProductKind as U, getAllowedGenerationModelIds as Ua, ActorModel as Uc, StoredToolCall as Ui, SpaceBootstrapSource as Un, defaultDesktopCommandTimeoutMs as Uo, SpacePendingDiffFileResponse as Ur, parseBoardItem as Us, ModelCatalogEntry as Ut, BillingProductCreditBenefit as V, filterGenerationDeclarationsByPolicy as Va, Actor as Vc, SpaceTurnsResponse$1 as Vi, SpaceActivityResponse as Vn, DesktopSurface as Vo, SpaceMeta as Vr, BoardTrack as Vs, LabelSource as Vt, BillingProductPricing as W, normalizeGenerationPolicy as Wa, COHUB_SOURCE_HEADER as Wc, TurnIntermediateMessagesFile as Wi, SpaceBootstrapStage as Wn, isDesktopCallMethod as Wo, SpacePendingDiffSummary as Wr, BillingPayload as Ws, PERMISSIONS as Wt, BillingSubscriptionHistoryStatus as X, AppVersionPublishedEvent as Xa, isRequestSourceClientId as Xc, RuntimeCapabilities as Xi, SpaceCommerceCreditsBenefit as Xn, SpacePublicEndpoints as Xo, SpaceSandboxAutoDestroyPolicy as Xr, HarnessArchiveIndex as Xs, Permission as Xt, BillingSubscriptionHistoryList as Y, SearchTextRange as Ya, hasRequestSourceIdentity as Yc, RUNTIME_RECOVERY_BATCH_SIZE as Yi, SpaceCommerceBuyerProfile as Yn, NavigationLaunch as Yo, SpaceRole as Yr, HarnessArchive as Ys, PatchResourceLabelsResponse as Yt, BillingSubscriptionSummary as Z, BoardAwarenessUpdatedEvent as Za, isRequestSourceEmpty as Zc, RuntimeCommand as Zi, SpaceCommerceFeatureBenefit as Zn, SpaceFsCopyError as Zo, SpaceSandboxConfig as Zr, RUNTIME_ARCHIVE_SEGMENT_BYTES as Zs, PromptAccessMode as Zt, AcceptInvitationResponse as _, NATIVE_SYNC_SOURCE as _a, normalizeDisplayPoint as _c, UserSessionSourceKey as _i, ReferralReward as _n, AppArtifactManifest as _o, SpaceFsFileKind as _r, BoardManifest as _s, CronJobRecord as _t, CohubRuntimeKind as a, RuntimeStopConfirmation as aa, DisplayCapture as ac, SpaceUsageSummary as ai, PublicUserWorkItem as an, RealtimeRoom as ao, SpaceConfigUpdateResponse as ar, BoardAwarenessGesture as as, CheckpointDiffStatus as at, BillingBalanceActivity as b, NativeIngestTurn as ba, AppRtcPublication as bc, isUserLevelPermission as bi, SandboxSpecId as bn, AppBoardAsset as bo, SpaceFsPreparingFile as br, BoardReadInput as bs, GenerationUsageBlock as bt, normalizeVoiceInputWebsocketUrl as c, RuntimeTurnUserMessage as ca, DisplayInfo as cc, USER_LEVEL_PERMISSIONS as ci, ReferenceAggregateResponse as cn, RealtimeRoomHistory as co, SpaceEnvInput as cr, BoardAwarenessUpdate as cs, ClaimReferralResponse as ct, resolveCohubEnvironment as d, runtimeCommandSchema as da, DisplaySession as dc, UserActivityRange as di, ReferenceQueryResponse as dn, RealtimeServerEvent as do, SpaceFsCreateDirectoryInput as dr, BoardApplyInput as ds, CreateSpaceInput as dt, RuntimeExecutionEvent as ea, RuntimeArchiveUpload as ec, SpaceTurnAuthorFilter as ei, normalizeRequestSource as el, PublicReferral as en, ChannelEnvelope as eo, SpaceCommerceProductBenefitBinding as er, SpaceFsCopyResponse as es, CheckpointDiffFile as et, resolveExecutionAppId as f, runtimeEventSchema as fa, DisplaySystemAction as fc, UserActivityRankings as fi, ReferenceQueryableType as fn, RealtimeSessionFork as fo, SpaceFsCreateUploadInput as fr, BoardApplyResult as fs, CreateSpaceModInput as ft, resolveWebsocketUrl as g, NATIVE_INGEST_MAX_TURNS as ga, DisplayVirtualStart as gc, UserSessionListItem as gi, ReferralListItem as gn, AppArtifactDownloadDescriptor as go, SpaceFsEntry as gr, BoardHistoryPage as gs, CronJobPayload as gt, resolveWebBaseUrl as h, selectRuntimeContextMessages as ha, DisplayViewer as hc, UserRulesResponse as hi, ReferralDashboard as hn, AppArtifactDescriptor as ho, SpaceFsEncoding as hr, BoardHistoryInput as hs, CreateSpaceSessionInput as ht, CohubExecutionContext as i, RuntimeStatus as ia, DISPLAY_SYSTEM_ACTIONS as ic, SpaceUsageResponse as ii, resolveRequestSourceChannel as il, PublicUserSpaceItem as in, RealtimePatchOperation as io, SpaceConfigResponse as ir, SpaceFsCopyStatus as is, CheckpointDiffStats as it, BillingCreditGrantStatus as j, nativeTurnCompleteSchema as ja, CompletionMessageInput as jc, SessionFilesResponse as ji, SessionTurnStreamSnapshotResponse as jn, DESKTOP_COMMAND_VERSION as jo, SpaceFsUploadResponse as jr, BoardDelta as js, JsonValue as jt, BillingConversionIntent as k, nativeIngestTurnSchema as ka, CompletionImageInput as kc, SessionFileChangeKind as ki, SessionTurnResponse as kn, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as ko, SpaceFsUploadPlanEntryInput as kr, BoardAnimationSchema as ks, JsonObject as kt, normalizeWebsocketUrl as l, isLocalHarness as la, DisplayInputEvent as lc, UsageTotals as li, ReferenceDirection as ln, RealtimeRoomHistoryEvent as lo, SpaceFsCompleteUploadInput as lr, TaskRunBoard as ls, CreateInvitationInput as lt, resolveVoiceInputWebsocketUrl as m, contextToPiMessages as ma, DisplayTreeParams as mc, UserProfile as mi, ReferenceResourceType as mn, SessionTurnPatchEvent as mo, SpaceFsDeleteNodeInput as mr, BoardCreateInput as ms, CreateSpacePromptResponse as mt, CohubContext as n, RuntimePendingExecution as na, validateArchiveBoundary as nc, SpaceTurnsResponse as ni, readRequestSourceFromEnv as nl, PublicUserPageResponse as nn, RealtimeAppRecord as no, SpaceConfig as nr, SpaceFsCopySource as ns, CheckpointDiffPatchKind as nt, getCohubContext as o, RuntimeTraceContext as oa, DisplayCaptureParams as oc, TaskRunDetailResponse as oi, ReferenceAggregateGroup as on, RealtimeRoomDescriptor as oo, SpaceCreateResponse as or, BoardAwarenessItemPreview as os, CheckpointDiffSummary as ot, resolveExecutionToken as p, runtimeReadySchema as pa, DisplayTree as pc, UserActivityResponse as pi, ReferenceRecord as pn, SessionCreatedEvent as po, SpaceFsCreateUploadResponse as pr, BoardChangeSummary as ps, CreateSpacePromptInput as pt, BillingRedemptionResult as q, GenerationModelDeclaration as qa, RequestSource as qc, RUNTIME_MAX_FRAME_BYTES as qi, SpaceCheckpointDetailResponse as qn, resolveOpenSurface as qo, SpacePublicProfile as qr, AppAuthorizationResult as qs, PaletteOverviewSpaceRelation as qt, CohubEnvironment as r, RuntimeSessionRecoveryStatus as ra, DISPLAY_ELEMENT_REF_PATTERN as rc, SpaceUsageHourlyStat as ri, requestSourceToHeaders as rl, PublicUserProfile as rn, RealtimeAppVersionRecord as ro, SpaceConfigInput as rr, SpaceFsCopyStats as rs, CheckpointDiffPatchLine as rt, normalizeBaseUrl as s, RuntimeTurnInput as sa, DisplayElement as sc, TaskRunRecord as si, ReferenceAggregateGroupBy as sn, RealtimeRoomEvent as so, SpaceDefaultResponse as sr, BoardAwarenessStateUpdate as ss, CheckpointRecord as st, COHUB_ENVIRONMENTS as t, RuntimeMessage as ta, harnessArchiveIndexSchema as tc, SpaceTurnListItem as ti, parseRequestSourceFromHeaders as tl, PublicUserAppItem as tn, LabelAssignmentsUpdatedEvent as to, SpaceCommerceProductCreditBenefit as tr, SpaceFsCopyResult as ts, CheckpointDiffFileResponse as tt, resolveApiBaseUrl as u, resolveHarness as ua, DisplayList as uc, UserActivityQuery as ui, ReferenceKind as un, RealtimeRoomMember as uo, SpaceFsCompleteUploadResponse as ur, parseBoardDocument as us, CreateInvitationResponse as ut, ApiError as v, NativeIngest as va, AppRtcDelivery as vc, UserSessionSpaceSummary as vi, ReferralStatus as vn, AppArtifactManifestFile as vo, SpaceFsFileResponse as vr, BoardPlaybackCommand as vs, CronJobUpdatePatch as vt, BillingCatalog as w, NativeTurnMessage as wa, DISPLAY_ACTION_TYPES as wc, ChannelHealthReasonCode as wi, SessionMessageResponse as wn, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as wo, SpaceFsTreeResponse as wr, BoardTransactionRecord as ws, GlobalSearchResponse as wt, BillingBalanceActivityKind as x, NativeKnownResult as xa, AppRtcQuality as xc, scopeListHasPermission as xi, SendMessageCronJobPayload as xn, AppContentKind as xo, SpaceFsReadFilesError as xr, BoardReadResult as xs, GenerationUsageHourlyStat as xt, BatchUserProfilesResponse as y, NativeIngestResult as ya, AppRtcMediaKind as yc, UserSessionsResponse as yi, ResourceLabelsResponse as yn, AppBoardArtifactManifest as yo, SpaceFsMoveInput as yr, BoardPlaybackSnapshot as ys, CursorPageInfo as yt, BillingPluginStatus as z, decodeGenerationPolicy as za, Usage as zc, SessionTurnIndexItem as zi, SpaceActivityAppRanking as zn, DesktopFileTarget as zo, SpaceListPage as zr, BoardSettings as zs, LabelResourceType as zt };