@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
|
@@ -3,52 +3,52 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-66M7VFIM.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-UE7ST7JC.js";
|
|
10
|
+
import "./chunk-HPS2YGSZ.js";
|
|
11
11
|
import {
|
|
12
12
|
skillResources
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-COF6KS7A.js";
|
|
14
14
|
import {
|
|
15
15
|
appInstructions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S3SLDYTU.js";
|
|
17
17
|
import {
|
|
18
18
|
answered,
|
|
19
19
|
failed,
|
|
20
20
|
registerCommands
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WPNY2J2X.js";
|
|
22
22
|
import {
|
|
23
23
|
agentJson
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NQA2STEE.js";
|
|
25
25
|
import {
|
|
26
26
|
StdioServerTransport,
|
|
27
27
|
answeredWire,
|
|
28
28
|
serveStdio
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-43PCMVTZ.js";
|
|
30
|
+
import "./chunk-QQP54EEZ.js";
|
|
31
|
+
import "./chunk-IL3UYHCR.js";
|
|
32
|
+
import "./chunk-I62MWK5L.js";
|
|
33
|
+
import "./chunk-KDPV6YBX.js";
|
|
34
|
+
import "./chunk-NSBTYJRP.js";
|
|
35
35
|
import {
|
|
36
36
|
runCommandForAgent,
|
|
37
37
|
toolsFromCommands
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-J4CXJJJU.js";
|
|
39
|
+
import "./chunk-LYJDZILD.js";
|
|
40
|
+
import "./chunk-EZAVBR47.js";
|
|
41
|
+
import "./chunk-2BPQNFA5.js";
|
|
42
42
|
import {
|
|
43
43
|
McpServer
|
|
44
44
|
} from "./chunk-PL5P7UKW.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-XRA2V4MM.js";
|
|
46
|
+
import "./chunk-A5PL2GYK.js";
|
|
47
|
+
import "./chunk-2XWVZDOM.js";
|
|
48
|
+
import "./chunk-KI6OOW6D.js";
|
|
49
|
+
import "./chunk-Q5PNS2K2.js";
|
|
50
|
+
import "./chunk-2TVHFJKV.js";
|
|
51
|
+
import "./chunk-JRZEXLRQ.js";
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_OUTPUT_BYTES,
|
|
54
54
|
changesAuthorityAt,
|
|
@@ -58,68 +58,68 @@ import {
|
|
|
58
58
|
judgedTargets,
|
|
59
59
|
readsOverMcpAt,
|
|
60
60
|
rootOf2 as rootOf
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-77727OQH.js";
|
|
62
|
+
import "./chunk-P4ADIGTL.js";
|
|
63
|
+
import "./chunk-6P7HUUR5.js";
|
|
64
|
+
import "./chunk-YAYVXHMO.js";
|
|
65
|
+
import "./chunk-MA6U4XH2.js";
|
|
66
|
+
import "./chunk-5KL3PQWI.js";
|
|
67
67
|
import {
|
|
68
68
|
readOnlyLockOf
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-DGZNVYKK.js";
|
|
70
|
+
import "./chunk-KHEISFJO.js";
|
|
71
|
+
import "./chunk-D3G375NT.js";
|
|
72
|
+
import "./chunk-YG2FFC2R.js";
|
|
73
|
+
import "./chunk-64KVWK5N.js";
|
|
74
|
+
import "./chunk-FSWLPNJT.js";
|
|
75
|
+
import "./chunk-WDL3QYN2.js";
|
|
76
76
|
import {
|
|
77
77
|
mcpHttpMarker
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-GPFE4SS7.js";
|
|
79
|
+
import "./chunk-53UXHJEO.js";
|
|
80
|
+
import "./chunk-MGC2BAD2.js";
|
|
81
|
+
import "./chunk-IBFCD6TR.js";
|
|
82
|
+
import "./chunk-2T76TPDD.js";
|
|
83
|
+
import "./chunk-CWTTCFDX.js";
|
|
84
|
+
import "./chunk-Y6KPZOOD.js";
|
|
85
|
+
import "./chunk-PVTW7ZOY.js";
|
|
86
|
+
import "./chunk-LKUWH6KU.js";
|
|
87
|
+
import "./chunk-DW6YAEMZ.js";
|
|
88
|
+
import "./chunk-NSQN4F7H.js";
|
|
89
|
+
import "./chunk-7KNBZOLH.js";
|
|
90
|
+
import "./chunk-HZ5LRWKH.js";
|
|
91
|
+
import "./chunk-DLEAVO2T.js";
|
|
92
|
+
import "./chunk-AG34MPVN.js";
|
|
93
|
+
import "./chunk-D2IVASIC.js";
|
|
94
|
+
import "./chunk-S5NFSVNK.js";
|
|
95
|
+
import "./chunk-M27SMKNH.js";
|
|
96
|
+
import "./chunk-OZZ5PTHG.js";
|
|
97
|
+
import "./chunk-LEO5GWPD.js";
|
|
98
|
+
import "./chunk-F7DHR4OO.js";
|
|
99
|
+
import "./chunk-BCO37YUH.js";
|
|
100
|
+
import "./chunk-2Q5ATPA6.js";
|
|
101
|
+
import "./chunk-KPBUJQKT.js";
|
|
102
|
+
import "./chunk-E5EYJU5R.js";
|
|
103
|
+
import "./chunk-H76WEF2L.js";
|
|
104
104
|
import "./chunk-D72URWJE.js";
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-YOZHKJEN.js";
|
|
106
|
+
import "./chunk-NVXMWAEV.js";
|
|
107
|
+
import "./chunk-7YPZPJTB.js";
|
|
108
|
+
import "./chunk-MLXDGBH4.js";
|
|
109
109
|
import {
|
|
110
110
|
mcpErrorResult
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-E5XATHAF.js";
|
|
112
112
|
import "./chunk-S4UUN6LD.js";
|
|
113
113
|
import "./chunk-Y5E2WNWB.js";
|
|
114
114
|
import {
|
|
115
115
|
CliError
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import "./chunk-
|
|
116
|
+
} from "./chunk-FGWQHNKK.js";
|
|
117
|
+
import "./chunk-GFI3UUIU.js";
|
|
118
118
|
import {
|
|
119
119
|
__name
|
|
120
120
|
} from "./chunk-ZVVMGPBJ.js";
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// 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/app-server.js
|
|
123
123
|
var EXCLUDED = [["mcp"]];
|
|
124
124
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
125
125
|
let at = root;
|
|
@@ -235,7 +235,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
235
235
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
236
236
|
const { app } = options;
|
|
237
237
|
const { build } = createAppServer(command, context, options);
|
|
238
|
-
const { serveOverHttp } = await import("./serve-
|
|
238
|
+
const { serveOverHttp } = await import("./serve-YWCHKQEP.js");
|
|
239
239
|
const listening = await serveOverHttp(build, {
|
|
240
240
|
...http,
|
|
241
241
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GFI3UUIU.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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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-MC3LAGIW.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YOZHKJEN.js";
|
|
10
|
+
import "./chunk-MLXDGBH4.js";
|
|
11
|
+
import "./chunk-E5XATHAF.js";
|
|
12
12
|
import "./chunk-S4UUN6LD.js";
|
|
13
13
|
import {
|
|
14
14
|
importFrom
|
|
15
15
|
} from "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-FGWQHNKK.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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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 {
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
environmentOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-77727OQH.js";
|
|
6
6
|
import {
|
|
7
7
|
throughWrapper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5KL3PQWI.js";
|
|
9
9
|
import {
|
|
10
10
|
readOnlyLockOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DGZNVYKK.js";
|
|
12
12
|
import {
|
|
13
13
|
array,
|
|
14
14
|
boolean,
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
} from "./chunk-S4UUN6LD.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FGWQHNKK.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// 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/background/relay.js
|
|
30
30
|
import { createHash } from "node:crypto";
|
|
31
31
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
32
32
|
import { createConnection, createServer } from "node:net";
|
|
@@ -247,7 +247,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
247
247
|
}, () => finish({ error: stopped() }));
|
|
248
248
|
}), "relayCommand");
|
|
249
249
|
|
|
250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
250
|
+
// 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/cli/messenger/serve-relay.js
|
|
251
251
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
252
252
|
close: /* @__PURE__ */ __name(async () => {
|
|
253
253
|
}, "close"),
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YOZHKJEN.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FGWQHNKK.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// 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/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// 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/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PVTW7ZOY.js";
|
|
9
9
|
import {
|
|
10
10
|
reference
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E5XATHAF.js";
|
|
12
12
|
import {
|
|
13
13
|
array,
|
|
14
14
|
nullable,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
unknown
|
|
21
21
|
} from "./chunk-S4UUN6LD.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// 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/entities/note.js
|
|
24
24
|
var link = {
|
|
25
25
|
target_text: nullable(text),
|
|
26
26
|
kind: text,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FGWQHNKK.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// 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/files/atomic-write.js
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import { link, open, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
45
45
|
}
|
|
46
46
|
}, "writeFileAtomic");
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// 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/files/ordinary-file.js
|
|
49
49
|
import { constants as constants2 } from "node:fs";
|
|
50
50
|
import { lstat, open as open2 } from "node:fs/promises";
|
|
51
51
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -111,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
111
111
|
}
|
|
112
112
|
}, "syncDirectory");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// 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/files/lock.js
|
|
115
115
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
116
116
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// 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/files/native-writer-lease.js
|
|
119
119
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
120
120
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
121
121
|
import { hostname as hostname2 } from "node:os";
|
|
122
122
|
import { join as join3 } from "node:path";
|
|
123
123
|
|
|
124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
124
|
+
// 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/files/native-lease-inspection.js
|
|
125
125
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
126
126
|
import { join as join2 } from "node:path";
|
|
127
127
|
|
|
128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
128
|
+
// 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/files/native-lease-owner.js
|
|
129
129
|
import { hostname } from "node:os";
|
|
130
130
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
131
131
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
170
170
|
}
|
|
171
171
|
}, "leaseOwnerStatus");
|
|
172
172
|
|
|
173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
173
|
+
// 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/files/native-lease-inspection.js
|
|
174
174
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
175
175
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
176
176
|
options.signal?.throwIfAborted();
|
|
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
229
229
|
return { inspect, recover };
|
|
230
230
|
}, "leaseInspection");
|
|
231
231
|
|
|
232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
232
|
+
// 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/files/native-lease-release.js
|
|
233
233
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
234
234
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
235
235
|
let releasing;
|
|
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
254
254
|
};
|
|
255
255
|
}, "ownedNativeLease");
|
|
256
256
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// 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/files/native-writer-lease.js
|
|
258
258
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
259
259
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
260
260
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
325
325
|
};
|
|
326
326
|
}, "nativeWriterLeaseStore");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// 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/files/lock.js
|
|
329
329
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
330
330
|
const folder = dirname2(path);
|
|
331
331
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
340
340
|
});
|
|
341
341
|
}, "acquireLock");
|
|
342
342
|
|
|
343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
343
|
+
// 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/files/bounded-utf8.js
|
|
344
344
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
345
345
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
346
346
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -535,7 +535,7 @@ function toError(value) {
|
|
|
535
535
|
}
|
|
536
536
|
__name(toError, "toError");
|
|
537
537
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
538
|
+
// 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/stdio-wire.js
|
|
539
539
|
import { PassThrough, Writable } from "node:stream";
|
|
540
540
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
541
541
|
let rest = "";
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MGC2BAD2.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MLXDGBH4.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// 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/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -53,6 +53,17 @@ var releaseLock = /* @__PURE__ */ __name((path, pid = process.pid) => {
|
|
|
53
53
|
if (readLock(path)?.pid === pid)
|
|
54
54
|
rmSync(path, { force: true });
|
|
55
55
|
}, "releaseLock");
|
|
56
|
+
var currentPath = /* @__PURE__ */ __name((lock) => lock.replace(/\.lock$/, ".current"), "currentPath");
|
|
57
|
+
var markCurrent = /* @__PURE__ */ __name((lock, at = /* @__PURE__ */ new Date()) => writeSecurely(currentPath(lock), `${JSON.stringify({ at: at.toISOString() })}
|
|
58
|
+
`, 384), "markCurrent");
|
|
59
|
+
var readCurrent = /* @__PURE__ */ __name((lock) => {
|
|
60
|
+
try {
|
|
61
|
+
const { at } = JSON.parse(readFileSync(currentPath(lock), "utf8"));
|
|
62
|
+
return typeof at === "string" ? at : void 0;
|
|
63
|
+
} catch {
|
|
64
|
+
return void 0;
|
|
65
|
+
}
|
|
66
|
+
}, "readCurrent");
|
|
56
67
|
var servingProfiles = /* @__PURE__ */ __name((app, env) => {
|
|
57
68
|
const dir = dirname(lockPath(app, "default", env));
|
|
58
69
|
if (!existsSync(dir))
|
|
@@ -69,5 +80,7 @@ export {
|
|
|
69
80
|
holdLock,
|
|
70
81
|
takeLock,
|
|
71
82
|
releaseLock,
|
|
83
|
+
markCurrent,
|
|
84
|
+
readCurrent,
|
|
72
85
|
servingProfiles
|
|
73
86
|
};
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FGWQHNKK.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// 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/ports/messenger.js
|
|
11
11
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
12
12
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
13
13
|
if (key in own)
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GPFE4SS7.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// 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/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MESSAGE_PARSING
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DLEAVO2T.js";
|
|
6
6
|
import {
|
|
7
7
|
normalize
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AG34MPVN.js";
|
|
9
9
|
import {
|
|
10
10
|
implicitTextTerms,
|
|
11
11
|
parseLucene,
|
|
12
12
|
walkQuery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S5NFSVNK.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FGWQHNKK.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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
22
22
|
var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
23
23
|
var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
|
|
24
24
|
var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|