workflow-ai 1.0.43 → 1.0.44
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/package.json +7 -1
- package/src/init.mjs +15 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"description": "AI Agent Workflow Coordinator — kanban-based pipeline for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,6 +21,12 @@
|
|
|
21
21
|
"configs/",
|
|
22
22
|
"agent-templates/"
|
|
23
23
|
],
|
|
24
|
+
"exports": {
|
|
25
|
+
"./lib/find-root.mjs": "./src/lib/find-root.mjs",
|
|
26
|
+
"./lib/utils.mjs": "./src/lib/utils.mjs",
|
|
27
|
+
"./lib/logger.mjs": "./src/lib/logger.mjs",
|
|
28
|
+
"./lib/js-yaml.mjs": "./src/lib/js-yaml.mjs"
|
|
29
|
+
},
|
|
24
30
|
"engines": {
|
|
25
31
|
"node": ">=18.0.0"
|
|
26
32
|
},
|
package/src/init.mjs
CHANGED
|
@@ -237,7 +237,18 @@ function generateQwenMd(workflowRoot, projectRoot, packageRoot) {
|
|
|
237
237
|
*/
|
|
238
238
|
function updateGitignore(projectRoot) {
|
|
239
239
|
const gitignorePath = join(projectRoot, '.gitignore');
|
|
240
|
-
const linesToAdd = [
|
|
240
|
+
const linesToAdd = [
|
|
241
|
+
'',
|
|
242
|
+
'# Workflow AI specific',
|
|
243
|
+
'.workflow-state/',
|
|
244
|
+
'.cache/',
|
|
245
|
+
'.workflow/',
|
|
246
|
+
'',
|
|
247
|
+
'# AI',
|
|
248
|
+
'QWEN.md',
|
|
249
|
+
'CLAUDE.md',
|
|
250
|
+
'.kilocode/',
|
|
251
|
+
];
|
|
241
252
|
|
|
242
253
|
let currentContent = '';
|
|
243
254
|
if (existsSync(gitignorePath)) {
|
|
@@ -246,10 +257,9 @@ function updateGitignore(projectRoot) {
|
|
|
246
257
|
|
|
247
258
|
const existingLines = currentContent.split('\n').map(line => line.trim());
|
|
248
259
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
260
|
+
const newLines = linesToAdd.filter(line => line === '' || !existingLines.includes(line));
|
|
261
|
+
if (newLines.some(line => line !== '')) {
|
|
262
|
+
appendFileSync(gitignorePath, newLines.join('\n') + '\n');
|
|
253
263
|
}
|
|
254
264
|
}
|
|
255
265
|
|