@wirecat/notion-cli 0.1.0 → 0.2.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 +40 -0
- package/README.md +10 -4
- package/contracts/wirecat.json +650 -1
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-OETMCOLN.js → all-profiles-JGYLQZ5C.js} +9 -9
- package/dist/bundle/{anthropic-5Y3O2TYM.js → anthropic-S2VSMIKQ.js} +5 -5
- package/dist/bundle/{app-server-IVWBIVHC.js → app-server-SASYDBCA.js} +55 -46
- package/dist/bundle/{bun-EO636SAD.js → bun-LU5LP3JI.js} +2 -2
- package/dist/bundle/{bun-sqlite-C2T7QJ2M.js → bun-sqlite-JBSINB4O.js} +6 -6
- package/dist/bundle/{chunk-DIM5YWBU.js → chunk-22QQUKWA.js} +1 -1
- package/dist/bundle/{chunk-B4B65XIO.js → chunk-2F4QQ7WB.js} +3 -3
- package/dist/bundle/{chunk-2YR3RYT4.js → chunk-2F6VO5HA.js} +3 -3
- package/dist/bundle/chunk-2LWO3PDX.js +726 -0
- package/dist/bundle/{chunk-RSIS7BR7.js → chunk-3AL7QUS3.js} +20 -20
- package/dist/bundle/{chunk-RDZ7SVBZ.js → chunk-3Z4YTSRY.js} +3 -3
- package/dist/bundle/{chunk-QBC23NHD.js → chunk-4HWJOU7N.js} +1 -1
- package/dist/bundle/{chunk-WM7663C2.js → chunk-4IPURN72.js} +8 -8
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
- package/dist/bundle/{chunk-IQWEJEB5.js → chunk-5IYKVRH2.js} +26157 -21070
- package/dist/bundle/{chunk-7FII4DCE.js → chunk-5NFK5EM2.js} +7 -7
- package/dist/bundle/{chunk-K5TWMQSY.js → chunk-5QIQEUOG.js} +8 -8
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
- package/dist/bundle/{chunk-ST2UC7FS.js → chunk-5RSC54NA.js} +30 -26
- package/dist/bundle/{chunk-7N5QB6NL.js → chunk-6EVKHZKN.js} +5 -3
- package/dist/bundle/{chunk-EU5WCOMQ.js → chunk-6RA3EABS.js} +45 -34
- package/dist/bundle/{chunk-JKIN5TOU.js → chunk-AOCUKEAX.js} +4 -4
- package/dist/bundle/{chunk-OWJDC4CB.js → chunk-B26TQZKZ.js} +12 -12
- package/dist/bundle/{chunk-WK3OSDNV.js → chunk-B7ON6KPT.js} +7 -7
- package/dist/bundle/{chunk-RLSFOR2D.js → chunk-BNPTZ5ZB.js} +4 -4
- package/dist/bundle/{chunk-WVZFXI36.js → chunk-D7QSEEYW.js} +4 -4
- package/dist/bundle/{chunk-JK44XO2S.js → chunk-DH5PRHT4.js} +56 -56
- package/dist/bundle/chunk-EUIVXFLJ.js +259 -0
- package/dist/bundle/{chunk-64D5VUZ4.js → chunk-FPY6EJ7B.js} +67 -63
- package/dist/bundle/{chunk-EGTBL3MJ.js → chunk-FT3LN3HP.js} +1 -1
- package/dist/bundle/{chunk-NLDYZBTC.js → chunk-FWVBPRL4.js} +1129 -2555
- package/dist/bundle/{chunk-UWIA2G6Q.js → chunk-FXEJY4OL.js} +329 -528
- package/dist/bundle/{chunk-R6ZM45NF.js → chunk-G3EZFRSS.js} +88 -30
- package/dist/bundle/{chunk-B2XKEEFX.js → chunk-GZOUFX3C.js} +4 -4
- package/dist/bundle/{chunk-WWMB4UHF.js → chunk-HL52XXZX.js} +1 -1
- package/dist/bundle/{chunk-4GC5DBHW.js → chunk-KCLOUUYF.js} +3 -3
- package/dist/bundle/chunk-KFVDL2QS.js +146 -0
- package/dist/bundle/{chunk-35K5T6WV.js → chunk-KGERXYTV.js} +1 -1
- package/dist/bundle/{chunk-BWICUW7W.js → chunk-KM6WHPHI.js} +2 -2
- package/dist/bundle/{chunk-AE2KQ37N.js → chunk-LAYPFBOM.js} +6 -6
- package/dist/bundle/chunk-LLG2POQ7.js +170 -0
- package/dist/bundle/{chunk-B2WFKFYL.js → chunk-M3KB25D3.js} +20 -116
- package/dist/bundle/{chunk-RAZKIHGH.js → chunk-M7S2NDWB.js} +3 -3
- package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
- package/dist/bundle/chunk-MY742GAD.js +1977 -0
- package/dist/bundle/chunk-MZU2YFBZ.js +823 -0
- package/dist/bundle/{chunk-AQZO3ITW.js → chunk-NOQ7B5N7.js} +2 -2
- package/dist/bundle/{chunk-QC3KOJT4.js → chunk-NQWV4WQO.js} +6 -6
- package/dist/bundle/{chunk-FF4DDBCB.js → chunk-ODBZNSZ6.js} +6 -6
- package/dist/bundle/{chunk-TR7R5DL4.js → chunk-OTV53F34.js} +9 -9
- package/dist/bundle/{chunk-KHOVVPLC.js → chunk-P7CUM5IB.js} +1 -1
- package/dist/bundle/{chunk-CWVAYQXI.js → chunk-RV64YUQX.js} +8 -8
- package/dist/bundle/{chunk-TSCIIXN3.js → chunk-SHJQ6JKG.js} +2 -2
- package/dist/bundle/{chunk-24FAYAML.js → chunk-SWAOWNKW.js} +3 -3
- package/dist/bundle/chunk-SZOVLP44.js +29 -0
- package/dist/bundle/chunk-TPX2M45D.js +385 -0
- package/dist/bundle/{chunk-UWW24JQF.js → chunk-TSDBSIFM.js} +3 -3
- package/dist/bundle/{chunk-YA4LSSDZ.js → chunk-VBHETQVV.js} +1435 -1788
- package/dist/bundle/{chunk-HRTIRRXR.js → chunk-VCIALTEM.js} +33 -6
- package/dist/bundle/{chunk-ESZT4WW3.js → chunk-WCSOH4JS.js} +3 -3
- package/dist/bundle/{chunk-HWRKURQH.js → chunk-WF4D56CA.js} +2 -2
- package/dist/bundle/chunk-WJHZMR2W.js +335 -0
- package/dist/bundle/chunk-X4TIMMKJ.js +16 -0
- package/dist/bundle/{chunk-XL2HXHP3.js → chunk-XF26XKTS.js} +2 -2
- package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
- package/dist/bundle/{chunk-47R43UVJ.js → chunk-YMYUBZWT.js} +19 -19
- package/dist/bundle/{chunk-3D3PFXBP.js → chunk-YNTLT3Z3.js} +10 -15
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-XC5CKHX2.js → chunk-Z56QFOBR.js} +1 -1
- package/dist/bundle/{chunk-EPAZ7DJB.js → chunk-ZKAEZXUP.js} +42 -38
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/command-contract-JS5V27NX.js +38 -0
- package/dist/bundle/{command-server-entry-A66DJ3MH.js → command-server-entry-UFSG7KRO.js} +26 -23
- package/dist/bundle/decode-7LLWTSPT.js +297 -0
- package/dist/bundle/{dispatch-FEKU5UXC.js → dispatch-2GY6JIJH.js} +8 -8
- package/dist/bundle/{dist-YFKABFFF.js → dist-ILNOLGYN.js} +1 -1
- package/dist/bundle/{echarts-XD2JSWU4.js → echarts-BXX4OQWC.js} +2 -2
- package/dist/bundle/{embed-F3HYGAF7.js → embed-JXFNBTKH.js} +6 -6
- package/dist/bundle/{embedder-GSEDDUH7.js → embedder-57YZ44KO.js} +9 -9
- package/dist/bundle/{failure-HDJLR2YJ.js → failure-MYT4HPE3.js} +2 -2
- package/dist/bundle/{first-run-TXNTIUSP.js → first-run-3PF7T74J.js} +12 -11
- package/dist/bundle/first-screen-7BEROEQR.js +36 -0
- package/dist/bundle/{instructions-NZGJ4FW5.js → instructions-2VECIDXF.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.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-PPUQ3KBR.js +24 -0
- package/dist/bundle/meeting-model-ZNMYKMCD.js +26 -0
- package/dist/bundle/meeting-semantic-ETN3A4BJ.js +22 -0
- package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
- package/dist/bundle/{node-RPKPDYQS.js → node-MPEQSFI3.js} +2 -2
- package/dist/bundle/{node-sqlite-KH2UUYVO.js → node-sqlite-WA32MYSJ.js} +7 -7
- package/dist/bundle/notion.js +13 -13
- package/dist/bundle/{oauth-NKAI7TQD.js → oauth-IAFZG3IR.js} +7 -7
- package/dist/bundle/{open-WSAEAA2V.js → open-M3JQUC5G.js} +5 -5
- package/dist/bundle/{openai-JPVDGHG5.js → openai-HXUEHUSD.js} +30 -28
- package/dist/bundle/{process-5ZFVKOQX.js → process-F6TKXWWA.js} +1 -1
- package/dist/bundle/{program-M3D56D6T.js → program-Y7JAB6TG.js} +5289 -924
- package/dist/bundle/{prompt-FROYQ5LV.js → prompt-IMUQLZD2.js} +5 -5
- package/dist/bundle/{recognize-NYCHQMCX.js → recognize-2MZAYHAA.js} +4 -4
- package/dist/bundle/{remote-4OERF3Z4.js → remote-OV4LB6VR.js} +10 -10
- package/dist/bundle/{rerank-TEGXFUWY.js → rerank-ZIULUS34.js} +7 -7
- package/dist/bundle/{schemas-MZNNOEYN.js → schemas-DIVZS6TU.js} +1 -1
- package/dist/bundle/{serve-HLYYBAXY.js → serve-YU7QBP6L.js} +9 -9
- package/dist/bundle/server-FKQET4ZO.js +71 -0
- package/dist/bundle/{server-D5OYNEUW.js → server-LGMNONSB.js} +47 -38
- package/dist/bundle/services-5WY4DCPJ.js +581 -0
- package/dist/bundle/{sqlite-runtime-H2S5RR2F.js → sqlite-runtime-5MXZDETH.js} +6 -6
- package/dist/bundle/{state-OPOXCDZL.js → state-LWMZH2KI.js} +6 -6
- package/dist/bundle/{store-NHMXEJPD.js → store-EPZYV4VW.js} +17 -13
- package/dist/bundle/{store-Y3KRLCJ7.js → store-QE6FEIZD.js} +25 -20
- package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +62 -0
- package/dist/commands/documents.d.ts +2 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +2 -2
- 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 +468 -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/context.d.ts +5 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +12 -3
- package/dist/context.js.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.map +1 -1
- package/dist/notion/errors.js +26 -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/program.js +2 -2
- package/dist/program.js.map +1 -1
- package/dist/sync/cursor.d.ts +81 -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 +77 -0
- package/dist/sync/files.d.ts.map +1 -0
- package/dist/sync/files.js +12 -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 +616 -255
- 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 +12 -1
- package/dist/bundle/command-contract-6G5DC2FN.js +0 -35
- package/dist/bundle/decode-7XOFRAAT.js +0 -163
- 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-VKE77B3F.js} +0 -0
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
snapshotProjectAnnotations,
|
|
9
9
|
storeDamageReport,
|
|
10
10
|
storeHealth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YMYUBZWT.js";
|
|
12
12
|
import {
|
|
13
13
|
note
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TSDBSIFM.js";
|
|
15
15
|
import {
|
|
16
16
|
ADDED_KINDS,
|
|
17
17
|
ALWAYS_SHOWN,
|
|
@@ -95,17 +95,17 @@ import {
|
|
|
95
95
|
validateEvidenceFindings,
|
|
96
96
|
waitingPointer,
|
|
97
97
|
withoutField
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-VBHETQVV.js";
|
|
99
|
+
import "./chunk-YNTLT3Z3.js";
|
|
100
|
+
import "./chunk-MZU2YFBZ.js";
|
|
101
|
+
import "./chunk-X4TIMMKJ.js";
|
|
99
102
|
import {
|
|
100
103
|
BUSINESS_KINDS,
|
|
101
104
|
CLOSED_STATES,
|
|
102
105
|
FACT_STATUSES,
|
|
103
|
-
FACT_TYPES,
|
|
104
106
|
MEMORY_KINDS,
|
|
105
107
|
MEMORY_SCOPES,
|
|
106
108
|
MEMORY_STATUSES,
|
|
107
|
-
PAYMENT_DIRECTIONS,
|
|
108
|
-
PAYMENT_STATES,
|
|
109
109
|
PRIORITY_LABELS,
|
|
110
110
|
SOURCE_REVIEW_CAUSES,
|
|
111
111
|
SOURCE_REVIEW_KIND,
|
|
@@ -119,7 +119,6 @@ import {
|
|
|
119
119
|
journalMarkPath,
|
|
120
120
|
markStoreDamaged,
|
|
121
121
|
organization,
|
|
122
|
-
paymentTitle,
|
|
123
122
|
priorityLabel,
|
|
124
123
|
priorityOf,
|
|
125
124
|
priorityOption,
|
|
@@ -128,28 +127,34 @@ import {
|
|
|
128
127
|
readHealthMark,
|
|
129
128
|
readJournalMark,
|
|
130
129
|
recordDeepCheck,
|
|
131
|
-
reminder
|
|
130
|
+
reminder
|
|
131
|
+
} from "./chunk-MY742GAD.js";
|
|
132
|
+
import "./chunk-6EVKHZKN.js";
|
|
133
|
+
import "./chunk-SZOVLP44.js";
|
|
134
|
+
import {
|
|
135
|
+
FACT_TYPES,
|
|
136
|
+
PAYMENT_DIRECTIONS,
|
|
137
|
+
PAYMENT_STATES,
|
|
138
|
+
paymentTitle,
|
|
132
139
|
validatePayment
|
|
133
|
-
} from "./chunk-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-WK3OSDNV.js";
|
|
137
|
-
import "./chunk-ZI3YTXSF.js";
|
|
140
|
+
} from "./chunk-FWVBPRL4.js";
|
|
141
|
+
import "./chunk-B7ON6KPT.js";
|
|
142
|
+
import "./chunk-VKE77B3F.js";
|
|
138
143
|
import {
|
|
139
144
|
storePath
|
|
140
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-WF4D56CA.js";
|
|
141
146
|
import {
|
|
142
147
|
openCache
|
|
143
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-LAYPFBOM.js";
|
|
144
149
|
import {
|
|
145
150
|
PRAGMAS
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
-
import "./chunk-
|
|
151
|
+
} from "./chunk-4HWJOU7N.js";
|
|
152
|
+
import "./chunk-3AL7QUS3.js";
|
|
153
|
+
import "./chunk-4IPURN72.js";
|
|
149
154
|
import "./chunk-XYIT2XB3.js";
|
|
150
155
|
import "./chunk-Y5E2WNWB.js";
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
156
|
+
import "./chunk-5RDNBG7D.js";
|
|
157
|
+
import "./chunk-FT3LN3HP.js";
|
|
153
158
|
import "./chunk-ZVVMGPBJ.js";
|
|
154
159
|
export {
|
|
155
160
|
ADDED_KINDS,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
addStoreMaintenanceCommands,
|
|
5
|
+
buildStems,
|
|
6
|
+
storeMaintenanceCommands,
|
|
7
|
+
storeSummary
|
|
8
|
+
} from "./chunk-FPY6EJ7B.js";
|
|
9
|
+
import "./chunk-M3KB25D3.js";
|
|
10
|
+
import "./chunk-2LWO3PDX.js";
|
|
11
|
+
import "./chunk-KCLOUUYF.js";
|
|
12
|
+
import "./chunk-XF26XKTS.js";
|
|
13
|
+
import "./chunk-EH6ZEJGT.js";
|
|
14
|
+
import "./chunk-5IYKVRH2.js";
|
|
15
|
+
import "./chunk-DH5PRHT4.js";
|
|
16
|
+
import "./chunk-WCSOH4JS.js";
|
|
17
|
+
import "./chunk-YVI5SQPY.js";
|
|
18
|
+
import "./chunk-M7S2NDWB.js";
|
|
19
|
+
import "./chunk-EUIVXFLJ.js";
|
|
20
|
+
import "./chunk-TPX2M45D.js";
|
|
21
|
+
import "./chunk-LLG2POQ7.js";
|
|
22
|
+
import "./chunk-2F4QQ7WB.js";
|
|
23
|
+
import "./chunk-FXEJY4OL.js";
|
|
24
|
+
import "./chunk-5NFK5EM2.js";
|
|
25
|
+
import "./chunk-SWAOWNKW.js";
|
|
26
|
+
import "./chunk-WJHZMR2W.js";
|
|
27
|
+
import "./chunk-Z56QFOBR.js";
|
|
28
|
+
import "./chunk-YMYUBZWT.js";
|
|
29
|
+
import "./chunk-TSDBSIFM.js";
|
|
30
|
+
import "./chunk-VBHETQVV.js";
|
|
31
|
+
import "./chunk-YNTLT3Z3.js";
|
|
32
|
+
import "./chunk-MZU2YFBZ.js";
|
|
33
|
+
import "./chunk-X4TIMMKJ.js";
|
|
34
|
+
import "./chunk-MY742GAD.js";
|
|
35
|
+
import "./chunk-6EVKHZKN.js";
|
|
36
|
+
import "./chunk-SZOVLP44.js";
|
|
37
|
+
import "./chunk-FWVBPRL4.js";
|
|
38
|
+
import "./chunk-RV64YUQX.js";
|
|
39
|
+
import "./chunk-2F6VO5HA.js";
|
|
40
|
+
import "./chunk-B7ON6KPT.js";
|
|
41
|
+
import "./chunk-ODBZNSZ6.js";
|
|
42
|
+
import "./chunk-D7QSEEYW.js";
|
|
43
|
+
import "./chunk-ZZ32DXTH.js";
|
|
44
|
+
import "./chunk-VKE77B3F.js";
|
|
45
|
+
import "./chunk-NQWV4WQO.js";
|
|
46
|
+
import "./chunk-D72URWJE.js";
|
|
47
|
+
import "./chunk-WF4D56CA.js";
|
|
48
|
+
import "./chunk-LAYPFBOM.js";
|
|
49
|
+
import "./chunk-4HWJOU7N.js";
|
|
50
|
+
import "./chunk-3AL7QUS3.js";
|
|
51
|
+
import "./chunk-4IPURN72.js";
|
|
52
|
+
import "./chunk-XYIT2XB3.js";
|
|
53
|
+
import "./chunk-Y5E2WNWB.js";
|
|
54
|
+
import "./chunk-5RDNBG7D.js";
|
|
55
|
+
import "./chunk-FT3LN3HP.js";
|
|
56
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
57
|
+
export {
|
|
58
|
+
addStoreMaintenanceCommands,
|
|
59
|
+
buildStems,
|
|
60
|
+
storeMaintenanceCommands,
|
|
61
|
+
storeSummary
|
|
62
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Command } from "commander";
|
|
2
|
-
|
|
2
|
+
/** `documents get`: one page live, beside the shared commands that read the local copy. */
|
|
3
|
+
export declare const getCommand: () => Command;
|
|
3
4
|
//# sourceMappingURL=documents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/commands/documents.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/commands/documents.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAQnC,2FAA2F;AAC3F,eAAO,MAAM,UAAU,eAyCjB,CAAA"}
|
|
@@ -7,7 +7,8 @@ import { IDENTITY } from "../identity.js";
|
|
|
7
7
|
import { notionId } from "../notion/ids.js";
|
|
8
8
|
import { documentSchema } from "../notion/notion.js";
|
|
9
9
|
const CLI = IDENTITY.command;
|
|
10
|
-
|
|
10
|
+
/** `documents get`: one page live, beside the shared commands that read the local copy. */
|
|
11
|
+
export const getCommand = () => answerEntity(annotate(new Command("get"), {
|
|
11
12
|
effects: REMOTE_READ,
|
|
12
13
|
offline: false,
|
|
13
14
|
examples: [
|
|
@@ -37,5 +38,4 @@ const getCommand = () => answerEntity(annotate(new Command("get"), {
|
|
|
37
38
|
if (issues.length > 0 && output.format !== "json" && output.format !== "jsonl")
|
|
38
39
|
output.renderer.warn(`the page is incomplete: ${why}`);
|
|
39
40
|
});
|
|
40
|
-
export const documentsCommand = () => annotate(new Command("documents"), { effects: REMOTE_READ }).description("read Notion pages").addCommand(getCommand());
|
|
41
41
|
//# sourceMappingURL=documents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../src/commands/documents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAClG,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAiB,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEnE,MAAM,GAAG,GAAG,QAAQ,CAAC,OAAO,CAAA;AAE5B,MAAM,UAAU,GAAG,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../src/commands/documents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAClG,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAiB,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEnE,MAAM,GAAG,GAAG,QAAQ,CAAC,OAAO,CAAA;AAE5B,2FAA2F;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE,CAC7B,YAAY,CACV,QAAQ,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE;IAC3B,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE;QACR,GAAG,GAAG,wFAAwF;QAC9F,GAAG,GAAG,iEAAiE;KACxE;CACF,CAAC,EACF,mBAAmB,EACnB,cAAc,CACf;KACE,OAAO,CAAC,6CAA6C,CAAC;KACtD,WAAW,CACV,gHAAgH;IAC9G,oGAAoG;IACpG,kFAAkF;IAClF,wDAAwD,CAC3D;KACA,QAAQ,CAAC,QAAQ,EAAE,kCAAkC,CAAC;KACtD,MAAM,CAAC,KAAK,WAA0B,IAAY;IACjD,MAAM,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAA;IACzB,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,UAAU,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAA;IACpF,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,CAAA;IAC9B,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAA;IACjD,MAAM,GAAG,GACP,OAAO,GAAG,CAAC;QACT,CAAC,CAAC,GAAG,OAAO,gFAAgF;QAC5F,CAAC,CAAC,mCAAmC,CAAA;IACzC,YAAY,CACV,IAAI,EACJ,MAAM,EACN,MAAM,CAAC,QAAQ,EAAE;QACf,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC1F,CAAC;IACF,6FAA6F;IAC7F,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,eAAe,CAAE,IAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAC7E,CAAA;IACD,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,OAAO;QAC5E,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,2BAA2B,GAAG,EAAE,CAAC,CAAA;AAC1D,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type DocumentWords } from "@wirecat/cli-core/documents/cli";
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
export declare const NOTION_WORDS: DocumentWords;
|
|
4
|
+
/**
|
|
5
|
+
* cli-core's shared `folders`, `sync`, `status`, `documents`, `search`, `catalog` and knowledge groups over Notion and
|
|
6
|
+
* the shared store, with notion's own `folders browse`, `documents get` and `documents add`. The ports take no command,
|
|
7
|
+
* so each run's command is caught as it starts; an MCP server builds the tree anew for every call.
|
|
8
|
+
*/
|
|
9
|
+
export declare const libraryCommands: () => Command[];
|
|
10
|
+
//# sourceMappingURL=library.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../src/commands/library.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAEzF,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAqCnC,eAAO,MAAM,YAAY,EAAE,aAkB1B,CAAA;AAuCD;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,OAAO,EAyazC,CAAA"}
|