@wirecat/bitrix24-cli 0.3.0 → 0.5.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/CHANGELOG.md +130 -0
- package/README.md +84 -9
- package/dist/api-keys.d.ts +36 -9
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +139 -19
- package/dist/api-keys.js.map +1 -1
- package/dist/bin/b24.js +2 -2
- package/dist/bitrix/errors.js +1 -1
- package/dist/bitrix/errors.js.map +1 -1
- package/dist/bitrix/methods.d.ts.map +1 -1
- package/dist/bitrix/methods.js +7 -3
- package/dist/bitrix/methods.js.map +1 -1
- package/dist/bitrix/transport.d.ts +4 -7
- package/dist/bitrix/transport.d.ts.map +1 -1
- package/dist/bitrix/transport.js +29 -19
- package/dist/bitrix/transport.js.map +1 -1
- package/dist/body.d.ts +14 -0
- package/dist/body.d.ts.map +1 -0
- package/dist/body.js +44 -0
- package/dist/body.js.map +1 -0
- package/dist/bundle/{chunk-QIPTIUMJ.js → all-profiles-CANIDIDS.js} +12 -7
- package/dist/bundle/{anthropic-RHRAVHC2.js → anthropic-JUJB4DCF.js} +5 -5
- package/dist/bundle/{app-server-QIT6S7AZ.js → app-server-3V5Z4PTK.js} +68 -54
- package/dist/bundle/b24.js +18 -12
- package/dist/bundle/{bun-H6RSODZ3.js → bun-LKMV5TY7.js} +2 -2
- package/dist/bundle/{bun-sqlite-BO4LTQHX.js → bun-sqlite-S56EF74S.js} +3 -3
- package/dist/bundle/{chunk-D5S6QV6R.js → chunk-2I4KWS3H.js} +6 -6
- package/dist/bundle/chunk-36PO5NWY.js +147 -0
- package/dist/bundle/{chunk-ZIAQPTUS.js → chunk-42F7Q7V6.js} +3 -3
- package/dist/bundle/{chunk-6WY72XVQ.js → chunk-4D3K6GZW.js} +18 -4
- package/dist/bundle/chunk-5D4MJQ6X.js +22 -0
- package/dist/bundle/chunk-5JOPERVF.js +84 -0
- package/dist/bundle/chunk-6A4UPWDC.js +15 -0
- package/dist/bundle/{chunk-P33NDCDI.js → chunk-6MGWIZG4.js} +1 -1
- package/dist/bundle/{chunk-ZDQQCXFG.js → chunk-6YJTNZ7U.js} +13 -13
- package/dist/bundle/{chunk-MBDK4YXG.js → chunk-7FBFJ6B4.js} +4 -2
- package/dist/bundle/chunk-7VCMOTQP.js +55 -0
- package/dist/bundle/{chunk-P364PLIK.js → chunk-A5IMMGYU.js} +36 -34
- package/dist/bundle/{chunk-45AKJVKV.js → chunk-ASEHTBNK.js} +1 -1
- package/dist/bundle/{chunk-HGL63O5V.js → chunk-B6LPJYPQ.js} +2 -2
- package/dist/bundle/{chunk-LSPIOT6Z.js → chunk-BHEE2K6C.js} +7 -7
- package/dist/bundle/chunk-BYZQBE63.js +971 -0
- package/dist/bundle/{program-H3TGGRQ6.js → chunk-COKGNTDQ.js} +15761 -16685
- package/dist/bundle/{chunk-XJXONOB5.js → chunk-DVFYRQGE.js} +1 -1
- package/dist/bundle/{chunk-FLUEXJ4X.js → chunk-DVSIBZ3G.js} +1 -1
- package/dist/bundle/chunk-EJEIXC6Y.js +273 -0
- package/dist/bundle/chunk-EYTGCM44.js +130 -0
- package/dist/bundle/{chunk-IRV2PCQ2.js → chunk-EYYOKT23.js} +26 -26
- package/dist/bundle/{chunk-PH5FZX6E.js → chunk-FCWPIWSR.js} +2 -2
- package/dist/bundle/{chunk-YZ5LHE5Q.js → chunk-FSWRMQWX.js} +2 -2
- package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
- package/dist/bundle/chunk-G5MW6RCM.js +723 -0
- package/dist/bundle/{chunk-VEWWAGTD.js → chunk-GLTKRLFT.js} +8 -8
- package/dist/bundle/chunk-GUUZQ7NE.js +581 -0
- package/dist/bundle/{chunk-QSNROIJL.js → chunk-H6RIPOOI.js} +42 -9
- package/dist/bundle/{chunk-H2ADPPSH.js → chunk-HGFNC4CR.js} +1819 -597
- package/dist/bundle/{chunk-7GRZAKBB.js → chunk-IERYD2N2.js} +6 -6
- package/dist/bundle/{chunk-N6FLBXZS.js → chunk-IGCLMEMB.js} +3 -3
- package/dist/bundle/{chunk-U5ACMCAQ.js → chunk-J7WCSZ2Q.js} +411 -919
- package/dist/bundle/{chunk-W5YAO5G5.js → chunk-JZYHQ4HB.js} +9 -4
- package/dist/bundle/{chunk-EVYSBZ3I.js → chunk-K4QM3X5F.js} +4 -4
- package/dist/bundle/{chunk-DTXERR44.js → chunk-KFSMY7SZ.js} +2 -2
- package/dist/bundle/{chunk-LRGYKOCP.js → chunk-KPEDH5T4.js} +1 -1
- package/dist/bundle/{chunk-XRFJWHY5.js → chunk-KUY7LII2.js} +4 -4
- package/dist/bundle/{chunk-QC53QBNC.js → chunk-LFXDHLFR.js} +3 -3
- package/dist/bundle/{chunk-CNNEA2M4.js → chunk-LGLT4JB6.js} +3 -3
- package/dist/bundle/{chunk-QGMDQ2PM.js → chunk-LM4OOBAW.js} +3 -3
- package/dist/bundle/chunk-M74BSKMA.js +234 -0
- package/dist/bundle/{chunk-2KCZ7BKW.js → chunk-MMMT6ORT.js} +11 -11
- package/dist/bundle/{chunk-WII44RXN.js → chunk-NGYD6QTE.js} +2 -2
- package/dist/bundle/{chunk-FOTREPNS.js → chunk-NO6QOPVT.js} +10 -19
- package/dist/bundle/chunk-O6XC7DZI.js +804 -0
- package/dist/bundle/chunk-OE3NFB53.js +64 -0
- package/dist/bundle/{chunk-XD4FRDSL.js → chunk-OUMFNB34.js} +13 -149
- package/dist/bundle/{chunk-ZGZT5S6B.js → chunk-P2RQTNVJ.js} +806 -850
- package/dist/bundle/{chunk-RRJNNPR4.js → chunk-PBIBGIZ7.js} +1 -1
- package/dist/bundle/{chunk-EXOOKUEA.js → chunk-Q6VQHTRW.js} +2 -2
- package/dist/bundle/{chunk-TE3FR6MI.js → chunk-QHBCNVUG.js} +5 -5
- package/dist/bundle/{chunk-SGRYYE4X.js → chunk-QNOXAQ6Y.js} +4 -4
- package/dist/bundle/{chunk-QQXH2OPB.js → chunk-R5F2O5GX.js} +15 -272
- package/dist/bundle/{chunk-SFRNX2TI.js → chunk-R5PBSKJL.js} +1 -1
- package/dist/bundle/{chunk-OTD2ZRXD.js → chunk-RS2BARUU.js} +4 -4
- package/dist/bundle/chunk-TG3DSPT5.js +14 -0
- package/dist/bundle/{chunk-BCF7P4FZ.js → chunk-U22JMKUO.js} +6 -125
- package/dist/bundle/chunk-U66Q5TVK.js +106 -0
- package/dist/bundle/{chunk-QMPN6WKD.js → chunk-UCHMQWON.js} +211 -89
- package/dist/bundle/{chunk-POC3V3AO.js → chunk-VMJS7FJZ.js} +526 -467
- package/dist/bundle/{chunk-FZL7F5NR.js → chunk-VMVAQHDC.js} +77 -615
- package/dist/bundle/{chunk-K3UIB6ZF.js → chunk-WWMCJFMT.js} +2 -2
- package/dist/bundle/{chunk-CXL33BFL.js → chunk-XTA5TN3H.js} +1 -1
- package/dist/bundle/{chunk-WTPMJYMD.js → chunk-XUHHBEA7.js} +652 -131
- package/dist/bundle/{chunk-WKRQ44EH.js → chunk-YDZHO4LT.js} +13 -13
- package/dist/bundle/{chunk-2SNUMZ7S.js → chunk-ZKINZFIT.js} +6 -6
- package/dist/bundle/{chunk-HAXNUIGQ.js → chunk-ZSQXSIFQ.js} +89 -39
- package/dist/bundle/{chunk-YYO7D2MO.js → chunk-ZZEHDIEG.js} +58 -54
- package/dist/bundle/command-contract-OQV6H7SR.js +36 -0
- package/dist/bundle/{decode-5ZPLTYV6.js → decode-QSTBX4MG.js} +3 -3
- package/dist/bundle/{echarts-J6LAPIX7.js → echarts-JZELFH2N.js} +2 -2
- package/dist/bundle/{embed-YG5LDHME.js → embed-4RIW2LVH.js} +4 -4
- package/dist/bundle/{embedder-7FNUA5OZ.js → embedder-SW7DTWSL.js} +7 -7
- package/dist/bundle/{first-run-JPZNWIJN.js → first-run-7AISOSOM.js} +8 -8
- package/dist/bundle/first-screen-NMHNFZ2B.js +34 -0
- package/dist/bundle/{instructions-AXWTQHMR.js → instructions-BZE5YUGG.js} +1 -1
- package/dist/bundle/{mcp-7F46P6AM.js → mcp-SDWHDJTY.js} +2 -2
- package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
- package/dist/bundle/{node-CWKAIOEM.js → node-LTKZIO4U.js} +2 -2
- package/dist/bundle/{node-sqlite-LSEKVRDA.js → node-sqlite-HQ5PN2RH.js} +4 -4
- package/dist/bundle/{oauth-THYNLRLD.js → oauth-UH6FOZQL.js} +5 -5
- package/dist/bundle/{open-E47QYKFC.js → open-TSUP3XGL.js} +3 -3
- package/dist/bundle/{openai-EWSGC3BC.js → openai-GVEE52E3.js} +14 -14
- package/dist/bundle/{process-WKTEA3WE.js → process-AGXY76ZE.js} +1 -1
- package/dist/bundle/program-BI4A4HFJ.js +2247 -0
- package/dist/bundle/{prompt-CAQ7QR3U.js → prompt-NRSUY7FA.js} +3 -3
- package/dist/bundle/{recognize-6KGHNZC3.js → recognize-NPDPQ6PJ.js} +2 -2
- package/dist/bundle/{remote-3UO2WDC3.js → remote-HFASMVLB.js} +5 -5
- package/dist/bundle/{rerank-2JVDPZBX.js → rerank-TL6Z6F7K.js} +5 -5
- package/dist/bundle/{chunk-VL6SPMZV.js → serve-VB4DHDZQ.js} +8 -6
- package/dist/bundle/server-T5EDRPJI.js +68 -0
- package/dist/bundle/{chunk-ZEW4P6AH.js → server-Z6MW6C37.js} +50 -14
- package/dist/bundle/source-4IGO5J7E.js +237 -0
- package/dist/bundle/sqlite-runtime-YS4POY3W.js +17 -0
- package/dist/bundle/{state-7NH5G4XJ.js → state-ISZVVZGR.js} +4 -4
- package/dist/bundle/store-IZJBAKJV.js +58 -0
- package/dist/bundle/{store-7O4JQD2Z.js → store-L76MSQC3.js} +17 -12
- package/dist/bundle/store-PBTIB7BD.js +207 -0
- package/dist/bundle/store-maintenance-command-YFKII7TF.js +58 -0
- package/dist/bundle/writer-3O5EYMFE.js +214 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +81 -30
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/crm-shared.d.ts +4 -0
- package/dist/commands/crm-shared.d.ts.map +1 -0
- package/dist/commands/crm-shared.js +94 -0
- package/dist/commands/crm-shared.js.map +1 -0
- package/dist/commands/crm-writes.d.ts +0 -1
- package/dist/commands/crm-writes.d.ts.map +1 -1
- package/dist/commands/crm-writes.js +43 -88
- package/dist/commands/crm-writes.js.map +1 -1
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +30 -48
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +1 -0
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/write.d.ts +6 -6
- package/dist/commands/write.d.ts.map +1 -1
- package/dist/commands/write.js +11 -18
- package/dist/commands/write.js.map +1 -1
- package/dist/config.d.ts +0 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +6 -8
- package/dist/config.js.map +1 -1
- package/dist/crm/capabilities.d.ts +7 -0
- package/dist/crm/capabilities.d.ts.map +1 -0
- package/dist/crm/capabilities.js +7 -0
- package/dist/crm/capabilities.js.map +1 -0
- package/dist/crm/conditions.d.ts +1 -1
- package/dist/crm/conditions.d.ts.map +1 -1
- package/dist/crm/conditions.js +4 -6
- package/dist/crm/conditions.js.map +1 -1
- package/dist/crm/custom-query.d.ts +19 -0
- package/dist/crm/custom-query.d.ts.map +1 -0
- package/dist/crm/custom-query.js +79 -0
- package/dist/crm/custom-query.js.map +1 -0
- package/dist/crm/deal.d.ts +4 -27
- package/dist/crm/deal.d.ts.map +1 -1
- package/dist/crm/deal.js +15 -48
- package/dist/crm/deal.js.map +1 -1
- package/dist/crm/fields.d.ts +20 -0
- package/dist/crm/fields.d.ts.map +1 -0
- package/dist/crm/fields.js +78 -0
- package/dist/crm/fields.js.map +1 -0
- package/dist/crm/items.d.ts +7 -1
- package/dist/crm/items.d.ts.map +1 -1
- package/dist/crm/items.js +21 -18
- package/dist/crm/items.js.map +1 -1
- package/dist/crm/lead.d.ts +5 -36
- package/dist/crm/lead.d.ts.map +1 -1
- package/dist/crm/lead.js +15 -61
- package/dist/crm/lead.js.map +1 -1
- package/dist/crm/organization.d.ts +1 -0
- package/dist/crm/organization.d.ts.map +1 -1
- package/dist/crm/person.d.ts +1 -0
- package/dist/crm/person.d.ts.map +1 -1
- package/dist/crm/pipelines.d.ts +5 -0
- package/dist/crm/pipelines.d.ts.map +1 -0
- package/dist/crm/pipelines.js +54 -0
- package/dist/crm/pipelines.js.map +1 -0
- package/dist/crm/product.d.ts.map +1 -1
- package/dist/crm/product.js +2 -2
- package/dist/crm/product.js.map +1 -1
- package/dist/crm/rest3-fields.d.ts +3 -0
- package/dist/crm/rest3-fields.d.ts.map +1 -0
- package/dist/crm/rest3-fields.js +38 -0
- package/dist/crm/rest3-fields.js.map +1 -0
- package/dist/crm/source.d.ts +15 -0
- package/dist/crm/source.d.ts.map +1 -0
- package/dist/crm/source.js +122 -0
- package/dist/crm/source.js.map +1 -0
- package/dist/crm/user.d.ts.map +1 -1
- package/dist/crm/user.js +2 -2
- package/dist/crm/user.js.map +1 -1
- package/dist/crm/values.d.ts +26 -5
- package/dist/crm/values.d.ts.map +1 -1
- package/dist/crm/values.js +40 -5
- package/dist/crm/values.js.map +1 -1
- package/dist/crm/writer.d.ts +9 -0
- package/dist/crm/writer.d.ts.map +1 -0
- package/dist/crm/writer.js +119 -0
- package/dist/crm/writer.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +53 -5
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -1
- package/dist/reasons.js.map +1 -1
- package/dist/store.d.ts +15 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +33 -0
- package/dist/store.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -6
- package/skills/bitrix24-cli/SKILL.md +16 -10
- package/dist/bundle/all-profiles-QJ444GSX.js +0 -24
- package/dist/bundle/chunk-XNHSPHUN.js +0 -48
- package/dist/bundle/command-contract-OKQOE6G4.js +0 -30
- package/dist/bundle/first-screen-VQM4MTS7.js +0 -28
- package/dist/bundle/mcp-5RSWNTHS.js +0 -160
- package/dist/bundle/mcp-J5R5A65I.js +0 -87
- package/dist/bundle/serve-ES7AG5IK.js +0 -19
- package/dist/bundle/server-5LE5LNUQ.js +0 -45
- package/dist/bundle/server-BU4VBM6S.js +0 -58
- package/dist/bundle/store-maintenance-command-UDVGEY2D.js +0 -47
- package/dist/commands/doctor.d.ts +0 -77
- package/dist/commands/doctor.d.ts.map +0 -1
- package/dist/commands/doctor.js +0 -74
- package/dist/commands/doctor.js.map +0 -1
- package/dist/commands/mcp.d.ts +0 -3
- package/dist/commands/mcp.d.ts.map +0 -1
- package/dist/commands/mcp.js +0 -97
- package/dist/commands/mcp.js.map +0 -1
- package/dist/crm/pipeline.d.ts +0 -17
- package/dist/crm/pipeline.d.ts.map +0 -1
- package/dist/crm/pipeline.js +0 -42
- package/dist/crm/pipeline.js.map +0 -1
- package/dist/crm/stage.d.ts +0 -20
- package/dist/crm/stage.d.ts.map +0 -1
- package/dist/crm/stage.js +0 -65
- package/dist/crm/stage.js.map +0 -1
- package/dist/mcp.d.ts +0 -29
- package/dist/mcp.d.ts.map +0 -1
- package/dist/mcp.js +0 -99
- package/dist/mcp.js.map +0 -1
- /package/dist/bundle/{chunk-4PDYYS5K.js → chunk-ZQ3GWKDQ.js} +0 -0
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YDZHO4LT.js";
|
|
10
10
|
import {
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IERYD2N2.js";
|
|
13
13
|
import {
|
|
14
14
|
QUERY_ARGUMENT,
|
|
15
15
|
lentConnection,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
refuseLacking,
|
|
18
18
|
servicesFor,
|
|
19
19
|
storeModeDeps
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VMJS7FJZ.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_OUTPUT_BYTES,
|
|
23
23
|
ENTITIES,
|
|
@@ -25,40 +25,42 @@ import {
|
|
|
25
25
|
REMOTE_WRITE,
|
|
26
26
|
answerSchema,
|
|
27
27
|
changesMessenger,
|
|
28
|
-
enclosingTraceId,
|
|
29
28
|
flatten,
|
|
30
|
-
inRun,
|
|
31
29
|
judgedAnswer,
|
|
32
30
|
judgedEffects,
|
|
33
31
|
listOf,
|
|
34
|
-
newRunId,
|
|
35
32
|
refuseStoreChange,
|
|
36
33
|
sealed,
|
|
37
|
-
startRecording
|
|
34
|
+
startRecording
|
|
35
|
+
} from "./chunk-J7WCSZ2Q.js";
|
|
36
|
+
import {
|
|
37
|
+
enclosingTraceId,
|
|
38
|
+
inRun,
|
|
39
|
+
newRunId,
|
|
38
40
|
traceOf
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-G5MW6RCM.js";
|
|
40
42
|
import {
|
|
41
43
|
currentCaller,
|
|
42
44
|
keepsSuccess,
|
|
43
45
|
runContextOf,
|
|
44
46
|
withCaller
|
|
45
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-NO6QOPVT.js";
|
|
46
48
|
import {
|
|
47
49
|
failureContext
|
|
48
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-H6RIPOOI.js";
|
|
49
51
|
import {
|
|
50
52
|
authorityAllowed,
|
|
51
53
|
botApiAllowed,
|
|
52
54
|
keyForCommand,
|
|
53
55
|
levelFor,
|
|
54
56
|
readKeysForCommand
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-OUMFNB34.js";
|
|
56
58
|
import {
|
|
57
59
|
MAX_BUFFERED_INPUT
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-Q6VQHTRW.js";
|
|
59
61
|
import {
|
|
60
62
|
queryDescription
|
|
61
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-P2RQTNVJ.js";
|
|
62
64
|
import {
|
|
63
65
|
COMPACT_FLAG,
|
|
64
66
|
CliError,
|
|
@@ -101,15 +103,15 @@ import {
|
|
|
101
103
|
unknown,
|
|
102
104
|
word,
|
|
103
105
|
writes
|
|
104
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-EYYOKT23.js";
|
|
105
107
|
import {
|
|
106
108
|
__name
|
|
107
109
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
110
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
110
112
|
import { Readable } from "node:stream";
|
|
111
113
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
114
|
+
// 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
|
|
113
115
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
114
116
|
var lintRuleSchema = strictObject({
|
|
115
117
|
id: word,
|
|
@@ -237,7 +239,7 @@ var overrideSchema = strictObject({
|
|
|
237
239
|
});
|
|
238
240
|
var overridesSchema = array(overrideSchema);
|
|
239
241
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
242
|
+
// 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
|
|
241
243
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
242
244
|
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
245
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -282,11 +284,13 @@ var parityGroupSchema = strictObject({
|
|
|
282
284
|
/** Permanent differences, each with its reason; they count against the override budget of the group. */
|
|
283
285
|
differences: array(strictObject({
|
|
284
286
|
rule: word,
|
|
285
|
-
/** `<clis> <path> <flag>`; with `absent`, only `<path> <flag>`: the CLI list is whoever else
|
|
287
|
+
/** `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared. */
|
|
286
288
|
target: text,
|
|
287
289
|
expected: optional(text),
|
|
288
290
|
/** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
|
|
289
291
|
absent: optional(word),
|
|
292
|
+
/** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
|
|
293
|
+
only: optional(word),
|
|
290
294
|
reason: pipe(text, minLength(10, "say why, in a sentence"))
|
|
291
295
|
}))
|
|
292
296
|
});
|
|
@@ -294,7 +298,8 @@ var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity
|
|
|
294
298
|
...duplicates(groups.map((group) => group.name)).map((name) => `"${name}" is listed twice`),
|
|
295
299
|
...groups.flatMap((group) => [
|
|
296
300
|
...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
|
|
301
|
+
...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\``),
|
|
302
|
+
...group.differences.filter((entry) => entry.absent && entry.only).map((entry) => `${group.name}: "${entry.target}" has both \`absent\` and \`only\`; keep one`)
|
|
298
303
|
])
|
|
299
304
|
]), "defineParityGroups");
|
|
300
305
|
var MEMO_HAS_NO_PROFILES = [
|
|
@@ -309,13 +314,19 @@ var MEMO_HAS_NO_PROFILES = [
|
|
|
309
314
|
absent: "memo",
|
|
310
315
|
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
316
|
}));
|
|
317
|
+
var MEMO_DOCTOR_DEEP = {
|
|
318
|
+
rule: "same-path-contract",
|
|
319
|
+
target: "doctor --deep",
|
|
320
|
+
only: "memo",
|
|
321
|
+
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"
|
|
322
|
+
};
|
|
312
323
|
var PARITY_GROUPS = defineParityGroups([
|
|
313
324
|
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
|
|
314
325
|
{
|
|
315
326
|
name: "all",
|
|
316
327
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
317
328
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "search", "notes", "meetings"],
|
|
318
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
329
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
319
330
|
},
|
|
320
331
|
// mail's `search messages` is cli-core's mail search, not the messengers' command: --complete took their 20-odd
|
|
321
332
|
// differences as inherited (https://github.com/WireCatLabs/cli-base/issues/390). mail is compared everywhere else
|
|
@@ -324,7 +335,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
324
335
|
name: "mail-shared",
|
|
325
336
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "mail"],
|
|
326
337
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "notes", "meetings"],
|
|
327
|
-
differences: MEMO_HAS_NO_PROFILES
|
|
338
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
328
339
|
},
|
|
329
340
|
// gcal is compared on what it already shares with every CLI; doctor, mcp, search and skill wait until the published
|
|
330
341
|
// CLIs agree there (https://github.com/WireCatLabs/cli-base/issues/390), then gcal moves back into "all".
|
|
@@ -333,6 +344,14 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
333
344
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
|
|
334
345
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
335
346
|
differences: []
|
|
347
|
+
},
|
|
348
|
+
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
|
|
349
|
+
// zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
|
|
350
|
+
{
|
|
351
|
+
name: "shared-roots",
|
|
352
|
+
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
|
|
353
|
+
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
354
|
+
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
336
355
|
}
|
|
337
356
|
]);
|
|
338
357
|
var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
|
|
@@ -346,7 +365,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
346
365
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
347
366
|
]);
|
|
348
367
|
|
|
349
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
368
|
+
// 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
|
|
350
369
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
351
370
|
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");
|
|
352
371
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -362,7 +381,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
362
381
|
}
|
|
363
382
|
]);
|
|
364
383
|
|
|
365
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
384
|
+
// 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
|
|
366
385
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
367
386
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
368
387
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -384,7 +403,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
384
403
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
385
404
|
]);
|
|
386
405
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
406
|
+
// 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
|
|
388
407
|
var CALENDAR_FLAGS = [
|
|
389
408
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
390
409
|
{
|
|
@@ -458,7 +477,47 @@ var CALENDAR_FLAGS = [
|
|
|
458
477
|
}
|
|
459
478
|
];
|
|
460
479
|
|
|
461
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
480
|
+
// 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
|
|
481
|
+
var CRM_FLAGS = [
|
|
482
|
+
{
|
|
483
|
+
name: "--pipeline",
|
|
484
|
+
value: "<pipeline>",
|
|
485
|
+
role: "value",
|
|
486
|
+
type: "string",
|
|
487
|
+
meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
name: "--stage",
|
|
491
|
+
value: "<stage>",
|
|
492
|
+
role: "value",
|
|
493
|
+
type: "string",
|
|
494
|
+
meaning: "a stage of the record's pipeline, by the CRM's id or its name"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: "--amount",
|
|
498
|
+
value: "<decimal>",
|
|
499
|
+
role: "value",
|
|
500
|
+
type: "string",
|
|
501
|
+
meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
|
|
502
|
+
},
|
|
503
|
+
{ name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
|
|
504
|
+
{
|
|
505
|
+
name: "--close-date",
|
|
506
|
+
value: "<date>",
|
|
507
|
+
role: "value",
|
|
508
|
+
type: "time",
|
|
509
|
+
meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
name: "--owner",
|
|
513
|
+
value: "<user>",
|
|
514
|
+
role: "value",
|
|
515
|
+
type: "id",
|
|
516
|
+
meaning: "the CRM user a record is assigned to, by the CRM's id"
|
|
517
|
+
}
|
|
518
|
+
];
|
|
519
|
+
|
|
520
|
+
// 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
|
|
462
521
|
var HOW_FLAGS = [
|
|
463
522
|
{
|
|
464
523
|
name: "--limit",
|
|
@@ -783,6 +842,7 @@ var HOW_FLAGS = [
|
|
|
783
842
|
meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
|
|
784
843
|
},
|
|
785
844
|
{ name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
|
|
845
|
+
{ name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
|
|
786
846
|
{ name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
|
|
787
847
|
{
|
|
788
848
|
name: "--operation-id",
|
|
@@ -1452,7 +1512,7 @@ var HOW_FLAGS = [
|
|
|
1452
1512
|
}
|
|
1453
1513
|
];
|
|
1454
1514
|
|
|
1455
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1515
|
+
// 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
|
|
1456
1516
|
var MAIL_FLAGS = [
|
|
1457
1517
|
{
|
|
1458
1518
|
name: "--cc",
|
|
@@ -1482,7 +1542,94 @@ var MAIL_FLAGS = [
|
|
|
1482
1542
|
}
|
|
1483
1543
|
];
|
|
1484
1544
|
|
|
1485
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1545
|
+
// 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
|
|
1546
|
+
var PRIVACY_FLAGS = [
|
|
1547
|
+
{
|
|
1548
|
+
name: "--about-text",
|
|
1549
|
+
value: "<who>",
|
|
1550
|
+
role: "value",
|
|
1551
|
+
type: "choice",
|
|
1552
|
+
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
name: "--calls",
|
|
1556
|
+
value: "<who>",
|
|
1557
|
+
role: "value",
|
|
1558
|
+
type: "choice",
|
|
1559
|
+
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
name: "--chat-invites",
|
|
1563
|
+
value: "<who>",
|
|
1564
|
+
role: "value",
|
|
1565
|
+
type: "choice",
|
|
1566
|
+
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
name: "--find-by-phone",
|
|
1570
|
+
value: "<who>",
|
|
1571
|
+
role: "value",
|
|
1572
|
+
type: "choice",
|
|
1573
|
+
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
name: "--hide-online",
|
|
1577
|
+
value: "<on|off>",
|
|
1578
|
+
role: "value",
|
|
1579
|
+
type: "choice",
|
|
1580
|
+
meaning: "hide online status and last seen"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
name: "--last-seen",
|
|
1584
|
+
value: "<who>",
|
|
1585
|
+
role: "value",
|
|
1586
|
+
type: "choice",
|
|
1587
|
+
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
name: "--phone-number",
|
|
1591
|
+
value: "<who>",
|
|
1592
|
+
role: "value",
|
|
1593
|
+
type: "choice",
|
|
1594
|
+
meaning: "who sees the number: everyone, contacts or nobody"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
name: "--profile-photo",
|
|
1598
|
+
value: "<who>",
|
|
1599
|
+
role: "value",
|
|
1600
|
+
type: "choice",
|
|
1601
|
+
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
1602
|
+
},
|
|
1603
|
+
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1604
|
+
];
|
|
1605
|
+
|
|
1606
|
+
// 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
|
|
1607
|
+
var SCHEDULE_FLAGS = [
|
|
1608
|
+
{
|
|
1609
|
+
name: "--notify-on",
|
|
1610
|
+
value: "<when>",
|
|
1611
|
+
role: "value",
|
|
1612
|
+
type: "choice",
|
|
1613
|
+
meaning: "when a scheduled run tells the owner: always, failures or never"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
name: "--deliver-to",
|
|
1617
|
+
value: "<route>",
|
|
1618
|
+
role: "value",
|
|
1619
|
+
type: "string",
|
|
1620
|
+
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"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
name: "--max-cost-per-day",
|
|
1624
|
+
value: "<usd>",
|
|
1625
|
+
role: "budget",
|
|
1626
|
+
type: "number",
|
|
1627
|
+
meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
|
|
1628
|
+
unit: "US dollars"
|
|
1629
|
+
}
|
|
1630
|
+
];
|
|
1631
|
+
|
|
1632
|
+
// 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
|
|
1486
1633
|
var WHAT_FLAGS = [
|
|
1487
1634
|
{
|
|
1488
1635
|
name: "--analysis-provider",
|
|
@@ -1905,6 +2052,20 @@ var WHAT_FLAGS = [
|
|
|
1905
2052
|
meaning: "look again from this day, for what arrived late"
|
|
1906
2053
|
},
|
|
1907
2054
|
{ name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
|
|
2055
|
+
{
|
|
2056
|
+
name: "--who",
|
|
2057
|
+
value: "<side>",
|
|
2058
|
+
role: "target",
|
|
2059
|
+
type: "choice",
|
|
2060
|
+
meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
name: "--write",
|
|
2064
|
+
value: "<id>",
|
|
2065
|
+
role: "target",
|
|
2066
|
+
type: "id",
|
|
2067
|
+
meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
|
|
2068
|
+
},
|
|
1908
2069
|
{
|
|
1909
2070
|
name: "--target",
|
|
1910
2071
|
value: "<ref>",
|
|
@@ -2107,63 +2268,6 @@ var WHAT_FLAGS = [
|
|
|
2107
2268
|
type: "path",
|
|
2108
2269
|
meaning: "an Ogg Opus file sent as a voice message"
|
|
2109
2270
|
},
|
|
2110
|
-
{
|
|
2111
|
-
name: "--about-text",
|
|
2112
|
-
value: "<who>",
|
|
2113
|
-
role: "value",
|
|
2114
|
-
type: "choice",
|
|
2115
|
-
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
2116
|
-
},
|
|
2117
|
-
{
|
|
2118
|
-
name: "--calls",
|
|
2119
|
-
value: "<who>",
|
|
2120
|
-
role: "value",
|
|
2121
|
-
type: "choice",
|
|
2122
|
-
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
2123
|
-
},
|
|
2124
|
-
{
|
|
2125
|
-
name: "--chat-invites",
|
|
2126
|
-
value: "<who>",
|
|
2127
|
-
role: "value",
|
|
2128
|
-
type: "choice",
|
|
2129
|
-
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
name: "--find-by-phone",
|
|
2133
|
-
value: "<who>",
|
|
2134
|
-
role: "value",
|
|
2135
|
-
type: "choice",
|
|
2136
|
-
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
2137
|
-
},
|
|
2138
|
-
{
|
|
2139
|
-
name: "--hide-online",
|
|
2140
|
-
value: "<on|off>",
|
|
2141
|
-
role: "value",
|
|
2142
|
-
type: "choice",
|
|
2143
|
-
meaning: "hide online status and last seen"
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
name: "--last-seen",
|
|
2147
|
-
value: "<who>",
|
|
2148
|
-
role: "value",
|
|
2149
|
-
type: "choice",
|
|
2150
|
-
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
name: "--phone-number",
|
|
2154
|
-
value: "<who>",
|
|
2155
|
-
role: "value",
|
|
2156
|
-
type: "choice",
|
|
2157
|
-
meaning: "who sees the number: everyone, contacts or nobody"
|
|
2158
|
-
},
|
|
2159
|
-
{
|
|
2160
|
-
name: "--profile-photo",
|
|
2161
|
-
value: "<who>",
|
|
2162
|
-
role: "value",
|
|
2163
|
-
type: "choice",
|
|
2164
|
-
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
2165
|
-
},
|
|
2166
|
-
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
|
|
2167
2271
|
{
|
|
2168
2272
|
name: "--until",
|
|
2169
2273
|
value: "<time>",
|
|
@@ -2266,6 +2370,13 @@ var WHAT_FLAGS = [
|
|
|
2266
2370
|
type: "id",
|
|
2267
2371
|
meaning: "never show this chat in it; repeat it for more"
|
|
2268
2372
|
},
|
|
2373
|
+
{
|
|
2374
|
+
name: "--field",
|
|
2375
|
+
value: "<key=value>",
|
|
2376
|
+
role: "value",
|
|
2377
|
+
type: "string",
|
|
2378
|
+
meaning: "set one named field on a write, as key=value; repeat it for more"
|
|
2379
|
+
},
|
|
2269
2380
|
{
|
|
2270
2381
|
name: "--file",
|
|
2271
2382
|
value: "<file>",
|
|
@@ -2480,7 +2591,7 @@ var WHAT_FLAGS = [
|
|
|
2480
2591
|
}
|
|
2481
2592
|
];
|
|
2482
2593
|
|
|
2483
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2594
|
+
// 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
|
|
2484
2595
|
var FLAG_TYPES = [
|
|
2485
2596
|
"switch",
|
|
2486
2597
|
"count",
|
|
@@ -2735,6 +2846,7 @@ var collections = [
|
|
|
2735
2846
|
["stages", "steps of a pipeline, each open, won or lost"],
|
|
2736
2847
|
["products", "goods and services the owner sells, with their prices"],
|
|
2737
2848
|
["users", "people who work in the owner's account at a service, such as a CRM's employees"],
|
|
2849
|
+
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
2738
2850
|
[
|
|
2739
2851
|
"identities",
|
|
2740
2852
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
|
|
@@ -2829,6 +2941,7 @@ var views = [
|
|
|
2829
2941
|
["newcomers", "members observed joining during the selected time window"],
|
|
2830
2942
|
["retention", "whether members of a selected cohort remain or return over time"],
|
|
2831
2943
|
["responses", "observed replies between participants and the time taken to answer"],
|
|
2944
|
+
["waiting", "chats whose newest message waits on the owner's reply"],
|
|
2832
2945
|
["discussion", "source posts compared by known views and observed discussion replies"],
|
|
2833
2946
|
["unanswered", "questions without an observed qualifying answer"],
|
|
2834
2947
|
["me", "the account a profile's token belongs to"],
|
|
@@ -2843,6 +2956,7 @@ var roots = [
|
|
|
2843
2956
|
["serve", "the long-running process"],
|
|
2844
2957
|
["setup", "the guided first run: log in or link the account, then install the agent skill"],
|
|
2845
2958
|
["doctor", "check this machine's setup"],
|
|
2959
|
+
["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
|
|
2846
2960
|
["upgrade", "install a newer version of this tool"],
|
|
2847
2961
|
["commands", "the command tree as data"],
|
|
2848
2962
|
["guide", "scenarios: the commands for a common task, in order, and why each"],
|
|
@@ -2864,10 +2978,18 @@ var VOCABULARY = defineVocabulary({
|
|
|
2864
2978
|
],
|
|
2865
2979
|
views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2866
2980
|
roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2867
|
-
flags: [
|
|
2981
|
+
flags: [
|
|
2982
|
+
...HOW_FLAGS,
|
|
2983
|
+
...WHAT_FLAGS,
|
|
2984
|
+
...PRIVACY_FLAGS,
|
|
2985
|
+
...CALENDAR_FLAGS,
|
|
2986
|
+
...MAIL_FLAGS,
|
|
2987
|
+
...CRM_FLAGS,
|
|
2988
|
+
...SCHEDULE_FLAGS
|
|
2989
|
+
]
|
|
2868
2990
|
});
|
|
2869
2991
|
|
|
2870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2871
2993
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2872
2994
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2873
2995
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3090,7 +3212,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3090
3212
|
}
|
|
3091
3213
|
}, "runCommandForAgent");
|
|
3092
3214
|
|
|
3093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3094
3216
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3095
3217
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3096
3218
|
var message = pipe(
|
|
@@ -3349,7 +3471,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3349
3471
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3350
3472
|
}, "failed");
|
|
3351
3473
|
|
|
3352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.601.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4fddd50439ae4e4f952967ea26554e7b/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3353
3475
|
import { randomUUID } from "node:crypto";
|
|
3354
3476
|
var MATCHES = 8;
|
|
3355
3477
|
var ANSWER = answerSchema();
|