create-spatius-app 0.1.3 → 0.1.5
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/cli.js +363 -321
- package/dist/templates.js +204 -188
- package/package.json +9 -9
- package/templates/cloudflare-livekit/agent/pyproject.toml +1 -0
- package/templates/cloudflare-livekit/agent/uv.lock +312 -311
- package/templates/cloudflare-livekit/package-lock.json +699 -546
- package/templates/cloudflare-livekit/package.json +25 -20
- package/templates/cloudflare-livekit/pnpm-lock.yaml +737 -667
- package/templates/cloudflare-livekit/pnpm-workspace.yaml +4 -0
- package/templates/layers/agora/package-lock.json +4631 -5951
- package/templates/layers/agora/package.json +24 -19
- package/templates/layers/agora/pnpm-lock.yaml +687 -989
- package/templates/layers/agora/pnpm-workspace.yaml +4 -0
package/dist/cli.js
CHANGED
|
@@ -13,11 +13,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
13
13
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
14
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
15
|
});
|
|
16
|
-
var __esm = (fn, res) => function __init() {
|
|
17
|
-
|
|
16
|
+
var __esm = (fn, res, err) => function __init() {
|
|
17
|
+
if (err) throw err[0];
|
|
18
|
+
try {
|
|
19
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
20
|
+
} catch (e) {
|
|
21
|
+
throw err = [e], e;
|
|
22
|
+
}
|
|
18
23
|
};
|
|
19
24
|
var __commonJS = (cb, mod) => function __require2() {
|
|
20
|
-
|
|
25
|
+
try {
|
|
26
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
27
|
+
} catch (e) {
|
|
28
|
+
throw mod = 0, e;
|
|
29
|
+
}
|
|
21
30
|
};
|
|
22
31
|
var __export = (target, all) => {
|
|
23
32
|
for (var name in all)
|
|
@@ -145,16 +154,16 @@ var require_src = __commonJS({
|
|
|
145
154
|
var CSI2 = `${ESC2}[`;
|
|
146
155
|
var beep = "\x07";
|
|
147
156
|
var cursor3 = {
|
|
148
|
-
to(x,
|
|
149
|
-
if (!
|
|
150
|
-
return `${CSI2}${
|
|
157
|
+
to(x, y2) {
|
|
158
|
+
if (!y2) return `${CSI2}${x + 1}G`;
|
|
159
|
+
return `${CSI2}${y2 + 1};${x + 1}H`;
|
|
151
160
|
},
|
|
152
|
-
move(x,
|
|
161
|
+
move(x, y2) {
|
|
153
162
|
let ret = "";
|
|
154
163
|
if (x < 0) ret += `${CSI2}${-x}D`;
|
|
155
164
|
else if (x > 0) ret += `${CSI2}${x}C`;
|
|
156
|
-
if (
|
|
157
|
-
else if (
|
|
165
|
+
if (y2 < 0) ret += `${CSI2}${-y2}A`;
|
|
166
|
+
else if (y2 > 0) ret += `${CSI2}${y2}B`;
|
|
158
167
|
return ret;
|
|
159
168
|
},
|
|
160
169
|
up: (count = 1) => `${CSI2}${count}A`,
|
|
@@ -193,9 +202,9 @@ var require_src = __commonJS({
|
|
|
193
202
|
}
|
|
194
203
|
});
|
|
195
204
|
|
|
196
|
-
// node_modules/.pnpm/@vercel+detect-agent@1.2.
|
|
205
|
+
// node_modules/.pnpm/@vercel+detect-agent@1.2.7/node_modules/@vercel/detect-agent/dist/index.js
|
|
197
206
|
var require_dist = __commonJS({
|
|
198
|
-
"node_modules/.pnpm/@vercel+detect-agent@1.2.
|
|
207
|
+
"node_modules/.pnpm/@vercel+detect-agent@1.2.7/node_modules/@vercel/detect-agent/dist/index.js"(exports, module) {
|
|
199
208
|
"use strict";
|
|
200
209
|
var __defProp2 = Object.defineProperty;
|
|
201
210
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -237,6 +246,8 @@ var require_dist = __commonJS({
|
|
|
237
246
|
var GITHUB_COPILOT = "github-copilot";
|
|
238
247
|
var GITHUB_COPILOT_CLI = "github-copilot-cli";
|
|
239
248
|
var V0 = "v0";
|
|
249
|
+
var FX = "fx";
|
|
250
|
+
var EVE = "eve";
|
|
240
251
|
var KNOWN_AGENTS = {
|
|
241
252
|
CURSOR,
|
|
242
253
|
CURSOR_CLI,
|
|
@@ -250,7 +261,9 @@ var require_dist = __commonJS({
|
|
|
250
261
|
AUGMENT_CLI,
|
|
251
262
|
OPENCODE,
|
|
252
263
|
GITHUB_COPILOT,
|
|
253
|
-
V0
|
|
264
|
+
V0,
|
|
265
|
+
FX,
|
|
266
|
+
EVE
|
|
254
267
|
};
|
|
255
268
|
async function determineAgent2() {
|
|
256
269
|
if (process.env.AI_AGENT) {
|
|
@@ -292,7 +305,7 @@ var require_dist = __commonJS({
|
|
|
292
305
|
if (process.env.AUGMENT_AGENT) {
|
|
293
306
|
return { isAgent: true, agent: { name: AUGMENT_CLI } };
|
|
294
307
|
}
|
|
295
|
-
if (process.env.OPENCODE_CLIENT) {
|
|
308
|
+
if (process.env.OPENCODE === "1" || process.env.OPENCODE_CLIENT) {
|
|
296
309
|
return { isAgent: true, agent: { name: OPENCODE } };
|
|
297
310
|
}
|
|
298
311
|
if (process.env.CLAUDECODE || process.env.CLAUDE_CODE) {
|
|
@@ -1122,9 +1135,9 @@ var init_environment = __esm({
|
|
|
1122
1135
|
}
|
|
1123
1136
|
});
|
|
1124
1137
|
|
|
1125
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1138
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
|
|
1126
1139
|
var require_identity = __commonJS({
|
|
1127
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1140
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
1128
1141
|
"use strict";
|
|
1129
1142
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
1130
1143
|
var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
|
|
@@ -1179,9 +1192,9 @@ var require_identity = __commonJS({
|
|
|
1179
1192
|
}
|
|
1180
1193
|
});
|
|
1181
1194
|
|
|
1182
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1195
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js
|
|
1183
1196
|
var require_visit = __commonJS({
|
|
1184
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1197
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js"(exports) {
|
|
1185
1198
|
"use strict";
|
|
1186
1199
|
var identity = require_identity();
|
|
1187
1200
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
@@ -1337,9 +1350,9 @@ var require_visit = __commonJS({
|
|
|
1337
1350
|
}
|
|
1338
1351
|
});
|
|
1339
1352
|
|
|
1340
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1353
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
|
|
1341
1354
|
var require_directives = __commonJS({
|
|
1342
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1355
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
1343
1356
|
"use strict";
|
|
1344
1357
|
var identity = require_identity();
|
|
1345
1358
|
var visit = require_visit();
|
|
@@ -1508,9 +1521,9 @@ var require_directives = __commonJS({
|
|
|
1508
1521
|
}
|
|
1509
1522
|
});
|
|
1510
1523
|
|
|
1511
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1524
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
|
|
1512
1525
|
var require_anchors = __commonJS({
|
|
1513
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1526
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
1514
1527
|
"use strict";
|
|
1515
1528
|
var identity = require_identity();
|
|
1516
1529
|
var visit = require_visit();
|
|
@@ -1578,9 +1591,9 @@ var require_anchors = __commonJS({
|
|
|
1578
1591
|
}
|
|
1579
1592
|
});
|
|
1580
1593
|
|
|
1581
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1594
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
|
|
1582
1595
|
var require_applyReviver = __commonJS({
|
|
1583
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1596
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
1584
1597
|
"use strict";
|
|
1585
1598
|
function applyReviver(reviver, obj, key, val) {
|
|
1586
1599
|
if (val && typeof val === "object") {
|
|
@@ -1628,9 +1641,9 @@ var require_applyReviver = __commonJS({
|
|
|
1628
1641
|
}
|
|
1629
1642
|
});
|
|
1630
1643
|
|
|
1631
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1644
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
|
|
1632
1645
|
var require_toJS = __commonJS({
|
|
1633
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1646
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
1634
1647
|
"use strict";
|
|
1635
1648
|
var identity = require_identity();
|
|
1636
1649
|
function toJS(value, arg, ctx) {
|
|
@@ -1658,9 +1671,9 @@ var require_toJS = __commonJS({
|
|
|
1658
1671
|
}
|
|
1659
1672
|
});
|
|
1660
1673
|
|
|
1661
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1674
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
|
|
1662
1675
|
var require_Node = __commonJS({
|
|
1663
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1676
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
1664
1677
|
"use strict";
|
|
1665
1678
|
var applyReviver = require_applyReviver();
|
|
1666
1679
|
var identity = require_identity();
|
|
@@ -1699,9 +1712,9 @@ var require_Node = __commonJS({
|
|
|
1699
1712
|
}
|
|
1700
1713
|
});
|
|
1701
1714
|
|
|
1702
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1715
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
|
|
1703
1716
|
var require_Alias = __commonJS({
|
|
1704
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1717
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
1705
1718
|
"use strict";
|
|
1706
1719
|
var anchors = require_anchors();
|
|
1707
1720
|
var visit = require_visit();
|
|
@@ -1746,36 +1759,38 @@ var require_Alias = __commonJS({
|
|
|
1746
1759
|
if (node.anchor === this.source)
|
|
1747
1760
|
found = node;
|
|
1748
1761
|
}
|
|
1762
|
+
if (found && ctx) {
|
|
1763
|
+
const { anchors: anchors2, doc: doc2, maxAliasCount } = ctx;
|
|
1764
|
+
let data = anchors2.get(found);
|
|
1765
|
+
if (!data) {
|
|
1766
|
+
toJS.toJS(found, null, ctx);
|
|
1767
|
+
data = anchors2.get(found);
|
|
1768
|
+
}
|
|
1769
|
+
if (data?.res === void 0) {
|
|
1770
|
+
const msg = "This should not happen: Alias anchor was not resolved?";
|
|
1771
|
+
throw new ReferenceError(msg);
|
|
1772
|
+
}
|
|
1773
|
+
if (maxAliasCount >= 0) {
|
|
1774
|
+
data.count += 1;
|
|
1775
|
+
if (data.aliasCount === 0)
|
|
1776
|
+
data.aliasCount = getAliasCount(doc2, found, anchors2);
|
|
1777
|
+
if (data.count * data.aliasCount > maxAliasCount) {
|
|
1778
|
+
const msg = "Excessive alias count indicates a resource exhaustion attack";
|
|
1779
|
+
throw new ReferenceError(msg);
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1749
1783
|
return found;
|
|
1750
1784
|
}
|
|
1751
1785
|
toJSON(_arg, ctx) {
|
|
1752
1786
|
if (!ctx)
|
|
1753
1787
|
return { source: this.source };
|
|
1754
|
-
const
|
|
1755
|
-
const source = this.resolve(doc, ctx);
|
|
1788
|
+
const source = this.resolve(ctx.doc, ctx);
|
|
1756
1789
|
if (!source) {
|
|
1757
1790
|
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
|
|
1758
1791
|
throw new ReferenceError(msg);
|
|
1759
1792
|
}
|
|
1760
|
-
|
|
1761
|
-
if (!data) {
|
|
1762
|
-
toJS.toJS(source, null, ctx);
|
|
1763
|
-
data = anchors2.get(source);
|
|
1764
|
-
}
|
|
1765
|
-
if (data?.res === void 0) {
|
|
1766
|
-
const msg = "This should not happen: Alias anchor was not resolved?";
|
|
1767
|
-
throw new ReferenceError(msg);
|
|
1768
|
-
}
|
|
1769
|
-
if (maxAliasCount >= 0) {
|
|
1770
|
-
data.count += 1;
|
|
1771
|
-
if (data.aliasCount === 0)
|
|
1772
|
-
data.aliasCount = getAliasCount(doc, source, anchors2);
|
|
1773
|
-
if (data.count * data.aliasCount > maxAliasCount) {
|
|
1774
|
-
const msg = "Excessive alias count indicates a resource exhaustion attack";
|
|
1775
|
-
throw new ReferenceError(msg);
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
return data.res;
|
|
1793
|
+
return ctx.anchors.get(source).res;
|
|
1779
1794
|
}
|
|
1780
1795
|
toString(ctx, _onComment, _onChompKeep) {
|
|
1781
1796
|
const src = `*${this.source}`;
|
|
@@ -1815,9 +1830,9 @@ var require_Alias = __commonJS({
|
|
|
1815
1830
|
}
|
|
1816
1831
|
});
|
|
1817
1832
|
|
|
1818
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1833
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
|
|
1819
1834
|
var require_Scalar = __commonJS({
|
|
1820
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1835
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
1821
1836
|
"use strict";
|
|
1822
1837
|
var identity = require_identity();
|
|
1823
1838
|
var Node = require_Node();
|
|
@@ -1845,9 +1860,9 @@ var require_Scalar = __commonJS({
|
|
|
1845
1860
|
}
|
|
1846
1861
|
});
|
|
1847
1862
|
|
|
1848
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1863
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
|
|
1849
1864
|
var require_createNode = __commonJS({
|
|
1850
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1865
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
1851
1866
|
"use strict";
|
|
1852
1867
|
var Alias = require_Alias();
|
|
1853
1868
|
var identity = require_identity();
|
|
@@ -1920,9 +1935,9 @@ var require_createNode = __commonJS({
|
|
|
1920
1935
|
}
|
|
1921
1936
|
});
|
|
1922
1937
|
|
|
1923
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
1938
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
|
|
1924
1939
|
var require_Collection = __commonJS({
|
|
1925
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
1940
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
1926
1941
|
"use strict";
|
|
1927
1942
|
var createNode = require_createNode();
|
|
1928
1943
|
var identity = require_identity();
|
|
@@ -2063,9 +2078,9 @@ var require_Collection = __commonJS({
|
|
|
2063
2078
|
}
|
|
2064
2079
|
});
|
|
2065
2080
|
|
|
2066
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2081
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
2067
2082
|
var require_stringifyComment = __commonJS({
|
|
2068
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2083
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
2069
2084
|
"use strict";
|
|
2070
2085
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
2071
2086
|
function indentComment(comment, indent) {
|
|
@@ -2080,9 +2095,9 @@ var require_stringifyComment = __commonJS({
|
|
|
2080
2095
|
}
|
|
2081
2096
|
});
|
|
2082
2097
|
|
|
2083
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2098
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
2084
2099
|
var require_foldFlowLines = __commonJS({
|
|
2085
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2100
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
2086
2101
|
"use strict";
|
|
2087
2102
|
var FOLD_FLOW = "flow";
|
|
2088
2103
|
var FOLD_BLOCK = "block";
|
|
@@ -2216,9 +2231,9 @@ ${indent}${text2.slice(fold + 1, end2)}`;
|
|
|
2216
2231
|
}
|
|
2217
2232
|
});
|
|
2218
2233
|
|
|
2219
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2234
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
|
|
2220
2235
|
var require_stringifyString = __commonJS({
|
|
2221
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2236
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
2222
2237
|
"use strict";
|
|
2223
2238
|
var Scalar = require_Scalar();
|
|
2224
2239
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -2499,9 +2514,9 @@ ${indent}`);
|
|
|
2499
2514
|
}
|
|
2500
2515
|
});
|
|
2501
2516
|
|
|
2502
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2517
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
|
|
2503
2518
|
var require_stringify = __commonJS({
|
|
2504
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2519
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
2505
2520
|
"use strict";
|
|
2506
2521
|
var anchors = require_anchors();
|
|
2507
2522
|
var identity = require_identity();
|
|
@@ -2623,9 +2638,9 @@ ${ctx.indent}${str}`;
|
|
|
2623
2638
|
}
|
|
2624
2639
|
});
|
|
2625
2640
|
|
|
2626
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2641
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
2627
2642
|
var require_stringifyPair = __commonJS({
|
|
2628
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2643
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
2629
2644
|
"use strict";
|
|
2630
2645
|
var identity = require_identity();
|
|
2631
2646
|
var Scalar = require_Scalar();
|
|
@@ -2756,9 +2771,9 @@ ${ctx.indent}`;
|
|
|
2756
2771
|
}
|
|
2757
2772
|
});
|
|
2758
2773
|
|
|
2759
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2774
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js
|
|
2760
2775
|
var require_log = __commonJS({
|
|
2761
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2776
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js"(exports) {
|
|
2762
2777
|
"use strict";
|
|
2763
2778
|
var node_process = __require("process");
|
|
2764
2779
|
function debug(logLevel, ...messages) {
|
|
@@ -2778,9 +2793,9 @@ var require_log = __commonJS({
|
|
|
2778
2793
|
}
|
|
2779
2794
|
});
|
|
2780
2795
|
|
|
2781
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2796
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
2782
2797
|
var require_merge = __commonJS({
|
|
2783
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2798
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
2784
2799
|
"use strict";
|
|
2785
2800
|
var identity = require_identity();
|
|
2786
2801
|
var Scalar = require_Scalar();
|
|
@@ -2838,9 +2853,9 @@ var require_merge = __commonJS({
|
|
|
2838
2853
|
}
|
|
2839
2854
|
});
|
|
2840
2855
|
|
|
2841
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2856
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
2842
2857
|
var require_addPairToJSMap = __commonJS({
|
|
2843
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2858
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
2844
2859
|
"use strict";
|
|
2845
2860
|
var log = require_log();
|
|
2846
2861
|
var merge = require_merge();
|
|
@@ -2902,9 +2917,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
2902
2917
|
}
|
|
2903
2918
|
});
|
|
2904
2919
|
|
|
2905
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2920
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
|
|
2906
2921
|
var require_Pair = __commonJS({
|
|
2907
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2922
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
2908
2923
|
"use strict";
|
|
2909
2924
|
var createNode = require_createNode();
|
|
2910
2925
|
var stringifyPair = require_stringifyPair();
|
|
@@ -2942,9 +2957,9 @@ var require_Pair = __commonJS({
|
|
|
2942
2957
|
}
|
|
2943
2958
|
});
|
|
2944
2959
|
|
|
2945
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
2960
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2946
2961
|
var require_stringifyCollection = __commonJS({
|
|
2947
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
2962
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
2948
2963
|
"use strict";
|
|
2949
2964
|
var identity = require_identity();
|
|
2950
2965
|
var stringify = require_stringify();
|
|
@@ -3093,9 +3108,9 @@ ${indent}${end}`;
|
|
|
3093
3108
|
}
|
|
3094
3109
|
});
|
|
3095
3110
|
|
|
3096
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3111
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
3097
3112
|
var require_YAMLMap = __commonJS({
|
|
3098
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3113
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
3099
3114
|
"use strict";
|
|
3100
3115
|
var stringifyCollection = require_stringifyCollection();
|
|
3101
3116
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -3237,9 +3252,9 @@ var require_YAMLMap = __commonJS({
|
|
|
3237
3252
|
}
|
|
3238
3253
|
});
|
|
3239
3254
|
|
|
3240
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3255
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
|
|
3241
3256
|
var require_map = __commonJS({
|
|
3242
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3257
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
3243
3258
|
"use strict";
|
|
3244
3259
|
var identity = require_identity();
|
|
3245
3260
|
var YAMLMap = require_YAMLMap();
|
|
@@ -3259,9 +3274,9 @@ var require_map = __commonJS({
|
|
|
3259
3274
|
}
|
|
3260
3275
|
});
|
|
3261
3276
|
|
|
3262
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3277
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
3263
3278
|
var require_YAMLSeq = __commonJS({
|
|
3264
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3279
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
3265
3280
|
"use strict";
|
|
3266
3281
|
var createNode = require_createNode();
|
|
3267
3282
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -3375,9 +3390,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
3375
3390
|
}
|
|
3376
3391
|
});
|
|
3377
3392
|
|
|
3378
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3393
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
|
|
3379
3394
|
var require_seq = __commonJS({
|
|
3380
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3395
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
3381
3396
|
"use strict";
|
|
3382
3397
|
var identity = require_identity();
|
|
3383
3398
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -3397,9 +3412,9 @@ var require_seq = __commonJS({
|
|
|
3397
3412
|
}
|
|
3398
3413
|
});
|
|
3399
3414
|
|
|
3400
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3415
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
|
|
3401
3416
|
var require_string = __commonJS({
|
|
3402
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3417
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
3403
3418
|
"use strict";
|
|
3404
3419
|
var stringifyString = require_stringifyString();
|
|
3405
3420
|
var string = {
|
|
@@ -3416,9 +3431,9 @@ var require_string = __commonJS({
|
|
|
3416
3431
|
}
|
|
3417
3432
|
});
|
|
3418
3433
|
|
|
3419
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3434
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
|
|
3420
3435
|
var require_null = __commonJS({
|
|
3421
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3436
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
3422
3437
|
"use strict";
|
|
3423
3438
|
var Scalar = require_Scalar();
|
|
3424
3439
|
var nullTag = {
|
|
@@ -3434,9 +3449,9 @@ var require_null = __commonJS({
|
|
|
3434
3449
|
}
|
|
3435
3450
|
});
|
|
3436
3451
|
|
|
3437
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3452
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
|
|
3438
3453
|
var require_bool = __commonJS({
|
|
3439
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3454
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
3440
3455
|
"use strict";
|
|
3441
3456
|
var Scalar = require_Scalar();
|
|
3442
3457
|
var boolTag = {
|
|
@@ -3458,9 +3473,9 @@ var require_bool = __commonJS({
|
|
|
3458
3473
|
}
|
|
3459
3474
|
});
|
|
3460
3475
|
|
|
3461
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3476
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
3462
3477
|
var require_stringifyNumber = __commonJS({
|
|
3463
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3478
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
3464
3479
|
"use strict";
|
|
3465
3480
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
3466
3481
|
if (typeof value === "bigint")
|
|
@@ -3485,9 +3500,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
3485
3500
|
}
|
|
3486
3501
|
});
|
|
3487
3502
|
|
|
3488
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3503
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
|
|
3489
3504
|
var require_float = __commonJS({
|
|
3490
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3505
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
3491
3506
|
"use strict";
|
|
3492
3507
|
var Scalar = require_Scalar();
|
|
3493
3508
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3531,9 +3546,9 @@ var require_float = __commonJS({
|
|
|
3531
3546
|
}
|
|
3532
3547
|
});
|
|
3533
3548
|
|
|
3534
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3549
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
|
|
3535
3550
|
var require_int = __commonJS({
|
|
3536
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3551
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
3537
3552
|
"use strict";
|
|
3538
3553
|
var stringifyNumber = require_stringifyNumber();
|
|
3539
3554
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3576,9 +3591,9 @@ var require_int = __commonJS({
|
|
|
3576
3591
|
}
|
|
3577
3592
|
});
|
|
3578
3593
|
|
|
3579
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3594
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
|
|
3580
3595
|
var require_schema = __commonJS({
|
|
3581
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3596
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
3582
3597
|
"use strict";
|
|
3583
3598
|
var map = require_map();
|
|
3584
3599
|
var _null = require_null();
|
|
@@ -3604,9 +3619,9 @@ var require_schema = __commonJS({
|
|
|
3604
3619
|
}
|
|
3605
3620
|
});
|
|
3606
3621
|
|
|
3607
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3622
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
|
|
3608
3623
|
var require_schema2 = __commonJS({
|
|
3609
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3624
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
3610
3625
|
"use strict";
|
|
3611
3626
|
var Scalar = require_Scalar();
|
|
3612
3627
|
var map = require_map();
|
|
@@ -3671,9 +3686,9 @@ var require_schema2 = __commonJS({
|
|
|
3671
3686
|
}
|
|
3672
3687
|
});
|
|
3673
3688
|
|
|
3674
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3689
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
3675
3690
|
var require_binary = __commonJS({
|
|
3676
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3691
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
3677
3692
|
"use strict";
|
|
3678
3693
|
var node_buffer = __require("buffer");
|
|
3679
3694
|
var Scalar = require_Scalar();
|
|
@@ -3737,9 +3752,9 @@ var require_binary = __commonJS({
|
|
|
3737
3752
|
}
|
|
3738
3753
|
});
|
|
3739
3754
|
|
|
3740
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3755
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
3741
3756
|
var require_pairs = __commonJS({
|
|
3742
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3757
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
3743
3758
|
"use strict";
|
|
3744
3759
|
var identity = require_identity();
|
|
3745
3760
|
var Pair = require_Pair();
|
|
@@ -3815,9 +3830,9 @@ ${cn.comment}` : item.comment;
|
|
|
3815
3830
|
}
|
|
3816
3831
|
});
|
|
3817
3832
|
|
|
3818
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3833
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
3819
3834
|
var require_omap = __commonJS({
|
|
3820
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3835
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
3821
3836
|
"use strict";
|
|
3822
3837
|
var identity = require_identity();
|
|
3823
3838
|
var toJS = require_toJS();
|
|
@@ -3893,9 +3908,9 @@ var require_omap = __commonJS({
|
|
|
3893
3908
|
}
|
|
3894
3909
|
});
|
|
3895
3910
|
|
|
3896
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3911
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
3897
3912
|
var require_bool2 = __commonJS({
|
|
3898
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3913
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
3899
3914
|
"use strict";
|
|
3900
3915
|
var Scalar = require_Scalar();
|
|
3901
3916
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -3925,9 +3940,9 @@ var require_bool2 = __commonJS({
|
|
|
3925
3940
|
}
|
|
3926
3941
|
});
|
|
3927
3942
|
|
|
3928
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3943
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
3929
3944
|
var require_float2 = __commonJS({
|
|
3930
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3945
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
3931
3946
|
"use strict";
|
|
3932
3947
|
var Scalar = require_Scalar();
|
|
3933
3948
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3974,9 +3989,9 @@ var require_float2 = __commonJS({
|
|
|
3974
3989
|
}
|
|
3975
3990
|
});
|
|
3976
3991
|
|
|
3977
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
3992
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3978
3993
|
var require_int2 = __commonJS({
|
|
3979
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
3994
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
3980
3995
|
"use strict";
|
|
3981
3996
|
var stringifyNumber = require_stringifyNumber();
|
|
3982
3997
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -4053,9 +4068,9 @@ var require_int2 = __commonJS({
|
|
|
4053
4068
|
}
|
|
4054
4069
|
});
|
|
4055
4070
|
|
|
4056
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4071
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
4057
4072
|
var require_set = __commonJS({
|
|
4058
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4073
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
4059
4074
|
"use strict";
|
|
4060
4075
|
var identity = require_identity();
|
|
4061
4076
|
var Pair = require_Pair();
|
|
@@ -4142,9 +4157,9 @@ var require_set = __commonJS({
|
|
|
4142
4157
|
}
|
|
4143
4158
|
});
|
|
4144
4159
|
|
|
4145
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4160
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
4146
4161
|
var require_timestamp = __commonJS({
|
|
4147
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4162
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
4148
4163
|
"use strict";
|
|
4149
4164
|
var stringifyNumber = require_stringifyNumber();
|
|
4150
4165
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -4230,9 +4245,9 @@ var require_timestamp = __commonJS({
|
|
|
4230
4245
|
}
|
|
4231
4246
|
});
|
|
4232
4247
|
|
|
4233
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4248
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
4234
4249
|
var require_schema3 = __commonJS({
|
|
4235
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4250
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
4236
4251
|
"use strict";
|
|
4237
4252
|
var map = require_map();
|
|
4238
4253
|
var _null = require_null();
|
|
@@ -4274,9 +4289,9 @@ var require_schema3 = __commonJS({
|
|
|
4274
4289
|
}
|
|
4275
4290
|
});
|
|
4276
4291
|
|
|
4277
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4292
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
|
|
4278
4293
|
var require_tags = __commonJS({
|
|
4279
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4294
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
4280
4295
|
"use strict";
|
|
4281
4296
|
var map = require_map();
|
|
4282
4297
|
var _null = require_null();
|
|
@@ -4368,9 +4383,9 @@ var require_tags = __commonJS({
|
|
|
4368
4383
|
}
|
|
4369
4384
|
});
|
|
4370
4385
|
|
|
4371
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4386
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
|
|
4372
4387
|
var require_Schema = __commonJS({
|
|
4373
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4388
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
4374
4389
|
"use strict";
|
|
4375
4390
|
var identity = require_identity();
|
|
4376
4391
|
var map = require_map();
|
|
@@ -4400,9 +4415,9 @@ var require_Schema = __commonJS({
|
|
|
4400
4415
|
}
|
|
4401
4416
|
});
|
|
4402
4417
|
|
|
4403
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4418
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
4404
4419
|
var require_stringifyDocument = __commonJS({
|
|
4405
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4420
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
4406
4421
|
"use strict";
|
|
4407
4422
|
var identity = require_identity();
|
|
4408
4423
|
var stringify = require_stringify();
|
|
@@ -4480,9 +4495,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
4480
4495
|
}
|
|
4481
4496
|
});
|
|
4482
4497
|
|
|
4483
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4498
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
|
|
4484
4499
|
var require_Document = __commonJS({
|
|
4485
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4500
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
4486
4501
|
"use strict";
|
|
4487
4502
|
var Alias = require_Alias();
|
|
4488
4503
|
var Collection = require_Collection();
|
|
@@ -4789,9 +4804,9 @@ var require_Document = __commonJS({
|
|
|
4789
4804
|
}
|
|
4790
4805
|
});
|
|
4791
4806
|
|
|
4792
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4807
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js
|
|
4793
4808
|
var require_errors = __commonJS({
|
|
4794
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4809
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js"(exports) {
|
|
4795
4810
|
"use strict";
|
|
4796
4811
|
var YAMLError = class extends Error {
|
|
4797
4812
|
constructor(name, pos, code, message) {
|
|
@@ -4854,9 +4869,9 @@ ${pointer}
|
|
|
4854
4869
|
}
|
|
4855
4870
|
});
|
|
4856
4871
|
|
|
4857
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
4872
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
|
|
4858
4873
|
var require_resolve_props = __commonJS({
|
|
4859
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
4874
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
4860
4875
|
"use strict";
|
|
4861
4876
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
4862
4877
|
let spaceBefore = false;
|
|
@@ -4988,9 +5003,9 @@ var require_resolve_props = __commonJS({
|
|
|
4988
5003
|
}
|
|
4989
5004
|
});
|
|
4990
5005
|
|
|
4991
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5006
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
4992
5007
|
var require_util_contains_newline = __commonJS({
|
|
4993
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5008
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
4994
5009
|
"use strict";
|
|
4995
5010
|
function containsNewline(key) {
|
|
4996
5011
|
if (!key)
|
|
@@ -5030,9 +5045,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
5030
5045
|
}
|
|
5031
5046
|
});
|
|
5032
5047
|
|
|
5033
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5048
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
5034
5049
|
var require_util_flow_indent_check = __commonJS({
|
|
5035
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5050
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
5036
5051
|
"use strict";
|
|
5037
5052
|
var utilContainsNewline = require_util_contains_newline();
|
|
5038
5053
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -5048,9 +5063,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
5048
5063
|
}
|
|
5049
5064
|
});
|
|
5050
5065
|
|
|
5051
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5066
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
|
|
5052
5067
|
var require_util_map_includes = __commonJS({
|
|
5053
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5068
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
5054
5069
|
"use strict";
|
|
5055
5070
|
var identity = require_identity();
|
|
5056
5071
|
function mapIncludes(ctx, items, search) {
|
|
@@ -5064,9 +5079,9 @@ var require_util_map_includes = __commonJS({
|
|
|
5064
5079
|
}
|
|
5065
5080
|
});
|
|
5066
5081
|
|
|
5067
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5082
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
5068
5083
|
var require_resolve_block_map = __commonJS({
|
|
5069
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5084
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
5070
5085
|
"use strict";
|
|
5071
5086
|
var Pair = require_Pair();
|
|
5072
5087
|
var YAMLMap = require_YAMLMap();
|
|
@@ -5172,9 +5187,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
5172
5187
|
}
|
|
5173
5188
|
});
|
|
5174
5189
|
|
|
5175
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5190
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
5176
5191
|
var require_resolve_block_seq = __commonJS({
|
|
5177
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5192
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
5178
5193
|
"use strict";
|
|
5179
5194
|
var YAMLSeq = require_YAMLSeq();
|
|
5180
5195
|
var resolveProps = require_resolve_props();
|
|
@@ -5223,9 +5238,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
5223
5238
|
}
|
|
5224
5239
|
});
|
|
5225
5240
|
|
|
5226
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5241
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
|
|
5227
5242
|
var require_resolve_end = __commonJS({
|
|
5228
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5243
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
5229
5244
|
"use strict";
|
|
5230
5245
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
5231
5246
|
let comment = "";
|
|
@@ -5266,9 +5281,9 @@ var require_resolve_end = __commonJS({
|
|
|
5266
5281
|
}
|
|
5267
5282
|
});
|
|
5268
5283
|
|
|
5269
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5284
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
5270
5285
|
var require_resolve_flow_collection = __commonJS({
|
|
5271
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5286
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
5272
5287
|
"use strict";
|
|
5273
5288
|
var identity = require_identity();
|
|
5274
5289
|
var Pair = require_Pair();
|
|
@@ -5460,9 +5475,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
5460
5475
|
}
|
|
5461
5476
|
});
|
|
5462
5477
|
|
|
5463
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5478
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
|
|
5464
5479
|
var require_compose_collection = __commonJS({
|
|
5465
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5480
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
5466
5481
|
"use strict";
|
|
5467
5482
|
var identity = require_identity();
|
|
5468
5483
|
var Scalar = require_Scalar();
|
|
@@ -5525,9 +5540,9 @@ var require_compose_collection = __commonJS({
|
|
|
5525
5540
|
}
|
|
5526
5541
|
});
|
|
5527
5542
|
|
|
5528
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5543
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
5529
5544
|
var require_resolve_block_scalar = __commonJS({
|
|
5530
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5545
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
5531
5546
|
"use strict";
|
|
5532
5547
|
var Scalar = require_Scalar();
|
|
5533
5548
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -5708,9 +5723,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
5708
5723
|
}
|
|
5709
5724
|
});
|
|
5710
5725
|
|
|
5711
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5726
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
5712
5727
|
var require_resolve_flow_scalar = __commonJS({
|
|
5713
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5728
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
5714
5729
|
"use strict";
|
|
5715
5730
|
var Scalar = require_Scalar();
|
|
5716
5731
|
var resolveEnd = require_resolve_end();
|
|
@@ -5777,37 +5792,38 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
5777
5792
|
}
|
|
5778
5793
|
if (badChar)
|
|
5779
5794
|
onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
|
|
5780
|
-
return
|
|
5795
|
+
return unfoldLines(source);
|
|
5781
5796
|
}
|
|
5782
5797
|
function singleQuotedValue(source, onError) {
|
|
5783
5798
|
if (source[source.length - 1] !== "'" || source.length === 1)
|
|
5784
5799
|
onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
|
|
5785
|
-
return
|
|
5800
|
+
return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
|
|
5786
5801
|
}
|
|
5787
|
-
function
|
|
5788
|
-
|
|
5802
|
+
function unfoldLines(source) {
|
|
5803
|
+
const line = /(.*?)\r?\n/sy;
|
|
5804
|
+
let match = line.exec(source);
|
|
5805
|
+
if (!match)
|
|
5806
|
+
return source;
|
|
5807
|
+
let trimEnd, trimBoth;
|
|
5789
5808
|
try {
|
|
5790
|
-
|
|
5791
|
-
|
|
5809
|
+
trimEnd = new RegExp("(?<![ ])[ ]+$");
|
|
5810
|
+
trimBoth = new RegExp("^[ ]+|(?<![ ])[ ]+$", "g");
|
|
5792
5811
|
} catch {
|
|
5793
|
-
|
|
5794
|
-
|
|
5812
|
+
trimEnd = /[ \t]+$/;
|
|
5813
|
+
trimBoth = /^[ \t]+|[ \t]+$/g;
|
|
5795
5814
|
}
|
|
5796
|
-
let
|
|
5797
|
-
if (!match)
|
|
5798
|
-
return source;
|
|
5799
|
-
let res = match[1];
|
|
5815
|
+
let res = match[1].replace(trimEnd, "");
|
|
5800
5816
|
let sep = " ";
|
|
5801
|
-
let pos =
|
|
5802
|
-
line.lastIndex = pos;
|
|
5817
|
+
let pos = line.lastIndex;
|
|
5803
5818
|
while (match = line.exec(source)) {
|
|
5804
|
-
|
|
5819
|
+
const lm = match[1].replace(trimBoth, "");
|
|
5820
|
+
if (lm === "") {
|
|
5805
5821
|
if (sep === "\n")
|
|
5806
5822
|
res += sep;
|
|
5807
5823
|
else
|
|
5808
5824
|
sep = "\n";
|
|
5809
5825
|
} else {
|
|
5810
|
-
res += sep +
|
|
5826
|
+
res += sep + lm;
|
|
5811
5827
|
sep = " ";
|
|
5812
5828
|
}
|
|
5813
5829
|
pos = line.lastIndex;
|
|
@@ -5928,9 +5944,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
5928
5944
|
}
|
|
5929
5945
|
});
|
|
5930
5946
|
|
|
5931
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
5947
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
|
|
5932
5948
|
var require_compose_scalar = __commonJS({
|
|
5933
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
5949
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
5934
5950
|
"use strict";
|
|
5935
5951
|
var identity = require_identity();
|
|
5936
5952
|
var Scalar = require_Scalar();
|
|
@@ -6009,9 +6025,9 @@ var require_compose_scalar = __commonJS({
|
|
|
6009
6025
|
}
|
|
6010
6026
|
});
|
|
6011
6027
|
|
|
6012
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6028
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
6013
6029
|
var require_util_empty_scalar_position = __commonJS({
|
|
6014
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6030
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
6015
6031
|
"use strict";
|
|
6016
6032
|
function emptyScalarPosition(offset, before, pos) {
|
|
6017
6033
|
if (before) {
|
|
@@ -6039,9 +6055,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
6039
6055
|
}
|
|
6040
6056
|
});
|
|
6041
6057
|
|
|
6042
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6058
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
|
|
6043
6059
|
var require_compose_node = __commonJS({
|
|
6044
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6060
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
6045
6061
|
"use strict";
|
|
6046
6062
|
var Alias = require_Alias();
|
|
6047
6063
|
var identity = require_identity();
|
|
@@ -6145,9 +6161,9 @@ var require_compose_node = __commonJS({
|
|
|
6145
6161
|
}
|
|
6146
6162
|
});
|
|
6147
6163
|
|
|
6148
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6164
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
|
|
6149
6165
|
var require_compose_doc = __commonJS({
|
|
6150
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6166
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
6151
6167
|
"use strict";
|
|
6152
6168
|
var Document = require_Document();
|
|
6153
6169
|
var composeNode = require_compose_node();
|
|
@@ -6188,9 +6204,9 @@ var require_compose_doc = __commonJS({
|
|
|
6188
6204
|
}
|
|
6189
6205
|
});
|
|
6190
6206
|
|
|
6191
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6207
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
|
|
6192
6208
|
var require_composer = __commonJS({
|
|
6193
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6209
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
6194
6210
|
"use strict";
|
|
6195
6211
|
var node_process = __require("process");
|
|
6196
6212
|
var directives = require_directives();
|
|
@@ -6396,9 +6412,9 @@ ${end.comment}` : end.comment;
|
|
|
6396
6412
|
}
|
|
6397
6413
|
});
|
|
6398
6414
|
|
|
6399
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6415
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
|
|
6400
6416
|
var require_cst_scalar = __commonJS({
|
|
6401
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6417
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
6402
6418
|
"use strict";
|
|
6403
6419
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
6404
6420
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -6581,9 +6597,9 @@ var require_cst_scalar = __commonJS({
|
|
|
6581
6597
|
}
|
|
6582
6598
|
});
|
|
6583
6599
|
|
|
6584
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6600
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
|
|
6585
6601
|
var require_cst_stringify = __commonJS({
|
|
6586
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6602
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
6587
6603
|
"use strict";
|
|
6588
6604
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
6589
6605
|
function stringifyToken(token) {
|
|
@@ -6642,9 +6658,9 @@ var require_cst_stringify = __commonJS({
|
|
|
6642
6658
|
}
|
|
6643
6659
|
});
|
|
6644
6660
|
|
|
6645
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6661
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
|
|
6646
6662
|
var require_cst_visit = __commonJS({
|
|
6647
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6663
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
6648
6664
|
"use strict";
|
|
6649
6665
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
6650
6666
|
var SKIP = /* @__PURE__ */ Symbol("skip children");
|
|
@@ -6704,9 +6720,9 @@ var require_cst_visit = __commonJS({
|
|
|
6704
6720
|
}
|
|
6705
6721
|
});
|
|
6706
6722
|
|
|
6707
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6723
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
|
|
6708
6724
|
var require_cst = __commonJS({
|
|
6709
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6725
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
6710
6726
|
"use strict";
|
|
6711
6727
|
var cstScalar = require_cst_scalar();
|
|
6712
6728
|
var cstStringify = require_cst_stringify();
|
|
@@ -6806,9 +6822,9 @@ var require_cst = __commonJS({
|
|
|
6806
6822
|
}
|
|
6807
6823
|
});
|
|
6808
6824
|
|
|
6809
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
6825
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
|
|
6810
6826
|
var require_lexer = __commonJS({
|
|
6811
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
6827
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
6812
6828
|
"use strict";
|
|
6813
6829
|
var cst = require_cst();
|
|
6814
6830
|
function isEmpty(ch) {
|
|
@@ -7395,9 +7411,9 @@ var require_lexer = __commonJS({
|
|
|
7395
7411
|
}
|
|
7396
7412
|
});
|
|
7397
7413
|
|
|
7398
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
7414
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
|
|
7399
7415
|
var require_line_counter = __commonJS({
|
|
7400
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
7416
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
7401
7417
|
"use strict";
|
|
7402
7418
|
var LineCounter = class {
|
|
7403
7419
|
constructor() {
|
|
@@ -7426,9 +7442,9 @@ var require_line_counter = __commonJS({
|
|
|
7426
7442
|
}
|
|
7427
7443
|
});
|
|
7428
7444
|
|
|
7429
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
7445
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
|
|
7430
7446
|
var require_parser = __commonJS({
|
|
7431
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
7447
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
7432
7448
|
"use strict";
|
|
7433
7449
|
var node_process = __require("process");
|
|
7434
7450
|
var cst = require_cst();
|
|
@@ -8300,9 +8316,9 @@ var require_parser = __commonJS({
|
|
|
8300
8316
|
}
|
|
8301
8317
|
});
|
|
8302
8318
|
|
|
8303
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
8319
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js
|
|
8304
8320
|
var require_public_api = __commonJS({
|
|
8305
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
8321
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js"(exports) {
|
|
8306
8322
|
"use strict";
|
|
8307
8323
|
var composer = require_composer();
|
|
8308
8324
|
var Document = require_Document();
|
|
@@ -8397,9 +8413,9 @@ var require_public_api = __commonJS({
|
|
|
8397
8413
|
}
|
|
8398
8414
|
});
|
|
8399
8415
|
|
|
8400
|
-
// node_modules/.pnpm/yaml@2.9.
|
|
8416
|
+
// node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js
|
|
8401
8417
|
var require_dist2 = __commonJS({
|
|
8402
|
-
"node_modules/.pnpm/yaml@2.9.
|
|
8418
|
+
"node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js"(exports) {
|
|
8403
8419
|
"use strict";
|
|
8404
8420
|
var composer = require_composer();
|
|
8405
8421
|
var Document = require_Document();
|
|
@@ -8958,7 +8974,7 @@ ${success_page_assets_default.fontLicense}
|
|
|
8958
8974
|
<body>
|
|
8959
8975
|
<header>
|
|
8960
8976
|
<!-- Inline wordmark from spatius-site/src/assets/prototypes/homepage-refresh/spatius-header-logo.svg. -->
|
|
8961
|
-
<a class="brand" href="https://www.spatius.ai
|
|
8977
|
+
<a class="brand" href="https://www.spatius.ai/?utm_source=create-spatius-app" target="_blank" rel="noopener noreferrer" aria-label="Spatius home"><svg aria-hidden="true" width="128.402" height="33" viewBox="0 0 128.402 33" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8962
8978
|
<g>
|
|
8963
8979
|
<path d="M26.7901 1.07875C27.3347 1.25279 27.6993 1.7674 27.6993 2.33903V5.91584C27.6993 6.62701 27.1217 7.20164 26.415 7.20164H22.6657C22.3116 7.20164 21.9905 7.34567 21.758 7.57672C21.7429 7.59173 21.7279 7.60523 21.7144 7.62173C21.5074 7.85128 21.3799 8.15435 21.3799 8.48593V14.1362C21.3799 14.8444 20.8037 15.4205 20.0956 15.4205H16.3477C15.6366 15.4205 15.0634 15.9966 15.0634 16.7048V22.3551C15.0634 23.0662 14.4873 23.6409 13.7791 23.6409H10.0313C9.32012 23.6409 8.74549 24.217 8.74549 24.9267V28.2769C8.74549 29.3722 7.4927 29.9993 6.61951 29.3392C2.55658 26.262 0 21.785 0 16.8023C0 7.52121 8.86702 0 19.8045 0C22.2666 0 24.6221 0.381086 26.7946 1.07724L26.7901 1.07875Z" fill="black"/>
|
|
8964
8980
|
<path d="M34.5408 8.92402V14.7438C34.5408 15.476 33.9482 16.0671 33.2175 16.0671H29.3587C28.6265 16.0671 28.0354 16.6598 28.0354 17.3904V23.2103C28.0354 23.9424 27.4412 24.5336 26.7121 24.5336H22.8517C22.4886 24.5336 22.1555 24.6836 21.917 24.9207C21.902 24.9357 21.887 24.9507 21.872 24.9672C21.6574 25.2027 21.5284 25.5148 21.5284 25.8569V31.6767C21.5284 32.4089 20.9357 33 20.2051 33H16.3462C15.614 33 15.0229 32.4074 15.0229 31.6767V25.8569C15.0229 25.1247 15.6155 24.5336 16.3462 24.5336H20.2051C20.9372 24.5336 21.5284 23.9409 21.5284 23.2103V17.3904C21.5284 17.3469 21.5284 17.3064 21.5344 17.2629C21.5344 17.2434 21.5374 17.2254 21.5404 17.2044C21.5404 17.1864 21.5449 17.1669 21.5494 17.1474C21.5494 17.1384 21.5524 17.1309 21.5539 17.1219C21.5569 17.1039 21.5629 17.0859 21.5674 17.0694C21.5704 17.0529 21.5764 17.0364 21.5809 17.0184C21.5929 16.9809 21.6064 16.9403 21.6214 16.9043C21.6334 16.8728 21.6469 16.8428 21.6589 16.8143C21.6589 16.8113 21.6619 16.8098 21.6619 16.8083C21.6709 16.7918 21.6784 16.7753 21.6889 16.7588C21.7144 16.7123 21.7444 16.6658 21.7729 16.6223C21.7864 16.6043 21.7984 16.5863 21.8134 16.5698C21.8314 16.5443 21.851 16.5217 21.8735 16.4977C21.8885 16.4812 21.9035 16.4662 21.9185 16.4512C21.9485 16.4212 21.98 16.3927 22.0115 16.3642C22.0445 16.3372 22.0775 16.3132 22.112 16.2877C22.1465 16.2652 22.184 16.2427 22.22 16.2217C22.256 16.2022 22.2951 16.1842 22.3326 16.1662C22.3731 16.1482 22.4121 16.1332 22.4541 16.1212C22.4856 16.1107 22.5171 16.1031 22.5486 16.0956C22.5801 16.0866 22.6131 16.0806 22.6461 16.0761C22.6731 16.0731 22.6986 16.0701 22.7257 16.0656H26.7091C27.4397 16.0656 28.0324 15.473 28.0324 14.7423V8.92252C28.0324 8.19035 28.625 7.59921 29.3557 7.59921H33.2145C33.9467 7.59921 34.5378 8.19185 34.5378 8.92252H34.5393L34.5408 8.92402Z" fill="black"/>
|
|
@@ -8991,15 +9007,15 @@ ${success_page_assets_default.fontLicense}
|
|
|
8991
9007
|
<nav aria-label="Spatius resources">
|
|
8992
9008
|
<span class="eyebrow">While you're building</span>
|
|
8993
9009
|
<div class="links">
|
|
8994
|
-
<a href="https://docs.spatius.ai
|
|
8995
|
-
<a href="https://app.spatius.ai" target="_blank" rel="noopener noreferrer"><span class="link-label"><svg aria-hidden="true" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="3" /><path d="M3 9h18M9 9v12" /></svg>Open Studio</span><svg class="external-icon" aria-hidden="true" viewBox="0 0 20 20"><path d="M5 15 15 5M7 5h8v8" stroke-width="1.7" /></svg></a>
|
|
9010
|
+
<a href="https://docs.spatius.ai/?utm_source=create-spatius-app" target="_blank" rel="noopener noreferrer"><span class="link-label"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M12 5v16M12 5C9 3 5 3 2 4v15c3-1 7-1 10 2 3-3 7-3 10-2V4c-3-1-7-1-10 1Z" /></svg>Documentation</span><svg class="external-icon" aria-hidden="true" viewBox="0 0 20 20"><path d="M5 15 15 5M7 5h8v8" stroke-width="1.7" /></svg></a>
|
|
9011
|
+
<a href="https://app.spatius.ai?utm_source=create-spatius-app" target="_blank" rel="noopener noreferrer"><span class="link-label"><svg aria-hidden="true" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="3" /><path d="M3 9h18M9 9v12" /></svg>Open Studio</span><svg class="external-icon" aria-hidden="true" viewBox="0 0 20 20"><path d="M5 15 15 5M7 5h8v8" stroke-width="1.7" /></svg></a>
|
|
8996
9012
|
<a href="https://github.com/spatius-ai" target="_blank" rel="noopener noreferrer"><span class="link-label"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="m8 7-5 5 5 5m8-10 5 5-5 5m-3-13-2 16" /></svg>GitHub</span><svg class="external-icon" aria-hidden="true" viewBox="0 0 20 20"><path d="M5 15 15 5M7 5h8v8" stroke-width="1.7" /></svg></a>
|
|
8997
9013
|
<a href="https://discord.gg/9HGhZfHZh9" target="_blank" rel="noopener noreferrer"><span class="link-label"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M21 11a8 8 0 0 1-8 8H8l-5 3V7a4 4 0 0 1 4-4h6a8 8 0 0 1 8 8Z" /><path d="M7 10h10M7 14h6" /></svg>Join our Discord</span><svg class="external-icon" aria-hidden="true" viewBox="0 0 20 20"><path d="M5 15 15 5M7 5h8v8" stroke-width="1.7" /></svg></a>
|
|
8998
9014
|
</div>
|
|
8999
9015
|
</nav>
|
|
9000
9016
|
</section>
|
|
9001
9017
|
</main>
|
|
9002
|
-
<footer><a href="https://www.spatius.ai
|
|
9018
|
+
<footer><a href="https://www.spatius.ai/?utm_source=create-spatius-app" target="_blank" rel="noopener noreferrer">Explore Spatius <svg aria-hidden="true" viewBox="0 0 20 20" fill="none"><path d="M5 15 15 5M7 5h8v8" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" /></svg></a></footer>
|
|
9003
9019
|
</body>
|
|
9004
9020
|
</html>`;
|
|
9005
9021
|
}
|
|
@@ -9567,6 +9583,10 @@ function validateAuthorizationUrl(value) {
|
|
|
9567
9583
|
if (url.protocol !== "https:" && !(url.protocol === "http:" && loopbackHost) || url.username !== "" || url.password !== "") {
|
|
9568
9584
|
throw new Error("Spatius returned an unsafe authorization URL.");
|
|
9569
9585
|
}
|
|
9586
|
+
if (url.hostname.endsWith(".spatius.ai")) {
|
|
9587
|
+
url.searchParams.set("utm_source", "create-spatius-app");
|
|
9588
|
+
return url.href;
|
|
9589
|
+
}
|
|
9570
9590
|
return value;
|
|
9571
9591
|
}
|
|
9572
9592
|
async function loginToSpatius({
|
|
@@ -10283,7 +10303,7 @@ var init_wizard = __esm({
|
|
|
10283
10303
|
// src/cli.ts
|
|
10284
10304
|
init_catalog();
|
|
10285
10305
|
|
|
10286
|
-
// node_modules/.pnpm/@clack+core@1.
|
|
10306
|
+
// node_modules/.pnpm/@clack+core@1.5.1/node_modules/@clack/core/dist/index.mjs
|
|
10287
10307
|
import { styleText } from "util";
|
|
10288
10308
|
import { stdout, stdin } from "process";
|
|
10289
10309
|
import * as l from "readline";
|
|
@@ -10625,7 +10645,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
10625
10645
|
return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
|
|
10626
10646
|
}
|
|
10627
10647
|
|
|
10628
|
-
// node_modules/.pnpm/@clack+core@1.
|
|
10648
|
+
// node_modules/.pnpm/@clack+core@1.5.1/node_modules/@clack/core/dist/index.mjs
|
|
10629
10649
|
var import_sisteransi = __toESM(require_src(), 1);
|
|
10630
10650
|
import { ReadStream } from "tty";
|
|
10631
10651
|
function findCursor(s, o, l2) {
|
|
@@ -10666,6 +10686,7 @@ var settings = {
|
|
|
10666
10686
|
error: "Something went wrong"
|
|
10667
10687
|
},
|
|
10668
10688
|
withGuide: true,
|
|
10689
|
+
accessible: void 0,
|
|
10669
10690
|
date: {
|
|
10670
10691
|
monthNames: [...t],
|
|
10671
10692
|
messages: {
|
|
@@ -10677,6 +10698,12 @@ var settings = {
|
|
|
10677
10698
|
}
|
|
10678
10699
|
}
|
|
10679
10700
|
};
|
|
10701
|
+
function isAccessible(n3) {
|
|
10702
|
+
if (n3 !== void 0) return n3;
|
|
10703
|
+
if (settings.accessible !== void 0) return settings.accessible;
|
|
10704
|
+
const e = process.env.ACCESSIBLE;
|
|
10705
|
+
return e !== void 0 && e !== "" && e !== "0" && e !== "false";
|
|
10706
|
+
}
|
|
10680
10707
|
function isActionKey(n3, e) {
|
|
10681
10708
|
if (typeof n3 == "string")
|
|
10682
10709
|
return settings.aliases.get(n3) === e;
|
|
@@ -10712,7 +10739,7 @@ function block({
|
|
|
10712
10739
|
input: e = stdin,
|
|
10713
10740
|
output: r2 = stdout,
|
|
10714
10741
|
overwrite: o = true,
|
|
10715
|
-
hideCursor:
|
|
10742
|
+
hideCursor: n3 = true
|
|
10716
10743
|
} = {}) {
|
|
10717
10744
|
const s = l.createInterface({
|
|
10718
10745
|
input: e,
|
|
@@ -10721,50 +10748,46 @@ function block({
|
|
|
10721
10748
|
tabSize: 1
|
|
10722
10749
|
});
|
|
10723
10750
|
l.emitKeypressEvents(e, s), e instanceof ReadStream && e.isTTY && e.setRawMode(true);
|
|
10724
|
-
const
|
|
10751
|
+
const t2 = (f, { name: a2, sequence: w }) => {
|
|
10725
10752
|
const c2 = String(f);
|
|
10726
|
-
if (isActionKey([c2, a2,
|
|
10727
|
-
|
|
10753
|
+
if (isActionKey([c2, a2, w], "cancel")) {
|
|
10754
|
+
n3 && r2.write(import_sisteransi.cursor.show), process.exit(0);
|
|
10728
10755
|
return;
|
|
10729
10756
|
}
|
|
10730
10757
|
if (!o) return;
|
|
10731
10758
|
const i2 = a2 === "return" ? 0 : -1, m = a2 === "return" ? -1 : 0;
|
|
10732
10759
|
l.moveCursor(r2, i2, m, () => {
|
|
10733
10760
|
l.clearLine(r2, 1, () => {
|
|
10734
|
-
e.once("keypress",
|
|
10761
|
+
e.once("keypress", t2);
|
|
10735
10762
|
});
|
|
10736
10763
|
});
|
|
10737
10764
|
};
|
|
10738
|
-
return
|
|
10739
|
-
e.off("keypress",
|
|
10765
|
+
return n3 && r2.write(import_sisteransi.cursor.hide), e.once("keypress", t2), () => {
|
|
10766
|
+
e.off("keypress", t2), n3 && r2.write(import_sisteransi.cursor.show), e instanceof ReadStream && e.isTTY && !R && e.setRawMode(false), s.terminal = false, s.close();
|
|
10740
10767
|
};
|
|
10741
10768
|
}
|
|
10742
10769
|
var getColumns = (e) => "columns" in e && typeof e.columns == "number" ? e.columns : 80;
|
|
10743
10770
|
var getRows = (e) => "rows" in e && typeof e.rows == "number" ? e.rows : 20;
|
|
10744
|
-
function wrapTextWithPrefix(e, r2, o,
|
|
10771
|
+
function wrapTextWithPrefix(e, r2, o, n3 = o, s = o, t2) {
|
|
10745
10772
|
const f = getColumns(e ?? stdout);
|
|
10746
10773
|
return wrapAnsi(r2, f - o.length, {
|
|
10747
10774
|
hard: true,
|
|
10748
10775
|
trim: false
|
|
10749
10776
|
}).split(`
|
|
10750
10777
|
`).map((c2, i2, m) => {
|
|
10751
|
-
const d =
|
|
10752
|
-
return i2 === 0 ? `${
|
|
10778
|
+
const d = t2 ? t2(c2, i2) : c2;
|
|
10779
|
+
return i2 === 0 ? `${n3}${d}` : i2 === m.length - 1 ? `${s}${d}` : `${o}${d}`;
|
|
10753
10780
|
}).join(`
|
|
10754
10781
|
`);
|
|
10755
10782
|
}
|
|
10756
|
-
function runValidation(e,
|
|
10783
|
+
function runValidation(e, a2) {
|
|
10757
10784
|
if ("~standard" in e) {
|
|
10758
|
-
const
|
|
10759
|
-
|
|
10760
|
-
throw new TypeError(
|
|
10761
|
-
"Schema validation must be synchronous. Update `validate()` and remove any asynchronous logic."
|
|
10762
|
-
);
|
|
10763
|
-
return a2.issues?.at(0)?.message;
|
|
10785
|
+
const n3 = e["~standard"].validate(a2);
|
|
10786
|
+
return n3 instanceof Promise ? n3.then((r2) => r2.issues?.at(0)?.message) : n3.issues?.at(0)?.message;
|
|
10764
10787
|
}
|
|
10765
|
-
return e(
|
|
10788
|
+
return e(a2);
|
|
10766
10789
|
}
|
|
10767
|
-
var
|
|
10790
|
+
var y = class {
|
|
10768
10791
|
input;
|
|
10769
10792
|
output;
|
|
10770
10793
|
_abortSignal;
|
|
@@ -10779,9 +10802,17 @@ var V = class {
|
|
|
10779
10802
|
error = "";
|
|
10780
10803
|
value;
|
|
10781
10804
|
userInput = "";
|
|
10805
|
+
/**
|
|
10806
|
+
* Whether accessible (static, screen-reader friendly) output is enabled for
|
|
10807
|
+
* this prompt, resolved from the `accessible` option, the global setting,
|
|
10808
|
+
* and the `ACCESSIBLE` env var.
|
|
10809
|
+
*/
|
|
10810
|
+
get accessible() {
|
|
10811
|
+
return isAccessible(this.opts.accessible);
|
|
10812
|
+
}
|
|
10782
10813
|
constructor(t2, e = true) {
|
|
10783
|
-
const { input: i2 = stdin, output:
|
|
10784
|
-
this.opts = o, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render =
|
|
10814
|
+
const { input: i2 = stdin, output: s = stdout, render: r2, signal: n3, ...o } = t2;
|
|
10815
|
+
this.opts = o, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = r2.bind(this), this._track = e, this._abortSignal = n3, this.input = i2, this.output = s;
|
|
10785
10816
|
}
|
|
10786
10817
|
/**
|
|
10787
10818
|
* Unsubscribe all listeners
|
|
@@ -10819,11 +10850,11 @@ var V = class {
|
|
|
10819
10850
|
* @param data - The data to pass to the callback
|
|
10820
10851
|
*/
|
|
10821
10852
|
emit(t2, ...e) {
|
|
10822
|
-
const i2 = this._subscribers.get(t2) ?? [],
|
|
10823
|
-
for (const
|
|
10824
|
-
|
|
10825
|
-
for (const
|
|
10826
|
-
|
|
10853
|
+
const i2 = this._subscribers.get(t2) ?? [], s = [];
|
|
10854
|
+
for (const r2 of i2)
|
|
10855
|
+
r2.cb(...e), r2.once && s.push(() => i2.splice(i2.indexOf(r2), 1));
|
|
10856
|
+
for (const r2 of s)
|
|
10857
|
+
r2();
|
|
10827
10858
|
}
|
|
10828
10859
|
prompt() {
|
|
10829
10860
|
return new Promise((t2) => {
|
|
@@ -10866,15 +10897,18 @@ var V = class {
|
|
|
10866
10897
|
_clearUserInput() {
|
|
10867
10898
|
this.rl?.write(null, { ctrl: true, name: "u" }), this._setUserInput("");
|
|
10868
10899
|
}
|
|
10869
|
-
onKeypress(t2, e) {
|
|
10870
|
-
if (this.
|
|
10871
|
-
if (this.
|
|
10872
|
-
|
|
10873
|
-
|
|
10900
|
+
async onKeypress(t2, e) {
|
|
10901
|
+
if (this.state !== "validating") {
|
|
10902
|
+
if (this._track && e.name !== "return" && (e.name && this._isActionKey(t2, e) && this.rl?.write(null, { ctrl: true, name: "h" }), this._cursor = this.rl?.cursor ?? 0, this._setUserInput(this.rl?.line)), this.state === "error" && (this.state = "active"), e?.name && (!this._track && settings.aliases.has(e.name) && this.emit("cursor", settings.aliases.get(e.name)), settings.actions.has(e.name) && this.emit("cursor", e.name)), t2 && (t2.toLowerCase() === "y" || t2.toLowerCase() === "n") && this.emit("confirm", t2.toLowerCase() === "y"), this.emit("key", t2, e), e?.name === "return" && this._shouldSubmit(t2, e)) {
|
|
10903
|
+
if (this.opts.validate) {
|
|
10904
|
+
const i2 = runValidation(this.opts.validate, this.value);
|
|
10905
|
+
let s;
|
|
10906
|
+
i2 instanceof Promise ? (this.state = "validating", this.render(), s = await i2) : s = i2, s && (this.error = s instanceof Error ? s.message : s, this.state = "error", this.rl?.write(this.userInput));
|
|
10907
|
+
}
|
|
10908
|
+
this.state !== "error" && (this.state = "submit");
|
|
10874
10909
|
}
|
|
10875
|
-
this.state
|
|
10910
|
+
isActionKey([t2, e?.name, e?.sequence], "cancel") && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close();
|
|
10876
10911
|
}
|
|
10877
|
-
isActionKey([t2, e?.name, e?.sequence], "cancel") && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close();
|
|
10878
10912
|
}
|
|
10879
10913
|
close() {
|
|
10880
10914
|
this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
|
|
@@ -10896,28 +10930,28 @@ var V = class {
|
|
|
10896
10930
|
else {
|
|
10897
10931
|
const e = diffLines(this._prevFrame, t2), i2 = getRows(this.output);
|
|
10898
10932
|
if (this.restoreCursor(), e) {
|
|
10899
|
-
const
|
|
10900
|
-
let
|
|
10901
|
-
if (
|
|
10933
|
+
const s = Math.max(0, e.numLinesAfter - i2), r2 = Math.max(0, e.numLinesBefore - i2);
|
|
10934
|
+
let n3 = e.lines.find((o) => o >= s);
|
|
10935
|
+
if (n3 === void 0) {
|
|
10902
10936
|
this._prevFrame = t2;
|
|
10903
10937
|
return;
|
|
10904
10938
|
}
|
|
10905
10939
|
if (e.lines.length === 1) {
|
|
10906
|
-
this.output.write(import_sisteransi.cursor.move(0,
|
|
10940
|
+
this.output.write(import_sisteransi.cursor.move(0, n3 - r2)), this.output.write(import_sisteransi.erase.lines(1));
|
|
10907
10941
|
const o = t2.split(`
|
|
10908
10942
|
`);
|
|
10909
|
-
this.output.write(o[
|
|
10943
|
+
this.output.write(o[n3]), this._prevFrame = t2, this.output.write(import_sisteransi.cursor.move(0, o.length - n3 - 1));
|
|
10910
10944
|
return;
|
|
10911
10945
|
} else if (e.lines.length > 1) {
|
|
10912
|
-
if (
|
|
10913
|
-
|
|
10946
|
+
if (s < r2)
|
|
10947
|
+
n3 = s;
|
|
10914
10948
|
else {
|
|
10915
|
-
const h2 =
|
|
10949
|
+
const h2 = n3 - r2;
|
|
10916
10950
|
h2 > 0 && this.output.write(import_sisteransi.cursor.move(0, h2));
|
|
10917
10951
|
}
|
|
10918
10952
|
this.output.write(import_sisteransi.erase.down());
|
|
10919
10953
|
const f = t2.split(`
|
|
10920
|
-
`).slice(
|
|
10954
|
+
`).slice(n3);
|
|
10921
10955
|
this.output.write(f.join(`
|
|
10922
10956
|
`)), this._prevFrame = t2;
|
|
10923
10957
|
return;
|
|
@@ -10929,7 +10963,7 @@ var V = class {
|
|
|
10929
10963
|
}
|
|
10930
10964
|
}
|
|
10931
10965
|
};
|
|
10932
|
-
var r = class extends
|
|
10966
|
+
var r = class extends y {
|
|
10933
10967
|
get cursor() {
|
|
10934
10968
|
return this.value ? 0 : 1;
|
|
10935
10969
|
}
|
|
@@ -10946,7 +10980,7 @@ var r = class extends V {
|
|
|
10946
10980
|
});
|
|
10947
10981
|
}
|
|
10948
10982
|
};
|
|
10949
|
-
var u$1 = class u extends
|
|
10983
|
+
var u$1 = class u extends y {
|
|
10950
10984
|
_mask = "\u2022";
|
|
10951
10985
|
get cursor() {
|
|
10952
10986
|
return this._cursor;
|
|
@@ -10974,7 +11008,7 @@ var u$1 = class u extends V {
|
|
|
10974
11008
|
});
|
|
10975
11009
|
}
|
|
10976
11010
|
};
|
|
10977
|
-
var n$1 = class n extends
|
|
11011
|
+
var n$1 = class n extends y {
|
|
10978
11012
|
options;
|
|
10979
11013
|
cursor = 0;
|
|
10980
11014
|
get _selectedValue() {
|
|
@@ -11002,7 +11036,7 @@ var n$1 = class n extends V {
|
|
|
11002
11036
|
});
|
|
11003
11037
|
}
|
|
11004
11038
|
};
|
|
11005
|
-
var n2 = class extends
|
|
11039
|
+
var n2 = class extends y {
|
|
11006
11040
|
get userInputWithCursor() {
|
|
11007
11041
|
if (this.state === "submit")
|
|
11008
11042
|
return this.userInput;
|
|
@@ -11027,7 +11061,7 @@ var n2 = class extends V {
|
|
|
11027
11061
|
}
|
|
11028
11062
|
};
|
|
11029
11063
|
|
|
11030
|
-
// node_modules/.pnpm/@clack+prompts@1.
|
|
11064
|
+
// node_modules/.pnpm/@clack+prompts@1.8.1/node_modules/@clack/prompts/dist/index.mjs
|
|
11031
11065
|
import { styleText as styleText2, stripVTControlCharacters } from "util";
|
|
11032
11066
|
import process$1 from "process";
|
|
11033
11067
|
var import_sisteransi2 = __toESM(require_src(), 1);
|
|
@@ -11078,6 +11112,8 @@ var symbol = (o) => {
|
|
|
11078
11112
|
return styleText2("yellow", S_STEP_ERROR);
|
|
11079
11113
|
case "submit":
|
|
11080
11114
|
return styleText2("green", S_STEP_SUBMIT);
|
|
11115
|
+
case "validating":
|
|
11116
|
+
return styleText2("dim", S_STEP_ACTIVE);
|
|
11081
11117
|
}
|
|
11082
11118
|
};
|
|
11083
11119
|
var symbolBar = (o) => {
|
|
@@ -11133,8 +11169,8 @@ var limitOptions = ({
|
|
|
11133
11169
|
), s = [];
|
|
11134
11170
|
let g = 0;
|
|
11135
11171
|
d && g++, c2 && g++;
|
|
11136
|
-
const T = f + (d ? 1 : 0),
|
|
11137
|
-
for (let t2 = T; t2 <
|
|
11172
|
+
const T = f + (d ? 1 : 0), y2 = W2 - (c2 ? 1 : 0);
|
|
11173
|
+
for (let t2 = T; t2 < y2; t2++) {
|
|
11138
11174
|
const n3 = e[t2], o = n3 ? w(n3, t2 === l2) : "", h2 = wrapAnsi(o, i2, {
|
|
11139
11175
|
hard: true,
|
|
11140
11176
|
trim: false
|
|
@@ -11163,39 +11199,39 @@ var limitOptions = ({
|
|
|
11163
11199
|
x.push(n3);
|
|
11164
11200
|
return c2 && x.push(M), x;
|
|
11165
11201
|
};
|
|
11166
|
-
var confirm = (
|
|
11167
|
-
const a2 =
|
|
11202
|
+
var confirm = (e) => {
|
|
11203
|
+
const a2 = e.active ?? "Yes", o = e.inactive ?? "No";
|
|
11168
11204
|
return new r({
|
|
11169
11205
|
active: a2,
|
|
11170
|
-
inactive:
|
|
11171
|
-
signal:
|
|
11172
|
-
input:
|
|
11173
|
-
output:
|
|
11174
|
-
initialValue:
|
|
11206
|
+
inactive: o,
|
|
11207
|
+
signal: e.signal,
|
|
11208
|
+
input: e.input,
|
|
11209
|
+
output: e.output,
|
|
11210
|
+
initialValue: e.initialValue ?? true,
|
|
11175
11211
|
render() {
|
|
11176
|
-
const
|
|
11177
|
-
|
|
11178
|
-
|
|
11212
|
+
const i2 = e.withGuide ?? settings.withGuide, u4 = `${symbol(this.state)} `, l2 = i2 ? `${styleText2("gray", S_BAR)} ` : "", f = wrapTextWithPrefix(
|
|
11213
|
+
e.output,
|
|
11214
|
+
e.message,
|
|
11179
11215
|
l2,
|
|
11180
11216
|
u4
|
|
11181
|
-
),
|
|
11217
|
+
), s = `${i2 ? `${styleText2("gray", S_BAR)}
|
|
11182
11218
|
` : ""}${f}
|
|
11183
|
-
`, c2 = this.value ? a2 :
|
|
11219
|
+
`, c2 = this.value ? a2 : o;
|
|
11184
11220
|
switch (this.state) {
|
|
11185
11221
|
case "submit": {
|
|
11186
|
-
const r2 =
|
|
11187
|
-
return `${
|
|
11222
|
+
const r2 = i2 ? `${styleText2("gray", S_BAR)} ` : "";
|
|
11223
|
+
return `${s}${r2}${styleText2("dim", c2)}`;
|
|
11188
11224
|
}
|
|
11189
11225
|
case "cancel": {
|
|
11190
|
-
const r2 =
|
|
11191
|
-
return `${
|
|
11226
|
+
const r2 = i2 ? `${styleText2("gray", S_BAR)} ` : "";
|
|
11227
|
+
return `${s}${r2}${styleText2(["strikethrough", "dim"], c2)}${i2 ? `
|
|
11192
11228
|
${styleText2("gray", S_BAR)}` : ""}`;
|
|
11193
11229
|
}
|
|
11194
11230
|
default: {
|
|
11195
|
-
const r2 =
|
|
11196
|
-
return `${
|
|
11231
|
+
const r2 = i2 ? `${styleText2("cyan", S_BAR)} ` : "", g = i2 ? styleText2("cyan", S_BAR_END) : "";
|
|
11232
|
+
return `${s}${r2}${this.value ? `${styleText2("green", S_RADIO_ACTIVE)} ${a2}` : `${styleText2("dim", S_RADIO_INACTIVE)} ${styleText2("dim", a2)}`}${e.vertical ? i2 ? `
|
|
11197
11233
|
${styleText2("cyan", S_BAR)} ` : `
|
|
11198
|
-
` : ` ${styleText2("dim", "/")} `}${this.value ? `${styleText2("dim", S_RADIO_INACTIVE)} ${styleText2("dim",
|
|
11234
|
+
` : ` ${styleText2("dim", "/")} `}${this.value ? `${styleText2("dim", S_RADIO_INACTIVE)} ${styleText2("dim", o)}` : `${styleText2("green", S_RADIO_ACTIVE)} ${o}`}
|
|
11199
11235
|
${g}
|
|
11200
11236
|
`;
|
|
11201
11237
|
}
|
|
@@ -11252,36 +11288,36 @@ ${styleText2("gray", l$1 + S_BAR_H.repeat(t2 + 2) + S_CORNER_BOTTOM_RIGHT)}
|
|
|
11252
11288
|
`
|
|
11253
11289
|
);
|
|
11254
11290
|
};
|
|
11255
|
-
var password = (
|
|
11256
|
-
validate:
|
|
11257
|
-
mask:
|
|
11258
|
-
signal:
|
|
11259
|
-
input:
|
|
11260
|
-
output:
|
|
11291
|
+
var password = (e) => new u$1({
|
|
11292
|
+
validate: e.validate,
|
|
11293
|
+
mask: e.mask ?? S_PASSWORD_MASK,
|
|
11294
|
+
signal: e.signal,
|
|
11295
|
+
input: e.input,
|
|
11296
|
+
output: e.output,
|
|
11261
11297
|
render() {
|
|
11262
|
-
const
|
|
11263
|
-
` : ""}${symbol(this.state)} ${
|
|
11264
|
-
`,
|
|
11298
|
+
const r2 = e.withGuide ?? settings.withGuide, o = `${r2 ? `${styleText2("gray", S_BAR)}
|
|
11299
|
+
` : ""}${symbol(this.state)} ${e.message}
|
|
11300
|
+
`, m = this.userInputWithCursor, i2 = this.masked;
|
|
11265
11301
|
switch (this.state) {
|
|
11266
11302
|
case "error": {
|
|
11267
|
-
const s =
|
|
11268
|
-
return
|
|
11269
|
-
${s}${
|
|
11303
|
+
const s = r2 ? `${styleText2("yellow", S_BAR)} ` : "", n3 = r2 ? `${styleText2("yellow", S_BAR_END)} ` : "", d = i2 ?? "";
|
|
11304
|
+
return e.clearOnError && this.clear(), `${o.trim()}
|
|
11305
|
+
${s}${d}
|
|
11270
11306
|
${n3}${styleText2("yellow", this.error)}
|
|
11271
11307
|
`;
|
|
11272
11308
|
}
|
|
11273
11309
|
case "submit": {
|
|
11274
|
-
const s =
|
|
11310
|
+
const s = r2 ? `${styleText2("gray", S_BAR)} ` : "", n3 = i2 ? styleText2("dim", i2) : "";
|
|
11275
11311
|
return `${o}${s}${n3}`;
|
|
11276
11312
|
}
|
|
11277
11313
|
case "cancel": {
|
|
11278
|
-
const s =
|
|
11279
|
-
return `${o}${s}${n3}${i2 &&
|
|
11314
|
+
const s = r2 ? `${styleText2("gray", S_BAR)} ` : "", n3 = i2 ? styleText2(["strikethrough", "dim"], i2) : "";
|
|
11315
|
+
return `${o}${s}${n3}${i2 && r2 ? `
|
|
11280
11316
|
${styleText2("gray", S_BAR)}` : ""}`;
|
|
11281
11317
|
}
|
|
11282
11318
|
default: {
|
|
11283
|
-
const s =
|
|
11284
|
-
return `${o}${s}${
|
|
11319
|
+
const s = r2 ? `${styleText2("cyan", S_BAR)} ` : "", n3 = r2 ? styleText2("cyan", S_BAR_END) : "";
|
|
11320
|
+
return `${o}${s}${m}
|
|
11285
11321
|
${n3}
|
|
11286
11322
|
`;
|
|
11287
11323
|
}
|
|
@@ -11309,7 +11345,7 @@ var spinner = ({
|
|
|
11309
11345
|
process.on("uncaughtExceptionMonitor", f), process.on("unhandledRejection", f), process.on("SIGINT", i2), process.on("SIGTERM", i2), process.on("exit", g), m && m.addEventListener("abort", i2);
|
|
11310
11346
|
}, H = () => {
|
|
11311
11347
|
process.removeListener("uncaughtExceptionMonitor", f), process.removeListener("unhandledRejection", f), process.removeListener("SIGINT", i2), process.removeListener("SIGTERM", i2), process.removeListener("exit", g), m && m.removeEventListener("abort", i2);
|
|
11312
|
-
},
|
|
11348
|
+
}, y2 = () => {
|
|
11313
11349
|
if (p === void 0) return;
|
|
11314
11350
|
u4 && n3.write(`
|
|
11315
11351
|
`);
|
|
@@ -11329,7 +11365,7 @@ var spinner = ({
|
|
|
11329
11365
|
A(), T = setInterval(() => {
|
|
11330
11366
|
if (u4 && s === p)
|
|
11331
11367
|
return;
|
|
11332
|
-
|
|
11368
|
+
y2(), p = s;
|
|
11333
11369
|
const o = k(E[r2]);
|
|
11334
11370
|
let v;
|
|
11335
11371
|
if (u4)
|
|
@@ -11348,7 +11384,7 @@ var spinner = ({
|
|
|
11348
11384
|
}, F);
|
|
11349
11385
|
}, a2 = (e = "", r2 = 0, t2 = false) => {
|
|
11350
11386
|
if (!d) return;
|
|
11351
|
-
d = false, clearInterval(T),
|
|
11387
|
+
d = false, clearInterval(T), y2();
|
|
11352
11388
|
const o = r2 === 0 ? styleText2("green", S_STEP_SUBMIT) : r2 === 1 ? styleText2("red", S_STEP_CANCEL) : styleText2("red", S_STEP_ERROR);
|
|
11353
11389
|
s = e ?? s, t2 || (l2 === "timer" ? n3.write(`${o} ${s} ${_(w)}
|
|
11354
11390
|
`) : n3.write(`${o} ${s}
|
|
@@ -11434,19 +11470,19 @@ ${styleText2("gray", S_BAR)}` : ""}`;
|
|
|
11434
11470
|
}
|
|
11435
11471
|
default: {
|
|
11436
11472
|
const r2 = n3 ? `${styleText2("cyan", S_BAR)} ` : "", a2 = u4.split(`
|
|
11437
|
-
`).length, p = d ? formatInstructionFooter(SELECT_INSTRUCTIONS, n3) : n3 ? [styleText2("cyan", S_BAR_END)] : [],
|
|
11438
|
-
`),
|
|
11473
|
+
`).length, p = d ? formatInstructionFooter(SELECT_INSTRUCTIONS, n3) : n3 ? [styleText2("cyan", S_BAR_END)] : [], f = p.join(`
|
|
11474
|
+
`), b = p.length + 1;
|
|
11439
11475
|
return `${u4}${r2}${limitOptions({
|
|
11440
11476
|
output: t2.output,
|
|
11441
11477
|
cursor: this.cursor,
|
|
11442
11478
|
options: this.options,
|
|
11443
11479
|
maxItems: t2.maxItems,
|
|
11444
11480
|
columnPadding: r2.length,
|
|
11445
|
-
rowPadding: a2 +
|
|
11481
|
+
rowPadding: a2 + b,
|
|
11446
11482
|
style: (g, x) => o(g, g.disabled ? "disabled" : x ? "active" : "inactive")
|
|
11447
11483
|
}).join(`
|
|
11448
11484
|
${r2}`)}
|
|
11449
|
-
${
|
|
11485
|
+
${f}
|
|
11450
11486
|
`;
|
|
11451
11487
|
}
|
|
11452
11488
|
}
|
|
@@ -11454,42 +11490,48 @@ ${b}
|
|
|
11454
11490
|
}).prompt();
|
|
11455
11491
|
};
|
|
11456
11492
|
var i = `${styleText2("gray", S_BAR)} `;
|
|
11457
|
-
var text = (
|
|
11458
|
-
validate:
|
|
11459
|
-
placeholder:
|
|
11460
|
-
defaultValue:
|
|
11461
|
-
initialValue:
|
|
11462
|
-
output:
|
|
11463
|
-
signal:
|
|
11464
|
-
input:
|
|
11493
|
+
var text = (t2) => new n2({
|
|
11494
|
+
validate: t2.validate,
|
|
11495
|
+
placeholder: t2.placeholder,
|
|
11496
|
+
defaultValue: t2.defaultValue,
|
|
11497
|
+
initialValue: t2.initialValue,
|
|
11498
|
+
output: t2.output,
|
|
11499
|
+
signal: t2.signal,
|
|
11500
|
+
input: t2.input,
|
|
11465
11501
|
render() {
|
|
11466
|
-
const
|
|
11467
|
-
` : ""}${symbol(this.state)} `}${
|
|
11468
|
-
`,
|
|
11502
|
+
const r2 = t2?.withGuide ?? settings.withGuide, l2 = `${`${r2 ? `${styleText2("gray", S_BAR)}
|
|
11503
|
+
` : ""}${symbol(this.state)} `}${t2.message}
|
|
11504
|
+
`, d = t2.placeholder && t2.placeholder.length > 0 ? (
|
|
11469
11505
|
// biome-ignore lint/style/noNonNullAssertion: guarded by placeholder.length > 0
|
|
11470
|
-
styleText2("inverse",
|
|
11471
|
-
) : styleText2(["inverse", "hidden"], "_"), o = this.userInput ? this.userInputWithCursor :
|
|
11506
|
+
styleText2("inverse", t2.placeholder[0]) + styleText2("dim", t2.placeholder.slice(1))
|
|
11507
|
+
) : styleText2(["inverse", "hidden"], "_"), o = this.userInput ? this.userInputWithCursor : d, s = this.value ?? "";
|
|
11472
11508
|
switch (this.state) {
|
|
11509
|
+
case "validating": {
|
|
11510
|
+
const n3 = r2 ? `${styleText2("cyan", S_BAR)} ` : "", i2 = r2 ? styleText2("cyan", S_BAR_END) : "", c2 = styleText2("dim", o), $ = styleText2("dim", "Validating...");
|
|
11511
|
+
return `${l2}${n3}${c2}
|
|
11512
|
+
${i2} ${$}
|
|
11513
|
+
`;
|
|
11514
|
+
}
|
|
11473
11515
|
case "error": {
|
|
11474
|
-
const n3 = this.error ? ` ${styleText2("yellow", this.error)}` : "",
|
|
11475
|
-
return `${
|
|
11476
|
-
${
|
|
11477
|
-
${
|
|
11516
|
+
const n3 = this.error ? ` ${styleText2("yellow", this.error)}` : "", i2 = r2 ? `${styleText2("yellow", S_BAR)} ` : "", c2 = r2 ? styleText2("yellow", S_BAR_END) : "";
|
|
11517
|
+
return `${l2.trim()}
|
|
11518
|
+
${i2}${o}
|
|
11519
|
+
${c2}${n3}
|
|
11478
11520
|
`;
|
|
11479
11521
|
}
|
|
11480
11522
|
case "submit": {
|
|
11481
|
-
const n3 =
|
|
11482
|
-
return `${
|
|
11523
|
+
const n3 = s ? `${r2 ? " " : ""}${styleText2("dim", s)}` : "", i2 = r2 ? styleText2("gray", S_BAR) : "";
|
|
11524
|
+
return `${l2}${i2}${n3}`;
|
|
11483
11525
|
}
|
|
11484
11526
|
case "cancel": {
|
|
11485
|
-
const n3 =
|
|
11486
|
-
return `${
|
|
11487
|
-
${
|
|
11527
|
+
const n3 = s ? ` ${styleText2(["strikethrough", "dim"], s)}` : "", i2 = r2 ? styleText2("gray", S_BAR) : "";
|
|
11528
|
+
return `${l2}${i2}${n3}${s.trim() ? `
|
|
11529
|
+
${i2}` : ""}`;
|
|
11488
11530
|
}
|
|
11489
11531
|
default: {
|
|
11490
|
-
const n3 =
|
|
11491
|
-
return `${
|
|
11492
|
-
${
|
|
11532
|
+
const n3 = r2 ? `${styleText2("cyan", S_BAR)} ` : "", i2 = r2 ? styleText2("cyan", S_BAR_END) : "";
|
|
11533
|
+
return `${l2}${n3}${o}
|
|
11534
|
+
${i2}
|
|
11493
11535
|
`;
|
|
11494
11536
|
}
|
|
11495
11537
|
}
|
|
@@ -16188,8 +16230,8 @@ function renderPresenceFrame(time, theme) {
|
|
|
16188
16230
|
let line = "";
|
|
16189
16231
|
for (let column = 0; column < WIDTH; column++) {
|
|
16190
16232
|
const x = (column - 17.5) / 7.7;
|
|
16191
|
-
const
|
|
16192
|
-
const distance = x * x +
|
|
16233
|
+
const y2 = (5 - row) / 3.85;
|
|
16234
|
+
const distance = x * x + y2 * y2;
|
|
16193
16235
|
if (distance > radius * radius) {
|
|
16194
16236
|
line += " ";
|
|
16195
16237
|
continue;
|
|
@@ -16197,9 +16239,9 @@ function renderPresenceFrame(time, theme) {
|
|
|
16197
16239
|
const z = Math.sqrt(radius * radius - distance);
|
|
16198
16240
|
const longitude = Math.atan2(x, z) + time * 0.35;
|
|
16199
16241
|
const weave = 0.5 + 0.5 * Math.sin(
|
|
16200
|
-
longitude * 8 +
|
|
16242
|
+
longitude * 8 + y2 * 5 + Math.sin(y2 * 5 - time) * 1.1 - time * 0.8
|
|
16201
16243
|
);
|
|
16202
|
-
const light = Math.max(0, (-x * 0.45 +
|
|
16244
|
+
const light = Math.max(0, (-x * 0.45 + y2 * 0.45 + z * 0.7) / radius);
|
|
16203
16245
|
const value = 0.12 + 0.65 * light * (0.3 + 0.7 * weave) + 0.12 * Math.pow(z / radius, 3);
|
|
16204
16246
|
const character = RAMP[Math.floor(value * (RAMP.length - 1))];
|
|
16205
16247
|
line += value > 0.32 ? theme.highlight(character) : theme.accent(character);
|