@agentuity/cli 0.0.27 → 0.0.29

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,CA8J7E"}
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,CAyJ7E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentuity/cli",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./dist/index.d.ts",
@@ -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
- const templates = await fetchTemplates(templateDir, templateBranch);
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');
@@ -112,12 +113,6 @@ export async function runCreateFlow(options: CreateFlowOptions): Promise<void> {
112
113
  }
113
114
  }
114
115
 
115
- // Show directory and name confirmation
116
- if (!skipPrompts) {
117
- tui.info(`📁 Project: ${tui.bold(projectName)}`);
118
- tui.info(`📂 Directory: ${tui.bold(dest)}\n`);
119
- }
120
-
121
116
  // Step 5: Select template
122
117
  let selectedTemplate: TemplateInfo;
123
118
  if (initialTemplate) {