vibes-diy 14.3.338 → 14.3.339
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/cli/cmd-evento.d.ts
CHANGED
|
@@ -592,6 +592,15 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
592
592
|
thresholds: number[];
|
|
593
593
|
updatedAt: string;
|
|
594
594
|
claimId?: string | undefined;
|
|
595
|
+
} | {
|
|
596
|
+
type: "planAck";
|
|
597
|
+
entries: {
|
|
598
|
+
key: string;
|
|
599
|
+
state: "pending" | "sent";
|
|
600
|
+
at: string;
|
|
601
|
+
claimId: string;
|
|
602
|
+
}[];
|
|
603
|
+
updatedAt: string;
|
|
595
604
|
} | {
|
|
596
605
|
type: "defaultHandle";
|
|
597
606
|
ownerHandle: string;
|
|
@@ -209467,8 +209467,20 @@ function isUserSettingCreditMilestones(obj) {
|
|
|
209467
209467
|
return userSettingCreditMilestones.allows(obj);
|
|
209468
209468
|
}
|
|
209469
209469
|
__name(isUserSettingCreditMilestones, "isUserSettingCreditMilestones");
|
|
209470
|
+
var userSettingPlanAck = lazyType(
|
|
209471
|
+
() => type({
|
|
209472
|
+
type: "'planAck'",
|
|
209473
|
+
entries: type({
|
|
209474
|
+
key: "string",
|
|
209475
|
+
state: "'pending' | 'sent'",
|
|
209476
|
+
at: "string",
|
|
209477
|
+
claimId: "string"
|
|
209478
|
+
}).array(),
|
|
209479
|
+
updatedAt: "string"
|
|
209480
|
+
})
|
|
209481
|
+
);
|
|
209470
209482
|
var userSettingItem = lazyType(
|
|
209471
|
-
() => userSettingShareing.or(userSettingModelDefaults).or(userSettingDefaultHandle).or(userSettingLegacyDefaultHandle).or(userSettingProfile).or(userSettingNotifications).or(userSettingEgressStatus).or(userSettingContactEmail).or(userSettingGeoCountry).or(userSettingRetentionDrip).or(userSettingOnboarding).or(userSettingKyc).or(userSettingMetaClickId).or(userSettingLastVisit).or(userSettingGoldDripPosted).or(userSettingCapiLeadCredited).or(userSettingGuestAppOpeners).or(userSettingGroupPayer).or(userSettingGroupSponsor).or(userSettingGroupChats).or(userSettingGroupRoster).or(userSettingTermsAck).or(userSettingAppHistoryHidden).or(userSettingCreditMilestones)
|
|
209483
|
+
() => userSettingShareing.or(userSettingModelDefaults).or(userSettingDefaultHandle).or(userSettingLegacyDefaultHandle).or(userSettingProfile).or(userSettingNotifications).or(userSettingEgressStatus).or(userSettingContactEmail).or(userSettingGeoCountry).or(userSettingRetentionDrip).or(userSettingOnboarding).or(userSettingKyc).or(userSettingMetaClickId).or(userSettingLastVisit).or(userSettingGoldDripPosted).or(userSettingCapiLeadCredited).or(userSettingGuestAppOpeners).or(userSettingGroupPayer).or(userSettingGroupSponsor).or(userSettingGroupChats).or(userSettingGroupRoster).or(userSettingTermsAck).or(userSettingAppHistoryHidden).or(userSettingCreditMilestones).or(userSettingPlanAck)
|
|
209472
209484
|
);
|
|
209473
209485
|
var reqEnsureUserSettings = lazyType(
|
|
209474
209486
|
() => type({
|
|
@@ -260625,9 +260637,21 @@ function trackChargeApplied(result) {
|
|
|
260625
260637
|
}
|
|
260626
260638
|
__name(trackChargeApplied, "trackChargeApplied");
|
|
260627
260639
|
function abandonReturn(successUrl, kind) {
|
|
260628
|
-
|
|
260640
|
+
const renewal = subscribeRenewalDisclosure(kind);
|
|
260641
|
+
return {
|
|
260642
|
+
checkout_session_params: {
|
|
260643
|
+
cancel_url: billingCancelUrl(successUrl, kind),
|
|
260644
|
+
...renewal !== void 0 ? { custom_text: { submit: { message: renewal } } } : {}
|
|
260645
|
+
}
|
|
260646
|
+
};
|
|
260629
260647
|
}
|
|
260630
260648
|
__name(abandonReturn, "abandonReturn");
|
|
260649
|
+
function subscribeRenewalDisclosure(kind) {
|
|
260650
|
+
if (kind === "top-up") return void 0;
|
|
260651
|
+
const [name, usd2] = kind === "subscribe-pro" ? ["Vibes Pro", PRO_PRICE_USD] : ["Vibes Plus", PLUS_PRICE_USD];
|
|
260652
|
+
return `${name} renews automatically every month at $${usd2} (plus any tax) until you cancel. Cancel anytime online in Settings \u203A Billing on vibes.diy (Manage or cancel membership), and your plan stays active through the end of the month you paid for.`;
|
|
260653
|
+
}
|
|
260654
|
+
__name(subscribeRenewalDisclosure, "subscribeRenewalDisclosure");
|
|
260631
260655
|
function isAllowedSuccessUrl(raw) {
|
|
260632
260656
|
const r2 = exception2Result(() => {
|
|
260633
260657
|
const uri = URI.from(raw);
|
|
@@ -396286,7 +396310,8 @@ var SERVER_ONLY_SETTINGS = /* @__PURE__ */ new Set([
|
|
|
396286
396310
|
"groupRoster",
|
|
396287
396311
|
"termsAck",
|
|
396288
396312
|
"appHistoryHidden",
|
|
396289
|
-
"creditMilestones"
|
|
396313
|
+
"creditMilestones",
|
|
396314
|
+
"planAck"
|
|
396290
396315
|
]);
|
|
396291
396316
|
function isWireVisible(t3) {
|
|
396292
396317
|
return !SERVER_ONLY_SETTINGS.has(t3);
|
|
@@ -11874,7 +11874,7 @@ function isResRetentionResetClaim(obj) {
|
|
|
11874
11874
|
function isResTermsAck(obj) {
|
|
11875
11875
|
return resTermsAck.allows(obj);
|
|
11876
11876
|
}
|
|
11877
|
-
var sharingGrantItem, userSettingShareing, userSettingModelDefaults, INSTANT_REPAIR_MODEL_NAMES, PLACEHOLDER_MODEL_ID, MODEL_DEFAULTS_SLOTS, userSettingDefaultHandle, userSettingProfile, notificationVibeTypeOverride, userSettingNotifications, userSettingEgressStatus, userSettingContactEmail, userSettingOnboarding, userSettingLegacyDefaultHandle, userSettingGeoCountry, userSettingRetentionDrip, userSettingKyc, userSettingMetaClickId, userSettingLastVisit, userSettingGoldDripPosted, userSettingCapiLeadCredited, userSettingGuestAppOpeners, userSettingGroupPayer, userSettingGroupSponsor, userSettingGroupChats, userSettingGroupRoster, userSettingTermsAck, userSettingAppHistoryHidden, userSettingCreditMilestones, userSettingItem, reqEnsureUserSettings, resEnsureUserSettings, reqSetEgressStatus, resSetEgressStatus, reqEnsureHandleAvatar, resEnsureHandleAvatar, reqEnsureAppSettingsBase, reqEnsureAppSettingsAcl, reqPublicAccess, reqRequest, reqEnsureAppSettingsTitle, reqEnsureAppSettingsSkills, reqEnsureAppSettingsTheme, reqEnsureAppSettingsVariety, reqEnsureAppSettingsColorTheme, reqEnsureAppSettingsStyle, reqEnsureAppSettingsLookPackage, reqEnsureAppSettingsDraftStyle, reqEnsureAppSettingsStylePublish, reqEnsureAppSettingsIconDescription, reqEnsureAppSettingsIconRegen, reqEnsureAppSettingsRuntime, reqEnsureAppSettingsCodegen, reqEnsureAppSettingsImg, reqEnsureAppSettingsEnv, reqEnsureAppSettingsSecretSet, reqEnsureAppSettingsSecretRemove, reqEnsureAppSettingsDbAcl, reqEnsureAppSettingsCachedSuggestion, reqEnsureAppSettingsCachedSuggestionBless, reqEnsureAppSettingsRecommendedAdd, reqEnsureAppSettingsRecommendedRemove, reqEnsureAppSettingsRecommendedMask, reqEnsureAppSettingsDbAclRemove, reqEnsureAppSettingsPrivacySensitive, reqEnsureAppSettingsAnonWrite, reqEnsureAppSettingsEditorWritesOnly, reqEnsureAppSettingsAutoEnhance, reqEnsureAppSettingsAppNotify, reqEnsureAppSettingsScheduledRuns, reqEnsureAppSettingsRemixAllowed, reqEnsureAppSettingsAppNature, reqEnsureAppSettingsPosture, AppSettings, dbEnvelopeRow, appEnvelopeReadout, resEnsureAppSettings, reqListApplicationChats, resListApplicationChatsItem, resListApplicationChats, reqListCodegenChats, resListCodegenChatsItem, resListCodegenChats, evtBackendArm, evtBackendOnChange, reqRetentionPreview, resRetentionPreview, reqRetentionResetClaim, resRetentionResetClaim, reqTermsAck, resTermsAck;
|
|
11877
|
+
var sharingGrantItem, userSettingShareing, userSettingModelDefaults, INSTANT_REPAIR_MODEL_NAMES, PLACEHOLDER_MODEL_ID, MODEL_DEFAULTS_SLOTS, userSettingDefaultHandle, userSettingProfile, notificationVibeTypeOverride, userSettingNotifications, userSettingEgressStatus, userSettingContactEmail, userSettingOnboarding, userSettingLegacyDefaultHandle, userSettingGeoCountry, userSettingRetentionDrip, userSettingKyc, userSettingMetaClickId, userSettingLastVisit, userSettingGoldDripPosted, userSettingCapiLeadCredited, userSettingGuestAppOpeners, userSettingGroupPayer, userSettingGroupSponsor, userSettingGroupChats, userSettingGroupRoster, userSettingTermsAck, userSettingAppHistoryHidden, userSettingCreditMilestones, userSettingPlanAck, userSettingItem, reqEnsureUserSettings, resEnsureUserSettings, reqSetEgressStatus, resSetEgressStatus, reqEnsureHandleAvatar, resEnsureHandleAvatar, reqEnsureAppSettingsBase, reqEnsureAppSettingsAcl, reqPublicAccess, reqRequest, reqEnsureAppSettingsTitle, reqEnsureAppSettingsSkills, reqEnsureAppSettingsTheme, reqEnsureAppSettingsVariety, reqEnsureAppSettingsColorTheme, reqEnsureAppSettingsStyle, reqEnsureAppSettingsLookPackage, reqEnsureAppSettingsDraftStyle, reqEnsureAppSettingsStylePublish, reqEnsureAppSettingsIconDescription, reqEnsureAppSettingsIconRegen, reqEnsureAppSettingsRuntime, reqEnsureAppSettingsCodegen, reqEnsureAppSettingsImg, reqEnsureAppSettingsEnv, reqEnsureAppSettingsSecretSet, reqEnsureAppSettingsSecretRemove, reqEnsureAppSettingsDbAcl, reqEnsureAppSettingsCachedSuggestion, reqEnsureAppSettingsCachedSuggestionBless, reqEnsureAppSettingsRecommendedAdd, reqEnsureAppSettingsRecommendedRemove, reqEnsureAppSettingsRecommendedMask, reqEnsureAppSettingsDbAclRemove, reqEnsureAppSettingsPrivacySensitive, reqEnsureAppSettingsAnonWrite, reqEnsureAppSettingsEditorWritesOnly, reqEnsureAppSettingsAutoEnhance, reqEnsureAppSettingsAppNotify, reqEnsureAppSettingsScheduledRuns, reqEnsureAppSettingsRemixAllowed, reqEnsureAppSettingsAppNature, reqEnsureAppSettingsPosture, AppSettings, dbEnvelopeRow, appEnvelopeReadout, resEnsureAppSettings, reqListApplicationChats, resListApplicationChatsItem, resListApplicationChats, reqListCodegenChats, resListCodegenChatsItem, resListCodegenChats, evtBackendArm, evtBackendOnChange, reqRetentionPreview, resRetentionPreview, reqRetentionResetClaim, resRetentionResetClaim, reqTermsAck, resTermsAck;
|
|
11878
11878
|
var init_settings = __esm({
|
|
11879
11879
|
"../vibes.diy/api/types/settings.ts"() {
|
|
11880
11880
|
"use strict";
|
|
@@ -12331,8 +12331,20 @@ var init_settings = __esm({
|
|
|
12331
12331
|
})
|
|
12332
12332
|
);
|
|
12333
12333
|
__name(isUserSettingCreditMilestones, "isUserSettingCreditMilestones");
|
|
12334
|
+
userSettingPlanAck = lazyType(
|
|
12335
|
+
() => type42({
|
|
12336
|
+
type: "'planAck'",
|
|
12337
|
+
entries: type42({
|
|
12338
|
+
key: "string",
|
|
12339
|
+
state: "'pending' | 'sent'",
|
|
12340
|
+
at: "string",
|
|
12341
|
+
claimId: "string"
|
|
12342
|
+
}).array(),
|
|
12343
|
+
updatedAt: "string"
|
|
12344
|
+
})
|
|
12345
|
+
);
|
|
12334
12346
|
userSettingItem = lazyType(
|
|
12335
|
-
() => userSettingShareing.or(userSettingModelDefaults).or(userSettingDefaultHandle).or(userSettingLegacyDefaultHandle).or(userSettingProfile).or(userSettingNotifications).or(userSettingEgressStatus).or(userSettingContactEmail).or(userSettingGeoCountry).or(userSettingRetentionDrip).or(userSettingOnboarding).or(userSettingKyc).or(userSettingMetaClickId).or(userSettingLastVisit).or(userSettingGoldDripPosted).or(userSettingCapiLeadCredited).or(userSettingGuestAppOpeners).or(userSettingGroupPayer).or(userSettingGroupSponsor).or(userSettingGroupChats).or(userSettingGroupRoster).or(userSettingTermsAck).or(userSettingAppHistoryHidden).or(userSettingCreditMilestones)
|
|
12347
|
+
() => userSettingShareing.or(userSettingModelDefaults).or(userSettingDefaultHandle).or(userSettingLegacyDefaultHandle).or(userSettingProfile).or(userSettingNotifications).or(userSettingEgressStatus).or(userSettingContactEmail).or(userSettingGeoCountry).or(userSettingRetentionDrip).or(userSettingOnboarding).or(userSettingKyc).or(userSettingMetaClickId).or(userSettingLastVisit).or(userSettingGoldDripPosted).or(userSettingCapiLeadCredited).or(userSettingGuestAppOpeners).or(userSettingGroupPayer).or(userSettingGroupSponsor).or(userSettingGroupChats).or(userSettingGroupRoster).or(userSettingTermsAck).or(userSettingAppHistoryHidden).or(userSettingCreditMilestones).or(userSettingPlanAck)
|
|
12336
12348
|
);
|
|
12337
12349
|
reqEnsureUserSettings = lazyType(
|
|
12338
12350
|
() => type42({
|
|
@@ -26734,6 +26746,7 @@ var init_version_timeline = __esm({
|
|
|
26734
26746
|
var POUF_ENTRY_EXPORTS, POUF_TAUGHT_NAMES;
|
|
26735
26747
|
var init_exports = __esm({
|
|
26736
26748
|
"../vibes.diy/pouf/exports.ts"() {
|
|
26749
|
+
"use strict";
|
|
26737
26750
|
POUF_ENTRY_EXPORTS = {
|
|
26738
26751
|
index: [
|
|
26739
26752
|
"AlertBell",
|
|
@@ -29703,7 +29716,18 @@ function trackChargeApplied(result) {
|
|
|
29703
29716
|
return result === void 0 || result === null || result.duplicate !== true;
|
|
29704
29717
|
}
|
|
29705
29718
|
function abandonReturn(successUrl, kind) {
|
|
29706
|
-
|
|
29719
|
+
const renewal = subscribeRenewalDisclosure(kind);
|
|
29720
|
+
return {
|
|
29721
|
+
checkout_session_params: {
|
|
29722
|
+
cancel_url: billingCancelUrl(successUrl, kind),
|
|
29723
|
+
...renewal !== void 0 ? { custom_text: { submit: { message: renewal } } } : {}
|
|
29724
|
+
}
|
|
29725
|
+
};
|
|
29726
|
+
}
|
|
29727
|
+
function subscribeRenewalDisclosure(kind) {
|
|
29728
|
+
if (kind === "top-up") return void 0;
|
|
29729
|
+
const [name, usd2] = kind === "subscribe-pro" ? ["Vibes Pro", PRO_PRICE_USD] : ["Vibes Plus", PLUS_PRICE_USD];
|
|
29730
|
+
return `${name} renews automatically every month at $${usd2} (plus any tax) until you cancel. Cancel anytime online in Settings \u203A Billing on vibes.diy (Manage or cancel membership), and your plan stays active through the end of the month you paid for.`;
|
|
29707
29731
|
}
|
|
29708
29732
|
function isAllowedSuccessUrl(raw) {
|
|
29709
29733
|
const r = exception2Result15(() => {
|
|
@@ -30364,6 +30388,7 @@ var init_billing = __esm({
|
|
|
30364
30388
|
__name(costCentsFromUsage, "costCentsFromUsage");
|
|
30365
30389
|
__name(trackChargeApplied, "trackChargeApplied");
|
|
30366
30390
|
__name(abandonReturn, "abandonReturn");
|
|
30391
|
+
__name(subscribeRenewalDisclosure, "subscribeRenewalDisclosure");
|
|
30367
30392
|
__name(isAllowedSuccessUrl, "isAllowedSuccessUrl");
|
|
30368
30393
|
__name(cancelMarker, "cancelMarker");
|
|
30369
30394
|
__name(billingCancelUrl, "billingCancelUrl");
|
|
@@ -148453,7 +148478,8 @@ var init_ensure_user_settings = __esm({
|
|
|
148453
148478
|
"groupRoster",
|
|
148454
148479
|
"termsAck",
|
|
148455
148480
|
"appHistoryHidden",
|
|
148456
|
-
"creditMilestones"
|
|
148481
|
+
"creditMilestones",
|
|
148482
|
+
"planAck"
|
|
148457
148483
|
]);
|
|
148458
148484
|
__name(isWireVisible, "isWireVisible");
|
|
148459
148485
|
warnedGeoCountryMissing = false;
|
|
@@ -165696,7 +165722,7 @@ var init_queue_ctx = __esm({
|
|
|
165696
165722
|
* enqueue can never fail the send: the mail is already out, and a lost
|
|
165697
165723
|
* timeline line is a log line, not a retry that would mail them twice.
|
|
165698
165724
|
*/
|
|
165699
|
-
async sendEmail(rm3, track) {
|
|
165725
|
+
async sendEmail(rm3, track, opts) {
|
|
165700
165726
|
if (!this.params.vibes.env.RESEND_API_KEY) {
|
|
165701
165727
|
return Result379.Err("[resend] RESEND_API_KEY is not set on this worker \u2014 no mail can be sent");
|
|
165702
165728
|
}
|
|
@@ -165709,7 +165735,8 @@ var init_queue_ctx = __esm({
|
|
|
165709
165735
|
method: "POST",
|
|
165710
165736
|
headers: {
|
|
165711
165737
|
Authorization: `Bearer ${this.params.vibes.env.RESEND_API_KEY}`,
|
|
165712
|
-
"Content-Type": "application/json"
|
|
165738
|
+
"Content-Type": "application/json",
|
|
165739
|
+
...opts?.idempotencyKey !== void 0 ? { "Idempotency-Key": opts.idempotencyKey } : {}
|
|
165713
165740
|
},
|
|
165714
165741
|
body: JSON.stringify({
|
|
165715
165742
|
...rm3,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibes-diy",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.339",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"description": "Command-line tool for vibes.diy — generate, edit, pull, push, and publish AI-built apps",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@neondatabase/serverless": "~1.2.0",
|
|
42
42
|
"@noble/hashes": "~2.4.0",
|
|
43
43
|
"@shadcn/lint": "~0.2.3",
|
|
44
|
-
"@vibes.diy/api-impl": "14.3.
|
|
45
|
-
"@vibes.diy/api-types": "14.3.
|
|
46
|
-
"@vibes.diy/call-ai-v2": "14.3.
|
|
47
|
-
"@vibes.diy/cmd-harness": "14.3.
|
|
48
|
-
"@vibes.diy/cmd-tools": "14.3.
|
|
49
|
-
"@vibes.diy/identity": "14.3.
|
|
50
|
-
"@vibes.diy/prompts": "14.3.
|
|
44
|
+
"@vibes.diy/api-impl": "14.3.339",
|
|
45
|
+
"@vibes.diy/api-types": "14.3.339",
|
|
46
|
+
"@vibes.diy/call-ai-v2": "14.3.339",
|
|
47
|
+
"@vibes.diy/cmd-harness": "14.3.339",
|
|
48
|
+
"@vibes.diy/cmd-tools": "14.3.339",
|
|
49
|
+
"@vibes.diy/identity": "14.3.339",
|
|
50
|
+
"@vibes.diy/prompts": "14.3.339",
|
|
51
51
|
"acorn": "~8.19.0",
|
|
52
52
|
"acorn-jsx": "~5.3.2",
|
|
53
53
|
"arktype": "~2.2.9",
|