@wirecat/cli-memo 0.131.50 → 0.131.51
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/author.d.ts +6 -3
- package/dist/author.d.ts.map +1 -1
- package/dist/author.js +9 -4
- package/dist/author.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-3R3VE3W2.js} +9 -9
- package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-QVYJRACM.js} +6 -6
- package/dist/bundle/{app-server-6EKWAYJI.js → app-server-T3D2PIGZ.js} +42 -42
- package/dist/bundle/auto-XJCSM7WE.js +86 -0
- package/dist/bundle/{bun-HUHQD76Z.js → bun-DTDD2OHK.js} +2 -2
- package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-DWICJAH3.js} +5 -5
- package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-3OL3QRFS.js} +6 -6
- package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-4A6JOJLR.js} +4 -4
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-4GWFRZ2U.js} +1 -1
- package/dist/bundle/{chunk-LZWXGO3G.js → chunk-4MWP6Z3W.js} +2 -2
- package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-4RHIJMRX.js} +29 -29
- package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
- package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-526KVXRI.js} +2 -2
- package/dist/bundle/{chunk-OT23U5LT.js → chunk-56BBTOS2.js} +2 -2
- package/dist/bundle/{chunk-QCPUC3HW.js → chunk-5JY464PN.js} +13 -13
- package/dist/bundle/{chunk-57LMWEDK.js → chunk-5ZGOT57S.js} +3 -3
- package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
- package/dist/bundle/{chunk-3BG5VYMV.js → chunk-66A646SL.js} +10 -10
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-6MEVHKIO.js} +1 -1
- package/dist/bundle/{chunk-UAR6UMFL.js → chunk-6O37NSG6.js} +5 -5
- package/dist/bundle/{chunk-7ZLOZGIC.js → chunk-7C3MP5LH.js} +6 -6
- package/dist/bundle/{chunk-PJMGQJAX.js → chunk-AEVTXHTY.js} +7 -7
- package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-AWLAMVNY.js} +6 -6
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-BUHTAMPF.js} +1 -1
- package/dist/bundle/{chunk-AKD62EUH.js → chunk-CPLYNBAJ.js} +2 -2
- package/dist/bundle/{chunk-RYMYE5PF.js → chunk-CZOBBAXM.js} +8 -8
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-E3WIMCV5.js} +1 -1
- package/dist/bundle/{chunk-IXXBPSXO.js → chunk-E7TMOUWZ.js} +2 -2
- package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
- package/dist/bundle/{chunk-6N6BVPVX.js → chunk-ECLBZGWI.js} +4 -4
- package/dist/bundle/{chunk-O3KOW7RG.js → chunk-ETD2DRJD.js} +8 -8
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-FJ3DAE4M.js} +1 -1
- package/dist/bundle/{chunk-GIDZGGAD.js → chunk-FZ4GVE36.js} +4 -4
- package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-GBWOMPZ7.js} +4 -4
- package/dist/bundle/{chunk-PYRHU35W.js → chunk-GSCGRBEQ.js} +155 -155
- package/dist/bundle/{chunk-ND6D4A6H.js → chunk-H65NWA3X.js} +3 -3
- package/dist/bundle/{chunk-4VQPPX47.js → chunk-H7RSMNHL.js} +263 -263
- package/dist/bundle/{chunk-D5KGXYG6.js → chunk-HRLQQLVD.js} +22 -22
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-ZDHNEYKO.js → chunk-JBSMBHTM.js} +8 -8
- package/dist/bundle/{chunk-HCMXUHHF.js → chunk-JCNBJ3FN.js} +66 -66
- package/dist/bundle/{chunk-5RVL7GYA.js → chunk-JINNS3FI.js} +2 -2
- package/dist/bundle/{chunk-RKFKRCOH.js → chunk-LYUVULFK.js} +260 -260
- package/dist/bundle/{chunk-FOM7WE2C.js → chunk-MVV32ZTO.js} +9 -9
- package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
- package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-N3UA5PO4.js} +11 -11
- package/dist/bundle/{chunk-355PHJYX.js → chunk-O5UP2KZL.js} +1 -1
- package/dist/bundle/{chunk-XZZFHQGM.js → chunk-O5Z74SBZ.js} +22 -22
- package/dist/bundle/{chunk-P2LMXIHL.js → chunk-OBVKXHOH.js} +291 -291
- package/dist/bundle/{chunk-DJRBSOWH.js → chunk-OJFRMK2W.js} +4 -4
- package/dist/bundle/{chunk-2MFBZ2UM.js → chunk-PNNM72BO.js} +5 -5
- package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-PWYCF76F.js} +3 -3
- package/dist/bundle/{chunk-2OIGV355.js → chunk-PX2B5ZRL.js} +50 -50
- package/dist/bundle/{chunk-5JVA43HX.js → chunk-QFC7V5VW.js} +6 -6
- package/dist/bundle/{chunk-NJDGZRF5.js → chunk-QIFK3EZM.js} +14 -14
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-REROHDUR.js} +1 -1
- package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-RL2DSQCD.js} +9 -9
- package/dist/bundle/{chunk-UJLYVXP6.js → chunk-ROP27ZJU.js} +34 -34
- package/dist/bundle/{chunk-N6IHOYMT.js → chunk-SXVPRYEF.js} +161 -36
- package/dist/bundle/{chunk-GV6XJMUW.js → chunk-UDAATSWZ.js} +12 -12
- package/dist/bundle/{chunk-XH6K2B5L.js → chunk-UQ2OA6EM.js} +4 -4
- package/dist/bundle/{chunk-TSUNLSIN.js → chunk-V3TELYLZ.js} +2 -2
- package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
- package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-WPW6ULD7.js} +3 -3
- package/dist/bundle/{chunk-PEYCLVIO.js → chunk-XGNNI3S3.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-XN5YDZY7.js} +1 -1
- package/dist/bundle/{chunk-SLIF5EMS.js → chunk-YPLKNKAD.js} +7 -7
- package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-YZB5IL4L.js} +3 -3
- package/dist/bundle/{chunk-5TWUUDKP.js → chunk-ZC2LNXGO.js} +2 -2
- package/dist/bundle/command-contract-OTVOQLZS.js +32 -0
- package/dist/bundle/{decode-IYWZ3X7X.js → decode-ISKRNDDM.js} +5 -5
- package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-TINXXXCB.js} +2 -2
- package/dist/bundle/{embed-EGY2R4FN.js → embed-R2KJDGEX.js} +6 -6
- package/dist/bundle/{embedder-K2BGPWNX.js → embedder-X2Y5RLKE.js} +9 -9
- package/dist/bundle/{entry-NMAZNDNU.js → entry-2MUKT36Z.js} +7 -7
- package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
- package/dist/bundle/failure-KYUARIL2.js +66 -0
- package/dist/bundle/{first-run-QDCSWX3N.js → first-run-6BSAM4BD.js} +11 -11
- package/dist/bundle/first-screen-ALXB4ONR.js +30 -0
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-E5NBM2NJ.js} +1 -1
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/mcp-YUPBMZPV.js +90 -0
- package/dist/bundle/memo.js +41 -17
- package/dist/bundle/{node-ZB4RNICS.js → node-NBHZ4XWV.js} +2 -2
- package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-3CBWCPNC.js} +6 -6
- package/dist/bundle/{oauth-FMH3JIPT.js → oauth-L5XC2THD.js} +7 -7
- package/dist/bundle/{open-PRCTOHHL.js → open-WR6QQPVB.js} +5 -5
- package/dist/bundle/{openai-VW4W6SIO.js → openai-MCPELYCJ.js} +10 -10
- package/dist/bundle/{process-XNN4WG6N.js → process-EAEC2FBD.js} +1 -1
- package/dist/bundle/{program-TVT22XUQ.js → program-WKKBFQIW.js} +68 -63
- package/dist/bundle/{prompt-RT55UZGB.js → prompt-M4Z35LQ5.js} +5 -5
- package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-VT6NKW6D.js} +4 -4
- package/dist/bundle/{remote-T3P5OWRR.js → remote-6QTPH5PJ.js} +7 -7
- package/dist/bundle/{rerank-743T3675.js → rerank-MJYLXZ4K.js} +7 -7
- package/dist/bundle/{serve-BSKOU4FJ.js → serve-KQ6OL3OH.js} +9 -9
- package/dist/bundle/server-AVAJTC5G.js +61 -0
- package/dist/bundle/server-QAFF3RP5.js +48 -0
- package/dist/bundle/{server-ECOTCYJ3.js → server-UJIH2SBV.js} +58 -58
- package/dist/bundle/{state-MDMI3I2Z.js → state-2PDCOSJN.js} +6 -6
- package/dist/bundle/{store-I3DIZALN.js → store-SXYAS5EI.js} +13 -13
- package/dist/bundle/store-maintenance-command-ARTXRVYD.js +48 -0
- package/dist/bundle/update-MOZKRB2Z.js +69 -0
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -1
- package/dist/people/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +1 -1
- package/skills/cli-memo/topics/proposals.md +2 -2
- package/skills/mail-triage/SKILL.md +1 -1
- package/skills/morning-digest/SKILL.md +1 -1
- package/dist/bundle/auto-C7G3WVRU.js +0 -86
- package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
- package/dist/bundle/failure-FW4NJI7G.js +0 -66
- package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
- package/dist/bundle/mcp-QRZ2HSON.js +0 -90
- package/dist/bundle/server-VMWVYGK7.js +0 -48
- package/dist/bundle/server-ZFHSK6TT.js +0 -61
- package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
- package/dist/bundle/update-ZIZAU5RE.js +0 -69
- /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-4ZSY3MKL.js} +0 -0
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-SW6C6WH5.js} +0 -0
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QIFK3EZM.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XGNNI3S3.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H7RSMNHL.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -42,23 +42,23 @@ import {
|
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording,
|
|
44
44
|
traceOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-GSCGRBEQ.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-MVV32ZTO.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-JCNBJ3FN.js";
|
|
55
55
|
import {
|
|
56
56
|
MAX_BUFFERED_INPUT
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-CPLYNBAJ.js";
|
|
58
58
|
import {
|
|
59
59
|
captureStreams,
|
|
60
60
|
traceIdOf
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WLKDS65F.js";
|
|
62
62
|
import {
|
|
63
63
|
COMPACT_FLAG,
|
|
64
64
|
SNAKE_CASE,
|
|
@@ -97,19 +97,19 @@ import {
|
|
|
97
97
|
unknown,
|
|
98
98
|
word,
|
|
99
99
|
writes
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-64JCY7XJ.js";
|
|
101
101
|
import {
|
|
102
102
|
CliError,
|
|
103
103
|
errorCodes
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-4ZW6ZJ2V.js";
|
|
105
105
|
import {
|
|
106
106
|
__name
|
|
107
107
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
108
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
110
110
|
import { Readable } from "node:stream";
|
|
111
111
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.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
|
|
113
113
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
114
114
|
var lintRuleSchema = strictObject({
|
|
115
115
|
id: word,
|
|
@@ -237,7 +237,7 @@ var overrideSchema = strictObject({
|
|
|
237
237
|
});
|
|
238
238
|
var overridesSchema = array(overrideSchema);
|
|
239
239
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
240
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
241
241
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
242
242
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
243
243
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -282,11 +282,13 @@ var parityGroupSchema = strictObject({
|
|
|
282
282
|
/** Permanent differences, each with its reason; they count against the override budget of the group. */
|
|
283
283
|
differences: array(strictObject({
|
|
284
284
|
rule: word,
|
|
285
|
-
/** `<clis> <path> <flag>`; with `absent`, only `<path> <flag>`: the CLI list is whoever else
|
|
285
|
+
/** `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared. */
|
|
286
286
|
target: text,
|
|
287
287
|
expected: optional(text),
|
|
288
288
|
/** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
|
|
289
289
|
absent: optional(word),
|
|
290
|
+
/** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
|
|
291
|
+
only: optional(word),
|
|
290
292
|
reason: pipe(text, minLength(10, "say why, in a sentence"))
|
|
291
293
|
}))
|
|
292
294
|
});
|
|
@@ -294,7 +296,8 @@ var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity
|
|
|
294
296
|
...duplicates(groups.map((group) => group.name)).map((name) => `"${name}" is listed twice`),
|
|
295
297
|
...groups.flatMap((group) => [
|
|
296
298
|
...duplicates(group.differences.map((entry) => `${entry.rule} ${entry.target}`)).map((both) => `${group.name}: "${both}" is listed twice`),
|
|
297
|
-
...group.differences.filter((entry) => entry.absent && entry.expected).map((entry) => `${group.name}: "${entry.target}" has
|
|
299
|
+
...group.differences.filter((entry) => (entry.absent || entry.only) && entry.expected).map((entry) => `${group.name}: "${entry.target}" has \`${entry.absent ? "absent" : "only"}\`, which measures the values itself; drop \`expected\``),
|
|
300
|
+
...group.differences.filter((entry) => entry.absent && entry.only).map((entry) => `${group.name}: "${entry.target}" has both \`absent\` and \`only\`; keep one`)
|
|
298
301
|
])
|
|
299
302
|
]), "defineParityGroups");
|
|
300
303
|
var MEMO_HAS_NO_PROFILES = [
|
|
@@ -309,13 +312,19 @@ var MEMO_HAS_NO_PROFILES = [
|
|
|
309
312
|
absent: "memo",
|
|
310
313
|
reason: "memo has no profiles: it reads other CLIs' stores and selects their accounts with --source and --account (https://github.com/WireCatLabs/cli-base/issues/390)"
|
|
311
314
|
}));
|
|
315
|
+
var MEMO_DOCTOR_DEEP = {
|
|
316
|
+
rule: "same-path-contract",
|
|
317
|
+
target: "doctor --deep",
|
|
318
|
+
only: "memo",
|
|
319
|
+
reason: "memo's doctor --deep also checks its own store (cli-memo #672); cli-core's shared doctor leaves --deep to each CLI, and no other CLI has one"
|
|
320
|
+
};
|
|
312
321
|
var PARITY_GROUPS = defineParityGroups([
|
|
313
322
|
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
|
|
314
323
|
{
|
|
315
324
|
name: "all",
|
|
316
325
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
317
326
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "search", "notes", "meetings"],
|
|
318
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
327
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
319
328
|
},
|
|
320
329
|
// mail's `search messages` is cli-core's mail search, not the messengers' command: --complete took their 20-odd
|
|
321
330
|
// differences as inherited (https://github.com/WireCatLabs/cli-base/issues/390). mail is compared everywhere else
|
|
@@ -324,7 +333,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
324
333
|
name: "mail-shared",
|
|
325
334
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "mail"],
|
|
326
335
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "notes", "meetings"],
|
|
327
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
336
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
328
337
|
},
|
|
329
338
|
// gcal is compared on what it already shares with every CLI; doctor, mcp, search and skill wait until the published
|
|
330
339
|
// CLIs agree there (https://github.com/WireCatLabs/cli-base/issues/390), then gcal moves back into "all".
|
|
@@ -340,7 +349,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
340
349
|
name: "shared-roots",
|
|
341
350
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
|
|
342
351
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
343
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
352
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
344
353
|
}
|
|
345
354
|
]);
|
|
346
355
|
var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
|
|
@@ -354,7 +363,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
354
363
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
355
364
|
]);
|
|
356
365
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
366
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
358
367
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
359
368
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
360
369
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -370,7 +379,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
370
379
|
}
|
|
371
380
|
]);
|
|
372
381
|
|
|
373
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
382
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
374
383
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
375
384
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
376
385
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -392,7 +401,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
392
401
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
393
402
|
]);
|
|
394
403
|
|
|
395
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
404
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
396
405
|
var CALENDAR_FLAGS = [
|
|
397
406
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
398
407
|
{
|
|
@@ -400,14 +409,14 @@ var CALENDAR_FLAGS = [
|
|
|
400
409
|
value: "<date>",
|
|
401
410
|
role: "value",
|
|
402
411
|
type: "time",
|
|
403
|
-
meaning: "the first day of something that lasts whole days, such as an all-day event"
|
|
412
|
+
meaning: "the first day of something that lasts whole days, such as an all-day event or a contract"
|
|
404
413
|
},
|
|
405
414
|
{
|
|
406
415
|
name: "--end-date",
|
|
407
416
|
value: "<date>",
|
|
408
417
|
role: "value",
|
|
409
418
|
type: "time",
|
|
410
|
-
meaning: "the last day of something that lasts whole days, such as an all-day event"
|
|
419
|
+
meaning: "the last day of something that lasts whole days, such as an all-day event or a contract"
|
|
411
420
|
},
|
|
412
421
|
{ name: "--location", value: "<text>", role: "value", type: "string", meaning: "where it takes place" },
|
|
413
422
|
{
|
|
@@ -466,7 +475,7 @@ var CALENDAR_FLAGS = [
|
|
|
466
475
|
}
|
|
467
476
|
];
|
|
468
477
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
478
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
470
479
|
var CRM_FLAGS = [
|
|
471
480
|
{
|
|
472
481
|
name: "--pipeline",
|
|
@@ -503,10 +512,106 @@ var CRM_FLAGS = [
|
|
|
503
512
|
role: "value",
|
|
504
513
|
type: "id",
|
|
505
514
|
meaning: "the CRM user a record is assigned to, by the CRM's id"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
name: "--status",
|
|
518
|
+
value: "<state>",
|
|
519
|
+
role: "value",
|
|
520
|
+
type: "choice",
|
|
521
|
+
meaning: "the state to put it in; the command lists the states"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
name: "--product",
|
|
525
|
+
value: "<product>",
|
|
526
|
+
role: "value",
|
|
527
|
+
type: "string",
|
|
528
|
+
meaning: "a product or service the owner sells or buys: product:<id>"
|
|
529
|
+
},
|
|
530
|
+
{ name: "--contract", value: "<contract>", role: "value", type: "string", meaning: "a contract: contract:<id>" },
|
|
531
|
+
{ name: "--payment", value: "<payment>", role: "value", type: "string", meaning: "a payment: payment:<id>" },
|
|
532
|
+
{
|
|
533
|
+
name: "--refund-of",
|
|
534
|
+
value: "<payment>",
|
|
535
|
+
role: "value",
|
|
536
|
+
type: "string",
|
|
537
|
+
meaning: "the payment this one gives money back for: payment:<id>"
|
|
538
|
+
},
|
|
539
|
+
{ name: "--wallet", value: "<wallet>", role: "value", type: "string", meaning: "a wallet: wallet:<id>" },
|
|
540
|
+
{
|
|
541
|
+
name: "--supplier",
|
|
542
|
+
value: "<party>",
|
|
543
|
+
role: "value",
|
|
544
|
+
type: "string",
|
|
545
|
+
meaning: "who supplies it: person:<uid> or organization:<id>"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
name: "--customer",
|
|
549
|
+
value: "<party>",
|
|
550
|
+
role: "value",
|
|
551
|
+
type: "string",
|
|
552
|
+
meaning: "who receives it and pays for it: person:<uid> or organization:<id>"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: "--trial-end-date",
|
|
556
|
+
value: "<date>",
|
|
557
|
+
role: "value",
|
|
558
|
+
type: "time",
|
|
559
|
+
meaning: "the day a free trial ends, YYYY-MM-DD"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
name: "--notice-days",
|
|
563
|
+
value: "<days>",
|
|
564
|
+
role: "value",
|
|
565
|
+
type: "count",
|
|
566
|
+
meaning: "how many days before its end a party must say it will not go on",
|
|
567
|
+
unit: "days"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
name: "--auto-renew",
|
|
571
|
+
value: "<on|off>",
|
|
572
|
+
role: "value",
|
|
573
|
+
type: "choice",
|
|
574
|
+
meaning: "it renews by itself at its end, or it does not"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: "--opening-balance",
|
|
578
|
+
value: "<decimal>",
|
|
579
|
+
role: "value",
|
|
580
|
+
type: "string",
|
|
581
|
+
meaning: "the money it held on --opening-date, as a decimal such as 1500.50; later movements count from it"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
name: "--opening-date",
|
|
585
|
+
value: "<date>",
|
|
586
|
+
role: "value",
|
|
587
|
+
type: "time",
|
|
588
|
+
meaning: "the day of the opening balance, YYYY-MM-DD"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
name: "--institution",
|
|
592
|
+
value: "<text>",
|
|
593
|
+
role: "value",
|
|
594
|
+
type: "string",
|
|
595
|
+
meaning: "the bank or other company that holds it, by name"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
name: "--unit",
|
|
599
|
+
value: "<text>",
|
|
600
|
+
role: "value",
|
|
601
|
+
type: "string",
|
|
602
|
+
meaning: "what one of it is counted in, such as hour or piece"
|
|
603
|
+
},
|
|
604
|
+
{ name: "--sku", value: "<code>", role: "value", type: "string", meaning: "the stock code the seller gives it" },
|
|
605
|
+
{
|
|
606
|
+
name: "--archived",
|
|
607
|
+
value: "<on|off>",
|
|
608
|
+
role: "value",
|
|
609
|
+
type: "choice",
|
|
610
|
+
meaning: "set it aside as no longer in use, or bring it back; what points at it keeps pointing at it"
|
|
506
611
|
}
|
|
507
612
|
];
|
|
508
613
|
|
|
509
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
614
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
510
615
|
var HOW_FLAGS = [
|
|
511
616
|
{
|
|
512
617
|
name: "--limit",
|
|
@@ -740,6 +845,7 @@ var HOW_FLAGS = [
|
|
|
740
845
|
type: "switch",
|
|
741
846
|
meaning: "record the action as the owner's although an agent's terminal runs the tool"
|
|
742
847
|
},
|
|
848
|
+
{ name: "--from-app", role: "mode", type: "switch", meaning: "the owner acted in the app; its word, not a check" },
|
|
743
849
|
{
|
|
744
850
|
name: "--allow-any-file",
|
|
745
851
|
role: "mode",
|
|
@@ -1501,7 +1607,7 @@ var HOW_FLAGS = [
|
|
|
1501
1607
|
}
|
|
1502
1608
|
];
|
|
1503
1609
|
|
|
1504
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1610
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1505
1611
|
var MAIL_FLAGS = [
|
|
1506
1612
|
{
|
|
1507
1613
|
name: "--cc",
|
|
@@ -1531,7 +1637,7 @@ var MAIL_FLAGS = [
|
|
|
1531
1637
|
}
|
|
1532
1638
|
];
|
|
1533
1639
|
|
|
1534
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1640
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1535
1641
|
var PRIVACY_FLAGS = [
|
|
1536
1642
|
{
|
|
1537
1643
|
name: "--about-text",
|
|
@@ -1592,7 +1698,7 @@ var PRIVACY_FLAGS = [
|
|
|
1592
1698
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1593
1699
|
];
|
|
1594
1700
|
|
|
1595
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1701
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1596
1702
|
var SCHEDULE_FLAGS = [
|
|
1597
1703
|
{
|
|
1598
1704
|
name: "--notify-on",
|
|
@@ -1618,7 +1724,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1618
1724
|
}
|
|
1619
1725
|
];
|
|
1620
1726
|
|
|
1621
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1727
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1622
1728
|
var WHAT_FLAGS = [
|
|
1623
1729
|
{
|
|
1624
1730
|
name: "--analysis-provider",
|
|
@@ -2344,7 +2450,14 @@ var WHAT_FLAGS = [
|
|
|
2344
2450
|
type: "id",
|
|
2345
2451
|
meaning: "the stored calendar event it is linked to, or none to unlink"
|
|
2346
2452
|
},
|
|
2347
|
-
{
|
|
2453
|
+
{
|
|
2454
|
+
name: "--every",
|
|
2455
|
+
value: "<duration>",
|
|
2456
|
+
role: "value",
|
|
2457
|
+
type: "duration",
|
|
2458
|
+
otherValues: ["count-unit"],
|
|
2459
|
+
meaning: "repeat this often: a length of time for a timer (<duration>), a count and a calendar unit for a charge, such as 1-month (<count-unit>)"
|
|
2460
|
+
},
|
|
2348
2461
|
{
|
|
2349
2462
|
name: "--evidence",
|
|
2350
2463
|
value: "<ref...>",
|
|
@@ -2580,7 +2693,7 @@ var WHAT_FLAGS = [
|
|
|
2580
2693
|
}
|
|
2581
2694
|
];
|
|
2582
2695
|
|
|
2583
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2696
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2584
2697
|
var FLAG_TYPES = [
|
|
2585
2698
|
"switch",
|
|
2586
2699
|
"count",
|
|
@@ -2668,6 +2781,7 @@ var defineVocabulary = /* @__PURE__ */ __name((input) => parseRegistry("vocabula
|
|
|
2668
2781
|
var verbs = [
|
|
2669
2782
|
["list", "show many"],
|
|
2670
2783
|
["show", "show one"],
|
|
2784
|
+
["browse", "list one level of a remote hierarchy, such as a provider's folders, to choose from; reads only"],
|
|
2671
2785
|
["search", "find by text; the description says where it looks"],
|
|
2672
2786
|
["prepare", "assemble bounded cited context for a selected upcoming activity without applying findings"],
|
|
2673
2787
|
["related", "what is nearest in meaning to one thing, without a query"],
|
|
@@ -2698,7 +2812,7 @@ var verbs = [
|
|
|
2698
2812
|
["revoke", "take back what was granted, so it stops working: a login, an invite link, a consent"],
|
|
2699
2813
|
["install", "install a system unit"],
|
|
2700
2814
|
["uninstall", "remove a system unit"],
|
|
2701
|
-
["cancel", "stop a job
|
|
2815
|
+
["cancel", "stop a job, a pending thing or a subscription"],
|
|
2702
2816
|
[
|
|
2703
2817
|
"sync",
|
|
2704
2818
|
"bring the local store up to date from the source: only what changed, or the whole list where the source cannot say; a mirror syncs both ways"
|
|
@@ -2721,6 +2835,10 @@ var verbs = [
|
|
|
2721
2835
|
// Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
|
|
2722
2836
|
["link", "record that two identities are one person"],
|
|
2723
2837
|
["unlink", "undo a link"],
|
|
2838
|
+
[
|
|
2839
|
+
"match",
|
|
2840
|
+
"link each waiting record to the thing its identifiers name, such as a person by e-mail address; a name alone never matches"
|
|
2841
|
+
],
|
|
2724
2842
|
["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
|
|
2725
2843
|
["lookup", "ask the messenger who is behind a phone number"],
|
|
2726
2844
|
[
|
|
@@ -2833,7 +2951,14 @@ var collections = [
|
|
|
2833
2951
|
["leads", "possible customers not yet qualified into a deal"],
|
|
2834
2952
|
["pipelines", "ordered sets of stages a deal moves through"],
|
|
2835
2953
|
["stages", "steps of a pipeline, each open, won or lost"],
|
|
2836
|
-
["products", "goods and services the owner sells, with their prices"],
|
|
2954
|
+
["products", "goods and services the owner sells or buys, with their prices"],
|
|
2955
|
+
["lines", "the rows of an order or an invoice: what, how many and at what price"],
|
|
2956
|
+
["contracts", "agreements the owner is a party to, with their terms, dates and renewal"],
|
|
2957
|
+
["subscriptions", "charges that repeat on a schedule, which the owner pays or is paid, with their price history"],
|
|
2958
|
+
["prices", "what a thing costs over time, each price from its start date"],
|
|
2959
|
+
["wallets", "places that hold the owner's money, such as a bank account, a card or cash"],
|
|
2960
|
+
["transactions", "money that moved in or out of a wallet, as the bank or the owner recorded it"],
|
|
2961
|
+
["splits", "parts of one transaction, each with its own amount and category"],
|
|
2837
2962
|
["users", "people who work in the owner's account at a service, such as a CRM's employees"],
|
|
2838
2963
|
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
2839
2964
|
[
|
|
@@ -2978,7 +3103,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2978
3103
|
]
|
|
2979
3104
|
});
|
|
2980
3105
|
|
|
2981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
3106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2982
3107
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2983
3108
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2984
3109
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3201,7 +3326,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3201
3326
|
}
|
|
3202
3327
|
}, "runCommandForAgent");
|
|
3203
3328
|
|
|
3204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
3329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3205
3330
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3206
3331
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3207
3332
|
var message = pipe(
|
|
@@ -3460,7 +3585,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3460
3585
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3461
3586
|
}, "failed");
|
|
3462
3587
|
|
|
3463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
3588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3464
3589
|
import { randomUUID } from "node:crypto";
|
|
3465
3590
|
var MATCHES = 8;
|
|
3466
3591
|
var ANSWER = answerSchema();
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MZMJALJT.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OJFRMK2W.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CZOBBAXM.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AWLAMVNY.js";
|
|
19
19
|
import {
|
|
20
20
|
storePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4MWP6Z3W.js";
|
|
22
22
|
import {
|
|
23
23
|
installerOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IK6KH3RE.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-SXYAS5EI.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-WR6QQPVB.js"),
|
|
117
|
+
import("./store-maintenance-command-ARTXRVYD.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-ALXB4ONR.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-M4Z35LQ5.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FJ3DAE4M.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XGNNI3S3.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-KQ6OL3OH.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4ZW6ZJ2V.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|