@pushary/agent-hooks 1.1.0 → 1.2.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 (78) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/bin/pushary-bell-hook.js +18 -18
  3. package/dist/bin/pushary-bell.js +6 -6
  4. package/dist/bin/pushary-claude.js +18 -18
  5. package/dist/bin/pushary-clean.js +19 -19
  6. package/dist/bin/pushary-codex-bridge.js +10 -10
  7. package/dist/bin/pushary-codex-hook.js +22 -22
  8. package/dist/bin/pushary-codex.js +6 -6
  9. package/dist/bin/pushary-connect.js +6 -6
  10. package/dist/bin/pushary-cowork.js +3 -3
  11. package/dist/bin/pushary-daemon.js +22 -22
  12. package/dist/bin/pushary-disconnect.js +10 -10
  13. package/dist/bin/pushary-doctor.js +23 -23
  14. package/dist/bin/pushary-elicitation-hook.js +17 -17
  15. package/dist/bin/pushary-gemini-bridge.js +9 -9
  16. package/dist/bin/pushary-gemini-hook.js +19 -19
  17. package/dist/bin/pushary-hook.js +26 -26
  18. package/dist/bin/pushary-login.js +7 -7
  19. package/dist/bin/pushary-logout.js +4 -4
  20. package/dist/bin/pushary-mode.js +3 -3
  21. package/dist/bin/pushary-notification-hook.js +20 -20
  22. package/dist/bin/pushary-opencode-hook.js +19 -19
  23. package/dist/bin/pushary-permission-denied-hook.js +24 -24
  24. package/dist/bin/pushary-permission-hook.js +25 -25
  25. package/dist/bin/pushary-post-hook.js +20 -20
  26. package/dist/bin/pushary-prompt-hook.js +20 -20
  27. package/dist/bin/pushary-session-end-hook.js +20 -20
  28. package/dist/bin/pushary-session-start-hook.js +22 -22
  29. package/dist/bin/pushary-setup.js +26 -26
  30. package/dist/bin/pushary-stats.js +2 -2
  31. package/dist/bin/pushary-status.js +10 -10
  32. package/dist/bin/pushary-stop-hook.js +20 -20
  33. package/dist/bin/pushary-stopfailure-hook.js +20 -20
  34. package/dist/bin/pushary-transcript-register.js +16 -16
  35. package/dist/bin/pushary-transcripts.js +4 -4
  36. package/dist/bin/pushary-upgrade.js +14 -14
  37. package/dist/bin/pushary-wait.js +3 -3
  38. package/dist/{chunk-VACFOGF3.js → chunk-2DT7STR5.js} +1 -1
  39. package/dist/{chunk-LQ3BHPPZ.js → chunk-4UT44NRP.js} +5 -1
  40. package/dist/{chunk-WTT24AUA.js → chunk-5AATCXJN.js} +29 -5
  41. package/dist/{chunk-BBUZD7MU.js → chunk-6QCN5XQE.js} +1 -1
  42. package/dist/{chunk-VQYARC2K.js → chunk-7DQVIIHX.js} +96 -16
  43. package/dist/{chunk-XIHKSZHL.js → chunk-7ERWAYVV.js} +1 -1
  44. package/dist/{chunk-MR2PWE62.js → chunk-7GH3D6YG.js} +7 -8
  45. package/dist/{chunk-UP7NZXJU.js → chunk-7TDQ7KDY.js} +1 -1
  46. package/dist/{chunk-IH7YUPFN.js → chunk-BXLFUTSD.js} +3 -3
  47. package/dist/{chunk-AH5OO2YZ.js → chunk-C3WH44MH.js} +3 -3
  48. package/dist/{chunk-MZUXTN7X.js → chunk-CG4ZUQ5O.js} +2 -2
  49. package/dist/{chunk-6JUCFMSF.js → chunk-CVCSUAXI.js} +3 -3
  50. package/dist/{chunk-EZ3GX3NS.js → chunk-DRAATYTY.js} +5 -5
  51. package/dist/{chunk-YM4G6CFN.js → chunk-ERP7FOFQ.js} +3 -3
  52. package/dist/{chunk-PUDQJ772.js → chunk-JOTV75GX.js} +1 -1
  53. package/dist/{chunk-IPDBFJ2M.js → chunk-JQJB7BZE.js} +1 -1
  54. package/dist/{chunk-ISELLVBP.js → chunk-KEVJ2WW6.js} +1 -1
  55. package/dist/{chunk-2MOQUNFL.js → chunk-KHTBSSY5.js} +1 -1
  56. package/dist/{chunk-DKTFZCLQ.js → chunk-KODKICKJ.js} +6 -6
  57. package/dist/{chunk-J7PJALS2.js → chunk-KZPUARCU.js} +1 -1
  58. package/dist/{chunk-RZTH4MIY.js → chunk-LAXU5U75.js} +2 -2
  59. package/dist/{chunk-PQG6NTPT.js → chunk-LGO7U23Z.js} +1 -1
  60. package/dist/{chunk-S2BNTXP6.js → chunk-LWKVEMVK.js} +1 -1
  61. package/dist/{chunk-FO4HHPMO.js → chunk-OGSRCIOD.js} +1 -1
  62. package/dist/{chunk-PWIMJP4U.js → chunk-PCT2MYG5.js} +6 -6
  63. package/dist/{chunk-EWQZISYV.js → chunk-PX53RT6Q.js} +1 -1
  64. package/dist/{chunk-6T4OINZB.js → chunk-PX54KULQ.js} +3 -3
  65. package/dist/{chunk-LUYYB6V2.js → chunk-RN6ZWIAC.js} +1 -1
  66. package/dist/{chunk-SLEWDZOA.js → chunk-U42ES5U3.js} +1 -1
  67. package/dist/{chunk-INBTKFT6.js → chunk-UWP66NDF.js} +1 -1
  68. package/dist/{chunk-SA6UB3GD.js → chunk-VDOKRCWM.js} +1 -1
  69. package/dist/{chunk-76ZCJZBK.js → chunk-VE2ZWUML.js} +1 -1
  70. package/dist/{chunk-PHJOSAXW.js → chunk-VIQ7CCWW.js} +2 -2
  71. package/dist/{chunk-DZYIAMKR.js → chunk-W6XVHP4U.js} +4 -4
  72. package/dist/{chunk-OYYQHJAO.js → chunk-WC5PYFDK.js} +1 -1
  73. package/dist/{chunk-QACXZYDA.js → chunk-YK3OU4E2.js} +4 -4
  74. package/dist/{chunk-SM54HHVY.js → chunk-YT6H7BB5.js} +21 -14
  75. package/dist/{chunk-E3WQMDCE.js → chunk-ZFQPSGPO.js} +1 -1
  76. package/dist/{reapply-STSGYPF2.js → reapply-47AMVIXN.js} +8 -8
  77. package/dist/src/index.js +12 -12
  78. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.0
4
+
5
+ Nothing to run. These are the gate's own rules, tightened where they were guessing.
6
+
7
+ - A shell command Pushary cannot read is no longer judged on the loosest rule that fits. A tool whose command arrives under a key we do not recognise used to fall through to a bare `Bash` rule, which is always the permissive one; a path in the same position already refused to be judged. Both now say they have no opinion and let the agent ask you. An agent that names its command differently can declare the key instead of losing the gate.
8
+ - An `--agent` Pushary does not recognise stops the hook rather than turning it into Claude Code. A typo in a registered command used to fetch Claude's policy and file the session under Claude's name. Every hook now stands aside and says why, because acting as the wrong agent is worse than not acting.
9
+ - `pushary doctor` calls your hooks intact only when all of them are. It used to accept any single surviving hook as proof, so a config wiped down to one entry read as healthy.
10
+ - Setup no longer counts its own folder as proof you have an agent installed. The directory it writes the config into was being read back as evidence the vendor was there, so ticking an agent once made it look installed forever. Only the agent's own binary counts now.
11
+ - The slowest call we make to Stripe carries its own deadline. Every Stripe call was bounded at five seconds, which is right for the checkout path and too tight for an invoice preview.
12
+
13
+ ## 1.1.0
14
+
15
+ Nothing to run if you are already set up. `pushary setup` writes the new skill;
16
+ so does opening the Mac app, which carries its own copy.
17
+
18
+ - A scope boundary now works for a run that changes no files. `propose_scope` takes `promises`: boundaries that are not paths, such as who you will not email, what you will not spend, and which systems you will not open. They are shown to the approver as "Promised, not checked", recorded in the ledger, and never enforced, because the gate judges a file path and these have none. Saying so is the point: the tool used to return `ratified: true` for a marketing or support run whose contract matched nothing.
19
+ - The tool now reports what it will actually check. `enforces` lists what the contract *contains* that can be checked, and an empty array means nothing in it is. `hookSeen: false` means no hook has ever reported that session id, so the contract is stored under a key the gate will never read. Both were previously invisible: a contract that enforced nothing looked exactly like one that enforced everything.
20
+ - Four glob rules that matched nothing are repaired when they are proposed. `customers`, `docs/`, `**/.env*` and `**/*.test.ts` each validated clean and matched no file. The last two shipped as our own documented examples, so anyone who copied them to protect a root `.env` protected nothing. The missing pattern is added at proposal time rather than by loosening the matcher, which would have widened every contract already live.
21
+ - The approval card is budgeted from the restrictive half outwards. The allow list is the only part that grows, so cutting one joined string at the end dropped the off-limits line, the definition of done and the promises first: exactly the half a person needs in order to say no. Agent-supplied text is flattened to one line, so a promise can no longer forge a row the server wrote.
22
+ - The editor gates carry the scope path again. The Cursor and VS Code gates contained no reference to it, so approving a breach never widened the contract and every further file in the same area asked again. An over-length value is dropped rather than sent, because `ask_user` caps it and a rejected call fails closed.
23
+ - A scope breach says so on the card. A breach judged by the server reached the person as a plain "Allow Edit foo.ts?", with nothing saying a boundary they personally ratified had been crossed.
24
+ - `pushary doctor` names a tool that can take your hooks away. cc-switch replaces `~/.claude/settings.json` wholesale when you switch provider, so Pushary stops firing with no error and nothing to see. Doctor says so while the hooks are still there, and says the mechanism rather than blaming it once they are gone. It diagnoses only: it never rewrites a config because somebody else's software is installed.
25
+ - The installed skill goes to 0.10.0. It breaks a task into steps before asking anything, settles every fork a file or a command can answer, and asks the rest as one numbered round. A question in the terminal is free and a push is not, so the whole round goes to the terminal when you are there and only the blocking one crosses to your phone. Setup now branches on the machine instead of assuming one path.
26
+
3
27
  ## 1.0.0
4
28
 
5
29
  Run `pushary setup` and tick the agents you use. Five more are on the list: Qwen Code, CodeBuddy, Qoder, Droid and Devin CLI. Nothing changes for an agent you already had wired.
@@ -1,35 +1,35 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  handleBell
4
- } from "../chunk-XIHKSZHL.js";
4
+ } from "../chunk-7ERWAYVV.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-LQ3BHPPZ.js";
8
- import "../chunk-PWIMJP4U.js";
7
+ } from "../chunk-4UT44NRP.js";
8
+ import "../chunk-PCT2MYG5.js";
9
9
  import "../chunk-YKLCWWEI.js";
10
- import "../chunk-DZYIAMKR.js";
11
- import "../chunk-OYYQHJAO.js";
12
- import "../chunk-SLEWDZOA.js";
13
- import "../chunk-AH5OO2YZ.js";
14
- import "../chunk-6JUCFMSF.js";
15
- import "../chunk-YM4G6CFN.js";
16
- import "../chunk-SA6UB3GD.js";
17
- import "../chunk-BBUZD7MU.js";
10
+ import "../chunk-W6XVHP4U.js";
11
+ import "../chunk-WC5PYFDK.js";
12
+ import "../chunk-U42ES5U3.js";
13
+ import "../chunk-C3WH44MH.js";
14
+ import "../chunk-CVCSUAXI.js";
15
+ import "../chunk-ERP7FOFQ.js";
16
+ import "../chunk-VDOKRCWM.js";
17
+ import "../chunk-6QCN5XQE.js";
18
18
  import "../chunk-EQRS3SGM.js";
19
- import "../chunk-2MOQUNFL.js";
19
+ import "../chunk-KHTBSSY5.js";
20
20
  import "../chunk-XHKBHWLX.js";
21
- import "../chunk-INBTKFT6.js";
22
- import "../chunk-J7PJALS2.js";
23
- import "../chunk-EWQZISYV.js";
21
+ import "../chunk-UWP66NDF.js";
22
+ import "../chunk-KZPUARCU.js";
23
+ import "../chunk-PX53RT6Q.js";
24
24
  import "../chunk-GMXKITVA.js";
25
25
  import "../chunk-DINDL2CF.js";
26
- import "../chunk-UP7NZXJU.js";
26
+ import "../chunk-7TDQ7KDY.js";
27
27
  import "../chunk-7QLSKOSU.js";
28
28
  import "../chunk-KZERVKTD.js";
29
- import "../chunk-E3WQMDCE.js";
29
+ import "../chunk-ZFQPSGPO.js";
30
30
  import "../chunk-4LL6LG5X.js";
31
31
  import "../chunk-2UMNXADU.js";
32
- import "../chunk-VQYARC2K.js";
32
+ import "../chunk-7DQVIIHX.js";
33
33
 
34
34
  // bin/pushary-bell-hook.ts
35
35
  var main = async () => {
@@ -5,15 +5,15 @@ import {
5
5
  liveAgentCount,
6
6
  ring,
7
7
  upgradeThreshold
8
- } from "../chunk-XIHKSZHL.js";
8
+ } from "../chunk-7ERWAYVV.js";
9
9
  import {
10
10
  addBellHooks,
11
11
  bellInstalled,
12
12
  removeBellHooks
13
- } from "../chunk-SA6UB3GD.js";
13
+ } from "../chunk-VDOKRCWM.js";
14
14
  import {
15
15
  claudeSettings
16
- } from "../chunk-EWQZISYV.js";
16
+ } from "../chunk-PX53RT6Q.js";
17
17
  import {
18
18
  createIo
19
19
  } from "../chunk-5RUIFDTP.js";
@@ -25,18 +25,18 @@ import {
25
25
  parseFlags
26
26
  } from "../chunk-GMXKITVA.js";
27
27
  import "../chunk-DINDL2CF.js";
28
- import "../chunk-UP7NZXJU.js";
28
+ import "../chunk-7TDQ7KDY.js";
29
29
  import "../chunk-7QLSKOSU.js";
30
30
  import {
31
31
  EXIT
32
32
  } from "../chunk-KZERVKTD.js";
33
- import "../chunk-E3WQMDCE.js";
33
+ import "../chunk-ZFQPSGPO.js";
34
34
  import {
35
35
  readJsonSafe,
36
36
  writeJsonAtomic
37
37
  } from "../chunk-4LL6LG5X.js";
38
38
  import "../chunk-2UMNXADU.js";
39
- import "../chunk-VQYARC2K.js";
39
+ import "../chunk-7DQVIIHX.js";
40
40
 
41
41
  // bin/pushary-bell.ts
42
42
  exitOnHelpFlag("bell");
@@ -8,7 +8,7 @@ import {
8
8
  describeIdleWindow,
9
9
  startProcessOwnership,
10
10
  withSpawnProcessOwnership
11
- } from "../chunk-ISELLVBP.js";
11
+ } from "../chunk-KEVJ2WW6.js";
12
12
  import {
13
13
  isDeferAnswer
14
14
  } from "../chunk-YHG74UFF.js";
@@ -17,24 +17,24 @@ import {
17
17
  loadSessionKey,
18
18
  registerTranscript,
19
19
  registeredTranscriptEnabled
20
- } from "../chunk-PWIMJP4U.js";
20
+ } from "../chunk-PCT2MYG5.js";
21
21
  import "../chunk-YKLCWWEI.js";
22
- import "../chunk-DZYIAMKR.js";
23
- import "../chunk-OYYQHJAO.js";
24
- import "../chunk-SLEWDZOA.js";
25
- import "../chunk-AH5OO2YZ.js";
22
+ import "../chunk-W6XVHP4U.js";
23
+ import "../chunk-WC5PYFDK.js";
24
+ import "../chunk-U42ES5U3.js";
25
+ import "../chunk-C3WH44MH.js";
26
26
  import {
27
27
  ensureDaemonRunning
28
- } from "../chunk-6JUCFMSF.js";
29
- import "../chunk-YM4G6CFN.js";
30
- import "../chunk-SA6UB3GD.js";
28
+ } from "../chunk-CVCSUAXI.js";
29
+ import "../chunk-ERP7FOFQ.js";
30
+ import "../chunk-VDOKRCWM.js";
31
31
  import {
32
32
  encryptRecord
33
- } from "../chunk-BBUZD7MU.js";
33
+ } from "../chunk-6QCN5XQE.js";
34
34
  import "../chunk-EQRS3SGM.js";
35
35
  import {
36
36
  transcriptsEnabled
37
- } from "../chunk-2MOQUNFL.js";
37
+ } from "../chunk-KHTBSSY5.js";
38
38
  import {
39
39
  needsShell,
40
40
  spawnClaude
@@ -56,8 +56,8 @@ import {
56
56
  reportEvent,
57
57
  savePendingCommand,
58
58
  scopePathFor
59
- } from "../chunk-WTT24AUA.js";
60
- import "../chunk-INBTKFT6.js";
59
+ } from "../chunk-5AATCXJN.js";
60
+ import "../chunk-UWP66NDF.js";
61
61
  import {
62
62
  DECISION_STOP_REASON,
63
63
  askUser,
@@ -70,16 +70,16 @@ import {
70
70
  } from "../chunk-LGXUGYUH.js";
71
71
  import {
72
72
  getMachineId
73
- } from "../chunk-J7PJALS2.js";
74
- import "../chunk-EWQZISYV.js";
73
+ } from "../chunk-KZPUARCU.js";
74
+ import "../chunk-PX53RT6Q.js";
75
75
  import "../chunk-GMXKITVA.js";
76
76
  import "../chunk-DINDL2CF.js";
77
- import "../chunk-UP7NZXJU.js";
77
+ import "../chunk-7TDQ7KDY.js";
78
78
  import "../chunk-EYRGBYZG.js";
79
79
  import "../chunk-SAF6HGAA.js";
80
80
  import "../chunk-7QLSKOSU.js";
81
81
  import "../chunk-KZERVKTD.js";
82
- import "../chunk-E3WQMDCE.js";
82
+ import "../chunk-ZFQPSGPO.js";
83
83
  import "../chunk-4LL6LG5X.js";
84
84
  import {
85
85
  getApiKey,
@@ -89,7 +89,7 @@ import {
89
89
  KILL_REASON,
90
90
  redactSecrets,
91
91
  resolveGate
92
- } from "../chunk-VQYARC2K.js";
92
+ } from "../chunk-7DQVIIHX.js";
93
93
 
94
94
  // src/wrapper/localPassthrough.ts
95
95
  var SIGNAL_NUMBERS = {
@@ -5,14 +5,14 @@ import {
5
5
  createGuards,
6
6
  resolveHermesPython,
7
7
  runHermesPythonScript
8
- } from "../chunk-PUDQJ772.js";
8
+ } from "../chunk-JOTV75GX.js";
9
9
  import "../chunk-KBITFQST.js";
10
10
  import {
11
11
  removeInstructionBlock,
12
12
  shortenHome,
13
13
  unregisterPluginLocation,
14
14
  vscodeSettingsTargets
15
- } from "../chunk-MR2PWE62.js";
15
+ } from "../chunk-7GH3D6YG.js";
16
16
  import {
17
17
  OPENCODE_PLUGIN_SIBLING,
18
18
  OPENCODE_PLUGIN_SIBLING_CONTENTS,
@@ -22,7 +22,7 @@ import {
22
22
  openCodePluginDir,
23
23
  openCodePluginFile,
24
24
  removeOpenCodeMcpServer
25
- } from "../chunk-S2BNTXP6.js";
25
+ } from "../chunk-LWKVEMVK.js";
26
26
  import {
27
27
  compatibleConfigFile,
28
28
  compatibleInstructionsFile,
@@ -30,37 +30,37 @@ import {
30
30
  compatiblePermissionRuleFile,
31
31
  removeCompatibleHooks,
32
32
  removeCompatibleMcpServer
33
- } from "../chunk-SM54HHVY.js";
33
+ } from "../chunk-YT6H7BB5.js";
34
34
  import {
35
35
  isClaudeMcpSnapshot,
36
36
  removeClaudeMcpServers,
37
37
  removePusharySettings,
38
38
  removePusharyToolPermissions,
39
39
  restoreClaudeMcpServer
40
- } from "../chunk-6T4OINZB.js";
40
+ } from "../chunk-PX54KULQ.js";
41
41
  import {
42
42
  hookOwnerOf,
43
43
  isHookTakeoverReceipt,
44
44
  restoreHookTakeover,
45
45
  restoreMcpServer
46
- } from "../chunk-DZYIAMKR.js";
47
- import "../chunk-OYYQHJAO.js";
48
- import "../chunk-SLEWDZOA.js";
46
+ } from "../chunk-W6XVHP4U.js";
47
+ import "../chunk-WC5PYFDK.js";
48
+ import "../chunk-U42ES5U3.js";
49
49
  import {
50
50
  pusharyHookExecutable
51
- } from "../chunk-AH5OO2YZ.js";
51
+ } from "../chunk-C3WH44MH.js";
52
52
  import {
53
53
  disableDaemonService
54
- } from "../chunk-6JUCFMSF.js";
54
+ } from "../chunk-CVCSUAXI.js";
55
55
  import {
56
56
  removeGeminiSettings
57
- } from "../chunk-YM4G6CFN.js";
58
- import "../chunk-SA6UB3GD.js";
57
+ } from "../chunk-ERP7FOFQ.js";
58
+ import "../chunk-VDOKRCWM.js";
59
59
  import "../chunk-XHKBHWLX.js";
60
- import "../chunk-WTT24AUA.js";
61
- import "../chunk-INBTKFT6.js";
60
+ import "../chunk-5AATCXJN.js";
61
+ import "../chunk-UWP66NDF.js";
62
62
  import "../chunk-LGXUGYUH.js";
63
- import "../chunk-J7PJALS2.js";
63
+ import "../chunk-KZPUARCU.js";
64
64
  import {
65
65
  bridgeAgentKey,
66
66
  claudeJson,
@@ -89,7 +89,7 @@ import {
89
89
  restoreCodexHookTrust,
90
90
  vscodePluginDir,
91
91
  vscodePluginMcp
92
- } from "../chunk-EWQZISYV.js";
92
+ } from "../chunk-PX53RT6Q.js";
93
93
  import {
94
94
  exitOnHelpFlag
95
95
  } from "../chunk-GOQHN2UH.js";
@@ -100,14 +100,14 @@ import {
100
100
  import "../chunk-DINDL2CF.js";
101
101
  import {
102
102
  removeClaudeAlias
103
- } from "../chunk-UP7NZXJU.js";
103
+ } from "../chunk-7TDQ7KDY.js";
104
104
  import "../chunk-EYRGBYZG.js";
105
105
  import "../chunk-SAF6HGAA.js";
106
106
  import "../chunk-7QLSKOSU.js";
107
107
  import {
108
108
  EXIT
109
109
  } from "../chunk-KZERVKTD.js";
110
- import "../chunk-E3WQMDCE.js";
110
+ import "../chunk-ZFQPSGPO.js";
111
111
  import "../chunk-4LL6LG5X.js";
112
112
  import "../chunk-2UMNXADU.js";
113
113
  import {
@@ -115,7 +115,7 @@ import {
115
115
  HOOK_COMPATIBLE_PROFILES,
116
116
  HOOK_LOCATOR_BINARY,
117
117
  isValidApiKey
118
- } from "../chunk-VQYARC2K.js";
118
+ } from "../chunk-7DQVIIHX.js";
119
119
 
120
120
  // bin/pushary-clean.ts
121
121
  import { existsSync, readFileSync, copyFileSync, readdirSync } from "fs";
@@ -1,24 +1,24 @@
1
1
  #!/usr/bin/env node
2
- import "../chunk-MZUXTN7X.js";
2
+ import "../chunk-CG4ZUQ5O.js";
3
3
  import {
4
4
  LiveTranscriptRelay,
5
5
  liveSessionSleep,
6
6
  postLiveSession,
7
7
  postLiveSessionUntilAccepted,
8
8
  startLiveSessionHeartbeat
9
- } from "../chunk-FO4HHPMO.js";
9
+ } from "../chunk-OGSRCIOD.js";
10
10
  import {
11
11
  SESSION_IDLE_TIMEOUT_MS,
12
12
  describeIdleWindow,
13
13
  idleDeadlinePassed,
14
14
  startProcessOwnership,
15
15
  withSpawnProcessOwnership
16
- } from "../chunk-ISELLVBP.js";
17
- import "../chunk-BBUZD7MU.js";
16
+ } from "../chunk-KEVJ2WW6.js";
17
+ import "../chunk-6QCN5XQE.js";
18
18
  import "../chunk-EQRS3SGM.js";
19
19
  import {
20
20
  transcriptsEnabled
21
- } from "../chunk-2MOQUNFL.js";
21
+ } from "../chunk-KHTBSSY5.js";
22
22
  import {
23
23
  spawnClaude
24
24
  } from "../chunk-XHKBHWLX.js";
@@ -28,18 +28,18 @@ import {
28
28
  } from "../chunk-LGXUGYUH.js";
29
29
  import {
30
30
  getMachineId
31
- } from "../chunk-J7PJALS2.js";
31
+ } from "../chunk-KZPUARCU.js";
32
32
  import {
33
33
  resolveBinary
34
- } from "../chunk-EWQZISYV.js";
35
- import "../chunk-UP7NZXJU.js";
34
+ } from "../chunk-PX53RT6Q.js";
35
+ import "../chunk-7TDQ7KDY.js";
36
36
  import {
37
37
  callMcpTool
38
38
  } from "../chunk-EYRGBYZG.js";
39
39
  import "../chunk-SAF6HGAA.js";
40
40
  import "../chunk-7QLSKOSU.js";
41
41
  import "../chunk-KZERVKTD.js";
42
- import "../chunk-E3WQMDCE.js";
42
+ import "../chunk-ZFQPSGPO.js";
43
43
  import "../chunk-4LL6LG5X.js";
44
44
  import {
45
45
  getApiKey,
@@ -48,7 +48,7 @@ import {
48
48
  import {
49
49
  parseAgentQuestion,
50
50
  parseAgentQuestionAnswers
51
- } from "../chunk-VQYARC2K.js";
51
+ } from "../chunk-7DQVIIHX.js";
52
52
 
53
53
  // bin/pushary-codex-bridge.ts
54
54
  import { existsSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  takeHookHoldBudget
4
- } from "../chunk-PQG6NTPT.js";
4
+ } from "../chunk-LGO7U23Z.js";
5
5
  import {
6
6
  blockedActionFingerprint,
7
7
  codexCallKey,
@@ -12,30 +12,30 @@ import {
12
12
  recordBlockedActionHint,
13
13
  recordCodexCallDecision,
14
14
  userScope
15
- } from "../chunk-IH7YUPFN.js";
15
+ } from "../chunk-BXLFUTSD.js";
16
16
  import {
17
17
  isGatingMoment,
18
18
  recordKeylessMoment
19
- } from "../chunk-VACFOGF3.js";
19
+ } from "../chunk-2DT7STR5.js";
20
20
  import {
21
21
  readHookInput
22
- } from "../chunk-LQ3BHPPZ.js";
22
+ } from "../chunk-4UT44NRP.js";
23
23
  import {
24
24
  denyReasonFrom,
25
25
  isDeferAnswer
26
26
  } from "../chunk-YHG74UFF.js";
27
- import "../chunk-PWIMJP4U.js";
27
+ import "../chunk-PCT2MYG5.js";
28
28
  import "../chunk-YKLCWWEI.js";
29
- import "../chunk-DZYIAMKR.js";
30
- import "../chunk-OYYQHJAO.js";
31
- import "../chunk-SLEWDZOA.js";
32
- import "../chunk-AH5OO2YZ.js";
33
- import "../chunk-6JUCFMSF.js";
34
- import "../chunk-YM4G6CFN.js";
35
- import "../chunk-SA6UB3GD.js";
36
- import "../chunk-BBUZD7MU.js";
29
+ import "../chunk-W6XVHP4U.js";
30
+ import "../chunk-WC5PYFDK.js";
31
+ import "../chunk-U42ES5U3.js";
32
+ import "../chunk-C3WH44MH.js";
33
+ import "../chunk-CVCSUAXI.js";
34
+ import "../chunk-ERP7FOFQ.js";
35
+ import "../chunk-VDOKRCWM.js";
36
+ import "../chunk-6QCN5XQE.js";
37
37
  import "../chunk-EQRS3SGM.js";
38
- import "../chunk-2MOQUNFL.js";
38
+ import "../chunk-KHTBSSY5.js";
39
39
  import "../chunk-XHKBHWLX.js";
40
40
  import {
41
41
  CODEX_AGENT,
@@ -72,8 +72,8 @@ import {
72
72
  toCodexWire,
73
73
  toPolicyLookup,
74
74
  toPolicyLookups
75
- } from "../chunk-WTT24AUA.js";
76
- import "../chunk-INBTKFT6.js";
75
+ } from "../chunk-5AATCXJN.js";
76
+ import "../chunk-UWP66NDF.js";
77
77
  import {
78
78
  DECISION_STOP_REASON,
79
79
  askUser,
@@ -88,18 +88,18 @@ import {
88
88
  } from "../chunk-LGXUGYUH.js";
89
89
  import {
90
90
  getMachineId
91
- } from "../chunk-J7PJALS2.js";
91
+ } from "../chunk-KZPUARCU.js";
92
92
  import {
93
93
  canonicalJson
94
- } from "../chunk-EWQZISYV.js";
94
+ } from "../chunk-PX53RT6Q.js";
95
95
  import "../chunk-GMXKITVA.js";
96
96
  import "../chunk-DINDL2CF.js";
97
- import "../chunk-UP7NZXJU.js";
97
+ import "../chunk-7TDQ7KDY.js";
98
98
  import "../chunk-EYRGBYZG.js";
99
99
  import "../chunk-SAF6HGAA.js";
100
100
  import "../chunk-7QLSKOSU.js";
101
101
  import "../chunk-KZERVKTD.js";
102
- import "../chunk-E3WQMDCE.js";
102
+ import "../chunk-ZFQPSGPO.js";
103
103
  import {
104
104
  writeFileAtomic
105
105
  } from "../chunk-4LL6LG5X.js";
@@ -118,7 +118,7 @@ import {
118
118
  hookWaitClamped,
119
119
  hookWaitDeadline,
120
120
  resolveGate
121
- } from "../chunk-VQYARC2K.js";
121
+ } from "../chunk-7DQVIIHX.js";
122
122
 
123
123
  // bin/pushary-codex-hook.ts
124
124
  import { basename } from "path";
@@ -734,7 +734,7 @@ var decidePreToolUse = async (input) => {
734
734
  };
735
735
  var repairCodexHoldsQuietly = async () => {
736
736
  try {
737
- const { repairCodexHolds } = await import("../reapply-STSGYPF2.js");
737
+ const { repairCodexHolds } = await import("../reapply-47AMVIXN.js");
738
738
  repairCodexHolds();
739
739
  } catch {
740
740
  return;
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  reportEvent
4
- } from "../chunk-WTT24AUA.js";
5
- import "../chunk-INBTKFT6.js";
4
+ } from "../chunk-5AATCXJN.js";
5
+ import "../chunk-UWP66NDF.js";
6
6
  import {
7
7
  askUser,
8
8
  isDecisionStopped,
@@ -10,18 +10,18 @@ import {
10
10
  } from "../chunk-LGXUGYUH.js";
11
11
  import {
12
12
  getMachineId
13
- } from "../chunk-J7PJALS2.js";
14
- import "../chunk-EWQZISYV.js";
13
+ } from "../chunk-KZPUARCU.js";
14
+ import "../chunk-PX53RT6Q.js";
15
15
  import "../chunk-EYRGBYZG.js";
16
16
  import "../chunk-SAF6HGAA.js";
17
17
  import "../chunk-7QLSKOSU.js";
18
18
  import "../chunk-KZERVKTD.js";
19
- import "../chunk-E3WQMDCE.js";
19
+ import "../chunk-ZFQPSGPO.js";
20
20
  import "../chunk-4LL6LG5X.js";
21
21
  import {
22
22
  getApiKey
23
23
  } from "../chunk-2UMNXADU.js";
24
- import "../chunk-VQYARC2K.js";
24
+ import "../chunk-7DQVIIHX.js";
25
25
 
26
26
  // bin/pushary-codex.ts
27
27
  import { basename } from "path";
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  printKeyCheck
4
- } from "../chunk-76ZCJZBK.js";
4
+ } from "../chunk-VE2ZWUML.js";
5
5
  import {
6
6
  connectDevice,
7
7
  connectExistingApp,
8
8
  printConnectInstructions
9
- } from "../chunk-PHJOSAXW.js";
9
+ } from "../chunk-VIQ7CCWW.js";
10
10
  import "../chunk-3EGEA4KH.js";
11
11
  import {
12
12
  checkApiKey
13
- } from "../chunk-LUYYB6V2.js";
13
+ } from "../chunk-RN6ZWIAC.js";
14
14
  import "../chunk-QCGNGEGE.js";
15
15
  import {
16
16
  createIo
@@ -25,7 +25,7 @@ import {
25
25
  import "../chunk-DINDL2CF.js";
26
26
  import {
27
27
  readKeySource
28
- } from "../chunk-UP7NZXJU.js";
28
+ } from "../chunk-7TDQ7KDY.js";
29
29
  import "../chunk-EYRGBYZG.js";
30
30
  import "../chunk-SAF6HGAA.js";
31
31
  import {
@@ -34,10 +34,10 @@ import {
34
34
  import {
35
35
  EXIT
36
36
  } from "../chunk-KZERVKTD.js";
37
- import "../chunk-E3WQMDCE.js";
37
+ import "../chunk-ZFQPSGPO.js";
38
38
  import "../chunk-4LL6LG5X.js";
39
39
  import "../chunk-2UMNXADU.js";
40
- import "../chunk-VQYARC2K.js";
40
+ import "../chunk-7DQVIIHX.js";
41
41
 
42
42
  // bin/pushary-connect.ts
43
43
  exitOnHelpFlag("connect");
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  coworkOutput,
4
4
  parseCoworkOptions
5
- } from "../chunk-RZTH4MIY.js";
5
+ } from "../chunk-LAXU5U75.js";
6
6
  import {
7
7
  canOpenBrowser,
8
8
  openInBrowser
9
9
  } from "../chunk-PUZZELE6.js";
10
- import "../chunk-OYYQHJAO.js";
10
+ import "../chunk-WC5PYFDK.js";
11
11
  import {
12
12
  exitOnHelpFlag
13
13
  } from "../chunk-GOQHN2UH.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "../chunk-KZERVKTD.js";
23
23
  import {
24
24
  CLAUDE_CONNECTOR_GUIDE
25
- } from "../chunk-VQYARC2K.js";
25
+ } from "../chunk-7DQVIIHX.js";
26
26
 
27
27
  // bin/pushary-cowork.ts
28
28
  exitOnHelpFlag("cowork");