@wirecat/cli-memo 0.131.33 → 0.131.35
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/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-I67AQBML.js → all-profiles-6666YYUZ.js} +9 -9
- package/dist/bundle/{anthropic-TAN7BXEI.js → anthropic-23OB7KWO.js} +6 -6
- package/dist/bundle/{app-server-BB6D3T5A.js → app-server-2S5OS3OH.js} +42 -42
- package/dist/bundle/auto-XDBIEURD.js +86 -0
- package/dist/bundle/{bun-UQEFISW2.js → bun-BNVO37ZD.js} +2 -2
- package/dist/bundle/{bun-sqlite-2QF3TO47.js → bun-sqlite-USZ27VKM.js} +5 -5
- package/dist/bundle/{chunk-5M4CW3PM.js → chunk-26PVWAKE.js} +374 -323
- package/dist/bundle/{chunk-KJBKP66D.js → chunk-2DTUMEN2.js} +4 -4
- package/dist/bundle/{chunk-7OSMWDV3.js → chunk-2PFOLWD3.js} +3 -3
- package/dist/bundle/{chunk-TZ7WDQPD.js → chunk-2R2Z2VWL.js} +20 -20
- package/dist/bundle/{chunk-EN3D3M3X.js → chunk-2Y4UU4DB.js} +3 -3
- package/dist/bundle/{chunk-NAKJLG6G.js → chunk-3ZZ5OCUO.js} +6 -6
- package/dist/bundle/{chunk-ABORNS53.js → chunk-4OR4HFSL.js} +8 -8
- package/dist/bundle/{chunk-HU2UNNN5.js → chunk-6D47X4KD.js} +1 -1
- package/dist/bundle/{chunk-LUX5CPKS.js → chunk-6H6EXCZY.js} +1 -1
- package/dist/bundle/{chunk-P7AWDFQW.js → chunk-736NNFPY.js} +1 -1
- package/dist/bundle/{chunk-OGOMIZVL.js → chunk-AYIUZUGD.js} +1 -1
- package/dist/bundle/{chunk-3DDGDOTM.js → chunk-BHDNHN55.js} +8 -8
- package/dist/bundle/{chunk-N75EWKKC.js → chunk-BU4LJSW2.js} +1 -1
- package/dist/bundle/{chunk-5DEHFWR4.js → chunk-C2XCIZND.js} +2 -2
- package/dist/bundle/{chunk-KV4267S4.js → chunk-CID4MNRQ.js} +1 -1
- package/dist/bundle/{chunk-AP3AG2BB.js → chunk-CLHGYKYZ.js} +5 -5
- package/dist/bundle/{chunk-RRLIMG4U.js → chunk-CMMKWXFG.js} +35 -35
- package/dist/bundle/{chunk-LDEPGWLS.js → chunk-DCBBLYCI.js} +29 -29
- package/dist/bundle/{chunk-JCFO4LQL.js → chunk-DMU5PAKY.js} +1 -1
- package/dist/bundle/{chunk-BFLYYQZ7.js → chunk-DMUIMBCE.js} +4 -4
- package/dist/bundle/{chunk-MI6OKBKQ.js → chunk-DQ66H456.js} +4 -4
- package/dist/bundle/{chunk-X5WJDJ7B.js → chunk-DYMUJFDK.js} +14 -14
- package/dist/bundle/{chunk-6MDFXQ3P.js → chunk-EIYLAELT.js} +343 -312
- package/dist/bundle/{chunk-SN3VTCKM.js → chunk-FXG3SUIQ.js} +13 -13
- package/dist/bundle/{chunk-3TEBUFO4.js → chunk-FYT6A3UY.js} +1 -1
- package/dist/bundle/{chunk-QMK5MB3I.js → chunk-GAWGZN4F.js} +3 -3
- package/dist/bundle/{chunk-LJZAVL4S.js → chunk-GLFFCRRX.js} +2 -2
- package/dist/bundle/{chunk-5JAYP233.js → chunk-GNLCVNP7.js} +9 -9
- package/dist/bundle/{chunk-SLY3522P.js → chunk-I55VXEI2.js} +4 -4
- package/dist/bundle/{chunk-536BN5HJ.js → chunk-ICBWD2OL.js} +1 -1
- package/dist/bundle/{chunk-FQ23ENBP.js → chunk-IKDHJLSH.js} +277 -277
- package/dist/bundle/{chunk-JOUN3RQQ.js → chunk-JIWQNA2J.js} +168 -184
- package/dist/bundle/{chunk-I7PL5WX2.js → chunk-JY34MQW4.js} +4 -4
- package/dist/bundle/{chunk-GUCICZ5E.js → chunk-L3SMTWCF.js} +7 -7
- package/dist/bundle/{chunk-WSSMVWI6.js → chunk-L7AB7Y4Z.js} +46 -46
- package/dist/bundle/{chunk-YGKZOBRU.js → chunk-LBDMVVVW.js} +12 -12
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-LER7G4XY.js} +1 -1
- package/dist/bundle/{chunk-PI5XHH3B.js → chunk-LQHW4G6G.js} +6 -6
- package/dist/bundle/{chunk-DUQGOBGY.js → chunk-ME5RGIHV.js} +11 -11
- package/dist/bundle/{chunk-3CVPUL6V.js → chunk-MMRM6ZMM.js} +2 -2
- package/dist/bundle/{chunk-S6HHL43A.js → chunk-MNKCFCI7.js} +2 -2
- package/dist/bundle/{chunk-BUYST3RY.js → chunk-N2Y6FTPK.js} +2 -2
- package/dist/bundle/{chunk-2Y2UWMJX.js → chunk-NYELWBUA.js} +6 -6
- package/dist/bundle/{chunk-YBSILL43.js → chunk-OCIE3POS.js} +6 -6
- package/dist/bundle/{chunk-BT6ZZUXC.js → chunk-PYQU4GLK.js} +64 -64
- package/dist/bundle/{chunk-FZXOHGOA.js → chunk-RUZOQ7QN.js} +4 -4
- package/dist/bundle/{chunk-EB2IULWB.js → chunk-RZ54DSVU.js} +2 -2
- package/dist/bundle/{chunk-4BDZUM4Z.js → chunk-SKBMXSQ3.js} +2 -2
- package/dist/bundle/{chunk-L5XW7SRP.js → chunk-SKVRUW57.js} +2 -2
- package/dist/bundle/{chunk-NOBWIWEE.js → chunk-SMJAJWYW.js} +3 -3
- package/dist/bundle/{chunk-G2BB5WY5.js → chunk-SN63VOE6.js} +8 -8
- package/dist/bundle/{chunk-2S5YZCD4.js → chunk-SRHG24V7.js} +4 -4
- package/dist/bundle/{chunk-AFCZMG3T.js → chunk-T3AUEF46.js} +22 -22
- package/dist/bundle/{chunk-PVKETTTH.js → chunk-URQ7ZL5K.js} +10 -10
- package/dist/bundle/{chunk-MZMKZ3FS.js → chunk-V5N65VRU.js} +9 -9
- package/dist/bundle/{chunk-MF2IXW4D.js → chunk-VJSWU4JX.js} +3 -3
- package/dist/bundle/{chunk-BSPNSDJR.js → chunk-VMXESPNG.js} +7 -7
- package/dist/bundle/{chunk-R37MXUSP.js → chunk-VYYPW7YP.js} +31 -23
- package/dist/bundle/{chunk-IT5OORGL.js → chunk-WIK6SGHZ.js} +2 -2
- package/dist/bundle/{chunk-UMWPJXNA.js → chunk-WRUD4OYQ.js} +5 -5
- package/dist/bundle/{chunk-KTGIARY4.js → chunk-XLKJSFQN.js} +2 -2
- package/dist/bundle/{chunk-62H5HS77.js → chunk-XZPE2E3O.js} +8 -8
- package/dist/bundle/{chunk-XBIPSSKI.js → chunk-Y5CAKD4X.js} +4 -4
- package/dist/bundle/{chunk-KBSN3KOJ.js → chunk-YGW3JZVB.js} +22 -22
- package/dist/bundle/command-contract-TBZCPYWZ.js +32 -0
- package/dist/bundle/{decode-AC2QFP22.js → decode-RMAOEVTY.js} +5 -5
- package/dist/bundle/{dispatch-CU5KGRQL.js → dispatch-MLRETSNQ.js} +8 -8
- package/dist/bundle/{echarts-2LGYCSJM.js → echarts-R2MI4OEU.js} +2 -2
- package/dist/bundle/{embed-5G5NJRTM.js → embed-BG2XPLWM.js} +6 -6
- package/dist/bundle/{embedder-AWGIIEIK.js → embedder-65SA34CZ.js} +9 -9
- package/dist/bundle/{entry-J2G7NST5.js → entry-DX3D4TWF.js} +7 -7
- package/dist/bundle/failure-76A5ZD6Y.js +66 -0
- package/dist/bundle/{failure-TUXXI6JT.js → failure-UJBGB2GP.js} +2 -2
- package/dist/bundle/{first-run-CIE4REGV.js → first-run-ZUQRYWEZ.js} +11 -11
- package/dist/bundle/first-screen-O5X3OT77.js +30 -0
- package/dist/bundle/{instructions-5236MVDG.js → instructions-ZDWGTLMU.js} +1 -1
- package/dist/bundle/mcp-B5CUHAKS.js +90 -0
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-YMXA6IH6.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-7746MVI2.js → node-43BSSPFC.js} +2 -2
- package/dist/bundle/{node-sqlite-2JD5RF5A.js → node-sqlite-RPWFR6H3.js} +6 -6
- package/dist/bundle/{oauth-BUMW77DB.js → oauth-AYAADVSS.js} +7 -7
- package/dist/bundle/{open-CXUGW7QC.js → open-XEZ5CPLR.js} +5 -5
- package/dist/bundle/{openai-ORFEPFYD.js → openai-SQS7OBEI.js} +10 -10
- package/dist/bundle/{process-JXXYNYHP.js → process-HJWMNCUC.js} +1 -1
- package/dist/bundle/{program-4RYVZYD2.js → program-RQO3ZNVL.js} +89 -86
- package/dist/bundle/{prompt-EHLY4L77.js → prompt-STQZGLH7.js} +5 -5
- package/dist/bundle/{recognize-ES7MH57V.js → recognize-HJ6G4OWB.js} +4 -4
- package/dist/bundle/{remote-EZ76X2VI.js → remote-HDTQYFBP.js} +7 -7
- package/dist/bundle/{rerank-CDIZ6AA6.js → rerank-GBKN7RN4.js} +7 -7
- package/dist/bundle/{serve-YRSGBTJY.js → serve-KPTYHWUY.js} +9 -9
- package/dist/bundle/{server-MW5247KA.js → server-ASCI46TB.js} +57 -57
- package/dist/bundle/server-DJVWUOO7.js +61 -0
- package/dist/bundle/server-TEOK5SHM.js +48 -0
- package/dist/bundle/{state-S6A5VAWR.js → state-22MNHAQY.js} +6 -6
- package/dist/bundle/{store-O5CDNS3U.js → store-R7QBCWWM.js} +13 -13
- package/dist/bundle/store-maintenance-command-BZXFY2NT.js +48 -0
- package/dist/bundle/update-I5HTAMBY.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +5 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +23 -8
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +12 -19
- package/dist/knowledge/project-status-command.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/auto-6555QOPH.js +0 -86
- package/dist/bundle/command-contract-LRGVHRDS.js +0 -32
- package/dist/bundle/failure-7SDDOWOC.js +0 -66
- package/dist/bundle/first-screen-PLNL6V5J.js +0 -30
- package/dist/bundle/mcp-IRYWZZMF.js +0 -90
- package/dist/bundle/server-EUYRPM4X.js +0 -48
- package/dist/bundle/server-OHIH2CMF.js +0 -61
- package/dist/bundle/store-maintenance-command-3OFVJT4R.js +0 -48
- package/dist/bundle/update-RC5CLYFY.js +0 -69
- /package/dist/bundle/{chunk-JB5P5WSQ.js → chunk-AT5Y62SD.js} +0 -0
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-QMNLI4NV.js} +0 -0
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OCIE3POS.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WIK6SGHZ.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RZ54DSVU.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@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RUZOQ7QN.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RZ54DSVU.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
20
20
|
import { createRequire } from "node:module";
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SN63VOE6.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError,
|
|
26
26
|
visibleControls
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RZ54DSVU.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__name,
|
|
@@ -1897,7 +1897,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1897
1897
|
}
|
|
1898
1898
|
});
|
|
1899
1899
|
|
|
1900
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1900
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1901
1901
|
import { homedir, userInfo } from "node:os";
|
|
1902
1902
|
import { join, posix, win32 } from "node:path";
|
|
1903
1903
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -1948,7 +1948,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1948
1948
|
}, "homeIsMoved");
|
|
1949
1949
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1950
1950
|
|
|
1951
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1951
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
1952
1952
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1953
1953
|
if (signal?.aborted)
|
|
1954
1954
|
return Promise.reject(signal.reason);
|
|
@@ -1976,7 +1976,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
1976
1976
|
});
|
|
1977
1977
|
}, "waitForDrain");
|
|
1978
1978
|
|
|
1979
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1979
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
1980
1980
|
var processStreams = {
|
|
1981
1981
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
1982
1982
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2005,7 +2005,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2005
2005
|
};
|
|
2006
2006
|
}, "captureStreams");
|
|
2007
2007
|
|
|
2008
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2008
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2009
2009
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2010
2010
|
import { styleText } from "node:util";
|
|
2011
2011
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2079,7 +2079,7 @@ var BORDERLESS = {
|
|
|
2079
2079
|
middle: ""
|
|
2080
2080
|
};
|
|
2081
2081
|
|
|
2082
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2082
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2083
2083
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2084
2084
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2085
2085
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -2116,7 +2116,7 @@ var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processS
|
|
|
2116
2116
|
};
|
|
2117
2117
|
}, "createRenderer");
|
|
2118
2118
|
|
|
2119
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2119
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2120
2120
|
var DEFAULT_RETRY = {
|
|
2121
2121
|
retries: 1,
|
|
2122
2122
|
baseDelayMs: 250,
|
|
@@ -2128,7 +2128,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2128
2128
|
return Math.round(random() * ceiling);
|
|
2129
2129
|
}, "backoffMs");
|
|
2130
2130
|
|
|
2131
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2131
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2132
2132
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2133
2133
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2134
2134
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2193,7 +2193,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2193
2193
|
return project(value, fields);
|
|
2194
2194
|
}, "projectFields");
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2197
2197
|
var BATCH_LIMITS = Object.freeze({
|
|
2198
2198
|
requests: 32,
|
|
2199
2199
|
input_bytes: 262144,
|
|
@@ -2340,7 +2340,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2340
2340
|
};
|
|
2341
2341
|
}, "runBatch");
|
|
2342
2342
|
|
|
2343
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2343
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2344
2344
|
import { randomBytes } from "node:crypto";
|
|
2345
2345
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2346
2346
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2384,16 +2384,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2384
2384
|
`, 384);
|
|
2385
2385
|
}, "saveConfigFile");
|
|
2386
2386
|
|
|
2387
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2387
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2388
2388
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2389
2389
|
var baseConstantsSchema = object({});
|
|
2390
2390
|
var LayerSchema = record(string(), unknown());
|
|
2391
2391
|
|
|
2392
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2392
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2393
2393
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2394
2394
|
import { join as join3, resolve } from "node:path";
|
|
2395
2395
|
|
|
2396
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2396
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2397
2397
|
import { createRequire } from "node:module";
|
|
2398
2398
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2399
2399
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2413,7 +2413,7 @@ var systemKeyring = {
|
|
|
2413
2413
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2414
2414
|
};
|
|
2415
2415
|
|
|
2416
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2416
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2417
2417
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2418
2418
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
2419
2419
|
var Credentials = class {
|
|
@@ -2548,7 +2548,7 @@ var Credentials = class {
|
|
|
2548
2548
|
}
|
|
2549
2549
|
};
|
|
2550
2550
|
|
|
2551
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2551
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2552
2552
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2553
2553
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2554
2554
|
if (signal?.aborted) {
|
|
@@ -2562,7 +2562,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2562
2562
|
}, { once: true });
|
|
2563
2563
|
}), "realSleep");
|
|
2564
2564
|
|
|
2565
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2565
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
|
|
2566
2566
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
2567
2567
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
2568
2568
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -2646,10 +2646,10 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
2646
2646
|
};
|
|
2647
2647
|
}, "createDeadline");
|
|
2648
2648
|
|
|
2649
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2649
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2650
2650
|
import { appendFileSync } from "node:fs";
|
|
2651
2651
|
|
|
2652
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2652
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2653
2653
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2654
2654
|
var logRecordSchema = strictObject({
|
|
2655
2655
|
time: isoTime,
|
|
@@ -2727,7 +2727,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2727
2727
|
return traceId;
|
|
2728
2728
|
}, "traceIdOf");
|
|
2729
2729
|
|
|
2730
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2730
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2731
2731
|
var REDACTED_FIELDS = [
|
|
2732
2732
|
"authorization",
|
|
2733
2733
|
"Authorization",
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MNKCFCI7.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RZ54DSVU.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DMUIMBCE.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-RZ54DSVU.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@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/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@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/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@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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-RZ54DSVU.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CMMKWXFG.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-26PVWAKE.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JIWQNA2J.js";
|
|
14
14
|
import {
|
|
15
15
|
latestVersion,
|
|
16
16
|
runUpdate,
|
|
17
17
|
updateNotice
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JY34MQW4.js";
|
|
19
19
|
import {
|
|
20
20
|
APP,
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SKBMXSQ3.js";
|
|
23
23
|
import {
|
|
24
24
|
installerOf
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CID4MNRQ.js";
|
|
26
26
|
import {
|
|
27
27
|
createRenderer,
|
|
28
28
|
resolvePaths
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2R2Z2VWL.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -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-RZ54DSVU.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6H6EXCZY.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MMRM6ZMM.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
calledTools,
|
|
23
23
|
httpActivityFile,
|
|
24
24
|
httpLock
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DQ66H456.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RZ54DSVU.js";
|
|
29
29
|
import {
|
|
30
30
|
__name
|
|
31
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
35
|
var MCP_PATH = "/mcp";
|
|
36
36
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|