@base44-preview/cli 0.0.49-pr.450.5fc8bec → 0.0.49-pr.452.768057
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/index.js +182 -273
- package/dist/cli/index.js.map +11 -15
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -16067,7 +16067,7 @@ var require_lodash = __commonJS((exports, module) => {
|
|
|
16067
16067
|
}
|
|
16068
16068
|
return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined2, comparator) : [];
|
|
16069
16069
|
});
|
|
16070
|
-
function
|
|
16070
|
+
function join13(array2, separator) {
|
|
16071
16071
|
return array2 == null ? "" : nativeJoin.call(array2, separator);
|
|
16072
16072
|
}
|
|
16073
16073
|
function last(array2) {
|
|
@@ -17999,7 +17999,7 @@ __p += '`;
|
|
|
17999
17999
|
lodash.isUndefined = isUndefined;
|
|
18000
18000
|
lodash.isWeakMap = isWeakMap;
|
|
18001
18001
|
lodash.isWeakSet = isWeakSet;
|
|
18002
|
-
lodash.join =
|
|
18002
|
+
lodash.join = join13;
|
|
18003
18003
|
lodash.kebabCase = kebabCase;
|
|
18004
18004
|
lodash.last = last;
|
|
18005
18005
|
lodash.lastIndexOf = lastIndexOf;
|
|
@@ -27503,7 +27503,7 @@ function cleanDoc(doc2) {
|
|
|
27503
27503
|
return mapDoc(doc2, (currentDoc) => cleanDocFn(currentDoc));
|
|
27504
27504
|
}
|
|
27505
27505
|
function replaceEndOfLine(doc2, replacement = literalline) {
|
|
27506
|
-
return mapDoc(doc2, (currentDoc) => typeof currentDoc === "string" ?
|
|
27506
|
+
return mapDoc(doc2, (currentDoc) => typeof currentDoc === "string" ? join19(replacement, currentDoc.split(`
|
|
27507
27507
|
`)) : currentDoc);
|
|
27508
27508
|
}
|
|
27509
27509
|
function canBreakFn(doc2) {
|
|
@@ -27583,7 +27583,7 @@ function indentIfBreak(contents, options) {
|
|
|
27583
27583
|
negate: options.negate
|
|
27584
27584
|
};
|
|
27585
27585
|
}
|
|
27586
|
-
function
|
|
27586
|
+
function join19(separator, docs) {
|
|
27587
27587
|
assertDoc(separator);
|
|
27588
27588
|
assertDocArray(docs);
|
|
27589
27589
|
const parts = [];
|
|
@@ -28294,7 +28294,7 @@ var init_doc = __esm(() => {
|
|
|
28294
28294
|
MODE_FLAT = Symbol("MODE_FLAT");
|
|
28295
28295
|
DOC_FILL_PRINTED_LENGTH = Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
28296
28296
|
builders = {
|
|
28297
|
-
join:
|
|
28297
|
+
join: join19,
|
|
28298
28298
|
line,
|
|
28299
28299
|
softline,
|
|
28300
28300
|
hardline,
|
|
@@ -133208,7 +133208,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
133208
133208
|
return mapDoc2(doc2, (currentDoc) => cleanDocFn2(currentDoc));
|
|
133209
133209
|
}
|
|
133210
133210
|
function replaceEndOfLine2(doc2, replacement = literalline2) {
|
|
133211
|
-
return mapDoc2(doc2, (currentDoc) => typeof currentDoc === "string" ?
|
|
133211
|
+
return mapDoc2(doc2, (currentDoc) => typeof currentDoc === "string" ? join21(replacement, currentDoc.split(`
|
|
133212
133212
|
`)) : currentDoc);
|
|
133213
133213
|
}
|
|
133214
133214
|
function canBreakFn2(doc2) {
|
|
@@ -133294,7 +133294,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
133294
133294
|
negate: options8.negate
|
|
133295
133295
|
};
|
|
133296
133296
|
}
|
|
133297
|
-
function
|
|
133297
|
+
function join21(separator, docs) {
|
|
133298
133298
|
assertDoc2(separator);
|
|
133299
133299
|
assertDocArray2(docs);
|
|
133300
133300
|
const parts = [];
|
|
@@ -133959,7 +133959,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
133959
133959
|
}
|
|
133960
133960
|
}
|
|
133961
133961
|
var builders2 = {
|
|
133962
|
-
join:
|
|
133962
|
+
join: join21,
|
|
133963
133963
|
line: line3,
|
|
133964
133964
|
softline: softline2,
|
|
133965
133965
|
hardline: hardline4,
|
|
@@ -160402,7 +160402,7 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160402
160402
|
var dirname14 = path18.dirname;
|
|
160403
160403
|
var basename4 = path18.basename;
|
|
160404
160404
|
var extname2 = path18.extname;
|
|
160405
|
-
var
|
|
160405
|
+
var join22 = path18.join;
|
|
160406
160406
|
var resolve6 = path18.resolve;
|
|
160407
160407
|
module.exports = View;
|
|
160408
160408
|
function View(name2, options8) {
|
|
@@ -160464,12 +160464,12 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160464
160464
|
};
|
|
160465
160465
|
View.prototype.resolve = function resolve7(dir, file2) {
|
|
160466
160466
|
var ext = this.ext;
|
|
160467
|
-
var path19 =
|
|
160467
|
+
var path19 = join22(dir, file2);
|
|
160468
160468
|
var stat2 = tryStat(path19);
|
|
160469
160469
|
if (stat2 && stat2.isFile()) {
|
|
160470
160470
|
return path19;
|
|
160471
160471
|
}
|
|
160472
|
-
path19 =
|
|
160472
|
+
path19 = join22(dir, basename4(file2, ext), "index" + ext);
|
|
160473
160473
|
stat2 = tryStat(path19);
|
|
160474
160474
|
if (stat2 && stat2.isFile()) {
|
|
160475
160475
|
return path19;
|
|
@@ -164164,7 +164164,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164164
164164
|
var Stream2 = __require("stream");
|
|
164165
164165
|
var util2 = __require("util");
|
|
164166
164166
|
var extname2 = path18.extname;
|
|
164167
|
-
var
|
|
164167
|
+
var join22 = path18.join;
|
|
164168
164168
|
var normalize = path18.normalize;
|
|
164169
164169
|
var resolve6 = path18.resolve;
|
|
164170
164170
|
var sep = path18.sep;
|
|
@@ -164336,7 +164336,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164336
164336
|
return res;
|
|
164337
164337
|
}
|
|
164338
164338
|
parts = path19.split(sep);
|
|
164339
|
-
path19 = normalize(
|
|
164339
|
+
path19 = normalize(join22(root2, path19));
|
|
164340
164340
|
} else {
|
|
164341
164341
|
if (UP_PATH_REGEXP.test(path19)) {
|
|
164342
164342
|
debug('malicious path "%s"', path19);
|
|
@@ -164476,7 +164476,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164476
164476
|
return self2.onStatError(err);
|
|
164477
164477
|
return self2.error(404);
|
|
164478
164478
|
}
|
|
164479
|
-
var p4 =
|
|
164479
|
+
var p4 = join22(path19, self2._index[i5]);
|
|
164480
164480
|
debug('stat "%s"', p4);
|
|
164481
164481
|
fs28.stat(p4, function(err2, stat2) {
|
|
164482
164482
|
if (err2)
|
|
@@ -214616,7 +214616,7 @@ var require_buffer_list = __commonJS((exports, module) => {
|
|
|
214616
214616
|
}
|
|
214617
214617
|
}, {
|
|
214618
214618
|
key: "join",
|
|
214619
|
-
value: function
|
|
214619
|
+
value: function join22(s5) {
|
|
214620
214620
|
if (this.length === 0)
|
|
214621
214621
|
return "";
|
|
214622
214622
|
var p4 = this.head;
|
|
@@ -218270,7 +218270,7 @@ var require_dist5 = __commonJS((exports, module) => {
|
|
|
218270
218270
|
});
|
|
218271
218271
|
|
|
218272
218272
|
// src/cli/index.ts
|
|
218273
|
-
import { dirname as dirname18, join as
|
|
218273
|
+
import { dirname as dirname18, join as join25 } from "node:path";
|
|
218274
218274
|
import { fileURLToPath as fileURLToPath6 } from "node:url";
|
|
218275
218275
|
|
|
218276
218276
|
// ../../node_modules/@clack/core/dist/index.mjs
|
|
@@ -219422,7 +219422,7 @@ var {
|
|
|
219422
219422
|
} = import__.default;
|
|
219423
219423
|
|
|
219424
219424
|
// src/cli/commands/agents/pull.ts
|
|
219425
|
-
import { dirname as dirname7, join as
|
|
219425
|
+
import { dirname as dirname7, join as join13 } from "node:path";
|
|
219426
219426
|
// ../../node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
219427
219427
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
219428
219428
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
@@ -242523,67 +242523,6 @@ async function readAllEntities(entitiesDir) {
|
|
|
242523
242523
|
const entities = await Promise.all(files.map((filePath) => readEntityFile(filePath)));
|
|
242524
242524
|
return entities;
|
|
242525
242525
|
}
|
|
242526
|
-
// src/core/resources/entity/data-api.ts
|
|
242527
|
-
var EntityRecordSchema = exports_external.object({
|
|
242528
|
-
id: exports_external.string(),
|
|
242529
|
-
created_date: exports_external.string()
|
|
242530
|
-
}).passthrough();
|
|
242531
|
-
var EntityRecordListSchema = exports_external.array(EntityRecordSchema);
|
|
242532
|
-
var CountResponseSchema = exports_external.object({
|
|
242533
|
-
count: exports_external.number()
|
|
242534
|
-
});
|
|
242535
|
-
async function listEntityRecords(entityName, options = {}) {
|
|
242536
|
-
const appClient = getAppClient();
|
|
242537
|
-
const searchParams = new URLSearchParams;
|
|
242538
|
-
if (options.limit !== undefined) {
|
|
242539
|
-
searchParams.set("limit", String(options.limit));
|
|
242540
|
-
}
|
|
242541
|
-
if (options.skip !== undefined) {
|
|
242542
|
-
searchParams.set("skip", String(options.skip));
|
|
242543
|
-
}
|
|
242544
|
-
if (options.sort) {
|
|
242545
|
-
searchParams.set("sort", options.sort);
|
|
242546
|
-
}
|
|
242547
|
-
let response;
|
|
242548
|
-
try {
|
|
242549
|
-
response = await appClient.get(`entities/${encodeURIComponent(entityName)}`, { searchParams, timeout: 30000 });
|
|
242550
|
-
} catch (error48) {
|
|
242551
|
-
throw await ApiError.fromHttpError(error48, `listing records for entity "${entityName}"`);
|
|
242552
|
-
}
|
|
242553
|
-
const result = EntityRecordListSchema.safeParse(await response.json());
|
|
242554
|
-
if (!result.success) {
|
|
242555
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
242556
|
-
}
|
|
242557
|
-
return result.data;
|
|
242558
|
-
}
|
|
242559
|
-
async function getEntityRecord(entityName, id) {
|
|
242560
|
-
const appClient = getAppClient();
|
|
242561
|
-
let response;
|
|
242562
|
-
try {
|
|
242563
|
-
response = await appClient.get(`entities/${encodeURIComponent(entityName)}/${encodeURIComponent(id)}`, { timeout: 30000 });
|
|
242564
|
-
} catch (error48) {
|
|
242565
|
-
throw await ApiError.fromHttpError(error48, `fetching record "${id}" from entity "${entityName}"`);
|
|
242566
|
-
}
|
|
242567
|
-
const result = EntityRecordSchema.safeParse(await response.json());
|
|
242568
|
-
if (!result.success) {
|
|
242569
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
242570
|
-
}
|
|
242571
|
-
return result.data;
|
|
242572
|
-
}
|
|
242573
|
-
async function countEntityRecords(entityName) {
|
|
242574
|
-
const appClient = getAppClient();
|
|
242575
|
-
let response;
|
|
242576
|
-
try {
|
|
242577
|
-
response = await appClient.get(`entities/${encodeURIComponent(entityName)}/count`, { timeout: 30000 });
|
|
242578
|
-
} catch (error48) {
|
|
242579
|
-
throw await ApiError.fromHttpError(error48, `counting records for entity "${entityName}"`);
|
|
242580
|
-
}
|
|
242581
|
-
const result = CountResponseSchema.safeParse(await response.json());
|
|
242582
|
-
if (!result.success) {
|
|
242583
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
242584
|
-
}
|
|
242585
|
-
return result.data.count;
|
|
242586
|
-
}
|
|
242587
242526
|
// src/core/resources/entity/deploy.ts
|
|
242588
242527
|
async function pushEntities(entities) {
|
|
242589
242528
|
if (entities.length === 0) {
|
|
@@ -243738,6 +243677,9 @@ async function ensureAppConfig(ctx) {
|
|
|
243738
243677
|
ctx.errorReporter.setContext({ appId: appConfig.id });
|
|
243739
243678
|
}
|
|
243740
243679
|
|
|
243680
|
+
// src/cli/utils/skill-version-check.ts
|
|
243681
|
+
import { join as join12 } from "node:path";
|
|
243682
|
+
|
|
243741
243683
|
// ../../node_modules/is-plain-obj/index.js
|
|
243742
243684
|
function isPlainObject2(value) {
|
|
243743
243685
|
if (typeof value !== "object" || value === null) {
|
|
@@ -250234,6 +250176,87 @@ var {
|
|
|
250234
250176
|
getCancelSignal: getCancelSignal2
|
|
250235
250177
|
} = getIpcExport();
|
|
250236
250178
|
|
|
250179
|
+
// src/cli/utils/skill-version-check.ts
|
|
250180
|
+
var import_front_matter2 = __toESM(require_front_matter(), 1);
|
|
250181
|
+
var SourcePackageSchema = exports_external.object({
|
|
250182
|
+
name: exports_external.string(),
|
|
250183
|
+
version: exports_external.string()
|
|
250184
|
+
});
|
|
250185
|
+
var SkillFrontmatterSchema = exports_external.object({
|
|
250186
|
+
metadata: exports_external.object({
|
|
250187
|
+
sourcePackage: SourcePackageSchema
|
|
250188
|
+
})
|
|
250189
|
+
});
|
|
250190
|
+
var InstalledSkillSchema = exports_external.object({
|
|
250191
|
+
name: exports_external.string(),
|
|
250192
|
+
path: exports_external.string()
|
|
250193
|
+
});
|
|
250194
|
+
var InstalledSkillsSchema = exports_external.array(InstalledSkillSchema);
|
|
250195
|
+
async function listInstalledSkills(cwd) {
|
|
250196
|
+
const { stdout } = await execa("npx", ["-y", "skills", "list", "--json"], {
|
|
250197
|
+
cwd,
|
|
250198
|
+
timeout: 3000,
|
|
250199
|
+
env: { CI: "1" }
|
|
250200
|
+
});
|
|
250201
|
+
const jsonStart = stdout.indexOf("[");
|
|
250202
|
+
if (jsonStart === -1)
|
|
250203
|
+
return [];
|
|
250204
|
+
const parsed = JSON.parse(stdout.slice(jsonStart));
|
|
250205
|
+
return InstalledSkillsSchema.parse(parsed);
|
|
250206
|
+
}
|
|
250207
|
+
async function readSkillFrontmatter(skillPath) {
|
|
250208
|
+
try {
|
|
250209
|
+
const content = await readTextFile(join12(skillPath, "SKILL.md"));
|
|
250210
|
+
const { attributes } = import_front_matter2.default(content);
|
|
250211
|
+
const result = SkillFrontmatterSchema.safeParse(attributes);
|
|
250212
|
+
return result.success ? result.data : null;
|
|
250213
|
+
} catch {
|
|
250214
|
+
return null;
|
|
250215
|
+
}
|
|
250216
|
+
}
|
|
250217
|
+
async function checkSkillVersions(projectRoot) {
|
|
250218
|
+
const skills = await listInstalledSkills(projectRoot);
|
|
250219
|
+
const results = await Promise.all(skills.map(async (skill) => {
|
|
250220
|
+
const fm = await readSkillFrontmatter(skill.path);
|
|
250221
|
+
if (!fm)
|
|
250222
|
+
return null;
|
|
250223
|
+
if (fm.metadata.sourcePackage.name !== package_default.name)
|
|
250224
|
+
return null;
|
|
250225
|
+
if (fm.metadata.sourcePackage.version === package_default.version)
|
|
250226
|
+
return null;
|
|
250227
|
+
return {
|
|
250228
|
+
skillName: skill.name,
|
|
250229
|
+
installedVersion: fm.metadata.sourcePackage.version,
|
|
250230
|
+
currentVersion: package_default.version
|
|
250231
|
+
};
|
|
250232
|
+
}));
|
|
250233
|
+
return results.filter((r) => r !== null);
|
|
250234
|
+
}
|
|
250235
|
+
function startSkillVersionCheck(projectRoot) {
|
|
250236
|
+
return checkSkillVersions(projectRoot).catch(() => null);
|
|
250237
|
+
}
|
|
250238
|
+
function formatSkillWarning(staleSkills) {
|
|
250239
|
+
const { shinyOrange } = theme.colors;
|
|
250240
|
+
const { bold: bold2 } = theme.styles;
|
|
250241
|
+
const lines = staleSkills.map((s) => shinyOrange(`Skill "${s.skillName}" was built for v${s.installedVersion}, current CLI is v${bold2(s.currentVersion)}`));
|
|
250242
|
+
lines.push(shinyOrange("Run: base44 agent-skills update"));
|
|
250243
|
+
return lines.join(`
|
|
250244
|
+
`);
|
|
250245
|
+
}
|
|
250246
|
+
function formatPlainSkillWarning(staleSkills) {
|
|
250247
|
+
const lines = staleSkills.map((s) => `Skill "${s.skillName}" was built for v${s.installedVersion}, current CLI is v${s.currentVersion}.`);
|
|
250248
|
+
lines.push("Run: base44 agent-skills update");
|
|
250249
|
+
return lines.join(" ");
|
|
250250
|
+
}
|
|
250251
|
+
async function printSkillVersionWarning(promise2) {
|
|
250252
|
+
try {
|
|
250253
|
+
const staleSkills = await promise2;
|
|
250254
|
+
if (staleSkills && staleSkills.length > 0) {
|
|
250255
|
+
Ve(formatSkillWarning(staleSkills));
|
|
250256
|
+
}
|
|
250257
|
+
} catch {}
|
|
250258
|
+
}
|
|
250259
|
+
|
|
250237
250260
|
// src/cli/utils/version-check.ts
|
|
250238
250261
|
async function checkForUpgrade() {
|
|
250239
250262
|
const testLatestVersion = getTestOverrides()?.latestVersion;
|
|
@@ -250320,8 +250343,11 @@ async function showCommandStart(fullBanner) {
|
|
|
250320
250343
|
We(theme.colors.base44OrangeBackground(" Base 44 "));
|
|
250321
250344
|
}
|
|
250322
250345
|
}
|
|
250323
|
-
async function showCommandEnd(result,
|
|
250324
|
-
await
|
|
250346
|
+
async function showCommandEnd(result, options) {
|
|
250347
|
+
await Promise.all([
|
|
250348
|
+
printUpgradeNotification(options.upgradeCheck, options.distribution),
|
|
250349
|
+
printSkillVersionWarning(options.skillCheck)
|
|
250350
|
+
]);
|
|
250325
250351
|
Le(result.outroMessage || "");
|
|
250326
250352
|
if (result.stdout) {
|
|
250327
250353
|
process.stdout.write(result.stdout);
|
|
@@ -250394,16 +250420,22 @@ class Base44Command extends Command {
|
|
|
250394
250420
|
await showCommandStart(this._commandOptions.fullBanner);
|
|
250395
250421
|
}
|
|
250396
250422
|
const upgradeCheckPromise = startUpgradeCheck();
|
|
250423
|
+
let skillCheckPromise = Promise.resolve(null);
|
|
250397
250424
|
try {
|
|
250398
250425
|
if (this._commandOptions.requireAuth) {
|
|
250399
250426
|
await ensureAuth(this.context);
|
|
250400
250427
|
}
|
|
250401
250428
|
if (this._commandOptions.requireAppConfig) {
|
|
250402
250429
|
await ensureAppConfig(this.context);
|
|
250430
|
+
skillCheckPromise = startSkillVersionCheck(getAppConfig().projectRoot);
|
|
250403
250431
|
}
|
|
250404
250432
|
const result = await fn(this.context, ...args) ?? {};
|
|
250405
250433
|
if (!quiet) {
|
|
250406
|
-
await showCommandEnd(result,
|
|
250434
|
+
await showCommandEnd(result, {
|
|
250435
|
+
upgradeCheck: upgradeCheckPromise,
|
|
250436
|
+
skillCheck: skillCheckPromise,
|
|
250437
|
+
distribution: this.context.distribution
|
|
250438
|
+
});
|
|
250407
250439
|
} else {
|
|
250408
250440
|
if (result.outroMessage) {
|
|
250409
250441
|
process.stdout.write(`${result.outroMessage}
|
|
@@ -250412,9 +250444,16 @@ class Base44Command extends Command {
|
|
|
250412
250444
|
if (result.stdout) {
|
|
250413
250445
|
process.stdout.write(result.stdout);
|
|
250414
250446
|
}
|
|
250415
|
-
const upgradeInfo = await
|
|
250447
|
+
const [upgradeInfo, staleSkills] = await Promise.all([
|
|
250448
|
+
upgradeCheckPromise,
|
|
250449
|
+
skillCheckPromise
|
|
250450
|
+
]);
|
|
250416
250451
|
if (upgradeInfo) {
|
|
250417
250452
|
process.stderr.write(`${formatPlainUpgradeMessage(upgradeInfo, this.context.distribution)}
|
|
250453
|
+
`);
|
|
250454
|
+
}
|
|
250455
|
+
if (staleSkills && staleSkills.length > 0) {
|
|
250456
|
+
process.stderr.write(`${formatPlainSkillWarning(staleSkills)}
|
|
250418
250457
|
`);
|
|
250419
250458
|
}
|
|
250420
250459
|
}
|
|
@@ -250614,7 +250653,7 @@ async function pullAgentsAction({
|
|
|
250614
250653
|
}) {
|
|
250615
250654
|
const { project: project2 } = await readProjectConfig();
|
|
250616
250655
|
const configDir = dirname7(project2.configPath);
|
|
250617
|
-
const agentsDir =
|
|
250656
|
+
const agentsDir = join13(configDir, project2.agentsDir);
|
|
250618
250657
|
const remoteAgents = await runTask("Fetching agents from Base44", async () => {
|
|
250619
250658
|
return await fetchAgents();
|
|
250620
250659
|
}, {
|
|
@@ -250677,7 +250716,7 @@ function getAgentsCommand() {
|
|
|
250677
250716
|
}
|
|
250678
250717
|
|
|
250679
250718
|
// src/cli/commands/auth/password-login.ts
|
|
250680
|
-
import { dirname as dirname8, join as
|
|
250719
|
+
import { dirname as dirname8, join as join14 } from "node:path";
|
|
250681
250720
|
function validateAction(action) {
|
|
250682
250721
|
if (action !== "enable" && action !== "disable") {
|
|
250683
250722
|
throw new InvalidInputError(`Invalid action "${action}". Must be "enable" or "disable".`, {
|
|
@@ -250699,7 +250738,7 @@ async function passwordLoginAction({ log }, action) {
|
|
|
250699
250738
|
const shouldEnable = action === "enable";
|
|
250700
250739
|
const { project: project2 } = await readProjectConfig();
|
|
250701
250740
|
const configDir = dirname8(project2.configPath);
|
|
250702
|
-
const authDir =
|
|
250741
|
+
const authDir = join14(configDir, project2.authDir);
|
|
250703
250742
|
const updated = await runTask("Updating local auth config", async () => {
|
|
250704
250743
|
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
250705
250744
|
const merged = { ...current, enableUsernamePassword: shouldEnable };
|
|
@@ -250719,11 +250758,11 @@ function getPasswordLoginCommand() {
|
|
|
250719
250758
|
}
|
|
250720
250759
|
|
|
250721
250760
|
// src/cli/commands/auth/pull.ts
|
|
250722
|
-
import { dirname as dirname9, join as
|
|
250761
|
+
import { dirname as dirname9, join as join15 } from "node:path";
|
|
250723
250762
|
async function pullAuthAction({ log }) {
|
|
250724
250763
|
const { project: project2 } = await readProjectConfig();
|
|
250725
250764
|
const configDir = dirname9(project2.configPath);
|
|
250726
|
-
const authDir =
|
|
250765
|
+
const authDir = join15(configDir, project2.authDir);
|
|
250727
250766
|
const remoteConfig = await runTask("Fetching auth config from Base44", async () => {
|
|
250728
250767
|
return await pullAuthConfig();
|
|
250729
250768
|
}, {
|
|
@@ -250849,13 +250888,13 @@ function getConnectorsListAvailableCommand() {
|
|
|
250849
250888
|
}
|
|
250850
250889
|
|
|
250851
250890
|
// src/cli/commands/connectors/pull.ts
|
|
250852
|
-
import { dirname as dirname10, join as
|
|
250891
|
+
import { dirname as dirname10, join as join16 } from "node:path";
|
|
250853
250892
|
async function pullConnectorsAction({
|
|
250854
250893
|
log
|
|
250855
250894
|
}) {
|
|
250856
250895
|
const { project: project2 } = await readProjectConfig();
|
|
250857
250896
|
const configDir = dirname10(project2.configPath);
|
|
250858
|
-
const connectorsDir =
|
|
250897
|
+
const connectorsDir = join16(configDir, project2.connectorsDir);
|
|
250859
250898
|
const remoteConnectors = await runTask("Fetching connectors from Base44", async () => {
|
|
250860
250899
|
return await pullAllConnectors();
|
|
250861
250900
|
}, {
|
|
@@ -251692,164 +251731,6 @@ function getDashboardCommand() {
|
|
|
251692
251731
|
return new Command("dashboard").description("Manage app dashboard").addCommand(getDashboardOpenCommand());
|
|
251693
251732
|
}
|
|
251694
251733
|
|
|
251695
|
-
// src/cli/commands/automations/status.ts
|
|
251696
|
-
function formatAutomationType(automation) {
|
|
251697
|
-
if (automation.type === "entity")
|
|
251698
|
-
return "entity";
|
|
251699
|
-
if (automation.type === "scheduled") {
|
|
251700
|
-
if (automation.schedule_mode === "one-time")
|
|
251701
|
-
return "scheduled (one-time)";
|
|
251702
|
-
if (automation.schedule_type === "cron")
|
|
251703
|
-
return "scheduled (cron)";
|
|
251704
|
-
return "scheduled (simple)";
|
|
251705
|
-
}
|
|
251706
|
-
return automation.type;
|
|
251707
|
-
}
|
|
251708
|
-
async function statusAction({
|
|
251709
|
-
log
|
|
251710
|
-
}) {
|
|
251711
|
-
const { functions } = await runTask("Fetching automations...", async () => listDeployedFunctions(), { errorMessage: "Failed to fetch automations" });
|
|
251712
|
-
let totalAutomations = 0;
|
|
251713
|
-
let functionsWithAutomations = 0;
|
|
251714
|
-
for (const fn of functions) {
|
|
251715
|
-
if (fn.automations.length === 0)
|
|
251716
|
-
continue;
|
|
251717
|
-
functionsWithAutomations++;
|
|
251718
|
-
for (const automation of fn.automations) {
|
|
251719
|
-
totalAutomations++;
|
|
251720
|
-
const active = automation.is_active;
|
|
251721
|
-
const statusLabel = active ? theme.styles.bold("active") : theme.styles.dim("disabled");
|
|
251722
|
-
const typeLabel = formatAutomationType(automation);
|
|
251723
|
-
log.message(` ${fn.name} / ${automation.name} ${theme.styles.dim(typeLabel)} ${statusLabel}`);
|
|
251724
|
-
}
|
|
251725
|
-
}
|
|
251726
|
-
if (totalAutomations === 0) {
|
|
251727
|
-
return { outroMessage: "No automations found" };
|
|
251728
|
-
}
|
|
251729
|
-
return {
|
|
251730
|
-
outroMessage: `${totalAutomations} automation${totalAutomations !== 1 ? "s" : ""} across ${functionsWithAutomations} function${functionsWithAutomations !== 1 ? "s" : ""}`
|
|
251731
|
-
};
|
|
251732
|
-
}
|
|
251733
|
-
function getAutomationsStatusCommand() {
|
|
251734
|
-
return new Base44Command("status").description("Show status of all automations").action(statusAction);
|
|
251735
|
-
}
|
|
251736
|
-
|
|
251737
|
-
// src/cli/commands/automations/index.ts
|
|
251738
|
-
function getAutomationsCommand() {
|
|
251739
|
-
return new Command("automations").description("Manage automations").addCommand(getAutomationsStatusCommand());
|
|
251740
|
-
}
|
|
251741
|
-
|
|
251742
|
-
// src/cli/commands/entities/count.ts
|
|
251743
|
-
async function countAction(_ctx, entityName) {
|
|
251744
|
-
const count2 = await runTask(`Counting ${entityName} records...`, async () => countEntityRecords(entityName), { errorMessage: `Failed to count ${entityName} records` });
|
|
251745
|
-
return {
|
|
251746
|
-
outroMessage: `${entityName} has ${count2} record${count2 !== 1 ? "s" : ""}`
|
|
251747
|
-
};
|
|
251748
|
-
}
|
|
251749
|
-
function getEntitiesCountCommand() {
|
|
251750
|
-
return new Base44Command("count").description("Count total records for an entity").argument("<entityName>", "Name of the entity").action(countAction);
|
|
251751
|
-
}
|
|
251752
|
-
|
|
251753
|
-
// src/cli/commands/entities/get.ts
|
|
251754
|
-
async function getAction(_ctx, entityName, id) {
|
|
251755
|
-
const record2 = await runTask(`Fetching ${entityName} record...`, async () => getEntityRecord(entityName, id), { errorMessage: `Failed to fetch ${entityName} record "${id}"` });
|
|
251756
|
-
const formatted = JSON.stringify(record2, null, 2);
|
|
251757
|
-
return {
|
|
251758
|
-
outroMessage: `Fetched ${entityName} record ${id}`,
|
|
251759
|
-
stdout: `${formatted}
|
|
251760
|
-
`
|
|
251761
|
-
};
|
|
251762
|
-
}
|
|
251763
|
-
function getEntitiesGetCommand() {
|
|
251764
|
-
return new Base44Command("get").description("Get a single entity record by ID").argument("<entityName>", "Name of the entity").argument("<id>", "Record ID").action(getAction);
|
|
251765
|
-
}
|
|
251766
|
-
|
|
251767
|
-
// src/cli/commands/entities/list.ts
|
|
251768
|
-
function formatRecordRow(record2, fields) {
|
|
251769
|
-
const values = fields.map((field) => {
|
|
251770
|
-
const value = record2[field];
|
|
251771
|
-
if (value === undefined || value === null)
|
|
251772
|
-
return "-";
|
|
251773
|
-
if (typeof value === "object")
|
|
251774
|
-
return JSON.stringify(value);
|
|
251775
|
-
return String(value);
|
|
251776
|
-
});
|
|
251777
|
-
return values.join("\t");
|
|
251778
|
-
}
|
|
251779
|
-
function pickDisplayFields(records) {
|
|
251780
|
-
const systemFields = ["id", "created_date"];
|
|
251781
|
-
if (records.length === 0)
|
|
251782
|
-
return systemFields;
|
|
251783
|
-
const skipFields = new Set([
|
|
251784
|
-
"id",
|
|
251785
|
-
"created_date",
|
|
251786
|
-
"updated_date",
|
|
251787
|
-
"created_by",
|
|
251788
|
-
"created_by_id",
|
|
251789
|
-
"app_id",
|
|
251790
|
-
"entity_name",
|
|
251791
|
-
"is_deleted",
|
|
251792
|
-
"deleted_date",
|
|
251793
|
-
"environment",
|
|
251794
|
-
"_id"
|
|
251795
|
-
]);
|
|
251796
|
-
const dataFields = [];
|
|
251797
|
-
for (const key of Object.keys(records[0])) {
|
|
251798
|
-
if (!skipFields.has(key) && dataFields.length < 4) {
|
|
251799
|
-
dataFields.push(key);
|
|
251800
|
-
}
|
|
251801
|
-
}
|
|
251802
|
-
return [...systemFields, ...dataFields];
|
|
251803
|
-
}
|
|
251804
|
-
function validateLimit(limit) {
|
|
251805
|
-
if (limit === undefined)
|
|
251806
|
-
return;
|
|
251807
|
-
const n2 = Number.parseInt(limit, 10);
|
|
251808
|
-
if (Number.isNaN(n2) || n2 < 1) {
|
|
251809
|
-
throw new InvalidInputError(`Invalid limit: "${limit}". Must be a positive integer.`);
|
|
251810
|
-
}
|
|
251811
|
-
}
|
|
251812
|
-
function validateSkip(skip) {
|
|
251813
|
-
if (skip === undefined)
|
|
251814
|
-
return;
|
|
251815
|
-
const n2 = Number.parseInt(skip, 10);
|
|
251816
|
-
if (Number.isNaN(n2) || n2 < 0) {
|
|
251817
|
-
throw new InvalidInputError(`Invalid skip: "${skip}". Must be a non-negative integer.`);
|
|
251818
|
-
}
|
|
251819
|
-
}
|
|
251820
|
-
async function listAction({ log }, entityName, options) {
|
|
251821
|
-
validateLimit(options.limit);
|
|
251822
|
-
validateSkip(options.skip);
|
|
251823
|
-
const apiOptions = {};
|
|
251824
|
-
if (options.limit) {
|
|
251825
|
-
apiOptions.limit = Number.parseInt(options.limit, 10);
|
|
251826
|
-
} else {
|
|
251827
|
-
apiOptions.limit = 10;
|
|
251828
|
-
}
|
|
251829
|
-
if (options.skip) {
|
|
251830
|
-
apiOptions.skip = Number.parseInt(options.skip, 10);
|
|
251831
|
-
}
|
|
251832
|
-
if (options.sort) {
|
|
251833
|
-
apiOptions.sort = options.sort;
|
|
251834
|
-
}
|
|
251835
|
-
const records = await runTask(`Fetching ${entityName} records...`, async () => listEntityRecords(entityName, apiOptions), { errorMessage: `Failed to fetch ${entityName} records` });
|
|
251836
|
-
if (records.length === 0) {
|
|
251837
|
-
return { outroMessage: `No records found for ${entityName}` };
|
|
251838
|
-
}
|
|
251839
|
-
const fields = pickDisplayFields(records);
|
|
251840
|
-
const header2 = fields.join("\t");
|
|
251841
|
-
log.message(theme.styles.dim(header2));
|
|
251842
|
-
for (const record2 of records) {
|
|
251843
|
-
log.message(` ${formatRecordRow(record2, fields)}`);
|
|
251844
|
-
}
|
|
251845
|
-
return {
|
|
251846
|
-
outroMessage: `Showing ${records.length} ${entityName} record${records.length !== 1 ? "s" : ""}`
|
|
251847
|
-
};
|
|
251848
|
-
}
|
|
251849
|
-
function getEntitiesListCommand() {
|
|
251850
|
-
return new Base44Command("list").description("List entity records").argument("<entityName>", "Name of the entity").option("-n, --limit <n>", "Maximum number of records to return (default: 10)").option("--sort <field>", "Field to sort by").option("--skip <n>", "Number of records to skip").action(listAction);
|
|
251851
|
-
}
|
|
251852
|
-
|
|
251853
251734
|
// src/cli/commands/entities/push.ts
|
|
251854
251735
|
async function pushEntitiesAction({
|
|
251855
251736
|
log
|
|
@@ -251878,12 +251759,7 @@ async function pushEntitiesAction({
|
|
|
251878
251759
|
return { outroMessage: "Entities pushed to Base44" };
|
|
251879
251760
|
}
|
|
251880
251761
|
function getEntitiesPushCommand() {
|
|
251881
|
-
return new Base44Command("push").description("Push local entities to Base44").action(pushEntitiesAction);
|
|
251882
|
-
}
|
|
251883
|
-
|
|
251884
|
-
// src/cli/commands/entities/index.ts
|
|
251885
|
-
function getEntitiesCommand() {
|
|
251886
|
-
return new Command("entities").description("Manage project entities").addCommand(getEntitiesPushCommand()).addCommand(getEntitiesListCommand()).addCommand(getEntitiesGetCommand()).addCommand(getEntitiesCountCommand());
|
|
251762
|
+
return new Command("entities").description("Manage project entities").addCommand(new Base44Command("push").description("Push local entities to Base44").action(pushEntitiesAction));
|
|
251887
251763
|
}
|
|
251888
251764
|
|
|
251889
251765
|
// src/cli/commands/functions/delete.ts
|
|
@@ -252070,11 +251946,11 @@ function getListCommand() {
|
|
|
252070
251946
|
}
|
|
252071
251947
|
|
|
252072
251948
|
// src/cli/commands/functions/pull.ts
|
|
252073
|
-
import { dirname as dirname11, join as
|
|
251949
|
+
import { dirname as dirname11, join as join17 } from "node:path";
|
|
252074
251950
|
async function pullFunctionsAction({ log }, name2) {
|
|
252075
251951
|
const { project: project2 } = await readProjectConfig();
|
|
252076
251952
|
const configDir = dirname11(project2.configPath);
|
|
252077
|
-
const functionsDir =
|
|
251953
|
+
const functionsDir = join17(configDir, project2.functionsDir);
|
|
252078
251954
|
const remoteFunctions = await runTask("Fetching functions from Base44", async () => {
|
|
252079
251955
|
const { functions } = await listDeployedFunctions();
|
|
252080
251956
|
return functions;
|
|
@@ -252117,8 +251993,39 @@ function getFunctionsCommand() {
|
|
|
252117
251993
|
}
|
|
252118
251994
|
|
|
252119
251995
|
// src/cli/commands/project/create.ts
|
|
252120
|
-
import { basename as basename3, join as
|
|
251996
|
+
import { basename as basename3, join as join18, resolve as resolve2 } from "node:path";
|
|
252121
251997
|
var import_kebabCase = __toESM(require_kebabCase(), 1);
|
|
251998
|
+
|
|
251999
|
+
// src/cli/commands/skills/update.ts
|
|
252000
|
+
var SKILLS_REPO = "base44/skills";
|
|
252001
|
+
async function installAllSkills(cwd) {
|
|
252002
|
+
await execa("npx", ["-y", "skills", "add", SKILLS_REPO, "--all", "-y"], {
|
|
252003
|
+
cwd
|
|
252004
|
+
});
|
|
252005
|
+
}
|
|
252006
|
+
async function updateAction(_ctx) {
|
|
252007
|
+
const projectRoot = await findProjectRoot();
|
|
252008
|
+
if (!projectRoot) {
|
|
252009
|
+
return {
|
|
252010
|
+
outroMessage: "Not in a Base44 project. Run this command from a project directory."
|
|
252011
|
+
};
|
|
252012
|
+
}
|
|
252013
|
+
await runTask("Updating agent skills...", async () => {
|
|
252014
|
+
await installAllSkills(projectRoot.root);
|
|
252015
|
+
}, {
|
|
252016
|
+
successMessage: theme.colors.base44Orange("Agent skills updated successfully"),
|
|
252017
|
+
errorMessage: "Failed to update agent skills"
|
|
252018
|
+
});
|
|
252019
|
+
return { outroMessage: "Agent skills are up to date" };
|
|
252020
|
+
}
|
|
252021
|
+
function getSkillsUpdateCommand() {
|
|
252022
|
+
return new Base44Command("update", {
|
|
252023
|
+
requireAuth: false,
|
|
252024
|
+
requireAppConfig: false
|
|
252025
|
+
}).description("Update locally installed agent skills to the latest version").action(updateAction);
|
|
252026
|
+
}
|
|
252027
|
+
|
|
252028
|
+
// src/cli/commands/project/create.ts
|
|
252122
252029
|
var DEFAULT_TEMPLATE_ID = "backend-only";
|
|
252123
252030
|
async function getTemplateById(templateId) {
|
|
252124
252031
|
const templates = await listTemplates();
|
|
@@ -252254,7 +252161,7 @@ async function executeCreate({
|
|
|
252254
252161
|
updateMessage("Building project...");
|
|
252255
252162
|
await execa({ cwd: resolvedPath, shell: true })`${buildCommand}`;
|
|
252256
252163
|
updateMessage("Deploying site...");
|
|
252257
|
-
return await deploySite(
|
|
252164
|
+
return await deploySite(join18(resolvedPath, outputDirectory));
|
|
252258
252165
|
}, {
|
|
252259
252166
|
successMessage: theme.colors.base44Orange("Site deployed successfully"),
|
|
252260
252167
|
errorMessage: "Failed to deploy site"
|
|
@@ -252266,13 +252173,10 @@ async function executeCreate({
|
|
|
252266
252173
|
if (shouldAddSkills) {
|
|
252267
252174
|
try {
|
|
252268
252175
|
await runTask("Installing AI agent skills...", async () => {
|
|
252269
|
-
await
|
|
252270
|
-
cwd: resolvedPath,
|
|
252271
|
-
shell: true
|
|
252272
|
-
});
|
|
252176
|
+
await installAllSkills(resolvedPath);
|
|
252273
252177
|
}, {
|
|
252274
252178
|
successMessage: theme.colors.base44Orange("AI agent skills added successfully"),
|
|
252275
|
-
errorMessage: "Failed to add
|
|
252179
|
+
errorMessage: "Failed to add agent skills - you can add them later with: base44 agent-skills update"
|
|
252276
252180
|
});
|
|
252277
252181
|
} catch {}
|
|
252278
252182
|
}
|
|
@@ -252646,7 +252550,7 @@ async function getAllFunctionNames() {
|
|
|
252646
252550
|
const { functions } = await readProjectConfig();
|
|
252647
252551
|
return functions.map((fn) => fn.name);
|
|
252648
252552
|
}
|
|
252649
|
-
function
|
|
252553
|
+
function validateLimit(limit) {
|
|
252650
252554
|
if (limit === undefined)
|
|
252651
252555
|
return;
|
|
252652
252556
|
const n2 = Number.parseInt(limit, 10);
|
|
@@ -252655,7 +252559,7 @@ function validateLimit2(limit) {
|
|
|
252655
252559
|
}
|
|
252656
252560
|
}
|
|
252657
252561
|
async function logsAction(_ctx, options) {
|
|
252658
|
-
|
|
252562
|
+
validateLimit(options.limit);
|
|
252659
252563
|
const specifiedFunctions = parseFunctionNames(options.function);
|
|
252660
252564
|
const allProjectFunctions = await getAllFunctionNames();
|
|
252661
252565
|
const functionNames = specifiedFunctions.length > 0 ? specifiedFunctions : allProjectFunctions;
|
|
@@ -252832,6 +252736,11 @@ function getSiteCommand() {
|
|
|
252832
252736
|
return new Command("site").description("Manage app site (frontend app)").addCommand(getSiteDeployCommand()).addCommand(getSiteOpenCommand());
|
|
252833
252737
|
}
|
|
252834
252738
|
|
|
252739
|
+
// src/cli/commands/skills/index.ts
|
|
252740
|
+
function getAgentSkillsCommand() {
|
|
252741
|
+
return new Command("agent-skills").description("Manage locally installed agent skills").addCommand(getSkillsUpdateCommand());
|
|
252742
|
+
}
|
|
252743
|
+
|
|
252835
252744
|
// src/core/types/generator.ts
|
|
252836
252745
|
var import_common_tags = __toESM(require_lib2(), 1);
|
|
252837
252746
|
var import_json_schema_to_typescript = __toESM(require_src3(), 1);
|
|
@@ -252918,10 +252827,10 @@ function toPascalCase(name2) {
|
|
|
252918
252827
|
return name2.split(/[-_\s]+/).map((w8) => w8.charAt(0).toUpperCase() + w8.slice(1)).join("");
|
|
252919
252828
|
}
|
|
252920
252829
|
// src/core/types/update-project.ts
|
|
252921
|
-
import { join as
|
|
252830
|
+
import { join as join21 } from "node:path";
|
|
252922
252831
|
var TYPES_INCLUDE_PATH = `${PROJECT_SUBDIR}/${TYPES_OUTPUT_SUBDIR}/*.d.ts`;
|
|
252923
252832
|
async function updateProjectConfig(projectRoot) {
|
|
252924
|
-
const tsconfigPath =
|
|
252833
|
+
const tsconfigPath = join21(projectRoot, "tsconfig.json");
|
|
252925
252834
|
if (!await pathExists(tsconfigPath)) {
|
|
252926
252835
|
return false;
|
|
252927
252836
|
}
|
|
@@ -252964,7 +252873,7 @@ function getTypesCommand() {
|
|
|
252964
252873
|
// src/cli/dev/dev-server/main.ts
|
|
252965
252874
|
var import_cors = __toESM(require_lib4(), 1);
|
|
252966
252875
|
var import_express5 = __toESM(require_express(), 1);
|
|
252967
|
-
import { dirname as dirname16, join as
|
|
252876
|
+
import { dirname as dirname16, join as join24 } from "node:path";
|
|
252968
252877
|
|
|
252969
252878
|
// ../../node_modules/get-port/index.js
|
|
252970
252879
|
import net from "node:net";
|
|
@@ -255827,8 +255736,8 @@ async function createDevServer(options8) {
|
|
|
255827
255736
|
broadcastEntityEvent(io6, appId, entityName, event);
|
|
255828
255737
|
};
|
|
255829
255738
|
const base44ConfigWatcher = new WatchBase44({
|
|
255830
|
-
functions:
|
|
255831
|
-
entities:
|
|
255739
|
+
functions: join24(dirname16(project2.configPath), project2.functionsDir),
|
|
255740
|
+
entities: join24(dirname16(project2.configPath), project2.entitiesDir)
|
|
255832
255741
|
}, devLogger);
|
|
255833
255742
|
base44ConfigWatcher.on("change", async (name2) => {
|
|
255834
255743
|
try {
|
|
@@ -256097,15 +256006,15 @@ function createProgram(context) {
|
|
|
256097
256006
|
program2.addCommand(getDeployCommand2());
|
|
256098
256007
|
program2.addCommand(getLinkCommand());
|
|
256099
256008
|
program2.addCommand(getEjectCommand());
|
|
256100
|
-
program2.addCommand(
|
|
256009
|
+
program2.addCommand(getEntitiesPushCommand());
|
|
256101
256010
|
program2.addCommand(getAgentsCommand());
|
|
256102
256011
|
program2.addCommand(getConnectorsCommand());
|
|
256103
256012
|
program2.addCommand(getFunctionsCommand());
|
|
256104
256013
|
program2.addCommand(getSecretsCommand());
|
|
256014
|
+
program2.addCommand(getAgentSkillsCommand());
|
|
256105
256015
|
program2.addCommand(getAuthCommand());
|
|
256106
256016
|
program2.addCommand(getSiteCommand());
|
|
256107
256017
|
program2.addCommand(getTypesCommand());
|
|
256108
|
-
program2.addCommand(getAutomationsCommand());
|
|
256109
256018
|
program2.addCommand(getExecCommand());
|
|
256110
256019
|
program2.addCommand(getDevCommand(), { hidden: true });
|
|
256111
256020
|
program2.addCommand(getLogsCommand());
|
|
@@ -260317,7 +260226,7 @@ function addCommandInfoToErrorReporter(program2, errorReporter) {
|
|
|
260317
260226
|
// src/cli/index.ts
|
|
260318
260227
|
var __dirname4 = dirname18(fileURLToPath6(import.meta.url));
|
|
260319
260228
|
async function runCLI(options8) {
|
|
260320
|
-
ensureNpmAssets(
|
|
260229
|
+
ensureNpmAssets(join25(__dirname4, "../assets"));
|
|
260321
260230
|
const errorReporter = new ErrorReporter;
|
|
260322
260231
|
errorReporter.registerProcessErrorHandlers();
|
|
260323
260232
|
const isNonInteractive = !process.stdin.isTTY || !process.stdout.isTTY;
|
|
@@ -260352,4 +260261,4 @@ export {
|
|
|
260352
260261
|
CLIExitError
|
|
260353
260262
|
};
|
|
260354
260263
|
|
|
260355
|
-
//# debugId=
|
|
260264
|
+
//# debugId=74624AA93E579A8864756E2164756E21
|