@wirecat/hubspot-cli 0.4.0 → 0.6.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 +44 -0
- package/README.md +75 -54
- package/contracts/wirecat.json +39 -13
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-XB35QVOK.js +40 -0
- package/dist/bundle/{all-profiles-JVEE4PXX.js → all-profiles-HFVXPMF6.js} +11 -11
- package/dist/bundle/{anthropic-6HT57GNF.js → anthropic-VE6WR6IN.js} +5 -5
- package/dist/bundle/{app-server-FOBFF6G6.js → app-server-GZ4DCQK7.js} +68 -68
- package/dist/bundle/{bun-GW443QB3.js → bun-2DHMKD34.js} +2 -2
- package/dist/bundle/{bun-sqlite-TGIAICDN.js → bun-sqlite-T5XTYL7L.js} +6 -6
- package/dist/bundle/{chunk-FK4LEJZM.js → chunk-24HPBWKZ.js} +63 -4
- package/dist/bundle/{chunk-4OPN3KCN.js → chunk-2I2KBCS6.js} +5 -5
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-2K5BAY32.js} +19 -19
- package/dist/bundle/{chunk-6ULR7N3T.js → chunk-2VUIJ5XB.js} +2 -2
- package/dist/bundle/{chunk-UHHXZKB2.js → chunk-3HS7JTPI.js} +27 -177
- package/dist/bundle/{chunk-3SRGN5MQ.js → chunk-3TLNO3VM.js} +2 -2
- package/dist/bundle/{chunk-ATGD64VO.js → chunk-3W5R3XAH.js} +8 -8
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/{chunk-NL3RKJR6.js → chunk-3YTTWJKL.js} +1 -1
- package/dist/bundle/{chunk-5WKJFMC3.js → chunk-4UEYVM46.js} +4 -4
- package/dist/bundle/{chunk-5G4L6NQJ.js → chunk-5ILCAAY4.js} +35 -35
- package/dist/bundle/{chunk-ETKLP4VE.js → chunk-5IPB5WLB.js} +14 -14
- package/dist/bundle/{chunk-N4EIJ53V.js → chunk-5NIIXJV3.js} +2 -2
- package/dist/bundle/{chunk-QIFCH5DZ.js → chunk-5O5WYSSO.js} +1967 -654
- package/dist/bundle/{chunk-XMWMA2N5.js → chunk-5VTKBGPW.js} +90 -33
- package/dist/bundle/{chunk-M25KVDHA.js → chunk-5WDNG4QE.js} +7 -7
- package/dist/bundle/{chunk-WATDMTDC.js → chunk-67YPTVGP.js} +3 -3
- package/dist/bundle/{chunk-3MUHCLRY.js → chunk-6DABKZYH.js} +143 -8
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-5KLNBGPU.js → chunk-AKSWXRIU.js} +1 -1
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-HPRKSL5S.js → chunk-BM5F2ZNI.js} +2 -2
- package/dist/bundle/{chunk-FOLKK6FW.js → chunk-BU5CEMUH.js} +20 -14
- package/dist/bundle/{chunk-DBPFHJXX.js → chunk-CTN4DW2F.js} +4 -4
- package/dist/bundle/{chunk-QJHRRJKD.js → chunk-CU76ZACK.js} +3 -3
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-DIKUPU3T.js} +3 -3
- package/dist/bundle/{chunk-JWO3PB5Z.js → chunk-E27NRLJZ.js} +18 -18
- package/dist/bundle/{chunk-EU7AVWSX.js → chunk-EB53G4HO.js} +2 -2
- package/dist/bundle/{chunk-GJSHLF43.js → chunk-EJZIEBAR.js} +8 -8
- package/dist/bundle/{chunk-HQYJ66ZX.js → chunk-G6LDK6DJ.js} +18 -8
- package/dist/bundle/{chunk-VDAYIXV4.js → chunk-GEJI27GN.js} +6 -6
- package/dist/bundle/{chunk-XJVFXHDI.js → chunk-GHXTNKX2.js} +2 -2
- package/dist/bundle/{chunk-W5X37TBC.js → chunk-GR4HZBWO.js} +2 -2
- package/dist/bundle/{chunk-WBUVNKHJ.js → chunk-GWXTVO43.js} +7 -7
- package/dist/bundle/{chunk-2Q2XIXDL.js → chunk-H4W2OO35.js} +1 -1
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-H5HBZCEJ.js} +21 -8
- package/dist/bundle/{chunk-JKNUCEII.js → chunk-HX2BE7DO.js} +1 -1
- package/dist/bundle/{chunk-PQUZ2YDC.js → chunk-HYDXA624.js} +6 -6
- package/dist/bundle/{chunk-Z3YOKGVZ.js → chunk-HZIGGAC7.js} +2 -2
- package/dist/bundle/{chunk-AT43MYQL.js → chunk-I75ON7VM.js} +8 -8
- package/dist/bundle/{chunk-PKFLSX5F.js → chunk-ID4GJFE7.js} +8 -8
- package/dist/bundle/{chunk-A6PVEUGN.js → chunk-J2SCELII.js} +17 -17
- package/dist/bundle/{chunk-PMJCZIV4.js → chunk-J4FXBF44.js} +1 -1
- package/dist/bundle/{chunk-DG4RBKIV.js → chunk-J76CMNWQ.js} +1 -1
- package/dist/bundle/{chunk-MQACXJLG.js → chunk-JDCFHZNU.js} +10 -10
- package/dist/bundle/{chunk-K4DWBOO6.js → chunk-JFLKTYH5.js} +6 -6
- package/dist/bundle/{chunk-LS4S7PAP.js → chunk-K4Y2ZWOO.js} +3 -3
- package/dist/bundle/{chunk-5ZVYIA56.js → chunk-KDW7B7AR.js} +5 -5
- package/dist/bundle/{chunk-BXZRSXBL.js → chunk-KKMOKSS5.js} +3 -3
- package/dist/bundle/{chunk-EBJYK7UM.js → chunk-LHY5XGIR.js} +78 -63
- package/dist/bundle/{chunk-V23OHBGM.js → chunk-LTU4BQ4S.js} +3 -3
- package/dist/bundle/{chunk-LX7QMRRG.js → chunk-M3LRSN6J.js} +13 -13
- package/dist/bundle/{chunk-UIWWAT3C.js → chunk-MJ24YFXZ.js} +7 -7
- package/dist/bundle/{chunk-YYYRE4AV.js → chunk-MSQGZHKM.js} +32 -28
- package/dist/bundle/{chunk-6NUXFVJQ.js → chunk-NQOQG7L3.js} +1 -1
- package/dist/bundle/{chunk-WLFYEAZ6.js → chunk-PDVMYIBP.js} +1516 -745
- package/dist/bundle/{chunk-QODPEZC5.js → chunk-PR7ZDMGF.js} +10 -3
- package/dist/bundle/{chunk-2BCWK5BF.js → chunk-PZ3QJDTD.js} +8 -8
- package/dist/bundle/{chunk-OLDIP4CV.js → chunk-Q6AC7WLD.js} +3 -3
- package/dist/bundle/{chunk-X5U7GLHD.js → chunk-QH47G73D.js} +16 -3
- package/dist/bundle/{chunk-RFGIUCKU.js → chunk-QK5HQUHB.js} +3 -3
- package/dist/bundle/{chunk-3MPMYAII.js → chunk-R26OEZOL.js} +1 -1
- package/dist/bundle/{chunk-T3GZKV5A.js → chunk-RLK2EGQD.js} +21 -15
- package/dist/bundle/{chunk-Z4PY5BDP.js → chunk-RLNPTES2.js} +4 -4
- package/dist/bundle/{chunk-XCDRFC6G.js → chunk-T4MZJMEJ.js} +17 -17
- package/dist/bundle/{chunk-TAF4PKDS.js → chunk-TAPQZYXY.js} +1 -1
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-E33KM3DB.js → chunk-THGAVPRA.js} +11 -11
- package/dist/bundle/{chunk-XDDTJYGA.js → chunk-TRLV5NWZ.js} +2477 -2140
- package/dist/bundle/{chunk-5OBVICFK.js → chunk-TT75CEYZ.js} +22 -1
- package/dist/bundle/{chunk-7OJ43BAH.js → chunk-TXO4CJW3.js} +7 -7
- package/dist/bundle/{chunk-F4ZLRS4B.js → chunk-UCGZRZJA.js} +1 -1
- package/dist/bundle/{chunk-NLZADZ4F.js → chunk-UVGJL753.js} +61 -61
- package/dist/bundle/{chunk-VMF2UIQI.js → chunk-UZ2CL435.js} +3 -4
- package/dist/bundle/{chunk-IED6MKPU.js → chunk-V7N2K5OT.js} +33 -30
- package/dist/bundle/{chunk-QV4GDVBN.js → chunk-VR2CJFVL.js} +8 -8
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-F3HJ2E3P.js → chunk-WE4JSHIG.js} +6 -6
- package/dist/bundle/{chunk-FWW2CUXH.js → chunk-X2QRCFGJ.js} +4 -4
- package/dist/bundle/{chunk-V2B2OWTC.js → chunk-XRFYVVFU.js} +2 -2
- package/dist/bundle/{chunk-Q7DIEU6L.js → chunk-YDG5FIQB.js} +7 -9
- package/dist/bundle/{chunk-GOOXUCJW.js → chunk-YIH2A2PQ.js} +2 -2
- package/dist/bundle/{chunk-HM72O37C.js → chunk-ZERQSELP.js} +207 -163
- package/dist/bundle/{chunk-QNQ4V4UT.js → chunk-ZKTYTOF4.js} +8 -8
- package/dist/bundle/command-contract-5FXCYQUS.js +40 -0
- package/dist/bundle/{command-server-entry-OJQ55UA2.js → command-server-entry-H6IAJNOF.js} +28 -28
- package/dist/bundle/{decode-CDQDRPRJ.js → decode-TR2EC46M.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-B2EP6DDT.js} +8 -8
- package/dist/bundle/{echarts-GJ5JJG2A.js → echarts-7OP7I5B2.js} +2 -2
- package/dist/bundle/{embed-BUQXGMKR.js → embed-FLGS4LN7.js} +6 -6
- package/dist/bundle/{embedder-FCX6LE4O.js → embedder-JIXQXCP3.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-AOACEURF.js} +2 -2
- package/dist/bundle/{first-run-RPYEXXQK.js → first-run-XJ2NWIK2.js} +12 -12
- package/dist/bundle/first-screen-U73G5CMM.js +40 -0
- package/dist/bundle/hubspot.js +27 -25
- package/dist/bundle/{instructions-LPVTPERS.js → instructions-PYCYV6QE.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-IHTM5H5B.js +25 -0
- package/dist/bundle/{meeting-model-TRGBEWCY.js → meeting-model-2PA5WJY5.js} +11 -11
- package/dist/bundle/{meeting-semantic-RSF5KNKD.js → meeting-semantic-5IH63QFV.js} +6 -6
- package/dist/bundle/{node-UAT3EIAP.js → node-6GTNIVBM.js} +2 -2
- package/dist/bundle/{node-sqlite-3HKDQNFD.js → node-sqlite-FBCEHPNT.js} +7 -7
- package/dist/bundle/{oauth-DYW2NSZP.js → oauth-BFP4SCL5.js} +7 -7
- package/dist/bundle/{open-KBRXJ5BC.js → open-MLU4MHGO.js} +5 -5
- package/dist/bundle/{openai-YNCLRTSK.js → openai-R7WJI6SO.js} +15 -15
- package/dist/bundle/{process-63BB7LKP.js → process-NMNQLJHZ.js} +1 -1
- package/dist/bundle/{program-VX52OB3O.js → program-Z735HPFG.js} +517 -343
- package/dist/bundle/{prompt-TWLJ3M2O.js → prompt-A6RM55Q4.js} +5 -5
- package/dist/bundle/{recognize-GQ6DLGE7.js → recognize-ORRDV45M.js} +4 -4
- package/dist/bundle/{remote-RKNSF3TT.js → remote-UF3WSC4X.js} +9 -9
- package/dist/bundle/{rerank-H4HSGQUJ.js → rerank-ZSJORUGH.js} +7 -7
- package/dist/bundle/{schemas-LDK7O6VW.js → schemas-EXBNVPMI.js} +1 -1
- package/dist/bundle/{serve-4ZNIAL7H.js → serve-4KBJ6SIA.js} +9 -9
- package/dist/bundle/{server-4G4QB3QN.js → server-IFK4S6LJ.js} +60 -60
- package/dist/bundle/server-MNUAZWTN.js +86 -0
- package/dist/bundle/source-PBCQAG4C.js +426 -0
- package/dist/bundle/{sqlite-runtime-C2JYC7JF.js → sqlite-runtime-XPDUWOPG.js} +6 -6
- package/dist/bundle/{state-3KDXCXHG.js → state-4M26H7NL.js} +6 -6
- package/dist/bundle/{store-LXLG5HTS.js → store-3W4ZOOIB.js} +28 -24
- package/dist/bundle/store-CDY2PW6J.js +34 -0
- package/dist/bundle/{store-J5FQBZYR.js → store-ICTY3RIF.js} +22 -22
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +73 -0
- package/dist/bundle/surface-4LNDJZD2.js +72 -0
- package/dist/bundle/writer-WGHWQTC2.js +86 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +31 -78
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -3
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +4 -31
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +19 -12
- package/dist/config.js.map +1 -1
- package/dist/crm/activities.d.ts +6 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +36 -0
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/writer.d.ts +1 -1
- package/dist/crm/writer.d.ts.map +1 -1
- package/dist/crm/writer.js +69 -1
- package/dist/crm/writer.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/hubspot-cli/SKILL.md +10 -5
- package/skills/hubspot-cli/references/api/api-basic.md +2 -2
- package/skills/hubspot-cli/references/api/api-batch.md +2 -2
- package/dist/bundle/agent-NST4YXJR.js +0 -40
- package/dist/bundle/command-contract-LYX2QNIA.js +0 -40
- package/dist/bundle/first-screen-Y4EH3HZS.js +0 -40
- package/dist/bundle/meeting-combined-FEEVVUGC.js +0 -25
- package/dist/bundle/server-3IYIZEEQ.js +0 -86
- package/dist/bundle/source-2UCNCCO7.js +0 -917
- package/dist/bundle/store-2MNUHHZC.js +0 -32
- package/dist/bundle/store-maintenance-command-DDB7TR6V.js +0 -73
- package/dist/bundle/surface-ZTZANYKC.js +0 -72
- package/dist/bundle/writer-X7PGBLDH.js +0 -86
|
@@ -2,15 +2,63 @@ 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-UVGJL753.js";
|
|
6
|
+
import {
|
|
7
|
+
readSharedSection,
|
|
8
|
+
sharedConfigPath,
|
|
9
|
+
writeSharedSection
|
|
10
|
+
} from "./chunk-MJ24YFXZ.js";
|
|
11
|
+
import {
|
|
12
|
+
storePath
|
|
13
|
+
} from "./chunk-2VUIJ5XB.js";
|
|
6
14
|
import {
|
|
7
15
|
defineReasons
|
|
8
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-H5HBZCEJ.js";
|
|
17
|
+
import {
|
|
18
|
+
isoTimestamp,
|
|
19
|
+
picklist,
|
|
20
|
+
pipe,
|
|
21
|
+
safeParse,
|
|
22
|
+
strictObject,
|
|
23
|
+
string
|
|
24
|
+
} from "./chunk-S4UUN6LD.js";
|
|
25
|
+
import {
|
|
26
|
+
CliError
|
|
27
|
+
} from "./chunk-AP3CWDRK.js";
|
|
9
28
|
import {
|
|
10
29
|
__name
|
|
11
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
31
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/models/chat-sending.js
|
|
33
|
+
var CHAT_SENDING_MODES = ["allowed", "ask", "denied"];
|
|
34
|
+
var SECTION = "chat_sending";
|
|
35
|
+
var Setting = strictObject({
|
|
36
|
+
mode: picklist(CHAT_SENDING_MODES),
|
|
37
|
+
at: pipe(string(), isoTimestamp())
|
|
38
|
+
});
|
|
39
|
+
var CHAT_SENDING_ASK_DETAILS = ["emails", "threads", "tokens", "host", "model", "estimated_cost_usd"];
|
|
40
|
+
var pathOf = /* @__PURE__ */ __name((env) => sharedConfigPath(storePath(env), env), "pathOf");
|
|
41
|
+
var readChatSending = /* @__PURE__ */ __name((env) => {
|
|
42
|
+
const section = readSharedSection(pathOf(env), SECTION);
|
|
43
|
+
if (section === void 0 || section === null)
|
|
44
|
+
return void 0;
|
|
45
|
+
const checked = safeParse(Setting, section);
|
|
46
|
+
return checked.success ? checked.output : { mode: "denied", at: (/* @__PURE__ */ new Date(0)).toISOString() };
|
|
47
|
+
}, "readChatSending");
|
|
48
|
+
var chatSendingMode = /* @__PURE__ */ __name((env) => readChatSending(env)?.mode ?? "ask", "chatSendingMode");
|
|
49
|
+
var writeChatSending = /* @__PURE__ */ __name((env, mode) => writeSharedSection(pathOf(env), SECTION, mode === "ask" ? void 0 : { mode, at: (/* @__PURE__ */ new Date()).toISOString() }), "writeChatSending");
|
|
50
|
+
var STRICTNESS = { allowed: 0, ask: 1, denied: 2 };
|
|
51
|
+
var loosens = /* @__PURE__ */ __name((from, to) => STRICTNESS[to] < STRICTNESS[from], "loosens");
|
|
52
|
+
var chatSendingCommand = /* @__PURE__ */ __name((command, mode) => `${command} models chats set ${mode}`, "chatSendingCommand");
|
|
53
|
+
var chatSendingAllowed = /* @__PURE__ */ __name((env, host, command) => {
|
|
54
|
+
const mode = chatSendingMode(env);
|
|
55
|
+
if (mode === "denied")
|
|
56
|
+
throw new CliError("permission_error", `sending chat text to a model outside this computer is denied by the setting \`models chats\`; nothing was sent to ${host}, and --yes does not change that. Use a model on this computer, or ask the owner to run \`${chatSendingCommand(command, "ask")}\` (or \`allowed\`)`, { reason: "chat-sending.denied" });
|
|
57
|
+
return mode === "allowed";
|
|
58
|
+
}, "chatSendingAllowed");
|
|
59
|
+
var chatSendingAskRefusal = /* @__PURE__ */ __name((what, command, details = {}) => new CliError("confirmation_required", `${what} \u2014 add --yes to send them (an agent may pass yes), or ask the owner to run \`${chatSendingCommand(command, "allowed")}\` so no yes is needed`, { ...details, reason: "chat-sending.ask" }), "chatSendingAskRefusal");
|
|
60
|
+
|
|
61
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/errors/reasons.js
|
|
14
62
|
var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
|
|
15
63
|
var QUERY = [
|
|
16
64
|
["query.aborted", "the search was stopped before it finished"],
|
|
@@ -57,19 +105,42 @@ var SIGN_IN = [
|
|
|
57
105
|
validation("profile.missing", "no profile named, and none is picked for the owner; details.profiles lists the ones here"),
|
|
58
106
|
["profile.unknown", "not_found", "no profile by this name on this computer; details.profiles lists the ones here"],
|
|
59
107
|
["account-remove.busy", "conflict", "a serve or a sync runs for this profile; stop it first"],
|
|
108
|
+
["account-remove.account-shared", "conflict", "another profile reads the same account, whose copy the store shares"],
|
|
109
|
+
["session.duplicate", "conflict", "another profile here already signs in to this account as this user"],
|
|
110
|
+
[
|
|
111
|
+
"account-remove.account-unknown",
|
|
112
|
+
"conflict",
|
|
113
|
+
"which account another profile holds could not be read, so --delete-data waits"
|
|
114
|
+
],
|
|
115
|
+
validation("profile.reserved", "the profile name is a folder every CRM account shares; pick another"),
|
|
60
116
|
["account-remove.unconfirmed", "confirmation_required", "removing an account asks first; add --yes"],
|
|
61
117
|
["account-remove.path-outside", "configuration_error", "the tool named a path outside its own folders"],
|
|
62
118
|
[
|
|
63
119
|
"account-remove.folder-outside",
|
|
64
120
|
"configuration_error",
|
|
65
121
|
"the tool named a folder of its own outside the home folder"
|
|
66
|
-
]
|
|
122
|
+
],
|
|
123
|
+
["account-rename.taken", "conflict", "the new name, or a file or keyring entry under it, already exists"],
|
|
124
|
+
["account-rename.busy", "conflict", "a serve, a background service, a schedule or a sync uses this profile"],
|
|
125
|
+
["account-rename.bot", "conflict", "the profile is also a bot profile, which keeps its name"],
|
|
126
|
+
["account-rename.unconfirmed", "confirmation_required", "renaming a profile asks first; add --yes"],
|
|
127
|
+
["account-rename.moved-run", "permission_error", "a run with moved folders never renames a profile"],
|
|
128
|
+
["account-rename.unpaired", "configuration_error", "the tool named different paths for the old and new name"],
|
|
129
|
+
["account-rename.config", "configuration_error", "the config file cannot be read"]
|
|
67
130
|
];
|
|
68
131
|
var PROVIDER_API = [
|
|
69
132
|
["offline.refused", "permission_error", "this command needs the provider; --offline was given"],
|
|
70
133
|
validation("api.unknown-method", "the provider has no method by this name"),
|
|
71
134
|
["api.disabled", "configuration_error", "the provider's API is turned off for this OAuth project"],
|
|
72
135
|
["manifest.invalid", "configuration_error", "the source manifest does not match its shape or the generated API"],
|
|
136
|
+
["source.no-id", "invalid_response", "a row of the provider's answer has no id where the source manifest says"],
|
|
137
|
+
["source.no-account", "invalid_response", "the provider's answer does not name the signed-in account"],
|
|
138
|
+
validation("source.token-invalid", "the change token is not one this source gave"),
|
|
139
|
+
[
|
|
140
|
+
"source.changes-too-many",
|
|
141
|
+
"invalid_response",
|
|
142
|
+
"more changed since one sync than a round reads, and the provider does not list changes oldest first"
|
|
143
|
+
],
|
|
73
144
|
["verify.no-id", "provider_error", "the answer to the sign-in check holds no account id where auth.verify says"],
|
|
74
145
|
["provider.usage-limit", "rate_limited", "the account's usage limit at the provider is reached; wait, do not retry"],
|
|
75
146
|
["access.denied", "permission_error", "the provider refused this account access to the item"],
|
|
@@ -77,7 +148,8 @@ var PROVIDER_API = [
|
|
|
77
148
|
["file.not-found", "not_found", "the file named, or its folder, does not exist"],
|
|
78
149
|
validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
|
|
79
150
|
["file.denied", "permission_error", "the file cannot be opened: permission denied"],
|
|
80
|
-
validation("file.too-large", "the file is larger than the limit set for this read")
|
|
151
|
+
validation("file.too-large", "the file is larger than the limit set for this read"),
|
|
152
|
+
validation("file.not-plain-text", "the file's text is extracted on a read; writing it back would replace the file")
|
|
81
153
|
];
|
|
82
154
|
var SFTP = [
|
|
83
155
|
["sftp.host-key-missing", "configuration_error", "no host key is pinned for the SFTP server"],
|
|
@@ -103,6 +175,26 @@ var SQL = [
|
|
|
103
175
|
["db.timeout", "timeout", "the database server did not answer in time"],
|
|
104
176
|
["db.failed", "provider_error", "the database server failed the query"]
|
|
105
177
|
];
|
|
178
|
+
var OFFICE = [
|
|
179
|
+
["office.wrong-format", "the file is not the Office format the command edits, or its parts cannot be read"],
|
|
180
|
+
["office.invalid-cell", "a cell is not an address like B7"],
|
|
181
|
+
["office.invalid-value", "a cell value cannot be written: a number must be finite"],
|
|
182
|
+
["office.no-sheet", "the workbook has no such sheet, or several when none is named"],
|
|
183
|
+
["office.duplicate-edit", "the same cell or paragraph is changed twice in one call"],
|
|
184
|
+
["office.formula-cell", "the cell holds a formula; --replace writes the value over it"],
|
|
185
|
+
["office.shared-formula", "the cell holds a formula other cells share; replacing it would break theirs"],
|
|
186
|
+
["office.array-formula", "the cell is part of an array formula; change it in Excel"],
|
|
187
|
+
["office.rich-value", "the cell holds a picture or a linked data type, which the editor does not replace"],
|
|
188
|
+
["office.table-header", "the cell is a table's header or total, whose part repeats the text; change it in Excel"],
|
|
189
|
+
["office.implicit-rows", "the sheet has rows without numbers, so a row cannot be added"],
|
|
190
|
+
["office.implicit-cells", "the row has cells without addresses, so a cell cannot be added"],
|
|
191
|
+
["office.no-paragraph", "the document has no paragraph at that index"],
|
|
192
|
+
["office.unsafe-paragraph", "the paragraph cannot be edited safely; documents show gives the reason"],
|
|
193
|
+
["office.tracked-change", "the paragraph holds a tracked change"],
|
|
194
|
+
["office.section-break", "the paragraph ends a section; deleting it would merge two sections"],
|
|
195
|
+
["office.bookmark", "the paragraph holds a bookmark a cross-reference may point at"],
|
|
196
|
+
["office.last-paragraph", "the delete would leave the document or a table cell without a paragraph"]
|
|
197
|
+
].map(([reason, message]) => validation(reason, message));
|
|
106
198
|
var OTHERS = [
|
|
107
199
|
validation("doctor.report-exists", "the report's file exists; a problem report never overwrites a file"),
|
|
108
200
|
validation("usage.unknown-command", "no command by this name; the CLI's help lists them"),
|
|
@@ -193,11 +285,17 @@ var OTHERS = [
|
|
|
193
285
|
validation("agent.cost-unknown", "the agent reports no cost, so a cost cap cannot stop it"),
|
|
194
286
|
validation("document.changed", "the document changed while it was read; nothing was saved"),
|
|
195
287
|
["document.not-imported", "not_found", "the document is not imported in this source account"],
|
|
288
|
+
["document.version-missing", "not_found", "the local copy holds no such version of the document"],
|
|
196
289
|
["document.not-found", "not_found", "no listed document has that reference"],
|
|
197
290
|
["state.unreadable", "configuration_error", "a sync state file cannot be read; move it away and sync again"],
|
|
198
291
|
["profile.busy", "provider_unavailable", "another sync or write holds this profile's local copy"],
|
|
199
292
|
["profile.account-taken", "conflict", "another profile here already uses this provider account"],
|
|
200
293
|
["profile.other-account", "conflict", "this profile's copy was synced from another provider account"],
|
|
294
|
+
[
|
|
295
|
+
"documents.other-account",
|
|
296
|
+
"configuration_error",
|
|
297
|
+
"the documents are signed in as another account than the tracker copy of the same provider"
|
|
298
|
+
],
|
|
201
299
|
["profile.not-synced", "not_found", "the profile has no local copy yet; sync it first"],
|
|
202
300
|
["provider.failed", "provider_error", "a read from the provider failed"],
|
|
203
301
|
["identity.none", "not_found", "the provider shows no accounts on a document"],
|
|
@@ -213,6 +311,8 @@ var OTHERS = [
|
|
|
213
311
|
validation("mail.cursor-ahead", "an acknowledge cursor is past the newest stored email"),
|
|
214
312
|
["mail.holder-not-yours", "permission_error", "a run moves only the mark of the holder its schedule names"],
|
|
215
313
|
["mail.no-mark", "not_found", "the holder has no mark in the mailbox yet; its first review starts it"],
|
|
314
|
+
["mail.inbox-agent", "permission_error", "an agent sorts mail itself from review; inbox --offline lists"],
|
|
315
|
+
["mail.inbox-answer-invalid", "invalid_response", "the AI model's answer to inbox is not the JSON it asks for"],
|
|
216
316
|
["mail.reset-owner-only", "permission_error", "only the owner moves a holder's mark back"],
|
|
217
317
|
["mail.source-failed", "provider_error", "the mail server refused or did not complete a request"],
|
|
218
318
|
["mail.search-refused", "provider_error", "the mail server refused to search a folder"],
|
|
@@ -222,6 +322,11 @@ var OTHERS = [
|
|
|
222
322
|
"the email could not be read again, so its skipped attachments have no text"
|
|
223
323
|
],
|
|
224
324
|
["mirror.partial", "provider_error", "some mirrored files were not synced"],
|
|
325
|
+
[
|
|
326
|
+
"mirror.stopped",
|
|
327
|
+
"timeout",
|
|
328
|
+
"the mirror's run reached its deadline before it was done; run it again with more time"
|
|
329
|
+
],
|
|
225
330
|
["mirror.none", "not_found", "the profile has no mirrors; add one with mirrors add"],
|
|
226
331
|
["mirror.not-found", "not_found", "no such mirror in this profile; see mirrors list"],
|
|
227
332
|
validation("mirror.not-folder", "the path to mirror is not a folder"),
|
|
@@ -231,12 +336,21 @@ var OTHERS = [
|
|
|
231
336
|
"confirmation_required",
|
|
232
337
|
"the sync would delete more files than the guard allows; check them with --dry-run and allow them explicitly"
|
|
233
338
|
],
|
|
339
|
+
[
|
|
340
|
+
"mirror.too-many-replacements",
|
|
341
|
+
"confirmation_required",
|
|
342
|
+
"the sync would replace more files than the guard allows; check them with --dry-run and allow them explicitly"
|
|
343
|
+
],
|
|
344
|
+
validation("mirror.no-space", "the sync needs more free space than the local drive has"),
|
|
345
|
+
validation("mirror.bad-exclusion", "the exclusion is not a path pattern inside the mirror"),
|
|
234
346
|
[
|
|
235
347
|
"mirror.version-not-kept",
|
|
236
348
|
"provider_error",
|
|
237
349
|
"the earlier content could not be kept in the version store, so the sync did not replace it"
|
|
238
350
|
],
|
|
239
351
|
["mirror.remote-changed", "conflict", "the remote file changed since the listing; the next sync settles it"],
|
|
352
|
+
["mirror.local-changed", "conflict", "the local file changed since the conflict was found; nothing was written"],
|
|
353
|
+
["mirror.no-conflict", "not_found", "the path has no recorded conflict; the last sync settled it or never saw one"],
|
|
240
354
|
["upload.mismatch", "conflict", "the uploaded file reads back with other content; the local file changed meanwhile"],
|
|
241
355
|
["download.mismatch", "invalid_response", "the downloaded file has other content than the listing said"],
|
|
242
356
|
["catalog.unavailable", "configuration_error", "the store has no shared catalog for this account"],
|
|
@@ -504,10 +618,16 @@ var OTHERS = [
|
|
|
504
618
|
validation("field.not-filterable", "the CRM cannot filter a list by that custom field"),
|
|
505
619
|
validation("query.bad-value", "a term's value is not the kind its field takes, such as an id or a number"),
|
|
506
620
|
validation("crm.record-field", "a contact's or company's field is not valid"),
|
|
621
|
+
validation("crm.activity-field", "a comment's or task's field is not valid, or the kind does not take it"),
|
|
507
622
|
validation("crm.owner-unknown", "owner: names no CRM user: me without a known sign-in user, or not a user id"),
|
|
508
623
|
validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
|
|
509
624
|
validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
|
|
510
625
|
validation("tracker.unlisted-held", "a tracker's id list would mark too much deleted, or the sign-in read only part; nothing was, until --rescan"),
|
|
626
|
+
validation("tracker.write-unsupported", "the tracker does not take this write, or does not recognise a repeated one"),
|
|
627
|
+
validation("tracker.field", "a field of an issue or a comment the tracker's write does not take as given"),
|
|
628
|
+
validation("tracker.reference", "a team, state, label, project or user no single row of the copy has by that name"),
|
|
629
|
+
validation("tracker.team-required", "a new issue needs its team: name one, or sync a copy that holds one"),
|
|
630
|
+
["tracker.no-record", "invalid_response", "the tracker answered a write with no record and no error; sync and look"],
|
|
511
631
|
validation("content.unlisted-held", "a content id list would mark too much deleted, the sign-in read only part, or the site moved; nothing was"),
|
|
512
632
|
validation("content.conflict", "the post changed at the source since the last sync; sync, then write again"),
|
|
513
633
|
validation("content.lossy-body", "the post's text holds blocks or embeds Markdown does not keep; --replace-body"),
|
|
@@ -563,8 +683,9 @@ var OTHERS = [
|
|
|
563
683
|
["person.no-owner", "not_found", "no person is marked as the owner in the store"],
|
|
564
684
|
["person.unknown", "not_found", "the store has no person by that reference; people list gives person:<uid>"],
|
|
565
685
|
["person.no-doubt", "not_found", "nothing about that person is in doubt; people links check lists who is"],
|
|
566
|
-
validation("person.owner", "the owner's own person is not test data"),
|
|
686
|
+
validation("person.owner", "the owner's own person is not test data, and is never deleted"),
|
|
567
687
|
validation("person.no-identity", "a person with no identity is not test data; there is nothing to hide"),
|
|
688
|
+
validation("person.erase-blocked", "an invoice, order, subscription or a row the person wrote still names them; change those first, nothing was deleted"),
|
|
568
689
|
validation("person.from-required", "say whom the identity leaves: --from person:<uid>, or person:me for the owner"),
|
|
569
690
|
[
|
|
570
691
|
"identity.separated",
|
|
@@ -604,6 +725,8 @@ var OTHERS = [
|
|
|
604
725
|
validation("identity.agent-unnamed", "an agent's link names the agent, and never as the owner"),
|
|
605
726
|
validation("identity.not-shared", "only a match on a shared mailbox can say the mailbox is a company's"),
|
|
606
727
|
["organization.not-found", "not_found", "no stored organization has that id"],
|
|
728
|
+
validation("organization.own", "the organization is one of your own companies and is never deleted"),
|
|
729
|
+
validation("organization.erase-blocked", "an invoice, order, subscription or a row the organization wrote still names it; change those first, nothing was deleted"),
|
|
607
730
|
validation("organization.unnamed", "a free mailbox names no company; name the organization or the company"),
|
|
608
731
|
validation("organization.ambiguous", "more than one organization matches; name the one meant as a reference"),
|
|
609
732
|
validation("identity.shared-phone", "more than six people share the phone number, so it proposes no one"),
|
|
@@ -721,17 +844,22 @@ var INPUT_FIELD_REASONS = defineReasons([
|
|
|
721
844
|
details: ["fields"]
|
|
722
845
|
}
|
|
723
846
|
]);
|
|
847
|
+
var DETAILED = {
|
|
848
|
+
"vocabulary.consolidation-over-budget": ["table"],
|
|
849
|
+
"chat-sending.ask": CHAT_SENDING_ASK_DETAILS
|
|
850
|
+
};
|
|
724
851
|
var REASONS = defineReasons([
|
|
725
852
|
...QUERY_REASONS,
|
|
726
853
|
...INPUT_FIELD_REASONS,
|
|
727
|
-
...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...SQL, ...OTHERS].map(([reason, code, message]) => ({
|
|
854
|
+
...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...SQL, ...OFFICE, ...OTHERS].map(([reason, code, message]) => ({
|
|
728
855
|
reason,
|
|
729
856
|
code,
|
|
730
857
|
message,
|
|
731
|
-
details: reason
|
|
858
|
+
details: DETAILED[reason] ?? []
|
|
732
859
|
}))
|
|
733
860
|
]);
|
|
734
861
|
var DETAILS = [
|
|
862
|
+
"account",
|
|
735
863
|
"holders",
|
|
736
864
|
"profile",
|
|
737
865
|
"contracts",
|
|
@@ -823,6 +951,13 @@ var failureContext = /* @__PURE__ */ __name((errors) => {
|
|
|
823
951
|
}, "failureContext");
|
|
824
952
|
|
|
825
953
|
export {
|
|
954
|
+
CHAT_SENDING_MODES,
|
|
955
|
+
readChatSending,
|
|
956
|
+
chatSendingMode,
|
|
957
|
+
writeChatSending,
|
|
958
|
+
loosens,
|
|
959
|
+
chatSendingAllowed,
|
|
960
|
+
chatSendingAskRefusal,
|
|
826
961
|
INPUT_FIELD_REASONS,
|
|
827
962
|
REASONS,
|
|
828
963
|
failureContext
|
|
@@ -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.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -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.127.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",
|
|
@@ -39,7 +39,7 @@ var CliError = class extends Error {
|
|
|
39
39
|
};
|
|
40
40
|
var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
43
43
|
var CONTROL = (
|
|
44
44
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
45
45
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AP3CWDRK.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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
annotateOption,
|
|
9
9
|
listOf,
|
|
10
10
|
sharedCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZERQSELP.js";
|
|
12
12
|
import {
|
|
13
13
|
readMoment
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CU76ZACK.js";
|
|
15
15
|
import {
|
|
16
16
|
BACKENDS,
|
|
17
17
|
EVENT_QUERY,
|
|
@@ -51,15 +51,15 @@ import {
|
|
|
51
51
|
validateMeetingHitSearch,
|
|
52
52
|
validateMeetingPassage,
|
|
53
53
|
validateQuery
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UVGJL753.js";
|
|
55
55
|
import {
|
|
56
56
|
CliError
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AP3CWDRK.js";
|
|
58
58
|
import {
|
|
59
59
|
__name
|
|
60
60
|
} from "./chunk-ZVVMGPBJ.js";
|
|
61
61
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
62
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
63
63
|
var read = /* @__PURE__ */ __name((reference, flag, now, at) => {
|
|
64
64
|
const found = readMoment(reference, flag, { ...at, now });
|
|
65
65
|
if (found === void 0)
|
|
@@ -88,7 +88,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
88
88
|
};
|
|
89
89
|
}, "dateWindow");
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
|
|
92
92
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
93
93
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
94
94
|
var minutes = /* @__PURE__ */ __name((text) => {
|
|
@@ -193,7 +193,7 @@ var addMeetingManagementCommands = /* @__PURE__ */ __name((group, deps) => {
|
|
|
193
193
|
}).description("the invitation text the service writes for a meeting"))).action(async (id, _flags, command) => inRun(command, async () => print({ item: { ...await management.invitation(id, signalled()), untrusted: ["invitation"] } }, command)));
|
|
194
194
|
}, "addMeetingManagementCommands");
|
|
195
195
|
|
|
196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
197
197
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
198
198
|
command.allowUnknownOption();
|
|
199
199
|
const parse = command.parseOptions.bind(command);
|
|
@@ -213,7 +213,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
213
213
|
return command;
|
|
214
214
|
}, "queryWordsAfterOptions");
|
|
215
215
|
|
|
216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
217
217
|
var count = /* @__PURE__ */ __name((value) => {
|
|
218
218
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
219
219
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -255,7 +255,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
255
255
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
256
256
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
257
257
|
|
|
258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
259
259
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
260
260
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
261
261
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -278,7 +278,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
278
278
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
279
279
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
280
280
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
282
282
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
283
283
|
const { since, until, meta } = dateWindow(end ? { untilTime: value, names: [flag, flag] } : { sinceTime: value, names: [flag, flag] });
|
|
284
284
|
if (meta.timezone)
|
|
@@ -357,7 +357,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
357
357
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
358
358
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
359
359
|
|
|
360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
361
361
|
var EVENT_UNTRUSTED = ["title", "description", "location"];
|
|
362
362
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
363
363
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
@@ -543,7 +543,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
543
543
|
}, "addMeetingCommandsDefinition");
|
|
544
544
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
545
545
|
|
|
546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
547
547
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
548
548
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
549
549
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -556,6 +556,11 @@ var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
|
556
556
|
${fieldsHelp({ ...query, fields: shown }, LIST_QUERY_GUIDE)}`);
|
|
557
557
|
return command;
|
|
558
558
|
}, "withQuery");
|
|
559
|
+
var withWords = /* @__PURE__ */ __name((command, registry, words) => {
|
|
560
|
+
annotate(command, { query: defineQuery(registry), output: { entity: registry.entity } });
|
|
561
|
+
queryWordsAfterOptions(command).argument("[query...]", words);
|
|
562
|
+
return command;
|
|
563
|
+
}, "withWords");
|
|
559
564
|
var unfilteredQuery = /* @__PURE__ */ __name((entity, schema) => ({
|
|
560
565
|
entity,
|
|
561
566
|
backend: "native",
|
|
@@ -662,7 +667,7 @@ var timeBounds = /* @__PURE__ */ __name((term, zone = timezoneOf(), now) => {
|
|
|
662
667
|
const range = dateRange(term.value, upper, term.operator === "range" ? term.lower_inclusive !== false : true, term.operator === "range" ? term.upper_inclusive !== false : true, zone, term.span, now);
|
|
663
668
|
const until = range.upper === void 0 ? void 0 : range.upper - (range.upper_inclusive ? 0 : 1);
|
|
664
669
|
return {
|
|
665
|
-
...range.lower === void 0 ? {} : { since: range.lower },
|
|
670
|
+
...range.lower === void 0 ? {} : { since: range.lower, from: range.lower_inclusive ? range.lower : range.lower + 1 },
|
|
666
671
|
...until === void 0 ? {} : { until },
|
|
667
672
|
meta: {
|
|
668
673
|
timezone: zone,
|
|
@@ -685,7 +690,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
685
690
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
686
691
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
687
692
|
|
|
688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
689
694
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
690
695
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
691
696
|
if (key in own)
|
|
@@ -716,6 +721,7 @@ export {
|
|
|
716
721
|
LIST_QUERY_GUIDE,
|
|
717
722
|
QUERY_ARGUMENT,
|
|
718
723
|
withQuery,
|
|
724
|
+
withWords,
|
|
719
725
|
unfilteredQuery,
|
|
720
726
|
commandPath,
|
|
721
727
|
listQuery,
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2VUIJ5XB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AP3CWDRK.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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
timezoneOf,
|
|
5
5
|
zonedMoment
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UVGJL753.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AP3CWDRK.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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/domain/moment.js
|
|
15
15
|
var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
|
|
16
16
|
try {
|
|
17
17
|
return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3WG4MTQI.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2K5BAY32.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
26
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
27
27
|
import { existsSync } from "node:fs";
|
|
28
28
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|