@pushary/agent-hooks 0.94.0 → 0.95.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/data/cursor-plugin/CONTRIBUTING.md +31 -19
  3. package/data/vscode-plugin/CONTRIBUTING.md +31 -19
  4. package/dist/bin/pushary-bell-hook.js +22 -1
  5. package/dist/bin/pushary-bell.js +3 -3
  6. package/dist/bin/pushary-claude.js +335 -357
  7. package/dist/bin/pushary-clean.js +21 -16
  8. package/dist/bin/pushary-codex-bridge.js +6 -6
  9. package/dist/bin/pushary-codex-hook.js +20 -2
  10. package/dist/bin/pushary-codex.js +1 -1
  11. package/dist/bin/pushary-connect.js +3 -3
  12. package/dist/bin/pushary-daemon.js +33 -18
  13. package/dist/bin/pushary-disconnect.js +4 -2
  14. package/dist/bin/pushary-doctor.js +31 -28
  15. package/dist/bin/pushary-elicitation-hook.js +21 -1
  16. package/dist/bin/pushary-gemini-bridge.js +6 -6
  17. package/dist/bin/pushary-gemini-hook.js +20 -2
  18. package/dist/bin/pushary-hook.js +20 -3
  19. package/dist/bin/pushary-login.js +3 -3
  20. package/dist/bin/pushary-logout.js +3 -3
  21. package/dist/bin/pushary-mode.js +3 -3
  22. package/dist/bin/pushary-notification-hook.js +20 -2
  23. package/dist/bin/pushary-opencode-hook.js +20 -2
  24. package/dist/bin/pushary-permission-denied-hook.js +21 -3
  25. package/dist/bin/pushary-permission-hook.js +21 -3
  26. package/dist/bin/pushary-post-hook.js +20 -2
  27. package/dist/bin/pushary-prompt-hook.js +20 -2
  28. package/dist/bin/pushary-session-end-hook.js +24 -3
  29. package/dist/bin/pushary-session-start-hook.js +23 -8
  30. package/dist/bin/pushary-setup.js +47 -41
  31. package/dist/bin/pushary-status.js +3 -3
  32. package/dist/bin/pushary-stop-hook.js +20 -2
  33. package/dist/bin/pushary-stopfailure-hook.js +20 -2
  34. package/dist/bin/pushary-suggestions.js +3 -3
  35. package/dist/bin/pushary-transcript-register.d.ts +1 -0
  36. package/dist/bin/pushary-transcript-register.js +42 -0
  37. package/dist/bin/pushary-transcripts.js +1 -1
  38. package/dist/bin/pushary-upgrade.js +11 -10
  39. package/dist/bin/pushary-wait.js +3 -3
  40. package/dist/{chunk-6WYL3XIP.js → chunk-2WVDQVI5.js} +3 -2
  41. package/dist/{chunk-HSAVPZ46.js → chunk-5SJ54JJO.js} +1 -1
  42. package/dist/{chunk-QKNLW7H6.js → chunk-6LQAGVG2.js} +1 -1
  43. package/dist/{chunk-OB4RF2TF.js → chunk-AYJ7NH5S.js} +1 -1
  44. package/dist/chunk-BMOFXRGS.js +185 -0
  45. package/dist/chunk-FH3YLP5Z.js +194 -0
  46. package/dist/chunk-GHCGSEPE.js +86 -0
  47. package/dist/chunk-GI5UQSG7.js +266 -0
  48. package/dist/{chunk-ZO2XG3CX.js → chunk-LSXJH2HB.js} +1 -1
  49. package/dist/{chunk-YANV5TGK.js → chunk-MDQOBG5J.js} +1 -84
  50. package/dist/chunk-N6FAXQDD.js +276 -0
  51. package/dist/{chunk-5HGLZGI4.js → chunk-OXTRFRMD.js} +1 -0
  52. package/dist/chunk-PQ4K74WL.js +30 -0
  53. package/dist/{chunk-46P3VES5.js → chunk-Q5UFC2QK.js} +1 -0
  54. package/dist/{chunk-36LR2LOT.js → chunk-SFCGKE6U.js} +8 -6
  55. package/dist/{chunk-6CUUA7HO.js → chunk-XY4GSZ3K.js} +7 -1
  56. package/dist/chunk-YGZXYEVY.js +503 -0
  57. package/dist/src/index.js +5 -5
  58. package/package.json +3 -2
  59. package/dist/chunk-FYOIW5RV.js +0 -539
  60. package/dist/chunk-RX75MRGC.js +0 -368
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.95.0
4
+
5
+ Requires the additive session-control and encrypted transcript-preview server routes before rollout.
6
+
7
+ - Capture opted-in direct Claude terminal transcripts through the daemon, including Mac-owned hooks when this CLI is installed. Normalize explicit Codex rollout paths.
8
+ - Keep native terminals open for ordinary phone messages; require explicit phone takeover and resume the verified native session identity.
9
+ - Wait for native process exit before SDK control, preserve queued instructions across mode changes, and acknowledge only accepted commands.
10
+ - Stream redacted, encrypted SDK text previews using the existing acknowledged session key; completed transcript records remain authoritative.
11
+
3
12
  ## 0.94.0
4
13
 
5
14
  - Align Node compatibility with setup dependencies; unsupported runtimes receive an upgrade message before a command loads.
@@ -1,28 +1,40 @@
1
1
  # Contributing
2
2
 
3
- Thanks for looking. Please read this before opening a pull request, because of
4
- where this code lives.
3
+ Bug reports, documentation fixes, runnable examples, and patches are welcome.
4
+ Open an issue in this public repository, or fork it and open a pull request here.
5
+ You do not need access to Pushary's private repository to contribute.
5
6
 
6
- **This repository is a published copy, not the place the code is written.** The
7
- source is a directory inside Pushary's private monorepo, and it is pushed here
8
- whenever it changes. Anything committed directly to this repo is overwritten by
9
- the next publish.
7
+ ## Start small
10
8
 
11
- That is not hypothetical. Two pull requests were merged here and then sat
12
- stranded for a month, because nothing carried them back upstream and the next
13
- publish would have deleted them.
9
+ Pick an unassigned `good first issue`, explain the change you plan, and include
10
+ steps that another developer can use to verify it. For a bug, include the package
11
+ and framework versions, your OS, expected behavior, and a minimal reproduction.
12
+ Never include API keys, enrollment links, customer data, or private transcripts.
14
13
 
15
- ## So what should you do
14
+ For a JavaScript adapter, run `npm install`, `npm run typecheck`, `npm test`, and
15
+ `npm run build` in your clone. Follow the README for Python or plugin-specific
16
+ setup. Documentation changes should have working links and commands you tried.
16
17
 
17
- **Open an issue.** Bugs, missing behaviour, a patch you have already written and
18
- want applied: an issue is read and acted on, and the fix is made upstream and
19
- published here. Paste your diff into the issue if you have one, and it will be
20
- credited.
18
+ ## How your patch ships
21
19
 
22
- **Security issues**: email aadil@pushary.com rather than opening an issue.
20
+ This repository is a public mirror of a directory in Pushary's private monorepo.
21
+ We review your PR here, then apply accepted changes upstream before publishing
22
+ this mirror. A direct merge into the mirror could be overwritten by the next sync.
23
23
 
24
- ## If you do open a pull request
24
+ The maintainer handling your PR will:
25
25
 
26
- It will not be merged as a pull request, because merging it would guarantee it
27
- gets erased. It will be treated as a patch submission: applied upstream, and
28
- this repo updated on the next publish. You will be told when that has happened.
26
+ 1. Review the patch and discuss requested changes in the public PR.
27
+ 2. Apply accepted changes upstream, retaining author attribution in that commit.
28
+ 3. Run the relevant checks, release a package if needed, and sync this repository.
29
+ 4. Link the public sync commit and released version (when applicable) back to your
30
+ PR, credit your contribution publicly, then close it as shipped.
31
+
32
+ Public sync commits squash private history, so upstream author attribution does
33
+ not automatically appear in this mirror's GitHub contributor graph. The public
34
+ PR and shipping comment preserve visible credit. An upstream-only patch is not
35
+ considered shipped. If we cannot accept a change, we explain why on the PR.
36
+
37
+ ## Security
38
+
39
+ Report vulnerabilities privately to aadil@pushary.com instead of opening a public
40
+ issue. If this repository has a SECURITY.md, follow its disclosure guidance.
@@ -1,28 +1,40 @@
1
1
  # Contributing
2
2
 
3
- Thanks for looking. Please read this before opening a pull request, because of
4
- where this code lives.
3
+ Bug reports, documentation fixes, runnable examples, and patches are welcome.
4
+ Open an issue in this public repository, or fork it and open a pull request here.
5
+ You do not need access to Pushary's private repository to contribute.
5
6
 
6
- **This repository is a published copy, not the place the code is written.** The
7
- source is a directory inside Pushary's private monorepo, and it is pushed here
8
- whenever it changes. Anything committed directly to this repo is overwritten by
9
- the next publish.
7
+ ## Start small
10
8
 
11
- That is not hypothetical. Two pull requests were merged here and then sat
12
- stranded for a month, because nothing carried them back upstream and the next
13
- publish would have deleted them.
9
+ Pick an unassigned `good first issue`, explain the change you plan, and include
10
+ steps that another developer can use to verify it. For a bug, include the package
11
+ and framework versions, your OS, expected behavior, and a minimal reproduction.
12
+ Never include API keys, enrollment links, customer data, or private transcripts.
14
13
 
15
- ## So what should you do
14
+ For a JavaScript adapter, run `npm install`, `npm run typecheck`, `npm test`, and
15
+ `npm run build` in your clone. Follow the README for Python or plugin-specific
16
+ setup. Documentation changes should have working links and commands you tried.
16
17
 
17
- **Open an issue.** Bugs, missing behaviour, a patch you have already written and
18
- want applied: an issue is read and acted on, and the fix is made upstream and
19
- published here. Paste your diff into the issue if you have one, and it will be
20
- credited.
18
+ ## How your patch ships
21
19
 
22
- **Security issues**: email aadil@pushary.com rather than opening an issue.
20
+ This repository is a public mirror of a directory in Pushary's private monorepo.
21
+ We review your PR here, then apply accepted changes upstream before publishing
22
+ this mirror. A direct merge into the mirror could be overwritten by the next sync.
23
23
 
24
- ## If you do open a pull request
24
+ The maintainer handling your PR will:
25
25
 
26
- It will not be merged as a pull request, because merging it would guarantee it
27
- gets erased. It will be treated as a patch submission: applied upstream, and
28
- this repo updated on the next publish. You will be told when that has happened.
26
+ 1. Review the patch and discuss requested changes in the public PR.
27
+ 2. Apply accepted changes upstream, retaining author attribution in that commit.
28
+ 3. Run the relevant checks, release a package if needed, and sync this repository.
29
+ 4. Link the public sync commit and released version (when applicable) back to your
30
+ PR, credit your contribution publicly, then close it as shipped.
31
+
32
+ Public sync commits squash private history, so upstream author attribution does
33
+ not automatically appear in this mirror's GitHub contributor graph. The public
34
+ PR and shipping comment preserve visible credit. An upstream-only patch is not
35
+ considered shipped. If we cannot accept a change, we explain why on the PR.
36
+
37
+ ## Security
38
+
39
+ Report vulnerabilities privately to aadil@pushary.com instead of opening a public
40
+ issue. If this repository has a SECURITY.md, follow its disclosure guidance.
@@ -4,9 +4,30 @@ import {
4
4
  } from "../chunk-RH3TM7TO.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-6CUUA7HO.js";
7
+ } from "../chunk-XY4GSZ3K.js";
8
+ import "../chunk-YGZXYEVY.js";
9
+ import "../chunk-YKLCWWEI.js";
10
+ import "../chunk-GI5UQSG7.js";
11
+ import "../chunk-GHCGSEPE.js";
12
+ import "../chunk-5SJ54JJO.js";
13
+ import "../chunk-ZTJF6ANY.js";
14
+ import "../chunk-BMOFXRGS.js";
15
+ import "../chunk-DSTLA2TC.js";
16
+ import "../chunk-EZIEXHYM.js";
17
+ import "../chunk-Q5UFC2QK.js";
18
+ import "../chunk-EQRS3SGM.js";
19
+ import "../chunk-2WVDQVI5.js";
20
+ import "../chunk-XHKBHWLX.js";
21
+ import "../chunk-L4ZCFMWW.js";
22
+ import "../chunk-Y3UGCQQC.js";
23
+ import "../chunk-NVPYRDCT.js";
24
+ import "../chunk-Y6XXFXVB.js";
25
+ import "../chunk-GMXKITVA.js";
26
+ import "../chunk-DINDL2CF.js";
8
27
  import "../chunk-6BIMJIRG.js";
9
28
  import "../chunk-BC3VCZ3E.js";
29
+ import "../chunk-7QLSKOSU.js";
30
+ import "../chunk-KZERVKTD.js";
10
31
  import "../chunk-ODL52O5V.js";
11
32
  import "../chunk-4LL6LG5X.js";
12
33
  import "../chunk-2UMNXADU.js";
@@ -19,13 +19,13 @@ import {
19
19
  import {
20
20
  createIo
21
21
  } from "../chunk-5RUIFDTP.js";
22
- import {
23
- parseFlags
24
- } from "../chunk-GMXKITVA.js";
25
22
  import {
26
23
  exitOnHelpFlag
27
24
  } from "../chunk-BVBEURWJ.js";
28
25
  import "../chunk-43GMYSS4.js";
26
+ import {
27
+ parseFlags
28
+ } from "../chunk-GMXKITVA.js";
29
29
  import "../chunk-DINDL2CF.js";
30
30
  import "../chunk-6BIMJIRG.js";
31
31
  import "../chunk-BC3VCZ3E.js";