@hexclave/shared 1.0.62 → 1.0.64
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/{admin-interface-D63SFHX_.d.ts → admin-interface-DaxVUjl4.d.ts} +2 -2
- package/dist/{admin-interface-D63SFHX_.d.ts.map → admin-interface-DaxVUjl4.d.ts.map} +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js +22 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js.map +1 -1
- package/dist/{email-outbox-CqzwInBL.d.ts → email-outbox-B1wmVPRG.d.ts} +91 -91
- package/dist/{email-outbox-CqzwInBL.d.ts.map → email-outbox-B1wmVPRG.d.ts.map} +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js +22 -6
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js.map +1 -1
- package/dist/esm/interface/crud/email-outbox.d.ts +90 -90
- package/dist/index.d.ts +1 -1
- package/dist/interface/admin-interface.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.ts +22 -6
|
@@ -5,6 +5,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
5
5
|
status: "paused";
|
|
6
6
|
id: string;
|
|
7
7
|
created_at_millis: number;
|
|
8
|
+
updated_at_millis: number;
|
|
9
|
+
tsx_source: string;
|
|
10
|
+
theme_id: string | null;
|
|
8
11
|
to: {
|
|
9
12
|
user_id: string;
|
|
10
13
|
type: "user-primary-email";
|
|
@@ -16,9 +19,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
16
19
|
type: "custom-emails";
|
|
17
20
|
emails: string[];
|
|
18
21
|
};
|
|
19
|
-
updated_at_millis: number;
|
|
20
|
-
tsx_source: string;
|
|
21
|
-
theme_id: string | null;
|
|
22
22
|
variables: Record<string, {} | null>;
|
|
23
23
|
skip_deliverability_check: boolean;
|
|
24
24
|
scheduled_at_millis: number;
|
|
@@ -43,6 +43,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
43
43
|
status: "preparing";
|
|
44
44
|
id: string;
|
|
45
45
|
created_at_millis: number;
|
|
46
|
+
updated_at_millis: number;
|
|
47
|
+
tsx_source: string;
|
|
48
|
+
theme_id: string | null;
|
|
46
49
|
to: {
|
|
47
50
|
user_id: string;
|
|
48
51
|
type: "user-primary-email";
|
|
@@ -54,9 +57,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
54
57
|
type: "custom-emails";
|
|
55
58
|
emails: string[];
|
|
56
59
|
};
|
|
57
|
-
updated_at_millis: number;
|
|
58
|
-
tsx_source: string;
|
|
59
|
-
theme_id: string | null;
|
|
60
60
|
variables: Record<string, {} | null>;
|
|
61
61
|
skip_deliverability_check: boolean;
|
|
62
62
|
scheduled_at_millis: number;
|
|
@@ -81,6 +81,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
81
81
|
status: "rendering";
|
|
82
82
|
id: string;
|
|
83
83
|
created_at_millis: number;
|
|
84
|
+
updated_at_millis: number;
|
|
85
|
+
tsx_source: string;
|
|
86
|
+
theme_id: string | null;
|
|
84
87
|
to: {
|
|
85
88
|
user_id: string;
|
|
86
89
|
type: "user-primary-email";
|
|
@@ -92,9 +95,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
92
95
|
type: "custom-emails";
|
|
93
96
|
emails: string[];
|
|
94
97
|
};
|
|
95
|
-
updated_at_millis: number;
|
|
96
|
-
tsx_source: string;
|
|
97
|
-
theme_id: string | null;
|
|
98
98
|
variables: Record<string, {} | null>;
|
|
99
99
|
skip_deliverability_check: boolean;
|
|
100
100
|
scheduled_at_millis: number;
|
|
@@ -120,6 +120,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
120
120
|
status: "render-error";
|
|
121
121
|
id: string;
|
|
122
122
|
created_at_millis: number;
|
|
123
|
+
updated_at_millis: number;
|
|
124
|
+
tsx_source: string;
|
|
125
|
+
theme_id: string | null;
|
|
123
126
|
to: {
|
|
124
127
|
user_id: string;
|
|
125
128
|
type: "user-primary-email";
|
|
@@ -131,9 +134,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
131
134
|
type: "custom-emails";
|
|
132
135
|
emails: string[];
|
|
133
136
|
};
|
|
134
|
-
updated_at_millis: number;
|
|
135
|
-
tsx_source: string;
|
|
136
|
-
theme_id: string | null;
|
|
137
137
|
variables: Record<string, {} | null>;
|
|
138
138
|
skip_deliverability_check: boolean;
|
|
139
139
|
scheduled_at_millis: number;
|
|
@@ -164,6 +164,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
164
164
|
created_at_millis: number;
|
|
165
165
|
html: string | null;
|
|
166
166
|
text: string | null;
|
|
167
|
+
updated_at_millis: number;
|
|
168
|
+
tsx_source: string;
|
|
169
|
+
theme_id: string | null;
|
|
167
170
|
to: {
|
|
168
171
|
user_id: string;
|
|
169
172
|
type: "user-primary-email";
|
|
@@ -175,9 +178,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
175
178
|
type: "custom-emails";
|
|
176
179
|
emails: string[];
|
|
177
180
|
};
|
|
178
|
-
updated_at_millis: number;
|
|
179
|
-
tsx_source: string;
|
|
180
|
-
theme_id: string | null;
|
|
181
181
|
variables: Record<string, {} | null>;
|
|
182
182
|
skip_deliverability_check: boolean;
|
|
183
183
|
scheduled_at_millis: number;
|
|
@@ -210,6 +210,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
210
210
|
created_at_millis: number;
|
|
211
211
|
html: string | null;
|
|
212
212
|
text: string | null;
|
|
213
|
+
updated_at_millis: number;
|
|
214
|
+
tsx_source: string;
|
|
215
|
+
theme_id: string | null;
|
|
213
216
|
to: {
|
|
214
217
|
user_id: string;
|
|
215
218
|
type: "user-primary-email";
|
|
@@ -221,9 +224,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
221
224
|
type: "custom-emails";
|
|
222
225
|
emails: string[];
|
|
223
226
|
};
|
|
224
|
-
updated_at_millis: number;
|
|
225
|
-
tsx_source: string;
|
|
226
|
-
theme_id: string | null;
|
|
227
227
|
variables: Record<string, {} | null>;
|
|
228
228
|
skip_deliverability_check: boolean;
|
|
229
229
|
scheduled_at_millis: number;
|
|
@@ -256,6 +256,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
256
256
|
created_at_millis: number;
|
|
257
257
|
html: string | null;
|
|
258
258
|
text: string | null;
|
|
259
|
+
updated_at_millis: number;
|
|
260
|
+
tsx_source: string;
|
|
261
|
+
theme_id: string | null;
|
|
259
262
|
to: {
|
|
260
263
|
user_id: string;
|
|
261
264
|
type: "user-primary-email";
|
|
@@ -267,9 +270,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
267
270
|
type: "custom-emails";
|
|
268
271
|
emails: string[];
|
|
269
272
|
};
|
|
270
|
-
updated_at_millis: number;
|
|
271
|
-
tsx_source: string;
|
|
272
|
-
theme_id: string | null;
|
|
273
273
|
variables: Record<string, {} | null>;
|
|
274
274
|
skip_deliverability_check: boolean;
|
|
275
275
|
scheduled_at_millis: number;
|
|
@@ -303,6 +303,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
303
303
|
created_at_millis: number;
|
|
304
304
|
html: string | null;
|
|
305
305
|
text: string | null;
|
|
306
|
+
updated_at_millis: number;
|
|
307
|
+
tsx_source: string;
|
|
308
|
+
theme_id: string | null;
|
|
306
309
|
to: {
|
|
307
310
|
user_id: string;
|
|
308
311
|
type: "user-primary-email";
|
|
@@ -314,9 +317,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
314
317
|
type: "custom-emails";
|
|
315
318
|
emails: string[];
|
|
316
319
|
};
|
|
317
|
-
updated_at_millis: number;
|
|
318
|
-
tsx_source: string;
|
|
319
|
-
theme_id: string | null;
|
|
320
320
|
variables: Record<string, {} | null>;
|
|
321
321
|
skip_deliverability_check: boolean;
|
|
322
322
|
scheduled_at_millis: number;
|
|
@@ -358,6 +358,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
358
358
|
status: "skipped";
|
|
359
359
|
id: string;
|
|
360
360
|
created_at_millis: number;
|
|
361
|
+
updated_at_millis: number;
|
|
362
|
+
tsx_source: string;
|
|
363
|
+
theme_id: string | null;
|
|
361
364
|
to: {
|
|
362
365
|
user_id: string;
|
|
363
366
|
type: "user-primary-email";
|
|
@@ -369,9 +372,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
369
372
|
type: "custom-emails";
|
|
370
373
|
emails: string[];
|
|
371
374
|
};
|
|
372
|
-
updated_at_millis: number;
|
|
373
|
-
tsx_source: string;
|
|
374
|
-
theme_id: string | null;
|
|
375
375
|
variables: Record<string, {} | null>;
|
|
376
376
|
skip_deliverability_check: boolean;
|
|
377
377
|
scheduled_at_millis: number;
|
|
@@ -402,6 +402,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
402
402
|
created_at_millis: number;
|
|
403
403
|
html: string | null;
|
|
404
404
|
text: string | null;
|
|
405
|
+
updated_at_millis: number;
|
|
406
|
+
tsx_source: string;
|
|
407
|
+
theme_id: string | null;
|
|
405
408
|
to: {
|
|
406
409
|
user_id: string;
|
|
407
410
|
type: "user-primary-email";
|
|
@@ -413,9 +416,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
413
416
|
type: "custom-emails";
|
|
414
417
|
emails: string[];
|
|
415
418
|
};
|
|
416
|
-
updated_at_millis: number;
|
|
417
|
-
tsx_source: string;
|
|
418
|
-
theme_id: string | null;
|
|
419
419
|
variables: Record<string, {} | null>;
|
|
420
420
|
skip_deliverability_check: boolean;
|
|
421
421
|
scheduled_at_millis: number;
|
|
@@ -450,6 +450,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
450
450
|
created_at_millis: number;
|
|
451
451
|
html: string | null;
|
|
452
452
|
text: string | null;
|
|
453
|
+
updated_at_millis: number;
|
|
454
|
+
tsx_source: string;
|
|
455
|
+
theme_id: string | null;
|
|
453
456
|
to: {
|
|
454
457
|
user_id: string;
|
|
455
458
|
type: "user-primary-email";
|
|
@@ -461,9 +464,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
461
464
|
type: "custom-emails";
|
|
462
465
|
emails: string[];
|
|
463
466
|
};
|
|
464
|
-
updated_at_millis: number;
|
|
465
|
-
tsx_source: string;
|
|
466
|
-
theme_id: string | null;
|
|
467
467
|
variables: Record<string, {} | null>;
|
|
468
468
|
skip_deliverability_check: boolean;
|
|
469
469
|
scheduled_at_millis: number;
|
|
@@ -498,6 +498,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
498
498
|
created_at_millis: number;
|
|
499
499
|
html: string | null;
|
|
500
500
|
text: string | null;
|
|
501
|
+
updated_at_millis: number;
|
|
502
|
+
tsx_source: string;
|
|
503
|
+
theme_id: string | null;
|
|
501
504
|
to: {
|
|
502
505
|
user_id: string;
|
|
503
506
|
type: "user-primary-email";
|
|
@@ -509,9 +512,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
509
512
|
type: "custom-emails";
|
|
510
513
|
emails: string[];
|
|
511
514
|
};
|
|
512
|
-
updated_at_millis: number;
|
|
513
|
-
tsx_source: string;
|
|
514
|
-
theme_id: string | null;
|
|
515
515
|
variables: Record<string, {} | null>;
|
|
516
516
|
skip_deliverability_check: boolean;
|
|
517
517
|
scheduled_at_millis: number;
|
|
@@ -547,6 +547,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
547
547
|
created_at_millis: number;
|
|
548
548
|
html: string | null;
|
|
549
549
|
text: string | null;
|
|
550
|
+
updated_at_millis: number;
|
|
551
|
+
tsx_source: string;
|
|
552
|
+
theme_id: string | null;
|
|
550
553
|
to: {
|
|
551
554
|
user_id: string;
|
|
552
555
|
type: "user-primary-email";
|
|
@@ -558,9 +561,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
558
561
|
type: "custom-emails";
|
|
559
562
|
emails: string[];
|
|
560
563
|
};
|
|
561
|
-
updated_at_millis: number;
|
|
562
|
-
tsx_source: string;
|
|
563
|
-
theme_id: string | null;
|
|
564
564
|
variables: Record<string, {} | null>;
|
|
565
565
|
skip_deliverability_check: boolean;
|
|
566
566
|
scheduled_at_millis: number;
|
|
@@ -597,6 +597,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
597
597
|
created_at_millis: number;
|
|
598
598
|
html: string | null;
|
|
599
599
|
text: string | null;
|
|
600
|
+
updated_at_millis: number;
|
|
601
|
+
tsx_source: string;
|
|
602
|
+
theme_id: string | null;
|
|
600
603
|
to: {
|
|
601
604
|
user_id: string;
|
|
602
605
|
type: "user-primary-email";
|
|
@@ -608,9 +611,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
608
611
|
type: "custom-emails";
|
|
609
612
|
emails: string[];
|
|
610
613
|
};
|
|
611
|
-
updated_at_millis: number;
|
|
612
|
-
tsx_source: string;
|
|
613
|
-
theme_id: string | null;
|
|
614
614
|
variables: Record<string, {} | null>;
|
|
615
615
|
skip_deliverability_check: boolean;
|
|
616
616
|
scheduled_at_millis: number;
|
|
@@ -647,6 +647,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
647
647
|
created_at_millis: number;
|
|
648
648
|
html: string | null;
|
|
649
649
|
text: string | null;
|
|
650
|
+
updated_at_millis: number;
|
|
651
|
+
tsx_source: string;
|
|
652
|
+
theme_id: string | null;
|
|
650
653
|
to: {
|
|
651
654
|
user_id: string;
|
|
652
655
|
type: "user-primary-email";
|
|
@@ -658,9 +661,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
658
661
|
type: "custom-emails";
|
|
659
662
|
emails: string[];
|
|
660
663
|
};
|
|
661
|
-
updated_at_millis: number;
|
|
662
|
-
tsx_source: string;
|
|
663
|
-
theme_id: string | null;
|
|
664
664
|
variables: Record<string, {} | null>;
|
|
665
665
|
skip_deliverability_check: boolean;
|
|
666
666
|
scheduled_at_millis: number;
|
|
@@ -725,6 +725,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
725
725
|
status: "paused";
|
|
726
726
|
id: string;
|
|
727
727
|
created_at_millis: number;
|
|
728
|
+
updated_at_millis: number;
|
|
729
|
+
tsx_source: string;
|
|
730
|
+
theme_id: string | null;
|
|
728
731
|
to: {
|
|
729
732
|
user_id: string;
|
|
730
733
|
type: "user-primary-email";
|
|
@@ -736,9 +739,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
736
739
|
type: "custom-emails";
|
|
737
740
|
emails: string[];
|
|
738
741
|
};
|
|
739
|
-
updated_at_millis: number;
|
|
740
|
-
tsx_source: string;
|
|
741
|
-
theme_id: string | null;
|
|
742
742
|
variables: Record<string, {} | null>;
|
|
743
743
|
skip_deliverability_check: boolean;
|
|
744
744
|
scheduled_at_millis: number;
|
|
@@ -763,6 +763,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
763
763
|
status: "preparing";
|
|
764
764
|
id: string;
|
|
765
765
|
created_at_millis: number;
|
|
766
|
+
updated_at_millis: number;
|
|
767
|
+
tsx_source: string;
|
|
768
|
+
theme_id: string | null;
|
|
766
769
|
to: {
|
|
767
770
|
user_id: string;
|
|
768
771
|
type: "user-primary-email";
|
|
@@ -774,9 +777,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
774
777
|
type: "custom-emails";
|
|
775
778
|
emails: string[];
|
|
776
779
|
};
|
|
777
|
-
updated_at_millis: number;
|
|
778
|
-
tsx_source: string;
|
|
779
|
-
theme_id: string | null;
|
|
780
780
|
variables: Record<string, {} | null>;
|
|
781
781
|
skip_deliverability_check: boolean;
|
|
782
782
|
scheduled_at_millis: number;
|
|
@@ -801,6 +801,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
801
801
|
status: "rendering";
|
|
802
802
|
id: string;
|
|
803
803
|
created_at_millis: number;
|
|
804
|
+
updated_at_millis: number;
|
|
805
|
+
tsx_source: string;
|
|
806
|
+
theme_id: string | null;
|
|
804
807
|
to: {
|
|
805
808
|
user_id: string;
|
|
806
809
|
type: "user-primary-email";
|
|
@@ -812,9 +815,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
812
815
|
type: "custom-emails";
|
|
813
816
|
emails: string[];
|
|
814
817
|
};
|
|
815
|
-
updated_at_millis: number;
|
|
816
|
-
tsx_source: string;
|
|
817
|
-
theme_id: string | null;
|
|
818
818
|
variables: Record<string, {} | null>;
|
|
819
819
|
skip_deliverability_check: boolean;
|
|
820
820
|
scheduled_at_millis: number;
|
|
@@ -840,6 +840,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
840
840
|
status: "render-error";
|
|
841
841
|
id: string;
|
|
842
842
|
created_at_millis: number;
|
|
843
|
+
updated_at_millis: number;
|
|
844
|
+
tsx_source: string;
|
|
845
|
+
theme_id: string | null;
|
|
843
846
|
to: {
|
|
844
847
|
user_id: string;
|
|
845
848
|
type: "user-primary-email";
|
|
@@ -851,9 +854,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
851
854
|
type: "custom-emails";
|
|
852
855
|
emails: string[];
|
|
853
856
|
};
|
|
854
|
-
updated_at_millis: number;
|
|
855
|
-
tsx_source: string;
|
|
856
|
-
theme_id: string | null;
|
|
857
857
|
variables: Record<string, {} | null>;
|
|
858
858
|
skip_deliverability_check: boolean;
|
|
859
859
|
scheduled_at_millis: number;
|
|
@@ -884,6 +884,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
884
884
|
created_at_millis: number;
|
|
885
885
|
html: string | null;
|
|
886
886
|
text: string | null;
|
|
887
|
+
updated_at_millis: number;
|
|
888
|
+
tsx_source: string;
|
|
889
|
+
theme_id: string | null;
|
|
887
890
|
to: {
|
|
888
891
|
user_id: string;
|
|
889
892
|
type: "user-primary-email";
|
|
@@ -895,9 +898,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
895
898
|
type: "custom-emails";
|
|
896
899
|
emails: string[];
|
|
897
900
|
};
|
|
898
|
-
updated_at_millis: number;
|
|
899
|
-
tsx_source: string;
|
|
900
|
-
theme_id: string | null;
|
|
901
901
|
variables: Record<string, {} | null>;
|
|
902
902
|
skip_deliverability_check: boolean;
|
|
903
903
|
scheduled_at_millis: number;
|
|
@@ -930,6 +930,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
930
930
|
created_at_millis: number;
|
|
931
931
|
html: string | null;
|
|
932
932
|
text: string | null;
|
|
933
|
+
updated_at_millis: number;
|
|
934
|
+
tsx_source: string;
|
|
935
|
+
theme_id: string | null;
|
|
933
936
|
to: {
|
|
934
937
|
user_id: string;
|
|
935
938
|
type: "user-primary-email";
|
|
@@ -941,9 +944,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
941
944
|
type: "custom-emails";
|
|
942
945
|
emails: string[];
|
|
943
946
|
};
|
|
944
|
-
updated_at_millis: number;
|
|
945
|
-
tsx_source: string;
|
|
946
|
-
theme_id: string | null;
|
|
947
947
|
variables: Record<string, {} | null>;
|
|
948
948
|
skip_deliverability_check: boolean;
|
|
949
949
|
scheduled_at_millis: number;
|
|
@@ -976,6 +976,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
976
976
|
created_at_millis: number;
|
|
977
977
|
html: string | null;
|
|
978
978
|
text: string | null;
|
|
979
|
+
updated_at_millis: number;
|
|
980
|
+
tsx_source: string;
|
|
981
|
+
theme_id: string | null;
|
|
979
982
|
to: {
|
|
980
983
|
user_id: string;
|
|
981
984
|
type: "user-primary-email";
|
|
@@ -987,9 +990,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
987
990
|
type: "custom-emails";
|
|
988
991
|
emails: string[];
|
|
989
992
|
};
|
|
990
|
-
updated_at_millis: number;
|
|
991
|
-
tsx_source: string;
|
|
992
|
-
theme_id: string | null;
|
|
993
993
|
variables: Record<string, {} | null>;
|
|
994
994
|
skip_deliverability_check: boolean;
|
|
995
995
|
scheduled_at_millis: number;
|
|
@@ -1023,6 +1023,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1023
1023
|
created_at_millis: number;
|
|
1024
1024
|
html: string | null;
|
|
1025
1025
|
text: string | null;
|
|
1026
|
+
updated_at_millis: number;
|
|
1027
|
+
tsx_source: string;
|
|
1028
|
+
theme_id: string | null;
|
|
1026
1029
|
to: {
|
|
1027
1030
|
user_id: string;
|
|
1028
1031
|
type: "user-primary-email";
|
|
@@ -1034,9 +1037,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1034
1037
|
type: "custom-emails";
|
|
1035
1038
|
emails: string[];
|
|
1036
1039
|
};
|
|
1037
|
-
updated_at_millis: number;
|
|
1038
|
-
tsx_source: string;
|
|
1039
|
-
theme_id: string | null;
|
|
1040
1040
|
variables: Record<string, {} | null>;
|
|
1041
1041
|
skip_deliverability_check: boolean;
|
|
1042
1042
|
scheduled_at_millis: number;
|
|
@@ -1078,6 +1078,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1078
1078
|
status: "skipped";
|
|
1079
1079
|
id: string;
|
|
1080
1080
|
created_at_millis: number;
|
|
1081
|
+
updated_at_millis: number;
|
|
1082
|
+
tsx_source: string;
|
|
1083
|
+
theme_id: string | null;
|
|
1081
1084
|
to: {
|
|
1082
1085
|
user_id: string;
|
|
1083
1086
|
type: "user-primary-email";
|
|
@@ -1089,9 +1092,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1089
1092
|
type: "custom-emails";
|
|
1090
1093
|
emails: string[];
|
|
1091
1094
|
};
|
|
1092
|
-
updated_at_millis: number;
|
|
1093
|
-
tsx_source: string;
|
|
1094
|
-
theme_id: string | null;
|
|
1095
1095
|
variables: Record<string, {} | null>;
|
|
1096
1096
|
skip_deliverability_check: boolean;
|
|
1097
1097
|
scheduled_at_millis: number;
|
|
@@ -1122,6 +1122,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1122
1122
|
created_at_millis: number;
|
|
1123
1123
|
html: string | null;
|
|
1124
1124
|
text: string | null;
|
|
1125
|
+
updated_at_millis: number;
|
|
1126
|
+
tsx_source: string;
|
|
1127
|
+
theme_id: string | null;
|
|
1125
1128
|
to: {
|
|
1126
1129
|
user_id: string;
|
|
1127
1130
|
type: "user-primary-email";
|
|
@@ -1133,9 +1136,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1133
1136
|
type: "custom-emails";
|
|
1134
1137
|
emails: string[];
|
|
1135
1138
|
};
|
|
1136
|
-
updated_at_millis: number;
|
|
1137
|
-
tsx_source: string;
|
|
1138
|
-
theme_id: string | null;
|
|
1139
1139
|
variables: Record<string, {} | null>;
|
|
1140
1140
|
skip_deliverability_check: boolean;
|
|
1141
1141
|
scheduled_at_millis: number;
|
|
@@ -1170,6 +1170,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1170
1170
|
created_at_millis: number;
|
|
1171
1171
|
html: string | null;
|
|
1172
1172
|
text: string | null;
|
|
1173
|
+
updated_at_millis: number;
|
|
1174
|
+
tsx_source: string;
|
|
1175
|
+
theme_id: string | null;
|
|
1173
1176
|
to: {
|
|
1174
1177
|
user_id: string;
|
|
1175
1178
|
type: "user-primary-email";
|
|
@@ -1181,9 +1184,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1181
1184
|
type: "custom-emails";
|
|
1182
1185
|
emails: string[];
|
|
1183
1186
|
};
|
|
1184
|
-
updated_at_millis: number;
|
|
1185
|
-
tsx_source: string;
|
|
1186
|
-
theme_id: string | null;
|
|
1187
1187
|
variables: Record<string, {} | null>;
|
|
1188
1188
|
skip_deliverability_check: boolean;
|
|
1189
1189
|
scheduled_at_millis: number;
|
|
@@ -1218,6 +1218,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1218
1218
|
created_at_millis: number;
|
|
1219
1219
|
html: string | null;
|
|
1220
1220
|
text: string | null;
|
|
1221
|
+
updated_at_millis: number;
|
|
1222
|
+
tsx_source: string;
|
|
1223
|
+
theme_id: string | null;
|
|
1221
1224
|
to: {
|
|
1222
1225
|
user_id: string;
|
|
1223
1226
|
type: "user-primary-email";
|
|
@@ -1229,9 +1232,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1229
1232
|
type: "custom-emails";
|
|
1230
1233
|
emails: string[];
|
|
1231
1234
|
};
|
|
1232
|
-
updated_at_millis: number;
|
|
1233
|
-
tsx_source: string;
|
|
1234
|
-
theme_id: string | null;
|
|
1235
1235
|
variables: Record<string, {} | null>;
|
|
1236
1236
|
skip_deliverability_check: boolean;
|
|
1237
1237
|
scheduled_at_millis: number;
|
|
@@ -1267,6 +1267,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1267
1267
|
created_at_millis: number;
|
|
1268
1268
|
html: string | null;
|
|
1269
1269
|
text: string | null;
|
|
1270
|
+
updated_at_millis: number;
|
|
1271
|
+
tsx_source: string;
|
|
1272
|
+
theme_id: string | null;
|
|
1270
1273
|
to: {
|
|
1271
1274
|
user_id: string;
|
|
1272
1275
|
type: "user-primary-email";
|
|
@@ -1278,9 +1281,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1278
1281
|
type: "custom-emails";
|
|
1279
1282
|
emails: string[];
|
|
1280
1283
|
};
|
|
1281
|
-
updated_at_millis: number;
|
|
1282
|
-
tsx_source: string;
|
|
1283
|
-
theme_id: string | null;
|
|
1284
1284
|
variables: Record<string, {} | null>;
|
|
1285
1285
|
skip_deliverability_check: boolean;
|
|
1286
1286
|
scheduled_at_millis: number;
|
|
@@ -1317,6 +1317,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1317
1317
|
created_at_millis: number;
|
|
1318
1318
|
html: string | null;
|
|
1319
1319
|
text: string | null;
|
|
1320
|
+
updated_at_millis: number;
|
|
1321
|
+
tsx_source: string;
|
|
1322
|
+
theme_id: string | null;
|
|
1320
1323
|
to: {
|
|
1321
1324
|
user_id: string;
|
|
1322
1325
|
type: "user-primary-email";
|
|
@@ -1328,9 +1331,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1328
1331
|
type: "custom-emails";
|
|
1329
1332
|
emails: string[];
|
|
1330
1333
|
};
|
|
1331
|
-
updated_at_millis: number;
|
|
1332
|
-
tsx_source: string;
|
|
1333
|
-
theme_id: string | null;
|
|
1334
1334
|
variables: Record<string, {} | null>;
|
|
1335
1335
|
skip_deliverability_check: boolean;
|
|
1336
1336
|
scheduled_at_millis: number;
|
|
@@ -1367,6 +1367,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1367
1367
|
created_at_millis: number;
|
|
1368
1368
|
html: string | null;
|
|
1369
1369
|
text: string | null;
|
|
1370
|
+
updated_at_millis: number;
|
|
1371
|
+
tsx_source: string;
|
|
1372
|
+
theme_id: string | null;
|
|
1370
1373
|
to: {
|
|
1371
1374
|
user_id: string;
|
|
1372
1375
|
type: "user-primary-email";
|
|
@@ -1378,9 +1381,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1378
1381
|
type: "custom-emails";
|
|
1379
1382
|
emails: string[];
|
|
1380
1383
|
};
|
|
1381
|
-
updated_at_millis: number;
|
|
1382
|
-
tsx_source: string;
|
|
1383
|
-
theme_id: string | null;
|
|
1384
1384
|
variables: Record<string, {} | null>;
|
|
1385
1385
|
skip_deliverability_check: boolean;
|
|
1386
1386
|
scheduled_at_millis: number;
|
|
@@ -1461,4 +1461,4 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1461
1461
|
type EmailOutboxCrud = CrudTypeOf<typeof emailOutboxCrud>;
|
|
1462
1462
|
//#endregion
|
|
1463
1463
|
export { emailOutboxUpdateSchema as i, emailOutboxCrud as n, emailOutboxReadSchema as r, EmailOutboxCrud as t };
|
|
1464
|
-
//# sourceMappingURL=email-outbox-
|
|
1464
|
+
//# sourceMappingURL=email-outbox-B1wmVPRG.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-outbox-
|
|
1
|
+
{"version":3,"file":"email-outbox-B1wmVPRG.d.ts","names":[],"sources":["../src/interface/crud/email-outbox.ts"],"mappings":";;;cAiNa,qBAAA,gBAAqB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBrB,uBAAA,gBAAuB,YAAA;;;;;;;;;;;;;;aASxB,MAAA;;;;;;;;;;;;;;;cAEC,eAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBD,eAAA,GAAkB,UAAU,QAAQ,eAAA"}
|
|
@@ -4,7 +4,7 @@ import { typedEntries } from "../../../utils/objects.js";
|
|
|
4
4
|
import { deindent } from "../../../utils/strings.js";
|
|
5
5
|
import { remindersPrompt } from "../reminders.js";
|
|
6
6
|
//#region package.json
|
|
7
|
-
var version = "1.0.
|
|
7
|
+
var version = "1.0.64";
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/taggedTemplateLiteral.js
|
|
10
10
|
function _taggedTemplateLiteral(e, t) {
|
|
@@ -47,13 +47,25 @@ const deploymentsSkillSection = deindent`
|
|
|
47
47
|
|
|
48
48
|
Note also that the config file usually sits inside \`rootDirectory\`, which means it is uploaded with your source and compiled by the remote build like any other file. If the deployed app doesn't depend on the Hexclave SDK, add \`hexclave.config.ts\` to \`.vercelignore\`: the CLI reads the config from disk before packaging, so the build itself never needs it, and excluding it keeps an SDK import in the config from breaking a build that is otherwise unrelated to Hexclave.
|
|
49
49
|
|
|
50
|
-
##
|
|
50
|
+
## Agent workflow (do this — do not drive the dashboard UI)
|
|
51
|
+
|
|
52
|
+
AI agents must deploy and manage Deployments through the CLI and \`hexclave.config.ts\`, not by clicking around \`app.hexclave.com\` in a browser. The dashboard is a human fallback only.
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
Preferred sequence:
|
|
53
55
|
|
|
54
|
-
|
|
56
|
+
1. **Read this skill** (\`https://skill.hexclave.com/deployments\` or the Deployments addendum you already have) and ensure \`deployments-alpha\` is enabled in config as above.
|
|
57
|
+
2. **Authenticate for cloud deploys** (pick the first that works):
|
|
58
|
+
- If \`HEXCLAVE_SECRET_SERVER_KEY\` (or \`STACK_SECRET_SERVER_KEY\`) **and** \`HEXCLAVE_PROJECT_ID\` (or \`STACK_PROJECT_ID\`) are already in the environment, use them. No login step.
|
|
59
|
+
- Else if \`npx @hexclave/cli@latest whoami\` succeeds, you already have a CLI login session — proceed.
|
|
60
|
+
- Else ask the user to run \`npx @hexclave/cli@latest login\` (or run it for them). That command opens a **one-time browser login page for the human**. Do **not** use the browser yourself to open the Deployments dashboard, click Deploy, or configure the service in the UI. After login returns successfully, continue immediately with the CLI.
|
|
61
|
+
3. **Write/update \`hexclave.config.ts\`**, then deploy with \`npx @hexclave/cli@latest deploy <service> ...\` (see below). Pass every \`type: "secret"\` env via \`--secret\`.
|
|
62
|
+
4. **Poll status/logs with \`hexclave exec\`** (snippets below). Do not tell the user to "watch the dashboard" as the primary path.
|
|
55
63
|
|
|
56
|
-
|
|
64
|
+
\`deploy\` auth: \`HEXCLAVE_SECRET_SERVER_KEY\` if set, otherwise the \`hexclave login\` session. \`exec --cloud-project-id\` needs the login session (not the secret server key alone).
|
|
65
|
+
|
|
66
|
+
## Domains
|
|
67
|
+
|
|
68
|
+
Every Vercel service gets a Vercel domain autoprovisioned. Prefer the CLI to attach a custom domain:
|
|
57
69
|
|
|
58
70
|
\`\`\`sh title="Terminal"
|
|
59
71
|
npx @hexclave/cli@latest exec --cloud-project-id <project-id> \\
|
|
@@ -62,6 +74,8 @@ const deploymentsSkillSection = deindent`
|
|
|
62
74
|
return p.getDeploymentServiceDomain('api', 'app.example.com');"
|
|
63
75
|
\`\`\`
|
|
64
76
|
|
|
77
|
+
Humans can also add domains in the dashboard at \`https://app.hexclave.com/projects/<project-id>/deployments\` (service → Domains). Agents should not do that in a browser.
|
|
78
|
+
|
|
65
79
|
## Deploying
|
|
66
80
|
|
|
67
81
|
Before deploying, run the service's \`installCommand\` and \`buildCommand\` locally and confirm they succeed. The remote build runs the same commands, but \`deploy\` exits before the build finishes, so a broken build does not fail the command — it surfaces only when you check the run afterwards.
|
|
@@ -72,7 +86,7 @@ const deploymentsSkillSection = deindent`
|
|
|
72
86
|
npx @hexclave/cli@latest deploy web --secret db_connection="$DATABASE_URL"
|
|
73
87
|
\`\`\`
|
|
74
88
|
|
|
75
|
-
The CLI packages the service's root directory (respecting \`.gitignore\` and \`.vercelignore\`, and always excluding \`node_modules\` and \`.git\`), uploads it, and starts a remote build. Without a config file, the configuration stored in Hexclave governs the deploy, with the root directory resolved against the current directory. It always deploys to production, never prompts, and exits as soon as the build is queued, printing the run id.
|
|
89
|
+
The CLI packages the service's root directory (respecting \`.gitignore\` and \`.vercelignore\`, and always excluding \`node_modules\` and \`.git\`), uploads it, and starts a remote build. Without a config file, the configuration stored in Hexclave governs the deploy, with the root directory resolved against the current directory. It always deploys to production, never prompts, and exits as soon as the build is queued, printing the run id. Check that run with \`exec\` (next section), not by opening the dashboard.
|
|
76
90
|
|
|
77
91
|
Every secret defined in the service's \`env\` must be passed via \`--secret\` on every deploy — a missing (or misspelled) one fails the deploy before anything is uploaded.
|
|
78
92
|
|
|
@@ -114,13 +128,15 @@ const deploymentsSkillSection = deindent`
|
|
|
114
128
|
|
|
115
129
|
## Deleting a service
|
|
116
130
|
|
|
117
|
-
|
|
131
|
+
Prefer the CLI:
|
|
118
132
|
|
|
119
133
|
\`\`\`sh title="Terminal"
|
|
120
134
|
npx @hexclave/cli@latest exec --cloud-project-id <project-id> \\
|
|
121
135
|
"const p = await hexclaveServerApp.getProject(); \\
|
|
122
136
|
await p.deleteDeploymentService('api');"
|
|
123
137
|
\`\`\`
|
|
138
|
+
|
|
139
|
+
Humans can also delete a service in the dashboard; agents should not.
|
|
124
140
|
`;
|
|
125
141
|
//#endregion
|
|
126
142
|
export { deploymentsSkillSection };
|