@pushary/agent-hooks 1.9.79 → 1.9.81

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 (131) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +4 -4
  3. package/data/SKILL.md +12 -16
  4. package/data/cursor-plugin/README.md +1 -1
  5. package/data/cursor-plugin/skills/pushary/SKILL.md +11 -15
  6. package/data/vscode-plugin/README.md +1 -1
  7. package/data/vscode-plugin/skills/pushary/SKILL.md +11 -15
  8. package/dist/{api-T6DRYZOD.js → api-VFUZ5HBR.js} +10 -10
  9. package/dist/bin/pushary-bell-hook.js +25 -25
  10. package/dist/bin/pushary-bell.js +10 -10
  11. package/dist/bin/pushary-claude.js +26 -26
  12. package/dist/bin/pushary-clean.js +34 -34
  13. package/dist/bin/pushary-codex-bridge.js +21 -21
  14. package/dist/bin/pushary-codex-hook.js +30 -30
  15. package/dist/bin/pushary-codex-session.js +8 -8
  16. package/dist/bin/pushary-codex.js +13 -13
  17. package/dist/bin/pushary-connect.js +26 -26
  18. package/dist/bin/pushary-cowork.js +5 -5
  19. package/dist/bin/pushary-daemon.js +38 -38
  20. package/dist/bin/pushary-disconnect.js +25 -25
  21. package/dist/bin/pushary-display-hook.js +16 -16
  22. package/dist/bin/pushary-doctor.js +41 -41
  23. package/dist/bin/pushary-elicitation-hook.js +25 -25
  24. package/dist/bin/pushary-gemini-bridge.js +15 -15
  25. package/dist/bin/pushary-gemini-hook.js +27 -27
  26. package/dist/bin/pushary-hook.js +29 -29
  27. package/dist/bin/pushary-login.js +20 -20
  28. package/dist/bin/pushary-logout.js +24 -24
  29. package/dist/bin/pushary-mcp.js +11 -11
  30. package/dist/bin/pushary-mode.js +15 -15
  31. package/dist/bin/pushary-notification-hook.js +24 -24
  32. package/dist/bin/pushary-opencode-hook.js +26 -26
  33. package/dist/bin/pushary-permission-denied-hook.js +29 -29
  34. package/dist/bin/pushary-permission-hook.js +29 -29
  35. package/dist/bin/pushary-post-hook.js +24 -24
  36. package/dist/bin/pushary-prompt-hook.js +24 -24
  37. package/dist/bin/pushary-session-end-hook.js +26 -26
  38. package/dist/bin/pushary-session-start-hook.js +34 -34
  39. package/dist/bin/pushary-setup.js +48 -56
  40. package/dist/bin/pushary-stats.js +5 -5
  41. package/dist/bin/pushary-status.js +31 -31
  42. package/dist/bin/pushary-stop-hook.js +24 -24
  43. package/dist/bin/pushary-stopfailure-hook.js +24 -24
  44. package/dist/bin/pushary-suggestions.js +15 -15
  45. package/dist/bin/pushary-transcript-register.js +16 -16
  46. package/dist/bin/pushary-transcripts.js +18 -18
  47. package/dist/bin/pushary-upgrade.js +39 -39
  48. package/dist/bin/pushary-wait.js +15 -15
  49. package/dist/bin/pushary.js +7 -7
  50. package/dist/{chunk-TRVJ6MS5.js → chunk-35S7VB26.js} +5 -5
  51. package/dist/{chunk-OJS32QPK.js → chunk-3BFCJZBU.js} +1 -1
  52. package/dist/{chunk-UGP4FYMV.js → chunk-3YOXBN7V.js} +4 -4
  53. package/dist/{chunk-VER45SAA.js → chunk-47RUEZZA.js} +5 -5
  54. package/dist/{chunk-WJVQOAZY.js → chunk-4TR4G7A4.js} +1 -1
  55. package/dist/{chunk-O7WSNZIR.js → chunk-5WC7TXSS.js} +13 -13
  56. package/dist/{chunk-RDXNJSXM.js → chunk-5WIVX2NN.js} +3 -3
  57. package/dist/{chunk-CH3CCVH4.js → chunk-74QJBFMG.js} +2 -2
  58. package/dist/{chunk-LXV53WHO.js → chunk-7JU6DPO7.js} +3 -3
  59. package/dist/{chunk-CX6EIW3N.js → chunk-7WCB2BC4.js} +7 -7
  60. package/dist/{chunk-V3EN7LWU.js → chunk-ALTTZKDU.js} +6 -6
  61. package/dist/{chunk-KLE2ZMSJ.js → chunk-AZV3DQQU.js} +16 -10
  62. package/dist/{chunk-MVAP3NRX.js → chunk-B2HMISVL.js} +2 -2
  63. package/dist/{chunk-PZ3OFAZ7.js → chunk-BB4W35D6.js} +10 -10
  64. package/dist/{chunk-ANNRW6VU.js → chunk-BYFFELB3.js} +6 -6
  65. package/dist/{chunk-SNQ5HQHE.js → chunk-CRKODLLY.js} +1 -1
  66. package/dist/{chunk-WA4S6YAT.js → chunk-DF7A5AWF.js} +3 -3
  67. package/dist/{chunk-L7FBI7N7.js → chunk-DLBUDQEE.js} +4 -4
  68. package/dist/{chunk-QZ5KIX6U.js → chunk-DPP3ZCEE.js} +2 -2
  69. package/dist/{chunk-IPIJY4TI.js → chunk-ER4UCECJ.js} +1 -1
  70. package/dist/{chunk-63JW566T.js → chunk-ESS7CW3I.js} +5 -5
  71. package/dist/{chunk-IYKY3ZAV.js → chunk-FIMSM5SW.js} +2 -2
  72. package/dist/{chunk-ERC6QW27.js → chunk-GOYYPBBJ.js} +3 -3
  73. package/dist/{chunk-Z7AIEIM5.js → chunk-HG5EUDF3.js} +2 -2
  74. package/dist/{chunk-AFNLCEHM.js → chunk-HNUK557P.js} +3 -3
  75. package/dist/{chunk-WB5PC4TL.js → chunk-IA53GEP5.js} +5 -5
  76. package/dist/{chunk-Q7J77QL2.js → chunk-ID46TTYS.js} +3 -3
  77. package/dist/{chunk-XKJYTP3G.js → chunk-IO3OLTED.js} +5 -5
  78. package/dist/{chunk-BH7XLF5R.js → chunk-IQQQ2LGB.js} +5 -5
  79. package/dist/{chunk-CLE7EVOW.js → chunk-IS5YVKUX.js} +31 -4
  80. package/dist/{chunk-TDW5LI6P.js → chunk-IXVMMDIG.js} +3 -3
  81. package/dist/{chunk-ZU7XS6PN.js → chunk-JTO6UPTJ.js} +2 -2
  82. package/dist/{chunk-5HA42EV4.js → chunk-JTYZEP4Q.js} +1 -1
  83. package/dist/{chunk-ZJGIJDWP.js → chunk-JXE4UQFJ.js} +3 -3
  84. package/dist/{chunk-4NRT3CEF.js → chunk-K5QN6V5K.js} +3 -3
  85. package/dist/{chunk-EUW7JL2K.js → chunk-K6ZOH6P7.js} +13 -6
  86. package/dist/{chunk-CSJD7NN6.js → chunk-KERGWHCK.js} +6 -6
  87. package/dist/{chunk-3K67QTMR.js → chunk-KXSZ43Z6.js} +9 -9
  88. package/dist/{chunk-4DSCZINL.js → chunk-LFEJVQWI.js} +6 -6
  89. package/dist/{chunk-5NWAWDRM.js → chunk-LJ4TUZJV.js} +6 -6
  90. package/dist/{chunk-QATBJHE6.js → chunk-LJFB5ZJ4.js} +4 -4
  91. package/dist/{chunk-7R5ZKOQ4.js → chunk-M5XNFUXN.js} +1 -1
  92. package/dist/{chunk-WBC2ZXU7.js → chunk-NK3I2QQA.js} +4 -4
  93. package/dist/{chunk-GXW43S4A.js → chunk-NPBPH7KI.js} +2 -2
  94. package/dist/{chunk-CB2Y4GEH.js → chunk-NVEDZZ3V.js} +10 -10
  95. package/dist/{chunk-AFCKBLEG.js → chunk-ONUAAXAW.js} +1 -1
  96. package/dist/{chunk-A2OAJ7CS.js → chunk-PJ26BODT.js} +1 -1
  97. package/dist/{chunk-RQOJ23I4.js → chunk-QNEWV4JV.js} +1 -1
  98. package/dist/{chunk-IEJOZQ7N.js → chunk-QZ666HLH.js} +5 -5
  99. package/dist/{chunk-AVCPF3VS.js → chunk-RVC7OSC7.js} +1 -1
  100. package/dist/{chunk-EKVW5Y23.js → chunk-SEVGKJ7K.js} +4 -4
  101. package/dist/{chunk-BLG7OEX4.js → chunk-SFUJLUBM.js} +1 -1
  102. package/dist/{chunk-Q5J33E43.js → chunk-TJZIUFWK.js} +6 -6
  103. package/dist/{chunk-35M6YE6T.js → chunk-TTTK44RK.js} +3 -5
  104. package/dist/{chunk-NFRBLMM2.js → chunk-UUASO2FU.js} +4 -4
  105. package/dist/{chunk-236NGCTH.js → chunk-VII55DVC.js} +2 -2
  106. package/dist/{chunk-5MKPJ3WR.js → chunk-VK2CHU3L.js} +1 -1
  107. package/dist/{chunk-3D3L4ULT.js → chunk-VYRJAPZ6.js} +3 -3
  108. package/dist/{chunk-XU2FL4B6.js → chunk-W3VRQEL3.js} +2 -2
  109. package/dist/{chunk-HGCUZQUL.js → chunk-WG67W43Y.js} +0 -1
  110. package/dist/{chunk-J3QUMD2E.js → chunk-WPGSQRMW.js} +2 -2
  111. package/dist/{chunk-DLPFYJ7G.js → chunk-X2P3O4PX.js} +1 -1
  112. package/dist/{chunk-C7BK5C6K.js → chunk-X772USE7.js} +4 -4
  113. package/dist/{chunk-X7JGHARV.js → chunk-YAAJ3VZA.js} +6 -6
  114. package/dist/{chunk-7BALOMAV.js → chunk-YIKIQ6YN.js} +3 -3
  115. package/dist/{chunk-P2PPAW5E.js → chunk-YNWEE2WC.js} +1 -1
  116. package/dist/{chunk-LTQJ2IMO.js → chunk-ZBST77LF.js} +3 -3
  117. package/dist/{chunk-7OSGGPBR.js → chunk-ZBYZCM6Y.js} +2 -2
  118. package/dist/{chunk-5HMSHKZT.js → chunk-ZIJKTWNO.js} +1 -1
  119. package/dist/{codex-app-cards-switch-OWLU462R.js → codex-app-cards-switch-ZL6OHUXQ.js} +11 -11
  120. package/dist/{codex-desktop-launch-G37GNF4B.js → codex-desktop-launch-LQF5CPKU.js} +1 -1
  121. package/dist/{codex-session-launch-AV2AL64X.js → codex-session-launch-5WBL5YHX.js} +18 -18
  122. package/dist/{config-PXISW4O5.js → config-MZDRETL2.js} +3 -3
  123. package/dist/{global-upgrade-JWI5XIZP.js → global-upgrade-HDDPHNGX.js} +10 -10
  124. package/dist/{identity-JAXJ3FOD.js → identity-RNZLFMKW.js} +4 -4
  125. package/dist/{live-capabilities-7PPQ2HPU.js → live-capabilities-Y2Q5QBVK.js} +5 -5
  126. package/dist/{paths-YV3ZK5LT.js → paths-WILX6YI3.js} +3 -3
  127. package/dist/{reapply-YHJHUTFY.js → reapply-KF7ZZSA2.js} +27 -27
  128. package/dist/src/index.js +28 -28
  129. package/dist/{upgrade-lock-I4JPC4WG.js → upgrade-lock-7Q4VWMDA.js} +4 -4
  130. package/dist/{usage-FZTPRQRP.js → usage-MSILPJVQ.js} +3 -3
  131. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  readJsonSafe,
3
3
  writeJsonAtomic
4
- } from "./chunk-CLE7EVOW.js";
4
+ } from "./chunk-IS5YVKUX.js";
5
5
  import {
6
6
  configFilePath
7
- } from "./chunk-AFCKBLEG.js";
7
+ } from "./chunk-ONUAAXAW.js";
8
8
  import {
9
9
  readSetupOutcomeProperties
10
- } from "./chunk-HGCUZQUL.js";
10
+ } from "./chunk-WG67W43Y.js";
11
11
 
12
12
  // src/diagnostics/service-runtime.ts
13
13
  var unescapeXml = (value) => value.replaceAll("&quot;", '"').replaceAll("&apos;", "'").replaceAll("&lt;", "<").replaceAll("&gt;", ">").replaceAll("&amp;", "&");
@@ -1,13 +1,20 @@
1
1
  // src/skills-cli.ts
2
- import { execSync } from "child_process";
2
+ import { exec } from "child_process";
3
+ import { promisify } from "util";
3
4
  var PUSHARY_SKILL_SOURCE = "Pushary/pushary-skill";
4
5
  var PUSHARY_SKILL_NAME = "pushary";
5
- var installSkillViaSkillsCli = (agent) => {
6
+ var SKILLS_CLI_TIMEOUT_MS = 9e4;
7
+ var SKILLS_CLI_OUTPUT_LIMIT_BYTES = 1024 * 1024;
8
+ var runShellAsync = promisify(exec);
9
+ var skillsCliCommand = (agent) => `npx -y skills@latest add ${PUSHARY_SKILL_SOURCE}@${PUSHARY_SKILL_NAME} -y -g --agent ${agent}`;
10
+ var installSkillViaSkillsCli = async (agent) => {
6
11
  try {
7
- execSync(`npx -y skills@latest add ${PUSHARY_SKILL_SOURCE}@${PUSHARY_SKILL_NAME} -y -g --agent ${agent}`, {
8
- stdio: "pipe",
9
- timeout: 9e4
12
+ const running = runShellAsync(skillsCliCommand(agent), {
13
+ timeout: SKILLS_CLI_TIMEOUT_MS,
14
+ maxBuffer: SKILLS_CLI_OUTPUT_LIMIT_BYTES
10
15
  });
16
+ running.child.stdin?.end();
17
+ await running;
11
18
  return true;
12
19
  } catch {
13
20
  return false;
@@ -16,7 +23,7 @@ var installSkillViaSkillsCli = (agent) => {
16
23
  var installAgentSkill = async (request, effects) => {
17
24
  if (request.skillsCliInUse) {
18
25
  const startedAt = effects.now();
19
- if (effects.runSkillsCli(request.agent)) {
26
+ if (await effects.runSkillsCli(request.agent)) {
20
27
  const modifiedAt = effects.skillModifiedAt(request.agentSkillDir);
21
28
  if (modifiedAt !== null && modifiedAt >= startedAt) return "skills-cli";
22
29
  }
@@ -3,10 +3,10 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-7OSGGPBR.js";
6
+ } from "./chunk-ZBYZCM6Y.js";
7
7
  import {
8
8
  phoneStartIsRequired
9
- } from "./chunk-WBC2ZXU7.js";
9
+ } from "./chunk-NK3I2QQA.js";
10
10
  import {
11
11
  describeAutoUpdateCheck,
12
12
  globalInstallLocation,
@@ -18,25 +18,25 @@ import {
18
18
  readAutoUpdateState,
19
19
  updateAutoUpdateState,
20
20
  upgradeEntryFor
21
- } from "./chunk-RDXNJSXM.js";
21
+ } from "./chunk-5WIVX2NN.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-MVAP3NRX.js";
26
+ } from "./chunk-B2HMISVL.js";
27
27
  import {
28
28
  execNpm,
29
29
  fetchLatestPublishedVersion,
30
30
  npmErrorMessage,
31
31
  readGlobalCliInstallAt,
32
32
  readGlobalPrefix
33
- } from "./chunk-CLE7EVOW.js";
33
+ } from "./chunk-IS5YVKUX.js";
34
34
  import {
35
35
  EXIT
36
36
  } from "./chunk-KZERVKTD.js";
37
37
  import {
38
38
  NPX_LATEST_COMMAND
39
- } from "./chunk-35M6YE6T.js";
39
+ } from "./chunk-TTTK44RK.js";
40
40
  import {
41
41
  commandsPackage,
42
42
  globalUpgradeEntry,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  repoKeyFor
3
- } from "./chunk-7R5ZKOQ4.js";
3
+ } from "./chunk-M5XNFUXN.js";
4
4
  import {
5
5
  cancelQuestion,
6
6
  clientErrorKindOf,
@@ -8,33 +8,33 @@ import {
8
8
  reportClientError,
9
9
  sendNotification,
10
10
  waitForAnswer
11
- } from "./chunk-BH7XLF5R.js";
11
+ } from "./chunk-IQQQ2LGB.js";
12
12
  import {
13
13
  withRetry
14
- } from "./chunk-EKVW5Y23.js";
14
+ } from "./chunk-SEVGKJ7K.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-J3QUMD2E.js";
17
+ } from "./chunk-WPGSQRMW.js";
18
18
  import {
19
19
  reportedInstallSource
20
- } from "./chunk-GXW43S4A.js";
20
+ } from "./chunk-NPBPH7KI.js";
21
21
  import {
22
22
  IDLE_PROMPT_NOTIFICATION,
23
23
  NOTIFICATION_PUSH_TYPES,
24
24
  POSTTOOLUSE_MIRROR_ONLY_TOOLS,
25
25
  canonicalJson,
26
26
  claudeConfigDir
27
- } from "./chunk-MVAP3NRX.js";
27
+ } from "./chunk-B2HMISVL.js";
28
28
  import {
29
29
  compareVersion,
30
30
  parseVersion,
31
31
  writeFileAtomic,
32
32
  writeJsonAtomicDurable
33
- } from "./chunk-CLE7EVOW.js";
33
+ } from "./chunk-IS5YVKUX.js";
34
34
  import {
35
35
  getApiKey,
36
36
  getBaseUrl
37
- } from "./chunk-AFCKBLEG.js";
37
+ } from "./chunk-ONUAAXAW.js";
38
38
  import {
39
39
  ACTION_BODY_MAX,
40
40
  AGENTS,
@@ -76,7 +76,7 @@ import {
76
76
  toToolLookup,
77
77
  truncateLine,
78
78
  unansweredRefusalReason
79
- } from "./chunk-HGCUZQUL.js";
79
+ } from "./chunk-WG67W43Y.js";
80
80
 
81
81
  // ../hook-mapping/src/describe.ts
82
82
  import { isAbsolute, relative, resolve } from "path";
@@ -4,7 +4,7 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-5HA42EV4.js";
7
+ } from "./chunk-JTYZEP4Q.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
@@ -14,24 +14,24 @@ import {
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-LXV53WHO.js";
17
+ } from "./chunk-7JU6DPO7.js";
18
18
  import {
19
19
  spawnClaude
20
20
  } from "./chunk-XHKBHWLX.js";
21
21
  import {
22
22
  repoKeyFor
23
- } from "./chunk-7R5ZKOQ4.js";
23
+ } from "./chunk-M5XNFUXN.js";
24
24
  import {
25
25
  isAskUserResponse,
26
26
  isDecisionStopped,
27
27
  isWaitForAnswerResponse,
28
28
  withdrawQuestion,
29
29
  writeDegraded
30
- } from "./chunk-BH7XLF5R.js";
30
+ } from "./chunk-IQQQ2LGB.js";
31
31
  import {
32
32
  callMcpTool,
33
33
  isRetryable
34
- } from "./chunk-EKVW5Y23.js";
34
+ } from "./chunk-SEVGKJ7K.js";
35
35
  import {
36
36
  AGENT_QUESTION_DESCRIPTION_MAX,
37
37
  AGENT_QUESTION_HEADER_MAX,
@@ -52,7 +52,7 @@ import {
52
52
  parseCodexQuestions,
53
53
  planElicitationAsk,
54
54
  readElicitationFields
55
- } from "./chunk-HGCUZQUL.js";
55
+ } from "./chunk-WG67W43Y.js";
56
56
 
57
57
  // src/codex-question-owner.ts
58
58
  import { createHash } from "crypto";
@@ -2,31 +2,31 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-CH3CCVH4.js";
5
+ } from "./chunk-74QJBFMG.js";
6
6
  import {
7
7
  APPROVAL_RULES_PATH
8
- } from "./chunk-ZU7XS6PN.js";
8
+ } from "./chunk-JTO6UPTJ.js";
9
9
  import {
10
10
  createIo
11
11
  } from "./chunk-FO3MDD26.js";
12
12
  import {
13
13
  readKeySource
14
- } from "./chunk-UGP4FYMV.js";
14
+ } from "./chunk-3YOXBN7V.js";
15
15
  import {
16
16
  absoluteUrl,
17
17
  checkApiKey,
18
18
  describeKeyCheck,
19
19
  keyCheckFromResponse
20
- } from "./chunk-AFNLCEHM.js";
20
+ } from "./chunk-HNUK557P.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-AFCKBLEG.js";
23
+ } from "./chunk-ONUAAXAW.js";
24
24
  import {
25
25
  EXIT
26
26
  } from "./chunk-KZERVKTD.js";
27
27
  import {
28
28
  KEY_SCOPE
29
- } from "./chunk-HGCUZQUL.js";
29
+ } from "./chunk-WG67W43Y.js";
30
30
 
31
31
  // src/cli/report-key.ts
32
32
  var { dim, yellow } = createIo();
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-NFRBLMM2.js";
4
+ } from "./chunk-UUASO2FU.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-C7BK5C6K.js";
7
+ } from "./chunk-X772USE7.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-MVAP3NRX.js";
11
+ } from "./chunk-B2HMISVL.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-HGCUZQUL.js";
14
+ } from "./chunk-WG67W43Y.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote
4
- } from "./chunk-HGCUZQUL.js";
4
+ } from "./chunk-WG67W43Y.js";
5
5
 
6
6
  // src/repo.ts
7
7
  import { existsSync, readFileSync, statSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-WA4S6YAT.js";
3
+ } from "./chunk-DF7A5AWF.js";
4
4
  import {
5
5
  findNativeClaudeInstall
6
- } from "./chunk-RQOJ23I4.js";
6
+ } from "./chunk-QNEWV4JV.js";
7
7
  import {
8
8
  readGlobalPrefixAsync,
9
9
  resolveGlobalBinary,
@@ -13,10 +13,10 @@ import {
13
13
  resolvePackageVersionFromBinary,
14
14
  resolvePathBinary,
15
15
  resolvePathBinaryAsync
16
- } from "./chunk-CLE7EVOW.js";
16
+ } from "./chunk-IS5YVKUX.js";
17
17
  import {
18
18
  MANAGED_PROVIDERS
19
- } from "./chunk-HGCUZQUL.js";
19
+ } from "./chunk-WG67W43Y.js";
20
20
 
21
21
  // src/live-capabilities.ts
22
22
  import { homedir } from "os";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-AFCKBLEG.js";
3
+ } from "./chunk-ONUAAXAW.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-HGCUZQUL.js";
6
+ } from "./chunk-WG67W43Y.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureCodexTrustsPusharyHooks
3
- } from "./chunk-QZ5KIX6U.js";
3
+ } from "./chunk-DPP3ZCEE.js";
4
4
  import {
5
5
  hermesReceiptPaths,
6
6
  hermesSetupPredatesThePluginFolder,
7
7
  installHermesPlugin,
8
8
  refreshHermesPluginFiles,
9
9
  shippedHermesPlugin
10
- } from "./chunk-XKJYTP3G.js";
10
+ } from "./chunk-IO3OLTED.js";
11
11
  import {
12
12
  fxIgnoresInstructionsFile,
13
13
  fxInstructionsBody,
@@ -16,7 +16,7 @@ import {
16
16
  macAppFxBridge,
17
17
  refreshClineKey,
18
18
  switchFxHttpEntryToBridge
19
- } from "./chunk-IEJOZQ7N.js";
19
+ } from "./chunk-QZ666HLH.js";
20
20
  import {
21
21
  OPENCODE_HOOK_BINARY,
22
22
  agentHookOwner,
@@ -28,16 +28,16 @@ import {
28
28
  openCodePluginDir,
29
29
  openCodeWired,
30
30
  withOpenCodeAskRules
31
- } from "./chunk-V3EN7LWU.js";
31
+ } from "./chunk-ALTTZKDU.js";
32
32
  import {
33
33
  detectClaudeVersion
34
- } from "./chunk-WA4S6YAT.js";
34
+ } from "./chunk-DF7A5AWF.js";
35
35
  import {
36
36
  addCompatibleHooks,
37
37
  compatibleConfigFile,
38
38
  compatibleInstructionsFile,
39
39
  hasCompatibleHooks
40
- } from "./chunk-NFRBLMM2.js";
40
+ } from "./chunk-UUASO2FU.js";
41
41
  import {
42
42
  GEMINI_HOOK_BINARY,
43
43
  addGeminiHooks,
@@ -49,7 +49,7 @@ import {
49
49
  geminiWired,
50
50
  hasGeminiHooks,
51
51
  planHooks
52
- } from "./chunk-C7BK5C6K.js";
52
+ } from "./chunk-X772USE7.js";
53
53
  import {
54
54
  CLAUDE_HOOK_BINARY,
55
55
  CLAUDE_HOOK_EVENTS,
@@ -94,7 +94,7 @@ import {
94
94
  renderAgentInstructions,
95
95
  supportedClaudeEvents,
96
96
  vscodePluginMcp
97
- } from "./chunk-MVAP3NRX.js";
97
+ } from "./chunk-B2HMISVL.js";
98
98
  import {
99
99
  formatVersion,
100
100
  readJsonSafe,
@@ -102,12 +102,12 @@ import {
102
102
  resolveGlobalBinary,
103
103
  writeFileAtomic,
104
104
  writeJsonAtomic
105
- } from "./chunk-CLE7EVOW.js";
105
+ } from "./chunk-IS5YVKUX.js";
106
106
  import {
107
107
  HOOK_COMPATIBLE_PROFILES,
108
108
  isCompatibleAgentType,
109
109
  isRecord
110
- } from "./chunk-HGCUZQUL.js";
110
+ } from "./chunk-WG67W43Y.js";
111
111
 
112
112
  // src/reapply.ts
113
113
  import { dirname, join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-35M6YE6T.js";
3
+ } from "./chunk-TTTK44RK.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-AFCKBLEG.js";
12
+ } from "./chunk-ONUAAXAW.js";
13
13
 
14
14
  // src/cli/login-ui.ts
15
15
  import { hostname } from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFile
3
- } from "./chunk-CLE7EVOW.js";
3
+ } from "./chunk-IS5YVKUX.js";
4
4
 
5
5
  // src/claude-native-install.ts
6
6
  import { accessSync, constants } from "fs";
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-3D3L4ULT.js";
7
+ } from "./chunk-VYRJAPZ6.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-Z7AIEIM5.js";
10
+ } from "./chunk-HG5EUDF3.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-UGP4FYMV.js";
13
+ } from "./chunk-3YOXBN7V.js";
14
14
  import {
15
15
  CLINE_SERVER_NAME_TAKEN,
16
16
  CLINE_SETTINGS_REFUSALS,
@@ -32,13 +32,13 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-MVAP3NRX.js";
35
+ } from "./chunk-B2HMISVL.js";
36
36
  import {
37
37
  readJsonSafe,
38
38
  resolveGlobalBinary,
39
39
  writeFileAtomic,
40
40
  writeJsonAtomic
41
- } from "./chunk-CLE7EVOW.js";
41
+ } from "./chunk-IS5YVKUX.js";
42
42
 
43
43
  // src/fx-config.ts
44
44
  var FX_SERVER_NAME = "pushary";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-UGP4FYMV.js";
3
+ } from "./chunk-3YOXBN7V.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  keyCheckFromResponse
3
- } from "./chunk-AFNLCEHM.js";
3
+ } from "./chunk-HNUK557P.js";
4
4
  import {
5
5
  installNetworkDefaults
6
- } from "./chunk-Q7J77QL2.js";
6
+ } from "./chunk-ID46TTYS.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-AFCKBLEG.js";
9
+ } from "./chunk-ONUAAXAW.js";
10
10
  import {
11
11
  isRecord,
12
12
  isToolErrorResult,
13
13
  toolFailureCodeOfResult
14
- } from "./chunk-HGCUZQUL.js";
14
+ } from "./chunk-WG67W43Y.js";
15
15
 
16
16
  // src/retry.ts
17
17
  var isRetryable = (err) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeJsonAtomicDurable
3
- } from "./chunk-CLE7EVOW.js";
3
+ } from "./chunk-IS5YVKUX.js";
4
4
 
5
5
  // src/transcript-recipient-pin.ts
6
6
  import { existsSync, mkdirSync, readFileSync, rmSync } from "fs";
@@ -4,23 +4,23 @@ import {
4
4
  } from "./chunk-XHKBHWLX.js";
5
5
  import {
6
6
  readControlMode
7
- } from "./chunk-UGP4FYMV.js";
7
+ } from "./chunk-3YOXBN7V.js";
8
8
  import {
9
9
  getMachineId
10
- } from "./chunk-J3QUMD2E.js";
10
+ } from "./chunk-WPGSQRMW.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-MVAP3NRX.js";
13
+ } from "./chunk-B2HMISVL.js";
14
14
  import {
15
15
  readJsonSafe,
16
16
  resolveGlobalBinary,
17
17
  writeFileAtomic,
18
18
  writeJsonAtomic,
19
19
  writeJsonAtomicDurable
20
- } from "./chunk-CLE7EVOW.js";
20
+ } from "./chunk-IS5YVKUX.js";
21
21
  import {
22
22
  getApiKey
23
- } from "./chunk-AFCKBLEG.js";
23
+ } from "./chunk-ONUAAXAW.js";
24
24
  import {
25
25
  CLI_PACKAGE_NAMES,
26
26
  cmdShimTarget,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-QTOLNRET.js";
31
31
  import {
32
32
  isRecord
33
- } from "./chunk-HGCUZQUL.js";
33
+ } from "./chunk-WG67W43Y.js";
34
34
 
35
35
  // src/daemon-lifecycle.ts
36
36
  import { dirname, join, win32 as win32Path } from "path";
@@ -2,7 +2,7 @@ import {
2
2
  DISCONNECT_AGENT_IDS,
3
3
  SETUP_AGENT_CHOICES,
4
4
  isApprovalMode
5
- } from "./chunk-HGCUZQUL.js";
5
+ } from "./chunk-WG67W43Y.js";
6
6
 
7
7
  // src/cli/mode-request.ts
8
8
  var parseDuration = (value) => {
@@ -229,8 +229,6 @@ var SETUP_OPTIONS = [
229
229
  ["--agents <list>", 'Comma-separated agent ids, or "auto" for everything detected, or "none" to save the key only'],
230
230
  ["--yes, -y", "Accept every default and ask nothing. Implies --agents auto unless --agents is given"],
231
231
  ["--connect app", "Pair the native Pushary app, no key to paste (default)"],
232
- ["--connect browser", "Approve in a browser tab instead. For a machine with no app"],
233
- ["--connect web", "Legacy browser subscribe page"],
234
232
  ["--connect none", "Skip pairing a phone, same as --skip-phone"],
235
233
  ["--control auto|on|off", "Manage phone-start automatically (default), require it, or disable its background service"],
236
234
  ["--transcripts on|off", "Enable or disable encrypted transcript sync on this machine"],
@@ -297,8 +295,8 @@ var renderCommandHelp = (token, version) => {
297
295
  ...name === "setup" ? [
298
296
  `Agent ids: ${AGENT_IDS}`,
299
297
  "",
300
- "Non-interactive runs need --agents or --yes. Without a terminal on stdin,",
301
- "setup takes the defaults rather than waiting for a keypress that can never arrive.",
298
+ "Without a terminal on stdin, setup asks nothing: it configures the agents it",
299
+ "detects and takes every default. Pass --agents to choose the agents yourself.",
302
300
  ""
303
301
  ] : []
304
302
  ].join("\n");
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-C7BK5C6K.js";
4
+ } from "./chunk-X772USE7.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT,
7
7
  compatibleToolLookup
8
- } from "./chunk-3K67QTMR.js";
8
+ } from "./chunk-KXSZ43Z6.js";
9
9
  import {
10
10
  CLAUDE_HOOK_EVENTS,
11
11
  PUSHARY_MCP_URL,
@@ -17,7 +17,7 @@ import {
17
17
  isPusharyHook,
18
18
  registerHookEntry,
19
19
  removeClaudeMcpServers
20
- } from "./chunk-MVAP3NRX.js";
20
+ } from "./chunk-B2HMISVL.js";
21
21
  import {
22
22
  HOOK_COMPATIBLE_PROFILES,
23
23
  PHONE_ANSWERED_TOOLS,
@@ -28,7 +28,7 @@ import {
28
28
  pusharyMissingReason,
29
29
  refusalOutput,
30
30
  withHookHoldBudget
31
- } from "./chunk-HGCUZQUL.js";
31
+ } from "./chunk-WG67W43Y.js";
32
32
 
33
33
  // src/config-document.ts
34
34
  import { parse, stringify } from "smol-toml";
@@ -521,7 +521,7 @@ var loadedOnce = (load) => {
521
521
  };
522
522
 
523
523
  // src/codex-desktop-proxy.ts
524
- var loadThePhone = () => import("./api-T6DRYZOD.js");
524
+ var loadThePhone = () => import("./api-VFUZ5HBR.js");
525
525
  var theFirstCardLoadsAgain = () => {
526
526
  };
527
527
  var APP_SERVER_COMMAND = "app-server";
@@ -1062,7 +1062,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1062
1062
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1063
1063
  }
1064
1064
  if (args[0] === APP_CARDS_FLAG) {
1065
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-OWLU462R.js");
1065
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-ZL6OHUXQ.js");
1066
1066
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1067
1067
  }
1068
1068
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-MVAP3NRX.js";
3
+ } from "./chunk-B2HMISVL.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -3,13 +3,13 @@ import {
3
3
  NpmMissingError,
4
4
  NpmPermissionError,
5
5
  writeFileAtomic
6
- } from "./chunk-CLE7EVOW.js";
6
+ } from "./chunk-IS5YVKUX.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-35M6YE6T.js";
9
+ } from "./chunk-TTTK44RK.js";
10
10
  import {
11
11
  readSetupAgentFailures
12
- } from "./chunk-HGCUZQUL.js";
12
+ } from "./chunk-WG67W43Y.js";
13
13
 
14
14
  // src/setup/config-write.ts
15
15
  var AgentConfigWriteError = class extends Error {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getBaseUrl
3
- } from "./chunk-AFCKBLEG.js";
3
+ } from "./chunk-ONUAAXAW.js";
4
4
  import {
5
5
  compressTranscriptRecord,
6
6
  redactSecretsFromContent,
7
7
  transcriptRecordPlaintext
8
- } from "./chunk-HGCUZQUL.js";
8
+ } from "./chunk-WG67W43Y.js";
9
9
 
10
10
  // src/transcript-api.ts
11
11
  var retentionDaysOf = (sessionHistory) => {
@@ -7208,7 +7208,6 @@ export {
7208
7208
  isComputerAgent,
7209
7209
  NO_PAIRING_COMPUTER,
7210
7210
  readSetupAgentFailures,
7211
- SETUP_CONNECT_MODES,
7212
7211
  isSetupConnectMode,
7213
7212
  readSetupOutcomeProperties,
7214
7213
  DECLINED_AGENTS_FILE,