pushary 1.9.243 → 1.9.244
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/CHANGELOG.md +4 -0
- package/dist/bin/pushary-setup.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.244
|
|
4
|
+
|
|
5
|
+
- When a phone asks to sign in from the QR at "Connect your phone", the terminal now allows it on Y instead of Enter ("If your phone shows the same code, press Y to allow it. Press N to deny."). Setup asks for Enter a moment earlier, to open the browser, so Enter was a key people were already pressing; anyone who scanned the QR from a shared screen could be let in by that habit. Enter now does nothing at that prompt. This is the QR behind `PHONE_QR_SIGN_IN_TERMINAL`, which is off until the phone app release.
|
|
6
|
+
|
|
3
7
|
## 1.9.243
|
|
4
8
|
|
|
5
9
|
- When the phone sign-in QR at "Connect your phone" expires before a phone uses it, setup shows a new one with "That QR expired. Scan this new one:", up to two times. Before, it said "The QR stopped working. Sign in to the Pushary app with the same account instead." It still says that when no new QR can be made, for example once the 15 minutes from the browser approval have passed. A new QR still needs Enter at the terminal before any phone is signed in. This is the QR behind `PHONE_QR_SIGN_IN_TERMINAL`, which is off until the phone app release.
|
|
@@ -1169,7 +1169,7 @@ var REQUEST_TIMEOUT_MS = 1e4;
|
|
|
1169
1169
|
var PHONE_SIGN_IN_POLL_MS = 2e3;
|
|
1170
1170
|
var PHONE_SIGN_IN_ID = /^[0-9a-f]{32}$/;
|
|
1171
1171
|
var PHONE_CODE = /^\d{6}$/;
|
|
1172
|
-
var PHONE_ALLOW_KEY = "
|
|
1172
|
+
var PHONE_ALLOW_KEY = "y";
|
|
1173
1173
|
var PHONE_DENY_KEY = "n";
|
|
1174
1174
|
var PHONE_SIGN_IN_SCAN_LINE = "Scan this with your phone's camera to sign the Pushary app in to this account.";
|
|
1175
1175
|
var PHONE_SIGN_IN_ENDED_LINE = "The QR stopped working. Sign in to the Pushary app with the same account instead.";
|
|
@@ -1264,7 +1264,7 @@ var approveThePhoneWhenItAsks = async (signIn, ui, options, deps = {}) => {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
if (state.kind === "asking") {
|
|
1266
1266
|
writeStatusLine(`${ui.yellow("!")} A phone wants to sign in to this account. Code ${ui.bold(spacedCode(state.code))}`);
|
|
1267
|
-
writeStatusLine(ui.dim("If your phone shows the same code, press
|
|
1267
|
+
writeStatusLine(ui.dim("If your phone shows the same code, press Y to allow it. Press N to deny."));
|
|
1268
1268
|
const choice = await allowOrDeny(options.allow, options.deny, options.woken);
|
|
1269
1269
|
if (choice === "stopped") return "stopped";
|
|
1270
1270
|
const approve = choice === "allow";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushary",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.244",
|
|
4
4
|
"description": "Human-in-the-loop (HITL) for AI agents: ask a person for approvals or answers by push notification. One command connects Claude Code, Codex, Cursor, Gemini CLI and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pushary",
|