pushary 1.9.82 → 1.9.84

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 (138) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/data/SKILL.md +132 -465
  3. package/data/cowork/SKILL.md +8 -8
  4. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  5. package/data/cursor-plugin/CHANGELOG.md +8 -0
  6. package/data/cursor-plugin/commands/notify-when-done.md +1 -1
  7. package/data/cursor-plugin/rules/pushary.mdc +5 -4
  8. package/data/cursor-plugin/skills/pushary/SKILL.md +131 -464
  9. package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
  10. package/data/vscode-plugin/CHANGELOG.md +8 -0
  11. package/data/vscode-plugin/commands/notify-when-done.md +1 -1
  12. package/data/vscode-plugin/skills/pushary/SKILL.md +131 -464
  13. package/dist/{api-TZO5ACOS.js → api-4WEMR2G3.js} +10 -10
  14. package/dist/bin/pushary-bell-hook.js +26 -26
  15. package/dist/bin/pushary-bell.js +10 -10
  16. package/dist/bin/pushary-claude.js +32 -31
  17. package/dist/bin/pushary-clean.js +37 -33
  18. package/dist/bin/pushary-codex-bridge.js +21 -21
  19. package/dist/bin/pushary-codex-hook.js +44 -43
  20. package/dist/bin/pushary-codex-session.js +8 -8
  21. package/dist/bin/pushary-codex.js +14 -13
  22. package/dist/bin/pushary-connect.js +27 -26
  23. package/dist/bin/pushary-cowork.js +5 -5
  24. package/dist/bin/pushary-daemon.js +70 -43
  25. package/dist/bin/pushary-disconnect.js +26 -25
  26. package/dist/bin/pushary-display-hook.js +17 -17
  27. package/dist/bin/pushary-doctor.js +42 -41
  28. package/dist/bin/pushary-elicitation-hook.js +26 -26
  29. package/dist/bin/pushary-gemini-bridge.js +15 -15
  30. package/dist/bin/pushary-gemini-hook.js +35 -34
  31. package/dist/bin/pushary-hook.js +30 -30
  32. package/dist/bin/pushary-login.js +20 -20
  33. package/dist/bin/pushary-logout.js +25 -24
  34. package/dist/bin/pushary-mcp.js +11 -11
  35. package/dist/bin/pushary-mode.js +15 -15
  36. package/dist/bin/pushary-notification-hook.js +25 -25
  37. package/dist/bin/pushary-opencode-hook.js +35 -34
  38. package/dist/bin/pushary-permission-denied-hook.js +30 -30
  39. package/dist/bin/pushary-permission-hook.js +30 -30
  40. package/dist/bin/pushary-post-hook.js +25 -25
  41. package/dist/bin/pushary-prompt-hook.js +25 -25
  42. package/dist/bin/pushary-session-end-hook.js +27 -27
  43. package/dist/bin/pushary-session-start-hook.js +35 -35
  44. package/dist/bin/pushary-setup.js +48 -47
  45. package/dist/bin/pushary-stats.js +5 -5
  46. package/dist/bin/pushary-status.js +32 -31
  47. package/dist/bin/pushary-stop-hook.js +25 -25
  48. package/dist/bin/pushary-stopfailure-hook.js +25 -25
  49. package/dist/bin/pushary-suggestions.js +15 -15
  50. package/dist/bin/pushary-transcript-register.js +21 -20
  51. package/dist/bin/pushary-transcripts.js +30 -20
  52. package/dist/bin/pushary-upgrade.js +40 -39
  53. package/dist/bin/pushary-wait.js +15 -15
  54. package/dist/bin/pushary.js +7 -7
  55. package/dist/{chunk-3BFCJZBU.js → chunk-254B34JU.js} +1 -1
  56. package/dist/{chunk-NEWGYFKC.js → chunk-2VZY5XQ5.js} +7 -7
  57. package/dist/chunk-3MWQZKIO.js +843 -0
  58. package/dist/{chunk-RL2KE6HG.js → chunk-42DNYOC4.js} +23 -21
  59. package/dist/{chunk-DS5BR4K6.js → chunk-4J3NGYHG.js} +2 -2
  60. package/dist/{chunk-2TEX3APZ.js → chunk-4OP5GWHQ.js} +5 -5
  61. package/dist/{chunk-UYTPCZ4M.js → chunk-4QGV3II7.js} +4 -4
  62. package/dist/{chunk-MHUKYYYR.js → chunk-4TMKTLQX.js} +44 -1
  63. package/dist/{chunk-O6T3CLWT.js → chunk-5Z43EFX2.js} +2 -2
  64. package/dist/{chunk-2BJZFA7X.js → chunk-64XK7DLE.js} +3 -3
  65. package/dist/{chunk-IXVMMDIG.js → chunk-6HBWJXU6.js} +3 -3
  66. package/dist/{chunk-W3VRQEL3.js → chunk-7GYDMVHV.js} +2 -2
  67. package/dist/{chunk-TO77OYLM.js → chunk-7ZYVX2KN.js} +1 -1
  68. package/dist/{chunk-LGWTITVK.js → chunk-BGMYSRMY.js} +1 -1
  69. package/dist/{chunk-C6FQ4YST.js → chunk-BS5MTP34.js} +2 -2
  70. package/dist/{chunk-LNSCANYY.js → chunk-BUS7MXEE.js} +3 -3
  71. package/dist/{chunk-FJZSJZCT.js → chunk-CIICMXVH.js} +3 -3
  72. package/dist/{chunk-GUM3WG4B.js → chunk-CSOVOAX5.js} +6 -6
  73. package/dist/{chunk-AM3H6HWG.js → chunk-CZ7C5AJT.js} +1 -1
  74. package/dist/{chunk-3V6G2GBJ.js → chunk-DNBBWBYA.js} +5 -5
  75. package/dist/{chunk-72CIQCBA.js → chunk-EKWDNEPN.js} +3 -3
  76. package/dist/{chunk-6224ENW3.js → chunk-EX33ZFJ6.js} +3 -3
  77. package/dist/{chunk-6355HHSR.js → chunk-FNC4SPOD.js} +2 -2
  78. package/dist/{chunk-CXZAKS7S.js → chunk-FRPR4OTH.js} +4 -4
  79. package/dist/{chunk-PJ26BODT.js → chunk-FSSA76HW.js} +1 -1
  80. package/dist/{chunk-RRMRP62I.js → chunk-G2GOVKBU.js} +6 -6
  81. package/dist/{chunk-TTTK44RK.js → chunk-GGGOFJBL.js} +1 -1
  82. package/dist/{chunk-OXTRF7CP.js → chunk-GWHZUHIK.js} +1 -1
  83. package/dist/{chunk-TKFDPYXS.js → chunk-H6IJOGDH.js} +4 -4
  84. package/dist/{chunk-JXE4UQFJ.js → chunk-HARHFDZM.js} +1 -1
  85. package/dist/{chunk-AXE2ZOKS.js → chunk-HLAW7HUT.js} +2 -2
  86. package/dist/{chunk-G5BYSS6C.js → chunk-HVZJ2EEI.js} +6 -6
  87. package/dist/{chunk-OIW3JAWH.js → chunk-HWT42Z4O.js} +5 -5
  88. package/dist/{chunk-WG67W43Y.js → chunk-JHWOM55B.js} +3 -1
  89. package/dist/{chunk-JNCD2ZG3.js → chunk-JJCMQRBF.js} +3 -3
  90. package/dist/{chunk-FHPSVTS5.js → chunk-JLJWVKMJ.js} +54 -835
  91. package/dist/{chunk-ONUAAXAW.js → chunk-JSZT4Q23.js} +1 -1
  92. package/dist/{chunk-UB7VUSSX.js → chunk-LUSWC2MV.js} +3 -3
  93. package/dist/{chunk-M5XNFUXN.js → chunk-OGTZ7JR7.js} +1 -1
  94. package/dist/{chunk-QJJJENT2.js → chunk-OKWHHDV5.js} +5 -5
  95. package/dist/{chunk-5LLZSX7I.js → chunk-OSEGZLCO.js} +3 -3
  96. package/dist/{chunk-UOUUTDWF.js → chunk-PHBZK4SC.js} +3 -3
  97. package/dist/{chunk-JTYZEP4Q.js → chunk-POKCUYIQ.js} +1 -1
  98. package/dist/{chunk-D3QGBMO3.js → chunk-QF6OJUWQ.js} +1 -1
  99. package/dist/{chunk-APSYBSMG.js → chunk-QG5Y5A36.js} +10 -10
  100. package/dist/{chunk-J4TQYGHU.js → chunk-QSDZE2B7.js} +5 -5
  101. package/dist/{chunk-4S5XVFDV.js → chunk-RPNT4D3K.js} +1 -1
  102. package/dist/{chunk-6L2U3TP3.js → chunk-SAPRO7FI.js} +6 -6
  103. package/dist/{chunk-ESRKYHWE.js → chunk-SBK7WGSE.js} +2 -2
  104. package/dist/{chunk-L77YWBMK.js → chunk-TD5PW2VI.js} +6 -6
  105. package/dist/{chunk-WLOVGZ7R.js → chunk-TFJQAPIA.js} +2 -2
  106. package/dist/{chunk-I4RNLK5G.js → chunk-TNPKYKXU.js} +166 -24
  107. package/dist/{chunk-CV56MBIZ.js → chunk-TSCFJJIB.js} +6 -6
  108. package/dist/{chunk-ER4UCECJ.js → chunk-TZDEHPYZ.js} +1 -1
  109. package/dist/{chunk-NPBPH7KI.js → chunk-UGELL4RB.js} +2 -2
  110. package/dist/{chunk-6WOG2SCC.js → chunk-UIDWJ24H.js} +6 -13
  111. package/dist/{chunk-N3C3D4AV.js → chunk-UWL6VVE3.js} +4 -4
  112. package/dist/{chunk-YAMNJXCD.js → chunk-V4JZHAOY.js} +17 -11
  113. package/dist/{chunk-4TR4G7A4.js → chunk-VD24OIWR.js} +1 -1
  114. package/dist/{chunk-5TMGEQAC.js → chunk-VJZGR4N3.js} +7 -5
  115. package/dist/{chunk-GUI2NYCX.js → chunk-VVWL6AB4.js} +5 -5
  116. package/dist/{chunk-OXKVR2FP.js → chunk-W2IRYDG5.js} +4 -4
  117. package/dist/{chunk-3UBYG4G7.js → chunk-WRKRZJCW.js} +10 -8
  118. package/dist/{chunk-DJILSCSU.js → chunk-YQCCJ6U5.js} +3 -3
  119. package/dist/{chunk-IEAABGST.js → chunk-YU5ACKJP.js} +4 -4
  120. package/dist/{chunk-DX45XQ36.js → chunk-Z75D2NJN.js} +3 -3
  121. package/dist/{chunk-S2DLTWFG.js → chunk-ZHL6F2KC.js} +3 -3
  122. package/dist/{chunk-X2P3O4PX.js → chunk-ZNFAF74M.js} +1 -1
  123. package/dist/{chunk-WUS2LFTM.js → chunk-ZUZ7NTWO.js} +181 -75
  124. package/dist/{chunk-Z5HLACZT.js → chunk-ZWKF7WE4.js} +4 -4
  125. package/dist/{codex-app-cards-switch-3FAIEEB2.js → codex-app-cards-switch-26N5XSSZ.js} +11 -11
  126. package/dist/{codex-desktop-launch-LHMHRVGF.js → codex-desktop-launch-UU6CPB2I.js} +1 -1
  127. package/dist/{codex-session-launch-MXUBSTL2.js → codex-session-launch-66LBR4MG.js} +18 -18
  128. package/dist/{config-MZDRETL2.js → config-ESAAVJWO.js} +3 -3
  129. package/dist/{global-upgrade-ZDENZA42.js → global-upgrade-QJONTWQI.js} +10 -10
  130. package/dist/{identity-YZRDJOGY.js → identity-IZVPSC7B.js} +4 -4
  131. package/dist/{live-capabilities-KSQDWVT6.js → live-capabilities-OEUPZX67.js} +5 -5
  132. package/dist/{paths-DYZZBVYI.js → paths-GDWS3B46.js} +3 -3
  133. package/dist/{reapply-L3AI5KJH.js → reapply-P2VOZGWQ.js} +28 -27
  134. package/dist/src/index.js +29 -29
  135. package/dist/{upgrade-lock-X7F2OFYB.js → upgrade-lock-3QABNXBZ.js} +4 -4
  136. package/dist/{usage-TKZALYXF.js → usage-KDRZPUZS.js} +3 -3
  137. package/package.json +1 -1
  138. package/dist/chunk-VHLRXIMC.js +0 -74
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  compatibleConfigFile
3
- } from "./chunk-5TMGEQAC.js";
3
+ } from "./chunk-VJZGR4N3.js";
4
4
  import {
5
5
  hookOwnerOf,
6
6
  hookOwnerOfCommands,
7
7
  liveBridgeProbe,
8
8
  resolveBridgeStub
9
- } from "./chunk-IEAABGST.js";
9
+ } from "./chunk-YU5ACKJP.js";
10
10
  import {
11
11
  AGENT_CHOICES
12
- } from "./chunk-JXE4UQFJ.js";
12
+ } from "./chunk-HARHFDZM.js";
13
13
  import {
14
14
  claudeSettings,
15
15
  codexHooksJson,
@@ -19,10 +19,10 @@ import {
19
19
  pusharyDir,
20
20
  vscodePluginDir,
21
21
  windowsNodeLauncherFor
22
- } from "./chunk-UOUUTDWF.js";
22
+ } from "./chunk-PHBZK4SC.js";
23
23
  import {
24
24
  readJsonSafe
25
- } from "./chunk-2BJZFA7X.js";
25
+ } from "./chunk-64XK7DLE.js";
26
26
  import {
27
27
  HOOK_BUDGETS,
28
28
  HOOK_COMPATIBLE_PROFILES,
@@ -30,7 +30,7 @@ import {
30
30
  OPENCODE_APPROVAL_EVENT,
31
31
  hookCompatibleProfile,
32
32
  isRecord
33
- } from "./chunk-WG67W43Y.js";
33
+ } from "./chunk-JHWOM55B.js";
34
34
 
35
35
  // src/opencode-plugin.ts
36
36
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-KZERVKTD.js";
8
8
  import {
9
9
  redactSecretsFromContent
10
- } from "./chunk-WG67W43Y.js";
10
+ } from "./chunk-JHWOM55B.js";
11
11
 
12
12
  // src/cli/json.ts
13
13
  var writeStdoutFully = (text) => new Promise((resolve, reject) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-ONUAAXAW.js";
3
+ } from "./chunk-JSZT4Q23.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-WG67W43Y.js";
6
+ } from "./chunk-JHWOM55B.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -1,3 +1,7 @@
1
+ import {
2
+ readOwnerOnlyJson,
3
+ transcriptReadPositionSchema
4
+ } from "./chunk-4TMKTLQX.js";
1
5
  import {
2
6
  external_exports
3
7
  } from "./chunk-XMSDA5WA.js";
@@ -8,8 +12,6 @@ import { existsSync, lstatSync, readFileSync } from "fs";
8
12
  import { homedir } from "os";
9
13
  import { join } from "path";
10
14
  var MAXIMUM_OWNER_DOCUMENT_BYTES = 16384;
11
- var MAXIMUM_READ_POSITIONS_BYTES = 4 * 1024 * 1024;
12
- var OWNER_ONLY_FILE_MODE = 384;
13
15
  var OWNER_ONLY_DIRECTORY_MODE = 448;
14
16
  var LOOPBACK_HOSTS = /* @__PURE__ */ new Set(["localhost", "127.0.0.1", "[::1]"]);
15
17
  var credentialSchema = external_exports.object({
@@ -20,20 +22,11 @@ var credentialSchema = external_exports.object({
20
22
  keyScope: external_exports.literal("agent")
21
23
  });
22
24
  var consentSchema = credentialSchema.pick({ siteID: true, machineID: true, baseURL: true }).extend({ enabled: external_exports.literal(true), grantedAtMs: external_exports.number().int().positive(), includesEarlierConversation: external_exports.boolean().optional() });
23
- var readPositionSchema = external_exports.object({
24
- identity: external_exports.string().nullable(),
25
- offset: external_exports.number().int().nonnegative(),
26
- startedBeforeEpoch: external_exports.boolean()
27
- });
28
25
  var readPositionsSchema = external_exports.object({
29
26
  epochStartedAtMs: external_exports.number().int().positive(),
30
- positions: external_exports.record(external_exports.string(), readPositionSchema)
27
+ positions: external_exports.record(external_exports.string(), transcriptReadPositionSchema)
31
28
  });
32
- var ownerDocument = (path, maximumBytes = MAXIMUM_OWNER_DOCUMENT_BYTES) => {
33
- const info = lstatSync(path);
34
- if (!info.isFile() || info.nlink !== 1 || info.uid !== process.getuid?.() || (info.mode & 511) !== OWNER_ONLY_FILE_MODE || info.size > maximumBytes) return null;
35
- return JSON.parse(readFileSync(path, "utf8"));
36
- };
29
+ var ownerDocument = (path, maximumBytes = MAXIMUM_OWNER_DOCUMENT_BYTES) => readOwnerOnlyJson(path, maximumBytes);
37
30
  var acceptsServer = (baseURL) => {
38
31
  const url = new URL(baseURL);
39
32
  return url.protocol === "https:" || url.protocol === "http:" && LOOPBACK_HOSTS.has(url.hostname);
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-5TMGEQAC.js";
4
+ } from "./chunk-VJZGR4N3.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-IEAABGST.js";
7
+ } from "./chunk-YU5ACKJP.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-UOUUTDWF.js";
11
+ } from "./chunk-PHBZK4SC.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-WG67W43Y.js";
14
+ } from "./chunk-JHWOM55B.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-UOUUTDWF.js";
3
+ } from "./chunk-PHBZK4SC.js";
4
4
  import {
5
5
  writeFileAtomic
6
- } from "./chunk-2BJZFA7X.js";
6
+ } from "./chunk-64XK7DLE.js";
7
7
 
8
8
  // src/identity.ts
9
9
  import { randomUUID } from "crypto";
10
- import { mkdirSync, readFileSync, writeFileSync } from "fs";
10
+ import { linkSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "fs";
11
11
  import { dirname, join } from "path";
12
12
  var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
13
13
  var readMachineId = (filePath) => {
@@ -26,18 +26,24 @@ var getOrCreateMachineId = (options = {}) => {
26
26
  const id = (options.randomId ?? randomUUID)();
27
27
  if (!UUID.test(id)) throw new Error("machine id generator returned an invalid UUID");
28
28
  mkdirSync(dirname(filePath), { recursive: true });
29
+ const candidate = join(dirname(filePath), `.machine-id-${randomUUID()}.tmp`);
29
30
  try {
30
- writeFileSync(filePath, `${id}
31
+ writeFileSync(candidate, `${id}
31
32
  `, { flag: "wx", mode: 384 });
33
+ try {
34
+ linkSync(candidate, filePath);
35
+ return id;
36
+ } catch (error) {
37
+ if (!(error instanceof Error) || !("code" in error) || error.code !== "EEXIST") throw error;
38
+ }
39
+ const winner = readMachineId(filePath);
40
+ if (winner) return winner;
41
+ writeFileAtomic(filePath, `${id}
42
+ `, 384);
32
43
  return id;
33
- } catch (err) {
34
- if (err.code !== "EEXIST") throw err;
44
+ } finally {
45
+ rmSync(candidate, { force: true });
35
46
  }
36
- const winner = readMachineId(filePath);
37
- if (winner) return winner;
38
- writeFileAtomic(filePath, `${id}
39
- `, 384);
40
- return id;
41
47
  };
42
48
  var getMachineId = (options = {}) => getOrCreateMachineId(options);
43
49
 
@@ -2,7 +2,7 @@ import {
2
2
  isApprovalMode,
3
3
  isRecord,
4
4
  isTimeoutAction
5
- } from "./chunk-WG67W43Y.js";
5
+ } from "./chunk-JHWOM55B.js";
6
6
 
7
7
  // src/cli/settings-response.ts
8
8
  var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-IEAABGST.js";
4
+ } from "./chunk-YU5ACKJP.js";
5
+ import {
6
+ CLAUDE_CODE_AGENT
7
+ } from "./chunk-JLJWVKMJ.js";
5
8
  import {
6
- CLAUDE_CODE_AGENT,
7
9
  compatibleToolLookup
8
- } from "./chunk-FHPSVTS5.js";
10
+ } from "./chunk-3MWQZKIO.js";
9
11
  import {
10
12
  CLAUDE_HOOK_EVENTS,
11
13
  PUSHARY_MCP_URL,
@@ -17,7 +19,7 @@ import {
17
19
  isPusharyHook,
18
20
  registerHookEntry,
19
21
  removeClaudeMcpServers
20
- } from "./chunk-UOUUTDWF.js";
22
+ } from "./chunk-PHBZK4SC.js";
21
23
  import {
22
24
  HOOK_COMPATIBLE_PROFILES,
23
25
  PHONE_ANSWERED_TOOLS,
@@ -28,7 +30,7 @@ import {
28
30
  pusharyMissingReason,
29
31
  refusalOutput,
30
32
  withHookHoldBudget
31
- } from "./chunk-WG67W43Y.js";
33
+ } from "./chunk-JHWOM55B.js";
32
34
 
33
35
  // src/config-document.ts
34
36
  import { parse, stringify } from "smol-toml";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  readMacAppAgentKey
3
- } from "./chunk-J4TQYGHU.js";
3
+ } from "./chunk-QSDZE2B7.js";
4
4
  import {
5
5
  API_KEYS_PATH
6
- } from "./chunk-C6FQ4YST.js";
6
+ } from "./chunk-BS5MTP34.js";
7
7
  import {
8
8
  findExportedKeyLines,
9
9
  isAdoptedMacAppKey,
@@ -13,13 +13,13 @@ import {
13
13
  readConfigFileKey,
14
14
  readKeySource,
15
15
  readMacAppKeyPrefix
16
- } from "./chunk-CXZAKS7S.js";
16
+ } from "./chunk-FRPR4OTH.js";
17
17
  import {
18
18
  absoluteUrl
19
- } from "./chunk-LNSCANYY.js";
19
+ } from "./chunk-BUS7MXEE.js";
20
20
  import {
21
21
  isValidApiKey
22
- } from "./chunk-WG67W43Y.js";
22
+ } from "./chunk-JHWOM55B.js";
23
23
 
24
24
  // src/key-revocation.ts
25
25
  var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";
@@ -12,7 +12,7 @@ import {
12
12
  reachVerdict,
13
13
  reachesYou,
14
14
  verifyDelivery
15
- } from "./chunk-RRMRP62I.js";
15
+ } from "./chunk-G2GOVKBU.js";
16
16
  import {
17
17
  humanIsTty,
18
18
  writeHuman
@@ -24,14 +24,14 @@ import {
24
24
  } from "./chunk-FO3MDD26.js";
25
25
  import {
26
26
  reportedInstallSource
27
- } from "./chunk-NPBPH7KI.js";
27
+ } from "./chunk-UGELL4RB.js";
28
28
  import {
29
29
  NPX_LATEST_COMMAND
30
- } from "./chunk-TTTK44RK.js";
30
+ } from "./chunk-GGGOFJBL.js";
31
31
  import {
32
32
  NO_PAIRING_COMPUTER,
33
33
  PAIR_TTL_SECONDS
34
- } from "./chunk-WG67W43Y.js";
34
+ } from "./chunk-JHWOM55B.js";
35
35
 
36
36
  // src/onboarding.ts
37
37
  import qrcodeTerminal from "qrcode-terminal";
@@ -1,28 +1,30 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-AM3H6HWG.js";
4
+ } from "./chunk-CZ7C5AJT.js";
5
5
  import {
6
6
  AUTO_DECISION_WINDOW_MS,
7
7
  DEFAULT_SESSION,
8
8
  claimThrottle,
9
- deriveToolTarget,
10
- permissionDeniedAction,
11
9
  releaseThrottle,
12
10
  reportEvent
13
- } from "./chunk-FHPSVTS5.js";
11
+ } from "./chunk-JLJWVKMJ.js";
12
+ import {
13
+ deriveToolTarget,
14
+ permissionDeniedAction
15
+ } from "./chunk-3MWQZKIO.js";
14
16
  import {
15
17
  askUser,
16
18
  isDecisionStopped,
17
19
  isQuestionLimitRefusal,
18
20
  waitForQuestion
19
- } from "./chunk-OIW3JAWH.js";
21
+ } from "./chunk-HWT42Z4O.js";
20
22
  import {
21
23
  SubscriptionRequiredError
22
- } from "./chunk-Z5HLACZT.js";
24
+ } from "./chunk-ZWKF7WE4.js";
23
25
  import {
24
26
  getMachineId
25
- } from "./chunk-YAMNJXCD.js";
27
+ } from "./chunk-V4JZHAOY.js";
26
28
  import {
27
29
  ASK_CONTEXT_MAX,
28
30
  agentQuestionContext,
@@ -34,7 +36,7 @@ import {
34
36
  questionsShownAsASet,
35
37
  shouldDeferToNativeMode,
36
38
  wireVerdictFor
37
- } from "./chunk-WG67W43Y.js";
39
+ } from "./chunk-JHWOM55B.js";
38
40
 
39
41
  // src/machine-decision-audit.ts
40
42
  import { basename } from "path";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-UOUUTDWF.js";
3
+ } from "./chunk-PHBZK4SC.js";
4
4
  import {
5
5
  readJsonSafe
6
- } from "./chunk-2BJZFA7X.js";
6
+ } from "./chunk-64XK7DLE.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-WG67W43Y.js";
9
+ } from "./chunk-JHWOM55B.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-JXE4UQFJ.js";
3
+ } from "./chunk-HARHFDZM.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-4S5XVFDV.js";
6
+ } from "./chunk-RPNT4D3K.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -13,13 +13,13 @@ import {
13
13
  hookBinaryNameOf,
14
14
  isProtectedByScope,
15
15
  registerHookEntry
16
- } from "./chunk-UOUUTDWF.js";
16
+ } from "./chunk-PHBZK4SC.js";
17
17
  import {
18
18
  CURSOR_GATE_EVENTS,
19
19
  HOOK_BUDGETS,
20
20
  HOOK_LOCATOR_BINARY,
21
21
  hookCommandHoldBudget
22
- } from "./chunk-WG67W43Y.js";
22
+ } from "./chunk-JHWOM55B.js";
23
23
 
24
24
  // src/diagnostics/bridge.ts
25
25
  import { execFileSync } from "child_process";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-UOUUTDWF.js";
3
+ } from "./chunk-PHBZK4SC.js";
4
4
  import {
5
5
  readJsonSafe,
6
6
  writeFileAtomic
7
- } from "./chunk-2BJZFA7X.js";
7
+ } from "./chunk-64XK7DLE.js";
8
8
  import {
9
9
  DECLINED_AGENTS_FILE,
10
10
  DISCONNECT_AGENT_IDS,
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-WG67W43Y.js";
16
+ } from "./chunk-JHWOM55B.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-UOUUTDWF.js";
6
+ } from "./chunk-PHBZK4SC.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
10
- } from "./chunk-2BJZFA7X.js";
10
+ } from "./chunk-64XK7DLE.js";
11
11
  import {
12
12
  CLI_PACKAGE_NAMES,
13
13
  POSIX_GLOBAL_ROOT_SEGMENTS,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZVU6WMMU.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-WG67W43Y.js";
20
+ } from "./chunk-JHWOM55B.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isSafeReadOnlyCommand
3
- } from "./chunk-WG67W43Y.js";
3
+ } from "./chunk-JHWOM55B.js";
4
4
 
5
5
  // src/ledger.ts
6
6
  import { appendFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync } from "fs";