sticky-note-cli 3.1.3 → 3.1.4
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/bin/cli.js +9 -1
- package/package.json +2 -2
package/bin/cli.js
CHANGED
|
@@ -673,9 +673,17 @@ async function cmdInit() {
|
|
|
673
673
|
|
|
674
674
|
if (!cloudResult) {
|
|
675
675
|
// installed — now authenticate (opens browser, runs interactively)
|
|
676
|
+
// stdin is piped with "n\n" to auto-decline wrangler's post-login
|
|
677
|
+
// "install Cloudflare skills?" prompt, which can't be answered inside
|
|
678
|
+
// Claude Code's session. stdout/stderr are inherited so the browser
|
|
679
|
+
// URL and success message still appear in the terminal.
|
|
676
680
|
print("\n Authenticating with Cloudflare (this will open your browser)...\n");
|
|
677
681
|
try {
|
|
678
|
-
execSync("wrangler login", {
|
|
682
|
+
execSync("wrangler login", {
|
|
683
|
+
stdio: ["pipe", "inherit", "inherit"],
|
|
684
|
+
input: "n\n",
|
|
685
|
+
encoding: "utf-8",
|
|
686
|
+
});
|
|
679
687
|
print("\n [OK] Logged in to Cloudflare");
|
|
680
688
|
} catch (err) {
|
|
681
689
|
print(" [ERR] wrangler login failed: " + (err.message || err));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sticky-note-cli",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "Human-to-human handoff for AI coding assistants. Git-backed shared memory for Claude Code and Copilot CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"test": "node test/smoke.test.js"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"sticky-note-cli": "^3.1.
|
|
37
|
+
"sticky-note-cli": "^3.1.3"
|
|
38
38
|
}
|
|
39
39
|
}
|