@wirecat/attio-cli 0.2.2 → 0.3.1

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 (158) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +13 -9
  3. package/contracts/wirecat.json +263 -1
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-63P427ER.js +37 -0
  6. package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-KCZGH7JK.js} +10 -10
  7. package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4HCGQIHA.js} +5 -5
  8. package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-VSYG36ER.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-3RTK5XYF.js → bun-CZK3ZADI.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-CM5FSNH3.js} +6 -6
  12. package/dist/bundle/{chunk-XSUU7PB7.js → chunk-23POG3B3.js} +16 -3
  13. package/dist/bundle/{chunk-WALQNDXO.js → chunk-2ILCSLXY.js} +8 -8
  14. package/dist/bundle/{chunk-53BHLQRA.js → chunk-2SVDLRLQ.js} +13 -13
  15. package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-32BIODCI.js} +3 -3
  16. package/dist/bundle/{chunk-BFWERPF6.js → chunk-4BQDHDZA.js} +2 -2
  17. package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-4E4IGABE.js} +2 -2
  18. package/dist/bundle/{chunk-MG4U6AKG.js → chunk-4LEB7SUS.js} +3 -4
  19. package/dist/bundle/{chunk-BDFNXTNK.js → chunk-52GTOWNB.js} +7 -7
  20. package/dist/bundle/{chunk-UZYL4AMA.js → chunk-55CDR7VJ.js} +72 -57
  21. package/dist/bundle/{chunk-P76XVKVC.js → chunk-5R255HLF.js} +1 -1
  22. package/dist/bundle/{chunk-2JB5XD5R.js → chunk-5WZBGDPL.js} +7 -7
  23. package/dist/bundle/{chunk-NQNFMKL2.js → chunk-5ZNVTVDU.js} +1 -1
  24. package/dist/bundle/{chunk-2PSAS4TT.js → chunk-6WVUBU7T.js} +7 -7
  25. package/dist/bundle/{chunk-SYBAMYFY.js → chunk-7XSJ6LTE.js} +3 -3
  26. package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-A3Y5GPG3.js} +203 -162
  27. package/dist/bundle/{chunk-CKG7GIHR.js → chunk-AJT4BERP.js} +3 -3
  28. package/dist/bundle/{chunk-7626I3P4.js → chunk-AV7762PN.js} +1 -1
  29. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-BFESDJPU.js} +1 -1
  30. package/dist/bundle/{chunk-GT3HXSKW.js → chunk-C4DJ4OTP.js} +14 -7
  31. package/dist/bundle/{chunk-T6DV3ED2.js → chunk-CSKKZTWI.js} +14 -14
  32. package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CYAWDFBI.js} +4 -4
  33. package/dist/bundle/{chunk-JFFCP52L.js → chunk-CYF6ECG7.js} +1 -1
  34. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-DDFQEOLX.js} +21 -8
  35. package/dist/bundle/{chunk-AXGSAG53.js → chunk-DJCGJRAD.js} +25 -174
  36. package/dist/bundle/{chunk-NWDO4DE3.js → chunk-EAWMBNAO.js} +1740 -802
  37. package/dist/bundle/{chunk-VQSVE4RD.js → chunk-EGZ6N56Z.js} +2 -2
  38. package/dist/bundle/{chunk-LIIOT3AN.js → chunk-EO3X3QWY.js} +3 -3
  39. package/dist/bundle/{chunk-Z3HZD24R.js → chunk-FNIYIYDK.js} +17 -17
  40. package/dist/bundle/{chunk-MI6IH5UW.js → chunk-HTQ5HUXV.js} +61 -61
  41. package/dist/bundle/{chunk-7QH5BZUG.js → chunk-INCLKCAJ.js} +3 -3
  42. package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-ISNUT525.js} +3 -3
  43. package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-JAUTKJYJ.js} +2 -2
  44. package/dist/bundle/{chunk-2TLGP7BS.js → chunk-JLFXUXSQ.js} +5 -5
  45. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-K34B37AP.js} +1 -1
  46. package/dist/bundle/{chunk-L7BMGR5W.js → chunk-KK3IESFZ.js} +162 -36
  47. package/dist/bundle/{chunk-FRCORPOY.js → chunk-KYAJ5AVG.js} +5 -5
  48. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-LJLUYRPY.js} +4 -4
  49. package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-LTGWE5L6.js} +1 -1
  50. package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-MOUF6JHB.js} +1 -1
  51. package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-MSASR6MQ.js} +4 -4
  52. package/dist/bundle/{chunk-O4SX6FXT.js → chunk-MWFJX3K6.js} +1 -1
  53. package/dist/bundle/{chunk-XQIRF6PS.js → chunk-N64IK3XS.js} +7 -7
  54. package/dist/bundle/{chunk-HMYJLOXE.js → chunk-NIV4S25C.js} +2546 -855
  55. package/dist/bundle/{chunk-APNSAKSO.js → chunk-NMKAEONQ.js} +6 -6
  56. package/dist/bundle/{chunk-OHCYBSCA.js → chunk-OKK2CBVW.js} +13 -13
  57. package/dist/bundle/{chunk-AMRELFBT.js → chunk-PO6DVZUY.js} +2 -2
  58. package/dist/bundle/{chunk-FPMWW2HK.js → chunk-PTTSHIYR.js} +32 -27
  59. package/dist/bundle/{chunk-UTTNGFKW.js → chunk-RGFBK5DJ.js} +12 -12
  60. package/dist/bundle/{chunk-YBJBYPS7.js → chunk-RMOSNURU.js} +3 -3
  61. package/dist/bundle/{chunk-3BM6KBWP.js → chunk-SCBLAAZU.js} +19 -19
  62. package/dist/bundle/{chunk-OC35ZLPE.js → chunk-SQMN3CME.js} +4 -4
  63. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-TSHMRHL6.js} +2 -2
  64. package/dist/bundle/{chunk-QSUFJGTG.js → chunk-TSL3PZAZ.js} +2 -2
  65. package/dist/bundle/{chunk-3JRLPNPO.js → chunk-TU4U3YEM.js} +1 -1
  66. package/dist/bundle/{chunk-ZI3IRII7.js → chunk-U3Y2AC2K.js} +3 -3
  67. package/dist/bundle/{chunk-6HYTDMOL.js → chunk-UMJ7OKJD.js} +6 -6
  68. package/dist/bundle/{chunk-WHDVRMB7.js → chunk-UZW73WTM.js} +67 -46
  69. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VHPNTMJJ.js} +1 -1
  70. package/dist/bundle/{chunk-TUOFAUBR.js → chunk-WF7TKMZ7.js} +8 -8
  71. package/dist/bundle/{chunk-DKSO7UTS.js → chunk-WHA23FJC.js} +152 -14
  72. package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-WPOOZGQ7.js} +10 -10
  73. package/dist/bundle/{chunk-CZP6C6MX.js → chunk-X3PQFXYL.js} +4 -4
  74. package/dist/bundle/{chunk-62FENOMX.js → chunk-XSHMRXOW.js} +6 -6
  75. package/dist/bundle/{chunk-B7U5FLPP.js → chunk-Y4AOEDGO.js} +8 -8
  76. package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-YBCGG6JY.js} +3 -3
  77. package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-YC3F3RCL.js} +2 -2
  78. package/dist/bundle/{chunk-MW2OS2GD.js → chunk-YFAATLLR.js} +8 -8
  79. package/dist/bundle/{chunk-AHPGTDO2.js → chunk-YGPZCVBI.js} +6 -6
  80. package/dist/bundle/{chunk-PRERT2BZ.js → chunk-YJKP6UZC.js} +1 -1
  81. package/dist/bundle/{chunk-JSAXTIRX.js → chunk-YN5K2P7M.js} +3 -2
  82. package/dist/bundle/{chunk-2CS7VHUB.js → chunk-ZGFRTWSW.js} +34 -34
  83. package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-ZOVX5VVZ.js} +22 -1
  84. package/dist/bundle/command-contract-JZGX4E3W.js +37 -0
  85. package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-FOFPJGYW.js} +25 -25
  86. package/dist/bundle/{decode-TG45PUJW.js → decode-2W6JJN3B.js} +5 -5
  87. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-ZRVKJENQ.js} +8 -8
  88. package/dist/bundle/{echarts-AWICNZBO.js → echarts-R4BLGOSP.js} +2 -2
  89. package/dist/bundle/{embed-TN6HQUK2.js → embed-DIFO7RH4.js} +6 -6
  90. package/dist/bundle/{embedder-T3KJA3I4.js → embedder-S5FKW4XZ.js} +9 -9
  91. package/dist/bundle/{failure-I6AAF5R5.js → failure-C2B7PYPJ.js} +2 -2
  92. package/dist/bundle/{first-run-BZUITKMF.js → first-run-RNGP4IWU.js} +12 -12
  93. package/dist/bundle/first-screen-K6YMX3G5.js +37 -0
  94. package/dist/bundle/{instructions-FRJHLLZX.js → instructions-F22KNH4O.js} +1 -1
  95. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-VNOYBWW2.js} +2 -2
  96. package/dist/bundle/meeting-combined-HX3LC5FD.js +24 -0
  97. package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-P34GVZRK.js} +11 -11
  98. package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RC25X3UB.js} +6 -6
  99. package/dist/bundle/{node-3ZISJOEM.js → node-SF2NI2UT.js} +2 -2
  100. package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-WH3MF6PF.js} +7 -7
  101. package/dist/bundle/{oauth-C74B6XHN.js → oauth-EWHT3YJ4.js} +7 -7
  102. package/dist/bundle/{open-CJESRWUG.js → open-LHEJSQCI.js} +5 -5
  103. package/dist/bundle/{openai-WLXOXSTV.js → openai-DDXBF7KV.js} +15 -15
  104. package/dist/bundle/{process-JV3KVGJY.js → process-TEQQZ3C5.js} +1 -1
  105. package/dist/bundle/{program-HSVLSH7A.js → program-IW3E56C2.js} +4349 -4232
  106. package/dist/bundle/{prompt-EEBVB3XG.js → prompt-6OEYPNAI.js} +5 -5
  107. package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-5CRXQMAQ.js} +4 -4
  108. package/dist/bundle/{remote-RZXSYHOJ.js → remote-UZUYKGYQ.js} +9 -9
  109. package/dist/bundle/{rerank-2BHYAEO3.js → rerank-IQ6GPSJ6.js} +7 -7
  110. package/dist/bundle/{schemas-6GTYA2NR.js → schemas-7JX36UC7.js} +1 -1
  111. package/dist/bundle/{serve-G3M5H5JM.js → serve-63YMTENV.js} +9 -9
  112. package/dist/bundle/server-LKXXSTXK.js +79 -0
  113. package/dist/bundle/{server-44WJ5K2W.js → server-WQUM4JX4.js} +53 -53
  114. package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-UO32UZHC.js} +6 -6
  115. package/dist/bundle/{state-BF6IMDP2.js → state-XSRJFYSU.js} +6 -6
  116. package/dist/bundle/{store-VSKYLTLH.js → store-A2J7I2NU.js} +18 -18
  117. package/dist/bundle/{store-LZPZC72J.js → store-QB5FEGT4.js} +24 -20
  118. package/dist/bundle/store-maintenance-command-TOLBEUMR.js +66 -0
  119. package/dist/bundle/surface-NURI2TAG.js +65 -0
  120. package/dist/commands/crm.d.ts +3 -0
  121. package/dist/commands/crm.d.ts.map +1 -1
  122. package/dist/commands/crm.js +33 -8
  123. package/dist/commands/crm.js.map +1 -1
  124. package/dist/commands/schedule.d.ts +3 -0
  125. package/dist/commands/schedule.d.ts.map +1 -0
  126. package/dist/commands/schedule.js +9 -0
  127. package/dist/commands/schedule.js.map +1 -0
  128. package/dist/commands/session.d.ts +2 -1
  129. package/dist/commands/session.d.ts.map +1 -1
  130. package/dist/commands/session.js +5 -1
  131. package/dist/commands/session.js.map +1 -1
  132. package/dist/config.d.ts +0 -1
  133. package/dist/config.d.ts.map +1 -1
  134. package/dist/config.js +22 -5
  135. package/dist/config.js.map +1 -1
  136. package/dist/generated/wirecat-config.d.ts.map +1 -1
  137. package/dist/generated/wirecat-config.js +175 -0
  138. package/dist/generated/wirecat-config.js.map +1 -1
  139. package/dist/hooks.d.ts.map +1 -1
  140. package/dist/hooks.js +20 -2
  141. package/dist/hooks.js.map +1 -1
  142. package/dist/identity.d.ts.map +1 -1
  143. package/dist/identity.js +4 -2
  144. package/dist/identity.js.map +1 -1
  145. package/dist/program.d.ts.map +1 -1
  146. package/dist/program.js +11 -1
  147. package/dist/program.js.map +1 -1
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +5 -4
  151. package/skills/attio-cli/SKILL.md +18 -3
  152. package/dist/bundle/agent-3FYEIRN4.js +0 -37
  153. package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
  154. package/dist/bundle/first-screen-I23NJLFH.js +0 -37
  155. package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
  156. package/dist/bundle/server-3ZL5TECF.js +0 -79
  157. package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
  158. package/dist/bundle/surface-OHYA3YS6.js +0 -65
@@ -3,58 +3,58 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-2CS7VHUB.js";
6
+ } from "./chunk-ZGFRTWSW.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-FPMWW2HK.js";
9
+ } from "./chunk-PTTSHIYR.js";
10
10
  import {
11
11
  skillResources
12
- } from "./chunk-62FENOMX.js";
12
+ } from "./chunk-XSHMRXOW.js";
13
13
  import {
14
14
  StdioServerTransport,
15
15
  answeredWire,
16
16
  serveStdio
17
- } from "./chunk-7626I3P4.js";
18
- import "./chunk-O4SX6FXT.js";
19
- import "./chunk-AXGSAG53.js";
20
- import "./chunk-TUOFAUBR.js";
17
+ } from "./chunk-AV7762PN.js";
18
+ import "./chunk-MWFJX3K6.js";
19
+ import "./chunk-DJCGJRAD.js";
20
+ import "./chunk-WF7TKMZ7.js";
21
21
  import {
22
22
  runCommandForAgent,
23
23
  toolsFromCommands
24
- } from "./chunk-L7BMGR5W.js";
25
- import "./chunk-CKG7GIHR.js";
26
- import "./chunk-2TLGP7BS.js";
24
+ } from "./chunk-KK3IESFZ.js";
25
+ import "./chunk-AJT4BERP.js";
26
+ import "./chunk-JLFXUXSQ.js";
27
27
  import {
28
28
  appInstructions
29
- } from "./chunk-JFFCP52L.js";
29
+ } from "./chunk-CYF6ECG7.js";
30
30
  import {
31
31
  answered,
32
32
  failed,
33
33
  registerCommands
34
- } from "./chunk-T6DV3ED2.js";
34
+ } from "./chunk-CSKKZTWI.js";
35
35
  import {
36
36
  agentJson
37
- } from "./chunk-DKSO7UTS.js";
38
- import "./chunk-HMYJLOXE.js";
39
- import "./chunk-53BHLQRA.js";
40
- import "./chunk-PRERT2BZ.js";
41
- import "./chunk-EMZ4MGPD.js";
42
- import "./chunk-7QH5BZUG.js";
43
- import "./chunk-CFQQTDSA.js";
44
- import "./chunk-AMRELFBT.js";
45
- import "./chunk-OHCYBSCA.js";
37
+ } from "./chunk-WHA23FJC.js";
38
+ import "./chunk-NIV4S25C.js";
39
+ import "./chunk-2SVDLRLQ.js";
40
+ import "./chunk-YJKP6UZC.js";
41
+ import "./chunk-ZOVX5VVZ.js";
42
+ import "./chunk-INCLKCAJ.js";
43
+ import "./chunk-BFESDJPU.js";
44
+ import "./chunk-PO6DVZUY.js";
45
+ import "./chunk-OKK2CBVW.js";
46
46
  import {
47
47
  McpServer
48
48
  } from "./chunk-PL5P7UKW.js";
49
- import "./chunk-ZI3IRII7.js";
50
- import "./chunk-6HYTDMOL.js";
51
- import "./chunk-Q2U6DGSV.js";
52
- import "./chunk-YBJBYPS7.js";
49
+ import "./chunk-U3Y2AC2K.js";
50
+ import "./chunk-UMJ7OKJD.js";
51
+ import "./chunk-WPOOZGQ7.js";
52
+ import "./chunk-RMOSNURU.js";
53
53
  import {
54
54
  mcpHttpMarker
55
- } from "./chunk-V4JWUVNO.js";
56
- import "./chunk-XSUU7PB7.js";
57
- import "./chunk-CZP6C6MX.js";
55
+ } from "./chunk-CYAWDFBI.js";
56
+ import "./chunk-23POG3B3.js";
57
+ import "./chunk-X3PQFXYL.js";
58
58
  import {
59
59
  DEFAULT_OUTPUT_BYTES,
60
60
  changesAuthorityAt,
@@ -65,49 +65,49 @@ import {
65
65
  readOnlyLockOf,
66
66
  readsOverMcpAt,
67
67
  rootOf2 as rootOf
68
- } from "./chunk-JWRI6ZY6.js";
69
- import "./chunk-2JB5XD5R.js";
70
- import "./chunk-4F3FQ5QX.js";
71
- import "./chunk-FRCORPOY.js";
72
- import "./chunk-P76XVKVC.js";
73
- import "./chunk-LG6Y4NAT.js";
74
- import "./chunk-Z3HZD24R.js";
75
- import "./chunk-7WS4ONXZ.js";
76
- import "./chunk-NWDO4DE3.js";
77
- import "./chunk-WALQNDXO.js";
78
- import "./chunk-SYBAMYFY.js";
79
- import "./chunk-GT3HXSKW.js";
80
- import "./chunk-3JRLPNPO.js";
81
- import "./chunk-WHDVRMB7.js";
82
- import "./chunk-LIIOT3AN.js";
83
- import "./chunk-QSUFJGTG.js";
84
- import "./chunk-MI6IH5UW.js";
85
- import "./chunk-AV2ZJ4WX.js";
86
- import "./chunk-MW2OS2GD.js";
87
- import "./chunk-XQIRF6PS.js";
88
- import "./chunk-2PSAS4TT.js";
89
- import "./chunk-AHPGTDO2.js";
90
- import "./chunk-SEDD6YZQ.js";
91
- import "./chunk-HVXOA4FO.js";
68
+ } from "./chunk-A3Y5GPG3.js";
69
+ import "./chunk-5WZBGDPL.js";
70
+ import "./chunk-YBCGG6JY.js";
71
+ import "./chunk-KYAJ5AVG.js";
72
+ import "./chunk-5R255HLF.js";
73
+ import "./chunk-JAUTKJYJ.js";
74
+ import "./chunk-FNIYIYDK.js";
75
+ import "./chunk-32BIODCI.js";
76
+ import "./chunk-EAWMBNAO.js";
77
+ import "./chunk-2ILCSLXY.js";
78
+ import "./chunk-7XSJ6LTE.js";
79
+ import "./chunk-C4DJ4OTP.js";
80
+ import "./chunk-TU4U3YEM.js";
81
+ import "./chunk-UZW73WTM.js";
82
+ import "./chunk-EO3X3QWY.js";
83
+ import "./chunk-TSL3PZAZ.js";
84
+ import "./chunk-HTQ5HUXV.js";
85
+ import "./chunk-VHPNTMJJ.js";
86
+ import "./chunk-YFAATLLR.js";
87
+ import "./chunk-N64IK3XS.js";
88
+ import "./chunk-6WVUBU7T.js";
89
+ import "./chunk-YGPZCVBI.js";
90
+ import "./chunk-MSASR6MQ.js";
91
+ import "./chunk-K34B37AP.js";
92
92
  import "./chunk-D72URWJE.js";
93
- import "./chunk-VQSVE4RD.js";
94
- import "./chunk-APNSAKSO.js";
95
- import "./chunk-MHMHZ6GY.js";
96
- import "./chunk-3BM6KBWP.js";
93
+ import "./chunk-EGZ6N56Z.js";
94
+ import "./chunk-NMKAEONQ.js";
95
+ import "./chunk-LTGWE5L6.js";
96
+ import "./chunk-SCBLAAZU.js";
97
97
  import {
98
98
  mcpErrorResult
99
- } from "./chunk-3LMW7U7F.js";
99
+ } from "./chunk-DDFQEOLX.js";
100
100
  import "./chunk-S4UUN6LD.js";
101
101
  import "./chunk-Y5E2WNWB.js";
102
102
  import {
103
103
  CliError
104
- } from "./chunk-HM6AMYHR.js";
105
- import "./chunk-NQNFMKL2.js";
104
+ } from "./chunk-TSHMRHL6.js";
105
+ import "./chunk-5ZNVTVDU.js";
106
106
  import {
107
107
  __name
108
108
  } from "./chunk-ZVVMGPBJ.js";
109
109
 
110
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
110
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
111
111
  var EXCLUDED = [["mcp"]];
112
112
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
113
113
  let at = root;
@@ -223,7 +223,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
223
223
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
224
224
  const { app } = options;
225
225
  const { build } = createAppServer(command, context, options);
226
- const { serveOverHttp } = await import("./serve-G3M5H5JM.js");
226
+ const { serveOverHttp } = await import("./serve-63YMTENV.js");
227
227
  const listening = await serveOverHttp(build, {
228
228
  ...http,
229
229
  appName: app.command,
@@ -3,10 +3,10 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  DESKTOP
6
- } from "./chunk-JSAXTIRX.js";
6
+ } from "./chunk-YN5K2P7M.js";
7
7
  import {
8
8
  installerOf
9
- } from "./chunk-HVXOA4FO.js";
9
+ } from "./chunk-K34B37AP.js";
10
10
  import {
11
11
  DESCRIBE_FLAG,
12
12
  DISPATCH_FLAG,
@@ -17,14 +17,14 @@ import {
17
17
  fileState,
18
18
  shimFiles,
19
19
  writeShim
20
- } from "./chunk-7JVKQ6NM.js";
21
- import "./chunk-3BM6KBWP.js";
20
+ } from "./chunk-LJLUYRPY.js";
21
+ import "./chunk-SCBLAAZU.js";
22
22
  import {
23
23
  catchCrashes
24
- } from "./chunk-3LMW7U7F.js";
24
+ } from "./chunk-DDFQEOLX.js";
25
25
  import "./chunk-S4UUN6LD.js";
26
26
  import "./chunk-Y5E2WNWB.js";
27
- import "./chunk-HM6AMYHR.js";
27
+ import "./chunk-TSHMRHL6.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
@@ -32,13 +32,13 @@ import {
32
32
  // dist/bin/attio.js
33
33
  import { enableCompileCache } from "node:module";
34
34
 
35
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
35
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
36
36
  import { createHash } from "node:crypto";
37
37
  import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
38
38
  import { dirname as dirname2, join as join2 } from "node:path";
39
39
  import { fileURLToPath } from "node:url";
40
40
 
41
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
41
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
42
42
  import { readFileSync } from "node:fs";
43
43
  import { basename, dirname, join, resolve } from "node:path";
44
44
  var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
@@ -124,7 +124,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
124
124
  }
125
125
  }, "ensureLauncher");
126
126
 
127
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
127
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
128
128
  var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
129
129
  const argv = io.argv ?? process.argv;
130
130
  const env = io.env ?? process.env;
@@ -137,7 +137,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
137
137
  return { code: 0 };
138
138
  }
139
139
  if (first === DISPATCH_FLAG) {
140
- const { runWcat } = await import("./dispatch-JQBAZWCL.js");
140
+ const { runWcat } = await import("./dispatch-ZRVKJENQ.js");
141
141
  const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
142
142
  return { code };
143
143
  }
@@ -177,7 +177,7 @@ var wcat = await wcatStart(DESKTOP);
177
177
  if (wcat.code !== void 0) {
178
178
  process.exitCode = wcat.code;
179
179
  } else {
180
- const { run } = await import("./program-HSVLSH7A.js");
180
+ const { run } = await import("./program-IW3E56C2.js");
181
181
  process.exitCode = await run(process.argv.slice(2));
182
182
  }
183
183
  stopCatching();
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-NQNFMKL2.js";
21
+ } from "./chunk-5ZNVTVDU.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-LHKVAZ5T.js";
6
+ } from "./chunk-4E4IGABE.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-VQSVE4RD.js";
10
- import "./chunk-3BM6KBWP.js";
11
- import "./chunk-3LMW7U7F.js";
9
+ } from "./chunk-EGZ6N56Z.js";
10
+ import "./chunk-SCBLAAZU.js";
11
+ import "./chunk-DDFQEOLX.js";
12
12
  import "./chunk-S4UUN6LD.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
16
- import "./chunk-HM6AMYHR.js";
16
+ import "./chunk-TSHMRHL6.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
22
22
  var customised = false;
23
23
  var ownLibrary = /* @__PURE__ */ __name(async () => {
24
24
  try {
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-P76XVKVC.js";
5
+ } from "./chunk-5R255HLF.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-3BM6KBWP.js";
9
+ } from "./chunk-SCBLAAZU.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -53,6 +53,17 @@ var releaseLock = /* @__PURE__ */ __name((path, pid = process.pid) => {
53
53
  if (readLock(path)?.pid === pid)
54
54
  rmSync(path, { force: true });
55
55
  }, "releaseLock");
56
+ var currentPath = /* @__PURE__ */ __name((lock) => lock.replace(/\.lock$/, ".current"), "currentPath");
57
+ var markCurrent = /* @__PURE__ */ __name((lock, at = /* @__PURE__ */ new Date()) => writeSecurely(currentPath(lock), `${JSON.stringify({ at: at.toISOString() })}
58
+ `, 384), "markCurrent");
59
+ var readCurrent = /* @__PURE__ */ __name((lock) => {
60
+ try {
61
+ const { at } = JSON.parse(readFileSync(currentPath(lock), "utf8"));
62
+ return typeof at === "string" ? at : void 0;
63
+ } catch {
64
+ return void 0;
65
+ }
66
+ }, "readCurrent");
56
67
  var servingProfiles = /* @__PURE__ */ __name((app, env) => {
57
68
  const dir = dirname(lockPath(app, "default", env));
58
69
  if (!existsSync(dir))
@@ -69,5 +80,7 @@ export {
69
80
  holdLock,
70
81
  takeLock,
71
82
  releaseLock,
83
+ markCurrent,
84
+ readCurrent,
72
85
  servingProfiles
73
86
  };
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  normalize
5
- } from "./chunk-3JRLPNPO.js";
5
+ } from "./chunk-TU4U3YEM.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-HM6AMYHR.js";
8
+ } from "./chunk-TSHMRHL6.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/languages.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/search/languages.js
14
14
  var LANGUAGES = [
15
15
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
16
16
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -18,7 +18,7 @@ var LANGUAGES = [
18
18
  ];
19
19
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
22
22
  var BaseStemmer = class {
23
23
  static {
24
24
  __name(this, "BaseStemmer");
@@ -393,7 +393,7 @@ var BaseStemmer = class {
393
393
  }
394
394
  };
395
395
 
396
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
396
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
397
397
  var a_0 = [
398
398
  ["arsen", -1],
399
399
  ["commun", -1],
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
1094
1094
  stemWord = this.stem;
1095
1095
  };
1096
1096
 
1097
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1097
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1098
1098
  var a_02 = [
1099
1099
  ["\u0432", 1],
1100
1100
  ["\u0438\u0432", 2, 1],
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1517
1517
  stemWord = this.stem;
1518
1518
  };
1519
1519
 
1520
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1520
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1521
1521
  var a_03 = [
1522
1522
  ["", 6],
1523
1523
  ["\xE1", 1, 1],
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2193
2193
  stemWord = this.stem;
2194
2194
  };
2195
2195
 
2196
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/stem.js
2196
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/search/stem.js
2197
2197
  var SNOWBALL_VERSION = "3.1.1";
2198
2198
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2199
2199
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-HM6AMYHR.js";
5
+ } from "./chunk-TSHMRHL6.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3, extname } from "node:path";
374
374
  var MOST_NAME_BYTES = 200;
375
375
  var bytesOf = /* @__PURE__ */ __name((text) => Buffer.byteLength(text, "utf8"), "bytesOf");
@@ -5,10 +5,10 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-WHDVRMB7.js";
8
+ } from "./chunk-UZW73WTM.js";
9
9
  import {
10
10
  reference
11
- } from "./chunk-3LMW7U7F.js";
11
+ } from "./chunk-DDFQEOLX.js";
12
12
  import {
13
13
  array,
14
14
  nullable,
@@ -20,7 +20,7 @@ import {
20
20
  unknown
21
21
  } from "./chunk-S4UUN6LD.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/note.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/note.js
24
24
  var link = {
25
25
  target_text: nullable(text),
26
26
  kind: text,
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-APNSAKSO.js";
6
+ } from "./chunk-NMKAEONQ.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-HM6AMYHR.js";
8
+ } from "./chunk-TSHMRHL6.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,9 +4,9 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
- import { Readable } from "node:stream";
9
+ import { pipeline, Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
11
11
  var TooLarge = class extends Error {
12
12
  static {
@@ -49,8 +49,7 @@ var send = /* @__PURE__ */ __name(async (response, outgoing) => {
49
49
  if (!response.body)
50
50
  return void outgoing.end();
51
51
  const body = Readable.fromWeb(response.body);
52
- outgoing.once("close", () => body.destroy());
53
- body.pipe(outgoing);
52
+ pipeline(body, outgoing, () => void 0);
54
53
  }, "send");
55
54
  var listen = /* @__PURE__ */ __name((handle, { host, port, maxBody = MAX_BODY }) => new Promise((resolve, reject) => {
56
55
  const server = createServer((incoming, outgoing) => {