@wirecat/zoom-cli 0.77.0 → 0.78.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/zm.js +2 -2
- package/dist/bundle/{all-profiles-PMCFNDMA.js → all-profiles-7JN3N3E6.js} +11 -11
- package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
- package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-U6O7UYGZ.js} +6 -6
- package/dist/bundle/{app-server-OAODUFM3.js → app-server-G7BTC6CE.js} +72 -72
- package/dist/bundle/{bun-HJHVHJJV.js → bun-VLROVUFK.js} +2 -2
- package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-C5JLANDE.js} +7 -7
- package/dist/bundle/{chunk-LWMDLXEO.js → chunk-2AWWMROP.js} +3252 -3057
- package/dist/bundle/{chunk-QKNO3JTG.js → chunk-2LMD3JUD.js} +2 -2
- package/dist/bundle/{chunk-5A5W322G.js → chunk-2O66KMOR.js} +2 -2
- package/dist/bundle/{chunk-MMAZUJBO.js → chunk-2USGT7LE.js} +1 -1
- package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-3A3B3JX4.js} +8 -8
- package/dist/bundle/{chunk-SVJQRG5N.js → chunk-3NZJKY7A.js} +103 -42
- package/dist/bundle/{chunk-7ILGYNWX.js → chunk-3QWYRZME.js} +8 -8
- package/dist/bundle/{chunk-36SI35XZ.js → chunk-4QCLPSJ7.js} +5 -5
- package/dist/bundle/{chunk-6YCFDDRO.js → chunk-4XPVRZXE.js} +1 -1
- package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-532FNLON.js} +20 -20
- package/dist/bundle/{chunk-NOF6LABG.js → chunk-53TV72JG.js} +2 -2
- package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-5DLK4OXF.js} +3 -3
- package/dist/bundle/{chunk-5C6CRSEM.js → chunk-5SM2IOAS.js} +12 -12
- package/dist/bundle/{chunk-YFN5A7OP.js → chunk-6MFEWAK4.js} +4 -4
- package/dist/bundle/{chunk-OXXJW3A5.js → chunk-6NTNAEZF.js} +2014 -1032
- package/dist/bundle/{chunk-RQS3W4P6.js → chunk-7AMKSXMB.js} +6 -6
- package/dist/bundle/{chunk-7CMYNW3W.js → chunk-7EVB4UV7.js} +4 -4
- package/dist/bundle/{chunk-MIG4RLDB.js → chunk-7HEZQCHL.js} +6 -6
- package/dist/bundle/{chunk-QUGESVOE.js → chunk-7IIQU5RA.js} +13 -13
- package/dist/bundle/{chunk-A6LK2W5J.js → chunk-7K5O2VWO.js} +1 -1
- package/dist/bundle/{chunk-5KHCFIWI.js → chunk-AEVSVVTP.js} +2 -2
- package/dist/bundle/{chunk-7SNU7RFU.js → chunk-B4V4DRVO.js} +12 -12
- package/dist/bundle/{chunk-W7UCN7MF.js → chunk-B6TUEQ4O.js} +3 -3
- package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BAHXR4PA.js} +6 -6
- package/dist/bundle/{chunk-XCA5N63N.js → chunk-BGO7IEHY.js} +6 -6
- package/dist/bundle/{chunk-I3QMPQYD.js → chunk-BIUHLXL2.js} +38 -39
- package/dist/bundle/{chunk-ECRFXQHA.js → chunk-C26V2XNV.js} +1 -1
- package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-C56OYYFG.js} +3 -3
- package/dist/bundle/{chunk-KHBSQROH.js → chunk-DLJPN47R.js} +8 -6
- package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-EV7QCFQR.js} +19 -19
- package/dist/bundle/{chunk-IUOKIZZN.js → chunk-F2KZNAFF.js} +2 -2
- package/dist/bundle/{chunk-GHBDYYPO.js → chunk-F7IDYQLM.js} +2 -2
- package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-FCGRXUAU.js} +9 -9
- package/dist/bundle/{chunk-T6RSYDFA.js → chunk-FHOQWPQ6.js} +119 -67
- package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-FMMCGQNT.js} +36 -5
- package/dist/bundle/{chunk-4QNW4NK6.js → chunk-FNLXFQN6.js} +1 -1
- package/dist/bundle/{chunk-SP5OMHOO.js → chunk-FURKMNC2.js} +3 -3
- package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-FXHZHQKU.js} +6 -6
- package/dist/bundle/{chunk-NKKVVPL5.js → chunk-GQ6EJDMV.js} +1 -1
- package/dist/bundle/{chunk-MTH3JJHF.js → chunk-H34KEXTN.js} +10 -10
- package/dist/bundle/{chunk-JFVZVPRW.js → chunk-H74NENWA.js} +3 -3
- package/dist/bundle/{chunk-6JRBMNRN.js → chunk-H7SRM26V.js} +3 -3
- package/dist/bundle/{chunk-77JQIY2V.js → chunk-HGBZBQAE.js} +3 -3
- package/dist/bundle/{chunk-NJJEUG4C.js → chunk-HI4QICF7.js} +12 -12
- package/dist/bundle/{chunk-635GRAO5.js → chunk-HOJOVUO6.js} +14 -13
- package/dist/bundle/{chunk-ICZVSVTW.js → chunk-HUSIS3XO.js} +59 -59
- package/dist/bundle/{chunk-STNZQBY4.js → chunk-IBINGDYF.js} +6 -6
- package/dist/bundle/{chunk-DDUNPLET.js → chunk-INJK7FNM.js} +240 -168
- package/dist/bundle/{chunk-MCLZ74II.js → chunk-JOIAE3NO.js} +7 -7
- package/dist/bundle/{chunk-3TLQF3DN.js → chunk-KBTINKQF.js} +3 -3
- package/dist/bundle/{chunk-YJIGGUPI.js → chunk-KEAKNNXU.js} +4 -4
- package/dist/bundle/{chunk-SFPUSEOT.js → chunk-LBTANUUH.js} +2 -2
- package/dist/bundle/{chunk-7DTU7QZP.js → chunk-LBV4673S.js} +3 -3
- package/dist/bundle/{chunk-PM3MB3E7.js → chunk-LERF2FIK.js} +3 -3
- package/dist/bundle/{chunk-FDQE2CLT.js → chunk-LX532BXO.js} +1 -1
- package/dist/bundle/{chunk-WD5OL5JB.js → chunk-M2M3U4UU.js} +12 -12
- package/dist/bundle/{chunk-B7XFDMFV.js → chunk-M5R2DURM.js} +10 -10
- package/dist/bundle/{chunk-VGERRRDC.js → chunk-MJMHUU3J.js} +1 -1
- package/dist/bundle/{chunk-BOJCRTQW.js → chunk-MSMFYW6N.js} +2 -2
- package/dist/bundle/{chunk-LUAS73NT.js → chunk-MVLLWSV7.js} +20 -118
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-7S3N5CTA.js → chunk-NS5XSCHC.js} +1 -1
- package/dist/bundle/{chunk-TY4FFK2P.js → chunk-OAE6XR7E.js} +9 -60
- package/dist/bundle/{chunk-QAGECFHL.js → chunk-OAYAGQ7C.js} +21 -21
- package/dist/bundle/{chunk-CL6QAZGT.js → chunk-OI4563JI.js} +13 -13
- package/dist/bundle/{chunk-E3UPMPUV.js → chunk-OOLNK3Y5.js} +8 -8
- package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-ORSTSBWU.js} +1 -1
- package/dist/bundle/{chunk-T4CI3YXW.js → chunk-P5QO7Y3H.js} +6 -6
- package/dist/bundle/{chunk-FS5HPXQN.js → chunk-PJMQE4PW.js} +29 -9
- package/dist/bundle/{chunk-NPDPD2H3.js → chunk-Q4AKIAIA.js} +12 -12
- package/dist/bundle/{chunk-7AFYZOHU.js → chunk-Q4CNLEAY.js} +26 -26
- package/dist/bundle/{chunk-ADJIYY33.js → chunk-RJIJR6KH.js} +1 -1
- package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-TEFHNXXX.js} +14 -14
- package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-TFDD4Q5Z.js} +10 -10
- package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-TXDCIM5D.js} +2493 -1444
- package/dist/bundle/{chunk-2QRGJSKO.js → chunk-U2Z35B3W.js} +2 -2
- package/dist/bundle/{chunk-IS6MUPN2.js → chunk-UHBQM54J.js} +4 -4
- package/dist/bundle/{chunk-DYIRJINE.js → chunk-UIBKGH5P.js} +1 -1
- package/dist/bundle/{chunk-NPIVV52M.js → chunk-UKYO3HNO.js} +1 -1
- package/dist/bundle/{chunk-JMU3E2WA.js → chunk-V53TIJLY.js} +2 -2
- package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-VMA7SILL.js} +1 -1
- package/dist/bundle/chunk-VW36ZSAE.js +88 -0
- package/dist/bundle/{chunk-XVHDT4CO.js → chunk-WEAMGNST.js} +3 -3
- package/dist/bundle/{chunk-KYKW2W6X.js → chunk-WJTXO2EI.js} +1 -1
- package/dist/bundle/{chunk-375BH5OD.js → chunk-WOYPWXZK.js} +4 -4
- package/dist/bundle/{chunk-CZ6OO66B.js → chunk-XCOGI4JE.js} +4 -4
- package/dist/bundle/{chunk-XC3MWABM.js → chunk-XOG7B7K5.js} +4 -4
- package/dist/bundle/{chunk-UGRGYLEI.js → chunk-XSF5OBVZ.js} +8 -8
- package/dist/bundle/{chunk-SY5NGYKA.js → chunk-XXD4YPHQ.js} +12 -12
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-IJTBB23F.js → chunk-YHQ3TEGB.js} +27 -27
- package/dist/bundle/{chunk-F4ROWGLU.js → chunk-YLNUKNGD.js} +63 -33
- package/dist/bundle/{chunk-JQUYHPQD.js → chunk-YNYQGZUW.js} +7 -7
- package/dist/bundle/{chunk-2QDD6S2R.js → chunk-YZKVCTZI.js} +8 -8
- package/dist/bundle/{chunk-OOIU36FA.js → chunk-ZCVO6GAT.js} +1 -1
- package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-ZDZASHSQ.js} +17 -17
- package/dist/bundle/{chunk-LMZUC4CS.js → chunk-ZZJ5IWNT.js} +4 -4
- package/dist/bundle/{cli-Y27PHKBV.js → cli-YALONJ4V.js} +111 -77
- package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
- package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-W4XTBUZE.js} +35 -35
- package/dist/bundle/config-4TLDRXRL.js +109 -0
- package/dist/bundle/{decode-ZRNOOTUZ.js → decode-IFQHVCFX.js} +6 -6
- package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-GOJB4TDK.js} +9 -9
- package/dist/bundle/{dist-MUFVAMKB.js → dist-H7XFUMRX.js} +21 -21
- package/dist/bundle/{echarts-F4PHDYET.js → echarts-HPUHPJCO.js} +2 -2
- package/dist/bundle/{embed-KWHCKPCV.js → embed-ESU3WZYW.js} +7 -7
- package/dist/bundle/{embedder-U3R3RY54.js → embedder-BV6O76B3.js} +10 -10
- package/dist/bundle/{failure-S2YXEN4A.js → failure-SWVCYFQX.js} +3 -3
- package/dist/bundle/first-run-OEJGAQAE.js +29 -0
- package/dist/bundle/first-screen-QLM4IABL.js +45 -0
- package/dist/bundle/{folders-DVTRFQKW.js → folders-VQGKBM3P.js} +5 -5
- package/dist/bundle/{instructions-JU4YW6QY.js → instructions-UUX57I3V.js} +1 -1
- package/dist/bundle/{main-5UCRPACH.js → main-UIKADOFB.js} +24 -24
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
- package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
- package/dist/bundle/{meeting-semantic-5DKRGZFS.js → meeting-semantic-F6GUICB7.js} +8 -8
- package/dist/bundle/{meetings-T2UY35DV.js → meetings-KIBUPLPW.js} +19 -7
- package/dist/bundle/{node-MAVRAF4M.js → node-AM3JCAWB.js} +2 -2
- package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-VM6VS3RU.js} +8 -8
- package/dist/bundle/{oauth-7IG5HWSY.js → oauth-AX5Z32H6.js} +8 -8
- package/dist/bundle/{open-3R3N7L3X.js → open-SSGOOOZG.js} +6 -6
- package/dist/bundle/openai-YIP73X2B.js +28 -0
- package/dist/bundle/{output-file-KKHHAYWF.js → output-file-FR226A64.js} +6 -6
- package/dist/bundle/{process-OIO254NR.js → process-5ZEK2VFY.js} +1 -1
- package/dist/bundle/{program-IBYRU76H.js → program-ROJAJHCB.js} +93 -92
- package/dist/bundle/{prompt-LNEOO7PN.js → prompt-6Y7A4453.js} +6 -6
- package/dist/bundle/{recognize-2WYLT3PC.js → recognize-R5W25WKH.js} +5 -5
- package/dist/bundle/{remote-7EAJEIV7.js → remote-PA4FQUZK.js} +11 -11
- package/dist/bundle/{rerank-DZBZ744F.js → rerank-CYX3UFTM.js} +8 -8
- package/dist/bundle/run-log-FHERL3H6.js +136 -0
- package/dist/bundle/{serve-T3KQV5SS.js → serve-MM5QEZJW.js} +10 -10
- package/dist/bundle/{server-2QQAQZ2J.js → server-JQQAH7E5.js} +64 -64
- package/dist/bundle/server-W2BBONCQ.js +85 -0
- package/dist/bundle/{services-DETAKMC3.js → services-Y2DOQONM.js} +58 -51
- package/dist/bundle/{speech-HD57JNTK.js → speech-O6WLX34V.js} +25 -25
- package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-LQTBZMFH.js} +7 -7
- package/dist/bundle/{state-ZKVQ4DBI.js → state-AIDPZLVH.js} +7 -7
- package/dist/bundle/{store-7IZ2WMHF.js → store-BA4FQS5V.js} +26 -24
- package/dist/bundle/{store-GEAQ7V5R.js → store-UNDS2TBG.js} +30 -26
- package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
- package/dist/bundle/{streaming-CLBAO3MG.js → streaming-UFHT5MR2.js} +7 -7
- package/dist/bundle/{tokens-WH73ZWFI.js → tokens-Z32UKGQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-ZDTYMJET.js → zoom-app-6U46XBTG.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/zoom-cli/SKILL.md +88 -236
- package/skills/zoom-cli/references/archive.md +59 -0
- package/skills/zoom-cli/references/people-and-projects.md +51 -0
- package/skills/zoom-cli/references/prepare.md +78 -0
- package/skills/zoom-cli/references/search.md +71 -0
- package/skills/zoom-cli/references/setup.md +31 -0
- package/skills/zoom-cli/references/zoom-live.md +27 -0
- package/dist/bundle/answer-policy-XU7KEW2V.js +0 -121
- package/dist/bundle/command-contract-GB7YA3KW.js +0 -45
- package/dist/bundle/config-2OOABHR7.js +0 -108
- package/dist/bundle/first-run-F4YR2E2C.js +0 -29
- package/dist/bundle/first-screen-HPRHD3VK.js +0 -43
- package/dist/bundle/meeting-combined-IWU5SPAH.js +0 -26
- package/dist/bundle/meeting-model-ILIUJECZ.js +0 -26
- package/dist/bundle/openai-DD5I3DWC.js +0 -28
- package/dist/bundle/run-log-CCIVRSHP.js +0 -135
- package/dist/bundle/server-OJQMPF2R.js +0 -84
- package/dist/bundle/store-connection-BALCZW7P.js +0 -101
- package/dist/bundle/store-maintenance-command-SBT4LDSI.js +0 -76
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
QUERY_REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TFDD4Q5Z.js";
|
|
6
6
|
import {
|
|
7
7
|
defineReasons
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PJMQE4PW.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/errors/reasons.js
|
|
14
14
|
var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
|
|
15
15
|
var QUERY = [
|
|
16
16
|
["query.aborted", "the search was stopped before it finished"],
|
|
@@ -37,6 +37,11 @@ var SIGN_IN = [
|
|
|
37
37
|
["oauth.no-response", "outcome_unknown", "the token request did not finish"],
|
|
38
38
|
["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
|
|
39
39
|
["oauth.expired", "authentication_error", "the provider refused the saved sign-in; sign in again"],
|
|
40
|
+
[
|
|
41
|
+
"oauth.moved-rotating",
|
|
42
|
+
"authentication_error",
|
|
43
|
+
"a run with moved folders cannot refresh a sign-in whose refresh token rotates"
|
|
44
|
+
],
|
|
40
45
|
["oauth.invalid-response", "invalid_response", "the provider's token response could not be used"],
|
|
41
46
|
["oauth.failed", "authentication_error", "the provider returned no offline refresh token"],
|
|
42
47
|
["oauth.revoke-failed", "outcome_unknown", "the provider did not confirm the revoke"],
|
|
@@ -49,6 +54,7 @@ var SIGN_IN = [
|
|
|
49
54
|
["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"],
|
|
50
55
|
validation("account-remove.no-choice", "account remove needs --keep-data or --delete-data, one of them"),
|
|
51
56
|
["account-remove.unknown-profile", "not_found", "no profile by this name on this computer"],
|
|
57
|
+
validation("profile.missing", "no profile named, and none is picked for the owner; details.profiles lists the ones here"),
|
|
52
58
|
["profile.unknown", "not_found", "no profile by this name on this computer; details.profiles lists the ones here"],
|
|
53
59
|
["account-remove.busy", "conflict", "a serve or a sync runs for this profile; stop it first"],
|
|
54
60
|
["account-remove.unconfirmed", "confirmation_required", "removing an account asks first; add --yes"],
|
|
@@ -285,6 +291,7 @@ var OTHERS = [
|
|
|
285
291
|
["meetings.server-unreachable", "network_error", "the meetings service could not be reached"],
|
|
286
292
|
["meetings.server-signed-out", "authentication_error", "the meetings service needs a sign-in"],
|
|
287
293
|
["meetings.server-refused", "permission_error", "the meetings service refused the request"],
|
|
294
|
+
["meetings.server-rate-limited", "rate_limited", "the meetings service asked to wait before more requests"],
|
|
288
295
|
["meetings.server-failed", "provider_error", "the meetings service could not be read, or what it returned kept"],
|
|
289
296
|
[
|
|
290
297
|
"meetings.server-capped",
|
|
@@ -358,6 +365,7 @@ var OTHERS = [
|
|
|
358
365
|
validation("index.not-ready", "the search index is still being built"),
|
|
359
366
|
validation("input.closed", "the input closed before the answer"),
|
|
360
367
|
validation("input.empty", "a hidden prompt got an empty answer three times"),
|
|
368
|
+
validation("input.incomplete", "the answers stop before the step that checks them"),
|
|
361
369
|
validation("input.required", "the command needs an answer and cannot ask for one"),
|
|
362
370
|
validation("input.too-large", "the input is over its size limit"),
|
|
363
371
|
["meeting-project.stale", "conflict", "the meeting's project changed meanwhile"],
|
|
@@ -436,16 +444,33 @@ var OTHERS = [
|
|
|
436
444
|
validation("pipeline.field", "a pipeline needs a name and at least one stage, each named once"),
|
|
437
445
|
["pipeline.not-found", "not_found", "no stored pipeline has that name or reference"],
|
|
438
446
|
validation("crm.stage-unknown", "a CRM item stands in a stage the store does not hold; it was not kept"),
|
|
439
|
-
validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a
|
|
447
|
+
validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a status it does not know"),
|
|
448
|
+
validation("crm.amount-unkept", "a CRM deal's amount is in a currency or with decimals the store cannot hold: the deal is kept without it"),
|
|
440
449
|
validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the command names one"),
|
|
441
450
|
validation("field.unknown", "no custom field of the kind has that code or label; `fields list` lists them"),
|
|
442
451
|
validation("field.ambiguous", "more than one custom field has that label; name one by its code"),
|
|
443
452
|
validation("field.unknown-option", "the list field has no option with that id or label"),
|
|
453
|
+
validation("crm.record-ambiguous", "more than one contact or company has that name; name one by its id"),
|
|
454
|
+
validation("field.ambiguous-option", "more than one option of the list field has that label; name one by its id"),
|
|
444
455
|
validation("field.unknown-kind", "fields are listed for deals, leads, people and organizations only"),
|
|
456
|
+
[
|
|
457
|
+
"crm.foreign-contacts-spent",
|
|
458
|
+
"permission_error",
|
|
459
|
+
"the day's views of contacts and companies that are not yours are spent"
|
|
460
|
+
],
|
|
461
|
+
[
|
|
462
|
+
"crm.client-reads-admin-only",
|
|
463
|
+
"permission_error",
|
|
464
|
+
"a raw api call that reads contacts or companies is the CRM administrator's"
|
|
465
|
+
],
|
|
466
|
+
validation("field.not-filterable", "the CRM cannot filter a list by that custom field"),
|
|
467
|
+
validation("query.bad-value", "a term's value is not the kind its field takes, such as an id or a number"),
|
|
468
|
+
validation("crm.record-field", "a contact's or company's field is not valid"),
|
|
469
|
+
validation("crm.owner-unknown", "owner: names no CRM user: me without a known sign-in user, or not a user id"),
|
|
445
470
|
validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
|
|
446
471
|
validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
|
|
447
472
|
validation("crm.narrowing-held", "the default scope mine would mark most of a kind's stored rows deleted; none is, until the owner sets the scope"),
|
|
448
|
-
validation("crm.unassigned-dropped", "the CRM does not let this sign-in
|
|
473
|
+
validation("crm.unassigned-dropped", "the CRM does not let this sign-in choose a user in unassigned; that user's deals are not copied"),
|
|
449
474
|
validation("crm.not-reported", "the CRM did not list users or departments; what they would say is unknown, nothing withdrawn"),
|
|
450
475
|
validation("crm.reference-unknown", "a CRM row names a contact, company or user the store does not hold; that link was not made"),
|
|
451
476
|
validation("crm.pending-dropped", "relationships waited too long for an end that never came; they were dropped"),
|
|
@@ -509,6 +534,11 @@ var OTHERS = [
|
|
|
509
534
|
"conflict",
|
|
510
535
|
"the people a merge or a proposed link names changed since; undo the later merge, or propose the link again"
|
|
511
536
|
],
|
|
537
|
+
[
|
|
538
|
+
"identity.merge-conflict",
|
|
539
|
+
"conflict",
|
|
540
|
+
"a row of the renamed identity has no counterpart on the identity it merges into; the pair is left as it was"
|
|
541
|
+
],
|
|
512
542
|
["identity.no-merge", "not_found", "nothing of that person is merged into the other; people show lists the merges"],
|
|
513
543
|
validation("identity.held-elsewhere", "the identity sits on another person than the one named; name that person to take it off them"),
|
|
514
544
|
validation("identity.several-persons", "the identities that leave a person are all of that one person"),
|
|
@@ -524,6 +554,7 @@ var OTHERS = [
|
|
|
524
554
|
"the owner rejected linking these people on this evidence; only a new signal or identity proposes them again"
|
|
525
555
|
],
|
|
526
556
|
validation("identity.same", "the two identities are one person already"),
|
|
557
|
+
validation("identity.agent-unnamed", "an agent's link names the agent, and never as the owner"),
|
|
527
558
|
validation("identity.not-shared", "only a match on a shared mailbox can say the mailbox is a company's"),
|
|
528
559
|
["organization.not-found", "not_found", "no stored organization has that id"],
|
|
529
560
|
validation("organization.unnamed", "a free mailbox names no company; name the organization or the company"),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
hostFetch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BGO7IEHY.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isCliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FNLXFQN6.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
15
15
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
16
16
|
try {
|
|
17
17
|
const url = new URL(value);
|
|
@@ -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-VMA7SILL.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FNLXFQN6.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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-C5JLANDE.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-VM6VS3RU.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -2,41 +2,41 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
encodeWav
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5DLK4OXF.js";
|
|
6
6
|
import {
|
|
7
7
|
SAMPLE_RATE,
|
|
8
8
|
toModelRate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XOG7B7K5.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_URL,
|
|
12
12
|
refuseModelAddress
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FCGRXUAU.js";
|
|
14
14
|
import {
|
|
15
15
|
endpointFetch,
|
|
16
16
|
onThisComputer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FURKMNC2.js";
|
|
18
18
|
import {
|
|
19
19
|
providerWaitMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BGO7IEHY.js";
|
|
21
21
|
import {
|
|
22
22
|
OPENAI_TRANSCRIBE_MODEL,
|
|
23
23
|
VAD,
|
|
24
24
|
filesPresent,
|
|
25
25
|
modelsDirectory,
|
|
26
26
|
vadPath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XCOGI4JE.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RETRY,
|
|
30
30
|
backoffMs
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
32
32
|
import {
|
|
33
33
|
CliError
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FNLXFQN6.js";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
|
37
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
38
38
|
|
|
39
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
40
40
|
import { setTimeout as wait } from "node:timers/promises";
|
|
41
41
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
42
42
|
var JOINED_SECONDS = 0.2;
|
|
@@ -161,7 +161,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
161
161
|
return pieces;
|
|
162
162
|
}, "piecesOf");
|
|
163
163
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
164
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
164
|
+
const { openSpeechCutter } = await import("./recognize-R5W25WKH.js");
|
|
165
165
|
return openSpeechCutter(vadModel);
|
|
166
166
|
}, "openCutter");
|
|
167
167
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U2Z35B3W.js";
|
|
6
6
|
import {
|
|
7
7
|
createOutputBuffer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FNLXFQN6.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EV7QCFQR.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
strictObject,
|
|
17
17
|
string,
|
|
18
18
|
unknown
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PJMQE4PW.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash,
|
|
31
31
|
currentCaller
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JOIAE3NO.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -541,7 +541,7 @@ function toError(value) {
|
|
|
541
541
|
}
|
|
542
542
|
__name(toError, "toError");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
545
545
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
546
546
|
const client = caller?.agent?.client?.name;
|
|
547
547
|
if (client && client !== "unknown")
|
|
@@ -629,7 +629,7 @@ var passedOn = /* @__PURE__ */ __name((value, tool) => {
|
|
|
629
629
|
};
|
|
630
630
|
}, "passedOn");
|
|
631
631
|
|
|
632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
633
633
|
import { PassThrough, Writable } from "node:stream";
|
|
634
634
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
635
635
|
let rest = "";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
LIST_QUERY_GUIDE,
|
|
6
6
|
nativeTerms,
|
|
7
7
|
throughWrapper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2AWWMROP.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_CONFIG,
|
|
11
11
|
environmentOf,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
renderAnswer,
|
|
16
16
|
snakeKeys,
|
|
17
17
|
withAgentLevels
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-INJK7FNM.js";
|
|
19
19
|
import {
|
|
20
20
|
readOnlyLockOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F7IDYQLM.js";
|
|
22
22
|
import {
|
|
23
23
|
formatReference
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7IIQU5RA.js";
|
|
25
25
|
import {
|
|
26
26
|
queryError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TFDD4Q5Z.js";
|
|
28
28
|
import {
|
|
29
29
|
array,
|
|
30
30
|
boolean,
|
|
@@ -34,15 +34,15 @@ import {
|
|
|
34
34
|
safeParse,
|
|
35
35
|
strictObject,
|
|
36
36
|
string
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PJMQE4PW.js";
|
|
38
38
|
import {
|
|
39
39
|
CliError
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FNLXFQN6.js";
|
|
41
41
|
import {
|
|
42
42
|
__name
|
|
43
43
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
46
46
|
var COMMAND_NEEDS = {
|
|
47
47
|
"account update": ["updateProfile", "change the profile"],
|
|
48
48
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -92,7 +92,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
92
92
|
return group;
|
|
93
93
|
}, "hideNever");
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
96
96
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
97
97
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
98
98
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -119,7 +119,7 @@ var pagingOf = /* @__PURE__ */ __name((command) => {
|
|
|
119
119
|
return { limit: limit ?? DEFAULT_CONFIG.defaults.limit, page: page ?? 1 };
|
|
120
120
|
}, "pagingOf");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
123
123
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
124
124
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
125
125
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -381,7 +381,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
381
381
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
382
382
|
}), "sessionAnswer");
|
|
383
383
|
|
|
384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
385
385
|
import { createHash } from "node:crypto";
|
|
386
386
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
387
387
|
import { createConnection, createServer } from "node:net";
|
|
@@ -602,7 +602,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
602
602
|
}, () => finish({ error: stopped() }));
|
|
603
603
|
}), "relayCommand");
|
|
604
604
|
|
|
605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
606
606
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
607
607
|
close: /* @__PURE__ */ __name(async () => {
|
|
608
608
|
}, "close"),
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UHBQM54J.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WOYPWXZK.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3A3B3JX4.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OOLNK3Y5.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YAPDU3SV.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LBTANUUH.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-BA4FQS5V.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-SSGOOOZG.js"),
|
|
117
|
+
import("./store-maintenance-command-IB6ML4UI.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-QLM4IABL.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -197,9 +197,10 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
197
197
|
command: start.command,
|
|
198
198
|
env: start.env,
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
|
-
|
|
200
|
+
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
|
+
all: start.path.length === 1 && start.path[0] === "setup",
|
|
201
202
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-6Y7A4453.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
205
|
`), "say")
|
|
205
206
|
}
|