@wirecat/notion-cli 0.1.0 → 0.3.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 (212) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +14 -4
  3. package/contracts/wirecat.json +698 -1
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/{all-profiles-OETMCOLN.js → all-profiles-4IONYZB6.js} +10 -10
  6. package/dist/bundle/{anthropic-5Y3O2TYM.js → anthropic-OXF74J4P.js} +6 -6
  7. package/dist/bundle/{app-server-IVWBIVHC.js → app-server-M2VF6ABM.js} +61 -52
  8. package/dist/bundle/{bun-EO636SAD.js → bun-DLA6QRLL.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-C2T7QJ2M.js → bun-sqlite-F4BYLW3F.js} +7 -7
  10. package/dist/bundle/{chunk-QBC23NHD.js → chunk-2MHMKNWD.js} +1 -1
  11. package/dist/bundle/{chunk-TSCIIXN3.js → chunk-4KUJTSHG.js} +2 -2
  12. package/dist/bundle/{chunk-24FAYAML.js → chunk-4TQVZXOV.js} +3 -3
  13. package/dist/bundle/{chunk-FF4DDBCB.js → chunk-5LBJNTEJ.js} +6 -6
  14. package/dist/bundle/chunk-5UA2TYMI.js +29 -0
  15. package/dist/bundle/{chunk-DIM5YWBU.js → chunk-5XP4KQ2F.js} +1 -1
  16. package/dist/bundle/{chunk-WM7663C2.js → chunk-6GN7KU7X.js} +9 -9
  17. package/dist/bundle/chunk-6JBLIQQN.js +16 -0
  18. package/dist/bundle/{chunk-CLG2ISQH.js → chunk-7NF3V5L2.js} +4 -4
  19. package/dist/bundle/{chunk-TR7R5DL4.js → chunk-7NGFGFE5.js} +12 -63
  20. package/dist/bundle/{chunk-YA4LSSDZ.js → chunk-7NVPM55S.js} +2913 -2371
  21. package/dist/bundle/{chunk-XC5CKHX2.js → chunk-7YZPBAQX.js} +1 -1
  22. package/dist/bundle/{chunk-RSIS7BR7.js → chunk-AYU5TFDU.js} +21 -21
  23. package/dist/bundle/{chunk-64D5VUZ4.js → chunk-BEPFGITI.js} +68 -64
  24. package/dist/bundle/{chunk-HRTIRRXR.js → chunk-CBGBFAYJ.js} +41 -6
  25. package/dist/bundle/{chunk-QC3KOJT4.js → chunk-CDGZZNGY.js} +6 -6
  26. package/dist/bundle/{chunk-JK44XO2S.js → chunk-CIVXTBJY.js} +56 -56
  27. package/dist/bundle/{chunk-OWJDC4CB.js → chunk-COH7OEER.js} +14 -13
  28. package/dist/bundle/{chunk-XL2HXHP3.js → chunk-D6RCRBDH.js} +2 -2
  29. package/dist/bundle/{chunk-47R43UVJ.js → chunk-EQPAZ33O.js} +19 -19
  30. package/dist/bundle/{chunk-AE2KQ37N.js → chunk-EY6S7FV3.js} +6 -6
  31. package/dist/bundle/chunk-FEMHUSGO.js +88 -0
  32. package/dist/bundle/{chunk-NLDYZBTC.js → chunk-FSJHASRQ.js} +1146 -2555
  33. package/dist/bundle/chunk-GBFEEHQC.js +385 -0
  34. package/dist/bundle/{chunk-IQWEJEB5.js → chunk-GCCPFKSU.js} +26264 -21086
  35. package/dist/bundle/{chunk-RDZ7SVBZ.js → chunk-GK4GLPG2.js} +3 -3
  36. package/dist/bundle/{chunk-B2XKEEFX.js → chunk-GSNE7OB4.js} +4 -4
  37. package/dist/bundle/{chunk-UWW24JQF.js → chunk-HTKSCSJU.js} +4 -4
  38. package/dist/bundle/{chunk-7FII4DCE.js → chunk-IJMFG7HB.js} +7 -7
  39. package/dist/bundle/{chunk-WVZFXI36.js → chunk-JIRRF6BM.js} +4 -4
  40. package/dist/bundle/{chunk-ST2UC7FS.js → chunk-JODE2XED.js} +31 -27
  41. package/dist/bundle/{chunk-CWVAYQXI.js → chunk-K5I64ZVI.js} +9 -9
  42. package/dist/bundle/chunk-KFVDL2QS.js +146 -0
  43. package/dist/bundle/{chunk-JKIN5TOU.js → chunk-KL3P5TQK.js} +4 -4
  44. package/dist/bundle/chunk-L62XTC7N.js +726 -0
  45. package/dist/bundle/chunk-L6H7PY4X.js +170 -0
  46. package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-LIQMUDIZ.js} +2 -2
  47. package/dist/bundle/{chunk-HWRKURQH.js → chunk-M2EEIYBU.js} +2 -2
  48. package/dist/bundle/chunk-M6DGZ2O6.js +823 -0
  49. package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
  50. package/dist/bundle/{chunk-UWIA2G6Q.js → chunk-MRA62W5K.js} +404 -537
  51. package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
  52. package/dist/bundle/{chunk-GA3URWIF.js → chunk-NO2LIHWA.js} +1 -1
  53. package/dist/bundle/{chunk-ESZT4WW3.js → chunk-OCDJ4FFA.js} +4 -4
  54. package/dist/bundle/{chunk-B4B65XIO.js → chunk-OI5DWZJG.js} +3 -3
  55. package/dist/bundle/chunk-P3P6DA6K.js +259 -0
  56. package/dist/bundle/chunk-QX3TPFEX.js +1977 -0
  57. package/dist/bundle/{chunk-EU5WCOMQ.js → chunk-R6SDRSZK.js} +76 -35
  58. package/dist/bundle/{chunk-K5TWMQSY.js → chunk-RMJMID5D.js} +8 -8
  59. package/dist/bundle/{chunk-RLSFOR2D.js → chunk-SGBS5QCU.js} +4 -4
  60. package/dist/bundle/{chunk-3D3PFXBP.js → chunk-T5UNSFES.js} +10 -15
  61. package/dist/bundle/{chunk-RAZKIHGH.js → chunk-TFNRCCGR.js} +4 -4
  62. package/dist/bundle/{chunk-WK3OSDNV.js → chunk-TJCPTRYD.js} +7 -7
  63. package/dist/bundle/{chunk-BWICUW7W.js → chunk-TXONV3HW.js} +2 -2
  64. package/dist/bundle/{chunk-AQZO3ITW.js → chunk-TZ2QJ53V.js} +2 -2
  65. package/dist/bundle/{chunk-35K5T6WV.js → chunk-UKE3CGHK.js} +1 -1
  66. package/dist/bundle/{chunk-7N5QB6NL.js → chunk-UROEWCOG.js} +5 -3
  67. package/dist/bundle/chunk-WHJWURZB.js +335 -0
  68. package/dist/bundle/{chunk-R6ZM45NF.js → chunk-WU3XHGOB.js} +185 -57
  69. package/dist/bundle/{chunk-2YR3RYT4.js → chunk-WZEEEQGC.js} +3 -3
  70. package/dist/bundle/{chunk-B2WFKFYL.js → chunk-XCTOCVMW.js} +20 -116
  71. package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
  72. package/dist/bundle/{chunk-EGTBL3MJ.js → chunk-Y5LAJWR5.js} +1 -1
  73. package/dist/bundle/{chunk-66PL7P4C.js → chunk-YAPDU3SV.js} +1 -1
  74. package/dist/bundle/{chunk-WWMB4UHF.js → chunk-YFWLHTNO.js} +1 -1
  75. package/dist/bundle/{chunk-KHOVVPLC.js → chunk-YGCI3DHS.js} +1 -1
  76. package/dist/bundle/{chunk-4GC5DBHW.js → chunk-Z53LYX4M.js} +3 -3
  77. package/dist/bundle/{chunk-EPAZ7DJB.js → chunk-ZC6ZQQ55.js} +48 -45
  78. package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
  79. package/dist/bundle/{command-server-entry-A66DJ3MH.js → command-server-entry-2SORMVRM.js} +27 -24
  80. package/dist/bundle/decode-5O7IEFPN.js +297 -0
  81. package/dist/bundle/{dispatch-FEKU5UXC.js → dispatch-YHQX6FEJ.js} +8 -8
  82. package/dist/bundle/{dist-YFKABFFF.js → dist-ILNOLGYN.js} +1 -1
  83. package/dist/bundle/{echarts-XD2JSWU4.js → echarts-ARLMVQC7.js} +2 -2
  84. package/dist/bundle/{embed-F3HYGAF7.js → embed-FUDUKQ3K.js} +7 -7
  85. package/dist/bundle/{embedder-GSEDDUH7.js → embedder-HDRV7GX3.js} +10 -10
  86. package/dist/bundle/{failure-HDJLR2YJ.js → failure-JHXICWIL.js} +3 -3
  87. package/dist/bundle/first-run-BGEFTXOE.js +29 -0
  88. package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
  89. package/dist/bundle/{instructions-NZGJ4FW5.js → instructions-MEFIKCDI.js} +1 -1
  90. package/dist/bundle/{mcp-VFIOZDVY.js → mcp-VMS6PBCU.js} +2 -2
  91. package/dist/bundle/mdast-util-from-markdown-R66F4HZA.js +1958 -0
  92. package/dist/bundle/mdast-util-gfm-LN2ELINH.js +2699 -0
  93. package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
  94. package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
  95. package/dist/bundle/meeting-semantic-R4CSLVRG.js +22 -0
  96. package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
  97. package/dist/bundle/{node-RPKPDYQS.js → node-MAQALPLA.js} +2 -2
  98. package/dist/bundle/{node-sqlite-KH2UUYVO.js → node-sqlite-J7IJYNBO.js} +8 -8
  99. package/dist/bundle/notion.js +14 -14
  100. package/dist/bundle/{oauth-NKAI7TQD.js → oauth-AMV4YGJD.js} +8 -8
  101. package/dist/bundle/{open-WSAEAA2V.js → open-AB27MTGR.js} +6 -6
  102. package/dist/bundle/{openai-JPVDGHG5.js → openai-D77MU5XV.js} +31 -29
  103. package/dist/bundle/{process-5ZFVKOQX.js → process-SIOWTRJ6.js} +1 -1
  104. package/dist/bundle/{program-M3D56D6T.js → program-QC5MX4ZJ.js} +7533 -1997
  105. package/dist/bundle/{prompt-FROYQ5LV.js → prompt-W77YDHA6.js} +6 -6
  106. package/dist/bundle/{recognize-NYCHQMCX.js → recognize-3JAXQQ36.js} +5 -5
  107. package/dist/bundle/{remote-4OERF3Z4.js → remote-PSOJXCXO.js} +11 -11
  108. package/dist/bundle/{rerank-TEGXFUWY.js → rerank-EE44ZTGL.js} +8 -8
  109. package/dist/bundle/{schemas-MZNNOEYN.js → schemas-LBYUMBC6.js} +2 -2
  110. package/dist/bundle/{serve-HLYYBAXY.js → serve-XJMGAMFW.js} +10 -10
  111. package/dist/bundle/{server-D5OYNEUW.js → server-ASU6CP5R.js} +53 -44
  112. package/dist/bundle/server-WSPQ5EOA.js +72 -0
  113. package/dist/bundle/services-PT4PA4J6.js +588 -0
  114. package/dist/bundle/{sqlite-runtime-H2S5RR2F.js → sqlite-runtime-YHXRTVXE.js} +7 -7
  115. package/dist/bundle/{state-OPOXCDZL.js → state-T6ZKFWGD.js} +7 -7
  116. package/dist/bundle/{store-NHMXEJPD.js → store-3MUCZEI3.js} +20 -14
  117. package/dist/bundle/{store-Y3KRLCJ7.js → store-E5EE25FY.js} +30 -21
  118. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
  119. package/dist/commands/api.d.ts.map +1 -1
  120. package/dist/commands/api.js +13 -4
  121. package/dist/commands/api.js.map +1 -1
  122. package/dist/commands/documents.d.ts +10 -1
  123. package/dist/commands/documents.d.ts.map +1 -1
  124. package/dist/commands/documents.js +175 -5
  125. package/dist/commands/documents.js.map +1 -1
  126. package/dist/commands/library.d.ts +10 -0
  127. package/dist/commands/library.d.ts.map +1 -0
  128. package/dist/commands/library.js +470 -0
  129. package/dist/commands/library.js.map +1 -0
  130. package/dist/commands/session.d.ts.map +1 -1
  131. package/dist/commands/session.js +4 -3
  132. package/dist/commands/session.js.map +1 -1
  133. package/dist/config.d.ts +19 -0
  134. package/dist/config.d.ts.map +1 -1
  135. package/dist/config.js +73 -5
  136. package/dist/config.js.map +1 -1
  137. package/dist/context.d.ts +8 -0
  138. package/dist/context.d.ts.map +1 -1
  139. package/dist/context.js +15 -3
  140. package/dist/context.js.map +1 -1
  141. package/dist/generated/types.d.ts +485 -375
  142. package/dist/generated/types.d.ts.map +1 -1
  143. package/dist/identity.d.ts.map +1 -1
  144. package/dist/identity.js +1 -0
  145. package/dist/identity.js.map +1 -1
  146. package/dist/knowledge.d.ts +27 -0
  147. package/dist/knowledge.d.ts.map +1 -0
  148. package/dist/knowledge.js +87 -0
  149. package/dist/knowledge.js.map +1 -0
  150. package/dist/library.d.ts +44 -0
  151. package/dist/library.d.ts.map +1 -0
  152. package/dist/library.js +149 -0
  153. package/dist/library.js.map +1 -0
  154. package/dist/notion/client.d.ts +4 -1
  155. package/dist/notion/client.d.ts.map +1 -1
  156. package/dist/notion/client.js +5 -2
  157. package/dist/notion/client.js.map +1 -1
  158. package/dist/notion/errors.d.ts +5 -0
  159. package/dist/notion/errors.d.ts.map +1 -1
  160. package/dist/notion/errors.js +33 -1
  161. package/dist/notion/errors.js.map +1 -1
  162. package/dist/notion/reads.d.ts +4 -0
  163. package/dist/notion/reads.d.ts.map +1 -1
  164. package/dist/notion/writes.d.ts +40 -0
  165. package/dist/notion/writes.d.ts.map +1 -0
  166. package/dist/notion/writes.js +112 -0
  167. package/dist/notion/writes.js.map +1 -0
  168. package/dist/program.js +2 -2
  169. package/dist/program.js.map +1 -1
  170. package/dist/sync/cursor.d.ts +93 -0
  171. package/dist/sync/cursor.d.ts.map +1 -1
  172. package/dist/sync/cursor.js +63 -2
  173. package/dist/sync/cursor.js.map +1 -1
  174. package/dist/sync/files.d.ts +87 -0
  175. package/dist/sync/files.d.ts.map +1 -0
  176. package/dist/sync/files.js +31 -0
  177. package/dist/sync/files.js.map +1 -0
  178. package/dist/sync/markdown.d.ts +4 -1
  179. package/dist/sync/markdown.d.ts.map +1 -1
  180. package/dist/sync/markdown.js +8 -6
  181. package/dist/sync/markdown.js.map +1 -1
  182. package/dist/sync/source.d.ts +6 -59
  183. package/dist/sync/source.d.ts.map +1 -1
  184. package/dist/sync/source.js +650 -271
  185. package/dist/sync/source.js.map +1 -1
  186. package/dist/version.d.ts +1 -1
  187. package/dist/version.js +1 -1
  188. package/package.json +3 -3
  189. package/skills/notion-cli/SKILL.md +18 -1
  190. package/dist/bundle/command-contract-6G5DC2FN.js +0 -35
  191. package/dist/bundle/decode-7XOFRAAT.js +0 -163
  192. package/dist/bundle/first-run-TXNTIUSP.js +0 -28
  193. package/dist/bundle/first-screen-JZPJND7J.js +0 -33
  194. package/dist/bundle/server-LWZGVMNW.js +0 -62
  195. package/dist/bundle/store-maintenance-command-D4W7WSLQ.js +0 -53
  196. package/dist/commands/comments.d.ts +0 -3
  197. package/dist/commands/comments.d.ts.map +0 -1
  198. package/dist/commands/comments.js +0 -114
  199. package/dist/commands/comments.js.map +0 -1
  200. package/dist/sample/comments.d.ts +0 -61
  201. package/dist/sample/comments.d.ts.map +0 -1
  202. package/dist/sample/comments.js +0 -39
  203. package/dist/sample/comments.js.map +0 -1
  204. package/dist/sample/records.d.ts +0 -16
  205. package/dist/sample/records.d.ts.map +0 -1
  206. package/dist/sample/records.js +0 -22
  207. package/dist/sample/records.js.map +0 -1
  208. package/dist/sample/transport.d.ts +0 -42
  209. package/dist/sample/transport.d.ts.map +0 -1
  210. package/dist/sample/transport.js +0 -153
  211. package/dist/sample/transport.js.map +0 -1
  212. /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-SHTHNBHG.js} +0 -0
@@ -71,6 +71,127 @@
71
71
  "local": "read"
72
72
  }
73
73
  },
74
+ {
75
+ "path": [
76
+ "folders",
77
+ "add"
78
+ ],
79
+ "summary": "import a folder and everything under it on the next sync",
80
+ "effects": {
81
+ "remote": "read",
82
+ "local": "write"
83
+ },
84
+ "permission": "folders.add"
85
+ },
86
+ {
87
+ "path": [
88
+ "folders",
89
+ "list"
90
+ ],
91
+ "summary": "list the folder ids sync imports",
92
+ "effects": {
93
+ "remote": "none",
94
+ "local": "read"
95
+ },
96
+ "permission": "folders.list",
97
+ "entity": "selected_folder"
98
+ },
99
+ {
100
+ "path": [
101
+ "folders",
102
+ "browse"
103
+ ],
104
+ "summary": "list Notion pages and databases one level at a time, live",
105
+ "effects": {
106
+ "remote": "read",
107
+ "local": "read"
108
+ },
109
+ "permission": "folders.browse",
110
+ "entity": "notion_folder"
111
+ },
112
+ {
113
+ "path": [
114
+ "folders",
115
+ "remove"
116
+ ],
117
+ "summary": "stop importing a folder; the next sync drops its documents",
118
+ "effects": {
119
+ "remote": "none",
120
+ "local": "write"
121
+ },
122
+ "permission": "folders.remove"
123
+ },
124
+ {
125
+ "path": [
126
+ "sync"
127
+ ],
128
+ "summary": "import what changed in the chosen folders, and finish an unfinished sync",
129
+ "effects": {
130
+ "remote": "read",
131
+ "local": "write"
132
+ },
133
+ "permission": "sync"
134
+ },
135
+ {
136
+ "path": [
137
+ "status"
138
+ ],
139
+ "summary": "show the last sync, imported documents and pending work",
140
+ "effects": {
141
+ "remote": "none",
142
+ "local": "read"
143
+ },
144
+ "permission": "status"
145
+ },
146
+ {
147
+ "path": [
148
+ "documents",
149
+ "list"
150
+ ],
151
+ "summary": "list the synced pages and database rows with their Notion links",
152
+ "effects": {
153
+ "remote": "none",
154
+ "local": "read"
155
+ },
156
+ "permission": "documents.list",
157
+ "entity": "document"
158
+ },
159
+ {
160
+ "path": [
161
+ "documents",
162
+ "show"
163
+ ],
164
+ "summary": "show an imported document's text, tabs and metadata",
165
+ "effects": {
166
+ "remote": "none",
167
+ "local": "read"
168
+ },
169
+ "permission": "documents.show"
170
+ },
171
+ {
172
+ "path": [
173
+ "documents",
174
+ "export"
175
+ ],
176
+ "summary": "write an imported document to a new Markdown file",
177
+ "effects": {
178
+ "remote": "none",
179
+ "local": "write"
180
+ },
181
+ "permission": "documents.export"
182
+ },
183
+ {
184
+ "path": [
185
+ "documents",
186
+ "context"
187
+ ],
188
+ "summary": "show a document with its tags, relationships, notes, memories and editors",
189
+ "effects": {
190
+ "remote": "none",
191
+ "local": "read"
192
+ },
193
+ "permission": "documents.context"
194
+ },
74
195
  {
75
196
  "path": [
76
197
  "documents",
@@ -84,6 +205,490 @@
84
205
  "permission": "documents.get",
85
206
  "entity": "document_markdown"
86
207
  },
208
+ {
209
+ "path": [
210
+ "documents",
211
+ "create"
212
+ ],
213
+ "summary": "create a Notion page under another page",
214
+ "effects": {
215
+ "remote": "write",
216
+ "local": "write"
217
+ },
218
+ "permission": "documents.create"
219
+ },
220
+ {
221
+ "path": [
222
+ "documents",
223
+ "update"
224
+ ],
225
+ "summary": "replace a Notion page's text",
226
+ "effects": {
227
+ "remote": "write",
228
+ "local": "write"
229
+ },
230
+ "permission": "documents.update"
231
+ },
232
+ {
233
+ "path": [
234
+ "documents",
235
+ "delete"
236
+ ],
237
+ "summary": "move a Notion page to the trash",
238
+ "effects": {
239
+ "remote": "write",
240
+ "local": "write"
241
+ },
242
+ "permission": "documents.delete"
243
+ },
244
+ {
245
+ "path": [
246
+ "documents",
247
+ "restore"
248
+ ],
249
+ "summary": "bring a Notion page back from the trash",
250
+ "effects": {
251
+ "remote": "write",
252
+ "local": "write"
253
+ },
254
+ "permission": "documents.restore"
255
+ },
256
+ {
257
+ "path": [
258
+ "documents",
259
+ "add"
260
+ ],
261
+ "summary": "keep one Notion page's text in memory, read live, without syncing a folder",
262
+ "effects": {
263
+ "remote": "read",
264
+ "local": "write"
265
+ },
266
+ "permission": "documents.add"
267
+ },
268
+ {
269
+ "path": [
270
+ "search"
271
+ ],
272
+ "summary": "search imported documents by words, and by meaning when indexed",
273
+ "effects": {
274
+ "remote": "none",
275
+ "local": "read"
276
+ },
277
+ "permission": "search"
278
+ },
279
+ {
280
+ "path": [
281
+ "catalog",
282
+ "import"
283
+ ],
284
+ "summary": "put cached file and folder metadata into the shared database",
285
+ "effects": {
286
+ "remote": "none",
287
+ "local": "write"
288
+ },
289
+ "permission": "catalog.import"
290
+ },
291
+ {
292
+ "path": [
293
+ "catalog",
294
+ "show"
295
+ ],
296
+ "summary": "show stored metadata and the stable file or folder reference",
297
+ "effects": {
298
+ "remote": "none",
299
+ "local": "read"
300
+ },
301
+ "permission": "catalog.show",
302
+ "entity": "document"
303
+ },
304
+ {
305
+ "path": [
306
+ "catalog",
307
+ "list"
308
+ ],
309
+ "summary": "list cached files and folders using metadata queries",
310
+ "effects": {
311
+ "remote": "none",
312
+ "local": "read"
313
+ },
314
+ "permission": "catalog.list",
315
+ "entity": "document"
316
+ },
317
+ {
318
+ "path": [
319
+ "catalog",
320
+ "search"
321
+ ],
322
+ "summary": "search cached names, descriptions, types and observed people",
323
+ "effects": {
324
+ "remote": "none",
325
+ "local": "read"
326
+ },
327
+ "permission": "catalog.search",
328
+ "entity": "document"
329
+ },
330
+ {
331
+ "path": [
332
+ "catalog",
333
+ "tree"
334
+ ],
335
+ "summary": "show the cached hierarchy below a folder or all selected roots",
336
+ "effects": {
337
+ "remote": "none",
338
+ "local": "read"
339
+ },
340
+ "permission": "catalog.tree"
341
+ },
342
+ {
343
+ "path": [
344
+ "catalog",
345
+ "tags",
346
+ "list"
347
+ ],
348
+ "summary": "list local tags on a cached file or folder",
349
+ "effects": {
350
+ "remote": "none",
351
+ "local": "read"
352
+ },
353
+ "permission": "catalog.tags.list",
354
+ "entity": "document_tag"
355
+ },
356
+ {
357
+ "path": [
358
+ "catalog",
359
+ "tags",
360
+ "add"
361
+ ],
362
+ "summary": "add local tags on a cached file or folder",
363
+ "effects": {
364
+ "remote": "none",
365
+ "local": "write"
366
+ },
367
+ "permission": "catalog.tags.add"
368
+ },
369
+ {
370
+ "path": [
371
+ "catalog",
372
+ "tags",
373
+ "remove"
374
+ ],
375
+ "summary": "remove local tags on a cached file or folder",
376
+ "effects": {
377
+ "remote": "none",
378
+ "local": "write"
379
+ },
380
+ "permission": "catalog.tags.remove"
381
+ },
382
+ {
383
+ "path": [
384
+ "tags",
385
+ "list"
386
+ ],
387
+ "summary": "list a document's tags",
388
+ "effects": {
389
+ "remote": "none",
390
+ "local": "read"
391
+ },
392
+ "permission": "tags.list",
393
+ "entity": "document_tag"
394
+ },
395
+ {
396
+ "path": [
397
+ "tags",
398
+ "add"
399
+ ],
400
+ "summary": "tag a document",
401
+ "effects": {
402
+ "remote": "none",
403
+ "local": "write"
404
+ },
405
+ "permission": "tags.add"
406
+ },
407
+ {
408
+ "path": [
409
+ "tags",
410
+ "remove"
411
+ ],
412
+ "summary": "untag a document",
413
+ "effects": {
414
+ "remote": "none",
415
+ "local": "write"
416
+ },
417
+ "permission": "tags.remove"
418
+ },
419
+ {
420
+ "path": [
421
+ "relationships",
422
+ "list"
423
+ ],
424
+ "summary": "list a document's relationships",
425
+ "effects": {
426
+ "remote": "none",
427
+ "local": "read"
428
+ },
429
+ "permission": "relationships.list",
430
+ "entity": "document_relationship"
431
+ },
432
+ {
433
+ "path": [
434
+ "relationships",
435
+ "add"
436
+ ],
437
+ "summary": "connect a document to another reference",
438
+ "effects": {
439
+ "remote": "none",
440
+ "local": "write"
441
+ },
442
+ "permission": "relationships.add"
443
+ },
444
+ {
445
+ "path": [
446
+ "relationships",
447
+ "remove"
448
+ ],
449
+ "summary": "remove one of a document's relationships",
450
+ "effects": {
451
+ "remote": "none",
452
+ "local": "write"
453
+ },
454
+ "permission": "relationships.remove"
455
+ },
456
+ {
457
+ "path": [
458
+ "notes",
459
+ "add"
460
+ ],
461
+ "summary": "write a note about a document",
462
+ "effects": {
463
+ "remote": "none",
464
+ "local": "write"
465
+ },
466
+ "permission": "notes.add",
467
+ "entity": "note"
468
+ },
469
+ {
470
+ "path": [
471
+ "notes",
472
+ "list"
473
+ ],
474
+ "summary": "list a document's notes",
475
+ "effects": {
476
+ "remote": "none",
477
+ "local": "read"
478
+ },
479
+ "permission": "notes.list",
480
+ "entity": "note"
481
+ },
482
+ {
483
+ "path": [
484
+ "notes",
485
+ "show"
486
+ ],
487
+ "summary": "show one note",
488
+ "effects": {
489
+ "remote": "none",
490
+ "local": "read"
491
+ },
492
+ "permission": "notes.show",
493
+ "entity": "note"
494
+ },
495
+ {
496
+ "path": [
497
+ "notes",
498
+ "edit"
499
+ ],
500
+ "summary": "replace a note's text",
501
+ "effects": {
502
+ "remote": "none",
503
+ "local": "write"
504
+ },
505
+ "permission": "notes.edit",
506
+ "entity": "note"
507
+ },
508
+ {
509
+ "path": [
510
+ "notes",
511
+ "remove"
512
+ ],
513
+ "summary": "delete one note",
514
+ "effects": {
515
+ "remote": "none",
516
+ "local": "write"
517
+ },
518
+ "permission": "notes.remove"
519
+ },
520
+ {
521
+ "path": [
522
+ "memories",
523
+ "add"
524
+ ],
525
+ "summary": "record a memory about a document",
526
+ "effects": {
527
+ "remote": "none",
528
+ "local": "write"
529
+ },
530
+ "permission": "memories.add"
531
+ },
532
+ {
533
+ "path": [
534
+ "memories",
535
+ "list"
536
+ ],
537
+ "summary": "list a document's memories",
538
+ "effects": {
539
+ "remote": "none",
540
+ "local": "read"
541
+ },
542
+ "permission": "memories.list",
543
+ "entity": "memory"
544
+ },
545
+ {
546
+ "path": [
547
+ "memories",
548
+ "show"
549
+ ],
550
+ "summary": "show one memory",
551
+ "effects": {
552
+ "remote": "none",
553
+ "local": "read"
554
+ },
555
+ "permission": "memories.show"
556
+ },
557
+ {
558
+ "path": [
559
+ "memories",
560
+ "confirm"
561
+ ],
562
+ "summary": "confirm a proposed memory as true",
563
+ "effects": {
564
+ "remote": "none",
565
+ "local": "write"
566
+ },
567
+ "permission": "memories.confirm"
568
+ },
569
+ {
570
+ "path": [
571
+ "memories",
572
+ "stale"
573
+ ],
574
+ "summary": "mark a memory as out of date",
575
+ "effects": {
576
+ "remote": "none",
577
+ "local": "write"
578
+ },
579
+ "permission": "memories.stale"
580
+ },
581
+ {
582
+ "path": [
583
+ "memories",
584
+ "search"
585
+ ],
586
+ "summary": "search a document's memories by words",
587
+ "effects": {
588
+ "remote": "none",
589
+ "local": "read"
590
+ },
591
+ "permission": "memories.search",
592
+ "entity": "memory"
593
+ },
594
+ {
595
+ "path": [
596
+ "memories",
597
+ "extract"
598
+ ],
599
+ "summary": "send a document's text to the model and show the memories it proposes",
600
+ "effects": {
601
+ "remote": "write",
602
+ "local": "write"
603
+ },
604
+ "permission": "memories.extract"
605
+ },
606
+ {
607
+ "path": [
608
+ "facts",
609
+ "add"
610
+ ],
611
+ "summary": "record a fact a document shows",
612
+ "effects": {
613
+ "remote": "none",
614
+ "local": "write"
615
+ },
616
+ "permission": "facts.add"
617
+ },
618
+ {
619
+ "path": [
620
+ "facts",
621
+ "list"
622
+ ],
623
+ "summary": "list a document's facts",
624
+ "effects": {
625
+ "remote": "none",
626
+ "local": "read"
627
+ },
628
+ "permission": "facts.list",
629
+ "entity": "fact"
630
+ },
631
+ {
632
+ "path": [
633
+ "facts",
634
+ "show"
635
+ ],
636
+ "summary": "show one fact",
637
+ "effects": {
638
+ "remote": "none",
639
+ "local": "read"
640
+ },
641
+ "permission": "facts.show"
642
+ },
643
+ {
644
+ "path": [
645
+ "facts",
646
+ "confirm"
647
+ ],
648
+ "summary": "confirm a proposed fact; a decision it supersedes stops holding",
649
+ "effects": {
650
+ "remote": "none",
651
+ "local": "write"
652
+ },
653
+ "permission": "facts.confirm"
654
+ },
655
+ {
656
+ "path": [
657
+ "facts",
658
+ "reverse"
659
+ ],
660
+ "summary": "an accepted decision no longer holds, and nothing replaced it",
661
+ "effects": {
662
+ "remote": "none",
663
+ "local": "write"
664
+ },
665
+ "permission": "facts.reverse"
666
+ },
667
+ {
668
+ "path": [
669
+ "identities",
670
+ "list"
671
+ ],
672
+ "summary": "list the creator and last editor Notion shows for a page",
673
+ "effects": {
674
+ "remote": "none",
675
+ "local": "read"
676
+ },
677
+ "permission": "identities.list",
678
+ "entity": "document_identity"
679
+ },
680
+ {
681
+ "path": [
682
+ "identities",
683
+ "link"
684
+ ],
685
+ "summary": "record that a Notion account belongs to a known person",
686
+ "effects": {
687
+ "remote": "none",
688
+ "local": "write"
689
+ },
690
+ "permission": "identities.link"
691
+ },
87
692
  {
88
693
  "path": [
89
694
  "databases",
@@ -1129,6 +1734,78 @@
1129
1734
  }
1130
1735
  ],
1131
1736
  "entities": {
1737
+ "selected_folder": {
1738
+ "fields": [
1739
+ "id"
1740
+ ]
1741
+ },
1742
+ "document": {
1743
+ "fields": [
1744
+ "name",
1745
+ "kind",
1746
+ "mime"
1747
+ ]
1748
+ },
1749
+ "document_tag": {
1750
+ "fields": [
1751
+ "tag"
1752
+ ]
1753
+ },
1754
+ "document_relationship": {
1755
+ "fields": [
1756
+ "id",
1757
+ "from",
1758
+ "to",
1759
+ "kind",
1760
+ "role",
1761
+ "confirmed",
1762
+ "origin"
1763
+ ]
1764
+ },
1765
+ "note": {
1766
+ "fields": [
1767
+ "ref",
1768
+ "kind",
1769
+ "provider",
1770
+ "account",
1771
+ "url",
1772
+ "id",
1773
+ "source",
1774
+ "folder_id",
1775
+ "path",
1776
+ "title",
1777
+ "text",
1778
+ "revision",
1779
+ "content_hash",
1780
+ "export_path",
1781
+ "created_at",
1782
+ "updated_at",
1783
+ "deleted_at",
1784
+ "tags",
1785
+ "excerpt",
1786
+ "found_by"
1787
+ ]
1788
+ },
1789
+ "memory": {
1790
+ "fields": [
1791
+ "kind",
1792
+ "status",
1793
+ "scope"
1794
+ ]
1795
+ },
1796
+ "fact": {
1797
+ "fields": [
1798
+ "kind",
1799
+ "status"
1800
+ ]
1801
+ },
1802
+ "document_identity": {
1803
+ "fields": [
1804
+ "remote_id",
1805
+ "provider",
1806
+ "role"
1807
+ ]
1808
+ },
1132
1809
  "database": {
1133
1810
  "fields": [
1134
1811
  "title"
@@ -1297,7 +1974,27 @@
1297
1974
  ]
1298
1975
  },
1299
1976
  "tasks": null,
1300
- "sync": null,
1977
+ "sync": {
1978
+ "run": [
1979
+ "{profile}",
1980
+ "sync",
1981
+ "--record",
1982
+ "--json"
1983
+ ],
1984
+ "last": [
1985
+ "runs",
1986
+ "list",
1987
+ "command:sync",
1988
+ "status:success",
1989
+ "--limit",
1990
+ "50",
1991
+ "--no-record",
1992
+ "--json"
1993
+ ],
1994
+ "lastShape": "runs",
1995
+ "what": "Notion pages and database rows",
1996
+ "note": null
1997
+ },
1301
1998
  "storeInfo": null,
1302
1999
  "storeTables": null,
1303
2000
  "storeTableSizes": null,