@wirecat/amo-cli 0.4.0 → 0.5.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 +33 -0
- package/contracts/wirecat.json +2 -1
- package/dist/amo/allow-list.d.ts +1 -1
- package/dist/amo/allow-list.d.ts.map +1 -1
- package/dist/amo/operation.d.ts +1 -1
- package/dist/amo/operation.d.ts.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-EFMUK732.js +41 -0
- package/dist/bundle/{all-profiles-PRNXEZRH.js → all-profiles-PIWUQWBA.js} +11 -11
- package/dist/bundle/amo.js +28 -28
- package/dist/bundle/{anthropic-FDI24DU2.js → anthropic-47CMXBPQ.js} +5 -5
- package/dist/bundle/{app-server-WAKJVDLN.js → app-server-QRBQODF2.js} +70 -69
- package/dist/bundle/areas-QVHVU57Z.js +63 -0
- package/dist/bundle/{bun-YPXUXMBI.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-UBQ5M47X.js → bun-sqlite-7I4X7CZW.js} +6 -6
- package/dist/bundle/{chunk-SFZVMKB6.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-SNBYFQHT.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-BCIZAUDV.js → chunk-3DEQUYEG.js} +9 -9
- package/dist/bundle/{chunk-2AIG2SSJ.js → chunk-3GX6KM2E.js} +1661 -164
- package/dist/bundle/{chunk-5II6TAJE.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-DWD3KDJA.js → chunk-3PYE55JY.js} +1 -1
- package/dist/bundle/{chunk-SMM7GS4Q.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-XEYT2EQT.js → chunk-43OW5NTG.js} +6 -6
- package/dist/bundle/{chunk-HDZNSOV5.js → chunk-43PMSR33.js} +13 -9
- package/dist/bundle/{chunk-EBNCUQLV.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-WAFB3IWJ.js → chunk-4VN7RI4I.js} +5 -5
- package/dist/bundle/{chunk-CEBX63XY.js → chunk-57HFPNMF.js} +8 -8
- package/dist/bundle/{chunk-Z2B3VNRI.js → chunk-5UTB3ADZ.js} +11 -11
- package/dist/bundle/{chunk-PLU2IQXC.js → chunk-633NQY2R.js} +3 -3
- package/dist/bundle/{chunk-NKYWQTS2.js → chunk-63N46DJU.js} +216 -233
- package/dist/bundle/{chunk-5HZMXHRH.js → chunk-6D4VWSJD.js} +6 -6
- package/dist/bundle/{chunk-V2QWX6B3.js → chunk-6JTHXWPE.js} +3 -3
- package/dist/bundle/{chunk-YREKMP24.js → chunk-6QGUK3H7.js} +4 -4
- package/dist/bundle/{chunk-4PQECIU2.js → chunk-6WS6GJ4V.js} +2 -2
- package/dist/bundle/{chunk-23AQD7JU.js → chunk-7IR2G5XY.js} +16 -16
- package/dist/bundle/{chunk-OYMHPQF7.js → chunk-7IWIFVXH.js} +4 -4
- package/dist/bundle/{chunk-YHVHDRED.js → chunk-ABX7BBS4.js} +6 -6
- package/dist/bundle/{chunk-3K6T2G52.js → chunk-ADTI5RUO.js} +6 -6
- package/dist/bundle/{chunk-YFRTEJ6V.js → chunk-AKRIUNYP.js} +7 -7
- package/dist/bundle/{chunk-KBAOJISR.js → chunk-BIKOE2IW.js} +7 -7
- package/dist/bundle/{chunk-TIR3AB35.js → chunk-BVVMIAQ6.js} +759 -694
- package/dist/bundle/{chunk-M54YKD3I.js → chunk-CGW5R4UD.js} +7 -7
- package/dist/bundle/{chunk-CYHIM5SL.js → chunk-D4NE7EON.js} +3 -3
- package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-VEFAYLKX.js → chunk-DQ6S5TFZ.js} +185 -114
- package/dist/bundle/{chunk-GMHRPX5M.js → chunk-DSJ6EAOA.js} +61 -61
- package/dist/bundle/{chunk-GQKEMBM6.js → chunk-DVZ75WZJ.js} +121 -36
- package/dist/bundle/{chunk-SHOSFYI7.js → chunk-EHK73OSW.js} +38 -24
- package/dist/bundle/{chunk-KQZTX4LM.js → chunk-FNV5HLHX.js} +17 -17
- package/dist/bundle/{chunk-RQPB2BSH.js → chunk-FV4GQNIK.js} +2 -2
- package/dist/bundle/{chunk-E3EWS6DF.js → chunk-G2TU5RYY.js} +6 -6
- package/dist/bundle/{chunk-WEWJA42Q.js → chunk-GDK7ETSB.js} +12 -12
- package/dist/bundle/{chunk-KORZEYZN.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-U46RNOEQ.js → chunk-GLYWZQY4.js} +3 -3
- package/dist/bundle/{chunk-KRD375P7.js → chunk-H4AFNENN.js} +34 -29
- package/dist/bundle/{chunk-SZX7EPPY.js → chunk-HOF7GQWW.js} +4 -4
- package/dist/bundle/{chunk-DWA5TZMP.js → chunk-HSPEU6S7.js} +8 -8
- package/dist/bundle/{chunk-VG2ERHFJ.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-O3WE5IGP.js → chunk-IB55P46L.js} +6 -6
- package/dist/bundle/{chunk-2UJ7ZZZC.js → chunk-IG2TJQJ7.js} +3 -3
- package/dist/bundle/{chunk-ZJC2XJQC.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-ELAKOEIO.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-UCM7C773.js → chunk-JXT6GY4V.js} +158 -61
- package/dist/bundle/{chunk-ABMPZL2P.js → chunk-K7YY6SXR.js} +19 -15
- package/dist/bundle/{chunk-TEGQVVCZ.js → chunk-KEKXERBE.js} +14581 -11880
- package/dist/bundle/{chunk-GJBOZAUD.js → chunk-KZ2FIDI3.js} +3 -3
- package/dist/bundle/{chunk-IBEHYGG6.js → chunk-KZN2BG3P.js} +8 -8
- package/dist/bundle/{chunk-VG26HDKH.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-PIOR6PIO.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-5SJEJYQZ.js → chunk-M6VZXAJC.js} +3 -3
- package/dist/bundle/{chunk-NFWD4QX3.js → chunk-MDEPJZYJ.js} +2 -2
- package/dist/bundle/{chunk-QGFURWEP.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-GBQ76X6T.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-MW7HUD6R.js → chunk-NSKMNIY6.js} +9 -9
- package/dist/bundle/chunk-PPSAWFJD.js +1293 -0
- package/dist/bundle/{chunk-UEN5NWNW.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-7OVTUADG.js → chunk-QFOP3KUP.js} +8 -8
- package/dist/bundle/{chunk-LAR2DLTI.js → chunk-R53XXHEI.js} +4 -4
- package/dist/bundle/{chunk-A4W7J6VN.js → chunk-RIMPFMZE.js} +28 -189
- package/dist/bundle/{chunk-G3LAYJJJ.js → chunk-RN6RT5CB.js} +4 -4
- package/dist/bundle/{chunk-FQRP6JWX.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-AN6IJYH3.js → chunk-S4ZHQMNM.js} +5 -5
- package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-PL7TNKAY.js → chunk-TAVI73RW.js} +2 -2
- package/dist/bundle/{chunk-ZKRWNL4T.js → chunk-TLG6ECZ2.js} +2 -2
- package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-WR2FPZTE.js → chunk-U5RJJ2EC.js} +8 -8
- package/dist/bundle/{chunk-6QMSKJB4.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-FEUNZG7U.js → chunk-V2CNGXWX.js} +37 -37
- package/dist/bundle/{chunk-V5SETIQK.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-HZZ56JO7.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/{chunk-LZ4IWN43.js → chunk-W5JRXIG6.js} +822 -1604
- package/dist/bundle/{chunk-SCMB4LI6.js → chunk-WIHN3ELW.js} +19 -19
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-6PILR4AX.js → chunk-WUFX4TKA.js} +2 -2
- package/dist/bundle/{chunk-NXNUCGGO.js → chunk-WXJYMMEL.js} +6 -6
- package/dist/bundle/{chunk-IPNIF5JE.js → chunk-XCCU2E3Z.js} +4 -4
- package/dist/bundle/{chunk-EAX5RO7S.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-3PCVQCCV.js → chunk-XUT7DSM5.js} +2 -2
- package/dist/bundle/{chunk-ASU63X5C.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-S6DTLAOB.js → chunk-ZLUIRFJX.js} +37 -18
- package/dist/bundle/{cli-QDPKC2HJ.js → cli-3NXOSENF.js} +104 -105
- package/dist/bundle/command-contract-LNSAV5LA.js +39 -0
- package/dist/bundle/{command-server-entry-TX7WNN7G.js → command-server-entry-4ZQPNUL4.js} +28 -28
- package/dist/bundle/{decode-BLPC7OYE.js → decode-K7U7X5EL.js} +5 -5
- package/dist/bundle/{dispatch-5JUT55CS.js → dispatch-56FECRCU.js} +8 -8
- package/dist/bundle/{echarts-54D3FOCL.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-O7KMDYM7.js → embed-SWLVG73O.js} +6 -6
- package/dist/bundle/{embedder-4PE67CLX.js → embedder-EJN75BPV.js} +9 -9
- package/dist/bundle/{failure-NNQYTB3Z.js → failure-WDSX6H3B.js} +2 -2
- package/dist/bundle/{first-run-EAU5SHBI.js → first-run-WPGUUC4Z.js} +12 -12
- package/dist/bundle/first-screen-JMNEUQ46.js +40 -0
- package/dist/bundle/{instructions-ONXP5DZQ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5TKG2RYD.js +24 -0
- package/dist/bundle/{meeting-model-FWIZRKVN.js → meeting-model-YXXNETKC.js} +11 -11
- package/dist/bundle/{meeting-semantic-M4YVJ57W.js → meeting-semantic-U7EUB3ET.js} +6 -6
- package/dist/bundle/{node-UTQCYQF5.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-APJG6MGL.js → node-sqlite-YVOGMDSP.js} +7 -7
- package/dist/bundle/{oauth-TY7RMIBL.js → oauth-2SNRBIJM.js} +7 -7
- package/dist/bundle/{open-WDVEQL75.js → open-ABCPY5IH.js} +5 -5
- package/dist/bundle/{openai-H5UJHSEZ.js → openai-4D6PXJR7.js} +15 -15
- package/dist/bundle/{process-MGMXXPMY.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-IF36C6VR.js → program-CBDQBZZ3.js} +319 -133
- package/dist/bundle/{prompt-4RLIWLMF.js → prompt-2QUK5QST.js} +5 -5
- package/dist/bundle/{recognize-UIRTMWM4.js → recognize-QMQSJRIH.js} +4 -4
- package/dist/bundle/{remote-L3MNWZQK.js → remote-U7TC2BLZ.js} +9 -9
- package/dist/bundle/{rerank-F4KZQTY6.js → rerank-5UPVXGVV.js} +7 -7
- package/dist/bundle/{serve-37AUYTWS.js → serve-VX6GUM6J.js} +9 -9
- package/dist/bundle/{server-UBG676ZJ.js → server-FOPC6DJ3.js} +62 -61
- package/dist/bundle/server-OIVNOMVK.js +87 -0
- package/dist/bundle/source-HWS5SJIV.js +46 -0
- package/dist/bundle/{sqlite-runtime-CI3RW7VA.js → sqlite-runtime-77NKDEXN.js} +6 -6
- package/dist/bundle/{state-JOHLSLUO.js → state-X2HU6GB2.js} +6 -6
- package/dist/bundle/{store-2MBG4IUS.js → store-2U4U6KL4.js} +22 -22
- package/dist/bundle/{store-OSOUXBYL.js → store-3CHPHFP7.js} +26 -24
- package/dist/bundle/store-Z3747L5F.js +34 -0
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +74 -0
- package/dist/bundle/surface-MUT72QON.js +73 -0
- package/dist/bundle/writer-RBKQ64ZM.js +48 -0
- package/dist/commands/crm-shared.js +1 -1
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/amo-cli/SKILL.md +6 -0
- package/dist/bundle/agent-43BMVBX2.js +0 -40
- package/dist/bundle/chunk-M33XHJTM.js +0 -1266
- package/dist/bundle/command-contract-KWNCP3MQ.js +0 -39
- package/dist/bundle/first-screen-APSNGZYZ.js +0 -39
- package/dist/bundle/meeting-combined-W2XIYXFU.js +0 -24
- package/dist/bundle/server-CRF4QSZR.js +0 -86
- package/dist/bundle/source-Z7GH7T4B.js +0 -44
- package/dist/bundle/store-SNW6U32Y.js +0 -34
- package/dist/bundle/store-maintenance-command-W7V54SLT.js +0 -73
- package/dist/bundle/surface-ESJS2FUI.js +0 -72
- package/dist/bundle/writer-BJDQMKUV.js +0 -46
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
textModel,
|
|
5
5
|
vectorModelKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IB55P46L.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL,
|
|
9
9
|
openRemote,
|
|
10
10
|
remoteKey,
|
|
11
11
|
remoteModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3DEQUYEG.js";
|
|
13
13
|
import {
|
|
14
14
|
endpointFetch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G2TU5RYY.js";
|
|
16
16
|
import {
|
|
17
17
|
isTextModelInstalled,
|
|
18
18
|
openEmbedder,
|
|
19
19
|
textModelsDirectory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ADTI5RUO.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S6JG4YUH.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PPSAWFJD.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
strictObject,
|
|
17
17
|
string,
|
|
18
18
|
unknown
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QFOP3KUP.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GLYWZQY4.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -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-S6JG4YUH.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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)
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
UNTRUSTED_NEUTRAL,
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HSPEU6S7.js";
|
|
9
9
|
import {
|
|
10
10
|
onlineDeps,
|
|
11
11
|
refuseLacking,
|
|
12
12
|
servicesFor,
|
|
13
13
|
storeModeDeps
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BVVMIAQ6.js";
|
|
15
15
|
import {
|
|
16
16
|
callerOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XUT7DSM5.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_OUTPUT_BYTES,
|
|
20
20
|
ENTITIES,
|
|
@@ -27,35 +27,35 @@ import {
|
|
|
27
27
|
refuseStoreChange,
|
|
28
28
|
sealed,
|
|
29
29
|
startRecording
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-63N46DJU.js";
|
|
31
31
|
import {
|
|
32
32
|
currentCaller,
|
|
33
33
|
keepsSuccess,
|
|
34
34
|
runContextOf,
|
|
35
35
|
withCaller
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CGW5R4UD.js";
|
|
37
37
|
import {
|
|
38
38
|
inRun,
|
|
39
39
|
newRunId
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PPSAWFJD.js";
|
|
41
41
|
import {
|
|
42
42
|
storeDamaged
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JLXXUEAM.js";
|
|
44
44
|
import {
|
|
45
45
|
failureContext
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-JXT6GY4V.js";
|
|
47
47
|
import {
|
|
48
48
|
fetchesAt,
|
|
49
49
|
keyForCommand,
|
|
50
50
|
levelFor,
|
|
51
51
|
readKeysForCommand
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BIKOE2IW.js";
|
|
53
53
|
import {
|
|
54
54
|
MAX_BUFFERED_INPUT
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-YWDFYQOU.js";
|
|
56
56
|
import {
|
|
57
57
|
traceIdOf
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-WIHN3ELW.js";
|
|
59
59
|
import {
|
|
60
60
|
array,
|
|
61
61
|
boolean,
|
|
@@ -82,19 +82,19 @@ import {
|
|
|
82
82
|
toJsonSchema,
|
|
83
83
|
toStandardJsonSchema,
|
|
84
84
|
unknown
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-QFOP3KUP.js";
|
|
86
86
|
import {
|
|
87
87
|
CliError,
|
|
88
88
|
errorCodes
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-S6JG4YUH.js";
|
|
90
90
|
import {
|
|
91
91
|
__name
|
|
92
92
|
} from "./chunk-ZVVMGPBJ.js";
|
|
93
93
|
|
|
94
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
94
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
95
95
|
import { randomUUID } from "node:crypto";
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
98
98
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
99
99
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
100
100
|
var message = pipe(
|
|
@@ -353,7 +353,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
353
353
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
354
354
|
}, "failed");
|
|
355
355
|
|
|
356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
356
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
357
357
|
var MATCHES = 8;
|
|
358
358
|
var ANSWER = answerSchema();
|
|
359
359
|
var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
changesMessenger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-63N46DJU.js";
|
|
6
6
|
import {
|
|
7
7
|
AUTHORITY_KEY,
|
|
8
8
|
BOT_API_KEY,
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
keyForCommand,
|
|
13
13
|
levelFor,
|
|
14
14
|
readKeysForCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BIKOE2IW.js";
|
|
16
16
|
import {
|
|
17
17
|
writes
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QFOP3KUP.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
|
|
24
24
|
var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
|
|
25
25
|
const declaredKey = declared?.keyOf(info.path);
|
|
26
26
|
const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
isNewer,
|
|
6
6
|
readNoticeState,
|
|
7
7
|
writeUpdateState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HOF7GQWW.js";
|
|
9
9
|
import {
|
|
10
10
|
executableEnvironment,
|
|
11
11
|
executableOnPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TY7NDMFY.js";
|
|
13
13
|
import {
|
|
14
14
|
Command,
|
|
15
15
|
Option,
|
|
16
16
|
annotate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-63N46DJU.js";
|
|
18
18
|
import {
|
|
19
19
|
require_cross_spawn
|
|
20
20
|
} from "./chunk-D72URWJE.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerHomeInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WIHN3ELW.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S6JG4YUH.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
|
|
33
33
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
34
34
|
import { homedir } from "node:os";
|
|
35
35
|
import { basename, dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XCCU2E3Z.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-S6JG4YUH.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var REGISTRY = "https://registry.npmjs.org";
|
|
684
684
|
var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
|
|
@@ -837,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
837
837
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
838
838
|
}, "openSession");
|
|
839
839
|
|
|
840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
840
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
841
841
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
842
842
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
843
843
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TLG6ECZ2.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WIHN3ELW.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
singleLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S6JG4YUH.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
19
19
|
import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
20
20
|
import { dirname, join, resolve } from "node:path";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
|
|
23
23
|
var REPAIR_WORDS = {
|
|
24
24
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
25
25
|
comment: "a comment, which JSON does not allow",
|
|
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
|
|
|
303
303
|
return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
|
|
304
304
|
}, "explainBrokenJson");
|
|
305
305
|
|
|
306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
306
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
307
307
|
var DEFAULT_TASK_CATEGORIES = [
|
|
308
308
|
{
|
|
309
309
|
name: "taxes",
|
|
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}, "storedTaskCategories");
|
|
1060
1060
|
|
|
1061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1061
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
1062
1062
|
var SECTION = "task_categories";
|
|
1063
1063
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
1064
1064
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
fieldsOf,
|
|
6
6
|
processStreams,
|
|
7
7
|
projectFields
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WIHN3ELW.js";
|
|
9
9
|
import {
|
|
10
10
|
COMPACT_FLAG
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QFOP3KUP.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
singleLine
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S6JG4YUH.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
21
21
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
22
22
|
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
23
23
|
"messages.delete",
|
|
@@ -453,7 +453,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
453
453
|
}
|
|
454
454
|
}, "assertRetentionEvidenceRead");
|
|
455
455
|
|
|
456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
456
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
457
457
|
var named = /* @__PURE__ */ __name((work) => {
|
|
458
458
|
try {
|
|
459
459
|
return work();
|
|
@@ -480,7 +480,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
480
480
|
return projectFields(value, fields);
|
|
481
481
|
}), "projectFields");
|
|
482
482
|
|
|
483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
484
484
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
485
485
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
486
486
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -516,7 +516,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
516
516
|
return value;
|
|
517
517
|
}, "atDetail");
|
|
518
518
|
|
|
519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
519
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/output.js
|
|
520
520
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
521
521
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
522
522
|
if (other)
|