@40rty/ams-sdk 0.5.1 → 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.
- package/dist/index.js +583 -458
- package/dist/types/sdk/src/analytics/index.d.ts +1 -1
- package/dist/types/sdk/src/analytics/outbox.d.ts +2 -0
- package/dist/types/sdk/src/analytics/scope-context.d.ts +2 -0
- package/dist/types/sdk/src/analytics/scope.d.ts +7 -0
- package/dist/types/sdk/src/host/host-modules.d.ts +234 -36
- package/dist/types/spacestation/src/analytics/envelope.d.ts +24 -0
- package/dist/types/spacestation/src/catalog/element-filled.d.ts +2 -2
- package/dist/types/spacestation/src/catalog/wire/package-release.d.ts +10 -0
- package/dist/types/spacestation/src/index.d.ts +2 -0
- package/dist/types/spacestation/src/space/agent-directive.d.ts +239 -0
- package/dist/types/spacestation/src/space/session-queue.d.ts +24 -24
- package/dist/types/spacestation/src/space/trace.d.ts +12 -12
- package/dist/types/spacestation/src/trace/trace-diagnostics.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { createAnalyticsScope } from './scope';
|
|
2
2
|
export type { AnalyticsScope, AnalyticsScopeConfig, AnalyticsScopeStats, AnalyticsSink, SinkGuard, } from './scope';
|
|
3
|
-
export { AnalyticsSinkProvider, useAnalyticsSink, useOptionalAnalyticsSink } from './scope-context';
|
|
3
|
+
export { AnalyticsSinkProvider, TurnScopeProvider, useAnalyticsSink, useOptionalAnalyticsSink } from './scope-context';
|
|
4
4
|
export { SURFACE_DISPOSITION, surfaceEmits, surfaceSuppressionReason } from './surface';
|
|
5
5
|
export type { SurfaceDisposition } from './surface';
|
|
6
6
|
export { CONSENT_DISPOSITION, consentDisposition } from './consent';
|
|
@@ -39,6 +39,8 @@ export interface HeldEvent {
|
|
|
39
39
|
readonly payload: Record<string, unknown>;
|
|
40
40
|
/** `null` until `attributeHeld` stamps it. Never re-stamped once set. */
|
|
41
41
|
readonly sessionId: string | null;
|
|
42
|
+
/** The agent turn whose canvas this came from; `null` outside any turn. */
|
|
43
|
+
readonly turnId: string | null;
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* Is this value shaped like a wire payload?
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { AnalyticsSink } from './scope';
|
|
2
2
|
/** Filled by `@fourty/react`'s `AnalyticsScopeMount`, once per mount. */
|
|
3
3
|
export declare const AnalyticsSinkProvider: import("react").Provider<AnalyticsSink | null>;
|
|
4
|
+
/** Filled by `@fourty/react`'s `ElementWrapper`, once per canvas element. */
|
|
5
|
+
export declare const TurnScopeProvider: import("react").Provider<string | null>;
|
|
4
6
|
/**
|
|
5
7
|
* The sink for THIS mount. THROWS when no mount is upstream.
|
|
6
8
|
*
|
|
@@ -30,6 +30,13 @@ export type SinkGuard<Kind extends ClientEventKind> = Identical<PayloadOf<Kind>,
|
|
|
30
30
|
*/
|
|
31
31
|
export interface AnalyticsSink {
|
|
32
32
|
emit<Kind extends ClientEventKind>(kind: Kind, payload: PayloadOf<Kind>, ...guard: SinkGuard<Kind>): void;
|
|
33
|
+
/**
|
|
34
|
+
* The same sink, with every emit attributed to `turnId` — the agent turn
|
|
35
|
+
* whose canvas the emit came from. Called by the React seam
|
|
36
|
+
* (`useAnalyticsSink` reads the enclosing turn), never by an emit site, so
|
|
37
|
+
* the turn stays envelope the call site cannot get wrong.
|
|
38
|
+
*/
|
|
39
|
+
forTurn(turnId: string): AnalyticsSink;
|
|
33
40
|
}
|
|
34
41
|
/** What the mount can see without draining anything. */
|
|
35
42
|
export interface AnalyticsScopeStats {
|
|
@@ -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>;
|
|
@@ -1663,6 +1664,7 @@ export declare const HOST_MODULES: {
|
|
|
1663
1664
|
order: number;
|
|
1664
1665
|
content: string;
|
|
1665
1666
|
}>, "many">>;
|
|
1667
|
+
spacePrompt: zod.ZodOptional<zod.ZodString>;
|
|
1666
1668
|
config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
1667
1669
|
draft: zod.ZodOptional<zod.ZodObject<{
|
|
1668
1670
|
of: zod.ZodString;
|
|
@@ -1751,6 +1753,7 @@ export declare const HOST_MODULES: {
|
|
|
1751
1753
|
order: number;
|
|
1752
1754
|
content: string;
|
|
1753
1755
|
}[] | undefined;
|
|
1756
|
+
spacePrompt?: string | undefined;
|
|
1754
1757
|
draft?: {
|
|
1755
1758
|
of: string;
|
|
1756
1759
|
space: string;
|
|
@@ -1832,6 +1835,7 @@ export declare const HOST_MODULES: {
|
|
|
1832
1835
|
order: number;
|
|
1833
1836
|
content: string;
|
|
1834
1837
|
}[] | undefined;
|
|
1838
|
+
spacePrompt?: string | undefined;
|
|
1835
1839
|
draft?: {
|
|
1836
1840
|
of: string;
|
|
1837
1841
|
space: string;
|
|
@@ -2464,6 +2468,200 @@ export declare const HOST_MODULES: {
|
|
|
2464
2468
|
normalizeAttributeField: typeof spacestation.normalizeAttributeField;
|
|
2465
2469
|
scopedAttributeKey: typeof spacestation.scopedAttributeKey;
|
|
2466
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;
|
|
2467
2665
|
DEFAULT_SPACE_CONFIG: spacestation.SpaceConfig;
|
|
2468
2666
|
DEFAULT_VISITOR_ACCESS: "open" | "identified" | "invited";
|
|
2469
2667
|
VISITOR_ACCESS: readonly ["open", "identified", "invited"];
|
|
@@ -2515,7 +2713,9 @@ export declare const HOST_MODULES: {
|
|
|
2515
2713
|
createdAt: zod.ZodString;
|
|
2516
2714
|
}, "strip", zod.ZodTypeAny, {
|
|
2517
2715
|
sessionId: string;
|
|
2716
|
+
turnId: string | null;
|
|
2518
2717
|
id: string;
|
|
2718
|
+
createdAt: string;
|
|
2519
2719
|
spaceId: string | null;
|
|
2520
2720
|
visitorEmail: string | null;
|
|
2521
2721
|
userPrompt: string;
|
|
@@ -2532,13 +2732,13 @@ export declare const HOST_MODULES: {
|
|
|
2532
2732
|
latencyFirstText: number | null;
|
|
2533
2733
|
latencyFirstPatch: number | null;
|
|
2534
2734
|
latencyTotal: number | null;
|
|
2535
|
-
turnId: string | null;
|
|
2536
|
-
createdAt: string;
|
|
2537
2735
|
layout?: unknown;
|
|
2538
2736
|
trackerState?: unknown;
|
|
2539
2737
|
}, {
|
|
2540
2738
|
sessionId: string;
|
|
2739
|
+
turnId: string | null;
|
|
2541
2740
|
id: string;
|
|
2741
|
+
createdAt: string;
|
|
2542
2742
|
spaceId: string | null;
|
|
2543
2743
|
visitorEmail: string | null;
|
|
2544
2744
|
userPrompt: string;
|
|
@@ -2555,8 +2755,6 @@ export declare const HOST_MODULES: {
|
|
|
2555
2755
|
latencyFirstText: number | null;
|
|
2556
2756
|
latencyFirstPatch: number | null;
|
|
2557
2757
|
latencyTotal: number | null;
|
|
2558
|
-
turnId: string | null;
|
|
2559
|
-
createdAt: string;
|
|
2560
2758
|
layout?: unknown;
|
|
2561
2759
|
trackerState?: unknown;
|
|
2562
2760
|
}>;
|
|
@@ -2591,6 +2789,7 @@ export declare const HOST_MODULES: {
|
|
|
2591
2789
|
turnId: zod.ZodNullable<zod.ZodString>;
|
|
2592
2790
|
}, "strip", zod.ZodTypeAny, {
|
|
2593
2791
|
sessionId: string;
|
|
2792
|
+
turnId: string | null;
|
|
2594
2793
|
spaceId: string | null;
|
|
2595
2794
|
visitorEmail: string | null;
|
|
2596
2795
|
userPrompt: string;
|
|
@@ -2607,11 +2806,11 @@ export declare const HOST_MODULES: {
|
|
|
2607
2806
|
latencyFirstText: number | null;
|
|
2608
2807
|
latencyFirstPatch: number | null;
|
|
2609
2808
|
latencyTotal: number | null;
|
|
2610
|
-
turnId: string | null;
|
|
2611
2809
|
layout?: unknown;
|
|
2612
2810
|
trackerState?: unknown;
|
|
2613
2811
|
}, {
|
|
2614
2812
|
sessionId: string;
|
|
2813
|
+
turnId: string | null;
|
|
2615
2814
|
spaceId: string | null;
|
|
2616
2815
|
visitorEmail: string | null;
|
|
2617
2816
|
userPrompt: string;
|
|
@@ -2628,7 +2827,6 @@ export declare const HOST_MODULES: {
|
|
|
2628
2827
|
latencyFirstText: number | null;
|
|
2629
2828
|
latencyFirstPatch: number | null;
|
|
2630
2829
|
latencyTotal: number | null;
|
|
2631
|
-
turnId: string | null;
|
|
2632
2830
|
layout?: unknown;
|
|
2633
2831
|
trackerState?: unknown;
|
|
2634
2832
|
}>;
|
|
@@ -2676,6 +2874,7 @@ export declare const HOST_MODULES: {
|
|
|
2676
2874
|
diagnostics: zod.ZodNullable<zod.ZodArray<zod.ZodUnknown, "many">>;
|
|
2677
2875
|
}, "strip", zod.ZodTypeAny, {
|
|
2678
2876
|
id: string;
|
|
2877
|
+
createdAt: string;
|
|
2679
2878
|
userPrompt: string;
|
|
2680
2879
|
responseText: string | null;
|
|
2681
2880
|
phaseTimings: Record<string, number> | null;
|
|
@@ -2686,10 +2885,10 @@ export declare const HOST_MODULES: {
|
|
|
2686
2885
|
toolCalls: unknown[] | null;
|
|
2687
2886
|
diagnostics: unknown[] | null;
|
|
2688
2887
|
latencyTotal: number | null;
|
|
2689
|
-
createdAt: string;
|
|
2690
2888
|
layout?: unknown;
|
|
2691
2889
|
}, {
|
|
2692
2890
|
id: string;
|
|
2891
|
+
createdAt: string;
|
|
2693
2892
|
userPrompt: string;
|
|
2694
2893
|
responseText: string | null;
|
|
2695
2894
|
phaseTimings: Record<string, number> | null;
|
|
@@ -2700,7 +2899,6 @@ export declare const HOST_MODULES: {
|
|
|
2700
2899
|
toolCalls: unknown[] | null;
|
|
2701
2900
|
diagnostics: unknown[] | null;
|
|
2702
2901
|
latencyTotal: number | null;
|
|
2703
|
-
createdAt: string;
|
|
2704
2902
|
layout?: unknown;
|
|
2705
2903
|
}>;
|
|
2706
2904
|
SessionReplaySchema: zod.ZodObject<{
|
|
@@ -2726,6 +2924,7 @@ export declare const HOST_MODULES: {
|
|
|
2726
2924
|
diagnostics: zod.ZodNullable<zod.ZodArray<zod.ZodUnknown, "many">>;
|
|
2727
2925
|
}, "strip", zod.ZodTypeAny, {
|
|
2728
2926
|
id: string;
|
|
2927
|
+
createdAt: string;
|
|
2729
2928
|
userPrompt: string;
|
|
2730
2929
|
responseText: string | null;
|
|
2731
2930
|
phaseTimings: Record<string, number> | null;
|
|
@@ -2736,10 +2935,10 @@ export declare const HOST_MODULES: {
|
|
|
2736
2935
|
toolCalls: unknown[] | null;
|
|
2737
2936
|
diagnostics: unknown[] | null;
|
|
2738
2937
|
latencyTotal: number | null;
|
|
2739
|
-
createdAt: string;
|
|
2740
2938
|
layout?: unknown;
|
|
2741
2939
|
}, {
|
|
2742
2940
|
id: string;
|
|
2941
|
+
createdAt: string;
|
|
2743
2942
|
userPrompt: string;
|
|
2744
2943
|
responseText: string | null;
|
|
2745
2944
|
phaseTimings: Record<string, number> | null;
|
|
@@ -2750,13 +2949,13 @@ export declare const HOST_MODULES: {
|
|
|
2750
2949
|
toolCalls: unknown[] | null;
|
|
2751
2950
|
diagnostics: unknown[] | null;
|
|
2752
2951
|
latencyTotal: number | null;
|
|
2753
|
-
createdAt: string;
|
|
2754
2952
|
layout?: unknown;
|
|
2755
2953
|
}>, "many">;
|
|
2756
2954
|
sessionLayout: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
2757
2955
|
}, "strip", zod.ZodTypeAny, {
|
|
2758
2956
|
turns: {
|
|
2759
2957
|
id: string;
|
|
2958
|
+
createdAt: string;
|
|
2760
2959
|
userPrompt: string;
|
|
2761
2960
|
responseText: string | null;
|
|
2762
2961
|
phaseTimings: Record<string, number> | null;
|
|
@@ -2767,13 +2966,13 @@ export declare const HOST_MODULES: {
|
|
|
2767
2966
|
toolCalls: unknown[] | null;
|
|
2768
2967
|
diagnostics: unknown[] | null;
|
|
2769
2968
|
latencyTotal: number | null;
|
|
2770
|
-
createdAt: string;
|
|
2771
2969
|
layout?: unknown;
|
|
2772
2970
|
}[];
|
|
2773
2971
|
sessionLayout: Record<string, unknown> | null;
|
|
2774
2972
|
}, {
|
|
2775
2973
|
turns: {
|
|
2776
2974
|
id: string;
|
|
2975
|
+
createdAt: string;
|
|
2777
2976
|
userPrompt: string;
|
|
2778
2977
|
responseText: string | null;
|
|
2779
2978
|
phaseTimings: Record<string, number> | null;
|
|
@@ -2784,7 +2983,6 @@ export declare const HOST_MODULES: {
|
|
|
2784
2983
|
toolCalls: unknown[] | null;
|
|
2785
2984
|
diagnostics: unknown[] | null;
|
|
2786
2985
|
latencyTotal: number | null;
|
|
2787
|
-
createdAt: string;
|
|
2788
2986
|
layout?: unknown;
|
|
2789
2987
|
}[];
|
|
2790
2988
|
sessionLayout: Record<string, unknown> | null;
|
|
@@ -3022,6 +3220,8 @@ export declare const HOST_MODULES: {
|
|
|
3022
3220
|
}, "strip", zod.ZodTypeAny, {
|
|
3023
3221
|
id: string;
|
|
3024
3222
|
title: string;
|
|
3223
|
+
severity: "high" | "medium" | "low";
|
|
3224
|
+
createdBy: string;
|
|
3025
3225
|
createdAt: string;
|
|
3026
3226
|
provider: string;
|
|
3027
3227
|
turnIndex: number | null;
|
|
@@ -3037,13 +3237,13 @@ export declare const HOST_MODULES: {
|
|
|
3037
3237
|
issueUrl: string | null;
|
|
3038
3238
|
issueState: string | null;
|
|
3039
3239
|
body: string;
|
|
3040
|
-
severity: "high" | "medium" | "low";
|
|
3041
|
-
createdBy: string;
|
|
3042
3240
|
resolvedAt: string | null;
|
|
3043
3241
|
resolvedBy: string | null;
|
|
3044
3242
|
}, {
|
|
3045
3243
|
id: string;
|
|
3046
3244
|
title: string;
|
|
3245
|
+
severity: "high" | "medium" | "low";
|
|
3246
|
+
createdBy: string;
|
|
3047
3247
|
createdAt: string;
|
|
3048
3248
|
provider: string;
|
|
3049
3249
|
turnIndex: number | null;
|
|
@@ -3059,8 +3259,6 @@ export declare const HOST_MODULES: {
|
|
|
3059
3259
|
issueUrl: string | null;
|
|
3060
3260
|
issueState: string | null;
|
|
3061
3261
|
body: string;
|
|
3062
|
-
severity: "high" | "medium" | "low";
|
|
3063
|
-
createdBy: string;
|
|
3064
3262
|
resolvedAt: string | null;
|
|
3065
3263
|
resolvedBy: string | null;
|
|
3066
3264
|
}>;
|
|
@@ -3120,6 +3318,8 @@ export declare const HOST_MODULES: {
|
|
|
3120
3318
|
sessionId: string;
|
|
3121
3319
|
id: string;
|
|
3122
3320
|
title: string;
|
|
3321
|
+
severity: "high" | "medium" | "low";
|
|
3322
|
+
createdBy: string;
|
|
3123
3323
|
createdAt: string;
|
|
3124
3324
|
provider: string;
|
|
3125
3325
|
turnIndex: number | null;
|
|
@@ -3135,14 +3335,14 @@ export declare const HOST_MODULES: {
|
|
|
3135
3335
|
issueUrl: string | null;
|
|
3136
3336
|
issueState: string | null;
|
|
3137
3337
|
body: string;
|
|
3138
|
-
severity: "high" | "medium" | "low";
|
|
3139
|
-
createdBy: string;
|
|
3140
3338
|
resolvedAt: string | null;
|
|
3141
3339
|
resolvedBy: string | null;
|
|
3142
3340
|
}, {
|
|
3143
3341
|
sessionId: string;
|
|
3144
3342
|
id: string;
|
|
3145
3343
|
title: string;
|
|
3344
|
+
severity: "high" | "medium" | "low";
|
|
3345
|
+
createdBy: string;
|
|
3146
3346
|
createdAt: string;
|
|
3147
3347
|
provider: string;
|
|
3148
3348
|
turnIndex: number | null;
|
|
@@ -3158,8 +3358,6 @@ export declare const HOST_MODULES: {
|
|
|
3158
3358
|
issueUrl: string | null;
|
|
3159
3359
|
issueState: string | null;
|
|
3160
3360
|
body: string;
|
|
3161
|
-
severity: "high" | "medium" | "low";
|
|
3162
|
-
createdBy: string;
|
|
3163
3361
|
resolvedAt: string | null;
|
|
3164
3362
|
resolvedBy: string | null;
|
|
3165
3363
|
}>;
|
|
@@ -3208,6 +3406,7 @@ export declare const HOST_MODULES: {
|
|
|
3208
3406
|
createdAt: zod.ZodString;
|
|
3209
3407
|
}, "strip", zod.ZodTypeAny, {
|
|
3210
3408
|
id: string;
|
|
3409
|
+
createdBy: string;
|
|
3211
3410
|
createdAt: string;
|
|
3212
3411
|
turnIndex: number | null;
|
|
3213
3412
|
location: {
|
|
@@ -3219,10 +3418,10 @@ export declare const HOST_MODULES: {
|
|
|
3219
3418
|
pageY: number | null;
|
|
3220
3419
|
} | null;
|
|
3221
3420
|
body: string;
|
|
3222
|
-
createdBy: string;
|
|
3223
3421
|
bugId: string | null;
|
|
3224
3422
|
}, {
|
|
3225
3423
|
id: string;
|
|
3424
|
+
createdBy: string;
|
|
3226
3425
|
createdAt: string;
|
|
3227
3426
|
turnIndex: number | null;
|
|
3228
3427
|
location: {
|
|
@@ -3234,7 +3433,6 @@ export declare const HOST_MODULES: {
|
|
|
3234
3433
|
pageY: number | null;
|
|
3235
3434
|
} | null;
|
|
3236
3435
|
body: string;
|
|
3237
|
-
createdBy: string;
|
|
3238
3436
|
bugId: string | null;
|
|
3239
3437
|
}>;
|
|
3240
3438
|
CreateCommentInputSchema: zod.ZodEffects<zod.ZodObject<{
|
|
@@ -3919,6 +4117,8 @@ export declare const HOST_MODULES: {
|
|
|
3919
4117
|
}, "strip", zod.ZodTypeAny, {
|
|
3920
4118
|
id: string;
|
|
3921
4119
|
title: string;
|
|
4120
|
+
severity: "high" | "medium" | "low";
|
|
4121
|
+
createdBy: string;
|
|
3922
4122
|
createdAt: string;
|
|
3923
4123
|
provider: string;
|
|
3924
4124
|
turnIndex: number | null;
|
|
@@ -3934,13 +4134,13 @@ export declare const HOST_MODULES: {
|
|
|
3934
4134
|
issueUrl: string | null;
|
|
3935
4135
|
issueState: string | null;
|
|
3936
4136
|
body: string;
|
|
3937
|
-
severity: "high" | "medium" | "low";
|
|
3938
|
-
createdBy: string;
|
|
3939
4137
|
resolvedAt: string | null;
|
|
3940
4138
|
resolvedBy: string | null;
|
|
3941
4139
|
}, {
|
|
3942
4140
|
id: string;
|
|
3943
4141
|
title: string;
|
|
4142
|
+
severity: "high" | "medium" | "low";
|
|
4143
|
+
createdBy: string;
|
|
3944
4144
|
createdAt: string;
|
|
3945
4145
|
provider: string;
|
|
3946
4146
|
turnIndex: number | null;
|
|
@@ -3956,8 +4156,6 @@ export declare const HOST_MODULES: {
|
|
|
3956
4156
|
issueUrl: string | null;
|
|
3957
4157
|
issueState: string | null;
|
|
3958
4158
|
body: string;
|
|
3959
|
-
severity: "high" | "medium" | "low";
|
|
3960
|
-
createdBy: string;
|
|
3961
4159
|
resolvedAt: string | null;
|
|
3962
4160
|
resolvedBy: string | null;
|
|
3963
4161
|
}>, "many">;
|
|
@@ -4006,6 +4204,7 @@ export declare const HOST_MODULES: {
|
|
|
4006
4204
|
createdAt: zod.ZodString;
|
|
4007
4205
|
}, "strip", zod.ZodTypeAny, {
|
|
4008
4206
|
id: string;
|
|
4207
|
+
createdBy: string;
|
|
4009
4208
|
createdAt: string;
|
|
4010
4209
|
turnIndex: number | null;
|
|
4011
4210
|
location: {
|
|
@@ -4017,10 +4216,10 @@ export declare const HOST_MODULES: {
|
|
|
4017
4216
|
pageY: number | null;
|
|
4018
4217
|
} | null;
|
|
4019
4218
|
body: string;
|
|
4020
|
-
createdBy: string;
|
|
4021
4219
|
bugId: string | null;
|
|
4022
4220
|
}, {
|
|
4023
4221
|
id: string;
|
|
4222
|
+
createdBy: string;
|
|
4024
4223
|
createdAt: string;
|
|
4025
4224
|
turnIndex: number | null;
|
|
4026
4225
|
location: {
|
|
@@ -4032,7 +4231,6 @@ export declare const HOST_MODULES: {
|
|
|
4032
4231
|
pageY: number | null;
|
|
4033
4232
|
} | null;
|
|
4034
4233
|
body: string;
|
|
4035
|
-
createdBy: string;
|
|
4036
4234
|
bugId: string | null;
|
|
4037
4235
|
}>, "many">;
|
|
4038
4236
|
activity: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -4131,6 +4329,8 @@ export declare const HOST_MODULES: {
|
|
|
4131
4329
|
bugs: {
|
|
4132
4330
|
id: string;
|
|
4133
4331
|
title: string;
|
|
4332
|
+
severity: "high" | "medium" | "low";
|
|
4333
|
+
createdBy: string;
|
|
4134
4334
|
createdAt: string;
|
|
4135
4335
|
provider: string;
|
|
4136
4336
|
turnIndex: number | null;
|
|
@@ -4146,13 +4346,12 @@ export declare const HOST_MODULES: {
|
|
|
4146
4346
|
issueUrl: string | null;
|
|
4147
4347
|
issueState: string | null;
|
|
4148
4348
|
body: string;
|
|
4149
|
-
severity: "high" | "medium" | "low";
|
|
4150
|
-
createdBy: string;
|
|
4151
4349
|
resolvedAt: string | null;
|
|
4152
4350
|
resolvedBy: string | null;
|
|
4153
4351
|
}[];
|
|
4154
4352
|
comments: {
|
|
4155
4353
|
id: string;
|
|
4354
|
+
createdBy: string;
|
|
4156
4355
|
createdAt: string;
|
|
4157
4356
|
turnIndex: number | null;
|
|
4158
4357
|
location: {
|
|
@@ -4164,7 +4363,6 @@ export declare const HOST_MODULES: {
|
|
|
4164
4363
|
pageY: number | null;
|
|
4165
4364
|
} | null;
|
|
4166
4365
|
body: string;
|
|
4167
|
-
createdBy: string;
|
|
4168
4366
|
bugId: string | null;
|
|
4169
4367
|
}[];
|
|
4170
4368
|
activity?: {
|
|
@@ -4229,6 +4427,8 @@ export declare const HOST_MODULES: {
|
|
|
4229
4427
|
bugs: {
|
|
4230
4428
|
id: string;
|
|
4231
4429
|
title: string;
|
|
4430
|
+
severity: "high" | "medium" | "low";
|
|
4431
|
+
createdBy: string;
|
|
4232
4432
|
createdAt: string;
|
|
4233
4433
|
provider: string;
|
|
4234
4434
|
turnIndex: number | null;
|
|
@@ -4244,13 +4444,12 @@ export declare const HOST_MODULES: {
|
|
|
4244
4444
|
issueUrl: string | null;
|
|
4245
4445
|
issueState: string | null;
|
|
4246
4446
|
body: string;
|
|
4247
|
-
severity: "high" | "medium" | "low";
|
|
4248
|
-
createdBy: string;
|
|
4249
4447
|
resolvedAt: string | null;
|
|
4250
4448
|
resolvedBy: string | null;
|
|
4251
4449
|
}[];
|
|
4252
4450
|
comments: {
|
|
4253
4451
|
id: string;
|
|
4452
|
+
createdBy: string;
|
|
4254
4453
|
createdAt: string;
|
|
4255
4454
|
turnIndex: number | null;
|
|
4256
4455
|
location: {
|
|
@@ -4262,7 +4461,6 @@ export declare const HOST_MODULES: {
|
|
|
4262
4461
|
pageY: number | null;
|
|
4263
4462
|
} | null;
|
|
4264
4463
|
body: string;
|
|
4265
|
-
createdBy: string;
|
|
4266
4464
|
bugId: string | null;
|
|
4267
4465
|
}[];
|
|
4268
4466
|
activity?: {
|
|
@@ -4332,9 +4530,9 @@ export declare const HOST_MODULES: {
|
|
|
4332
4530
|
}, "strip", zod.ZodTypeAny, {
|
|
4333
4531
|
payload: Record<string, unknown>;
|
|
4334
4532
|
title: string;
|
|
4533
|
+
severity: "high" | "medium" | "low";
|
|
4335
4534
|
turnIndex: number | null;
|
|
4336
4535
|
body: string;
|
|
4337
|
-
severity: "high" | "medium" | "low";
|
|
4338
4536
|
location?: {
|
|
4339
4537
|
elementId: string | null;
|
|
4340
4538
|
elementType: string | null;
|
|
@@ -4346,9 +4544,9 @@ export declare const HOST_MODULES: {
|
|
|
4346
4544
|
}, {
|
|
4347
4545
|
payload: Record<string, unknown>;
|
|
4348
4546
|
title: string;
|
|
4547
|
+
severity: "high" | "medium" | "low";
|
|
4349
4548
|
turnIndex: number | null;
|
|
4350
4549
|
body: string;
|
|
4351
|
-
severity: "high" | "medium" | "low";
|
|
4352
4550
|
location?: {
|
|
4353
4551
|
elementId: string | null;
|
|
4354
4552
|
elementType: string | null;
|