@agentuity/cli 0.0.27 → 0.0.28
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-flow.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/template-flow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAO3C,UAAU,iBAAiB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"template-flow.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/template-flow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAO3C,UAAU,iBAAiB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA+J7E"}
|
package/package.json
CHANGED
|
@@ -38,12 +38,13 @@ export async function runCreateFlow(options: CreateFlowOptions): Promise<void> {
|
|
|
38
38
|
// Step 1: Fetch available templates
|
|
39
39
|
if (templateDir) {
|
|
40
40
|
tui.info(`📋 Loading templates from local directory: ${templateDir}...\n`);
|
|
41
|
-
} else if (templateBranch) {
|
|
42
|
-
tui.info(`📋 Fetching available templates from branch: ${templateBranch}...\n`);
|
|
43
|
-
} else {
|
|
44
|
-
tui.info('📋 Fetching available templates...\n');
|
|
45
41
|
}
|
|
46
|
-
|
|
42
|
+
|
|
43
|
+
let templates: TemplateInfo[] = [];
|
|
44
|
+
|
|
45
|
+
await tui.spinner('Fetching templates', async () => {
|
|
46
|
+
templates = await fetchTemplates(templateDir, templateBranch);
|
|
47
|
+
});
|
|
47
48
|
|
|
48
49
|
if (templates.length === 0) {
|
|
49
50
|
logger.fatal('No templates available');
|