@pushary/agent-hooks 0.64.4 → 0.65.0

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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.65.0
4
+
5
+ ### The pairing QR now works when you scan it with your phone camera
6
+
7
+ It did not. Scanning it opened the app on "Unmatched Route", and the only way
8
+ through was the in-app scanner, which parses the QR itself and never routes.
9
+
10
+ The QR encoded `https://pushary.com/app/pair`, and `/app/*` is claimed by the
11
+ app: the AASA lists it and so does the Android manifest. The OS therefore handed
12
+ the link to the app before the page could load, which was the intent. What it
13
+ handed over was the path `/app/pair`, and the app's pairing screen is `/pair`.
14
+ Nothing matched, on every build ever shipped.
15
+
16
+ The QR points at `/pair` now. Nothing claims it, so the browser always opens it,
17
+ and the page hands off to `pushary://pair`, which every shipped build already
18
+ routes correctly. That is the whole reason for the move: the Android claim is
19
+ compiled into the installed app, so no amount of server or app-store work fixes
20
+ the phones already out there, and this does, today.
21
+
22
+ `/app/pair` still serves the same page, so a link from an older CLI is not dead.
23
+
3
24
  ## 0.64.4
4
25
 
5
26
  ### The shell you ran setup in still exported the key it replaced
@@ -6,7 +6,7 @@ import {
6
6
  confirmAppConnection,
7
7
  connectDevice,
8
8
  printConnectInstructions
9
- } from "../chunk-GFHQ26ST.js";
9
+ } from "../chunk-LZLXTM7P.js";
10
10
  import "../chunk-3EGEA4KH.js";
11
11
  import {
12
12
  readKeySource
@@ -34,7 +34,7 @@ import {
34
34
  describeReach,
35
35
  fetchChannels,
36
36
  reachVerdict
37
- } from "../chunk-GFHQ26ST.js";
37
+ } from "../chunk-LZLXTM7P.js";
38
38
  import "../chunk-3EGEA4KH.js";
39
39
  import {
40
40
  keyPrefix,
@@ -45,7 +45,7 @@ import {
45
45
  connectViaAppPairing,
46
46
  printConnectInstructions,
47
47
  setHumanStream
48
- } from "../chunk-GFHQ26ST.js";
48
+ } from "../chunk-LZLXTM7P.js";
49
49
  import "../chunk-3EGEA4KH.js";
50
50
  import {
51
51
  KEY_FILE_MODE,
@@ -7,7 +7,7 @@ import {
7
7
  describeReach,
8
8
  fetchChannels,
9
9
  reachVerdict
10
- } from "../chunk-GFHQ26ST.js";
10
+ } from "../chunk-LZLXTM7P.js";
11
11
  import "../chunk-3EGEA4KH.js";
12
12
  import {
13
13
  readKeySource
@@ -490,7 +490,7 @@ var buildPairLinks = (pairId, publicKeyB64, baseUrl = apiBase()) => {
490
490
  const id = encodeURIComponent(pairId);
491
491
  const pk = encodeURIComponent(publicKeyB64);
492
492
  return {
493
- universalLink: `${baseUrl.replace(/\/+$/, "")}/app/pair?id=${id}&pk=${pk}`,
493
+ universalLink: `${baseUrl.replace(/\/+$/, "")}/pair?id=${id}&pk=${pk}`,
494
494
  deepLink: `pushary://pair?pk=${pk}&id=${id}`
495
495
  };
496
496
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushary/agent-hooks",
3
- "version": "0.64.4",
3
+ "version": "0.65.0",
4
4
  "description": "Permission hooks for AI coding agents: route tool approvals through Pushary push notifications",
5
5
  "keywords": [
6
6
  "pushary",