@iservu-inc/adf-cli 0.1.4 → 0.1.5

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.
@@ -81,6 +81,29 @@ async function init(options) {
81
81
  documentationUrls = urls;
82
82
  }
83
83
 
84
+ // Gather local documentation files (optional)
85
+ const { hasLocalDocs } = await inquirer.prompt([
86
+ {
87
+ type: 'confirm',
88
+ name: 'hasLocalDocs',
89
+ message: 'Do you have local documentation files to include? (use "." as the project root folder & add like so "./docs/")',
90
+ default: false
91
+ }
92
+ ]);
93
+
94
+ let documentationFiles = [];
95
+ if (hasLocalDocs) {
96
+ const { files } = await inquirer.prompt([
97
+ {
98
+ type: 'input',
99
+ name: 'files',
100
+ message: 'Enter local documentation paths (comma-separated, e.g., ./docs/, ./README.md):',
101
+ filter: (input) => input.split(',').map(file => file.trim()).filter(Boolean)
102
+ }
103
+ ]);
104
+ documentationFiles = files;
105
+ }
106
+
84
107
  // Copy framework templates
85
108
  const copySpinner = ora('Copying framework files...').start();
86
109
  await copyTemplates(cwd);
@@ -91,6 +114,7 @@ async function init(options) {
91
114
  workflow,
92
115
  projectType: projectType.type,
93
116
  documentationUrls,
117
+ documentationFiles,
94
118
  timestamp: new Date().toISOString()
95
119
  });
96
120
 
@@ -176,6 +176,7 @@ function generateContextFile(data) {
176
176
  workflow: data.workflow,
177
177
  projectType: data.projectType,
178
178
  documentationUrls: data.documentationUrls || [],
179
+ documentationFiles: data.documentationFiles || [],
179
180
  createdAt: data.timestamp,
180
181
  agents: getAgentsForWorkflow(data.workflow),
181
182
  templates: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iservu-inc/adf-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "CLI tool for AgentDevFramework - AI-assisted development framework",
5
5
  "main": "index.js",
6
6
  "bin": {