@wirecat/drive-cli 0.69.0 → 0.70.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/contracts/wirecat.json +14 -13
- package/dist/age.d.ts +0 -36
- package/dist/age.d.ts.map +1 -1
- package/dist/age.js +0 -22
- package/dist/age.js.map +1 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-B4A737YW.js → all-profiles-FW3GK3QO.js} +13 -13
- package/dist/bundle/{anthropic-RZGPDESM.js → anthropic-QVKJT3II.js} +8 -8
- package/dist/bundle/{app-server-OWEW7DY5.js → app-server-QU73RD5R.js} +66 -58
- package/dist/bundle/{bun-V5QLYBZU.js → bun-5XCD5CBB.js} +2 -2
- package/dist/bundle/{bun-sqlite-KHLHXXGH.js → bun-sqlite-TIGSVNSV.js} +9 -9
- package/dist/bundle/{chunk-GK6KXBL6.js → chunk-2SBC4DVV.js} +4 -4
- package/dist/bundle/{chunk-E7URRFBB.js → chunk-3AHBZP33.js} +10 -15
- package/dist/bundle/{chunk-V4FMN5A6.js → chunk-3CHW7JGR.js} +17 -17
- package/dist/bundle/chunk-3TCMANIM.js +387 -0
- package/dist/bundle/{chunk-6EL5AVXX.js → chunk-3UWRAIWA.js} +4 -4
- package/dist/bundle/{chunk-2DS2TDGW.js → chunk-3UZ4OH22.js} +18 -18
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-4WK26MPY.js} +1 -1
- package/dist/bundle/{chunk-AD7VI3XU.js → chunk-54BQWRJL.js} +7 -7
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-54NDYVZA.js} +1 -1
- package/dist/bundle/{chunk-4YECZ6CN.js → chunk-5JTB4URG.js} +12 -12
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-66PL7P4C.js} +1 -1
- package/dist/bundle/{chunk-BVVXYZSU.js → chunk-6BMTW5A6.js} +9 -9
- package/dist/bundle/{chunk-6D44YQ5X.js → chunk-6DPOWBKA.js} +6 -6
- package/dist/bundle/{chunk-AMQGKMLZ.js → chunk-7C5KENNU.js} +3 -3
- package/dist/bundle/chunk-7DJNURKV.js +823 -0
- package/dist/bundle/{chunk-5TK2YQCO.js → chunk-7IBENBCK.js} +2 -2
- package/dist/bundle/chunk-7QSRODXM.js +259 -0
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-ABZ2NYDT.js} +1 -1
- package/dist/bundle/{chunk-RLGQMMYE.js → chunk-AV5UKJZM.js} +35 -13
- package/dist/bundle/{chunk-533XOW74.js → chunk-BBFXQPKD.js} +3 -3
- package/dist/bundle/{chunk-ZUG67442.js → chunk-BBRMDMIR.js} +3 -3
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-BD2K2ONK.js} +4 -4
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-BFKFKDPC.js} +1 -1
- package/dist/bundle/{chunk-OOIAJRKQ.js → chunk-BXPC5TFG.js} +2 -2
- package/dist/bundle/chunk-DHX27E5M.js +31 -0
- package/dist/bundle/{chunk-L342KHIZ.js → chunk-DR57KDAY.js} +6 -6
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-DVI72ZQG.js} +1 -1
- package/dist/bundle/{chunk-N4ACIIQB.js → chunk-DVVUJ254.js} +2 -2
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-EDO5LZVF.js} +1 -1
- package/dist/bundle/{chunk-LUZRVBQR.js → chunk-EG62WVR2.js} +6 -6
- package/dist/bundle/{chunk-WNMPIRRF.js → chunk-F5KJWRF5.js} +3 -3
- package/dist/bundle/{chunk-U3RXH6RY.js → chunk-FADAOLGB.js} +4 -4
- package/dist/bundle/{chunk-4ZFO2CVH.js → chunk-FCSHWUMW.js} +5 -5
- package/dist/bundle/{chunk-GHFBT2ZM.js → chunk-FN3RXBO7.js} +6 -6
- package/dist/bundle/{chunk-GTDCP5OG.js → chunk-FONIFRYI.js} +4 -4
- package/dist/bundle/{chunk-IQ2QU2X6.js → chunk-FVTKFIQH.js} +981 -589
- package/dist/bundle/{chunk-F5UUJU6R.js → chunk-FYPW7NMH.js} +4 -4
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-GA3URWIF.js} +1 -1
- package/dist/bundle/{chunk-HEBZCKMU.js → chunk-GAHIHE4K.js} +1778 -2232
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-GJZSVSV3.js} +2 -2
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-GK3BJMGK.js} +1 -1
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-GPDPEHYX.js} +1 -1
- package/dist/bundle/{chunk-CU6RATZH.js → chunk-GV5DGHSA.js} +4 -4
- package/dist/bundle/{chunk-JRFKCYMW.js → chunk-HHAZ6DCY.js} +23 -6
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-HK225DAG.js} +1 -1
- package/dist/bundle/{chunk-5SJZDEIO.js → chunk-HRATXUFH.js} +20 -20
- package/dist/bundle/{chunk-TZ75K6R7.js → chunk-HWUPU6WX.js} +8 -8
- package/dist/bundle/{chunk-3RLRJHAI.js → chunk-HYXXMSVD.js} +7688 -8301
- package/dist/bundle/{chunk-EL2E3ABX.js → chunk-I7YSHUPW.js} +13 -13
- package/dist/bundle/{chunk-EWUQIUTB.js → chunk-IFTX7AQU.js} +5 -5
- package/dist/bundle/{chunk-BBJVV4E2.js → chunk-IGNIUDI3.js} +61 -38
- package/dist/bundle/{chunk-7JKECODO.js → chunk-ILAQIBEO.js} +1 -11
- package/dist/bundle/{chunk-SY2HLH5R.js → chunk-KSJAFMU5.js} +57 -23
- package/dist/bundle/{chunk-PB6NWKH3.js → chunk-LINBDWJK.js} +2 -2
- package/dist/bundle/{chunk-CZ4UEXCE.js → chunk-LMJBQFW6.js} +6 -6
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-ML3R2UHV.js} +4 -4
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-MXNQZAJQ.js} +2 -2
- package/dist/bundle/{chunk-WOUIHZRI.js → chunk-NP7LJATI.js} +15 -67
- package/dist/bundle/chunk-OY7TNUEC.js +16 -0
- package/dist/bundle/{chunk-2VFAXC6O.js → chunk-P77FL6RY.js} +18 -18
- package/dist/bundle/{chunk-I55XYREN.js → chunk-P7PLKNPX.js} +993 -2512
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-PAPY6Q6H.js} +1 -1
- package/dist/bundle/{chunk-5B5NOAIA.js → chunk-PN4JYURZ.js} +45 -45
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-PR7XD2DI.js} +2 -2
- package/dist/bundle/{chunk-UPCEHSIZ.js → chunk-Q5C6YKAY.js} +21 -16
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-QBAOIMVB.js} +1 -1
- package/dist/bundle/{chunk-KUQDBWPU.js → chunk-RCTOWLCD.js} +31 -32
- package/dist/bundle/{chunk-22SH77TG.js → chunk-REM5WHHQ.js} +64 -64
- package/dist/bundle/{chunk-Y2QVNVHK.js → chunk-RHSBXOQM.js} +1 -1
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-RLNZ7NX5.js} +2 -2
- package/dist/bundle/chunk-RQNRYF6D.js +170 -0
- package/dist/bundle/{chunk-PV3AWPHR.js → chunk-SONPLYV7.js} +5 -5
- package/dist/bundle/{chunk-RWQ7T4Y5.js → chunk-T5D4OGDC.js} +2 -2
- package/dist/bundle/{chunk-25FT44S3.js → chunk-TGS5VPJD.js} +282 -525
- package/dist/bundle/chunk-TNKQDS5A.js +335 -0
- package/dist/bundle/{chunk-NVDR72GP.js → chunk-VVN6GHAZ.js} +60 -81
- package/dist/bundle/{chunk-CDSB7WVG.js → chunk-WJK6KTCS.js} +8 -8
- package/dist/bundle/{chunk-T6X6EZ5N.js → chunk-WWE5GO6G.js} +3 -3
- package/dist/bundle/{chunk-SYUXKV2E.js → chunk-XOL346TJ.js} +2 -2
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-XZBA6FVH.js} +3 -3
- package/dist/bundle/chunk-YCL3SK4T.js +1978 -0
- package/dist/bundle/{chunk-XVH3WZSZ.js → chunk-YRUR3E3E.js} +53 -53
- package/dist/bundle/{chunk-QJGFQRTL.js → chunk-YZPE72GE.js} +12 -12
- package/dist/bundle/{chunk-O6PD7RZY.js → chunk-ZCXWV4XO.js} +4 -4
- package/dist/bundle/{chunk-376ZGVUZ.js → chunk-ZHZYGY5R.js} +4 -4
- package/dist/bundle/{cli-BS4L3HAP.js → cli-K4D4DIGQ.js} +88 -69
- package/dist/bundle/command-contract-V3F452QI.js +43 -0
- package/dist/bundle/{command-server-entry-CJ2CV7ZV.js → command-server-entry-WREK3QBB.js} +33 -30
- package/dist/bundle/decode-SEETPKBH.js +299 -0
- package/dist/bundle/{dispatch-WBEOHZDV.js → dispatch-SQCEURVK.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-WZ5RKFCX.js} +2 -2
- package/dist/bundle/{embed-YNZW5X6M.js → embed-B2UCRZZR.js} +9 -9
- package/dist/bundle/{embedder-LRC2PKTS.js → embedder-4R6Z7G7L.js} +12 -12
- package/dist/bundle/entry-ORZYRJ5N.js +25 -0
- package/dist/bundle/{failure-X6PSLVSO.js → failure-CYNXH3RQ.js} +4 -4
- package/dist/bundle/first-run-KAKA6KBY.js +31 -0
- package/dist/bundle/first-screen-R645UHRH.js +41 -0
- package/dist/bundle/google-BSO3YB7N.js +45 -0
- package/dist/bundle/{google-api-7JDZDCWE.js → google-api-SAND2F7L.js} +70 -62
- package/dist/bundle/grants-PLNFYARD.js +118 -0
- package/dist/bundle/{identity-E43WKN5F.js → identity-JVVGS4U6.js} +6 -6
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-JSMTSB22.js} +1 -1
- package/dist/bundle/{login-RBDJPQAG.js → login-6WG3YBDU.js} +78 -70
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-VFIOZDVY.js} +2 -2
- package/dist/bundle/meeting-combined-SUKMFK3F.js +27 -0
- package/dist/bundle/meeting-model-S4YGKIFI.js +29 -0
- package/dist/bundle/meeting-semantic-5U7JQCFF.js +25 -0
- package/dist/bundle/{node-IEVT2FSJ.js → node-VJMVHOWD.js} +2 -2
- package/dist/bundle/{node-sqlite-IENH4TRX.js → node-sqlite-DCNT3HVE.js} +10 -10
- package/dist/bundle/oauth-KCMNQ3ZP.js +22 -0
- package/dist/bundle/{open-TZ5H7NYM.js → open-NFOEHVW7.js} +8 -8
- package/dist/bundle/{openai-XF2KB7W2.js → openai-D47WY7EC.js} +32 -30
- package/dist/bundle/{process-6Q23D3TO.js → process-Q2FRU5VA.js} +1 -1
- package/dist/bundle/{program-D5XWOHV5.js → program-T2AJJQEM.js} +1332 -1331
- package/dist/bundle/{prompt-KUC5D4GX.js → prompt-YJSDABXN.js} +8 -8
- package/dist/bundle/{reasons-KSYP5VDJ.js → reasons-WEHPCSJX.js} +5 -5
- package/dist/bundle/{recognize-DPFW7HO3.js → recognize-6OBEIEB3.js} +7 -7
- package/dist/bundle/{remote-MODTSUNH.js → remote-3SL2QJ7T.js} +13 -13
- package/dist/bundle/{rerank-JK7SERLE.js → rerank-L6F5SLIB.js} +10 -10
- package/dist/bundle/{serve-BV2WHZLW.js → serve-GYSWIWH4.js} +12 -12
- package/dist/bundle/server-BI46BSRE.js +80 -0
- package/dist/bundle/{server-N3WPEU7Z.js → server-GWWP3RIT.js} +54 -46
- package/dist/bundle/{services-SV6CFUCS.js → services-BDQBRXT5.js} +79 -54
- package/dist/bundle/{sqlite-runtime-RZ5PLZVQ.js → sqlite-runtime-ZSZGAUYB.js} +9 -9
- package/dist/bundle/{start-C6EXYXAL.js → start-BJ275RUK.js} +7 -7
- package/dist/bundle/{state-RAZIREVG.js → state-HLNGFI2T.js} +9 -9
- package/dist/bundle/{store-2DLGLYS6.js → store-I43KZNJW.js} +31 -26
- package/dist/bundle/{store-DQKJKX2G.js → store-OSRTGYGI.js} +23 -19
- package/dist/bundle/store-maintenance-command-FO7LEVSL.js +72 -0
- package/dist/bundle/tokens-DB7O7QNB.js +118 -0
- package/dist/catalog.d.ts +0 -28
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +0 -82
- package/dist/catalog.js.map +1 -1
- package/dist/commands/catalog.d.ts +3 -8
- package/dist/commands/catalog.d.ts.map +1 -1
- package/dist/commands/catalog.js +36 -109
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/context.d.ts +3 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +20 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +30 -72
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/folders.d.ts +1 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +45 -48
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/knowledge.d.ts +4 -21
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +3 -241
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/mirrors.d.ts +2 -2
- package/dist/commands/mirrors.d.ts.map +1 -1
- package/dist/commands/mirrors.js +46 -202
- package/dist/commands/mirrors.js.map +1 -1
- package/dist/commands/search.d.ts +1 -3
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +20 -42
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +36 -53
- package/dist/commands/sync.js.map +1 -1
- package/dist/contract-overrides.d.ts +0 -2
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +0 -317
- package/dist/contract-overrides.js.map +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +4 -3
- package/dist/knowledge.js.map +1 -1
- package/dist/list-queries.d.ts +0 -31
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +0 -36
- package/dist/list-queries.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -3
- package/dist/program.js.map +1 -1
- package/dist/provider-json.d.ts.map +1 -1
- package/dist/provider-json.js +5 -5
- package/dist/provider-json.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -10
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-HYURWSD6.js +0 -40
- package/dist/bundle/decode-E2NM5SSM.js +0 -165
- package/dist/bundle/entry-2IMSWRJU.js +0 -25
- package/dist/bundle/first-run-7CPHQDM5.js +0 -30
- package/dist/bundle/first-screen-OKZ7GMFR.js +0 -38
- package/dist/bundle/google-WDKDBDD4.js +0 -45
- package/dist/bundle/grants-AU25GWKF.js +0 -110
- package/dist/bundle/oauth-3JGSN47Z.js +0 -22
- package/dist/bundle/server-6YDI4Y36.js +0 -72
- package/dist/bundle/store-maintenance-command-UJ5F5L4H.js +0 -64
- package/dist/bundle/tokens-LY3WML55.js +0 -110
- package/dist/knowledge-query.d.ts +0 -77
- package/dist/knowledge-query.d.ts.map +0 -1
- package/dist/knowledge-query.js +0 -104
- package/dist/knowledge-query.js.map +0 -1
- package/dist/bundle/{chunk-XWBPP2HX.js → chunk-ZI3YTXSF.js} +0 -0
- package/dist/bundle/{mdast-util-from-markdown-CE73EWJ2.js → mdast-util-from-markdown-FXEPSNER.js} +3 -3
package/contracts/wirecat.json
CHANGED
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"local": "read"
|
|
236
236
|
},
|
|
237
237
|
"permission": "folders.list",
|
|
238
|
-
"entity": "
|
|
238
|
+
"entity": "selected_folder"
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
"path": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"local": "read"
|
|
346
346
|
},
|
|
347
347
|
"permission": "documents.list",
|
|
348
|
-
"entity": "
|
|
348
|
+
"entity": "document"
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
351
|
"path": [
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
"local": "read"
|
|
542
542
|
},
|
|
543
543
|
"permission": "catalog.tags.list",
|
|
544
|
-
"entity": "
|
|
544
|
+
"entity": "document_tag"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
"path": [
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
"local": "read"
|
|
581
581
|
},
|
|
582
582
|
"permission": "tags.list",
|
|
583
|
-
"entity": "
|
|
583
|
+
"entity": "document_tag"
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
586
|
"path": [
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"local": "read"
|
|
618
618
|
},
|
|
619
619
|
"permission": "relationships.list",
|
|
620
|
-
"entity": "
|
|
620
|
+
"entity": "document_relationship"
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
623
|
"path": [
|
|
@@ -865,7 +865,7 @@
|
|
|
865
865
|
"local": "read"
|
|
866
866
|
},
|
|
867
867
|
"permission": "identities.list",
|
|
868
|
-
"entity": "
|
|
868
|
+
"entity": "document_identity"
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
871
|
"path": [
|
|
@@ -2319,7 +2319,7 @@
|
|
|
2319
2319
|
"local": "read"
|
|
2320
2320
|
},
|
|
2321
2321
|
"permission": "mirrors.list",
|
|
2322
|
-
"entity": "
|
|
2322
|
+
"entity": "mirror"
|
|
2323
2323
|
},
|
|
2324
2324
|
{
|
|
2325
2325
|
"path": [
|
|
@@ -2574,7 +2574,7 @@
|
|
|
2574
2574
|
"storage"
|
|
2575
2575
|
]
|
|
2576
2576
|
},
|
|
2577
|
-
"
|
|
2577
|
+
"selected_folder": {
|
|
2578
2578
|
"fields": [
|
|
2579
2579
|
"id"
|
|
2580
2580
|
]
|
|
@@ -2595,12 +2595,12 @@
|
|
|
2595
2595
|
"mime"
|
|
2596
2596
|
]
|
|
2597
2597
|
},
|
|
2598
|
-
"
|
|
2598
|
+
"document_tag": {
|
|
2599
2599
|
"fields": [
|
|
2600
2600
|
"tag"
|
|
2601
2601
|
]
|
|
2602
2602
|
},
|
|
2603
|
-
"
|
|
2603
|
+
"document_relationship": {
|
|
2604
2604
|
"fields": [
|
|
2605
2605
|
"id",
|
|
2606
2606
|
"from",
|
|
@@ -2648,9 +2648,10 @@
|
|
|
2648
2648
|
"status"
|
|
2649
2649
|
]
|
|
2650
2650
|
},
|
|
2651
|
-
"
|
|
2651
|
+
"document_identity": {
|
|
2652
2652
|
"fields": [
|
|
2653
|
-
"
|
|
2653
|
+
"remote_id",
|
|
2654
|
+
"provider",
|
|
2654
2655
|
"role"
|
|
2655
2656
|
]
|
|
2656
2657
|
},
|
|
@@ -2684,7 +2685,7 @@
|
|
|
2684
2685
|
"id"
|
|
2685
2686
|
]
|
|
2686
2687
|
},
|
|
2687
|
-
"
|
|
2688
|
+
"mirror": {
|
|
2688
2689
|
"fields": [
|
|
2689
2690
|
"id",
|
|
2690
2691
|
"path",
|
package/dist/age.d.ts
CHANGED
|
@@ -1,39 +1,3 @@
|
|
|
1
|
-
import type { SyncState } from "./model.js";
|
|
2
|
-
export interface CopyAge {
|
|
3
|
-
synced_at: string | null;
|
|
4
|
-
age_days: number | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const ageOf: (state: Pick<SyncState, "lastSync">, now?: number) => CopyAge;
|
|
7
|
-
export declare const staleCopy: (state: Pick<SyncState, "lastSync">, now?: number) => {
|
|
8
|
-
missing?: undefined;
|
|
9
|
-
next?: undefined;
|
|
10
|
-
meta?: undefined;
|
|
11
|
-
} | {
|
|
12
|
-
missing: {
|
|
13
|
-
field: string;
|
|
14
|
-
why: string;
|
|
15
|
-
step: string;
|
|
16
|
-
}[];
|
|
17
|
-
next: ({
|
|
18
|
-
kind: "command";
|
|
19
|
-
step: string;
|
|
20
|
-
command: string;
|
|
21
|
-
args: {
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
line?: string | undefined;
|
|
25
|
-
why: string;
|
|
26
|
-
safe_to_auto_execute: boolean;
|
|
27
|
-
} | {
|
|
28
|
-
kind: "user_action";
|
|
29
|
-
step: string;
|
|
30
|
-
why: string;
|
|
31
|
-
safe_to_auto_execute: false;
|
|
32
|
-
})[];
|
|
33
|
-
meta: {
|
|
34
|
-
complete: false;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
1
|
export interface Freshness {
|
|
38
2
|
changed: boolean;
|
|
39
3
|
remote_modified_at: string;
|
package/dist/age.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"age.d.ts","sourceRoot":"","sources":["../src/age.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"age.d.ts","sourceRoot":"","sources":["../src/age.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;CACjC;AAED,eAAO,MAAM,SAAS,WAAY,MAAM,SAAS,MAAM,GAAG,SAAS,KAAG,SAIpE,CAAA;AAEF,eAAO,MAAM,WAAW,mCAAoC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpE,CAAA"}
|
package/dist/age.js
CHANGED
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
import { defineSteps, stepOf } from "@wirecat/cli-base/standards";
|
|
2
|
-
const DAY = 24 * 60 * 60 * 1000;
|
|
3
2
|
const SYNC = defineSteps([
|
|
4
3
|
{ id: "sync.run", command: "sync", args: [], why: "copy the changes Google has made into the local store" },
|
|
5
4
|
])[0];
|
|
6
|
-
export const ageOf = (state, now = Date.now()) => {
|
|
7
|
-
const at = state.lastSync ? Date.parse(state.lastSync) : Number.NaN;
|
|
8
|
-
return Number.isNaN(at)
|
|
9
|
-
? { synced_at: null, age_days: null }
|
|
10
|
-
: { synced_at: state.lastSync ?? null, age_days: Math.max(0, Math.floor((now - at) / DAY)) };
|
|
11
|
-
};
|
|
12
|
-
// Drive reads only the local copy: when it is older than a day, say so instead of letting it pass for current.
|
|
13
|
-
export const staleCopy = (state, now = Date.now()) => {
|
|
14
|
-
const { synced_at, age_days } = ageOf(state, now);
|
|
15
|
-
const old = synced_at === null || now - Date.parse(synced_at) > DAY;
|
|
16
|
-
if (!old)
|
|
17
|
-
return {};
|
|
18
|
-
const why = age_days === null
|
|
19
|
-
? "the local copy has no sync time; Google may have changed the document since it was copied"
|
|
20
|
-
: `the local copy was synced ${age_days} day${age_days === 1 ? "" : "s"} ago; Google may have changed the document since`;
|
|
21
|
-
return {
|
|
22
|
-
missing: [{ field: "synced_at", why, step: SYNC.id }],
|
|
23
|
-
next: [stepOf(SYNC)],
|
|
24
|
-
meta: { complete: false },
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
5
|
export const freshness = (remote, local) => ({
|
|
28
6
|
changed: local === undefined || Date.parse(remote) !== Date.parse(local),
|
|
29
7
|
remote_modified_at: remote,
|
package/dist/age.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"age.js","sourceRoot":"","sources":["../src/age.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAuB,MAAM,EAAE,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"age.js","sourceRoot":"","sources":["../src/age.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAuB,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEtF,MAAM,IAAI,GAAG,WAAW,CAAC;IACvB,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,uDAAuD,EAAE;CAC5G,CAAC,CAAC,CAAC,CAAmB,CAAA;AAQvB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,MAAc,EAAE,KAAyB,EAAa,EAAE,CAAC,CAAC;IAClF,OAAO,EAAE,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IACxE,kBAAkB,EAAE,MAAM;IAC1B,iBAAiB,EAAE,KAAK,IAAI,IAAI;CACjC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAa,EAAE,EAAE;IACvE,IAAI,CAAC,OAAO;QAAE,OAAO,EAAE,CAAA;IACvB,MAAM,GAAG,GACP,iBAAiB,KAAK,IAAI;QACxB,CAAC,CAAC,2EAA2E;QAC7E,CAAC,CAAC,8DAA8D,iBAAiB,GAAG,CAAA;IACxF,OAAO;QACL,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAqB;QAC3E,IAAI,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAsB;QACzC,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAA0B;KAClD,CAAA;AACH,CAAC,CAAA"}
|
package/dist/bin/drive.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.70.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/all-profiles-FW3GK3QO.js","../bundle/anthropic-QVKJT3II.js","../bundle/app-server-QU73RD5R.js","../bundle/bun-5XCD5CBB.js","../bundle/bun-sqlite-TIGSVNSV.js","../bundle/cli-K4D4DIGQ.js","../bundle/command-contract-V3F452QI.js","../bundle/command-server-entry-WREK3QBB.js","../bundle/decode-SEETPKBH.js","../bundle/dispatch-SQCEURVK.js","../bundle/dist-MWTMOYWT.js","../bundle/echarts-WZ5RKFCX.js","../bundle/embed-B2UCRZZR.js","../bundle/embedder-4R6Z7G7L.js","../bundle/entry-ORZYRJ5N.js","../bundle/failure-CYNXH3RQ.js","../bundle/first-run-KAKA6KBY.js","../bundle/first-screen-R645UHRH.js","../bundle/google-BSO3YB7N.js","../bundle/google-api-SAND2F7L.js","../bundle/grants-PLNFYARD.js","../bundle/identity-JVVGS4U6.js","../bundle/instructions-JSMTSB22.js","../bundle/login-6WG3YBDU.js","../bundle/mcp-VFIOZDVY.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/meeting-combined-SUKMFK3F.js","../bundle/meeting-model-S4YGKIFI.js","../bundle/meeting-semantic-5U7JQCFF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-VJMVHOWD.js","../bundle/node-sqlite-DCNT3HVE.js","../bundle/oauth-KCMNQ3ZP.js","../bundle/open-NFOEHVW7.js","../bundle/openai-D47WY7EC.js","../bundle/process-Q2FRU5VA.js","../bundle/program-T2AJJQEM.js","../bundle/prompt-YJSDABXN.js","../bundle/reasons-WEHPCSJX.js","../bundle/recognize-6OBEIEB3.js","../bundle/remote-3SL2QJ7T.js","../bundle/rerank-L6F5SLIB.js","../bundle/serve-GYSWIWH4.js","../bundle/server-BI46BSRE.js","../bundle/server-GWWP3RIT.js","../bundle/services-BDQBRXT5.js","../bundle/sqlite-runtime-ZSZGAUYB.js","../bundle/start-BJ275RUK.js","../bundle/state-HLNGFI2T.js","../bundle/store-I43KZNJW.js","../bundle/store-OSRTGYGI.js","../bundle/store-maintenance-command-FO7LEVSL.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-DB7O7QNB.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -7,31 +7,31 @@ import {
|
|
|
7
7
|
answeredWire,
|
|
8
8
|
callerOf,
|
|
9
9
|
serveStdio
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F5KJWRF5.js";
|
|
11
11
|
import {
|
|
12
12
|
McpServer
|
|
13
13
|
} from "./chunk-5D4AEUVA.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-54BQWRJL.js";
|
|
15
|
+
import "./chunk-GK3BJMGK.js";
|
|
16
|
+
import "./chunk-RLNZ7NX5.js";
|
|
17
|
+
import "./chunk-ZI3YTXSF.js";
|
|
18
|
+
import "./chunk-HRATXUFH.js";
|
|
19
19
|
import {
|
|
20
20
|
errorObjectOf,
|
|
21
21
|
mcpErrorResult
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SONPLYV7.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ABZ2NYDT.js";
|
|
25
|
+
import "./chunk-7IBENBCK.js";
|
|
26
|
+
import "./chunk-HHAZ6DCY.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-54NDYVZA.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
35
35
|
import { spawn } from "node:child_process";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
var PROTOCOL = "2025-06-18";
|
|
@@ -252,7 +252,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
252
252
|
}, "serveAllProfilesOverStdio");
|
|
253
253
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
254
254
|
const { build, close } = allProfilesServer(options);
|
|
255
|
-
const { serveOverHttp } = await import("./serve-
|
|
255
|
+
const { serveOverHttp } = await import("./serve-GYSWIWH4.js");
|
|
256
256
|
const listening = await serveOverHttp(build, {
|
|
257
257
|
...http,
|
|
258
258
|
appName: options.command,
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZCXWV4XO.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-ADLS6FVG.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-HRATXUFH.js";
|
|
13
|
+
import "./chunk-SONPLYV7.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ABZ2NYDT.js";
|
|
16
|
+
import "./chunk-7IBENBCK.js";
|
|
17
17
|
import {
|
|
18
18
|
array,
|
|
19
19
|
literal,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
strictObject,
|
|
24
24
|
string,
|
|
25
25
|
unknown
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-HHAZ6DCY.js";
|
|
27
|
+
import "./chunk-54NDYVZA.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
33
33
|
var options = strictObject({
|
|
34
34
|
stop_sequences: optional(array(string())),
|
|
35
35
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,51 +3,54 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YRUR3E3E.js";
|
|
7
|
+
import {
|
|
8
|
+
mcpUrlOf
|
|
9
|
+
} from "./chunk-RCTOWLCD.js";
|
|
7
10
|
import {
|
|
8
11
|
answered,
|
|
9
12
|
failed,
|
|
10
13
|
registerCommands,
|
|
11
14
|
runCommandForAgent,
|
|
12
15
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
mcpUrlOf
|
|
16
|
-
} from "./chunk-KUQDBWPU.js";
|
|
16
|
+
} from "./chunk-IGNIUDI3.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import {
|
|
22
|
-
appInstructions
|
|
23
|
-
} from "./chunk-CAQ5GW3A.js";
|
|
20
|
+
} from "./chunk-KSJAFMU5.js";
|
|
24
21
|
import {
|
|
25
22
|
StdioServerTransport,
|
|
26
23
|
answeredWire,
|
|
27
24
|
serveStdio
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-F5KJWRF5.js";
|
|
26
|
+
import {
|
|
27
|
+
appInstructions
|
|
28
|
+
} from "./chunk-BFKFKDPC.js";
|
|
29
29
|
import {
|
|
30
30
|
McpServer
|
|
31
31
|
} from "./chunk-5D4AEUVA.js";
|
|
32
|
-
import "./chunk-2DS2TDGW.js";
|
|
33
|
-
import "./chunk-RLGQMMYE.js";
|
|
34
|
-
import "./chunk-HEBZCKMU.js";
|
|
35
|
-
import "./chunk-5B5NOAIA.js";
|
|
36
|
-
import "./chunk-EL2E3ABX.js";
|
|
37
|
-
import "./chunk-U3RXH6RY.js";
|
|
38
|
-
import "./chunk-FIVFP53N.js";
|
|
39
32
|
import {
|
|
40
33
|
mcpHttpMarker
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-ZHZYGY5R.js";
|
|
35
|
+
import "./chunk-3UZ4OH22.js";
|
|
36
|
+
import "./chunk-AV5UKJZM.js";
|
|
37
|
+
import "./chunk-WWE5GO6G.js";
|
|
38
|
+
import "./chunk-GAHIHE4K.js";
|
|
39
|
+
import "./chunk-PN4JYURZ.js";
|
|
40
|
+
import "./chunk-I7YSHUPW.js";
|
|
41
|
+
import "./chunk-7QSRODXM.js";
|
|
42
|
+
import "./chunk-3TCMANIM.js";
|
|
43
|
+
import "./chunk-RQNRYF6D.js";
|
|
44
|
+
import "./chunk-FADAOLGB.js";
|
|
45
|
+
import "./chunk-GA3URWIF.js";
|
|
46
|
+
import "./chunk-ZCXWV4XO.js";
|
|
47
|
+
import "./chunk-FCSHWUMW.js";
|
|
48
|
+
import "./chunk-FN3RXBO7.js";
|
|
49
|
+
import "./chunk-3CHW7JGR.js";
|
|
50
|
+
import "./chunk-IFTX7AQU.js";
|
|
48
51
|
import "./chunk-5DPV7X27.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-EDO5LZVF.js";
|
|
53
|
+
import "./chunk-3UWRAIWA.js";
|
|
51
54
|
import {
|
|
52
55
|
DEFAULT_OUTPUT_BYTES,
|
|
53
56
|
changesAuthorityAt,
|
|
@@ -57,49 +60,54 @@ import {
|
|
|
57
60
|
judgedTargets,
|
|
58
61
|
readsOverMcpAt,
|
|
59
62
|
rootOf2 as rootOf
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-CU6RATZH.js";
|
|
63
|
+
} from "./chunk-TGS5VPJD.js";
|
|
64
|
+
import "./chunk-FYPW7NMH.js";
|
|
65
|
+
import "./chunk-54BQWRJL.js";
|
|
64
66
|
import {
|
|
65
67
|
readOnlyLockOf
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-PR7XD2DI.js";
|
|
69
|
+
import "./chunk-4WK26MPY.js";
|
|
70
|
+
import "./chunk-TNKQDS5A.js";
|
|
71
|
+
import "./chunk-GV5DGHSA.js";
|
|
72
|
+
import "./chunk-DR57KDAY.js";
|
|
73
|
+
import "./chunk-BBFXQPKD.js";
|
|
74
|
+
import "./chunk-FONIFRYI.js";
|
|
75
|
+
import "./chunk-MXNQZAJQ.js";
|
|
76
|
+
import "./chunk-HYXXMSVD.js";
|
|
77
|
+
import "./chunk-BBRMDMIR.js";
|
|
78
|
+
import "./chunk-7DJNURKV.js";
|
|
79
|
+
import "./chunk-3AHBZP33.js";
|
|
80
|
+
import "./chunk-OY7TNUEC.js";
|
|
81
|
+
import "./chunk-6DPOWBKA.js";
|
|
82
|
+
import "./chunk-YCL3SK4T.js";
|
|
83
|
+
import "./chunk-GK3BJMGK.js";
|
|
84
|
+
import "./chunk-RLNZ7NX5.js";
|
|
85
|
+
import "./chunk-DHX27E5M.js";
|
|
86
|
+
import "./chunk-P7PLKNPX.js";
|
|
87
|
+
import "./chunk-Q5C6YKAY.js";
|
|
88
|
+
import "./chunk-WJK6KTCS.js";
|
|
89
|
+
import "./chunk-PAPY6Q6H.js";
|
|
82
90
|
import "./chunk-D72URWJE.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-66PL7P4C.js";
|
|
92
|
+
import "./chunk-ZI3YTXSF.js";
|
|
93
|
+
import "./chunk-HK225DAG.js";
|
|
94
|
+
import "./chunk-T5D4OGDC.js";
|
|
95
|
+
import "./chunk-HRATXUFH.js";
|
|
88
96
|
import {
|
|
89
97
|
mcpErrorResult
|
|
90
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-SONPLYV7.js";
|
|
91
99
|
import "./chunk-Y5E2WNWB.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-ABZ2NYDT.js";
|
|
101
|
+
import "./chunk-7IBENBCK.js";
|
|
102
|
+
import "./chunk-HHAZ6DCY.js";
|
|
95
103
|
import {
|
|
96
104
|
CliError
|
|
97
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-54NDYVZA.js";
|
|
98
106
|
import {
|
|
99
107
|
__name
|
|
100
108
|
} from "./chunk-ZVVMGPBJ.js";
|
|
101
109
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
103
111
|
var EXCLUDED = [["mcp"]];
|
|
104
112
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
105
113
|
let at = root;
|
|
@@ -216,7 +224,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
216
224
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
217
225
|
const { app } = options;
|
|
218
226
|
const { build } = createAppServer(command, context, options);
|
|
219
|
-
const { serveOverHttp } = await import("./serve-
|
|
227
|
+
const { serveOverHttp } = await import("./serve-GYSWIWH4.js");
|
|
220
228
|
const listening = await serveOverHttp(build, {
|
|
221
229
|
...http,
|
|
222
230
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PAPY6Q6H.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.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/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,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GJZSVSV3.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-T5D4OGDC.js";
|
|
10
|
+
import "./chunk-HRATXUFH.js";
|
|
11
|
+
import "./chunk-SONPLYV7.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ABZ2NYDT.js";
|
|
16
|
+
import "./chunk-7IBENBCK.js";
|
|
17
|
+
import "./chunk-HHAZ6DCY.js";
|
|
18
|
+
import "./chunk-54NDYVZA.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
24
24
|
var customised = false;
|
|
25
25
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
26
26
|
try {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
checkApiBody,
|
|
14
14
|
checkApiParameter,
|
|
15
15
|
parseApiJson
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FVTKFIQH.js";
|
|
17
17
|
import {
|
|
18
18
|
array,
|
|
19
19
|
boolean,
|
|
@@ -29,15 +29,15 @@ import {
|
|
|
29
29
|
string,
|
|
30
30
|
transform,
|
|
31
31
|
unknown
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HHAZ6DCY.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-54NDYVZA.js";
|
|
36
36
|
import {
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-ZVVMGPBJ.js";
|
|
39
39
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
|
|
41
41
|
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
42
42
|
var INTEGER = /^-?\d+$/;
|
|
43
43
|
var INT64_MIN = -(2n ** 63n);
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
normalize
|
|
5
|
+
} from "./chunk-OY7TNUEC.js";
|
|
3
6
|
import {
|
|
4
7
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-54NDYVZA.js";
|
|
6
9
|
import {
|
|
7
10
|
__name
|
|
8
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
12
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
14
|
var LANGUAGES = [
|
|
12
15
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
16
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +18,7 @@ var LANGUAGES = [
|
|
|
15
18
|
];
|
|
16
19
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
20
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
-
var NORMALIZER_VERSION = 1;
|
|
20
|
-
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
|
-
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
|
-
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
22
|
var BaseStemmer = class {
|
|
25
23
|
static {
|
|
26
24
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +393,7 @@ var BaseStemmer = class {
|
|
|
395
393
|
}
|
|
396
394
|
};
|
|
397
395
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
397
|
var a_0 = [
|
|
400
398
|
["arsen", -1],
|
|
401
399
|
["commun", -1],
|
|
@@ -1096,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1094
|
stemWord = this.stem;
|
|
1097
1095
|
};
|
|
1098
1096
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1098
|
var a_02 = [
|
|
1101
1099
|
["\u0432", 1],
|
|
1102
1100
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1517
|
stemWord = this.stem;
|
|
1520
1518
|
};
|
|
1521
1519
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1521
|
var a_03 = [
|
|
1524
1522
|
["", 6],
|
|
1525
1523
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2193
|
stemWord = this.stem;
|
|
2196
2194
|
};
|
|
2197
2195
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2197
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2198
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2199
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -2302,9 +2300,6 @@ var createStemmer = /* @__PURE__ */ __name((stemmers = DEFAULT_STEMMERS, { cache
|
|
|
2302
2300
|
|
|
2303
2301
|
export {
|
|
2304
2302
|
LANGUAGES,
|
|
2305
|
-
NORMALIZER_VERSION,
|
|
2306
|
-
fold,
|
|
2307
|
-
normalize,
|
|
2308
2303
|
SNOWBALL_VERSION,
|
|
2309
2304
|
DEFAULT_STEMMERS,
|
|
2310
2305
|
DEFAULT_STEMMERS_VERSION,
|