@wirecat/cli-memo 0.131.77 → 0.131.79
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-4UWCPMRQ.js → all-profiles-ZMIHTBZD.js} +9 -9
- package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-PNRUKJHS.js} +6 -6
- package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-RNASTWZO.js} +41 -41
- package/dist/bundle/auto-TRSJQGJH.js +91 -0
- package/dist/bundle/{bun-IWGIAD7H.js → bun-QU4I5GWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-J4KG5VML.js} +10 -6
- package/dist/bundle/{chunk-D7KQYLAN.js → chunk-24FOGKJI.js} +7 -7
- package/dist/bundle/{chunk-JKLJM7EG.js → chunk-2C536VQW.js} +1 -1
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-2TIK6LHL.js} +443 -344
- package/dist/bundle/{chunk-PPARTGFE.js → chunk-3GOMBG55.js} +8 -8
- package/dist/bundle/{chunk-OQSIFLZS.js → chunk-3HCGK4FN.js} +1 -1
- package/dist/bundle/{chunk-MRUE3BWX.js → chunk-46Z7UUCG.js} +1 -1
- package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-4BSNHOEV.js} +28 -11
- package/dist/bundle/{chunk-BNOSAHVH.js → chunk-4FPSZCWN.js} +2 -2
- package/dist/bundle/{chunk-4VO2RJAE.js → chunk-4XOAQ5EQ.js} +10 -10
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-M4MM4QUM.js → chunk-5YS4WS74.js} +1 -1
- package/dist/bundle/{chunk-HFZHXP4U.js → chunk-6ZO2ZVKV.js} +5 -5
- package/dist/bundle/{chunk-C3HS26N5.js → chunk-7SGURCSQ.js} +1 -1
- package/dist/bundle/chunk-A5TSIMI2.js +53 -0
- package/dist/bundle/{chunk-UDRKGCDS.js → chunk-AWUANCLC.js} +1 -1
- package/dist/bundle/{chunk-KYW7RWGE.js → chunk-BBJBWSGN.js} +2 -2
- package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-CLZHPHKI.js} +3 -3
- package/dist/bundle/{chunk-NGWUFB4K.js → chunk-CQPXUMIS.js} +1 -1
- package/dist/bundle/{chunk-LO74ISD6.js → chunk-CX3D6D43.js} +3 -3
- package/dist/bundle/{chunk-5APYWW46.js → chunk-CY7WACM7.js} +31 -31
- package/dist/bundle/{chunk-7YALAAL4.js → chunk-DAJEINOF.js} +1193 -905
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-DP2RZ6FO.js} +3 -3
- package/dist/bundle/{chunk-YZ4J67GU.js → chunk-FCHVDLEL.js} +3 -3
- package/dist/bundle/{chunk-BFEXVALS.js → chunk-GDSCR5BG.js} +1 -1
- package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-GJ7KTKIP.js} +16 -16
- package/dist/bundle/{chunk-DJYMK7EI.js → chunk-GTYESBB2.js} +3 -3
- package/dist/bundle/{chunk-TIHQFMH2.js → chunk-H6QELEPY.js} +6 -6
- package/dist/bundle/{chunk-6VISMU6R.js → chunk-HKOHKYDY.js} +7 -7
- package/dist/bundle/{chunk-IYINNZQE.js → chunk-IE6AEPW3.js} +10 -10
- package/dist/bundle/{chunk-EY46RMMS.js → chunk-IHWPNLCI.js} +170 -152
- package/dist/bundle/{chunk-76T57Y3Q.js → chunk-IU2QDYBO.js} +5 -5
- package/dist/bundle/{chunk-W36BMC6F.js → chunk-J2KPUG2X.js} +4 -4
- package/dist/bundle/{chunk-VMTTWF2M.js → chunk-JDI7CKLO.js} +7 -7
- package/dist/bundle/{chunk-CPKS7JKX.js → chunk-JX4YNSYT.js} +1 -1
- package/dist/bundle/{chunk-WZZ426CJ.js → chunk-LQBVQX47.js} +80 -80
- package/dist/bundle/{chunk-6RN34ZWU.js → chunk-MQ6XB6BV.js} +5 -5
- package/dist/bundle/{chunk-UIS44ZMF.js → chunk-O4ZIN4AY.js} +6 -6
- package/dist/bundle/{chunk-TFXKS2WG.js → chunk-OP5MKU7T.js} +1 -1
- package/dist/bundle/{chunk-XLZPP5MB.js → chunk-PB4ZGGR4.js} +1 -1
- package/dist/bundle/{chunk-MZHH5XMX.js → chunk-PI42ZHZQ.js} +2 -2
- package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-Q5YM3JWV.js} +2 -2
- package/dist/bundle/{chunk-3URQNBDV.js → chunk-QNI3Q7XS.js} +2 -2
- package/dist/bundle/{chunk-OB3OPV55.js → chunk-QOFD6JSB.js} +5 -5
- package/dist/bundle/{chunk-CFZZUGUD.js → chunk-R24Q24U5.js} +26 -23
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-VIY77EDM.js → chunk-RMKJWDVT.js} +47 -47
- package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-RUHFWDHD.js} +3 -3
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-SEIRBXJT.js} +7 -7
- package/dist/bundle/{chunk-INXIJXU2.js → chunk-SM7PB5CU.js} +7 -7
- package/dist/bundle/{chunk-UD5JUJES.js → chunk-TBCHID7L.js} +23644 -22657
- package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-TH3LLEA2.js} +3 -3
- package/dist/bundle/{chunk-LHVNZ25W.js → chunk-U3VXKVKI.js} +12 -12
- package/dist/bundle/{chunk-A54EZ6DV.js → chunk-UC5YCXKS.js} +15 -14
- package/dist/bundle/{chunk-DE5BNDIA.js → chunk-UYKKJOND.js} +4 -4
- package/dist/bundle/{chunk-SHO3T3F2.js → chunk-VIZBCX3C.js} +4 -4
- package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-VSSWVVOZ.js} +11 -11
- package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WN7BSOD2.js} +1 -1
- package/dist/bundle/{chunk-S5T4SO7I.js → chunk-XO6RP5FV.js} +20 -2
- package/dist/bundle/{chunk-KTBPBMNR.js → chunk-YJUVVYS6.js} +5 -5
- package/dist/bundle/{chunk-ZPPMGXER.js → chunk-ZFUYVQII.js} +34 -34
- package/dist/bundle/{chunk-HWIKY7KF.js → chunk-ZIDR2CSX.js} +2 -2
- package/dist/bundle/command-contract-4ZJOMSQ2.js +34 -0
- package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-VSWZ5K2Q.js} +21 -21
- package/dist/bundle/{decode-VFRSEIBD.js → decode-OPD4OHCW.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-DP2GC2C6.js → echarts-AXYKRYU7.js} +2 -2
- package/dist/bundle/{embed-BIINGRNY.js → embed-6DBZRTQ7.js} +7 -7
- package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-SQI6IDZC.js} +10 -10
- package/dist/bundle/{entry-APUFP74B.js → entry-2GKNMGW6.js} +9 -9
- package/dist/bundle/{entry-LGJ2Y7AS.js → entry-RV5QAV44.js} +9 -9
- package/dist/bundle/failure-7RJ4HOL4.js +71 -0
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/{first-run-7UMKRQL7.js → first-run-BBMUDHYX.js} +10 -10
- package/dist/bundle/first-screen-4BS5M4JW.js +32 -0
- package/dist/bundle/{instructions-WDKCHEG6.js → instructions-JNAROG65.js} +1 -1
- package/dist/bundle/mcp-3MBYSBNS.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-QBL3F2VF.js → node-6OTEDFSP.js} +2 -2
- package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-HBHJOJX6.js} +11 -7
- package/dist/bundle/{oauth-4PT7N4SE.js → oauth-PVQSSPPE.js} +8 -8
- package/dist/bundle/{open-I7XENSGI.js → open-ARBTD4LX.js} +6 -6
- package/dist/bundle/{openai-DUSBTUFI.js → openai-2JRFTWUA.js} +11 -11
- package/dist/bundle/{process-TVXEHAK6.js → process-4ERCV4WX.js} +1 -1
- package/dist/bundle/{program-3X4EPBEW.js → program-5KVHPFJU.js} +299 -133
- package/dist/bundle/{prompt-QRYXTON7.js → prompt-4I34VBPK.js} +6 -6
- package/dist/bundle/{recognize-ZLDPIN36.js → recognize-22BJ7RWB.js} +5 -5
- package/dist/bundle/{remote-3GRP5YE3.js → remote-BON3MKY5.js} +8 -8
- package/dist/bundle/{rerank-6B2FI6LN.js → rerank-6CCCIZDS.js} +8 -8
- package/dist/bundle/{serve-ZP3TEANT.js → serve-FB54DFIV.js} +10 -10
- package/dist/bundle/server-SG4BOF6U.js +64 -0
- package/dist/bundle/{server-3SJJNNSX.js → server-TL5WPR3I.js} +59 -59
- package/dist/bundle/server-UYEXFEEB.js +50 -0
- package/dist/bundle/{state-JDH2X2CY.js → state-23IF45K6.js} +7 -7
- package/dist/bundle/{store-FDNYGJUF.js → store-FGNXSGJU.js} +13 -13
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +49 -0
- package/dist/bundle/update-QTZREQD6.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +12 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +4 -4
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -2
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/doubts-command.d.ts +5 -0
- package/dist/people/doubts-command.d.ts.map +1 -0
- package/dist/people/doubts-command.js +46 -0
- package/dist/people/doubts-command.js.map +1 -0
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +54 -57
- package/dist/people/identities-command.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +48 -0
- package/dist/people/proposal-rows.d.ts.map +1 -0
- package/dist/people/proposal-rows.js +61 -0
- package/dist/people/proposal-rows.js.map +1 -0
- package/dist/people/proposals-command.d.ts +5 -0
- package/dist/people/proposals-command.d.ts.map +1 -0
- package/dist/people/proposals-command.js +107 -0
- package/dist/people/proposals-command.js.map +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +18 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/sources/readers/ai-model.js +3 -3
- package/dist/sources/readers/ai-model.js.map +1 -1
- package/dist/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +14 -2
- package/dist/tasks/shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/proposals.md +10 -6
- package/dist/bundle/auto-3O7JD27U.js +0 -91
- package/dist/bundle/chunk-YABNPKKQ.js +0 -35
- package/dist/bundle/command-contract-SEDOYJIJ.js +0 -34
- package/dist/bundle/failure-5QSMH2CD.js +0 -71
- package/dist/bundle/first-screen-H5CQSLIX.js +0 -32
- package/dist/bundle/mcp-3HKOGYHL.js +0 -92
- package/dist/bundle/server-72VZYABL.js +0 -50
- package/dist/bundle/server-UY47EXPQ.js +0 -64
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
- package/dist/bundle/update-257J2SPM.js +0 -74
- /package/dist/bundle/{chunk-6AALVDEA.js → chunk-2AFREBSM.js} +0 -0
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IHWPNLCI.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5LEIPSJG.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
16
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-46Z7UUCG.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SB3AOH3M.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -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.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/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.",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
callerOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QNI3Q7XS.js";
|
|
6
6
|
import {
|
|
7
7
|
UNTRUSTED,
|
|
8
8
|
UNTRUSTED_NEUTRAL,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
agentJson,
|
|
11
11
|
commandAvailability,
|
|
12
12
|
failureContext
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4BSNHOEV.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2TIK6LHL.js";
|
|
22
22
|
import {
|
|
23
23
|
MAX_BUFFERED_INPUT
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3HCGK4FN.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_OUTPUT_BYTES,
|
|
27
27
|
ENTITIES,
|
|
@@ -41,33 +41,33 @@ import {
|
|
|
41
41
|
refuseStoreChange,
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IHWPNLCI.js";
|
|
45
45
|
import {
|
|
46
46
|
currentCaller,
|
|
47
47
|
keepsSuccess,
|
|
48
48
|
runContextOf,
|
|
49
49
|
withCaller
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-SEIRBXJT.js";
|
|
51
51
|
import {
|
|
52
52
|
enclosingTraceId,
|
|
53
53
|
inRun,
|
|
54
54
|
newRunId,
|
|
55
55
|
queryDescription,
|
|
56
56
|
traceOf
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-LQBVQX47.js";
|
|
58
58
|
import {
|
|
59
59
|
storeDamaged
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ZIDR2CSX.js";
|
|
61
61
|
import {
|
|
62
62
|
captureStreams
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-SB3AOH3M.js";
|
|
64
64
|
import {
|
|
65
65
|
traceIdOf
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-DCK5AT3D.js";
|
|
67
67
|
import {
|
|
68
68
|
errorObjectOf,
|
|
69
69
|
mcpErrorResult
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RK24IARI.js";
|
|
71
71
|
import {
|
|
72
72
|
COMPACT_FLAG,
|
|
73
73
|
SNAKE_CASE,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
unknown,
|
|
105
105
|
word,
|
|
106
106
|
writes
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-5LEIPSJG.js";
|
|
108
108
|
import {
|
|
109
109
|
CliError,
|
|
110
110
|
errorCodes
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
__name
|
|
114
114
|
} from "./chunk-ZVVMGPBJ.js";
|
|
115
115
|
|
|
116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
117
117
|
import { Readable } from "node:stream";
|
|
118
118
|
|
|
119
119
|
// node_modules/.pnpm/@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
@@ -3210,7 +3210,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3210
3210
|
]
|
|
3211
3211
|
});
|
|
3212
3212
|
|
|
3213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3214
3214
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3215
3215
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3216
3216
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3433,7 +3433,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3433
3433
|
}
|
|
3434
3434
|
}, "runCommandForAgent");
|
|
3435
3435
|
|
|
3436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3437
3437
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3438
3438
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3439
3439
|
var message = pipe(
|
|
@@ -3692,7 +3692,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3692
3692
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3693
3693
|
}, "failed");
|
|
3694
3694
|
|
|
3695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3696
3696
|
import { randomUUID } from "node:crypto";
|
|
3697
3697
|
var MATCHES = 8;
|
|
3698
3698
|
var ANSWER = answerSchema();
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
optional,
|
|
10
10
|
pipe,
|
|
11
11
|
safeParse
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5LEIPSJG.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
15
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -17,7 +17,7 @@ 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@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
|
27
27
|
}, "checkedOptions");
|
|
28
28
|
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
31
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
32
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
33
33
|
if (images === void 0)
|
|
@@ -7,28 +7,28 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
agentResult,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4BSNHOEV.js";
|
|
11
11
|
import {
|
|
12
12
|
APP
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XO6RP5FV.js";
|
|
14
14
|
import {
|
|
15
15
|
CommanderError,
|
|
16
16
|
judgedEffects,
|
|
17
17
|
metaOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IHWPNLCI.js";
|
|
19
19
|
import {
|
|
20
20
|
storeDamaged
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZIDR2CSX.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
errorRecordOf,
|
|
25
25
|
exitCodeOfError,
|
|
26
26
|
mcpErrorResult,
|
|
27
27
|
renderError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RK24IARI.js";
|
|
29
29
|
import {
|
|
30
30
|
ValiError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5LEIPSJG.js";
|
|
32
32
|
import {
|
|
33
33
|
CliError
|
|
34
34
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DP2RZ6FO.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IHWPNLCI.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5LEIPSJG.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
27
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -95,7 +95,7 @@ var CORE_SECTIONS = {
|
|
|
95
95
|
upgrade: "setup"
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
99
99
|
var DESCRIPTION = 90;
|
|
100
100
|
var COLUMN = 52;
|
|
101
101
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -134,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
134
134
|
`;
|
|
135
135
|
}, "commandsText");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
138
138
|
var ARGUMENT_KINDS = {
|
|
139
139
|
chat: "chat",
|
|
140
140
|
chats: "chat",
|
|
@@ -326,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
326
326
|
command.addHelpText("after", () => commandHelpText(command));
|
|
327
327
|
}, "installCommandHelp");
|
|
328
328
|
|
|
329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
330
330
|
var WIRECAT_TOOLS = [
|
|
331
331
|
{
|
|
332
332
|
command: "tg",
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ensureSqlite,
|
|
5
5
|
isCommandServer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TH3LLEA2.js";
|
|
7
7
|
import {
|
|
8
8
|
envName,
|
|
9
9
|
readOnlyLockOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AWUANCLC.js";
|
|
11
11
|
import {
|
|
12
12
|
catchCrashes
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RK24IARI.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
16
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
22
22
|
import { spawn } from "node:child_process";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
25
25
|
import { appendFileSync } from "node:fs";
|
|
26
26
|
var logVersion = /* @__PURE__ */ __name((file) => {
|
|
27
27
|
appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
|
|
28
28
|
`);
|
|
29
29
|
}, "logVersion");
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
32
32
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
33
33
|
argv: process.argv,
|
|
34
34
|
env: process.env,
|
|
@@ -48,7 +48,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
48
48
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
49
49
|
return printVersion(entry.app, io);
|
|
50
50
|
if (isCommandServer(args)) {
|
|
51
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
51
|
+
const { serveEntry } = await import("./command-server-entry-VSWZ5K2Q.js");
|
|
52
52
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
53
53
|
}
|
|
54
54
|
const tty = io.stdout.isTTY === true;
|
|
@@ -86,7 +86,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
86
86
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
87
87
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
88
88
|
return false;
|
|
89
|
-
const { readSecret } = await import("./prompt-
|
|
89
|
+
const { readSecret } = await import("./prompt-4I34VBPK.js");
|
|
90
90
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
91
91
|
input: io.stdin,
|
|
92
92
|
output: io.stderr,
|
|
@@ -129,8 +129,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
129
129
|
if (command.optsWithGlobals().dryRun === true)
|
|
130
130
|
return;
|
|
131
131
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
132
|
-
import("./first-run-
|
|
133
|
-
import("./command-contract-
|
|
132
|
+
import("./first-run-BBMUDHYX.js"),
|
|
133
|
+
import("./command-contract-4ZJOMSQ2.js")
|
|
134
134
|
]);
|
|
135
135
|
await setupAtStart({
|
|
136
136
|
command: entry.app.command,
|