@wirecat/zoom-cli 0.72.0 → 0.74.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/contracts/wirecat.json +1478 -0
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +0 -2
- package/dist/account-removal.js.map +1 -1
- package/dist/answers.d.ts +1 -3
- package/dist/answers.d.ts.map +1 -1
- package/dist/answers.js +0 -3
- package/dist/answers.js.map +1 -1
- package/dist/bin/main.js +13 -5
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-XFIPF4GF.js → all-profiles-SDOAABLC.js} +12 -12
- package/dist/bundle/answer-policy-RHS74QYY.js +110 -0
- package/dist/bundle/{anthropic-SSUBR3BC.js → anthropic-HCVY2PIN.js} +7 -7
- package/dist/bundle/{app-server-7DJHHF2F.js → app-server-V64VS6KN.js} +65 -61
- package/dist/bundle/{bun-6HBYWQIX.js → bun-EBQHHLKR.js} +2 -2
- package/dist/bundle/{bun-sqlite-4L3Q55NB.js → bun-sqlite-PVMXO2JB.js} +7 -7
- package/dist/bundle/chunk-2PNG76LV.js +707 -0
- package/dist/bundle/chunk-2PYZTRRC.js +84 -0
- package/dist/bundle/{chunk-63QXCE5Z.js → chunk-3HTJBGNP.js} +10 -10
- package/dist/bundle/{chunk-5X4IY5JH.js → chunk-3ROL6MBJ.js} +1763 -762
- package/dist/bundle/{chunk-N4QNYWWG.js → chunk-3TYNBHBK.js} +2 -2
- package/dist/bundle/{chunk-7SUWPMZG.js → chunk-4ELLWJT4.js} +8 -8
- package/dist/bundle/{chunk-PJWSGXOB.js → chunk-4EZKR6Q4.js} +7 -7
- package/dist/bundle/{chunk-UVZLK3M4.js → chunk-4RJL32PF.js} +25 -10
- package/dist/bundle/{chunk-LTWJM3ED.js → chunk-5KDBLEUF.js} +17 -17
- package/dist/bundle/{chunk-7IFO43Q5.js → chunk-5R6EBM5Z.js} +2 -2
- package/dist/bundle/{chunk-OHCLQJOV.js → chunk-6EMOZGSN.js} +3 -3
- package/dist/bundle/{chunk-D24OQAHM.js → chunk-6GPBDVQ2.js} +4 -4
- package/dist/bundle/chunk-7NE3LB7A.js +25 -0
- package/dist/bundle/{chunk-VIV64MQM.js → chunk-7R4UU65O.js} +26 -17
- package/dist/bundle/{chunk-4XQWF3U2.js → chunk-7W23N2YW.js} +6 -6
- package/dist/bundle/{chunk-RN5SU2RN.js → chunk-AFUHT7F7.js} +6 -6
- package/dist/bundle/{chunk-SXZGCD6E.js → chunk-APLV37JA.js} +3 -3
- package/dist/bundle/{chunk-LLUNHAZ7.js → chunk-BKMC4ETU.js} +4 -4
- package/dist/bundle/{chunk-IACWKZWS.js → chunk-BOGGQOVO.js} +1 -1
- package/dist/bundle/{chunk-U3NJBGLA.js → chunk-DSRG5NRF.js} +185 -34
- package/dist/bundle/{chunk-X2MP634F.js → chunk-DXZN3DU6.js} +4 -4
- package/dist/bundle/{chunk-ELJUBPY4.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-ZVFYGTGJ.js → chunk-F6PUM6ZK.js} +17 -17
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-WOAYHCM2.js → chunk-FL2TKSZY.js} +1 -1
- package/dist/bundle/{chunk-RZUJMAMK.js → chunk-FT7X74RT.js} +4 -4
- package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
- package/dist/bundle/{chunk-I7CUMZD6.js → chunk-FY2X6U6O.js} +3 -3
- package/dist/bundle/{chunk-W3YTVEWV.js → chunk-GPGIU3OG.js} +9 -9
- package/dist/bundle/{chunk-6DCLZLGX.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-IU4DUUB3.js → chunk-HGUYJUNO.js} +325 -14
- package/dist/bundle/{chunk-S7SXSHRC.js → chunk-HNWDEDMU.js} +61 -30
- package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-HZUUVNWC.js} +1 -1
- package/dist/bundle/{chunk-7S4D5SM2.js → chunk-I2D4ZZOD.js} +31 -32
- package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-QQUY4MZY.js → chunk-IJONJTST.js} +1 -1
- package/dist/bundle/chunk-IS6FUZCP.js +73 -0
- package/dist/bundle/{chunk-ZW5KHKMA.js → chunk-IZUOL4Q6.js} +5 -5
- package/dist/bundle/{chunk-H53WFZBN.js → chunk-KBRIMLVN.js} +12 -12
- package/dist/bundle/{chunk-2MIBRVSV.js → chunk-KCPRTZBZ.js} +2 -2
- package/dist/bundle/chunk-KYL5FYOW.js +13 -0
- package/dist/bundle/{chunk-4SY67IUA.js → chunk-LHPYSVGP.js} +26 -35
- package/dist/bundle/{chunk-JG4MNYG2.js → chunk-LN2LWPN2.js} +1 -1
- package/dist/bundle/{chunk-CW46FWKW.js → chunk-LQR4V5EY.js} +14 -12
- package/dist/bundle/{chunk-B3SILJBU.js → chunk-LUBG5GKK.js} +30 -22
- package/dist/bundle/{chunk-3KRTEX5M.js → chunk-LZ4AVHBS.js} +3 -2
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-FSCPQQS5.js → chunk-MAE5UGRQ.js} +150 -93
- package/dist/bundle/{chunk-KPIQXFNB.js → chunk-N7KCNMKL.js} +16 -15
- package/dist/bundle/{chunk-RLCVPECY.js → chunk-NKBMLSWK.js} +110 -64
- package/dist/bundle/{chunk-T27IMG6X.js → chunk-NV2REPY6.js} +1 -1
- package/dist/bundle/{chunk-EFF2XBHP.js → chunk-OP6HK2QL.js} +2 -2
- package/dist/bundle/{chunk-WLVG4RBZ.js → chunk-OPUGV7VW.js} +15 -2
- package/dist/bundle/{chunk-5AELTC52.js → chunk-P53CLAXD.js} +103 -102
- package/dist/bundle/{chunk-KWURWGGB.js → chunk-PKM2UKAZ.js} +32 -9
- package/dist/bundle/{chunk-7JYMGXLI.js → chunk-PMHMKZEJ.js} +47 -43
- package/dist/bundle/{chunk-23J2ANZ7.js → chunk-QAGSAOYS.js} +2 -2
- package/dist/bundle/{chunk-JZ4XNNL7.js → chunk-QLKCKTM4.js} +1 -1
- package/dist/bundle/{chunk-OP5PGE2N.js → chunk-QSWR7VDA.js} +4 -4
- package/dist/bundle/{chunk-LA6QUVGQ.js → chunk-R35YGFKQ.js} +163 -16
- package/dist/bundle/{chunk-CANRIRNZ.js → chunk-R4J4DLJV.js} +1792 -1205
- package/dist/bundle/{chunk-QW7YTRV2.js → chunk-RJJ4OYNH.js} +3 -3
- package/dist/bundle/{chunk-DOCVEKP2.js → chunk-RQJ2RXFO.js} +37 -35
- package/dist/bundle/{chunk-TF2WKPNW.js → chunk-RRW54FK6.js} +17 -17
- package/dist/bundle/{chunk-KFZL67JP.js → chunk-SKDQNYKA.js} +129 -48
- package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-SPWKGRTO.js} +1 -1
- package/dist/bundle/{chunk-MSQHSW4C.js → chunk-SY4MIIWF.js} +2 -2
- package/dist/bundle/{chunk-ZHA56THL.js → chunk-TKPIDOW5.js} +927 -904
- package/dist/bundle/{chunk-WXTYYWZI.js → chunk-TLNZUPGU.js} +115 -113
- package/dist/bundle/{chunk-WZGKHTA4.js → chunk-TMCXUWTY.js} +8 -2
- package/dist/bundle/{chunk-7OD3522V.js → chunk-TN2YUZBF.js} +1192 -496
- package/dist/bundle/{chunk-JFPUYQSP.js → chunk-UGLNVUFX.js} +5 -5
- package/dist/bundle/{chunk-IFBIXU6C.js → chunk-UVWNUY3W.js} +2 -2
- package/dist/bundle/{chunk-5MGICK47.js → chunk-UW3BB2XW.js} +26 -26
- package/dist/bundle/{chunk-24OFZNRC.js → chunk-UXSTXFZQ.js} +5168 -4245
- package/dist/bundle/{chunk-U32VL3MA.js → chunk-WRRGO246.js} +3 -2
- package/dist/bundle/{chunk-QA6KIL7Q.js → chunk-WYV5IITK.js} +11 -8
- package/dist/bundle/{chunk-D5EUMWD5.js → chunk-X2FILY5F.js} +3 -3
- package/dist/bundle/{chunk-4YIGXTBP.js → chunk-XCC7R47Z.js} +3 -3
- package/dist/bundle/{chunk-37NF5CBJ.js → chunk-XFT3YIHU.js} +6 -8
- package/dist/bundle/{chunk-IXO4SCKE.js → chunk-XGEPAJBY.js} +1 -1
- package/dist/bundle/chunk-XWBPP2HX.js +2 -0
- package/dist/bundle/{chunk-RJTGENHZ.js → chunk-Y4KWWPIO.js} +4 -7
- package/dist/bundle/{chunk-DEPXZJ2V.js → chunk-YFLTHGB3.js} +17 -13
- package/dist/bundle/{chunk-JRCH4YZP.js → chunk-YM6ZATEK.js} +17 -121
- package/dist/bundle/{chunk-ADKMBXY4.js → chunk-YNI57LTZ.js} +1 -1
- package/dist/bundle/{chunk-ERJYJ36F.js → chunk-ZMHZ6CQS.js} +2 -2
- package/dist/bundle/{chunk-M3DMXDX6.js → chunk-ZYMTS3CI.js} +6 -6
- package/dist/bundle/{cli-IYYI7GAM.js → cli-5ALOQCAC.js} +152 -123
- package/dist/bundle/command-contract-WO5QJVLZ.js +41 -0
- package/dist/bundle/{command-server-entry-FXX4LJWF.js → command-server-entry-ICOMIJIH.js} +33 -33
- package/dist/bundle/config-YQA5TJ7Y.js +97 -0
- package/dist/bundle/{decode-SRGOOGBW.js → decode-7LFOROWF.js} +6 -6
- package/dist/bundle/{dispatch-OUHRPFUL.js → dispatch-EU67WGME.js} +9 -9
- package/dist/bundle/{dist-UZLNLAIO.js → dist-KJOOYNCP.js} +25 -22
- package/dist/bundle/{echarts-7CM2MCMW.js → echarts-EJXBKCJT.js} +2 -2
- package/dist/bundle/{embed-VEE56BOB.js → embed-TOZCKRRO.js} +7 -7
- package/dist/bundle/{embedder-SZFYR543.js → embedder-QKEKUCS5.js} +10 -10
- package/dist/bundle/{failure-MZBNM7M5.js → failure-CTJLEB2R.js} +3 -3
- package/dist/bundle/first-run-S7CQVGK6.js +29 -0
- package/dist/bundle/first-screen-6GW6FD6S.js +39 -0
- package/dist/bundle/folders-MSBTAPAG.js +24 -0
- package/dist/bundle/{instructions-R7OHVAWH.js → instructions-Z7GVGWXS.js} +1 -1
- package/dist/bundle/{main-EFUN2O3K.js → main-RL3GC4OX.js} +39 -26
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{meetings-5I2BDNTA.js → meetings-JCMLE5AO.js} +9 -7
- package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
- package/dist/bundle/{node-3N2JGZ7V.js → node-L2PVEW3N.js} +2 -2
- package/dist/bundle/{node-sqlite-2UVEE2WM.js → node-sqlite-4YW3W4XI.js} +10 -10
- package/dist/bundle/{oauth-AYGD7UU3.js → oauth-NNHWAT6A.js} +8 -8
- package/dist/bundle/{open-3GUVDLGD.js → open-PF2JHJIY.js} +6 -6
- package/dist/bundle/openai-C72ADYMD.js +28 -0
- package/dist/bundle/{output-file-72JFXVHQ.js → output-file-VDOCYH2G.js} +6 -6
- package/dist/bundle/{process-YAHHUFR5.js → process-MNZTQ2DA.js} +1 -1
- package/dist/bundle/{program-OSZROCTK.js → program-FOCBZZZS.js} +146 -151
- package/dist/bundle/{prompt-HMCW4XQJ.js → prompt-RBSUKMV7.js} +6 -6
- package/dist/bundle/{recognize-VF5CA7EM.js → recognize-RM6TQKK3.js} +5 -5
- package/dist/bundle/{remote-5C6VTPR2.js → remote-UKHTU3YR.js} +11 -10
- package/dist/bundle/{rerank-ER7NEDOI.js → rerank-3LBRVESU.js} +8 -8
- package/dist/bundle/run-log-UXINNGKA.js +124 -0
- package/dist/bundle/{serve-QJWXJOM7.js → serve-OOZFTW3W.js} +10 -10
- package/dist/bundle/server-DM5ZPFZB.js +75 -0
- package/dist/bundle/{server-KCIK3Y2P.js → server-YNQPNIJD.js} +52 -50
- package/dist/bundle/{services-LQMYJQG3.js → services-SLEOMN4B.js} +61 -44
- package/dist/bundle/{speech-74GJQNQH.js → speech-FZZ6QVGU.js} +20 -20
- package/dist/bundle/sqlite-runtime-WUR4PWYB.js +20 -0
- package/dist/bundle/{state-4XDGCHDF.js → state-ET36L4TY.js} +7 -7
- package/dist/bundle/{store-5Y5HK2L2.js → store-DI6OUBXA.js} +20 -20
- package/dist/bundle/{store-Y56AHJ2Y.js → store-SQB2DOVJ.js} +34 -28
- package/dist/bundle/store-connection-M6LVRAZ5.js +90 -0
- package/dist/bundle/store-maintenance-command-B66KWG6K.js +65 -0
- package/dist/bundle/{streaming-E5CR6HSR.js → streaming-PQEXKTE5.js} +7 -7
- package/dist/bundle/tokens-SUHRRQ25.js +24 -0
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-NVL7HEAX.js → zoom-app-GE4SSHOP.js} +9 -8
- package/dist/folders.d.ts +12 -2
- package/dist/folders.d.ts.map +1 -1
- package/dist/folders.js +81 -3
- package/dist/folders.js.map +1 -1
- package/dist/identity.d.ts +5 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +14 -0
- package/dist/identity.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +4 -7
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/remote-http.d.ts +1 -1
- package/dist/remote-http.d.ts.map +1 -1
- package/dist/remote-http.js +21 -23
- package/dist/remote-http.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +2 -4
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +17 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +109 -29
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +15 -14
- package/dist/bundle/answer-policy-AT6CDEE5.js +0 -110
- package/dist/bundle/chunk-EG25AY4L.js +0 -17
- package/dist/bundle/chunk-JAEPK457.js +0 -997
- package/dist/bundle/chunk-K6HR6HCO.js +0 -32
- package/dist/bundle/chunk-OY6N2ABP.js +0 -1239
- package/dist/bundle/chunk-YVVJ6Y5C.js +0 -153
- package/dist/bundle/command-contract-TX7NSUBM.js +0 -42
- package/dist/bundle/config-YKNM33J7.js +0 -96
- package/dist/bundle/first-run-KWC7RKF2.js +0 -29
- package/dist/bundle/first-screen-DWKMNSEI.js +0 -40
- package/dist/bundle/folders-UQXRSDJJ.js +0 -16
- package/dist/bundle/openai-NHCDLWWY.js +0 -28
- package/dist/bundle/run-log-JKTLKXSK.js +0 -124
- package/dist/bundle/server-LLGFDLLJ.js +0 -75
- package/dist/bundle/store-connection-4WI32AYU.js +0 -89
- package/dist/bundle/store-maintenance-command-PCXO5AH4.js +0 -65
- package/dist/bundle/tokens-E2QNVC4F.js +0 -20
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-7O7XM37N.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-3HTJBGNP.js";
|
|
6
6
|
import {
|
|
7
7
|
defineReasons
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4RJL32PF.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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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"],
|
|
@@ -31,8 +31,7 @@ var SIGN_IN = [
|
|
|
31
31
|
["oauth.declined", "authentication_error", "the provider's consent was declined"],
|
|
32
32
|
["oauth.timeout", "timeout", "the sign-in was not finished in time"],
|
|
33
33
|
["oauth.mismatch", "authentication_error", "the pasted sign-in result belongs to another sign-in"],
|
|
34
|
-
["
|
|
35
|
-
["session.missing", "authentication_error", "this profile has no API token saved"],
|
|
34
|
+
["session.missing", "authentication_error", "this profile is not signed in: no saved sign-in or API token"],
|
|
36
35
|
["oauth.locked", "provider_unavailable", "another process holds this sign-in's lock"],
|
|
37
36
|
["oauth.no-response", "outcome_unknown", "the token request did not finish"],
|
|
38
37
|
["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
|
|
@@ -49,6 +48,7 @@ var SIGN_IN = [
|
|
|
49
48
|
["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"],
|
|
50
49
|
validation("account-remove.no-choice", "account remove needs --keep-data or --delete-data, one of them"),
|
|
51
50
|
["account-remove.unknown-profile", "not_found", "no profile by this name on this computer"],
|
|
51
|
+
["profile.unknown", "not_found", "no profile by this name on this computer; details.profiles lists the ones here"],
|
|
52
52
|
["account-remove.busy", "conflict", "a serve or a sync runs for this profile; stop it first"],
|
|
53
53
|
["account-remove.unconfirmed", "confirmation_required", "removing an account asks first; add --yes"],
|
|
54
54
|
["account-remove.path-outside", "configuration_error", "the tool named a path outside its own folders"],
|
|
@@ -67,7 +67,20 @@ var PROVIDER_API = [
|
|
|
67
67
|
validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
|
|
68
68
|
["file.denied", "permission_error", "the file cannot be opened: permission denied"]
|
|
69
69
|
];
|
|
70
|
+
var SFTP = [
|
|
71
|
+
["sftp.host-key-missing", "configuration_error", "no host key is pinned for the SFTP server"],
|
|
72
|
+
["sftp.host-key-mismatch", "authentication_error", "the SFTP server's host key is not the pinned one"],
|
|
73
|
+
["sftp.auth-missing", "configuration_error", "an SFTP connection needs a password or a private key"],
|
|
74
|
+
["sftp.key-invalid", "configuration_error", "the SFTP private key or its passphrase cannot be read"],
|
|
75
|
+
["sftp.library-missing", "configuration_error", "SFTP needs the ssh2 package in the CLI's dependencies"],
|
|
76
|
+
["sftp.timeout", "timeout", "the SFTP server did not answer in time"],
|
|
77
|
+
validation("sftp.too-large", "the file is larger than the read's byte limit"),
|
|
78
|
+
validation("sftp.closed", "the SFTP connection was closed before the operation")
|
|
79
|
+
];
|
|
70
80
|
var OTHERS = [
|
|
81
|
+
validation("doctor.report-exists", "the report's file exists; a problem report never overwrites a file"),
|
|
82
|
+
validation("usage.unknown-command", "no command by this name; the CLI's help lists them"),
|
|
83
|
+
validation("usage.unknown-option", "the command takes no option by this name; its help lists them"),
|
|
71
84
|
["query.time-limit", "timeout", "the search took longer than its time limit; the query itself is valid"],
|
|
72
85
|
["enrichment.owner-only", "permission_error", "only the owner turns enrichment on, not an agent"],
|
|
73
86
|
["search-harder.owner-only", "permission_error", "only the owner allows search all --harder, not an agent"],
|
|
@@ -79,7 +92,12 @@ var OTHERS = [
|
|
|
79
92
|
"invalid_response",
|
|
80
93
|
"the model answered nothing; given a picture, it may not read pictures \u2014 choose a vision model"
|
|
81
94
|
],
|
|
82
|
-
validation("model.address-refused", "the model address
|
|
95
|
+
validation("model.address-refused", "the model address is refused: https, or plain http and Ollama only on this computer"),
|
|
96
|
+
[
|
|
97
|
+
"network.host-undeclared",
|
|
98
|
+
"configuration_error",
|
|
99
|
+
"the request went to a host the CLI does not declare, or not the model address's own; nothing was sent"
|
|
100
|
+
],
|
|
83
101
|
[
|
|
84
102
|
"local-only.refused",
|
|
85
103
|
"permission_error",
|
|
@@ -101,7 +119,6 @@ var OTHERS = [
|
|
|
101
119
|
"only the owner chooses, unsets, checks or removes the AI model and its key, or revokes its consent"
|
|
102
120
|
],
|
|
103
121
|
["ai.setting-invalid", "configuration_error", "the ai section or the model given is not one WireCat can use"],
|
|
104
|
-
validation("ai.address-refused", "the AI model setting names an address WireCat refuses: plain http to another computer, or Ollama off this computer"),
|
|
105
122
|
["ai.not-set", "configuration_error", "no AI model is chosen; models ai set chooses one"],
|
|
106
123
|
["ai.key-missing", "configuration_error", "no API key is stored for the AI model's address"],
|
|
107
124
|
["ai.ok", "invalid_response", "models ai check: the model answered (a result, never raised)"],
|
|
@@ -143,6 +160,10 @@ var OTHERS = [
|
|
|
143
160
|
validation("agent.cost-unknown", "the agent reports no cost, so a cost cap cannot stop it"),
|
|
144
161
|
validation("document.changed", "the document changed while it was read; nothing was saved"),
|
|
145
162
|
["document.not-imported", "not_found", "the document is not imported in this source account"],
|
|
163
|
+
["document.not-found", "not_found", "no listed document has that reference"],
|
|
164
|
+
["meeting.not-found", "not_found", "no meeting row has that event or meeting reference"],
|
|
165
|
+
["listing.source-not-found", "not_found", "a source: term names no account holding what is listed"],
|
|
166
|
+
validation("query.empty-window", "the time window ends before it starts, so no row can fall in it"),
|
|
146
167
|
["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
|
|
147
168
|
validation("extraction.text-too-long", "the text is too long for memory extraction"),
|
|
148
169
|
validation("file.locked", "another process holds the file's lock"),
|
|
@@ -258,6 +279,7 @@ var OTHERS = [
|
|
|
258
279
|
"another program deleted or replaced the store's journal file while it was open; store recover says what to do"
|
|
259
280
|
],
|
|
260
281
|
validation("store.file-damaged", "the named store file is damaged or not a database"),
|
|
282
|
+
["store.unopenable", "configuration_error", "the store file cannot be opened at its path; details.path names it"],
|
|
261
283
|
[
|
|
262
284
|
"store.unreadable",
|
|
263
285
|
"configuration_error",
|
|
@@ -293,7 +315,7 @@ var OTHERS = [
|
|
|
293
315
|
validation("input.empty", "a hidden prompt got an empty answer three times"),
|
|
294
316
|
validation("input.required", "the command needs an answer and cannot ask for one"),
|
|
295
317
|
validation("input.too-large", "the input is over its size limit"),
|
|
296
|
-
["meeting-project.stale", "
|
|
318
|
+
["meeting-project.stale", "conflict", "the meeting's project changed meanwhile"],
|
|
297
319
|
validation("fact.not-accepted", "only an accepted fact can be revoked"),
|
|
298
320
|
validation("fact.owner-written", "the owner wrote this fact; it was never proposed, so it cannot be revoked"),
|
|
299
321
|
validation("fact.payment-retired", "a payment is a payments row in store.finance, not a fact"),
|
|
@@ -383,6 +405,7 @@ var OTHERS = [
|
|
|
383
405
|
validation("crm.reference-unknown", "a CRM row names a contact, company or user the store does not hold; that link was not made"),
|
|
384
406
|
validation("crm.pending-dropped", "relationships waited too long for an end that never came; they were dropped"),
|
|
385
407
|
validation("crm.activities-failed", "the activities and tasks could not be read; the deals and leads were synced"),
|
|
408
|
+
validation("crm.stage-history-failed", "the CRM's stage history could not be read; stage tasks wait for the next sync"),
|
|
386
409
|
validation("crm.email-ambiguous", "a CRM contact's email belongs to more than one person; the owner decides"),
|
|
387
410
|
validation("crm.own-unknown", "no own company of the CRM account is stored, so its users are no one's employees yet"),
|
|
388
411
|
validation("relationship.reference-unknown", "a reported relationship names something the store does not hold"),
|
|
@@ -578,7 +601,7 @@ var INPUT_FIELD_REASONS = defineReasons([
|
|
|
578
601
|
var REASONS = defineReasons([
|
|
579
602
|
...QUERY_REASONS,
|
|
580
603
|
...INPUT_FIELD_REASONS,
|
|
581
|
-
...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...OTHERS].map(([reason, code, message]) => ({
|
|
604
|
+
...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...OTHERS].map(([reason, code, message]) => ({
|
|
582
605
|
reason,
|
|
583
606
|
code,
|
|
584
607
|
message,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RQJ2RXFO.js";
|
|
16
16
|
import {
|
|
17
17
|
answeredWire
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IJONJTST.js";
|
|
19
19
|
import {
|
|
20
20
|
BinaryResource,
|
|
21
21
|
Picture,
|
|
@@ -36,34 +36,34 @@ import {
|
|
|
36
36
|
tool,
|
|
37
37
|
toolKey,
|
|
38
38
|
toolsFromCommands
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-SKDQNYKA.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-LUBG5GKK.js";
|
|
44
44
|
import {
|
|
45
45
|
StdioServerTransport,
|
|
46
46
|
callerOf,
|
|
47
47
|
callingAgent,
|
|
48
48
|
serveStdio
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
instructions
|
|
52
|
-
} from "./chunk-WOAYHCM2.js";
|
|
49
|
+
} from "./chunk-KCPRTZBZ.js";
|
|
53
50
|
import {
|
|
54
51
|
McpServer,
|
|
55
52
|
ResourceTemplate
|
|
56
53
|
} from "./chunk-5D4AEUVA.js";
|
|
57
|
-
import {
|
|
58
|
-
mcpHttpMarker
|
|
59
|
-
} from "./chunk-LLUNHAZ7.js";
|
|
60
54
|
import {
|
|
61
55
|
connectedFor
|
|
62
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-I2D4ZZOD.js";
|
|
63
57
|
import {
|
|
64
58
|
lackedNeed,
|
|
65
59
|
wholeList
|
|
66
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2PNG76LV.js";
|
|
61
|
+
import {
|
|
62
|
+
mcpHttpMarker
|
|
63
|
+
} from "./chunk-BKMC4ETU.js";
|
|
64
|
+
import {
|
|
65
|
+
instructions
|
|
66
|
+
} from "./chunk-FL2TKSZY.js";
|
|
67
67
|
import {
|
|
68
68
|
capability,
|
|
69
69
|
dateWindow,
|
|
@@ -71,25 +71,22 @@ import {
|
|
|
71
71
|
imageSize,
|
|
72
72
|
servicesFor,
|
|
73
73
|
storedDeps
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-3ROL6MBJ.js";
|
|
75
75
|
import {
|
|
76
76
|
warmEmbedders
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-7W23N2YW.js";
|
|
78
78
|
import {
|
|
79
79
|
stdinFieldOf
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import {
|
|
82
|
-
openStore,
|
|
83
|
-
pdfPreviewLimits
|
|
84
|
-
} from "./chunk-24OFZNRC.js";
|
|
80
|
+
} from "./chunk-HZUUVNWC.js";
|
|
85
81
|
import {
|
|
86
82
|
findCommand
|
|
87
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-IZUOL4Q6.js";
|
|
88
84
|
import {
|
|
89
85
|
DEFAULT_OUTPUT_BYTES,
|
|
90
86
|
changesAuthorityAt,
|
|
91
87
|
describeProgram,
|
|
92
88
|
environmentOf,
|
|
89
|
+
fetchesOnlyAt,
|
|
93
90
|
itemOf,
|
|
94
91
|
judgedTargets,
|
|
95
92
|
readsOverMcpAt,
|
|
@@ -97,26 +94,30 @@ import {
|
|
|
97
94
|
rootOf2 as rootOf,
|
|
98
95
|
sealed,
|
|
99
96
|
snakeKeys
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import {
|
|
102
|
-
withCaller
|
|
103
|
-
} from "./chunk-QA6KIL7Q.js";
|
|
97
|
+
} from "./chunk-TN2YUZBF.js";
|
|
104
98
|
import {
|
|
105
99
|
readOnlyLockOf
|
|
106
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-3TYNBHBK.js";
|
|
101
|
+
import {
|
|
102
|
+
withCaller
|
|
103
|
+
} from "./chunk-WYV5IITK.js";
|
|
107
104
|
import {
|
|
108
105
|
levelFor,
|
|
109
106
|
readKeysForCommand
|
|
110
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-R35YGFKQ.js";
|
|
108
|
+
import {
|
|
109
|
+
openStore,
|
|
110
|
+
pdfPreviewLimits
|
|
111
|
+
} from "./chunk-UXSTXFZQ.js";
|
|
111
112
|
import {
|
|
112
113
|
typedCommand
|
|
113
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-UW3BB2XW.js";
|
|
114
115
|
import {
|
|
115
116
|
isCliFailure
|
|
116
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-TMCXUWTY.js";
|
|
117
118
|
import {
|
|
118
119
|
timezoneOf
|
|
119
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-3HTJBGNP.js";
|
|
120
121
|
import {
|
|
121
122
|
description,
|
|
122
123
|
integer,
|
|
@@ -132,21 +133,21 @@ import {
|
|
|
132
133
|
regex,
|
|
133
134
|
strictObject,
|
|
134
135
|
string
|
|
135
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-4RJL32PF.js";
|
|
136
137
|
import {
|
|
137
138
|
CliError
|
|
138
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-EA2OB75T.js";
|
|
139
140
|
import {
|
|
140
141
|
visibleControls
|
|
141
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-HCZYJMBP.js";
|
|
142
143
|
import {
|
|
143
144
|
__name
|
|
144
145
|
} from "./chunk-ZVVMGPBJ.js";
|
|
145
146
|
|
|
146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
147
148
|
import { randomUUID } from "node:crypto";
|
|
148
149
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
150
151
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
151
152
|
let held;
|
|
152
153
|
return {
|
|
@@ -165,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
165
166
|
};
|
|
166
167
|
}, "agentLog");
|
|
167
168
|
|
|
168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
169
170
|
var LISTED = 100;
|
|
170
171
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
171
172
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -203,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
203
204
|
});
|
|
204
205
|
}, "registerResources");
|
|
205
206
|
|
|
206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
207
208
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
208
209
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
209
210
|
var MessengerSession = class {
|
|
@@ -278,7 +279,7 @@ var MessengerSession = class {
|
|
|
278
279
|
}
|
|
279
280
|
};
|
|
280
281
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
282
283
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
283
284
|
const _command = messenger.app.command;
|
|
284
285
|
return {
|
|
@@ -332,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
332
333
|
};
|
|
333
334
|
}, "attachmentsTools");
|
|
334
335
|
|
|
335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
336
337
|
var PHOTO_LIMIT = 512 * 1024;
|
|
337
338
|
var IMAGE_TYPES = [
|
|
338
339
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -386,7 +387,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
386
387
|
return new Uint8Array(Buffer.concat(chunks));
|
|
387
388
|
}, "readUpTo");
|
|
388
389
|
|
|
389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
390
391
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
391
392
|
stats_charts: tool({
|
|
392
393
|
title: "A chart from a chat's statistics",
|
|
@@ -423,14 +424,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
423
424
|
})
|
|
424
425
|
}), "statsTools");
|
|
425
426
|
|
|
426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
427
428
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
428
429
|
...messagesPhotoTools(messenger),
|
|
429
430
|
...attachmentsTools(messenger),
|
|
430
431
|
...statsTools(messenger)
|
|
431
432
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
432
433
|
|
|
433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
434
435
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
435
436
|
"streams",
|
|
436
437
|
"stdin",
|
|
@@ -481,6 +482,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
|
|
|
481
482
|
}
|
|
482
483
|
}, "keyOf");
|
|
483
484
|
const authority = changesAuthorityAt(root);
|
|
485
|
+
const fetches = fetchesOnlyAt(root);
|
|
484
486
|
const stdin = /* @__PURE__ */ __name((path) => {
|
|
485
487
|
try {
|
|
486
488
|
return stdinFieldOf(findCommand(root, path));
|
|
@@ -501,6 +503,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
|
|
|
501
503
|
keyOf,
|
|
502
504
|
authority,
|
|
503
505
|
fetchOnly: readsOverMcpAt(root),
|
|
506
|
+
fetches,
|
|
504
507
|
offline: true,
|
|
505
508
|
stdin
|
|
506
509
|
}).map((one) => "sync_first" in one.input.entries && !syncAllowed(one.path) ? {
|
|
@@ -581,6 +584,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
|
|
|
581
584
|
overrides,
|
|
582
585
|
keyOf,
|
|
583
586
|
authority,
|
|
587
|
+
fetches,
|
|
584
588
|
stdin,
|
|
585
589
|
connection,
|
|
586
590
|
environment: agentEnvironment,
|
|
@@ -754,7 +758,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
754
758
|
}, "serveOverStdio");
|
|
755
759
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
756
760
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
757
|
-
const { serveOverHttp } = await import("./serve-
|
|
761
|
+
const { serveOverHttp } = await import("./serve-OOZFTW3W.js");
|
|
758
762
|
const appName = messenger.app.command;
|
|
759
763
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
760
764
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
parseReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7R4UU65O.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
11
11
|
var LINK_VERSION = "v1";
|
|
12
12
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
13
13
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
|
|
8
8
|
import { existsSync, statSync } from "node:fs";
|
|
9
9
|
var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
|
|
10
10
|
var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EA2OB75T.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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|