@wirecat/notion-cli 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/README.md +5 -0
- package/contracts/wirecat.json +55 -2
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/agent-ILG6AH7S.js +42 -0
- package/dist/bundle/{all-profiles-V37KCXH3.js → all-profiles-AELHUTFU.js} +64 -21
- package/dist/bundle/{anthropic-Q4S3BYXD.js → anthropic-3CCYAGO3.js} +6 -6
- package/dist/bundle/{app-server-43SR3ACI.js → app-server-DJ6P4NY4.js} +86 -65
- package/dist/bundle/{bun-M3J2QTR3.js → bun-2FLR4IV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-EJ3W2PSV.js → bun-sqlite-QB6CU6TH.js} +7 -7
- package/dist/bundle/chunk-2CMLY2X3.js +72 -0
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-2XUV7HNE.js} +2 -2
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-2Z7UOXFC.js} +1 -1
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-3LMW7U7F.js} +16 -10
- package/dist/bundle/chunk-3MYN2RMG.js +398 -0
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-3UX4VJWD.js} +1 -1
- package/dist/bundle/chunk-4HP6KGBI.js +32 -0
- package/dist/bundle/{chunk-KHWOLBHQ.js → chunk-4RFR4J2O.js} +2 -2
- package/dist/bundle/{chunk-G2MJYXZG.js → chunk-4VXXOJ2F.js} +4 -4
- package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
- package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
- package/dist/bundle/{chunk-ECC2UX7X.js → chunk-5OJLUUOJ.js} +6 -6
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-5XPHFV7H.js} +35 -12
- package/dist/bundle/{chunk-O5YB7FQD.js → chunk-6EJCI47L.js} +4 -4
- package/dist/bundle/chunk-6VPC5Z56.js +2145 -0
- package/dist/bundle/{chunk-NA6QLHBZ.js → chunk-6YOMPW7Y.js} +10 -8
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/chunk-7L2XOKDZ.js +353 -0
- package/dist/bundle/{chunk-NE43YXKL.js → chunk-A42T4YX7.js} +3 -3
- package/dist/bundle/chunk-AE4VW4NB.js +50 -0
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-QWYMXFKM.js → chunk-AZLDR36U.js} +3 -3
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-BAXNAOOL.js} +4 -4
- package/dist/bundle/{chunk-JCKWQGCD.js → chunk-BEV5LO4D.js} +110 -862
- package/dist/bundle/{chunk-UZSBGECU.js → chunk-BQBC2WIG.js} +1 -65
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/chunk-CHPWBQUK.js +39 -0
- package/dist/bundle/chunk-CL3YNUCC.js +388 -0
- package/dist/bundle/{chunk-ONZVPE24.js → chunk-DGMTSDKB.js} +6 -6
- package/dist/bundle/{chunk-BWLBSQSU.js → chunk-DHVVXQEL.js} +4 -4
- package/dist/bundle/chunk-DIU2QJJF.js +785 -0
- package/dist/bundle/chunk-DQSOYH6N.js +20 -0
- package/dist/bundle/chunk-ECYOTDJM.js +14 -0
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-EHW45LLT.js} +3 -3
- package/dist/bundle/{chunk-WPP76PSX.js → chunk-ERN53B3Z.js} +32 -24
- package/dist/bundle/{chunk-XUPN2EHR.js → chunk-ESZHGC4Q.js} +23 -7
- package/dist/bundle/{chunk-3RL2MIUF.js → chunk-EZMG5QXB.js} +8 -8
- package/dist/bundle/chunk-F4BX7TH2.js +15 -0
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-F5ZAN7OC.js} +1 -1
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-FMMYBVCH.js} +1 -1
- package/dist/bundle/{chunk-E2AFUJDR.js → chunk-FRB2L7OE.js} +3 -3
- package/dist/bundle/chunk-FV4WTZCU.js +561 -0
- package/dist/bundle/{chunk-TD2JZ25O.js → chunk-G4ZU73SD.js} +98 -80
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-GCAJW4SR.js} +1 -1
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-GPRJXJC7.js} +15 -1
- package/dist/bundle/chunk-GUIQJUJV.js +340 -0
- package/dist/bundle/{chunk-GTY6N5KZ.js → chunk-HHEWTLAT.js} +2 -2
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-H3E2PZ5Y.js → chunk-HOVHE3A3.js} +7 -7
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-IJVTN5L3.js} +2 -2
- package/dist/bundle/{chunk-FBZI4Z3Z.js → chunk-IURYZSG3.js} +13 -26
- package/dist/bundle/chunk-JFSVAOA7.js +108 -0
- package/dist/bundle/{chunk-HHVFIXDO.js → chunk-JVESLS7B.js} +399 -399
- package/dist/bundle/chunk-K5IC4FZN.js +36 -0
- package/dist/bundle/chunk-KB35BVTG.js +30 -0
- package/dist/bundle/chunk-KGAUINBO.js +594 -0
- package/dist/bundle/{chunk-W5JZMXGW.js → chunk-KNCPBX5P.js} +75 -75
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-KZJQPJK5.js} +4 -4
- package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
- package/dist/bundle/{chunk-QYXWRKNA.js → chunk-LC6WE6JS.js} +9 -9
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-LECMHK2F.js} +1 -1
- package/dist/bundle/chunk-LQVDFD65.js +72 -0
- package/dist/bundle/chunk-MEYYH47C.js +25 -0
- package/dist/bundle/chunk-NMQRSEZM.js +37 -0
- package/dist/bundle/{chunk-NTG657MI.js → chunk-NSR43UEW.js} +7 -64
- package/dist/bundle/{chunk-CDK5E45T.js → chunk-OEQNP56V.js} +2 -100
- package/dist/bundle/{chunk-MGUEZYFA.js → chunk-OLAGFJDM.js} +13 -2143
- package/dist/bundle/{chunk-PWRRDDMZ.js → chunk-P27NDZQR.js} +232 -552
- package/dist/bundle/{chunk-PAW6RRCW.js → chunk-PHKED7AG.js} +8 -210
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-RIGE67FR.js → chunk-Q7EIL6VU.js} +43 -33
- package/dist/bundle/{chunk-AT5I34AN.js → chunk-QEJFBORC.js} +3 -3
- package/dist/bundle/{chunk-RJMQGG3P.js → chunk-QGGRFRMP.js} +65 -49
- package/dist/bundle/{chunk-BNEE35WD.js → chunk-RD7BKTWV.js} +4 -4
- package/dist/bundle/chunk-RXU5T5NM.js +714 -0
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/{chunk-2FJNMADN.js → chunk-SAPP2LEH.js} +10 -10
- package/dist/bundle/{chunk-QIG55MZH.js → chunk-SEAGUFBX.js} +12 -12
- package/dist/bundle/{chunk-GCZ6MAEN.js → chunk-STTO2MSY.js} +43 -64
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-T37TAXVL.js} +2 -2
- package/dist/bundle/{chunk-KHZ2RGXI.js → chunk-T6XIBULH.js} +139 -572
- package/dist/bundle/chunk-TFT4FVRU.js +67 -0
- package/dist/bundle/chunk-TRYYWV7J.js +291 -0
- package/dist/bundle/{chunk-KFVDL2QS.js → chunk-UC7JLE6J.js} +1 -89
- package/dist/bundle/{chunk-LBYGJKXW.js → chunk-UOC52GCB.js} +4 -4
- package/dist/bundle/chunk-UPL474OW.js +94 -0
- package/dist/bundle/chunk-VH7526NL.js +80 -0
- package/dist/bundle/chunk-VNWF4I7E.js +34 -0
- package/dist/bundle/chunk-W2VQDIU5.js +221 -0
- package/dist/bundle/{chunk-TDNURSU6.js → chunk-WAGADES3.js} +19 -19
- package/dist/bundle/{chunk-J3NKZ6MO.js → chunk-WAU5LSHP.js} +79 -438
- package/dist/bundle/{chunk-B3FSLAIU.js → chunk-WB2KSQIP.js} +4 -4
- package/dist/bundle/{chunk-DO7BLXO3.js → chunk-WGZH2M64.js} +3 -3
- package/dist/bundle/chunk-WVN2KTNS.js +52 -0
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-XYQVVW4R.js} +1 -1
- package/dist/bundle/{chunk-BBSFQ3PU.js → chunk-YDDI4QIT.js} +1473 -1292
- package/dist/bundle/chunk-YHWFF6DN.js +39 -0
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-YUDVRFXN.js} +1 -1
- package/dist/bundle/{chunk-MNRMKWCN.js → chunk-YXYZAWWW.js} +6 -6
- package/dist/bundle/{chunk-5P5TXU2K.js → chunk-YYQ5GKAI.js} +9509 -10782
- package/dist/bundle/chunk-ZDYEOE7L.js +2366 -0
- package/dist/bundle/command-contract-L2FASWD6.js +41 -0
- package/dist/bundle/{command-server-entry-LJ627ZUA.js → command-server-entry-VUR6WL77.js} +30 -27
- package/dist/bundle/{decode-PX2LZ5Y2.js → decode-I64PF2RM.js} +6 -6
- package/dist/bundle/{definitions-M3U4UYHN.js → definitions-MB65223J.js} +72 -18
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-JQBAZWCL.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-YRRVLEX3.js} +2 -2
- package/dist/bundle/{embed-CCSDK43I.js → embed-BLXLKMK2.js} +7 -7
- package/dist/bundle/{embedder-VHI4DHB7.js → embedder-JYGF6R7I.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-I6AAF5R5.js} +3 -3
- package/dist/bundle/first-run-YLDOZGY6.js +29 -0
- package/dist/bundle/first-screen-GZH3LMLZ.js +41 -0
- package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
- package/dist/bundle/hast-util-to-html-IIFHILP5.js +998 -0
- package/dist/bundle/hast-util-to-mdast-3CSMIWK2.js +2272 -0
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-AG7SRWTR.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/{mdast-util-from-markdown-R66F4HZA.js → mdast-util-from-markdown-XCR5KW5S.js} +138 -195
- package/dist/bundle/{mdast-util-gfm-LN2ELINH.js → mdast-util-gfm-JO7PHUIB.js} +28 -357
- package/dist/bundle/mdast-util-to-hast-AYJV7KAE.js +879 -0
- package/dist/bundle/mdast-util-to-markdown-DOXGHRI7.js +1854 -0
- package/dist/bundle/meeting-combined-OFQSGKBG.js +25 -0
- package/dist/bundle/meeting-model-K6NSX3O5.js +27 -0
- package/dist/bundle/{meeting-semantic-UD26T37N.js → meeting-semantic-3DZPHM7L.js} +7 -7
- package/dist/bundle/{micromark-extension-gfm-5X7YT43T.js → micromark-extension-gfm-PQ7DWZM7.js} +12 -78
- package/dist/bundle/{node-CXZIFHZC.js → node-GJQYN4FT.js} +2 -2
- package/dist/bundle/{node-sqlite-ME7KMORI.js → node-sqlite-7VXIRQPH.js} +8 -8
- package/dist/bundle/notes-search-ACDOPTNH.js +64 -0
- package/dist/bundle/notion.js +14 -14
- package/dist/bundle/oauth-N67CH2TK.js +20 -0
- package/dist/bundle/{open-HA6D3SXR.js → open-JGXVHIKO.js} +6 -6
- package/dist/bundle/{openai-H5AJPZBX.js → openai-PFQJTF4H.js} +21 -18
- package/dist/bundle/{process-5RUXWGYS.js → process-MEKCZMX3.js} +1 -1
- package/dist/bundle/{program-F3NBTZ7J.js → program-DUJYLJH5.js} +6373 -6588
- package/dist/bundle/{prompt-6XSUOLHK.js → prompt-FW44QDHD.js} +6 -6
- package/dist/bundle/{recognize-2Y7AUVGG.js → recognize-62TDQ6A7.js} +5 -5
- package/dist/bundle/{remote-KCABPXQ3.js → remote-7ONFD7GG.js} +12 -11
- package/dist/bundle/{rerank-BTN7LUVA.js → rerank-YOHQQJS4.js} +8 -8
- package/dist/bundle/{schemas-VVLTLMXS.js → schemas-IIGJ7DOP.js} +39 -60
- package/dist/bundle/{serve-CYEMVRFC.js → serve-ZCXGT5RB.js} +11 -11
- package/dist/bundle/{server-WFIICGMI.js → server-RQ74M637.js} +78 -56
- package/dist/bundle/server-XMZF57WM.js +90 -0
- package/dist/bundle/{services-L4W6ZWDG.js → services-FWBRZ57M.js} +103 -88
- package/dist/bundle/{sqlite-runtime-IKMYLRQC.js → sqlite-runtime-ZZBNGV5L.js} +7 -7
- package/dist/bundle/{state-LMUP636P.js → state-GDDFO62Y.js} +7 -7
- package/dist/bundle/{store-W2JC2JP4.js → store-D2LRIWEI.js} +24 -20
- package/dist/bundle/{store-A2QZFBOX.js → store-KQCLR57N.js} +30 -18
- package/dist/bundle/store-maintenance-command-CK2MU5M6.js +77 -0
- package/dist/bundle/surface-K4TPIQW7.js +76 -0
- package/dist/commands/account.d.ts +3 -0
- package/dist/commands/account.d.ts.map +1 -0
- package/dist/commands/account.js +22 -0
- package/dist/commands/account.js.map +1 -0
- package/dist/commands/api.d.ts +7 -2
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +19 -119
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +8 -2
- package/dist/commands/library.js.map +1 -1
- package/dist/config.d.ts +11 -13
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +63 -54
- package/dist/config.js.map +1 -1
- package/dist/generated/definitions.d.ts.map +1 -1
- package/dist/generated/definitions.js +72 -18
- package/dist/generated/definitions.js.map +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +49 -0
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +32 -32
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/types.d.ts +125 -25
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/library.d.ts +8 -0
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +24 -1
- package/dist/library.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/sync/files.d.ts +12 -0
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js.map +1 -1
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +53 -37
- package/dist/sync/source.js.map +1 -1
- package/dist/sync/users.d.ts +15 -2
- package/dist/sync/users.d.ts.map +1 -1
- package/dist/sync/users.js +36 -1
- package/dist/sync/users.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/dist/bundle/chunk-6EOZTUHT.js +0 -726
- package/dist/bundle/command-contract-TVRFW2IX.js +0 -38
- package/dist/bundle/first-run-7JKE5AHN.js +0 -29
- package/dist/bundle/first-screen-ZROHOEYJ.js +0 -38
- package/dist/bundle/meeting-combined-SSTOJUIJ.js +0 -24
- package/dist/bundle/meeting-model-K7TPS4S5.js +0 -26
- package/dist/bundle/oauth-XBTROXHB.js +0 -20
- package/dist/bundle/server-UC2FNNXX.js +0 -72
- package/dist/bundle/store-maintenance-command-LRGQJPSZ.js +0 -63
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/notion-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.6.0 — 19.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`notion <profile> account remove` signs a profile out and forgets it on this computer.** It forgets the Notion
|
|
10
|
+
token, the profile's settings, its chosen pages and its sync checkpoint. `--keep-data` leaves the copied pages in the
|
|
11
|
+
store, where search still finds them; `--delete-data` deletes them. It asks first, or takes `--yes`; `--dry-run` lists
|
|
12
|
+
what it would remove. Why: WireCat Desktop removes an account with this command, and notion could only sign out with
|
|
13
|
+
`session end`. The token itself stays valid at Notion: revoke it on Notion's integrations page.
|
|
14
|
+
|
|
15
|
+
### Changed — may break callers
|
|
16
|
+
|
|
17
|
+
- **The MCP Registry entry asks which profiles to serve.** It started `mcp serve --profiles all`, so a client that
|
|
18
|
+
installed the server from the registry reached every account on the computer without the owner choosing. Now
|
|
19
|
+
`--profiles` is a required argument with the example `personal`: the client asks for one profile, a
|
|
20
|
+
comma-separated list or `all`. Why: a CLI never picks an account for the owner
|
|
21
|
+
([WC-MCP-9](https://github.com/WireCatLabs/cli-base/blob/main/docs/standards/mcp.md#wc-mcp-9--a-server-serves-the-profiles-it-is-told-with-one-connection-for-each)). Watch for: a client set up from the old entry keeps `--profiles all` until it is set up again; a
|
|
22
|
+
server added by hand or with `mcp config` does not change.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- **Pages synced before 0.5.0 get their authors and last editors as people without a rescan.** A plain `sync` now
|
|
27
|
+
reads such pages again, 50 a run, and links them to the people who wrote and last edited them. It also does this
|
|
28
|
+
for pages read before the connection could read email addresses, once a sync has seen that it can. It reads no
|
|
29
|
+
other page again. Before, a page got its people only once someone edited it.
|
|
30
|
+
- **A first sync reads each Notion page once instead of three times.** The walk asked Notion for each page's kind,
|
|
31
|
+
and every page read asked again for its parent page. notion now keeps what one run has already seen, also from the
|
|
32
|
+
walk and the plan an earlier run saved. A page with 60 pages under it took 182 page requests and now takes 61, which
|
|
33
|
+
counts under Notion's limit of about three requests a second.
|
|
34
|
+
- **`api` is cli-core's shared group, as in attio, linear and hubspot.** The commands, their names and their keys stay
|
|
35
|
+
the same: each write asks or refuses by `api.<operation>`, and a call that deletes, by its method or its body, also
|
|
36
|
+
by `documents.delete`. Which calls delete now comes from the generated manifest, plus four body rules notion keeps
|
|
37
|
+
itself. A fix to the group in cli-core now reaches notion with a version bump.
|
|
38
|
+
- cli-core 0.707.0 (was 0.687.0), cli-base 0.124.0 (was 0.109.0).
|
|
39
|
+
|
|
5
40
|
## 0.5.0 — 17.11.2026
|
|
6
41
|
|
|
7
42
|
### Fixed
|
package/README.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
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
|
+
[Docs](https://wirecat.dev/en/docs/notion) ·
|
|
7
|
+
[Install](https://github.com/WireCatLabs/notion-cli/blob/main/docs/installation.md) ·
|
|
8
|
+
[Usage](https://github.com/WireCatLabs/notion-cli/blob/main/docs/usage.md) ·
|
|
9
|
+
[Discord](https://discord.gg/DebENqbRrJ)
|
|
10
|
+
|
|
6
11
|
**Status: in development.** It signs in, reads live from Notion, and keeps a copy of your pages on your computer,
|
|
7
12
|
searchable offline with the rest of WireCat, and creates, changes and deletes pages. Next it searches database rows by
|
|
8
13
|
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).
|
package/contracts/wirecat.json
CHANGED
|
@@ -71,6 +71,19 @@
|
|
|
71
71
|
"local": "read"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"path": [
|
|
76
|
+
"account",
|
|
77
|
+
"remove"
|
|
78
|
+
],
|
|
79
|
+
"summary": "sign this profile out and forget it, keeping or deleting its data",
|
|
80
|
+
"effects": {
|
|
81
|
+
"remote": "none",
|
|
82
|
+
"local": "write"
|
|
83
|
+
},
|
|
84
|
+
"permission": "account.remove",
|
|
85
|
+
"entity": "account_removal"
|
|
86
|
+
},
|
|
74
87
|
{
|
|
75
88
|
"path": [
|
|
76
89
|
"folders",
|
|
@@ -1785,7 +1798,9 @@
|
|
|
1785
1798
|
"entities": {
|
|
1786
1799
|
"selected_folder": {
|
|
1787
1800
|
"fields": [
|
|
1788
|
-
"id"
|
|
1801
|
+
"id",
|
|
1802
|
+
"name",
|
|
1803
|
+
"path"
|
|
1789
1804
|
]
|
|
1790
1805
|
},
|
|
1791
1806
|
"document": {
|
|
@@ -2056,6 +2071,44 @@
|
|
|
2056
2071
|
"app": "notion-cli",
|
|
2057
2072
|
"env": "WCNOTION"
|
|
2058
2073
|
},
|
|
2059
|
-
"settings": null
|
|
2074
|
+
"settings": null,
|
|
2075
|
+
"accountRemove": {
|
|
2076
|
+
"signOut": [
|
|
2077
|
+
"{profile}",
|
|
2078
|
+
"session",
|
|
2079
|
+
"end",
|
|
2080
|
+
"--record",
|
|
2081
|
+
"--json"
|
|
2082
|
+
],
|
|
2083
|
+
"remove": {
|
|
2084
|
+
"minVersion": "0.0.0",
|
|
2085
|
+
"keepData": [
|
|
2086
|
+
"{profile}",
|
|
2087
|
+
"account",
|
|
2088
|
+
"remove",
|
|
2089
|
+
"--keep-data",
|
|
2090
|
+
"--record",
|
|
2091
|
+
"--json"
|
|
2092
|
+
],
|
|
2093
|
+
"deleteData": [
|
|
2094
|
+
"{profile}",
|
|
2095
|
+
"account",
|
|
2096
|
+
"remove",
|
|
2097
|
+
"--delete-data",
|
|
2098
|
+
"--record",
|
|
2099
|
+
"--json"
|
|
2100
|
+
],
|
|
2101
|
+
"dryRun": "--dry-run",
|
|
2102
|
+
"confirm": "--yes"
|
|
2103
|
+
},
|
|
2104
|
+
"removes": [
|
|
2105
|
+
"signIn"
|
|
2106
|
+
],
|
|
2107
|
+
"keeps": [
|
|
2108
|
+
"settings",
|
|
2109
|
+
"data",
|
|
2110
|
+
"listed"
|
|
2111
|
+
]
|
|
2112
|
+
}
|
|
2060
2113
|
}
|
|
2061
2114
|
}
|
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.6.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/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/agent-ILG6AH7S.js","../bundle/all-profiles-AELHUTFU.js","../bundle/anthropic-3CCYAGO3.js","../bundle/app-server-DJ6P4NY4.js","../bundle/bun-2FLR4IV4.js","../bundle/bun-sqlite-QB6CU6TH.js","../bundle/decode-I64PF2RM.js","../bundle/definitions-MB65223J.js","../bundle/dispatch-JQBAZWCL.js","../bundle/dist-ILNOLGYN.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-YRRVLEX3.js","../bundle/embed-BLXLKMK2.js","../bundle/embedder-JYGF6R7I.js","../bundle/failure-I6AAF5R5.js","../bundle/first-screen-GZH3LMLZ.js","../bundle/instructions-AG7SRWTR.js","../bundle/mcp-YGOAUNC3.js","../bundle/meeting-combined-OFQSGKBG.js","../bundle/meeting-model-K6NSX3O5.js","../bundle/meeting-semantic-3DZPHM7L.js","../bundle/node-GJQYN4FT.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7VXIRQPH.js","../bundle/oauth-N67CH2TK.js","../bundle/open-JGXVHIKO.js","../bundle/openai-PFQJTF4H.js","../bundle/process-MEKCZMX3.js","../bundle/program-DUJYLJH5.js","../bundle/prompt-FW44QDHD.js","../bundle/recognize-62TDQ6A7.js","../bundle/remote-7ONFD7GG.js","../bundle/rerank-YOHQQJS4.js","../bundle/schemas-IIGJ7DOP.js","../bundle/serve-ZCXGT5RB.js","../bundle/server-RQ74M637.js","../bundle/server-XMZF57WM.js","../bundle/services-FWBRZ57M.js","../bundle/sqlite-runtime-ZZBNGV5L.js","../bundle/state-GDDFO62Y.js","../bundle/store-D2LRIWEI.js","../bundle/store-KQCLR57N.js","../bundle/store-maintenance-command-CK2MU5M6.js","../bundle/surface-K4TPIQW7.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-T6XIBULH.js";
|
|
7
|
+
import "./chunk-AE4VW4NB.js";
|
|
8
|
+
import "./chunk-JFSVAOA7.js";
|
|
9
|
+
import "./chunk-GUIQJUJV.js";
|
|
10
|
+
import "./chunk-PL5P7UKW.js";
|
|
11
|
+
import "./chunk-RXU5T5NM.js";
|
|
12
|
+
import "./chunk-P27NDZQR.js";
|
|
13
|
+
import "./chunk-6YOMPW7Y.js";
|
|
14
|
+
import "./chunk-QEJFBORC.js";
|
|
15
|
+
import "./chunk-KB35BVTG.js";
|
|
16
|
+
import "./chunk-3MYN2RMG.js";
|
|
17
|
+
import "./chunk-DGMTSDKB.js";
|
|
18
|
+
import "./chunk-YUDVRFXN.js";
|
|
19
|
+
import "./chunk-DHVVXQEL.js";
|
|
20
|
+
import "./chunk-VH7526NL.js";
|
|
21
|
+
import "./chunk-DIU2QJJF.js";
|
|
22
|
+
import "./chunk-BQBC2WIG.js";
|
|
23
|
+
import "./chunk-BEV5LO4D.js";
|
|
24
|
+
import "./chunk-LQVDFD65.js";
|
|
25
|
+
import "./chunk-T37TAXVL.js";
|
|
26
|
+
import "./chunk-JVESLS7B.js";
|
|
27
|
+
import "./chunk-FRB2L7OE.js";
|
|
28
|
+
import "./chunk-HOVHE3A3.js";
|
|
29
|
+
import "./chunk-RD7BKTWV.js";
|
|
30
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
31
|
+
import "./chunk-ESZHGC4Q.js";
|
|
32
|
+
import "./chunk-HHEWTLAT.js";
|
|
33
|
+
import "./chunk-KNCPBX5P.js";
|
|
34
|
+
import "./chunk-3LMW7U7F.js";
|
|
35
|
+
import "./chunk-S4UUN6LD.js";
|
|
36
|
+
import "./chunk-Y5E2WNWB.js";
|
|
37
|
+
import "./chunk-HM6AMYHR.js";
|
|
38
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
39
|
+
export {
|
|
40
|
+
runCommandForAgent,
|
|
41
|
+
toolsFromCommands
|
|
42
|
+
};
|
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
CALLER_META_KEY,
|
|
5
|
-
PROXY_CLIENT_NAME,
|
|
6
4
|
StdioServerTransport,
|
|
7
5
|
answeredWire,
|
|
8
|
-
callerOf,
|
|
9
6
|
serveStdio
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OEQNP56V.js";
|
|
8
|
+
import {
|
|
9
|
+
CALLER_META_KEY,
|
|
10
|
+
PROXY_CLIENT_NAME,
|
|
11
|
+
callerOf
|
|
12
|
+
} from "./chunk-JFSVAOA7.js";
|
|
11
13
|
import {
|
|
14
|
+
InMemoryTransport,
|
|
12
15
|
McpServer
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-PL5P7UKW.js";
|
|
17
|
+
import "./chunk-6YOMPW7Y.js";
|
|
18
|
+
import "./chunk-BQBC2WIG.js";
|
|
19
|
+
import "./chunk-LQVDFD65.js";
|
|
20
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
21
|
+
import "./chunk-KNCPBX5P.js";
|
|
18
22
|
import {
|
|
19
23
|
errorObjectOf,
|
|
20
24
|
mcpErrorResult
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-3LMW7U7F.js";
|
|
26
|
+
import "./chunk-S4UUN6LD.js";
|
|
23
27
|
import "./chunk-Y5E2WNWB.js";
|
|
24
28
|
import {
|
|
25
29
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HM6AMYHR.js";
|
|
27
31
|
import {
|
|
28
32
|
__name
|
|
29
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
34
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
32
36
|
import { spawn } from "node:child_process";
|
|
33
37
|
import { randomUUID } from "node:crypto";
|
|
34
38
|
var PROTOCOL = "2025-06-18";
|
|
@@ -169,13 +173,16 @@ var withProfile = /* @__PURE__ */ __name((tool, profiles, name, signedIn = () =>
|
|
|
169
173
|
inputSchema: {
|
|
170
174
|
...tool.inputSchema,
|
|
171
175
|
properties: {
|
|
172
|
-
profile:
|
|
176
|
+
profile: profiles.length === 0 ? (
|
|
177
|
+
// An empty enum matches nothing, and a directory that checks the schema refuses the tool.
|
|
178
|
+
{
|
|
179
|
+
type: "string",
|
|
180
|
+
description: `Which ${name} account, by its profile. None is set up on this computer yet.`
|
|
181
|
+
}
|
|
182
|
+
) : {
|
|
173
183
|
type: "string",
|
|
174
184
|
enum: [...profiles],
|
|
175
|
-
oneOf: profiles.map((
|
|
176
|
-
const: profile,
|
|
177
|
-
title: signedIn(profile) ? profile : `${profile} \u2014 not signed in`
|
|
178
|
-
})),
|
|
185
|
+
oneOf: profiles.map((one) => ({ const: one, title: signedIn(one) ? one : `${one} \u2014 not signed in` })),
|
|
179
186
|
description: `Which ${name} account, by its profile. If the owner did not name one, ask which \u2014 never guess.${states}`
|
|
180
187
|
},
|
|
181
188
|
...schema.properties
|
|
@@ -198,9 +205,14 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
198
205
|
const signedIn = /* @__PURE__ */ __name((profile) => options.signedIn?.(profile) ?? true, "signedIn");
|
|
199
206
|
const build = /* @__PURE__ */ __name(() => {
|
|
200
207
|
const profiles = [...options.profiles()].sort();
|
|
201
|
-
const server = new McpServer({ name: options.command, version: options.version }, {
|
|
208
|
+
const server = new McpServer({ name: options.command, version: options.version }, {
|
|
209
|
+
capabilities: { tools: {} },
|
|
210
|
+
// Read per session, as the profiles are: clients cut the instructions short, so this line comes first.
|
|
211
|
+
instructions: profiles.length === 0 && options.setup ? `${options.setup.charAt(0).toUpperCase()}${options.setup.slice(1)}.
|
|
212
|
+
${options.instructions}` : options.instructions
|
|
213
|
+
});
|
|
202
214
|
server.server.setRequestHandler("tools/list", async () => ({
|
|
203
|
-
tools: profiles.length === 0 ? [] :
|
|
215
|
+
tools: (profiles.length === 0 ? await options.catalogue?.() ?? [] : await tools(profiles)).map((one) => withProfile(one, profiles, options.name, signedIn))
|
|
204
216
|
}));
|
|
205
217
|
const callers = {
|
|
206
218
|
env: options.env ?? process.env,
|
|
@@ -210,6 +222,8 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
210
222
|
server.server.setRequestHandler("tools/call", async (request, ctx) => {
|
|
211
223
|
const { name, arguments: given = {}, _meta } = request.params;
|
|
212
224
|
const { profile, ...rest } = given;
|
|
225
|
+
if (profiles.length === 0)
|
|
226
|
+
return refusal("configuration_error", options.setup ?? `no ${options.command} profile on this computer yet.`);
|
|
213
227
|
if (typeof profile !== "string" || !profiles.includes(profile))
|
|
214
228
|
return refusal("validation_error", `${name} needs "profile", one of: ${profiles.join(", ")}. If the owner did not say which account, ask.`);
|
|
215
229
|
if (!signedIn(profile))
|
|
@@ -231,6 +245,34 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
231
245
|
}, "build");
|
|
232
246
|
return { build, close: /* @__PURE__ */ __name(() => children.close(), "close") };
|
|
233
247
|
}, "allProfilesServer");
|
|
248
|
+
var listedTools = /* @__PURE__ */ __name(async (server) => {
|
|
249
|
+
const [own, other] = InMemoryTransport.createLinkedPair();
|
|
250
|
+
const answers = /* @__PURE__ */ new Map();
|
|
251
|
+
other.onmessage = (message) => {
|
|
252
|
+
const { id, result, error } = message;
|
|
253
|
+
if (typeof id === "number")
|
|
254
|
+
answers.get(id)?.(result, error);
|
|
255
|
+
};
|
|
256
|
+
const ask = /* @__PURE__ */ __name((id, method, params) => new Promise((resolve, reject) => {
|
|
257
|
+
answers.set(id, (result, error) => error || !result ? reject(new Error(error?.message ?? `${method} had no answer`)) : resolve(result));
|
|
258
|
+
void other.send({ jsonrpc: "2.0", id, method, params });
|
|
259
|
+
}), "ask");
|
|
260
|
+
await server.connect(own);
|
|
261
|
+
try {
|
|
262
|
+
await ask(1, "initialize", {
|
|
263
|
+
protocolVersion: PROTOCOL,
|
|
264
|
+
capabilities: {},
|
|
265
|
+
clientInfo: { name: PROXY_CLIENT_NAME, version: "1" }
|
|
266
|
+
});
|
|
267
|
+
await other.send({ jsonrpc: "2.0", method: "notifications/initialized" });
|
|
268
|
+
const answer = await ask(2, "tools/list", {});
|
|
269
|
+
if (!Array.isArray(answer.tools))
|
|
270
|
+
throw new Error("the catalogue server listed no tools");
|
|
271
|
+
return answer.tools;
|
|
272
|
+
} finally {
|
|
273
|
+
await server.close();
|
|
274
|
+
}
|
|
275
|
+
}, "listedTools");
|
|
234
276
|
var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {}) => {
|
|
235
277
|
const { build, close } = allProfilesServer(options);
|
|
236
278
|
const own = io.stdin !== void 0 && io.stdin !== process.stdin;
|
|
@@ -249,7 +291,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
249
291
|
}, "serveAllProfilesOverStdio");
|
|
250
292
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
251
293
|
const { build, close } = allProfilesServer(options);
|
|
252
|
-
const { serveOverHttp } = await import("./serve-
|
|
294
|
+
const { serveOverHttp } = await import("./serve-ZCXGT5RB.js");
|
|
253
295
|
const listening = await serveOverHttp(build, {
|
|
254
296
|
...http,
|
|
255
297
|
appName: options.command,
|
|
@@ -272,6 +314,7 @@ var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
|
272
314
|
export {
|
|
273
315
|
CHILD_IDLE_MS,
|
|
274
316
|
allProfilesServer,
|
|
317
|
+
listedTools,
|
|
275
318
|
serveAllProfilesOverHttp,
|
|
276
319
|
serveAllProfilesOverStdio,
|
|
277
320
|
withProfile
|
|
@@ -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-BAXNAOOL.js";
|
|
12
|
+
import "./chunk-KNCPBX5P.js";
|
|
13
|
+
import "./chunk-3LMW7U7F.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
literal,
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
strictObject,
|
|
21
21
|
string,
|
|
22
22
|
unknown
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S4UUN6LD.js";
|
|
24
24
|
import "./chunk-Y5E2WNWB.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-HM6AMYHR.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.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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"]) })),
|
|
@@ -3,50 +3,52 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QGGRFRMP.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-Q7EIL6VU.js";
|
|
10
|
+
import "./chunk-LECMHK2F.js";
|
|
11
|
+
import {
|
|
12
|
+
skillResources
|
|
13
|
+
} from "./chunk-CL3YNUCC.js";
|
|
14
|
+
import {
|
|
15
|
+
appInstructions
|
|
16
|
+
} from "./chunk-GCAJW4SR.js";
|
|
11
17
|
import {
|
|
12
18
|
answered,
|
|
13
19
|
failed,
|
|
14
|
-
registerCommands
|
|
15
|
-
|
|
16
|
-
toolsFromCommands
|
|
17
|
-
} from "./chunk-KHZ2RGXI.js";
|
|
20
|
+
registerCommands
|
|
21
|
+
} from "./chunk-FV4WTZCU.js";
|
|
18
22
|
import {
|
|
19
|
-
agentJson
|
|
20
|
-
|
|
21
|
-
} from "./chunk-J3NKZ6MO.js";
|
|
23
|
+
agentJson
|
|
24
|
+
} from "./chunk-WAU5LSHP.js";
|
|
22
25
|
import {
|
|
23
26
|
StdioServerTransport,
|
|
24
27
|
answeredWire,
|
|
25
28
|
serveStdio
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-OEQNP56V.js";
|
|
30
|
+
import "./chunk-ERN53B3Z.js";
|
|
31
|
+
import "./chunk-7L2XOKDZ.js";
|
|
32
|
+
import "./chunk-TFT4FVRU.js";
|
|
33
|
+
import "./chunk-IJVTN5L3.js";
|
|
34
|
+
import "./chunk-6EJCI47L.js";
|
|
30
35
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
runCommandForAgent,
|
|
37
|
+
toolsFromCommands
|
|
38
|
+
} from "./chunk-T6XIBULH.js";
|
|
39
|
+
import "./chunk-AE4VW4NB.js";
|
|
40
|
+
import "./chunk-JFSVAOA7.js";
|
|
41
|
+
import "./chunk-GUIQJUJV.js";
|
|
33
42
|
import {
|
|
34
43
|
McpServer
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-PAW6RRCW.js";
|
|
44
|
-
import "./chunk-QWYMXFKM.js";
|
|
45
|
-
import {
|
|
46
|
-
mcpHttpMarker
|
|
47
|
-
} from "./chunk-LBYGJKXW.js";
|
|
48
|
-
import "./chunk-DO7BLXO3.js";
|
|
49
|
-
import "./chunk-O5YB7FQD.js";
|
|
44
|
+
} from "./chunk-PL5P7UKW.js";
|
|
45
|
+
import "./chunk-YYQ5GKAI.js";
|
|
46
|
+
import "./chunk-IURYZSG3.js";
|
|
47
|
+
import "./chunk-CHPWBQUK.js";
|
|
48
|
+
import "./chunk-GPRJXJC7.js";
|
|
49
|
+
import "./chunk-4VXXOJ2F.js";
|
|
50
|
+
import "./chunk-CFQQTDSA.js";
|
|
51
|
+
import "./chunk-RXU5T5NM.js";
|
|
50
52
|
import {
|
|
51
53
|
DEFAULT_OUTPUT_BYTES,
|
|
52
54
|
changesAuthorityAt,
|
|
@@ -54,51 +56,70 @@ import {
|
|
|
54
56
|
environmentOf,
|
|
55
57
|
fetchesOnlyAt,
|
|
56
58
|
judgedTargets,
|
|
57
|
-
readOnlyLockOf,
|
|
58
59
|
readsOverMcpAt,
|
|
59
60
|
rootOf2 as rootOf
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-P27NDZQR.js";
|
|
62
|
+
import "./chunk-6YOMPW7Y.js";
|
|
63
|
+
import "./chunk-QEJFBORC.js";
|
|
64
|
+
import "./chunk-ZDYEOE7L.js";
|
|
65
|
+
import "./chunk-K5IC4FZN.js";
|
|
66
|
+
import "./chunk-KB35BVTG.js";
|
|
67
|
+
import {
|
|
68
|
+
readOnlyLockOf
|
|
69
|
+
} from "./chunk-3MYN2RMG.js";
|
|
70
|
+
import "./chunk-BAXNAOOL.js";
|
|
71
|
+
import "./chunk-5OJLUUOJ.js";
|
|
72
|
+
import "./chunk-W2VQDIU5.js";
|
|
73
|
+
import "./chunk-PHKED7AG.js";
|
|
74
|
+
import "./chunk-DGMTSDKB.js";
|
|
75
|
+
import "./chunk-AZLDR36U.js";
|
|
76
|
+
import {
|
|
77
|
+
mcpHttpMarker
|
|
78
|
+
} from "./chunk-UOC52GCB.js";
|
|
79
|
+
import "./chunk-WGZH2M64.js";
|
|
80
|
+
import "./chunk-YUDVRFXN.js";
|
|
81
|
+
import "./chunk-WAGADES3.js";
|
|
82
|
+
import "./chunk-DHVVXQEL.js";
|
|
83
|
+
import "./chunk-YDDI4QIT.js";
|
|
84
|
+
import "./chunk-VH7526NL.js";
|
|
85
|
+
import "./chunk-DIU2QJJF.js";
|
|
86
|
+
import "./chunk-BQBC2WIG.js";
|
|
87
|
+
import "./chunk-KGAUINBO.js";
|
|
88
|
+
import "./chunk-5XPHFV7H.js";
|
|
89
|
+
import "./chunk-BEV5LO4D.js";
|
|
90
|
+
import "./chunk-LQVDFD65.js";
|
|
91
|
+
import "./chunk-LC6WE6JS.js";
|
|
92
|
+
import "./chunk-2Z7UOXFC.js";
|
|
93
|
+
import "./chunk-T37TAXVL.js";
|
|
94
|
+
import "./chunk-JVESLS7B.js";
|
|
95
|
+
import "./chunk-NSR43UEW.js";
|
|
96
|
+
import "./chunk-2CMLY2X3.js";
|
|
97
|
+
import "./chunk-FRB2L7OE.js";
|
|
98
|
+
import "./chunk-HOVHE3A3.js";
|
|
99
|
+
import "./chunk-STTO2MSY.js";
|
|
100
|
+
import "./chunk-RD7BKTWV.js";
|
|
101
|
+
import "./chunk-HVXOA4FO.js";
|
|
102
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
103
|
+
import "./chunk-ESZHGC4Q.js";
|
|
83
104
|
import "./chunk-D72URWJE.js";
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-HHEWTLAT.js";
|
|
106
|
+
import "./chunk-YXYZAWWW.js";
|
|
107
|
+
import "./chunk-FMMYBVCH.js";
|
|
108
|
+
import "./chunk-KNCPBX5P.js";
|
|
88
109
|
import {
|
|
89
110
|
mcpErrorResult
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
111
|
+
} from "./chunk-3LMW7U7F.js";
|
|
112
|
+
import "./chunk-S4UUN6LD.js";
|
|
92
113
|
import "./chunk-Y5E2WNWB.js";
|
|
93
114
|
import {
|
|
94
115
|
CliError
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import "./chunk-
|
|
116
|
+
} from "./chunk-HM6AMYHR.js";
|
|
117
|
+
import "./chunk-F5ZAN7OC.js";
|
|
97
118
|
import {
|
|
98
119
|
__name
|
|
99
120
|
} from "./chunk-ZVVMGPBJ.js";
|
|
100
121
|
|
|
101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
102
123
|
var EXCLUDED = [["mcp"]];
|
|
103
124
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
104
125
|
let at = root;
|
|
@@ -214,7 +235,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
214
235
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
215
236
|
const { app } = options;
|
|
216
237
|
const { build } = createAppServer(command, context, options);
|
|
217
|
-
const { serveOverHttp } = await import("./serve-
|
|
238
|
+
const { serveOverHttp } = await import("./serve-ZCXGT5RB.js");
|
|
218
239
|
const listening = await serveOverHttp(build, {
|
|
219
240
|
...http,
|
|
220
241
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F5ZAN7OC.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2XUV7HNE.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-HHEWTLAT.js";
|
|
10
|
+
import "./chunk-KNCPBX5P.js";
|
|
11
|
+
import "./chunk-3LMW7U7F.js";
|
|
12
|
+
import "./chunk-S4UUN6LD.js";
|
|
13
13
|
import {
|
|
14
14
|
importFrom
|
|
15
15
|
} from "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HM6AMYHR.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
22
22
|
var customised = false;
|
|
23
23
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
24
24
|
try {
|