deployai 0.1.0-beta.43 → 0.1.0-beta.44
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.js +813 -464
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ var ISSUES = [
|
|
|
86
86
|
titleEn: "Long-running or background process",
|
|
87
87
|
titleHe: "\u05EA\u05D4\u05DC\u05D9\u05DA \u05E9\u05E8\u05E5 \u05D1\u05E8\u05E7\u05E2 \u05DB\u05DC \u05D4\u05D6\u05DE\u05DF",
|
|
88
88
|
agentLine: "{loc} starts a long-running or background process{detail}.",
|
|
89
|
-
fixForAgent:
|
|
89
|
+
fixForAgent: `The site runs per request, nothing stays running between requests. Remove timers, job queues and cron libraries. For work on a clock, list its times in the wrangler config under "triggers": { "crons": ["0 3 * * *"] } and export a scheduled handler beside fetch: export default { fetch, async scheduled(event, env, ctx) { ... } }. DeployAI runs it at those times (UTC), at most every 5 minutes, with the site's own bindings.`
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
code: "websocket_server",
|
|
@@ -219,6 +219,15 @@ var ISSUES = [
|
|
|
219
219
|
agentLine: "The site sends email with{detail}, which needs SMTP. SMTP does not run on DeployAI, so the email part will fail.",
|
|
220
220
|
fixForAgent: "For email to the site owner (a form answer, a new order), use the built-in email: POST JSON { subject, text, replyTo } to `${DEPLOYAI_API}/api/site/notify` with Authorization: Bearer DEPLOYAI_KEY, with no keys to ask for. For email to customers, use an HTTP email API (Resend, Postmark) with its key set by npx deployai@latest env set. Remove the SMTP library."
|
|
221
221
|
},
|
|
222
|
+
{
|
|
223
|
+
// D-982: a schedule our scheduler will not run (D-979), told before the deploy instead of only on Data and files.
|
|
224
|
+
code: "schedule_not_run",
|
|
225
|
+
severity: "warning",
|
|
226
|
+
titleEn: "A schedule that will not run",
|
|
227
|
+
titleHe: "\u05DE\u05E9\u05D9\u05DE\u05D4 \u05DE\u05EA\u05D5\u05D6\u05DE\u05E0\u05EA \u05E9\u05DC\u05D0 \u05EA\u05E8\u05D5\u05E5",
|
|
228
|
+
agentLine: "A schedule in triggers.crons will not run{detail} ({loc}).",
|
|
229
|
+
fixForAgent: 'DeployAI runs each line of triggers.crons at its times in UTC, at most once every 5 minutes. A line that runs more often, or that is not a five part cron line (minute, hour, day of month, month, day of week), does not run at all. Change it, for example "*/5 * * * *" for every 5 minutes or "0 3 * * *" for 03:00 UTC each day.'
|
|
230
|
+
},
|
|
222
231
|
{
|
|
223
232
|
code: "no_build_script",
|
|
224
233
|
severity: "warning",
|
|
@@ -754,9 +763,9 @@ function durableObjectsOf(v) {
|
|
|
754
763
|
return { name: str2(o.name), className: str2(o.class_name), script: str2(o.script_name) || null };
|
|
755
764
|
});
|
|
756
765
|
}
|
|
757
|
-
function tomlDurableObjects(
|
|
766
|
+
function tomlDurableObjects(value2) {
|
|
758
767
|
const q = (t, k) => new RegExp(`\\b${k}\\s*=\\s*(?:"([^"]+)"|'([^']+)')`).exec(t);
|
|
759
|
-
return [...
|
|
768
|
+
return [...value2.matchAll(/\{([^}]*)\}/g)].map((m) => {
|
|
760
769
|
const t = m[1];
|
|
761
770
|
const pick2 = (k) => {
|
|
762
771
|
const r = q(t, k);
|
|
@@ -765,12 +774,25 @@ function tomlDurableObjects(value) {
|
|
|
765
774
|
return { name: pick2("name"), className: pick2("class_name"), script: pick2("script_name") || null };
|
|
766
775
|
});
|
|
767
776
|
}
|
|
777
|
+
function cronsOf(triggers) {
|
|
778
|
+
const list = triggers && typeof triggers === "object" ? triggers.crons : null;
|
|
779
|
+
return Array.isArray(list) ? [...new Set(list.filter((x) => typeof x === "string" && x.trim() !== "").map((x) => x.trim()))] : [];
|
|
780
|
+
}
|
|
781
|
+
function queuesOf(v) {
|
|
782
|
+
const o = v && typeof v === "object" ? v : {};
|
|
783
|
+
const str2 = (x) => typeof x === "string" ? x : "";
|
|
784
|
+
const rows2 = (x) => Array.isArray(x) ? x.map((r) => r && typeof r === "object" ? r : {}) : [];
|
|
785
|
+
return {
|
|
786
|
+
producers: rows2(o.producers).map((r) => ({ binding: str2(r.binding), queue: str2(r.queue) })).filter((r) => r.binding || r.queue),
|
|
787
|
+
consumers: rows2(o.consumers).map((r) => ({ queue: str2(r.queue) })).filter((r) => r.queue)
|
|
788
|
+
};
|
|
789
|
+
}
|
|
768
790
|
function bindingsOf(list) {
|
|
769
791
|
if (!Array.isArray(list)) return [];
|
|
770
792
|
return list.map((x) => x && typeof x === "object" && typeof x.binding === "string" ? { binding: x.binding } : null).filter((x) => x !== null);
|
|
771
793
|
}
|
|
772
794
|
function parseWranglerConfig(fileName, text2) {
|
|
773
|
-
const empty = { d1: [], r2: [], vars: [], main: null, assetsDir: null, compatibilityDate: null, compatibilityFlags: [], durableObjects: [] };
|
|
795
|
+
const empty = { d1: [], r2: [], vars: [], main: null, assetsDir: null, compatibilityDate: null, compatibilityFlags: [], durableObjects: [], crons: [], queues: { producers: [], consumers: [] } };
|
|
774
796
|
if (/\.toml$/.test(fileName)) return parseWranglerToml(text2);
|
|
775
797
|
let j;
|
|
776
798
|
try {
|
|
@@ -789,7 +811,9 @@ function parseWranglerConfig(fileName, text2) {
|
|
|
789
811
|
assetsDir: assets && typeof assets.directory === "string" ? assets.directory : null,
|
|
790
812
|
compatibilityDate: typeof j.compatibility_date === "string" ? j.compatibility_date : null,
|
|
791
813
|
compatibilityFlags: Array.isArray(j.compatibility_flags) ? j.compatibility_flags.filter((x) => typeof x === "string") : [],
|
|
792
|
-
durableObjects: durableObjectsOf(j.durable_objects)
|
|
814
|
+
durableObjects: durableObjectsOf(j.durable_objects),
|
|
815
|
+
crons: cronsOf(j.triggers),
|
|
816
|
+
queues: queuesOf(j.queues)
|
|
793
817
|
};
|
|
794
818
|
}
|
|
795
819
|
function tomlString(v) {
|
|
@@ -797,17 +821,25 @@ function tomlString(v) {
|
|
|
797
821
|
return m ? m[1] ?? m[2] ?? "" : null;
|
|
798
822
|
}
|
|
799
823
|
function parseWranglerToml(text2) {
|
|
800
|
-
const decl = { d1: [], r2: [], vars: [], main: null, assetsDir: null, compatibilityDate: null, compatibilityFlags: [], durableObjects: [] };
|
|
824
|
+
const decl = { d1: [], r2: [], vars: [], main: null, assetsDir: null, compatibilityDate: null, compatibilityFlags: [], durableObjects: [], crons: [], queues: { producers: [], consumers: [] } };
|
|
801
825
|
let section = "";
|
|
826
|
+
let cronLines = false;
|
|
802
827
|
for (const rawLine of text2.split(/\r?\n/)) {
|
|
803
828
|
const line = rawLine.replace(/\s+#.*$/, "").replace(/^#.*$/, "").trim();
|
|
804
829
|
if (!line) continue;
|
|
830
|
+
if (cronLines) {
|
|
831
|
+
for (const m of line.matchAll(/"([^"]*)"|'([^']*)'/g)) decl.crons.push((m[1] ?? m[2]).trim());
|
|
832
|
+
if (line.includes("]")) cronLines = false;
|
|
833
|
+
continue;
|
|
834
|
+
}
|
|
805
835
|
const arr = /^\[\[\s*([\w.]+)\s*\]\]$/.exec(line);
|
|
806
836
|
if (arr) {
|
|
807
837
|
section = `[[${arr[1]}]]`;
|
|
808
838
|
if (arr[1] === "d1_databases") decl.d1.push({ binding: "" });
|
|
809
839
|
if (arr[1] === "r2_buckets") decl.r2.push({ binding: "" });
|
|
810
840
|
if (arr[1] === "durable_objects.bindings") decl.durableObjects.push({ name: "", className: "", script: null });
|
|
841
|
+
if (arr[1] === "queues.producers") decl.queues.producers.push({ binding: "", queue: "" });
|
|
842
|
+
if (arr[1] === "queues.consumers") decl.queues.consumers.push({ queue: "" });
|
|
811
843
|
continue;
|
|
812
844
|
}
|
|
813
845
|
const tbl = /^\[\s*([\w.]+)\s*\]$/.exec(line);
|
|
@@ -818,41 +850,54 @@ function parseWranglerToml(text2) {
|
|
|
818
850
|
const kv = /^([\w-]+|"[^"]+")\s*=\s*(.*)$/.exec(line);
|
|
819
851
|
if (!kv) continue;
|
|
820
852
|
const key2 = kv[1].replace(/^"|"$/g, "");
|
|
821
|
-
const
|
|
853
|
+
const value2 = kv[2];
|
|
822
854
|
if (section === "") {
|
|
823
|
-
if (key2 === "main") decl.main = tomlString(
|
|
824
|
-
if (key2 === "compatibility_date") decl.compatibilityDate = tomlString(
|
|
825
|
-
if (key2 === "compatibility_flags") decl.compatibilityFlags = [...
|
|
855
|
+
if (key2 === "main") decl.main = tomlString(value2);
|
|
856
|
+
if (key2 === "compatibility_date") decl.compatibilityDate = tomlString(value2);
|
|
857
|
+
if (key2 === "compatibility_flags") decl.compatibilityFlags = [...value2.matchAll(/"([^"]+)"|'([^']+)'/g)].map((m) => m[1] ?? m[2]);
|
|
826
858
|
if (key2 === "d1_databases" || key2 === "r2_buckets") {
|
|
827
859
|
const target = key2 === "d1_databases" ? decl.d1 : decl.r2;
|
|
828
|
-
for (const m of
|
|
860
|
+
for (const m of value2.matchAll(/binding\s*=\s*(?:"([^"]+)"|'([^']+)')/g)) target.push({ binding: m[1] ?? m[2] });
|
|
829
861
|
}
|
|
830
|
-
if (key2 === "vars") for (const m of
|
|
831
|
-
if (key2 === "durable_objects") decl.durableObjects.push(...tomlDurableObjects(
|
|
862
|
+
if (key2 === "vars") for (const m of value2.matchAll(/([\w-]+)\s*=/g)) decl.vars.push(m[1]);
|
|
863
|
+
if (key2 === "durable_objects") decl.durableObjects.push(...tomlDurableObjects(value2));
|
|
832
864
|
} else if (section === "durable_objects" && key2 === "bindings") {
|
|
833
|
-
decl.durableObjects.push(...tomlDurableObjects(
|
|
865
|
+
decl.durableObjects.push(...tomlDurableObjects(value2));
|
|
834
866
|
} else if (section === "[[durable_objects.bindings]]" && (key2 === "name" || key2 === "class_name" || key2 === "script_name")) {
|
|
835
|
-
const v = tomlString(
|
|
867
|
+
const v = tomlString(value2);
|
|
836
868
|
const last = decl.durableObjects[decl.durableObjects.length - 1];
|
|
837
869
|
if (v != null && last) {
|
|
838
870
|
if (key2 === "name") last.name = v;
|
|
839
871
|
else if (key2 === "class_name") last.className = v;
|
|
840
872
|
else last.script = v || null;
|
|
841
873
|
}
|
|
874
|
+
} else if (section === "triggers" && key2 === "crons") {
|
|
875
|
+
for (const m of value2.matchAll(/"([^"]*)"|'([^']*)'/g)) decl.crons.push((m[1] ?? m[2]).trim());
|
|
876
|
+
cronLines = value2.includes("[") && !value2.includes("]");
|
|
877
|
+
} else if (section === "[[queues.producers]]" && (key2 === "binding" || key2 === "queue")) {
|
|
878
|
+
const v = tomlString(value2);
|
|
879
|
+
const last = decl.queues.producers[decl.queues.producers.length - 1];
|
|
880
|
+
if (v != null && last) last[key2] = v;
|
|
881
|
+
} else if (section === "[[queues.consumers]]" && key2 === "queue") {
|
|
882
|
+
const v = tomlString(value2);
|
|
883
|
+
const last = decl.queues.consumers[decl.queues.consumers.length - 1];
|
|
884
|
+
if (v != null && last) last.queue = v;
|
|
842
885
|
} else if (section === "vars") {
|
|
843
886
|
decl.vars.push(key2);
|
|
844
887
|
} else if (section === "assets" && key2 === "directory") {
|
|
845
|
-
decl.assetsDir = tomlString(
|
|
888
|
+
decl.assetsDir = tomlString(value2);
|
|
846
889
|
} else if (section === "[[d1_databases]]" && key2 === "binding") {
|
|
847
|
-
const v = tomlString(
|
|
890
|
+
const v = tomlString(value2);
|
|
848
891
|
if (v != null) decl.d1[decl.d1.length - 1].binding = v;
|
|
849
892
|
} else if (section === "[[r2_buckets]]" && key2 === "binding") {
|
|
850
|
-
const v = tomlString(
|
|
893
|
+
const v = tomlString(value2);
|
|
851
894
|
if (v != null) decl.r2[decl.r2.length - 1].binding = v;
|
|
852
895
|
}
|
|
853
896
|
}
|
|
854
897
|
decl.d1 = decl.d1.filter((b) => b.binding);
|
|
855
898
|
decl.r2 = decl.r2.filter((b) => b.binding);
|
|
899
|
+
decl.crons = [...new Set(decl.crons.filter(Boolean))];
|
|
900
|
+
decl.queues = { producers: decl.queues.producers.filter((r) => r.binding || r.queue), consumers: decl.queues.consumers.filter((r) => r.queue) };
|
|
856
901
|
return decl;
|
|
857
902
|
}
|
|
858
903
|
|
|
@@ -989,13 +1034,26 @@ var ISSUE_HELP = {
|
|
|
989
1034
|
he: {
|
|
990
1035
|
what: "\u05D4\u05D0\u05EA\u05E8 \u05DE\u05E4\u05E2\u05D9\u05DC \u05DE\u05E9\u05D4\u05D5 \u05E9\u05E8\u05E5 \u05D1\u05E8\u05E7\u05E2 \u05DB\u05DC \u05D4\u05D6\u05DE\u05DF, \u05DB\u05DE\u05D5 \u05D8\u05D9\u05D9\u05DE\u05E8, \u05EA\u05D5\u05E8 \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05D0\u05D5 \u05DE\u05E9\u05D9\u05DE\u05D4 \u05DE\u05EA\u05D5\u05D6\u05DE\u05E0\u05EA.",
|
|
991
1036
|
why: "\u05D0\u05E6\u05DC\u05E0\u05D5 \u05D4\u05D0\u05EA\u05E8 \u05E8\u05E5 \u05E8\u05E7 \u05DB\u05E9\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E0\u05DB\u05E0\u05E1, \u05D5\u05E9\u05D5\u05DD \u05D3\u05D1\u05E8 \u05DC\u05D0 \u05E0\u05E9\u05D0\u05E8 \u05E4\u05D5\u05E2\u05DC \u05D1\u05D9\u05DF \u05DB\u05E0\u05D9\u05E1\u05D4 \u05DC\u05DB\u05E0\u05D9\u05E1\u05D4. \u05DE\u05D4 \u05E9\u05E8\u05E5 \u05D1\u05E8\u05E7\u05E2 \u05E4\u05E9\u05D5\u05D8 \u05DC\u05D0 \u05D9\u05E4\u05E2\u05DC, \u05D5\u05DC\u05DB\u05DF \u05D4\u05D0\u05EA\u05E8 \u05DC\u05D0 \u05D9\u05E2\u05DC\u05D4.",
|
|
992
|
-
fix: ["\u05DE\u05D5\u05E6\u05D9\u05D0\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8 \u05D8\u05D9\u05D9\u05DE\u05E8\u05D9\u05DD, \u05EA\u05D5\u05E8\u05D9 \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05D5\u05E1\u05E4\u05E8\u05D9\u05D5\u05EA \u05E9\u05DC \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05DE\u05EA\u05D5\u05D6\u05DE\u05E0\u05D5\u05EA.", "\
|
|
993
|
-
prompt:
|
|
1037
|
+
fix: ["\u05DE\u05D5\u05E6\u05D9\u05D0\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8 \u05D8\u05D9\u05D9\u05DE\u05E8\u05D9\u05DD, \u05EA\u05D5\u05E8\u05D9 \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05D5\u05E1\u05E4\u05E8\u05D9\u05D5\u05EA \u05E9\u05DC \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05DE\u05EA\u05D5\u05D6\u05DE\u05E0\u05D5\u05EA.", "\u05E6\u05E8\u05D9\u05DB\u05D9\u05DD \u05DE\u05E9\u05D9\u05DE\u05D4 \u05E9\u05E8\u05E6\u05D4 \u05DC\u05E4\u05D9 \u05E9\u05E2\u05D5\u05DF, \u05DB\u05DE\u05D5 \u05D2\u05D9\u05D1\u05D5\u05D9 \u05D1\u05DB\u05DC \u05DC\u05D9\u05DC\u05D4? \u05D4\u05E1\u05D5\u05DB\u05DF \u05E7\u05D5\u05D1\u05E2 \u05DC\u05D4 \u05D6\u05DE\u05E0\u05D9\u05DD, \u05D5\u05D0\u05E0\u05D7\u05E0\u05D5 \u05DE\u05E8\u05D9\u05E6\u05D9\u05DD \u05D0\u05D5\u05EA\u05D4 \u05D1\u05D6\u05DE\u05E0\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4, \u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8 \u05E4\u05E2\u05DD \u05D1\u05BE5 \u05D3\u05E7\u05D5\u05EA. \u05DB\u05DE\u05D4 \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05DB\u05D0\u05DC\u05D4 \u05D9\u05E9 \u05DC\u05DB\u05DC \u05D0\u05EA\u05E8, \u05D6\u05D4 \u05DC\u05E4\u05D9 \u05D4\u05D7\u05D1\u05D9\u05DC\u05D4.", "\u05DE\u05E8\u05D9\u05E6\u05D9\u05DD \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05D1\u05D3\u05D9\u05E7\u05D4."],
|
|
1038
|
+
prompt: '\u05D4\u05D0\u05EA\u05E8 \u05E8\u05E5 \u05DC\u05DB\u05DC \u05D1\u05E7\u05E9\u05D4 \u05D1\u05E0\u05E4\u05E8\u05D3, \u05D5\u05E9\u05D5\u05DD \u05D3\u05D1\u05E8 \u05DC\u05D0 \u05E0\u05E9\u05D0\u05E8 \u05E4\u05D5\u05E2\u05DC \u05D1\u05D9\u05DF \u05D1\u05E7\u05E9\u05D5\u05EA. \u05D4\u05E1\u05E8 \u05D8\u05D9\u05D9\u05DE\u05E8\u05D9\u05DD, \u05EA\u05D5\u05E8\u05D9 \u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05D5\u05E1\u05E4\u05E8\u05D9\u05D5\u05EA cron. \u05DC\u05E2\u05D1\u05D5\u05D3\u05D4 \u05DC\u05E4\u05D9 \u05E9\u05E2\u05D5\u05DF, \u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05D4\u05D6\u05DE\u05E0\u05D9\u05DD \u05E9\u05DC\u05D4 \u05D1\u05E7\u05D5\u05D1\u05E5 \u05D4\u05D4\u05D2\u05D3\u05E8\u05D5\u05EA \u05E9\u05DC wrangler \u05EA\u05D7\u05EA "triggers": { "crons": ["0 3 * * *"] }, \u05D5\u05D9\u05D9\u05E6\u05D0 \u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D9\u05EA scheduled \u05DC\u05E6\u05D3 fetch: export default { fetch, async scheduled(event, env, ctx) { ... } }. DeployAI \u05DE\u05E8\u05D9\u05E5 \u05D0\u05D5\u05EA\u05D4 \u05D1\u05D6\u05DE\u05E0\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 (\u05DC\u05E4\u05D9 UTC), \u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8 \u05E4\u05E2\u05DD \u05D1\u05BE5 \u05D3\u05E7\u05D5\u05EA, \u05E2\u05DD \u05D4\u05BEbindings \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8 \u05E2\u05E6\u05DE\u05D5.'
|
|
994
1039
|
},
|
|
995
1040
|
en: {
|
|
996
1041
|
what: "The site starts something that keeps running in the background, such as a timer, a job queue or a scheduled task.",
|
|
997
1042
|
why: "On DeployAI the site runs only when someone visits, and nothing stays running between visits. Background work would simply not run, so the site will not go live.",
|
|
998
|
-
fix: ["Remove timers, job queues and scheduled task libraries from the site.", "
|
|
1043
|
+
fix: ["Remove timers, job queues and scheduled task libraries from the site.", "Need a task on a clock, like a nightly backup? Your agent sets its times, and we run it then, at most every 5 minutes. How many such tasks a site can have depends on your plan.", "Run the check again."]
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
schedule_not_run: {
|
|
1047
|
+
he: {
|
|
1048
|
+
what: "\u05D0\u05D7\u05EA \u05D4\u05DE\u05E9\u05D9\u05DE\u05D5\u05EA \u05D4\u05DE\u05EA\u05D5\u05D6\u05DE\u05E0\u05D5\u05EA \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DC\u05D0 \u05EA\u05E8\u05D5\u05E5: \u05D4\u05D9\u05D0 \u05E7\u05D1\u05D5\u05E2\u05D4 \u05DC\u05E8\u05D5\u05E5 \u05D9\u05D5\u05EA\u05E8 \u05DE\u05E4\u05E2\u05DD \u05D1\u05BE5 \u05D3\u05E7\u05D5\u05EA, \u05D0\u05D5 \u05E9\u05D0\u05D9 \u05D0\u05E4\u05E9\u05E8 \u05DC\u05E7\u05E8\u05D5\u05D0 \u05D0\u05EA \u05D4\u05D6\u05DE\u05DF \u05E9\u05DC\u05D4.",
|
|
1049
|
+
why: "\u05D0\u05E0\u05D7\u05E0\u05D5 \u05DE\u05E8\u05D9\u05E6\u05D9\u05DD \u05DE\u05E9\u05D9\u05DE\u05D4 \u05DE\u05EA\u05D5\u05D6\u05DE\u05E0\u05EA \u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8 \u05E4\u05E2\u05DD \u05D1\u05BE5 \u05D3\u05E7\u05D5\u05EA. \u05DE\u05E9\u05D9\u05DE\u05D4 \u05E9\u05E7\u05D1\u05D5\u05E2\u05D4 \u05DC\u05E8\u05D5\u05E5 \u05DC\u05E2\u05D9\u05EA\u05D9\u05DD \u05E7\u05E8\u05D5\u05D1\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8, \u05D0\u05D5 \u05E9\u05D4\u05D6\u05DE\u05DF \u05E9\u05DC\u05D4 \u05DB\u05EA\u05D5\u05D1 \u05D1\u05E6\u05D5\u05E8\u05D4 \u05E9\u05D0\u05E0\u05D7\u05E0\u05D5 \u05DC\u05D0 \u05DE\u05D1\u05D9\u05E0\u05D9\u05DD, \u05DC\u05D0 \u05E8\u05E6\u05D4 \u05D1\u05DB\u05DC\u05DC. \u05E9\u05D0\u05E8 \u05D4\u05D0\u05EA\u05E8 \u05E2\u05D5\u05DC\u05D4 \u05DB\u05E8\u05D2\u05D9\u05DC.",
|
|
1050
|
+
fix: ["\u05D4\u05E1\u05D5\u05DB\u05DF \u05DE\u05E9\u05E0\u05D4 \u05D0\u05EA \u05D4\u05D6\u05DE\u05DF \u05E9\u05DC \u05D4\u05DE\u05E9\u05D9\u05DE\u05D4, \u05DC\u05DE\u05E9\u05DC \u05DC\u05E4\u05E2\u05DD \u05D1\u05BE5 \u05D3\u05E7\u05D5\u05EA \u05D0\u05D5 \u05DC\u05E4\u05E2\u05DD \u05D1\u05D9\u05D5\u05DD.", "\u05DE\u05E8\u05D9\u05E6\u05D9\u05DD \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05D1\u05D3\u05D9\u05E7\u05D4."],
|
|
1051
|
+
prompt: 'DeployAI \u05DE\u05E8\u05D9\u05E5 \u05DB\u05DC \u05E9\u05D5\u05E8\u05D4 \u05D1\u05BEtriggers.crons \u05D1\u05D6\u05DE\u05E0\u05D9\u05DD \u05E9\u05DC\u05D4 \u05DC\u05E4\u05D9 UTC, \u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8 \u05E4\u05E2\u05DD \u05D1\u05BE5 \u05D3\u05E7\u05D5\u05EA. \u05E9\u05D5\u05E8\u05D4 \u05E9\u05E8\u05E6\u05D4 \u05DC\u05E2\u05D9\u05EA\u05D9\u05DD \u05E7\u05E8\u05D5\u05D1\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8, \u05D0\u05D5 \u05E9\u05D0\u05D9\u05E0\u05D4 \u05E9\u05D5\u05E8\u05EA cron \u05D1\u05EA \u05D7\u05DE\u05D9\u05E9\u05D4 \u05D7\u05DC\u05E7\u05D9\u05DD (\u05D3\u05E7\u05D4, \u05E9\u05E2\u05D4, \u05D9\u05D5\u05DD \u05D1\u05D7\u05D5\u05D3\u05E9, \u05D7\u05D5\u05D3\u05E9, \u05D9\u05D5\u05DD \u05D1\u05E9\u05D1\u05D5\u05E2), \u05DC\u05D0 \u05E8\u05E6\u05D4 \u05D1\u05DB\u05DC\u05DC. \u05E9\u05E0\u05D4 \u05D0\u05D5\u05EA\u05D4, \u05DC\u05DE\u05E9\u05DC \u05DC\u05BE"*/5 * * * *" \u05DC\u05DB\u05DC 5 \u05D3\u05E7\u05D5\u05EA \u05D0\u05D5 \u05DC\u05BE"0 3 * * *" \u05DC\u05E9\u05E2\u05D4 03:00 UTC \u05D1\u05DB\u05DC \u05D9\u05D5\u05DD.'
|
|
1052
|
+
},
|
|
1053
|
+
en: {
|
|
1054
|
+
what: "One of the site's scheduled tasks will not run: it is set to run more often than every 5 minutes, or we cannot read its time.",
|
|
1055
|
+
why: "We run a scheduled task at most once every 5 minutes. A task set to run more often, or with a time written in a way we cannot read, does not run at all. The rest of the site goes live as usual.",
|
|
1056
|
+
fix: ["Your agent changes the task's time, for example to every 5 minutes or once a day.", "Run the check again."]
|
|
999
1057
|
}
|
|
1000
1058
|
},
|
|
1001
1059
|
durable_objects: {
|
|
@@ -2075,10 +2133,10 @@ function getEnumValues(entries) {
|
|
|
2075
2133
|
function joinValues(array2, separator = "|") {
|
|
2076
2134
|
return array2.map((val) => stringifyPrimitive(val)).join(separator);
|
|
2077
2135
|
}
|
|
2078
|
-
function jsonStringifyReplacer(_,
|
|
2079
|
-
if (typeof
|
|
2080
|
-
return
|
|
2081
|
-
return
|
|
2136
|
+
function jsonStringifyReplacer(_, value2) {
|
|
2137
|
+
if (typeof value2 === "bigint")
|
|
2138
|
+
return value2.toString();
|
|
2139
|
+
return value2;
|
|
2082
2140
|
}
|
|
2083
2141
|
var Cached = class {
|
|
2084
2142
|
constructor(getter) {
|
|
@@ -2115,17 +2173,17 @@ function floatSafeRemainder(val, step) {
|
|
|
2115
2173
|
}
|
|
2116
2174
|
var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
2117
2175
|
function defineLazy(object2, key2, getter) {
|
|
2118
|
-
let
|
|
2176
|
+
let value2 = void 0;
|
|
2119
2177
|
Object.defineProperty(object2, key2, {
|
|
2120
2178
|
get() {
|
|
2121
|
-
if (
|
|
2179
|
+
if (value2 === EVALUATING) {
|
|
2122
2180
|
return void 0;
|
|
2123
2181
|
}
|
|
2124
|
-
if (
|
|
2125
|
-
|
|
2126
|
-
|
|
2182
|
+
if (value2 === void 0) {
|
|
2183
|
+
value2 = EVALUATING;
|
|
2184
|
+
value2 = getter();
|
|
2127
2185
|
}
|
|
2128
|
-
return
|
|
2186
|
+
return value2;
|
|
2129
2187
|
},
|
|
2130
2188
|
set(v) {
|
|
2131
2189
|
Object.defineProperty(object2, key2, {
|
|
@@ -2139,9 +2197,9 @@ function defineLazy(object2, key2, getter) {
|
|
|
2139
2197
|
function objectClone(obj) {
|
|
2140
2198
|
return Object.create(Object.getPrototypeOf(obj), Object.getOwnPropertyDescriptors(obj));
|
|
2141
2199
|
}
|
|
2142
|
-
function assignProp(target, prop,
|
|
2200
|
+
function assignProp(target, prop, value2) {
|
|
2143
2201
|
Object.defineProperty(target, prop, {
|
|
2144
|
-
value,
|
|
2202
|
+
value: value2,
|
|
2145
2203
|
writable: true,
|
|
2146
2204
|
enumerable: true,
|
|
2147
2205
|
configurable: true
|
|
@@ -2157,19 +2215,19 @@ function sourceShape(schema) {
|
|
|
2157
2215
|
function deferProp(target, key2, getter) {
|
|
2158
2216
|
Object.defineProperty(target, key2, {
|
|
2159
2217
|
get() {
|
|
2160
|
-
const
|
|
2161
|
-
assignProp(this, key2,
|
|
2162
|
-
return
|
|
2218
|
+
const value2 = getter();
|
|
2219
|
+
assignProp(this, key2, value2);
|
|
2220
|
+
return value2;
|
|
2163
2221
|
},
|
|
2164
2222
|
enumerable: true,
|
|
2165
2223
|
configurable: true
|
|
2166
2224
|
});
|
|
2167
2225
|
}
|
|
2168
|
-
function putProp(target, key2,
|
|
2226
|
+
function putProp(target, key2, value2) {
|
|
2169
2227
|
if (key2 in target)
|
|
2170
|
-
assignProp(target, key2,
|
|
2228
|
+
assignProp(target, key2, value2);
|
|
2171
2229
|
else
|
|
2172
|
-
target[key2] =
|
|
2230
|
+
target[key2] = value2;
|
|
2173
2231
|
}
|
|
2174
2232
|
function mirrorShape(target, source, keys, wrap) {
|
|
2175
2233
|
const raw = sourceShape(source);
|
|
@@ -2179,8 +2237,8 @@ function mirrorShape(target, source, keys, wrap) {
|
|
|
2179
2237
|
continue;
|
|
2180
2238
|
if (desc.get) {
|
|
2181
2239
|
deferProp(target, key2, () => {
|
|
2182
|
-
const
|
|
2183
|
-
return wrap ? wrap(
|
|
2240
|
+
const value2 = source._zod.def.shape[key2];
|
|
2241
|
+
return wrap ? wrap(value2, key2) : value2;
|
|
2184
2242
|
});
|
|
2185
2243
|
} else
|
|
2186
2244
|
putProp(target, key2, wrap ? wrap(desc.value, key2) : desc.value);
|
|
@@ -2379,9 +2437,9 @@ function createTransparentProxy(getter) {
|
|
|
2379
2437
|
target ?? (target = getter());
|
|
2380
2438
|
return Reflect.get(target, prop, receiver);
|
|
2381
2439
|
},
|
|
2382
|
-
set(_, prop,
|
|
2440
|
+
set(_, prop, value2, receiver) {
|
|
2383
2441
|
target ?? (target = getter());
|
|
2384
|
-
return Reflect.set(target, prop,
|
|
2442
|
+
return Reflect.set(target, prop, value2, receiver);
|
|
2385
2443
|
},
|
|
2386
2444
|
has(_, prop) {
|
|
2387
2445
|
target ?? (target = getter());
|
|
@@ -2405,12 +2463,12 @@ function createTransparentProxy(getter) {
|
|
|
2405
2463
|
}
|
|
2406
2464
|
});
|
|
2407
2465
|
}
|
|
2408
|
-
function stringifyPrimitive(
|
|
2409
|
-
if (typeof
|
|
2410
|
-
return
|
|
2411
|
-
if (typeof
|
|
2412
|
-
return `"${
|
|
2413
|
-
return `${
|
|
2466
|
+
function stringifyPrimitive(value2) {
|
|
2467
|
+
if (typeof value2 === "bigint")
|
|
2468
|
+
return value2.toString() + "n";
|
|
2469
|
+
if (typeof value2 === "string")
|
|
2470
|
+
return `"${value2}"`;
|
|
2471
|
+
return `${value2}`;
|
|
2414
2472
|
}
|
|
2415
2473
|
function optionalKeys(shape) {
|
|
2416
2474
|
return Object.keys(shape).filter((k) => {
|
|
@@ -2519,15 +2577,15 @@ function partial(Class2, schema, mask, name = "partial") {
|
|
|
2519
2577
|
}
|
|
2520
2578
|
const selected = mask ? new Set(maskedKeys(schema, mask)) : void 0;
|
|
2521
2579
|
const newShape = {};
|
|
2522
|
-
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)), Class2 && ((
|
|
2580
|
+
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)), Class2 && ((value2, key2) => selected && !selected.has(key2) ? value2 : new Class2({ type: "optional", innerType: value2 })));
|
|
2523
2581
|
return clone(schema, mergeDefs(schema._zod.def, { shape: newShape, checks: [] }));
|
|
2524
2582
|
}
|
|
2525
2583
|
function required(Class2, schema, mask) {
|
|
2526
2584
|
const selected = mask ? new Set(maskedKeys(schema, mask)) : void 0;
|
|
2527
2585
|
const newShape = {};
|
|
2528
|
-
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)), (
|
|
2586
|
+
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)), (value2, key2) => (
|
|
2529
2587
|
// overwrite with non-optional
|
|
2530
|
-
selected && !selected.has(key2) ?
|
|
2588
|
+
selected && !selected.has(key2) ? value2 : new Class2({ type: "nonoptional", innerType: value2 })
|
|
2531
2589
|
));
|
|
2532
2590
|
return clone(schema, mergeDefs(schema._zod.def, { shape: newShape }));
|
|
2533
2591
|
}
|
|
@@ -2722,12 +2780,12 @@ function members(proto, table) {
|
|
|
2722
2780
|
defineBound(proto, key2, desc.value);
|
|
2723
2781
|
}
|
|
2724
2782
|
}
|
|
2725
|
-
function own(inst, key2,
|
|
2726
|
-
Object.defineProperty(inst, key2, { configurable: true, writable: true, enumerable, value });
|
|
2727
|
-
return
|
|
2783
|
+
function own(inst, key2, value2, enumerable = true) {
|
|
2784
|
+
Object.defineProperty(inst, key2, { configurable: true, writable: true, enumerable, value: value2 });
|
|
2785
|
+
return value2;
|
|
2728
2786
|
}
|
|
2729
|
-
function hide(inst, key2,
|
|
2730
|
-
return own(inst, key2,
|
|
2787
|
+
function hide(inst, key2, value2) {
|
|
2788
|
+
return own(inst, key2, value2, false);
|
|
2731
2789
|
}
|
|
2732
2790
|
// @__NO_SIDE_EFFECTS__
|
|
2733
2791
|
function derived(computes, table) {
|
|
@@ -2739,8 +2797,8 @@ function derived(computes, table) {
|
|
|
2739
2797
|
get() {
|
|
2740
2798
|
return own(this, key2, compute(this));
|
|
2741
2799
|
},
|
|
2742
|
-
set(
|
|
2743
|
-
own(this, key2,
|
|
2800
|
+
set(value2) {
|
|
2801
|
+
own(this, key2, value2);
|
|
2744
2802
|
}
|
|
2745
2803
|
});
|
|
2746
2804
|
}
|
|
@@ -2752,8 +2810,8 @@ function defineBound(proto, key2, fn) {
|
|
|
2752
2810
|
get() {
|
|
2753
2811
|
return this == null ? fn : own(this, key2, fn.bind(this));
|
|
2754
2812
|
},
|
|
2755
|
-
set(
|
|
2756
|
-
own(this, key2,
|
|
2813
|
+
set(value2) {
|
|
2814
|
+
own(this, key2, value2);
|
|
2757
2815
|
}
|
|
2758
2816
|
});
|
|
2759
2817
|
}
|
|
@@ -2784,21 +2842,21 @@ function defineLazyInternal(inst, key2, compute) {
|
|
|
2784
2842
|
const outer = broke;
|
|
2785
2843
|
broke = false;
|
|
2786
2844
|
try {
|
|
2787
|
-
const
|
|
2845
|
+
const value2 = compute(this);
|
|
2788
2846
|
if (broke)
|
|
2789
2847
|
delete this[key2];
|
|
2790
2848
|
else
|
|
2791
|
-
Object.defineProperty(this, key2, { configurable: true, writable: true, value });
|
|
2849
|
+
Object.defineProperty(this, key2, { configurable: true, writable: true, value: value2 });
|
|
2792
2850
|
broke = broke || outer;
|
|
2793
|
-
return
|
|
2851
|
+
return value2;
|
|
2794
2852
|
} catch (err2) {
|
|
2795
2853
|
delete this[key2];
|
|
2796
2854
|
broke = broke || outer;
|
|
2797
2855
|
throw err2;
|
|
2798
2856
|
}
|
|
2799
2857
|
},
|
|
2800
|
-
set(
|
|
2801
|
-
Object.defineProperty(this, key2, { configurable: true, writable: true, value });
|
|
2858
|
+
set(value2) {
|
|
2859
|
+
Object.defineProperty(this, key2, { configurable: true, writable: true, value: value2 });
|
|
2802
2860
|
}
|
|
2803
2861
|
});
|
|
2804
2862
|
}
|
|
@@ -2815,14 +2873,14 @@ function installLazyProp(inst, key2, make, enumerable) {
|
|
|
2815
2873
|
Object.defineProperty(this, key2, desc);
|
|
2816
2874
|
return desc.value;
|
|
2817
2875
|
},
|
|
2818
|
-
set(
|
|
2819
|
-
Object.defineProperty(this, key2, { configurable: true, writable: true, enumerable, value });
|
|
2876
|
+
set(value2) {
|
|
2877
|
+
Object.defineProperty(this, key2, { configurable: true, writable: true, enumerable, value: value2 });
|
|
2820
2878
|
}
|
|
2821
2879
|
});
|
|
2822
2880
|
}
|
|
2823
2881
|
var CONSTANT_CATCH = "~constantCatch";
|
|
2824
|
-
function constantCatch(
|
|
2825
|
-
const fn = () =>
|
|
2882
|
+
function constantCatch(value2) {
|
|
2883
|
+
const fn = () => value2;
|
|
2826
2884
|
fn[CONSTANT_CATCH] = true;
|
|
2827
2885
|
return fn;
|
|
2828
2886
|
}
|
|
@@ -2955,8 +3013,8 @@ function _getMessage() {
|
|
|
2955
3013
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
2956
3014
|
return internals.message;
|
|
2957
3015
|
}
|
|
2958
|
-
function _setMessage(
|
|
2959
|
-
this._zod.message =
|
|
3016
|
+
function _setMessage(value2) {
|
|
3017
|
+
this._zod.message = value2;
|
|
2960
3018
|
}
|
|
2961
3019
|
var _messageDesc = {
|
|
2962
3020
|
get: _getMessage,
|
|
@@ -2979,12 +3037,12 @@ var initializer = (inst, def) => {
|
|
|
2979
3037
|
configurable: true,
|
|
2980
3038
|
enumerable: false,
|
|
2981
3039
|
get() {
|
|
2982
|
-
const
|
|
2983
|
-
Object.defineProperty(this, "toString", { value, configurable: true, writable: true });
|
|
2984
|
-
return
|
|
3040
|
+
const value2 = () => this.message;
|
|
3041
|
+
Object.defineProperty(this, "toString", { value: value2, configurable: true, writable: true });
|
|
3042
|
+
return value2;
|
|
2985
3043
|
},
|
|
2986
|
-
set(
|
|
2987
|
-
Object.defineProperty(this, "toString", { value, configurable: true, writable: true });
|
|
3044
|
+
set(value2) {
|
|
3045
|
+
Object.defineProperty(this, "toString", { value: value2, configurable: true, writable: true });
|
|
2988
3046
|
}
|
|
2989
3047
|
});
|
|
2990
3048
|
}
|
|
@@ -3146,9 +3204,9 @@ function finalizeParams(callee, params) {
|
|
|
3146
3204
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
3147
3205
|
}
|
|
3148
3206
|
var _parse = (_Err) => {
|
|
3149
|
-
const fn = (schema,
|
|
3207
|
+
const fn = (schema, value2, _ctx, _params) => {
|
|
3150
3208
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
3151
|
-
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
3209
|
+
const result = schema._zod.run({ value: value2, issues: [] }, ctx);
|
|
3152
3210
|
if (result instanceof Promise) {
|
|
3153
3211
|
throw new $ZodAsyncError();
|
|
3154
3212
|
}
|
|
@@ -3163,9 +3221,9 @@ var _parse = (_Err) => {
|
|
|
3163
3221
|
};
|
|
3164
3222
|
var parse = /* @__PURE__ */ _parse($ZodRealError);
|
|
3165
3223
|
var _parseAsync = (_Err) => {
|
|
3166
|
-
const fn = async (schema,
|
|
3224
|
+
const fn = async (schema, value2, _ctx, params) => {
|
|
3167
3225
|
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
3168
|
-
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
3226
|
+
let result = schema._zod.run({ value: value2, issues: [] }, ctx);
|
|
3169
3227
|
if (result instanceof Promise)
|
|
3170
3228
|
result = await result;
|
|
3171
3229
|
if (result.issues.length) {
|
|
@@ -3178,9 +3236,9 @@ var _parseAsync = (_Err) => {
|
|
|
3178
3236
|
return fn;
|
|
3179
3237
|
};
|
|
3180
3238
|
var parseAsync = /* @__PURE__ */ _parseAsync($ZodRealError);
|
|
3181
|
-
var _safeParse = (_Err) => (schema,
|
|
3239
|
+
var _safeParse = (_Err) => (schema, value2, _ctx) => {
|
|
3182
3240
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
3183
|
-
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
3241
|
+
const result = schema._zod.run({ value: value2, issues: [] }, ctx);
|
|
3184
3242
|
if (result instanceof Promise) {
|
|
3185
3243
|
throw new $ZodAsyncError();
|
|
3186
3244
|
}
|
|
@@ -3206,9 +3264,9 @@ function failure(Err, issues, ctx) {
|
|
|
3206
3264
|
}
|
|
3207
3265
|
};
|
|
3208
3266
|
}
|
|
3209
|
-
var _safeParseAsync = (_Err) => async (schema,
|
|
3267
|
+
var _safeParseAsync = (_Err) => async (schema, value2, _ctx) => {
|
|
3210
3268
|
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
3211
|
-
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
3269
|
+
let result = schema._zod.run({ value: value2, issues: [] }, ctx);
|
|
3212
3270
|
if (result instanceof Promise)
|
|
3213
3271
|
result = await result;
|
|
3214
3272
|
return result.issues.length ? failure(_Err, result.issues, ctx) : { success: true, data: result.value };
|
|
@@ -3216,88 +3274,88 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
3216
3274
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
3217
3275
|
var COMPILE_INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
3218
3276
|
var COMPILE_FALLBACK = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
3219
|
-
var validate = ((schema,
|
|
3277
|
+
var validate = ((schema, value2, _ctx) => {
|
|
3220
3278
|
const validator = schema._zod.bag.validator;
|
|
3221
3279
|
if (validator !== void 0) {
|
|
3222
|
-
if (validator(
|
|
3280
|
+
if (validator(value2) !== COMPILE_INVALID)
|
|
3223
3281
|
return true;
|
|
3224
3282
|
if (validator.definite === true && _ctx === void 0)
|
|
3225
3283
|
return false;
|
|
3226
3284
|
}
|
|
3227
|
-
return validateFallback(schema,
|
|
3285
|
+
return validateFallback(schema, value2, _ctx);
|
|
3228
3286
|
});
|
|
3229
|
-
function validateFallback(schema,
|
|
3287
|
+
function validateFallback(schema, value2, _ctx) {
|
|
3230
3288
|
const ctx = _ctx ? { ..._ctx, async: false, abortEarly: true } : { async: false, abortEarly: true };
|
|
3231
3289
|
const fallbackRun = schema._zod.bag.fallbackRun;
|
|
3232
3290
|
let result;
|
|
3233
3291
|
if (fallbackRun) {
|
|
3234
3292
|
ctx[COMPILE_FALLBACK] = true;
|
|
3235
|
-
result = fallbackRun({ value, issues: [] }, ctx);
|
|
3293
|
+
result = fallbackRun({ value: value2, issues: [] }, ctx);
|
|
3236
3294
|
} else {
|
|
3237
|
-
result = schema._zod.run({ value, issues: [] }, ctx);
|
|
3295
|
+
result = schema._zod.run({ value: value2, issues: [] }, ctx);
|
|
3238
3296
|
}
|
|
3239
3297
|
if (result instanceof Promise) {
|
|
3240
3298
|
throw new $ZodAsyncError();
|
|
3241
3299
|
}
|
|
3242
3300
|
return result.issues.length === 0;
|
|
3243
3301
|
}
|
|
3244
|
-
var validateAsync = async (schema,
|
|
3302
|
+
var validateAsync = async (schema, value2, _ctx) => {
|
|
3245
3303
|
const ctx = _ctx ? { ..._ctx, async: true, abortEarly: true } : { async: true, abortEarly: true };
|
|
3246
|
-
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
3304
|
+
let result = schema._zod.run({ value: value2, issues: [] }, ctx);
|
|
3247
3305
|
if (result instanceof Promise)
|
|
3248
3306
|
result = await result;
|
|
3249
3307
|
return result.issues.length === 0;
|
|
3250
3308
|
};
|
|
3251
3309
|
var _encode = (_Err) => {
|
|
3252
3310
|
const parse3 = _parse(_Err);
|
|
3253
|
-
const fn = (schema,
|
|
3311
|
+
const fn = (schema, value2, _ctx, _params) => {
|
|
3254
3312
|
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
3255
|
-
return parse3(schema,
|
|
3313
|
+
return parse3(schema, value2, ctx, finalizeParams(fn, _params));
|
|
3256
3314
|
};
|
|
3257
3315
|
return fn;
|
|
3258
3316
|
};
|
|
3259
3317
|
var encode = /* @__PURE__ */ _encode($ZodRealError);
|
|
3260
3318
|
var _decode = (_Err) => {
|
|
3261
3319
|
const parse3 = _parse(_Err);
|
|
3262
|
-
const fn = (schema,
|
|
3263
|
-
return parse3(schema,
|
|
3320
|
+
const fn = (schema, value2, _ctx, _params) => {
|
|
3321
|
+
return parse3(schema, value2, _ctx, finalizeParams(fn, _params));
|
|
3264
3322
|
};
|
|
3265
3323
|
return fn;
|
|
3266
3324
|
};
|
|
3267
3325
|
var decode = /* @__PURE__ */ _decode($ZodRealError);
|
|
3268
3326
|
var _encodeAsync = (_Err) => {
|
|
3269
3327
|
const parseAsync3 = _parseAsync(_Err);
|
|
3270
|
-
const fn = async (schema,
|
|
3328
|
+
const fn = async (schema, value2, _ctx, _params) => {
|
|
3271
3329
|
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
3272
|
-
return await parseAsync3(schema,
|
|
3330
|
+
return await parseAsync3(schema, value2, ctx, finalizeParams(fn, _params));
|
|
3273
3331
|
};
|
|
3274
3332
|
return fn;
|
|
3275
3333
|
};
|
|
3276
3334
|
var encodeAsync = /* @__PURE__ */ _encodeAsync($ZodRealError);
|
|
3277
3335
|
var _decodeAsync = (_Err) => {
|
|
3278
3336
|
const parseAsync3 = _parseAsync(_Err);
|
|
3279
|
-
const fn = async (schema,
|
|
3280
|
-
return await parseAsync3(schema,
|
|
3337
|
+
const fn = async (schema, value2, _ctx, _params) => {
|
|
3338
|
+
return await parseAsync3(schema, value2, _ctx, finalizeParams(fn, _params));
|
|
3281
3339
|
};
|
|
3282
3340
|
return fn;
|
|
3283
3341
|
};
|
|
3284
3342
|
var decodeAsync = /* @__PURE__ */ _decodeAsync($ZodRealError);
|
|
3285
|
-
var _safeEncode = (_Err) => (schema,
|
|
3343
|
+
var _safeEncode = (_Err) => (schema, value2, _ctx) => {
|
|
3286
3344
|
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
3287
|
-
return _safeParse(_Err)(schema,
|
|
3345
|
+
return _safeParse(_Err)(schema, value2, ctx);
|
|
3288
3346
|
};
|
|
3289
3347
|
var safeEncode = /* @__PURE__ */ _safeEncode($ZodRealError);
|
|
3290
|
-
var _safeDecode = (_Err) => (schema,
|
|
3291
|
-
return _safeParse(_Err)(schema,
|
|
3348
|
+
var _safeDecode = (_Err) => (schema, value2, _ctx) => {
|
|
3349
|
+
return _safeParse(_Err)(schema, value2, _ctx);
|
|
3292
3350
|
};
|
|
3293
3351
|
var safeDecode = /* @__PURE__ */ _safeDecode($ZodRealError);
|
|
3294
|
-
var _safeEncodeAsync = (_Err) => async (schema,
|
|
3352
|
+
var _safeEncodeAsync = (_Err) => async (schema, value2, _ctx) => {
|
|
3295
3353
|
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
3296
|
-
return _safeParseAsync(_Err)(schema,
|
|
3354
|
+
return _safeParseAsync(_Err)(schema, value2, ctx);
|
|
3297
3355
|
};
|
|
3298
3356
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
|
|
3299
|
-
var _safeDecodeAsync = (_Err) => async (schema,
|
|
3300
|
-
return _safeParseAsync(_Err)(schema,
|
|
3357
|
+
var _safeDecodeAsync = (_Err) => async (schema, value2, _ctx) => {
|
|
3358
|
+
return _safeParseAsync(_Err)(schema, value2, _ctx);
|
|
3301
3359
|
};
|
|
3302
3360
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
3303
3361
|
|
|
@@ -4103,26 +4161,26 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
4103
4161
|
get "~standard"() {
|
|
4104
4162
|
return hide(this, "~standard", standardProps(this));
|
|
4105
4163
|
},
|
|
4106
|
-
set "~standard"(
|
|
4107
|
-
own(this, "~standard",
|
|
4164
|
+
set "~standard"(value2) {
|
|
4165
|
+
own(this, "~standard", value2);
|
|
4108
4166
|
}
|
|
4109
4167
|
});
|
|
4110
4168
|
var toStandardResult = (r, ctx) => r.issues.length ? { issues: r.issues.map((iss) => finalizeIssue(iss, ctx, config())) } : { value: r.value };
|
|
4111
|
-
async function validateAsync2(inst,
|
|
4169
|
+
async function validateAsync2(inst, value2) {
|
|
4112
4170
|
const ctx = { async: true };
|
|
4113
|
-
return toStandardResult(await inst._zod.run({ value, issues: [] }, ctx), ctx);
|
|
4171
|
+
return toStandardResult(await inst._zod.run({ value: value2, issues: [] }, ctx), ctx);
|
|
4114
4172
|
}
|
|
4115
4173
|
function standardProps(inst) {
|
|
4116
4174
|
return {
|
|
4117
|
-
validate: (
|
|
4175
|
+
validate: (value2) => {
|
|
4118
4176
|
const ctx = { async: false };
|
|
4119
4177
|
try {
|
|
4120
|
-
const r = inst._zod.run({ value, issues: [] }, ctx);
|
|
4178
|
+
const r = inst._zod.run({ value: value2, issues: [] }, ctx);
|
|
4121
4179
|
if (!(r instanceof Promise))
|
|
4122
4180
|
return toStandardResult(r, ctx);
|
|
4123
4181
|
} catch (_) {
|
|
4124
4182
|
}
|
|
4125
|
-
return validateAsync2(inst,
|
|
4183
|
+
return validateAsync2(inst, value2);
|
|
4126
4184
|
},
|
|
4127
4185
|
vendor: "zod",
|
|
4128
4186
|
version: 1
|
|
@@ -4214,8 +4272,8 @@ function parseURLObject(trimmed, def) {
|
|
|
4214
4272
|
}
|
|
4215
4273
|
}
|
|
4216
4274
|
var asciiTabOrNewline = /[\t\n\r]/g;
|
|
4217
|
-
function stripTabAndNewline(
|
|
4218
|
-
return
|
|
4275
|
+
function stripTabAndNewline(value2) {
|
|
4276
|
+
return value2.replace(asciiTabOrNewline, "");
|
|
4219
4277
|
}
|
|
4220
4278
|
function urlHostnameOk(url2, hostname4) {
|
|
4221
4279
|
hostname4.lastIndex = 0;
|
|
@@ -4342,10 +4400,10 @@ var $ZodIPv4 = /* @__PURE__ */ $constructor("$ZodIPv4", (inst, def) => {
|
|
|
4342
4400
|
$ZodStringFormat.init(inst, def);
|
|
4343
4401
|
});
|
|
4344
4402
|
var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
4345
|
-
function isValidIPv6(
|
|
4346
|
-
if (!ipv6Alphabet.test(
|
|
4403
|
+
function isValidIPv6(value2) {
|
|
4404
|
+
if (!ipv6Alphabet.test(value2))
|
|
4347
4405
|
return false;
|
|
4348
|
-
return canParseURL(`http://[${
|
|
4406
|
+
return canParseURL(`http://[${value2}]`);
|
|
4349
4407
|
}
|
|
4350
4408
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
4351
4409
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -4370,8 +4428,8 @@ var $ZodCIDRv4 = /* @__PURE__ */ $constructor("$ZodCIDRv4", (inst, def) => {
|
|
|
4370
4428
|
def.pattern ?? (def.pattern = cidrv4);
|
|
4371
4429
|
$ZodStringFormat.init(inst, def);
|
|
4372
4430
|
});
|
|
4373
|
-
function isValidCIDRv6(
|
|
4374
|
-
const parts2 =
|
|
4431
|
+
function isValidCIDRv6(value2) {
|
|
4432
|
+
const parts2 = value2.split("/");
|
|
4375
4433
|
if (parts2.length !== 2)
|
|
4376
4434
|
return false;
|
|
4377
4435
|
const [address, prefix] = parts2;
|
|
@@ -4462,9 +4520,9 @@ function isLuhnAlgo(digits) {
|
|
|
4462
4520
|
let bit = 1;
|
|
4463
4521
|
let sum = 0;
|
|
4464
4522
|
while (length) {
|
|
4465
|
-
const
|
|
4523
|
+
const value2 = digits.charCodeAt(--length) - 48;
|
|
4466
4524
|
bit ^= 1;
|
|
4467
|
-
sum += bit ? [0, 2, 4, 6, 8, 1, 3, 5, 7, 9][
|
|
4525
|
+
sum += bit ? [0, 2, 4, 6, 8, 1, 3, 5, 7, 9][value2] : value2;
|
|
4468
4526
|
}
|
|
4469
4527
|
return sum % 10 === 0;
|
|
4470
4528
|
}
|
|
@@ -4940,14 +4998,14 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
4940
4998
|
const shape = zod.def.shape;
|
|
4941
4999
|
const propValues = {};
|
|
4942
5000
|
for (const key2 in shape) {
|
|
4943
|
-
const
|
|
4944
|
-
if (
|
|
5001
|
+
const field2 = shape[key2]._zod;
|
|
5002
|
+
if (field2.values) {
|
|
4945
5003
|
if (!Object.prototype.hasOwnProperty.call(propValues, key2)) {
|
|
4946
5004
|
assignProp(propValues, key2, /* @__PURE__ */ new Set());
|
|
4947
5005
|
}
|
|
4948
|
-
for (const v of
|
|
5006
|
+
for (const v of field2.values)
|
|
4949
5007
|
propValues[key2].add(v);
|
|
4950
|
-
if (
|
|
5008
|
+
if (field2.optin !== void 0)
|
|
4951
5009
|
propValues[key2].add(void 0);
|
|
4952
5010
|
}
|
|
4953
5011
|
}
|
|
@@ -4955,11 +5013,11 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
4955
5013
|
});
|
|
4956
5014
|
const isObject2 = isObject;
|
|
4957
5015
|
const catchall = def.catchall;
|
|
4958
|
-
let
|
|
5016
|
+
let value2;
|
|
4959
5017
|
const memo2 = globalConfig.memoizer;
|
|
4960
5018
|
memo2?.attach(inst);
|
|
4961
5019
|
inst._zod.parse = (payload, ctx) => {
|
|
4962
|
-
|
|
5020
|
+
value2 ?? (value2 = _normalized.value);
|
|
4963
5021
|
const input2 = payload.value;
|
|
4964
5022
|
if (!isObject2(input2)) {
|
|
4965
5023
|
payload.issues.push({
|
|
@@ -4972,10 +5030,10 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
4972
5030
|
}
|
|
4973
5031
|
payload.value = memo2 ? memo2.alloc(inst, payload, {}, ctx) : {};
|
|
4974
5032
|
const proms = [];
|
|
4975
|
-
const shape =
|
|
5033
|
+
const shape = value2.shape;
|
|
4976
5034
|
const abortEarly = ctx?.abortEarly;
|
|
4977
5035
|
let seen = payload.issues.length;
|
|
4978
|
-
for (const key2 of
|
|
5036
|
+
for (const key2 of value2.allKeys) {
|
|
4979
5037
|
if (abortEarly && payload.issues.length !== seen) {
|
|
4980
5038
|
if (aborted(payload, seen))
|
|
4981
5039
|
break;
|
|
@@ -5102,9 +5160,9 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
5102
5160
|
const allowsEval2 = allowsEval;
|
|
5103
5161
|
const fastEnabled = jit && allowsEval2.value;
|
|
5104
5162
|
const catchall = def.catchall;
|
|
5105
|
-
let
|
|
5163
|
+
let value2;
|
|
5106
5164
|
inst._zod.parse = (payload, ctx) => {
|
|
5107
|
-
|
|
5165
|
+
value2 ?? (value2 = _normalized.value);
|
|
5108
5166
|
const input2 = payload.value;
|
|
5109
5167
|
if (!isObject2(input2)) {
|
|
5110
5168
|
payload.issues.push({
|
|
@@ -5121,7 +5179,7 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
5121
5179
|
payload = fastpass(payload, ctx);
|
|
5122
5180
|
if (!catchall)
|
|
5123
5181
|
return payload;
|
|
5124
|
-
return handleCatchall([], input2, payload, ctx,
|
|
5182
|
+
return handleCatchall([], input2, payload, ctx, value2, inst, ctx?.abortEarly === true);
|
|
5125
5183
|
}
|
|
5126
5184
|
return superParse(payload, ctx);
|
|
5127
5185
|
};
|
|
@@ -5249,16 +5307,16 @@ var $ZodXor = /* @__PURE__ */ $constructor("$ZodXor", (inst, def) => {
|
|
|
5249
5307
|
});
|
|
5250
5308
|
};
|
|
5251
5309
|
});
|
|
5252
|
-
function getDiscriminatedOption(union2,
|
|
5310
|
+
function getDiscriminatedOption(union2, value2) {
|
|
5253
5311
|
const internals = union2._zod;
|
|
5254
5312
|
let map2 = internals.bag.optionsMap;
|
|
5255
5313
|
if (!map2) {
|
|
5256
5314
|
map2 = discriminatorMap(internals.def);
|
|
5257
5315
|
internals.bag.optionsMap = map2;
|
|
5258
5316
|
}
|
|
5259
|
-
const option = map2.get(
|
|
5317
|
+
const option = map2.get(value2);
|
|
5260
5318
|
if (option === null)
|
|
5261
|
-
throw new Error(`Ambiguous discriminator value "${String(
|
|
5319
|
+
throw new Error(`Ambiguous discriminator value "${String(value2)}"`);
|
|
5262
5320
|
return option;
|
|
5263
5321
|
}
|
|
5264
5322
|
function discriminatorMap(def) {
|
|
@@ -5267,13 +5325,13 @@ function discriminatorMap(def) {
|
|
|
5267
5325
|
const values = option._zod.propValues?.[def.discriminator];
|
|
5268
5326
|
if (!values || values.size === 0)
|
|
5269
5327
|
throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option)}"`);
|
|
5270
|
-
for (const
|
|
5271
|
-
if (map2.has(
|
|
5272
|
-
if (
|
|
5273
|
-
throw new Error(`Duplicate discriminator value "${String(
|
|
5274
|
-
map2.set(
|
|
5328
|
+
for (const value2 of values) {
|
|
5329
|
+
if (map2.has(value2)) {
|
|
5330
|
+
if (value2 !== void 0)
|
|
5331
|
+
throw new Error(`Duplicate discriminator value "${String(value2)}"`);
|
|
5332
|
+
map2.set(value2, null);
|
|
5275
5333
|
} else {
|
|
5276
|
-
map2.set(
|
|
5334
|
+
map2.set(value2, option);
|
|
5277
5335
|
}
|
|
5278
5336
|
}
|
|
5279
5337
|
}
|
|
@@ -5323,9 +5381,9 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
5323
5381
|
});
|
|
5324
5382
|
return payload;
|
|
5325
5383
|
}
|
|
5326
|
-
const
|
|
5327
|
-
const opt = disc.value.get(
|
|
5328
|
-
if (opt && (
|
|
5384
|
+
const value2 = input2?.[def.discriminator];
|
|
5385
|
+
const opt = disc.value.get(value2);
|
|
5386
|
+
if (opt && (value2 !== void 0 || ctx.direction !== "backward")) {
|
|
5329
5387
|
return opt._zod.run(payload, ctx);
|
|
5330
5388
|
}
|
|
5331
5389
|
if (def.unionFallback || ctx.direction === "backward") {
|
|
@@ -5336,7 +5394,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
5336
5394
|
errors: [],
|
|
5337
5395
|
note: "No matching discriminator",
|
|
5338
5396
|
discriminator: def.discriminator,
|
|
5339
|
-
options: Array.from(disc.value.keys()).filter((
|
|
5397
|
+
options: Array.from(disc.value.keys()).filter((value3) => disc.value.get(value3) !== null),
|
|
5340
5398
|
input: input2,
|
|
5341
5399
|
path: [def.discriminator],
|
|
5342
5400
|
inst
|
|
@@ -5755,14 +5813,14 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
5755
5813
|
payload.value = memo2 ? memo2.alloc(inst, payload, /* @__PURE__ */ new Map(), ctx) : /* @__PURE__ */ new Map();
|
|
5756
5814
|
const abortEarly = ctx?.abortEarly;
|
|
5757
5815
|
let seen = payload.issues.length;
|
|
5758
|
-
for (const [key2,
|
|
5816
|
+
for (const [key2, value2] of input2) {
|
|
5759
5817
|
if (abortEarly && payload.issues.length !== seen) {
|
|
5760
5818
|
if (aborted(payload, seen))
|
|
5761
5819
|
break;
|
|
5762
5820
|
seen = payload.issues.length;
|
|
5763
5821
|
}
|
|
5764
5822
|
const keyResult = def.keyType._zod.run({ value: key2, issues: [] }, ctx);
|
|
5765
|
-
const valueResult = def.valueType._zod.run({ value, issues: [] }, ctx);
|
|
5823
|
+
const valueResult = def.valueType._zod.run({ value: value2, issues: [] }, ctx);
|
|
5766
5824
|
if (keyResult instanceof Promise || valueResult instanceof Promise) {
|
|
5767
5825
|
proms.push(Promise.all([keyResult, valueResult]).then(([keyResult2, valueResult2]) => {
|
|
5768
5826
|
handleMapResult(keyResult2, valueResult2, payload, key2, input2, inst, ctx);
|
|
@@ -6175,23 +6233,23 @@ function handleCodecAResult(result, def, ctx) {
|
|
|
6175
6233
|
if (direction === "forward") {
|
|
6176
6234
|
const transformed = def.transform(result.value, result);
|
|
6177
6235
|
if (transformed instanceof Promise) {
|
|
6178
|
-
return transformed.then((
|
|
6236
|
+
return transformed.then((value2) => handleCodecTxResult(result, value2, def.out, ctx));
|
|
6179
6237
|
}
|
|
6180
6238
|
return handleCodecTxResult(result, transformed, def.out, ctx);
|
|
6181
6239
|
} else {
|
|
6182
6240
|
const transformed = def.reverseTransform(result.value, result);
|
|
6183
6241
|
if (transformed instanceof Promise) {
|
|
6184
|
-
return transformed.then((
|
|
6242
|
+
return transformed.then((value2) => handleCodecTxResult(result, value2, def.in, ctx));
|
|
6185
6243
|
}
|
|
6186
6244
|
return handleCodecTxResult(result, transformed, def.in, ctx);
|
|
6187
6245
|
}
|
|
6188
6246
|
}
|
|
6189
|
-
function handleCodecTxResult(left,
|
|
6247
|
+
function handleCodecTxResult(left, value2, nextSchema, ctx) {
|
|
6190
6248
|
if (left.issues.length) {
|
|
6191
6249
|
left.aborted = true;
|
|
6192
6250
|
return left;
|
|
6193
6251
|
}
|
|
6194
|
-
return nextSchema._zod.run({ value, issues: left.issues }, ctx);
|
|
6252
|
+
return nextSchema._zod.run({ value: value2, issues: left.issues }, ctx);
|
|
6195
6253
|
}
|
|
6196
6254
|
var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
|
|
6197
6255
|
$ZodPipe.init(inst, def);
|
|
@@ -6448,8 +6506,8 @@ var $ZodCyclicError = class extends Error {
|
|
|
6448
6506
|
};
|
|
6449
6507
|
var STATE = "~memo";
|
|
6450
6508
|
var NO_ISSUES = [];
|
|
6451
|
-
function isRef(
|
|
6452
|
-
return
|
|
6509
|
+
function isRef(value2) {
|
|
6510
|
+
return value2 !== null && typeof value2 === "object";
|
|
6453
6511
|
}
|
|
6454
6512
|
function cloneIssues(issues) {
|
|
6455
6513
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -6576,13 +6634,13 @@ function isRecursive(inst, stack, resolve10) {
|
|
|
6576
6634
|
const desc = Object.getOwnPropertyDescriptor(def, key2);
|
|
6577
6635
|
if (!desc || desc.get)
|
|
6578
6636
|
continue;
|
|
6579
|
-
const
|
|
6580
|
-
if (!
|
|
6637
|
+
const value2 = desc.value;
|
|
6638
|
+
if (!value2 || typeof value2 !== "object")
|
|
6581
6639
|
continue;
|
|
6582
|
-
if (
|
|
6583
|
-
check2(
|
|
6584
|
-
else if (Array.isArray(
|
|
6585
|
-
for (const el of
|
|
6640
|
+
if (value2._zod)
|
|
6641
|
+
check2(value2);
|
|
6642
|
+
else if (Array.isArray(value2))
|
|
6643
|
+
for (const el of value2)
|
|
6586
6644
|
check2(el);
|
|
6587
6645
|
}
|
|
6588
6646
|
}
|
|
@@ -6711,9 +6769,9 @@ var memo = {
|
|
|
6711
6769
|
function memoizer() {
|
|
6712
6770
|
return memo;
|
|
6713
6771
|
}
|
|
6714
|
-
function isBackEdge(ctx,
|
|
6772
|
+
function isBackEdge(ctx, value2) {
|
|
6715
6773
|
const backEdges = ctx[STATE]?.backEdges;
|
|
6716
|
-
return backEdges !== void 0 && isRef(
|
|
6774
|
+
return backEdges !== void 0 && isRef(value2) && backEdges.has(value2);
|
|
6717
6775
|
}
|
|
6718
6776
|
|
|
6719
6777
|
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/index.js
|
|
@@ -14463,13 +14521,13 @@ ${code}
|
|
|
14463
14521
|
fn.definite = ctx.definite;
|
|
14464
14522
|
return fn;
|
|
14465
14523
|
}
|
|
14466
|
-
function addConstant(ctx,
|
|
14524
|
+
function addConstant(ctx, value2) {
|
|
14467
14525
|
for (const [name2, v] of ctx.constants) {
|
|
14468
|
-
if (v ===
|
|
14526
|
+
if (v === value2)
|
|
14469
14527
|
return name2;
|
|
14470
14528
|
}
|
|
14471
14529
|
const name = `c${ctx.constantCounter++}`;
|
|
14472
|
-
ctx.constants.set(name,
|
|
14530
|
+
ctx.constants.set(name, value2);
|
|
14473
14531
|
return name;
|
|
14474
14532
|
}
|
|
14475
14533
|
function addUserConstant(ctx, fn) {
|
|
@@ -14479,8 +14537,8 @@ function addUserConstant(ctx, fn) {
|
|
|
14479
14537
|
function newVar(ctx) {
|
|
14480
14538
|
return `v${ctx.varCounter++}`;
|
|
14481
14539
|
}
|
|
14482
|
-
function runtimeRun(schema,
|
|
14483
|
-
const result = schema._zod.run({ value, issues: [] }, {});
|
|
14540
|
+
function runtimeRun(schema, value2) {
|
|
14541
|
+
const result = schema._zod.run({ value: value2, issues: [] }, {});
|
|
14484
14542
|
if (result && typeof result.then === "function")
|
|
14485
14543
|
return INVALID;
|
|
14486
14544
|
const r = result;
|
|
@@ -14612,27 +14670,27 @@ function codePointLengthVar(doc, ctx, accessor, inDoubt) {
|
|
|
14612
14670
|
doc.write(`const ${v} = typeof ${accessor} === "string" && ${inDoubt} ? ${cpLen}(${accessor}) : ${accessor}.length;`);
|
|
14613
14671
|
return v;
|
|
14614
14672
|
}
|
|
14615
|
-
function numericOperand(
|
|
14616
|
-
if (typeof
|
|
14617
|
-
throw new ZodCompileUnsupportedError(`${label} bound of type ${typeof
|
|
14673
|
+
function numericOperand(value2, label) {
|
|
14674
|
+
if (typeof value2 !== "number" || !Number.isFinite(value2)) {
|
|
14675
|
+
throw new ZodCompileUnsupportedError(`${label} bound of type ${typeof value2}`);
|
|
14618
14676
|
}
|
|
14619
|
-
return `${
|
|
14677
|
+
return `${value2}`;
|
|
14620
14678
|
}
|
|
14621
|
-
function comparisonOperand(ctx,
|
|
14622
|
-
if (typeof
|
|
14623
|
-
return `${
|
|
14624
|
-
if (typeof
|
|
14625
|
-
if (Number.isNaN(
|
|
14679
|
+
function comparisonOperand(ctx, value2) {
|
|
14680
|
+
if (typeof value2 === "bigint")
|
|
14681
|
+
return `${value2}n`;
|
|
14682
|
+
if (typeof value2 === "number") {
|
|
14683
|
+
if (Number.isNaN(value2))
|
|
14626
14684
|
throw new ZodCompileUnsupportedError("comparison check with NaN bound");
|
|
14627
|
-
return `${
|
|
14685
|
+
return `${value2}`;
|
|
14628
14686
|
}
|
|
14629
|
-
if (
|
|
14630
|
-
if (Number.isNaN(
|
|
14687
|
+
if (value2 instanceof Date) {
|
|
14688
|
+
if (Number.isNaN(value2.getTime())) {
|
|
14631
14689
|
throw new ZodCompileUnsupportedError("comparison check with Invalid Date bound");
|
|
14632
14690
|
}
|
|
14633
|
-
return addConstant(ctx,
|
|
14691
|
+
return addConstant(ctx, value2);
|
|
14634
14692
|
}
|
|
14635
|
-
throw new ZodCompileUnsupportedError(`comparison check bound of type ${typeof
|
|
14693
|
+
throw new ZodCompileUnsupportedError(`comparison check bound of type ${typeof value2}`);
|
|
14636
14694
|
}
|
|
14637
14695
|
function generateGreaterThanCheck(doc, ctx, def, accessor) {
|
|
14638
14696
|
const op = def.inclusive ? "<" : "<=";
|
|
@@ -14753,8 +14811,8 @@ function generateCustomRefineCheck(doc, ctx, check2, accessor) {
|
|
|
14753
14811
|
throw new ZodCompileAsyncError("z.compile: async .superRefine() / check functions are not supported");
|
|
14754
14812
|
}
|
|
14755
14813
|
const checkFn = check2._zod.check;
|
|
14756
|
-
const helperFn = (
|
|
14757
|
-
const fakePayload = { value, issues: [], addIssue: pushIssue };
|
|
14814
|
+
const helperFn = (value2) => {
|
|
14815
|
+
const fakePayload = { value: value2, issues: [], addIssue: pushIssue };
|
|
14758
14816
|
const result = checkFn(fakePayload);
|
|
14759
14817
|
if (result instanceof Promise)
|
|
14760
14818
|
throwAsync();
|
|
@@ -15405,24 +15463,24 @@ function generateLiteralCheck(doc, ctx, schema, accessor) {
|
|
|
15405
15463
|
doc.write(`if (!${literalSet}.has(${accessor})) return INVALID;`);
|
|
15406
15464
|
return accessor;
|
|
15407
15465
|
}
|
|
15408
|
-
const
|
|
15409
|
-
if (typeof
|
|
15466
|
+
const value2 = values[0];
|
|
15467
|
+
if (typeof value2 === "number" && Number.isNaN(value2)) {
|
|
15410
15468
|
const literalSet = addConstant(ctx, new Set(values));
|
|
15411
15469
|
doc.write(`if (!${literalSet}.has(${accessor})) return INVALID;`);
|
|
15412
15470
|
return accessor;
|
|
15413
15471
|
}
|
|
15414
|
-
if (typeof
|
|
15415
|
-
doc.write(`if (${accessor} !== ${esc(
|
|
15416
|
-
} else if (typeof
|
|
15417
|
-
doc.write(`if (${accessor} !== ${
|
|
15418
|
-
} else if (
|
|
15472
|
+
if (typeof value2 === "string") {
|
|
15473
|
+
doc.write(`if (${accessor} !== ${esc(value2)}) return INVALID;`);
|
|
15474
|
+
} else if (typeof value2 === "number" || typeof value2 === "boolean") {
|
|
15475
|
+
doc.write(`if (${accessor} !== ${value2}) return INVALID;`);
|
|
15476
|
+
} else if (value2 === null) {
|
|
15419
15477
|
doc.write(`if (${accessor} !== null) return INVALID;`);
|
|
15420
|
-
} else if (
|
|
15478
|
+
} else if (value2 === void 0) {
|
|
15421
15479
|
doc.write(`if (${accessor} !== undefined) return INVALID;`);
|
|
15422
|
-
} else if (typeof
|
|
15423
|
-
doc.write(`if (${accessor} !== ${
|
|
15480
|
+
} else if (typeof value2 === "bigint") {
|
|
15481
|
+
doc.write(`if (${accessor} !== ${value2}n) return INVALID;`);
|
|
15424
15482
|
} else {
|
|
15425
|
-
throw new ZodCompileUnsupportedError(`literal type ${typeof
|
|
15483
|
+
throw new ZodCompileUnsupportedError(`literal type ${typeof value2}`);
|
|
15426
15484
|
}
|
|
15427
15485
|
return accessor;
|
|
15428
15486
|
}
|
|
@@ -15622,13 +15680,13 @@ function generateDiscriminatedUnionCheck(doc, ctx, def, accessor) {
|
|
|
15622
15680
|
if (!values || values.size === 0) {
|
|
15623
15681
|
throw new ZodCompileUnsupportedError("discriminated union option without static discriminator values");
|
|
15624
15682
|
}
|
|
15625
|
-
for (const
|
|
15626
|
-
if (claimed.has(
|
|
15627
|
-
throw new ZodCompileUnsupportedError(`duplicate discriminator value ${String(
|
|
15683
|
+
for (const value2 of values) {
|
|
15684
|
+
if (claimed.has(value2)) {
|
|
15685
|
+
throw new ZodCompileUnsupportedError(`duplicate discriminator value ${String(value2)}`);
|
|
15628
15686
|
}
|
|
15629
|
-
claimed.add(
|
|
15687
|
+
claimed.add(value2);
|
|
15630
15688
|
}
|
|
15631
|
-
const conditions = Array.from(values, (
|
|
15689
|
+
const conditions = Array.from(values, (value2) => literalEquality(ctx, discVar, value2));
|
|
15632
15690
|
const prefix = firstBranch ? "if" : "else if";
|
|
15633
15691
|
doc.write(`${prefix} (${conditions.join(" || ")}) {`);
|
|
15634
15692
|
doc.indented((d) => {
|
|
@@ -15641,27 +15699,27 @@ function generateDiscriminatedUnionCheck(doc, ctx, def, accessor) {
|
|
|
15641
15699
|
doc.write(`else { return INVALID; }`);
|
|
15642
15700
|
return outputVar;
|
|
15643
15701
|
}
|
|
15644
|
-
function literalEquality(ctx, accessor,
|
|
15645
|
-
if (typeof
|
|
15646
|
-
return `${accessor} === ${esc(
|
|
15647
|
-
if (typeof
|
|
15648
|
-
if (Number.isNaN(
|
|
15702
|
+
function literalEquality(ctx, accessor, value2) {
|
|
15703
|
+
if (typeof value2 === "string")
|
|
15704
|
+
return `${accessor} === ${esc(value2)}`;
|
|
15705
|
+
if (typeof value2 === "number") {
|
|
15706
|
+
if (Number.isNaN(value2))
|
|
15649
15707
|
return `Number.isNaN(${accessor})`;
|
|
15650
|
-
return `${accessor} === ${
|
|
15708
|
+
return `${accessor} === ${value2}`;
|
|
15651
15709
|
}
|
|
15652
|
-
if (typeof
|
|
15653
|
-
return `${accessor} === ${
|
|
15654
|
-
if (
|
|
15710
|
+
if (typeof value2 === "boolean")
|
|
15711
|
+
return `${accessor} === ${value2}`;
|
|
15712
|
+
if (value2 === null)
|
|
15655
15713
|
return `${accessor} === null`;
|
|
15656
|
-
if (
|
|
15714
|
+
if (value2 === void 0)
|
|
15657
15715
|
return `${accessor} === undefined`;
|
|
15658
|
-
if (typeof
|
|
15659
|
-
return `${accessor} === ${
|
|
15660
|
-
if (typeof
|
|
15661
|
-
const symbolConst = addConstant(ctx,
|
|
15716
|
+
if (typeof value2 === "bigint")
|
|
15717
|
+
return `${accessor} === ${value2}n`;
|
|
15718
|
+
if (typeof value2 === "symbol") {
|
|
15719
|
+
const symbolConst = addConstant(ctx, value2);
|
|
15662
15720
|
return `${accessor} === ${symbolConst}`;
|
|
15663
15721
|
}
|
|
15664
|
-
throw new ZodCompileUnsupportedError(`literal discriminator value ${String(
|
|
15722
|
+
throw new ZodCompileUnsupportedError(`literal discriminator value ${String(value2)}`);
|
|
15665
15723
|
}
|
|
15666
15724
|
function generateIntersectionCheck(doc, ctx, schema, accessor) {
|
|
15667
15725
|
const def = schema._zod.def;
|
|
@@ -15852,9 +15910,9 @@ function generatePipeCheck(doc, ctx, schema, accessor) {
|
|
|
15852
15910
|
throw new ZodCompileAsyncError("z.compile: async transforms in pipes are not supported");
|
|
15853
15911
|
}
|
|
15854
15912
|
const transformFn = def.transform;
|
|
15855
|
-
const helperFn = (
|
|
15856
|
-
const fakePayload = { value, issues: [], addIssue: pushIssue };
|
|
15857
|
-
const result = transformFn(
|
|
15913
|
+
const helperFn = (value2) => {
|
|
15914
|
+
const fakePayload = { value: value2, issues: [], addIssue: pushIssue };
|
|
15915
|
+
const result = transformFn(value2, fakePayload);
|
|
15858
15916
|
if (result instanceof Promise)
|
|
15859
15917
|
return INVALID;
|
|
15860
15918
|
return fakePayload.issues.length === 0 ? result : INVALID;
|
|
@@ -15888,8 +15946,8 @@ function generateCustomCheck(doc, ctx, schema, accessor) {
|
|
|
15888
15946
|
}
|
|
15889
15947
|
return accessor;
|
|
15890
15948
|
}
|
|
15891
|
-
function runtimeCatch(innerSchema, catchValue,
|
|
15892
|
-
const result = innerSchema._zod.run({ value, issues: [] }, {});
|
|
15949
|
+
function runtimeCatch(innerSchema, catchValue, value2) {
|
|
15950
|
+
const result = innerSchema._zod.run({ value: value2, issues: [] }, {});
|
|
15893
15951
|
if (result && typeof result.then === "function")
|
|
15894
15952
|
return INVALID;
|
|
15895
15953
|
const r = result;
|
|
@@ -15927,9 +15985,9 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
15927
15985
|
throw new ZodCompileAsyncError("z.compile: async transforms are not supported");
|
|
15928
15986
|
}
|
|
15929
15987
|
const transformFn = def.transform;
|
|
15930
|
-
const helperFn = (
|
|
15931
|
-
const fakePayload = { value, issues: [], addIssue: pushIssue };
|
|
15932
|
-
const result = transformFn(
|
|
15988
|
+
const helperFn = (value2) => {
|
|
15989
|
+
const fakePayload = { value: value2, issues: [], addIssue: pushIssue };
|
|
15990
|
+
const result = transformFn(value2, fakePayload);
|
|
15933
15991
|
if (result instanceof Promise)
|
|
15934
15992
|
return INVALID;
|
|
15935
15993
|
return fakePayload.issues.length === 0 ? result : INVALID;
|
|
@@ -16435,38 +16493,38 @@ function _nan(Class2, params) {
|
|
|
16435
16493
|
});
|
|
16436
16494
|
}
|
|
16437
16495
|
// @__NO_SIDE_EFFECTS__
|
|
16438
|
-
function _lt(
|
|
16496
|
+
function _lt(value2, params) {
|
|
16439
16497
|
return new $ZodCheckLessThan({
|
|
16440
16498
|
check: "less_than",
|
|
16441
16499
|
...normalizeParams(params),
|
|
16442
|
-
value,
|
|
16500
|
+
value: value2,
|
|
16443
16501
|
inclusive: false
|
|
16444
16502
|
});
|
|
16445
16503
|
}
|
|
16446
16504
|
// @__NO_SIDE_EFFECTS__
|
|
16447
|
-
function _lte(
|
|
16505
|
+
function _lte(value2, params) {
|
|
16448
16506
|
return new $ZodCheckLessThan({
|
|
16449
16507
|
check: "less_than",
|
|
16450
16508
|
...normalizeParams(params),
|
|
16451
|
-
value,
|
|
16509
|
+
value: value2,
|
|
16452
16510
|
inclusive: true
|
|
16453
16511
|
});
|
|
16454
16512
|
}
|
|
16455
16513
|
// @__NO_SIDE_EFFECTS__
|
|
16456
|
-
function _gt(
|
|
16514
|
+
function _gt(value2, params) {
|
|
16457
16515
|
return new $ZodCheckGreaterThan({
|
|
16458
16516
|
check: "greater_than",
|
|
16459
16517
|
...normalizeParams(params),
|
|
16460
|
-
value,
|
|
16518
|
+
value: value2,
|
|
16461
16519
|
inclusive: false
|
|
16462
16520
|
});
|
|
16463
16521
|
}
|
|
16464
16522
|
// @__NO_SIDE_EFFECTS__
|
|
16465
|
-
function _gte(
|
|
16523
|
+
function _gte(value2, params) {
|
|
16466
16524
|
return new $ZodCheckGreaterThan({
|
|
16467
16525
|
check: "greater_than",
|
|
16468
16526
|
...normalizeParams(params),
|
|
16469
|
-
value,
|
|
16527
|
+
value: value2,
|
|
16470
16528
|
inclusive: true
|
|
16471
16529
|
});
|
|
16472
16530
|
}
|
|
@@ -16487,11 +16545,11 @@ function _nonnegative(params) {
|
|
|
16487
16545
|
return /* @__PURE__ */ _gte(0, params);
|
|
16488
16546
|
}
|
|
16489
16547
|
// @__NO_SIDE_EFFECTS__
|
|
16490
|
-
function _multipleOf(
|
|
16548
|
+
function _multipleOf(value2, params) {
|
|
16491
16549
|
return new $ZodCheckMultipleOf({
|
|
16492
16550
|
check: "multiple_of",
|
|
16493
16551
|
...normalizeParams(params),
|
|
16494
|
-
value
|
|
16552
|
+
value: value2
|
|
16495
16553
|
});
|
|
16496
16554
|
}
|
|
16497
16555
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -16747,10 +16805,10 @@ function _nativeEnum(Class2, entries, params) {
|
|
|
16747
16805
|
});
|
|
16748
16806
|
}
|
|
16749
16807
|
// @__NO_SIDE_EFFECTS__
|
|
16750
|
-
function _literal(Class2,
|
|
16808
|
+
function _literal(Class2, value2, params) {
|
|
16751
16809
|
return new Class2({
|
|
16752
16810
|
type: "literal",
|
|
16753
|
-
values: Array.isArray(
|
|
16811
|
+
values: Array.isArray(value2) ? value2 : [value2],
|
|
16754
16812
|
...normalizeParams(params)
|
|
16755
16813
|
});
|
|
16756
16814
|
}
|
|
@@ -17533,22 +17591,22 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
17533
17591
|
};
|
|
17534
17592
|
|
|
17535
17593
|
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema-processors.js
|
|
17536
|
-
var narrowMin = (agg, key2,
|
|
17537
|
-
if (agg[key2] === void 0 ||
|
|
17538
|
-
agg[key2] =
|
|
17594
|
+
var narrowMin = (agg, key2, value2) => {
|
|
17595
|
+
if (agg[key2] === void 0 || value2 > agg[key2])
|
|
17596
|
+
agg[key2] = value2;
|
|
17539
17597
|
};
|
|
17540
|
-
var narrowMax = (agg, key2,
|
|
17541
|
-
if (agg[key2] === void 0 ||
|
|
17542
|
-
agg[key2] =
|
|
17598
|
+
var narrowMax = (agg, key2, value2) => {
|
|
17599
|
+
if (agg[key2] === void 0 || value2 < agg[key2])
|
|
17600
|
+
agg[key2] = value2;
|
|
17543
17601
|
};
|
|
17544
|
-
var narrowBoth = (agg,
|
|
17545
|
-
narrowMin(agg, "minimum",
|
|
17546
|
-
narrowMax(agg, "maximum",
|
|
17602
|
+
var narrowBoth = (agg, value2) => {
|
|
17603
|
+
narrowMin(agg, "minimum", value2);
|
|
17604
|
+
narrowMax(agg, "maximum", value2);
|
|
17547
17605
|
};
|
|
17548
|
-
var addDivisor = (agg,
|
|
17606
|
+
var addDivisor = (agg, value2) => {
|
|
17549
17607
|
agg.multipleOf ?? (agg.multipleOf = []);
|
|
17550
|
-
if (!agg.multipleOf.includes(
|
|
17551
|
-
agg.multipleOf.push(
|
|
17608
|
+
if (!agg.multipleOf.includes(value2))
|
|
17609
|
+
agg.multipleOf.push(value2);
|
|
17552
17610
|
};
|
|
17553
17611
|
var addPattern = (agg, pattern) => {
|
|
17554
17612
|
agg.patterns ?? (agg.patterns = /* @__PURE__ */ new Set());
|
|
@@ -17885,8 +17943,8 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
17885
17943
|
}
|
|
17886
17944
|
const requiredKeys = [];
|
|
17887
17945
|
for (const key2 of Object.keys(shape)) {
|
|
17888
|
-
const
|
|
17889
|
-
if (ctx.io === "input" ? inputOptin(
|
|
17946
|
+
const field2 = def.shape[key2];
|
|
17947
|
+
if (ctx.io === "input" ? inputOptin(field2) === void 0 : field2._zod.optout === void 0) {
|
|
17890
17948
|
requiredKeys.push(key2);
|
|
17891
17949
|
}
|
|
17892
17950
|
}
|
|
@@ -18124,9 +18182,9 @@ var nonoptionalProcessor = (schema, ctx, _json, params) => {
|
|
|
18124
18182
|
seen.ref = def.innerType;
|
|
18125
18183
|
};
|
|
18126
18184
|
var UNREPRESENTABLE_DEFAULT = /* @__PURE__ */ Symbol();
|
|
18127
|
-
function serializeDefaultValue(
|
|
18185
|
+
function serializeDefaultValue(value2, schema, ctx, json2, params) {
|
|
18128
18186
|
let unrepresentable = false;
|
|
18129
|
-
const serialized = JSON.stringify(
|
|
18187
|
+
const serialized = JSON.stringify(value2, (_, val) => {
|
|
18130
18188
|
if (typeof val !== "bigint")
|
|
18131
18189
|
return val;
|
|
18132
18190
|
unrepresentable = true;
|
|
@@ -18142,9 +18200,9 @@ var defaultProcessor = (schema, ctx, json2, params) => {
|
|
|
18142
18200
|
processSchema(def.innerType, ctx, params);
|
|
18143
18201
|
const seen = ctx.seen.get(schema);
|
|
18144
18202
|
seen.ref = def.innerType;
|
|
18145
|
-
const
|
|
18146
|
-
if (
|
|
18147
|
-
json2.default =
|
|
18203
|
+
const value2 = serializeDefaultValue(def.defaultValue, schema, ctx, json2, params);
|
|
18204
|
+
if (value2 !== UNREPRESENTABLE_DEFAULT)
|
|
18205
|
+
json2.default = value2;
|
|
18148
18206
|
};
|
|
18149
18207
|
var prefaultProcessor = (schema, ctx, json2, params) => {
|
|
18150
18208
|
const def = schema._zod.def;
|
|
@@ -18153,9 +18211,9 @@ var prefaultProcessor = (schema, ctx, json2, params) => {
|
|
|
18153
18211
|
seen.ref = def.innerType;
|
|
18154
18212
|
if (ctx.io !== "input")
|
|
18155
18213
|
return;
|
|
18156
|
-
const
|
|
18157
|
-
if (
|
|
18158
|
-
json2._prefault =
|
|
18214
|
+
const value2 = serializeDefaultValue(def.defaultValue, schema, ctx, json2, params);
|
|
18215
|
+
if (value2 !== UNREPRESENTABLE_DEFAULT)
|
|
18216
|
+
json2._prefault = value2;
|
|
18159
18217
|
};
|
|
18160
18218
|
var catchProcessor = (schema, ctx, json2, params) => {
|
|
18161
18219
|
const def = schema._zod.def;
|
|
@@ -18307,8 +18365,8 @@ var JSONSchemaGenerator = class {
|
|
|
18307
18365
|
get counter() {
|
|
18308
18366
|
return this.ctx.counter;
|
|
18309
18367
|
}
|
|
18310
|
-
set counter(
|
|
18311
|
-
this.ctx.counter =
|
|
18368
|
+
set counter(value2) {
|
|
18369
|
+
this.ctx.counter = value2;
|
|
18312
18370
|
}
|
|
18313
18371
|
/** @deprecated Access via ctx instead */
|
|
18314
18372
|
get seen() {
|
|
@@ -18584,12 +18642,12 @@ function _lazyMethod(proto, key2, make) {
|
|
|
18584
18642
|
configurable: true,
|
|
18585
18643
|
enumerable: false,
|
|
18586
18644
|
get() {
|
|
18587
|
-
const
|
|
18588
|
-
Object.defineProperty(this, key2, { value, configurable: true, writable: true });
|
|
18589
|
-
return
|
|
18645
|
+
const value2 = make(this);
|
|
18646
|
+
Object.defineProperty(this, key2, { value: value2, configurable: true, writable: true });
|
|
18647
|
+
return value2;
|
|
18590
18648
|
},
|
|
18591
|
-
set(
|
|
18592
|
-
Object.defineProperty(this, key2, { value, configurable: true, writable: true });
|
|
18649
|
+
set(value2) {
|
|
18650
|
+
Object.defineProperty(this, key2, { value: value2, configurable: true, writable: true });
|
|
18593
18651
|
}
|
|
18594
18652
|
});
|
|
18595
18653
|
}
|
|
@@ -18757,8 +18815,8 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
18757
18815
|
}
|
|
18758
18816
|
});
|
|
18759
18817
|
},
|
|
18760
|
-
set "~standard"(
|
|
18761
|
-
util_exports.own(this, "~standard",
|
|
18818
|
+
set "~standard"(value2) {
|
|
18819
|
+
util_exports.own(this, "~standard", value2);
|
|
18762
18820
|
},
|
|
18763
18821
|
parse: function _parse2(data, params) {
|
|
18764
18822
|
return parse2(this, data, params, { callee: _parse2 });
|
|
@@ -18776,8 +18834,8 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
18776
18834
|
get spa() {
|
|
18777
18835
|
return this?.safeParseAsync;
|
|
18778
18836
|
},
|
|
18779
|
-
set spa(
|
|
18780
|
-
util_exports.own(this, "spa",
|
|
18837
|
+
set spa(value2) {
|
|
18838
|
+
util_exports.own(this, "spa", value2);
|
|
18781
18839
|
},
|
|
18782
18840
|
validate(data, params) {
|
|
18783
18841
|
return validate(this, data, params);
|
|
@@ -19203,23 +19261,23 @@ var ZodNumber = /* @__PURE__ */ $constructor(
|
|
|
19203
19261
|
},
|
|
19204
19262
|
format: (inst) => aggregateChecks(inst).format ?? null
|
|
19205
19263
|
}, {
|
|
19206
|
-
gt(
|
|
19207
|
-
return this.check(_gt(
|
|
19264
|
+
gt(value2, params) {
|
|
19265
|
+
return this.check(_gt(value2, params));
|
|
19208
19266
|
},
|
|
19209
|
-
gte(
|
|
19210
|
-
return this.check(_gte(
|
|
19267
|
+
gte(value2, params) {
|
|
19268
|
+
return this.check(_gte(value2, params));
|
|
19211
19269
|
},
|
|
19212
|
-
min(
|
|
19213
|
-
return this.check(_gte(
|
|
19270
|
+
min(value2, params) {
|
|
19271
|
+
return this.check(_gte(value2, params));
|
|
19214
19272
|
},
|
|
19215
|
-
lt(
|
|
19216
|
-
return this.check(_lt(
|
|
19273
|
+
lt(value2, params) {
|
|
19274
|
+
return this.check(_lt(value2, params));
|
|
19217
19275
|
},
|
|
19218
|
-
lte(
|
|
19219
|
-
return this.check(_lte(
|
|
19276
|
+
lte(value2, params) {
|
|
19277
|
+
return this.check(_lte(value2, params));
|
|
19220
19278
|
},
|
|
19221
|
-
max(
|
|
19222
|
-
return this.check(_lte(
|
|
19279
|
+
max(value2, params) {
|
|
19280
|
+
return this.check(_lte(value2, params));
|
|
19223
19281
|
},
|
|
19224
19282
|
int(params) {
|
|
19225
19283
|
return this.check(int(params));
|
|
@@ -19239,11 +19297,11 @@ var ZodNumber = /* @__PURE__ */ $constructor(
|
|
|
19239
19297
|
nonpositive(params) {
|
|
19240
19298
|
return this.check(_lte(0, params));
|
|
19241
19299
|
},
|
|
19242
|
-
multipleOf(
|
|
19243
|
-
return this.check(_multipleOf(
|
|
19300
|
+
multipleOf(value2, params) {
|
|
19301
|
+
return this.check(_multipleOf(value2, params));
|
|
19244
19302
|
},
|
|
19245
|
-
step(
|
|
19246
|
-
return this.check(_multipleOf(
|
|
19303
|
+
step(value2, params) {
|
|
19304
|
+
return this.check(_multipleOf(value2, params));
|
|
19247
19305
|
},
|
|
19248
19306
|
finite() {
|
|
19249
19307
|
return this;
|
|
@@ -19292,23 +19350,23 @@ var ZodBigInt = /* @__PURE__ */ $constructor(
|
|
|
19292
19350
|
maxValue: (inst) => aggregateChecks(inst).maximum ?? null,
|
|
19293
19351
|
format: (inst) => aggregateChecks(inst).format ?? null
|
|
19294
19352
|
}, {
|
|
19295
|
-
gte(
|
|
19296
|
-
return this.check(_gte(
|
|
19353
|
+
gte(value2, params) {
|
|
19354
|
+
return this.check(_gte(value2, params));
|
|
19297
19355
|
},
|
|
19298
|
-
min(
|
|
19299
|
-
return this.check(_gte(
|
|
19356
|
+
min(value2, params) {
|
|
19357
|
+
return this.check(_gte(value2, params));
|
|
19300
19358
|
},
|
|
19301
|
-
gt(
|
|
19302
|
-
return this.check(_gt(
|
|
19359
|
+
gt(value2, params) {
|
|
19360
|
+
return this.check(_gt(value2, params));
|
|
19303
19361
|
},
|
|
19304
|
-
lt(
|
|
19305
|
-
return this.check(_lt(
|
|
19362
|
+
lt(value2, params) {
|
|
19363
|
+
return this.check(_lt(value2, params));
|
|
19306
19364
|
},
|
|
19307
|
-
lte(
|
|
19308
|
-
return this.check(_lte(
|
|
19365
|
+
lte(value2, params) {
|
|
19366
|
+
return this.check(_lte(value2, params));
|
|
19309
19367
|
},
|
|
19310
|
-
max(
|
|
19311
|
-
return this.check(_lte(
|
|
19368
|
+
max(value2, params) {
|
|
19369
|
+
return this.check(_lte(value2, params));
|
|
19312
19370
|
},
|
|
19313
19371
|
positive(params) {
|
|
19314
19372
|
return this.check(_gt(BigInt(0), params));
|
|
@@ -19322,8 +19380,8 @@ var ZodBigInt = /* @__PURE__ */ $constructor(
|
|
|
19322
19380
|
nonnegative(params) {
|
|
19323
19381
|
return this.check(_gte(BigInt(0), params));
|
|
19324
19382
|
},
|
|
19325
|
-
multipleOf(
|
|
19326
|
-
return this.check(_multipleOf(
|
|
19383
|
+
multipleOf(value2, params) {
|
|
19384
|
+
return this.check(_multipleOf(value2, params));
|
|
19327
19385
|
}
|
|
19328
19386
|
})
|
|
19329
19387
|
);
|
|
@@ -19402,8 +19460,8 @@ var ZodDate = /* @__PURE__ */ $constructor(
|
|
|
19402
19460
|
$ZodDate.init(inst, def);
|
|
19403
19461
|
ZodType.init(inst, def);
|
|
19404
19462
|
inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
|
|
19405
|
-
inst.min = (
|
|
19406
|
-
inst.max = (
|
|
19463
|
+
inst.min = (value2, params) => inst.check(_gte(value2, params));
|
|
19464
|
+
inst.max = (value2, params) => inst.check(_lte(value2, params));
|
|
19407
19465
|
},
|
|
19408
19466
|
/* @__PURE__ */ util_exports.derived({
|
|
19409
19467
|
minDate: (inst) => {
|
|
@@ -19695,11 +19753,11 @@ var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
|
19695
19753
|
const keys = new Set(Object.keys(def.entries));
|
|
19696
19754
|
inst.extract = (values, params) => {
|
|
19697
19755
|
const newEntries = {};
|
|
19698
|
-
for (const
|
|
19699
|
-
if (keys.has(
|
|
19700
|
-
newEntries[
|
|
19756
|
+
for (const value2 of values) {
|
|
19757
|
+
if (keys.has(value2)) {
|
|
19758
|
+
newEntries[value2] = def.entries[value2];
|
|
19701
19759
|
} else
|
|
19702
|
-
throw new Error(`Key ${
|
|
19760
|
+
throw new Error(`Key ${value2} not found in enum`);
|
|
19703
19761
|
}
|
|
19704
19762
|
return new ZodEnum({
|
|
19705
19763
|
...def,
|
|
@@ -19710,11 +19768,11 @@ var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
|
19710
19768
|
};
|
|
19711
19769
|
inst.exclude = (values, params) => {
|
|
19712
19770
|
const newEntries = { ...def.entries };
|
|
19713
|
-
for (const
|
|
19714
|
-
if (keys.has(
|
|
19715
|
-
delete newEntries[
|
|
19771
|
+
for (const value2 of values) {
|
|
19772
|
+
if (keys.has(value2)) {
|
|
19773
|
+
delete newEntries[value2];
|
|
19716
19774
|
} else
|
|
19717
|
-
throw new Error(`Key ${
|
|
19775
|
+
throw new Error(`Key ${value2} not found in enum`);
|
|
19718
19776
|
}
|
|
19719
19777
|
return new ZodEnum({
|
|
19720
19778
|
...def,
|
|
@@ -19753,10 +19811,10 @@ var ZodLiteral = /* @__PURE__ */ $constructor("ZodLiteral", (inst, def) => {
|
|
|
19753
19811
|
}
|
|
19754
19812
|
});
|
|
19755
19813
|
});
|
|
19756
|
-
function literal(
|
|
19814
|
+
function literal(value2, params) {
|
|
19757
19815
|
return new ZodLiteral({
|
|
19758
19816
|
type: "literal",
|
|
19759
|
-
values: Array.isArray(
|
|
19817
|
+
values: Array.isArray(value2) ? value2 : [value2],
|
|
19760
19818
|
...util_exports.normalizeParams(params)
|
|
19761
19819
|
});
|
|
19762
19820
|
}
|
|
@@ -20268,11 +20326,11 @@ function resolveRef(ref, ctx) {
|
|
|
20268
20326
|
throw new Error(`Reference not found: ${ref}`);
|
|
20269
20327
|
}
|
|
20270
20328
|
function checkObjectGuards(objectSchema, guards) {
|
|
20271
|
-
const guard = z.transform((
|
|
20272
|
-
const
|
|
20273
|
-
if (typeof
|
|
20329
|
+
const guard = z.transform((value2) => value2).check((payload) => {
|
|
20330
|
+
const value2 = payload.value;
|
|
20331
|
+
if (typeof value2 !== "object" || value2 === null || Array.isArray(value2))
|
|
20274
20332
|
return;
|
|
20275
|
-
const keys = Object.getOwnPropertyNames(
|
|
20333
|
+
const keys = Object.getOwnPropertyNames(value2);
|
|
20276
20334
|
if (guards.minProperties !== void 0 && keys.length < guards.minProperties) {
|
|
20277
20335
|
payload.issues.push({
|
|
20278
20336
|
origin: "object",
|
|
@@ -20280,7 +20338,7 @@ function checkObjectGuards(objectSchema, guards) {
|
|
|
20280
20338
|
minimum: guards.minProperties,
|
|
20281
20339
|
inclusive: true,
|
|
20282
20340
|
message: `Too small: expected object to have >=${guards.minProperties} properties`,
|
|
20283
|
-
input:
|
|
20341
|
+
input: value2,
|
|
20284
20342
|
inst: objectSchema,
|
|
20285
20343
|
continue: true
|
|
20286
20344
|
});
|
|
@@ -20292,7 +20350,7 @@ function checkObjectGuards(objectSchema, guards) {
|
|
|
20292
20350
|
maximum: guards.maxProperties,
|
|
20293
20351
|
inclusive: true,
|
|
20294
20352
|
message: `Too big: expected object to have <=${guards.maxProperties} properties`,
|
|
20295
|
-
input:
|
|
20353
|
+
input: value2,
|
|
20296
20354
|
inst: objectSchema,
|
|
20297
20355
|
continue: true
|
|
20298
20356
|
});
|
|
@@ -20315,23 +20373,23 @@ function checkObjectGuards(objectSchema, guards) {
|
|
|
20315
20373
|
});
|
|
20316
20374
|
return guard.pipe(objectSchema);
|
|
20317
20375
|
}
|
|
20318
|
-
function canonicalKey(
|
|
20319
|
-
if (
|
|
20376
|
+
function canonicalKey(value2, seen) {
|
|
20377
|
+
if (value2 === null)
|
|
20320
20378
|
return "z";
|
|
20321
|
-
const type = typeof
|
|
20379
|
+
const type = typeof value2;
|
|
20322
20380
|
if (type !== "object") {
|
|
20323
|
-
if (type === "number" && Number.isNaN(
|
|
20381
|
+
if (type === "number" && Number.isNaN(value2))
|
|
20324
20382
|
return null;
|
|
20325
|
-
const raw = String(
|
|
20383
|
+
const raw = String(value2);
|
|
20326
20384
|
return `${type[0]}${raw.length}:${raw}`;
|
|
20327
20385
|
}
|
|
20328
|
-
if (seen.has(
|
|
20386
|
+
if (seen.has(value2))
|
|
20329
20387
|
return null;
|
|
20330
|
-
seen.add(
|
|
20388
|
+
seen.add(value2);
|
|
20331
20389
|
try {
|
|
20332
|
-
if (Array.isArray(
|
|
20390
|
+
if (Array.isArray(value2)) {
|
|
20333
20391
|
const parts3 = [];
|
|
20334
|
-
for (const item of
|
|
20392
|
+
for (const item of value2) {
|
|
20335
20393
|
const key2 = canonicalKey(item, seen);
|
|
20336
20394
|
if (key2 === null)
|
|
20337
20395
|
return null;
|
|
@@ -20339,17 +20397,17 @@ function canonicalKey(value, seen) {
|
|
|
20339
20397
|
}
|
|
20340
20398
|
return `a${parts3.length}:[${parts3.join(",")}]`;
|
|
20341
20399
|
}
|
|
20342
|
-
const keys = Object.keys(
|
|
20400
|
+
const keys = Object.keys(value2).sort();
|
|
20343
20401
|
const parts2 = [];
|
|
20344
20402
|
for (const k of keys) {
|
|
20345
|
-
const key2 = canonicalKey(
|
|
20403
|
+
const key2 = canonicalKey(value2[k], seen);
|
|
20346
20404
|
if (key2 === null)
|
|
20347
20405
|
return null;
|
|
20348
20406
|
parts2.push(`${k.length}:${k}=${key2}`);
|
|
20349
20407
|
}
|
|
20350
20408
|
return `o${parts2.length}:{${parts2.join(",")}}`;
|
|
20351
20409
|
} finally {
|
|
20352
|
-
seen.delete(
|
|
20410
|
+
seen.delete(value2);
|
|
20353
20411
|
}
|
|
20354
20412
|
}
|
|
20355
20413
|
var SCHEMA_KEYWORDS = /* @__PURE__ */ new Set([
|
|
@@ -20378,14 +20436,14 @@ var SCHEMA_MAP_KEYWORDS = /* @__PURE__ */ new Set([
|
|
|
20378
20436
|
"$defs",
|
|
20379
20437
|
"definitions"
|
|
20380
20438
|
]);
|
|
20381
|
-
function containsRef(
|
|
20382
|
-
if (typeof
|
|
20439
|
+
function containsRef(value2) {
|
|
20440
|
+
if (typeof value2 !== "object" || value2 === null)
|
|
20383
20441
|
return false;
|
|
20384
|
-
if (Array.isArray(
|
|
20385
|
-
return
|
|
20386
|
-
if (typeof
|
|
20442
|
+
if (Array.isArray(value2))
|
|
20443
|
+
return value2.some(containsRef);
|
|
20444
|
+
if (typeof value2.$ref === "string")
|
|
20387
20445
|
return true;
|
|
20388
|
-
return Object.entries(
|
|
20446
|
+
return Object.entries(value2).some(([key2, sub]) => {
|
|
20389
20447
|
if (SCHEMA_KEYWORDS.has(key2))
|
|
20390
20448
|
return containsRef(sub);
|
|
20391
20449
|
if (!SCHEMA_MAP_KEYWORDS.has(key2) || typeof sub !== "object" || sub === null)
|
|
@@ -20397,7 +20455,7 @@ function plural(n2) {
|
|
|
20397
20455
|
return n2 === 1 ? "element" : "elements";
|
|
20398
20456
|
}
|
|
20399
20457
|
function checkArrayGuards(arraySchema, guards) {
|
|
20400
|
-
const guard = z.transform((
|
|
20458
|
+
const guard = z.transform((value2) => value2).check((payload) => {
|
|
20401
20459
|
const items = payload.value;
|
|
20402
20460
|
if (!Array.isArray(items))
|
|
20403
20461
|
return;
|
|
@@ -22240,8 +22298,8 @@ function shareLine(text2, max = 70) {
|
|
|
22240
22298
|
return pause >= 20 ? cut.slice(0, pause) : cut.replace(/\s+\S*$/, "");
|
|
22241
22299
|
}
|
|
22242
22300
|
var hex22 = (n2) => Math.max(0, Math.min(255, Math.round(n2))).toString(16).padStart(2, "0");
|
|
22243
|
-
function toHexColor(
|
|
22244
|
-
const v =
|
|
22301
|
+
function toHexColor(value2) {
|
|
22302
|
+
const v = value2.trim().toLowerCase();
|
|
22245
22303
|
let m = /^#([0-9a-f]{3})$/.exec(v);
|
|
22246
22304
|
if (m) return `#${[...m[1]].map((c) => c + c).join("")}`;
|
|
22247
22305
|
m = /^#([0-9a-f]{6})(ff)?$/.exec(v);
|
|
@@ -22458,7 +22516,7 @@ function mapPsi(json2, strategy) {
|
|
|
22458
22516
|
const originExp = json2?.originLoadingExperience;
|
|
22459
22517
|
const urlField = urlExp && !urlExp.origin_fallback ? fieldOf(urlExp) : [];
|
|
22460
22518
|
const originField = fieldOf(originExp);
|
|
22461
|
-
const
|
|
22519
|
+
const field2 = urlField.length ? { scope: "url", metrics: urlField } : originField.length ? { scope: "origin", metrics: originField } : null;
|
|
22462
22520
|
return {
|
|
22463
22521
|
strategy,
|
|
22464
22522
|
requestedUrl: clean2(lr.requestedUrl ?? json2?.id, 2e3),
|
|
@@ -22467,7 +22525,7 @@ function mapPsi(json2, strategy) {
|
|
|
22467
22525
|
lighthouseVersion: clean2(lr.lighthouseVersion, 20) || null,
|
|
22468
22526
|
scores: { performance: score("performance"), accessibility: score("accessibility"), seo: score("seo"), bestPractices: score("best-practices") },
|
|
22469
22527
|
lab,
|
|
22470
|
-
field,
|
|
22528
|
+
field: field2,
|
|
22471
22529
|
opportunities,
|
|
22472
22530
|
accessibility,
|
|
22473
22531
|
seo: (cats.seo?.auditRefs ?? []).filter((r) => r?.id && (r.weight ?? 0) > 0).map((r) => audits[r.id] && toAudit(r.id, audits[r.id])).filter((a) => !!a && a.score !== null && a.score < 1),
|
|
@@ -22518,19 +22576,19 @@ function parseRobots(text2) {
|
|
|
22518
22576
|
const m = /^([A-Za-z-]+)\s*:\s*(.*)$/.exec(line);
|
|
22519
22577
|
if (!m) continue;
|
|
22520
22578
|
const key2 = m[1].toLowerCase();
|
|
22521
|
-
const
|
|
22579
|
+
const value2 = m[2].trim();
|
|
22522
22580
|
if (key2 === "user-agent") {
|
|
22523
22581
|
if (!current || !lastWasAgent) {
|
|
22524
22582
|
current = { agents: [], rules: [] };
|
|
22525
22583
|
groups.push(current);
|
|
22526
22584
|
}
|
|
22527
|
-
current.agents.push(
|
|
22585
|
+
current.agents.push(value2.toLowerCase());
|
|
22528
22586
|
lastWasAgent = true;
|
|
22529
22587
|
continue;
|
|
22530
22588
|
}
|
|
22531
22589
|
lastWasAgent = false;
|
|
22532
|
-
if (key2 === "sitemap") sitemaps.push(
|
|
22533
|
-
else if ((key2 === "allow" || key2 === "disallow") && current) current.rules.push({ allow: key2 === "allow", path:
|
|
22590
|
+
if (key2 === "sitemap") sitemaps.push(value2);
|
|
22591
|
+
else if ((key2 === "allow" || key2 === "disallow") && current) current.rules.push({ allow: key2 === "allow", path: value2 });
|
|
22534
22592
|
}
|
|
22535
22593
|
return { groups, sitemaps };
|
|
22536
22594
|
}
|
|
@@ -22663,7 +22721,7 @@ var FIRST_LOOK_MESSAGE = "first look";
|
|
|
22663
22721
|
var FIRST_SITE_RULE = 'A site that has never been live (this folder is not linked yet, or npx deployai@latest status shows no live version) follows this, and not the rule for later changes. Right at the start, before you build, ask once, naming the site and its address when you know it: "When your site is ready, should I put it live for you? Anyone will be able to see it." The answers: Yes, put it live (recommended), or Show me first. Then go on working, and do not ask it again for this first version. Deploy twice. First, the first look: when a first version works, deploy without --live and send the owner the preview address. Make every change they ask for in the folder, without deploying. Second, when everything they asked for is done: on Yes, deploy with --live and give them the live address, with no more questions. On Show me first, deploy without it, send the preview address and ask: "Put it live, or change something first?" If nothing changed since the first look, there is nothing to build: run promote on that version instead of a second deploy. Deploy again only when a deploy failed, or the owner asks for more after the last one, and then put all of it in one deploy. Database changes still get their own yes.';
|
|
22664
22722
|
var DEPLOY_ASK_RULE = 'Once a site has been live, never deploy on your own, and never after each small edit: every deploy is a full build. Deploy only when what the owner asked for is done. Then say in short what changed and ask: "Put it live, see a preview first, or not yet?" Put it live: deploy with --live. Preview first: deploy without it and send the owner the preview address. Not yet: keep working, and the next change goes up in the same deploy. If the owner said to always put changes live, deploy with --live without asking. When deploy says the site goes live by itself, that is a setting the owner chose: do not ask about going live or a preview, deploy once the request is done, and tell the owner it is live and that Settings on the site page can make versions wait. Database changes still get their own yes. A version that is only your own test (an experiment, a size or speed check, a half done feature) deploys with --hold: it stays a preview and never goes live by itself, also on a site that goes live by itself (D-961).';
|
|
22665
22723
|
var LOCAL_PREVIEW_RULE = "While you build, show the site on this computer, never a deploy after each change. Start the site's own dev command (the dev script in package.json, for example npm run dev) yourself, in the background, so it keeps running while you work: in Claude Code as a background command, in another tool with its own way to run a command in the background or in a terminal of its own. Never ask the owner to open a terminal or type a command. If a local preview of this folder is already running, use it instead of starting a second one. Send the owner the local address it prints once, as a link, and say in one line that it updates by itself while you work and opens only on this computer. Check every change there yourself. To see a page at phone width, run npx deployai@latest shot <address> and look at the phone picture it saves: resizing a browser window often keeps the page at desktop width, so never judge the phone layout from the code alone (D-916). The local preview is not the hosting: it has a local test database that starts empty, and the built-in email to the owner, visitor countries, 301 redirects and the DeployAI badge work only on a deployed preview, so test those there, and the owner checks a phone there. When to deploy does not change. When the work is done, stop the local preview you started.";
|
|
22666
|
-
var GIT_HISTORY_RULE = "Keep the site's history with git in this folder: run git init if there is none, commit before you start and after each part that works, with a short message in the owner's language about what they see changed. Never commit .env files or secrets. When the owner asks to undo a change, or to bring back or remove a feature, do it from the git history yourself and tell them in one line what changed; never ask them to run git. Git brings back code, not data: rows, files and tables that were deleted stay deleted, so ask the owner before a change that removes data.";
|
|
22724
|
+
var GIT_HISTORY_RULE = "Keep the site's history with git in this folder: run git init if there is none, commit before you start and after each part that works, with a short message in the owner's language about what they see changed. Never commit .env files or secrets. When the owner asks to undo a change, or to bring back or remove a feature, do it from the git history yourself and tell them in one line what changed; never ask them to run git. Git brings back code, not data: rows, files and tables that were deleted stay deleted, so ask the owner before a change that removes data. This git history is on this computer only; the team's shared history is the site's versions. When others work on the site too, deploy and start bring their newer live work into this folder by themselves and add their versions to git, so never copy their files in by hand.";
|
|
22667
22725
|
var ASK_OWNER_RULE = `When a question to the owner has set answers, use your tool's own question feature with clickable choices if it has one, for example AskUserQuestion in Claude Code, AskQuestion in Cursor, askQuestions in Copilot in VS Code, request_user_input in Codex, or ask_user_question in Grok Build. Use the owner's language, with each answer as its own choice. If your tool has no such feature, or it is refused or fails, ask the same question once in plain text and go on. Never change a mode or a setting to get it. A yes or no question has set answers too. This holds for every question, also one you think of yourself in the middle of the work: say what you have to say, then ask through the feature, never as the last line of your message. A question about going live names the site and its address when you know it, and says anyone will be able to see it, so the owner's answer is about this exact site (D-691). Open details, like a phone number or hours, stay in plain text, in one short list. How the owner wants you to work is saved in .deployai/owner-mode (D-865): on-my-own or check-with-me. If the file is missing, ask once, "How should I work?", with "On my own (recommended)": I build and choose the recommended option at every step, I stop only for money, deleting your content or your real domain, and I leave you a short list at the end; and "Check with me". Save the answer there, and change it when the owner says so. On my own: take the recommended option without asking, install the tools you need, and stop only for money, deleting the owner's content, a real domain going live or a fact you would have to invent, which you leave out and list. Every question opens with a short tag naming who asks, like "Search add-on \xB7 1 of 2" or "Move \xB7 forms", and a question with several items offers "Approve all (recommended)" first. Never ask the owner about a package, library, framework, tool, file path or size: ask about the outcome in plain words.`;
|
|
22668
22726
|
var QUESTION_FEATURE = { claudeCode: "AskUserQuestion", cursor: "AskQuestion", copilot: "askQuestions", codex: "request_user_input", grok: "ask_user_question" };
|
|
22669
22727
|
function toolAskLine(tool) {
|
|
@@ -23193,11 +23251,11 @@ function readContainer(js, container) {
|
|
|
23193
23251
|
const triggers = /* @__PURE__ */ new Map();
|
|
23194
23252
|
const unescape = (v) => v.replace(/\\u([0-9a-f]{4})/gi, (_, h) => String.fromCharCode(parseInt(h, 16))).replace(/\\(["/\\])/g, "$1");
|
|
23195
23253
|
for (const m of body.matchAll(/\{"function":"(_css|_eq|_cn|_sw)","arg0":\["macro",\d+\],"arg1":"((?:[^"\\]|\\.)*)"/g)) {
|
|
23196
|
-
const
|
|
23197
|
-
if (!
|
|
23198
|
-
if (m[1] === "_css") triggers.set(`s|${
|
|
23199
|
-
else if (
|
|
23200
|
-
else if (m[1] === "_eq" && /^[a-zA-Z][\w.-]{1,50}$/.test(
|
|
23254
|
+
const value2 = unescape(m[2]);
|
|
23255
|
+
if (!value2 || value2.length > 200) continue;
|
|
23256
|
+
if (m[1] === "_css") triggers.set(`s|${value2}`, { type: "selector", value: value2, container });
|
|
23257
|
+
else if (value2.startsWith("/") && !/\s/.test(value2)) triggers.set(`p|${value2}`, { type: "page", value: value2, container });
|
|
23258
|
+
else if (m[1] === "_eq" && /^[a-zA-Z][\w.-]{1,50}$/.test(value2) && !value2.startsWith("gtm.")) triggers.set(`e|${value2}`, { type: "event", value: value2, container });
|
|
23201
23259
|
}
|
|
23202
23260
|
const { tags: tags2 } = scanPageTags(text2, "https://container.invalid/");
|
|
23203
23261
|
return { tags: tags2.filter((t) => t.key !== "gtm"), triggers: [...triggers.values()] };
|
|
@@ -23616,7 +23674,7 @@ var ENV_KEYS = {
|
|
|
23616
23674
|
TURNSTILE_SECRET: { scope: "server", section: "tools", about: "The Turnstile secret key of the same widget." },
|
|
23617
23675
|
TOOLS_FETCH_SECRET: { scope: "same", section: "tools", about: "Shared secret between the app and the tools Worker, 32 random characters or more. pnpm tools:deploy uploads it." },
|
|
23618
23676
|
APPS_SIGNING_SECRET: { scope: "own", section: "tools", about: 'Signs the 60 second tokens from the app to the Uptime app Worker, and the alert calls back from it (D-556); pnpm app-uptime:deploy uploads it. Unset: Apps answer "not set up". openssl rand -hex 32' },
|
|
23619
|
-
APP_GATE_SECRET: { scope: "own", section: "tools", about: "The gate on app sites (D-567): our server signs every /__app/op call with it and the dispatch Worker lets those paths reach an app only with a valid signature, so the public never starts a paused app. pnpm dispatch:deploy sends it to the dispatch Worker. Unset: no platform call reaches an app site. openssl rand -hex 32" },
|
|
23677
|
+
APP_GATE_SECRET: { scope: "own", section: "tools", about: "The gate on app sites (D-567): our server signs every /__app/op call with it and the dispatch Worker lets those paths reach an app only with a valid signature, so the public never starts a paused app. It also signs every run of a site schedule (D-979). pnpm dispatch:deploy sends it to the dispatch Worker. Unset: no platform call reaches an app site and no site schedule runs. openssl rand -hex 32" },
|
|
23620
23678
|
APP_TRIAL_KEYS: { scope: "own", section: "tools", about: "The trial key ring (D-567, docs/30 F3): v1:<hex>! (the ! marks the current key). Trial records keep only an HMAC of the mailbox under these keys. To rotate, add a key, deploy, then move the ! (docs/30). Unset: no trial can start. v1: then openssl rand -hex 32, then !" },
|
|
23621
23679
|
UPTIME_ALERT_TO: { scope: "own", section: "tools", about: "Who gets the down and back up emails of the uptime Worker, comma separated. Without it no email is sent." },
|
|
23622
23680
|
UPTIME_ALERT_TOKEN: { scope: "own", section: "tools", about: "A Cloudflare token with Email Sending edit only, stored as the uptime Worker's secret. Default CF_API_TOKEN." },
|
|
@@ -23713,16 +23771,31 @@ var SPACES = {
|
|
|
23713
23771
|
test: build("test", { ...CLOUDFLARE_SPACES.prod, kvNamespaceId: "", sitesZoneId: null, backupBucket: null, toolsWorkerUrl: "", requestsWorkerUrl: "" }, { ...SPACE_ADDRESSES.prod, appUrl: "http://localhost:3000", siteUrl: "http://localhost:3000", trustedOrigins: [], storage: "local" })
|
|
23714
23772
|
};
|
|
23715
23773
|
|
|
23774
|
+
// ../shared/src/scheduled-run.ts
|
|
23775
|
+
var SCHEDULED_PATH = "/__deployai/scheduled";
|
|
23776
|
+
|
|
23716
23777
|
// ../shared/src/protection-rule.ts
|
|
23778
|
+
var SKIP_ALWAYS = [
|
|
23779
|
+
"cf.client.bot",
|
|
23780
|
+
'starts_with(http.request.uri.path, "/__app/")',
|
|
23781
|
+
// Our scheduler's run of a site's own scheduled handler (D-979, D-982): a site in Attack mode keeps its schedules.
|
|
23782
|
+
`(http.request.method eq "POST" and http.request.uri.path eq "${SCHEDULED_PATH}")`,
|
|
23783
|
+
'http.request.uri.path eq "/api/kit/mcp"',
|
|
23784
|
+
'starts_with(http.request.uri.path, "/api/kit/oauth/")',
|
|
23785
|
+
'starts_with(http.request.uri.path, "/.well-known/")',
|
|
23786
|
+
'any(http.request.headers.names[*] == "x-deployai-probe")'
|
|
23787
|
+
];
|
|
23717
23788
|
var SKIP_COUNTRY = [`http.cookie contains "${HUMAN_COOKIE}"`, 'http.request.uri.query contains "deployai_preview"', 'http.cookie contains "deployai_preview"', 'http.request.uri.query contains "deployai_team"', 'http.cookie contains "__deployai_team"', ...UNVERIFIED_BOT_TOKENS.map((t) => `lower(http.user_agent) contains "${t}"`)];
|
|
23718
23789
|
var HUMAN_CHECK_CLAUSE = `http.request.uri.path eq "${HUMAN_CHECK_PATH}"`;
|
|
23719
23790
|
|
|
23720
23791
|
// ../shared/src/agent-rules.ts
|
|
23721
23792
|
var IPHONE_RULE = "iPhone: Safari is its own browser engine, so working in Chrome or on Android proves nothing. Full height sections use svh or dvh, never 100vh. Typing fields are at least 16px, or the page zooms. A video that plays by itself has muted and playsinline. Bars fixed to the bottom pad with env(safe-area-inset-bottom). Nothing needs a hover. Newer CSS and browser features need a working fallback.";
|
|
23793
|
+
var JOBS_RULE = "Background jobs (work that must not hold up a request): never create a queue of your own. Declare it in the wrangler config under queues.producers ({ binding, queue }) and queues.consumers ({ queue }), and export queue(batch, env, ctx) from the Worker entry. On DeployAI there is no env.<BINDING>: send with ctx.props.queues.<BINDING>.send(body, { delaySeconds }) or .sendBatch([{ body }]), from a request, a scheduled run or a queue run, only while that run lasts. When ctx.props.queues is missing (background jobs are off, or the plan has none), do the work in the request instead. In queue(), call ack() or retry() on each message, or throw to try the rest again; each message gets 4 tries. Keep bodies under 120 KB. The site's Data and files tab shows what was sent, done and failed.";
|
|
23722
23794
|
var BUILD_WITH = [
|
|
23723
23795
|
`Frameworks: ${SUPPORTED_FRAMEWORKS.map((f) => f.name).join(", ")}. In beta: ${BETA_FRAMEWORKS.map((f) => f.name).join(", ")} (Next.js through the OpenNext Cloudflare adapter).`,
|
|
23724
23796
|
"Database: Cloudflare D1 (SQLite), through Drizzle with drizzle-orm/d1 or Prisma with the D1 adapter.",
|
|
23725
|
-
|
|
23797
|
+
// D-978: R2 only for files that come in or change after the build, so a site does not get an empty bucket.
|
|
23798
|
+
"Files: add Cloudflare R2 (object storage) only when the site keeps files that people upload or that change after the build, and never write them to the local disk. Images and files that ship with the site stay in its own files, never in R2.",
|
|
23726
23799
|
"Settings and secrets: environment variables, set with: npx deployai@latest env set <key>",
|
|
23727
23800
|
"Images: resize at build time or serve them as they are; no native image modules at runtime.",
|
|
23728
23801
|
// D-616: an icon is part of a finished site, and the command keeps one the site has.
|
|
@@ -23734,6 +23807,10 @@ var BUILD_WITH = [
|
|
|
23734
23807
|
"Webhooks: a site answers only its own countries. When you add a webhook a service abroad calls, run: npx deployai@latest requests open <its address>, and make the code check the sender's signature, since anyone can now reach it. To see whether a request arrived and what happened to it, run: npx deployai@latest requests",
|
|
23735
23808
|
IPHONE_RULE,
|
|
23736
23809
|
"Server code runs per request: no long-running processes, background servers or child processes.",
|
|
23810
|
+
// D-984: one shared queue of ours; the site gets its producer in the request's props, never a queue binding of its own.
|
|
23811
|
+
JOBS_RULE,
|
|
23812
|
+
// D-979, D-982: our scheduler runs a site's triggers.crons; user Workers have no Cron Triggers of their own.
|
|
23813
|
+
`Schedules (work on a clock, such as a nightly cleanup or reminders): list the times in the wrangler config, "triggers": { "crons": ["0 3 * * *"] }, and export a scheduled handler beside fetch: export default { fetch, async scheduled(event, env, ctx) { ... } }. DeployAI runs it at those times with the site's own bindings. Times are UTC (Israel is 2 or 3 hours ahead), at most one run every 5 minutes, and the plan sets how many schedules a site has (a temporary site has none). Keep a run short: we wait up to 50 seconds for it. Never node-cron, setInterval or a job queue library. The owner sees each schedule, its last run and its error on the site's Data and files tab.`,
|
|
23737
23814
|
// D-611: Durable Objects run when the site's own code exports them; D1 stays the default, they cost more for plain data.
|
|
23738
23815
|
"Data goes in D1 by default. Use a Durable Object only for live state that needs one place to coordinate (a chat room, a live counter, booking slots that must not double-book, presence): export the class from this site's Worker and bind it with a name and class_name in the wrangler config, never script_name. Never remove or rename a class once it is live: that would delete its data, so the upload is refused. A preview starts with empty objects.",
|
|
23739
23816
|
// D-535: the agent knows our built-in email, so it never adds an email provider or asks the owner for keys to email them.
|
|
@@ -23882,7 +23959,7 @@ function stackBlock(s) {
|
|
|
23882
23959
|
`- Fonts: ${fonts.join(", ")}, from Google Fonts.`,
|
|
23883
23960
|
`- CSS: ${s.css === "tailwind" ? "Tailwind CSS" : "plain CSS"}.`,
|
|
23884
23961
|
`- Database: ${s.bindings.includes("d1") ? "Cloudflare D1 (SQLite) through Drizzle with drizzle-orm/d1." : "none."}`,
|
|
23885
|
-
`- Files: ${s.bindings.includes("r2") ? "Cloudflare R2, never the local disk." : "none."}`
|
|
23962
|
+
`- Files: ${s.bindings.includes("r2") ? "Cloudflare R2 for the files the owner uploads, never the local disk. Images and files that ship with the site stay in its own files." : "none. Images and files that ship with the site stay in its own files; do not add R2."}`
|
|
23886
23963
|
];
|
|
23887
23964
|
if (s.needs.length) lines.push(`- The site has: ${s.needs.map((n2) => NEED_TEXT[n2]).join("; ")}.`);
|
|
23888
23965
|
return lines.join("\n") + "\n";
|
|
@@ -24327,6 +24404,142 @@ var enc2 = new TextEncoder();
|
|
|
24327
24404
|
// ../shared/src/app-gate.ts
|
|
24328
24405
|
var enc3 = new TextEncoder();
|
|
24329
24406
|
|
|
24407
|
+
// ../shared/src/site-cron.ts
|
|
24408
|
+
var SITE_SCHEDULE_MIN_MINUTES = 5;
|
|
24409
|
+
var MONTHS = ["JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"];
|
|
24410
|
+
var DAYS = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
|
|
24411
|
+
function value(token, min, max, names) {
|
|
24412
|
+
const named = names ? names.indexOf(token.toUpperCase()) : -1;
|
|
24413
|
+
const n2 = named >= 0 ? named + min : /^\d{1,2}$/.test(token) ? Number(token) : NaN;
|
|
24414
|
+
return Number.isInteger(n2) && n2 >= min && n2 <= max ? n2 : null;
|
|
24415
|
+
}
|
|
24416
|
+
function field(text2, min, max, names) {
|
|
24417
|
+
const out2 = /* @__PURE__ */ new Set();
|
|
24418
|
+
for (const part of text2.split(",")) {
|
|
24419
|
+
const m = /^(\*|\?|[A-Za-z0-9]+(?:-[A-Za-z0-9]+)?)(?:\/(\d{1,2}))?$/.exec(part);
|
|
24420
|
+
if (!m) return null;
|
|
24421
|
+
const step = m[2] ? Number(m[2]) : 1;
|
|
24422
|
+
if (step < 1) return null;
|
|
24423
|
+
let lo = min;
|
|
24424
|
+
let hi = max;
|
|
24425
|
+
if (m[1] !== "*" && m[1] !== "?") {
|
|
24426
|
+
const [a, b] = m[1].split("-");
|
|
24427
|
+
const x = value(a, min, max, names);
|
|
24428
|
+
const y = b === void 0 ? m[2] ? max : x : value(b, min, max, names);
|
|
24429
|
+
if (x === null || y === null || y < x) return null;
|
|
24430
|
+
lo = x;
|
|
24431
|
+
hi = y;
|
|
24432
|
+
}
|
|
24433
|
+
for (let v = lo; v <= hi; v += step) out2.add(v);
|
|
24434
|
+
}
|
|
24435
|
+
return [...out2].sort((a, b) => a - b);
|
|
24436
|
+
}
|
|
24437
|
+
function parseSiteCron(expr) {
|
|
24438
|
+
const raw = expr.trim().split(/\s+/);
|
|
24439
|
+
if (raw.length !== 5 || expr.length > 100) return { error: "A schedule has five parts: minute, hour, day of month, month, day of week." };
|
|
24440
|
+
const [mi, ho, dm, mo, dw] = raw;
|
|
24441
|
+
const minutes = field(mi, 0, 59);
|
|
24442
|
+
const hours = field(ho, 0, 23);
|
|
24443
|
+
const months = field(mo, 1, 12, MONTHS);
|
|
24444
|
+
if (!minutes || !hours || !months) return { error: "The minute, hour or month part does not read." };
|
|
24445
|
+
const dom = { any: dm === "*" || dm === "?", days: [], last: false, lastWeekday: false, nearest: [] };
|
|
24446
|
+
if (!dom.any) {
|
|
24447
|
+
for (const part of dm.split(",")) {
|
|
24448
|
+
const up = part.toUpperCase();
|
|
24449
|
+
if (up === "L") dom.last = true;
|
|
24450
|
+
else if (up === "LW") dom.lastWeekday = true;
|
|
24451
|
+
else if (/^\d{1,2}W$/.test(up) && value(up.slice(0, -1), 1, 31) !== null) dom.nearest.push(Number(up.slice(0, -1)));
|
|
24452
|
+
else {
|
|
24453
|
+
const list = field(part, 1, 31);
|
|
24454
|
+
if (!list) return { error: "The day of month part does not read." };
|
|
24455
|
+
dom.days.push(...list);
|
|
24456
|
+
}
|
|
24457
|
+
}
|
|
24458
|
+
}
|
|
24459
|
+
const dow = { any: dw === "*" || dw === "?", days: [], last: [], nth: [] };
|
|
24460
|
+
if (!dow.any) {
|
|
24461
|
+
for (const part of dw.split(",")) {
|
|
24462
|
+
const last = /^([A-Za-z]{3}|\d)L$/.exec(part);
|
|
24463
|
+
const nth = /^([A-Za-z]{3}|\d)#([1-5])$/.exec(part);
|
|
24464
|
+
if (last) {
|
|
24465
|
+
const d = value(last[1], 1, 7, DAYS);
|
|
24466
|
+
if (d === null) return { error: "The day of week part does not read. Days are 1 to 7, 1 is Sunday, or SUN to SAT." };
|
|
24467
|
+
dow.last.push(d);
|
|
24468
|
+
} else if (nth) {
|
|
24469
|
+
const d = value(nth[1], 1, 7, DAYS);
|
|
24470
|
+
if (d === null) return { error: "The day of week part does not read. Days are 1 to 7, 1 is Sunday, or SUN to SAT." };
|
|
24471
|
+
dow.nth.push([d, Number(nth[2])]);
|
|
24472
|
+
} else {
|
|
24473
|
+
const list = field(part, 1, 7, DAYS);
|
|
24474
|
+
if (!list) return { error: "The day of week part does not read. Days are 1 to 7, 1 is Sunday, or SUN to SAT." };
|
|
24475
|
+
dow.days.push(...list);
|
|
24476
|
+
}
|
|
24477
|
+
}
|
|
24478
|
+
}
|
|
24479
|
+
return { raw: [mi, ho, dm, mo, dw], minutes, hours, dom, months, dow };
|
|
24480
|
+
}
|
|
24481
|
+
var isSiteCronSpec = (x) => !("error" in x);
|
|
24482
|
+
var lastDayOf = (y, m) => new Date(Date.UTC(y, m, 0)).getUTCDate();
|
|
24483
|
+
var weekday = (y, m, d) => new Date(Date.UTC(y, m - 1, d)).getUTCDay();
|
|
24484
|
+
function nearestWeekday(y, m, n2) {
|
|
24485
|
+
const last = lastDayOf(y, m);
|
|
24486
|
+
const d = Math.min(n2, last);
|
|
24487
|
+
const w = weekday(y, m, d);
|
|
24488
|
+
if (w === 6) return d === 1 ? 3 : d - 1;
|
|
24489
|
+
if (w === 0) return d === last ? d - 2 : d + 1;
|
|
24490
|
+
return d;
|
|
24491
|
+
}
|
|
24492
|
+
function dayMatches(s, y, m, d) {
|
|
24493
|
+
const last = lastDayOf(y, m);
|
|
24494
|
+
const w = weekday(y, m, d) + 1;
|
|
24495
|
+
const domHit = s.dom.days.includes(d) || s.dom.last && d === last || s.dom.lastWeekday && d === nearestWeekday(y, m, last) || s.dom.nearest.some((n2) => d === nearestWeekday(y, m, n2));
|
|
24496
|
+
const dowHit = s.dow.days.includes(w) || s.dow.last.includes(w) && d + 7 > last || s.dow.nth.some(([day, k]) => day === w && Math.ceil(d / 7) === k);
|
|
24497
|
+
if (!s.dom.any && !s.dow.any) return domHit || dowHit;
|
|
24498
|
+
if (!s.dom.any) return domHit;
|
|
24499
|
+
if (!s.dow.any) return dowHit;
|
|
24500
|
+
return true;
|
|
24501
|
+
}
|
|
24502
|
+
function nextSiteCronRun(s, after) {
|
|
24503
|
+
let t = Math.floor(after.getTime() / 6e4) * 6e4 + 6e4;
|
|
24504
|
+
for (let guard = 0; guard < 3e3; guard++) {
|
|
24505
|
+
const at = new Date(t);
|
|
24506
|
+
const y = at.getUTCFullYear();
|
|
24507
|
+
const m = at.getUTCMonth() + 1;
|
|
24508
|
+
const d = at.getUTCDate();
|
|
24509
|
+
if (!s.months.includes(m)) {
|
|
24510
|
+
t = Date.UTC(y, m, 1);
|
|
24511
|
+
continue;
|
|
24512
|
+
}
|
|
24513
|
+
if (dayMatches(s, y, m, d)) {
|
|
24514
|
+
const h0 = at.getUTCHours();
|
|
24515
|
+
const m0 = at.getUTCMinutes();
|
|
24516
|
+
for (const h of s.hours) {
|
|
24517
|
+
if (h < h0) continue;
|
|
24518
|
+
const minute = s.minutes.find((x) => h > h0 || x >= m0);
|
|
24519
|
+
if (minute !== void 0) return new Date(Date.UTC(y, m - 1, d, h, minute));
|
|
24520
|
+
}
|
|
24521
|
+
}
|
|
24522
|
+
t = Date.UTC(y, m - 1, d + 1);
|
|
24523
|
+
}
|
|
24524
|
+
return null;
|
|
24525
|
+
}
|
|
24526
|
+
function siteCronGapMinutes(s, from = new Date(Date.UTC(2026, 0, 1))) {
|
|
24527
|
+
const first = nextSiteCronRun(s, new Date(from.getTime() - 6e4));
|
|
24528
|
+
if (!first) return null;
|
|
24529
|
+
const end = first.getTime() + 8 * 864e5;
|
|
24530
|
+
let prev = first;
|
|
24531
|
+
let gap = null;
|
|
24532
|
+
for (let i = 0; i < 500; i++) {
|
|
24533
|
+
const next = nextSiteCronRun(s, prev);
|
|
24534
|
+
if (!next || next.getTime() > end) break;
|
|
24535
|
+
const g = (next.getTime() - prev.getTime()) / 6e4;
|
|
24536
|
+
gap = gap === null ? g : Math.min(gap, g);
|
|
24537
|
+
if (gap < SITE_SCHEDULE_MIN_MINUTES) break;
|
|
24538
|
+
prev = next;
|
|
24539
|
+
}
|
|
24540
|
+
return gap;
|
|
24541
|
+
}
|
|
24542
|
+
|
|
24330
24543
|
// ../shared/src/files.ts
|
|
24331
24544
|
var FILES_PART_BYTES = 20 * 1024 * 1024;
|
|
24332
24545
|
var FILES_MIN_EXPIRY_S = 5 * 60;
|
|
@@ -24662,7 +24875,7 @@ var M = {
|
|
|
24662
24875
|
ownerKeys: "Owner keys for this site (shown once, save them now):",
|
|
24663
24876
|
guestLive: "The site goes live when its build is done (about a minute).",
|
|
24664
24877
|
guestClaim: "Open the claim link to keep the site (sign up or log in).",
|
|
24665
|
-
claimLink: "Keep link
|
|
24878
|
+
claimLink: "Keep link for this temporary site: {url}",
|
|
24666
24879
|
pulled: "Downloaded the code of version v{v}: {n} files.",
|
|
24667
24880
|
pulledHistory: "Downloaded the history: {n} versions as git commits, up to the live version v{v}.",
|
|
24668
24881
|
pullNoGit: "The history needs git on this computer. Install it from https://git-scm.com, or run pull without --history.",
|
|
@@ -24675,7 +24888,7 @@ var M = {
|
|
|
24675
24888
|
claimEmailed: "Sent the keep link to {email}. A reminder comes 3 days before the site is deleted.",
|
|
24676
24889
|
claimNoLink: "No temporary site was deployed from this folder on this computer, so there is no keep link here.",
|
|
24677
24890
|
rollbackQueued: "Rollback to v{n} queued. No rebuild needed.",
|
|
24678
|
-
promoteQueued: "
|
|
24891
|
+
promoteQueued: "Putting v{n} live is queued.",
|
|
24679
24892
|
runStatus: " Run: npx deployai@latest status",
|
|
24680
24893
|
statusTitle: "DeployAI status",
|
|
24681
24894
|
state: "State",
|
|
@@ -24701,7 +24914,7 @@ var M = {
|
|
|
24701
24914
|
homeFix: " Fix it and deploy again. This version did not go live; do not send its link to the owner yet.",
|
|
24702
24915
|
creditLeft: " The site still shows a builder's credit: {text}",
|
|
24703
24916
|
creditFix: " Remove it and put the site's own name and the year in its place, unless the owner asked to keep it.",
|
|
24704
|
-
askLiveFirst: "Put it live as soon as the build is done?
|
|
24917
|
+
askLiveFirst: "Put it live as soon as the build is done? Answer no to see the preview first. (y/N) ",
|
|
24705
24918
|
askLiveNow: "Put v{n} live now? (y/N) ",
|
|
24706
24919
|
waitBuild: "Waiting for the build of v{n}. Ctrl+C stops the waiting, not the build.",
|
|
24707
24920
|
waitState: " v{n}: {s}",
|
|
@@ -24768,6 +24981,12 @@ var M = {
|
|
|
24768
24981
|
syncClash: "Two database changes have the same number: {mine} (this folder) and {theirs} (live). Give {mine} the next free number.",
|
|
24769
24982
|
syncNext: "Next: npx deployai@latest check, then deploy again.",
|
|
24770
24983
|
syncNextConflicts: "Show the owner each one in plain words, ask which to keep, then edit the file so it holds only that (no <<<<<<<, ======= or >>>>>>> lines). Then: npx deployai@latest check, and deploy again. Everything before the sync is in git, so it can be undone.",
|
|
24984
|
+
caughtUp: "Brought in newer work from {names} (live version v{v}): {taken} files taken from the live site, {merged} joined with your changes.",
|
|
24985
|
+
historyAdded: "Their versions are in this folder's git now too, as commits on refs/deployai/live ({n}), so undo covers their work.",
|
|
24986
|
+
behindNoBase: "Version v{v} went live after this folder took its code, and nothing tells which version they share, so it cannot be joined by itself. Tell the owner: going live stops until this folder has v{v}. Get it with npx deployai@latest pull in a new empty folder, then copy your changed files in.",
|
|
24987
|
+
caughtUpConflicts: "Not uploaded: the live site's newer work changed the same places as this folder. Show the owner each one above in plain words, ask which to keep, edit the file so it holds only that, then deploy again. Everything before is in git, so it can be undone.",
|
|
24988
|
+
caughtUpNoLive: "Not going live this time: this upload joins someone else's work with yours, so the owner looks at the preview first.",
|
|
24989
|
+
caughtUpPreview: "v{n} holds both sets of changes. Show the owner the preview; after their yes: npx deployai@latest promote {n}",
|
|
24771
24990
|
syncLeftovers: "Not uploaded: the last sync left these for the owner to decide: {files}. Settle each one, then deploy again.",
|
|
24772
24991
|
workOthers: "Also working on this site now: {names}. Tell the owner, so you do not change the same thing at once.",
|
|
24773
24992
|
workYouElsewhere: "you, from another folder or computer",
|
|
@@ -24820,7 +25039,7 @@ var M = {
|
|
|
24820
25039
|
deployNotLoggedIn: "Not logged in. Run: npx deployai@latest login, or deploy without an account: npx deployai@latest deploy --guest",
|
|
24821
25040
|
deployBlocked: "Deploy stopped: fix the blockers above, then run: npx deployai@latest deploy",
|
|
24822
25041
|
nothingToUpload: "Nothing to upload in this folder.",
|
|
24823
|
-
uploadTooLarge: "
|
|
25042
|
+
uploadTooLarge: "The upload is too large: {size}, and the limit is {max}. Add folders to .deployaiignore to leave them out.",
|
|
24824
25043
|
uploadTooLargeGuest: "Upload too large for a site without an account: packed {size}, max {max}. Log in to upload more: npx deployai@latest login",
|
|
24825
25044
|
notLinked: "This folder is not linked to a site. Run: npx deployai@latest link",
|
|
24826
25045
|
askGuest: "Deploy without an account? You get a temporary site you can claim later. (y/N) ",
|
|
@@ -24887,19 +25106,19 @@ var M = {
|
|
|
24887
25106
|
he: {
|
|
24888
25107
|
startTitle: "DeployAI start",
|
|
24889
25108
|
startNewFolder: "\u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DB\u05D1\u05E8 \u05D9\u05E9 \u05E7\u05D1\u05E6\u05D9\u05DD, \u05D0\u05D6 \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D7\u05D3\u05E9 \u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D7\u05D3\u05E9\u05D4: {dir}",
|
|
24890
|
-
startUpdateFolder: "\u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05D9\u05E9 \u05E7\u05D1\u05E6\u05D9\u05DD \u05D0\u05D7\u05E8\u05D9\u05DD, \u05D0\u05D6 \u05D4\
|
|
25109
|
+
startUpdateFolder: "\u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05D9\u05E9 \u05E7\u05D1\u05E6\u05D9\u05DD \u05D0\u05D7\u05E8\u05D9\u05DD, \u05D0\u05D6 \u05D4\u05D5\u05E8\u05D3\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DC\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D7\u05D3\u05E9\u05D4: {dir}. \u05DB\u05D0\u05DF \u05DC\u05D0 \u05E9\u05D9\u05E0\u05D9\u05E0\u05D5 \u05DB\u05DC\u05D5\u05DD.",
|
|
24891
25110
|
nodeTooOld: "\u05D2\u05E8\u05E1\u05EA \u05D4\u05BENode.js \u05E9\u05DC\u05DB\u05DD \u05D4\u05D9\u05D0 {have}, \u05D5\u05BEDeployAI \u05E6\u05E8\u05D9\u05DA \u05D2\u05E8\u05E1\u05D4 {need} \u05D5\u05DE\u05E2\u05DC\u05D4. \u05DE\u05EA\u05E7\u05D9\u05E0\u05D9\u05DD \u05D0\u05EA \u05D2\u05E8\u05E1\u05EA \u05D4\u05BELTS \u05DE\u05BEnodejs.org, \u05E4\u05D5\u05EA\u05D7\u05D9\u05DD \u05D8\u05E8\u05DE\u05D9\u05E0\u05DC \u05D7\u05D3\u05E9 \u05D5\u05DE\u05E8\u05D9\u05E6\u05D9\u05DD \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05E4\u05E7\u05D5\u05D3\u05D4. \u05D0\u05D9\u05DA \u05E2\u05D5\u05E9\u05D9\u05DD \u05D0\u05EA \u05D6\u05D4: {url}",
|
|
24892
|
-
startDownloaded: "\u05D4\u05D3\u05D5\
|
|
24893
|
-
startInstalled: "\u05D4\u05D7\u05D1\u05D9\u05DC\u05D5\u05EA \u05E9\u05DC\u05D4
|
|
24894
|
-
startBrief: "\u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05E9\u05DC \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \
|
|
24895
|
-
startLinked: '\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \
|
|
24896
|
-
startRules: "\u05D4\u05DB\u05DC\u05DC\u05D9\u05DD \u05DC\u05E1\u05D5\u05DB\u05DF \
|
|
24897
|
-
startStarter: "\
|
|
24898
|
-
startStack: "\
|
|
24899
|
-
startScanned: "\
|
|
25111
|
+
startDownloaded: "\u05D4\u05D5\u05E8\u05D3\u05E0\u05D5 \u05D0\u05EA \u05D4\u05D3\u05D5\u05D2\u05DE\u05D4 {key}: {n} \u05E7\u05D1\u05E6\u05D9\u05DD.",
|
|
25112
|
+
startInstalled: "\u05D4\u05EA\u05E7\u05E0\u05D5 \u05D0\u05EA \u05D4\u05D7\u05D1\u05D9\u05DC\u05D5\u05EA \u05E9\u05DC\u05D4 (npm install).",
|
|
25113
|
+
startBrief: "\u05DB\u05EA\u05D1\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05E9\u05DC \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D1\u05BE{file} (\u05D4\u05E7\u05D5\u05D1\u05E5 \u05DC\u05D0 \u05E0\u05DB\u05E0\u05E1 \u05DC\u05BEgit \u05D5\u05DC\u05D0 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05EA\u05E8).",
|
|
25114
|
+
startLinked: '\u05D7\u05D9\u05D1\u05E8\u05E0\u05D5 \u05D0\u05EA \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05DC\u05D0\u05EA\u05E8 "{name}".',
|
|
25115
|
+
startRules: "\u05DB\u05EA\u05D1\u05E0\u05D5 \u05D0\u05EA \u05D4\u05DB\u05DC\u05DC\u05D9\u05DD \u05DC\u05E1\u05D5\u05DB\u05DF \u05D1\u05BEDEPLOYAI.md (\u05D4\u05E7\u05D5\u05D1\u05E5 \u05DC\u05D0 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05EA\u05E8).",
|
|
25116
|
+
startStarter: "\u05DB\u05EA\u05D1\u05E0\u05D5 \u05D3\u05E3 \u05E4\u05EA\u05D9\u05D7\u05D4 (index.html) \u05E9\u05E2\u05DC\u05D9\u05D5 \u05D1\u05D5\u05E0\u05D9\u05DD \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8.",
|
|
25117
|
+
startStack: "\u05E9\u05DE\u05E8\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E1\u05D8\u05D0\u05E7 \u05E9\u05E0\u05D1\u05D7\u05E8 \u05D1\u05D0\u05EA\u05E8: {stack}.",
|
|
25118
|
+
startScanned: "\u05E1\u05E8\u05E7\u05E0\u05D5 \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D9\u05E9\u05DF {url}: \u05D4\u05D3\u05E4\u05D9\u05DD, \u05D4\u05EA\u05DE\u05D5\u05E0\u05D5\u05EA \u05D5\u05D4\u05EA\u05D5\u05DB\u05DF \u05E9\u05DC\u05D5 \u05E0\u05DE\u05E6\u05D0\u05D9\u05DD \u05D1\u05BE{dir}.",
|
|
24900
25119
|
startBesideCode: "\u05D4\u05D0\u05EA\u05E8 \u05D4\u05D7\u05D3\u05E9 \u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05DE\u05E9\u05DC\u05D5, \u05DC\u05D9\u05D3 \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05E9\u05D4\u05D9\u05D5 \u05DB\u05D0\u05DF ({dir}). \u05D0\u05DD \u05D4\u05DD \u05D4\u05E7\u05D5\u05D3 \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D9\u05E9\u05DF, \u05E7\u05E8\u05D0 \u05D0\u05D5\u05EA\u05DD \u05DC\u05E4\u05E0\u05D9 \u05D4\u05EA\u05DB\u05E0\u05D5\u05DF.",
|
|
24901
25120
|
stackDiffers: "\u05E9\u05D9\u05DE\u05D5 \u05DC\u05D1: \u05D4\u05E1\u05D8\u05D0\u05E7 \u05E9\u05E0\u05D1\u05D7\u05E8 \u05D1\u05D0\u05EA\u05E8 \u05D4\u05D5\u05D0 {chosen}, \u05D0\u05D1\u05DC \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05D4\u05D9\u05D0 {found}. \u05D4\u05DE\u05E9\u05D9\u05DB\u05D5 \u05D1\u05E1\u05D8\u05D0\u05E7 \u05E9\u05E0\u05D1\u05D7\u05E8, \u05D0\u05D5 \u05D4\u05E1\u05D1\u05D9\u05E8\u05D5 \u05DC\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DC\u05DE\u05D4 \u05D4\u05D5\u05D0 \u05D4\u05E9\u05EA\u05E0\u05D4.",
|
|
24902
|
-
startRelinked: '\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \
|
|
25121
|
+
startRelinked: '\u05D7\u05D9\u05D1\u05E8\u05E0\u05D5 \u05D0\u05EA \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05DC\u05D0\u05EA\u05E8 "{name}", \u05D1\u05DE\u05E7\u05D5\u05DD \u05D4\u05D0\u05EA\u05E8 \u05E9\u05D4\u05D9\u05D9\u05EA\u05D4 \u05DE\u05D7\u05D5\u05D1\u05E8\u05EA \u05D0\u05DC\u05D9\u05D5.',
|
|
24903
25122
|
statusLine: "\u05DE\u05E6\u05D1: {s}",
|
|
24904
25123
|
ready: "\u05DE\u05D5\u05DB\u05DF \u05DC\u05E2\u05DC\u05D5\u05EA",
|
|
24905
25124
|
readyWarnings: "\u05DE\u05D5\u05DB\u05DF \u05DC\u05E2\u05DC\u05D5\u05EA, \u05E2\u05DD \u05D0\u05D6\u05D4\u05E8\u05D5\u05EA",
|
|
@@ -24913,13 +25132,13 @@ var M = {
|
|
|
24913
25132
|
copied: " (\u05D4\u05D5\u05E2\u05EA\u05E7)",
|
|
24914
25133
|
runDeploy: ' \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest deploy -m "<message>"',
|
|
24915
25134
|
movedSlug: "\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4\u05D0\u05EA\u05E8 \u05DC\u05E4\u05D9 \u05D4\u05D3\u05D5\u05DE\u05D9\u05D9\u05DF \u05D4\u05D9\u05E9\u05DF: {url}",
|
|
24916
|
-
autoLiveOn: "\u05D4\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DC\u05D1\u05D3 \u05DB\u05E9\u05D4\
|
|
25135
|
+
autoLiveOn: "\u05D4\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DC\u05D1\u05D3 \u05DB\u05E9\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05EA, \u05DB\u05DE\u05D5 \u05E9\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D2\u05D3\u05D9\u05E8 \u05D1\u05D4\u05D2\u05D3\u05E8\u05D5\u05EA \u05D4\u05D0\u05EA\u05E8. \u05DE\u05D7\u05DB\u05D9\u05DD \u05E9\u05D9\u05E2\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8.",
|
|
24917
25136
|
holdOn: "\u05D2\u05E8\u05E1\u05EA \u05D1\u05D3\u05D9\u05E7\u05D4: v{n} \u05E0\u05E9\u05D0\u05E8\u05EA \u05D1\u05EA\u05E6\u05D5\u05D2\u05D4 \u05DE\u05E7\u05D3\u05D9\u05DE\u05D4 \u05D5\u05DC\u05D0 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E2\u05D3 \u05E9\u05D4\u05D1\u05E2\u05DC\u05D9\u05DD \u05D9\u05D0\u05E9\u05E8\u05D5, \u05D2\u05DD \u05D1\u05D0\u05EA\u05E8 \u05E9\u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DC\u05D1\u05D3.",
|
|
24918
25137
|
holdAndLive: "--hold \u05DE\u05E9\u05D0\u05D9\u05E8 \u05D0\u05EA \u05D4\u05D2\u05E8\u05E1\u05D4 \u05D1\u05D4\u05DE\u05EA\u05E0\u05D4 \u05D5\u05BE--live \u05DE\u05E2\u05DC\u05D4 \u05D0\u05D5\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8. \u05D1\u05D7\u05E8\u05D5 \u05D0\u05D7\u05D3 \u05DE\u05D4\u05DD.",
|
|
24919
25138
|
holdGuest: "\u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05D0\u05D7\u05E8\u05D9 \u05DB\u05DC \u05D1\u05E0\u05D9\u05D9\u05D4, \u05D5\u05DC\u05DB\u05DF \u200E--hold \u05DC\u05D0 \u05D7\u05DC \u05E2\u05DC\u05D9\u05D5.",
|
|
24920
|
-
moveOfferGranted: "\u05D4\u05D0\u05EA\u05E8 \u05E2\
|
|
24921
|
-
moveOfferCap: "\u05D4\u05EA\u05D5\u05E1\u05E4\u05D9\u05DD \u05D4\u05D7\u05D9\u05E0\u05DE\u05D9\u05D9\u05DD \u05DC\u05D0\u05EA\u05E8\u05D9\u05DD \u05E9\
|
|
24922
|
-
moveOfferOver: "\u05DE\u05D1\u05E6\u05E2 \u05D4\u05EA\u05D5\u05E1\u05E4\u05D9\u05DD \u05D4\u05D7\u05D9\u05E0\u05DE\u05D9\u05D9\u05DD \u05DC\u05D0\u05EA\u05E8\u05D9\u05DD \u05E9\u05E2\u05D1\u05E8\u05D5 \u05D4\u05E1\u05EA\u05D9\u05D9\u05DD.",
|
|
25139
|
+
moveOfferGranted: "\u05D4\u05D0\u05EA\u05E8 \u05D4\u05D2\u05D9\u05E2 \u05D3\u05E8\u05DA \u200E/move \u05D5\u05E7\u05D9\u05D1\u05DC {n} \u05EA\u05D5\u05E1\u05E4\u05D9\u05DD \u05D1\u05D7\u05D9\u05E0\u05DD. \u05E0\u05E6\u05D9\u05E2 \u05D0\u05D5\u05EA\u05DD \u05D1\u05E9\u05DC\u05D1 \u05D4\u05D0\u05D7\u05E8\u05D5\u05DF, \u05D0\u05D7\u05E8\u05D9 \u05E9\u05D4\u05D4\u05E2\u05D1\u05E8\u05D4 \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05EA.",
|
|
25140
|
+
moveOfferCap: "\u05DB\u05D1\u05E8 \u05D4\u05E9\u05EA\u05DE\u05E9\u05EA\u05DD \u05D1\u05EA\u05D5\u05E1\u05E4\u05D9\u05DD \u05D4\u05D7\u05D9\u05E0\u05DE\u05D9\u05D9\u05DD \u05DC\u05D0\u05EA\u05E8\u05D9\u05DD \u05E9\u05D4\u05D5\u05E2\u05D1\u05E8\u05D5 \u05D1\u05BE3 \u05D0\u05EA\u05E8\u05D9\u05DD \u05D1\u05D7\u05E9\u05D1\u05D5\u05DF \u05D4\u05D6\u05D4.",
|
|
25141
|
+
moveOfferOver: "\u05DE\u05D1\u05E6\u05E2 \u05D4\u05EA\u05D5\u05E1\u05E4\u05D9\u05DD \u05D4\u05D7\u05D9\u05E0\u05DE\u05D9\u05D9\u05DD \u05DC\u05D0\u05EA\u05E8\u05D9\u05DD \u05E9\u05D4\u05D5\u05E2\u05D1\u05E8\u05D5 \u05D4\u05E1\u05EA\u05D9\u05D9\u05DD.",
|
|
24923
25142
|
initHint: " \u05DB\u05D3\u05D9 \u05E9\u05D4\u05E1\u05D5\u05DB\u05DF \u05D9\u05E2\u05D1\u05D5\u05D3 \u05DC\u05E4\u05D9 \u05D4\u05DB\u05DC\u05DC\u05D9\u05DD \u05E9\u05DC DeployAI, \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest init",
|
|
24924
25143
|
emptyFolder: "\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05DE\u05D4 \u05DC\u05D1\u05D3\u05D5\u05E7: \u05D0\u05D9\u05DF \u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05D0\u05EA\u05E8. \u05D1\u05E0\u05D5 \u05DB\u05D0\u05DF \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8, \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest check",
|
|
24925
25144
|
deployTitle: "DeployAI deploy",
|
|
@@ -24936,8 +25155,8 @@ var M = {
|
|
|
24936
25155
|
goesLive: "\u05D4\u05D2\u05E8\u05E1\u05D4 \u05D4\u05D7\u05D3\u05E9\u05D4 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DB\u05E9\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05E9\u05DC\u05D4 \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05EA.",
|
|
24937
25156
|
followBuild: " \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest status (\u05DB\u05D3\u05D9 \u05DC\u05E2\u05E7\u05D5\u05D1 \u05D0\u05D7\u05E8\u05D9 \u05D4\u05D1\u05E0\u05D9\u05D9\u05D4)",
|
|
24938
25157
|
thenPromote: " \u05D5\u05E8\u05E7 \u05D0\u05D7\u05E8\u05D9 \u05E9\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D0\u05D9\u05E9\u05E8 \u05D0\u05EA \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4: npx deployai@latest promote v{n} (\u05DB\u05D3\u05D9 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05D5\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8)",
|
|
24939
|
-
heavyPage: "\u05E2\u05DE\u05D5\u05D3 \u05D4\u05D1\u05D9\u05EA \u05D8\u05D5\u05E2\u05DF {n} \u05E7\u05D1\u05E6\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8. \u05E4\u05D7\u05D5\u05EA \u05E7\u05D1\u05E6\u05D9\u05DD \
|
|
24940
|
-
prefetchPage: "\u05E2\u05DE\u05D5\u05D3 \u05D4\u05D1\u05D9\u05EA \u05D8\u05D5\u05E2\u05DF \u05E2\u05DE\u05D5\u05D3\u05D9\u05DD \u05DC\u05E4\u05E0\u05D9 \u05E9\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E4\u05D5\u05EA\u05D7 \u05D0\u05D5\u05EA\u05DD (prefetch). \u05DB\u05D9\
|
|
25158
|
+
heavyPage: "\u05E2\u05DE\u05D5\u05D3 \u05D4\u05D1\u05D9\u05EA \u05D8\u05D5\u05E2\u05DF {n} \u05E7\u05D1\u05E6\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8. \u05DB\u05DB\u05DC \u05E9\u05D9\u05E9 \u05E4\u05D7\u05D5\u05EA \u05E7\u05D1\u05E6\u05D9\u05DD, \u05D4\u05D0\u05EA\u05E8 \u05E0\u05D8\u05E2\u05DF \u05DE\u05D4\u05E8 \u05D9\u05D5\u05EA\u05E8 \u05DC\u05DE\u05D1\u05E7\u05E8\u05D9\u05DD.",
|
|
25159
|
+
prefetchPage: "\u05E2\u05DE\u05D5\u05D3 \u05D4\u05D1\u05D9\u05EA \u05D8\u05D5\u05E2\u05DF \u05E2\u05DE\u05D5\u05D3\u05D9\u05DD \u05DC\u05E4\u05E0\u05D9 \u05E9\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E4\u05D5\u05EA\u05D7 \u05D0\u05D5\u05EA\u05DD (prefetch). \u05D0\u05DD \u05DE\u05DB\u05D1\u05D9\u05DD \u05D0\u05EA \u05D6\u05D4 \u05D1\u05E8\u05E9\u05D9\u05DE\u05D5\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8\u05D9\u05DD \u05D0\u05E8\u05D5\u05DB\u05D5\u05EA, \u05D4\u05DE\u05D1\u05E7\u05E8\u05D9\u05DD \u05D7\u05D5\u05E1\u05DB\u05D9\u05DD \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD.",
|
|
24941
25160
|
speedHint: " \u05DC\u05D1\u05D3\u05D9\u05E7\u05D4: npx deployai@latest speed {url}",
|
|
24942
25161
|
queueWaiting: "\u05DE\u05DE\u05EA\u05D9\u05DF \u05D1\u05EA\u05D5\u05E8, \u05DE\u05E7\u05D5\u05DD {n}",
|
|
24943
25162
|
files: "\u05E7\u05D1\u05E6\u05D9\u05DD",
|
|
@@ -24948,8 +25167,8 @@ var M = {
|
|
|
24948
25167
|
guestClaim: "\u05E4\u05EA\u05D7\u05D5 \u05D0\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8 \u05D4\u05E9\u05DE\u05D9\u05E8\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8 (\u05D4\u05E8\u05E9\u05DE\u05D4 \u05D0\u05D5 \u05DB\u05E0\u05D9\u05E1\u05D4).",
|
|
24949
25168
|
claimLink: "\u05E7\u05D9\u05E9\u05D5\u05E8 \u05D4\u05E9\u05DE\u05D9\u05E8\u05D4 \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D6\u05DE\u05E0\u05D9: {url}",
|
|
24950
25169
|
pulled: "\u05D4\u05D5\u05E8\u05D3\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3 \u05E9\u05DC \u05D2\u05E8\u05E1\u05D4 v{v}: {n} \u05E7\u05D1\u05E6\u05D9\u05DD.",
|
|
24951
|
-
pulledHistory: "\u05D4\
|
|
24952
|
-
pullNoGit: "\u05DB\u05D3\u05D9 \u05DC\u05D4\u05D5\u05E8\u05D9\u05D3 \u05D0\u05EA \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4 \u05E6\u05E8\u05D9\u05DA git \u05D1\u05DE\u05D7\u05E9\u05D1. \u05D4\u05EA\u05E7\u05D9\u05E0\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05DE
|
|
25170
|
+
pulledHistory: "\u05D4\u05D5\u05E8\u05D3\u05E0\u05D5 \u05D0\u05EA \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4: {n} \u05D2\u05E8\u05E1\u05D0\u05D5\u05EA \u05DB\u05BEcommits \u05D1\u05BEgit, \u05E2\u05D3 \u05D4\u05D2\u05E8\u05E1\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 v{v}.",
|
|
25171
|
+
pullNoGit: "\u05DB\u05D3\u05D9 \u05DC\u05D4\u05D5\u05E8\u05D9\u05D3 \u05D0\u05EA \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4 \u05E6\u05E8\u05D9\u05DA git \u05D1\u05DE\u05D7\u05E9\u05D1. \u05D4\u05EA\u05E7\u05D9\u05E0\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05DE\u05BEhttps://git-scm.com, \u05D0\u05D5 \u05D4\u05E8\u05D9\u05E6\u05D5 pull \u05D1\u05DC\u05D9 \u200E--history.",
|
|
24953
25172
|
pullNotLinked: "\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05D0 \u05DE\u05D7\u05D5\u05D1\u05E8\u05EA \u05DC\u05D0\u05EA\u05E8. \u05D4\u05E2\u05EA\u05D9\u05E7\u05D5 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05E9\u05D5\u05E8\u05D4 \u05DE\u05D3\u05E3 \u05D4\u05D0\u05EA\u05E8 \u05D1\u05BEDeployAI.",
|
|
24954
25173
|
pullNotEmpty: "\u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DB\u05D1\u05E8 \u05D9\u05E9 \u05E7\u05D1\u05E6\u05D9\u05DD, \u05D0\u05D6 \u05DC\u05D0 \u05D4\u05D5\u05E8\u05D3\u05E0\u05D5 \u05DB\u05DC\u05D5\u05DD. \u05D4\u05E9\u05EA\u05DE\u05E9\u05D5 \u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05E8\u05D9\u05E7\u05D4.",
|
|
24955
25174
|
pullNoSource: "\u05DC\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4 \u05E2\u05D5\u05D3 \u05D0\u05D9\u05DF \u05D2\u05E8\u05E1\u05D4 \u05DC\u05D4\u05D5\u05E8\u05D9\u05D3.",
|
|
@@ -24958,17 +25177,17 @@ var M = {
|
|
|
24958
25177
|
guestEmailHint: "\u05DC\u05E7\u05D1\u05DC \u05D0\u05D5\u05EA\u05D5 \u05D1\u05DE\u05D9\u05D9\u05DC, \u05E2\u05DD \u05EA\u05D6\u05DB\u05D5\u05E8\u05EA \u05DC\u05E4\u05E0\u05D9 \u05D4\u05DE\u05D7\u05D9\u05E7\u05D4: npx deployai@latest claim --email <email>",
|
|
24959
25178
|
claimEmailed: "\u05E9\u05DC\u05D7\u05E0\u05D5 \u05D0\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8 \u05D4\u05E9\u05DE\u05D9\u05E8\u05D4 \u05DC\u05BE{email}. \u05EA\u05D6\u05DB\u05D5\u05E8\u05EA \u05EA\u05D2\u05D9\u05E2 3 \u05D9\u05DE\u05D9\u05DD \u05DC\u05E4\u05E0\u05D9 \u05E9\u05D4\u05D0\u05EA\u05E8 \u05E0\u05DE\u05D7\u05E7.",
|
|
24960
25179
|
claimNoLink: "\u05DE\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05D0 \u05D4\u05D5\u05E2\u05DC\u05D4 \u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9 \u05DE\u05D4\u05DE\u05D7\u05E9\u05D1 \u05D4\u05D6\u05D4, \u05D0\u05D6 \u05D0\u05D9\u05DF \u05DB\u05D0\u05DF \u05E7\u05D9\u05E9\u05D5\u05E8 \u05E9\u05DE\u05D9\u05E8\u05D4.",
|
|
24961
|
-
rollbackQueued: "\u05D4\u05D7\u05D6\u05E8\u05D4 \u05DC\u05BEv{n} \
|
|
24962
|
-
promoteQueued: "\u05D4\u05E2\u05DC\u05D0\u05EA v{n} \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \
|
|
25180
|
+
rollbackQueued: "\u05D4\u05D7\u05D6\u05E8\u05D4 \u05DC\u05BEv{n} \u05E0\u05DB\u05E0\u05E1\u05D4 \u05DC\u05EA\u05D5\u05E8. \u05DC\u05D0 \u05E6\u05E8\u05D9\u05DA \u05DC\u05D1\u05E0\u05D5\u05EA \u05DE\u05D7\u05D3\u05E9.",
|
|
25181
|
+
promoteQueued: "\u05D4\u05E2\u05DC\u05D0\u05EA v{n} \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E0\u05DB\u05E0\u05E1\u05D4 \u05DC\u05EA\u05D5\u05E8.",
|
|
24963
25182
|
runStatus: " \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest status",
|
|
24964
25183
|
statusTitle: "DeployAI status",
|
|
24965
25184
|
state: "\u05DE\u05E6\u05D1",
|
|
24966
|
-
liveVersion: "\u05D2\u05E8\u05E1\u05D4 \
|
|
25185
|
+
liveVersion: "\u05D2\u05E8\u05E1\u05D4 \u05D1\u05D0\u05D5\u05D5\u05D9\u05E8",
|
|
24967
25186
|
newestVersion: "\u05D2\u05E8\u05E1\u05D4 \u05D0\u05D7\u05E8\u05D5\u05E0\u05D4",
|
|
24968
25187
|
promoteReady: " \u05D0\u05D7\u05E8\u05D9 \u05E9\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D0\u05D9\u05E9\u05E8 \u05D0\u05EA \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4: npx deployai@latest promote v{n} (\u05DB\u05D3\u05D9 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05D5\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8)",
|
|
24969
|
-
firstLookNext: " \u05D2\u05E8\u05E1\u05D4 {n} \u05D4\u05D9\u05D0 \u05D4\u05DE\u05D1\u05D8 \u05D4\u05E8\u05D0\u05E9\u05D5\u05DF \u05D4\u05E4\u05E8\u05D8\u05D9
|
|
25188
|
+
firstLookNext: " \u05D2\u05E8\u05E1\u05D4 {n} \u05D4\u05D9\u05D0 \u05D4\u05DE\u05D1\u05D8 \u05D4\u05E8\u05D0\u05E9\u05D5\u05DF \u05D4\u05E4\u05E8\u05D8\u05D9, \u05D5\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DC\u05D0 \u05E6\u05E8\u05D9\u05DA \u05DC\u05D0\u05E9\u05E8 \u05D0\u05D5\u05EA\u05D4: \u05E9\u05DC\u05D7\u05D5 \u05D0\u05EA \u05DB\u05EA\u05D5\u05D1\u05EA \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4 \u05D5\u05D4\u05DE\u05E9\u05D9\u05DB\u05D5 \u05DC\u05E9\u05DC\u05D1 \u05D4\u05D1\u05D0.",
|
|
24970
25189
|
previewNotYet: "\u05E7\u05D9\u05E9\u05D5\u05E8 \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4 \u05E2\u05D5\u05D3 \u05DC\u05D0 \u05E2\u05D5\u05E0\u05D4. \u05D6\u05D4 \u05D9\u05DB\u05D5\u05DC \u05DC\u05E7\u05D7\u05EA \u05DB\u05DE\u05D4 \u05D3\u05E7\u05D5\u05EA: \u05D4\u05DE\u05E9\u05D9\u05DB\u05D5 \u05DC\u05E2\u05D1\u05D5\u05D3, \u05D5\u05E4\u05EA\u05D7\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05D0\u05D7\u05E8\u05D9 \u05D4\u05E9\u05DC\u05D1 \u05D4\u05D1\u05D0.",
|
|
24971
|
-
publicLeftOut: " {count} \u05E7\u05D1\u05E6\u05D9\u05DD \u05E9\u05D4\u05D0\u05EA\u05E8 \u05DE\u05D2\u05D9\u05E9 \u05DC\u05D0 \u05E2\u05D5\u05DC\u05D9\u05DD, \u05DB\u05D9 \u200E.gitignore \u05DE\
|
|
25190
|
+
publicLeftOut: " {count} \u05E7\u05D1\u05E6\u05D9\u05DD \u05E9\u05D4\u05D0\u05EA\u05E8 \u05DE\u05D2\u05D9\u05E9 \u05DC\u05D0 \u05E2\u05D5\u05DC\u05D9\u05DD, \u05DB\u05D9 \u200E.gitignore \u05DE\u05E9\u05D0\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DD \u05D1\u05D7\u05D5\u05E5. \u05D4\u05E8\u05D0\u05E9\u05D5\u05DF: {file}",
|
|
24972
25191
|
sameNameChanged: " {count} \u05E7\u05D1\u05E6\u05D9\u05DD \u05D4\u05E9\u05EA\u05E0\u05D5 \u05D0\u05D1\u05DC \u05E9\u05DE\u05E8\u05D5 \u05E2\u05DC \u05D4\u05E9\u05DD, \u05D0\u05D6 \u05DE\u05D1\u05E7\u05E8\u05D9\u05DD \u05D7\u05D5\u05D6\u05E8\u05D9\u05DD \u05E2\u05DC\u05D5\u05DC\u05D9\u05DD \u05DC\u05E8\u05D0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D9\u05E9\u05DF \u05E2\u05D3 \u05D7\u05D5\u05D3\u05E9. \u05D4\u05E8\u05D0\u05E9\u05D5\u05DF: {file}. \u05E9\u05DE\u05E8\u05D5 \u05EA\u05DE\u05D5\u05E0\u05D4 \u05E9\u05D4\u05E9\u05EA\u05E0\u05EA\u05D4 \u05D1\u05E9\u05DD \u05D7\u05D3\u05E9 \u05E2\u05DD \u05E7\u05D5\u05D3 \u05E7\u05E6\u05E8, \u05DB\u05DE\u05D5 team-3f9a2c.webp, \u05D5\u05E2\u05D3\u05DB\u05E0\u05D5 \u05D0\u05D9\u05E4\u05D4 \u05E9\u05D4\u05D9\u05D0 \u05D1\u05E9\u05D9\u05DE\u05D5\u05E9.",
|
|
24973
25192
|
publicLeftOutFix: " \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05D5\u05EA\u05DD, \u05D4\u05D5\u05E1\u05D9\u05E4\u05D5 \u05D0\u05EA \u05D4\u05E9\u05D5\u05E8\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05E7\u05D5\u05D1\u05E5 \u200E.deployaiignore: !{dir}/",
|
|
24974
25193
|
statusWait: " \u05DB\u05D3\u05D9 \u05DC\u05D7\u05DB\u05D5\u05EA \u05DB\u05D0\u05DF \u05E2\u05D3 \u05E9\u05D6\u05D4 \u05E0\u05D2\u05DE\u05E8: npx deployai@latest status --wait",
|
|
@@ -24982,20 +25201,20 @@ var M = {
|
|
|
24982
25201
|
askOwner: ' \u05D2\u05E8\u05E1\u05D4 {n} \u05DE\u05D5\u05DB\u05E0\u05D4 \u05D5\u05E2\u05D5\u05D3 \u05DC\u05D0 \u05D1\u05D0\u05D5\u05D5\u05D9\u05E8. \u05E9\u05D0\u05DC\u05D5 \u05D0\u05EA \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8: "\u05D2\u05E8\u05E1\u05D4 {n} \u05DE\u05D5\u05DB\u05E0\u05D4. \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05D5\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8?"',
|
|
24983
25202
|
showPreview: " \u05E9\u05DC\u05D7\u05D5 \u05E7\u05D5\u05D3\u05DD \u05D0\u05EA \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4: {url}",
|
|
24984
25203
|
homeBroken: " \u05D3\u05E3 \u05D4\u05D1\u05D9\u05EA \u05D1\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4 \u05DE\u05D7\u05D6\u05D9\u05E8 {status}, \u05D5\u05DC\u05DB\u05DF \u05DE\u05D1\u05E7\u05E8\u05D9\u05DD \u05DC\u05D0 \u05D9\u05E8\u05D0\u05D5 \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8.",
|
|
24985
|
-
homeFix: " \u05EA\u05E7\u05E0\u05D5 \u05D5\
|
|
25204
|
+
homeFix: " \u05EA\u05E7\u05E0\u05D5 \u05D5\u05D4\u05E2\u05DC\u05D5 \u05E9\u05D5\u05D1. \u05D4\u05D2\u05E8\u05E1\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05D0 \u05E2\u05DC\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8, \u05D0\u05D6 \u05E2\u05D5\u05D3 \u05D0\u05DC \u05EA\u05E9\u05DC\u05D7\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D9\u05E9\u05D5\u05E8 \u05DC\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8.",
|
|
24986
25205
|
creditLeft: " \u05D4\u05D0\u05EA\u05E8 \u05E2\u05D3\u05D9\u05D9\u05DF \u05DE\u05E6\u05D9\u05D2 \u05E7\u05E8\u05D3\u05D9\u05D8 \u05E9\u05DC \u05D1\u05D5\u05E0\u05D4 \u05D0\u05EA\u05E8\u05D9\u05DD: {text}",
|
|
24987
25206
|
creditFix: " \u05D4\u05E1\u05D9\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05D5\u05E9\u05D9\u05DE\u05D5 \u05D1\u05DE\u05E7\u05D5\u05DE\u05D5 \u05D0\u05EA \u05E9\u05DD \u05D4\u05D0\u05EA\u05E8 \u05D5\u05D4\u05E9\u05E0\u05D4, \u05D0\u05DC\u05D0 \u05D0\u05DD \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D1\u05D9\u05E7\u05E9 \u05DC\u05D4\u05E9\u05D0\u05D9\u05E8 \u05D0\u05D5\u05EA\u05D5.",
|
|
24988
|
-
askLiveFirst: "\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DE\u05D9\u05D3 \u05DB\u05E9\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05EA? \u05DC\u05D0 \
|
|
25207
|
+
askLiveFirst: "\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DE\u05D9\u05D3 \u05DB\u05E9\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05EA? \u05D0\u05DD \u05EA\u05E2\u05E0\u05D5 \u05DC\u05D0, \u05EA\u05E8\u05D0\u05D5 \u05E7\u05D5\u05D3\u05DD \u05D0\u05EA \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4. (y/N) ",
|
|
24989
25208
|
askLiveNow: "\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05EA v{n} \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E2\u05DB\u05E9\u05D9\u05D5? (y/N) ",
|
|
24990
25209
|
waitBuild: "\u05DE\u05D7\u05DB\u05D9\u05DD \u05DC\u05D1\u05E0\u05D9\u05D9\u05D4 \u05E9\u05DC v{n}. Ctrl+C \u05DE\u05E4\u05E1\u05D9\u05E7 \u05D0\u05EA \u05D4\u05D4\u05DE\u05EA\u05E0\u05D4, \u05DC\u05D0 \u05D0\u05EA \u05D4\u05D1\u05E0\u05D9\u05D9\u05D4.",
|
|
24991
25210
|
waitState: " v{n}: {s}",
|
|
24992
25211
|
buildSlow: "\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05E9\u05DC v{n} \u05DC\u05D5\u05E7\u05D7\u05EA \u05D9\u05D5\u05EA\u05E8 \u05D6\u05DE\u05DF \u05DE\u05D4\u05E8\u05D2\u05D9\u05DC.",
|
|
24993
25212
|
liveNow: "v{n} \u05D1\u05D0\u05D5\u05D5\u05D9\u05E8: {url}",
|
|
24994
25213
|
soundOn: "\u05D4\u05E6\u05DC\u05D9\u05DC \u05E4\u05D5\u05E2\u05DC: \u05D4\u05DE\u05D7\u05E9\u05D1 \u05D4\u05D6\u05D4 \u05D9\u05E9\u05DE\u05D9\u05E2 \u05E6\u05DC\u05D9\u05DC \u05DB\u05E9\u05D4\u05D0\u05EA\u05E8 \u05DE\u05D5\u05DB\u05DF. \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E4\u05E1\u05D9\u05E7: npx deployai@latest sound off.",
|
|
24995
|
-
soundAgentOn: "\u05D2\u05DD \u05D1\u05D8\u05E8\u05DE\u05D9\u05E0\u05DC \u05D4\u05D6\u05D4: \u05E6\u05DC\u05D9\u05DC \u05E8\u05DA \u05DB\u05E9\u05D4\u05E1\u05D5\u05DB\u05DF \u05DE\u05E1\u05D9\u05D9\u05DD, \u05D5\u05E6\u05DC\u05D9\u05DC \u05E0\u05D5\u05E1\u05E3 \u05DB\u05E9\u05D4\u05D5\u05D0 \u05E6\u05E8\u05D9\u05DA \u05D0\u05EA\u05DB\u05DD. \u05D4\u05E0\u05E7\u05D5\u05D3\u05D4 \u05D4\u05E6\u05D1\u05E2\u05D5\u05E0\u05D9\u05EA \u05D1\u05DC\u05E9\u05D5\u05E0\u05D9\u05EA \u05EA\u05D5\u05E4\u05D9\u05E2 \u05D1\u05E4\u05E2\u05DD \u05D4\u05D1\u05D0\u05D4 \u05E9
|
|
25214
|
+
soundAgentOn: "\u05D2\u05DD \u05D1\u05D8\u05E8\u05DE\u05D9\u05E0\u05DC \u05D4\u05D6\u05D4: \u05E6\u05DC\u05D9\u05DC \u05E8\u05DA \u05DB\u05E9\u05D4\u05E1\u05D5\u05DB\u05DF \u05DE\u05E1\u05D9\u05D9\u05DD, \u05D5\u05E6\u05DC\u05D9\u05DC \u05E0\u05D5\u05E1\u05E3 \u05DB\u05E9\u05D4\u05D5\u05D0 \u05E6\u05E8\u05D9\u05DA \u05D0\u05EA\u05DB\u05DD. \u05D4\u05E0\u05E7\u05D5\u05D3\u05D4 \u05D4\u05E6\u05D1\u05E2\u05D5\u05E0\u05D9\u05EA \u05D1\u05DC\u05E9\u05D5\u05E0\u05D9\u05EA \u05EA\u05D5\u05E4\u05D9\u05E2 \u05D1\u05E4\u05E2\u05DD \u05D4\u05D1\u05D0\u05D4 \u05E9\u05BEClaude Code \u05E0\u05E4\u05EA\u05D7.",
|
|
24996
25215
|
soundOff: "\u05D4\u05E6\u05DC\u05D9\u05DC \u05DB\u05D1\u05D5\u05D9. \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E4\u05E2\u05D9\u05DC: npx deployai@latest sound on.",
|
|
24997
|
-
soundTest: "\u05D4\
|
|
24998
|
-
closedHere: "\u05D4\u05D0\u05EA\u05E8 \u05E4\u05EA\u05D5\u05D7 \u05E8\u05E7 \u05DC\u05DE\u05D1\u05E7\u05E8\u05D9\u05DD \u05DE: {countries}. \u05DE\u05DB\u05D0\u05DF ({country}) \u05DE\u05D5\u05E6\u05D2 \u05D3\u05E3 \u05D7\u05E1\u05D5\u05DD.",
|
|
25216
|
+
soundTest: "\u05D4\u05E9\u05DE\u05E2\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E6\u05DC\u05D9\u05DC. \u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05DD? \u05D1\u05D3\u05E7\u05D5 \u05D0\u05EA \u05D4\u05E8\u05DE\u05E7\u05D5\u05DC\u05D9\u05DD: \u05DE\u05D4 \u05E9\u05DE\u05D5\u05D3\u05E4\u05E1 \u05DB\u05D0\u05DF \u05EA\u05DE\u05D9\u05D3 \u05D0\u05D5\u05DE\u05E8 \u05D0\u05EA \u05D0\u05D5\u05EA\u05D5 \u05D4\u05D3\u05D1\u05E8.",
|
|
25217
|
+
closedHere: "\u05D4\u05D0\u05EA\u05E8 \u05E4\u05EA\u05D5\u05D7 \u05E8\u05E7 \u05DC\u05DE\u05D1\u05E7\u05E8\u05D9\u05DD \u05DE\u05D4\u05DE\u05D3\u05D9\u05E0\u05D5\u05EA \u05D4\u05D0\u05DC\u05D4: {countries}. \u05DE\u05DB\u05D0\u05DF ({country}) \u05DE\u05D5\u05E6\u05D2 \u05D3\u05E3 \u05D7\u05E1\u05D5\u05DD.",
|
|
24999
25218
|
closedHereOpen: " \u05E4\u05EA\u05D7\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05D2\u05DD \u05DC\u05BE{country}: {url}",
|
|
25000
25219
|
closedHereAsk: " \u05D1\u05E7\u05E9\u05D5 \u05DE\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DC\u05E4\u05EA\u05D5\u05D7 \u05D0\u05D5\u05EA\u05D5 \u05D2\u05DD \u05DC\u05BE{country}.",
|
|
25001
25220
|
closedHereVpn: " \u05D0\u05D5 \u05D4\u05E9\u05EA\u05DE\u05E9\u05D5 \u05D1\u05BEVPN \u05D3\u05E8\u05DA \u05DE\u05D3\u05D9\u05E0\u05D4 \u05E9\u05D4\u05D0\u05EA\u05E8 \u05E4\u05EA\u05D5\u05D7 \u05D1\u05D4.",
|
|
@@ -25008,12 +25227,12 @@ var M = {
|
|
|
25008
25227
|
envNone: "\u05DC\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4 \u05E2\u05D5\u05D3 \u05D0\u05D9\u05DF \u05DE\u05E9\u05EA\u05E0\u05D9\u05DD. \u05D4\u05D5\u05E1\u05D9\u05E4\u05D5 \u05D0\u05D7\u05D3: npx deployai@latest env set <KEY> <value>",
|
|
25009
25228
|
envSecret: "\u05E1\u05D5\u05D3",
|
|
25010
25229
|
envPlain: "\u05D2\u05DC\u05D5\u05D9",
|
|
25011
|
-
envNeedValue: '\u05DB\u05EA\u05D1\u05D5 \u05D0\u05EA \u05D4\u05E2\u05E8\u05DA \u05D0\u05D7\u05E8\u05D9 \u05D4\u05E9\u05DD, \u05D0\u05D5 \u05D4\u05E2\u05D1\u05D9\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \
|
|
25230
|
+
envNeedValue: '\u05DB\u05EA\u05D1\u05D5 \u05D0\u05EA \u05D4\u05E2\u05E8\u05DA \u05D0\u05D7\u05E8\u05D9 \u05D4\u05E9\u05DD, \u05D0\u05D5 \u05D4\u05E2\u05D1\u05D9\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05DE\u05E4\u05E7\u05D5\u05D3\u05D4 \u05D0\u05D7\u05E8\u05EA: echo "<value>" | npx deployai@latest env set <KEY>',
|
|
25012
25231
|
envSavedSecret: "\u05E9\u05DE\u05E8\u05E0\u05D5 \u05D0\u05EA {key} \u05DB\u05E1\u05D5\u05D3 \u05D1\u05D0\u05EA\u05E8 \u05D4\u05D7\u05D9. \u05D4\u05E2\u05E8\u05DA \u05DC\u05D0 \u05E0\u05E9\u05DE\u05E8 \u05D0\u05E6\u05DC\u05E0\u05D5 \u05D5\u05DC\u05D0 \u05D9\u05D5\u05E6\u05D2 \u05E9\u05D5\u05D1.",
|
|
25013
25232
|
envSavedPlain: "\u05E9\u05DE\u05E8\u05E0\u05D5 \u05D0\u05EA {key}. \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D7\u05D9 \u05D9\u05E7\u05D1\u05DC \u05D0\u05D5\u05EA\u05D5 \u05EA\u05D5\u05DA \u05DB\u05D3\u05E7\u05D4.",
|
|
25014
25233
|
envRemoved: "\u05D4\u05E1\u05E8\u05E0\u05D5 \u05D0\u05EA {key}. \u05D4\u05D5\u05D0 \u05D9\u05D9\u05E2\u05DC\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8 \u05D4\u05D7\u05D9 \u05EA\u05D5\u05DA \u05DB\u05D3\u05E7\u05D4.",
|
|
25015
|
-
guestNoEnv: "\u05DC\u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9 \u05D0\u05D9\u05DF \u05DE\u05E9\u05EA\u05E0\u05D9 \u05E1\u05D1\u05D9\u05D1\u05D4. \u05E9\u05DE\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \
|
|
25016
|
-
envInvalidKey: "\u05E9\u05DD \u05DE\u05E9\u05EA\u05E0\u05D4: \u05D0\u05D5\u05EA\u05D9\u05D5\u05EA \u05D2\u05D3\u05D5\u05DC\u05D5\u05EA \u05D1\u05D0\u05E0\u05D2\u05DC\u05D9\u05EA, \u05E1\u05E4\u05E8\u05D5\u05EA \u05D5
|
|
25234
|
+
guestNoEnv: "\u05DC\u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9 \u05D0\u05D9\u05DF \u05DE\u05E9\u05EA\u05E0\u05D9 \u05E1\u05D1\u05D9\u05D1\u05D4. \u05E7\u05D5\u05D3\u05DD \u05E9\u05DE\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05D1\u05D7\u05E9\u05D1\u05D5\u05DF: npx deployai@latest claim",
|
|
25235
|
+
envInvalidKey: "\u05E9\u05DD \u05DE\u05E9\u05EA\u05E0\u05D4: \u05D0\u05D5\u05EA\u05D9\u05D5\u05EA \u05D2\u05D3\u05D5\u05DC\u05D5\u05EA \u05D1\u05D0\u05E0\u05D2\u05DC\u05D9\u05EA, \u05E1\u05E4\u05E8\u05D5\u05EA \u05D5\u05BE_, \u05DE\u05EA\u05D7\u05D9\u05DC \u05D1\u05D0\u05D5\u05EA, \u05E2\u05D3 64 \u05EA\u05D5\u05D5\u05D9\u05DD, \u05DB\u05DE\u05D5 STRIPE_KEY.",
|
|
25017
25236
|
envTooLong: "\u05D4\u05E2\u05E8\u05DA \u05D2\u05D3\u05D5\u05DC \u05DE\u05BE5KB, \u05D0\u05E8\u05D5\u05DA \u05DE\u05D3\u05D9 \u05DC\u05DE\u05E9\u05EA\u05E0\u05D4.",
|
|
25018
25237
|
envSendFailed: "\u05D4\u05E1\u05D5\u05D3 \u05DC\u05D0 \u05D4\u05D2\u05D9\u05E2 \u05DC\u05D0\u05EA\u05E8. \u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1 \u05D1\u05E2\u05D5\u05D3 \u05D3\u05E7\u05D4.",
|
|
25019
25238
|
envNoKey: "\u05DC\u05D0\u05EA\u05E8 \u05D0\u05D9\u05DF \u05DE\u05E9\u05EA\u05E0\u05D4 \u05D1\u05E9\u05DD \u05D4\u05D6\u05D4. \u05DC\u05E8\u05E9\u05D9\u05DE\u05D4: npx deployai@latest env list",
|
|
@@ -25023,8 +25242,8 @@ var M = {
|
|
|
25023
25242
|
buildLogTail: "\u05E1\u05D5\u05E3 \u05D9\u05D5\u05DE\u05DF \u05D4\u05D1\u05E0\u05D9\u05D9\u05D4:",
|
|
25024
25243
|
buildFixHint: '\u05EA\u05E7\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D4 \u05E9\u05DC\u05DE\u05E2\u05DC\u05D4, \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest check, \u05D5\u05D0\u05D7\u05E8\u05D9\u05D5 npx deployai@latest deploy -m "<message>" --fixed "<one sentence: what you changed, no code>"',
|
|
25025
25244
|
buildFixHintNoNote: '\u05EA\u05E7\u05E0\u05D5 \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D4 \u05E9\u05DC\u05DE\u05E2\u05DC\u05D4, \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest check, \u05D5\u05D0\u05D7\u05E8\u05D9\u05D5 npx deployai@latest deploy -m "<message>"',
|
|
25026
|
-
buildFailedAfter: '\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05E2\u05E6\u05DE\u05D4 \u05D4\u05E1\u05EA\u05D9\u05D9\u05DE\u05D4: \u05D4\u05D9\u05D5\u05DE\u05DF \u05E9\u05DC\u05D4 \u05E0\u05D2\u05DE\u05E8 \u05D1\u05DC\u05D9 \u05E9\u05D2\u05D9\u05D0\u05D4, \u05DB\u05DA \u05E9\u05D4\u05DB\u05D9\u05E9\u05DC\u05D5\u05DF \u05E7\u05E8\u05D4 \u05D1\u05E9\u05DC\u05D1 \u05E9\u05D0\u05D7\u05E8\u05D9\u05D4, \u05D0\u05E6\u05DC\u05E0\u05D5. \u05D0\u05DC \u05EA\u05E9\u05E0\u05D5 \u05DB\u05DC\u05D5\u05DD \u05D5\
|
|
25027
|
-
linkedTo: "\u05DE\u05D7\u05D5\u05D1\u05E8 \u05DC
|
|
25245
|
+
buildFailedAfter: '\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05E2\u05E6\u05DE\u05D4 \u05D4\u05E1\u05EA\u05D9\u05D9\u05DE\u05D4: \u05D4\u05D9\u05D5\u05DE\u05DF \u05E9\u05DC\u05D4 \u05E0\u05D2\u05DE\u05E8 \u05D1\u05DC\u05D9 \u05E9\u05D2\u05D9\u05D0\u05D4, \u05DB\u05DA \u05E9\u05D4\u05DB\u05D9\u05E9\u05DC\u05D5\u05DF \u05E7\u05E8\u05D4 \u05D1\u05E9\u05DC\u05D1 \u05E9\u05D0\u05D7\u05E8\u05D9\u05D4, \u05D0\u05E6\u05DC\u05E0\u05D5. \u05D0\u05DC \u05EA\u05E9\u05E0\u05D5 \u05DB\u05DC\u05D5\u05DD, \u05D5\u05D4\u05E2\u05DC\u05D5 \u05E9\u05D5\u05D1 \u05D1\u05D0\u05D5\u05EA\u05D4 \u05E4\u05E7\u05D5\u05D3\u05D4. \u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05E9\u05DC \u05E9\u05D5\u05D1 \u05D1\u05D0\u05D5\u05EA\u05D4 \u05E6\u05D5\u05E8\u05D4, \u05E1\u05E4\u05E8\u05D5 \u05DC\u05E0\u05D5: npx deployai@latest feedback --kind blocker --command deploy --what "<what you ran and what it printed>"',
|
|
25246
|
+
linkedTo: "\u05DE\u05D7\u05D5\u05D1\u05E8 \u05DC\u05BE{name} ({slug}).",
|
|
25028
25247
|
loginTitle: "DeployAI login",
|
|
25029
25248
|
browserOpened: "\u05D4\u05D3\u05E4\u05D3\u05E4\u05DF \u05E0\u05E4\u05EA\u05D7. \u05D0\u05E9\u05E8\u05D5 \u05E9\u05DD \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3.",
|
|
25030
25249
|
openAddress: "\u05E4\u05EA\u05D7\u05D5 \u05D0\u05EA \u05D4\u05DB\u05EA\u05D5\u05D1\u05EA \u05E9\u05DC\u05DE\u05E2\u05DC\u05D4 \u05D1\u05D3\u05E4\u05D3\u05E4\u05DF \u05D5\u05D0\u05E9\u05E8\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3.",
|
|
@@ -25038,21 +25257,27 @@ var M = {
|
|
|
25038
25257
|
notEntitled: "\u05DC\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4 \u05D0\u05D9\u05DF \u05D0\u05EA \u05D4\u05EA\u05D5\u05E1\u05E3 \u05D4\u05D6\u05D4. \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D9\u05DB\u05D5\u05DC \u05DC\u05E7\u05E0\u05D5\u05EA \u05D0\u05D5\u05EA\u05D5 \u05DC\u05D0\u05EA\u05E8 \u05DB\u05D0\u05DF: {url}",
|
|
25039
25258
|
forbidden: "\u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05D4\u05D6\u05D4 \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4. \u05D1\u05D3\u05E7\u05D5 \u05E9\u05E0\u05DB\u05E0\u05E1\u05EA\u05DD \u05E2\u05DD \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05D4\u05D0\u05EA\u05E8 \u05E9\u05D9\u05D9\u05DA \u05DC\u05D5.",
|
|
25040
25259
|
versionStale: "\u05D2\u05E8\u05E1\u05D4 {n} \u05E0\u05D1\u05E0\u05EA\u05D4 \u05DC\u05E4\u05E0\u05D9 \u05E9\u05D2\u05E8\u05E1\u05D4 {live} \u05E2\u05DC\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 ({by}). \u05D4\u05E2\u05DC\u05D0\u05D4 \u05E2\u05DB\u05E9\u05D9\u05D5 \u05EA\u05D5\u05E8\u05D9\u05D3 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 \u05DE\u05D4\u05D0\u05EA\u05E8. \u05E7\u05D5\u05D3\u05DD \u05DE\u05DB\u05E0\u05D9\u05E1\u05D9\u05DD \u05D0\u05D5\u05EA\u05DD: npx deployai@latest sync, \u05D5\u05D0\u05D6 \u05DE\u05E2\u05DC\u05D9\u05DD \u05E9\u05D5\u05D1. \u05E8\u05E7 \u05D0\u05DD \u05D4\u05D1\u05E2\u05DC\u05D9\u05DD \u05D0\u05D5\u05DE\u05E8\u05D9\u05DD \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D1\u05DB\u05DC \u05D6\u05D0\u05EA: npx deployai@latest promote {n} --anyway",
|
|
25041
|
-
versionRolledBack: "\u05D4\u05D0\u05EA\u05E8 \
|
|
25260
|
+
versionRolledBack: "\u05D4\u05D0\u05EA\u05E8 \u05D7\u05D6\u05E8 \u05DC\u05D2\u05E8\u05E1\u05D4 {live} \u05D0\u05D7\u05E8\u05D9 \u05E9\u05DE\u05D9\u05E9\u05D4\u05D5 \u05DC\u05E7\u05D7 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3 \u05E9\u05DC \u05D2\u05E8\u05E1\u05D4 {n}, \u05D5\u05D1\u05E7\u05D5\u05D3 \u05D4\u05D6\u05D4 \u05E2\u05D3\u05D9\u05D9\u05DF \u05D9\u05E9 \u05D0\u05EA \u05DE\u05D4 \u05E9\u05D9\u05E8\u05D3 \u05DE\u05D4\u05D0\u05EA\u05E8 (\u05D2\u05E8\u05E1\u05D0\u05D5\u05EA {dropped}). \u05E9\u05D0\u05DC\u05D5 \u05D0\u05EA \u05D4\u05D1\u05E2\u05DC\u05D9\u05DD: \u05DC\u05D4\u05E9\u05D0\u05D9\u05E8 \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8 \u05DB\u05DE\u05D5 \u05E9\u05D4\u05D5\u05D0 \u05E2\u05DB\u05E9\u05D9\u05D5 (npx deployai@latest sync \u05D5\u05D0\u05D6 \u05DE\u05E2\u05DC\u05D9\u05DD \u05E9\u05D5\u05D1), \u05D0\u05D5 \u05DC\u05D4\u05D7\u05D6\u05D9\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD (npx deployai@latest promote {n} --anyway).",
|
|
25042
25261
|
someone: "\u05DE\u05D9\u05E9\u05D4\u05D5",
|
|
25043
25262
|
syncNoGit: "\u05DB\u05D3\u05D9 \u05DC\u05D7\u05D1\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05E6\u05E8\u05D9\u05DA git \u05D1\u05DE\u05D7\u05E9\u05D1 \u05D4\u05D6\u05D4. \u05D4\u05EA\u05E7\u05D9\u05E0\u05D5 \u05D0\u05EA git (https://git-scm.com/downloads), \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest sync",
|
|
25044
25263
|
syncNoBase: "\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05D0 \u05D9\u05D5\u05D3\u05E2\u05EA \u05DE\u05D0\u05D9\u05D6\u05D5 \u05D2\u05E8\u05E1\u05D4 \u05D4\u05E7\u05D5\u05D3 \u05E9\u05DC\u05D4 \u05D1\u05D0, \u05D5\u05DC\u05DB\u05DF \u05D0\u05D9 \u05D0\u05E4\u05E9\u05E8 \u05DC\u05D7\u05D1\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8 \u05D1\u05D1\u05D8\u05D7\u05D4. \u05D4\u05D5\u05E8\u05D9\u05D3\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3 \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DC\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05E8\u05D9\u05E7\u05D4 \u05D7\u05D3\u05E9\u05D4 (npx deployai@latest pull), \u05D4\u05E2\u05EA\u05D9\u05E7\u05D5 \u05D0\u05DC\u05D9\u05D4 \u05D0\u05EA \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05E9\u05E9\u05D9\u05E0\u05D9\u05EA\u05DD, \u05D5\u05D4\u05E2\u05DC\u05D5 \u05DE\u05E9\u05DD.",
|
|
25045
25264
|
syncUpToDate: "\u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DB\u05D1\u05E8 \u05D9\u05E9 \u05D0\u05EA \u05D4\u05D2\u05E8\u05E1\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 (v{v}). \u05D0\u05D9\u05DF \u05DE\u05D4 \u05DC\u05D4\u05DB\u05E0\u05D9\u05E1.",
|
|
25046
|
-
syncDone: "\u05D4\
|
|
25265
|
+
syncDone: "\u05D4\u05DB\u05E0\u05E1\u05E0\u05D5 \u05D0\u05EA \u05D4\u05D2\u05E8\u05E1\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 v{v}: \u05DC\u05E7\u05D7\u05E0\u05D5 {taken} \u05E7\u05D1\u05E6\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8, \u05D5\u05D7\u05D9\u05D1\u05E8\u05E0\u05D5 {merged} \u05E2\u05DD \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05E9\u05DC\u05DB\u05DD.",
|
|
25047
25266
|
syncConflicts: "\u05D0\u05EA \u05D0\u05DC\u05D4 \u05E9\u05D9\u05E0\u05D5 \u05D1\u05E9\u05E0\u05D9 \u05D4\u05E6\u05D3\u05D3\u05D9\u05DD, \u05D5\u05D4\u05D1\u05E2\u05DC\u05D9\u05DD \u05DE\u05D7\u05DC\u05D9\u05D8\u05D9\u05DD:",
|
|
25048
25267
|
syncWhy_both: "\u05E9\u05D5\u05E0\u05D4 \u05D1\u05D0\u05D5\u05EA\u05D5 \u05DE\u05E7\u05D5\u05DD; \u05E9\u05EA\u05D9 \u05D4\u05D2\u05E8\u05E1\u05D0\u05D5\u05EA \u05D1\u05E7\u05D5\u05D1\u05E5 \u05D1\u05D9\u05DF \u05D4\u05E9\u05D5\u05E8\u05D5\u05EA <<<<<<< \u05D5\u05BE>>>>>>>",
|
|
25049
25268
|
syncWhy_binary: "\u05EA\u05DE\u05D5\u05E0\u05D4 \u05D0\u05D5 \u05E7\u05D5\u05D1\u05E5 \u05D0\u05D7\u05E8 \u05E9\u05D4\u05E9\u05EA\u05E0\u05D4 \u05D1\u05E9\u05E0\u05D9 \u05D4\u05E6\u05D3\u05D3\u05D9\u05DD; \u05E9\u05DC\u05DB\u05DD \u05E0\u05E9\u05D0\u05E8, \u05D6\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E0\u05DE\u05E6\u05D0 \u05D1\u05BE{live}",
|
|
25050
25269
|
syncWhy_deleted_here: "\u05E0\u05DE\u05D7\u05E7 \u05DB\u05D0\u05DF \u05D0\u05D1\u05DC \u05E9\u05D5\u05E0\u05D4 \u05D1\u05D0\u05EA\u05E8; \u05D6\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 \u05D7\u05D6\u05E8",
|
|
25051
25270
|
syncWhy_deleted_live: "\u05E0\u05DE\u05D7\u05E7 \u05D1\u05D0\u05EA\u05E8 \u05D0\u05D1\u05DC \u05E9\u05D5\u05E0\u05D4 \u05DB\u05D0\u05DF; \u05E9\u05DC\u05DB\u05DD \u05E0\u05E9\u05D0\u05E8",
|
|
25052
25271
|
syncClash: "\u05DC\u05E9\u05E0\u05D9 \u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05D9\u05E9 \u05D0\u05D5\u05EA\u05D5 \u05DE\u05E1\u05E4\u05E8: {mine} (\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5) \u05D5\u05BE{theirs} (\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8). \u05EA\u05E0\u05D5 \u05DC\u05BE{mine} \u05D0\u05EA \u05D4\u05DE\u05E1\u05E4\u05E8 \u05D4\u05E4\u05E0\u05D5\u05D9 \u05D4\u05D1\u05D0.",
|
|
25053
|
-
syncNext: "\u05D4\u05D1\u05D0: npx deployai@latest check, \u05D5\u05D0\u05D6 \u05DE\u05E2\u05DC\u05D9\u05DD \u05E9\u05D5\u05D1.",
|
|
25272
|
+
syncNext: "\u05D4\u05E9\u05DC\u05D1 \u05D4\u05D1\u05D0: npx deployai@latest check, \u05D5\u05D0\u05D6 \u05DE\u05E2\u05DC\u05D9\u05DD \u05E9\u05D5\u05D1.",
|
|
25054
25273
|
syncNextConflicts: "\u05D4\u05E8\u05D0\u05D5 \u05DC\u05D1\u05E2\u05DC\u05D9\u05DD \u05DB\u05DC \u05D0\u05D7\u05D3 \u05D1\u05DE\u05D9\u05DC\u05D9\u05DD \u05E4\u05E9\u05D5\u05D8\u05D5\u05EA, \u05E9\u05D0\u05DC\u05D5 \u05DE\u05D4 \u05DC\u05D4\u05E9\u05D0\u05D9\u05E8, \u05D5\u05E2\u05E8\u05DB\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D1\u05E5 \u05DB\u05DA \u05E9\u05D9\u05D9\u05E9\u05D0\u05E8 \u05E8\u05E7 \u05D6\u05D4 (\u05D1\u05DC\u05D9 \u05E9\u05D5\u05E8\u05D5\u05EA <<<<<<<, ======= \u05D0\u05D5 >>>>>>>). \u05D5\u05D0\u05D6: npx deployai@latest check, \u05D5\u05DE\u05E2\u05DC\u05D9\u05DD \u05E9\u05D5\u05D1. \u05DB\u05DC \u05DE\u05D4 \u05E9\u05D4\u05D9\u05D4 \u05DC\u05E4\u05E0\u05D9 \u05D4\u05BEsync \u05E9\u05DE\u05D5\u05E8 \u05D1\u05BEgit, \u05D5\u05D0\u05E4\u05E9\u05E8 \u05DC\u05D1\u05D8\u05DC.",
|
|
25055
|
-
|
|
25274
|
+
caughtUp: "\u05D4\u05DB\u05E0\u05E1\u05E0\u05D5 \u05E2\u05D1\u05D5\u05D3\u05D4 \u05D7\u05D3\u05E9\u05D4 \u05D9\u05D5\u05EA\u05E8 \u05E9\u05DC {names} (\u05D4\u05D2\u05E8\u05E1\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8, v{v}): \u05DC\u05E7\u05D7\u05E0\u05D5 {taken} \u05E7\u05D1\u05E6\u05D9\u05DD \u05DE\u05D4\u05D0\u05EA\u05E8, \u05D5\u05D7\u05D9\u05D1\u05E8\u05E0\u05D5 {merged} \u05E2\u05DD \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05E9\u05DC\u05DB\u05DD.",
|
|
25275
|
+
historyAdded: "\u05D4\u05D2\u05E8\u05E1\u05D0\u05D5\u05EA \u05E9\u05DC\u05D4\u05DD \u05E0\u05DE\u05E6\u05D0\u05D5\u05EA \u05E2\u05DB\u05E9\u05D9\u05D5 \u05D2\u05DD \u05D1\u05BEgit \u05E9\u05DC \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 ({n} \u05E9\u05DE\u05D9\u05E8\u05D5\u05EA \u05D1\u05BErefs/deployai/live), \u05DB\u05DA \u05E9\u05D0\u05E4\u05E9\u05E8 \u05DC\u05D7\u05D6\u05D5\u05E8 \u05D2\u05DD \u05DC\u05E2\u05D1\u05D5\u05D3\u05D4 \u05E9\u05DC\u05D4\u05DD.",
|
|
25276
|
+
behindNoBase: "\u05D2\u05E8\u05E1\u05D4 v{v} \u05E2\u05DC\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05D0\u05D7\u05E8\u05D9 \u05E9\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05E7\u05D7\u05D4 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3, \u05D5\u05D0\u05D9\u05DF \u05D3\u05E8\u05DA \u05DC\u05D3\u05E2\u05EA \u05DE\u05D0\u05D9\u05D6\u05D5 \u05D2\u05E8\u05E1\u05D4 \u05DE\u05E9\u05D5\u05EA\u05E4\u05EA \u05E9\u05EA\u05D9\u05D4\u05DF \u05D4\u05EA\u05D7\u05D9\u05DC\u05D5, \u05D5\u05DC\u05DB\u05DF \u05D0\u05D9 \u05D0\u05E4\u05E9\u05E8 \u05DC\u05D7\u05D1\u05E8 \u05D0\u05D5\u05EA\u05DF \u05DC\u05D1\u05D3. \u05E1\u05E4\u05E8\u05D5 \u05DC\u05D1\u05E2\u05DC\u05D9\u05DD: \u05D4\u05E2\u05DC\u05D9\u05D9\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05EA\u05D9\u05E2\u05E6\u05E8 \u05E2\u05D3 \u05E9\u05EA\u05D4\u05D9\u05D4 \u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D2\u05E8\u05E1\u05D4 v{v}. \u05DE\u05D5\u05E8\u05D9\u05D3\u05D9\u05DD \u05D0\u05D5\u05EA\u05D4 \u05E2\u05DD npx deployai@latest pull \u05DC\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05E8\u05D9\u05E7\u05D4 \u05D7\u05D3\u05E9\u05D4, \u05D5\u05DE\u05E2\u05EA\u05D9\u05E7\u05D9\u05DD \u05D0\u05DC\u05D9\u05D4 \u05D0\u05EA \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05E9\u05E9\u05D9\u05E0\u05D9\u05EA\u05DD.",
|
|
25277
|
+
caughtUpConflicts: "\u05DC\u05D0 \u05D4\u05D5\u05E2\u05DC\u05D4: \u05D4\u05E2\u05D1\u05D5\u05D3\u05D4 \u05D4\u05D7\u05D3\u05E9\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E9\u05D9\u05E0\u05EA\u05D4 \u05D0\u05EA \u05D0\u05D5\u05EA\u05DD \u05DE\u05E7\u05D5\u05DE\u05D5\u05EA \u05DB\u05DE\u05D5 \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5. \u05D4\u05E8\u05D0\u05D5 \u05DC\u05D1\u05E2\u05DC\u05D9\u05DD \u05DB\u05DC \u05D0\u05D7\u05D3 \u05DE\u05D4\u05DD \u05D1\u05DE\u05D9\u05DC\u05D9\u05DD \u05E4\u05E9\u05D5\u05D8\u05D5\u05EA, \u05E9\u05D0\u05DC\u05D5 \u05DE\u05D4 \u05DC\u05D4\u05E9\u05D0\u05D9\u05E8, \u05E2\u05E8\u05DB\u05D5 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D1\u05E5 \u05DB\u05DA \u05E9\u05D9\u05D9\u05E9\u05D0\u05E8 \u05E8\u05E7 \u05D6\u05D4, \u05D5\u05D4\u05E2\u05DC\u05D5 \u05E9\u05D5\u05D1. \u05DB\u05DC \u05DE\u05D4 \u05E9\u05D4\u05D9\u05D4 \u05E7\u05D5\u05D3\u05DD \u05E9\u05DE\u05D5\u05E8 \u05D1\u05BEgit, \u05D5\u05D0\u05E4\u05E9\u05E8 \u05DC\u05D1\u05D8\u05DC.",
|
|
25278
|
+
caughtUpNoLive: "\u05D4\u05E4\u05E2\u05DD \u05D6\u05D4 \u05DC\u05D0 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8: \u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D4\u05D6\u05D5 \u05DE\u05D7\u05D1\u05E8\u05EA \u05D0\u05EA \u05D4\u05E2\u05D1\u05D5\u05D3\u05D4 \u05E9\u05DC \u05DE\u05D9\u05E9\u05D4\u05D5 \u05D0\u05D7\u05E8 \u05E2\u05DD \u05E9\u05DC\u05DB\u05DD, \u05D5\u05DC\u05DB\u05DF \u05D4\u05D1\u05E2\u05DC\u05D9\u05DD \u05D1\u05D5\u05D3\u05E7\u05D9\u05DD \u05E7\u05D5\u05D3\u05DD \u05D1\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4.",
|
|
25279
|
+
caughtUpPreview: "\u05D1\u05BEv{n} \u05D9\u05E9 \u05D0\u05EA \u05E9\u05E0\u05D9 \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD. \u05D4\u05E8\u05D0\u05D5 \u05DC\u05D1\u05E2\u05DC\u05D9\u05DD \u05D0\u05EA \u05D4\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D4\u05DE\u05E7\u05D3\u05D9\u05DE\u05D4; \u05D0\u05D7\u05E8\u05D9 \u05E9\u05D9\u05D0\u05E9\u05E8\u05D5: npx deployai@latest promote {n}",
|
|
25280
|
+
syncLeftovers: "\u05DC\u05D0 \u05D4\u05D5\u05E2\u05DC\u05D4: \u05D4\u05BEsync \u05D4\u05D0\u05D7\u05E8\u05D5\u05DF \u05D4\u05E9\u05D0\u05D9\u05E8 \u05D0\u05EA \u05D0\u05DC\u05D4 \u05DC\u05D4\u05D7\u05DC\u05D8\u05EA \u05D4\u05D1\u05E2\u05DC\u05D9\u05DD: {files}. \u05D4\u05D7\u05DC\u05D9\u05D8\u05D5 \u05E2\u05DC \u05DB\u05DC \u05D0\u05D7\u05D3, \u05D5\u05D0\u05D6 \u05D4\u05E2\u05DC\u05D5 \u05E9\u05D5\u05D1.",
|
|
25056
25281
|
workOthers: "\u05E2\u05D5\u05D1\u05D3\u05D9\u05DD \u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05E2\u05DB\u05E9\u05D9\u05D5 \u05D2\u05DD: {names}. \u05E1\u05E4\u05E8\u05D5 \u05DC\u05D1\u05E2\u05DC\u05D9\u05DD, \u05DB\u05D3\u05D9 \u05E9\u05DC\u05D0 \u05EA\u05E9\u05E0\u05D5 \u05D0\u05EA \u05D0\u05D5\u05EA\u05D5 \u05D3\u05D1\u05E8 \u05D1\u05D0\u05D5\u05EA\u05D5 \u05D6\u05DE\u05DF.",
|
|
25057
25282
|
workYouElsewhere: "\u05D0\u05EA\u05DD, \u05DE\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D0\u05D5 \u05DE\u05DE\u05D7\u05E9\u05D1 \u05D0\u05D7\u05E8\u05D9\u05DD",
|
|
25058
25283
|
workMinutesAgo: "\u05DC\u05E4\u05E0\u05D9 {n} \u05D3\u05E7\u05F3",
|
|
@@ -25096,7 +25321,7 @@ var M = {
|
|
|
25096
25321
|
deployLimitNoMax: "\u05D4\u05D2\u05E2\u05EA\u05DD \u05DC\u05DE\u05D2\u05D1\u05DC\u05EA \u05D4\u05D4\u05E2\u05DC\u05D0\u05D5\u05EA \u05D4\u05D9\u05D5\u05DE\u05D9\u05EA. \u05D0\u05E4\u05E9\u05E8 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05E9\u05D5\u05D1 \u05DE\u05D7\u05E8.",
|
|
25097
25322
|
bundleTooLarge: "\u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D2\u05D3\u05D5\u05DC\u05D4 \u05DE\u05D3\u05D9: \u05E2\u05D3 50MB \u05DC\u05D0\u05EA\u05E8, \u05D5\u05E2\u05D3 10MB \u05DC\u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9. \u05D4\u05E9\u05D0\u05D9\u05E8\u05D5 \u05D1\u05D7\u05D5\u05E5 \u05E7\u05D1\u05E6\u05D9\u05DD \u05D2\u05D3\u05D5\u05DC\u05D9\u05DD \u05D5\u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1.",
|
|
25098
25323
|
guestExpired: "\u05D4\u05D0\u05EA\u05E8 \u05D4\u05D6\u05DE\u05E0\u05D9 \u05D4\u05D6\u05D4 \u05E4\u05D2 \u05D5\u05E0\u05DE\u05D7\u05E7. \u05DB\u05D3\u05D9 \u05DC\u05E7\u05D1\u05DC \u05D0\u05EA\u05E8 \u05D7\u05D3\u05E9, \u05D4\u05E2\u05DC\u05D5 \u05E9\u05D5\u05D1: npx deployai@latest deploy --guest",
|
|
25099
|
-
envUploaded: "\u05E7\u05D5\u05D1\u05E5 .env \
|
|
25324
|
+
envUploaded: "\u05E7\u05D5\u05D1\u05E5 \u200E.env \u05D0\u05E3 \u05E4\u05E2\u05DD \u05DC\u05D0 \u05E2\u05D5\u05DC\u05D4. \u05D4\u05E1\u05D9\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05DE\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05E9\u05D0\u05EA\u05DD \u05DE\u05E2\u05DC\u05D9\u05DD \u05D5\u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1.",
|
|
25100
25325
|
secretInFile: "\u05D1\u05E7\u05D5\u05D1\u05E5 {file} \u05D9\u05E9 \u05DE\u05E4\u05EA\u05D7 \u05E1\u05D5\u05D3\u05D9 ({kind}). \u05DE\u05D7\u05E7\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05DE\u05D4\u05E7\u05D5\u05D1\u05E5, \u05E9\u05DE\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05E2\u05DD npx deployai@latest env set <KEY> \u05D5\u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1. \u05D0\u05DD \u05D4\u05D5\u05D0 \u05DB\u05D1\u05E8 \u05E0\u05D7\u05E9\u05E3, \u05D4\u05D7\u05DC\u05D9\u05E4\u05D5 \u05D0\u05D5\u05EA\u05D5 \u05D0\u05E6\u05DC \u05D4\u05E1\u05E4\u05E7.",
|
|
25101
25326
|
guestBindings: "\u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9 \u05D9\u05DB\u05D5\u05DC \u05DC\u05DB\u05DC\u05D5\u05DC \u05DE\u05E1\u05D3 \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05E7\u05D8\u05DF, \u05D0\u05D1\u05DC \u05DC\u05D0 \u05D0\u05D7\u05E1\u05D5\u05DF \u05E7\u05D1\u05E6\u05D9\u05DD \u05D0\u05D5 \u05DE\u05E9\u05EA\u05E0\u05D9 \u05E1\u05D1\u05D9\u05D1\u05D4. \u05E9\u05DE\u05E8\u05D5 \u05D0\u05EA \u05D4\u05D0\u05EA\u05E8 \u05D1\u05D7\u05E9\u05D1\u05D5\u05DF \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E9\u05EA\u05DE\u05E9 \u05D1\u05D4\u05DD.",
|
|
25102
25327
|
guestIpLimit: "\u05D4\u05D2\u05E2\u05EA\u05DD \u05DC\u05DE\u05D2\u05D1\u05DC\u05D4 \u05D4\u05D9\u05D5\u05DE\u05D9\u05EA \u05E9\u05DC \u05D0\u05EA\u05E8\u05D9\u05DD \u05D6\u05DE\u05E0\u05D9\u05D9\u05DD. \u05D4\u05D9\u05E8\u05E9\u05DE\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05E2\u05D5\u05D3.",
|
|
@@ -25104,8 +25329,8 @@ var M = {
|
|
|
25104
25329
|
deployNotLoggedIn: "\u05DC\u05D0 \u05DE\u05D7\u05D5\u05D1\u05E8\u05D9\u05DD. \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest login, \u05D0\u05D5 \u05D4\u05E2\u05DC\u05D5 \u05D1\u05DC\u05D9 \u05D7\u05E9\u05D1\u05D5\u05DF: npx deployai@latest deploy --guest",
|
|
25105
25330
|
deployBlocked: "\u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05E0\u05E2\u05E6\u05E8\u05D4: \u05EA\u05E7\u05E0\u05D5 \u05D0\u05EA \u05D4\u05D7\u05D5\u05E1\u05DE\u05D9\u05DD \u05E9\u05DC\u05DE\u05E2\u05DC\u05D4, \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest deploy",
|
|
25106
25331
|
nothingToUpload: "\u05D0\u05D9\u05DF \u05DE\u05D4 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D1\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5.",
|
|
25107
|
-
uploadTooLarge: "\u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D2\u05D3\u05D5\u05DC\u05D4 \u05DE\u05D3\u05D9: {size}, \
|
|
25108
|
-
uploadTooLargeGuest: "\u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D2\u05D3\u05D5\u05DC\u05D4 \u05DE\u05D3\u05D9 \u05DC\u05D0\u05EA\u05E8 \u05D1\u05DC\u05D9 \u05D7\u05E9\u05D1\u05D5\u05DF: {size} \u05D0\u05D7\u05E8\u05D9 \u05DB\u05D9\u05D5\u05D5\u05E5, \
|
|
25332
|
+
uploadTooLarge: "\u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D2\u05D3\u05D5\u05DC\u05D4 \u05DE\u05D3\u05D9: {size}, \u05D5\u05D0\u05E4\u05E9\u05E8 \u05E2\u05D3 {max}. \u05D4\u05D5\u05E1\u05D9\u05E4\u05D5 \u05EA\u05D9\u05E7\u05D9\u05D5\u05EA \u05DC\u05E7\u05D5\u05D1\u05E5 \u200E.deployaiignore \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E9\u05D0\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DF \u05D1\u05D7\u05D5\u05E5.",
|
|
25333
|
+
uploadTooLargeGuest: "\u05D4\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D2\u05D3\u05D5\u05DC\u05D4 \u05DE\u05D3\u05D9 \u05DC\u05D0\u05EA\u05E8 \u05D1\u05DC\u05D9 \u05D7\u05E9\u05D1\u05D5\u05DF: {size} \u05D0\u05D7\u05E8\u05D9 \u05DB\u05D9\u05D5\u05D5\u05E5, \u05D5\u05D0\u05E4\u05E9\u05E8 \u05E2\u05D3 {max}. \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8: npx deployai@latest login",
|
|
25109
25334
|
notLinked: "\u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05D0 \u05DE\u05D7\u05D5\u05D1\u05E8\u05EA \u05DC\u05D0\u05EA\u05E8. \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest link",
|
|
25110
25335
|
askGuest: "\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D1\u05DC\u05D9 \u05D7\u05E9\u05D1\u05D5\u05DF? \u05EA\u05E7\u05D1\u05DC\u05D5 \u05D0\u05EA\u05E8 \u05D6\u05DE\u05E0\u05D9 \u05E9\u05D0\u05E4\u05E9\u05E8 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05D0\u05D7\u05E8 \u05DB\u05DA. (y/N) ",
|
|
25111
25336
|
inviteOnly: "\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D1\u05DC\u05D9 \u05D7\u05E9\u05D1\u05D5\u05DF \u05DE\u05D5\u05E9\u05D4\u05D9\u05EA \u05DB\u05DC \u05E2\u05D5\u05D3 \u05D4\u05D4\u05E8\u05E9\u05DE\u05D4 \u05DC\u05BEDeployAI \u05D1\u05D4\u05D6\u05DE\u05E0\u05D4 \u05D1\u05DC\u05D1\u05D3. \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DB\u05DD \u05D7\u05E9\u05D1\u05D5\u05DF \u05D0\u05D5 \u05D4\u05D6\u05DE\u05E0\u05D4, \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest login",
|
|
@@ -25131,32 +25356,32 @@ var M = {
|
|
|
25131
25356
|
sqlDestructive: "\u05D0\u05DC\u05D4 \u05DE\u05D5\u05D7\u05E7\u05D9\u05DD \u05D0\u05D5 \u05D3\u05D5\u05E8\u05E1\u05D9\u05DD \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD, \u05D5\u05D7\u05D6\u05E8\u05D4 \u05DC\u05D2\u05E8\u05E1\u05D4 \u05E7\u05D5\u05D3\u05DE\u05EA \u05DC\u05D0 \u05DE\u05D7\u05D6\u05D9\u05E8\u05D4 \u05D0\u05D5\u05EA\u05DD:",
|
|
25132
25357
|
sqlRunningNow: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05E9\u05DC v{n} \u05DB\u05D1\u05E8 \u05E8\u05E6\u05D9\u05DD. \u05D4\u05D9\u05D0 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DB\u05E9\u05D4\u05DD \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05D9\u05DD.",
|
|
25133
25358
|
sqlRunningNowShort: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05DB\u05D1\u05E8 \u05E8\u05E6\u05D9\u05DD. \u05D4\u05D2\u05E8\u05E1\u05D4 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05DB\u05E9\u05D4\u05DD \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05D9\u05DD: {url}",
|
|
25134
|
-
sqlOwnerOnly: "\u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05D4\u05D6\u05D4 \u05D0
|
|
25135
|
-
sqlNotOwner: "\u05D4
|
|
25359
|
+
sqlOwnerOnly: "\u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05D4\u05D6\u05D4 \u05DC\u05D0 \u05D4\u05D1\u05E2\u05DC\u05D9\u05DD \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8, \u05D5\u05E8\u05E7 \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DE\u05D0\u05E9\u05E8 \u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD. \u05E9\u05DC\u05D7\u05D5 \u05D0\u05EA \u05D4\u05D3\u05E3 \u05D4\u05D6\u05D4 \u05DC\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8: {url}\n\u05D0\u05DD \u05D4\u05D0\u05EA\u05E8 \u05E9\u05DC\u05DB\u05DD, \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05E2\u05DD \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05D4\u05D0\u05EA\u05E8 \u05E9\u05D9\u05D9\u05DA \u05DC\u05D5: npx deployai@latest login \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5 \u05E9\u05D5\u05D1.",
|
|
25360
|
+
sqlNotOwner: "\u05D4\u05BECLI \u05DE\u05D7\u05D5\u05D1\u05E8 \u05D1\u05EA\u05D5\u05E8 {account}, \u05E9\u05D4\u05D5\u05D0 \u05DC\u05D0 \u05D4\u05D1\u05E2\u05DC\u05D9\u05DD \u05E9\u05DC \u05D4\u05D0\u05EA\u05E8, \u05D5\u05E8\u05E7 \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DE\u05D0\u05E9\u05E8 \u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD. \u05E9\u05DC\u05D7\u05D5 \u05D0\u05EA \u05D4\u05D3\u05E3 \u05D4\u05D6\u05D4 \u05DC\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8: {url}\n\u05D0\u05DD \u05D4\u05D0\u05EA\u05E8 \u05E9\u05DC\u05DB\u05DD, \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05E2\u05DD \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05D4\u05D0\u05EA\u05E8 \u05E9\u05D9\u05D9\u05DA \u05DC\u05D5: npx deployai@latest login \u05D5\u05D0\u05D6 \u05D4\u05E8\u05D9\u05E6\u05D5 \u05E9\u05D5\u05D1.",
|
|
25136
25361
|
sqlDashboard: "\u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05DE\u05E1\u05D3\u05E8\u05D9\u05DD \u05D1\u05DC\u05D5\u05D7 \u05D4\u05D1\u05E7\u05E8\u05D4: {url}",
|
|
25137
25362
|
sqlTypeDatabase: "\u05DB\u05D3\u05D9 \u05DC\u05D4\u05E8\u05D9\u05E5 \u05D0\u05D5\u05EA\u05DD \u05D5\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05EA v{n} \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8, \u05D4\u05E7\u05DC\u05D9\u05D3\u05D5 \u05D0\u05EA \u05E9\u05DD \u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD ({db}): ",
|
|
25138
25363
|
sqlAskRun: "\u05DC\u05D4\u05E8\u05D9\u05E5 \u05D0\u05D5\u05EA\u05DD \u05E2\u05DC {db} \u05D5\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05EA v{n} \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8? (y/N) ",
|
|
25139
|
-
sqlNotRun: "\u05DC\u05D0 \u05E8\
|
|
25140
|
-
sqlAgentDestructive: " \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 \u05DE\u05D5\u05D7\u05E7\u05D9\u05DD \u05D0\u05D5 \u05D3\u05D5\u05E8\u05E1\u05D9\u05DD \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD, \u05D5\u05DC\u05DB\u05DF \u05E8\u05E7 \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DE\u05D0\u05E9\u05E8 \u05D0\u05D5\u05EA\u05DD: \u05D1\u05DE\
|
|
25364
|
+
sqlNotRun: "\u05DC\u05D0 \u05D4\u05E8\u05E6\u05E0\u05D5 \u05DB\u05DC\u05D5\u05DD. \u05E9\u05D5\u05DD \u05D3\u05D1\u05E8 \u05DC\u05D0 \u05D4\u05E9\u05EA\u05E0\u05D4.",
|
|
25365
|
+
sqlAgentDestructive: " \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 \u05DE\u05D5\u05D7\u05E7\u05D9\u05DD \u05D0\u05D5 \u05D3\u05D5\u05E8\u05E1\u05D9\u05DD \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD, \u05D5\u05DC\u05DB\u05DF \u05E8\u05E7 \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DE\u05D0\u05E9\u05E8 \u05D0\u05D5\u05EA\u05DD: \u05D1\u05D8\u05E8\u05DE\u05D9\u05E0\u05DC \u05E9\u05DC \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 (npx deployai@latest promote v{n}) \u05D0\u05D5 \u05DB\u05D0\u05DF: {url}",
|
|
25141
25366
|
sqlChanged: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05E9\u05DC v{n} \u05D4\u05E9\u05EA\u05E0\u05D5 \u05DE\u05D0\u05D6 \u05E9\u05D4\u05D5\u05E6\u05D2\u05D5. \u05D4\u05E8\u05D9\u05E6\u05D5 npx deployai@latest sql v{n}, \u05D4\u05E8\u05D0\u05D5 \u05E9\u05D5\u05D1 \u05DC\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D5\u05E9\u05D0\u05DC\u05D5 \u05E9\u05D5\u05D1.",
|
|
25142
25367
|
sqlChangedServer: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05D4\u05E9\u05EA\u05E0\u05D5 \u05DE\u05D0\u05D6 \u05E9\u05D4\u05D5\u05E6\u05D2\u05D5. \u05D4\u05E6\u05D9\u05D2\u05D5 \u05D0\u05D5\u05EA\u05DD \u05E9\u05D5\u05D1 \u05D5\u05E9\u05D0\u05DC\u05D5 \u05E9\u05D5\u05D1: {url}",
|
|
25143
|
-
sqlConfirmServer: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 \u05DE\u05D5\u05D7\u05E7\u05D9\u05DD \u05D0\u05D5 \u05D3\u05D5\u05E8\u05E1\u05D9\u05DD \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD, \u05D5\u05DC\u05DB\u05DF \u05DE\u05D0\u05E9\u05E8\u05D9\u05DD \u05D0\u05D5\u05EA\u05DD \u05E8\u05E7 \u05D1\u05DE\
|
|
25368
|
+
sqlConfirmServer: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4 \u05DE\u05D5\u05D7\u05E7\u05D9\u05DD \u05D0\u05D5 \u05D3\u05D5\u05E8\u05E1\u05D9\u05DD \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD, \u05D5\u05DC\u05DB\u05DF \u05DE\u05D0\u05E9\u05E8\u05D9\u05DD \u05D0\u05D5\u05EA\u05DD \u05E8\u05E7 \u05D1\u05D8\u05E8\u05DE\u05D9\u05E0\u05DC \u05E9\u05DC \u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D0\u05D5 \u05D1\u05DC\u05D5\u05D7 \u05D4\u05D1\u05E7\u05E8\u05D4: {url}",
|
|
25144
25369
|
sqlAgentAsk: ' \u05D4\u05E8\u05D0\u05D5 \u05DC\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05DC\u05DE\u05E2\u05DC\u05D4 \u05D5\u05E9\u05D0\u05DC\u05D5: "\u05D2\u05E8\u05E1\u05D4 {n} \u05DE\u05E9\u05E0\u05D4 \u05D0\u05EA \u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD {db}. \u05DC\u05D4\u05E8\u05D9\u05E5 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D5\u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05D5\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8?"',
|
|
25145
|
-
sqlAgentThen: " \u05D0\u05D7\u05E8\u05D9 \
|
|
25370
|
+
sqlAgentThen: " \u05D0\u05D7\u05E8\u05D9 \u05E9\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05D0\u05D9\u05E9\u05E8: npx deployai@latest promote v{n} --approve-sql {hash}",
|
|
25146
25371
|
sqlLater: " \u05D2\u05E8\u05E1\u05D4 {n} \u05DE\u05E9\u05E0\u05D4 \u05D0\u05EA \u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD. \u05E9\u05D5\u05DD \u05D3\u05D1\u05E8 \u05DC\u05D0 \u05E8\u05E5 \u05E2\u05DB\u05E9\u05D9\u05D5 \u05D5\u05E9\u05D5\u05DD \u05D3\u05D1\u05E8 \u05DC\u05D0 \u05E2\u05D5\u05DC\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8: \u05D0\u05DC \u05EA\u05E9\u05D0\u05DC\u05D5 \u05E2\u05DC \u05D6\u05D4 \u05E2\u05D3\u05D9\u05D9\u05DF. \u05DB\u05E9\u05D1\u05E2\u05DC \u05D4\u05D0\u05EA\u05E8 \u05DE\u05D0\u05E9\u05E8 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05D5\u05EA\u05D4 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8, \u05D4\u05E8\u05D9\u05E6\u05D5 npx deployai@latest promote v{n}, \u05D5\u05D4\u05D5\u05D0 \u05D9\u05E8\u05D0\u05D4 \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05DC\u05D0\u05D9\u05E9\u05D5\u05E8.",
|
|
25147
25372
|
sqlNone: "\u05D1\u05BEv{n} \u05D0\u05D9\u05DF \u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D7\u05D3\u05E9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD.",
|
|
25148
25373
|
sqlFirst: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05E8\u05E6\u05D9\u05DD \u05E7\u05D5\u05D3\u05DD. \u05D0\u05DD \u05D4\u05DD \u05E0\u05DB\u05E9\u05DC\u05D9\u05DD, \u05D4\u05D2\u05E8\u05E1\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E0\u05E9\u05D0\u05E8\u05EA.",
|
|
25149
25374
|
sqlFailed: "\u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05E9\u05DC v{n} \u05E0\u05DB\u05E9\u05DC\u05D5. \u05D4\u05D2\u05E8\u05E1\u05D4 \u05E9\u05D1\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E0\u05E9\u05D0\u05E8\u05D4.",
|
|
25150
25375
|
sqlRetry: " \u05D0\u05D7\u05E8\u05D9 \u05EA\u05D9\u05E7\u05D5\u05DF, \u05D4\u05E2\u05DC\u05D5 \u05E9\u05D5\u05D1, \u05D0\u05D5 \u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1: npx deployai@latest promote v{n}",
|
|
25151
|
-
sqlRunningState: "\u05DE\u05E8\u05D9\
|
|
25376
|
+
sqlRunningState: "\u05DE\u05E8\u05D9\u05E6\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD",
|
|
25152
25377
|
sqlBeforeUpload: "\u05D1\u05D4\u05E2\u05DC\u05D0\u05D4 \u05D4\u05D6\u05D5 \u05D9\u05E9 \u05E7\u05D5\u05D1\u05E6\u05D9 SQL. \u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D7\u05D3\u05E9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05E8\u05E6\u05D9\u05DD \u05E8\u05E7 \u05D0\u05D7\u05E8\u05D9 \u05D0\u05D9\u05E9\u05D5\u05E8, \u05DB\u05E9\u05D4\u05D1\u05E0\u05D9\u05D9\u05D4 \u05DE\u05E1\u05EA\u05D9\u05D9\u05DE\u05EA.",
|
|
25153
25378
|
sqlWaiting: "\u05D1\u05D2\u05E8\u05E1\u05D4 \u05D4\u05D6\u05D5 \u05D9\u05E9 \u05E9\u05D9\u05E0\u05D5\u05D9\u05D9\u05DD \u05D1\u05DE\u05E1\u05D3 \u05D4\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD (SQL) \u05E9\u05E2\u05D5\u05D3 \u05DC\u05D0 \u05E8\u05E6\u05D5. \u05D0\u05E9\u05E8\u05D5 \u05D0\u05D5\u05EA\u05DD \u05E7\u05D5\u05D3\u05DD \u05D1\u05DC\u05D5\u05D7 \u05D4\u05D1\u05E7\u05E8\u05D4, \u05D5\u05D0\u05D6 \u05D4\u05E2\u05DC\u05D5 \u05DC\u05D0\u05D5\u05D5\u05D9\u05E8 \u05E9\u05D5\u05D1: {url}",
|
|
25154
|
-
tokenOtherApi: "\u05D4\u05DB\u05E0\u05D9\u05E1\u05D4 \u05D1\u05DE\u05D7\u05E9\u05D1 \u05D4\u05D6\u05D4 \u05D4\u05D9\u05D0 \u05DC
|
|
25155
|
-
linkConfirm: "\u05DC\u05D7\u05D1\u05E8 \u05D0\u05EA \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC
|
|
25379
|
+
tokenOtherApi: "\u05D4\u05DB\u05E0\u05D9\u05E1\u05D4 \u05D1\u05DE\u05D7\u05E9\u05D1 \u05D4\u05D6\u05D4 \u05D4\u05D9\u05D0 \u05DC\u05BE{saved}, \u05DC\u05D0 \u05DC\u05BE{url}. \u05D4\u05E8\u05D9\u05E6\u05D5: npx deployai@latest login --api {url}, \u05D0\u05D5 \u05D4\u05D5\u05E8\u05D9\u05D3\u05D5 \u05D0\u05EA --api \u05D5\u05D0\u05EA DEPLOYAI_API_URL.",
|
|
25380
|
+
linkConfirm: "\u05DC\u05D7\u05D1\u05E8 \u05D0\u05EA \u05D4\u05EA\u05D9\u05E7\u05D9\u05D9\u05D4 \u05D4\u05D6\u05D5 \u05DC\u05BE{name} ({address})? (y/N) ",
|
|
25156
25381
|
linkOnlyOne: "\u05D9\u05E9 \u05DC\u05DB\u05DD \u05D0\u05EA\u05E8 \u05D0\u05D7\u05D3: {name} ({address}). \u05DB\u05D3\u05D9 \u05DC\u05D7\u05D1\u05E8 \u05D0\u05D5\u05EA\u05D5, \u05D0\u05D5 \u05D0\u05EA\u05E8 \u05D7\u05D3\u05E9, \u05D4\u05E8\u05D9\u05E6\u05D5:",
|
|
25157
25382
|
linkCancelled: "\u05DC\u05D0 \u05D7\u05D5\u05D1\u05E8. \u05E9\u05D5\u05DD \u05D3\u05D1\u05E8 \u05DC\u05D0 \u05D4\u05E9\u05EA\u05E0\u05D4.",
|
|
25158
25383
|
loggedOutLocalOnly: "\u05D4\u05EA\u05E0\u05EA\u05E7\u05EA\u05DD \u05D1\u05DE\u05D7\u05E9\u05D1 \u05D4\u05D6\u05D4. \u05DC\u05D0 \u05D4\u05E6\u05DC\u05D7\u05E0\u05D5 \u05DC\u05D4\u05D2\u05D9\u05E2 \u05DC\u05BEDeployAI, \u05D0\u05D6 \u05D4\u05D8\u05D5\u05E7\u05DF \u05EA\u05E7\u05E3 \u05E2\u05D3 \u05E9\u05D9\u05E4\u05D5\u05D2 (30 \u05D9\u05D5\u05DD).",
|
|
25159
|
-
savedIn: "\u05E0\u05E9\u05DE\u05E8 \u05D1 .deployai/project.json",
|
|
25384
|
+
savedIn: "\u05E0\u05E9\u05DE\u05E8 \u05D1\u05E7\u05D5\u05D1\u05E5 \u200E.deployai/project.json",
|
|
25160
25385
|
createdProject: "\u05E0\u05D5\u05E6\u05E8 \u05D4\u05D0\u05EA\u05E8 {name}.",
|
|
25161
25386
|
noProjects: "\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05D0\u05EA\u05E8\u05D9\u05DD.",
|
|
25162
25387
|
projects: "\u05D0\u05EA\u05E8\u05D9\u05DD",
|
|
@@ -25189,8 +25414,8 @@ function err(line = "") {
|
|
|
25189
25414
|
function pad(text2, width) {
|
|
25190
25415
|
return text2.length >= width ? text2 + " " : text2 + " ".repeat(width - text2.length);
|
|
25191
25416
|
}
|
|
25192
|
-
function row(label,
|
|
25193
|
-
return pad(label, width) +
|
|
25417
|
+
function row(label, value2, width = LABEL_WIDTH) {
|
|
25418
|
+
return pad(label, width) + value2;
|
|
25194
25419
|
}
|
|
25195
25420
|
function rows(items) {
|
|
25196
25421
|
const width = Math.max(LABEL_WIDTH, ...items.map(([l]) => l.length + 2));
|
|
@@ -25203,7 +25428,7 @@ function formatBytes(n2) {
|
|
|
25203
25428
|
}
|
|
25204
25429
|
|
|
25205
25430
|
// src/version.ts
|
|
25206
|
-
var CLI_VERSION = "0.1.0-beta.
|
|
25431
|
+
var CLI_VERSION = "0.1.0-beta.44";
|
|
25207
25432
|
|
|
25208
25433
|
// src/api.ts
|
|
25209
25434
|
function apiContext(apiFlag, root) {
|
|
@@ -26030,6 +26255,20 @@ function analyzeProject(root) {
|
|
|
26030
26255
|
add({ code: "durable_objects", severity: "blocker", file: name, line: at < 0 ? 1 : text2.slice(0, at).split("\n").length, detail: "" });
|
|
26031
26256
|
break;
|
|
26032
26257
|
}
|
|
26258
|
+
for (const name of ["wrangler.toml", "wrangler.json", "wrangler.jsonc"]) {
|
|
26259
|
+
if (!existsSync4(join4(root, name))) continue;
|
|
26260
|
+
const text2 = readFileSync5(join4(root, name), "utf8");
|
|
26261
|
+
for (const cron of parseWranglerConfig(name, text2).crons) {
|
|
26262
|
+
const spec = parseSiteCron(cron);
|
|
26263
|
+
const gap = isSiteCronSpec(spec) ? siteCronGapMinutes(spec) : null;
|
|
26264
|
+
const why = !isSiteCronSpec(spec) ? "not a five part cron line" : gap !== null && gap < SITE_SCHEDULE_MIN_MINUTES ? `more often than every ${SITE_SCHEDULE_MIN_MINUTES} minutes` : null;
|
|
26265
|
+
if (!why) continue;
|
|
26266
|
+
const quoted = Math.max(text2.indexOf(`"${cron}"`), text2.indexOf(`'${cron}'`));
|
|
26267
|
+
const at = quoted >= 0 ? quoted : text2.indexOf(cron);
|
|
26268
|
+
add({ code: "schedule_not_run", severity: "warning", file: name, line: at < 0 ? 1 : text2.slice(0, at).split("\n").length, detail: ` ("${cron}", ${why})` });
|
|
26269
|
+
}
|
|
26270
|
+
break;
|
|
26271
|
+
}
|
|
26033
26272
|
const DB_CODE = {
|
|
26034
26273
|
postgres: "unsupported_db_postgres",
|
|
26035
26274
|
mysql: "unsupported_db_mysql",
|
|
@@ -26776,16 +27015,16 @@ function readObject(file2) {
|
|
|
26776
27015
|
return null;
|
|
26777
27016
|
}
|
|
26778
27017
|
}
|
|
26779
|
-
function writeObject(file2,
|
|
27018
|
+
function writeObject(file2, value2) {
|
|
26780
27019
|
mkdirSync4(dirname(file2), { recursive: true });
|
|
26781
|
-
writeFileSync7(file2, `${JSON.stringify(
|
|
27020
|
+
writeFileSync7(file2, `${JSON.stringify(value2, null, 2)}
|
|
26782
27021
|
`);
|
|
26783
27022
|
}
|
|
26784
|
-
function addTo(obj, key2, list,
|
|
27023
|
+
function addTo(obj, key2, list, value2) {
|
|
26785
27024
|
const inner = obj[key2] && typeof obj[key2] === "object" && !Array.isArray(obj[key2]) ? obj[key2] : {};
|
|
26786
27025
|
const items = Array.isArray(inner[list]) ? inner[list] : [];
|
|
26787
|
-
if (items.includes(
|
|
26788
|
-
inner[list] = [...items,
|
|
27026
|
+
if (items.includes(value2)) return false;
|
|
27027
|
+
inner[list] = [...items, value2];
|
|
26789
27028
|
obj[key2] = inner;
|
|
26790
27029
|
return true;
|
|
26791
27030
|
}
|
|
@@ -28134,11 +28373,11 @@ import { gunzipSync as gunzipSync2 } from "zlib";
|
|
|
28134
28373
|
import { readFileSync as readFileSync12 } from "fs";
|
|
28135
28374
|
import { gzipSync } from "zlib";
|
|
28136
28375
|
var BLOCK = 512;
|
|
28137
|
-
function writeString(buf, offset, length,
|
|
28138
|
-
buf.write(
|
|
28376
|
+
function writeString(buf, offset, length, value2) {
|
|
28377
|
+
buf.write(value2, offset, Math.min(length, Buffer.byteLength(value2)), "utf8");
|
|
28139
28378
|
}
|
|
28140
|
-
function writeOctal(buf, offset, length,
|
|
28141
|
-
const str2 = Math.floor(
|
|
28379
|
+
function writeOctal(buf, offset, length, value2) {
|
|
28380
|
+
const str2 = Math.floor(value2).toString(8).padStart(length - 1, "0");
|
|
28142
28381
|
buf.write(str2.slice(-(length - 1)), offset, length - 1, "ascii");
|
|
28143
28382
|
buf[offset + length - 1] = 0;
|
|
28144
28383
|
}
|
|
@@ -28182,8 +28421,8 @@ function splitUstar(path) {
|
|
|
28182
28421
|
}
|
|
28183
28422
|
return null;
|
|
28184
28423
|
}
|
|
28185
|
-
function paxRecord(key2,
|
|
28186
|
-
const body = ` ${key2}=${
|
|
28424
|
+
function paxRecord(key2, value2) {
|
|
28425
|
+
const body = ` ${key2}=${value2}
|
|
28187
28426
|
`;
|
|
28188
28427
|
let len = Buffer.byteLength(body) + 1;
|
|
28189
28428
|
while (String(len).length + Buffer.byteLength(body) !== len) len = String(len).length + Buffer.byteLength(body);
|
|
@@ -28257,23 +28496,33 @@ import { resolve as resolve2 } from "path";
|
|
|
28257
28496
|
function placeOf(ctx, root) {
|
|
28258
28497
|
return createHash3("sha256").update(`${ctx.config.installId}:${resolve2(root)}`).digest("hex").slice(0, 16);
|
|
28259
28498
|
}
|
|
28260
|
-
async function
|
|
28499
|
+
async function checkWork(ctx, root, projectId, builtOn, retried = false) {
|
|
28500
|
+
const none = { others: [], behind: null, answered: false };
|
|
28261
28501
|
const token = tokenIfOwnApi(ctx);
|
|
28262
|
-
if (!token) return
|
|
28502
|
+
if (!token) return none;
|
|
28263
28503
|
try {
|
|
28264
28504
|
const res = await fetch(`${ctx.apiUrl}/api/cli/working`, {
|
|
28265
28505
|
method: "POST",
|
|
28266
28506
|
headers: { "User-Agent": userAgent(ctx.config), "Content-Type": "application/json", Authorization: `Bearer ${token}` },
|
|
28267
|
-
body: JSON.stringify({ projectId, place: placeOf(ctx, root) }),
|
|
28507
|
+
body: JSON.stringify({ projectId, place: placeOf(ctx, root), ...builtOn && builtOn > 0 ? { builtOn } : {} }),
|
|
28268
28508
|
signal: AbortSignal.timeout(5e3)
|
|
28269
28509
|
});
|
|
28270
|
-
if (!res.ok) return
|
|
28510
|
+
if (!res.ok) return none;
|
|
28271
28511
|
const data = await res.json();
|
|
28272
|
-
|
|
28512
|
+
const behind = data.behind && typeof data.behind.live === "number" && Array.isArray(data.behind.newer) ? data.behind : null;
|
|
28513
|
+
return { others: Array.isArray(data.others) ? data.others : [], behind, answered: true };
|
|
28273
28514
|
} catch {
|
|
28274
|
-
return
|
|
28515
|
+
if (!retried) return checkWork(ctx, root, projectId, builtOn, true);
|
|
28516
|
+
return none;
|
|
28275
28517
|
}
|
|
28276
28518
|
}
|
|
28519
|
+
async function touchWork(ctx, root, projectId, builtOn) {
|
|
28520
|
+
return (await checkWork(ctx, root, projectId, builtOn)).others;
|
|
28521
|
+
}
|
|
28522
|
+
function behindNames(behind) {
|
|
28523
|
+
const names = [...new Set(behind.newer.map((v) => v.by).filter((x) => !!x))];
|
|
28524
|
+
return (names.length ? names : behind.by ? [behind.by] : []).join(", ");
|
|
28525
|
+
}
|
|
28277
28526
|
function othersLine(root, others) {
|
|
28278
28527
|
if (!others.length) return null;
|
|
28279
28528
|
const t = messages(root);
|
|
@@ -28420,12 +28669,12 @@ async function pullCommand(root, ctx, opts = {}) {
|
|
|
28420
28669
|
requireToken(ctx);
|
|
28421
28670
|
if (opts.history) return pullHistory(root, ctx, projectId);
|
|
28422
28671
|
const n2 = extractInto(await fetchSource(root, ctx, projectId), root, t("pullDamaged"));
|
|
28423
|
-
|
|
28424
|
-
|
|
28672
|
+
const builtOn = lastVersion && Number(lastVersion) > 0 ? Number(lastVersion) : void 0;
|
|
28673
|
+
if (builtOn) updateProject(root, { builtOn });
|
|
28674
|
+
await touchWork(ctx, root, projectId, builtOn);
|
|
28425
28675
|
out(t("pulled", { n: n2, v: lastVersion ?? "?" }));
|
|
28426
28676
|
}
|
|
28427
28677
|
var lastVersion = null;
|
|
28428
|
-
var fetchedVersion = () => lastVersion && Number(lastVersion) > 0 ? Number(lastVersion) : null;
|
|
28429
28678
|
async function fetchSource(root, ctx, projectId, version2) {
|
|
28430
28679
|
const t = messages(root);
|
|
28431
28680
|
const token = requireToken(ctx);
|
|
@@ -28522,31 +28771,19 @@ function mergeText(ours2, base, live, liveLabel) {
|
|
|
28522
28771
|
rmSync3(dir, { recursive: true, force: true });
|
|
28523
28772
|
}
|
|
28524
28773
|
}
|
|
28525
|
-
async function
|
|
28774
|
+
async function bringIn(root, ctx, projectId, behind) {
|
|
28526
28775
|
const t = messages(root);
|
|
28527
|
-
const project = readProject(root);
|
|
28528
|
-
if (!project?.projectId) throw new CliError(t("pullNotLinked"), 1, "not_linked");
|
|
28529
|
-
requireToken(ctx);
|
|
28530
28776
|
if (git2(root, ["--version"]).status !== 0) throw new CliError(t("syncNoGit"), 1, "usage");
|
|
28531
|
-
if (!
|
|
28532
|
-
const
|
|
28533
|
-
const
|
|
28534
|
-
const
|
|
28535
|
-
const live = fetchedVersion();
|
|
28536
|
-
if (!live) throw new CliError(t("pullNoSource"), 1, "not_found");
|
|
28537
|
-
if (live === project.builtOn) {
|
|
28538
|
-
out(t("syncUpToDate", { v: live }));
|
|
28539
|
-
if (others) out(others);
|
|
28540
|
-
return;
|
|
28541
|
-
}
|
|
28542
|
-
const baseFiles = filesOf(await fetchSource(root, ctx, projectId, project.builtOn));
|
|
28543
|
-
const liveFiles = filesOf(liveGz);
|
|
28777
|
+
if (!behind.base) throw new CliError(t("syncNoBase"), 1, "usage");
|
|
28778
|
+
const live = behind.live;
|
|
28779
|
+
const liveFiles = filesOf(await fetchSource(root, ctx, projectId, live));
|
|
28780
|
+
const baseFiles = filesOf(await fetchSource(root, ctx, projectId, behind.base));
|
|
28544
28781
|
const plan = planUpload(root);
|
|
28545
28782
|
const ourFiles = new Map(plan.files.map((f) => [f.rel, readFileSync13(f.abs)]));
|
|
28546
28783
|
if (!existsSync15(join17(root, ".git")) && git2(root, ["init", "-q"]).status !== 0) throw new CliError(t("syncNoGit"), 1, "usage");
|
|
28547
28784
|
git2(root, ["add", "-A"]);
|
|
28548
|
-
git2(root, ["-c",
|
|
28549
|
-
const state = { live, base:
|
|
28785
|
+
git2(root, ["-c", `user.name=${BOT.name}`, "-c", `user.email=${BOT.email}`, "commit", "-q", "--allow-empty", "-m", `Before sync with live v${live}`]);
|
|
28786
|
+
const state = { live, base: behind.base, conflicts: [], clashes: migrationClashes(baseFiles, liveFiles, ourFiles) };
|
|
28550
28787
|
let taken = 0;
|
|
28551
28788
|
let merged = 0;
|
|
28552
28789
|
const write = (path, data) => {
|
|
@@ -28596,20 +28833,98 @@ async function syncCommand(root, ctx) {
|
|
|
28596
28833
|
ensureDeployaiDir(root);
|
|
28597
28834
|
writeFileSync13(join17(root, SYNC_FILE), JSON.stringify(state, null, 2) + "\n");
|
|
28598
28835
|
updateProject(root, { builtOn: live });
|
|
28599
|
-
|
|
28600
|
-
if (state.conflicts.length) {
|
|
28836
|
+
const tip = await recordHistory(root, ctx, projectId, behind).catch(() => null);
|
|
28837
|
+
if (tip && !state.conflicts.length && !state.clashes.length) {
|
|
28838
|
+
git2(root, ["add", "-A"]);
|
|
28839
|
+
const tree = git2(root, ["write-tree"]).stdout.trim();
|
|
28840
|
+
const head = git2(root, ["rev-parse", "HEAD"]).stdout.trim();
|
|
28841
|
+
const names = behindNames(behind);
|
|
28842
|
+
const c = spawnSync3("git", ["commit-tree", tree, "-p", head, "-p", tip.sha, "-m", `Brought in live v${live}${names ? ` (${names})` : ""}`], { cwd: root, encoding: "utf8", env: { ...process.env, ...botEnv() } });
|
|
28843
|
+
if (c.status === 0 && c.stdout.trim()) git2(root, ["update-ref", "HEAD", c.stdout.trim()]);
|
|
28844
|
+
}
|
|
28845
|
+
return { live, taken, merged, conflicts: state.conflicts, clashes: state.clashes, history: tip?.added ?? 0 };
|
|
28846
|
+
}
|
|
28847
|
+
var BOT = { name: "DeployAI", email: "versions@deployai.co.il" };
|
|
28848
|
+
var botEnv = (name = BOT.name, at) => ({
|
|
28849
|
+
GIT_AUTHOR_NAME: name,
|
|
28850
|
+
GIT_AUTHOR_EMAIL: BOT.email,
|
|
28851
|
+
GIT_COMMITTER_NAME: BOT.name,
|
|
28852
|
+
GIT_COMMITTER_EMAIL: BOT.email,
|
|
28853
|
+
...at ? { GIT_AUTHOR_DATE: at, GIT_COMMITTER_DATE: at } : {}
|
|
28854
|
+
});
|
|
28855
|
+
var LIVE_REF = "refs/deployai/live";
|
|
28856
|
+
var HISTORY_MAX = 20;
|
|
28857
|
+
async function recordHistory(root, ctx, projectId, behind) {
|
|
28858
|
+
const t = messages(root);
|
|
28859
|
+
const gitDir = join17(root, ".git");
|
|
28860
|
+
if (!existsSync15(gitDir)) return null;
|
|
28861
|
+
const run = (args, env = {}) => spawnSync3("git", [`--git-dir=${gitDir}`, ...args], { encoding: "utf8", env: { ...process.env, ...env } });
|
|
28862
|
+
let tip = run(["rev-parse", "-q", "--verify", LIVE_REF]).stdout.trim() || null;
|
|
28863
|
+
const lastNumber = tip ? Number(/^v(\d+)/.exec(run(["log", "-1", "--format=%s", LIVE_REF]).stdout.trim())?.[1] ?? 0) : 0;
|
|
28864
|
+
const todo = behind.newer.filter((v) => v.number > lastNumber).slice(-HISTORY_MAX);
|
|
28865
|
+
let added = 0;
|
|
28866
|
+
for (const v of todo) {
|
|
28867
|
+
const gz = await fetchSource(root, ctx, projectId, v.number).catch(() => null);
|
|
28868
|
+
if (!gz) continue;
|
|
28869
|
+
const tree = mkdtempSync(join17(tmpdir(), "deployai-history-"));
|
|
28870
|
+
const index = join17(tmpdir(), `deployai-index-${process.pid}-${v.number}`);
|
|
28871
|
+
try {
|
|
28872
|
+
extractInto(gz, tree, t("pullDamaged"));
|
|
28873
|
+
const env = { GIT_INDEX_FILE: index };
|
|
28874
|
+
if (run([`--work-tree=${tree}`, "add", "-A"], env).status !== 0) continue;
|
|
28875
|
+
const id = run(["write-tree"], env).stdout.trim();
|
|
28876
|
+
if (!id) continue;
|
|
28877
|
+
const c = run(["commit-tree", id, ...tip ? ["-p", tip] : [], "-m", `v${v.number}: ${v.message || "update"}`], botEnv(`${v.by ?? "Someone"} via DeployAI`, v.at));
|
|
28878
|
+
const sha2 = c.stdout.trim();
|
|
28879
|
+
if (c.status !== 0 || !sha2) continue;
|
|
28880
|
+
tip = sha2;
|
|
28881
|
+
added++;
|
|
28882
|
+
} finally {
|
|
28883
|
+
rmSync3(tree, { recursive: true, force: true });
|
|
28884
|
+
rmSync3(index, { force: true });
|
|
28885
|
+
}
|
|
28886
|
+
}
|
|
28887
|
+
if (!tip) return null;
|
|
28888
|
+
run(["update-ref", LIVE_REF, tip]);
|
|
28889
|
+
return { sha: tip, added };
|
|
28890
|
+
}
|
|
28891
|
+
function printBroughtIn(root, r, behind) {
|
|
28892
|
+
const t = messages(root);
|
|
28893
|
+
const names = behindNames(behind);
|
|
28894
|
+
out(names ? t("caughtUp", { v: r.live, names, taken: r.taken, merged: r.merged }) : t("syncDone", { v: r.live, taken: r.taken, merged: r.merged }));
|
|
28895
|
+
if (r.history) out(t("historyAdded", { n: r.history }));
|
|
28896
|
+
if (r.conflicts.length) {
|
|
28601
28897
|
out();
|
|
28602
28898
|
out(t("syncConflicts"));
|
|
28603
|
-
for (const c of
|
|
28899
|
+
for (const c of r.conflicts) out(` - ${c.path}: ${t(`syncWhy_${c.why}`, { live: `${DEPLOYAI_DIR}/sync/${c.path}.live` })}`);
|
|
28900
|
+
}
|
|
28901
|
+
for (const [mine, theirs] of r.clashes) out(t("syncClash", { mine, theirs }));
|
|
28902
|
+
}
|
|
28903
|
+
async function syncCommand(root, ctx) {
|
|
28904
|
+
const t = messages(root);
|
|
28905
|
+
const project = readProject(root);
|
|
28906
|
+
if (!project?.projectId) throw new CliError(t("pullNotLinked"), 1, "not_linked");
|
|
28907
|
+
requireToken(ctx);
|
|
28908
|
+
if (git2(root, ["--version"]).status !== 0) throw new CliError(t("syncNoGit"), 1, "usage");
|
|
28909
|
+
if (!project.builtOn) throw new CliError(t("syncNoBase"), 1, "usage");
|
|
28910
|
+
const projectId = project.projectId;
|
|
28911
|
+
const work = await checkWork(ctx, root, projectId, project.builtOn);
|
|
28912
|
+
const others = othersLine(root, work.others);
|
|
28913
|
+
if (!work.answered) throw new CliError(messages()("unreachable", { url: ctx.apiUrl }), 1, "network");
|
|
28914
|
+
if (!work.behind) {
|
|
28915
|
+
out(t("syncUpToDate", { v: project.builtOn }));
|
|
28916
|
+
if (others) out(others);
|
|
28917
|
+
return;
|
|
28604
28918
|
}
|
|
28605
|
-
|
|
28919
|
+
const r = await bringIn(root, ctx, projectId, work.behind);
|
|
28920
|
+
printBroughtIn(root, r, work.behind);
|
|
28606
28921
|
if (others) {
|
|
28607
28922
|
out();
|
|
28608
28923
|
out(others);
|
|
28609
28924
|
}
|
|
28610
28925
|
out();
|
|
28611
|
-
out(
|
|
28612
|
-
if (
|
|
28926
|
+
out(r.conflicts.length || r.clashes.length ? t("syncNextConflicts") : t("syncNext"));
|
|
28927
|
+
if (r.conflicts.length || r.clashes.length) process.exitCode = 1;
|
|
28613
28928
|
}
|
|
28614
28929
|
function syncLeftovers(root) {
|
|
28615
28930
|
let state;
|
|
@@ -28960,14 +29275,35 @@ function addTool(form, ctx, model) {
|
|
|
28960
29275
|
const m = toDeployModel(model) ?? deployModelFromEnv(process.env);
|
|
28961
29276
|
if (m) form.append("model", m);
|
|
28962
29277
|
}
|
|
29278
|
+
async function catchUp(root, ctx, projectId, builtOn) {
|
|
29279
|
+
const t = messages(root);
|
|
29280
|
+
const work = await checkWork(ctx, root, projectId, builtOn);
|
|
29281
|
+
const others = othersLine(root, work.others);
|
|
29282
|
+
if (others) out(others);
|
|
29283
|
+
const behind = work.behind;
|
|
29284
|
+
if (!behind) return null;
|
|
29285
|
+
if (!behind.base) {
|
|
29286
|
+
out(t("behindNoBase", { v: behind.live }));
|
|
29287
|
+
return null;
|
|
29288
|
+
}
|
|
29289
|
+
const r = await bringIn(root, ctx, projectId, behind);
|
|
29290
|
+
printBroughtIn(root, r, behind);
|
|
29291
|
+
out();
|
|
29292
|
+
if (r.conflicts.length || r.clashes.length) throw new CliError(t("caughtUpConflicts"), 1, "sync_conflicts");
|
|
29293
|
+
return r;
|
|
29294
|
+
}
|
|
28963
29295
|
async function deployVersion(root, ctx, opts, guest) {
|
|
28964
29296
|
requireToken(ctx);
|
|
28965
29297
|
const project = readProject(root);
|
|
28966
29298
|
if (!project?.projectId) throw new CliError(messages(root)("notLinked"), 1, "not_linked");
|
|
28967
29299
|
const message = (opts.message ?? "").trim() || "update";
|
|
28968
|
-
const { archive, info, hasSql } = await prepare(root, ctx, guest ? GUEST_MAX_BYTES : Number.POSITIVE_INFINITY);
|
|
28969
29300
|
const t = messages(root);
|
|
28970
|
-
const
|
|
29301
|
+
const caught = guest ? null : await catchUp(root, ctx, project.projectId, project.builtOn);
|
|
29302
|
+
if (caught) project.builtOn = caught.live;
|
|
29303
|
+
const { archive, info, hasSql } = await prepare(root, ctx, guest ? GUEST_MAX_BYTES : Number.POSITIVE_INFINITY);
|
|
29304
|
+
if (caught && opts.live) out(t("caughtUpNoLive"));
|
|
29305
|
+
const hold = Boolean(opts.hold) || Boolean(caught);
|
|
29306
|
+
if (caught) opts = { ...opts, live: false };
|
|
28971
29307
|
if (hold && (opts.live || guest)) throw new CliError(t(guest ? "holdGuest" : "holdAndLive"), 1, "usage");
|
|
28972
29308
|
const wait = opts.live || opts.wait !== false;
|
|
28973
29309
|
let live = Boolean(opts.live);
|
|
@@ -28990,7 +29326,7 @@ async function deployVersion(root, ctx, opts, guest) {
|
|
|
28990
29326
|
const res = await apiRequest(ctx, "/api/cli/deploy", DeployResponse, { method: "POST", form, timeoutMs: 5 * 6e4 });
|
|
28991
29327
|
if (!guest) {
|
|
28992
29328
|
updateProject(root, { builtOn: res.number });
|
|
28993
|
-
await touchWork(ctx, root, project.projectId);
|
|
29329
|
+
await touchWork(ctx, root, project.projectId, res.number);
|
|
28994
29330
|
}
|
|
28995
29331
|
out();
|
|
28996
29332
|
if (guest) {
|
|
@@ -29009,7 +29345,8 @@ async function deployVersion(root, ctx, opts, guest) {
|
|
|
29009
29345
|
);
|
|
29010
29346
|
pageHint(res, root);
|
|
29011
29347
|
out();
|
|
29012
|
-
if (
|
|
29348
|
+
if (caught) out(t("caughtUpPreview", { n: res.number }));
|
|
29349
|
+
else if (hold) out(t("holdOn", { n: res.number }));
|
|
29013
29350
|
if (!wait) {
|
|
29014
29351
|
out(t("nextStep"));
|
|
29015
29352
|
out(t("followBuild"));
|
|
@@ -29446,8 +29783,20 @@ ${choices.brief}
|
|
|
29446
29783
|
if (root !== here) out(t(update ? "startUpdateFolder" : "startNewFolder", { dir: relative3(here, root) }));
|
|
29447
29784
|
for (const line of done) out(`- ${line}`);
|
|
29448
29785
|
if (choices.projectId && signedIn) {
|
|
29449
|
-
const
|
|
29786
|
+
const builtOn = readProject(root)?.builtOn;
|
|
29787
|
+
const work = await checkWork(ctxNow, root, choices.projectId, builtOn);
|
|
29788
|
+
const others = othersLine(root, work.others);
|
|
29450
29789
|
if (others) out(`- ${others}`);
|
|
29790
|
+
if (work.behind && !pullNow) {
|
|
29791
|
+
if (!work.behind.base) out(`- ${t("behindNoBase", { v: work.behind.live })}`);
|
|
29792
|
+
else {
|
|
29793
|
+
try {
|
|
29794
|
+
printBroughtIn(root, await bringIn(root, ctxNow, choices.projectId, work.behind), work.behind);
|
|
29795
|
+
} catch (e3) {
|
|
29796
|
+
out(`- ${e3 instanceof Error ? e3.message : String(e3)}`);
|
|
29797
|
+
}
|
|
29798
|
+
}
|
|
29799
|
+
}
|
|
29451
29800
|
}
|
|
29452
29801
|
out();
|
|
29453
29802
|
const lines = [];
|
|
@@ -30686,11 +31035,11 @@ async function envListCommand(root, ctx) {
|
|
|
30686
31035
|
const width = Math.max(...vars.map((v) => v.key.length)) + 2;
|
|
30687
31036
|
for (const v of vars) out(` ${v.key.padEnd(width)}${(v.isSecret ? t("envSecret") : t("envPlain")).padEnd(10)}${v.hint}`);
|
|
30688
31037
|
}
|
|
30689
|
-
async function envSetCommand(root, ctx, key2,
|
|
31038
|
+
async function envSetCommand(root, ctx, key2, value2, opts) {
|
|
30690
31039
|
requireToken(ctx);
|
|
30691
31040
|
const projectId = linkedProjectId(root);
|
|
30692
31041
|
const t = messages(root);
|
|
30693
|
-
const v =
|
|
31042
|
+
const v = value2 ?? (process.stdin.isTTY ? void 0 : await readStdin());
|
|
30694
31043
|
if (v === void 0) throw new CliError(t("envNeedValue"), 1, "usage");
|
|
30695
31044
|
const r = await apiRequest(ctx, "/api/cli/env", EnvSetResponse, { method: "POST", body: { projectId, key: key2, value: v, secret: !opts.plain } });
|
|
30696
31045
|
out(t(r.secret ? "envSavedSecret" : "envSavedPlain", { key: r.key }));
|
|
@@ -30790,7 +31139,7 @@ ${AGENT_FEEDBACK_RULES.join("\n\n")}
|
|
|
30790
31139
|
});
|
|
30791
31140
|
const env = program.command("env").description("the site's environment variables: secrets by default, never shown again");
|
|
30792
31141
|
env.command("list").description("list the keys, with a hint of each value").action((_opts, cmd) => envListCommand(root(cmd), ctx(cmd)));
|
|
30793
|
-
env.command("set").argument("<key>", "the name, like API_KEY").argument("[value]", "the value; leave it out to pipe it in, so it stays out of the shell history").option("--plain", "a plain value the dashboard may show, not a secret").description("set a variable on the live site").action((key2,
|
|
31142
|
+
env.command("set").argument("<key>", "the name, like API_KEY").argument("[value]", "the value; leave it out to pipe it in, so it stays out of the shell history").option("--plain", "a plain value the dashboard may show, not a secret").description("set a variable on the live site").action((key2, value2, opts, cmd) => envSetCommand(root(cmd), ctx(cmd), key2, value2, opts));
|
|
30794
31143
|
env.command("remove").argument("<key>", "the name to remove").description("remove a variable from the live site").action((key2, _opts, cmd) => envRemoveCommand(root(cmd), ctx(cmd), key2));
|
|
30795
31144
|
return program;
|
|
30796
31145
|
}
|