@reticlehq/core 3.6.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/activation-entry.d.ts +9 -0
- package/dist/activation-entry.js +9 -0
- package/dist/artifacts/artifacts-entry.d.ts +2 -0
- package/dist/artifacts/artifacts-entry.js +2 -0
- package/dist/artifacts/drive-script.d.ts +222 -116
- package/dist/artifacts/drive-script.js +24 -1
- package/dist/artifacts/flow-constants.d.ts +33 -0
- package/dist/artifacts/flow-constants.js +35 -0
- package/dist/artifacts/flow-expect-flat.d.ts +8 -8
- package/dist/artifacts/flow-results.d.ts +461 -0
- package/dist/artifacts/flow-results.js +1 -0
- package/dist/artifacts/flow-types.d.ts +177 -543
- package/dist/artifacts/flow-types.js +17 -2
- package/dist/artifacts/harness-credits.d.ts +42 -0
- package/dist/artifacts/harness-credits.js +72 -0
- package/dist/artifacts/harness-map.d.ts +98 -0
- package/dist/artifacts/harness-map.js +36 -0
- package/dist/artifacts/impact.d.ts +355 -149
- package/dist/artifacts/impact.js +84 -49
- package/dist/artifacts/journal.d.ts +81 -11
- package/dist/artifacts/journal.js +39 -0
- package/dist/artifacts/prompt-context.d.ts +12 -0
- package/dist/artifacts/prompt-context.js +14 -3
- package/dist/artifacts/screenshot-upload.d.ts +51 -0
- package/dist/artifacts/screenshot-upload.js +26 -0
- package/dist/graph/app-graph.d.ts +137 -0
- package/dist/graph/app-graph.js +498 -0
- package/dist/hooks/hook-events.d.ts +26 -26
- package/dist/hud-entry.d.ts +1 -0
- package/dist/hud-entry.js +2 -0
- package/dist/identity/checkout.d.ts +41 -0
- package/dist/identity/checkout.js +118 -0
- package/dist/identity/state-dir.d.ts +23 -0
- package/dist/identity/state-dir.js +43 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +15 -0
- package/dist/onboarding.d.ts +30 -1
- package/dist/onboarding.js +25 -0
- package/dist/realm/registry.js +19 -1
- package/dist/registry/dev-server-registry.d.ts +2 -2
- package/dist/schema/command-message.json +30 -0
- package/dist/schema/command-name.json +3 -1
- package/dist/schema/event-message.json +3 -1
- package/dist/schema/event-payloads.json +156 -3
- package/dist/schema/event-type.json +3 -1
- package/dist/schema/hello-message.json +21 -0
- package/dist/schema/reticle-event.json +3 -1
- package/dist/schema/reticle-message.json +54 -1
- package/dist/telemetry-bug.d.ts +169 -0
- package/dist/telemetry-bug.js +123 -0
- package/dist/telemetry-entry.d.ts +2 -1
- package/dist/telemetry-entry.js +2 -1
- package/dist/telemetry-feedback.d.ts +16 -2
- package/dist/telemetry-feedback.js +19 -0
- package/dist/telemetry-session.d.ts +91 -2
- package/dist/telemetry-session.js +65 -0
- package/dist/telemetry-signals.d.ts +557 -0
- package/dist/telemetry-signals.js +225 -0
- package/dist/telemetry.d.ts +649 -296
- package/dist/telemetry.js +110 -119
- package/dist/verdict/check-sentence.d.ts +34 -0
- package/dist/verdict/check-sentence.js +228 -0
- package/dist/verdict/consequence.d.ts +15 -0
- package/dist/verdict/consequence.js +11 -0
- package/dist/verdict/disparity.d.ts +105 -0
- package/dist/verdict/disparity.js +40 -0
- package/dist/verdict/findings.d.ts +16 -0
- package/dist/verdict/findings.js +22 -0
- package/dist/verdict/instrumentation-coverage.d.ts +84 -0
- package/dist/verdict/instrumentation-coverage.js +182 -0
- package/dist/verdict/instrumentation-gap.d.ts +79 -0
- package/dist/verdict/instrumentation-gap.js +65 -1
- package/dist/verdict/intent.d.ts +19 -5
- package/dist/verdict/intent.js +13 -1
- package/dist/verdict/predicate-tree.d.ts +17 -0
- package/dist/verdict/predicate-tree.js +37 -0
- package/dist/verdict/predicate.d.ts +16 -1
- package/dist/verdict/predicate.js +188 -13
- package/dist/verdict/property-assertion.d.ts +2 -2
- package/dist/verdict/run-report.d.ts +166 -0
- package/dist/verdict/run-report.js +53 -0
- package/dist/verdict/security.d.ts +60 -1
- package/dist/verdict/security.js +174 -12
- package/dist/verdict/verification-run.d.ts +713 -68
- package/dist/verdict/verification-run.js +113 -0
- package/dist/verdict/verify-progress.d.ts +6 -6
- package/dist/wire/constants/constants.d.ts +69 -155
- package/dist/wire/constants/constants.js +78 -159
- package/dist/wire/constants/discovery.d.ts +4 -4
- package/dist/wire/constants/discovery.js +4 -4
- package/dist/wire/constants/event-types.d.ts +35 -1
- package/dist/wire/constants/event-types.js +33 -1
- package/dist/wire/constants/hud-controls.js +15 -5
- package/dist/wire/constants/hud-use.d.ts +33 -4
- package/dist/wire/constants/hud-use.js +30 -4
- package/dist/wire/constants/mcp-wire.d.ts +26 -0
- package/dist/wire/constants/mcp-wire.js +26 -0
- package/dist/wire/constants/response-body-reason.d.ts +19 -0
- package/dist/wire/constants/response-body-reason.js +18 -0
- package/dist/wire/constants/reticle-chrome.d.ts +19 -0
- package/dist/wire/constants/reticle-chrome.js +19 -0
- package/dist/wire/constants/reticle-env.d.ts +138 -0
- package/dist/wire/constants/reticle-env.js +138 -0
- package/dist/wire/constants/session-constants.d.ts +26 -2
- package/dist/wire/constants/session-constants.js +26 -2
- package/dist/wire/desktop-contract.d.ts +8 -0
- package/dist/wire/desktop-contract.js +11 -0
- package/dist/wire/event-payloads.d.ts +202 -36
- package/dist/wire/event-payloads.js +100 -16
- package/dist/wire/messages.d.ts +193 -54
- package/dist/wire/messages.js +25 -1
- package/dist/wire/narrow.d.ts +6 -0
- package/dist/wire/narrow.js +26 -0
- package/dist/wire/next-step.d.ts +90 -0
- package/dist/wire/next-step.js +37 -0
- package/dist/wire/platform-link.d.ts +84 -0
- package/dist/wire/platform-link.js +57 -6
- package/dist/wire/production/activation-ticket.d.ts +64 -0
- package/dist/wire/production/activation-ticket.js +148 -0
- package/dist/wire/production/hello-mode.d.ts +35 -0
- package/dist/wire/production/hello-mode.js +32 -0
- package/dist/wire/production/production-policy.d.ts +138 -0
- package/dist/wire/production/production-policy.js +133 -0
- package/dist/wire/tool-names.d.ts +4 -0
- package/dist/wire/tool-names.js +4 -0
- package/dist/wire/types.d.ts +90 -52
- package/dist/wire/types.js +5 -0
- package/dist/words/notices.d.ts +1 -1
- package/dist/words/notices.js +1 -1
- package/dist/words/upgrade.js +1 -1
- package/dist/words/writing-rule.d.ts +14 -0
- package/dist/words/writing-rule.js +17 -0
- package/package.json +5 -1
|
@@ -255,13 +255,13 @@ export declare const ImpactDefectSchema: z.ZodObject<{
|
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
256
|
at: number;
|
|
257
257
|
title: string;
|
|
258
|
-
detail?: string | undefined;
|
|
259
258
|
source?: string | undefined;
|
|
259
|
+
detail?: string | undefined;
|
|
260
260
|
}, {
|
|
261
261
|
at: number;
|
|
262
262
|
title: string;
|
|
263
|
-
detail?: string | undefined;
|
|
264
263
|
source?: string | undefined;
|
|
264
|
+
detail?: string | undefined;
|
|
265
265
|
}>;
|
|
266
266
|
export type ImpactDefect = z.infer<typeof ImpactDefectSchema>;
|
|
267
267
|
/** One scope of the record: this project, or everything on this machine. */
|
|
@@ -470,13 +470,13 @@ export declare const ImpactScopeSchema: z.ZodObject<{
|
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
471
|
at: number;
|
|
472
472
|
title: string;
|
|
473
|
-
detail?: string | undefined;
|
|
474
473
|
source?: string | undefined;
|
|
474
|
+
detail?: string | undefined;
|
|
475
475
|
}, {
|
|
476
476
|
at: number;
|
|
477
477
|
title: string;
|
|
478
|
-
detail?: string | undefined;
|
|
479
478
|
source?: string | undefined;
|
|
479
|
+
detail?: string | undefined;
|
|
480
480
|
}>, "many">>;
|
|
481
481
|
}, "strip", z.ZodTypeAny, {
|
|
482
482
|
since: number;
|
|
@@ -527,8 +527,8 @@ export declare const ImpactScopeSchema: z.ZodObject<{
|
|
|
527
527
|
defects: {
|
|
528
528
|
at: number;
|
|
529
529
|
title: string;
|
|
530
|
-
detail?: string | undefined;
|
|
531
530
|
source?: string | undefined;
|
|
531
|
+
detail?: string | undefined;
|
|
532
532
|
}[];
|
|
533
533
|
}, {
|
|
534
534
|
since: number;
|
|
@@ -579,8 +579,8 @@ export declare const ImpactScopeSchema: z.ZodObject<{
|
|
|
579
579
|
defects?: {
|
|
580
580
|
at: number;
|
|
581
581
|
title: string;
|
|
582
|
-
detail?: string | undefined;
|
|
583
582
|
source?: string | undefined;
|
|
583
|
+
detail?: string | undefined;
|
|
584
584
|
}[] | undefined;
|
|
585
585
|
}>;
|
|
586
586
|
export type ImpactScope = z.infer<typeof ImpactScopeSchema>;
|
|
@@ -620,62 +620,13 @@ export declare const AccountStateSchema: z.ZodObject<{
|
|
|
620
620
|
host?: string | undefined;
|
|
621
621
|
}>;
|
|
622
622
|
export type AccountState = z.infer<typeof AccountStateSchema>;
|
|
623
|
-
/**
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
* switched off for good. The account field beside this one already carries that warning; it applies
|
|
631
|
-
* here with more force, because this one is marketing.
|
|
632
|
-
*/
|
|
633
|
-
export declare const HarnessOfferSchema: z.ZodObject<{
|
|
634
|
-
/** True once this org has claimed. A claimed offer is shown as remaining time, never as a pitch. */
|
|
635
|
-
claimed: z.ZodBoolean;
|
|
636
|
-
/** When the free period ends, epoch ms. Absent when nothing has been claimed. */
|
|
637
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
638
|
-
/** Whole days left, already computed — the HUD has no clock worth trusting for this. */
|
|
639
|
-
daysRemaining: z.ZodOptional<z.ZodNumber>;
|
|
640
|
-
/** Where claiming happens. Absent ⇒ the HUD shows nothing, because a pitch with no door is noise. */
|
|
641
|
-
claimUrl: z.ZodOptional<z.ZodString>;
|
|
642
|
-
/**
|
|
643
|
-
* Whether a drive could actually run if the offer were taken.
|
|
644
|
-
*
|
|
645
|
-
* Entitlement is not readiness. A workspace can be fully entitled against a deployment that holds
|
|
646
|
-
* no key for its provider, and then every signal reads healthy while a drive cannot start —
|
|
647
|
-
* including the card, which would sell three free months of something unusable and burn the one
|
|
648
|
-
* claim the person gets. Absent means "not told", which is treated as drivable for the same
|
|
649
|
-
* reason `claimed` is required and the rest are not: silence from an older platform must not
|
|
650
|
-
* switch the feature off.
|
|
651
|
-
*/
|
|
652
|
-
drivable: z.ZodOptional<z.ZodBoolean>;
|
|
653
|
-
/**
|
|
654
|
-
* Whether claiming would still grant anything.
|
|
655
|
-
*
|
|
656
|
-
* Carried separately because `claimed` is "running RIGHT NOW", and an expired free period reads
|
|
657
|
-
* `claimed: false` — the same as never having taken it. Without this the HUD would advertise a
|
|
658
|
-
* three-month offer to the one group of people who can never accept it again, which is worse than
|
|
659
|
-
* saying nothing at all. Absent ⇒ treated as still offerable: an older platform that does not
|
|
660
|
-
* report it also has no expiries to get wrong.
|
|
661
|
-
*/
|
|
662
|
-
eligible: z.ZodOptional<z.ZodBoolean>;
|
|
663
|
-
}, "strip", z.ZodTypeAny, {
|
|
664
|
-
claimed: boolean;
|
|
665
|
-
expiresAt?: number | undefined;
|
|
666
|
-
daysRemaining?: number | undefined;
|
|
667
|
-
claimUrl?: string | undefined;
|
|
668
|
-
drivable?: boolean | undefined;
|
|
669
|
-
eligible?: boolean | undefined;
|
|
670
|
-
}, {
|
|
671
|
-
claimed: boolean;
|
|
672
|
-
expiresAt?: number | undefined;
|
|
673
|
-
daysRemaining?: number | undefined;
|
|
674
|
-
claimUrl?: string | undefined;
|
|
675
|
-
drivable?: boolean | undefined;
|
|
676
|
-
eligible?: boolean | undefined;
|
|
677
|
-
}>;
|
|
678
|
-
export type HarnessOffer = z.infer<typeof HarnessOfferSchema>;
|
|
623
|
+
/** The grant credits came from: sign-up, the card-started trial, or a paid plan. */
|
|
624
|
+
export declare const CreditKind: {
|
|
625
|
+
readonly FREE: "free";
|
|
626
|
+
readonly TRIAL: "trial";
|
|
627
|
+
readonly PAID: "paid";
|
|
628
|
+
};
|
|
629
|
+
export type CreditKind = (typeof CreditKind)[keyof typeof CreditKind];
|
|
679
630
|
/**
|
|
680
631
|
* What the platform says about autonomous driving for this project.
|
|
681
632
|
*
|
|
@@ -684,47 +635,192 @@ export type HarnessOffer = z.infer<typeof HarnessOfferSchema>;
|
|
|
684
635
|
*/
|
|
685
636
|
export declare const HarnessConfigSchema: z.ZodObject<{
|
|
686
637
|
provider: z.ZodString;
|
|
687
|
-
/** The switch somebody set.
|
|
638
|
+
/** The switch somebody set. Off for a new project: the Harness is opt-in. */
|
|
688
639
|
harnessEnabled: z.ZodBoolean;
|
|
689
640
|
/** Whether this workspace may drive on OUR model spend. Never folded into the switch. */
|
|
690
641
|
harnessEntitled: z.ZodBoolean;
|
|
691
642
|
/** Whether the selected provider has a usable platform key. Older daemons may omit it. */
|
|
692
643
|
providerReady: z.ZodOptional<z.ZodBoolean>;
|
|
693
|
-
/**
|
|
644
|
+
/** Credits used and held this 30 days; a Harness decision is one. Absent: unbounded or unknown. */
|
|
694
645
|
credits: z.ZodOptional<z.ZodObject<{
|
|
695
646
|
used: z.ZodNumber;
|
|
696
647
|
limit: z.ZodNumber;
|
|
648
|
+
/** The grant they came from. Optional on the wire: an older platform omits it. */
|
|
649
|
+
kind: z.ZodOptional<z.ZodEnum<["free", "trial", "paid"]>>;
|
|
650
|
+
/** Whole days the grant has left, counted by the daemon from the platform's end date. */
|
|
651
|
+
daysLeft: z.ZodOptional<z.ZodNumber>;
|
|
697
652
|
}, "strip", z.ZodTypeAny, {
|
|
698
653
|
used: number;
|
|
699
654
|
limit: number;
|
|
655
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
656
|
+
daysLeft?: number | undefined;
|
|
700
657
|
}, {
|
|
701
658
|
used: number;
|
|
702
659
|
limit: number;
|
|
660
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
661
|
+
daysLeft?: number | undefined;
|
|
703
662
|
}>>;
|
|
704
663
|
/** The platform this answer came from, so the HUD's links go there and not to the hosted one. */
|
|
705
664
|
platformUrl: z.ZodOptional<z.ZodString>;
|
|
665
|
+
/**
|
|
666
|
+
* The console's page for credits and the trial. The API and the console are two origins, so a
|
|
667
|
+
* link built from `platformUrl` opened a 404. The HUD links here, and to this origin for set-up.
|
|
668
|
+
*/
|
|
669
|
+
planUrl: z.ZodOptional<z.ZodString>;
|
|
670
|
+
/** The plan in force: which grant, trial days left, seats. Absent from a platform that sent none. */
|
|
671
|
+
plan: z.ZodOptional<z.ZodObject<{
|
|
672
|
+
kind: z.ZodEnum<["free", "trial", "paid"]>;
|
|
673
|
+
daysLeft: z.ZodOptional<z.ZodNumber>;
|
|
674
|
+
seats: z.ZodOptional<z.ZodNumber>;
|
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
|
676
|
+
kind: "free" | "trial" | "paid";
|
|
677
|
+
daysLeft?: number | undefined;
|
|
678
|
+
seats?: number | undefined;
|
|
679
|
+
}, {
|
|
680
|
+
kind: "free" | "trial" | "paid";
|
|
681
|
+
daysLeft?: number | undefined;
|
|
682
|
+
seats?: number | undefined;
|
|
683
|
+
}>>;
|
|
684
|
+
/** Harness runs the platform holds for this project. Absent: the platform did not say. */
|
|
685
|
+
harnessRuns: z.ZodOptional<z.ZodNumber>;
|
|
686
|
+
/** Memory entries the platform holds for this project. Absent: the platform did not say. */
|
|
687
|
+
memoryEntries: z.ZodOptional<z.ZodNumber>;
|
|
706
688
|
}, "strip", z.ZodTypeAny, {
|
|
707
689
|
provider: string;
|
|
708
690
|
harnessEnabled: boolean;
|
|
709
691
|
harnessEntitled: boolean;
|
|
692
|
+
plan?: {
|
|
693
|
+
kind: "free" | "trial" | "paid";
|
|
694
|
+
daysLeft?: number | undefined;
|
|
695
|
+
seats?: number | undefined;
|
|
696
|
+
} | undefined;
|
|
710
697
|
providerReady?: boolean | undefined;
|
|
711
698
|
credits?: {
|
|
712
699
|
used: number;
|
|
713
700
|
limit: number;
|
|
701
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
702
|
+
daysLeft?: number | undefined;
|
|
714
703
|
} | undefined;
|
|
715
704
|
platformUrl?: string | undefined;
|
|
705
|
+
planUrl?: string | undefined;
|
|
706
|
+
harnessRuns?: number | undefined;
|
|
707
|
+
memoryEntries?: number | undefined;
|
|
716
708
|
}, {
|
|
717
709
|
provider: string;
|
|
718
710
|
harnessEnabled: boolean;
|
|
719
711
|
harnessEntitled: boolean;
|
|
712
|
+
plan?: {
|
|
713
|
+
kind: "free" | "trial" | "paid";
|
|
714
|
+
daysLeft?: number | undefined;
|
|
715
|
+
seats?: number | undefined;
|
|
716
|
+
} | undefined;
|
|
720
717
|
providerReady?: boolean | undefined;
|
|
721
718
|
credits?: {
|
|
722
719
|
used: number;
|
|
723
720
|
limit: number;
|
|
721
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
722
|
+
daysLeft?: number | undefined;
|
|
724
723
|
} | undefined;
|
|
725
724
|
platformUrl?: string | undefined;
|
|
725
|
+
planUrl?: string | undefined;
|
|
726
|
+
harnessRuns?: number | undefined;
|
|
727
|
+
memoryEntries?: number | undefined;
|
|
726
728
|
}>;
|
|
727
729
|
export type HarnessConfig = z.infer<typeof HarnessConfigSchema>;
|
|
730
|
+
/** How many of a running drive's latest lines the snapshot carries for the Harness page's log. */
|
|
731
|
+
export declare const HARNESS_LINES_MAX = 60;
|
|
732
|
+
/**
|
|
733
|
+
* The Harness drive running in this tab's project, so the panel can show progress and Stop.
|
|
734
|
+
*
|
|
735
|
+
* `lines` is the drive's step log, held by the daemon: kept in the HUD's view alone, it was empty
|
|
736
|
+
* after the Harness page was closed and reopened, or the page reloaded, mid-run.
|
|
737
|
+
*/
|
|
738
|
+
export declare const HarnessDriveSchema: z.ZodObject<{
|
|
739
|
+
runId: z.ZodString;
|
|
740
|
+
steps: z.ZodNumber;
|
|
741
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
742
|
+
}, "strip", z.ZodTypeAny, {
|
|
743
|
+
steps: number;
|
|
744
|
+
runId: string;
|
|
745
|
+
lines?: string[] | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
steps: number;
|
|
748
|
+
runId: string;
|
|
749
|
+
lines?: string[] | undefined;
|
|
750
|
+
}>;
|
|
751
|
+
export type HarnessDrive = z.infer<typeof HarnessDriveSchema>;
|
|
752
|
+
/**
|
|
753
|
+
* This tab's last word from the Harness once nothing is driving: the finished run's result page,
|
|
754
|
+
* and, when it did not run to its end, why (stopped by a reload, refused, the cloud unreachable).
|
|
755
|
+
*/
|
|
756
|
+
export declare const LastDriveSchema: z.ZodObject<{
|
|
757
|
+
runUrl: z.ZodOptional<z.ZodString>;
|
|
758
|
+
said: z.ZodOptional<z.ZodString>;
|
|
759
|
+
/** Which word this is, rising: the page tells the answer to its press from an earlier word. */
|
|
760
|
+
seq: z.ZodOptional<z.ZodNumber>;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
seq?: number | undefined;
|
|
763
|
+
runUrl?: string | undefined;
|
|
764
|
+
said?: string | undefined;
|
|
765
|
+
}, {
|
|
766
|
+
seq?: number | undefined;
|
|
767
|
+
runUrl?: string | undefined;
|
|
768
|
+
said?: string | undefined;
|
|
769
|
+
}>;
|
|
770
|
+
export type LastDrive = z.infer<typeof LastDriveSchema>;
|
|
771
|
+
/** The longest note a person can send their coding agent from the HUD. */
|
|
772
|
+
export declare const AGENT_NOTE_MAX = 500;
|
|
773
|
+
/** How many of a tab's latest notes the HUD shows. */
|
|
774
|
+
export declare const AGENT_NOTES_SHOWN = 5;
|
|
775
|
+
/** A note sent to the coding agent from this tab. `seen` only once an agent's tool call took it. */
|
|
776
|
+
export declare const AgentNoteSchema: z.ZodObject<{
|
|
777
|
+
text: z.ZodString;
|
|
778
|
+
seen: z.ZodBoolean;
|
|
779
|
+
/** Which agent took it, when the daemon knows. */
|
|
780
|
+
by: z.ZodOptional<z.ZodString>;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
text: string;
|
|
783
|
+
seen: boolean;
|
|
784
|
+
by?: string | undefined;
|
|
785
|
+
}, {
|
|
786
|
+
text: string;
|
|
787
|
+
seen: boolean;
|
|
788
|
+
by?: string | undefined;
|
|
789
|
+
}>;
|
|
790
|
+
export type AgentNote = z.infer<typeof AgentNoteSchema>;
|
|
791
|
+
/** The coding agents attached to the daemon now (friendly names), and this tab's latest notes. */
|
|
792
|
+
export declare const AgentLinkSchema: z.ZodObject<{
|
|
793
|
+
agents: z.ZodArray<z.ZodString, "many">;
|
|
794
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
795
|
+
text: z.ZodString;
|
|
796
|
+
seen: z.ZodBoolean;
|
|
797
|
+
/** Which agent took it, when the daemon knows. */
|
|
798
|
+
by: z.ZodOptional<z.ZodString>;
|
|
799
|
+
}, "strip", z.ZodTypeAny, {
|
|
800
|
+
text: string;
|
|
801
|
+
seen: boolean;
|
|
802
|
+
by?: string | undefined;
|
|
803
|
+
}, {
|
|
804
|
+
text: string;
|
|
805
|
+
seen: boolean;
|
|
806
|
+
by?: string | undefined;
|
|
807
|
+
}>, "many">;
|
|
808
|
+
}, "strip", z.ZodTypeAny, {
|
|
809
|
+
notes: {
|
|
810
|
+
text: string;
|
|
811
|
+
seen: boolean;
|
|
812
|
+
by?: string | undefined;
|
|
813
|
+
}[];
|
|
814
|
+
agents: string[];
|
|
815
|
+
}, {
|
|
816
|
+
notes: {
|
|
817
|
+
text: string;
|
|
818
|
+
seen: boolean;
|
|
819
|
+
by?: string | undefined;
|
|
820
|
+
}[];
|
|
821
|
+
agents: string[];
|
|
822
|
+
}>;
|
|
823
|
+
export type AgentLink = z.infer<typeof AgentLinkSchema>;
|
|
728
824
|
export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
729
825
|
schemaVersion: z.ZodNumber;
|
|
730
826
|
project: z.ZodObject<{
|
|
@@ -932,13 +1028,13 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
932
1028
|
}, "strip", z.ZodTypeAny, {
|
|
933
1029
|
at: number;
|
|
934
1030
|
title: string;
|
|
935
|
-
detail?: string | undefined;
|
|
936
1031
|
source?: string | undefined;
|
|
1032
|
+
detail?: string | undefined;
|
|
937
1033
|
}, {
|
|
938
1034
|
at: number;
|
|
939
1035
|
title: string;
|
|
940
|
-
detail?: string | undefined;
|
|
941
1036
|
source?: string | undefined;
|
|
1037
|
+
detail?: string | undefined;
|
|
942
1038
|
}>, "many">>;
|
|
943
1039
|
}, "strip", z.ZodTypeAny, {
|
|
944
1040
|
since: number;
|
|
@@ -989,8 +1085,8 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
989
1085
|
defects: {
|
|
990
1086
|
at: number;
|
|
991
1087
|
title: string;
|
|
992
|
-
detail?: string | undefined;
|
|
993
1088
|
source?: string | undefined;
|
|
1089
|
+
detail?: string | undefined;
|
|
994
1090
|
}[];
|
|
995
1091
|
}, {
|
|
996
1092
|
since: number;
|
|
@@ -1041,8 +1137,8 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1041
1137
|
defects?: {
|
|
1042
1138
|
at: number;
|
|
1043
1139
|
title: string;
|
|
1044
|
-
detail?: string | undefined;
|
|
1045
1140
|
source?: string | undefined;
|
|
1141
|
+
detail?: string | undefined;
|
|
1046
1142
|
}[] | undefined;
|
|
1047
1143
|
}>;
|
|
1048
1144
|
global: z.ZodObject<{
|
|
@@ -1250,13 +1346,13 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1250
1346
|
}, "strip", z.ZodTypeAny, {
|
|
1251
1347
|
at: number;
|
|
1252
1348
|
title: string;
|
|
1253
|
-
detail?: string | undefined;
|
|
1254
1349
|
source?: string | undefined;
|
|
1350
|
+
detail?: string | undefined;
|
|
1255
1351
|
}, {
|
|
1256
1352
|
at: number;
|
|
1257
1353
|
title: string;
|
|
1258
|
-
detail?: string | undefined;
|
|
1259
1354
|
source?: string | undefined;
|
|
1355
|
+
detail?: string | undefined;
|
|
1260
1356
|
}>, "many">>;
|
|
1261
1357
|
}, "strip", z.ZodTypeAny, {
|
|
1262
1358
|
since: number;
|
|
@@ -1307,8 +1403,8 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1307
1403
|
defects: {
|
|
1308
1404
|
at: number;
|
|
1309
1405
|
title: string;
|
|
1310
|
-
detail?: string | undefined;
|
|
1311
1406
|
source?: string | undefined;
|
|
1407
|
+
detail?: string | undefined;
|
|
1312
1408
|
}[];
|
|
1313
1409
|
}, {
|
|
1314
1410
|
since: number;
|
|
@@ -1359,8 +1455,8 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1359
1455
|
defects?: {
|
|
1360
1456
|
at: number;
|
|
1361
1457
|
title: string;
|
|
1362
|
-
detail?: string | undefined;
|
|
1363
1458
|
source?: string | undefined;
|
|
1459
|
+
detail?: string | undefined;
|
|
1364
1460
|
}[] | undefined;
|
|
1365
1461
|
}>;
|
|
1366
1462
|
/** Project name, for the report's title row. */
|
|
@@ -1392,55 +1488,6 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1392
1488
|
org?: string | undefined;
|
|
1393
1489
|
host?: string | undefined;
|
|
1394
1490
|
}>>;
|
|
1395
|
-
/**
|
|
1396
|
-
* The harness offer, when the daemon knows it. Absent is "unknown" and shows nothing — see
|
|
1397
|
-
* `HarnessOfferSchema` for why that asymmetry is deliberate.
|
|
1398
|
-
*/
|
|
1399
|
-
harnessOffer: z.ZodOptional<z.ZodObject<{
|
|
1400
|
-
/** True once this org has claimed. A claimed offer is shown as remaining time, never as a pitch. */
|
|
1401
|
-
claimed: z.ZodBoolean;
|
|
1402
|
-
/** When the free period ends, epoch ms. Absent when nothing has been claimed. */
|
|
1403
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1404
|
-
/** Whole days left, already computed — the HUD has no clock worth trusting for this. */
|
|
1405
|
-
daysRemaining: z.ZodOptional<z.ZodNumber>;
|
|
1406
|
-
/** Where claiming happens. Absent ⇒ the HUD shows nothing, because a pitch with no door is noise. */
|
|
1407
|
-
claimUrl: z.ZodOptional<z.ZodString>;
|
|
1408
|
-
/**
|
|
1409
|
-
* Whether a drive could actually run if the offer were taken.
|
|
1410
|
-
*
|
|
1411
|
-
* Entitlement is not readiness. A workspace can be fully entitled against a deployment that holds
|
|
1412
|
-
* no key for its provider, and then every signal reads healthy while a drive cannot start —
|
|
1413
|
-
* including the card, which would sell three free months of something unusable and burn the one
|
|
1414
|
-
* claim the person gets. Absent means "not told", which is treated as drivable for the same
|
|
1415
|
-
* reason `claimed` is required and the rest are not: silence from an older platform must not
|
|
1416
|
-
* switch the feature off.
|
|
1417
|
-
*/
|
|
1418
|
-
drivable: z.ZodOptional<z.ZodBoolean>;
|
|
1419
|
-
/**
|
|
1420
|
-
* Whether claiming would still grant anything.
|
|
1421
|
-
*
|
|
1422
|
-
* Carried separately because `claimed` is "running RIGHT NOW", and an expired free period reads
|
|
1423
|
-
* `claimed: false` — the same as never having taken it. Without this the HUD would advertise a
|
|
1424
|
-
* three-month offer to the one group of people who can never accept it again, which is worse than
|
|
1425
|
-
* saying nothing at all. Absent ⇒ treated as still offerable: an older platform that does not
|
|
1426
|
-
* report it also has no expiries to get wrong.
|
|
1427
|
-
*/
|
|
1428
|
-
eligible: z.ZodOptional<z.ZodBoolean>;
|
|
1429
|
-
}, "strip", z.ZodTypeAny, {
|
|
1430
|
-
claimed: boolean;
|
|
1431
|
-
expiresAt?: number | undefined;
|
|
1432
|
-
daysRemaining?: number | undefined;
|
|
1433
|
-
claimUrl?: string | undefined;
|
|
1434
|
-
drivable?: boolean | undefined;
|
|
1435
|
-
eligible?: boolean | undefined;
|
|
1436
|
-
}, {
|
|
1437
|
-
claimed: boolean;
|
|
1438
|
-
expiresAt?: number | undefined;
|
|
1439
|
-
daysRemaining?: number | undefined;
|
|
1440
|
-
claimUrl?: string | undefined;
|
|
1441
|
-
drivable?: boolean | undefined;
|
|
1442
|
-
eligible?: boolean | undefined;
|
|
1443
|
-
}>>;
|
|
1444
1491
|
/**
|
|
1445
1492
|
* The harness switch and whether this workspace may drive on our spend.
|
|
1446
1493
|
*
|
|
@@ -1455,45 +1502,157 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1455
1502
|
*/
|
|
1456
1503
|
harnessConfig: z.ZodOptional<z.ZodObject<{
|
|
1457
1504
|
provider: z.ZodString;
|
|
1458
|
-
/** The switch somebody set.
|
|
1505
|
+
/** The switch somebody set. Off for a new project: the Harness is opt-in. */
|
|
1459
1506
|
harnessEnabled: z.ZodBoolean;
|
|
1460
1507
|
/** Whether this workspace may drive on OUR model spend. Never folded into the switch. */
|
|
1461
1508
|
harnessEntitled: z.ZodBoolean;
|
|
1462
1509
|
/** Whether the selected provider has a usable platform key. Older daemons may omit it. */
|
|
1463
1510
|
providerReady: z.ZodOptional<z.ZodBoolean>;
|
|
1464
|
-
/**
|
|
1511
|
+
/** Credits used and held this 30 days; a Harness decision is one. Absent: unbounded or unknown. */
|
|
1465
1512
|
credits: z.ZodOptional<z.ZodObject<{
|
|
1466
1513
|
used: z.ZodNumber;
|
|
1467
1514
|
limit: z.ZodNumber;
|
|
1515
|
+
/** The grant they came from. Optional on the wire: an older platform omits it. */
|
|
1516
|
+
kind: z.ZodOptional<z.ZodEnum<["free", "trial", "paid"]>>;
|
|
1517
|
+
/** Whole days the grant has left, counted by the daemon from the platform's end date. */
|
|
1518
|
+
daysLeft: z.ZodOptional<z.ZodNumber>;
|
|
1468
1519
|
}, "strip", z.ZodTypeAny, {
|
|
1469
1520
|
used: number;
|
|
1470
1521
|
limit: number;
|
|
1522
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
1523
|
+
daysLeft?: number | undefined;
|
|
1471
1524
|
}, {
|
|
1472
1525
|
used: number;
|
|
1473
1526
|
limit: number;
|
|
1527
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
1528
|
+
daysLeft?: number | undefined;
|
|
1474
1529
|
}>>;
|
|
1475
1530
|
/** The platform this answer came from, so the HUD's links go there and not to the hosted one. */
|
|
1476
1531
|
platformUrl: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
/**
|
|
1533
|
+
* The console's page for credits and the trial. The API and the console are two origins, so a
|
|
1534
|
+
* link built from `platformUrl` opened a 404. The HUD links here, and to this origin for set-up.
|
|
1535
|
+
*/
|
|
1536
|
+
planUrl: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
/** The plan in force: which grant, trial days left, seats. Absent from a platform that sent none. */
|
|
1538
|
+
plan: z.ZodOptional<z.ZodObject<{
|
|
1539
|
+
kind: z.ZodEnum<["free", "trial", "paid"]>;
|
|
1540
|
+
daysLeft: z.ZodOptional<z.ZodNumber>;
|
|
1541
|
+
seats: z.ZodOptional<z.ZodNumber>;
|
|
1542
|
+
}, "strip", z.ZodTypeAny, {
|
|
1543
|
+
kind: "free" | "trial" | "paid";
|
|
1544
|
+
daysLeft?: number | undefined;
|
|
1545
|
+
seats?: number | undefined;
|
|
1546
|
+
}, {
|
|
1547
|
+
kind: "free" | "trial" | "paid";
|
|
1548
|
+
daysLeft?: number | undefined;
|
|
1549
|
+
seats?: number | undefined;
|
|
1550
|
+
}>>;
|
|
1551
|
+
/** Harness runs the platform holds for this project. Absent: the platform did not say. */
|
|
1552
|
+
harnessRuns: z.ZodOptional<z.ZodNumber>;
|
|
1553
|
+
/** Memory entries the platform holds for this project. Absent: the platform did not say. */
|
|
1554
|
+
memoryEntries: z.ZodOptional<z.ZodNumber>;
|
|
1477
1555
|
}, "strip", z.ZodTypeAny, {
|
|
1478
1556
|
provider: string;
|
|
1479
1557
|
harnessEnabled: boolean;
|
|
1480
1558
|
harnessEntitled: boolean;
|
|
1559
|
+
plan?: {
|
|
1560
|
+
kind: "free" | "trial" | "paid";
|
|
1561
|
+
daysLeft?: number | undefined;
|
|
1562
|
+
seats?: number | undefined;
|
|
1563
|
+
} | undefined;
|
|
1481
1564
|
providerReady?: boolean | undefined;
|
|
1482
1565
|
credits?: {
|
|
1483
1566
|
used: number;
|
|
1484
1567
|
limit: number;
|
|
1568
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
1569
|
+
daysLeft?: number | undefined;
|
|
1485
1570
|
} | undefined;
|
|
1486
1571
|
platformUrl?: string | undefined;
|
|
1572
|
+
planUrl?: string | undefined;
|
|
1573
|
+
harnessRuns?: number | undefined;
|
|
1574
|
+
memoryEntries?: number | undefined;
|
|
1487
1575
|
}, {
|
|
1488
1576
|
provider: string;
|
|
1489
1577
|
harnessEnabled: boolean;
|
|
1490
1578
|
harnessEntitled: boolean;
|
|
1579
|
+
plan?: {
|
|
1580
|
+
kind: "free" | "trial" | "paid";
|
|
1581
|
+
daysLeft?: number | undefined;
|
|
1582
|
+
seats?: number | undefined;
|
|
1583
|
+
} | undefined;
|
|
1491
1584
|
providerReady?: boolean | undefined;
|
|
1492
1585
|
credits?: {
|
|
1493
1586
|
used: number;
|
|
1494
1587
|
limit: number;
|
|
1588
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
1589
|
+
daysLeft?: number | undefined;
|
|
1495
1590
|
} | undefined;
|
|
1496
1591
|
platformUrl?: string | undefined;
|
|
1592
|
+
planUrl?: string | undefined;
|
|
1593
|
+
harnessRuns?: number | undefined;
|
|
1594
|
+
memoryEntries?: number | undefined;
|
|
1595
|
+
}>>;
|
|
1596
|
+
/** The drive running now, when there is one. Absent: nothing is driving. */
|
|
1597
|
+
harnessDrive: z.ZodOptional<z.ZodObject<{
|
|
1598
|
+
runId: z.ZodString;
|
|
1599
|
+
steps: z.ZodNumber;
|
|
1600
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
|
+
steps: number;
|
|
1603
|
+
runId: string;
|
|
1604
|
+
lines?: string[] | undefined;
|
|
1605
|
+
}, {
|
|
1606
|
+
steps: number;
|
|
1607
|
+
runId: string;
|
|
1608
|
+
lines?: string[] | undefined;
|
|
1609
|
+
}>>;
|
|
1610
|
+
/** How the last drive on this tab ended, or why none started. Absent while one drives. */
|
|
1611
|
+
lastDrive: z.ZodOptional<z.ZodObject<{
|
|
1612
|
+
runUrl: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
said: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
/** Which word this is, rising: the page tells the answer to its press from an earlier word. */
|
|
1615
|
+
seq: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
+
}, "strip", z.ZodTypeAny, {
|
|
1617
|
+
seq?: number | undefined;
|
|
1618
|
+
runUrl?: string | undefined;
|
|
1619
|
+
said?: string | undefined;
|
|
1620
|
+
}, {
|
|
1621
|
+
seq?: number | undefined;
|
|
1622
|
+
runUrl?: string | undefined;
|
|
1623
|
+
said?: string | undefined;
|
|
1624
|
+
}>>;
|
|
1625
|
+
/** Who is coding against this daemon, and what this tab said to them. Absent: an older daemon. */
|
|
1626
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1627
|
+
agents: z.ZodArray<z.ZodString, "many">;
|
|
1628
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
1629
|
+
text: z.ZodString;
|
|
1630
|
+
seen: z.ZodBoolean;
|
|
1631
|
+
/** Which agent took it, when the daemon knows. */
|
|
1632
|
+
by: z.ZodOptional<z.ZodString>;
|
|
1633
|
+
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
text: string;
|
|
1635
|
+
seen: boolean;
|
|
1636
|
+
by?: string | undefined;
|
|
1637
|
+
}, {
|
|
1638
|
+
text: string;
|
|
1639
|
+
seen: boolean;
|
|
1640
|
+
by?: string | undefined;
|
|
1641
|
+
}>, "many">;
|
|
1642
|
+
}, "strip", z.ZodTypeAny, {
|
|
1643
|
+
notes: {
|
|
1644
|
+
text: string;
|
|
1645
|
+
seen: boolean;
|
|
1646
|
+
by?: string | undefined;
|
|
1647
|
+
}[];
|
|
1648
|
+
agents: string[];
|
|
1649
|
+
}, {
|
|
1650
|
+
notes: {
|
|
1651
|
+
text: string;
|
|
1652
|
+
seen: boolean;
|
|
1653
|
+
by?: string | undefined;
|
|
1654
|
+
}[];
|
|
1655
|
+
agents: string[];
|
|
1497
1656
|
}>>;
|
|
1498
1657
|
/**
|
|
1499
1658
|
* The rail's notices, already chosen for this machine by the daemon (see `hud-notices.ts`).
|
|
@@ -1514,6 +1673,11 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1514
1673
|
* push, and the sentence describing it). Loose here, shaped by the daemon's sync-status.
|
|
1515
1674
|
*/
|
|
1516
1675
|
sync: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1676
|
+
/**
|
|
1677
|
+
* How much of THIS tab's app Reticle sees, and the prompt that asks a coding agent to close the
|
|
1678
|
+
* rest (`covered`, `total`, `missing`, `prompt`). Loose here, shaped by the daemon's coverageOf.
|
|
1679
|
+
*/
|
|
1680
|
+
instrumentation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1517
1681
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1682
|
schemaVersion: number;
|
|
1519
1683
|
project: {
|
|
@@ -1565,8 +1729,8 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1565
1729
|
defects: {
|
|
1566
1730
|
at: number;
|
|
1567
1731
|
title: string;
|
|
1568
|
-
detail?: string | undefined;
|
|
1569
1732
|
source?: string | undefined;
|
|
1733
|
+
detail?: string | undefined;
|
|
1570
1734
|
}[];
|
|
1571
1735
|
};
|
|
1572
1736
|
global: {
|
|
@@ -1618,37 +1782,58 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1618
1782
|
defects: {
|
|
1619
1783
|
at: number;
|
|
1620
1784
|
title: string;
|
|
1621
|
-
detail?: string | undefined;
|
|
1622
1785
|
source?: string | undefined;
|
|
1786
|
+
detail?: string | undefined;
|
|
1623
1787
|
}[];
|
|
1624
1788
|
};
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1789
|
+
agent?: {
|
|
1790
|
+
notes: {
|
|
1791
|
+
text: string;
|
|
1792
|
+
seen: boolean;
|
|
1793
|
+
by?: string | undefined;
|
|
1794
|
+
}[];
|
|
1795
|
+
agents: string[];
|
|
1796
|
+
} | undefined;
|
|
1628
1797
|
account?: {
|
|
1629
1798
|
signedIn: boolean;
|
|
1630
1799
|
email?: string | undefined;
|
|
1631
1800
|
org?: string | undefined;
|
|
1632
1801
|
host?: string | undefined;
|
|
1633
1802
|
} | undefined;
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
claimUrl?: string | undefined;
|
|
1639
|
-
drivable?: boolean | undefined;
|
|
1640
|
-
eligible?: boolean | undefined;
|
|
1641
|
-
} | undefined;
|
|
1803
|
+
sync?: Record<string, unknown> | undefined;
|
|
1804
|
+
instrumentation?: Record<string, unknown> | undefined;
|
|
1805
|
+
projectName?: string | undefined;
|
|
1806
|
+
dashboardUrl?: string | undefined;
|
|
1642
1807
|
harnessConfig?: {
|
|
1643
1808
|
provider: string;
|
|
1644
1809
|
harnessEnabled: boolean;
|
|
1645
1810
|
harnessEntitled: boolean;
|
|
1811
|
+
plan?: {
|
|
1812
|
+
kind: "free" | "trial" | "paid";
|
|
1813
|
+
daysLeft?: number | undefined;
|
|
1814
|
+
seats?: number | undefined;
|
|
1815
|
+
} | undefined;
|
|
1646
1816
|
providerReady?: boolean | undefined;
|
|
1647
1817
|
credits?: {
|
|
1648
1818
|
used: number;
|
|
1649
1819
|
limit: number;
|
|
1820
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
1821
|
+
daysLeft?: number | undefined;
|
|
1650
1822
|
} | undefined;
|
|
1651
1823
|
platformUrl?: string | undefined;
|
|
1824
|
+
planUrl?: string | undefined;
|
|
1825
|
+
harnessRuns?: number | undefined;
|
|
1826
|
+
memoryEntries?: number | undefined;
|
|
1827
|
+
} | undefined;
|
|
1828
|
+
harnessDrive?: {
|
|
1829
|
+
steps: number;
|
|
1830
|
+
runId: string;
|
|
1831
|
+
lines?: string[] | undefined;
|
|
1832
|
+
} | undefined;
|
|
1833
|
+
lastDrive?: {
|
|
1834
|
+
seq?: number | undefined;
|
|
1835
|
+
runUrl?: string | undefined;
|
|
1836
|
+
said?: string | undefined;
|
|
1652
1837
|
} | undefined;
|
|
1653
1838
|
notices?: unknown[] | undefined;
|
|
1654
1839
|
coverage?: Record<string, number> | undefined;
|
|
@@ -1703,8 +1888,8 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1703
1888
|
defects?: {
|
|
1704
1889
|
at: number;
|
|
1705
1890
|
title: string;
|
|
1706
|
-
detail?: string | undefined;
|
|
1707
1891
|
source?: string | undefined;
|
|
1892
|
+
detail?: string | undefined;
|
|
1708
1893
|
}[] | undefined;
|
|
1709
1894
|
};
|
|
1710
1895
|
global: {
|
|
@@ -1756,37 +1941,58 @@ export declare const ImpactSnapshotSchema: z.ZodObject<{
|
|
|
1756
1941
|
defects?: {
|
|
1757
1942
|
at: number;
|
|
1758
1943
|
title: string;
|
|
1759
|
-
detail?: string | undefined;
|
|
1760
1944
|
source?: string | undefined;
|
|
1945
|
+
detail?: string | undefined;
|
|
1761
1946
|
}[] | undefined;
|
|
1762
1947
|
};
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1948
|
+
agent?: {
|
|
1949
|
+
notes: {
|
|
1950
|
+
text: string;
|
|
1951
|
+
seen: boolean;
|
|
1952
|
+
by?: string | undefined;
|
|
1953
|
+
}[];
|
|
1954
|
+
agents: string[];
|
|
1955
|
+
} | undefined;
|
|
1766
1956
|
account?: {
|
|
1767
1957
|
signedIn: boolean;
|
|
1768
1958
|
email?: string | undefined;
|
|
1769
1959
|
org?: string | undefined;
|
|
1770
1960
|
host?: string | undefined;
|
|
1771
1961
|
} | undefined;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
claimUrl?: string | undefined;
|
|
1777
|
-
drivable?: boolean | undefined;
|
|
1778
|
-
eligible?: boolean | undefined;
|
|
1779
|
-
} | undefined;
|
|
1962
|
+
sync?: Record<string, unknown> | undefined;
|
|
1963
|
+
instrumentation?: Record<string, unknown> | undefined;
|
|
1964
|
+
projectName?: string | undefined;
|
|
1965
|
+
dashboardUrl?: string | undefined;
|
|
1780
1966
|
harnessConfig?: {
|
|
1781
1967
|
provider: string;
|
|
1782
1968
|
harnessEnabled: boolean;
|
|
1783
1969
|
harnessEntitled: boolean;
|
|
1970
|
+
plan?: {
|
|
1971
|
+
kind: "free" | "trial" | "paid";
|
|
1972
|
+
daysLeft?: number | undefined;
|
|
1973
|
+
seats?: number | undefined;
|
|
1974
|
+
} | undefined;
|
|
1784
1975
|
providerReady?: boolean | undefined;
|
|
1785
1976
|
credits?: {
|
|
1786
1977
|
used: number;
|
|
1787
1978
|
limit: number;
|
|
1979
|
+
kind?: "free" | "trial" | "paid" | undefined;
|
|
1980
|
+
daysLeft?: number | undefined;
|
|
1788
1981
|
} | undefined;
|
|
1789
1982
|
platformUrl?: string | undefined;
|
|
1983
|
+
planUrl?: string | undefined;
|
|
1984
|
+
harnessRuns?: number | undefined;
|
|
1985
|
+
memoryEntries?: number | undefined;
|
|
1986
|
+
} | undefined;
|
|
1987
|
+
harnessDrive?: {
|
|
1988
|
+
steps: number;
|
|
1989
|
+
runId: string;
|
|
1990
|
+
lines?: string[] | undefined;
|
|
1991
|
+
} | undefined;
|
|
1992
|
+
lastDrive?: {
|
|
1993
|
+
seq?: number | undefined;
|
|
1994
|
+
runUrl?: string | undefined;
|
|
1995
|
+
said?: string | undefined;
|
|
1790
1996
|
} | undefined;
|
|
1791
1997
|
notices?: unknown[] | undefined;
|
|
1792
1998
|
coverage?: Record<string, number> | undefined;
|