@pushary/agent-hooks 0.64.3 → 0.64.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.64.4
4
+
5
+ ### The shell you ran setup in still exported the key it replaced
6
+
7
+ 0.64.3 stopped a stale export from hiding the working key on disk, and the rc
8
+ file has been rewritten in place since 0.62. Neither reaches the shell you are
9
+ standing in: the export there is still the old key, the environment wins over the
10
+ config file at hook time, and the agent you start in that terminal a minute later
11
+ talks to whichever workspace that key belongs to.
12
+
13
+ `--connect app` mints on every run and is the command onboarding prints, so this
14
+ is the ordinary case rather than an exotic one. Setup now says so under "Still to
15
+ do": open a new terminal, or re-export. No key is printed in that line.
16
+
3
17
  ## 0.64.3
4
18
 
5
19
  ### A stale shell export hid the working key on disk
@@ -1296,6 +1296,11 @@ var main = async () => {
1296
1296
  markStep("save-key");
1297
1297
  const rc = await saveApiKey(trimmedKey);
1298
1298
  const context = { rc };
1299
+ if (envKey && envKey !== trimmedKey) {
1300
+ noteManual(
1301
+ `This shell still exports the previous key (${keyPrefix(envKey)}), and it wins over the one just saved. Open a new terminal before starting an agent here, or re-export PUSHARY_API_KEY.`
1302
+ );
1303
+ }
1299
1304
  const failed = [];
1300
1305
  const completed = [];
1301
1306
  const skipped = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushary/agent-hooks",
3
- "version": "0.64.3",
3
+ "version": "0.64.4",
4
4
  "description": "Permission hooks for AI coding agents: route tool approvals through Pushary push notifications",
5
5
  "keywords": [
6
6
  "pushary",