@wirecat/drive-cli 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/drive.js +2 -2
- package/dist/browse.d.ts +20 -0
- package/dist/browse.d.ts.map +1 -0
- package/dist/browse.js +146 -0
- package/dist/browse.js.map +1 -0
- package/dist/bundle/{all-profiles-H4L3Z5UM.js → all-profiles-CKD2DWUK.js} +14 -14
- package/dist/bundle/{anthropic-PPGFISVP.js → anthropic-E3T4USLA.js} +9 -9
- package/dist/bundle/{app-server-YXVK2FUZ.js → app-server-JB2AEWWL.js} +58 -55
- package/dist/bundle/{bun-DKZAL6ML.js → bun-CC44AAND.js} +2 -2
- package/dist/bundle/{bun-sqlite-MTZY36QK.js → bun-sqlite-AUMFKYVR.js} +8 -8
- package/dist/bundle/{chunk-KV4267S4.js → chunk-27YUUGXQ.js} +1 -1
- package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-2HF2MRXI.js} +1 -1
- package/dist/bundle/{chunk-3I2D5TK2.js → chunk-2KN35F32.js} +10 -10
- package/dist/bundle/{chunk-WZ5XK74U.js → chunk-4OSSOWDM.js} +1 -1
- package/dist/bundle/{chunk-UO2IUDVK.js → chunk-4SIZEJ3M.js} +2 -2
- package/dist/bundle/{chunk-6Y2FWJZ4.js → chunk-67ZQCWBV.js} +3 -3
- package/dist/bundle/{chunk-OFFA54TW.js → chunk-6EY46GAN.js} +2 -2
- package/dist/bundle/{chunk-ECEYAQGN.js → chunk-7W5HYGVW.js} +4 -2
- package/dist/bundle/{chunk-67HS46KM.js → chunk-7ZXIWZQ6.js} +12 -12
- package/dist/bundle/{chunk-J5UDQD5S.js → chunk-AH5C3D3D.js} +5 -5
- package/dist/bundle/{chunk-BCWUDTYQ.js → chunk-AQVUEZEP.js} +2 -2
- package/dist/bundle/{chunk-K7LS3NGM.js → chunk-CJHY5YIF.js} +494 -227
- package/dist/bundle/{chunk-PY7LKNOS.js → chunk-CZ2GJHLL.js} +2 -2
- package/dist/bundle/{chunk-NIX2MWHZ.js → chunk-DJOAMGF4.js} +39 -25
- package/dist/bundle/{chunk-AWN22PJK.js → chunk-DRZZBN3V.js} +3 -3
- package/dist/bundle/{chunk-DEPMQHXQ.js → chunk-DWJHL6DV.js} +4 -4
- package/dist/bundle/{chunk-QSGT4ZH4.js → chunk-E43ENLJJ.js} +1 -1
- package/dist/bundle/{chunk-NZ2EIZLX.js → chunk-EOOGWUTP.js} +10 -10
- package/dist/bundle/{chunk-5W56YMQS.js → chunk-EW7PKB4M.js} +58 -49
- package/dist/bundle/{chunk-VYXVPYA3.js → chunk-FEZF3TII.js} +6 -6
- package/dist/bundle/{chunk-I26VL4W7.js → chunk-FNWIJ6EJ.js} +2 -2
- package/dist/bundle/{chunk-OLPJRD4S.js → chunk-FUITWY7O.js} +1 -1
- package/dist/bundle/{chunk-XZBR2O63.js → chunk-HCNQT3QE.js} +1439 -770
- package/dist/bundle/{chunk-Q4XVBKX4.js → chunk-HG6CAYJH.js} +3 -3
- package/dist/bundle/{chunk-O5CUFS7T.js → chunk-IR4SQLBR.js} +2 -2
- package/dist/bundle/{chunk-VPDAH7PJ.js → chunk-JK3U25QZ.js} +1 -1
- package/dist/bundle/{chunk-UKOYQC5O.js → chunk-JN5TVEEL.js} +94 -26
- package/dist/bundle/{chunk-5W7D5H2R.js → chunk-KLFSRKHB.js} +1 -1
- package/dist/bundle/{chunk-RFRCOAWS.js → chunk-L7K2MOIC.js} +22 -22
- package/dist/bundle/{chunk-XYCCGGKN.js → chunk-LQKD257P.js} +582 -424
- package/dist/bundle/{chunk-73WSULMI.js → chunk-LWE4JGRN.js} +2 -2
- package/dist/bundle/{chunk-XGMDWIUP.js → chunk-MN4VXU3M.js} +4 -4
- package/dist/bundle/{chunk-N2RLJTIW.js → chunk-N7OZPKU7.js} +4 -4
- package/dist/bundle/{chunk-OGNOQDWB.js → chunk-O2XOX4HB.js} +34 -10
- package/dist/bundle/{chunk-3SJQNS72.js → chunk-O7ALBI2I.js} +5 -5
- package/dist/bundle/{chunk-3WZH3WV3.js → chunk-OBH5BA62.js} +3 -3
- package/dist/bundle/{chunk-DCBFNBEB.js → chunk-OD4U7GUY.js} +20 -20
- package/dist/bundle/{chunk-PJTX2MOI.js → chunk-ONP2IBHY.js} +26 -26
- package/dist/bundle/{chunk-BXR7BKM3.js → chunk-OTROVC4E.js} +1 -1
- package/dist/bundle/{chunk-JVBLXSAA.js → chunk-PEQA6LA5.js} +617 -243
- package/dist/bundle/{chunk-XLFJLZJL.js → chunk-Q2LRPOKL.js} +22 -14
- package/dist/bundle/{chunk-E5EXJ2XS.js → chunk-QCKZ3GAA.js} +4 -4
- package/dist/bundle/{chunk-BQMIDYBA.js → chunk-QCX6XZLA.js} +12 -12
- package/dist/bundle/{chunk-TKGAYKXW.js → chunk-QH7DOVO3.js} +204 -58
- package/dist/bundle/{chunk-YMBFZA3H.js → chunk-QTI6IVHZ.js} +8 -8
- package/dist/bundle/{chunk-YWIU4HOT.js → chunk-R347FPYU.js} +1 -1
- package/dist/bundle/chunk-RIDQNVZM.js +64 -0
- package/dist/bundle/{chunk-AM4RIWOZ.js → chunk-RPMKG63Z.js} +18 -4
- package/dist/bundle/{chunk-EPCJUL6M.js → chunk-RWSXVCSG.js} +3 -3
- package/dist/bundle/{chunk-36CWGEVX.js → chunk-SVPCHFKI.js} +2 -2
- package/dist/bundle/{chunk-ZHYRHERD.js → chunk-SW4I5BR7.js} +2 -2
- package/dist/bundle/{chunk-FE5JJXKA.js → chunk-T5NWWXS2.js} +2 -2
- package/dist/bundle/{chunk-E6J5YH2N.js → chunk-T7X53FCJ.js} +34 -34
- package/dist/bundle/{chunk-X2CXW4HM.js → chunk-TDX4GZFO.js} +7 -7
- package/dist/bundle/{chunk-3UPIJ7DW.js → chunk-U2BFYSQV.js} +14158 -2039
- package/dist/bundle/{chunk-HFM653T3.js → chunk-UGXN5D7U.js} +719 -128
- package/dist/bundle/{chunk-WUP2MJDN.js → chunk-UOXOLGNG.js} +2 -2
- package/dist/bundle/{chunk-J4HQVHMN.js → chunk-UQLWMGSD.js} +5 -5
- package/dist/bundle/{chunk-6DN4VPA7.js → chunk-VAYB52HF.js} +33 -31
- package/dist/bundle/{chunk-BF6TQMNB.js → chunk-VQDD64A4.js} +8 -8
- package/dist/bundle/{chunk-ZMNYK3FC.js → chunk-W4RTIL7S.js} +5 -5
- package/dist/bundle/{chunk-HGOYQUT7.js → chunk-WZKEU7WR.js} +4 -2
- package/dist/bundle/{chunk-QR5VQXQ5.js → chunk-XEW2EN6F.js} +51 -37
- package/dist/bundle/{chunk-DXPOVLQC.js → chunk-XFRRKZHQ.js} +223 -89
- package/dist/bundle/{chunk-XGNC5OJG.js → chunk-XS5POQST.js} +1 -1
- package/dist/bundle/{chunk-LARQTWIL.js → chunk-XZUS7XRO.js} +1 -1
- package/dist/bundle/{chunk-6SUGANRJ.js → chunk-YALI4C7C.js} +6 -6
- package/dist/bundle/{chunk-WIU733D2.js → chunk-YMWENGKH.js} +1 -1
- package/dist/bundle/{chunk-CACYL36O.js → chunk-YOJDGAPT.js} +8 -8
- package/dist/bundle/{chunk-S4YK6TTG.js → chunk-YPFUYQDP.js} +13 -13
- package/dist/bundle/{chunk-3252WXOL.js → chunk-YUWPNG7B.js} +1 -1
- package/dist/bundle/{chunk-2RJA4BQB.js → chunk-YXYTY4GF.js} +39 -26
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-ZMOUUOT2.js} +1 -1
- package/dist/bundle/command-contract-OB5BRABN.js +39 -0
- package/dist/bundle/{decode-62A3HGPW.js → decode-WIIX3Y2X.js} +8 -8
- package/dist/bundle/{dispatch-IE7PBEQC.js → dispatch-GEFIXA6X.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-BGBPRGR5.js → echarts-OYINM4C4.js} +2 -2
- package/dist/bundle/{embed-J3IBVV2V.js → embed-DWZIYMBX.js} +9 -9
- package/dist/bundle/{embedder-QFPMDRT2.js → embedder-ILWH7ZRM.js} +12 -12
- package/dist/bundle/entry-V5V3TOTY.js +22 -0
- package/dist/bundle/{failure-BKOGBMIC.js → failure-GV77W3CD.js} +4 -4
- package/dist/bundle/first-run-V3VVLQF4.js +30 -0
- package/dist/bundle/first-screen-Y3RIN7FU.js +37 -0
- package/dist/bundle/{google-RXM2XEPD.js → google-KLZSUAVY.js} +13 -13
- package/dist/bundle/{google-api-NC65BZO4.js → google-api-HZQ5R4ZO.js} +57 -57
- package/dist/bundle/grants-L7XLHLUT.js +105 -0
- package/dist/bundle/{identity-PI6F2GWA.js → identity-J2DON4IO.js} +6 -6
- package/dist/bundle/{instructions-6LPDSKAD.js → instructions-HGOJ23AJ.js} +1 -1
- package/dist/bundle/{login-HTY7GT2S.js → login-BD2TS4GY.js} +63 -63
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-GWDA3HOA.js} +2 -2
- package/dist/bundle/{node-IB246NCQ.js → node-CPKTDPH7.js} +2 -2
- package/dist/bundle/{node-sqlite-G2Y5SFJM.js → node-sqlite-IXDCRLSX.js} +9 -9
- package/dist/bundle/oauth-HOGY4YBB.js +22 -0
- package/dist/bundle/{open-WD4GFSJD.js → open-O7P3ZV3Y.js} +8 -8
- package/dist/bundle/{openai-QVM4PMY7.js → openai-RCFQKCXC.js} +17 -17
- package/dist/bundle/{process-SWPJGPQC.js → process-KXDRJO22.js} +1 -1
- package/dist/bundle/{program-WHYFAMXR.js → program-UCHFC7JQ.js} +228 -85
- package/dist/bundle/prompt-EVPPBN5W.js +17 -0
- package/dist/bundle/{reasons-Q34DQWB6.js → reasons-57J2D77K.js} +5 -5
- package/dist/bundle/{recognize-DM3YWHSE.js → recognize-MRCYGP2J.js} +7 -7
- package/dist/bundle/{remote-KXVWRK7J.js → remote-L3L4PHKF.js} +10 -10
- package/dist/bundle/{rerank-TINXM3MY.js → rerank-PSOE6XFT.js} +10 -10
- package/dist/bundle/{serve-IY2WL656.js → serve-72OGS3BF.js} +12 -12
- package/dist/bundle/server-C5TGNFXW.js +70 -0
- package/dist/bundle/{server-VPY3OWPC.js → server-SCXKYHBO.js} +44 -44
- package/dist/bundle/{services-PXNBOCOC.js → services-YAFTELBI.js} +42 -32
- package/dist/bundle/{sqlite-runtime-5ZK2CV7Y.js → sqlite-runtime-DLK4SU33.js} +9 -9
- package/dist/bundle/{start-LDVCN3DK.js → start-AFFA3LKM.js} +9 -7
- package/dist/bundle/{state-3MKTT3VS.js → state-T5VNAJSZ.js} +9 -9
- package/dist/bundle/{store-7M4MSUJV.js → store-4OFK7PKQ.js} +48 -28
- package/dist/bundle/{store-4VQOT5IJ.js → store-R6MSY2IM.js} +20 -18
- package/dist/bundle/store-maintenance-command-QDMCXGV6.js +60 -0
- package/dist/bundle/tokens-HIG36RNS.js +103 -0
- package/dist/commands/folders.d.ts +2 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +16 -3
- package/dist/commands/folders.js.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +15 -6
- package/dist/tokens.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/chunk-W767AUNR.js +0 -132
- package/dist/bundle/command-contract-T3EO5AYD.js +0 -39
- package/dist/bundle/entry-YQSYER66.js +0 -22
- package/dist/bundle/first-run-ZIFPVZAI.js +0 -30
- package/dist/bundle/first-screen-L5U26EY7.js +0 -37
- package/dist/bundle/grants-SEWUYYH3.js +0 -105
- package/dist/bundle/oauth-MWBKBI4T.js +0 -22
- package/dist/bundle/prompt-OVYCGZB7.js +0 -17
- package/dist/bundle/server-EMWVVT2C.js +0 -70
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +0 -60
- package/dist/bundle/tokens-XUKLM3SL.js +0 -103
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-ZQ3GWKDQ.js} +0 -0
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JN5TVEEL.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LWE4JGRN.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
17
17
|
refuseLacking
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YXYTY4GF.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_OUTPUT_BYTES,
|
|
21
21
|
ENTITIES,
|
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
refuseStoreChange,
|
|
31
31
|
sealed,
|
|
32
32
|
startRecording
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-PEQA6LA5.js";
|
|
34
34
|
import {
|
|
35
35
|
currentCaller,
|
|
36
36
|
keepsSuccess,
|
|
37
37
|
runContextOf,
|
|
38
38
|
withCaller
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VQDD64A4.js";
|
|
40
40
|
import {
|
|
41
41
|
onlineDeps,
|
|
42
42
|
servicesFor,
|
|
43
43
|
storeModeDeps
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-LQKD257P.js";
|
|
45
45
|
import {
|
|
46
46
|
authorityAllowed,
|
|
47
47
|
botApiAllowed,
|
|
@@ -52,23 +52,23 @@ import {
|
|
|
52
52
|
newRunId,
|
|
53
53
|
readKeysForCommand,
|
|
54
54
|
traceOf
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-VAYB52HF.js";
|
|
56
56
|
import {
|
|
57
57
|
queryDescription
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-EOOGWUTP.js";
|
|
59
59
|
import {
|
|
60
60
|
MAX_BUFFERED_INPUT
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-IR4SQLBR.js";
|
|
62
62
|
import {
|
|
63
63
|
captureStreams
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OD4U7GUY.js";
|
|
65
65
|
import {
|
|
66
66
|
errorObjectOf,
|
|
67
67
|
mcpErrorResult
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-UQLWMGSD.js";
|
|
69
69
|
import {
|
|
70
70
|
traceIdOf
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-6EY46GAN.js";
|
|
72
72
|
import {
|
|
73
73
|
COMPACT_FLAG,
|
|
74
74
|
SNAKE_CASE,
|
|
@@ -105,19 +105,19 @@ import {
|
|
|
105
105
|
unknown,
|
|
106
106
|
word,
|
|
107
107
|
writes
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-FEZF3TII.js";
|
|
109
109
|
import {
|
|
110
110
|
CliError,
|
|
111
111
|
errorCodes
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-4OSSOWDM.js";
|
|
113
113
|
import {
|
|
114
114
|
__name
|
|
115
115
|
} from "./chunk-ZVVMGPBJ.js";
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
118
118
|
import { Readable } from "node:stream";
|
|
119
119
|
|
|
120
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
120
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
121
121
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
122
122
|
var lintRuleSchema = strictObject({
|
|
123
123
|
id: word,
|
|
@@ -245,7 +245,7 @@ var overrideSchema = strictObject({
|
|
|
245
245
|
});
|
|
246
246
|
var overridesSchema = array(overrideSchema);
|
|
247
247
|
|
|
248
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
248
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
249
249
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
250
250
|
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");
|
|
251
251
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -290,11 +290,13 @@ var parityGroupSchema = strictObject({
|
|
|
290
290
|
/** Permanent differences, each with its reason; they count against the override budget of the group. */
|
|
291
291
|
differences: array(strictObject({
|
|
292
292
|
rule: word,
|
|
293
|
-
/** `<clis> <path> <flag>`; with `absent`, only `<path> <flag>`: the CLI list is whoever else
|
|
293
|
+
/** `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared. */
|
|
294
294
|
target: text,
|
|
295
295
|
expected: optional(text),
|
|
296
296
|
/** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
|
|
297
297
|
absent: optional(word),
|
|
298
|
+
/** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
|
|
299
|
+
only: optional(word),
|
|
298
300
|
reason: pipe(text, minLength(10, "say why, in a sentence"))
|
|
299
301
|
}))
|
|
300
302
|
});
|
|
@@ -302,7 +304,8 @@ var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity
|
|
|
302
304
|
...duplicates(groups.map((group) => group.name)).map((name) => `"${name}" is listed twice`),
|
|
303
305
|
...groups.flatMap((group) => [
|
|
304
306
|
...duplicates(group.differences.map((entry) => `${entry.rule} ${entry.target}`)).map((both) => `${group.name}: "${both}" is listed twice`),
|
|
305
|
-
...group.differences.filter((entry) => entry.absent && entry.expected).map((entry) => `${group.name}: "${entry.target}" has
|
|
307
|
+
...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\``),
|
|
308
|
+
...group.differences.filter((entry) => entry.absent && entry.only).map((entry) => `${group.name}: "${entry.target}" has both \`absent\` and \`only\`; keep one`)
|
|
306
309
|
])
|
|
307
310
|
]), "defineParityGroups");
|
|
308
311
|
var MEMO_HAS_NO_PROFILES = [
|
|
@@ -317,13 +320,19 @@ var MEMO_HAS_NO_PROFILES = [
|
|
|
317
320
|
absent: "memo",
|
|
318
321
|
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)"
|
|
319
322
|
}));
|
|
323
|
+
var MEMO_DOCTOR_DEEP = {
|
|
324
|
+
rule: "same-path-contract",
|
|
325
|
+
target: "doctor --deep",
|
|
326
|
+
only: "memo",
|
|
327
|
+
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"
|
|
328
|
+
};
|
|
320
329
|
var PARITY_GROUPS = defineParityGroups([
|
|
321
330
|
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
|
|
322
331
|
{
|
|
323
332
|
name: "all",
|
|
324
333
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
325
334
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "search", "notes", "meetings"],
|
|
326
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
335
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
327
336
|
},
|
|
328
337
|
// mail's `search messages` is cli-core's mail search, not the messengers' command: --complete took their 20-odd
|
|
329
338
|
// differences as inherited (https://github.com/WireCatLabs/cli-base/issues/390). mail is compared everywhere else
|
|
@@ -332,7 +341,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
332
341
|
name: "mail-shared",
|
|
333
342
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "mail"],
|
|
334
343
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "notes", "meetings"],
|
|
335
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
344
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
336
345
|
},
|
|
337
346
|
// gcal is compared on what it already shares with every CLI; doctor, mcp, search and skill wait until the published
|
|
338
347
|
// CLIs agree there (https://github.com/WireCatLabs/cli-base/issues/390), then gcal moves back into "all".
|
|
@@ -341,6 +350,14 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
341
350
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
|
|
342
351
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
343
352
|
differences: []
|
|
353
|
+
},
|
|
354
|
+
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
|
|
355
|
+
// zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
|
|
356
|
+
{
|
|
357
|
+
name: "shared-roots",
|
|
358
|
+
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
|
|
359
|
+
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
360
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
344
361
|
}
|
|
345
362
|
]);
|
|
346
363
|
var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
|
|
@@ -354,7 +371,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
354
371
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
355
372
|
]);
|
|
356
373
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
374
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
375
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
359
376
|
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
377
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -370,7 +387,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
370
387
|
}
|
|
371
388
|
]);
|
|
372
389
|
|
|
373
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
390
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
391
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
375
392
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
376
393
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -392,7 +409,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
392
409
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
393
410
|
]);
|
|
394
411
|
|
|
395
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
412
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
413
|
var CALENDAR_FLAGS = [
|
|
397
414
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
398
415
|
{
|
|
@@ -466,7 +483,47 @@ var CALENDAR_FLAGS = [
|
|
|
466
483
|
}
|
|
467
484
|
];
|
|
468
485
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
486
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
487
|
+
var CRM_FLAGS = [
|
|
488
|
+
{
|
|
489
|
+
name: "--pipeline",
|
|
490
|
+
value: "<pipeline>",
|
|
491
|
+
role: "value",
|
|
492
|
+
type: "string",
|
|
493
|
+
meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
name: "--stage",
|
|
497
|
+
value: "<stage>",
|
|
498
|
+
role: "value",
|
|
499
|
+
type: "string",
|
|
500
|
+
meaning: "a stage of the record's pipeline, by the CRM's id or its name"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: "--amount",
|
|
504
|
+
value: "<decimal>",
|
|
505
|
+
role: "value",
|
|
506
|
+
type: "string",
|
|
507
|
+
meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
|
|
508
|
+
},
|
|
509
|
+
{ name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
|
|
510
|
+
{
|
|
511
|
+
name: "--close-date",
|
|
512
|
+
value: "<date>",
|
|
513
|
+
role: "value",
|
|
514
|
+
type: "time",
|
|
515
|
+
meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
name: "--owner",
|
|
519
|
+
value: "<user>",
|
|
520
|
+
role: "value",
|
|
521
|
+
type: "id",
|
|
522
|
+
meaning: "the CRM user a record is assigned to, by the CRM's id"
|
|
523
|
+
}
|
|
524
|
+
];
|
|
525
|
+
|
|
526
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
470
527
|
var HOW_FLAGS = [
|
|
471
528
|
{
|
|
472
529
|
name: "--limit",
|
|
@@ -791,6 +848,7 @@ var HOW_FLAGS = [
|
|
|
791
848
|
meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
|
|
792
849
|
},
|
|
793
850
|
{ name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
|
|
851
|
+
{ name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
|
|
794
852
|
{ name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
|
|
795
853
|
{
|
|
796
854
|
name: "--operation-id",
|
|
@@ -1460,7 +1518,7 @@ var HOW_FLAGS = [
|
|
|
1460
1518
|
}
|
|
1461
1519
|
];
|
|
1462
1520
|
|
|
1463
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1521
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
1464
1522
|
var MAIL_FLAGS = [
|
|
1465
1523
|
{
|
|
1466
1524
|
name: "--cc",
|
|
@@ -1490,7 +1548,94 @@ var MAIL_FLAGS = [
|
|
|
1490
1548
|
}
|
|
1491
1549
|
];
|
|
1492
1550
|
|
|
1493
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1551
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
1552
|
+
var PRIVACY_FLAGS = [
|
|
1553
|
+
{
|
|
1554
|
+
name: "--about-text",
|
|
1555
|
+
value: "<who>",
|
|
1556
|
+
role: "value",
|
|
1557
|
+
type: "choice",
|
|
1558
|
+
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
name: "--calls",
|
|
1562
|
+
value: "<who>",
|
|
1563
|
+
role: "value",
|
|
1564
|
+
type: "choice",
|
|
1565
|
+
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
name: "--chat-invites",
|
|
1569
|
+
value: "<who>",
|
|
1570
|
+
role: "value",
|
|
1571
|
+
type: "choice",
|
|
1572
|
+
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
name: "--find-by-phone",
|
|
1576
|
+
value: "<who>",
|
|
1577
|
+
role: "value",
|
|
1578
|
+
type: "choice",
|
|
1579
|
+
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: "--hide-online",
|
|
1583
|
+
value: "<on|off>",
|
|
1584
|
+
role: "value",
|
|
1585
|
+
type: "choice",
|
|
1586
|
+
meaning: "hide online status and last seen"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
name: "--last-seen",
|
|
1590
|
+
value: "<who>",
|
|
1591
|
+
role: "value",
|
|
1592
|
+
type: "choice",
|
|
1593
|
+
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
name: "--phone-number",
|
|
1597
|
+
value: "<who>",
|
|
1598
|
+
role: "value",
|
|
1599
|
+
type: "choice",
|
|
1600
|
+
meaning: "who sees the number: everyone, contacts or nobody"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
name: "--profile-photo",
|
|
1604
|
+
value: "<who>",
|
|
1605
|
+
role: "value",
|
|
1606
|
+
type: "choice",
|
|
1607
|
+
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
1608
|
+
},
|
|
1609
|
+
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1610
|
+
];
|
|
1611
|
+
|
|
1612
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
1613
|
+
var SCHEDULE_FLAGS = [
|
|
1614
|
+
{
|
|
1615
|
+
name: "--notify-on",
|
|
1616
|
+
value: "<when>",
|
|
1617
|
+
role: "value",
|
|
1618
|
+
type: "choice",
|
|
1619
|
+
meaning: "when a scheduled run tells the owner: always, failures or never"
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
name: "--deliver-to",
|
|
1623
|
+
value: "<route>",
|
|
1624
|
+
role: "value",
|
|
1625
|
+
type: "string",
|
|
1626
|
+
meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
name: "--max-cost-per-day",
|
|
1630
|
+
value: "<usd>",
|
|
1631
|
+
role: "budget",
|
|
1632
|
+
type: "number",
|
|
1633
|
+
meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
|
|
1634
|
+
unit: "US dollars"
|
|
1635
|
+
}
|
|
1636
|
+
];
|
|
1637
|
+
|
|
1638
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
1494
1639
|
var WHAT_FLAGS = [
|
|
1495
1640
|
{
|
|
1496
1641
|
name: "--analysis-provider",
|
|
@@ -1913,6 +2058,20 @@ var WHAT_FLAGS = [
|
|
|
1913
2058
|
meaning: "look again from this day, for what arrived late"
|
|
1914
2059
|
},
|
|
1915
2060
|
{ name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
|
|
2061
|
+
{
|
|
2062
|
+
name: "--who",
|
|
2063
|
+
value: "<side>",
|
|
2064
|
+
role: "target",
|
|
2065
|
+
type: "choice",
|
|
2066
|
+
meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
name: "--write",
|
|
2070
|
+
value: "<id>",
|
|
2071
|
+
role: "target",
|
|
2072
|
+
type: "id",
|
|
2073
|
+
meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
|
|
2074
|
+
},
|
|
1916
2075
|
{
|
|
1917
2076
|
name: "--target",
|
|
1918
2077
|
value: "<ref>",
|
|
@@ -2115,63 +2274,6 @@ var WHAT_FLAGS = [
|
|
|
2115
2274
|
type: "path",
|
|
2116
2275
|
meaning: "an Ogg Opus file sent as a voice message"
|
|
2117
2276
|
},
|
|
2118
|
-
{
|
|
2119
|
-
name: "--about-text",
|
|
2120
|
-
value: "<who>",
|
|
2121
|
-
role: "value",
|
|
2122
|
-
type: "choice",
|
|
2123
|
-
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
name: "--calls",
|
|
2127
|
-
value: "<who>",
|
|
2128
|
-
role: "value",
|
|
2129
|
-
type: "choice",
|
|
2130
|
-
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
name: "--chat-invites",
|
|
2134
|
-
value: "<who>",
|
|
2135
|
-
role: "value",
|
|
2136
|
-
type: "choice",
|
|
2137
|
-
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
name: "--find-by-phone",
|
|
2141
|
-
value: "<who>",
|
|
2142
|
-
role: "value",
|
|
2143
|
-
type: "choice",
|
|
2144
|
-
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
2145
|
-
},
|
|
2146
|
-
{
|
|
2147
|
-
name: "--hide-online",
|
|
2148
|
-
value: "<on|off>",
|
|
2149
|
-
role: "value",
|
|
2150
|
-
type: "choice",
|
|
2151
|
-
meaning: "hide online status and last seen"
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
name: "--last-seen",
|
|
2155
|
-
value: "<who>",
|
|
2156
|
-
role: "value",
|
|
2157
|
-
type: "choice",
|
|
2158
|
-
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
name: "--phone-number",
|
|
2162
|
-
value: "<who>",
|
|
2163
|
-
role: "value",
|
|
2164
|
-
type: "choice",
|
|
2165
|
-
meaning: "who sees the number: everyone, contacts or nobody"
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
name: "--profile-photo",
|
|
2169
|
-
value: "<who>",
|
|
2170
|
-
role: "value",
|
|
2171
|
-
type: "choice",
|
|
2172
|
-
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
2173
|
-
},
|
|
2174
|
-
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
|
|
2175
2277
|
{
|
|
2176
2278
|
name: "--until",
|
|
2177
2279
|
value: "<time>",
|
|
@@ -2274,6 +2376,13 @@ var WHAT_FLAGS = [
|
|
|
2274
2376
|
type: "id",
|
|
2275
2377
|
meaning: "never show this chat in it; repeat it for more"
|
|
2276
2378
|
},
|
|
2379
|
+
{
|
|
2380
|
+
name: "--field",
|
|
2381
|
+
value: "<key=value>",
|
|
2382
|
+
role: "value",
|
|
2383
|
+
type: "string",
|
|
2384
|
+
meaning: "set one named field on a write, as key=value; repeat it for more"
|
|
2385
|
+
},
|
|
2277
2386
|
{
|
|
2278
2387
|
name: "--file",
|
|
2279
2388
|
value: "<file>",
|
|
@@ -2488,7 +2597,7 @@ var WHAT_FLAGS = [
|
|
|
2488
2597
|
}
|
|
2489
2598
|
];
|
|
2490
2599
|
|
|
2491
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2600
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
|
|
2492
2601
|
var FLAG_TYPES = [
|
|
2493
2602
|
"switch",
|
|
2494
2603
|
"count",
|
|
@@ -2629,6 +2738,7 @@ var verbs = [
|
|
|
2629
2738
|
// Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
|
|
2630
2739
|
["link", "record that two identities are one person"],
|
|
2631
2740
|
["unlink", "undo a link"],
|
|
2741
|
+
["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
|
|
2632
2742
|
["lookup", "ask the messenger who is behind a phone number"],
|
|
2633
2743
|
[
|
|
2634
2744
|
"inspect",
|
|
@@ -2729,6 +2839,20 @@ var collections = [
|
|
|
2729
2839
|
"derived records attached to a selected entity, with explicit coverage of included and omitted facets"
|
|
2730
2840
|
],
|
|
2731
2841
|
["organizations", "companies, teams, families or communities"],
|
|
2842
|
+
[
|
|
2843
|
+
"records",
|
|
2844
|
+
"documents of the owner's business, such as an invoice or a receipt, kept with the things they are about"
|
|
2845
|
+
],
|
|
2846
|
+
["invoices", "bills the owner sends or receives, with their amounts and due dates"],
|
|
2847
|
+
["orders", "what a customer asked for and the owner owes or delivers"],
|
|
2848
|
+
["payments", "money that moved in or out, each one matched to the invoices it settles"],
|
|
2849
|
+
["deals", "sales the owner works on, each at a stage of a pipeline, with an amount and an outcome"],
|
|
2850
|
+
["leads", "possible customers not yet qualified into a deal"],
|
|
2851
|
+
["pipelines", "ordered sets of stages a deal moves through"],
|
|
2852
|
+
["stages", "steps of a pipeline, each open, won or lost"],
|
|
2853
|
+
["products", "goods and services the owner sells, with their prices"],
|
|
2854
|
+
["users", "people who work in the owner's account at a service, such as a CRM's employees"],
|
|
2855
|
+
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
2732
2856
|
[
|
|
2733
2857
|
"identities",
|
|
2734
2858
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
|
|
@@ -2823,6 +2947,7 @@ var views = [
|
|
|
2823
2947
|
["newcomers", "members observed joining during the selected time window"],
|
|
2824
2948
|
["retention", "whether members of a selected cohort remain or return over time"],
|
|
2825
2949
|
["responses", "observed replies between participants and the time taken to answer"],
|
|
2950
|
+
["waiting", "chats whose newest message waits on the owner's reply"],
|
|
2826
2951
|
["discussion", "source posts compared by known views and observed discussion replies"],
|
|
2827
2952
|
["unanswered", "questions without an observed qualifying answer"],
|
|
2828
2953
|
["me", "the account a profile's token belongs to"],
|
|
@@ -2837,6 +2962,7 @@ var roots = [
|
|
|
2837
2962
|
["serve", "the long-running process"],
|
|
2838
2963
|
["setup", "the guided first run: log in or link the account, then install the agent skill"],
|
|
2839
2964
|
["doctor", "check this machine's setup"],
|
|
2965
|
+
["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
|
|
2840
2966
|
["upgrade", "install a newer version of this tool"],
|
|
2841
2967
|
["commands", "the command tree as data"],
|
|
2842
2968
|
["guide", "scenarios: the commands for a common task, in order, and why each"],
|
|
@@ -2858,10 +2984,18 @@ var VOCABULARY = defineVocabulary({
|
|
|
2858
2984
|
],
|
|
2859
2985
|
views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2860
2986
|
roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2861
|
-
flags: [
|
|
2987
|
+
flags: [
|
|
2988
|
+
...HOW_FLAGS,
|
|
2989
|
+
...WHAT_FLAGS,
|
|
2990
|
+
...PRIVACY_FLAGS,
|
|
2991
|
+
...CALENDAR_FLAGS,
|
|
2992
|
+
...MAIL_FLAGS,
|
|
2993
|
+
...CRM_FLAGS,
|
|
2994
|
+
...SCHEDULE_FLAGS
|
|
2995
|
+
]
|
|
2862
2996
|
});
|
|
2863
2997
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2865
2999
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2866
3000
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2867
3001
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3084,7 +3218,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3084
3218
|
}
|
|
3085
3219
|
}, "runCommandForAgent");
|
|
3086
3220
|
|
|
3087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3088
3222
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3089
3223
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3090
3224
|
var message = pipe(
|
|
@@ -3343,7 +3477,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3343
3477
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3344
3478
|
}, "failed");
|
|
3345
3479
|
|
|
3346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3347
3481
|
import { randomUUID } from "node:crypto";
|
|
3348
3482
|
var MATCHES = 8;
|
|
3349
3483
|
var ANSWER = answerSchema();
|
|
@@ -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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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;
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WZKEU7WR.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4OSSOWDM.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-AUMFKYVR.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-IXDCRLSX.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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) => {
|