lurqrun 0.1.4 → 0.1.6

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.d.ts CHANGED
@@ -147,7 +147,13 @@ type DiscoverySource = 'dependency-graph' | 'category-search' | 'recent' | 'reac
147
147
  /** Seen on npm's `_changes` replication feed — a name we had never heard of. */
148
148
  | 'npm-changes';
149
149
  /** Lifecycle of a discovery-queue candidate (§2B). */
150
- type DiscoveryStatus = 'pending' | 'ingested' | 'rejected';
150
+ /**
151
+ * `rejected` means the merit gate said no — a verdict about the package, and
152
+ * permanent. `failed` means ingest itself kept throwing, which is a verdict
153
+ * about us, and is cleared by re-queueing once the bug is fixed. Conflating the
154
+ * two would either retry genuine rejects forever or bury a fixable bug.
155
+ */
156
+ type DiscoveryStatus = 'pending' | 'ingested' | 'rejected' | 'failed';
151
157
  /**
152
158
  * Categories for which bundle size is meaningful and Bundlephobia is consulted
153
159
  * (§9.5). Backend-only categories get a null bundle size, and their efficiency
@@ -613,6 +619,18 @@ declare const EnvSchema: z.ZodObject<{
613
619
  * tool called) that join the web app's identified visitors. Unset → nothing
614
620
  * is sent, which is every local and stdio install. */
615
621
  LURQ_POSTHOG_KEY: z.ZodOptional<z.ZodString>;
622
+ /** Resend API key for account email: urgent alerts and the opt-in weekly
623
+ * summary. Unset → nothing is sent; the dashboard and CLI still show all of it. */
624
+ RESEND_API_KEY: z.ZodOptional<z.ZodString>;
625
+ /** Sender, on a Resend-verified domain. */
626
+ LURQ_MAIL_FROM: z.ZodDefault<z.ZodString>;
627
+ /** Clerk secret key, used only to read a recipient's verified primary email at
628
+ * send time — lurq stores no email addresses. Unset → nothing is sent. */
629
+ CLERK_SECRET_KEY: z.ZodOptional<z.ZodString>;
630
+ /** 32 random bytes, base64 (`openssl rand -base64 32`). Encrypts stored
631
+ * Slack/Discord/Teams/webhook URLs, which are credentials. Unset → alert
632
+ * channels are disabled rather than stored in the clear. */
633
+ LURQ_SECRETS_KEY: z.ZodOptional<z.ZodString>;
616
634
  STRIPE_SECRET_KEY: z.ZodOptional<z.ZodString>;
617
635
  /** Signing secret for `POST /billing/webhook`. Unset → the endpoint is 404. */
618
636
  STRIPE_WEBHOOK_SECRET: z.ZodOptional<z.ZodString>;
@@ -635,6 +653,13 @@ declare const EnvSchema: z.ZodObject<{
635
653
  */
636
654
  STRIPE_MANAGED_PAYMENTS: z.ZodEffects<z.ZodDefault<z.ZodEnum<["true", "false"]>>, boolean, "true" | "false" | undefined>;
637
655
  STRIPE_PRICE_PRO: z.ZodOptional<z.ZodString>;
656
+ /** Per-seat Price id backing Team. The subscription quantity is the seat count. */
657
+ STRIPE_PRICE_TEAM: z.ZodOptional<z.ZodString>;
658
+ /** Yearly Price ids, 20% under twelve months (core/plans ANNUAL_DISCOUNT). */
659
+ STRIPE_PRICE_PRO_ANNUAL: z.ZodOptional<z.ZodString>;
660
+ STRIPE_PRICE_TEAM_ANNUAL: z.ZodOptional<z.ZodString>;
661
+ /** Metered Price billed from the overage meter, attached to monthly Team. */
662
+ STRIPE_PRICE_TEAM_OVERAGE: z.ZodOptional<z.ZodString>;
638
663
  /** Price id backing Enterprise. Normally unset: Enterprise is sold by
639
664
  * conversation, and `contactOnly` in core/plans.ts is what the page reads. */
640
665
  STRIPE_PRICE_ENTERPRISE: z.ZodOptional<z.ZodString>;
@@ -670,6 +695,7 @@ declare const EnvSchema: z.ZodObject<{
670
695
  LURQ_IP_RATE_LIMIT_MAX: number;
671
696
  LURQ_SCAN_RATE_LIMIT_MAX: number;
672
697
  LURQ_RATE_LIMIT_WINDOW_MS: number;
698
+ LURQ_MAIL_FROM: string;
673
699
  STRIPE_MANAGED_PAYMENTS: boolean;
674
700
  LURQ_WEB_URL: string;
675
701
  DATABASE_URL?: string | undefined;
@@ -680,9 +706,16 @@ declare const EnvSchema: z.ZodObject<{
680
706
  LURQ_METRICS_TOKEN?: string | undefined;
681
707
  LURQ_ISSUER_SECRET?: string | undefined;
682
708
  LURQ_POSTHOG_KEY?: string | undefined;
709
+ RESEND_API_KEY?: string | undefined;
710
+ CLERK_SECRET_KEY?: string | undefined;
711
+ LURQ_SECRETS_KEY?: string | undefined;
683
712
  STRIPE_SECRET_KEY?: string | undefined;
684
713
  STRIPE_WEBHOOK_SECRET?: string | undefined;
685
714
  STRIPE_PRICE_PRO?: string | undefined;
715
+ STRIPE_PRICE_TEAM?: string | undefined;
716
+ STRIPE_PRICE_PRO_ANNUAL?: string | undefined;
717
+ STRIPE_PRICE_TEAM_ANNUAL?: string | undefined;
718
+ STRIPE_PRICE_TEAM_OVERAGE?: string | undefined;
686
719
  STRIPE_PRICE_ENTERPRISE?: string | undefined;
687
720
  LURQ_GITHUB_APP_ID?: string | undefined;
688
721
  LURQ_GITHUB_APP_PRIVATE_KEY?: string | undefined;
@@ -717,10 +750,18 @@ declare const EnvSchema: z.ZodObject<{
717
750
  LURQ_METRICS_TOKEN?: string | undefined;
718
751
  LURQ_ISSUER_SECRET?: string | undefined;
719
752
  LURQ_POSTHOG_KEY?: string | undefined;
753
+ RESEND_API_KEY?: string | undefined;
754
+ LURQ_MAIL_FROM?: string | undefined;
755
+ CLERK_SECRET_KEY?: string | undefined;
756
+ LURQ_SECRETS_KEY?: string | undefined;
720
757
  STRIPE_SECRET_KEY?: string | undefined;
721
758
  STRIPE_WEBHOOK_SECRET?: string | undefined;
722
759
  STRIPE_MANAGED_PAYMENTS?: "true" | "false" | undefined;
723
760
  STRIPE_PRICE_PRO?: string | undefined;
761
+ STRIPE_PRICE_TEAM?: string | undefined;
762
+ STRIPE_PRICE_PRO_ANNUAL?: string | undefined;
763
+ STRIPE_PRICE_TEAM_ANNUAL?: string | undefined;
764
+ STRIPE_PRICE_TEAM_OVERAGE?: string | undefined;
724
765
  STRIPE_PRICE_ENTERPRISE?: string | undefined;
725
766
  LURQ_WEB_URL?: string | undefined;
726
767
  LURQ_GITHUB_APP_ID?: string | undefined;