@wirecat/drive-cli 0.60.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/README.md +4 -5
- 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-537I27Z4.js → all-profiles-CKD2DWUK.js} +14 -14
- package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-E3T4USLA.js} +9 -9
- package/dist/bundle/{app-server-KSHJKKS7.js → app-server-JB2AEWWL.js} +58 -55
- package/dist/bundle/{bun-WTBGGCUC.js → bun-CC44AAND.js} +2 -2
- package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-AUMFKYVR.js} +8 -8
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-27YUUGXQ.js} +1 -1
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-2HF2MRXI.js} +1 -1
- package/dist/bundle/{chunk-AXWXQNTC.js → chunk-2KN35F32.js} +10 -10
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-4OSSOWDM.js} +2 -1
- package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-4SIZEJ3M.js} +2 -2
- package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-67ZQCWBV.js} +3 -3
- package/dist/bundle/{chunk-FO4TCH6P.js → chunk-6EY46GAN.js} +2 -2
- package/dist/bundle/{chunk-4XZXH2NM.js → chunk-7W5HYGVW.js} +4 -2
- package/dist/bundle/{chunk-FZOCQQ66.js → chunk-7ZXIWZQ6.js} +12 -12
- package/dist/bundle/{chunk-YGG7UA3C.js → chunk-AH5C3D3D.js} +5 -5
- package/dist/bundle/{chunk-YDN2RH5S.js → chunk-AQVUEZEP.js} +2 -2
- package/dist/bundle/{chunk-N7S2UPF3.js → chunk-CJHY5YIF.js} +494 -227
- package/dist/bundle/{chunk-MXP35VPO.js → chunk-CZ2GJHLL.js} +2 -2
- package/dist/bundle/{chunk-HQVIK6PM.js → chunk-DJOAMGF4.js} +262 -368
- package/dist/bundle/{chunk-HCJG7ENG.js → chunk-DRZZBN3V.js} +3 -3
- package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DWJHL6DV.js} +4 -4
- package/dist/bundle/{chunk-S36HRPNS.js → chunk-E43ENLJJ.js} +1 -1
- package/dist/bundle/{chunk-4VHBDVY2.js → chunk-EOOGWUTP.js} +14 -10
- package/dist/bundle/{chunk-5XHLQZAG.js → chunk-EW7PKB4M.js} +58 -49
- package/dist/bundle/{chunk-TKW4QWCY.js → chunk-FEZF3TII.js} +12 -6
- package/dist/bundle/{chunk-KEXTTZJM.js → chunk-FNWIJ6EJ.js} +2 -2
- package/dist/bundle/{chunk-OYNUBWD2.js → chunk-FUITWY7O.js} +1 -1
- package/dist/bundle/{chunk-TVQDMP2F.js → chunk-HCNQT3QE.js} +1440 -771
- package/dist/bundle/{chunk-FTZNUZO7.js → chunk-HG6CAYJH.js} +3 -3
- package/dist/bundle/{chunk-SZXI4OXX.js → chunk-IR4SQLBR.js} +2 -2
- package/dist/bundle/{chunk-UTFATA4K.js → chunk-JK3U25QZ.js} +1 -1
- package/dist/bundle/{chunk-SBHSNOU4.js → chunk-JN5TVEEL.js} +96 -27
- package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-KLFSRKHB.js} +1 -1
- package/dist/bundle/{chunk-57QVQGBE.js → chunk-L7K2MOIC.js} +22 -22
- package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-LQKD257P.js} +582 -424
- package/dist/bundle/{chunk-GVRS5AIH.js → chunk-LWE4JGRN.js} +2 -2
- package/dist/bundle/{chunk-D6WIWOQC.js → chunk-MN4VXU3M.js} +4 -4
- package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N7OZPKU7.js} +4 -4
- package/dist/bundle/{chunk-W62CON5K.js → chunk-O2XOX4HB.js} +34 -10
- package/dist/bundle/{chunk-PDYHEWKG.js → chunk-O7ALBI2I.js} +5 -5
- package/dist/bundle/{chunk-PETFPXLU.js → chunk-OBH5BA62.js} +3 -3
- package/dist/bundle/{chunk-246P2DCT.js → chunk-OD4U7GUY.js} +113 -51
- package/dist/bundle/{chunk-67QXMO2G.js → chunk-ONP2IBHY.js} +26 -26
- package/dist/bundle/{chunk-JQLIM6BH.js → chunk-OTROVC4E.js} +1 -1
- package/dist/bundle/{chunk-73TTP6ET.js → chunk-PEQA6LA5.js} +617 -243
- package/dist/bundle/{chunk-ALWTUDZF.js → chunk-Q2LRPOKL.js} +22 -14
- package/dist/bundle/{chunk-CKGHRWVR.js → chunk-QCKZ3GAA.js} +4 -4
- package/dist/bundle/chunk-QCX6XZLA.js +415 -0
- package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-QH7DOVO3.js} +204 -58
- package/dist/bundle/{chunk-OMKUBCNN.js → chunk-QTI6IVHZ.js} +8 -8
- package/dist/bundle/{chunk-6HTKB4WC.js → chunk-R347FPYU.js} +1 -1
- package/dist/bundle/chunk-RIDQNVZM.js +64 -0
- package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-RPMKG63Z.js} +18 -4
- package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-RWSXVCSG.js} +3 -3
- package/dist/bundle/{chunk-3TQHIHZI.js → chunk-SVPCHFKI.js} +2 -2
- package/dist/bundle/{chunk-V2VMBM7O.js → chunk-SW4I5BR7.js} +2 -2
- package/dist/bundle/{chunk-EHAI773E.js → chunk-T5NWWXS2.js} +2 -2
- package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-T7X53FCJ.js} +34 -34
- package/dist/bundle/{chunk-77C5XRH3.js → chunk-TDX4GZFO.js} +7 -7
- package/dist/bundle/{chunk-PPL5ASW2.js → chunk-U2BFYSQV.js} +14158 -2039
- package/dist/bundle/{chunk-DQDKLZAK.js → chunk-UGXN5D7U.js} +719 -128
- package/dist/bundle/{chunk-UNJE63JK.js → chunk-UOXOLGNG.js} +2 -2
- package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-UQLWMGSD.js} +6 -5
- package/dist/bundle/{chunk-HFGR33KD.js → chunk-VAYB52HF.js} +33 -31
- package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-VQDD64A4.js} +8 -8
- package/dist/bundle/{chunk-22ATLSNK.js → chunk-W4RTIL7S.js} +5 -5
- package/dist/bundle/{chunk-UVYVIHEA.js → chunk-WZKEU7WR.js} +4 -2
- package/dist/bundle/{chunk-5AMRCBMP.js → chunk-XEW2EN6F.js} +51 -37
- package/dist/bundle/{chunk-O37ESNAP.js → chunk-XFRRKZHQ.js} +242 -90
- package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XS5POQST.js} +1 -1
- package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-XZUS7XRO.js} +1 -1
- package/dist/bundle/{chunk-V7QMHMR3.js → chunk-YALI4C7C.js} +6 -6
- package/dist/bundle/{chunk-73MNUSP3.js → chunk-YMWENGKH.js} +1 -1
- package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-YOJDGAPT.js} +8 -8
- package/dist/bundle/{chunk-DMHGWL5D.js → chunk-YPFUYQDP.js} +13 -13
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-YUWPNG7B.js} +1 -1
- package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-YXYTY4GF.js} +39 -26
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-ZMOUUOT2.js} +1 -1
- package/dist/bundle/command-contract-OB5BRABN.js +39 -0
- package/dist/bundle/{decode-35N57AFW.js → decode-WIIX3Y2X.js} +8 -8
- package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-GEFIXA6X.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-3P3QZWMU.js → echarts-OYINM4C4.js} +2 -2
- package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-DWZIYMBX.js} +9 -9
- package/dist/bundle/{embedder-D44JDTAA.js → embedder-ILWH7ZRM.js} +12 -12
- package/dist/bundle/entry-V5V3TOTY.js +22 -0
- package/dist/bundle/{failure-GRMMSDCZ.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-6ZZDKFBN.js → google-KLZSUAVY.js} +13 -13
- package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-HZQ5R4ZO.js} +83 -64
- package/dist/bundle/grants-L7XLHLUT.js +105 -0
- package/dist/bundle/{identity-TID7S5NE.js → identity-J2DON4IO.js} +6 -6
- package/dist/bundle/{instructions-ANJN4HV3.js → instructions-HGOJ23AJ.js} +1 -1
- package/dist/bundle/{login-BGMK2ABH.js → login-BD2TS4GY.js} +64 -64
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-GWDA3HOA.js} +2 -2
- package/dist/bundle/{node-VOB45ES2.js → node-CPKTDPH7.js} +2 -2
- package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-IXDCRLSX.js} +9 -9
- package/dist/bundle/oauth-HOGY4YBB.js +22 -0
- package/dist/bundle/{open-3USWHGNR.js → open-O7P3ZV3Y.js} +8 -8
- package/dist/bundle/{openai-YZ5VGPIP.js → openai-RCFQKCXC.js} +17 -17
- package/dist/bundle/{process-44JS2W7L.js → process-KXDRJO22.js} +1 -1
- package/dist/bundle/{program-TZLAFKJV.js → program-UCHFC7JQ.js} +266 -104
- package/dist/bundle/prompt-EVPPBN5W.js +17 -0
- package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-57J2D77K.js} +5 -5
- package/dist/bundle/{recognize-OFW7HWTM.js → recognize-MRCYGP2J.js} +7 -7
- package/dist/bundle/{remote-YBDRZQZ5.js → remote-L3L4PHKF.js} +10 -10
- package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-PSOE6XFT.js} +10 -10
- package/dist/bundle/{serve-OPZXMVLH.js → serve-72OGS3BF.js} +12 -12
- package/dist/bundle/server-C5TGNFXW.js +70 -0
- package/dist/bundle/{server-2D6DDIK5.js → server-SCXKYHBO.js} +44 -44
- package/dist/bundle/{services-34WKT3NN.js → services-YAFTELBI.js} +42 -32
- package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-DLK4SU33.js} +9 -9
- package/dist/bundle/{start-ZXUJZ4JV.js → start-AFFA3LKM.js} +9 -7
- package/dist/bundle/{state-AV2RB3AQ.js → state-T5VNAJSZ.js} +9 -9
- package/dist/bundle/{store-YKV4GAMS.js → store-4OFK7PKQ.js} +48 -28
- package/dist/bundle/{store-3M7N2Q5T.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/config.js +1 -1
- package/dist/commands/config.js.map +1 -1
- 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/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +16 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +11 -17
- package/dist/config.js.map +1 -1
- package/dist/download.d.ts +3 -2
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +21 -9
- package/dist/download.js.map +1 -1
- package/dist/google-api.d.ts +3 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +27 -7
- package/dist/google-api.js.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +7 -7
- 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-77YTRBL6.js +0 -249
- package/dist/bundle/chunk-YYHKVOVK.js +0 -132
- package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
- package/dist/bundle/entry-ZHCNI7XO.js +0 -22
- package/dist/bundle/first-run-3DC2SDWM.js +0 -30
- package/dist/bundle/first-screen-YJF4YODC.js +0 -37
- package/dist/bundle/grants-GWXDH5GM.js +0 -105
- package/dist/bundle/oauth-CEOYXW6C.js +0 -22
- package/dist/bundle/prompt-SG7LAOXW.js +0 -17
- package/dist/bundle/server-R6G2O772.js +0 -70
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
- package/dist/bundle/tokens-F63RXXEF.js +0 -103
- package/dist/oauth-application.d.ts +0 -5
- package/dist/oauth-application.d.ts.map +0 -1
- package/dist/oauth-application.js +0 -9
- package/dist/oauth-application.js.map +0 -1
- /package/dist/bundle/{chunk-LK2E2ELG.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",
|
|
@@ -1481,10 +1539,103 @@ var MAIL_FLAGS = [
|
|
|
1481
1539
|
role: "value",
|
|
1482
1540
|
type: "switch",
|
|
1483
1541
|
meaning: "with --reply-to, an e-mail reply also goes to everyone the message went to"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
name: "--trimmed",
|
|
1545
|
+
role: "output",
|
|
1546
|
+
type: "switch",
|
|
1547
|
+
meaning: "each e-mail's own text, without the quoted earlier mail and the signature; refused with --full"
|
|
1484
1548
|
}
|
|
1485
1549
|
];
|
|
1486
1550
|
|
|
1487
|
-
// 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
|
|
1488
1639
|
var WHAT_FLAGS = [
|
|
1489
1640
|
{
|
|
1490
1641
|
name: "--analysis-provider",
|
|
@@ -1907,6 +2058,20 @@ var WHAT_FLAGS = [
|
|
|
1907
2058
|
meaning: "look again from this day, for what arrived late"
|
|
1908
2059
|
},
|
|
1909
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
|
+
},
|
|
1910
2075
|
{
|
|
1911
2076
|
name: "--target",
|
|
1912
2077
|
value: "<ref>",
|
|
@@ -2109,63 +2274,6 @@ var WHAT_FLAGS = [
|
|
|
2109
2274
|
type: "path",
|
|
2110
2275
|
meaning: "an Ogg Opus file sent as a voice message"
|
|
2111
2276
|
},
|
|
2112
|
-
{
|
|
2113
|
-
name: "--about-text",
|
|
2114
|
-
value: "<who>",
|
|
2115
|
-
role: "value",
|
|
2116
|
-
type: "choice",
|
|
2117
|
-
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
2118
|
-
},
|
|
2119
|
-
{
|
|
2120
|
-
name: "--calls",
|
|
2121
|
-
value: "<who>",
|
|
2122
|
-
role: "value",
|
|
2123
|
-
type: "choice",
|
|
2124
|
-
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
2125
|
-
},
|
|
2126
|
-
{
|
|
2127
|
-
name: "--chat-invites",
|
|
2128
|
-
value: "<who>",
|
|
2129
|
-
role: "value",
|
|
2130
|
-
type: "choice",
|
|
2131
|
-
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
2132
|
-
},
|
|
2133
|
-
{
|
|
2134
|
-
name: "--find-by-phone",
|
|
2135
|
-
value: "<who>",
|
|
2136
|
-
role: "value",
|
|
2137
|
-
type: "choice",
|
|
2138
|
-
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
name: "--hide-online",
|
|
2142
|
-
value: "<on|off>",
|
|
2143
|
-
role: "value",
|
|
2144
|
-
type: "choice",
|
|
2145
|
-
meaning: "hide online status and last seen"
|
|
2146
|
-
},
|
|
2147
|
-
{
|
|
2148
|
-
name: "--last-seen",
|
|
2149
|
-
value: "<who>",
|
|
2150
|
-
role: "value",
|
|
2151
|
-
type: "choice",
|
|
2152
|
-
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
name: "--phone-number",
|
|
2156
|
-
value: "<who>",
|
|
2157
|
-
role: "value",
|
|
2158
|
-
type: "choice",
|
|
2159
|
-
meaning: "who sees the number: everyone, contacts or nobody"
|
|
2160
|
-
},
|
|
2161
|
-
{
|
|
2162
|
-
name: "--profile-photo",
|
|
2163
|
-
value: "<who>",
|
|
2164
|
-
role: "value",
|
|
2165
|
-
type: "choice",
|
|
2166
|
-
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
2167
|
-
},
|
|
2168
|
-
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
|
|
2169
2277
|
{
|
|
2170
2278
|
name: "--until",
|
|
2171
2279
|
value: "<time>",
|
|
@@ -2268,6 +2376,13 @@ var WHAT_FLAGS = [
|
|
|
2268
2376
|
type: "id",
|
|
2269
2377
|
meaning: "never show this chat in it; repeat it for more"
|
|
2270
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
|
+
},
|
|
2271
2386
|
{
|
|
2272
2387
|
name: "--file",
|
|
2273
2388
|
value: "<file>",
|
|
@@ -2482,7 +2597,7 @@ var WHAT_FLAGS = [
|
|
|
2482
2597
|
}
|
|
2483
2598
|
];
|
|
2484
2599
|
|
|
2485
|
-
// 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
|
|
2486
2601
|
var FLAG_TYPES = [
|
|
2487
2602
|
"switch",
|
|
2488
2603
|
"count",
|
|
@@ -2623,6 +2738,7 @@ var verbs = [
|
|
|
2623
2738
|
// Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
|
|
2624
2739
|
["link", "record that two identities are one person"],
|
|
2625
2740
|
["unlink", "undo a link"],
|
|
2741
|
+
["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
|
|
2626
2742
|
["lookup", "ask the messenger who is behind a phone number"],
|
|
2627
2743
|
[
|
|
2628
2744
|
"inspect",
|
|
@@ -2666,6 +2782,10 @@ var verbs = [
|
|
|
2666
2782
|
["move", "move a thing to another place in the source: a file to a folder, an event to a calendar"],
|
|
2667
2783
|
["copy", "copy a file in the source"],
|
|
2668
2784
|
["run", "run a saved job once, now, as its timer would"],
|
|
2785
|
+
["exec", "what a timer itself starts: one saved schedule, from its file; a person uses run"],
|
|
2786
|
+
// schedule's creators are named for what the timer starts; the owner kept these names over `create --kind`.
|
|
2787
|
+
["agent", "save a timer that starts an agent with a prompt, read-only; a verb under schedule, never a resource"],
|
|
2788
|
+
["command", "save a timer that runs one of this tool's own commands; a verb under schedule"],
|
|
2669
2789
|
["claim", "take a thing for a while so no other agent works it at once; the claim lapses by itself"],
|
|
2670
2790
|
["release", "give back what claim took, before it lapses"],
|
|
2671
2791
|
["merge", "fold a duplicate into the thing that stays; nothing is deleted"],
|
|
@@ -2719,6 +2839,20 @@ var collections = [
|
|
|
2719
2839
|
"derived records attached to a selected entity, with explicit coverage of included and omitted facets"
|
|
2720
2840
|
],
|
|
2721
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"],
|
|
2722
2856
|
[
|
|
2723
2857
|
"identities",
|
|
2724
2858
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
|
|
@@ -2736,6 +2870,10 @@ var collections = [
|
|
|
2736
2870
|
["recordings", "the files a provider recorded of a meeting"],
|
|
2737
2871
|
["jobs", "work this tool runs in the background or on a timer"],
|
|
2738
2872
|
["actions", "what an agent proposes to do; the owner confirms or rejects each"],
|
|
2873
|
+
[
|
|
2874
|
+
"findings",
|
|
2875
|
+
"what an agent read in stored mail, staged in batches with citations; nothing is recorded until the owner confirms. What it proposes to do is actions"
|
|
2876
|
+
],
|
|
2739
2877
|
["agents", "the agents whose actions are recorded in the shared store"],
|
|
2740
2878
|
["reminders", "scheduled notices about stored work, claimed and acknowledged with delivery receipts"],
|
|
2741
2879
|
["key-documents", "selected source documents that a project keeps as its starting references"],
|
|
@@ -2777,7 +2915,11 @@ var singulars = [
|
|
|
2777
2915
|
["api", "the source's own API, one command per operation"],
|
|
2778
2916
|
["privacy", "who may find, see, call or add the account"],
|
|
2779
2917
|
["metadata", "a profile's cached source attributes"],
|
|
2780
|
-
["auth", "the credentials a bot profile uses: its token and the secrets beside it"]
|
|
2918
|
+
["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
|
|
2919
|
+
[
|
|
2920
|
+
"schedule",
|
|
2921
|
+
"a profile's timers the owner saved, each running a command of this tool or an agent; the tool's own background work is jobs"
|
|
2922
|
+
]
|
|
2781
2923
|
];
|
|
2782
2924
|
var views = [
|
|
2783
2925
|
["tree", "the parent and child hierarchy of stored sources"],
|
|
@@ -2805,6 +2947,7 @@ var views = [
|
|
|
2805
2947
|
["newcomers", "members observed joining during the selected time window"],
|
|
2806
2948
|
["retention", "whether members of a selected cohort remain or return over time"],
|
|
2807
2949
|
["responses", "observed replies between participants and the time taken to answer"],
|
|
2950
|
+
["waiting", "chats whose newest message waits on the owner's reply"],
|
|
2808
2951
|
["discussion", "source posts compared by known views and observed discussion replies"],
|
|
2809
2952
|
["unanswered", "questions without an observed qualifying answer"],
|
|
2810
2953
|
["me", "the account a profile's token belongs to"],
|
|
@@ -2819,6 +2962,7 @@ var roots = [
|
|
|
2819
2962
|
["serve", "the long-running process"],
|
|
2820
2963
|
["setup", "the guided first run: log in or link the account, then install the agent skill"],
|
|
2821
2964
|
["doctor", "check this machine's setup"],
|
|
2965
|
+
["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
|
|
2822
2966
|
["upgrade", "install a newer version of this tool"],
|
|
2823
2967
|
["commands", "the command tree as data"],
|
|
2824
2968
|
["guide", "scenarios: the commands for a common task, in order, and why each"],
|
|
@@ -2840,10 +2984,18 @@ var VOCABULARY = defineVocabulary({
|
|
|
2840
2984
|
],
|
|
2841
2985
|
views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2842
2986
|
roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2843
|
-
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
|
+
]
|
|
2844
2996
|
});
|
|
2845
2997
|
|
|
2846
|
-
// 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
|
|
2847
2999
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2848
3000
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2849
3001
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3066,7 +3218,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3066
3218
|
}
|
|
3067
3219
|
}, "runCommandForAgent");
|
|
3068
3220
|
|
|
3069
|
-
// 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
|
|
3070
3222
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3071
3223
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3072
3224
|
var message = pipe(
|
|
@@ -3325,7 +3477,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3325
3477
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3326
3478
|
}, "failed");
|
|
3327
3479
|
|
|
3328
|
-
// 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
|
|
3329
3481
|
import { randomUUID } from "node:crypto";
|
|
3330
3482
|
var MATCHES = 8;
|
|
3331
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) => {
|