@40rty/ams-sdk 0.5.0 → 0.5.2

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 (24) hide show
  1. package/dist/index.js +816 -548
  2. package/dist/types/sdk/src/analytics/index.d.ts +1 -1
  3. package/dist/types/sdk/src/analytics/outbox.d.ts +2 -0
  4. package/dist/types/sdk/src/analytics/scope-context.d.ts +2 -0
  5. package/dist/types/sdk/src/analytics/scope.d.ts +7 -0
  6. package/dist/types/sdk/src/host/host-modules.d.ts +275 -36
  7. package/dist/types/spacestation/src/analytics/envelope.d.ts +24 -0
  8. package/dist/types/spacestation/src/attachment/attachment.d.ts +8 -5
  9. package/dist/types/spacestation/src/catalog/element-filled.d.ts +2 -2
  10. package/dist/types/spacestation/src/catalog/wire/index.d.ts +2 -0
  11. package/dist/types/spacestation/src/catalog/wire/package-bundle-ref.d.ts +30 -0
  12. package/dist/types/spacestation/src/catalog/wire/package-release.d.ts +20 -0
  13. package/dist/types/spacestation/src/catalog/wire/sdk-compat.d.ts +43 -0
  14. package/dist/types/spacestation/src/contracts/socket-ticket-param.d.ts +9 -0
  15. package/dist/types/spacestation/src/contracts/wire-protocol.d.ts +25 -0
  16. package/dist/types/spacestation/src/index.d.ts +5 -1
  17. package/dist/types/spacestation/src/space/agent-directive.d.ts +239 -0
  18. package/dist/types/spacestation/src/space/session-queue.d.ts +24 -24
  19. package/dist/types/spacestation/src/space/trace.d.ts +12 -12
  20. package/dist/types/spacestation/src/trace/trace-diagnostics.d.ts +8 -0
  21. package/dist/types/spacestation/src/trace/trace-events.d.ts +1 -0
  22. package/dist/types/spacestation/src/widgets/presence/index.d.ts +1 -1
  23. package/dist/types/spacestation/src/widgets/presence/scan.d.ts +21 -0
  24. package/package.json +1 -1
@@ -36,6 +36,7 @@ export declare const HOST_MODULES: {
36
36
  z: typeof zod.z;
37
37
  createAnalyticsScope: typeof sdk.createAnalyticsScope;
38
38
  AnalyticsSinkProvider: react.Provider<sdk.AnalyticsSink | null>;
39
+ TurnScopeProvider: react.Provider<string | null>;
39
40
  useAnalyticsSink: typeof sdk.useAnalyticsSink;
40
41
  useOptionalAnalyticsSink: typeof sdk.useOptionalAnalyticsSink;
41
42
  SURFACE_DISPOSITION: Record<"spacefront" | "embed" | "replay" | "lab" | "static-canvas" | "packages-preview" | "console-preview" | "operator-preview", sdk.SurfaceDisposition>;
@@ -1390,6 +1391,7 @@ export declare const HOST_MODULES: {
1390
1391
  label: zod.ZodString;
1391
1392
  version: zod.ZodString;
1392
1393
  description: zod.ZodOptional<zod.ZodString>;
1394
+ builtWithSdk: zod.ZodOptional<zod.ZodString>;
1393
1395
  catalog: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1394
1396
  type: zod.ZodString;
1395
1397
  propsSchema: zod.ZodOptional<zod.ZodType<spacestation.WireSchema, zod.ZodTypeDef, spacestation.WireSchema>>;
@@ -1662,6 +1664,7 @@ export declare const HOST_MODULES: {
1662
1664
  order: number;
1663
1665
  content: string;
1664
1666
  }>, "many">>;
1667
+ spacePrompt: zod.ZodOptional<zod.ZodString>;
1665
1668
  config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1666
1669
  draft: zod.ZodOptional<zod.ZodObject<{
1667
1670
  of: zod.ZodString;
@@ -1707,6 +1710,7 @@ export declare const HOST_MODULES: {
1707
1710
  manifests: Record<string, string>;
1708
1711
  config?: Record<string, unknown> | undefined;
1709
1712
  description?: string | undefined;
1713
+ builtWithSdk?: string | undefined;
1710
1714
  bundle?: {
1711
1715
  js: string;
1712
1716
  css: string;
@@ -1749,6 +1753,7 @@ export declare const HOST_MODULES: {
1749
1753
  order: number;
1750
1754
  content: string;
1751
1755
  }[] | undefined;
1756
+ spacePrompt?: string | undefined;
1752
1757
  draft?: {
1753
1758
  of: string;
1754
1759
  space: string;
@@ -1787,6 +1792,7 @@ export declare const HOST_MODULES: {
1787
1792
  manifests: Record<string, string>;
1788
1793
  config?: Record<string, unknown> | undefined;
1789
1794
  description?: string | undefined;
1795
+ builtWithSdk?: string | undefined;
1790
1796
  bundle?: {
1791
1797
  js: string;
1792
1798
  css: string;
@@ -1829,6 +1835,7 @@ export declare const HOST_MODULES: {
1829
1835
  order: number;
1830
1836
  content: string;
1831
1837
  }[] | undefined;
1838
+ spacePrompt?: string | undefined;
1832
1839
  draft?: {
1833
1840
  of: string;
1834
1841
  space: string;
@@ -1838,6 +1845,39 @@ export declare const HOST_MODULES: {
1838
1845
  isDraftSource: typeof spacestation.isDraftSource;
1839
1846
  releasePreviewSourceId: typeof spacestation.releasePreviewSourceId;
1840
1847
  parseReleasePreview: typeof spacestation.parseReleasePreview;
1848
+ SDK_VERSION_PATTERN: RegExp;
1849
+ SdkVersionSchema: zod.ZodString;
1850
+ OLDEST_SUPPORTED_SDK: "0.3.0";
1851
+ SDK_SHIMS: {
1852
+ readonly legacyCanvasActions: {
1853
+ readonly below: "0.4.0";
1854
+ };
1855
+ };
1856
+ compareSdkVersions: typeof spacestation.compareSdkVersions;
1857
+ sdkShimsFor: typeof spacestation.sdkShimsFor;
1858
+ sdkWindowProblem: typeof spacestation.sdkWindowProblem;
1859
+ PackageBundleRefSchema: zod.ZodObject<{
1860
+ sourceId: zod.ZodString;
1861
+ js: zod.ZodString;
1862
+ css: zod.ZodString;
1863
+ label: zod.ZodString;
1864
+ version: zod.ZodString;
1865
+ builtWithSdk: zod.ZodOptional<zod.ZodString>;
1866
+ }, "strip", zod.ZodTypeAny, {
1867
+ label: string;
1868
+ sourceId: string;
1869
+ version: string;
1870
+ js: string;
1871
+ css: string;
1872
+ builtWithSdk?: string | undefined;
1873
+ }, {
1874
+ label: string;
1875
+ sourceId: string;
1876
+ version: string;
1877
+ js: string;
1878
+ css: string;
1879
+ builtWithSdk?: string | undefined;
1880
+ }>;
1841
1881
  BRAND_MARK_TYPES: readonly ["svg", "png"];
1842
1882
  BRAND_MARK_SLOTS: readonly ["square", "wordmark"];
1843
1883
  BRAND_MARK_MAX_BYTES: number;
@@ -2359,6 +2399,11 @@ export declare const HOST_MODULES: {
2359
2399
  REFERRER_HOST_PARAM: "referrer_host";
2360
2400
  arrivalFromParams: typeof spacestation.arrivalFromParams;
2361
2401
  arrivalToParams: typeof spacestation.arrivalToParams;
2402
+ SOCKET_TICKET_PARAM: "ticket";
2403
+ WIRE_PROTOCOL_VERSION: 1;
2404
+ MIN_WIRE_PROTOCOL_VERSION: 1;
2405
+ WIRE_PROTOCOL_PARAM: "protocol";
2406
+ WIRE_PROTOCOL_UNSUPPORTED_CLOSE: 4426;
2362
2407
  AttributeDefSchema: zod.ZodType<spacestation.AttributeDef, zod.ZodTypeDef, spacestation.AttributeDef>;
2363
2408
  AttributeScopeBucketSchema: zod.ZodObject<{
2364
2409
  scope: zod.ZodString;
@@ -2423,6 +2468,200 @@ export declare const HOST_MODULES: {
2423
2468
  normalizeAttributeField: typeof spacestation.normalizeAttributeField;
2424
2469
  scopedAttributeKey: typeof spacestation.scopedAttributeKey;
2425
2470
  scopeOfAttributeKey: typeof spacestation.scopeOfAttributeKey;
2471
+ AgentDirectiveSchema: zod.ZodObject<{
2472
+ name: zod.ZodString;
2473
+ kind: zod.ZodEnum<["preference", "pairing", "order of things", "promise", "threshold"]>;
2474
+ severity: zod.ZodEnum<["a missed opportunity", "a problem", "unacceptable"]>;
2475
+ text: zod.ZodEffects<zod.ZodString, string, string>;
2476
+ }, "strict", zod.ZodTypeAny, {
2477
+ kind: "promise" | "preference" | "pairing" | "order of things" | "threshold";
2478
+ name: string;
2479
+ text: string;
2480
+ severity: "a missed opportunity" | "a problem" | "unacceptable";
2481
+ }, {
2482
+ kind: "promise" | "preference" | "pairing" | "order of things" | "threshold";
2483
+ name: string;
2484
+ text: string;
2485
+ severity: "a missed opportunity" | "a problem" | "unacceptable";
2486
+ }>;
2487
+ SpaceAgentDirectiveSchema: zod.ZodObject<{
2488
+ id: zod.ZodString;
2489
+ position: zod.ZodNumber;
2490
+ name: zod.ZodString;
2491
+ kind: zod.ZodEnum<["preference", "pairing", "order of things", "promise", "threshold"]>;
2492
+ severity: zod.ZodEnum<["a missed opportunity", "a problem", "unacceptable"]>;
2493
+ text: zod.ZodString;
2494
+ source: zod.ZodEnum<["owner", "operator", "session-lesson"]>;
2495
+ status: zod.ZodEnum<["proposed", "active", "rejected", "retired"]>;
2496
+ createdBy: zod.ZodNullable<zod.ZodString>;
2497
+ evidence: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2498
+ decidedBy: zod.ZodNullable<zod.ZodString>;
2499
+ decidedAt: zod.ZodNullable<zod.ZodString>;
2500
+ createdAt: zod.ZodString;
2501
+ }, "strip", zod.ZodTypeAny, {
2502
+ status: "proposed" | "active" | "rejected" | "retired";
2503
+ kind: "promise" | "preference" | "pairing" | "order of things" | "threshold";
2504
+ id: string;
2505
+ name: string;
2506
+ text: string;
2507
+ source: "owner" | "operator" | "session-lesson";
2508
+ severity: "a missed opportunity" | "a problem" | "unacceptable";
2509
+ position: number;
2510
+ createdBy: string | null;
2511
+ evidence: Record<string, unknown> | null;
2512
+ decidedBy: string | null;
2513
+ decidedAt: string | null;
2514
+ createdAt: string;
2515
+ }, {
2516
+ status: "proposed" | "active" | "rejected" | "retired";
2517
+ kind: "promise" | "preference" | "pairing" | "order of things" | "threshold";
2518
+ id: string;
2519
+ name: string;
2520
+ text: string;
2521
+ source: "owner" | "operator" | "session-lesson";
2522
+ severity: "a missed opportunity" | "a problem" | "unacceptable";
2523
+ position: number;
2524
+ createdBy: string | null;
2525
+ evidence: Record<string, unknown> | null;
2526
+ decidedBy: string | null;
2527
+ decidedAt: string | null;
2528
+ createdAt: string;
2529
+ }>;
2530
+ SpaceAgentDirectiveListItemSchema: zod.ZodObject<{
2531
+ id: zod.ZodString;
2532
+ position: zod.ZodNumber;
2533
+ name: zod.ZodString;
2534
+ kind: zod.ZodEnum<["preference", "pairing", "order of things", "promise", "threshold"]>;
2535
+ severity: zod.ZodEnum<["a missed opportunity", "a problem", "unacceptable"]>;
2536
+ text: zod.ZodString;
2537
+ source: zod.ZodEnum<["owner", "operator", "session-lesson"]>;
2538
+ status: zod.ZodEnum<["proposed", "active", "rejected", "retired"]>;
2539
+ createdBy: zod.ZodNullable<zod.ZodString>;
2540
+ evidence: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2541
+ decidedBy: zod.ZodNullable<zod.ZodString>;
2542
+ decidedAt: zod.ZodNullable<zod.ZodString>;
2543
+ createdAt: zod.ZodString;
2544
+ } & {
2545
+ impact: zod.ZodNullable<zod.ZodObject<{
2546
+ before: zod.ZodObject<{
2547
+ turns: zod.ZodNumber;
2548
+ acted: zod.ZodNumber;
2549
+ }, "strip", zod.ZodTypeAny, {
2550
+ turns: number;
2551
+ acted: number;
2552
+ }, {
2553
+ turns: number;
2554
+ acted: number;
2555
+ }>;
2556
+ after: zod.ZodObject<{
2557
+ turns: zod.ZodNumber;
2558
+ acted: zod.ZodNumber;
2559
+ }, "strip", zod.ZodTypeAny, {
2560
+ turns: number;
2561
+ acted: number;
2562
+ }, {
2563
+ turns: number;
2564
+ acted: number;
2565
+ }>;
2566
+ }, "strip", zod.ZodTypeAny, {
2567
+ before: {
2568
+ turns: number;
2569
+ acted: number;
2570
+ };
2571
+ after: {
2572
+ turns: number;
2573
+ acted: number;
2574
+ };
2575
+ }, {
2576
+ before: {
2577
+ turns: number;
2578
+ acted: number;
2579
+ };
2580
+ after: {
2581
+ turns: number;
2582
+ acted: number;
2583
+ };
2584
+ }>>;
2585
+ }, "strip", zod.ZodTypeAny, {
2586
+ status: "proposed" | "active" | "rejected" | "retired";
2587
+ kind: "promise" | "preference" | "pairing" | "order of things" | "threshold";
2588
+ id: string;
2589
+ name: string;
2590
+ text: string;
2591
+ source: "owner" | "operator" | "session-lesson";
2592
+ severity: "a missed opportunity" | "a problem" | "unacceptable";
2593
+ position: number;
2594
+ createdBy: string | null;
2595
+ evidence: Record<string, unknown> | null;
2596
+ decidedBy: string | null;
2597
+ decidedAt: string | null;
2598
+ createdAt: string;
2599
+ impact: {
2600
+ before: {
2601
+ turns: number;
2602
+ acted: number;
2603
+ };
2604
+ after: {
2605
+ turns: number;
2606
+ acted: number;
2607
+ };
2608
+ } | null;
2609
+ }, {
2610
+ status: "proposed" | "active" | "rejected" | "retired";
2611
+ kind: "promise" | "preference" | "pairing" | "order of things" | "threshold";
2612
+ id: string;
2613
+ name: string;
2614
+ text: string;
2615
+ source: "owner" | "operator" | "session-lesson";
2616
+ severity: "a missed opportunity" | "a problem" | "unacceptable";
2617
+ position: number;
2618
+ createdBy: string | null;
2619
+ evidence: Record<string, unknown> | null;
2620
+ decidedBy: string | null;
2621
+ decidedAt: string | null;
2622
+ createdAt: string;
2623
+ impact: {
2624
+ before: {
2625
+ turns: number;
2626
+ acted: number;
2627
+ };
2628
+ after: {
2629
+ turns: number;
2630
+ acted: number;
2631
+ };
2632
+ } | null;
2633
+ }>;
2634
+ UpdateAgentDirectiveInputSchema: zod.ZodObject<{
2635
+ name: zod.ZodOptional<zod.ZodString>;
2636
+ kind: zod.ZodOptional<zod.ZodEnum<["preference", "pairing", "order of things", "promise", "threshold"]>>;
2637
+ severity: zod.ZodOptional<zod.ZodEnum<["a missed opportunity", "a problem", "unacceptable"]>>;
2638
+ text: zod.ZodOptional<zod.ZodEffects<zod.ZodString, string, string>>;
2639
+ status: zod.ZodOptional<zod.ZodEnum<["proposed", "active", "rejected", "retired"]>>;
2640
+ }, "strict", zod.ZodTypeAny, {
2641
+ status?: "proposed" | "active" | "rejected" | "retired" | undefined;
2642
+ kind?: "promise" | "preference" | "pairing" | "order of things" | "threshold" | undefined;
2643
+ name?: string | undefined;
2644
+ text?: string | undefined;
2645
+ severity?: "a missed opportunity" | "a problem" | "unacceptable" | undefined;
2646
+ }, {
2647
+ status?: "proposed" | "active" | "rejected" | "retired" | undefined;
2648
+ kind?: "promise" | "preference" | "pairing" | "order of things" | "threshold" | undefined;
2649
+ name?: string | undefined;
2650
+ text?: string | undefined;
2651
+ severity?: "a missed opportunity" | "a problem" | "unacceptable" | undefined;
2652
+ }>;
2653
+ ReorderAgentDirectivesInputSchema: zod.ZodObject<{
2654
+ ids: zod.ZodArray<zod.ZodString, "many">;
2655
+ }, "strict", zod.ZodTypeAny, {
2656
+ ids: string[];
2657
+ }, {
2658
+ ids: string[];
2659
+ }>;
2660
+ AGENT_DIRECTIVE_KINDS: readonly ["preference", "pairing", "order of things", "promise", "threshold"];
2661
+ AGENT_DIRECTIVE_SEVERITIES: readonly ["a missed opportunity", "a problem", "unacceptable"];
2662
+ AGENT_DIRECTIVE_SOURCES: readonly ["owner", "operator", "session-lesson"];
2663
+ AGENT_DIRECTIVE_STATUSES: readonly ["proposed", "active", "rejected", "retired"];
2664
+ MAX_ACTIVE_AGENT_DIRECTIVES: 12;
2426
2665
  DEFAULT_SPACE_CONFIG: spacestation.SpaceConfig;
2427
2666
  DEFAULT_VISITOR_ACCESS: "open" | "identified" | "invited";
2428
2667
  VISITOR_ACCESS: readonly ["open", "identified", "invited"];
@@ -2474,7 +2713,9 @@ export declare const HOST_MODULES: {
2474
2713
  createdAt: zod.ZodString;
2475
2714
  }, "strip", zod.ZodTypeAny, {
2476
2715
  sessionId: string;
2716
+ turnId: string | null;
2477
2717
  id: string;
2718
+ createdAt: string;
2478
2719
  spaceId: string | null;
2479
2720
  visitorEmail: string | null;
2480
2721
  userPrompt: string;
@@ -2491,13 +2732,13 @@ export declare const HOST_MODULES: {
2491
2732
  latencyFirstText: number | null;
2492
2733
  latencyFirstPatch: number | null;
2493
2734
  latencyTotal: number | null;
2494
- turnId: string | null;
2495
- createdAt: string;
2496
2735
  layout?: unknown;
2497
2736
  trackerState?: unknown;
2498
2737
  }, {
2499
2738
  sessionId: string;
2739
+ turnId: string | null;
2500
2740
  id: string;
2741
+ createdAt: string;
2501
2742
  spaceId: string | null;
2502
2743
  visitorEmail: string | null;
2503
2744
  userPrompt: string;
@@ -2514,8 +2755,6 @@ export declare const HOST_MODULES: {
2514
2755
  latencyFirstText: number | null;
2515
2756
  latencyFirstPatch: number | null;
2516
2757
  latencyTotal: number | null;
2517
- turnId: string | null;
2518
- createdAt: string;
2519
2758
  layout?: unknown;
2520
2759
  trackerState?: unknown;
2521
2760
  }>;
@@ -2550,6 +2789,7 @@ export declare const HOST_MODULES: {
2550
2789
  turnId: zod.ZodNullable<zod.ZodString>;
2551
2790
  }, "strip", zod.ZodTypeAny, {
2552
2791
  sessionId: string;
2792
+ turnId: string | null;
2553
2793
  spaceId: string | null;
2554
2794
  visitorEmail: string | null;
2555
2795
  userPrompt: string;
@@ -2566,11 +2806,11 @@ export declare const HOST_MODULES: {
2566
2806
  latencyFirstText: number | null;
2567
2807
  latencyFirstPatch: number | null;
2568
2808
  latencyTotal: number | null;
2569
- turnId: string | null;
2570
2809
  layout?: unknown;
2571
2810
  trackerState?: unknown;
2572
2811
  }, {
2573
2812
  sessionId: string;
2813
+ turnId: string | null;
2574
2814
  spaceId: string | null;
2575
2815
  visitorEmail: string | null;
2576
2816
  userPrompt: string;
@@ -2587,7 +2827,6 @@ export declare const HOST_MODULES: {
2587
2827
  latencyFirstText: number | null;
2588
2828
  latencyFirstPatch: number | null;
2589
2829
  latencyTotal: number | null;
2590
- turnId: string | null;
2591
2830
  layout?: unknown;
2592
2831
  trackerState?: unknown;
2593
2832
  }>;
@@ -2635,6 +2874,7 @@ export declare const HOST_MODULES: {
2635
2874
  diagnostics: zod.ZodNullable<zod.ZodArray<zod.ZodUnknown, "many">>;
2636
2875
  }, "strip", zod.ZodTypeAny, {
2637
2876
  id: string;
2877
+ createdAt: string;
2638
2878
  userPrompt: string;
2639
2879
  responseText: string | null;
2640
2880
  phaseTimings: Record<string, number> | null;
@@ -2645,10 +2885,10 @@ export declare const HOST_MODULES: {
2645
2885
  toolCalls: unknown[] | null;
2646
2886
  diagnostics: unknown[] | null;
2647
2887
  latencyTotal: number | null;
2648
- createdAt: string;
2649
2888
  layout?: unknown;
2650
2889
  }, {
2651
2890
  id: string;
2891
+ createdAt: string;
2652
2892
  userPrompt: string;
2653
2893
  responseText: string | null;
2654
2894
  phaseTimings: Record<string, number> | null;
@@ -2659,7 +2899,6 @@ export declare const HOST_MODULES: {
2659
2899
  toolCalls: unknown[] | null;
2660
2900
  diagnostics: unknown[] | null;
2661
2901
  latencyTotal: number | null;
2662
- createdAt: string;
2663
2902
  layout?: unknown;
2664
2903
  }>;
2665
2904
  SessionReplaySchema: zod.ZodObject<{
@@ -2685,6 +2924,7 @@ export declare const HOST_MODULES: {
2685
2924
  diagnostics: zod.ZodNullable<zod.ZodArray<zod.ZodUnknown, "many">>;
2686
2925
  }, "strip", zod.ZodTypeAny, {
2687
2926
  id: string;
2927
+ createdAt: string;
2688
2928
  userPrompt: string;
2689
2929
  responseText: string | null;
2690
2930
  phaseTimings: Record<string, number> | null;
@@ -2695,10 +2935,10 @@ export declare const HOST_MODULES: {
2695
2935
  toolCalls: unknown[] | null;
2696
2936
  diagnostics: unknown[] | null;
2697
2937
  latencyTotal: number | null;
2698
- createdAt: string;
2699
2938
  layout?: unknown;
2700
2939
  }, {
2701
2940
  id: string;
2941
+ createdAt: string;
2702
2942
  userPrompt: string;
2703
2943
  responseText: string | null;
2704
2944
  phaseTimings: Record<string, number> | null;
@@ -2709,13 +2949,13 @@ export declare const HOST_MODULES: {
2709
2949
  toolCalls: unknown[] | null;
2710
2950
  diagnostics: unknown[] | null;
2711
2951
  latencyTotal: number | null;
2712
- createdAt: string;
2713
2952
  layout?: unknown;
2714
2953
  }>, "many">;
2715
2954
  sessionLayout: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2716
2955
  }, "strip", zod.ZodTypeAny, {
2717
2956
  turns: {
2718
2957
  id: string;
2958
+ createdAt: string;
2719
2959
  userPrompt: string;
2720
2960
  responseText: string | null;
2721
2961
  phaseTimings: Record<string, number> | null;
@@ -2726,13 +2966,13 @@ export declare const HOST_MODULES: {
2726
2966
  toolCalls: unknown[] | null;
2727
2967
  diagnostics: unknown[] | null;
2728
2968
  latencyTotal: number | null;
2729
- createdAt: string;
2730
2969
  layout?: unknown;
2731
2970
  }[];
2732
2971
  sessionLayout: Record<string, unknown> | null;
2733
2972
  }, {
2734
2973
  turns: {
2735
2974
  id: string;
2975
+ createdAt: string;
2736
2976
  userPrompt: string;
2737
2977
  responseText: string | null;
2738
2978
  phaseTimings: Record<string, number> | null;
@@ -2743,7 +2983,6 @@ export declare const HOST_MODULES: {
2743
2983
  toolCalls: unknown[] | null;
2744
2984
  diagnostics: unknown[] | null;
2745
2985
  latencyTotal: number | null;
2746
- createdAt: string;
2747
2986
  layout?: unknown;
2748
2987
  }[];
2749
2988
  sessionLayout: Record<string, unknown> | null;
@@ -2981,6 +3220,8 @@ export declare const HOST_MODULES: {
2981
3220
  }, "strip", zod.ZodTypeAny, {
2982
3221
  id: string;
2983
3222
  title: string;
3223
+ severity: "high" | "medium" | "low";
3224
+ createdBy: string;
2984
3225
  createdAt: string;
2985
3226
  provider: string;
2986
3227
  turnIndex: number | null;
@@ -2996,13 +3237,13 @@ export declare const HOST_MODULES: {
2996
3237
  issueUrl: string | null;
2997
3238
  issueState: string | null;
2998
3239
  body: string;
2999
- severity: "high" | "medium" | "low";
3000
- createdBy: string;
3001
3240
  resolvedAt: string | null;
3002
3241
  resolvedBy: string | null;
3003
3242
  }, {
3004
3243
  id: string;
3005
3244
  title: string;
3245
+ severity: "high" | "medium" | "low";
3246
+ createdBy: string;
3006
3247
  createdAt: string;
3007
3248
  provider: string;
3008
3249
  turnIndex: number | null;
@@ -3018,8 +3259,6 @@ export declare const HOST_MODULES: {
3018
3259
  issueUrl: string | null;
3019
3260
  issueState: string | null;
3020
3261
  body: string;
3021
- severity: "high" | "medium" | "low";
3022
- createdBy: string;
3023
3262
  resolvedAt: string | null;
3024
3263
  resolvedBy: string | null;
3025
3264
  }>;
@@ -3079,6 +3318,8 @@ export declare const HOST_MODULES: {
3079
3318
  sessionId: string;
3080
3319
  id: string;
3081
3320
  title: string;
3321
+ severity: "high" | "medium" | "low";
3322
+ createdBy: string;
3082
3323
  createdAt: string;
3083
3324
  provider: string;
3084
3325
  turnIndex: number | null;
@@ -3094,14 +3335,14 @@ export declare const HOST_MODULES: {
3094
3335
  issueUrl: string | null;
3095
3336
  issueState: string | null;
3096
3337
  body: string;
3097
- severity: "high" | "medium" | "low";
3098
- createdBy: string;
3099
3338
  resolvedAt: string | null;
3100
3339
  resolvedBy: string | null;
3101
3340
  }, {
3102
3341
  sessionId: string;
3103
3342
  id: string;
3104
3343
  title: string;
3344
+ severity: "high" | "medium" | "low";
3345
+ createdBy: string;
3105
3346
  createdAt: string;
3106
3347
  provider: string;
3107
3348
  turnIndex: number | null;
@@ -3117,8 +3358,6 @@ export declare const HOST_MODULES: {
3117
3358
  issueUrl: string | null;
3118
3359
  issueState: string | null;
3119
3360
  body: string;
3120
- severity: "high" | "medium" | "low";
3121
- createdBy: string;
3122
3361
  resolvedAt: string | null;
3123
3362
  resolvedBy: string | null;
3124
3363
  }>;
@@ -3167,6 +3406,7 @@ export declare const HOST_MODULES: {
3167
3406
  createdAt: zod.ZodString;
3168
3407
  }, "strip", zod.ZodTypeAny, {
3169
3408
  id: string;
3409
+ createdBy: string;
3170
3410
  createdAt: string;
3171
3411
  turnIndex: number | null;
3172
3412
  location: {
@@ -3178,10 +3418,10 @@ export declare const HOST_MODULES: {
3178
3418
  pageY: number | null;
3179
3419
  } | null;
3180
3420
  body: string;
3181
- createdBy: string;
3182
3421
  bugId: string | null;
3183
3422
  }, {
3184
3423
  id: string;
3424
+ createdBy: string;
3185
3425
  createdAt: string;
3186
3426
  turnIndex: number | null;
3187
3427
  location: {
@@ -3193,7 +3433,6 @@ export declare const HOST_MODULES: {
3193
3433
  pageY: number | null;
3194
3434
  } | null;
3195
3435
  body: string;
3196
- createdBy: string;
3197
3436
  bugId: string | null;
3198
3437
  }>;
3199
3438
  CreateCommentInputSchema: zod.ZodEffects<zod.ZodObject<{
@@ -3878,6 +4117,8 @@ export declare const HOST_MODULES: {
3878
4117
  }, "strip", zod.ZodTypeAny, {
3879
4118
  id: string;
3880
4119
  title: string;
4120
+ severity: "high" | "medium" | "low";
4121
+ createdBy: string;
3881
4122
  createdAt: string;
3882
4123
  provider: string;
3883
4124
  turnIndex: number | null;
@@ -3893,13 +4134,13 @@ export declare const HOST_MODULES: {
3893
4134
  issueUrl: string | null;
3894
4135
  issueState: string | null;
3895
4136
  body: string;
3896
- severity: "high" | "medium" | "low";
3897
- createdBy: string;
3898
4137
  resolvedAt: string | null;
3899
4138
  resolvedBy: string | null;
3900
4139
  }, {
3901
4140
  id: string;
3902
4141
  title: string;
4142
+ severity: "high" | "medium" | "low";
4143
+ createdBy: string;
3903
4144
  createdAt: string;
3904
4145
  provider: string;
3905
4146
  turnIndex: number | null;
@@ -3915,8 +4156,6 @@ export declare const HOST_MODULES: {
3915
4156
  issueUrl: string | null;
3916
4157
  issueState: string | null;
3917
4158
  body: string;
3918
- severity: "high" | "medium" | "low";
3919
- createdBy: string;
3920
4159
  resolvedAt: string | null;
3921
4160
  resolvedBy: string | null;
3922
4161
  }>, "many">;
@@ -3965,6 +4204,7 @@ export declare const HOST_MODULES: {
3965
4204
  createdAt: zod.ZodString;
3966
4205
  }, "strip", zod.ZodTypeAny, {
3967
4206
  id: string;
4207
+ createdBy: string;
3968
4208
  createdAt: string;
3969
4209
  turnIndex: number | null;
3970
4210
  location: {
@@ -3976,10 +4216,10 @@ export declare const HOST_MODULES: {
3976
4216
  pageY: number | null;
3977
4217
  } | null;
3978
4218
  body: string;
3979
- createdBy: string;
3980
4219
  bugId: string | null;
3981
4220
  }, {
3982
4221
  id: string;
4222
+ createdBy: string;
3983
4223
  createdAt: string;
3984
4224
  turnIndex: number | null;
3985
4225
  location: {
@@ -3991,7 +4231,6 @@ export declare const HOST_MODULES: {
3991
4231
  pageY: number | null;
3992
4232
  } | null;
3993
4233
  body: string;
3994
- createdBy: string;
3995
4234
  bugId: string | null;
3996
4235
  }>, "many">;
3997
4236
  activity: zod.ZodOptional<zod.ZodObject<{
@@ -4090,6 +4329,8 @@ export declare const HOST_MODULES: {
4090
4329
  bugs: {
4091
4330
  id: string;
4092
4331
  title: string;
4332
+ severity: "high" | "medium" | "low";
4333
+ createdBy: string;
4093
4334
  createdAt: string;
4094
4335
  provider: string;
4095
4336
  turnIndex: number | null;
@@ -4105,13 +4346,12 @@ export declare const HOST_MODULES: {
4105
4346
  issueUrl: string | null;
4106
4347
  issueState: string | null;
4107
4348
  body: string;
4108
- severity: "high" | "medium" | "low";
4109
- createdBy: string;
4110
4349
  resolvedAt: string | null;
4111
4350
  resolvedBy: string | null;
4112
4351
  }[];
4113
4352
  comments: {
4114
4353
  id: string;
4354
+ createdBy: string;
4115
4355
  createdAt: string;
4116
4356
  turnIndex: number | null;
4117
4357
  location: {
@@ -4123,7 +4363,6 @@ export declare const HOST_MODULES: {
4123
4363
  pageY: number | null;
4124
4364
  } | null;
4125
4365
  body: string;
4126
- createdBy: string;
4127
4366
  bugId: string | null;
4128
4367
  }[];
4129
4368
  activity?: {
@@ -4188,6 +4427,8 @@ export declare const HOST_MODULES: {
4188
4427
  bugs: {
4189
4428
  id: string;
4190
4429
  title: string;
4430
+ severity: "high" | "medium" | "low";
4431
+ createdBy: string;
4191
4432
  createdAt: string;
4192
4433
  provider: string;
4193
4434
  turnIndex: number | null;
@@ -4203,13 +4444,12 @@ export declare const HOST_MODULES: {
4203
4444
  issueUrl: string | null;
4204
4445
  issueState: string | null;
4205
4446
  body: string;
4206
- severity: "high" | "medium" | "low";
4207
- createdBy: string;
4208
4447
  resolvedAt: string | null;
4209
4448
  resolvedBy: string | null;
4210
4449
  }[];
4211
4450
  comments: {
4212
4451
  id: string;
4452
+ createdBy: string;
4213
4453
  createdAt: string;
4214
4454
  turnIndex: number | null;
4215
4455
  location: {
@@ -4221,7 +4461,6 @@ export declare const HOST_MODULES: {
4221
4461
  pageY: number | null;
4222
4462
  } | null;
4223
4463
  body: string;
4224
- createdBy: string;
4225
4464
  bugId: string | null;
4226
4465
  }[];
4227
4466
  activity?: {
@@ -4291,9 +4530,9 @@ export declare const HOST_MODULES: {
4291
4530
  }, "strip", zod.ZodTypeAny, {
4292
4531
  payload: Record<string, unknown>;
4293
4532
  title: string;
4533
+ severity: "high" | "medium" | "low";
4294
4534
  turnIndex: number | null;
4295
4535
  body: string;
4296
- severity: "high" | "medium" | "low";
4297
4536
  location?: {
4298
4537
  elementId: string | null;
4299
4538
  elementType: string | null;
@@ -4305,9 +4544,9 @@ export declare const HOST_MODULES: {
4305
4544
  }, {
4306
4545
  payload: Record<string, unknown>;
4307
4546
  title: string;
4547
+ severity: "high" | "medium" | "low";
4308
4548
  turnIndex: number | null;
4309
4549
  body: string;
4310
- severity: "high" | "medium" | "low";
4311
4550
  location?: {
4312
4551
  elementId: string | null;
4313
4552
  elementType: string | null;