@wirecat/drive-cli 0.65.0 → 0.67.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 +2899 -0
- package/dist/bin/drive.js +2 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/browse.d.ts +1 -1
- package/dist/browse.d.ts.map +1 -1
- package/dist/browse.js +1 -1
- package/dist/bundle/{all-profiles-PD7GJHFA.js → all-profiles-DVZUVAPQ.js} +14 -14
- package/dist/bundle/{anthropic-PJKFON5H.js → anthropic-Y45C45O2.js} +20 -13
- package/dist/bundle/{app-server-6ELQA6FJ.js → app-server-GTXUOUGD.js} +67 -56
- package/dist/bundle/{bun-P54TGES2.js → bun-QVJV76QJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-TND5ZRJH.js → bun-sqlite-CC7PIAMH.js} +9 -9
- package/dist/bundle/{chunk-Y5PKRITX.js → chunk-2MEVCMBW.js} +5 -5
- package/dist/bundle/{chunk-ZILALBYQ.js → chunk-2PIA45FC.js} +7 -5
- package/dist/bundle/{chunk-SIWXYB4E.js → chunk-2Y3YBDZX.js} +3123 -2851
- package/dist/bundle/{chunk-54V4H6PM.js → chunk-3RG6LL25.js} +12 -12
- package/dist/bundle/{chunk-UTNRBOEN.js → chunk-4G7WQNG7.js} +3 -2
- package/dist/bundle/{chunk-OWMZUWCM.js → chunk-4VH7M2OD.js} +6 -14
- package/dist/bundle/{chunk-EM7NL5ES.js → chunk-5DMPGTNR.js} +3 -3
- package/dist/bundle/{chunk-W2XY6C5S.js → chunk-5TK2YQCO.js} +2 -2
- package/dist/bundle/{chunk-NQ5XMSLA.js → chunk-5TSILGTO.js} +21668 -28647
- package/dist/bundle/{chunk-FBHSWQU7.js → chunk-6ERQE4FS.js} +319 -102
- package/dist/bundle/{chunk-4AOINPN2.js → chunk-7AZCAUST.js} +8 -2
- package/dist/bundle/{chunk-DA63E2UM.js → chunk-7J2IP3WL.js} +18 -15
- package/dist/bundle/{chunk-JPPPLKAO.js → chunk-7JKECODO.js} +1 -2
- package/dist/bundle/{chunk-SEQWBZYH.js → chunk-AAZPDWRD.js} +1 -1
- package/dist/bundle/{chunk-CWLL63JD.js → chunk-ABJQ6IDU.js} +17 -17
- package/dist/bundle/{chunk-PHOL2DZM.js → chunk-AJ3DFPRT.js} +63 -5
- package/dist/bundle/{chunk-4EDWLR22.js → chunk-AZKFZ7J7.js} +1 -1
- package/dist/bundle/{chunk-IMHW7VIV.js → chunk-BHSLMJF7.js} +5 -5
- package/dist/bundle/{chunk-EHU6EYGO.js → chunk-C72WYRXD.js} +12 -12
- package/dist/bundle/chunk-CWDC6QJM.js +72 -0
- package/dist/bundle/{chunk-TTP4NOP3.js → chunk-D4MVEOU2.js} +4 -4
- package/dist/bundle/{chunk-ZR2EJPMQ.js → chunk-DAFKV6DJ.js} +226 -18
- package/dist/bundle/{chunk-RNHGQ35R.js → chunk-E3XA56TS.js} +1 -1
- package/dist/bundle/{chunk-ELJUBPY4.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-7TAP7Y2E.js → chunk-ETAFFY3J.js} +196 -112
- package/dist/bundle/{chunk-D6Z43SOG.js → chunk-EXWOOST5.js} +402 -362
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-HP3NT6JJ.js → chunk-FOMQ4MG3.js} +3 -3
- package/dist/bundle/{chunk-VMAMRFFC.js → chunk-FS2PG2PE.js} +117 -44
- package/dist/bundle/{chunk-6DCLZLGX.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-OFJXHEFT.js → chunk-HJF2QGOX.js} +93 -31
- package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-O6K2E7OA.js → chunk-IRULPE5M.js} +1522 -1107
- package/dist/bundle/{chunk-EU5MD24W.js → chunk-JCNEPYQZ.js} +13 -13
- package/dist/bundle/{chunk-VDZY3L7U.js → chunk-JEMBW6IO.js} +1 -1
- package/dist/bundle/{chunk-Z2ADO6UA.js → chunk-JJHDV32D.js} +2 -2
- package/dist/bundle/{chunk-FA6JNXCC.js → chunk-JLUQZZ26.js} +8 -8
- package/dist/bundle/{chunk-WRAUO5EJ.js → chunk-JO7BJYAP.js} +45 -22
- package/dist/bundle/{chunk-TOVWMURV.js → chunk-JRFKCYMW.js} +22 -7
- package/dist/bundle/{chunk-M7ELUGU6.js → chunk-JY2GZDJL.js} +4 -4
- package/dist/bundle/chunk-LSAIXPAX.js +47 -0
- package/dist/bundle/{chunk-WVJHZIDH.js → chunk-LXRBTXCZ.js} +3 -3
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-F56DRBGY.js → chunk-MBLB4TQI.js} +75 -20
- package/dist/bundle/{chunk-4Y5YBFMS.js → chunk-MEQNAZ6R.js} +7 -7
- package/dist/bundle/{chunk-XYE7XZPB.js → chunk-MEY7URZZ.js} +39 -35
- package/dist/bundle/{chunk-IBO23OID.js → chunk-MF46W7PQ.js} +2 -2
- package/dist/bundle/{chunk-7AQGVX5O.js → chunk-MW46BLWH.js} +60 -29
- package/dist/bundle/{chunk-VHQYWFWV.js → chunk-NFIR346J.js} +1 -1
- package/dist/bundle/{chunk-NI5PD5KM.js → chunk-NWYVOHIX.js} +18611 -16472
- package/dist/bundle/chunk-NYECVHFH.js +10283 -0
- package/dist/bundle/{chunk-D7WB54P7.js → chunk-OOBSSU2G.js} +546 -457
- package/dist/bundle/{chunk-VLXWAH5E.js → chunk-P6A77LMP.js} +4 -4
- package/dist/bundle/{chunk-ZD4MB7NH.js → chunk-PDHN4GHU.js} +5 -40
- package/dist/bundle/{chunk-PLP5527C.js → chunk-PV3AWPHR.js} +5 -5
- package/dist/bundle/{chunk-TMHF4BCL.js → chunk-QOKPRFHM.js} +2 -2
- package/dist/bundle/{chunk-JMJIH6JH.js → chunk-RC72RU66.js} +6 -6
- package/dist/bundle/{chunk-NQRTKYJB.js → chunk-RLH6BOEG.js} +47 -80
- package/dist/bundle/{chunk-II4S2DBJ.js → chunk-SJE7UGOW.js} +12 -6
- package/dist/bundle/{chunk-LMKPP2JP.js → chunk-SXJDCRXE.js} +1 -1
- package/dist/bundle/{chunk-B2LPCHQN.js → chunk-T2VAEDJS.js} +4 -4
- package/dist/bundle/{chunk-I272E6UR.js → chunk-U2ERT45N.js} +54 -117
- package/dist/bundle/{chunk-A27UVLPK.js → chunk-UFNE57VY.js} +3 -3
- package/dist/bundle/{chunk-5XSBCMAF.js → chunk-ULH3TNUP.js} +4 -4
- package/dist/bundle/{chunk-3ONWN3IA.js → chunk-UOAHZV3K.js} +161 -48
- package/dist/bundle/{chunk-ECEP4SO3.js → chunk-UPCEHSIZ.js} +10 -10
- package/dist/bundle/{chunk-42G2XNPN.js → chunk-V7E25BUU.js} +2 -2
- package/dist/bundle/{chunk-EZ2OLYEK.js → chunk-VZ5KETIX.js} +14 -5
- package/dist/bundle/{chunk-X7YGGWXI.js → chunk-WBKYZZQT.js} +3 -2
- package/dist/bundle/{chunk-GW3LBY3T.js → chunk-WKIQKGOF.js} +146 -133
- package/dist/bundle/{chunk-O7ZDCOZE.js → chunk-WWW7YTFG.js} +1 -1
- package/dist/bundle/{chunk-2AFI4KGI.js → chunk-XZCF5XU7.js} +7 -7
- package/dist/bundle/chunk-Y2QVNVHK.js +70 -0
- package/dist/bundle/{chunk-WRMJN6UQ.js → chunk-Y5WSRG3F.js} +3 -3
- package/dist/bundle/{chunk-A4QNADEX.js → chunk-YI4DXASF.js} +49 -49
- package/dist/bundle/{chunk-SS4LKLD7.js → chunk-YVUAG7RF.js} +371 -362
- package/dist/bundle/chunk-ZEPDEFVT.js +71 -0
- package/dist/bundle/{chunk-SE352DBY.js → chunk-ZH4H5XTA.js} +1 -1
- package/dist/bundle/{chunk-3HXNDF6Q.js → chunk-ZK46UHDP.js} +2 -2
- package/dist/bundle/{chunk-SNLSEYJO.js → chunk-ZU5VQYNY.js} +1 -1
- package/dist/bundle/cli-U4LSBYDV.js +1101 -0
- package/dist/bundle/command-contract-UU5T24ZZ.js +41 -0
- package/dist/bundle/{command-server-entry-36JXYIJB.js → command-server-entry-PK6FBUPO.js} +31 -30
- package/dist/bundle/{decode-T5ZW57WZ.js → decode-3ZE6NBKV.js} +8 -8
- package/dist/bundle/{dispatch-RMA2XFYA.js → dispatch-WBEOHZDV.js} +9 -9
- package/dist/bundle/drive.js +13 -13
- package/dist/bundle/{echarts-KQ44LPSF.js → echarts-6FWNCNXK.js} +2 -2
- package/dist/bundle/{embed-Q7XST53J.js → embed-DGYBBZUW.js} +9 -9
- package/dist/bundle/{embedder-RWZSBVW2.js → embedder-O7A6VMWI.js} +12 -12
- package/dist/bundle/entry-CDJ2QSU2.js +25 -0
- package/dist/bundle/{failure-7NP4QPIN.js → failure-X6PSLVSO.js} +4 -4
- package/dist/bundle/first-run-UOQW7DN5.js +30 -0
- package/dist/bundle/first-screen-SNDV4YKF.js +39 -0
- package/dist/bundle/google-HPX52KMC.js +45 -0
- package/dist/bundle/{google-api-P5DRHD7L.js → google-api-HIMN4XL5.js} +68 -63
- package/dist/bundle/grants-RO42I6E4.js +111 -0
- package/dist/bundle/{identity-VDV6CHRW.js → identity-NFGHDPLL.js} +8 -6
- package/dist/bundle/{instructions-Q45FVY6H.js → instructions-6JAQYCM6.js} +1 -1
- package/dist/bundle/{login-XKN3NI6X.js → login-RZOQN63N.js} +73 -70
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-MSW565D3.js → node-KSIX3GIH.js} +2 -2
- package/dist/bundle/{node-sqlite-S74XVVHL.js → node-sqlite-4FJ6WJXN.js} +10 -10
- package/dist/bundle/oauth-BKZAMFKK.js +22 -0
- package/dist/bundle/{open-P7UQG7XJ.js → open-4AQJGH42.js} +8 -8
- package/dist/bundle/{openai-DDHJ57KZ.js → openai-24F2OX55.js} +28 -21
- package/dist/bundle/{process-NMUB5SHK.js → process-7NOA2T7H.js} +1 -1
- package/dist/bundle/{program-PJNWP6JW.js → program-7JHMLDEX.js} +306 -692
- package/dist/bundle/{prompt-VOSMK4C2.js → prompt-NM66MAZ4.js} +8 -8
- package/dist/bundle/{reasons-KDAXOC5S.js → reasons-KSYP5VDJ.js} +5 -5
- package/dist/bundle/{recognize-GZIY63HS.js → recognize-DBKV2JYZ.js} +7 -7
- package/dist/bundle/{remote-V3YGN7LN.js → remote-ABWUTBVB.js} +13 -10
- package/dist/bundle/{rerank-XRU6AVN7.js → rerank-FQAU4ENY.js} +10 -10
- package/dist/bundle/{serve-NDOAFA57.js → serve-QLJG4QZD.js} +12 -12
- package/dist/bundle/server-NUBLY5SV.js +74 -0
- package/dist/bundle/{server-BKGWJYMC.js → server-VGZNK5XD.js} +47 -45
- package/dist/bundle/{services-TYDMFQCA.js → services-5KARVUHK.js} +44 -34
- package/dist/bundle/{sqlite-runtime-UAFJKSJR.js → sqlite-runtime-ILF6EFQJ.js} +9 -9
- package/dist/bundle/{start-2ZLDP2OE.js → start-C6EXYXAL.js} +7 -7
- package/dist/bundle/{state-6SP27J2K.js → state-R2M56GPU.js} +9 -9
- package/dist/bundle/{store-4UUY545Q.js → store-2OBVMUQL.js} +21 -19
- package/dist/bundle/{store-EJN27MXI.js → store-DA4K7HWW.js} +23 -21
- package/dist/bundle/store-maintenance-command-KSIPI5B5.js +65 -0
- package/dist/bundle/tokens-VQDGSHRB.js +111 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -3
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/discovery.d.ts +0 -1
- package/dist/commands/discovery.d.ts.map +1 -1
- package/dist/commands/discovery.js +6 -26
- package/dist/commands/discovery.js.map +1 -1
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +7 -6
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +15 -12
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +2 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/transcripts.d.ts +4 -0
- package/dist/commands/transcripts.d.ts.map +1 -0
- package/dist/commands/transcripts.js +42 -0
- package/dist/commands/transcripts.js.map +1 -0
- package/dist/config.d.ts +10 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -3
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides.d.ts +16 -4
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +86 -410
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +4 -0
- package/dist/errors.js.map +1 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +4 -1
- package/dist/google-api.js.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +31 -28
- package/dist/google.js.map +1 -1
- package/dist/identity.d.ts +4 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +22 -0
- package/dist/identity.js.map +1 -1
- package/dist/knowledge.js +2 -2
- package/dist/knowledge.js.map +1 -1
- package/dist/list-queries.d.ts +10 -0
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +12 -1
- package/dist/list-queries.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +2 -2
- package/dist/login.js.map +1 -1
- package/dist/model.d.ts +4 -1
- package/dist/model.d.ts.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +10 -6
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +2 -0
- package/dist/state.js.map +1 -1
- package/dist/store-transition.js +2 -2
- package/dist/store-transition.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +7 -7
- package/dist/store.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +5 -1
- package/dist/sync.js.map +1 -1
- package/dist/tokens.d.ts +9 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +18 -15
- package/dist/tokens.js.map +1 -1
- package/dist/transcripts.d.ts +21 -0
- package/dist/transcripts.d.ts.map +1 -0
- package/dist/transcripts.js +48 -0
- package/dist/transcripts.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +7 -7
- package/dist/bundle/chunk-CGQRZRTH.js +0 -26
- package/dist/bundle/chunk-IKHOIXJR.js +0 -27
- package/dist/bundle/chunk-SBZB7HMU.js +0 -1055
- package/dist/bundle/command-contract-25E4PYMD.js +0 -40
- package/dist/bundle/dist-PY3MVR3G.js +0 -21
- package/dist/bundle/entry-HPLW4QL2.js +0 -25
- package/dist/bundle/first-run-RL3RKYZW.js +0 -30
- package/dist/bundle/first-screen-NX3TM2VJ.js +0 -38
- package/dist/bundle/google-DPD5N6AQ.js +0 -42
- package/dist/bundle/grants-TX4MHLI4.js +0 -109
- package/dist/bundle/oauth-6R7AWAES.js +0 -22
- package/dist/bundle/server-QD2MUJJZ.js +0 -72
- package/dist/bundle/store-maintenance-command-LETURZDC.js +0 -60
- package/dist/bundle/tokens-MTFJPTYT.js +0 -107
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
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.67.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-DVZUVAPQ.js","../bundle/anthropic-Y45C45O2.js","../bundle/app-server-GTXUOUGD.js","../bundle/bun-QVJV76QJ.js","../bundle/bun-sqlite-CC7PIAMH.js","../bundle/cli-U4LSBYDV.js","../bundle/command-contract-UU5T24ZZ.js","../bundle/command-server-entry-PK6FBUPO.js","../bundle/decode-3ZE6NBKV.js","../bundle/dispatch-WBEOHZDV.js","../bundle/dist-MWTMOYWT.js","../bundle/echarts-6FWNCNXK.js","../bundle/embed-DGYBBZUW.js","../bundle/embedder-O7A6VMWI.js","../bundle/entry-CDJ2QSU2.js","../bundle/failure-X6PSLVSO.js","../bundle/first-run-UOQW7DN5.js","../bundle/first-screen-SNDV4YKF.js","../bundle/google-HPX52KMC.js","../bundle/google-api-HIMN4XL5.js","../bundle/grants-RO42I6E4.js","../bundle/identity-NFGHDPLL.js","../bundle/instructions-6JAQYCM6.js","../bundle/login-RZOQN63N.js","../bundle/mcp-TDKGDB4V.js","../bundle/mdast-util-from-markdown-CE73EWJ2.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-KSIX3GIH.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-4FJ6WJXN.js","../bundle/oauth-BKZAMFKK.js","../bundle/open-4AQJGH42.js","../bundle/openai-24F2OX55.js","../bundle/process-7NOA2T7H.js","../bundle/program-7JHMLDEX.js","../bundle/prompt-NM66MAZ4.js","../bundle/reasons-KSYP5VDJ.js","../bundle/recognize-DBKV2JYZ.js","../bundle/remote-ABWUTBVB.js","../bundle/rerank-FQAU4ENY.js","../bundle/serve-QLJG4QZD.js","../bundle/server-NUBLY5SV.js","../bundle/server-VGZNK5XD.js","../bundle/services-5KARVUHK.js","../bundle/sqlite-runtime-ILF6EFQJ.js","../bundle/start-C6EXYXAL.js","../bundle/state-R2M56GPU.js","../bundle/store-2OBVMUQL.js","../bundle/store-DA4K7HWW.js","../bundle/store-maintenance-command-KSIPI5B5.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-VQDGSHRB.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
package/dist/bin/drive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/bin/drive.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/F,oGAAoG;AACpG,kBAAkB,EAAE,CAAA;AACpB,mDAAmD;AACnD,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/bin/drive.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/F,oGAAoG;AACpG,kBAAkB,EAAE,CAAA;AACpB,mDAAmD;AACnD,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;IAChE,MAAM,CAAC,8BAA8B,CAAC;IACtC,MAAM,CAAC,gBAAgB,CAAC;CACzB,CAAC,CAAA;AACF,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC;IAC3B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,IAAI,EAAE,OAAO,CAAC,IAAI;CACnB,CAAC,CAAA;AACF,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;IAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC;KAAM,CAAC;IACN,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACvE,MAAM,CAAC,6BAA6B,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC;QACvB,MAAM,CAAC,gBAAgB,CAAC;KACzB,CAAC,CAAA;IAEF,MAAM,QAAQ,CAAC;QACb,GAAG,EAAE,SAAS;QACd,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,OAAO;QAChB,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CACnB,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YAC9C,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC;YACxC,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC;SAC1E,CAAC;QACJ,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACrB,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;YACnC,cAAc,CAAC,UAAU,CACvB,WAAW,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CACnG,CAAA;YACD,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;QAChC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
package/dist/browse.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const browseRow: v.StrictObjectSchema<{
|
|
|
14
14
|
readonly added: v.BooleanSchema<undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
export type BrowseRow = v.InferOutput<typeof browseRow>;
|
|
17
|
-
export declare const BROWSE_HELP = "\nEach item, one level of the tree (--json prints them under \"items\"):\n id folder id to pass to --parent or to folders add; shared-with-me at the top level\n name folder name as Google shows it\n kind my_drive, shared_with_me or shared_drive (the top level), folder (below it)\n parent the --parent given, or null at the top level\n location where the folder lives: my_drive, shared_with_me or shared_drive\n drive_id the shared drive's id, or null\n child_folders folders directly inside it, or null when not counted (Shared with me, a level of over 1000 folders)\n added whether sync already imports this folder (folders add)\nFolders are listed by name. Only folders are listed; files inside them are not.\nFailures carry error.reason:
|
|
17
|
+
export declare const BROWSE_HELP = "\nEach item, one level of the tree (--json prints them under \"items\"):\n id folder id to pass to --parent or to folders add; shared-with-me at the top level\n name folder name as Google shows it\n kind my_drive, shared_with_me or shared_drive (the top level), folder (below it)\n parent the --parent given, or null at the top level\n location where the folder lives: my_drive, shared_with_me or shared_drive\n drive_id the shared drive's id, or null\n child_folders folders directly inside it, or null when not counted (Shared with me, a level of over 1000 folders)\n added whether sync already imports this folder (folders add)\nFolders are listed by name. Only folders are listed; files inside them are not.\nFailures carry error.reason: session.missing (not signed in), oauth.expired (sign in again),\nprovider.rate-limited (retry later), not_found code (no such folder).";
|
|
18
18
|
/** One level of the owner's remote folders, read-only: the top level, or the folders directly inside `parent`. */
|
|
19
19
|
export declare const browseFolders: (call: Call, parent: string | undefined, selected: readonly string[]) => Promise<ListBody<BrowseRow>>;
|
|
20
20
|
//# sourceMappingURL=browse.d.ts.map
|
package/dist/browse.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../src/browse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,0GAA0G;AAC1G,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAE9C,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;AAExF,eAAO,MAAM,SAAS;;;;;;;;;aASpB,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvD,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../src/browse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,0GAA0G;AAC1G,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAE9C,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;AAExF,eAAO,MAAM,SAAS;;;;;;;;;aASpB,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvD,eAAO,MAAM,WAAW,u7BAY8C,CAAA;AAyHtE,kHAAkH;AAClH,eAAO,MAAM,aAAa,SAClB,IAAI,UACF,MAAM,GAAG,SAAS,YAChB,SAAS,MAAM,EAAE,KAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAmC7B,CAAA"}
|
package/dist/browse.js
CHANGED
|
@@ -26,7 +26,7 @@ Each item, one level of the tree (--json prints them under "items"):
|
|
|
26
26
|
child_folders folders directly inside it, or null when not counted (Shared with me, a level of over 1000 folders)
|
|
27
27
|
added whether sync already imports this folder (folders add)
|
|
28
28
|
Folders are listed by name. Only folders are listed; files inside them are not.
|
|
29
|
-
Failures carry error.reason:
|
|
29
|
+
Failures carry error.reason: session.missing (not signed in), oauth.expired (sign in again),
|
|
30
30
|
provider.rate-limited (retry later), not_found code (no such folder).`;
|
|
31
31
|
const PAGE_BOUND = 1000;
|
|
32
32
|
const COUNTED_LEVEL = 1000;
|
|
@@ -2,33 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AZKFZ7J7.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V7E25BUU.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7J2IP3WL.js";
|
|
17
|
+
import "./chunk-WBKYZZQT.js";
|
|
18
|
+
import "./chunk-7AZCAUST.js";
|
|
19
|
+
import "./chunk-XWBPP2HX.js";
|
|
20
|
+
import "./chunk-MW46BLWH.js";
|
|
21
|
+
import "./chunk-PV3AWPHR.js";
|
|
22
22
|
import "./chunk-Y5E2WNWB.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HCZYJMBP.js";
|
|
24
|
+
import "./chunk-5TK2YQCO.js";
|
|
25
|
+
import "./chunk-JRFKCYMW.js";
|
|
26
|
+
import "./chunk-EA2OB75T.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
32
32
|
import { spawn } from "node:child_process";
|
|
33
33
|
import { randomUUID } from "node:crypto";
|
|
34
34
|
var PROTOCOL = "2025-06-18";
|
|
@@ -262,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
262
262
|
}, "serveAllProfilesOverStdio");
|
|
263
263
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
264
264
|
const { build, close } = allProfilesServer(options);
|
|
265
|
-
const { serveOverHttp } = await import("./serve-
|
|
265
|
+
const { serveOverHttp } = await import("./serve-QLJG4QZD.js");
|
|
266
266
|
const listening = await serveOverHttp(build, {
|
|
267
267
|
...http,
|
|
268
268
|
appName: options.command,
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
+
EmptyAnswer,
|
|
4
5
|
checkedOptions,
|
|
5
6
|
messagesFor,
|
|
6
7
|
systemFor
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VZ5KETIX.js";
|
|
8
9
|
import {
|
|
9
10
|
Anthropic
|
|
10
11
|
} from "./chunk-ADLS6FVG.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-MW46BLWH.js";
|
|
13
|
+
import "./chunk-PV3AWPHR.js";
|
|
13
14
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-HCZYJMBP.js";
|
|
16
|
+
import "./chunk-5TK2YQCO.js";
|
|
16
17
|
import {
|
|
17
18
|
array,
|
|
18
19
|
literal,
|
|
@@ -22,13 +23,13 @@ import {
|
|
|
22
23
|
strictObject,
|
|
23
24
|
string,
|
|
24
25
|
unknown
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-JRFKCYMW.js";
|
|
27
|
+
import "./chunk-EA2OB75T.js";
|
|
27
28
|
import {
|
|
28
29
|
__name
|
|
29
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
31
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
32
33
|
var options = strictObject({
|
|
33
34
|
stop_sequences: optional(array(string())),
|
|
34
35
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -60,10 +61,13 @@ var anthropic = {
|
|
|
60
61
|
...request.images === void 0 ? [] : [
|
|
61
62
|
{
|
|
62
63
|
role: "user",
|
|
63
|
-
content:
|
|
64
|
-
type: "
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
content: [
|
|
65
|
+
{ type: "text", text: request.prompt },
|
|
66
|
+
...request.images.map((image) => ({
|
|
67
|
+
type: "image",
|
|
68
|
+
source: { type: "base64", media_type: image.mimeType, data: image.data }
|
|
69
|
+
}))
|
|
70
|
+
]
|
|
67
71
|
}
|
|
68
72
|
]
|
|
69
73
|
],
|
|
@@ -71,8 +75,11 @@ var anthropic = {
|
|
|
71
75
|
}).finalMessage();
|
|
72
76
|
if (response.stop_reason !== "end_turn")
|
|
73
77
|
throw new Error("incomplete response");
|
|
78
|
+
const text = response.content.filter((block) => block.type === "text").map((block) => block.text).join("");
|
|
79
|
+
if (text.trim() === "")
|
|
80
|
+
throw new EmptyAnswer();
|
|
74
81
|
return {
|
|
75
|
-
text
|
|
82
|
+
text,
|
|
76
83
|
usage: {
|
|
77
84
|
input: response.usage.input_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0),
|
|
78
85
|
output: response.usage.output_tokens
|
|
@@ -3,52 +3,53 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
mcpUrlOf
|
|
9
|
-
} from "./chunk-GW3LBY3T.js";
|
|
6
|
+
} from "./chunk-YI4DXASF.js";
|
|
10
7
|
import {
|
|
11
8
|
answered,
|
|
12
9
|
failed,
|
|
13
10
|
registerCommands,
|
|
14
11
|
runCommandForAgent,
|
|
15
12
|
toolsFromCommands
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UOAHZV3K.js";
|
|
14
|
+
import {
|
|
15
|
+
mcpUrlOf
|
|
16
|
+
} from "./chunk-WKIQKGOF.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OOBSSU2G.js";
|
|
21
21
|
import {
|
|
22
22
|
appInstructions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E3XA56TS.js";
|
|
24
24
|
import {
|
|
25
25
|
answeredWire
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AZKFZ7J7.js";
|
|
27
27
|
import {
|
|
28
28
|
StdioServerTransport,
|
|
29
29
|
serveStdio
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-V7E25BUU.js";
|
|
31
31
|
import {
|
|
32
32
|
McpServer
|
|
33
33
|
} from "./chunk-5D4AEUVA.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-YVUAG7RF.js";
|
|
35
|
+
import "./chunk-JO7BJYAP.js";
|
|
36
|
+
import "./chunk-IRULPE5M.js";
|
|
37
|
+
import "./chunk-6ERQE4FS.js";
|
|
38
|
+
import "./chunk-JCNEPYQZ.js";
|
|
39
|
+
import "./chunk-D4MVEOU2.js";
|
|
40
|
+
import "./chunk-FIVFP53N.js";
|
|
41
41
|
import {
|
|
42
42
|
mcpHttpMarker
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-ULH3TNUP.js";
|
|
44
|
+
import "./chunk-5DMPGTNR.js";
|
|
45
|
+
import "./chunk-VZ5KETIX.js";
|
|
46
|
+
import "./chunk-SJE7UGOW.js";
|
|
47
|
+
import "./chunk-CWDC6QJM.js";
|
|
48
|
+
import "./chunk-ABJQ6IDU.js";
|
|
49
|
+
import "./chunk-BHSLMJF7.js";
|
|
49
50
|
import "./chunk-5DPV7X27.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-AAZPDWRD.js";
|
|
52
|
+
import "./chunk-2MEVCMBW.js";
|
|
52
53
|
import {
|
|
53
54
|
DEFAULT_OUTPUT_BYTES,
|
|
54
55
|
changesAuthorityAt,
|
|
@@ -57,50 +58,58 @@ import {
|
|
|
57
58
|
judgedTargets,
|
|
58
59
|
readsOverMcpAt,
|
|
59
60
|
rootOf2 as rootOf
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-2Y3YBDZX.js";
|
|
62
|
+
import "./chunk-7J2IP3WL.js";
|
|
63
|
+
import "./chunk-MBLB4TQI.js";
|
|
64
|
+
import "./chunk-4VH7M2OD.js";
|
|
65
|
+
import "./chunk-P6A77LMP.js";
|
|
65
66
|
import {
|
|
66
67
|
readOnlyLockOf
|
|
67
|
-
} from "./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-ZEPDEFVT.js";
|
|
69
|
+
import "./chunk-WWW7YTFG.js";
|
|
70
|
+
import "./chunk-AJ3DFPRT.js";
|
|
71
|
+
import "./chunk-UFNE57VY.js";
|
|
72
|
+
import "./chunk-T2VAEDJS.js";
|
|
73
|
+
import "./chunk-JJHDV32D.js";
|
|
74
|
+
import "./chunk-NWYVOHIX.js";
|
|
75
|
+
import "./chunk-LXRBTXCZ.js";
|
|
76
|
+
import "./chunk-JLUQZZ26.js";
|
|
77
|
+
import "./chunk-RC72RU66.js";
|
|
78
|
+
import "./chunk-EXWOOST5.js";
|
|
79
|
+
import "./chunk-UPCEHSIZ.js";
|
|
80
|
+
import "./chunk-WBKYZZQT.js";
|
|
81
|
+
import "./chunk-7AZCAUST.js";
|
|
82
|
+
import "./chunk-MEQNAZ6R.js";
|
|
83
|
+
import "./chunk-SXJDCRXE.js";
|
|
82
84
|
import "./chunk-D72URWJE.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-M4OP5ASJ.js";
|
|
86
|
+
import "./chunk-XWBPP2HX.js";
|
|
87
|
+
import "./chunk-JEMBW6IO.js";
|
|
88
|
+
import "./chunk-4G7WQNG7.js";
|
|
89
|
+
import "./chunk-MW46BLWH.js";
|
|
88
90
|
import {
|
|
89
91
|
mcpErrorResult
|
|
90
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-PV3AWPHR.js";
|
|
91
93
|
import "./chunk-Y5E2WNWB.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-HCZYJMBP.js";
|
|
95
|
+
import "./chunk-5TK2YQCO.js";
|
|
96
|
+
import "./chunk-JRFKCYMW.js";
|
|
95
97
|
import {
|
|
96
98
|
CliError
|
|
97
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-EA2OB75T.js";
|
|
98
100
|
import {
|
|
99
101
|
__name
|
|
100
102
|
} from "./chunk-ZVVMGPBJ.js";
|
|
101
103
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
103
105
|
var EXCLUDED = [["mcp"]];
|
|
106
|
+
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
107
|
+
let at = root;
|
|
108
|
+
for (const name of path)
|
|
109
|
+
at = at?.commands.find((child) => child.name() === name);
|
|
110
|
+
const aliases = at?.aliases() ?? [];
|
|
111
|
+
return aliases.length > 0 ? { aliases } : {};
|
|
112
|
+
}, "aliasesOf");
|
|
104
113
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
105
114
|
const { app } = options;
|
|
106
115
|
const root = rootOf(command);
|
|
@@ -137,6 +146,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
137
146
|
{
|
|
138
147
|
title: one.title,
|
|
139
148
|
description: one.description,
|
|
149
|
+
...one.keywords ? { keywords: one.keywords } : {},
|
|
150
|
+
...aliasesOf(root, one.path),
|
|
140
151
|
writes: one.writes,
|
|
141
152
|
availability: availability(one),
|
|
142
153
|
input: one.input,
|
|
@@ -217,7 +228,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
217
228
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
218
229
|
const { app } = options;
|
|
219
230
|
const { build } = createAppServer(command, context, options);
|
|
220
|
-
const { serveOverHttp } = await import("./serve-
|
|
231
|
+
const { serveOverHttp } = await import("./serve-QLJG4QZD.js");
|
|
221
232
|
const listening = await serveOverHttp(build, {
|
|
222
233
|
...http,
|
|
223
234
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SXJDCRXE.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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/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-MF46W7PQ.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-4G7WQNG7.js";
|
|
10
|
+
import "./chunk-MW46BLWH.js";
|
|
11
|
+
import "./chunk-PV3AWPHR.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-HCZYJMBP.js";
|
|
16
|
+
import "./chunk-5TK2YQCO.js";
|
|
17
|
+
import "./chunk-JRFKCYMW.js";
|
|
18
|
+
import "./chunk-EA2OB75T.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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/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 {
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2Y3YBDZX.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MBLB4TQI.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JRFKCYMW.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EA2OB75T.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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|
|
@@ -5,13 +5,15 @@ import {
|
|
|
5
5
|
APPS_SCOPE,
|
|
6
6
|
READ_SCOPE,
|
|
7
7
|
WRITE_SCOPE,
|
|
8
|
+
operations
|
|
9
|
+
} from "./chunk-NYECVHFH.js";
|
|
10
|
+
import {
|
|
8
11
|
apiJson,
|
|
9
12
|
apiPlainJson,
|
|
10
13
|
checkApiBody,
|
|
11
14
|
checkApiParameter,
|
|
12
|
-
operations,
|
|
13
15
|
parseApiJson
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5TSILGTO.js";
|
|
15
17
|
import {
|
|
16
18
|
array,
|
|
17
19
|
boolean,
|
|
@@ -27,15 +29,15 @@ import {
|
|
|
27
29
|
string,
|
|
28
30
|
transform,
|
|
29
31
|
unknown
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JRFKCYMW.js";
|
|
31
33
|
import {
|
|
32
34
|
CliError
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EA2OB75T.js";
|
|
34
36
|
import {
|
|
35
37
|
__name
|
|
36
38
|
} from "./chunk-ZVVMGPBJ.js";
|
|
37
39
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.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
|
|
39
41
|
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
40
42
|
var INTEGER = /^-?\d+$/;
|
|
41
43
|
var INT64_MIN = -(2n ** 63n);
|