wholestack 0.6.1 → 0.7.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/index.d.ts CHANGED
@@ -173,6 +173,18 @@ interface BuildResult {
173
173
  error?: string;
174
174
  buildId?: unknown;
175
175
  verdict?: "SHIP" | "NO_SHIP";
176
+ /**
177
+ * True when `verdict` is PROVISIONAL — a deferProofs build that shipped fast with its
178
+ * runtime proofs running in a durable background job. The CLI renders "proving…" and
179
+ * polls {@link pollProofStatus} to flip to the real verdict.
180
+ */
181
+ proofPending?: boolean;
182
+ /**
183
+ * True when this was an UNHINGED build — ALL ShipGate proofs/gates were skipped. The verdict
184
+ * is emit+compile only (never proven); render it as "shipped UNVERIFIED", never a trust claim,
185
+ * and do NOT poll for a background re-prove (none is coming).
186
+ */
187
+ unverified?: boolean;
176
188
  themeId?: unknown;
177
189
  fileCount?: number;
178
190
  spec?: string | null;
@@ -356,11 +368,11 @@ declare function buildTools(ctx: ToolContext): {
356
368
  githubRepo?: string | undefined;
357
369
  gitUrl?: string | undefined;
358
370
  installationId?: number | undefined;
359
- source?: string | undefined;
360
371
  sources?: {
361
372
  name: string;
362
373
  source: string;
363
374
  }[] | undefined;
375
+ source?: string | undefined;
364
376
  maxContracts?: number | undefined;
365
377
  }, {
366
378
  ok: false;
@@ -380,12 +392,12 @@ declare function buildTools(ctx: ToolContext): {
380
392
  subject?: string | undefined;
381
393
  findings?: {
382
394
  title: string;
383
- severity: "critical" | "high" | "medium" | "low" | "info";
395
+ severity: "high" | "low" | "info" | "critical" | "medium";
384
396
  description?: string | undefined;
397
+ tool?: string | undefined;
385
398
  category?: string | undefined;
386
399
  location?: string | undefined;
387
400
  recommendation?: string | undefined;
388
- tool?: string | undefined;
389
401
  }[] | undefined;
390
402
  auditBundle?: any;
391
403
  walletGuard?: any;
@@ -470,10 +482,30 @@ declare function buildTools(ctx: ToolContext): {
470
482
  scope: "full" | "static" | "component" | "page";
471
483
  buildModel: "zeta-g1" | "zeta-g1-max";
472
484
  keep: boolean;
485
+ unhinged: boolean;
473
486
  themeId?: "slate-minimal" | "clean-inter" | "friendly-nunito" | "geometric-jakarta" | "techno-mono" | undefined;
474
487
  styleId?: string | undefined;
475
488
  colorScheme?: "dark" | "light" | undefined;
476
- }, BuildResult | {
489
+ platform?: "web" | "mobile" | undefined;
490
+ archetype?: "analytics" | "document-editor" | "collaboration" | "kanban" | "calendar" | "marketplace" | "studio" | undefined;
491
+ styleVibe?: "cinematic-dark" | "editorial-luxe" | "warm-minimal" | "bold-brutalist" | "glass-futuristic" | "vibrant-playful" | "corporate-clean" | undefined;
492
+ }, BuildResult | ({
493
+ verdict: string;
494
+ proofPending: boolean;
495
+ ok: boolean;
496
+ error?: string;
497
+ buildId?: unknown;
498
+ unverified?: boolean;
499
+ themeId?: unknown;
500
+ fileCount?: number;
501
+ spec?: string | null;
502
+ verifyErrors?: string[];
503
+ fileList?: (string | null | undefined)[];
504
+ paywalled?: boolean;
505
+ upgradeUrl?: string;
506
+ } & {
507
+ passportUrl: string;
508
+ }) | {
477
509
  ok: boolean;
478
510
  liveUrl: string | undefined;
479
511
  buildId: string | undefined;
@@ -491,6 +523,31 @@ declare function buildTools(ctx: ToolContext): {
491
523
  error?: string;
492
524
  buildId?: unknown;
493
525
  verdict?: "SHIP" | "NO_SHIP";
526
+ proofPending?: boolean;
527
+ unverified?: boolean;
528
+ themeId?: unknown;
529
+ fileCount?: number;
530
+ spec?: string | null;
531
+ verifyErrors?: string[];
532
+ fileList?: (string | null | undefined)[];
533
+ paywalled?: boolean;
534
+ upgradeUrl?: string;
535
+ liveUrl?: undefined;
536
+ files?: undefined;
537
+ loc?: undefined;
538
+ trust?: undefined;
539
+ note?: undefined;
540
+ } | {
541
+ delivered: DeliverResult;
542
+ dir: string;
543
+ installed: boolean;
544
+ nextStep: string;
545
+ verdict: string;
546
+ proofPending: boolean;
547
+ ok: boolean;
548
+ error?: string;
549
+ buildId?: unknown;
550
+ unverified?: boolean;
494
551
  themeId?: unknown;
495
552
  fileCount?: number;
496
553
  spec?: string | null;
@@ -503,6 +560,30 @@ declare function buildTools(ctx: ToolContext): {
503
560
  loc?: undefined;
504
561
  trust?: undefined;
505
562
  note?: undefined;
563
+ } | {
564
+ delivered: DeliverResult;
565
+ dir: string;
566
+ installed: boolean;
567
+ nextStep: string;
568
+ verdict: string;
569
+ proofPending: boolean;
570
+ ok: boolean;
571
+ error?: string;
572
+ buildId?: unknown;
573
+ unverified?: boolean;
574
+ themeId?: unknown;
575
+ fileCount?: number;
576
+ spec?: string | null;
577
+ verifyErrors?: string[];
578
+ fileList?: (string | null | undefined)[];
579
+ paywalled?: boolean;
580
+ upgradeUrl?: string;
581
+ passportUrl: string;
582
+ liveUrl?: undefined;
583
+ files?: undefined;
584
+ loc?: undefined;
585
+ trust?: undefined;
586
+ note?: undefined;
506
587
  } | {
507
588
  delivered: DeliverResult;
508
589
  dir: string;
@@ -510,6 +591,70 @@ declare function buildTools(ctx: ToolContext): {
510
591
  error?: string;
511
592
  buildId?: unknown;
512
593
  verdict?: "SHIP" | "NO_SHIP";
594
+ proofPending?: boolean;
595
+ unverified?: boolean;
596
+ themeId?: unknown;
597
+ fileCount?: number;
598
+ spec?: string | null;
599
+ verifyErrors?: string[];
600
+ fileList?: (string | null | undefined)[];
601
+ paywalled?: boolean;
602
+ upgradeUrl?: string;
603
+ liveUrl?: undefined;
604
+ files?: undefined;
605
+ loc?: undefined;
606
+ trust?: undefined;
607
+ note?: undefined;
608
+ } | {
609
+ delivered: DeliverResult;
610
+ dir: string;
611
+ verdict: string;
612
+ proofPending: boolean;
613
+ ok: boolean;
614
+ error?: string;
615
+ buildId?: unknown;
616
+ unverified?: boolean;
617
+ themeId?: unknown;
618
+ fileCount?: number;
619
+ spec?: string | null;
620
+ verifyErrors?: string[];
621
+ fileList?: (string | null | undefined)[];
622
+ paywalled?: boolean;
623
+ upgradeUrl?: string;
624
+ passportUrl: string;
625
+ liveUrl?: undefined;
626
+ files?: undefined;
627
+ loc?: undefined;
628
+ trust?: undefined;
629
+ note?: undefined;
630
+ } | {
631
+ delivered: DeliverResult;
632
+ dir: string;
633
+ verdict: string;
634
+ proofPending: boolean;
635
+ ok: boolean;
636
+ error?: string;
637
+ buildId?: unknown;
638
+ unverified?: boolean;
639
+ themeId?: unknown;
640
+ fileCount?: number;
641
+ spec?: string | null;
642
+ verifyErrors?: string[];
643
+ fileList?: (string | null | undefined)[];
644
+ paywalled?: boolean;
645
+ upgradeUrl?: string;
646
+ liveUrl?: undefined;
647
+ files?: undefined;
648
+ loc?: undefined;
649
+ trust?: undefined;
650
+ note?: undefined;
651
+ } | {
652
+ verdict: string;
653
+ proofPending: boolean;
654
+ ok: boolean;
655
+ error?: string;
656
+ buildId?: unknown;
657
+ unverified?: boolean;
513
658
  themeId?: unknown;
514
659
  fileCount?: number;
515
660
  spec?: string | null;
@@ -549,6 +694,97 @@ declare function buildTools(ctx: ToolContext): {
549
694
  note: string;
550
695
  error?: undefined;
551
696
  }>;
697
+ launch_volition: ai.Tool<{
698
+ description?: string | undefined;
699
+ live?: boolean | undefined;
700
+ target?: string | undefined;
701
+ }, {
702
+ ok: boolean;
703
+ error: string;
704
+ } | {
705
+ activated?: boolean;
706
+ enabled?: boolean;
707
+ live?: boolean;
708
+ sandbox?: boolean;
709
+ firstRun?: {
710
+ runId: string;
711
+ summary?: string | null;
712
+ } | null;
713
+ error: string;
714
+ reason?: string;
715
+ checkoutPath?: string;
716
+ priceUsdCents?: number;
717
+ readiness?: {
718
+ inferenceReady?: boolean;
719
+ inferenceSource?: string | null;
720
+ };
721
+ signInUrl?: string;
722
+ ok: boolean;
723
+ status: number | undefined;
724
+ } | {
725
+ activated?: boolean;
726
+ enabled?: boolean;
727
+ live?: boolean;
728
+ sandbox?: boolean;
729
+ firstRun?: {
730
+ runId: string;
731
+ summary?: string | null;
732
+ } | null;
733
+ error?: string;
734
+ reason?: string;
735
+ checkoutPath?: string;
736
+ priceUsdCents?: number;
737
+ readiness?: {
738
+ inferenceReady?: boolean;
739
+ inferenceSource?: string | null;
740
+ };
741
+ signInUrl?: string;
742
+ ok: boolean;
743
+ projectId: string | undefined;
744
+ consoleUrl: string | undefined;
745
+ }>;
746
+ volition_status: ai.Tool<{
747
+ target?: string | undefined;
748
+ }, {
749
+ ok: boolean;
750
+ error: string;
751
+ status?: undefined;
752
+ } | {
753
+ ok: boolean;
754
+ error: string;
755
+ status: number | undefined;
756
+ } | {
757
+ operator?: {
758
+ enabled?: boolean;
759
+ sandbox?: boolean;
760
+ [k: string]: unknown;
761
+ };
762
+ agents?: Array<{
763
+ id: string;
764
+ name?: string;
765
+ }>;
766
+ billing?: {
767
+ entitled?: boolean;
768
+ inferenceReady?: boolean;
769
+ priceUsdCents?: number;
770
+ };
771
+ recentRuns?: Array<{
772
+ runId?: string;
773
+ status?: string;
774
+ trigger?: string;
775
+ summary?: string | null;
776
+ createdAt?: string;
777
+ }>;
778
+ actionCounts?: Record<string, number>;
779
+ metabolism?: {
780
+ factCount?: number;
781
+ topTopics?: string[];
782
+ };
783
+ error?: string;
784
+ ok: boolean;
785
+ projectId: string;
786
+ status?: undefined;
787
+ }>;
552
788
  promote_app: ai.Tool<{
553
789
  domain?: string | undefined;
554
790
  buildId?: string | undefined;
@@ -581,13 +817,13 @@ declare function buildTools(ctx: ToolContext): {
581
817
  sections: {
582
818
  id: string;
583
819
  title: string;
584
- lane: string;
585
- render: string;
586
- summary: string;
587
820
  items: {
588
821
  label: string;
589
822
  detail?: string | undefined;
590
823
  }[];
824
+ summary: string;
825
+ lane: string;
826
+ render: string;
591
827
  }[];
592
828
  };
593
829
  answers: {
@@ -714,8 +950,8 @@ declare function buildTools(ctx: ToolContext): {
714
950
  error?: undefined;
715
951
  }>;
716
952
  send_launch_email: ai.Tool<{
717
- subject: string;
718
953
  body: string;
954
+ subject: string;
719
955
  brandName?: string | undefined;
720
956
  to?: string | undefined;
721
957
  when?: string | undefined;
@@ -731,7 +967,6 @@ declare function buildTools(ctx: ToolContext): {
731
967
  network: "meta" | "google" | "linkedin" | "tiktok" | "reddit";
732
968
  objective: string;
733
969
  adSet: {
734
- budgetDaily: number;
735
970
  audience: {
736
971
  locations?: string[] | undefined;
737
972
  ageMin?: number | undefined;
@@ -742,6 +977,7 @@ declare function buildTools(ctx: ToolContext): {
742
977
  } & {
743
978
  [k: string]: unknown;
744
979
  };
980
+ budgetDaily: number;
745
981
  optimizationGoal?: string | undefined;
746
982
  };
747
983
  name?: string | undefined;
@@ -783,13 +1019,13 @@ declare function buildTools(ctx: ToolContext): {
783
1019
  section: {
784
1020
  id: string;
785
1021
  title: string;
786
- lane: string;
787
- render: string;
788
- summary: string;
789
1022
  items: {
790
1023
  label: string;
791
1024
  detail?: string | undefined;
792
1025
  }[];
1026
+ summary: string;
1027
+ lane: string;
1028
+ render: string;
793
1029
  };
794
1030
  instruction: string;
795
1031
  brief?: string | undefined;
@@ -888,8 +1124,8 @@ declare function buildTools(ctx: ToolContext): {
888
1124
  }>;
889
1125
  read_file: ai.Tool<{
890
1126
  path: string;
891
- offset?: number | undefined;
892
1127
  limit?: number | undefined;
1128
+ offset?: number | undefined;
893
1129
  }, {
894
1130
  ok: boolean;
895
1131
  path: string;
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ import {
49
49
  resolveModelKey,
50
50
  severityRank,
51
51
  supportsThinking
52
- } from "./chunk-KJ5INI3M.js";
52
+ } from "./chunk-NHABZZTE.js";
53
53
 
54
54
  // src/prompts/template.ts
55
55
  var PLACEHOLDER = /\{\{([A-Za-z0-9_.]+)\}\}/g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wholestack",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "Wholestack — a pro-grade conversational terminal agent for the Wholestack codegen engine. Talk to it in plain language: it writes ISL, generates full-stack or Solidity apps, and proves them with ShipGate. Browser login, membership-gated builds, slash commands, sessions, plan mode, diffs, MCP, plugins.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,8 +13,8 @@
13
13
  }
14
14
  },
15
15
  "bin": {
16
- "wholestack": "./dist/cli.js",
17
- "zeta": "./dist/cli.js"
16
+ "wholestack": "dist/cli.js",
17
+ "zeta": "dist/cli.js"
18
18
  },
19
19
  "keywords": [
20
20
  "ai",