@wirecat/notion-cli 0.4.0 → 0.6.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 (229) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +5 -0
  3. package/contracts/wirecat.json +55 -2
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/agent-ILG6AH7S.js +42 -0
  6. package/dist/bundle/{all-profiles-4IONYZB6.js → all-profiles-AELHUTFU.js} +64 -21
  7. package/dist/bundle/{anthropic-OXF74J4P.js → anthropic-3CCYAGO3.js} +6 -6
  8. package/dist/bundle/{app-server-M2VF6ABM.js → app-server-DJ6P4NY4.js} +86 -65
  9. package/dist/bundle/{bun-DLA6QRLL.js → bun-2FLR4IV4.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-F4BYLW3F.js → bun-sqlite-QB6CU6TH.js} +7 -7
  11. package/dist/bundle/chunk-2CMLY2X3.js +72 -0
  12. package/dist/bundle/{chunk-TZ2QJ53V.js → chunk-2XUV7HNE.js} +2 -2
  13. package/dist/bundle/{chunk-6JBLIQQN.js → chunk-2Z7UOXFC.js} +1 -1
  14. package/dist/bundle/{chunk-6GN7KU7X.js → chunk-3LMW7U7F.js} +22 -10
  15. package/dist/bundle/chunk-3MYN2RMG.js +398 -0
  16. package/dist/bundle/{chunk-YFWLHTNO.js → chunk-3UX4VJWD.js} +1 -1
  17. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  18. package/dist/bundle/{chunk-4KUJTSHG.js → chunk-4RFR4J2O.js} +2 -2
  19. package/dist/bundle/{chunk-OCDJ4FFA.js → chunk-4VXXOJ2F.js} +4 -4
  20. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  21. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  22. package/dist/bundle/{chunk-P3P6DA6K.js → chunk-5OJLUUOJ.js} +6 -6
  23. package/dist/bundle/{chunk-T5UNSFES.js → chunk-5XPHFV7H.js} +35 -12
  24. package/dist/bundle/{chunk-KL3P5TQK.js → chunk-6EJCI47L.js} +4 -4
  25. package/dist/bundle/chunk-6VPC5Z56.js +2145 -0
  26. package/dist/bundle/{chunk-IJMFG7HB.js → chunk-6YOMPW7Y.js} +10 -8
  27. package/dist/bundle/{chunk-7NF3V5L2.js → chunk-7JVKQ6NM.js} +4 -4
  28. package/dist/bundle/chunk-7L2XOKDZ.js +353 -0
  29. package/dist/bundle/{chunk-TXONV3HW.js → chunk-A42T4YX7.js} +3 -3
  30. package/dist/bundle/chunk-AE4VW4NB.js +50 -0
  31. package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
  32. package/dist/bundle/{chunk-L6H7PY4X.js → chunk-AZLDR36U.js} +3 -3
  33. package/dist/bundle/{chunk-TFNRCCGR.js → chunk-BAXNAOOL.js} +4 -4
  34. package/dist/bundle/{chunk-QX3TPFEX.js → chunk-BEV5LO4D.js} +110 -862
  35. package/dist/bundle/{chunk-UROEWCOG.js → chunk-BQBC2WIG.js} +1 -65
  36. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CFQQTDSA.js} +1 -1
  37. package/dist/bundle/chunk-CHPWBQUK.js +39 -0
  38. package/dist/bundle/chunk-CL3YNUCC.js +388 -0
  39. package/dist/bundle/{chunk-WHJWURZB.js → chunk-DGMTSDKB.js} +6 -6
  40. package/dist/bundle/{chunk-HTKSCSJU.js → chunk-DHVVXQEL.js} +4 -4
  41. package/dist/bundle/chunk-DIU2QJJF.js +785 -0
  42. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  43. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  44. package/dist/bundle/{chunk-Z53LYX4M.js → chunk-EHW45LLT.js} +3 -3
  45. package/dist/bundle/{chunk-XCTOCVMW.js → chunk-ERN53B3Z.js} +32 -24
  46. package/dist/bundle/{chunk-CDGZZNGY.js → chunk-ESZHGC4Q.js} +38 -8
  47. package/dist/bundle/{chunk-RMJMID5D.js → chunk-EZMG5QXB.js} +8 -8
  48. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  49. package/dist/bundle/{chunk-Y5LAJWR5.js → chunk-F5ZAN7OC.js} +1 -1
  50. package/dist/bundle/{chunk-2MHMKNWD.js → chunk-FMMYBVCH.js} +1 -1
  51. package/dist/bundle/{chunk-WZEEEQGC.js → chunk-FRB2L7OE.js} +3 -3
  52. package/dist/bundle/chunk-FV4WTZCU.js +561 -0
  53. package/dist/bundle/{chunk-BEPFGITI.js → chunk-G4ZU73SD.js} +101 -80
  54. package/dist/bundle/{chunk-5XP4KQ2F.js → chunk-GCAJW4SR.js} +1 -1
  55. package/dist/bundle/{chunk-FEMHUSGO.js → chunk-GPRJXJC7.js} +15 -1
  56. package/dist/bundle/chunk-GUIQJUJV.js +340 -0
  57. package/dist/bundle/{chunk-M2EEIYBU.js → chunk-HHEWTLAT.js} +2 -2
  58. package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-HM6AMYHR.js} +2 -2
  59. package/dist/bundle/{chunk-TJCPTRYD.js → chunk-HOVHE3A3.js} +7 -7
  60. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-HVXOA4FO.js} +1 -1
  61. package/dist/bundle/{chunk-D6RCRBDH.js → chunk-IJVTN5L3.js} +2 -2
  62. package/dist/bundle/{chunk-CIVXTBJY.js → chunk-IURYZSG3.js} +39 -52
  63. package/dist/bundle/chunk-JFSVAOA7.js +108 -0
  64. package/dist/bundle/{chunk-FSJHASRQ.js → chunk-JVESLS7B.js} +611 -572
  65. package/dist/bundle/chunk-K5IC4FZN.js +36 -0
  66. package/dist/bundle/chunk-KB35BVTG.js +30 -0
  67. package/dist/bundle/chunk-KGAUINBO.js +594 -0
  68. package/dist/bundle/{chunk-AYU5TFDU.js → chunk-KNCPBX5P.js} +85 -76
  69. package/dist/bundle/{chunk-GSNE7OB4.js → chunk-KZJQPJK5.js} +4 -4
  70. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  71. package/dist/bundle/{chunk-M6DGZ2O6.js → chunk-LC6WE6JS.js} +9 -9
  72. package/dist/bundle/{chunk-YGCI3DHS.js → chunk-LECMHK2F.js} +1 -1
  73. package/dist/bundle/chunk-LQVDFD65.js +72 -0
  74. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  75. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  76. package/dist/bundle/{chunk-K5I64ZVI.js → chunk-NSR43UEW.js} +7 -64
  77. package/dist/bundle/{chunk-GK4GLPG2.js → chunk-OEQNP56V.js} +2 -100
  78. package/dist/bundle/{chunk-MGUEZYFA.js → chunk-OLAGFJDM.js} +13 -2143
  79. package/dist/bundle/{chunk-MRA62W5K.js → chunk-P27NDZQR.js} +255 -563
  80. package/dist/bundle/{chunk-GBFEEHQC.js → chunk-PHKED7AG.js} +8 -225
  81. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  82. package/dist/bundle/{chunk-JODE2XED.js → chunk-Q7EIL6VU.js} +43 -33
  83. package/dist/bundle/{chunk-4TQVZXOV.js → chunk-QEJFBORC.js} +3 -3
  84. package/dist/bundle/{chunk-ZC6ZQQ55.js → chunk-QGGRFRMP.js} +65 -49
  85. package/dist/bundle/{chunk-JIRRF6BM.js → chunk-RD7BKTWV.js} +4 -4
  86. package/dist/bundle/chunk-RXU5T5NM.js +714 -0
  87. package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
  88. package/dist/bundle/{chunk-7NGFGFE5.js → chunk-SAPP2LEH.js} +10 -10
  89. package/dist/bundle/{chunk-COH7OEER.js → chunk-SEAGUFBX.js} +12 -12
  90. package/dist/bundle/{chunk-5LBJNTEJ.js → chunk-STTO2MSY.js} +43 -64
  91. package/dist/bundle/{chunk-5UA2TYMI.js → chunk-T37TAXVL.js} +2 -2
  92. package/dist/bundle/{chunk-R6SDRSZK.js → chunk-T6XIBULH.js} +139 -571
  93. package/dist/bundle/chunk-TFT4FVRU.js +67 -0
  94. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  95. package/dist/bundle/{chunk-KFVDL2QS.js → chunk-UC7JLE6J.js} +1 -89
  96. package/dist/bundle/{chunk-SGBS5QCU.js → chunk-UOC52GCB.js} +4 -4
  97. package/dist/bundle/chunk-UPL474OW.js +94 -0
  98. package/dist/bundle/chunk-VH7526NL.js +80 -0
  99. package/dist/bundle/chunk-VNWF4I7E.js +34 -0
  100. package/dist/bundle/chunk-W2VQDIU5.js +221 -0
  101. package/dist/bundle/{chunk-EQPAZ33O.js → chunk-WAGADES3.js} +19 -19
  102. package/dist/bundle/{chunk-WU3XHGOB.js → chunk-WAU5LSHP.js} +81 -438
  103. package/dist/bundle/{chunk-FIHXADRF.js → chunk-WB2KSQIP.js} +4 -4
  104. package/dist/bundle/{chunk-OI5DWZJG.js → chunk-WGZH2M64.js} +3 -3
  105. package/dist/bundle/chunk-WVN2KTNS.js +52 -0
  106. package/dist/bundle/{chunk-UKE3CGHK.js → chunk-XYQVVW4R.js} +1 -1
  107. package/dist/bundle/{chunk-7NVPM55S.js → chunk-YDDI4QIT.js} +2203 -1808
  108. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  109. package/dist/bundle/{chunk-7YZPBAQX.js → chunk-YUDVRFXN.js} +1 -1
  110. package/dist/bundle/{chunk-EY6S7FV3.js → chunk-YXYZAWWW.js} +6 -6
  111. package/dist/bundle/{chunk-GCCPFKSU.js → chunk-YYQ5GKAI.js} +9532 -10735
  112. package/dist/bundle/chunk-ZDYEOE7L.js +2366 -0
  113. package/dist/bundle/command-contract-L2FASWD6.js +41 -0
  114. package/dist/bundle/{command-server-entry-2SORMVRM.js → command-server-entry-VUR6WL77.js} +30 -27
  115. package/dist/bundle/{decode-5O7IEFPN.js → decode-I64PF2RM.js} +6 -6
  116. package/dist/bundle/{definitions-M3U4UYHN.js → definitions-MB65223J.js} +72 -18
  117. package/dist/bundle/{dispatch-YHQX6FEJ.js → dispatch-JQBAZWCL.js} +8 -8
  118. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  119. package/dist/bundle/{echarts-ARLMVQC7.js → echarts-YRRVLEX3.js} +2 -2
  120. package/dist/bundle/{embed-FUDUKQ3K.js → embed-BLXLKMK2.js} +7 -7
  121. package/dist/bundle/{embedder-HDRV7GX3.js → embedder-JYGF6R7I.js} +10 -10
  122. package/dist/bundle/{failure-JHXICWIL.js → failure-I6AAF5R5.js} +3 -3
  123. package/dist/bundle/first-run-YLDOZGY6.js +29 -0
  124. package/dist/bundle/first-screen-GZH3LMLZ.js +41 -0
  125. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  126. package/dist/bundle/hast-util-to-html-IIFHILP5.js +998 -0
  127. package/dist/bundle/hast-util-to-mdast-3CSMIWK2.js +2272 -0
  128. package/dist/bundle/{instructions-MEFIKCDI.js → instructions-AG7SRWTR.js} +1 -1
  129. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-YGOAUNC3.js} +2 -2
  130. package/dist/bundle/{mdast-util-from-markdown-R66F4HZA.js → mdast-util-from-markdown-XCR5KW5S.js} +138 -195
  131. package/dist/bundle/{mdast-util-gfm-LN2ELINH.js → mdast-util-gfm-JO7PHUIB.js} +28 -357
  132. package/dist/bundle/mdast-util-to-hast-AYJV7KAE.js +879 -0
  133. package/dist/bundle/mdast-util-to-markdown-DOXGHRI7.js +1854 -0
  134. package/dist/bundle/meeting-combined-OFQSGKBG.js +25 -0
  135. package/dist/bundle/meeting-model-K6NSX3O5.js +27 -0
  136. package/dist/bundle/{meeting-semantic-R4CSLVRG.js → meeting-semantic-3DZPHM7L.js} +7 -7
  137. package/dist/bundle/{micromark-extension-gfm-5X7YT43T.js → micromark-extension-gfm-PQ7DWZM7.js} +12 -78
  138. package/dist/bundle/{node-MAQALPLA.js → node-GJQYN4FT.js} +2 -2
  139. package/dist/bundle/{node-sqlite-J7IJYNBO.js → node-sqlite-7VXIRQPH.js} +8 -8
  140. package/dist/bundle/notes-search-ACDOPTNH.js +64 -0
  141. package/dist/bundle/notion.js +14 -14
  142. package/dist/bundle/oauth-N67CH2TK.js +20 -0
  143. package/dist/bundle/{open-AB27MTGR.js → open-JGXVHIKO.js} +6 -6
  144. package/dist/bundle/{openai-D77MU5XV.js → openai-PFQJTF4H.js} +21 -18
  145. package/dist/bundle/{process-SIOWTRJ6.js → process-MEKCZMX3.js} +1 -1
  146. package/dist/bundle/{program-7K34KI27.js → program-DUJYLJH5.js} +6947 -6532
  147. package/dist/bundle/{prompt-W77YDHA6.js → prompt-FW44QDHD.js} +6 -6
  148. package/dist/bundle/{recognize-3JAXQQ36.js → recognize-62TDQ6A7.js} +5 -5
  149. package/dist/bundle/{remote-PSOJXCXO.js → remote-7ONFD7GG.js} +12 -11
  150. package/dist/bundle/{rerank-EE44ZTGL.js → rerank-YOHQQJS4.js} +8 -8
  151. package/dist/bundle/{schemas-LBYUMBC6.js → schemas-IIGJ7DOP.js} +39 -60
  152. package/dist/bundle/{serve-XJMGAMFW.js → serve-ZCXGT5RB.js} +11 -11
  153. package/dist/bundle/{server-ASU6CP5R.js → server-RQ74M637.js} +78 -56
  154. package/dist/bundle/server-XMZF57WM.js +90 -0
  155. package/dist/bundle/{services-PT4PA4J6.js → services-FWBRZ57M.js} +105 -90
  156. package/dist/bundle/{sqlite-runtime-YHXRTVXE.js → sqlite-runtime-ZZBNGV5L.js} +7 -7
  157. package/dist/bundle/{state-T6ZKFWGD.js → state-GDDFO62Y.js} +7 -7
  158. package/dist/bundle/{store-E5EE25FY.js → store-D2LRIWEI.js} +24 -20
  159. package/dist/bundle/{store-3MUCZEI3.js → store-KQCLR57N.js} +32 -18
  160. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +77 -0
  161. package/dist/bundle/surface-K4TPIQW7.js +76 -0
  162. package/dist/commands/account.d.ts +3 -0
  163. package/dist/commands/account.d.ts.map +1 -0
  164. package/dist/commands/account.js +22 -0
  165. package/dist/commands/account.js.map +1 -0
  166. package/dist/commands/api.d.ts +7 -2
  167. package/dist/commands/api.d.ts.map +1 -1
  168. package/dist/commands/api.js +19 -119
  169. package/dist/commands/api.js.map +1 -1
  170. package/dist/commands/library.d.ts.map +1 -1
  171. package/dist/commands/library.js +16 -5
  172. package/dist/commands/library.js.map +1 -1
  173. package/dist/config.d.ts +11 -13
  174. package/dist/config.d.ts.map +1 -1
  175. package/dist/config.js +63 -54
  176. package/dist/config.js.map +1 -1
  177. package/dist/generated/definitions.d.ts.map +1 -1
  178. package/dist/generated/definitions.js +72 -18
  179. package/dist/generated/definitions.js.map +1 -1
  180. package/dist/generated/manifest.d.ts +4 -1
  181. package/dist/generated/manifest.d.ts.map +1 -1
  182. package/dist/generated/manifest.js +69 -0
  183. package/dist/generated/manifest.js.map +1 -1
  184. package/dist/generated/schemas.d.ts.map +1 -1
  185. package/dist/generated/schemas.js +32 -32
  186. package/dist/generated/schemas.js.map +1 -1
  187. package/dist/generated/types.d.ts +125 -25
  188. package/dist/generated/types.d.ts.map +1 -1
  189. package/dist/knowledge.d.ts +1 -0
  190. package/dist/knowledge.d.ts.map +1 -1
  191. package/dist/knowledge.js +68 -2
  192. package/dist/knowledge.js.map +1 -1
  193. package/dist/library.d.ts +12 -1
  194. package/dist/library.d.ts.map +1 -1
  195. package/dist/library.js +35 -1
  196. package/dist/library.js.map +1 -1
  197. package/dist/notion/port.d.ts.map +1 -1
  198. package/dist/notion/port.js +1 -0
  199. package/dist/notion/port.js.map +1 -1
  200. package/dist/notion/reads.d.ts +13 -1
  201. package/dist/notion/reads.d.ts.map +1 -1
  202. package/dist/notion/reads.js +1 -1
  203. package/dist/program.d.ts.map +1 -1
  204. package/dist/program.js +19 -2
  205. package/dist/program.js.map +1 -1
  206. package/dist/sync/files.d.ts +19 -0
  207. package/dist/sync/files.d.ts.map +1 -1
  208. package/dist/sync/files.js.map +1 -1
  209. package/dist/sync/source.d.ts +1 -1
  210. package/dist/sync/source.d.ts.map +1 -1
  211. package/dist/sync/source.js +60 -55
  212. package/dist/sync/source.js.map +1 -1
  213. package/dist/sync/users.d.ts +22 -0
  214. package/dist/sync/users.d.ts.map +1 -0
  215. package/dist/sync/users.js +111 -0
  216. package/dist/sync/users.js.map +1 -0
  217. package/dist/version.d.ts +1 -1
  218. package/dist/version.js +1 -1
  219. package/package.json +4 -4
  220. package/dist/bundle/chunk-L62XTC7N.js +0 -726
  221. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  222. package/dist/bundle/command-contract-UBXS6NHI.js +0 -38
  223. package/dist/bundle/first-run-BGEFTXOE.js +0 -29
  224. package/dist/bundle/first-screen-F5F3VS6Y.js +0 -38
  225. package/dist/bundle/meeting-combined-HNSS3FQY.js +0 -24
  226. package/dist/bundle/meeting-model-REZVYGQW.js +0 -26
  227. package/dist/bundle/oauth-AMV4YGJD.js +0 -20
  228. package/dist/bundle/server-WSPQ5EOA.js +0 -72
  229. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +0 -63
@@ -0,0 +1,25 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ searchMeetingsCombined
5
+ } from "./chunk-W2VQDIU5.js";
6
+ import "./chunk-PHKED7AG.js";
7
+ import "./chunk-DGMTSDKB.js";
8
+ import "./chunk-AZLDR36U.js";
9
+ import "./chunk-LC6WE6JS.js";
10
+ import "./chunk-2Z7UOXFC.js";
11
+ import "./chunk-T37TAXVL.js";
12
+ import "./chunk-JVESLS7B.js";
13
+ import "./chunk-HOVHE3A3.js";
14
+ import "./chunk-RD7BKTWV.js";
15
+ import "./chunk-AV2ZJ4WX.js";
16
+ import "./chunk-HHEWTLAT.js";
17
+ import "./chunk-KNCPBX5P.js";
18
+ import "./chunk-3LMW7U7F.js";
19
+ import "./chunk-S4UUN6LD.js";
20
+ import "./chunk-Y5E2WNWB.js";
21
+ import "./chunk-HM6AMYHR.js";
22
+ import "./chunk-ZVVMGPBJ.js";
23
+ export {
24
+ searchMeetingsCombined
25
+ };
@@ -0,0 +1,27 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ createMeetingRemoteModel,
5
+ meetingEmbeddingModel,
6
+ openMeetingEmbedder
7
+ } from "./chunk-5OJLUUOJ.js";
8
+ import "./chunk-DGMTSDKB.js";
9
+ import "./chunk-NSR43UEW.js";
10
+ import "./chunk-2CMLY2X3.js";
11
+ import "./chunk-FRB2L7OE.js";
12
+ import "./chunk-HOVHE3A3.js";
13
+ import "./chunk-STTO2MSY.js";
14
+ import "./chunk-RD7BKTWV.js";
15
+ import "./chunk-ESZHGC4Q.js";
16
+ import "./chunk-HHEWTLAT.js";
17
+ import "./chunk-KNCPBX5P.js";
18
+ import "./chunk-3LMW7U7F.js";
19
+ import "./chunk-S4UUN6LD.js";
20
+ import "./chunk-Y5E2WNWB.js";
21
+ import "./chunk-HM6AMYHR.js";
22
+ import "./chunk-ZVVMGPBJ.js";
23
+ export {
24
+ createMeetingRemoteModel,
25
+ meetingEmbeddingModel,
26
+ openMeetingEmbedder
27
+ };
@@ -5,14 +5,14 @@ import {
5
5
  proposeMeetingEmbedding,
6
6
  readMeetingSemantic,
7
7
  validateVector
8
- } from "./chunk-L6H7PY4X.js";
9
- import "./chunk-FSJHASRQ.js";
10
- import "./chunk-SHTHNBHG.js";
11
- import "./chunk-AYU5TFDU.js";
12
- import "./chunk-6GN7KU7X.js";
13
- import "./chunk-MVA5HVKL.js";
8
+ } from "./chunk-AZLDR36U.js";
9
+ import "./chunk-JVESLS7B.js";
10
+ import "./chunk-AV2ZJ4WX.js";
11
+ import "./chunk-KNCPBX5P.js";
12
+ import "./chunk-3LMW7U7F.js";
13
+ import "./chunk-S4UUN6LD.js";
14
14
  import "./chunk-Y5E2WNWB.js";
15
- import "./chunk-LIQMUDIZ.js";
15
+ import "./chunk-HM6AMYHR.js";
16
16
  import "./chunk-ZVVMGPBJ.js";
17
17
  export {
18
18
  applyMeetingEmbedding,
@@ -7,19 +7,27 @@ import {
7
7
  factorySpace,
8
8
  resolveAll,
9
9
  splice
10
- } from "./chunk-MGUEZYFA.js";
10
+ } from "./chunk-OLAGFJDM.js";
11
+ import {
12
+ normalizeIdentifier
13
+ } from "./chunk-F4BX7TH2.js";
14
+ import "./chunk-6VPC5Z56.js";
15
+ import {
16
+ classifyCharacter
17
+ } from "./chunk-UPL474OW.js";
18
+ import {
19
+ sanitizeUri
20
+ } from "./chunk-4ZTB7LS3.js";
11
21
  import {
12
22
  asciiAlpha,
13
23
  asciiAlphanumeric,
14
24
  asciiControl,
15
- classifyCharacter,
16
25
  markdownLineEnding,
17
26
  markdownLineEndingOrSpace,
18
27
  markdownSpace,
19
- normalizeIdentifier,
20
28
  unicodePunctuation,
21
29
  unicodeWhitespace
22
- } from "./chunk-KFVDL2QS.js";
30
+ } from "./chunk-UC7JLE6J.js";
23
31
  import {
24
32
  __name
25
33
  } from "./chunk-ZVVMGPBJ.js";
@@ -405,80 +413,6 @@ function previousUnbalanced(events) {
405
413
  }
406
414
  __name(previousUnbalanced, "previousUnbalanced");
407
415
 
408
- // node_modules/.pnpm/micromark-util-encode@2.0.1/node_modules/micromark-util-encode/index.js
409
- var characterReferences = { '"': "quot", "&": "amp", "<": "lt", ">": "gt" };
410
- function encode(value) {
411
- return value.replace(/["&<>]/g, replace2);
412
- function replace2(value2) {
413
- return "&" + characterReferences[
414
- /** @type {keyof typeof characterReferences} */
415
- value2
416
- ] + ";";
417
- }
418
- __name(replace2, "replace");
419
- }
420
- __name(encode, "encode");
421
-
422
- // node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.js
423
- function sanitizeUri(url, protocol) {
424
- const value = encode(normalizeUri(url || ""));
425
- if (!protocol) {
426
- return value;
427
- }
428
- const colon = value.indexOf(":");
429
- const questionMark = value.indexOf("?");
430
- const numberSign = value.indexOf("#");
431
- const slash = value.indexOf("/");
432
- if (
433
- // If there is no protocol, it’s relative.
434
- colon < 0 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
435
- slash > -1 && colon > slash || questionMark > -1 && colon > questionMark || numberSign > -1 && colon > numberSign || // It is a protocol, it should be allowed.
436
- protocol.test(value.slice(0, colon))
437
- ) {
438
- return value;
439
- }
440
- return "";
441
- }
442
- __name(sanitizeUri, "sanitizeUri");
443
- function normalizeUri(value) {
444
- const result = [];
445
- let index = -1;
446
- let start = 0;
447
- let skip = 0;
448
- while (++index < value.length) {
449
- const code2 = value.charCodeAt(index);
450
- let replace2 = "";
451
- if (code2 === 37 && asciiAlphanumeric(value.charCodeAt(index + 1)) && asciiAlphanumeric(value.charCodeAt(index + 2))) {
452
- skip = 2;
453
- } else if (code2 < 128) {
454
- if (!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(code2))) {
455
- replace2 = String.fromCharCode(code2);
456
- }
457
- } else if (code2 > 55295 && code2 < 57344) {
458
- const next = value.charCodeAt(index + 1);
459
- if (code2 < 56320 && next > 56319 && next < 57344) {
460
- replace2 = String.fromCharCode(code2, next);
461
- skip = 1;
462
- } else {
463
- replace2 = "\uFFFD";
464
- }
465
- } else {
466
- replace2 = String.fromCharCode(code2);
467
- }
468
- if (replace2) {
469
- result.push(value.slice(start, index), encodeURIComponent(replace2));
470
- start = index + skip + 1;
471
- replace2 = "";
472
- }
473
- if (skip) {
474
- index += skip;
475
- skip = 0;
476
- }
477
- }
478
- return result.join("") + value.slice(start);
479
- }
480
- __name(normalizeUri, "normalizeUri");
481
-
482
416
  // node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js
483
417
  function gfmAutolinkLiteralHtml() {
484
418
  return {
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-Y5LAJWR5.js";
21
+ } from "./chunk-F5ZAN7OC.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
26
+ // 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/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-TZ2QJ53V.js";
6
+ } from "./chunk-2XUV7HNE.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-M2EEIYBU.js";
9
+ } from "./chunk-HHEWTLAT.js";
10
10
  import {
11
11
  TIME_LIMIT_FUNCTION,
12
12
  beforeTimeLimit
13
- } from "./chunk-2MHMKNWD.js";
14
- import "./chunk-AYU5TFDU.js";
15
- import "./chunk-6GN7KU7X.js";
16
- import "./chunk-MVA5HVKL.js";
13
+ } from "./chunk-FMMYBVCH.js";
14
+ import "./chunk-KNCPBX5P.js";
15
+ import "./chunk-3LMW7U7F.js";
16
+ import "./chunk-S4UUN6LD.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
- import "./chunk-LIQMUDIZ.js";
18
+ import "./chunk-HM6AMYHR.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
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/store/drivers/node-sqlite.js
24
24
  import { DatabaseSync } from "node:sqlite";
25
25
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
26
26
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -0,0 +1,64 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ RANK_WITHIN,
5
+ embedEvents,
6
+ embedMail,
7
+ embedNotes,
8
+ fieldsOfQuery2 as fieldsOfQuery,
9
+ importAccounts,
10
+ localModel,
11
+ nearestNotes,
12
+ noteSourceOfQuery,
13
+ notesScopeOf,
14
+ searchNotes,
15
+ searchNotesOf,
16
+ searchNotesQuery,
17
+ storeQuery,
18
+ withLocal
19
+ } from "./chunk-ZDYEOE7L.js";
20
+ import "./chunk-K5IC4FZN.js";
21
+ import "./chunk-KB35BVTG.js";
22
+ import "./chunk-3MYN2RMG.js";
23
+ import "./chunk-BAXNAOOL.js";
24
+ import "./chunk-PHKED7AG.js";
25
+ import "./chunk-DGMTSDKB.js";
26
+ import "./chunk-KGAUINBO.js";
27
+ import "./chunk-5XPHFV7H.js";
28
+ import "./chunk-BEV5LO4D.js";
29
+ import "./chunk-LQVDFD65.js";
30
+ import "./chunk-LC6WE6JS.js";
31
+ import "./chunk-2Z7UOXFC.js";
32
+ import "./chunk-T37TAXVL.js";
33
+ import "./chunk-JVESLS7B.js";
34
+ import "./chunk-2CMLY2X3.js";
35
+ import "./chunk-FRB2L7OE.js";
36
+ import "./chunk-HOVHE3A3.js";
37
+ import "./chunk-STTO2MSY.js";
38
+ import "./chunk-RD7BKTWV.js";
39
+ import "./chunk-AV2ZJ4WX.js";
40
+ import "./chunk-ESZHGC4Q.js";
41
+ import "./chunk-HHEWTLAT.js";
42
+ import "./chunk-KNCPBX5P.js";
43
+ import "./chunk-3LMW7U7F.js";
44
+ import "./chunk-S4UUN6LD.js";
45
+ import "./chunk-Y5E2WNWB.js";
46
+ import "./chunk-HM6AMYHR.js";
47
+ import "./chunk-ZVVMGPBJ.js";
48
+ export {
49
+ RANK_WITHIN,
50
+ embedEvents,
51
+ embedMail,
52
+ embedNotes,
53
+ fieldsOfQuery,
54
+ importAccounts,
55
+ localModel,
56
+ nearestNotes,
57
+ noteSourceOfQuery,
58
+ notesScopeOf,
59
+ searchNotes,
60
+ searchNotesOf,
61
+ searchNotesQuery,
62
+ storeQuery,
63
+ withLocal
64
+ };
@@ -3,12 +3,12 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  DESKTOP
6
- } from "./chunk-FIHXADRF.js";
6
+ } from "./chunk-WB2KSQIP.js";
7
7
  import {
8
8
  installerOf
9
- } from "./chunk-YAPDU3SV.js";
10
- import "./chunk-SHTHNBHG.js";
11
- import "./chunk-CDGZZNGY.js";
9
+ } from "./chunk-HVXOA4FO.js";
10
+ import "./chunk-AV2ZJ4WX.js";
11
+ import "./chunk-ESZHGC4Q.js";
12
12
  import {
13
13
  DESCRIBE_FLAG,
14
14
  DISPATCH_FLAG,
@@ -19,14 +19,14 @@ import {
19
19
  fileState,
20
20
  shimFiles,
21
21
  writeShim
22
- } from "./chunk-7NF3V5L2.js";
23
- import "./chunk-AYU5TFDU.js";
22
+ } from "./chunk-7JVKQ6NM.js";
23
+ import "./chunk-KNCPBX5P.js";
24
24
  import {
25
25
  catchCrashes
26
- } from "./chunk-6GN7KU7X.js";
27
- import "./chunk-MVA5HVKL.js";
26
+ } from "./chunk-3LMW7U7F.js";
27
+ import "./chunk-S4UUN6LD.js";
28
28
  import "./chunk-Y5E2WNWB.js";
29
- import "./chunk-LIQMUDIZ.js";
29
+ import "./chunk-HM6AMYHR.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
@@ -34,13 +34,13 @@ import {
34
34
  // dist/bin/notion.js
35
35
  import { enableCompileCache } from "node:module";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-base@0.106.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
37
+ // 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
38
38
  import { createHash } from "node:crypto";
39
39
  import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
40
40
  import { dirname as dirname2, join as join2 } from "node:path";
41
41
  import { fileURLToPath } from "node:url";
42
42
 
43
- // node_modules/.pnpm/@wirecat+cli-base@0.106.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
43
+ // 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
44
44
  import { readFileSync } from "node:fs";
45
45
  import { basename, dirname, join, resolve } from "node:path";
46
46
  var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
@@ -126,7 +126,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
126
126
  }
127
127
  }, "ensureLauncher");
128
128
 
129
- // node_modules/.pnpm/@wirecat+cli-base@0.106.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
129
+ // 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
130
130
  var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
131
131
  const argv = io.argv ?? process.argv;
132
132
  const env = io.env ?? process.env;
@@ -139,7 +139,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
139
139
  return { code: 0 };
140
140
  }
141
141
  if (first === DISPATCH_FLAG) {
142
- const { runWcat } = await import("./dispatch-YHQX6FEJ.js");
142
+ const { runWcat } = await import("./dispatch-JQBAZWCL.js");
143
143
  const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
144
144
  return { code };
145
145
  }
@@ -179,7 +179,7 @@ var wcat = await wcatStart(DESKTOP);
179
179
  if (wcat.code !== void 0) {
180
180
  process.exitCode = wcat.code;
181
181
  } else {
182
- const { run } = await import("./program-7K34KI27.js");
182
+ const { run } = await import("./program-DUJYLJH5.js");
183
183
  process.exitCode = await run(process.argv.slice(2));
184
184
  }
185
185
  stopCatching();
@@ -0,0 +1,20 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ ownerLogin,
5
+ revokeAll
6
+ } from "./chunk-A42T4YX7.js";
7
+ import "./chunk-PL5P7UKW.js";
8
+ import "./chunk-UOC52GCB.js";
9
+ import "./chunk-WGZH2M64.js";
10
+ import "./chunk-YUDVRFXN.js";
11
+ import "./chunk-KNCPBX5P.js";
12
+ import "./chunk-3LMW7U7F.js";
13
+ import "./chunk-S4UUN6LD.js";
14
+ import "./chunk-Y5E2WNWB.js";
15
+ import "./chunk-HM6AMYHR.js";
16
+ import "./chunk-ZVVMGPBJ.js";
17
+ export {
18
+ ownerLogin,
19
+ revokeAll
20
+ };
@@ -6,13 +6,13 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-EY6S7FV3.js";
10
- import "./chunk-2MHMKNWD.js";
11
- import "./chunk-AYU5TFDU.js";
12
- import "./chunk-6GN7KU7X.js";
13
- import "./chunk-MVA5HVKL.js";
9
+ } from "./chunk-YXYZAWWW.js";
10
+ import "./chunk-FMMYBVCH.js";
11
+ import "./chunk-KNCPBX5P.js";
12
+ import "./chunk-3LMW7U7F.js";
13
+ import "./chunk-S4UUN6LD.js";
14
14
  import "./chunk-Y5E2WNWB.js";
15
- import "./chunk-LIQMUDIZ.js";
15
+ import "./chunk-HM6AMYHR.js";
16
16
  import "./chunk-ZVVMGPBJ.js";
17
17
  export {
18
18
  CAPABILITY_STATEMENTS,
@@ -3,47 +3,50 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-GSNE7OB4.js";
7
- import "./chunk-CIVXTBJY.js";
6
+ } from "./chunk-KZJQPJK5.js";
7
+ import "./chunk-IURYZSG3.js";
8
+ import "./chunk-K5IC4FZN.js";
9
+ import {
10
+ OPENAI_URL
11
+ } from "./chunk-NSR43UEW.js";
8
12
  import {
9
- OPENAI_URL,
10
13
  refuseModelAddress
11
- } from "./chunk-K5I64ZVI.js";
14
+ } from "./chunk-2CMLY2X3.js";
12
15
  import {
13
16
  endpointFetch,
14
17
  onThisComputer
15
- } from "./chunk-WZEEEQGC.js";
16
- import "./chunk-TJCPTRYD.js";
17
- import "./chunk-5LBJNTEJ.js";
18
+ } from "./chunk-FRB2L7OE.js";
19
+ import "./chunk-HOVHE3A3.js";
20
+ import "./chunk-STTO2MSY.js";
18
21
  import {
19
22
  OPENAI_TRANSCRIBE_MODEL,
20
23
  VAD,
21
24
  filesPresent,
22
25
  modelsDirectory,
23
26
  vadPath
24
- } from "./chunk-JIRRF6BM.js";
27
+ } from "./chunk-RD7BKTWV.js";
25
28
  import {
26
29
  providerWaitMs
27
- } from "./chunk-CDGZZNGY.js";
28
- import "./chunk-M2EEIYBU.js";
30
+ } from "./chunk-ESZHGC4Q.js";
31
+ import "./chunk-HHEWTLAT.js";
29
32
  import {
30
33
  DEFAULT_RETRY,
31
34
  backoffMs
32
- } from "./chunk-AYU5TFDU.js";
33
- import "./chunk-6GN7KU7X.js";
34
- import "./chunk-MVA5HVKL.js";
35
+ } from "./chunk-KNCPBX5P.js";
36
+ import "./chunk-3LMW7U7F.js";
37
+ import "./chunk-S4UUN6LD.js";
35
38
  import "./chunk-Y5E2WNWB.js";
36
39
  import {
37
40
  CliError
38
- } from "./chunk-LIQMUDIZ.js";
41
+ } from "./chunk-HM6AMYHR.js";
39
42
  import {
40
43
  __name
41
44
  } from "./chunk-ZVVMGPBJ.js";
42
45
 
43
- // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/openai.js
46
+ // 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/speech/openai.js
44
47
  import { setTimeout as wait } from "node:timers/promises";
45
48
 
46
- // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/wav.js
49
+ // 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/speech/wav.js
47
50
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
48
51
  const bytes = Buffer.alloc(44 + samples.length * 2);
49
52
  bytes.write("RIFF", 0, "ascii");
@@ -64,7 +67,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
64
67
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
65
68
  }, "encodeWav");
66
69
 
67
- // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/openai.js
70
+ // 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/speech/openai.js
68
71
  var LONGEST_REQUEST_SECONDS = 600;
69
72
  var JOINED_SECONDS = 0.2;
70
73
  var PAD_SECONDS = 0.2;
@@ -188,7 +191,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
188
191
  return pieces;
189
192
  }, "piecesOf");
190
193
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
191
- const { openSpeechCutter } = await import("./recognize-3JAXQQ36.js");
194
+ const { openSpeechCutter } = await import("./recognize-62TDQ6A7.js");
192
195
  return openSpeechCutter(vadModel);
193
196
  }, "openCutter");
194
197
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // 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/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";