@neta-art/cohub 8.17.0 → 8.18.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.
@@ -203,6 +203,439 @@ type SpaceCompletionStreamEvent = {
203
203
  completionId?: string | null;
204
204
  };
205
205
  //#endregion
206
+ //#region ../protocol/dist/runtime/archive.d.ts
207
+ declare const RUNTIME_ARCHIVE_SEGMENT_BYTES: number;
208
+ declare const runtimeArchiveSegmentSchema: z.ZodObject<{
209
+ offset: z.ZodNumber;
210
+ sizeBytes: z.ZodNumber;
211
+ sha256: z.ZodString;
212
+ md5: z.ZodString;
213
+ }, z.core.$strict>;
214
+ declare const harnessArchiveSchema: z.ZodObject<{
215
+ sessionId: z.ZodString;
216
+ turnId: z.ZodString;
217
+ harness: z.ZodEnum<{
218
+ codex: "codex";
219
+ pi: "pi";
220
+ }>;
221
+ }, z.core.$strict>;
222
+ declare const harnessArchiveIndexSchema: z.ZodObject<{
223
+ sessionId: z.ZodString;
224
+ turnId: z.ZodString;
225
+ harness: z.ZodEnum<{
226
+ codex: "codex";
227
+ pi: "pi";
228
+ }>;
229
+ version: z.ZodLiteral<1>;
230
+ nativeFormat: z.ZodEnum<{
231
+ "codex.rollout": "codex.rollout";
232
+ "pi.jsonl": "pi.jsonl";
233
+ }>;
234
+ nativeSessionId: z.ZodString;
235
+ parentTurnId: z.ZodNullable<z.ZodString>;
236
+ sizeBytes: z.ZodNumber;
237
+ sha256: z.ZodString;
238
+ segments: z.ZodArray<z.ZodObject<{
239
+ offset: z.ZodNumber;
240
+ sizeBytes: z.ZodNumber;
241
+ sha256: z.ZodString;
242
+ md5: z.ZodString;
243
+ }, z.core.$strict>>;
244
+ }, z.core.$strict>;
245
+ type HarnessArchive = z.infer<typeof harnessArchiveSchema>;
246
+ type HarnessArchiveIndex = z.infer<typeof harnessArchiveIndexSchema>;
247
+ type RuntimeArchiveSegment = z.infer<typeof runtimeArchiveSegmentSchema>;
248
+ type RuntimeArchiveUpload = {
249
+ segment: RuntimeArchiveSegment;
250
+ uploadUrl: string;
251
+ headers?: Record<string, string>;
252
+ };
253
+ type RuntimeArchivePage = {
254
+ index: HarnessArchiveIndex;
255
+ segments: Array<{
256
+ segment: RuntimeArchiveSegment;
257
+ downloadUrl: string;
258
+ }>;
259
+ };
260
+ declare function validateArchiveBoundary(index: HarnessArchiveIndex, parent: HarnessArchiveIndex | null): void;
261
+ //#endregion
262
+ //#region ../protocol/dist/runtime/context.d.ts
263
+ type ContextProjectionOptions = {
264
+ /** Provider recorded on projected assistant messages whose row has none. */
265
+ fallbackProvider?: string | null;
266
+ /** Resolve the wire api of a historical row from its own provider/model. */
267
+ resolveApi?: (input: {
268
+ provider: string | null;
269
+ model: string | null;
270
+ }) => string | null;
271
+ };
272
+ declare function selectRuntimeContextMessages(messages: RuntimeContextMessage[]): RuntimeContextMessage[];
273
+ /**
274
+ * Compile durable, normalized messages into Pi-compatible context without replaying tools.
275
+ * Representable blocks and tool pairing are preserved verbatim; anything without a native
276
+ * representation is dropped rather than described in prompt text.
277
+ */
278
+ declare function contextToPiMessages(messages: RuntimeContextMessage[], options?: ContextProjectionOptions): Record<string, unknown>[];
279
+ //#endregion
280
+ //#region ../protocol/dist/runtime/index.d.ts
281
+ declare const RUNTIME_PROTOCOL_VERSION: 1;
282
+ declare const RUNTIME_MAX_FRAME_BYTES: number;
283
+ declare const harnessSchema: z.ZodEnum<{
284
+ codex: "codex";
285
+ cohub: "cohub";
286
+ pi: "pi";
287
+ }>;
288
+ type HarnessKind = z.infer<typeof harnessSchema>;
289
+ type LocalHarness = Exclude<HarnessKind, "cohub">;
290
+ declare const isLocalHarness: (value: unknown) => value is LocalHarness;
291
+ declare const resolveHarness: (meta: unknown) => HarnessKind;
292
+ type RuntimeContextMessage = {
293
+ id: string;
294
+ turnId: string;
295
+ role: "user" | "assistant" | "system";
296
+ content: ContentBlock[];
297
+ provider?: string | null;
298
+ model?: string | null;
299
+ usage?: Usage | null;
300
+ stopReason?: string | null;
301
+ errorMessage?: string | null;
302
+ meta?: Record<string, unknown> | null;
303
+ };
304
+ type RuntimeContext = {
305
+ complete?: boolean;
306
+ revision: string;
307
+ throughTurnId: string | null;
308
+ messages: RuntimeContextMessage[];
309
+ archive?: HarnessArchive | null;
310
+ resolvedTurnIds?: string[];
311
+ settledTurnIds?: string[];
312
+ };
313
+ declare const runtimeCapabilitiesSchema: z.ZodObject<{
314
+ harnesses: z.ZodArray<z.ZodEnum<{
315
+ codex: "codex";
316
+ pi: "pi";
317
+ }>>;
318
+ models: z.ZodArray<z.ZodObject<{
319
+ harness: z.ZodEnum<{
320
+ codex: "codex";
321
+ pi: "pi";
322
+ }>;
323
+ provider: z.ZodString;
324
+ id: z.ZodString;
325
+ name: z.ZodString;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>;
328
+ type RuntimeCapabilities = z.infer<typeof runtimeCapabilitiesSchema>;
329
+ declare const runtimeReadySchema: z.ZodObject<{
330
+ type: z.ZodLiteral<"runtime.ready">;
331
+ connectionId: z.ZodString;
332
+ }, z.core.$strip>;
333
+ type RuntimeStatus = {
334
+ kind: "cloud" | "local";
335
+ online: boolean;
336
+ capabilities: RuntimeCapabilities | null;
337
+ recovery: {
338
+ pending: number;
339
+ revision: string;
340
+ };
341
+ canManage: boolean;
342
+ };
343
+ declare const runtimeStopConfirmationSchema: z.ZodObject<{
344
+ revision: z.ZodString;
345
+ confirmed: z.ZodLiteral<true>;
346
+ }, z.core.$strict>;
347
+ type RuntimeStopConfirmation = z.infer<typeof runtimeStopConfirmationSchema>;
348
+ type RuntimeTurnUserMessage = {
349
+ turnId: string;
350
+ userMessageId: string;
351
+ userId: string | null;
352
+ content: ContentBlock[];
353
+ };
354
+ type RuntimeTurnInput = {
355
+ spaceId: string;
356
+ sessionId: string;
357
+ turnId: string;
358
+ userMessageId: string;
359
+ harness: LocalHarness;
360
+ /** Ordered claim inputs. The final message owns execution, streaming and archival. */
361
+ messages: RuntimeTurnUserMessage[];
362
+ context: RuntimeContext;
363
+ provider?: string | null;
364
+ model?: string | null;
365
+ thinkingLevel?: string | null;
366
+ accessMode: "read_only" | "full_access";
367
+ };
368
+ type RuntimeMessage = {
369
+ ordinal: number;
370
+ content: ContentBlock[];
371
+ provider?: string | null;
372
+ model?: string | null;
373
+ usage?: Usage | null;
374
+ stopReason?: string | null;
375
+ errorMessage?: string | null;
376
+ };
377
+ type RuntimeExecutionEvent = {
378
+ type: "message.start";
379
+ ordinal: number;
380
+ } | {
381
+ type: "text.delta";
382
+ ordinal: number;
383
+ index: number;
384
+ kind: "text" | "thinking";
385
+ delta: string;
386
+ } | {
387
+ type: "content.replace";
388
+ ordinal: number;
389
+ content: ContentBlock[];
390
+ } | {
391
+ type: "message.commit";
392
+ message: RuntimeMessage;
393
+ } | {
394
+ type: "turn.end";
395
+ message: RuntimeMessage;
396
+ archive?: HarnessArchive | null;
397
+ resume: "native" | "restored" | "handoff" | "new";
398
+ } | {
399
+ type: "context.required";
400
+ pendingTurnIds?: string[];
401
+ historyOnly?: boolean;
402
+ } | {
403
+ type: "turn.acknowledged";
404
+ } | {
405
+ type: "turn.error";
406
+ message: string;
407
+ uncertain?: boolean;
408
+ };
409
+ declare const runtimeEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
410
+ type: z.ZodLiteral<"message.start">;
411
+ ordinal: z.ZodNumber;
412
+ }, z.core.$strip>, z.ZodObject<{
413
+ type: z.ZodLiteral<"text.delta">;
414
+ ordinal: z.ZodNumber;
415
+ index: z.ZodNumber;
416
+ kind: z.ZodEnum<{
417
+ text: "text";
418
+ thinking: "thinking";
419
+ }>;
420
+ delta: z.ZodString;
421
+ }, z.core.$strip>, z.ZodObject<{
422
+ type: z.ZodLiteral<"content.replace">;
423
+ ordinal: z.ZodNumber;
424
+ content: z.ZodArray<z.ZodType<ContentBlock, unknown, z.core.$ZodTypeInternals<ContentBlock, unknown>>>;
425
+ }, z.core.$strip>, z.ZodObject<{
426
+ type: z.ZodLiteral<"message.commit">;
427
+ message: z.ZodObject<{
428
+ ordinal: z.ZodNumber;
429
+ content: z.ZodArray<z.ZodType<ContentBlock, unknown, z.core.$ZodTypeInternals<ContentBlock, unknown>>>;
430
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
432
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
433
+ input: z.ZodOptional<z.ZodNumber>;
434
+ output: z.ZodOptional<z.ZodNumber>;
435
+ cacheRead: z.ZodOptional<z.ZodNumber>;
436
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
437
+ totalTokens: z.ZodOptional<z.ZodNumber>;
438
+ cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
439
+ input: z.ZodOptional<z.ZodNumber>;
440
+ output: z.ZodOptional<z.ZodNumber>;
441
+ cacheRead: z.ZodOptional<z.ZodNumber>;
442
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
443
+ total: z.ZodOptional<z.ZodNumber>;
444
+ }, z.core.$strip>>>;
445
+ }, z.core.$strip>>>;
446
+ stopReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ }, z.core.$strip>;
449
+ }, z.core.$strip>, z.ZodObject<{
450
+ type: z.ZodLiteral<"turn.end">;
451
+ message: z.ZodObject<{
452
+ ordinal: z.ZodNumber;
453
+ content: z.ZodArray<z.ZodType<ContentBlock, unknown, z.core.$ZodTypeInternals<ContentBlock, unknown>>>;
454
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
456
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
457
+ input: z.ZodOptional<z.ZodNumber>;
458
+ output: z.ZodOptional<z.ZodNumber>;
459
+ cacheRead: z.ZodOptional<z.ZodNumber>;
460
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
461
+ totalTokens: z.ZodOptional<z.ZodNumber>;
462
+ cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
463
+ input: z.ZodOptional<z.ZodNumber>;
464
+ output: z.ZodOptional<z.ZodNumber>;
465
+ cacheRead: z.ZodOptional<z.ZodNumber>;
466
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
467
+ total: z.ZodOptional<z.ZodNumber>;
468
+ }, z.core.$strip>>>;
469
+ }, z.core.$strip>>>;
470
+ stopReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ }, z.core.$strip>;
473
+ archive: z.ZodOptional<z.ZodNullable<z.ZodObject<{
474
+ sessionId: z.ZodString;
475
+ turnId: z.ZodString;
476
+ harness: z.ZodEnum<{
477
+ codex: "codex";
478
+ pi: "pi";
479
+ }>;
480
+ }, z.core.$strict>>>;
481
+ resume: z.ZodEnum<{
482
+ handoff: "handoff";
483
+ native: "native";
484
+ new: "new";
485
+ restored: "restored";
486
+ }>;
487
+ }, z.core.$strip>, z.ZodObject<{
488
+ type: z.ZodLiteral<"context.required">;
489
+ pendingTurnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
490
+ historyOnly: z.ZodOptional<z.ZodBoolean>;
491
+ }, z.core.$strip>, z.ZodObject<{
492
+ type: z.ZodLiteral<"turn.acknowledged">;
493
+ }, z.core.$strip>, z.ZodObject<{
494
+ type: z.ZodLiteral<"turn.error">;
495
+ message: z.ZodString;
496
+ uncertain: z.ZodOptional<z.ZodBoolean>;
497
+ }, z.core.$strip>], "type">;
498
+ declare const runtimeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
499
+ type: z.ZodLiteral<"turn.recover">;
500
+ requestId: z.ZodString;
501
+ execution: z.ZodObject<{
502
+ spaceId: z.ZodString;
503
+ sessionId: z.ZodString;
504
+ turnId: z.ZodString;
505
+ harness: z.ZodEnum<{
506
+ codex: "codex";
507
+ pi: "pi";
508
+ }>;
509
+ }, z.core.$strip>;
510
+ }, z.core.$strip>, z.ZodObject<{
511
+ type: z.ZodLiteral<"turn.start">;
512
+ requestId: z.ZodString;
513
+ resumeOnly: z.ZodOptional<z.ZodBoolean>;
514
+ input: z.ZodObject<{
515
+ spaceId: z.ZodString;
516
+ sessionId: z.ZodString;
517
+ turnId: z.ZodString;
518
+ userMessageId: z.ZodString;
519
+ harness: z.ZodEnum<{
520
+ codex: "codex";
521
+ pi: "pi";
522
+ }>;
523
+ messages: z.ZodArray<z.ZodObject<{
524
+ turnId: z.ZodString;
525
+ userMessageId: z.ZodString;
526
+ userId: z.ZodNullable<z.ZodString>;
527
+ content: z.ZodArray<z.ZodType<ContentBlock, unknown, z.core.$ZodTypeInternals<ContentBlock, unknown>>>;
528
+ }, z.core.$strip>>;
529
+ context: z.ZodObject<{
530
+ complete: z.ZodOptional<z.ZodBoolean>;
531
+ revision: z.ZodString;
532
+ throughTurnId: z.ZodNullable<z.ZodString>;
533
+ messages: z.ZodArray<z.ZodObject<{
534
+ id: z.ZodString;
535
+ turnId: z.ZodString;
536
+ role: z.ZodEnum<{
537
+ assistant: "assistant";
538
+ system: "system";
539
+ user: "user";
540
+ }>;
541
+ content: z.ZodArray<z.ZodType<ContentBlock, unknown, z.core.$ZodTypeInternals<ContentBlock, unknown>>>;
542
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
543
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
545
+ input: z.ZodOptional<z.ZodNumber>;
546
+ output: z.ZodOptional<z.ZodNumber>;
547
+ cacheRead: z.ZodOptional<z.ZodNumber>;
548
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
549
+ totalTokens: z.ZodOptional<z.ZodNumber>;
550
+ cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
551
+ input: z.ZodOptional<z.ZodNumber>;
552
+ output: z.ZodOptional<z.ZodNumber>;
553
+ cacheRead: z.ZodOptional<z.ZodNumber>;
554
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
555
+ total: z.ZodOptional<z.ZodNumber>;
556
+ }, z.core.$strip>>>;
557
+ }, z.core.$strip>>>;
558
+ stopReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
559
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
560
+ meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
561
+ }, z.core.$strip>>;
562
+ archive: z.ZodOptional<z.ZodNullable<z.ZodObject<{
563
+ sessionId: z.ZodString;
564
+ turnId: z.ZodString;
565
+ harness: z.ZodEnum<{
566
+ codex: "codex";
567
+ pi: "pi";
568
+ }>;
569
+ }, z.core.$strict>>>;
570
+ resolvedTurnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
571
+ settledTurnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
572
+ }, z.core.$strip>;
573
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
574
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ thinkingLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
+ accessMode: z.ZodEnum<{
577
+ full_access: "full_access";
578
+ read_only: "read_only";
579
+ }>;
580
+ }, z.core.$strip>;
581
+ }, z.core.$strip>, z.ZodObject<{
582
+ type: z.ZodLiteral<"session.context">;
583
+ requestId: z.ZodString;
584
+ context: z.ZodObject<{
585
+ complete: z.ZodOptional<z.ZodBoolean>;
586
+ revision: z.ZodString;
587
+ throughTurnId: z.ZodNullable<z.ZodString>;
588
+ messages: z.ZodArray<z.ZodObject<{
589
+ id: z.ZodString;
590
+ turnId: z.ZodString;
591
+ role: z.ZodEnum<{
592
+ assistant: "assistant";
593
+ system: "system";
594
+ user: "user";
595
+ }>;
596
+ content: z.ZodArray<z.ZodType<ContentBlock, unknown, z.core.$ZodTypeInternals<ContentBlock, unknown>>>;
597
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
600
+ input: z.ZodOptional<z.ZodNumber>;
601
+ output: z.ZodOptional<z.ZodNumber>;
602
+ cacheRead: z.ZodOptional<z.ZodNumber>;
603
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
604
+ totalTokens: z.ZodOptional<z.ZodNumber>;
605
+ cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
606
+ input: z.ZodOptional<z.ZodNumber>;
607
+ output: z.ZodOptional<z.ZodNumber>;
608
+ cacheRead: z.ZodOptional<z.ZodNumber>;
609
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
610
+ total: z.ZodOptional<z.ZodNumber>;
611
+ }, z.core.$strip>>>;
612
+ }, z.core.$strip>>>;
613
+ stopReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
+ meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
616
+ }, z.core.$strip>>;
617
+ archive: z.ZodOptional<z.ZodNullable<z.ZodObject<{
618
+ sessionId: z.ZodString;
619
+ turnId: z.ZodString;
620
+ harness: z.ZodEnum<{
621
+ codex: "codex";
622
+ pi: "pi";
623
+ }>;
624
+ }, z.core.$strict>>>;
625
+ resolvedTurnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
626
+ settledTurnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
627
+ }, z.core.$strip>;
628
+ }, z.core.$strip>, z.ZodObject<{
629
+ type: z.ZodLiteral<"turn.abort">;
630
+ requestId: z.ZodString;
631
+ }, z.core.$strip>, z.ZodObject<{
632
+ type: z.ZodLiteral<"turn.ack">;
633
+ requestId: z.ZodString;
634
+ revision: z.ZodString;
635
+ turnId: z.ZodString;
636
+ }, z.core.$strip>], "type">;
637
+ type RuntimeCommand = z.infer<typeof runtimeCommandSchema>;
638
+ //#endregion
206
639
  //#region ../protocol/dist/model/turn.d.ts
207
640
  type SessionTurnStatus = "queued" | "running" | "abort_requested" | "completed" | "failed" | "interrupted" | "merged" | "cancelled";
208
641
  type SessionTurnIntent = "steer" | "followup" | "compact";
@@ -366,6 +799,7 @@ type SessionTurnRecord = {
366
799
  summary: SessionTurnSummary | null;
367
800
  intermediateIndex: SessionTurnIntermediateIndex | null;
368
801
  intermediateSummary: SessionTurnIntermediateSummary | null;
802
+ harnessIndex?: HarnessArchiveIndex | null;
369
803
  meta: Record<string, unknown> | null;
370
804
  /** Effective thinking level used for this turn (derived from meta.effectiveThinkingLevel). */
371
805
  thinkingLevel?: ModelThinkingLevel | null;
@@ -536,7 +970,7 @@ type ChannelHealth = {
536
970
  meta?: Record<string, string> | null;
537
971
  };
538
972
  //#endregion
539
- //#region ../../node_modules/.pnpm/@neta-art+generation@0.1.28/node_modules/@neta-art/generation/dist/builtins-jIE_k69Z.d.ts
973
+ //#region ../../node_modules/.pnpm/@neta-art+generation@0.1.30/node_modules/@neta-art/generation/dist/builtins-jIE_k69Z.d.ts
540
974
  //#region src/types.d.ts
541
975
  declare const MODEL_SCHEMA: "neta.generation.model.v1";
542
976
  declare const GENERATION_MODEL_CATEGORIES: readonly ["image", "video", "audio"];
@@ -761,6 +1195,77 @@ declare function assertGenerationRequestAllowedByPolicy(input: {
761
1195
  }): void;
762
1196
  declare function filterGenerationDeclarationsByPolicy<T extends PublicDeclaration>(declarations: T[], policy: GenerationPolicy | null): T[];
763
1197
  //#endregion
1198
+ //#region ../protocol/dist/app-authorization.d.ts
1199
+ declare const appAuthorizationTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1200
+ kind: z.ZodLiteral<"account">;
1201
+ }, z.core.$strip>, z.ZodObject<{
1202
+ kind: z.ZodLiteral<"space">;
1203
+ spaceId: z.ZodString;
1204
+ }, z.core.$strip>, z.ZodObject<{
1205
+ kind: z.ZodLiteral<"pick-space">;
1206
+ }, z.core.$strip>], "kind">;
1207
+ declare const appAuthorizationRequestSchema: z.ZodObject<{
1208
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1209
+ kind: z.ZodLiteral<"account">;
1210
+ }, z.core.$strip>, z.ZodObject<{
1211
+ kind: z.ZodLiteral<"space">;
1212
+ spaceId: z.ZodString;
1213
+ }, z.core.$strip>, z.ZodObject<{
1214
+ kind: z.ZodLiteral<"pick-space">;
1215
+ }, z.core.$strip>], "kind">;
1216
+ scopes: z.ZodArray<z.ZodString>;
1217
+ reason: z.ZodOptional<z.ZodString>;
1218
+ alwaysAsk: z.ZodOptional<z.ZodBoolean>;
1219
+ fallback: z.ZodDefault<z.ZodEnum<{
1220
+ allow: "allow";
1221
+ none: "none";
1222
+ }>>;
1223
+ }, z.core.$strip>;
1224
+ declare const appAuthorizationGrantSchema: z.ZodObject<{
1225
+ id: z.ZodString;
1226
+ spaceId: z.ZodString;
1227
+ scopes: z.ZodArray<z.ZodString>;
1228
+ expiresAt: z.ZodNullable<z.ZodString>;
1229
+ }, z.core.$strip>;
1230
+ declare const appAuthorizationResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1231
+ status: z.ZodLiteral<"granted">;
1232
+ requestedTarget: z.ZodDiscriminatedUnion<[z.ZodObject<{
1233
+ kind: z.ZodLiteral<"account">;
1234
+ }, z.core.$strip>, z.ZodObject<{
1235
+ kind: z.ZodLiteral<"space">;
1236
+ spaceId: z.ZodString;
1237
+ }, z.core.$strip>, z.ZodObject<{
1238
+ kind: z.ZodLiteral<"pick-space">;
1239
+ }, z.core.$strip>], "kind">;
1240
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1241
+ kind: z.ZodLiteral<"account">;
1242
+ }, z.core.$strip>, z.ZodObject<{
1243
+ kind: z.ZodLiteral<"space">;
1244
+ spaceId: z.ZodString;
1245
+ name: z.ZodNullable<z.ZodString>;
1246
+ }, z.core.$strip>], "kind">;
1247
+ resolution: z.ZodEnum<{
1248
+ fallback: "fallback";
1249
+ requested: "requested";
1250
+ selected: "selected";
1251
+ }>;
1252
+ grant: z.ZodObject<{
1253
+ id: z.ZodString;
1254
+ spaceId: z.ZodString;
1255
+ scopes: z.ZodArray<z.ZodString>;
1256
+ expiresAt: z.ZodNullable<z.ZodString>;
1257
+ }, z.core.$strip>;
1258
+ }, z.core.$strip>, z.ZodObject<{
1259
+ status: z.ZodLiteral<"cancelled">;
1260
+ }, z.core.$strip>, z.ZodObject<{
1261
+ status: z.ZodLiteral<"denied">;
1262
+ code: z.ZodString;
1263
+ }, z.core.$strip>], "status">;
1264
+ type AppAuthorizationTarget = z.infer<typeof appAuthorizationTargetSchema>;
1265
+ type AppAuthorizationGrant = z.infer<typeof appAuthorizationGrantSchema>;
1266
+ type AppAuthorizationResult = z.infer<typeof appAuthorizationResultSchema>;
1267
+ type AppAuthorizationRequest = z.input<typeof appAuthorizationRequestSchema>;
1268
+ //#endregion
764
1269
  //#region ../protocol/dist/board-constants.d.ts
765
1270
  type BoardCoordinateSpace = "world" | "frame-local" | "world-offset" | "screen" | "screen-offset" | "normalized";
766
1271
  type BoardRenderCost = {
@@ -5740,7 +6245,7 @@ type SessionTurnLifecycleEvent = {
5740
6245
  at: string;
5741
6246
  };
5742
6247
  };
5743
- type RealtimeTurnRecord = Partial<Pick<SessionTurnRecord, "id" | "sessionId" | "sequence" | "executionKind" | "status" | "intent" | "userUuid" | "authorProfile" | "userContent" | "userText" | "assistantContent" | "assistantText" | "provider" | "model" | "stopReason" | "errorMessage" | "finalUsage" | "totalUsage" | "summary" | "intermediateIndex" | "intermediateSummary" | "meta" | "thinkingLevel" | "startedAt" | "completedAt" | "durationMs" | "createdAt" | "updatedAt">>;
6248
+ type RealtimeTurnRecord = Partial<Pick<SessionTurnRecord, "id" | "sessionId" | "sequence" | "executionKind" | "status" | "intent" | "userUuid" | "authorProfile" | "userContent" | "userText" | "assistantContent" | "assistantText" | "provider" | "model" | "stopReason" | "errorMessage" | "finalUsage" | "totalUsage" | "summary" | "intermediateIndex" | "intermediateSummary" | "harnessIndex" | "meta" | "thinkingLevel" | "startedAt" | "completedAt" | "durationMs" | "createdAt" | "updatedAt">>;
5744
6249
  type RealtimeMessageRecord = Pick<MessageRecord, "id" | "sessionId" | "role" | "content" | "text" | "sequence" | "provider" | "model" | "stopReason" | "errorMessage" | "usage" | "meta" | "startedAt" | "completedAt" | "durationMs" | "createdAt">;
5745
6250
  type SessionTurnCreatedEvent = {
5746
6251
  id: string;
@@ -7059,6 +7564,8 @@ type CreateSpacePromptInput = {
7059
7564
  content?: ContentBlock[];
7060
7565
  model?: string | null;
7061
7566
  provider?: string | null;
7567
+ /** Harness selected for this turn. */
7568
+ harness?: "cohub" | "pi" | "codex" | null;
7062
7569
  /** Optional thinking level override for this turn. Omit to inherit session default. */
7063
7570
  thinkingLevel?: ModelThinkingLevel | null;
7064
7571
  clientMessageId?: string | null;
@@ -7667,4 +8174,4 @@ declare const resolveVoiceInputWebsocketUrl: (options?: {
7667
8174
  env?: CohubEnvironment;
7668
8175
  }) => string;
7669
8176
  //#endregion
7670
- export { CheckpointDiffFile as $, BoardEffectInput as $a, DesktopFileTarget as $i, SpaceCommerceProductCreditBenefit as $n, CompletionMessageRole as $o, SpaceUsageResponse as $r, PublicReferral as $t, BillingCreditGrantStatus as A, BoardPlaybackCommand as Aa, SessionTurnPatchEvent as Ai, SessionTurnWindowResponse as An, parseGenerationPolicyFromEnv as Ao, SpaceFsWriteFileInput as Ar, LabelAssignmentListItem as At, BillingProductCreditBenefit as B, BoardValidationResult as Ba, DESKTOP_COMMAND_MAX_TIMEOUT_MS as Bi, SpaceBootstrapMeta as Bn, FeishuChannelConfig as Bo, SpacePresenceSnapshot as Br, MeResponse as Bt, BillingCatalog as C, BoardCameraFocusParams as Ca, RealtimeAppVersionRecord as Ci, SessionMessagesPaginatedResponse as Cn, assertGenerationRequestAllowedByPolicy as Co, SpaceFsUploadDestination as Cr, GlobalSearchResult as Ct, BillingCheckoutResult as D, BoardDiagnostic as Da, RealtimeRoomEvent as Di, SessionTurnResponse as Dn, findGenerationModelPolicy as Do, SpaceFsUploadPlanEntryInput as Dr, JsonObject as Dt, BillingCheckoutConfirmation as E, BoardCreateInput as Ea, RealtimeRoomDescriptor as Ei, SessionTurnIndexResponse as En, filterGenerationDeclarationsByPolicy as Eo, SpaceFsUploadPlanEntry as Er, InvitationDetail as Et, BillingDiscountPricing as F, BoardSummary as Fa, AppBoardArtifactManifest as Fi, SpaceAccess as Fn, ChannelConfig as Fo, SpaceMember as Fr, LabelListItem as Ft, BillingPromotionCodePreview as G, BoardAuthoringSnapshot as Ga, DESKTOP_COMMAND_VERSION as Gi, SpaceCheckpointDetailResponse as Gn, SessionTurnIndexItem as Go, SpaceSandboxAutoDestroyPolicy as Gr, PaletteOverviewSpace as Gt, BillingProductKind as H, BoardAuthoringItem as Ha, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Hi, SpaceBootstrapStage as Hn, SessionForkRecord as Ho, SpacePublicProfile as Hr, PERMISSIONS as Ht, BillingHistoryPagination as I, BoardTransactionOperation as Ia, AppBoardAsset as Ii, SpaceAccessPolicy as In, ChannelHealth as Io, SpaceMeta as Ir, LabelRecord as It, BillingSubscriptionHistoryList as J, BoardSemanticCommand as Ja, DesktopCommand as Ji, SpaceCommerceCreditsBenefit as Jn, StoredIntermediateMessage as Jo, SpaceSessionsResponse as Jr, PatchResourceLabelsResponse as Jt, BillingRedemptionResult as K, BoardItemPatch as Ka, DesktopAppTarget as Ki, SpaceCommerceBenefit as Kn, SessionTurnRecord as Ko, SpaceSandboxConfig as Kr, PaletteOverviewSpaceRelation as Kt, BillingPaymentStatus as L, BoardTransactionRecord as La, AppContentKind as Li, SpaceActivityAppRanking as Ln, ChannelHealthReasonCode as Lo, SpaceModListItem as Lr, LabelResourceType as Lt, BillingCreditUnit as M, BoardPlaybackPolicySchema as Ma, AppArtifactDownloadDescriptor as Mi, SkillCatalogEntry as Mn, GenerationContentBlock as Mo, SpaceInvitationListResponse as Mr, LabelAssignmentRecord as Mt, BillingDiscountOffer as N, BoardPlaybackSnapshot as Na, AppArtifactManifest as Ni, SkillCatalogResponse as Nn, GenerationModelDeclaration as No, SpaceInvitationLocation as Nr, LabelItemsResponse as Nt, BillingConversionIntent as O, BoardManifest as Oa, RealtimeRoomMember as Oi, SessionTurnSignedUrlsResponse as On, getAllowedGenerationModelIds as Oo, SpaceFsUploadProgress as Or, JsonPrimitive as Ot, BillingDiscountOfferRef as P, BoardRecord as Pa, AppArtifactManifestFile as Pi, SkillCatalogSource as Pn, GenerationResult as Po, SpaceListItem as Pr, LabelItemsSessionFork as Pt, CheckpointDiffDelivery as Q, BoardEffect as Qa, DesktopCommandStatus as Qi, SpaceCommerceProductBenefitBinding as Qn, CompletionMessage as Qo, SpaceUsageHourlyStat as Qr, PromptTemplateCatalogResponse as Qt, BillingPluginStatus as R, BoardTransactionsPage as Ra, AppVersionSource as Ri, SpaceActivityContributor as Rn, ChannelRuntimeState as Ro, SpacePendingDiffFileResponse as Rr, LabelScopeType as Rt, BillingBalanceActivityStatus as S, BoardCameraFocus as Sa, RealtimeAppRecord as Si, SessionMessageResponse as Sn, GenerationPolicyError as So, SpaceFsTreeResponse as Sr, resolveRequestSourceChannel as Ss, GlobalSearchResponse as St, BillingCheckoutActionState as T, BoardCapabilities as Ta, RealtimeRoom as Ti, SessionRecord as Tn, encodeGenerationPolicy as To, SpaceFsUploadError as Tr, GlobalSearchViewerRelation as Tt, BillingProductPricing as U, BoardAuthoringItemSchema as Ua, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as Ui, SpaceBootstrapStatus as Un, SessionTurnSegmentRecord as Uo, SpaceRecord as Ur, PaletteOverviewResponse as Ut, BillingProductDisplay as V, parseBoardPlaybackPolicy as Va, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Vi, SpaceBootstrapSource as Vn, MessageRecord as Vo, SpacePresenceUser as Vr, ModelCatalogEntry as Vt, BillingProductPromotion as W, BoardAuthoringReadInput as Wa, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Wi, SpaceChannelBindingInput as Wn, MessageToolCallsFile as Wo, SpaceRole as Wr, PaletteOverviewSession as Wt, BillingSubscriptionSummary as X, BoardSemanticMutation as Xa, DesktopCommandError as Xi, SpaceCommerceOrder as Xn, TurnIntermediateMessagesFile as Xo, SpaceTurnListItem as Xr, PromptAccessMode as Xt, BillingSubscriptionHistoryStatus as Y, BoardSemanticCommandSchema as Ya, DesktopCommandDispatchedPayload as Yi, SpaceCommerceFeatureBenefit as Yn, StoredToolCall as Yo, SpaceTurnAuthorFilter as Yr, Permission as Yt, Channel as Z, BoardAssetRef as Za, DesktopCommandRecord as Zi, SpaceCommerceProduct as Zn, CompletionAssistantMessage as Zo, SpaceTurnsResponse as Zr, PromptTemplateCatalogEntry as Zt, ApiError as _, BoardGeoKind as _a, BoardAwarenessUpdatedEvent as _i, ReferralStatus as _n, BoardCoordinateSpace as _o, SpaceFsMoveInput as _r, mergeRequestSourceIntoMeta as _s, CronJobUpdatePatch as _t, CohubRuntimeKind as a, parseDesktopCommand as aa, UserActivityRange as ai, ReferenceAggregateGroup as an, BoardComposition as ao, SpaceDefaultResponse as ar, SpaceCompletionStreamEvent as as, CheckpointDiffSummary as at, BillingBalanceActivityKind as b, BoardDealParams as ba, ChannelEnvelope as bi, SendMessageCronJobPayload as bn, GenerationParameterConstraint as bo, SpaceFsReadFilesInput as br, readRequestSourceFromEnv as bs, GenerationUsageHourlyStat as bt, normalizeVoiceInputWebsocketUrl as c, NavigationLaunch as ca, UserProfile as ci, ReferenceDirection as cn, BoardCompositionSchema as co, SpaceFsCompleteUploadResponse as cr, COHUB_SOURCE_HEADER as cs, CreateInvitationInput as ct, resolveCohubEnvironment as d, BoardAwarenessNodePreview as da, UserSessionSourceKey as di, ReferenceQueryableType as dn, BoardTimeline as do, SpaceFsCreateUploadResponse as dr, RequestSource as ds, CreateSpaceModInput as dt, DesktopOpenCommand as ea, SpaceUsageSummary as ei, PublicUserAppItem as en, BoardEffectInputSchema as eo, SpaceConfig as er, CompletionThinkingLevel as es, CheckpointDiffFileResponse as et, resolveExecutionAppId as f, BoardAwarenessStateUpdate as fa, UserSessionSpaceSummary as fi, ReferenceRecord as fn, BoardTimelineMarker as fo, SpaceFsDeleteNodeInput as fr, RequestSourceVia as fs, CreateSpacePromptInput as ft, AcceptInvitationResponse as g, BoardColorId as ga, AppVersionPublishedEvent as gi, ReferralReward as gn, BoardCapability as go, SpaceFsFileResponse as gr, isRequestSourceUuid as gs, CronJobRecord as gt, resolveWebsocketUrl as h, BOARD_GEO_KINDS as ha, scopeListHasPermission as hi, ReferralListItem as hn, parseBoardCompositionInput as ho, SpaceFsFileKind as hr, isRequestSourceEmpty as hs, CronJobPayload as ht, CohubExecutionContext as i, isTerminalDesktopCommandStatus as ia, UserActivityQuery as ii, PublicUserWorkItem as in, BoardAnimationTarget as io, SpaceCreateResponse as ir, SpaceCompletionResult as is, CheckpointDiffStatus as it, BillingCreditStatus as j, BoardPlaybackPolicy as ja, AppArtifactDescriptor as ji, SessionTurnsPaginatedResponse as jn, BillingPayload as jo, SpaceInvitation as jr, LabelAssignmentPageInfo as jt, BillingCreditExpiryGroup as k, BoardMutationReceipt as ka, RealtimeServerEvent as ki, SessionTurnStreamSnapshotResponse as kn, normalizeGenerationPolicy as ko, SpaceFsUploadResponse as kr, JsonValue as kt, normalizeWebsocketUrl as l, SpacePublicEndpoints as la, UserRulesResponse as li, ReferenceKind as ln, BoardEasing as lo, SpaceFsCreateDirectoryInput as lr, COHUB_SOURCE_HEADER_NAMES as ls, CreateInvitationResponse as lt, resolveVoiceInputWebsocketUrl as m, BOARD_COLOR_IDS as ma, isUserLevelPermission as mi, ReferralDashboard as mn, BoardTrackInterpolation as mo, SpaceFsEntry as mr, isRequestSourceClientId as ms, CreateSpaceSessionInput as mt, CohubContext as n, DesktopTarget as na, TaskRunRecord as ni, PublicUserProfile as nn, parseBoardEffectInput as no, SpaceConfigResponse as nr, CreateSpaceCompletionInput as ns, CheckpointDiffPatchLine as nt, getCohubContext as o, resolveOpenSurface as oa, UserActivityRankings as oi, ReferenceAggregateGroupBy as on, BoardCompositionInputSchema as oo, SpaceEnvInput as or, Usage as os, CheckpointRecord as ot, resolveExecutionToken as p, BoardAwarenessUpdate as pa, UserSessionsResponse as pi, ReferenceResourceType as pn, BoardTrack as po, SpaceFsEncoding as pr, hasRequestSourceIdentity as ps, CreateSpacePromptResponse as pt, BillingResponsePayload as q, BoardItemPatchSchema as qa, DesktopCall as qi, SpaceCommerceBuyerProfile as qn, SpaceTurnsResponse$1 as qo, SpaceSandboxProvider as qr, PatchResourceLabelsInput as qt, CohubEnvironment as r, isDesktopCallMethod as ra, USER_LEVEL_PERMISSIONS as ri, PublicUserSpaceItem as rn, BOARD_ANIMATION_CHANNEL_CAPABILITIES as ro, SpaceConfigUpdateResponse as rr, ModelThinkingLevel as rs, CheckpointDiffStats as rt, normalizeBaseUrl as s, NavigationCall as sa, UserActivityResponse as si, ReferenceAggregateResponse as sn, BoardCompositionPlayback as so, SpaceFsCompleteUploadInput as sr, ContentBlock as ss, ClaimReferralResponse as st, COHUB_ENVIRONMENTS as t, DesktopSurface as ta, TaskRunDetailResponse as ti, PublicUserPageResponse as tn, BoardEffectSchema as to, SpaceConfigInput as tr, CompletionUsage as ts, CheckpointDiffPatchKind as tt, resolveApiBaseUrl as u, BoardAwarenessGesture as ua, UserSessionListItem as ui, ReferenceQueryResponse as un, BoardProceduralClip as uo, SpaceFsCreateUploadInput as ur, REQUEST_SOURCE_VIA_MAX_LENGTH as us, CreateSpaceInput as ut, BatchUserProfilesResponse as v, BoardAnimationSpec as va, BoardChangedEvent as vi, ResourceLabelsResponse as vn, BoardRenderCost as vo, SpaceFsPreparingFile as vr, normalizeRequestSource as vs, CursorPageInfo as vt, BillingCatalogProduct as w, BoardCameraState as wa, RealtimePatchOperation as wi, SessionMessagesResponse as wn, decodeGenerationPolicy as wo, SpaceFsUploadEntry as wr, GlobalSearchType as wt, BillingBalanceActivityList as x, BoardDealParamsSchema as xa, LabelAssignmentsUpdatedEvent as xi, SessionBindingRecord as xn, GenerationPolicy as xo, SpaceFsReadFilesResponse as xr, requestSourceToHeaders as xs, GenerationUsageSummary as xt, BillingBalanceActivity as y, BoardAnimationSpecSchema as ya, BoardPlaybackChangedEvent as yi, SandboxSpecId as yn, GenerationModelPolicy as yo, SpaceFsReadFilesError as yr, parseRequestSourceFromHeaders as ys, GenerationUsageBlock as yt, BillingProductBillingInterval as z, BoardTransactionsReadInput as za, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as zi, SpaceActivityResponse as zn, DiscordChannelConfig as zo, SpacePendingDiffSummary as zr, LabelSource as zt };
8177
+ export { CheckpointDiffFile as $, BoardEffectInput as $a, DesktopFileTarget as $i, SpaceCommerceProductCreditBenefit as $n, StoredToolCall as $o, SpaceUsageResponse as $r, readRequestSourceFromEnv as $s, PublicReferral as $t, BillingCreditGrantStatus as A, BoardPlaybackCommand as Aa, SessionTurnPatchEvent as Ai, SessionTurnWindowResponse as An, filterGenerationDeclarationsByPolicy as Ao, SpaceFsWriteFileInput as Ar, CompletionAssistantMessage as As, LabelAssignmentListItem as At, BillingProductCreditBenefit as B, BoardValidationResult as Ba, DESKTOP_COMMAND_MAX_TIMEOUT_MS as Bi, SpaceBootstrapMeta as Bn, ChannelHealth as Bo, SpacePresenceSnapshot as Br, ContentBlock as Bs, MeResponse as Bt, BillingCatalog as C, BoardCameraFocusParams as Ca, RealtimeAppVersionRecord as Ci, SessionMessagesPaginatedResponse as Cn, GenerationModelPolicy as Co, SpaceFsUploadDestination as Cr, HarnessArchiveIndex as Cs, GlobalSearchResult as Ct, BillingCheckoutResult as D, BoardDiagnostic as Da, RealtimeRoomEvent as Di, SessionTurnResponse as Dn, assertGenerationRequestAllowedByPolicy as Do, SpaceFsUploadPlanEntryInput as Dr, RuntimeArchiveUpload as Ds, JsonObject as Dt, BillingCheckoutConfirmation as E, BoardCreateInput as Ea, RealtimeRoomDescriptor as Ei, SessionTurnIndexResponse as En, GenerationPolicyError as Eo, SpaceFsUploadPlanEntry as Er, RuntimeArchiveSegment as Es, InvitationDetail as Et, BillingDiscountPricing as F, BoardSummary as Fa, AppBoardArtifactManifest as Fi, SpaceAccess as Fn, BillingPayload as Fo, SpaceMember as Fr, CreateSpaceCompletionInput as Fs, LabelListItem as Ft, BillingPromotionCodePreview as G, BoardAuthoringSnapshot as Ga, DESKTOP_COMMAND_VERSION as Gi, SpaceCheckpointDetailResponse as Gn, MessageRecord as Go, SpaceSandboxAutoDestroyPolicy as Gr, RequestSourceVia as Gs, PaletteOverviewSpace as Gt, BillingProductKind as H, BoardAuthoringItem as Ha, DESKTOP_COMMAND_PENDING_TTL_SECONDS as Hi, SpaceBootstrapStage as Hn, ChannelRuntimeState as Ho, SpacePublicProfile as Hr, COHUB_SOURCE_HEADER_NAMES as Hs, PERMISSIONS as Ht, BillingHistoryPagination as I, BoardTransactionOperation as Ia, AppBoardAsset as Ii, SpaceAccessPolicy as In, GenerationContentBlock as Io, SpaceMeta as Ir, ModelThinkingLevel as Is, LabelRecord as It, BillingSubscriptionHistoryList as J, BoardSemanticCommand as Ja, DesktopCommand as Ji, SpaceCommerceCreditsBenefit as Jn, MessageToolCallsFile as Jo, SpaceSessionsResponse as Jr, isRequestSourceEmpty as Js, PatchResourceLabelsResponse as Jt, BillingRedemptionResult as K, BoardItemPatch as Ka, DesktopAppTarget as Ki, SpaceCommerceBenefit as Kn, SessionForkRecord as Ko, SpaceSandboxConfig as Kr, hasRequestSourceIdentity as Ks, PaletteOverviewSpaceRelation as Kt, BillingPaymentStatus as L, BoardTransactionRecord as La, AppContentKind as Li, SpaceActivityAppRanking as Ln, GenerationModelDeclaration as Lo, SpaceModListItem as Lr, SpaceCompletionResult as Ls, LabelResourceType as Lt, BillingCreditUnit as M, BoardPlaybackPolicySchema as Ma, AppArtifactDownloadDescriptor as Mi, SkillCatalogEntry as Mn, getAllowedGenerationModelIds as Mo, SpaceInvitationListResponse as Mr, CompletionMessageRole as Ms, LabelAssignmentRecord as Mt, BillingDiscountOffer as N, BoardPlaybackSnapshot as Na, AppArtifactManifest as Ni, SkillCatalogResponse as Nn, normalizeGenerationPolicy as No, SpaceInvitationLocation as Nr, CompletionThinkingLevel as Ns, LabelItemsResponse as Nt, BillingConversionIntent as O, BoardManifest as Oa, RealtimeRoomMember as Oi, SessionTurnSignedUrlsResponse as On, decodeGenerationPolicy as Oo, SpaceFsUploadProgress as Or, harnessArchiveIndexSchema as Os, JsonPrimitive as Ot, BillingDiscountOfferRef as P, BoardRecord as Pa, AppArtifactManifestFile as Pi, SkillCatalogSource as Pn, parseGenerationPolicyFromEnv as Po, SpaceListItem as Pr, CompletionUsage as Ps, LabelItemsSessionFork as Pt, CheckpointDiffDelivery as Q, BoardEffect as Qa, DesktopCommandStatus as Qi, SpaceCommerceProductBenefitBinding as Qn, StoredIntermediateMessage as Qo, SpaceUsageHourlyStat as Qr, parseRequestSourceFromHeaders as Qs, PromptTemplateCatalogResponse as Qt, BillingPluginStatus as R, BoardTransactionsPage as Ra, AppVersionSource as Ri, SpaceActivityContributor as Rn, GenerationResult as Ro, SpacePendingDiffFileResponse as Rr, SpaceCompletionStreamEvent as Rs, LabelScopeType as Rt, BillingBalanceActivityStatus as S, BoardCameraFocus as Sa, RealtimeAppRecord as Si, SessionMessageResponse as Sn, AppAuthorizationTarget as So, SpaceFsTreeResponse as Sr, HarnessArchive as Ss, GlobalSearchResponse as St, BillingCheckoutActionState as T, BoardCapabilities as Ta, RealtimeRoom as Ti, SessionRecord as Tn, GenerationPolicy as To, SpaceFsUploadError as Tr, RuntimeArchivePage as Ts, GlobalSearchViewerRelation as Tt, BillingProductPricing as U, BoardAuthoringItemSchema as Ua, DESKTOP_COMMAND_SETTLEMENT_GRACE_SECONDS as Ui, SpaceBootstrapStatus as Un, DiscordChannelConfig as Uo, SpaceRecord as Ur, REQUEST_SOURCE_VIA_MAX_LENGTH as Us, PaletteOverviewResponse as Ut, BillingProductDisplay as V, parseBoardPlaybackPolicy as Va, DESKTOP_COMMAND_PAYLOAD_MAX_BYTES as Vi, SpaceBootstrapSource as Vn, ChannelHealthReasonCode as Vo, SpacePresenceUser as Vr, COHUB_SOURCE_HEADER as Vs, ModelCatalogEntry as Vt, BillingProductPromotion as W, BoardAuthoringReadInput as Wa, DESKTOP_COMMAND_TERMINAL_TTL_SECONDS as Wi, SpaceChannelBindingInput as Wn, FeishuChannelConfig as Wo, SpaceRole as Wr, RequestSource as Ws, PaletteOverviewSession as Wt, BillingSubscriptionSummary as X, BoardSemanticMutation as Xa, DesktopCommandError as Xi, SpaceCommerceOrder as Xn, SessionTurnRecord as Xo, SpaceTurnListItem as Xr, mergeRequestSourceIntoMeta as Xs, PromptAccessMode as Xt, BillingSubscriptionHistoryStatus as Y, BoardSemanticCommandSchema as Ya, DesktopCommandDispatchedPayload as Yi, SpaceCommerceFeatureBenefit as Yn, SessionTurnIndexItem as Yo, SpaceTurnAuthorFilter as Yr, isRequestSourceUuid as Ys, Permission as Yt, Channel as Z, BoardAssetRef as Za, DesktopCommandRecord as Zi, SpaceCommerceProduct as Zn, SpaceTurnsResponse$1 as Zo, SpaceTurnsResponse as Zr, normalizeRequestSource as Zs, PromptTemplateCatalogEntry as Zt, ApiError as _, BoardGeoKind as _a, BoardAwarenessUpdatedEvent as _i, ReferralStatus as _n, BoardCoordinateSpace as _o, SpaceFsMoveInput as _r, runtimeCommandSchema as _s, CronJobUpdatePatch as _t, CohubRuntimeKind as a, parseDesktopCommand as aa, UserActivityRange as ai, ReferenceAggregateGroup as an, BoardComposition as ao, SpaceDefaultResponse as ar, RuntimeCapabilities as as, CheckpointDiffSummary as at, BillingBalanceActivityKind as b, BoardDealParams as ba, ChannelEnvelope as bi, SendMessageCronJobPayload as bn, AppAuthorizationRequest as bo, SpaceFsReadFilesInput as br, contextToPiMessages as bs, GenerationUsageHourlyStat as bt, normalizeVoiceInputWebsocketUrl as c, NavigationLaunch as ca, UserProfile as ci, ReferenceDirection as cn, BoardCompositionSchema as co, SpaceFsCompleteUploadResponse as cr, RuntimeContextMessage as cs, CreateInvitationInput as ct, resolveCohubEnvironment as d, BoardAwarenessNodePreview as da, UserSessionSourceKey as di, ReferenceQueryableType as dn, BoardTimeline as do, SpaceFsCreateUploadResponse as dr, RuntimeStatus as ds, CreateSpaceModInput as dt, DesktopOpenCommand as ea, requestSourceToHeaders as ec, SpaceUsageSummary as ei, PublicUserAppItem as en, BoardEffectInputSchema as eo, SpaceConfig as er, TurnIntermediateMessagesFile as es, CheckpointDiffFileResponse as et, resolveExecutionAppId as f, BoardAwarenessStateUpdate as fa, UserSessionSpaceSummary as fi, ReferenceRecord as fn, BoardTimelineMarker as fo, SpaceFsDeleteNodeInput as fr, RuntimeStopConfirmation as fs, CreateSpacePromptInput as ft, AcceptInvitationResponse as g, BoardColorId as ga, AppVersionPublishedEvent as gi, ReferralReward as gn, BoardCapability as go, SpaceFsFileResponse as gr, resolveHarness as gs, CronJobRecord as gt, resolveWebsocketUrl as h, BOARD_GEO_KINDS as ha, scopeListHasPermission as hi, ReferralListItem as hn, parseBoardCompositionInput as ho, SpaceFsFileKind as hr, isLocalHarness as hs, CronJobPayload as ht, CohubExecutionContext as i, isTerminalDesktopCommandStatus as ia, UserActivityQuery as ii, PublicUserWorkItem as in, BoardAnimationTarget as io, SpaceCreateResponse as ir, RUNTIME_PROTOCOL_VERSION as is, CheckpointDiffStatus as it, BillingCreditStatus as j, BoardPlaybackPolicy as ja, AppArtifactDescriptor as ji, SessionTurnsPaginatedResponse as jn, findGenerationModelPolicy as jo, SpaceInvitation as jr, CompletionMessage as js, LabelAssignmentPageInfo as jt, BillingCreditExpiryGroup as k, BoardMutationReceipt as ka, RealtimeServerEvent as ki, SessionTurnStreamSnapshotResponse as kn, encodeGenerationPolicy as ko, SpaceFsUploadResponse as kr, validateArchiveBoundary as ks, JsonValue as kt, normalizeWebsocketUrl as l, SpacePublicEndpoints as la, UserRulesResponse as li, ReferenceKind as ln, BoardEasing as lo, SpaceFsCreateDirectoryInput as lr, RuntimeExecutionEvent as ls, CreateInvitationResponse as lt, resolveVoiceInputWebsocketUrl as m, BOARD_COLOR_IDS as ma, isUserLevelPermission as mi, ReferralDashboard as mn, BoardTrackInterpolation as mo, SpaceFsEntry as mr, RuntimeTurnUserMessage as ms, CreateSpaceSessionInput as mt, CohubContext as n, DesktopTarget as na, TaskRunRecord as ni, PublicUserProfile as nn, parseBoardEffectInput as no, SpaceConfigResponse as nr, LocalHarness as ns, CheckpointDiffPatchLine as nt, getCohubContext as o, resolveOpenSurface as oa, UserActivityRankings as oi, ReferenceAggregateGroupBy as on, BoardCompositionInputSchema as oo, SpaceEnvInput as or, RuntimeCommand as os, CheckpointRecord as ot, resolveExecutionToken as p, BoardAwarenessUpdate as pa, UserSessionsResponse as pi, ReferenceResourceType as pn, BoardTrack as po, SpaceFsEncoding as pr, RuntimeTurnInput as ps, CreateSpacePromptResponse as pt, BillingResponsePayload as q, BoardItemPatchSchema as qa, DesktopCall as qi, SpaceCommerceBuyerProfile as qn, SessionTurnSegmentRecord as qo, SpaceSandboxProvider as qr, isRequestSourceClientId as qs, PatchResourceLabelsInput as qt, CohubEnvironment as r, isDesktopCallMethod as ra, USER_LEVEL_PERMISSIONS as ri, PublicUserSpaceItem as rn, BOARD_ANIMATION_CHANNEL_CAPABILITIES as ro, SpaceConfigUpdateResponse as rr, RUNTIME_MAX_FRAME_BYTES as rs, CheckpointDiffStats as rt, normalizeBaseUrl as s, NavigationCall as sa, UserActivityResponse as si, ReferenceAggregateResponse as sn, BoardCompositionPlayback as so, SpaceFsCompleteUploadInput as sr, RuntimeContext as ss, ClaimReferralResponse as st, COHUB_ENVIRONMENTS as t, DesktopSurface as ta, resolveRequestSourceChannel as tc, TaskRunDetailResponse as ti, PublicUserPageResponse as tn, BoardEffectSchema as to, SpaceConfigInput as tr, HarnessKind as ts, CheckpointDiffPatchKind as tt, resolveApiBaseUrl as u, BoardAwarenessGesture as ua, UserSessionListItem as ui, ReferenceQueryResponse as un, BoardProceduralClip as uo, SpaceFsCreateUploadInput as ur, RuntimeMessage as us, CreateSpaceInput as ut, BatchUserProfilesResponse as v, BoardAnimationSpec as va, BoardChangedEvent as vi, ResourceLabelsResponse as vn, BoardRenderCost as vo, SpaceFsPreparingFile as vr, runtimeEventSchema as vs, CursorPageInfo as vt, BillingCatalogProduct as w, BoardCameraState as wa, RealtimePatchOperation as wi, SessionMessagesResponse as wn, GenerationParameterConstraint as wo, SpaceFsUploadEntry as wr, RUNTIME_ARCHIVE_SEGMENT_BYTES as ws, GlobalSearchType as wt, BillingBalanceActivityList as x, BoardDealParamsSchema as xa, LabelAssignmentsUpdatedEvent as xi, SessionBindingRecord as xn, AppAuthorizationResult as xo, SpaceFsReadFilesResponse as xr, selectRuntimeContextMessages as xs, GenerationUsageSummary as xt, BillingBalanceActivity as y, BoardAnimationSpecSchema as ya, BoardPlaybackChangedEvent as yi, SandboxSpecId as yn, AppAuthorizationGrant as yo, SpaceFsReadFilesError as yr, runtimeReadySchema as ys, GenerationUsageBlock as yt, BillingProductBillingInterval as z, BoardTransactionsReadInput as za, DESKTOP_COMMAND_DEFAULT_TIMEOUT_MS as zi, SpaceActivityResponse as zn, ChannelConfig as zo, SpacePendingDiffSummary as zr, Usage as zs, LabelSource as zt };