@base44-preview/cli 0.3.1-pr.691.a548bfb → 0.3.1-pr.692.8cd7d7b
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 +7 -16
- package/dist/cli/index.js.map +7 -7
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -230773,7 +230773,6 @@ var ProjectConfigSchema = object({
|
|
|
230773
230773
|
functionsDir: string2().optional().default("functions"),
|
|
230774
230774
|
actorsDir: string2().optional().default("actors"),
|
|
230775
230775
|
agentsDir: string2().optional().default("agents"),
|
|
230776
|
-
workflowsDir: string2().optional().default("workflows"),
|
|
230777
230776
|
agentSkillsDir: string2().optional().default("agent-skills"),
|
|
230778
230777
|
connectorsDir: string2().optional().default("connectors"),
|
|
230779
230778
|
authDir: string2().optional().default("auth"),
|
|
@@ -247059,7 +247058,6 @@ async function resolveBuildTarget(projectRoot, overrides = {}) {
|
|
|
247059
247058
|
outputDir: resolve6(root, overrides.outputDir ?? site.outputDirectory ?? DEFAULT_SITE.outputDirectory),
|
|
247060
247059
|
entitiesDir: project?.entitiesDir ?? "entities",
|
|
247061
247060
|
agentsDir: project?.agentsDir ?? "agents",
|
|
247062
|
-
workflowsDir: project?.workflowsDir ?? "workflows",
|
|
247063
247061
|
functionsDir: project?.functionsDir ?? "functions",
|
|
247064
247062
|
actorsDir: project?.actorsDir ?? "actors"
|
|
247065
247063
|
};
|
|
@@ -252864,7 +252862,6 @@ async function createVersion(artifacts, options = {}) {
|
|
|
252864
252862
|
actors: artifacts.actors.map(declaredActor),
|
|
252865
252863
|
entities: artifacts.entities,
|
|
252866
252864
|
agents: artifacts.agents,
|
|
252867
|
-
workflows: artifacts.workflows,
|
|
252868
252865
|
source_commit: options.sourceCommit
|
|
252869
252866
|
}, "declaring a version")).json(), "declare");
|
|
252870
252867
|
const declaredFiles = [
|
|
@@ -264524,16 +264521,14 @@ async function describeSiteWorker(built) {
|
|
|
264524
264521
|
servingConfig: config.assetsConfig
|
|
264525
264522
|
};
|
|
264526
264523
|
}
|
|
264527
|
-
async function readRawResources(dir
|
|
264524
|
+
async function readRawResources(dir) {
|
|
264528
264525
|
if (!await pathExists(dir)) {
|
|
264529
264526
|
return {};
|
|
264530
264527
|
}
|
|
264531
|
-
const
|
|
264532
|
-
const files = await globby(`**/*.${extensions}`, {
|
|
264528
|
+
const files = await globby(`**/*.${CONFIG_FILE_EXTENSION_GLOB}`, {
|
|
264533
264529
|
cwd: dir,
|
|
264534
264530
|
onlyFiles: true,
|
|
264535
|
-
followSymbolicLinks: false
|
|
264536
|
-
dot: options.dot ?? false
|
|
264531
|
+
followSymbolicLinks: false
|
|
264537
264532
|
});
|
|
264538
264533
|
const payloads = {};
|
|
264539
264534
|
for (const relativePath of files.sort()) {
|
|
@@ -264543,15 +264538,11 @@ async function readRawResources(dir, options = {}) {
|
|
|
264543
264538
|
return payloads;
|
|
264544
264539
|
}
|
|
264545
264540
|
async function collectResources(configDir, dirs) {
|
|
264546
|
-
const [entities, agents
|
|
264541
|
+
const [entities, agents] = await Promise.all([
|
|
264547
264542
|
readRawResources(join30(configDir, dirs.entitiesDir)),
|
|
264548
|
-
readRawResources(join30(configDir, dirs.agentsDir))
|
|
264549
|
-
readRawResources(join30(configDir, dirs.workflowsDir), {
|
|
264550
|
-
extensions: CONFIG_FILE_EXTENSION,
|
|
264551
|
-
dot: true
|
|
264552
|
-
})
|
|
264543
|
+
readRawResources(join30(configDir, dirs.agentsDir))
|
|
264553
264544
|
]);
|
|
264554
|
-
return { entities, agents
|
|
264545
|
+
return { entities, agents };
|
|
264555
264546
|
}
|
|
264556
264547
|
async function collectArtifacts(target) {
|
|
264557
264548
|
const built = await resolveFullStackBuild(target.root);
|
|
@@ -275051,4 +275042,4 @@ export {
|
|
|
275051
275042
|
runCLI
|
|
275052
275043
|
};
|
|
275053
275044
|
|
|
275054
|
-
//# debugId=
|
|
275045
|
+
//# debugId=B638BBD3E1A945A364756E2164756E21
|