@base44-preview/cli 0.3.1-pr.691.c21893d → 0.3.1-pr.692.21a6ac0
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 +6 -10
- 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,11 +264521,11 @@ 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 files = await globby(`**/*.${
|
|
264528
|
+
const files = await globby(`**/*.${CONFIG_FILE_EXTENSION_GLOB}`, {
|
|
264532
264529
|
cwd: dir,
|
|
264533
264530
|
onlyFiles: true,
|
|
264534
264531
|
followSymbolicLinks: false
|
|
@@ -264541,12 +264538,11 @@ async function readRawResources(dir, extensions = CONFIG_FILE_EXTENSION_GLOB) {
|
|
|
264541
264538
|
return payloads;
|
|
264542
264539
|
}
|
|
264543
264540
|
async function collectResources(configDir, dirs) {
|
|
264544
|
-
const [entities, agents
|
|
264541
|
+
const [entities, agents] = await Promise.all([
|
|
264545
264542
|
readRawResources(join30(configDir, dirs.entitiesDir)),
|
|
264546
|
-
readRawResources(join30(configDir, dirs.agentsDir))
|
|
264547
|
-
readRawResources(join30(configDir, dirs.workflowsDir), CONFIG_FILE_EXTENSION)
|
|
264543
|
+
readRawResources(join30(configDir, dirs.agentsDir))
|
|
264548
264544
|
]);
|
|
264549
|
-
return { entities, agents
|
|
264545
|
+
return { entities, agents };
|
|
264550
264546
|
}
|
|
264551
264547
|
async function collectArtifacts(target) {
|
|
264552
264548
|
const built = await resolveFullStackBuild(target.root);
|
|
@@ -275046,4 +275042,4 @@ export {
|
|
|
275046
275042
|
runCLI
|
|
275047
275043
|
};
|
|
275048
275044
|
|
|
275049
|
-
//# debugId=
|
|
275045
|
+
//# debugId=B638BBD3E1A945A364756E2164756E21
|