@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.
- package/CHANGELOG.md +69 -0
- package/README.md +14 -4
- package/contracts/wirecat.json +698 -1
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-OETMCOLN.js → all-profiles-4IONYZB6.js} +10 -10
- package/dist/bundle/{anthropic-5Y3O2TYM.js → anthropic-OXF74J4P.js} +6 -6
- package/dist/bundle/{app-server-IVWBIVHC.js → app-server-M2VF6ABM.js} +61 -52
- package/dist/bundle/{bun-EO636SAD.js → bun-DLA6QRLL.js} +2 -2
- package/dist/bundle/{bun-sqlite-C2T7QJ2M.js → bun-sqlite-F4BYLW3F.js} +7 -7
- package/dist/bundle/{chunk-QBC23NHD.js → chunk-2MHMKNWD.js} +1 -1
- package/dist/bundle/{chunk-TSCIIXN3.js → chunk-4KUJTSHG.js} +2 -2
- package/dist/bundle/{chunk-24FAYAML.js → chunk-4TQVZXOV.js} +3 -3
- package/dist/bundle/{chunk-FF4DDBCB.js → chunk-5LBJNTEJ.js} +6 -6
- package/dist/bundle/chunk-5UA2TYMI.js +29 -0
- package/dist/bundle/{chunk-DIM5YWBU.js → chunk-5XP4KQ2F.js} +1 -1
- package/dist/bundle/{chunk-WM7663C2.js → chunk-6GN7KU7X.js} +9 -9
- package/dist/bundle/chunk-6JBLIQQN.js +16 -0
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-TR7R5DL4.js → chunk-7NGFGFE5.js} +12 -63
- package/dist/bundle/{chunk-YA4LSSDZ.js → chunk-7NVPM55S.js} +2913 -2371
- package/dist/bundle/{chunk-XC5CKHX2.js → chunk-7YZPBAQX.js} +1 -1
- package/dist/bundle/{chunk-RSIS7BR7.js → chunk-AYU5TFDU.js} +21 -21
- package/dist/bundle/{chunk-64D5VUZ4.js → chunk-BEPFGITI.js} +68 -64
- package/dist/bundle/{chunk-HRTIRRXR.js → chunk-CBGBFAYJ.js} +41 -6
- package/dist/bundle/{chunk-QC3KOJT4.js → chunk-CDGZZNGY.js} +6 -6
- package/dist/bundle/{chunk-JK44XO2S.js → chunk-CIVXTBJY.js} +56 -56
- package/dist/bundle/{chunk-OWJDC4CB.js → chunk-COH7OEER.js} +14 -13
- package/dist/bundle/{chunk-XL2HXHP3.js → chunk-D6RCRBDH.js} +2 -2
- package/dist/bundle/{chunk-47R43UVJ.js → chunk-EQPAZ33O.js} +19 -19
- package/dist/bundle/{chunk-AE2KQ37N.js → chunk-EY6S7FV3.js} +6 -6
- package/dist/bundle/chunk-FEMHUSGO.js +88 -0
- package/dist/bundle/{chunk-NLDYZBTC.js → chunk-FSJHASRQ.js} +1146 -2555
- package/dist/bundle/chunk-GBFEEHQC.js +385 -0
- package/dist/bundle/{chunk-IQWEJEB5.js → chunk-GCCPFKSU.js} +26264 -21086
- package/dist/bundle/{chunk-RDZ7SVBZ.js → chunk-GK4GLPG2.js} +3 -3
- package/dist/bundle/{chunk-B2XKEEFX.js → chunk-GSNE7OB4.js} +4 -4
- package/dist/bundle/{chunk-UWW24JQF.js → chunk-HTKSCSJU.js} +4 -4
- package/dist/bundle/{chunk-7FII4DCE.js → chunk-IJMFG7HB.js} +7 -7
- package/dist/bundle/{chunk-WVZFXI36.js → chunk-JIRRF6BM.js} +4 -4
- package/dist/bundle/{chunk-ST2UC7FS.js → chunk-JODE2XED.js} +31 -27
- package/dist/bundle/{chunk-CWVAYQXI.js → chunk-K5I64ZVI.js} +9 -9
- package/dist/bundle/chunk-KFVDL2QS.js +146 -0
- package/dist/bundle/{chunk-JKIN5TOU.js → chunk-KL3P5TQK.js} +4 -4
- package/dist/bundle/chunk-L62XTC7N.js +726 -0
- package/dist/bundle/chunk-L6H7PY4X.js +170 -0
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-HWRKURQH.js → chunk-M2EEIYBU.js} +2 -2
- package/dist/bundle/chunk-M6DGZ2O6.js +823 -0
- package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
- package/dist/bundle/{chunk-UWIA2G6Q.js → chunk-MRA62W5K.js} +404 -537
- package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-ESZT4WW3.js → chunk-OCDJ4FFA.js} +4 -4
- package/dist/bundle/{chunk-B4B65XIO.js → chunk-OI5DWZJG.js} +3 -3
- package/dist/bundle/chunk-P3P6DA6K.js +259 -0
- package/dist/bundle/chunk-QX3TPFEX.js +1977 -0
- package/dist/bundle/{chunk-EU5WCOMQ.js → chunk-R6SDRSZK.js} +76 -35
- package/dist/bundle/{chunk-K5TWMQSY.js → chunk-RMJMID5D.js} +8 -8
- package/dist/bundle/{chunk-RLSFOR2D.js → chunk-SGBS5QCU.js} +4 -4
- package/dist/bundle/{chunk-3D3PFXBP.js → chunk-T5UNSFES.js} +10 -15
- package/dist/bundle/{chunk-RAZKIHGH.js → chunk-TFNRCCGR.js} +4 -4
- package/dist/bundle/{chunk-WK3OSDNV.js → chunk-TJCPTRYD.js} +7 -7
- package/dist/bundle/{chunk-BWICUW7W.js → chunk-TXONV3HW.js} +2 -2
- package/dist/bundle/{chunk-AQZO3ITW.js → chunk-TZ2QJ53V.js} +2 -2
- package/dist/bundle/{chunk-35K5T6WV.js → chunk-UKE3CGHK.js} +1 -1
- package/dist/bundle/{chunk-7N5QB6NL.js → chunk-UROEWCOG.js} +5 -3
- package/dist/bundle/chunk-WHJWURZB.js +335 -0
- package/dist/bundle/{chunk-R6ZM45NF.js → chunk-WU3XHGOB.js} +185 -57
- package/dist/bundle/{chunk-2YR3RYT4.js → chunk-WZEEEQGC.js} +3 -3
- package/dist/bundle/{chunk-B2WFKFYL.js → chunk-XCTOCVMW.js} +20 -116
- package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
- package/dist/bundle/{chunk-EGTBL3MJ.js → chunk-Y5LAJWR5.js} +1 -1
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-WWMB4UHF.js → chunk-YFWLHTNO.js} +1 -1
- package/dist/bundle/{chunk-KHOVVPLC.js → chunk-YGCI3DHS.js} +1 -1
- package/dist/bundle/{chunk-4GC5DBHW.js → chunk-Z53LYX4M.js} +3 -3
- package/dist/bundle/{chunk-EPAZ7DJB.js → chunk-ZC6ZQQ55.js} +48 -45
- package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
- package/dist/bundle/{command-server-entry-A66DJ3MH.js → command-server-entry-2SORMVRM.js} +27 -24
- package/dist/bundle/decode-5O7IEFPN.js +297 -0
- package/dist/bundle/{dispatch-FEKU5UXC.js → dispatch-YHQX6FEJ.js} +8 -8
- package/dist/bundle/{dist-YFKABFFF.js → dist-ILNOLGYN.js} +1 -1
- package/dist/bundle/{echarts-XD2JSWU4.js → echarts-ARLMVQC7.js} +2 -2
- package/dist/bundle/{embed-F3HYGAF7.js → embed-FUDUKQ3K.js} +7 -7
- package/dist/bundle/{embedder-GSEDDUH7.js → embedder-HDRV7GX3.js} +10 -10
- package/dist/bundle/{failure-HDJLR2YJ.js → failure-JHXICWIL.js} +3 -3
- package/dist/bundle/first-run-BGEFTXOE.js +29 -0
- package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
- package/dist/bundle/{instructions-NZGJ4FW5.js → instructions-MEFIKCDI.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/mdast-util-from-markdown-R66F4HZA.js +1958 -0
- package/dist/bundle/mdast-util-gfm-LN2ELINH.js +2699 -0
- package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
- package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
- package/dist/bundle/meeting-semantic-R4CSLVRG.js +22 -0
- package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
- package/dist/bundle/{node-RPKPDYQS.js → node-MAQALPLA.js} +2 -2
- package/dist/bundle/{node-sqlite-KH2UUYVO.js → node-sqlite-J7IJYNBO.js} +8 -8
- package/dist/bundle/notion.js +14 -14
- package/dist/bundle/{oauth-NKAI7TQD.js → oauth-AMV4YGJD.js} +8 -8
- package/dist/bundle/{open-WSAEAA2V.js → open-AB27MTGR.js} +6 -6
- package/dist/bundle/{openai-JPVDGHG5.js → openai-D77MU5XV.js} +31 -29
- package/dist/bundle/{process-5ZFVKOQX.js → process-SIOWTRJ6.js} +1 -1
- package/dist/bundle/{program-M3D56D6T.js → program-QC5MX4ZJ.js} +7533 -1997
- package/dist/bundle/{prompt-FROYQ5LV.js → prompt-W77YDHA6.js} +6 -6
- package/dist/bundle/{recognize-NYCHQMCX.js → recognize-3JAXQQ36.js} +5 -5
- package/dist/bundle/{remote-4OERF3Z4.js → remote-PSOJXCXO.js} +11 -11
- package/dist/bundle/{rerank-TEGXFUWY.js → rerank-EE44ZTGL.js} +8 -8
- package/dist/bundle/{schemas-MZNNOEYN.js → schemas-LBYUMBC6.js} +2 -2
- package/dist/bundle/{serve-HLYYBAXY.js → serve-XJMGAMFW.js} +10 -10
- package/dist/bundle/{server-D5OYNEUW.js → server-ASU6CP5R.js} +53 -44
- package/dist/bundle/server-WSPQ5EOA.js +72 -0
- package/dist/bundle/services-PT4PA4J6.js +588 -0
- package/dist/bundle/{sqlite-runtime-H2S5RR2F.js → sqlite-runtime-YHXRTVXE.js} +7 -7
- package/dist/bundle/{state-OPOXCDZL.js → state-T6ZKFWGD.js} +7 -7
- package/dist/bundle/{store-NHMXEJPD.js → store-3MUCZEI3.js} +20 -14
- package/dist/bundle/{store-Y3KRLCJ7.js → store-E5EE25FY.js} +30 -21
- package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +13 -4
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/documents.d.ts +10 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +175 -5
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/library.d.ts +10 -0
- package/dist/commands/library.d.ts.map +1 -0
- package/dist/commands/library.js +470 -0
- package/dist/commands/library.js.map +1 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +4 -3
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +73 -5
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +8 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +15 -3
- package/dist/context.js.map +1 -1
- package/dist/generated/types.d.ts +485 -375
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/knowledge.d.ts +27 -0
- package/dist/knowledge.d.ts.map +1 -0
- package/dist/knowledge.js +87 -0
- package/dist/knowledge.js.map +1 -0
- package/dist/library.d.ts +44 -0
- package/dist/library.d.ts.map +1 -0
- package/dist/library.js +149 -0
- package/dist/library.js.map +1 -0
- package/dist/notion/client.d.ts +4 -1
- package/dist/notion/client.d.ts.map +1 -1
- package/dist/notion/client.js +5 -2
- package/dist/notion/client.js.map +1 -1
- package/dist/notion/errors.d.ts +5 -0
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +33 -1
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/reads.d.ts +4 -0
- package/dist/notion/reads.d.ts.map +1 -1
- package/dist/notion/writes.d.ts +40 -0
- package/dist/notion/writes.d.ts.map +1 -0
- package/dist/notion/writes.js +112 -0
- package/dist/notion/writes.js.map +1 -0
- package/dist/program.js +2 -2
- package/dist/program.js.map +1 -1
- package/dist/sync/cursor.d.ts +93 -0
- package/dist/sync/cursor.d.ts.map +1 -1
- package/dist/sync/cursor.js +63 -2
- package/dist/sync/cursor.js.map +1 -1
- package/dist/sync/files.d.ts +87 -0
- package/dist/sync/files.d.ts.map +1 -0
- package/dist/sync/files.js +31 -0
- package/dist/sync/files.js.map +1 -0
- package/dist/sync/markdown.d.ts +4 -1
- package/dist/sync/markdown.d.ts.map +1 -1
- package/dist/sync/markdown.js +8 -6
- package/dist/sync/markdown.js.map +1 -1
- package/dist/sync/source.d.ts +6 -59
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +650 -271
- package/dist/sync/source.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/notion-cli/SKILL.md +18 -1
- package/dist/bundle/command-contract-6G5DC2FN.js +0 -35
- package/dist/bundle/decode-7XOFRAAT.js +0 -163
- package/dist/bundle/first-run-TXNTIUSP.js +0 -28
- package/dist/bundle/first-screen-JZPJND7J.js +0 -33
- package/dist/bundle/server-LWZGVMNW.js +0 -62
- package/dist/bundle/store-maintenance-command-D4W7WSLQ.js +0 -53
- package/dist/commands/comments.d.ts +0 -3
- package/dist/commands/comments.d.ts.map +0 -1
- package/dist/commands/comments.js +0 -114
- package/dist/commands/comments.js.map +0 -1
- package/dist/sample/comments.d.ts +0 -61
- package/dist/sample/comments.d.ts.map +0 -1
- package/dist/sample/comments.js +0 -39
- package/dist/sample/comments.js.map +0 -1
- package/dist/sample/records.d.ts +0 -16
- package/dist/sample/records.d.ts.map +0 -1
- package/dist/sample/records.js +0 -22
- package/dist/sample/records.js.map +0 -1
- package/dist/sample/transport.d.ts +0 -42
- package/dist/sample/transport.d.ts.map +0 -1
- package/dist/sample/transport.js +0 -153
- package/dist/sample/transport.js.map +0 -1
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-SHTHNBHG.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,75 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/notion-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.3.0 — 16.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `documents create`, `documents update`, `documents delete` and `documents restore` write Notion pages. `create`
|
|
10
|
+
makes a page under another page from Markdown, `update` replaces a page's text, `delete` moves a page to Notion's
|
|
11
|
+
trash and asks first, and `restore` brings it back. An update that would delete a child page or database is refused
|
|
12
|
+
unless `--allow-deleting-content` is given, and then it asks as a delete does. Every write goes through the
|
|
13
|
+
profile's permissions and the write journal, answers with an `operation_id`, and is previewed with `--dry-run`.
|
|
14
|
+
A raw `api` call that deletes, trashes, erases or archives content, or removes a database property, now asks as
|
|
15
|
+
`documents delete` does, so `documents.delete` set to `deny` stops it too, also for an `agent-batch` call with a
|
|
16
|
+
delete in it. `--file` reads only a regular file, never a link, one under `/proc`, `/sys` or `/dev`, nor a
|
|
17
|
+
credential file. See
|
|
18
|
+
[Writes](docs/dev/DESIGN.md#writes).
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- The [install page](docs/installation.md#sign-in) shows how to sign in with `session start`.
|
|
23
|
+
- `bin/notion-live` reads the token from the keyring service that `NOTION_LIVE_KEYRING_SERVICE` names. When it is
|
|
24
|
+
unset, the service stays `notion-live`.
|
|
25
|
+
- A plain `sync` removes the rows of a data source that was taken out of its database. Before, they stayed in the
|
|
26
|
+
local copy until `sync --rescan`. When Notion will not show the database (403), the rows stay.
|
|
27
|
+
|
|
28
|
+
### Security
|
|
29
|
+
|
|
30
|
+
- cli-core 0.680.0 and cli-base 0.106.0. cli-core now refuses files under `/proc`, `/sys` and `/dev` itself, so
|
|
31
|
+
`--file` uses its check instead of notion's own. `--file` still opens the file once, never through a link, and
|
|
32
|
+
checks the file it opened.
|
|
33
|
+
|
|
34
|
+
## 0.2.0 — 16.11.2026
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- `notion <profile> sync` copies Notion pages, pages under pages, databases and their rows into WireCat's shared
|
|
39
|
+
store, under provider `notion`. Without a chosen folder it copies everything the token sees. `--limit` bounds one
|
|
40
|
+
run and `--rescan` walks everything again. A page or database Notion would not give is named in `meta.issues` and
|
|
41
|
+
in the answer's `warnings`, and the answer says `meta.complete: false` and exits 0. A walk too long for one run
|
|
42
|
+
stops in time and the next sync goes on; there is no cap on the chosen folders' size. A block inside a page whose
|
|
43
|
+
children Notion will not give (a synced block whose original is not shared) is skipped with a warning. A page or
|
|
44
|
+
database Notion answers 403 for is kept as it was; only a 404 or the trash removes it. A block Notion refuses in a
|
|
45
|
+
page's Markdown, or a data source it will not query, is left out with a warning and the rest syncs. See
|
|
46
|
+
[the sync](docs/dev/SYNC.md).
|
|
47
|
+
- A sync runs up to 15 minutes in a terminal and 45 seconds over MCP, unless `--timeout` sets another time
|
|
48
|
+
(cli-core 0.671.0). It stops before its deadline, in the hourly pass and the daily walk alike, one request at a
|
|
49
|
+
time: it saves where it stopped, answers `complete: false` and names `sync` as the next step. A page's child
|
|
50
|
+
pages come from its listing, 100 a request. A `--timeout` too short to keep anything fails with `timeout` and
|
|
51
|
+
reason `notion.timeout-too-short`. See [the sync](docs/dev/SYNC.md).
|
|
52
|
+
- One Notion connection is one profile: `session start` and `sync` refuse a connection another signed-in profile
|
|
53
|
+
uses, and a profile synced from one connection refuses a token of another. A profile signed in by `WCNOTION_TOKEN`
|
|
54
|
+
counts too. See [sign-in](docs/dev/DESIGN.md).
|
|
55
|
+
- Pages under pages, and a page as a chosen folder, now sync: 0.1.0 said they were not done yet.
|
|
56
|
+
- `folders add|list|browse|remove` narrow the sync to chosen pages and databases. `folders browse` lists one level
|
|
57
|
+
live from Notion. Removing the last folder says that the next sync copies the whole workspace again. Over MCP,
|
|
58
|
+
`folders add` goes through the write tool.
|
|
59
|
+
- `status`, `documents list|show|export|context|add`, `search` (Lucene syntax, offline), `catalog`, `tags`,
|
|
60
|
+
`relationships`, `notes`, `memories`, `facts` and `identities`: cli-core's shared documents commands over the
|
|
61
|
+
local copy. `documents add` keeps one page, read live, among the sources added by hand.
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
|
|
65
|
+
- A first sync of a big database, or of a page with many children, moves on in every run, also over MCP's 45 seconds:
|
|
66
|
+
the sync lists a folder a page at a time and goes on where it stopped (cli-core's `childrenPage`). Before, a database
|
|
67
|
+
of more than about 12,000 rows stopped the first sync over MCP at the same step every run. See
|
|
68
|
+
[the sync](docs/dev/SYNC.md).
|
|
69
|
+
- Database queries keep to Notion's documented limit of about 3 requests a second, not 60 a minute. See
|
|
70
|
+
[the design](docs/dev/DESIGN.md).
|
|
71
|
+
- `folders browse --parent` and the synced copy give a page under a page its link, in Notion's own form
|
|
72
|
+
`https://app.notion.com/p/{page-id}`, instead of an empty `url`. See [the sync](docs/dev/SYNC.md).
|
|
73
|
+
|
|
5
74
|
## 0.1.0 — 15.11.2026
|
|
6
75
|
|
|
7
76
|
### Added
|
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
`notion` reads your Notion pages and databases for you and your AI agent: in the terminal, in scripts and through
|
|
4
4
|
MCP. It signs in with your own Notion token, kept in your system keyring.
|
|
5
5
|
|
|
6
|
-
**Status: in development.** It signs in
|
|
7
|
-
|
|
8
|
-
Markdown files in step with a Notion page tree. The order of work is in [docs/dev/DESIGN.md](docs/dev/DESIGN.md).
|
|
6
|
+
**Status: in development.** It signs in, reads live from Notion, and keeps a copy of your pages on your computer,
|
|
7
|
+
searchable offline with the rest of WireCat, and creates, changes and deletes pages. Next it searches database rows by
|
|
8
|
+
their properties, and later keeps a folder of Markdown files in step with a Notion page tree. The order of work is in [docs/dev/DESIGN.md](docs/dev/DESIGN.md).
|
|
9
9
|
|
|
10
10
|
## What it does now
|
|
11
11
|
|
|
@@ -13,7 +13,17 @@ Markdown files in step with a Notion page tree. The order of work is in [docs/de
|
|
|
13
13
|
- a [personal access token](https://developers.notion.com/guides/connections-and-tokens/personal-access-tokens),
|
|
14
14
|
which acts with your own rights;
|
|
15
15
|
- or an internal connection's token, which sees only the pages shared with that connection.
|
|
16
|
-
- `notion personal documents get <page id or link>` prints one page as Markdown.
|
|
16
|
+
- `notion personal documents get <page id or link>` prints one page as Markdown, live.
|
|
17
|
+
- `notion personal sync` copies the pages, the pages under them, the databases and their rows into WireCat's shared
|
|
18
|
+
store. With no folder chosen it copies everything the token sees. `folders add <page or database>` narrows it, and
|
|
19
|
+
`folders browse` shows what there is to choose, one level at a time.
|
|
20
|
+
- `notion personal search <words>` searches the copy offline, in Lucene syntax. `documents list|show|export|context`
|
|
21
|
+
read it, `status` says how far the sync is, and `tags`, `notes`, `memories` and `facts` keep your own notes on a
|
|
22
|
+
page. `memo search` and `search all` find the pages too.
|
|
23
|
+
- `notion personal documents create --parent <page> --file notes.md` makes a page from Markdown, `documents update
|
|
24
|
+
<page> --file page.md` replaces a page's text, `documents delete <page>` moves it to Notion's trash after asking, and
|
|
25
|
+
`documents restore <page>` brings it back. An update that would delete a child page or database needs
|
|
26
|
+
`--allow-deleting-content`; `--dry-run` shows what a write would do and sends nothing.
|
|
17
27
|
- `notion personal databases list` lists the databases the token sees; `databases show <id or link>` gives each data
|
|
18
28
|
source's id and its properties.
|
|
19
29
|
- `notion doctor`, `notion personal mcp serve` and the other commands every WireCat CLI shares.
|