@axiomatic-labs/claudeflow 2.0.27 → 2.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.
- package/lib/auth.js +13 -3
- package/package.json +1 -1
package/lib/auth.js
CHANGED
|
@@ -93,13 +93,23 @@ function promptForToken() {
|
|
|
93
93
|
output: process.stdout,
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
+
let resolved = false;
|
|
97
|
+
|
|
96
98
|
rl.question(` Paste your token: `, (answer) => {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
if (!resolved) {
|
|
100
|
+
resolved = true;
|
|
101
|
+
rl.close();
|
|
102
|
+
resolve(answer || null);
|
|
103
|
+
}
|
|
99
104
|
});
|
|
100
105
|
|
|
101
106
|
// Handle Ctrl+C / closed stream
|
|
102
|
-
rl.on('close', () =>
|
|
107
|
+
rl.on('close', () => {
|
|
108
|
+
if (!resolved) {
|
|
109
|
+
resolved = true;
|
|
110
|
+
resolve(null);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
103
113
|
});
|
|
104
114
|
}
|
|
105
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiomatic-labs/claudeflow",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.28",
|
|
4
4
|
"description": "Claudeflow — AI-powered development toolkit for Claude Code. Skills, agents, hooks, and quality gates that ship production apps.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"claudeflow": "./bin/cli.js"
|