@wirecat/notion-cli 0.6.0 → 0.8.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 +70 -0
- package/README.md +20 -3
- package/contracts/wirecat.json +238 -2
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/agent-FDS2ENXJ.js +42 -0
- package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-MIGUJ6UM.js} +11 -11
- package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-ZTYBZ7PI.js} +5 -5
- package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-MGXJZOJ2.js} +72 -72
- package/dist/bundle/{bun-2FLR4IV4.js → bun-NS5YLOQT.js} +2 -2
- package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-EKMD3TXK.js} +6 -6
- package/dist/bundle/{chunk-GUIQJUJV.js → chunk-2BPQNFA5.js} +6 -6
- package/dist/bundle/{chunk-RD7BKTWV.js → chunk-2Q5ATPA6.js} +4 -4
- package/dist/bundle/{chunk-DHVVXQEL.js → chunk-2T76TPDD.js} +3 -3
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-2TVHFJKV.js} +1 -1
- package/dist/bundle/{chunk-IURYZSG3.js → chunk-2XWVZDOM.js} +12 -12
- package/dist/bundle/{chunk-OEQNP56V.js → chunk-43PCMVTZ.js} +1 -1
- package/dist/bundle/{chunk-WGZH2M64.js → chunk-53UXHJEO.js} +16 -3
- package/dist/bundle/{chunk-KB35BVTG.js → chunk-5KL3PQWI.js} +2 -2
- package/dist/bundle/{chunk-A42T4YX7.js → chunk-5QCPDJLB.js} +2 -2
- package/dist/bundle/{chunk-PHKED7AG.js → chunk-64KVWK5N.js} +5 -5
- package/dist/bundle/{chunk-QGGRFRMP.js → chunk-66M7VFIM.js} +38 -38
- package/dist/bundle/{chunk-EHW45LLT.js → chunk-6BOEXO72.js} +3 -3
- package/dist/bundle/{chunk-QEJFBORC.js → chunk-6P7HUUR5.js} +3 -3
- package/dist/bundle/{chunk-P27NDZQR.js → chunk-77727OQH.js} +214 -158
- package/dist/bundle/{chunk-BEV5LO4D.js → chunk-7KNBZOLH.js} +13 -13
- package/dist/bundle/{chunk-FMMYBVCH.js → chunk-7YPZPJTB.js} +1 -1
- package/dist/bundle/{chunk-CHPWBQUK.js → chunk-A5PL2GYK.js} +1 -1
- package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-AG34MPVN.js} +1 -1
- package/dist/bundle/{chunk-STTO2MSY.js → chunk-BCO37YUH.js} +327 -6
- package/dist/bundle/{chunk-CL3YNUCC.js → chunk-COF6KS7A.js} +6 -6
- package/dist/bundle/{chunk-YDDI4QIT.js → chunk-CWTTCFDX.js} +1182 -669
- package/dist/bundle/{chunk-T37TAXVL.js → chunk-D2IVASIC.js} +2 -2
- package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-D3G375NT.js} +6 -6
- package/dist/bundle/{chunk-3MYN2RMG.js → chunk-DGZNVYKK.js} +8 -8
- package/dist/bundle/{chunk-LC6WE6JS.js → chunk-DLEAVO2T.js} +14 -7
- package/dist/bundle/{chunk-KGAUINBO.js → chunk-DW6YAEMZ.js} +10 -10
- package/dist/bundle/{chunk-WB2KSQIP.js → chunk-E4FNVLTR.js} +39 -6
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-E5EYJU5R.js} +1 -1
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-E5XATHAF.js} +21 -8
- package/dist/bundle/{chunk-3UX4VJWD.js → chunk-EXHTGQR2.js} +3 -4
- package/dist/bundle/{chunk-JFSVAOA7.js → chunk-EZAVBR47.js} +2 -2
- package/dist/bundle/{chunk-HOVHE3A3.js → chunk-F7DHR4OO.js} +7 -7
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-FGWQHNKK.js} +2 -2
- package/dist/bundle/{chunk-DGMTSDKB.js → chunk-FSWLPNJT.js} +5 -5
- package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-GFI3UUIU.js} +1 -1
- package/dist/bundle/{chunk-4RFR4J2O.js → chunk-GGNVBN2S.js} +2 -2
- package/dist/bundle/{chunk-UOC52GCB.js → chunk-GPFE4SS7.js} +4 -4
- package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-H76WEF2L.js} +6 -6
- package/dist/bundle/{chunk-LECMHK2F.js → chunk-HPS2YGSZ.js} +1 -1
- package/dist/bundle/{chunk-LQVDFD65.js → chunk-HZ5LRWKH.js} +2 -2
- package/dist/bundle/{chunk-SEAGUFBX.js → chunk-I5OAVMOI.js} +12 -12
- package/dist/bundle/{chunk-TFT4FVRU.js → chunk-I62MWK5L.js} +14 -2
- package/dist/bundle/{chunk-WAGADES3.js → chunk-IBFCD6TR.js} +17 -17
- package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-IL3UYHCR.js} +8 -8
- package/dist/bundle/{chunk-T6XIBULH.js → chunk-J4CXJJJU.js} +132 -32
- package/dist/bundle/{chunk-RXU5T5NM.js → chunk-JRZEXLRQ.js} +13 -12
- package/dist/bundle/{chunk-IJVTN5L3.js → chunk-KDPV6YBX.js} +2 -2
- package/dist/bundle/{chunk-BAXNAOOL.js → chunk-KHEISFJO.js} +3 -3
- package/dist/bundle/{chunk-GPRJXJC7.js → chunk-KI6OOW6D.js} +22 -1
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-KPBUJQKT.js} +1 -1
- package/dist/bundle/{chunk-FRB2L7OE.js → chunk-LEO5GWPD.js} +3 -3
- package/dist/bundle/{chunk-BQBC2WIG.js → chunk-LKUWH6KU.js} +1 -1
- package/dist/bundle/{chunk-AE4VW4NB.js → chunk-LYJDZILD.js} +3 -3
- package/dist/bundle/{chunk-NSR43UEW.js → chunk-M27SMKNH.js} +5 -5
- package/dist/bundle/{chunk-K5IC4FZN.js → chunk-MA6U4XH2.js} +1 -1
- package/dist/bundle/{chunk-2XUV7HNE.js → chunk-MC3LAGIW.js} +2 -2
- package/dist/bundle/{chunk-YUDVRFXN.js → chunk-MGC2BAD2.js} +1 -1
- package/dist/bundle/{chunk-KNCPBX5P.js → chunk-MLXDGBH4.js} +19 -19
- package/dist/bundle/{chunk-WAU5LSHP.js → chunk-NQA2STEE.js} +113 -13
- package/dist/bundle/{chunk-6EJCI47L.js → chunk-NSBTYJRP.js} +4 -4
- package/dist/bundle/{chunk-5XPHFV7H.js → chunk-NSQN4F7H.js} +8 -8
- package/dist/bundle/{chunk-YXYZAWWW.js → chunk-NVXMWAEV.js} +6 -6
- package/dist/bundle/{chunk-EZMG5QXB.js → chunk-OZAP4FEG.js} +8 -8
- package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OZZ5PTHG.js} +5 -5
- package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-P4ADIGTL.js} +8 -8
- package/dist/bundle/{chunk-DIU2QJJF.js → chunk-PVTW7ZOY.js} +23 -23
- package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-Q5PNS2K2.js} +3 -3
- package/dist/bundle/{chunk-ERN53B3Z.js → chunk-QQP54EEZ.js} +29 -178
- package/dist/bundle/{chunk-XYQVVW4R.js → chunk-RM4DO2WZ.js} +1 -1
- package/dist/bundle/{chunk-GCAJW4SR.js → chunk-S3SLDYTU.js} +1 -1
- package/dist/bundle/{chunk-JVESLS7B.js → chunk-S5NFSVNK.js} +63 -63
- package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-UE7ST7JC.js} +30 -30
- package/dist/bundle/{chunk-SAPP2LEH.js → chunk-ULTKZLJV.js} +7 -7
- package/dist/bundle/{chunk-G4ZU73SD.js → chunk-VJ5EF4C7.js} +76 -61
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-WBVZVP4T.js} +4 -4
- package/dist/bundle/{chunk-AZLDR36U.js → chunk-WDL3QYN2.js} +3 -3
- package/dist/bundle/{chunk-FV4WTZCU.js → chunk-WPNY2J2X.js} +16 -16
- package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-XRA2V4MM.js} +1886 -860
- package/dist/bundle/{chunk-VH7526NL.js → chunk-Y6KPZOOD.js} +3 -3
- package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-YAYVXHMO.js} +48 -48
- package/dist/bundle/{chunk-W2VQDIU5.js → chunk-YG2FFC2R.js} +9 -9
- package/dist/bundle/{chunk-HHEWTLAT.js → chunk-YOZHKJEN.js} +2 -2
- package/dist/bundle/{chunk-KZJQPJK5.js → chunk-ZKD3TL3O.js} +4 -4
- package/dist/bundle/command-contract-ZGBZCKZP.js +41 -0
- package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-ZXB7VUIG.js} +29 -29
- package/dist/bundle/{decode-I64PF2RM.js → decode-BGLAM2YP.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-A3WIRXBM.js} +8 -8
- package/dist/bundle/{echarts-YRRVLEX3.js → echarts-ISH62J4E.js} +2 -2
- package/dist/bundle/{embed-BLXLKMK2.js → embed-POZWSFKL.js} +6 -6
- package/dist/bundle/{embedder-JYGF6R7I.js → embedder-7DIUHQOQ.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-BBT3B4UY.js} +2 -2
- package/dist/bundle/{first-run-YLDOZGY6.js → first-run-SLMRAWYB.js} +12 -12
- package/dist/bundle/first-screen-CCLGBTQ2.js +41 -0
- package/dist/bundle/{instructions-AG7SRWTR.js → instructions-G5ZGHVFB.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-MQ2L5IIM.js} +2 -2
- package/dist/bundle/meeting-combined-P56K6BUT.js +25 -0
- package/dist/bundle/meeting-model-UY4ABXAZ.js +27 -0
- package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-VPMFO4FB.js} +6 -6
- package/dist/bundle/{node-GJQYN4FT.js → node-NLJINXVQ.js} +2 -2
- package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-LPV27ECD.js} +7 -7
- package/dist/bundle/notes-search-TKP34WJZ.js +64 -0
- package/dist/bundle/notion.js +13 -13
- package/dist/bundle/{oauth-N67CH2TK.js → oauth-SC4HSJ7X.js} +7 -7
- package/dist/bundle/{open-JGXVHIKO.js → open-K2JIOWCG.js} +5 -5
- package/dist/bundle/{openai-PFQJTF4H.js → openai-MCKQLBZM.js} +18 -18
- package/dist/bundle/{process-MEKCZMX3.js → process-LPVAYRO7.js} +1 -1
- package/dist/bundle/{program-DUJYLJH5.js → program-QXA6YXUO.js} +11870 -8637
- package/dist/bundle/{prompt-FW44QDHD.js → prompt-XWESMSOG.js} +5 -5
- package/dist/bundle/{recognize-62TDQ6A7.js → recognize-TDE6PPXV.js} +4 -4
- package/dist/bundle/{remote-7ONFD7GG.js → remote-OAGPQQVE.js} +11 -11
- package/dist/bundle/{rerank-YOHQQJS4.js → rerank-375AKI4E.js} +7 -7
- package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-ZE62D6CG.js} +1 -1
- package/dist/bundle/{serve-ZCXGT5RB.js → serve-YWCHKQEP.js} +9 -9
- package/dist/bundle/{server-RQ74M637.js → server-C4SH5PRK.js} +64 -64
- package/dist/bundle/server-SYGVF5BJ.js +90 -0
- package/dist/bundle/{services-FWBRZ57M.js → services-5Z2P4D2K.js} +51 -51
- package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-KLELNUHI.js} +6 -6
- package/dist/bundle/{state-GDDFO62Y.js → state-OWEBLXCG.js} +6 -6
- package/dist/bundle/{store-D2LRIWEI.js → store-F63SKKV7.js} +27 -23
- package/dist/bundle/{store-KQCLR57N.js → store-IVJXGAX7.js} +21 -21
- package/dist/bundle/store-maintenance-command-YBMOO7XH.js +77 -0
- package/dist/bundle/surface-G3ITURGS.js +76 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +3 -25
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/comments.d.ts +1 -1
- package/dist/commands/comments.d.ts.map +1 -1
- package/dist/commands/comments.js +33 -2
- package/dist/commands/comments.js.map +1 -1
- package/dist/commands/databases.d.ts.map +1 -1
- package/dist/commands/databases.js +3 -2
- package/dist/commands/databases.js.map +1 -1
- package/dist/commands/documents.d.ts +13 -2
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +291 -23
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +20 -10
- package/dist/commands/library.js.map +1 -1
- package/dist/commands/meetings.d.ts +7 -0
- package/dist/commands/meetings.d.ts.map +1 -0
- package/dist/commands/meetings.js +136 -0
- package/dist/commands/meetings.js.map +1 -0
- package/dist/commands/rows.d.ts +4 -0
- package/dist/commands/rows.d.ts.map +1 -0
- package/dist/commands/rows.js +51 -0
- package/dist/commands/rows.js.map +1 -0
- package/dist/commands/writing.d.ts +2 -1
- package/dist/commands/writing.d.ts.map +1 -1
- package/dist/commands/writing.js +2 -2
- package/dist/commands/writing.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +12 -2
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +13 -3
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +22 -7
- package/dist/context.js.map +1 -1
- package/dist/generated/wirecat-config.d.ts +13 -0
- package/dist/generated/wirecat-config.d.ts.map +1 -0
- package/dist/generated/wirecat-config.js +90 -0
- package/dist/generated/wirecat-config.js.map +1 -0
- package/dist/knowledge.d.ts +18 -1
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/library.d.ts +4 -5
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +11 -14
- package/dist/library.js.map +1 -1
- package/dist/notion/client.d.ts +2 -6
- package/dist/notion/client.d.ts.map +1 -1
- package/dist/notion/client.js +7 -8
- 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 +40 -1
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/meeting-notes.d.ts +10 -0
- package/dist/notion/meeting-notes.d.ts.map +1 -0
- package/dist/notion/meeting-notes.js +196 -0
- package/dist/notion/meeting-notes.js.map +1 -0
- package/dist/notion/notion.d.ts +46 -0
- package/dist/notion/notion.d.ts.map +1 -1
- package/dist/notion/notion.js +105 -14
- package/dist/notion/notion.js.map +1 -1
- package/dist/notion/page-target.d.ts +30 -0
- package/dist/notion/page-target.d.ts.map +1 -0
- package/dist/notion/page-target.js +73 -0
- package/dist/notion/page-target.js.map +1 -0
- package/dist/notion/port.d.ts +10 -0
- package/dist/notion/port.d.ts.map +1 -1
- package/dist/notion/port.js +21 -0
- package/dist/notion/port.js.map +1 -1
- package/dist/notion/properties.d.ts +55 -0
- package/dist/notion/properties.d.ts.map +1 -0
- package/dist/notion/properties.js +280 -0
- package/dist/notion/properties.js.map +1 -0
- package/dist/notion/reads.d.ts +19 -1
- package/dist/notion/reads.d.ts.map +1 -1
- package/dist/notion/reads.js +2 -1
- package/dist/notion/reads.js.map +1 -1
- package/dist/notion/rows.d.ts +14 -0
- package/dist/notion/rows.d.ts.map +1 -0
- package/dist/notion/rows.js +119 -0
- package/dist/notion/rows.js.map +1 -0
- package/dist/notion/writes.d.ts +99 -0
- package/dist/notion/writes.d.ts.map +1 -1
- package/dist/notion/writes.js +278 -67
- package/dist/notion/writes.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +7 -1
- package/dist/program.js.map +1 -1
- package/dist/sync/comments.d.ts +12 -0
- package/dist/sync/comments.d.ts.map +1 -0
- package/dist/sync/comments.js +47 -0
- package/dist/sync/comments.js.map +1 -0
- package/dist/sync/files.d.ts +10 -4
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js.map +1 -1
- package/dist/sync/from-config.d.ts +13 -0
- package/dist/sync/from-config.d.ts.map +1 -0
- package/dist/sync/from-config.js +33 -0
- package/dist/sync/from-config.js.map +1 -0
- package/dist/sync/source.d.ts +2 -1
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +25 -29
- package/dist/sync/source.js.map +1 -1
- package/dist/sync/users.d.ts +1 -11
- package/dist/sync/users.d.ts.map +1 -1
- package/dist/sync/users.js +0 -33
- package/dist/sync/users.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -7
- package/skills/notion-cli/SKILL.md +29 -3
- package/dist/bundle/agent-ILG6AH7S.js +0 -42
- package/dist/bundle/command-contract-L2FASWD6.js +0 -41
- package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
- package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
- package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
- package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
- package/dist/bundle/server-XMZF57WM.js +0 -90
- package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
- package/dist/bundle/surface-K4TPIQW7.js +0 -76
- package/dist/bundle/{hast-util-from-html-X2DCPS3T.js → hast-util-from-html-237ZT4C7.js} +3 -3
- package/dist/bundle/{hast-util-to-mdast-3CSMIWK2.js → hast-util-to-mdast-H5COQ6HJ.js} +6 -6
- package/dist/bundle/{mdast-util-gfm-JO7PHUIB.js → mdast-util-gfm-M3K5BNY2.js} +16 -16
- package/dist/bundle/{mdast-util-to-hast-AYJV7KAE.js → mdast-util-to-hast-TSB5MAAV.js} +1 -1
- package/dist/bundle/{mdast-util-to-markdown-DOXGHRI7.js → mdast-util-to-markdown-SG6455IT.js} +10 -10
- package/dist/bundle/{micromark-extension-gfm-PQ7DWZM7.js → micromark-extension-gfm-7SUOOQ3A.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,76 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/notion-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.8.0 — 23.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **A page's text edited in place, at the version an agent read.** `documents get` answers `sha256`, and
|
|
10
|
+
`documents check <page> --expected-fingerprint <sha256>` says whether the page changed since. `documents update
|
|
11
|
+
<page> --payload '[{"old": "Due Friday", "new": "Due Monday"}]' --expected-fingerprint <sha256>` changes only those
|
|
12
|
+
parts, with Notion's `update_content`. A whole `--text` or `--file` takes `--expected-fingerprint` too. The page is
|
|
13
|
+
read again just before the write, and the write is refused when it changed (`mirror.remote-changed`). Notion has no
|
|
14
|
+
conditional write, so an edit landing after that read is not caught. A part whose old text is not on the page once
|
|
15
|
+
is refused with nothing sent, and a part Notion still reports as not matched makes the answer incomplete. Why: an
|
|
16
|
+
agent could only rewrite a whole page, over anyone's newer edit
|
|
17
|
+
([docs/dev/DESIGN.md](docs/dev/DESIGN.md#writes)).
|
|
18
|
+
- **Every text write keeps the text it replaced.** The profile's local versions hold it, and the answer names it
|
|
19
|
+
(`replaced.sha256`, `replaced.kept_at`).
|
|
20
|
+
- **Earlier versions of every synced page, and a change log.** `documents history <page>` lists the versions the
|
|
21
|
+
syncs kept, and `--revision <n>` shows one. `changes --since 1d` lists the pages added, changed, deleted or no
|
|
22
|
+
longer visible. `keep_versions_for_days` (365 by default) sets how long they are kept. Both are local reads, so an
|
|
23
|
+
agent gets them over MCP too ([docs/dev/SYNC.md](docs/dev/SYNC.md)).
|
|
24
|
+
- **Notion AI meeting notes in WireCat's meetings.** `notion <profile> meetings sync` copies the meeting notes of the
|
|
25
|
+
meetings the token's user attended, with attendees, the AI summary, the notes and the transcript, into the shared
|
|
26
|
+
store beside Zoom calls. `meetings list`, `show`, `transcript`, `summary`, `export` and `people` read them offline,
|
|
27
|
+
and `search all` finds them. A summary Notion writes after the meeting is read at the next sync. Notion documents
|
|
28
|
+
no line format for a transcript, so its lines are kept as written, with no speaker or time. Why: the owner's
|
|
29
|
+
meetings in Notion were not with the others ([docs/dev/DESIGN.md](docs/dev/DESIGN.md#meeting-notes)).
|
|
30
|
+
- **A database row is created and changed with typed values.** `documents create --into <database>` adds a row
|
|
31
|
+
with `--title` and `--field Name=Value`. Each value is checked against the database's properties and sent as its
|
|
32
|
+
type takes it: text, number, select, status, multi-select, date or range, checkbox, link, email, phone, people and
|
|
33
|
+
relations. A person is an email address, a user id or `me`. `--from-template default`, a template's id or its name fills
|
|
34
|
+
the row from a template, and the answer says `template_pending: true`, since Notion adds the template's text after
|
|
35
|
+
it answers. `documents update <row> --field Status=Done` changes the values named and keeps the rest. `rows list
|
|
36
|
+
<database> --filter Status=Open --filter "Due<2026-12-01"` lists rows live with their values. `databases show` now
|
|
37
|
+
lists each data source's templates. Why: an agent could add a task to a Notion database only through raw `api`
|
|
38
|
+
calls, with no check of its values ([docs/dev/DESIGN.md](docs/dev/DESIGN.md#rows)).
|
|
39
|
+
- **`notion <profile> documents move` and `documents rename` file and name pages.** `move` puts a page under another
|
|
40
|
+
page (`--parent`) or into a database (`--into`). `rename` sets the title of a page or a row. `documents update
|
|
41
|
+
--emoji` and `--cover` set the icon and the cover, or take them away with `none`. Why: moving a page needed a raw
|
|
42
|
+
`api` call ([docs/dev/DESIGN.md](docs/dev/DESIGN.md#moving-and-renaming)).
|
|
43
|
+
- **Comments are in the local copy and in search, and the connection's own comments can be fixed.** The sync reads a
|
|
44
|
+
page's open comments with its text and adds them to the page's searchable text, never to its Markdown. A page
|
|
45
|
+
synced before this version is read once more to add them. A connection without the "Read comments" capability
|
|
46
|
+
gets one warning and the rest of the sync goes on. `comments edit` and `comments delete` change or delete a comment
|
|
47
|
+
this connection posted. Notion keeps no deleted comment, so `comments delete` asks first, as `documents delete`
|
|
48
|
+
does, and both answer the comment's earlier text in `previous_text`
|
|
49
|
+
([docs/dev/SYNC.md](docs/dev/SYNC.md#comments)).
|
|
50
|
+
|
|
51
|
+
### Changed — may break callers
|
|
52
|
+
|
|
53
|
+
- **Uses `@wirecat/cli-core` 0.724.0 and `@wirecat/cli-base` 0.130.0**, whose vocabulary has the words of the shared
|
|
54
|
+
`changes` command and the `summary` and `people` views of the shared meetings commands.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- **A page answered with 404 is no longer visible, not deleted.** Notion gives a 404 for a deleted page and for one
|
|
59
|
+
no longer shared with the connection. Such a page leaves lists and search, keeps its text in the local copy, and
|
|
60
|
+
comes back as it was when Notion shows it again. Only a page in Notion's trash counts as deleted.
|
|
61
|
+
- cli-core 0.720.0 (was 0.718.0), cli-base 0.126.1 (was 0.125.0).
|
|
62
|
+
|
|
63
|
+
## 0.7.0 — 21.11.2026
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
|
|
67
|
+
- **`wirecat.config.ts` describes the sync's source.** The config names the account, every Notion call the sync
|
|
68
|
+
sends, the API version and both paces. cli-core reads the calls through the same request path as `notion api`.
|
|
69
|
+
Before, these were code over Notion's SDK. A page synced before authors were saved is now read again by cli-core's
|
|
70
|
+
engine, at most 50 a sync, not through a marked version. The same pages are read, with the same limits. One error
|
|
71
|
+
changed: a token whose answer names no workspace now fails with cli-core's `source.no-account`, not
|
|
72
|
+
`notion.no-workspace`. Why: attio and linear already build their sources from a config, and a new documents CLI can
|
|
73
|
+
now do the same ([docs/dev/SYNC.md](docs/dev/SYNC.md#where-the-requests-come-from)).
|
|
74
|
+
|
|
5
75
|
## 0.6.0 — 19.11.2026
|
|
6
76
|
|
|
7
77
|
### Added
|
package/README.md
CHANGED
|
@@ -18,10 +18,19 @@ their properties, and later keeps a folder of Markdown files in step with a Noti
|
|
|
18
18
|
- a [personal access token](https://developers.notion.com/guides/connections-and-tokens/personal-access-tokens),
|
|
19
19
|
which acts with your own rights;
|
|
20
20
|
- or an internal connection's token, which sees only the pages shared with that connection.
|
|
21
|
-
- `notion personal documents get <page id or link>` prints one page as Markdown, live.
|
|
21
|
+
- `notion personal documents get <page id or link>` prints one page as Markdown, live, with its sha256.
|
|
22
|
+
`documents update <page> --payload '[{"old": "Due Friday", "new": "Due Monday"}]' --expected-fingerprint <sha256>`
|
|
23
|
+
changes only those words, and is refused when the page changed since it was read. Every text write keeps the text
|
|
24
|
+
it replaced in your local versions.
|
|
22
25
|
- `notion personal sync` copies the pages, the pages under them, the databases and their rows into WireCat's shared
|
|
23
26
|
store. With no folder chosen it copies everything the token sees. `folders add <page or database>` narrows it, and
|
|
24
27
|
`folders browse` shows what there is to choose, one level at a time.
|
|
28
|
+
- `notion personal documents history <page>` shows the earlier versions of a synced page, a deleted one too, and
|
|
29
|
+
`notion personal changes --since 1d` what changed in your Notion since yesterday. A page that is no longer shared
|
|
30
|
+
with the token is marked no longer visible, never deleted.
|
|
31
|
+
- `notion personal meetings sync` copies your Notion AI meeting notes, with attendees, summary and transcript, into
|
|
32
|
+
WireCat's meetings, beside Zoom calls. `meetings list`, `meetings transcript <id>` and `search all` read them
|
|
33
|
+
offline.
|
|
25
34
|
- `notion personal search <words>` searches the copy offline, in Lucene syntax. `documents list|show|export|context`
|
|
26
35
|
read it, `status` says how far the sync is, and `tags`, `notes`, `memories` and `facts` keep your own notes on a
|
|
27
36
|
page. `memo search` and `search all` find the pages too.
|
|
@@ -31,9 +40,17 @@ their properties, and later keeps a folder of Markdown files in step with a Noti
|
|
|
31
40
|
`--allow-deleting-content`; `--dry-run` shows what a write would do and sends nothing.
|
|
32
41
|
- `notion personal comments list <page>` shows a page's open comments (Notion's API gives no resolved ones), `comments
|
|
33
42
|
create <page> --text …` starts a discussion and `comments reply <discussion> --text …` answers in one.
|
|
34
|
-
`
|
|
43
|
+
`comments edit` and `comments delete` change or delete a comment this connection posted. The sync keeps a page's
|
|
44
|
+
open comments in the copy, so search finds them. `files upload <file> --parent <page>` adds a file to the end of a
|
|
45
|
+
page.
|
|
46
|
+
- `notion personal documents move <page> --parent <page>` files a page under another page or, with `--into`, into a
|
|
47
|
+
database. `documents rename <page> <title>` gives it a new title, and `documents update --emoji` and `--cover` set
|
|
48
|
+
its icon and cover.
|
|
35
49
|
- `notion personal databases list` lists the databases the token sees; `databases show <id or link>` gives each data
|
|
36
|
-
source's id and its
|
|
50
|
+
source's id, its properties and its templates.
|
|
51
|
+
- `notion personal documents create --into <database> --title "Write the plan" --field Status=Open --field Owner=me`
|
|
52
|
+
adds a row, each value checked against the database's properties. `documents update <row> --field Status=Done`
|
|
53
|
+
changes values, and `rows list <database> --filter Status=Open` lists rows live.
|
|
37
54
|
- `notion doctor`, `notion personal mcp serve` and the other commands every WireCat CLI shares.
|
|
38
55
|
|
|
39
56
|
The token's variable is `WCNOTION_TOKEN`, not `NOTION_TOKEN`: Notion's own MCP server reads that one, and a token
|
package/contracts/wirecat.json
CHANGED
|
@@ -193,6 +193,18 @@
|
|
|
193
193
|
},
|
|
194
194
|
"permission": "documents.export"
|
|
195
195
|
},
|
|
196
|
+
{
|
|
197
|
+
"path": [
|
|
198
|
+
"documents",
|
|
199
|
+
"history"
|
|
200
|
+
],
|
|
201
|
+
"summary": "list the versions of a document kept in the local copy, or show one with…",
|
|
202
|
+
"effects": {
|
|
203
|
+
"remote": "none",
|
|
204
|
+
"local": "read"
|
|
205
|
+
},
|
|
206
|
+
"permission": "documents.history"
|
|
207
|
+
},
|
|
196
208
|
{
|
|
197
209
|
"path": [
|
|
198
210
|
"documents",
|
|
@@ -218,12 +230,24 @@
|
|
|
218
230
|
"permission": "documents.get",
|
|
219
231
|
"entity": "document_markdown"
|
|
220
232
|
},
|
|
233
|
+
{
|
|
234
|
+
"path": [
|
|
235
|
+
"documents",
|
|
236
|
+
"check"
|
|
237
|
+
],
|
|
238
|
+
"summary": "say whether a Notion page changed since it was read",
|
|
239
|
+
"effects": {
|
|
240
|
+
"remote": "read",
|
|
241
|
+
"local": "read"
|
|
242
|
+
},
|
|
243
|
+
"permission": "documents.check"
|
|
244
|
+
},
|
|
221
245
|
{
|
|
222
246
|
"path": [
|
|
223
247
|
"documents",
|
|
224
248
|
"create"
|
|
225
249
|
],
|
|
226
|
-
"summary": "create a Notion page under another page",
|
|
250
|
+
"summary": "create a Notion page under another page, or a row in a database",
|
|
227
251
|
"effects": {
|
|
228
252
|
"remote": "write",
|
|
229
253
|
"local": "write"
|
|
@@ -235,7 +259,7 @@
|
|
|
235
259
|
"documents",
|
|
236
260
|
"update"
|
|
237
261
|
],
|
|
238
|
-
"summary": "
|
|
262
|
+
"summary": "change a Notion page's text in place or whole, a row's values, its icon or cover",
|
|
239
263
|
"effects": {
|
|
240
264
|
"remote": "write",
|
|
241
265
|
"local": "write"
|
|
@@ -266,6 +290,30 @@
|
|
|
266
290
|
},
|
|
267
291
|
"permission": "documents.restore"
|
|
268
292
|
},
|
|
293
|
+
{
|
|
294
|
+
"path": [
|
|
295
|
+
"documents",
|
|
296
|
+
"move"
|
|
297
|
+
],
|
|
298
|
+
"summary": "move a Notion page under another page or into a database",
|
|
299
|
+
"effects": {
|
|
300
|
+
"remote": "write",
|
|
301
|
+
"local": "write"
|
|
302
|
+
},
|
|
303
|
+
"permission": "documents.move"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"path": [
|
|
307
|
+
"documents",
|
|
308
|
+
"rename"
|
|
309
|
+
],
|
|
310
|
+
"summary": "rename a Notion page or database row",
|
|
311
|
+
"effects": {
|
|
312
|
+
"remote": "write",
|
|
313
|
+
"local": "write"
|
|
314
|
+
},
|
|
315
|
+
"permission": "documents.rename"
|
|
316
|
+
},
|
|
269
317
|
{
|
|
270
318
|
"path": [
|
|
271
319
|
"documents",
|
|
@@ -278,6 +326,17 @@
|
|
|
278
326
|
},
|
|
279
327
|
"permission": "documents.add"
|
|
280
328
|
},
|
|
329
|
+
{
|
|
330
|
+
"path": [
|
|
331
|
+
"changes"
|
|
332
|
+
],
|
|
333
|
+
"summary": "list the documents the sync added, changed, removed or brought back, newest…",
|
|
334
|
+
"effects": {
|
|
335
|
+
"remote": "none",
|
|
336
|
+
"local": "read"
|
|
337
|
+
},
|
|
338
|
+
"permission": "changes"
|
|
339
|
+
},
|
|
281
340
|
{
|
|
282
341
|
"path": [
|
|
283
342
|
"search"
|
|
@@ -702,6 +761,123 @@
|
|
|
702
761
|
},
|
|
703
762
|
"permission": "identities.link"
|
|
704
763
|
},
|
|
764
|
+
{
|
|
765
|
+
"path": [
|
|
766
|
+
"meetings",
|
|
767
|
+
"list"
|
|
768
|
+
],
|
|
769
|
+
"summary": "meetings, newest first: the service's and the stored ones, kept in the store",
|
|
770
|
+
"effects": {
|
|
771
|
+
"remote": "read",
|
|
772
|
+
"local": "read"
|
|
773
|
+
},
|
|
774
|
+
"permission": "meetings.list",
|
|
775
|
+
"entity": "meeting"
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"path": [
|
|
779
|
+
"meetings",
|
|
780
|
+
"show"
|
|
781
|
+
],
|
|
782
|
+
"summary": "show a meeting, read again from the service with its people, transcript and…",
|
|
783
|
+
"effects": {
|
|
784
|
+
"remote": "read",
|
|
785
|
+
"local": "read"
|
|
786
|
+
},
|
|
787
|
+
"permission": "meetings.show",
|
|
788
|
+
"entity": "meeting_details"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"path": [
|
|
792
|
+
"meetings",
|
|
793
|
+
"transcript"
|
|
794
|
+
],
|
|
795
|
+
"summary": "show current meeting transcripts",
|
|
796
|
+
"effects": {
|
|
797
|
+
"remote": "none",
|
|
798
|
+
"local": "read"
|
|
799
|
+
},
|
|
800
|
+
"permission": "meetings.transcript",
|
|
801
|
+
"entity": "meeting_transcript"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"path": [
|
|
805
|
+
"meetings",
|
|
806
|
+
"summary"
|
|
807
|
+
],
|
|
808
|
+
"summary": "show stored meeting summaries",
|
|
809
|
+
"effects": {
|
|
810
|
+
"remote": "none",
|
|
811
|
+
"local": "read"
|
|
812
|
+
},
|
|
813
|
+
"permission": "meetings.summary",
|
|
814
|
+
"entity": "meeting_summary"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"path": [
|
|
818
|
+
"meetings",
|
|
819
|
+
"export"
|
|
820
|
+
],
|
|
821
|
+
"summary": "export a meeting as Markdown or one transcript as WebVTT",
|
|
822
|
+
"effects": {
|
|
823
|
+
"remote": "none",
|
|
824
|
+
"local": "write"
|
|
825
|
+
},
|
|
826
|
+
"permission": "meetings.export",
|
|
827
|
+
"entity": "meeting_export"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"path": [
|
|
831
|
+
"meetings",
|
|
832
|
+
"people"
|
|
833
|
+
],
|
|
834
|
+
"summary": "find meeting participants by name or email",
|
|
835
|
+
"effects": {
|
|
836
|
+
"remote": "none",
|
|
837
|
+
"local": "read"
|
|
838
|
+
},
|
|
839
|
+
"permission": "meetings.people",
|
|
840
|
+
"entity": "meeting_participants"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"path": [
|
|
844
|
+
"meetings",
|
|
845
|
+
"sync"
|
|
846
|
+
],
|
|
847
|
+
"summary": "bring the stored meetings up to date from the connected account, oldest…",
|
|
848
|
+
"effects": {
|
|
849
|
+
"remote": "read",
|
|
850
|
+
"local": "write"
|
|
851
|
+
},
|
|
852
|
+
"permission": "meetings.sync",
|
|
853
|
+
"entity": "meeting_ingestion"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"path": [
|
|
857
|
+
"meetings",
|
|
858
|
+
"repair"
|
|
859
|
+
],
|
|
860
|
+
"summary": "preview filling in what older builds left out of stored transcripts (their…",
|
|
861
|
+
"effects": {
|
|
862
|
+
"remote": "none",
|
|
863
|
+
"local": "write"
|
|
864
|
+
},
|
|
865
|
+
"permission": "meetings.repair",
|
|
866
|
+
"entity": "meeting_repair"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"path": [
|
|
870
|
+
"events",
|
|
871
|
+
"list"
|
|
872
|
+
],
|
|
873
|
+
"summary": "list stored events",
|
|
874
|
+
"effects": {
|
|
875
|
+
"remote": "none",
|
|
876
|
+
"local": "read"
|
|
877
|
+
},
|
|
878
|
+
"permission": "events.list",
|
|
879
|
+
"entity": "event"
|
|
880
|
+
},
|
|
705
881
|
{
|
|
706
882
|
"path": [
|
|
707
883
|
"databases",
|
|
@@ -728,6 +904,19 @@
|
|
|
728
904
|
"permission": "databases.show",
|
|
729
905
|
"entity": "database"
|
|
730
906
|
},
|
|
907
|
+
{
|
|
908
|
+
"path": [
|
|
909
|
+
"rows",
|
|
910
|
+
"list"
|
|
911
|
+
],
|
|
912
|
+
"summary": "list a Notion database's rows live, filtered by their values",
|
|
913
|
+
"effects": {
|
|
914
|
+
"remote": "read",
|
|
915
|
+
"local": "read"
|
|
916
|
+
},
|
|
917
|
+
"permission": "rows.list",
|
|
918
|
+
"entity": "notion_row"
|
|
919
|
+
},
|
|
731
920
|
{
|
|
732
921
|
"path": [
|
|
733
922
|
"comments",
|
|
@@ -765,6 +954,30 @@
|
|
|
765
954
|
},
|
|
766
955
|
"permission": "comments.reply"
|
|
767
956
|
},
|
|
957
|
+
{
|
|
958
|
+
"path": [
|
|
959
|
+
"comments",
|
|
960
|
+
"edit"
|
|
961
|
+
],
|
|
962
|
+
"summary": "change a comment this connection posted",
|
|
963
|
+
"effects": {
|
|
964
|
+
"remote": "write",
|
|
965
|
+
"local": "write"
|
|
966
|
+
},
|
|
967
|
+
"permission": "comments.edit"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"path": [
|
|
971
|
+
"comments",
|
|
972
|
+
"delete"
|
|
973
|
+
],
|
|
974
|
+
"summary": "delete a comment this connection posted",
|
|
975
|
+
"effects": {
|
|
976
|
+
"remote": "write",
|
|
977
|
+
"local": "write"
|
|
978
|
+
},
|
|
979
|
+
"permission": "comments.delete"
|
|
980
|
+
},
|
|
768
981
|
{
|
|
769
982
|
"path": [
|
|
770
983
|
"files",
|
|
@@ -1870,6 +2083,29 @@
|
|
|
1870
2083
|
"role"
|
|
1871
2084
|
]
|
|
1872
2085
|
},
|
|
2086
|
+
"meeting": {
|
|
2087
|
+
"fields": [
|
|
2088
|
+
"id",
|
|
2089
|
+
"provider_id",
|
|
2090
|
+
"title",
|
|
2091
|
+
"started_at",
|
|
2092
|
+
"ended_at",
|
|
2093
|
+
"duration_ms",
|
|
2094
|
+
"participants_count",
|
|
2095
|
+
"created_at",
|
|
2096
|
+
"updated_at"
|
|
2097
|
+
]
|
|
2098
|
+
},
|
|
2099
|
+
"event": {
|
|
2100
|
+
"fields": [
|
|
2101
|
+
"id",
|
|
2102
|
+
"origin",
|
|
2103
|
+
"starts_at",
|
|
2104
|
+
"ends_at",
|
|
2105
|
+
"created_at",
|
|
2106
|
+
"updated_at"
|
|
2107
|
+
]
|
|
2108
|
+
},
|
|
1873
2109
|
"database": {
|
|
1874
2110
|
"fields": [
|
|
1875
2111
|
"title"
|
package/dist/bin/notion.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.8.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/agent-
|
|
31
|
+
const chunks = ["../bundle/agent-FDS2ENXJ.js","../bundle/all-profiles-MIGUJ6UM.js","../bundle/anthropic-ZTYBZ7PI.js","../bundle/app-server-MGXJZOJ2.js","../bundle/bun-NS5YLOQT.js","../bundle/bun-sqlite-EKMD3TXK.js","../bundle/decode-BGLAM2YP.js","../bundle/definitions-MB65223J.js","../bundle/dispatch-A3WIRXBM.js","../bundle/dist-ILNOLGYN.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-ISH62J4E.js","../bundle/embed-POZWSFKL.js","../bundle/embedder-7DIUHQOQ.js","../bundle/failure-BBT3B4UY.js","../bundle/first-screen-CCLGBTQ2.js","../bundle/instructions-G5ZGHVFB.js","../bundle/mcp-MQ2L5IIM.js","../bundle/meeting-combined-P56K6BUT.js","../bundle/meeting-model-UY4ABXAZ.js","../bundle/meeting-semantic-VPMFO4FB.js","../bundle/node-KM3CUABH.js","../bundle/node-NLJINXVQ.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-LPV27ECD.js","../bundle/oauth-SC4HSJ7X.js","../bundle/open-K2JIOWCG.js","../bundle/openai-MCKQLBZM.js","../bundle/process-LPVAYRO7.js","../bundle/program-QXA6YXUO.js","../bundle/prompt-XWESMSOG.js","../bundle/recognize-TDE6PPXV.js","../bundle/remote-OAGPQQVE.js","../bundle/rerank-375AKI4E.js","../bundle/schemas-ZE62D6CG.js","../bundle/serve-YWCHKQEP.js","../bundle/server-C4SH5PRK.js","../bundle/server-SYGVF5BJ.js","../bundle/services-5Z2P4D2K.js","../bundle/sqlite-runtime-KLELNUHI.js","../bundle/state-OWEBLXCG.js","../bundle/store-F63SKKV7.js","../bundle/store-IVJXGAX7.js","../bundle/store-maintenance-command-YBMOO7XH.js","../bundle/surface-G3ITURGS.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-J4CXJJJU.js";
|
|
7
|
+
import "./chunk-LYJDZILD.js";
|
|
8
|
+
import "./chunk-EZAVBR47.js";
|
|
9
|
+
import "./chunk-2BPQNFA5.js";
|
|
10
|
+
import "./chunk-PL5P7UKW.js";
|
|
11
|
+
import "./chunk-JRZEXLRQ.js";
|
|
12
|
+
import "./chunk-77727OQH.js";
|
|
13
|
+
import "./chunk-P4ADIGTL.js";
|
|
14
|
+
import "./chunk-6P7HUUR5.js";
|
|
15
|
+
import "./chunk-5KL3PQWI.js";
|
|
16
|
+
import "./chunk-DGZNVYKK.js";
|
|
17
|
+
import "./chunk-FSWLPNJT.js";
|
|
18
|
+
import "./chunk-MGC2BAD2.js";
|
|
19
|
+
import "./chunk-2T76TPDD.js";
|
|
20
|
+
import "./chunk-Y6KPZOOD.js";
|
|
21
|
+
import "./chunk-PVTW7ZOY.js";
|
|
22
|
+
import "./chunk-LKUWH6KU.js";
|
|
23
|
+
import "./chunk-7KNBZOLH.js";
|
|
24
|
+
import "./chunk-HZ5LRWKH.js";
|
|
25
|
+
import "./chunk-D2IVASIC.js";
|
|
26
|
+
import "./chunk-S5NFSVNK.js";
|
|
27
|
+
import "./chunk-LEO5GWPD.js";
|
|
28
|
+
import "./chunk-F7DHR4OO.js";
|
|
29
|
+
import "./chunk-2Q5ATPA6.js";
|
|
30
|
+
import "./chunk-E5EYJU5R.js";
|
|
31
|
+
import "./chunk-H76WEF2L.js";
|
|
32
|
+
import "./chunk-YOZHKJEN.js";
|
|
33
|
+
import "./chunk-MLXDGBH4.js";
|
|
34
|
+
import "./chunk-E5XATHAF.js";
|
|
35
|
+
import "./chunk-S4UUN6LD.js";
|
|
36
|
+
import "./chunk-Y5E2WNWB.js";
|
|
37
|
+
import "./chunk-FGWQHNKK.js";
|
|
38
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
39
|
+
export {
|
|
40
|
+
runCommandForAgent,
|
|
41
|
+
toolsFromCommands
|
|
42
|
+
};
|
|
@@ -4,35 +4,35 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-43PCMVTZ.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EZAVBR47.js";
|
|
13
13
|
import {
|
|
14
14
|
InMemoryTransport,
|
|
15
15
|
McpServer
|
|
16
16
|
} from "./chunk-PL5P7UKW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-P4ADIGTL.js";
|
|
18
|
+
import "./chunk-LKUWH6KU.js";
|
|
19
|
+
import "./chunk-HZ5LRWKH.js";
|
|
20
|
+
import "./chunk-E5EYJU5R.js";
|
|
21
|
+
import "./chunk-MLXDGBH4.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
mcpErrorResult
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-E5XATHAF.js";
|
|
26
26
|
import "./chunk-S4UUN6LD.js";
|
|
27
27
|
import "./chunk-Y5E2WNWB.js";
|
|
28
28
|
import {
|
|
29
29
|
CliError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FGWQHNKK.js";
|
|
31
31
|
import {
|
|
32
32
|
__name
|
|
33
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
36
36
|
import { spawn } from "node:child_process";
|
|
37
37
|
import { randomUUID } from "node:crypto";
|
|
38
38
|
var PROTOCOL = "2025-06-18";
|
|
@@ -291,7 +291,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
291
291
|
}, "serveAllProfilesOverStdio");
|
|
292
292
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
293
293
|
const { build, close } = allProfilesServer(options);
|
|
294
|
-
const { serveOverHttp } = await import("./serve-
|
|
294
|
+
const { serveOverHttp } = await import("./serve-YWCHKQEP.js");
|
|
295
295
|
const listening = await serveOverHttp(build, {
|
|
296
296
|
...http,
|
|
297
297
|
appName: options.command,
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
checkedOptions,
|
|
9
9
|
messagesFor,
|
|
10
10
|
systemFor
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-KHEISFJO.js";
|
|
12
|
+
import "./chunk-MLXDGBH4.js";
|
|
13
|
+
import "./chunk-E5XATHAF.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
literal,
|
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
unknown
|
|
23
23
|
} from "./chunk-S4UUN6LD.js";
|
|
24
24
|
import "./chunk-Y5E2WNWB.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-FGWQHNKK.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
31
31
|
var options = strictObject({
|
|
32
32
|
stop_sequences: optional(array(string())),
|
|
33
33
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|