forge-workflow 1.1.0 → 1.1.2
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/.claude/settings.local.json +6 -1
- package/bin/forge.js +25 -11
- package/package.json +2 -2
|
@@ -7,7 +7,12 @@
|
|
|
7
7
|
"Bash(npm:*)",
|
|
8
8
|
"Bash(cmd /c \"npm publish --access public\")",
|
|
9
9
|
"Bash(where npm)",
|
|
10
|
-
"Bash(\"C:\\\\Program Files\\\\nodejs\\\\npm.cmd\" publish --access public)"
|
|
10
|
+
"Bash(\"C:\\\\Program Files\\\\nodejs\\\\npm.cmd\" publish --access public)",
|
|
11
|
+
"Bash(\"C:\\\\Program Files\\\\nodejs\\\\npm.cmd\" version patch --no-git-tag-version)",
|
|
12
|
+
"Bash(git add:*)",
|
|
13
|
+
"Bash(git commit:*)",
|
|
14
|
+
"Bash(git push)",
|
|
15
|
+
"Bash(\"C:\\\\Program Files\\\\nodejs\\\\npm.cmd\" pkg fix)"
|
|
11
16
|
]
|
|
12
17
|
}
|
|
13
18
|
}
|
package/bin/forge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Forge v1.1.
|
|
4
|
+
* Forge v1.1.2 - Universal AI Agent Workflow
|
|
5
5
|
* https://github.com/harshanandak/forge
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
@@ -865,7 +865,7 @@ function showBanner(subtitle = 'Universal AI Agent Workflow') {
|
|
|
865
865
|
console.log(' ██╔══╝ ██║ ██║██╔══██╗██║ ██║██╔══╝ ');
|
|
866
866
|
console.log(' ██║ ╚██████╔╝██║ ██║╚██████╔╝███████╗');
|
|
867
867
|
console.log(' ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝');
|
|
868
|
-
console.log(' v1.1.
|
|
868
|
+
console.log(' v1.1.2');
|
|
869
869
|
console.log('');
|
|
870
870
|
if (subtitle) {
|
|
871
871
|
console.log(` ${subtitle}`);
|
|
@@ -1103,10 +1103,14 @@ async function interactiveSetup() {
|
|
|
1103
1103
|
output: process.stdout
|
|
1104
1104
|
});
|
|
1105
1105
|
|
|
1106
|
+
let setupCompleted = false;
|
|
1107
|
+
|
|
1106
1108
|
// Handle Ctrl+C gracefully
|
|
1107
1109
|
rl.on('close', () => {
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
+
if (!setupCompleted) {
|
|
1111
|
+
console.log('\n\nSetup cancelled.');
|
|
1112
|
+
process.exit(0);
|
|
1113
|
+
}
|
|
1110
1114
|
});
|
|
1111
1115
|
|
|
1112
1116
|
// Handle input errors
|
|
@@ -1291,6 +1295,7 @@ async function interactiveSetup() {
|
|
|
1291
1295
|
|
|
1292
1296
|
await configureExternalServices(rl, question, selectedAgents, projectStatus);
|
|
1293
1297
|
|
|
1298
|
+
setupCompleted = true;
|
|
1294
1299
|
rl.close();
|
|
1295
1300
|
|
|
1296
1301
|
// =============================================
|
|
@@ -1298,7 +1303,7 @@ async function interactiveSetup() {
|
|
|
1298
1303
|
// =============================================
|
|
1299
1304
|
console.log('');
|
|
1300
1305
|
console.log('==============================================');
|
|
1301
|
-
console.log(' Forge v1.1.
|
|
1306
|
+
console.log(' Forge v1.1.2 Setup Complete!');
|
|
1302
1307
|
console.log('==============================================');
|
|
1303
1308
|
console.log('');
|
|
1304
1309
|
console.log('What\'s installed:');
|
|
@@ -1505,7 +1510,7 @@ async function quickSetup(selectedAgents, skipExternal) {
|
|
|
1505
1510
|
// Final summary
|
|
1506
1511
|
console.log('');
|
|
1507
1512
|
console.log('==============================================');
|
|
1508
|
-
console.log(' Forge v1.1.
|
|
1513
|
+
console.log(' Forge v1.1.2 Quick Setup Complete!');
|
|
1509
1514
|
console.log('==============================================');
|
|
1510
1515
|
console.log('');
|
|
1511
1516
|
console.log('Next steps:');
|
|
@@ -1523,10 +1528,14 @@ async function interactiveSetupWithFlags(flags) {
|
|
|
1523
1528
|
output: process.stdout
|
|
1524
1529
|
});
|
|
1525
1530
|
|
|
1531
|
+
let setupCompleted = false;
|
|
1532
|
+
|
|
1526
1533
|
// Handle Ctrl+C gracefully
|
|
1527
1534
|
rl.on('close', () => {
|
|
1528
|
-
|
|
1529
|
-
|
|
1535
|
+
if (!setupCompleted) {
|
|
1536
|
+
console.log('\n\nSetup cancelled.');
|
|
1537
|
+
process.exit(0);
|
|
1538
|
+
}
|
|
1530
1539
|
});
|
|
1531
1540
|
|
|
1532
1541
|
// Handle input errors
|
|
@@ -1716,6 +1725,7 @@ async function interactiveSetupWithFlags(flags) {
|
|
|
1716
1725
|
console.log('Skipping external services configuration...');
|
|
1717
1726
|
}
|
|
1718
1727
|
|
|
1728
|
+
setupCompleted = true;
|
|
1719
1729
|
rl.close();
|
|
1720
1730
|
|
|
1721
1731
|
// =============================================
|
|
@@ -1723,7 +1733,7 @@ async function interactiveSetupWithFlags(flags) {
|
|
|
1723
1733
|
// =============================================
|
|
1724
1734
|
console.log('');
|
|
1725
1735
|
console.log('==============================================');
|
|
1726
|
-
console.log(' Forge v1.1.
|
|
1736
|
+
console.log(' Forge v1.1.2 Setup Complete!');
|
|
1727
1737
|
console.log('==============================================');
|
|
1728
1738
|
console.log('');
|
|
1729
1739
|
console.log('What\'s installed:');
|
|
@@ -1843,12 +1853,16 @@ async function main() {
|
|
|
1843
1853
|
input: process.stdin,
|
|
1844
1854
|
output: process.stdout
|
|
1845
1855
|
});
|
|
1856
|
+
let setupCompleted = false;
|
|
1846
1857
|
rl.on('close', () => {
|
|
1847
|
-
|
|
1848
|
-
|
|
1858
|
+
if (!setupCompleted) {
|
|
1859
|
+
console.log('\n\nSetup cancelled.');
|
|
1860
|
+
process.exit(0);
|
|
1861
|
+
}
|
|
1849
1862
|
});
|
|
1850
1863
|
const question = (prompt) => new Promise(resolve => rl.question(prompt, resolve));
|
|
1851
1864
|
await configureExternalServices(rl, question, selectedAgents);
|
|
1865
|
+
setupCompleted = true;
|
|
1852
1866
|
rl.close();
|
|
1853
1867
|
} else {
|
|
1854
1868
|
console.log('');
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forge-workflow",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "9-stage TDD workflow for ALL AI coding agents (Claude, Cursor, Windsurf, Kilo, OpenCode, Copilot, Cline, Roo, Aider, Continue, Antigravity)",
|
|
5
5
|
"bin": {
|
|
6
|
-
"forge": "
|
|
6
|
+
"forge": "bin/forge.js"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
9
|
"postinstall": "node ./bin/forge.js",
|