@wirecat/notion-cli 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/bin/notion.js +2 -2
  3. package/dist/bundle/agent-AILW4JPO.js +42 -0
  4. package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-CKOACXTW.js} +11 -11
  5. package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-DWBBVTU3.js} +5 -5
  6. package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-BHFYNCDE.js} +72 -72
  7. package/dist/bundle/{bun-2FLR4IV4.js → bun-ICK2XT7J.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-LU5V5Y4A.js} +6 -6
  9. package/dist/bundle/{chunk-4RFR4J2O.js → chunk-2OZVCNU5.js} +2 -2
  10. package/dist/bundle/{chunk-6EJCI47L.js → chunk-2RNJ2JP3.js} +4 -4
  11. package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-364ET7LV.js} +1 -1
  12. package/dist/bundle/{chunk-WAGADES3.js → chunk-3AKMIKND.js} +17 -17
  13. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-3DGHBXH2.js} +1 -1
  14. package/dist/bundle/{chunk-VH7526NL.js → chunk-3KOJNZH3.js} +3 -3
  15. package/dist/bundle/{chunk-T37TAXVL.js → chunk-3T3OAYL4.js} +2 -2
  16. package/dist/bundle/{chunk-XYQVVW4R.js → chunk-3YXYA6HB.js} +1 -1
  17. package/dist/bundle/{chunk-3MYN2RMG.js → chunk-3ZSUVFR7.js} +8 -8
  18. package/dist/bundle/{chunk-STTO2MSY.js → chunk-46JBCXLI.js} +6 -6
  19. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-4FHKSSXQ.js} +2 -2
  20. package/dist/bundle/{chunk-RD7BKTWV.js → chunk-5NFIUY2P.js} +4 -4
  21. package/dist/bundle/{chunk-3UX4VJWD.js → chunk-63SW4UXG.js} +3 -4
  22. package/dist/bundle/{chunk-2XUV7HNE.js → chunk-64IK7JFO.js} +2 -2
  23. package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-6MQSBWWF.js} +1 -1
  24. package/dist/bundle/{chunk-SAPP2LEH.js → chunk-6UZ5D2WP.js} +7 -7
  25. package/dist/bundle/{chunk-CL3YNUCC.js → chunk-7COTHS6G.js} +6 -6
  26. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-A3RJ6FD5.js} +21 -8
  27. package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-ADCAWRRX.js} +48 -48
  28. package/dist/bundle/{chunk-IJVTN5L3.js → chunk-ALAPDLCP.js} +2 -2
  29. package/dist/bundle/{chunk-DGMTSDKB.js → chunk-B6DJQBZI.js} +5 -5
  30. package/dist/bundle/{chunk-BAXNAOOL.js → chunk-BFCRGLOF.js} +3 -3
  31. package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-BFHPT67P.js} +655 -565
  32. package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-BQ6CXCLP.js} +8 -8
  33. package/dist/bundle/{chunk-BEV5LO4D.js → chunk-BXXHUO7Y.js} +13 -13
  34. package/dist/bundle/{chunk-W2VQDIU5.js → chunk-DCSPCOPB.js} +9 -9
  35. package/dist/bundle/{chunk-KB35BVTG.js → chunk-EMIJVLOA.js} +2 -2
  36. package/dist/bundle/{chunk-FMMYBVCH.js → chunk-EUF5JNPG.js} +1 -1
  37. package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-EWXMIKZN.js} +28 -28
  38. package/dist/bundle/{chunk-LC6WE6JS.js → chunk-FHYV4VWY.js} +14 -7
  39. package/dist/bundle/{chunk-GPRJXJC7.js → chunk-FNESLLZS.js} +15 -1
  40. package/dist/bundle/{chunk-JFSVAOA7.js → chunk-FO3XY2Y2.js} +2 -2
  41. package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-HJDQTM3T.js} +8 -8
  42. package/dist/bundle/{chunk-FV4WTZCU.js → chunk-HOO53OYK.js} +16 -16
  43. package/dist/bundle/{chunk-T6XIBULH.js → chunk-HSVKU4OJ.js} +45 -31
  44. package/dist/bundle/{chunk-OEQNP56V.js → chunk-IEY7KS6Q.js} +1 -1
  45. package/dist/bundle/{chunk-QGGRFRMP.js → chunk-ITW26OBI.js} +38 -38
  46. package/dist/bundle/{chunk-IURYZSG3.js → chunk-ITWINZ6R.js} +12 -12
  47. package/dist/bundle/{chunk-WAU5LSHP.js → chunk-IYZWHCZJ.js} +90 -11
  48. package/dist/bundle/{chunk-YUDVRFXN.js → chunk-J3DZVB67.js} +1 -1
  49. package/dist/bundle/{chunk-GCAJW4SR.js → chunk-JEZJFQQW.js} +1 -1
  50. package/dist/bundle/{chunk-AE4VW4NB.js → chunk-JPGN473W.js} +3 -3
  51. package/dist/bundle/{chunk-NSR43UEW.js → chunk-JVRBW5LH.js} +5 -5
  52. package/dist/bundle/{chunk-DIU2QJJF.js → chunk-KBY42GKW.js} +23 -23
  53. package/dist/bundle/{chunk-WGZH2M64.js → chunk-KWBLDSRV.js} +16 -3
  54. package/dist/bundle/{chunk-P27NDZQR.js → chunk-LBRTLZHI.js} +171 -157
  55. package/dist/bundle/{chunk-WB2KSQIP.js → chunk-LEPPRULN.js} +20 -6
  56. package/dist/bundle/{chunk-ERN53B3Z.js → chunk-LVAFTQ45.js} +18 -18
  57. package/dist/bundle/{chunk-PHKED7AG.js → chunk-MB4HXDBT.js} +5 -5
  58. package/dist/bundle/{chunk-BQBC2WIG.js → chunk-N3NJPHZB.js} +1 -1
  59. package/dist/bundle/{chunk-DHVVXQEL.js → chunk-NCCRLAAI.js} +3 -3
  60. package/dist/bundle/{chunk-HOVHE3A3.js → chunk-NV7NNL5T.js} +7 -7
  61. package/dist/bundle/{chunk-TFT4FVRU.js → chunk-OALFRUMI.js} +2 -2
  62. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-OCGNOJYD.js} +1 -1
  63. package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OFMCU3BH.js} +5 -5
  64. package/dist/bundle/{chunk-FRB2L7OE.js → chunk-OP2BH55P.js} +3 -3
  65. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-OS4WPXPZ.js} +4 -4
  66. package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-OW5HW3TD.js} +6 -6
  67. package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-PDVXG3T3.js} +6 -6
  68. package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-PSMRUOII.js} +3 -3
  69. package/dist/bundle/{chunk-EHW45LLT.js → chunk-QK52ARAU.js} +3 -3
  70. package/dist/bundle/{chunk-AZLDR36U.js → chunk-QMNEDK7Z.js} +3 -3
  71. package/dist/bundle/{chunk-RXU5T5NM.js → chunk-R4JV3VLU.js} +12 -12
  72. package/dist/bundle/{chunk-5XPHFV7H.js → chunk-REOBWSGV.js} +8 -8
  73. package/dist/bundle/{chunk-LECMHK2F.js → chunk-RNVYNPXT.js} +1 -1
  74. package/dist/bundle/{chunk-JVESLS7B.js → chunk-RXGX2CZX.js} +63 -63
  75. package/dist/bundle/{chunk-KNCPBX5P.js → chunk-S35UJBFZ.js} +19 -19
  76. package/dist/bundle/{chunk-LQVDFD65.js → chunk-S5P7THM5.js} +2 -2
  77. package/dist/bundle/{chunk-A42T4YX7.js → chunk-SRVTGI3M.js} +2 -2
  78. package/dist/bundle/{chunk-CHPWBQUK.js → chunk-TWY543BS.js} +1 -1
  79. package/dist/bundle/{chunk-EZMG5QXB.js → chunk-UO4O6WQ4.js} +8 -8
  80. package/dist/bundle/{chunk-KGAUINBO.js → chunk-UQVUXG7H.js} +10 -10
  81. package/dist/bundle/{chunk-GUIQJUJV.js → chunk-UYEDQGMI.js} +6 -6
  82. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VRBEYOJL.js} +1 -1
  83. package/dist/bundle/{chunk-YDDI4QIT.js → chunk-VXKD533R.js} +575 -447
  84. package/dist/bundle/{chunk-KZJQPJK5.js → chunk-VYZ2J7DT.js} +4 -4
  85. package/dist/bundle/{chunk-G4ZU73SD.js → chunk-WJFQMOVM.js} +75 -60
  86. package/dist/bundle/{chunk-YXYZAWWW.js → chunk-WUNEJRLJ.js} +6 -6
  87. package/dist/bundle/{chunk-HHEWTLAT.js → chunk-X5LUHN62.js} +2 -2
  88. package/dist/bundle/{chunk-UOC52GCB.js → chunk-X737FHZP.js} +4 -4
  89. package/dist/bundle/{chunk-K5IC4FZN.js → chunk-YSF5JBRA.js} +1 -1
  90. package/dist/bundle/{chunk-SEAGUFBX.js → chunk-ZGUUP2T3.js} +12 -12
  91. package/dist/bundle/{chunk-QEJFBORC.js → chunk-ZMKAI3F3.js} +3 -3
  92. package/dist/bundle/command-contract-C2CF4QAH.js +41 -0
  93. package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-F3B2KSPO.js} +29 -29
  94. package/dist/bundle/{decode-I64PF2RM.js → decode-FDHFF7GC.js} +5 -5
  95. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-IXKG5Z5Y.js} +8 -8
  96. package/dist/bundle/{echarts-YRRVLEX3.js → echarts-PGJPVPA4.js} +2 -2
  97. package/dist/bundle/{embed-BLXLKMK2.js → embed-U6X7CNNK.js} +6 -6
  98. package/dist/bundle/{embedder-JYGF6R7I.js → embedder-3ROL6ROQ.js} +9 -9
  99. package/dist/bundle/{failure-I6AAF5R5.js → failure-IYMRXM2X.js} +2 -2
  100. package/dist/bundle/{first-run-YLDOZGY6.js → first-run-PNVNHGR7.js} +12 -12
  101. package/dist/bundle/first-screen-DEDD64YH.js +41 -0
  102. package/dist/bundle/{instructions-AG7SRWTR.js → instructions-MJQWRI2D.js} +1 -1
  103. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-JNHOSK4L.js} +2 -2
  104. package/dist/bundle/meeting-combined-HEC25QPY.js +25 -0
  105. package/dist/bundle/meeting-model-R7QPDNZZ.js +27 -0
  106. package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-7WPLMBNT.js} +6 -6
  107. package/dist/bundle/{node-GJQYN4FT.js → node-3UXNV3CD.js} +2 -2
  108. package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-ULWDWM3I.js} +7 -7
  109. package/dist/bundle/notes-search-7PE3E3C7.js +64 -0
  110. package/dist/bundle/notion.js +13 -13
  111. package/dist/bundle/{oauth-N67CH2TK.js → oauth-LNUZMA72.js} +7 -7
  112. package/dist/bundle/{open-JGXVHIKO.js → open-HGHC35M4.js} +5 -5
  113. package/dist/bundle/{openai-PFQJTF4H.js → openai-ISSP57MV.js} +18 -18
  114. package/dist/bundle/{process-MEKCZMX3.js → process-PB2WCOR2.js} +1 -1
  115. package/dist/bundle/{program-DUJYLJH5.js → program-GASBJRMG.js} +1987 -1245
  116. package/dist/bundle/{prompt-FW44QDHD.js → prompt-3VGQVX2B.js} +5 -5
  117. package/dist/bundle/{recognize-62TDQ6A7.js → recognize-7Q2P3NME.js} +4 -4
  118. package/dist/bundle/{remote-7ONFD7GG.js → remote-BBAWKVIT.js} +11 -11
  119. package/dist/bundle/{rerank-YOHQQJS4.js → rerank-H4PUS4HV.js} +7 -7
  120. package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-TTVUADHT.js} +1 -1
  121. package/dist/bundle/{serve-ZCXGT5RB.js → serve-FZNSKY7R.js} +9 -9
  122. package/dist/bundle/{server-RQ74M637.js → server-BRRNDW6L.js} +64 -64
  123. package/dist/bundle/server-CQJ4LKAZ.js +90 -0
  124. package/dist/bundle/{services-FWBRZ57M.js → services-PEU557KZ.js} +51 -51
  125. package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-4IZJ4YUM.js} +6 -6
  126. package/dist/bundle/{state-GDDFO62Y.js → state-MX3JVT5Q.js} +6 -6
  127. package/dist/bundle/{store-D2LRIWEI.js → store-JUT34REM.js} +23 -23
  128. package/dist/bundle/{store-KQCLR57N.js → store-PP4BPADZ.js} +21 -21
  129. package/dist/bundle/store-maintenance-command-GRFTJBSB.js +77 -0
  130. package/dist/bundle/surface-FPWES3NY.js +76 -0
  131. package/dist/commands/api.d.ts.map +1 -1
  132. package/dist/commands/api.js +3 -25
  133. package/dist/commands/api.js.map +1 -1
  134. package/dist/commands/library.d.ts.map +1 -1
  135. package/dist/commands/library.js +8 -6
  136. package/dist/commands/library.js.map +1 -1
  137. package/dist/context.d.ts +11 -3
  138. package/dist/context.d.ts.map +1 -1
  139. package/dist/context.js +20 -7
  140. package/dist/context.js.map +1 -1
  141. package/dist/generated/wirecat-config.d.ts +13 -0
  142. package/dist/generated/wirecat-config.d.ts.map +1 -0
  143. package/dist/generated/wirecat-config.js +82 -0
  144. package/dist/generated/wirecat-config.js.map +1 -0
  145. package/dist/library.d.ts +0 -5
  146. package/dist/library.d.ts.map +1 -1
  147. package/dist/library.js +0 -13
  148. package/dist/library.js.map +1 -1
  149. package/dist/notion/client.d.ts +2 -6
  150. package/dist/notion/client.d.ts.map +1 -1
  151. package/dist/notion/client.js +7 -8
  152. package/dist/notion/client.js.map +1 -1
  153. package/dist/notion/errors.d.ts +5 -0
  154. package/dist/notion/errors.d.ts.map +1 -1
  155. package/dist/notion/errors.js +21 -1
  156. package/dist/notion/errors.js.map +1 -1
  157. package/dist/notion/port.d.ts +10 -0
  158. package/dist/notion/port.d.ts.map +1 -1
  159. package/dist/notion/port.js +19 -0
  160. package/dist/notion/port.js.map +1 -1
  161. package/dist/sync/files.d.ts +3 -3
  162. package/dist/sync/files.d.ts.map +1 -1
  163. package/dist/sync/from-config.d.ts +13 -0
  164. package/dist/sync/from-config.d.ts.map +1 -0
  165. package/dist/sync/from-config.js +32 -0
  166. package/dist/sync/from-config.js.map +1 -0
  167. package/dist/sync/source.d.ts +2 -1
  168. package/dist/sync/source.d.ts.map +1 -1
  169. package/dist/sync/source.js +4 -20
  170. package/dist/sync/source.js.map +1 -1
  171. package/dist/sync/users.d.ts +1 -11
  172. package/dist/sync/users.d.ts.map +1 -1
  173. package/dist/sync/users.js +0 -33
  174. package/dist/sync/users.js.map +1 -1
  175. package/dist/version.d.ts +1 -1
  176. package/dist/version.js +1 -1
  177. package/package.json +7 -7
  178. package/dist/bundle/agent-ILG6AH7S.js +0 -42
  179. package/dist/bundle/command-contract-L2FASWD6.js +0 -41
  180. package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
  181. package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
  182. package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
  183. package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
  184. package/dist/bundle/server-XMZF57WM.js +0 -90
  185. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
  186. package/dist/bundle/surface-K4TPIQW7.js +0 -76
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  providerWaitMs,
5
5
  statusToCode
6
- } from "./chunk-ESZHGC4Q.js";
6
+ } from "./chunk-OW5HW3TD.js";
7
7
  import {
8
8
  defineReasons
9
- } from "./chunk-3LMW7U7F.js";
9
+ } from "./chunk-A3RJ6FD5.js";
10
10
  import {
11
11
  CliError,
12
12
  isCliError
13
- } from "./chunk-HM6AMYHR.js";
13
+ } from "./chunk-4FHKSSXQ.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __name,
@@ -2996,7 +2996,6 @@ var REASONS = defineReasons([
2996
2996
  ["notion.invalid-response", "invalid_response", "Notion's answer does not have the documented shape"],
2997
2997
  ["notion.id-invalid", "validation_error", "that is not a Notion id or link"],
2998
2998
  ["notion.truncated", "provider_error", "Notion gave only part of the page"],
2999
- ["notion.no-workspace", "invalid_response", "Notion did not name the token's workspace"],
3000
2999
  ["notion.failed", "provider_error", "a Notion read failed"],
3001
3000
  ["notion.search-incomplete", "provider_error", "Notion cut the search for edits short"],
3002
3001
  ["notion.window-too-dense", "validation_error", "more than 10,000 rows of one database share one minute"],
@@ -3100,9 +3099,24 @@ var mapped = /* @__PURE__ */ __name(async (call) => {
3100
3099
  var isNotFound = /* @__PURE__ */ __name((error) => isCliError(error) && error.code === "not_found", "isNotFound");
3101
3100
  var isItemError = /* @__PURE__ */ __name((error) => isCliError(error) && (error.code === "not_found" || error.code === "permission_error"), "isItemError");
3102
3101
  var isRefused = /* @__PURE__ */ __name((error) => isCliError(error) && error.code === "validation_error" && error.details.status === 400, "isRefused");
3102
+ var notionRefusal = /* @__PURE__ */ __name((status, answer) => {
3103
+ if (status === 429 || status === 529)
3104
+ return void 0;
3105
+ const body = answer ?? {};
3106
+ const failed = failureOf(new import_client.APIResponseError({
3107
+ code: typeof body.code === "string" ? body.code : "unknown",
3108
+ status,
3109
+ message: "",
3110
+ headers: new Headers(),
3111
+ rawBodyText: "",
3112
+ additional_data: body.additional_data && typeof body.additional_data === "object" ? body.additional_data : void 0,
3113
+ request_id: typeof body.request_id === "string" ? body.request_id : void 0
3114
+ }));
3115
+ return failed instanceof CliError ? failed : void 0;
3116
+ }, "notionRefusal");
3103
3117
 
3104
3118
  // dist/version.js
3105
- var VERSION = "0.6.0";
3119
+ var VERSION = "0.7.0";
3106
3120
 
3107
3121
  // dist/identity.js
3108
3122
  var PACKAGE = "@wirecat/notion-cli";
@@ -3136,11 +3150,11 @@ export {
3136
3150
  NOTION,
3137
3151
  BLOCKED,
3138
3152
  blocked,
3139
- failureOf,
3140
3153
  mapped,
3141
3154
  isNotFound,
3142
3155
  isItemError,
3143
3156
  isRefused,
3157
+ notionRefusal,
3144
3158
  VERSION,
3145
3159
  PACKAGE,
3146
3160
  IDENTITY,
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseLacking
5
- } from "./chunk-TFT4FVRU.js";
5
+ } from "./chunk-OALFRUMI.js";
6
6
  import {
7
7
  DEFAULT_PACE,
8
8
  FloodMemory,
@@ -16,7 +16,7 @@ import {
16
16
  recipientsPathFor,
17
17
  servicesFor,
18
18
  waitForTurn
19
- } from "./chunk-YYQ5GKAI.js";
19
+ } from "./chunk-BFHPT67P.js";
20
20
  import {
21
21
  AUTHORITY_KEY,
22
22
  CEILING_KEY,
@@ -38,47 +38,47 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-P27NDZQR.js";
41
+ } from "./chunk-LBRTLZHI.js";
42
42
  import {
43
43
  providerErrorKey
44
- } from "./chunk-6YOMPW7Y.js";
44
+ } from "./chunk-BQ6CXCLP.js";
45
45
  import {
46
46
  OFFLINE,
47
47
  chatIdIn,
48
48
  profilesOnAccount
49
- } from "./chunk-ZDYEOE7L.js";
49
+ } from "./chunk-ADCAWRRX.js";
50
50
  import {
51
51
  capability,
52
52
  throughWrapper
53
- } from "./chunk-KB35BVTG.js";
53
+ } from "./chunk-EMIJVLOA.js";
54
54
  import {
55
55
  codeOf,
56
56
  currentOperation
57
- } from "./chunk-3MYN2RMG.js";
57
+ } from "./chunk-3ZSUVFR7.js";
58
58
  import {
59
59
  servingProfiles
60
- } from "./chunk-WGZH2M64.js";
60
+ } from "./chunk-KWBLDSRV.js";
61
61
  import {
62
62
  openStore
63
- } from "./chunk-YDDI4QIT.js";
63
+ } from "./chunk-VXKD533R.js";
64
64
  import {
65
65
  chatReferenceOf,
66
66
  ensureAccount,
67
67
  foldName,
68
68
  isId,
69
69
  pickPerson
70
- } from "./chunk-KGAUINBO.js";
70
+ } from "./chunk-UQVUXG7H.js";
71
71
  import {
72
72
  isCliFailure
73
- } from "./chunk-LQVDFD65.js";
73
+ } from "./chunk-S5P7THM5.js";
74
74
  import {
75
75
  CliError
76
- } from "./chunk-HM6AMYHR.js";
76
+ } from "./chunk-4FHKSSXQ.js";
77
77
  import {
78
78
  __name
79
79
  } from "./chunk-ZVVMGPBJ.js";
80
80
 
81
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
81
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
82
82
  import { openSync } from "node:fs";
83
83
  import { createInterface } from "node:readline";
84
84
  import { ReadStream } from "node:tty";
@@ -133,7 +133,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
133
133
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
134
134
  }, "terminalAsker");
135
135
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
137
137
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
138
138
  "help",
139
139
  "guide",
@@ -213,7 +213,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
213
213
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
214
214
  }, "refuseUnknownPermissionKeys");
215
215
 
216
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
216
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
217
217
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
218
218
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
219
219
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -310,7 +310,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
310
310
  });
311
311
  }, "flooded");
312
312
 
313
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
313
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
314
314
  var observed = /* @__PURE__ */ __name((messenger, events) => {
315
315
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
316
316
  const write = currentOperation();
@@ -409,7 +409,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
409
409
  counts[part] = (counts[part] ?? 0) + items.length;
410
410
  }, "byPart");
411
411
 
412
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
412
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
413
413
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
414
414
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
415
415
  let warned = false;
@@ -985,7 +985,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
985
985
  }
986
986
  }, "keep");
987
987
 
988
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
988
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
989
989
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
990
990
  let opened;
991
991
  return {
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  MESSAGE_PARSING
5
- } from "./chunk-LC6WE6JS.js";
5
+ } from "./chunk-FHYV4VWY.js";
6
6
  import {
7
7
  normalize
8
- } from "./chunk-2Z7UOXFC.js";
8
+ } from "./chunk-6MQSBWWF.js";
9
9
  import {
10
10
  implicitTextTerms,
11
11
  parseLucene,
12
12
  walkQuery
13
- } from "./chunk-JVESLS7B.js";
13
+ } from "./chunk-RXGX2CZX.js";
14
14
  import {
15
15
  CliError
16
- } from "./chunk-HM6AMYHR.js";
16
+ } from "./chunk-4FHKSSXQ.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/question-plan.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/search/question-plan.js
22
22
  var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
23
23
  var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
24
24
  var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -5,10 +5,10 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-DIU2QJJF.js";
8
+ } from "./chunk-KBY42GKW.js";
9
9
  import {
10
10
  reference
11
- } from "./chunk-3LMW7U7F.js";
11
+ } from "./chunk-A3RJ6FD5.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.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/note.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/note.js
24
24
  var link = {
25
25
  target_text: nullable(text),
26
26
  kind: text,
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-HHEWTLAT.js";
5
+ } from "./chunk-X5LUHN62.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-KNCPBX5P.js";
9
+ } from "./chunk-S35UJBFZ.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-HM6AMYHR.js";
13
+ } from "./chunk-4FHKSSXQ.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -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-4FHKSSXQ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
11
11
  var COMMAND_NEEDS = {
12
12
  "account update": ["updateProfile", "change the profile"],
13
13
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -4,15 +4,15 @@ import {
4
4
  PLAIN_HTTP_REFUSED,
5
5
  modelAddressAllowed,
6
6
  onThisComputer
7
- } from "./chunk-FRB2L7OE.js";
7
+ } from "./chunk-OP2BH55P.js";
8
8
  import {
9
9
  readSharedSection,
10
10
  sharedConfigPath,
11
11
  writeSharedSection
12
- } from "./chunk-HOVHE3A3.js";
12
+ } from "./chunk-NV7NNL5T.js";
13
13
  import {
14
14
  storePath
15
- } from "./chunk-HHEWTLAT.js";
15
+ } from "./chunk-X5LUHN62.js";
16
16
  import {
17
17
  boolean,
18
18
  isoTimestamp,
@@ -23,12 +23,12 @@ import {
23
23
  } from "./chunk-S4UUN6LD.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-HM6AMYHR.js";
26
+ } from "./chunk-4FHKSSXQ.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/models/local-only.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/models/local-only.js
32
32
  var SECTION = "local_only";
33
33
  var Setting = strictObject({
34
34
  on: boolean(),
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  hostFetch
5
- } from "./chunk-ESZHGC4Q.js";
5
+ } from "./chunk-OW5HW3TD.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
9
- } from "./chunk-HM6AMYHR.js";
9
+ } from "./chunk-4FHKSSXQ.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/models/endpoint.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/models/endpoint.js
15
15
  var endpoint = /* @__PURE__ */ __name((value) => {
16
16
  try {
17
17
  const url = new URL(value);
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-HM6AMYHR.js";
5
+ } from "./chunk-4FHKSSXQ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/names.js
10
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
11
11
  var FIRST_PARTY_TOOLS = [
12
12
  { name: "tg", package: "@wirecat/tg-cli" },
13
13
  { name: "max", package: "@wirecat/max-cli" },
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
31
31
  var DESCRIBE_MAX_BYTES = 64 * 1024;
32
32
  var DISPATCH_FLAG = "--wcat-dispatch";
33
33
 
34
- // 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/describe.js
34
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
35
35
  var DESCRIBE_FORMAT = 1;
36
36
  var DESCRIBE_MANIFEST_FORMAT = 2;
37
37
  var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
74
74
  };
75
75
  }, "parseDescribe");
76
76
 
77
- // 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/shim.js
77
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
78
78
  import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
79
79
  import { join } from "node:path";
80
80
  var SHIM_FORMAT = 2;
@@ -5,16 +5,16 @@ import {
5
5
  backoffMs,
6
6
  realSleep,
7
7
  wallClock
8
- } from "./chunk-KNCPBX5P.js";
8
+ } from "./chunk-S35UJBFZ.js";
9
9
  import {
10
10
  CliError,
11
11
  isCliError
12
- } from "./chunk-HM6AMYHR.js";
12
+ } from "./chunk-4FHKSSXQ.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // 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/http/body.js
17
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
18
18
  var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
19
19
  var checked = /* @__PURE__ */ __name((signal) => {
20
20
  if (signal?.aborted)
@@ -99,7 +99,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
99
99
  }
100
100
  }, "readJsonResponse");
101
101
 
102
- // 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/http/hosts.js
102
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
103
103
  var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
104
104
  var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
105
105
  var hostProblems = /* @__PURE__ */ __name((hosts) => [
@@ -111,7 +111,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
111
111
  return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
112
112
  }, "hostCovered");
113
113
 
114
- // 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/http/fetch.js
114
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
115
115
  var HOST_FETCH_TIMEOUT_MS = 3e4;
116
116
  var REDIRECTS = 5;
117
117
  var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
@@ -229,7 +229,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
229
229
  };
230
230
  }, "hostFetch");
231
231
 
232
- // 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/http/index.js
232
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
233
233
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
234
234
  if (!header)
235
235
  return void 0;
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  textModel,
5
5
  vectorModelKey
6
- } from "./chunk-DGMTSDKB.js";
6
+ } from "./chunk-B6DJQBZI.js";
7
7
  import {
8
8
  OPENAI_URL,
9
9
  openRemote,
10
10
  remoteKey,
11
11
  remoteModel
12
- } from "./chunk-NSR43UEW.js";
12
+ } from "./chunk-JVRBW5LH.js";
13
13
  import {
14
14
  endpointFetch
15
- } from "./chunk-FRB2L7OE.js";
15
+ } from "./chunk-OP2BH55P.js";
16
16
  import {
17
17
  isTextModelInstalled,
18
18
  openEmbedder,
19
19
  textModelsDirectory
20
- } from "./chunk-STTO2MSY.js";
20
+ } from "./chunk-46JBCXLI.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-HM6AMYHR.js";
23
+ } from "./chunk-4FHKSSXQ.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
29
29
  var integer = /* @__PURE__ */ __name((value, name, max) => {
30
30
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
31
31
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-CFQQTDSA.js";
6
+ } from "./chunk-OCGNOJYD.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-KNCPBX5P.js";
13
+ } from "./chunk-S35UJBFZ.js";
14
14
  import {
15
15
  number,
16
16
  object,
@@ -22,7 +22,7 @@ import {
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // 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/update/index.js
25
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-IJVTN5L3.js";
7
+ } from "./chunk-ALAPDLCP.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-HM6AMYHR.js";
10
+ } from "./chunk-4FHKSSXQ.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-JVESLS7B.js";
5
+ } from "./chunk-RXGX2CZX.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-HM6AMYHR.js";
8
+ } from "./chunk-4FHKSSXQ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);