@base44-preview/cli 0.0.49-pr.450.5fc8bec → 0.0.49-pr.452.a028d51
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 +177 -272
- 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: { ...process.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,9 @@ async function showCommandStart(fullBanner) {
|
|
|
250320
250343
|
We(theme.colors.base44OrangeBackground(" Base 44 "));
|
|
250321
250344
|
}
|
|
250322
250345
|
}
|
|
250323
|
-
async function showCommandEnd(result,
|
|
250324
|
-
await printUpgradeNotification(
|
|
250346
|
+
async function showCommandEnd(result, options) {
|
|
250347
|
+
await printUpgradeNotification(options.upgradeCheck, options.distribution);
|
|
250348
|
+
await printSkillVersionWarning(options.skillCheck);
|
|
250325
250349
|
Le(result.outroMessage || "");
|
|
250326
250350
|
if (result.stdout) {
|
|
250327
250351
|
process.stdout.write(result.stdout);
|
|
@@ -250394,16 +250418,22 @@ class Base44Command extends Command {
|
|
|
250394
250418
|
await showCommandStart(this._commandOptions.fullBanner);
|
|
250395
250419
|
}
|
|
250396
250420
|
const upgradeCheckPromise = startUpgradeCheck();
|
|
250421
|
+
let skillCheckPromise = Promise.resolve(null);
|
|
250397
250422
|
try {
|
|
250398
250423
|
if (this._commandOptions.requireAuth) {
|
|
250399
250424
|
await ensureAuth(this.context);
|
|
250400
250425
|
}
|
|
250401
250426
|
if (this._commandOptions.requireAppConfig) {
|
|
250402
250427
|
await ensureAppConfig(this.context);
|
|
250428
|
+
skillCheckPromise = startSkillVersionCheck(getAppConfig().projectRoot);
|
|
250403
250429
|
}
|
|
250404
250430
|
const result = await fn(this.context, ...args) ?? {};
|
|
250405
250431
|
if (!quiet) {
|
|
250406
|
-
await showCommandEnd(result,
|
|
250432
|
+
await showCommandEnd(result, {
|
|
250433
|
+
upgradeCheck: upgradeCheckPromise,
|
|
250434
|
+
skillCheck: skillCheckPromise,
|
|
250435
|
+
distribution: this.context.distribution
|
|
250436
|
+
});
|
|
250407
250437
|
} else {
|
|
250408
250438
|
if (result.outroMessage) {
|
|
250409
250439
|
process.stdout.write(`${result.outroMessage}
|
|
@@ -250415,6 +250445,11 @@ class Base44Command extends Command {
|
|
|
250415
250445
|
const upgradeInfo = await upgradeCheckPromise;
|
|
250416
250446
|
if (upgradeInfo) {
|
|
250417
250447
|
process.stderr.write(`${formatPlainUpgradeMessage(upgradeInfo, this.context.distribution)}
|
|
250448
|
+
`);
|
|
250449
|
+
}
|
|
250450
|
+
const staleSkills = await skillCheckPromise;
|
|
250451
|
+
if (staleSkills && staleSkills.length > 0) {
|
|
250452
|
+
process.stderr.write(`${formatPlainSkillWarning(staleSkills)}
|
|
250418
250453
|
`);
|
|
250419
250454
|
}
|
|
250420
250455
|
}
|
|
@@ -250614,7 +250649,7 @@ async function pullAgentsAction({
|
|
|
250614
250649
|
}) {
|
|
250615
250650
|
const { project: project2 } = await readProjectConfig();
|
|
250616
250651
|
const configDir = dirname7(project2.configPath);
|
|
250617
|
-
const agentsDir =
|
|
250652
|
+
const agentsDir = join13(configDir, project2.agentsDir);
|
|
250618
250653
|
const remoteAgents = await runTask("Fetching agents from Base44", async () => {
|
|
250619
250654
|
return await fetchAgents();
|
|
250620
250655
|
}, {
|
|
@@ -250677,7 +250712,7 @@ function getAgentsCommand() {
|
|
|
250677
250712
|
}
|
|
250678
250713
|
|
|
250679
250714
|
// src/cli/commands/auth/password-login.ts
|
|
250680
|
-
import { dirname as dirname8, join as
|
|
250715
|
+
import { dirname as dirname8, join as join14 } from "node:path";
|
|
250681
250716
|
function validateAction(action) {
|
|
250682
250717
|
if (action !== "enable" && action !== "disable") {
|
|
250683
250718
|
throw new InvalidInputError(`Invalid action "${action}". Must be "enable" or "disable".`, {
|
|
@@ -250699,7 +250734,7 @@ async function passwordLoginAction({ log }, action) {
|
|
|
250699
250734
|
const shouldEnable = action === "enable";
|
|
250700
250735
|
const { project: project2 } = await readProjectConfig();
|
|
250701
250736
|
const configDir = dirname8(project2.configPath);
|
|
250702
|
-
const authDir =
|
|
250737
|
+
const authDir = join14(configDir, project2.authDir);
|
|
250703
250738
|
const updated = await runTask("Updating local auth config", async () => {
|
|
250704
250739
|
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
250705
250740
|
const merged = { ...current, enableUsernamePassword: shouldEnable };
|
|
@@ -250719,11 +250754,11 @@ function getPasswordLoginCommand() {
|
|
|
250719
250754
|
}
|
|
250720
250755
|
|
|
250721
250756
|
// src/cli/commands/auth/pull.ts
|
|
250722
|
-
import { dirname as dirname9, join as
|
|
250757
|
+
import { dirname as dirname9, join as join15 } from "node:path";
|
|
250723
250758
|
async function pullAuthAction({ log }) {
|
|
250724
250759
|
const { project: project2 } = await readProjectConfig();
|
|
250725
250760
|
const configDir = dirname9(project2.configPath);
|
|
250726
|
-
const authDir =
|
|
250761
|
+
const authDir = join15(configDir, project2.authDir);
|
|
250727
250762
|
const remoteConfig = await runTask("Fetching auth config from Base44", async () => {
|
|
250728
250763
|
return await pullAuthConfig();
|
|
250729
250764
|
}, {
|
|
@@ -250849,13 +250884,13 @@ function getConnectorsListAvailableCommand() {
|
|
|
250849
250884
|
}
|
|
250850
250885
|
|
|
250851
250886
|
// src/cli/commands/connectors/pull.ts
|
|
250852
|
-
import { dirname as dirname10, join as
|
|
250887
|
+
import { dirname as dirname10, join as join16 } from "node:path";
|
|
250853
250888
|
async function pullConnectorsAction({
|
|
250854
250889
|
log
|
|
250855
250890
|
}) {
|
|
250856
250891
|
const { project: project2 } = await readProjectConfig();
|
|
250857
250892
|
const configDir = dirname10(project2.configPath);
|
|
250858
|
-
const connectorsDir =
|
|
250893
|
+
const connectorsDir = join16(configDir, project2.connectorsDir);
|
|
250859
250894
|
const remoteConnectors = await runTask("Fetching connectors from Base44", async () => {
|
|
250860
250895
|
return await pullAllConnectors();
|
|
250861
250896
|
}, {
|
|
@@ -251692,164 +251727,6 @@ function getDashboardCommand() {
|
|
|
251692
251727
|
return new Command("dashboard").description("Manage app dashboard").addCommand(getDashboardOpenCommand());
|
|
251693
251728
|
}
|
|
251694
251729
|
|
|
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
251730
|
// src/cli/commands/entities/push.ts
|
|
251854
251731
|
async function pushEntitiesAction({
|
|
251855
251732
|
log
|
|
@@ -251878,12 +251755,7 @@ async function pushEntitiesAction({
|
|
|
251878
251755
|
return { outroMessage: "Entities pushed to Base44" };
|
|
251879
251756
|
}
|
|
251880
251757
|
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());
|
|
251758
|
+
return new Command("entities").description("Manage project entities").addCommand(new Base44Command("push").description("Push local entities to Base44").action(pushEntitiesAction));
|
|
251887
251759
|
}
|
|
251888
251760
|
|
|
251889
251761
|
// src/cli/commands/functions/delete.ts
|
|
@@ -252070,11 +251942,11 @@ function getListCommand() {
|
|
|
252070
251942
|
}
|
|
252071
251943
|
|
|
252072
251944
|
// src/cli/commands/functions/pull.ts
|
|
252073
|
-
import { dirname as dirname11, join as
|
|
251945
|
+
import { dirname as dirname11, join as join17 } from "node:path";
|
|
252074
251946
|
async function pullFunctionsAction({ log }, name2) {
|
|
252075
251947
|
const { project: project2 } = await readProjectConfig();
|
|
252076
251948
|
const configDir = dirname11(project2.configPath);
|
|
252077
|
-
const functionsDir =
|
|
251949
|
+
const functionsDir = join17(configDir, project2.functionsDir);
|
|
252078
251950
|
const remoteFunctions = await runTask("Fetching functions from Base44", async () => {
|
|
252079
251951
|
const { functions } = await listDeployedFunctions();
|
|
252080
251952
|
return functions;
|
|
@@ -252117,8 +251989,39 @@ function getFunctionsCommand() {
|
|
|
252117
251989
|
}
|
|
252118
251990
|
|
|
252119
251991
|
// src/cli/commands/project/create.ts
|
|
252120
|
-
import { basename as basename3, join as
|
|
251992
|
+
import { basename as basename3, join as join18, resolve as resolve2 } from "node:path";
|
|
252121
251993
|
var import_kebabCase = __toESM(require_kebabCase(), 1);
|
|
251994
|
+
|
|
251995
|
+
// src/cli/commands/skills/update.ts
|
|
251996
|
+
var SKILLS_REPO = "base44/skills";
|
|
251997
|
+
async function installAllSkills(cwd) {
|
|
251998
|
+
await execa("npx", ["-y", "skills", "add", SKILLS_REPO, "--all", "-y"], {
|
|
251999
|
+
cwd
|
|
252000
|
+
});
|
|
252001
|
+
}
|
|
252002
|
+
async function updateAction(_ctx) {
|
|
252003
|
+
const projectRoot = await findProjectRoot();
|
|
252004
|
+
if (!projectRoot) {
|
|
252005
|
+
return {
|
|
252006
|
+
outroMessage: "Not in a Base44 project. Run this command from a project directory."
|
|
252007
|
+
};
|
|
252008
|
+
}
|
|
252009
|
+
await runTask("Updating agent skills...", async () => {
|
|
252010
|
+
await installAllSkills(projectRoot.root);
|
|
252011
|
+
}, {
|
|
252012
|
+
successMessage: theme.colors.base44Orange("Agent skills updated successfully"),
|
|
252013
|
+
errorMessage: "Failed to update agent skills"
|
|
252014
|
+
});
|
|
252015
|
+
return { outroMessage: "Agent skills are up to date" };
|
|
252016
|
+
}
|
|
252017
|
+
function getSkillsUpdateCommand() {
|
|
252018
|
+
return new Base44Command("update", {
|
|
252019
|
+
requireAuth: false,
|
|
252020
|
+
requireAppConfig: false
|
|
252021
|
+
}).description("Update locally installed agent skills to the latest version").action(updateAction);
|
|
252022
|
+
}
|
|
252023
|
+
|
|
252024
|
+
// src/cli/commands/project/create.ts
|
|
252122
252025
|
var DEFAULT_TEMPLATE_ID = "backend-only";
|
|
252123
252026
|
async function getTemplateById(templateId) {
|
|
252124
252027
|
const templates = await listTemplates();
|
|
@@ -252254,7 +252157,7 @@ async function executeCreate({
|
|
|
252254
252157
|
updateMessage("Building project...");
|
|
252255
252158
|
await execa({ cwd: resolvedPath, shell: true })`${buildCommand}`;
|
|
252256
252159
|
updateMessage("Deploying site...");
|
|
252257
|
-
return await deploySite(
|
|
252160
|
+
return await deploySite(join18(resolvedPath, outputDirectory));
|
|
252258
252161
|
}, {
|
|
252259
252162
|
successMessage: theme.colors.base44Orange("Site deployed successfully"),
|
|
252260
252163
|
errorMessage: "Failed to deploy site"
|
|
@@ -252266,13 +252169,10 @@ async function executeCreate({
|
|
|
252266
252169
|
if (shouldAddSkills) {
|
|
252267
252170
|
try {
|
|
252268
252171
|
await runTask("Installing AI agent skills...", async () => {
|
|
252269
|
-
await
|
|
252270
|
-
cwd: resolvedPath,
|
|
252271
|
-
shell: true
|
|
252272
|
-
});
|
|
252172
|
+
await installAllSkills(resolvedPath);
|
|
252273
252173
|
}, {
|
|
252274
252174
|
successMessage: theme.colors.base44Orange("AI agent skills added successfully"),
|
|
252275
|
-
errorMessage: "Failed to add
|
|
252175
|
+
errorMessage: "Failed to add agent skills - you can add them later with: base44 agent-skills update"
|
|
252276
252176
|
});
|
|
252277
252177
|
} catch {}
|
|
252278
252178
|
}
|
|
@@ -252646,7 +252546,7 @@ async function getAllFunctionNames() {
|
|
|
252646
252546
|
const { functions } = await readProjectConfig();
|
|
252647
252547
|
return functions.map((fn) => fn.name);
|
|
252648
252548
|
}
|
|
252649
|
-
function
|
|
252549
|
+
function validateLimit(limit) {
|
|
252650
252550
|
if (limit === undefined)
|
|
252651
252551
|
return;
|
|
252652
252552
|
const n2 = Number.parseInt(limit, 10);
|
|
@@ -252655,7 +252555,7 @@ function validateLimit2(limit) {
|
|
|
252655
252555
|
}
|
|
252656
252556
|
}
|
|
252657
252557
|
async function logsAction(_ctx, options) {
|
|
252658
|
-
|
|
252558
|
+
validateLimit(options.limit);
|
|
252659
252559
|
const specifiedFunctions = parseFunctionNames(options.function);
|
|
252660
252560
|
const allProjectFunctions = await getAllFunctionNames();
|
|
252661
252561
|
const functionNames = specifiedFunctions.length > 0 ? specifiedFunctions : allProjectFunctions;
|
|
@@ -252832,6 +252732,11 @@ function getSiteCommand() {
|
|
|
252832
252732
|
return new Command("site").description("Manage app site (frontend app)").addCommand(getSiteDeployCommand()).addCommand(getSiteOpenCommand());
|
|
252833
252733
|
}
|
|
252834
252734
|
|
|
252735
|
+
// src/cli/commands/skills/index.ts
|
|
252736
|
+
function getAgentSkillsCommand() {
|
|
252737
|
+
return new Command("agent-skills").description("Manage locally installed agent skills").addCommand(getSkillsUpdateCommand());
|
|
252738
|
+
}
|
|
252739
|
+
|
|
252835
252740
|
// src/core/types/generator.ts
|
|
252836
252741
|
var import_common_tags = __toESM(require_lib2(), 1);
|
|
252837
252742
|
var import_json_schema_to_typescript = __toESM(require_src3(), 1);
|
|
@@ -252918,10 +252823,10 @@ function toPascalCase(name2) {
|
|
|
252918
252823
|
return name2.split(/[-_\s]+/).map((w8) => w8.charAt(0).toUpperCase() + w8.slice(1)).join("");
|
|
252919
252824
|
}
|
|
252920
252825
|
// src/core/types/update-project.ts
|
|
252921
|
-
import { join as
|
|
252826
|
+
import { join as join21 } from "node:path";
|
|
252922
252827
|
var TYPES_INCLUDE_PATH = `${PROJECT_SUBDIR}/${TYPES_OUTPUT_SUBDIR}/*.d.ts`;
|
|
252923
252828
|
async function updateProjectConfig(projectRoot) {
|
|
252924
|
-
const tsconfigPath =
|
|
252829
|
+
const tsconfigPath = join21(projectRoot, "tsconfig.json");
|
|
252925
252830
|
if (!await pathExists(tsconfigPath)) {
|
|
252926
252831
|
return false;
|
|
252927
252832
|
}
|
|
@@ -252964,7 +252869,7 @@ function getTypesCommand() {
|
|
|
252964
252869
|
// src/cli/dev/dev-server/main.ts
|
|
252965
252870
|
var import_cors = __toESM(require_lib4(), 1);
|
|
252966
252871
|
var import_express5 = __toESM(require_express(), 1);
|
|
252967
|
-
import { dirname as dirname16, join as
|
|
252872
|
+
import { dirname as dirname16, join as join24 } from "node:path";
|
|
252968
252873
|
|
|
252969
252874
|
// ../../node_modules/get-port/index.js
|
|
252970
252875
|
import net from "node:net";
|
|
@@ -255827,8 +255732,8 @@ async function createDevServer(options8) {
|
|
|
255827
255732
|
broadcastEntityEvent(io6, appId, entityName, event);
|
|
255828
255733
|
};
|
|
255829
255734
|
const base44ConfigWatcher = new WatchBase44({
|
|
255830
|
-
functions:
|
|
255831
|
-
entities:
|
|
255735
|
+
functions: join24(dirname16(project2.configPath), project2.functionsDir),
|
|
255736
|
+
entities: join24(dirname16(project2.configPath), project2.entitiesDir)
|
|
255832
255737
|
}, devLogger);
|
|
255833
255738
|
base44ConfigWatcher.on("change", async (name2) => {
|
|
255834
255739
|
try {
|
|
@@ -256097,15 +256002,15 @@ function createProgram(context) {
|
|
|
256097
256002
|
program2.addCommand(getDeployCommand2());
|
|
256098
256003
|
program2.addCommand(getLinkCommand());
|
|
256099
256004
|
program2.addCommand(getEjectCommand());
|
|
256100
|
-
program2.addCommand(
|
|
256005
|
+
program2.addCommand(getEntitiesPushCommand());
|
|
256101
256006
|
program2.addCommand(getAgentsCommand());
|
|
256102
256007
|
program2.addCommand(getConnectorsCommand());
|
|
256103
256008
|
program2.addCommand(getFunctionsCommand());
|
|
256104
256009
|
program2.addCommand(getSecretsCommand());
|
|
256010
|
+
program2.addCommand(getAgentSkillsCommand());
|
|
256105
256011
|
program2.addCommand(getAuthCommand());
|
|
256106
256012
|
program2.addCommand(getSiteCommand());
|
|
256107
256013
|
program2.addCommand(getTypesCommand());
|
|
256108
|
-
program2.addCommand(getAutomationsCommand());
|
|
256109
256014
|
program2.addCommand(getExecCommand());
|
|
256110
256015
|
program2.addCommand(getDevCommand(), { hidden: true });
|
|
256111
256016
|
program2.addCommand(getLogsCommand());
|
|
@@ -260317,7 +260222,7 @@ function addCommandInfoToErrorReporter(program2, errorReporter) {
|
|
|
260317
260222
|
// src/cli/index.ts
|
|
260318
260223
|
var __dirname4 = dirname18(fileURLToPath6(import.meta.url));
|
|
260319
260224
|
async function runCLI(options8) {
|
|
260320
|
-
ensureNpmAssets(
|
|
260225
|
+
ensureNpmAssets(join25(__dirname4, "../assets"));
|
|
260321
260226
|
const errorReporter = new ErrorReporter;
|
|
260322
260227
|
errorReporter.registerProcessErrorHandlers();
|
|
260323
260228
|
const isNonInteractive = !process.stdin.isTTY || !process.stdout.isTTY;
|
|
@@ -260352,4 +260257,4 @@ export {
|
|
|
260352
260257
|
CLIExitError
|
|
260353
260258
|
};
|
|
260354
260259
|
|
|
260355
|
-
//# debugId=
|
|
260260
|
+
//# debugId=C4931A4AAC344DAA64756E2164756E21
|