@vibes.diy/api-types 14.3.355 → 14.3.357

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.
@@ -30,6 +30,11 @@ export type MakePictureAnswer = {
30
30
  readonly prompt: string;
31
31
  readonly model: string;
32
32
  };
33
+ readonly offer?: {
34
+ readonly tool: string;
35
+ readonly ask: string;
36
+ readonly note: string;
37
+ };
33
38
  };
34
39
  export declare const reqMakePicture: import("arktype/internal/variants/object.ts").ObjectType<{
35
40
  type: "vibes.diy.req-make-picture";
package/app.d.ts CHANGED
@@ -670,37 +670,18 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
670
670
  seq: number;
671
671
  blockNr: number;
672
672
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
673
- type: "block.stats";
674
- stats: {
675
- toplevel: {
676
- lines: number;
677
- bytes: number;
678
- cnt?: number | undefined;
679
- };
680
- code: {
681
- lines: number;
682
- bytes: number;
683
- cnt?: number | undefined;
684
- };
685
- image: {
686
- lines: number;
687
- bytes: number;
688
- cnt?: number | undefined;
689
- };
690
- total: {
691
- lines: number;
692
- bytes: number;
693
- cnt?: number | undefined;
694
- };
695
- };
696
- usage: {
697
- prompt_tokens: number;
698
- completion_tokens: number;
699
- total_tokens: number;
700
- model?: string | undefined;
701
- role?: "agent" | "codegen" | "frontendDraft" | "img" | "mercury" | "research" | "runtime" | "shell" | undefined;
702
- reasoningEffort?: string | undefined;
703
- };
673
+ type: "block.toplevel.begin";
674
+ sectionId: string;
675
+ } | {
676
+ blockId: string;
677
+ streamId: string;
678
+ seq: number;
679
+ blockNr: number;
680
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
681
+ lineNr: number;
682
+ line: string;
683
+ type: "block.toplevel.line";
684
+ sectionId: string;
704
685
  } | {
705
686
  blockId: string;
706
687
  streamId: string;
@@ -712,14 +693,9 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
712
693
  bytes: number;
713
694
  cnt?: number | undefined;
714
695
  };
715
- type: "block.image";
696
+ type: "block.toplevel.end";
716
697
  sectionId: string;
717
- url?: string | undefined;
718
- uploadId?: string | undefined;
719
- cid?: string | undefined;
720
- mimeType?: string | undefined;
721
- size?: number | undefined;
722
- docWritten?: boolean | undefined;
698
+ messageEnd?: true | undefined;
723
699
  } | {
724
700
  blockId: string;
725
701
  streamId: string;
@@ -772,24 +748,6 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
772
748
  kind: string;
773
749
  truncatedAtLine: number;
774
750
  errorCount: number;
775
- } | {
776
- blockId: string;
777
- streamId: string;
778
- seq: number;
779
- blockNr: number;
780
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
781
- type: "block.toplevel.begin";
782
- sectionId: string;
783
- } | {
784
- blockId: string;
785
- streamId: string;
786
- seq: number;
787
- blockNr: number;
788
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
789
- lineNr: number;
790
- line: string;
791
- type: "block.toplevel.line";
792
- sectionId: string;
793
751
  } | {
794
752
  blockId: string;
795
753
  streamId: string;
@@ -801,47 +759,51 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
801
759
  bytes: number;
802
760
  cnt?: number | undefined;
803
761
  };
804
- type: "block.toplevel.end";
762
+ type: "block.image";
805
763
  sectionId: string;
806
- messageEnd?: true | undefined;
764
+ url?: string | undefined;
765
+ uploadId?: string | undefined;
766
+ cid?: string | undefined;
767
+ mimeType?: string | undefined;
768
+ size?: number | undefined;
769
+ docWritten?: boolean | undefined;
807
770
  } | {
808
- type: "prompt.research";
809
- version: 1;
771
+ blockId: string;
810
772
  streamId: string;
811
- chatId: string;
812
773
  seq: number;
774
+ blockNr: number;
813
775
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
814
- researchId: string;
815
- status: "complete" | "failed" | "partial";
816
- brief: string;
817
- sources: {
818
- url: string;
819
- finalUrl: string | null;
820
- contentType: string | null;
821
- httpStatus: number | null;
822
- backendFetchable: boolean;
823
- fetched: boolean;
824
- errorCode?: string | undefined;
825
- }[];
826
- api: {
827
- method: string;
828
- path: string;
829
- description: string;
830
- fields: string[];
831
- }[];
832
- excerpts: {
833
- sourceUrl: string;
834
- text: string;
835
- locator?: string | undefined;
836
- }[];
837
- seedRows: {
838
- sourceUrl: string;
839
- dbName: string;
840
- key: string;
841
- item: unknown;
842
- }[];
843
- completedAt: string;
844
- errorCode?: string | undefined;
776
+ type: "block.stats";
777
+ stats: {
778
+ toplevel: {
779
+ lines: number;
780
+ bytes: number;
781
+ cnt?: number | undefined;
782
+ };
783
+ code: {
784
+ lines: number;
785
+ bytes: number;
786
+ cnt?: number | undefined;
787
+ };
788
+ image: {
789
+ lines: number;
790
+ bytes: number;
791
+ cnt?: number | undefined;
792
+ };
793
+ total: {
794
+ lines: number;
795
+ bytes: number;
796
+ cnt?: number | undefined;
797
+ };
798
+ };
799
+ usage: {
800
+ prompt_tokens: number;
801
+ completion_tokens: number;
802
+ total_tokens: number;
803
+ model?: string | undefined;
804
+ role?: "agent" | "codegen" | "frontendDraft" | "img" | "mercury" | "research" | "runtime" | "shell" | undefined;
805
+ reasoningEffort?: string | undefined;
806
+ };
845
807
  } | {
846
808
  streamId: string;
847
809
  chatId: string;
@@ -1312,6 +1274,44 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
1312
1274
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1313
1275
  type: "prompt.discussion-title";
1314
1276
  text: string;
1277
+ } | {
1278
+ type: "prompt.research";
1279
+ version: 1;
1280
+ streamId: string;
1281
+ chatId: string;
1282
+ seq: number;
1283
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1284
+ researchId: string;
1285
+ status: "complete" | "failed" | "partial";
1286
+ brief: string;
1287
+ sources: {
1288
+ url: string;
1289
+ finalUrl: string | null;
1290
+ contentType: string | null;
1291
+ httpStatus: number | null;
1292
+ backendFetchable: boolean;
1293
+ fetched: boolean;
1294
+ errorCode?: string | undefined;
1295
+ }[];
1296
+ api: {
1297
+ method: string;
1298
+ path: string;
1299
+ description: string;
1300
+ fields: string[];
1301
+ }[];
1302
+ excerpts: {
1303
+ sourceUrl: string;
1304
+ text: string;
1305
+ locator?: string | undefined;
1306
+ }[];
1307
+ seedRows: {
1308
+ sourceUrl: string;
1309
+ dbName: string;
1310
+ key: string;
1311
+ item: unknown;
1312
+ }[];
1313
+ completedAt: string;
1314
+ errorCode?: string | undefined;
1315
1315
  })[];
1316
1316
  }, {}>;
1317
1317
  export type ResGetApplicationChat = typeof resGetApplicationChat.infer;
package/billing-msg.d.ts CHANGED
@@ -21,7 +21,7 @@ export declare function isReqBillingCustomer(obj: unknown): obj is ReqBillingCus
21
21
  export declare const resBillingCustomer: import("arktype/internal/variants/object.ts").ObjectType<{
22
22
  type: "vibes.diy.res-billing-customer";
23
23
  enabled: boolean;
24
- plan?: "free" | "plus" | "pro" | undefined;
24
+ plan?: "business" | "enterprise" | "free" | "growth" | "plus" | "pro" | undefined;
25
25
  grantRemaining?: number | undefined;
26
26
  grantIncluded?: number | undefined;
27
27
  grantResetsAt?: number | undefined;
@@ -47,7 +47,7 @@ export declare const reqBillingCheckout: import("arktype/internal/variants/objec
47
47
  type: "clerk" | "device-id" | "guest" | "ucan";
48
48
  token: string;
49
49
  };
50
- kind: "subscribe-plus" | "subscribe-pro" | "top-up";
50
+ kind: "subscribe-growth" | "subscribe-plus" | "subscribe-pro" | "top-up";
51
51
  units?: number | undefined;
52
52
  successUrl: string;
53
53
  }, {}>;
package/billing-msg.js CHANGED
@@ -20,7 +20,7 @@ export function isReqBillingCustomer(obj) {
20
20
  export const resBillingCustomer = lazyType(() => type({
21
21
  type: "'vibes.diy.res-billing-customer'",
22
22
  enabled: "boolean",
23
- "plan?": "'free' | 'plus' | 'pro'",
23
+ "plan?": "'free' | 'plus' | 'pro' | 'growth' | 'business' | 'enterprise'",
24
24
  "grantRemaining?": "number",
25
25
  "grantIncluded?": "number",
26
26
  "grantResetsAt?": "number",
@@ -37,7 +37,7 @@ export function isResBillingCustomer(obj) {
37
37
  export const reqBillingCheckout = lazyType(() => type({
38
38
  type: "'vibes.diy.req-billing-checkout'",
39
39
  auth: dashAuthType,
40
- kind: "'subscribe-plus' | 'subscribe-pro' | 'top-up'",
40
+ kind: "'subscribe-plus' | 'subscribe-pro' | 'subscribe-growth' | 'top-up'",
41
41
  "units?": "number",
42
42
  successUrl: "string",
43
43
  }));
package/bridge-notes.js CHANGED
@@ -12,6 +12,7 @@ const BRIDGE_NOTE_OPENERS = [
12
12
  /^\[If this turn texts them a link to an app you made, it is their first/,
13
13
  /^\[You asked them for a selfie of just them to paint as a superhero/,
14
14
  /^\[You offered to make them a superhero from a selfie/,
15
+ /^\[This message is (?:1 text|\d+ texts sent over \d+ s, joined)\./,
15
16
  ];
16
17
  export function isBridgeNoteLine(line) {
17
18
  const l = line.trim();
package/credits-copy.d.ts CHANGED
@@ -2,6 +2,6 @@ export declare const CREDITS_EXHAUSTED_PREFIX = "credits-exhausted:";
2
2
  export declare function isCreditsExhaustedError(error: string): boolean;
3
3
  export declare function formatResetsDate(epochMs: number): string;
4
4
  export declare function outOfCreditsLine(i: {
5
- readonly plan?: "free" | "plus" | "pro";
5
+ readonly plan?: "free" | "plus" | "pro" | "growth" | "business" | "enterprise";
6
6
  readonly grantResetsAt?: number;
7
7
  }): string;
package/crm-fact-msg.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare const evtCrmFact: import("arktype/internal/variants/object.ts").O
3
3
  eventId: string;
4
4
  userId: string;
5
5
  at: string;
6
- kind: "app-mint" | "app-publish" | "codegen-turn" | "email-bounced" | "email-clicked" | "email-complained" | "email-opened" | "email-sent" | "handle-bind" | "paywall-hit" | "plan-change" | "promo-redeemed" | "recruited-by-vibe" | "share-sent" | "signup-source" | "visit";
6
+ kind: "app-mint" | "app-publish" | "codegen-turn" | "email-bounced" | "email-clicked" | "email-complained" | "email-opened" | "email-sent" | "geo-country" | "handle-bind" | "paywall-hit" | "plan-change" | "promo-redeemed" | "recruited-by-vibe" | "share-sent" | "signup-source" | "visit";
7
7
  handle?: string | undefined;
8
8
  provisional?: boolean | undefined;
9
9
  appSlug?: string | undefined;
@@ -21,6 +21,7 @@ export declare const evtCrmFact: import("arktype/internal/variants/object.ts").O
21
21
  ownerHandle: string;
22
22
  appSlug: string;
23
23
  } | undefined;
24
+ country?: string | undefined;
24
25
  promoMask?: string | undefined;
25
26
  email?: {
26
27
  lane: string;
package/crm-fact-msg.js CHANGED
@@ -5,7 +5,7 @@ export const evtCrmFact = lazyType(() => type({
5
5
  eventId: "string",
6
6
  userId: "string",
7
7
  at: "string",
8
- kind: "'codegen-turn'|'app-mint'|'handle-bind'|'paywall-hit'|'app-publish'|'plan-change'|'signup-source'|'recruited-by-vibe'|'visit'|'share-sent'|'promo-redeemed'|'email-sent'|'email-opened'|'email-clicked'|'email-bounced'|'email-complained'",
8
+ kind: "'codegen-turn'|'app-mint'|'handle-bind'|'paywall-hit'|'app-publish'|'plan-change'|'signup-source'|'recruited-by-vibe'|'visit'|'share-sent'|'promo-redeemed'|'geo-country'|'email-sent'|'email-opened'|'email-clicked'|'email-bounced'|'email-complained'",
9
9
  "handle?": "string",
10
10
  "provisional?": "boolean",
11
11
  "appSlug?": "string",
@@ -20,6 +20,7 @@ export const evtCrmFact = lazyType(() => type({
20
20
  },
21
21
  "clickIds?": "('fbclid'|'gclid'|'msclkid'|'ttclid')[]",
22
22
  "recruitedBy?": { ownerHandle: "string", appSlug: "string" },
23
+ "country?": "string",
23
24
  "promoMask?": "string",
24
25
  "email?": {
25
26
  lane: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.3.355",
3
+ "version": "14.3.357",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -10,6 +10,7 @@
10
10
  "./app-documents": "./app-documents.js",
11
11
  "./access-function": "./access-function.js",
12
12
  "./lazy-type": "./lazy-type.js",
13
+ "./asset-magic": "./asset-magic.js",
13
14
  "./invite-note": "./invite-note.js",
14
15
  "./prefilled-prompts": "./prefilled-prompts.js",
15
16
  "./vibes-logo-paths": "./vibes-logo-paths.js",
@@ -25,9 +26,9 @@
25
26
  "dependencies": {
26
27
  "@adviser/cement": "~0.5.37",
27
28
  "@cloudflare/workers-types": "~5.20261101.1",
28
- "@vibes.diy/call-ai-v2": "14.3.355",
29
- "@vibes.diy/identity": "14.3.355",
30
- "@vibes.diy/vibe-types": "14.3.355",
29
+ "@vibes.diy/call-ai-v2": "14.3.357",
30
+ "@vibes.diy/identity": "14.3.357",
31
+ "@vibes.diy/vibe-types": "14.3.357",
31
32
  "arktype": "~2.2.9"
32
33
  },
33
34
  "repository": {
package/prompt.d.ts CHANGED
@@ -582,18 +582,6 @@ export declare const PromptDiscussionTitle: import("arktype/internal/variants/ob
582
582
  export type PromptDiscussionTitle = typeof PromptDiscussionTitle.infer;
583
583
  export declare function isPromptDiscussionTitle(msg: unknown): msg is PromptDiscussionTitle;
584
584
  export declare const PromptMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
585
- streamId: string;
586
- chatId: string;
587
- seq: number;
588
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
589
- type: "prompt.block-begin";
590
- } | {
591
- streamId: string;
592
- chatId: string;
593
- seq: number;
594
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
595
- type: "prompt.block-end";
596
- } | {
597
585
  streamId: string;
598
586
  chatId: string;
599
587
  seq: number;
@@ -693,16 +681,6 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
693
681
  agentCommit?: true | undefined;
694
682
  agentSkills?: string[] | undefined;
695
683
  alternativeReady?: string | undefined;
696
- } | {
697
- streamId: string;
698
- chatId: string;
699
- seq: number;
700
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
701
- type: "prompt.error";
702
- error: string;
703
- code?: "turn-lost" | undefined;
704
- lostBuildPromptIds?: string[] | undefined;
705
- variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
706
684
  } | {
707
685
  streamId: string;
708
686
  chatId: string;
@@ -755,6 +733,67 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
755
733
  size: number;
756
734
  uploadId?: string | undefined;
757
735
  })[];
736
+ } | {
737
+ streamId: string;
738
+ chatId: string;
739
+ seq: number;
740
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
741
+ type: "prompt.block-begin";
742
+ } | {
743
+ streamId: string;
744
+ chatId: string;
745
+ seq: number;
746
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
747
+ type: "prompt.error";
748
+ error: string;
749
+ code?: "turn-lost" | undefined;
750
+ lostBuildPromptIds?: string[] | undefined;
751
+ variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
752
+ } | {
753
+ streamId: string;
754
+ chatId: string;
755
+ seq: number;
756
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
757
+ type: "prompt.block-end";
758
+ } | {
759
+ streamId: string;
760
+ chatId: string;
761
+ seq: number;
762
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
763
+ type: "prompt.model-resolved";
764
+ model: string;
765
+ } | {
766
+ streamId: string;
767
+ chatId: string;
768
+ seq: number;
769
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
770
+ type: "prompt.fs-persisted";
771
+ fsRef: (In: {
772
+ appSlug: string;
773
+ ownerHandle?: string | undefined;
774
+ userSlug?: string | undefined;
775
+ mode: "dev" | "production";
776
+ fsId: string;
777
+ }) => import("arktype").Out<{
778
+ appSlug: string;
779
+ mode: "dev" | "production";
780
+ fsId: string;
781
+ ownerHandle: string;
782
+ }>;
783
+ } | {
784
+ streamId: string;
785
+ chatId: string;
786
+ seq: number;
787
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
788
+ type: "prompt.system-prompt";
789
+ text: string;
790
+ } | {
791
+ streamId: string;
792
+ chatId: string;
793
+ seq: number;
794
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
795
+ type: "prompt.raw";
796
+ text: string;
758
797
  } | {
759
798
  streamId: string;
760
799
  chatId: string;
@@ -850,40 +889,32 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
850
889
  chatId: string;
851
890
  seq: number;
852
891
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
853
- type: "prompt.model-resolved";
854
- model: string;
855
- } | {
856
- streamId: string;
857
- chatId: string;
858
- seq: number;
859
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
860
- type: "prompt.raw";
861
- text: string;
862
- } | {
863
- streamId: string;
864
- chatId: string;
865
- seq: number;
866
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
867
- type: "prompt.fs-persisted";
868
- fsRef: (In: {
869
- appSlug: string;
870
- ownerHandle?: string | undefined;
871
- userSlug?: string | undefined;
872
- mode: "dev" | "production";
873
- fsId: string;
874
- }) => import("arktype").Out<{
875
- appSlug: string;
876
- mode: "dev" | "production";
877
- fsId: string;
878
- ownerHandle: string;
879
- }>;
880
- } | {
881
- streamId: string;
882
- chatId: string;
883
- seq: number;
884
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
885
- type: "prompt.system-prompt";
886
- text: string;
892
+ type: "prompt.agent-evidence";
893
+ evidence: {
894
+ kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
895
+ options?: {
896
+ label: string;
897
+ gold?: boolean | undefined;
898
+ kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
899
+ }[] | undefined;
900
+ sessionId?: string | undefined;
901
+ callId?: string | undefined;
902
+ handleId?: string | undefined;
903
+ buildHandleId?: string | undefined;
904
+ supersedes?: string | undefined;
905
+ queued?: boolean | undefined;
906
+ state?: "building" | "committing" | "queued" | undefined;
907
+ busy?: boolean | undefined;
908
+ saved?: boolean | undefined;
909
+ ok?: boolean | undefined;
910
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
911
+ fsId?: string | undefined;
912
+ name?: string | undefined;
913
+ round?: number | undefined;
914
+ epoch?: number | undefined;
915
+ text?: string | undefined;
916
+ truncated?: boolean | undefined;
917
+ };
887
918
  } | {
888
919
  streamId: string;
889
920
  chatId: string;
@@ -970,37 +1001,6 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
970
1001
  type: "prompt.first-brief";
971
1002
  text: string;
972
1003
  msFromTurnStart: number;
973
- } | {
974
- streamId: string;
975
- chatId: string;
976
- seq: number;
977
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
978
- type: "prompt.agent-evidence";
979
- evidence: {
980
- kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
981
- options?: {
982
- label: string;
983
- gold?: boolean | undefined;
984
- kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
985
- }[] | undefined;
986
- sessionId?: string | undefined;
987
- callId?: string | undefined;
988
- handleId?: string | undefined;
989
- buildHandleId?: string | undefined;
990
- supersedes?: string | undefined;
991
- queued?: boolean | undefined;
992
- state?: "building" | "committing" | "queued" | undefined;
993
- busy?: boolean | undefined;
994
- saved?: boolean | undefined;
995
- ok?: boolean | undefined;
996
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
997
- fsId?: string | undefined;
998
- name?: string | undefined;
999
- round?: number | undefined;
1000
- epoch?: number | undefined;
1001
- text?: string | undefined;
1002
- truncated?: boolean | undefined;
1003
- };
1004
1004
  } | {
1005
1005
  type: "prompt.status";
1006
1006
  streamId: string;
package/settings.d.ts CHANGED
@@ -2113,124 +2113,6 @@ export type ReqEnsureAppSettings = ReqPublicAccess | ReqRequest | ReqEnsureAppSe
2113
2113
  export declare function isReqEnsureAppSettings(obj: unknown): obj is ReqEnsureAppSettings;
2114
2114
  export declare const AppSettings: import("arktype/internal/variants/object.ts").ObjectType<{
2115
2115
  entries: ({
2116
- type: "active.agent-discussion";
2117
- chatId: string;
2118
- pinnedAt?: string | undefined;
2119
- title?: string | undefined;
2120
- hiddenAt?: string | undefined;
2121
- textedAt?: string | undefined;
2122
- } | {
2123
- type: "active.style";
2124
- palette?: {
2125
- hues: [number, ({
2126
- mode: "derived";
2127
- } | {
2128
- mode: "pinned";
2129
- h: number;
2130
- } | undefined)?, ({
2131
- mode: "derived";
2132
- } | {
2133
- mode: "pinned";
2134
- h: number;
2135
- } | undefined)?];
2136
- character: {
2137
- chroma: number;
2138
- contrast: number;
2139
- neutralTint: number;
2140
- surfaceLift: number;
2141
- fillLevel: number;
2142
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2143
- paper?: number | undefined;
2144
- fillLift?: number | undefined;
2145
- };
2146
- pouf?: {
2147
- lead: number;
2148
- up?: number | undefined;
2149
- down?: number | undefined;
2150
- gap?: number | undefined;
2151
- tone?: number | undefined;
2152
- locked?: "home" | undefined;
2153
- } | undefined;
2154
- } | undefined;
2155
- font?: string | undefined;
2156
- ornament?: {
2157
- pad: {
2158
- x: number;
2159
- y: number;
2160
- };
2161
- pins?: {
2162
- spacing?: string | undefined;
2163
- "font-size-base"?: string | undefined;
2164
- radius?: string | undefined;
2165
- "radius-sm"?: string | undefined;
2166
- "radius-lg"?: string | undefined;
2167
- "border-width"?: string | undefined;
2168
- shadow?: string | undefined;
2169
- "shadow-sm"?: string | undefined;
2170
- "shadow-lg"?: string | undefined;
2171
- "letter-spacing"?: string | undefined;
2172
- "letter-spacing-wide"?: string | undefined;
2173
- "font-weight"?: string | undefined;
2174
- "text-transform"?: string | undefined;
2175
- } | undefined;
2176
- } | undefined;
2177
- stylePinned?: boolean | undefined;
2178
- } | {
2179
- type: "draft.style";
2180
- palette?: {
2181
- hues: [number, ({
2182
- mode: "derived";
2183
- } | {
2184
- mode: "pinned";
2185
- h: number;
2186
- } | undefined)?, ({
2187
- mode: "derived";
2188
- } | {
2189
- mode: "pinned";
2190
- h: number;
2191
- } | undefined)?];
2192
- character: {
2193
- chroma: number;
2194
- contrast: number;
2195
- neutralTint: number;
2196
- surfaceLift: number;
2197
- fillLevel: number;
2198
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2199
- paper?: number | undefined;
2200
- fillLift?: number | undefined;
2201
- };
2202
- pouf?: {
2203
- lead: number;
2204
- up?: number | undefined;
2205
- down?: number | undefined;
2206
- gap?: number | undefined;
2207
- tone?: number | undefined;
2208
- locked?: "home" | undefined;
2209
- } | undefined;
2210
- } | undefined;
2211
- font?: string | undefined;
2212
- ornament?: {
2213
- pad: {
2214
- x: number;
2215
- y: number;
2216
- };
2217
- pins?: {
2218
- spacing?: string | undefined;
2219
- "font-size-base"?: string | undefined;
2220
- radius?: string | undefined;
2221
- "radius-sm"?: string | undefined;
2222
- "radius-lg"?: string | undefined;
2223
- "border-width"?: string | undefined;
2224
- shadow?: string | undefined;
2225
- "shadow-sm"?: string | undefined;
2226
- "shadow-lg"?: string | undefined;
2227
- "letter-spacing"?: string | undefined;
2228
- "letter-spacing-wide"?: string | undefined;
2229
- "font-weight"?: string | undefined;
2230
- "text-transform"?: string | undefined;
2231
- } | undefined;
2232
- } | undefined;
2233
- } | {
2234
2116
  type: "app.acl.active.invite";
2235
2117
  role: "editor";
2236
2118
  state: "pending";
@@ -2387,6 +2269,117 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
2387
2269
  } | {
2388
2270
  type: "active.colorTheme";
2389
2271
  colorTheme: string;
2272
+ } | {
2273
+ type: "active.style";
2274
+ palette?: {
2275
+ hues: [number, ({
2276
+ mode: "derived";
2277
+ } | {
2278
+ mode: "pinned";
2279
+ h: number;
2280
+ } | undefined)?, ({
2281
+ mode: "derived";
2282
+ } | {
2283
+ mode: "pinned";
2284
+ h: number;
2285
+ } | undefined)?];
2286
+ character: {
2287
+ chroma: number;
2288
+ contrast: number;
2289
+ neutralTint: number;
2290
+ surfaceLift: number;
2291
+ fillLevel: number;
2292
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2293
+ paper?: number | undefined;
2294
+ fillLift?: number | undefined;
2295
+ };
2296
+ pouf?: {
2297
+ lead: number;
2298
+ up?: number | undefined;
2299
+ down?: number | undefined;
2300
+ gap?: number | undefined;
2301
+ tone?: number | undefined;
2302
+ locked?: "home" | undefined;
2303
+ } | undefined;
2304
+ } | undefined;
2305
+ font?: string | undefined;
2306
+ ornament?: {
2307
+ pad: {
2308
+ x: number;
2309
+ y: number;
2310
+ };
2311
+ pins?: {
2312
+ spacing?: string | undefined;
2313
+ "font-size-base"?: string | undefined;
2314
+ radius?: string | undefined;
2315
+ "radius-sm"?: string | undefined;
2316
+ "radius-lg"?: string | undefined;
2317
+ "border-width"?: string | undefined;
2318
+ shadow?: string | undefined;
2319
+ "shadow-sm"?: string | undefined;
2320
+ "shadow-lg"?: string | undefined;
2321
+ "letter-spacing"?: string | undefined;
2322
+ "letter-spacing-wide"?: string | undefined;
2323
+ "font-weight"?: string | undefined;
2324
+ "text-transform"?: string | undefined;
2325
+ } | undefined;
2326
+ } | undefined;
2327
+ stylePinned?: boolean | undefined;
2328
+ } | {
2329
+ type: "draft.style";
2330
+ palette?: {
2331
+ hues: [number, ({
2332
+ mode: "derived";
2333
+ } | {
2334
+ mode: "pinned";
2335
+ h: number;
2336
+ } | undefined)?, ({
2337
+ mode: "derived";
2338
+ } | {
2339
+ mode: "pinned";
2340
+ h: number;
2341
+ } | undefined)?];
2342
+ character: {
2343
+ chroma: number;
2344
+ contrast: number;
2345
+ neutralTint: number;
2346
+ surfaceLift: number;
2347
+ fillLevel: number;
2348
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2349
+ paper?: number | undefined;
2350
+ fillLift?: number | undefined;
2351
+ };
2352
+ pouf?: {
2353
+ lead: number;
2354
+ up?: number | undefined;
2355
+ down?: number | undefined;
2356
+ gap?: number | undefined;
2357
+ tone?: number | undefined;
2358
+ locked?: "home" | undefined;
2359
+ } | undefined;
2360
+ } | undefined;
2361
+ font?: string | undefined;
2362
+ ornament?: {
2363
+ pad: {
2364
+ x: number;
2365
+ y: number;
2366
+ };
2367
+ pins?: {
2368
+ spacing?: string | undefined;
2369
+ "font-size-base"?: string | undefined;
2370
+ radius?: string | undefined;
2371
+ "radius-sm"?: string | undefined;
2372
+ "radius-lg"?: string | undefined;
2373
+ "border-width"?: string | undefined;
2374
+ shadow?: string | undefined;
2375
+ "shadow-sm"?: string | undefined;
2376
+ "shadow-lg"?: string | undefined;
2377
+ "letter-spacing"?: string | undefined;
2378
+ "letter-spacing-wide"?: string | undefined;
2379
+ "font-weight"?: string | undefined;
2380
+ "text-transform"?: string | undefined;
2381
+ } | undefined;
2382
+ } | undefined;
2390
2383
  } | {
2391
2384
  type: "active.look-package";
2392
2385
  package: string;
@@ -2606,6 +2599,13 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
2606
2599
  ownerHandle: string;
2607
2600
  appSlug: string;
2608
2601
  }[];
2602
+ } | {
2603
+ type: "active.agent-discussion";
2604
+ chatId: string;
2605
+ pinnedAt?: string | undefined;
2606
+ title?: string | undefined;
2607
+ hiddenAt?: string | undefined;
2608
+ textedAt?: string | undefined;
2609
2609
  })[];
2610
2610
  entry: {
2611
2611
  settings: {
@@ -2888,124 +2888,6 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
2888
2888
  error?: string | undefined;
2889
2889
  settings: {
2890
2890
  entries: ({
2891
- type: "active.agent-discussion";
2892
- chatId: string;
2893
- pinnedAt?: string | undefined;
2894
- title?: string | undefined;
2895
- hiddenAt?: string | undefined;
2896
- textedAt?: string | undefined;
2897
- } | {
2898
- type: "active.style";
2899
- palette?: {
2900
- hues: [number, ({
2901
- mode: "derived";
2902
- } | {
2903
- mode: "pinned";
2904
- h: number;
2905
- } | undefined)?, ({
2906
- mode: "derived";
2907
- } | {
2908
- mode: "pinned";
2909
- h: number;
2910
- } | undefined)?];
2911
- character: {
2912
- chroma: number;
2913
- contrast: number;
2914
- neutralTint: number;
2915
- surfaceLift: number;
2916
- fillLevel: number;
2917
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2918
- paper?: number | undefined;
2919
- fillLift?: number | undefined;
2920
- };
2921
- pouf?: {
2922
- lead: number;
2923
- up?: number | undefined;
2924
- down?: number | undefined;
2925
- gap?: number | undefined;
2926
- tone?: number | undefined;
2927
- locked?: "home" | undefined;
2928
- } | undefined;
2929
- } | undefined;
2930
- font?: string | undefined;
2931
- ornament?: {
2932
- pad: {
2933
- x: number;
2934
- y: number;
2935
- };
2936
- pins?: {
2937
- spacing?: string | undefined;
2938
- "font-size-base"?: string | undefined;
2939
- radius?: string | undefined;
2940
- "radius-sm"?: string | undefined;
2941
- "radius-lg"?: string | undefined;
2942
- "border-width"?: string | undefined;
2943
- shadow?: string | undefined;
2944
- "shadow-sm"?: string | undefined;
2945
- "shadow-lg"?: string | undefined;
2946
- "letter-spacing"?: string | undefined;
2947
- "letter-spacing-wide"?: string | undefined;
2948
- "font-weight"?: string | undefined;
2949
- "text-transform"?: string | undefined;
2950
- } | undefined;
2951
- } | undefined;
2952
- stylePinned?: boolean | undefined;
2953
- } | {
2954
- type: "draft.style";
2955
- palette?: {
2956
- hues: [number, ({
2957
- mode: "derived";
2958
- } | {
2959
- mode: "pinned";
2960
- h: number;
2961
- } | undefined)?, ({
2962
- mode: "derived";
2963
- } | {
2964
- mode: "pinned";
2965
- h: number;
2966
- } | undefined)?];
2967
- character: {
2968
- chroma: number;
2969
- contrast: number;
2970
- neutralTint: number;
2971
- surfaceLift: number;
2972
- fillLevel: number;
2973
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2974
- paper?: number | undefined;
2975
- fillLift?: number | undefined;
2976
- };
2977
- pouf?: {
2978
- lead: number;
2979
- up?: number | undefined;
2980
- down?: number | undefined;
2981
- gap?: number | undefined;
2982
- tone?: number | undefined;
2983
- locked?: "home" | undefined;
2984
- } | undefined;
2985
- } | undefined;
2986
- font?: string | undefined;
2987
- ornament?: {
2988
- pad: {
2989
- x: number;
2990
- y: number;
2991
- };
2992
- pins?: {
2993
- spacing?: string | undefined;
2994
- "font-size-base"?: string | undefined;
2995
- radius?: string | undefined;
2996
- "radius-sm"?: string | undefined;
2997
- "radius-lg"?: string | undefined;
2998
- "border-width"?: string | undefined;
2999
- shadow?: string | undefined;
3000
- "shadow-sm"?: string | undefined;
3001
- "shadow-lg"?: string | undefined;
3002
- "letter-spacing"?: string | undefined;
3003
- "letter-spacing-wide"?: string | undefined;
3004
- "font-weight"?: string | undefined;
3005
- "text-transform"?: string | undefined;
3006
- } | undefined;
3007
- } | undefined;
3008
- } | {
3009
2891
  type: "app.acl.active.invite";
3010
2892
  role: "editor";
3011
2893
  state: "pending";
@@ -3162,6 +3044,117 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
3162
3044
  } | {
3163
3045
  type: "active.colorTheme";
3164
3046
  colorTheme: string;
3047
+ } | {
3048
+ type: "active.style";
3049
+ palette?: {
3050
+ hues: [number, ({
3051
+ mode: "derived";
3052
+ } | {
3053
+ mode: "pinned";
3054
+ h: number;
3055
+ } | undefined)?, ({
3056
+ mode: "derived";
3057
+ } | {
3058
+ mode: "pinned";
3059
+ h: number;
3060
+ } | undefined)?];
3061
+ character: {
3062
+ chroma: number;
3063
+ contrast: number;
3064
+ neutralTint: number;
3065
+ surfaceLift: number;
3066
+ fillLevel: number;
3067
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
3068
+ paper?: number | undefined;
3069
+ fillLift?: number | undefined;
3070
+ };
3071
+ pouf?: {
3072
+ lead: number;
3073
+ up?: number | undefined;
3074
+ down?: number | undefined;
3075
+ gap?: number | undefined;
3076
+ tone?: number | undefined;
3077
+ locked?: "home" | undefined;
3078
+ } | undefined;
3079
+ } | undefined;
3080
+ font?: string | undefined;
3081
+ ornament?: {
3082
+ pad: {
3083
+ x: number;
3084
+ y: number;
3085
+ };
3086
+ pins?: {
3087
+ spacing?: string | undefined;
3088
+ "font-size-base"?: string | undefined;
3089
+ radius?: string | undefined;
3090
+ "radius-sm"?: string | undefined;
3091
+ "radius-lg"?: string | undefined;
3092
+ "border-width"?: string | undefined;
3093
+ shadow?: string | undefined;
3094
+ "shadow-sm"?: string | undefined;
3095
+ "shadow-lg"?: string | undefined;
3096
+ "letter-spacing"?: string | undefined;
3097
+ "letter-spacing-wide"?: string | undefined;
3098
+ "font-weight"?: string | undefined;
3099
+ "text-transform"?: string | undefined;
3100
+ } | undefined;
3101
+ } | undefined;
3102
+ stylePinned?: boolean | undefined;
3103
+ } | {
3104
+ type: "draft.style";
3105
+ palette?: {
3106
+ hues: [number, ({
3107
+ mode: "derived";
3108
+ } | {
3109
+ mode: "pinned";
3110
+ h: number;
3111
+ } | undefined)?, ({
3112
+ mode: "derived";
3113
+ } | {
3114
+ mode: "pinned";
3115
+ h: number;
3116
+ } | undefined)?];
3117
+ character: {
3118
+ chroma: number;
3119
+ contrast: number;
3120
+ neutralTint: number;
3121
+ surfaceLift: number;
3122
+ fillLevel: number;
3123
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
3124
+ paper?: number | undefined;
3125
+ fillLift?: number | undefined;
3126
+ };
3127
+ pouf?: {
3128
+ lead: number;
3129
+ up?: number | undefined;
3130
+ down?: number | undefined;
3131
+ gap?: number | undefined;
3132
+ tone?: number | undefined;
3133
+ locked?: "home" | undefined;
3134
+ } | undefined;
3135
+ } | undefined;
3136
+ font?: string | undefined;
3137
+ ornament?: {
3138
+ pad: {
3139
+ x: number;
3140
+ y: number;
3141
+ };
3142
+ pins?: {
3143
+ spacing?: string | undefined;
3144
+ "font-size-base"?: string | undefined;
3145
+ radius?: string | undefined;
3146
+ "radius-sm"?: string | undefined;
3147
+ "radius-lg"?: string | undefined;
3148
+ "border-width"?: string | undefined;
3149
+ shadow?: string | undefined;
3150
+ "shadow-sm"?: string | undefined;
3151
+ "shadow-lg"?: string | undefined;
3152
+ "letter-spacing"?: string | undefined;
3153
+ "letter-spacing-wide"?: string | undefined;
3154
+ "font-weight"?: string | undefined;
3155
+ "text-transform"?: string | undefined;
3156
+ } | undefined;
3157
+ } | undefined;
3165
3158
  } | {
3166
3159
  type: "active.look-package";
3167
3160
  package: string;
@@ -3381,6 +3374,13 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
3381
3374
  ownerHandle: string;
3382
3375
  appSlug: string;
3383
3376
  }[];
3377
+ } | {
3378
+ type: "active.agent-discussion";
3379
+ chatId: string;
3380
+ pinnedAt?: string | undefined;
3381
+ title?: string | undefined;
3382
+ hiddenAt?: string | undefined;
3383
+ textedAt?: string | undefined;
3384
3384
  })[];
3385
3385
  entry: {
3386
3386
  settings: {