@pushary/agent-hooks 1.9.145 → 1.9.148

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 (167) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +5 -4
  3. package/data/SKILL.md +3 -3
  4. package/data/cursor-plugin/scripts/redaction.mjs +2 -1
  5. package/data/cursor-plugin/skills/pushary/SKILL.md +2 -2
  6. package/data/openclaw-plugin/LICENSE +21 -0
  7. package/data/openclaw-plugin/README.md +113 -0
  8. package/data/openclaw-plugin/dist/api-key-shape.js +5 -0
  9. package/data/openclaw-plugin/dist/approval-hook.js +88 -0
  10. package/data/openclaw-plugin/dist/approval-question.js +66 -0
  11. package/data/openclaw-plugin/dist/connection.js +101 -0
  12. package/data/openclaw-plugin/dist/decision-reply.js +6 -0
  13. package/data/openclaw-plugin/dist/gate-result.js +58 -0
  14. package/data/openclaw-plugin/dist/gate.js +173 -0
  15. package/data/openclaw-plugin/dist/hook-budget.js +19 -0
  16. package/data/openclaw-plugin/dist/host-api.js +1 -0
  17. package/data/openclaw-plugin/dist/host-version.js +25 -0
  18. package/data/openclaw-plugin/dist/index.js +32 -0
  19. package/data/openclaw-plugin/dist/openclaw-paths.js +43 -0
  20. package/data/openclaw-plugin/dist/openclaw-write-guard.js +93 -0
  21. package/data/openclaw-plugin/dist/protected-writes.js +217 -0
  22. package/data/openclaw-plugin/dist/pushary-client.js +103 -0
  23. package/data/openclaw-plugin/dist/pushary-hosts.js +3 -0
  24. package/data/openclaw-plugin/dist/redaction.js +53 -0
  25. package/data/openclaw-plugin/dist/replies.js +65 -0
  26. package/data/openclaw-plugin/dist/settings.js +103 -0
  27. package/data/openclaw-plugin/openclaw.plugin.json +32 -0
  28. package/data/openclaw-plugin/package.json +70 -0
  29. package/data/vscode-plugin/scripts/redaction.mjs +2 -1
  30. package/data/vscode-plugin/skills/pushary/SKILL.md +2 -2
  31. package/dist/{api-KWJQMO6G.js → api-H7H75ARS.js} +11 -11
  32. package/dist/bin/pushary-audit.js +3 -3
  33. package/dist/bin/pushary-bell-hook.js +28 -28
  34. package/dist/bin/pushary-bell.js +11 -11
  35. package/dist/bin/pushary-claude.js +27 -27
  36. package/dist/bin/pushary-clean.js +76 -39
  37. package/dist/bin/pushary-codex-bridge.js +23 -23
  38. package/dist/bin/pushary-codex-hook.js +35 -35
  39. package/dist/bin/pushary-codex-session.js +8 -8
  40. package/dist/bin/pushary-codex.js +16 -16
  41. package/dist/bin/pushary-connect.js +78 -36
  42. package/dist/bin/pushary-cowork.js +5 -5
  43. package/dist/bin/pushary-daemon.js +44 -43
  44. package/dist/bin/pushary-disconnect.js +28 -28
  45. package/dist/bin/pushary-display-hook.js +96 -44
  46. package/dist/bin/pushary-doctor.js +124 -55
  47. package/dist/bin/pushary-elicitation-hook.js +28 -28
  48. package/dist/bin/pushary-gemini-bridge.js +17 -17
  49. package/dist/bin/pushary-gemini-hook.js +32 -32
  50. package/dist/bin/pushary-hook.js +35 -35
  51. package/dist/bin/pushary-login.js +22 -22
  52. package/dist/bin/pushary-logout.js +33 -31
  53. package/dist/bin/pushary-mcp.js +12 -12
  54. package/dist/bin/pushary-mode.js +16 -16
  55. package/dist/bin/pushary-notification-hook.js +27 -27
  56. package/dist/bin/pushary-opencode-hook.js +31 -31
  57. package/dist/bin/pushary-permission-denied-hook.js +35 -35
  58. package/dist/bin/pushary-permission-hook.js +35 -35
  59. package/dist/bin/pushary-post-hook.js +28 -28
  60. package/dist/bin/pushary-prompt-hook.js +27 -27
  61. package/dist/bin/pushary-session-end-hook.js +27 -27
  62. package/dist/bin/pushary-session-start-hook.js +37 -36
  63. package/dist/bin/pushary-setup.js +144 -106
  64. package/dist/bin/pushary-stats.js +5 -5
  65. package/dist/bin/pushary-status.js +38 -36
  66. package/dist/bin/pushary-stop-hook.js +27 -27
  67. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  68. package/dist/bin/pushary-suggestions.js +16 -16
  69. package/dist/bin/pushary-transcript-register.js +17 -17
  70. package/dist/bin/pushary-transcripts.js +25 -25
  71. package/dist/bin/pushary-upgrade.js +42 -41
  72. package/dist/bin/pushary-wait.js +16 -16
  73. package/dist/bin/pushary.js +7 -7
  74. package/dist/{chunk-6IWOMXUF.js → chunk-2VPRLAKF.js} +4 -4
  75. package/dist/{chunk-GK5X2ZTN.js → chunk-3AAQJ75F.js} +5 -5
  76. package/dist/{chunk-YNCVSKUW.js → chunk-3OPXQK4D.js} +5 -5
  77. package/dist/{chunk-ZORBUQFG.js → chunk-3T7RA7WJ.js} +2 -2
  78. package/dist/{chunk-PXZTCR4M.js → chunk-3WD3BEPB.js} +2 -2
  79. package/dist/{chunk-VTJ4WZOC.js → chunk-43NHQUCY.js} +24 -3
  80. package/dist/{chunk-S7HGPKCL.js → chunk-4L2IYNLC.js} +1 -1
  81. package/dist/{chunk-KFALRZIN.js → chunk-5IG3VPHT.js} +4 -4
  82. package/dist/{chunk-S3A4PCRR.js → chunk-5ZIYTFPW.js} +10 -10
  83. package/dist/{chunk-A2H256WR.js → chunk-6HO36P3A.js} +1 -1
  84. package/dist/{chunk-FCSPMSDC.js → chunk-6RYJ3XCD.js} +200 -59
  85. package/dist/{chunk-PY6CM4NK.js → chunk-6YX3VB5P.js} +19 -12
  86. package/dist/{chunk-BYKRAYGD.js → chunk-A3URJPYH.js} +1 -1
  87. package/dist/{chunk-KS3PNTRT.js → chunk-ABTQG6XU.js} +1 -1
  88. package/dist/{chunk-72LP4RPC.js → chunk-AQ7L2E2U.js} +98 -47
  89. package/dist/{chunk-FNAH3YJC.js → chunk-B6RTPP3X.js} +16 -16
  90. package/dist/{chunk-K2SKUBYY.js → chunk-BP5HLKR6.js} +12 -12
  91. package/dist/{chunk-4L5WPDTB.js → chunk-BPKB7BI4.js} +1 -1
  92. package/dist/{chunk-YRJZF5RG.js → chunk-CABBLJD5.js} +3 -3
  93. package/dist/{chunk-ZBMVOMFG.js → chunk-CAHULQIO.js} +1 -1
  94. package/dist/chunk-CBIS7IYQ.js +157 -0
  95. package/dist/{chunk-LJRPWUST.js → chunk-CDQOARIF.js} +3 -3
  96. package/dist/{chunk-ZSOCJHL7.js → chunk-CIRTRWHM.js} +309 -5
  97. package/dist/{chunk-NTMKJRQ3.js → chunk-CMTDMZPV.js} +2 -2
  98. package/dist/{chunk-WOSO4YFQ.js → chunk-CU5SYUMK.js} +3 -6
  99. package/dist/{chunk-L4OGTRVW.js → chunk-D3QT4S7U.js} +4 -4
  100. package/dist/{chunk-YU5XE6VC.js → chunk-DHCJDYBT.js} +8 -7
  101. package/dist/{chunk-2LGDEPVL.js → chunk-DLPI45DF.js} +6 -6
  102. package/dist/{chunk-ZJZNT2G5.js → chunk-ENRL4WFD.js} +4 -4
  103. package/dist/{chunk-6UK4K5RS.js → chunk-FQLS37AX.js} +1 -1
  104. package/dist/{chunk-B4JQIH5M.js → chunk-H6FFNTSR.js} +7 -7
  105. package/dist/{chunk-JKWUF776.js → chunk-HEOBF5H6.js} +3 -3
  106. package/dist/{chunk-MNU5N3CQ.js → chunk-JSZ6LKX5.js} +23 -12
  107. package/dist/{chunk-RO6EVL5C.js → chunk-JUEQUYAT.js} +2 -2
  108. package/dist/{chunk-GURIOZE7.js → chunk-KP6ERYOA.js} +8 -8
  109. package/dist/{chunk-QKTF7WS6.js → chunk-KWJJYZ3T.js} +4 -4
  110. package/dist/{chunk-EPWOARGR.js → chunk-KXNAB76Z.js} +16 -5
  111. package/dist/chunk-LC53HRZ6.js +36 -0
  112. package/dist/{chunk-52UXNCZG.js → chunk-M7HJZ7HO.js} +3 -3
  113. package/dist/{chunk-WMBWKPKJ.js → chunk-MT4GBXLM.js} +10 -74
  114. package/dist/{chunk-WPBWJMBZ.js → chunk-MUSINFEU.js} +5 -5
  115. package/dist/{chunk-LD4R2P6N.js → chunk-NHZV2H63.js} +1 -1
  116. package/dist/{chunk-USFZJAB4.js → chunk-NLED3JGR.js} +1 -1
  117. package/dist/{chunk-DZIZ3XFL.js → chunk-NRPQUU3D.js} +2 -2
  118. package/dist/{chunk-LQXUWXQP.js → chunk-O5ARO3JM.js} +33 -10
  119. package/dist/chunk-OYIN77HO.js +72 -0
  120. package/dist/{chunk-TJXJGMSP.js → chunk-PH3MVQCQ.js} +21 -11
  121. package/dist/{chunk-2ELNRGNX.js → chunk-PUTX5BBE.js} +7 -4
  122. package/dist/{chunk-R34RWVN2.js → chunk-PVBDITRS.js} +14 -5
  123. package/dist/{chunk-33BYPZ52.js → chunk-Q7GZKNMH.js} +1 -1
  124. package/dist/{chunk-7LTP2GHO.js → chunk-QSZYHL7Z.js} +2 -2
  125. package/dist/{chunk-CUR2DCZN.js → chunk-QTQRQZIU.js} +4 -4
  126. package/dist/{chunk-SQL5YXUH.js → chunk-R2JRRCZK.js} +1 -1
  127. package/dist/{chunk-4KDRT3OA.js → chunk-RMBY7JGO.js} +1 -1
  128. package/dist/{chunk-KKPT7ROP.js → chunk-RWTH5RYA.js} +2 -2
  129. package/dist/chunk-RYDDLS62.js +176 -0
  130. package/dist/{chunk-Q6P7G4NY.js → chunk-S3MEI2D2.js} +17 -5
  131. package/dist/{chunk-HOQH5CLZ.js → chunk-T3CMGGNW.js} +1 -1
  132. package/dist/{chunk-IIN26HL7.js → chunk-T4PX3DRF.js} +1 -1
  133. package/dist/{chunk-6LZ7MXHD.js → chunk-TXXAQRX4.js} +7 -5
  134. package/dist/{chunk-YZA3YBHX.js → chunk-UAHBSOO4.js} +2 -2
  135. package/dist/{chunk-LMU6NG2G.js → chunk-UFGFO7QB.js} +1 -1
  136. package/dist/{chunk-TRV3ETGY.js → chunk-UJUGFLVF.js} +5 -5
  137. package/dist/{chunk-IRPIMQ7U.js → chunk-UL2NNDKD.js} +3 -3
  138. package/dist/{chunk-BWREST4F.js → chunk-VPADWVYD.js} +1 -1
  139. package/dist/{chunk-5TWW7ZUL.js → chunk-VPMSV35B.js} +5 -5
  140. package/dist/{chunk-G3VSMI7K.js → chunk-WQEJCDMR.js} +2 -2
  141. package/dist/{chunk-JZT2LPRM.js → chunk-WQJ5NJ35.js} +1 -1
  142. package/dist/{chunk-63WX5KZN.js → chunk-X4OEGFOG.js} +3 -3
  143. package/dist/{chunk-RWLNTZK5.js → chunk-X4OQ5UMH.js} +5 -5
  144. package/dist/{chunk-MOC2DN42.js → chunk-XSBW6TUH.js} +2 -2
  145. package/dist/{chunk-WH4ODOCE.js → chunk-XZGQZDFP.js} +6 -6
  146. package/dist/{chunk-FO3MDD26.js → chunk-YM2T76UM.js} +27 -0
  147. package/dist/{chunk-WUT3PO33.js → chunk-YOP7LFHW.js} +8 -8
  148. package/dist/{chunk-KGFB2LEB.js → chunk-YTD7RV6F.js} +3 -3
  149. package/dist/{chunk-IDLOJIIS.js → chunk-YWSIN7IH.js} +1 -1
  150. package/dist/{chunk-MKHVLDMN.js → chunk-ZCB5SCYM.js} +2 -2
  151. package/dist/{chunk-OONMKLUF.js → chunk-ZOATPL53.js} +4 -4
  152. package/dist/{chunk-Y7INHH5G.js → chunk-ZX2O66NS.js} +3 -3
  153. package/dist/{codex-app-cards-switch-F7WQ7Y3I.js → codex-app-cards-switch-BCM547E6.js} +11 -11
  154. package/dist/{codex-card-routing-EVL5L36G.js → codex-card-routing-222EKZJR.js} +2 -2
  155. package/dist/{codex-desktop-launch-PL6Z2ELZ.js → codex-desktop-launch-6AFOLMZ7.js} +1 -1
  156. package/dist/{codex-session-launch-7NQEAUDU.js → codex-session-launch-4YJR4ZGN.js} +20 -20
  157. package/dist/{config-KFFD4VWH.js → config-GWNPGS47.js} +3 -3
  158. package/dist/{global-upgrade-L3CY6EFF.js → global-upgrade-VRF6OSSU.js} +9 -9
  159. package/dist/{identity-DPYYIMHL.js → identity-PQIM7R2N.js} +4 -4
  160. package/dist/{live-capabilities-QJEXK6GH.js → live-capabilities-G3LMKZUB.js} +4 -4
  161. package/dist/{paths-PEF6C64P.js → paths-TFGIP5PU.js} +7 -3
  162. package/dist/{reapply-7APCQRRK.js → reapply-3IRAI6JF.js} +30 -29
  163. package/dist/src/index.js +34 -34
  164. package/dist/{upgrade-lock-A7OKXMRW.js → upgrade-lock-2G7ANYYO.js} +6 -4
  165. package/dist/{usage-HSS33762.js → usage-K3EGYCSU.js} +3 -3
  166. package/package.json +1 -1
  167. package/dist/chunk-D3UFDCTQ.js +0 -87
@@ -1,14 +1,34 @@
1
+ import {
2
+ OPENCLAW_PLUGIN_ID,
3
+ OPENCLAW_PLUGIN_PACKAGE,
4
+ currentOpenClawEnvironment,
5
+ enableOpenClawPlugin,
6
+ findOpenClawLauncher,
7
+ inspectOpenClawPlugin,
8
+ installOpenClawPluginFrom,
9
+ isOursToRemove,
10
+ openClawPathsNow,
11
+ openClawWiringState,
12
+ readOpenClawEntry,
13
+ uninstallOpenClawPlugin,
14
+ unsetOpenClawEntry,
15
+ writeOpenClawEntry
16
+ } from "./chunk-RYDDLS62.js";
1
17
  import {
2
18
  needsShell
3
19
  } from "./chunk-H6CL3T2S.js";
4
20
  import {
21
+ OPENCLAW_ENVIRONMENT_KEYS,
5
22
  hermesAppWiringRecord,
6
23
  hermesConfigReceipt,
7
- hermesSetupReceipt
8
- } from "./chunk-72LP4RPC.js";
24
+ hermesSetupReceipt,
25
+ openClawDirectoriesToLookIn,
26
+ openClawPluginFolder,
27
+ openClawSetupReceiptDirectory
28
+ } from "./chunk-AQ7L2E2U.js";
9
29
  import {
10
30
  resolvePathBinary
11
- } from "./chunk-VTJ4WZOC.js";
31
+ } from "./chunk-43NHQUCY.js";
12
32
  import {
13
33
  readJsonSafe,
14
34
  writeJsonAtomic
@@ -19,7 +39,7 @@ import {
19
39
  } from "./chunk-WIIMW5YO.js";
20
40
  import {
21
41
  isRecord
22
- } from "./chunk-LQXUWXQP.js";
42
+ } from "./chunk-O5ARO3JM.js";
23
43
 
24
44
  // src/hermes/plugin-payload.ts
25
45
  import { createHash } from "crypto";
@@ -3513,6 +3533,284 @@ var removeHermesWiring = async (request) => {
3513
3533
  return { kind: "removed", pluginRemoved: folder.kind === "pushary", settingsRestored, dryRun: false };
3514
3534
  };
3515
3535
 
3536
+ // src/openclaw/install.ts
3537
+ import { createHash as createHash3 } from "crypto";
3538
+ import { existsSync as existsSync4, readdirSync as readdirSync2, rmSync as rmSync4 } from "fs";
3539
+ import { join as join3 } from "path";
3540
+
3541
+ // src/openclaw/bundled-plugin.ts
3542
+ import { createHash as createHash2 } from "crypto";
3543
+ import { cpSync, existsSync as existsSync3, mkdirSync as mkdirSync2, readdirSync, readFileSync as readFileSync2, renameSync as renameSync2, rmSync as rmSync3, statSync as statSync2, writeFileSync as writeFileSync2 } from "fs";
3544
+ import { dirname as dirname2, join as join2, relative } from "path";
3545
+ import { fileURLToPath } from "url";
3546
+ var OPENCLAW_BUNDLE_DIRECTORY = "openclaw-plugin";
3547
+ var OPENCLAW_MANIFEST_FILE = "openclaw.plugin.json";
3548
+ var OPENCLAW_PACKAGE_FILE = "package.json";
3549
+ var OPENCLAW_ENTRY_FILE = join2("dist", "index.js");
3550
+ var OPENCLAW_INSTALL_MARKER_FILE = ".pushary-install.json";
3551
+ var INSTALL_MARKER_OWNER = "pushary";
3552
+ var parsedJsonFile = (path) => {
3553
+ try {
3554
+ return JSON.parse(readFileSync2(path, "utf-8"));
3555
+ } catch {
3556
+ return null;
3557
+ }
3558
+ };
3559
+ var filesUnder = (root, directory = root) => readdirSync(directory, { withFileTypes: true }).flatMap((entry) => {
3560
+ const path = join2(directory, entry.name);
3561
+ if (entry.name === OPENCLAW_INSTALL_MARKER_FILE) return [];
3562
+ return entry.isDirectory() ? filesUnder(root, path) : [relative(root, path)];
3563
+ }).sort();
3564
+ var digestOfPluginFolder = (directory) => {
3565
+ const hash = createHash2("sha256");
3566
+ for (const file of filesUnder(directory)) {
3567
+ hash.update(file.split("\\").join("/"));
3568
+ hash.update("\0");
3569
+ hash.update(readFileSync2(join2(directory, file)));
3570
+ hash.update("\0");
3571
+ }
3572
+ return `sha256:${hash.digest("hex")}`;
3573
+ };
3574
+ var readPluginBundle = (directory) => {
3575
+ const manifest = parsedJsonFile(join2(directory, OPENCLAW_MANIFEST_FILE));
3576
+ const pkg = parsedJsonFile(join2(directory, OPENCLAW_PACKAGE_FILE));
3577
+ if (!isRecord(manifest) || manifest.id !== OPENCLAW_PLUGIN_ID) return null;
3578
+ if (!isRecord(pkg) || pkg.name !== OPENCLAW_PLUGIN_PACKAGE || typeof pkg.version !== "string") return null;
3579
+ if (!existsSync3(join2(directory, OPENCLAW_ENTRY_FILE))) return null;
3580
+ return { directory, version: pkg.version, digest: digestOfPluginFolder(directory) };
3581
+ };
3582
+ var bundledPluginCandidates = (moduleDirectory) => [
3583
+ join2(moduleDirectory, "..", "..", "data", OPENCLAW_BUNDLE_DIRECTORY),
3584
+ join2(moduleDirectory, "..", "data", OPENCLAW_BUNDLE_DIRECTORY)
3585
+ ];
3586
+ var findBundledOpenClawPlugin = () => {
3587
+ const moduleDirectory = dirname2(fileURLToPath(import.meta.url));
3588
+ for (const candidate of bundledPluginCandidates(moduleDirectory)) {
3589
+ const bundle = readPluginBundle(candidate);
3590
+ if (bundle !== null) return bundle;
3591
+ }
3592
+ return null;
3593
+ };
3594
+ var readInstallMarker = (directory) => {
3595
+ const marker = parsedJsonFile(join2(directory, OPENCLAW_INSTALL_MARKER_FILE));
3596
+ if (!isRecord(marker) || marker.owner !== INSTALL_MARKER_OWNER) return null;
3597
+ return typeof marker.version === "string" && typeof marker.digest === "string" ? { owner: INSTALL_MARKER_OWNER, version: marker.version, digest: marker.digest } : null;
3598
+ };
3599
+ var ownedFolderIsCurrent = (directory, bundle) => readInstallMarker(directory)?.digest === bundle.digest;
3600
+ var isDirectory = (path) => {
3601
+ try {
3602
+ return statSync2(path).isDirectory();
3603
+ } catch {
3604
+ return false;
3605
+ }
3606
+ };
3607
+ var writeOwnedPluginFolder = (bundle, target) => {
3608
+ const staging = `${target}.staging-${process.pid}`;
3609
+ const previous = `${target}.previous-${process.pid}`;
3610
+ rmSync3(staging, { recursive: true, force: true });
3611
+ mkdirSync2(dirname2(target), { recursive: true });
3612
+ cpSync(bundle.directory, staging, { recursive: true, filter: (path) => !path.endsWith(OPENCLAW_INSTALL_MARKER_FILE) });
3613
+ const marker = { owner: INSTALL_MARKER_OWNER, version: bundle.version, digest: bundle.digest };
3614
+ writeFileSync2(join2(staging, OPENCLAW_INSTALL_MARKER_FILE), `${JSON.stringify(marker, null, 2)}
3615
+ `);
3616
+ rmSync3(previous, { recursive: true, force: true });
3617
+ const hadTarget = isDirectory(target);
3618
+ if (hadTarget) renameSync2(target, previous);
3619
+ try {
3620
+ renameSync2(staging, target);
3621
+ } catch (error) {
3622
+ if (hadTarget) renameSync2(previous, target);
3623
+ rmSync3(staging, { recursive: true, force: true });
3624
+ throw error;
3625
+ }
3626
+ rmSync3(previous, { recursive: true, force: true });
3627
+ };
3628
+
3629
+ // src/openclaw/setup-receipt.ts
3630
+ var OPENCLAW_RECEIPT_VERSION = 1;
3631
+ var CONFIG_FIELD = "config";
3632
+ var ENABLED_FIELD = "enabled";
3633
+ var environmentFrom = (value) => {
3634
+ if (!isRecord(value)) return null;
3635
+ const entries = Object.entries(value);
3636
+ const known = new Set(OPENCLAW_ENVIRONMENT_KEYS);
3637
+ if (!entries.every(([key, setting]) => known.has(key) && typeof setting === "string")) return null;
3638
+ return Object.fromEntries(entries.flatMap(([key, setting]) => typeof setting === "string" ? [[key, setting]] : []));
3639
+ };
3640
+ var entryBeforeFrom = (value) => {
3641
+ if (!isRecord(value) || typeof value.present !== "boolean") return null;
3642
+ return value.present ? { present: true, value: value.value } : { present: false };
3643
+ };
3644
+ var parseOpenClawSetupReceipt = (value) => {
3645
+ if (!isRecord(value) || value.version !== OPENCLAW_RECEIPT_VERSION) return null;
3646
+ const environment = environmentFrom(value.environment);
3647
+ const entryBefore = entryBeforeFrom(value.entryBefore);
3648
+ return environment === null || entryBefore === null ? null : { version: OPENCLAW_RECEIPT_VERSION, environment, entryBefore };
3649
+ };
3650
+ var userConfigOf = (entry) => {
3651
+ if (!isRecord(entry)) return null;
3652
+ const config = entry[CONFIG_FIELD];
3653
+ return isRecord(config) && Object.keys(config).length > 0 ? config : null;
3654
+ };
3655
+ var entryToRestore = (before, now) => {
3656
+ const userConfig = userConfigOf(now);
3657
+ if (before.present) {
3658
+ return userConfig !== null && isRecord(before.value) ? { kind: "set", value: { ...before.value, [CONFIG_FIELD]: userConfig } } : { kind: "set", value: before.value };
3659
+ }
3660
+ return userConfig === null ? { kind: "unset" } : { kind: "set", value: { [ENABLED_FIELD]: false, [CONFIG_FIELD]: userConfig } };
3661
+ };
3662
+
3663
+ // src/openclaw/install.ts
3664
+ var FAILURE_DETAIL_MAX_LENGTH = 300;
3665
+ var RECEIPT_MODE2 = 384;
3666
+ var RECEIPT_EXTENSION = ".json";
3667
+ var RECEIPT_NAME_LENGTH = 16;
3668
+ var openClawFilesNow = () => ({ ownedFolder: openClawPluginFolder(), receiptDirectory: openClawSetupReceiptDirectory() });
3669
+ var lastLineOf = (output) => output.trim().split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0).at(-1)?.slice(0, FAILURE_DETAIL_MAX_LENGTH) ?? "";
3670
+ var failureDetail = (result) => lastLineOf(result.output);
3671
+ var readReceipt = (path) => {
3672
+ const read = readJsonSafe(path);
3673
+ if (read.kind === "missing") return { kind: "missing" };
3674
+ const receipt = read.kind === "ok" ? parseOpenClawSetupReceipt(read.value) : null;
3675
+ return receipt === null ? { kind: "invalid" } : { kind: "ok", receipt };
3676
+ };
3677
+ var receiptPathFor = (files, environment) => {
3678
+ const stateDirectory = openClawPathsNow(environment).stateDirectory;
3679
+ return join3(files.receiptDirectory, `${createHash3("sha256").update(stateDirectory, "utf8").digest("hex").slice(0, RECEIPT_NAME_LENGTH)}${RECEIPT_EXTENSION}`);
3680
+ };
3681
+ var recordedSetups = (files) => {
3682
+ if (!existsSync4(files.receiptDirectory)) return [];
3683
+ return readdirSync2(files.receiptDirectory).filter((name) => name.endsWith(RECEIPT_EXTENSION)).sort().map((name) => join3(files.receiptDirectory, name)).map((path) => ({ path, read: readReceipt(path) }));
3684
+ };
3685
+ var openClawLivesHere = (environment) => openClawDirectoriesToLookIn(openClawPathsNow(environment)).some(existsSync4);
3686
+ var sessionFor = (launcher, environment) => ({ launcher, environment });
3687
+ var launcherFor = (launcher, lookUp) => launcher === void 0 ? lookUp() : launcher;
3688
+ var inspectWith = async (session, runtime) => {
3689
+ const facts = await inspectOpenClawPlugin(session, { runtime });
3690
+ return { kind: "inspected", session, facts, state: openClawWiringState(facts) };
3691
+ };
3692
+ var launcherWhereOpenClawLives = (environment, receipt) => receipt.kind === "ok" || openClawLivesHere(environment) ? findOpenClawLauncher() : null;
3693
+ var inspectOpenClawWiring = async (files, launcher) => {
3694
+ const environment = currentOpenClawEnvironment();
3695
+ const receipt = readReceipt(receiptPathFor(files, environment));
3696
+ const found = launcherFor(launcher, () => launcherWhereOpenClawLives(environment, receipt));
3697
+ return found === null ? { kind: "no_launcher" } : inspectWith(sessionFor(found, environment), true);
3698
+ };
3699
+ var pluginIdTakenBySomeoneElse = (facts) => facts.kind === "installed" && !isOursToRemove(facts);
3700
+ var ensureReceipt = async (session, receiptPath) => {
3701
+ const existing = readReceipt(receiptPath);
3702
+ if (existing.kind === "ok") return { kind: "ok" };
3703
+ if (existing.kind === "invalid") return { kind: "failed", reason: "receipt_invalid" };
3704
+ const entry = await readOpenClawEntry(session);
3705
+ if (entry.kind === "unreadable") return { kind: "failed", reason: "config_unreadable" };
3706
+ const receipt = {
3707
+ version: OPENCLAW_RECEIPT_VERSION,
3708
+ environment: session.environment,
3709
+ entryBefore: entry.kind === "present" ? { present: true, value: entry.value } : { present: false }
3710
+ };
3711
+ writeJsonAtomic(receiptPath, receipt, RECEIPT_MODE2);
3712
+ return { kind: "ok" };
3713
+ };
3714
+ var writeOwnedFolder = (bundle, folder) => {
3715
+ try {
3716
+ writeOwnedPluginFolder(bundle, folder);
3717
+ return true;
3718
+ } catch {
3719
+ return false;
3720
+ }
3721
+ };
3722
+ var installOpenClawPlugin = async (request) => {
3723
+ const launcher = launcherFor(request.launcher, findOpenClawLauncher);
3724
+ if (launcher === null) return { kind: "no_launcher" };
3725
+ const bundle = request.bundle === void 0 ? findBundledOpenClawPlugin() : request.bundle;
3726
+ if (bundle === null) return { kind: "failed", reason: "bundle_missing", detail: "" };
3727
+ const environment = currentOpenClawEnvironment();
3728
+ const session = sessionFor(launcher, environment);
3729
+ const before = await inspectOpenClawPlugin(session, { runtime: false });
3730
+ if (before.kind === "unreadable") return { kind: "failed", reason: "inspect_unreadable", detail: "" };
3731
+ if (pluginIdTakenBySomeoneElse(before)) {
3732
+ return { kind: "failed", reason: "plugin_id_taken", detail: before.kind === "installed" ? before.packageName ?? "" : "" };
3733
+ }
3734
+ const receipt = await ensureReceipt(session, receiptPathFor(request.files, environment));
3735
+ if (receipt.kind === "failed") return { kind: "failed", reason: receipt.reason, detail: "" };
3736
+ if (!writeOwnedFolder(bundle, request.files.ownedFolder)) return { kind: "failed", reason: "plugin_write_failed", detail: "" };
3737
+ const installed = await installOpenClawPluginFrom(session, request.files.ownedFolder);
3738
+ if (installed.kind === "failed") {
3739
+ return { kind: "failed", reason: installed.timedOut ? "install_timed_out" : "install_failed", detail: failureDetail(installed) };
3740
+ }
3741
+ const enabled = await enableOpenClawPlugin(session);
3742
+ if (enabled.kind === "failed") return { kind: "failed", reason: "enable_failed", detail: failureDetail(enabled) };
3743
+ return { kind: "installed", inspection: await inspectWith(session, true), version: bundle.version };
3744
+ };
3745
+ var setupsRecordedOk = (files) => recordedSetups(files).flatMap((setup) => setup.read.kind === "ok" ? [setup.read.receipt] : []);
3746
+ var reinstallInto = async (launcher, receipt, folder) => {
3747
+ const session = sessionFor(launcher, receipt.environment);
3748
+ if (!isOursToRemove(await inspectOpenClawPlugin(session, { runtime: false }))) return "skipped";
3749
+ return (await installOpenClawPluginFrom(session, folder)).kind === "ok" ? "refreshed" : "failed";
3750
+ };
3751
+ var refreshOpenClawPlugin = async (request) => {
3752
+ const receipts = setupsRecordedOk(request.files);
3753
+ if (receipts.length === 0) return "not_set_up";
3754
+ const bundle = request.bundle === void 0 ? findBundledOpenClawPlugin() : request.bundle;
3755
+ if (bundle === null) return "failed";
3756
+ if (ownedFolderIsCurrent(request.files.ownedFolder, bundle)) return "current";
3757
+ const launcher = launcherFor(request.launcher, findOpenClawLauncher);
3758
+ if (launcher === null) return "failed";
3759
+ if (!writeOwnedFolder(bundle, request.files.ownedFolder)) return "failed";
3760
+ const results = [];
3761
+ for (const receipt of receipts) results.push(await reinstallInto(launcher, receipt, request.files.ownedFolder));
3762
+ if (results.includes("failed")) return "failed";
3763
+ return results.includes("refreshed") ? "refreshed" : "not_set_up";
3764
+ };
3765
+ var restoreEntry = async (session, receipt, entryNow) => {
3766
+ if (receipt.kind !== "ok") return unsetOpenClawEntry(session);
3767
+ const restore = entryToRestore(receipt.receipt.entryBefore, entryNow);
3768
+ return restore.kind === "unset" ? unsetOpenClawEntry(session) : writeOpenClawEntry(session, restore.value);
3769
+ };
3770
+ var removalTargets = (files) => {
3771
+ const recorded = recordedSetups(files).flatMap((setup) => setup.read.kind === "ok" ? [{ environment: setup.read.receipt.environment, receipt: setup.read, receiptPath: setup.path }] : []);
3772
+ const current = currentOpenClawEnvironment();
3773
+ const currentPath = receiptPathFor(files, current);
3774
+ return recorded.some((target) => target.receiptPath === currentPath) ? recorded : [...recorded, { environment: current, receipt: { kind: "missing" }, receiptPath: currentPath }];
3775
+ };
3776
+ var removeFromOneOpenClaw = async (target, request) => {
3777
+ const { environment, receipt } = target;
3778
+ const launcher = launcherFor(request.launcher, () => launcherWhereOpenClawLives(environment, receipt));
3779
+ if (launcher === null) return receipt.kind === "ok" ? { kind: "runtime_missing" } : { kind: "not_found" };
3780
+ const session = sessionFor(launcher, environment);
3781
+ const facts = await inspectOpenClawPlugin(session, { runtime: false });
3782
+ if (facts.kind === "unreadable") return { kind: "unreadable" };
3783
+ if (facts.kind === "installed" && !isOursToRemove(facts)) return { kind: "not_ours", packageName: facts.packageName };
3784
+ if (facts.kind === "not_installed" && receipt.kind === "missing") return { kind: "not_found" };
3785
+ if (request.dryRun) return { kind: "removed", dryRun: true, settingsRestored: true };
3786
+ const entryNow = await readOpenClawEntry(session);
3787
+ if (entryNow.kind === "unreadable") return { kind: "unreadable" };
3788
+ if (facts.kind === "installed") {
3789
+ const removed = await uninstallOpenClawPlugin(session, false);
3790
+ if (removed.kind === "failed") return { kind: "failed", detail: failureDetail(removed) };
3791
+ }
3792
+ const settingsRestored = await restoreEntry(session, receipt, entryNow.kind === "present" ? entryNow.value : void 0);
3793
+ if (settingsRestored) rmSync4(target.receiptPath, { force: true });
3794
+ return { kind: "removed", dryRun: false, settingsRestored };
3795
+ };
3796
+ var REMOVAL_PRECEDENCE = ["failed", "unreadable", "runtime_missing", "not_ours", "removed", "not_found"];
3797
+ var combinedRemoval = (outcomes) => {
3798
+ const worst = REMOVAL_PRECEDENCE.map((kind) => outcomes.find((outcome) => outcome.kind === kind)).find((outcome) => outcome !== void 0);
3799
+ if (worst === void 0) return { kind: "not_found" };
3800
+ if (worst.kind !== "removed") return worst;
3801
+ const everyRemoval = outcomes.flatMap((outcome) => outcome.kind === "removed" ? [outcome] : []);
3802
+ return { kind: "removed", dryRun: worst.dryRun, settingsRestored: everyRemoval.every((outcome) => outcome.settingsRestored) };
3803
+ };
3804
+ var removeOpenClawPlugin = async (request) => {
3805
+ if (recordedSetups(request.files).some((setup) => setup.read.kind === "invalid")) return { kind: "failed", detail: "setup receipt is unreadable" };
3806
+ const outcomes = [];
3807
+ for (const target of removalTargets(request.files)) outcomes.push(await removeFromOneOpenClaw(target, request));
3808
+ const combined = combinedRemoval(outcomes);
3809
+ if (combined.kind === "removed" && !combined.dryRun && recordedSetups(request.files).length === 0) rmSync4(request.files.ownedFolder, { recursive: true, force: true });
3810
+ return combined;
3811
+ };
3812
+ var openClawRemovalLeavesThePluginInstalled = (outcome) => outcome.kind === "failed" || outcome.kind === "unreadable" || outcome.kind === "runtime_missing";
3813
+
3516
3814
  export {
3517
3815
  HERMES_INSTALL_MARKER_FILE,
3518
3816
  HERMES_APPROVAL_TRANSPORT_KEY,
@@ -3555,5 +3853,11 @@ export {
3555
3853
  writeSetupReceipt,
3556
3854
  installHermesPlugin,
3557
3855
  refreshHermesPluginFiles,
3558
- removeHermesWiring
3856
+ removeHermesWiring,
3857
+ openClawFilesNow,
3858
+ inspectOpenClawWiring,
3859
+ installOpenClawPlugin,
3860
+ refreshOpenClawPlugin,
3861
+ removeOpenClawPlugin,
3862
+ openClawRemovalLeavesThePluginInstalled
3559
3863
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  claudeConfigDir
3
- } from "./chunk-72LP4RPC.js";
3
+ } from "./chunk-AQ7L2E2U.js";
4
4
  import {
5
5
  claudePermissionRulesFromSettings
6
- } from "./chunk-LQXUWXQP.js";
6
+ } from "./chunk-O5ARO3JM.js";
7
7
 
8
8
  // src/claude-permission-rules.ts
9
9
  import { readFileSync, statSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-MOC2DN42.js";
3
+ } from "./chunk-XSBW6TUH.js";
4
4
  import {
5
5
  configFilePath
6
- } from "./chunk-BWREST4F.js";
6
+ } from "./chunk-VPADWVYD.js";
7
7
  import {
8
8
  backupFile,
9
9
  readJsonSafe,
@@ -14,7 +14,7 @@ import {
14
14
  API_KEY_PREFIX_PATTERN,
15
15
  isRecord,
16
16
  isValidApiKey
17
- } from "./chunk-LQXUWXQP.js";
17
+ } from "./chunk-O5ARO3JM.js";
18
18
 
19
19
  // src/shell-alias.ts
20
20
  import { homedir } from "os";
@@ -170,7 +170,6 @@ var shellKeyWasReplaced = ({ shellKey, savedKey, replacedKeyPrefix }) => {
170
170
  };
171
171
  var RC_KINDS_NEW_TERMINALS_FOLLOW = /* @__PURE__ */ new Set(["written", "updated", "unchanged"]);
172
172
  var newTerminalsUseSavedKey = (rc, platform) => platform !== "win32" && rc.shell !== null && RC_KINDS_NEW_TERMINALS_FOLLOW.has(rc.kind);
173
- var manualKeyStepFor = (kind, platform) => kind === "no-rc" || platform === "win32" ? "config-only" : "paste-export";
174
173
  var rcResult = (kind, over = {}) => ({
175
174
  kind,
176
175
  path: null,
@@ -408,13 +407,11 @@ export {
408
407
  installClaudeAlias,
409
408
  removeClaudeAlias,
410
409
  KEY_FILE_MODE,
411
- exportLine,
412
410
  isDisabledExport,
413
411
  keyPrefix,
414
412
  isCliCreatedKey,
415
413
  shellKeyWasReplaced,
416
414
  newTerminalsUseSavedKey,
417
- manualKeyStepFor,
418
415
  resolveRcTarget,
419
416
  writeKey,
420
417
  clearKey,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  pusharyHookExecutable
3
- } from "./chunk-CUR2DCZN.js";
3
+ } from "./chunk-QTQRQZIU.js";
4
4
  import {
5
5
  bridgeResolvesToApp,
6
6
  cursorUserHooks,
7
7
  executableFileName,
8
8
  isBridgeLocator,
9
9
  liveBridgeProbe
10
- } from "./chunk-72LP4RPC.js";
10
+ } from "./chunk-AQ7L2E2U.js";
11
11
  import {
12
12
  atLeast,
13
13
  parseVersion
14
- } from "./chunk-VTJ4WZOC.js";
14
+ } from "./chunk-43NHQUCY.js";
15
15
  import {
16
16
  CURSOR_GATE_COVERAGE,
17
17
  CURSOR_GATE_SCRIPT,
@@ -21,7 +21,7 @@ import {
21
21
  isCursorHookPayload,
22
22
  isRecord,
23
23
  toolsCoveredByGateEntry
24
- } from "./chunk-LQXUWXQP.js";
24
+ } from "./chunk-O5ARO3JM.js";
25
25
 
26
26
  // src/cursor-gate-registration.ts
27
27
  import { dirname, isAbsolute, join, resolve } from "path";
@@ -8,21 +8,21 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-WPBWJMBZ.js";
11
+ } from "./chunk-MUSINFEU.js";
12
12
  import {
13
13
  installNetworkDefaults,
14
14
  isNetworkFailure
15
- } from "./chunk-LJRPWUST.js";
15
+ } from "./chunk-CDQOARIF.js";
16
16
  import {
17
17
  fetchAsCredential
18
- } from "./chunk-S7HGPKCL.js";
18
+ } from "./chunk-4L2IYNLC.js";
19
19
  import {
20
20
  clientReportClaims
21
- } from "./chunk-72LP4RPC.js";
21
+ } from "./chunk-AQ7L2E2U.js";
22
22
  import {
23
23
  getApiKey,
24
24
  getBaseUrl
25
- } from "./chunk-BWREST4F.js";
25
+ } from "./chunk-VPADWVYD.js";
26
26
  import {
27
27
  ASK_AGENT_NAME_MAX,
28
28
  CLIENT_REPORT_PATH,
@@ -30,8 +30,9 @@ import {
30
30
  GATE_PERMISSION_MODE_MAX_LENGTH,
31
31
  TOOL_FAILURE_CODES,
32
32
  degradedLine,
33
+ isDecisionStoppedReply,
33
34
  truncateLine
34
- } from "./chunk-LQXUWXQP.js";
35
+ } from "./chunk-O5ARO3JM.js";
35
36
 
36
37
  // src/api.ts
37
38
  import { randomUUID } from "crypto";
@@ -197,7 +198,7 @@ var writeDegraded = (subsystem, report) => {
197
198
 
198
199
  // src/api.ts
199
200
  installNetworkDefaults();
200
- var isDecisionStopped = (result) => result.handoffAction === "stop" || ["cancelled", "unavailable", "stopped", "missing"].includes(result.status ?? "");
201
+ var isDecisionStopped = (result) => isDecisionStoppedReply(result);
201
202
  var isAwayPaused = (result) => result.paused === true;
202
203
  var isLocalQuestionHandoff = (result) => !isAwayPaused(result) && (result.suppressed === true || result.noDevices === true || result.status === "terminal" || result.status === "notified");
203
204
  var waitsForThePhone = (result) => result.answered !== true && !isAwayPaused(result) && !isLocalQuestionHandoff(result);
@@ -3,10 +3,10 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-EPWOARGR.js";
6
+ } from "./chunk-KXNAB76Z.js";
7
7
  import {
8
8
  phoneStartIsRequired
9
- } from "./chunk-Y7INHH5G.js";
9
+ } from "./chunk-ZX2O66NS.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-MKHVLDMN.js";
21
+ } from "./chunk-ZCB5SCYM.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-72LP4RPC.js";
26
+ } from "./chunk-AQ7L2E2U.js";
27
27
  import {
28
28
  execNpm,
29
29
  fetchLatestPublishedVersion,
30
30
  npmErrorMessage,
31
31
  readGlobalCliInstallAt,
32
32
  readGlobalPrefix
33
- } from "./chunk-VTJ4WZOC.js";
33
+ } from "./chunk-43NHQUCY.js";
34
34
  import {
35
35
  EXIT
36
36
  } from "./chunk-BG4HHB7E.js";
37
37
  import {
38
38
  NPX_LATEST_COMMAND
39
- } from "./chunk-6LZ7MXHD.js";
39
+ } from "./chunk-TXXAQRX4.js";
40
40
  import {
41
41
  commandsPackage,
42
42
  globalUpgradeEntry,
@@ -13,16 +13,16 @@ import {
13
13
  } from "./chunk-G66WIAST.js";
14
14
  import {
15
15
  keyPrefix
16
- } from "./chunk-WOSO4YFQ.js";
16
+ } from "./chunk-CU5SYUMK.js";
17
17
  import {
18
18
  getBaseUrl
19
- } from "./chunk-BWREST4F.js";
19
+ } from "./chunk-VPADWVYD.js";
20
20
  import {
21
21
  NPX_LATEST_COMMAND
22
- } from "./chunk-6LZ7MXHD.js";
22
+ } from "./chunk-TXXAQRX4.js";
23
23
  import {
24
24
  isValidApiKey
25
- } from "./chunk-LQXUWXQP.js";
25
+ } from "./chunk-O5ARO3JM.js";
26
26
 
27
27
  // src/cli/login-ui.ts
28
28
  import { hostname } from "os";
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-LQXUWXQP.js";
5
+ } from "./chunk-O5ARO3JM.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -2,31 +2,31 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-G3VSMI7K.js";
5
+ } from "./chunk-WQEJCDMR.js";
6
6
  import {
7
7
  APPROVAL_RULES_PATH
8
- } from "./chunk-YZA3YBHX.js";
8
+ } from "./chunk-UAHBSOO4.js";
9
9
  import {
10
10
  createIo
11
- } from "./chunk-FO3MDD26.js";
11
+ } from "./chunk-YM2T76UM.js";
12
12
  import {
13
13
  absoluteUrl,
14
14
  checkApiKey,
15
15
  describeKeyCheck,
16
16
  keyCheckFromResponse
17
- } from "./chunk-YRJZF5RG.js";
17
+ } from "./chunk-CABBLJD5.js";
18
18
  import {
19
19
  readKeySource
20
- } from "./chunk-WOSO4YFQ.js";
20
+ } from "./chunk-CU5SYUMK.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-BWREST4F.js";
23
+ } from "./chunk-VPADWVYD.js";
24
24
  import {
25
25
  EXIT
26
26
  } from "./chunk-BG4HHB7E.js";
27
27
  import {
28
28
  KEY_SCOPE
29
- } from "./chunk-LQXUWXQP.js";
29
+ } from "./chunk-O5ARO3JM.js";
30
30
 
31
31
  // src/cli/report-key.ts
32
32
  var { dim, yellow } = createIo();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-ZBMVOMFG.js";
3
+ } from "./chunk-CAHULQIO.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-YPY4YCIZ.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-YU2EUD7O.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-6LZ7MXHD.js";
12
+ } from "./chunk-TXXAQRX4.js";
13
13
  import {
14
14
  CLAUDE_CONNECTOR_GUIDE,
15
15
  CLAUDE_CONNECTOR_STEPS,
@@ -17,7 +17,7 @@ import {
17
17
  CLAUDE_CONNECTOR_URL,
18
18
  COWORK_CONNECTOR_LIMIT,
19
19
  COWORK_STANDING_INSTRUCTIONS
20
- } from "./chunk-LQXUWXQP.js";
20
+ } from "./chunk-O5ARO3JM.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";