@wirecat/notion-cli 0.3.0 → 0.5.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 (193) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +3 -0
  3. package/contracts/wirecat.json +49 -0
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/{all-profiles-4IONYZB6.js → all-profiles-V37KCXH3.js} +9 -9
  6. package/dist/bundle/{anthropic-OXF74J4P.js → anthropic-Q4S3BYXD.js} +5 -5
  7. package/dist/bundle/{app-server-M2VF6ABM.js → app-server-43SR3ACI.js} +54 -54
  8. package/dist/bundle/{bun-DLA6QRLL.js → bun-M3J2QTR3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-F4BYLW3F.js → bun-sqlite-EJ3W2PSV.js} +6 -6
  10. package/dist/bundle/{chunk-7NGFGFE5.js → chunk-2FJNMADN.js} +7 -7
  11. package/dist/bundle/{chunk-RMJMID5D.js → chunk-3RL2MIUF.js} +8 -8
  12. package/dist/bundle/{chunk-GCCPFKSU.js → chunk-5P5TXU2K.js} +462 -392
  13. package/dist/bundle/{chunk-L62XTC7N.js → chunk-6EOZTUHT.js} +10 -10
  14. package/dist/bundle/{chunk-4TQVZXOV.js → chunk-AT5I34AN.js} +3 -3
  15. package/dist/bundle/{chunk-CBGBFAYJ.js → chunk-B3FSLAIU.js} +6 -4
  16. package/dist/bundle/{chunk-7NVPM55S.js → chunk-BBSFQ3PU.js} +1262 -1048
  17. package/dist/bundle/{chunk-JIRRF6BM.js → chunk-BNEE35WD.js} +4 -4
  18. package/dist/bundle/{chunk-HTKSCSJU.js → chunk-BWLBSQSU.js} +3 -3
  19. package/dist/bundle/{chunk-T5UNSFES.js → chunk-C32AKHTY.js} +8 -8
  20. package/dist/bundle/{chunk-GK4GLPG2.js → chunk-CDK5E45T.js} +3 -3
  21. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
  22. package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-DB2XKHI4.js} +2 -2
  23. package/dist/bundle/{chunk-Z53LYX4M.js → chunk-DBEQI5YM.js} +3 -3
  24. package/dist/bundle/{chunk-2MHMKNWD.js → chunk-DFCHHR5M.js} +1 -1
  25. package/dist/bundle/{chunk-OI5DWZJG.js → chunk-DO7BLXO3.js} +3 -3
  26. package/dist/bundle/{chunk-5UA2TYMI.js → chunk-DSP36YHQ.js} +2 -2
  27. package/dist/bundle/{chunk-WZEEEQGC.js → chunk-E2AFUJDR.js} +3 -3
  28. package/dist/bundle/{chunk-YFWLHTNO.js → chunk-E5WLE7BM.js} +1 -1
  29. package/dist/bundle/{chunk-P3P6DA6K.js → chunk-ECC2UX7X.js} +6 -6
  30. package/dist/bundle/{chunk-GSNE7OB4.js → chunk-ECEZOLOD.js} +4 -4
  31. package/dist/bundle/{chunk-CIVXTBJY.js → chunk-FBZI4Z3Z.js} +41 -41
  32. package/dist/bundle/{chunk-5XP4KQ2F.js → chunk-FKA7DOCK.js} +1 -1
  33. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  34. package/dist/bundle/{chunk-OCDJ4FFA.js → chunk-G2MJYXZG.js} +3 -3
  35. package/dist/bundle/{chunk-5LBJNTEJ.js → chunk-GCZ6MAEN.js} +6 -6
  36. package/dist/bundle/{chunk-M2EEIYBU.js → chunk-GTY6N5KZ.js} +2 -2
  37. package/dist/bundle/{chunk-TJCPTRYD.js → chunk-H3E2PZ5Y.js} +7 -7
  38. package/dist/bundle/{chunk-FSJHASRQ.js → chunk-HHVFIXDO.js} +304 -265
  39. package/dist/bundle/{chunk-6JBLIQQN.js → chunk-HZRQLAHO.js} +1 -1
  40. package/dist/bundle/{chunk-WU3XHGOB.js → chunk-J3NKZ6MO.js} +17 -15
  41. package/dist/bundle/{chunk-QX3TPFEX.js → chunk-JCKWQGCD.js} +36 -36
  42. package/dist/bundle/{chunk-4KUJTSHG.js → chunk-KHWOLBHQ.js} +2 -2
  43. package/dist/bundle/{chunk-R6SDRSZK.js → chunk-KHZ2RGXI.js} +33 -32
  44. package/dist/bundle/{chunk-SGBS5QCU.js → chunk-LBYGJKXW.js} +4 -4
  45. package/dist/bundle/{chunk-EY6S7FV3.js → chunk-MNRMKWCN.js} +6 -6
  46. package/dist/bundle/{chunk-TFNRCCGR.js → chunk-N2XADGL4.js} +3 -3
  47. package/dist/bundle/{chunk-IJMFG7HB.js → chunk-NA6QLHBZ.js} +7 -7
  48. package/dist/bundle/{chunk-TXONV3HW.js → chunk-NE43YXKL.js} +2 -2
  49. package/dist/bundle/{chunk-TZ2QJ53V.js → chunk-NHHJHXMQ.js} +2 -2
  50. package/dist/bundle/{chunk-K5I64ZVI.js → chunk-NTG657MI.js} +8 -8
  51. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
  52. package/dist/bundle/{chunk-KL3P5TQK.js → chunk-O5YB7FQD.js} +4 -4
  53. package/dist/bundle/{chunk-WHJWURZB.js → chunk-ONZVPE24.js} +5 -5
  54. package/dist/bundle/{chunk-7NF3V5L2.js → chunk-P5BHKKBI.js} +4 -4
  55. package/dist/bundle/{chunk-GBFEEHQC.js → chunk-PAW6RRCW.js} +11 -26
  56. package/dist/bundle/{chunk-D6RCRBDH.js → chunk-PPHBRESD.js} +2 -2
  57. package/dist/bundle/{chunk-MRA62W5K.js → chunk-PWRRDDMZ.js} +182 -170
  58. package/dist/bundle/{chunk-COH7OEER.js → chunk-QIG55MZH.js} +12 -12
  59. package/dist/bundle/{chunk-L6H7PY4X.js → chunk-QWYMXFKM.js} +3 -3
  60. package/dist/bundle/{chunk-M6DGZ2O6.js → chunk-QYXWRKNA.js} +7 -7
  61. package/dist/bundle/{chunk-JODE2XED.js → chunk-RIGE67FR.js} +24 -24
  62. package/dist/bundle/{chunk-ZC6ZQQ55.js → chunk-RJMQGG3P.js} +30 -30
  63. package/dist/bundle/{chunk-BEPFGITI.js → chunk-TD2JZ25O.js} +59 -56
  64. package/dist/bundle/{chunk-EQPAZ33O.js → chunk-TDNURSU6.js} +17 -17
  65. package/dist/bundle/{chunk-6GN7KU7X.js → chunk-TOSCB4SO.js} +14 -8
  66. package/dist/bundle/{chunk-Y5LAJWR5.js → chunk-TP7GDWVF.js} +1 -1
  67. package/dist/bundle/{chunk-UROEWCOG.js → chunk-UZSBGECU.js} +3 -3
  68. package/dist/bundle/{chunk-7YZPBAQX.js → chunk-W53EJOFQ.js} +1 -1
  69. package/dist/bundle/{chunk-AYU5TFDU.js → chunk-W5JZMXGW.js} +29 -20
  70. package/dist/bundle/{chunk-UKE3CGHK.js → chunk-W7HM2VGO.js} +1 -1
  71. package/dist/bundle/{chunk-FEMHUSGO.js → chunk-WE4UFASG.js} +1 -1
  72. package/dist/bundle/{chunk-XCTOCVMW.js → chunk-WPP76PSX.js} +14 -14
  73. package/dist/bundle/{chunk-YGCI3DHS.js → chunk-X2M6NIQG.js} +1 -1
  74. package/dist/bundle/{chunk-CDGZZNGY.js → chunk-XUPN2EHR.js} +21 -7
  75. package/dist/bundle/command-contract-TVRFW2IX.js +38 -0
  76. package/dist/bundle/{command-server-entry-2SORMVRM.js → command-server-entry-LJ627ZUA.js} +26 -26
  77. package/dist/bundle/{decode-5O7IEFPN.js → decode-PX2LZ5Y2.js} +5 -5
  78. package/dist/bundle/{dispatch-YHQX6FEJ.js → dispatch-KOISQ5QJ.js} +8 -8
  79. package/dist/bundle/{echarts-ARLMVQC7.js → echarts-FVTUDXDU.js} +2 -2
  80. package/dist/bundle/{embed-FUDUKQ3K.js → embed-CCSDK43I.js} +6 -6
  81. package/dist/bundle/{embedder-HDRV7GX3.js → embedder-VHI4DHB7.js} +9 -9
  82. package/dist/bundle/{failure-JHXICWIL.js → failure-FZ6VYKEQ.js} +2 -2
  83. package/dist/bundle/{first-run-BGEFTXOE.js → first-run-7JKE5AHN.js} +12 -12
  84. package/dist/bundle/first-screen-ZROHOEYJ.js +38 -0
  85. package/dist/bundle/{instructions-MEFIKCDI.js → instructions-HET7BCYK.js} +1 -1
  86. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
  87. package/dist/bundle/meeting-combined-SSTOJUIJ.js +24 -0
  88. package/dist/bundle/{meeting-model-REZVYGQW.js → meeting-model-K7TPS4S5.js} +12 -12
  89. package/dist/bundle/{meeting-semantic-R4CSLVRG.js → meeting-semantic-UD26T37N.js} +6 -6
  90. package/dist/bundle/{node-MAQALPLA.js → node-CXZIFHZC.js} +2 -2
  91. package/dist/bundle/{node-sqlite-J7IJYNBO.js → node-sqlite-ME7KMORI.js} +7 -7
  92. package/dist/bundle/notion.js +13 -13
  93. package/dist/bundle/{oauth-AMV4YGJD.js → oauth-XBTROXHB.js} +7 -7
  94. package/dist/bundle/{open-AB27MTGR.js → open-HA6D3SXR.js} +5 -5
  95. package/dist/bundle/{openai-D77MU5XV.js → openai-H5AJPZBX.js} +16 -16
  96. package/dist/bundle/{process-SIOWTRJ6.js → process-5RUXWGYS.js} +1 -1
  97. package/dist/bundle/{program-QC5MX4ZJ.js → program-F3NBTZ7J.js} +1961 -994
  98. package/dist/bundle/{prompt-W77YDHA6.js → prompt-6XSUOLHK.js} +5 -5
  99. package/dist/bundle/{recognize-3JAXQQ36.js → recognize-2Y7AUVGG.js} +4 -4
  100. package/dist/bundle/{remote-PSOJXCXO.js → remote-KCABPXQ3.js} +10 -10
  101. package/dist/bundle/{rerank-EE44ZTGL.js → rerank-BTN7LUVA.js} +7 -7
  102. package/dist/bundle/{schemas-LBYUMBC6.js → schemas-VVLTLMXS.js} +1 -1
  103. package/dist/bundle/{serve-XJMGAMFW.js → serve-CYEMVRFC.js} +9 -9
  104. package/dist/bundle/server-UC2FNNXX.js +72 -0
  105. package/dist/bundle/{server-ASU6CP5R.js → server-WFIICGMI.js} +46 -46
  106. package/dist/bundle/{services-PT4PA4J6.js → services-L4W6ZWDG.js} +41 -41
  107. package/dist/bundle/{sqlite-runtime-YHXRTVXE.js → sqlite-runtime-IKMYLRQC.js} +6 -6
  108. package/dist/bundle/{state-T6ZKFWGD.js → state-LMUP636P.js} +6 -6
  109. package/dist/bundle/{store-3MUCZEI3.js → store-A2QZFBOX.js} +19 -17
  110. package/dist/bundle/{store-E5EE25FY.js → store-W2JC2JP4.js} +19 -19
  111. package/dist/bundle/store-maintenance-command-LRGQJPSZ.js +63 -0
  112. package/dist/commands/comments.d.ts +4 -0
  113. package/dist/commands/comments.d.ts.map +1 -0
  114. package/dist/commands/comments.js +80 -0
  115. package/dist/commands/comments.js.map +1 -0
  116. package/dist/commands/documents.d.ts.map +1 -1
  117. package/dist/commands/documents.js +5 -102
  118. package/dist/commands/documents.js.map +1 -1
  119. package/dist/commands/files.d.ts +4 -0
  120. package/dist/commands/files.d.ts.map +1 -0
  121. package/dist/commands/files.js +57 -0
  122. package/dist/commands/files.js.map +1 -0
  123. package/dist/commands/library.d.ts.map +1 -1
  124. package/dist/commands/library.js +56 -12
  125. package/dist/commands/library.js.map +1 -1
  126. package/dist/commands/writing.d.ts +32 -0
  127. package/dist/commands/writing.d.ts.map +1 -0
  128. package/dist/commands/writing.js +126 -0
  129. package/dist/commands/writing.js.map +1 -0
  130. package/dist/config.d.ts.map +1 -1
  131. package/dist/config.js +3 -0
  132. package/dist/config.js.map +1 -1
  133. package/dist/generated/manifest.d.ts +4 -1
  134. package/dist/generated/manifest.d.ts.map +1 -1
  135. package/dist/generated/manifest.js +20 -0
  136. package/dist/generated/manifest.js.map +1 -1
  137. package/dist/knowledge.d.ts +1 -0
  138. package/dist/knowledge.d.ts.map +1 -1
  139. package/dist/knowledge.js +68 -2
  140. package/dist/knowledge.js.map +1 -1
  141. package/dist/library.d.ts +4 -1
  142. package/dist/library.d.ts.map +1 -1
  143. package/dist/library.js +11 -0
  144. package/dist/library.js.map +1 -1
  145. package/dist/notion/errors.d.ts.map +1 -1
  146. package/dist/notion/errors.js +2 -0
  147. package/dist/notion/errors.js.map +1 -1
  148. package/dist/notion/notion.d.ts +38 -0
  149. package/dist/notion/notion.d.ts.map +1 -1
  150. package/dist/notion/notion.js +43 -0
  151. package/dist/notion/notion.js.map +1 -1
  152. package/dist/notion/port.d.ts.map +1 -1
  153. package/dist/notion/port.js +1 -0
  154. package/dist/notion/port.js.map +1 -1
  155. package/dist/notion/reads.d.ts +13 -1
  156. package/dist/notion/reads.d.ts.map +1 -1
  157. package/dist/notion/reads.js +1 -1
  158. package/dist/notion/writes.d.ts +38 -0
  159. package/dist/notion/writes.d.ts.map +1 -1
  160. package/dist/notion/writes.js +73 -0
  161. package/dist/notion/writes.js.map +1 -1
  162. package/dist/program.d.ts.map +1 -1
  163. package/dist/program.js +21 -2
  164. package/dist/program.js.map +1 -1
  165. package/dist/sync/browse.d.ts +30 -0
  166. package/dist/sync/browse.d.ts.map +1 -0
  167. package/dist/sync/browse.js +67 -0
  168. package/dist/sync/browse.js.map +1 -0
  169. package/dist/sync/cursor.d.ts +17 -0
  170. package/dist/sync/cursor.d.ts.map +1 -1
  171. package/dist/sync/cursor.js +28 -0
  172. package/dist/sync/cursor.js.map +1 -1
  173. package/dist/sync/files.d.ts +8 -0
  174. package/dist/sync/files.d.ts.map +1 -1
  175. package/dist/sync/files.js +10 -0
  176. package/dist/sync/files.js.map +1 -1
  177. package/dist/sync/source.d.ts +4 -4
  178. package/dist/sync/source.d.ts.map +1 -1
  179. package/dist/sync/source.js +49 -60
  180. package/dist/sync/source.js.map +1 -1
  181. package/dist/sync/users.d.ts +9 -0
  182. package/dist/sync/users.d.ts.map +1 -0
  183. package/dist/sync/users.js +76 -0
  184. package/dist/sync/users.js.map +1 -0
  185. package/dist/version.d.ts +1 -1
  186. package/dist/version.js +1 -1
  187. package/package.json +3 -3
  188. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  189. package/dist/bundle/command-contract-UBXS6NHI.js +0 -38
  190. package/dist/bundle/first-screen-F5F3VS6Y.js +0 -38
  191. package/dist/bundle/meeting-combined-HNSS3FQY.js +0 -24
  192. package/dist/bundle/server-WSPQ5EOA.js +0 -72
  193. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +0 -63
@@ -5,7 +5,7 @@ import {
5
5
  LIST_QUERY_GUIDE,
6
6
  nativeTerms,
7
7
  throughWrapper
8
- } from "./chunk-GCCPFKSU.js";
8
+ } from "./chunk-5P5TXU2K.js";
9
9
  import {
10
10
  DEFAULT_CONFIG,
11
11
  environmentOf,
@@ -16,13 +16,13 @@ import {
16
16
  renderAnswer,
17
17
  snakeKeys,
18
18
  withAgentLevels
19
- } from "./chunk-MRA62W5K.js";
19
+ } from "./chunk-PWRRDDMZ.js";
20
20
  import {
21
21
  formatReference
22
- } from "./chunk-QX3TPFEX.js";
22
+ } from "./chunk-JCKWQGCD.js";
23
23
  import {
24
24
  queryError
25
- } from "./chunk-FSJHASRQ.js";
25
+ } from "./chunk-HHVFIXDO.js";
26
26
  import {
27
27
  array,
28
28
  boolean,
@@ -35,12 +35,12 @@ import {
35
35
  } from "./chunk-MVA5HVKL.js";
36
36
  import {
37
37
  CliError
38
- } from "./chunk-LIQMUDIZ.js";
38
+ } from "./chunk-DB2XKHI4.js";
39
39
  import {
40
40
  __name
41
41
  } from "./chunk-ZVVMGPBJ.js";
42
42
 
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/cli/messenger/lacks.js
43
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
44
44
  var COMMAND_NEEDS = {
45
45
  "account update": ["updateProfile", "change the profile"],
46
46
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -90,7 +90,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
90
90
  return group;
91
91
  }, "hideNever");
92
92
 
93
- // 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/cli/paging.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/paging.js
94
94
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
95
95
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
96
96
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -117,7 +117,7 @@ var pagingOf = /* @__PURE__ */ __name((command) => {
117
117
  return { limit: limit ?? DEFAULT_CONFIG.defaults.limit, page: page ?? 1 };
118
118
  }, "pagingOf");
119
119
 
120
- // 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/cli/messenger/chat-answers.js
120
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
121
121
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
122
122
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
123
123
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -379,7 +379,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
379
379
  ...createdAt === void 0 ? {} : { created_at: createdAt }
380
380
  }), "sessionAnswer");
381
381
 
382
- // 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/background/relay.js
382
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/background/relay.js
383
383
  import { createHash } from "node:crypto";
384
384
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
385
385
  import { createConnection, createServer } from "node:net";
@@ -600,7 +600,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
600
600
  }, () => finish({ error: stopped() }));
601
601
  }), "relayCommand");
602
602
 
603
- // 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/cli/messenger/serve-relay.js
603
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
604
604
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
605
605
  close: /* @__PURE__ */ __name(async () => {
606
606
  }, "close"),
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-TJCPTRYD.js";
6
+ } from "./chunk-H3E2PZ5Y.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-LIQMUDIZ.js";
9
+ } from "./chunk-DB2XKHI4.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  providerWaitMs,
5
5
  statusToCode
6
- } from "./chunk-CDGZZNGY.js";
6
+ } from "./chunk-XUPN2EHR.js";
7
7
  import {
8
8
  defineReasons
9
- } from "./chunk-6GN7KU7X.js";
9
+ } from "./chunk-TOSCB4SO.js";
10
10
  import {
11
11
  CliError,
12
12
  isCliError
13
- } from "./chunk-LIQMUDIZ.js";
13
+ } from "./chunk-DB2XKHI4.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __name,
@@ -3009,6 +3009,7 @@ var REASONS = defineReasons([
3009
3009
  ["notion.listing-restarted", "validation_error", "Notion no longer took a saved list position; it started over"],
3010
3010
  ["notion.listing-stale", "not_found", "Notion no longer takes a folder's saved position; it is listed again"],
3011
3011
  ["notion.timeout-too-short", "timeout", "the time left was too short for one step of the sync"],
3012
+ ["notion.upload-unfinished", "invalid_response", "Notion did not mark the file upload as uploaded"],
3012
3013
  ["source.text-limit", "validation_error", "the page is longer than the text the store keeps"],
3013
3014
  ["profile.not-synced", "not_found", "the profile has no local copy yet; sync first"],
3014
3015
  ["profile.busy", "provider_unavailable", "another sync or write holds the profile's local copy"],
@@ -3016,6 +3017,7 @@ var REASONS = defineReasons([
3016
3017
  ["folder.not-a-folder", "validation_error", "only a page or a database can be chosen as a folder"],
3017
3018
  ["folder.not-chosen", "not_found", "that page or database is not a chosen folder"],
3018
3019
  ["folder.workspace", "validation_error", "the whole workspace is the scope when no folder is chosen"],
3020
+ ["folder.cursor-invalid", "validation_error", "the cursor is not one folders browse gave for this parent"],
3019
3021
  ["identity.not-seen", "not_found", "this Notion user was not seen on the document"],
3020
3022
  ["identity.target", "validation_error", "the target must be a person: reference"],
3021
3023
  ["identity.no-person", "not_found", "the target person has no known identity"],
@@ -3100,7 +3102,7 @@ var isItemError = /* @__PURE__ */ __name((error) => isCliError(error) && (error.
3100
3102
  var isRefused = /* @__PURE__ */ __name((error) => isCliError(error) && error.code === "validation_error" && error.details.status === 400, "isRefused");
3101
3103
 
3102
3104
  // dist/version.js
3103
- var VERSION = "0.3.0";
3105
+ var VERSION = "0.5.0";
3104
3106
 
3105
3107
  // dist/identity.js
3106
3108
  var PACKAGE = "@wirecat/notion-cli";