@wirecat/hubspot-cli 0.3.1 → 0.4.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 +20 -0
- package/README.md +6 -5
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-NST4YXJR.js +40 -0
- package/dist/bundle/{all-profiles-6452VSJB.js → all-profiles-JVEE4PXX.js} +11 -11
- package/dist/bundle/{anthropic-VQUOVYOW.js → anthropic-6HT57GNF.js} +5 -5
- package/dist/bundle/{app-server-EQZUP4H4.js → app-server-FOBFF6G6.js} +68 -68
- package/dist/bundle/{bun-AJPJ4ZUN.js → bun-GW443QB3.js} +2 -2
- package/dist/bundle/{bun-sqlite-AGXGSF6D.js → bun-sqlite-TGIAICDN.js} +6 -6
- package/dist/bundle/{chunk-ARTJLL7W.js → chunk-2BCWK5BF.js} +5 -5
- package/dist/bundle/{chunk-JUKAIXKY.js → chunk-2Q2XIXDL.js} +1 -1
- package/dist/bundle/{chunk-X5S5KUSU.js → chunk-3BM6KBWP.js} +19 -19
- package/dist/bundle/{chunk-J5P5VSRG.js → chunk-3LMW7U7F.js} +8 -8
- package/dist/bundle/{chunk-NNMU2TDU.js → chunk-3MPMYAII.js} +1 -1
- package/dist/bundle/{chunk-WGBVRDY3.js → chunk-3MUHCLRY.js} +25 -3
- package/dist/bundle/{chunk-TIHDBKA7.js → chunk-3SRGN5MQ.js} +2 -2
- package/dist/bundle/{chunk-EMOVVERN.js → chunk-4OPN3KCN.js} +5 -5
- package/dist/bundle/{chunk-6MFP47XC.js → chunk-5G4L6NQJ.js} +35 -35
- package/dist/bundle/{chunk-DQB5JMTY.js → chunk-5KLNBGPU.js} +1 -1
- package/dist/bundle/{chunk-ABXVU5O4.js → chunk-5OBVICFK.js} +8 -1
- package/dist/bundle/{chunk-LKSNISYV.js → chunk-5WKJFMC3.js} +4 -4
- package/dist/bundle/{chunk-B2W3C4N6.js → chunk-5ZVYIA56.js} +5 -5
- package/dist/bundle/{chunk-AF7DANIR.js → chunk-6NUXFVJQ.js} +1 -1
- package/dist/bundle/{chunk-3PEKYGZ3.js → chunk-6ULR7N3T.js} +2 -2
- package/dist/bundle/{chunk-VW5F6FK3.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-VQEAZXTV.js → chunk-7OJ43BAH.js} +7 -7
- package/dist/bundle/{chunk-PMP37KLR.js → chunk-7QH5BZUG.js} +3 -3
- package/dist/bundle/{chunk-OJIJVOOA.js → chunk-A6PVEUGN.js} +16 -16
- package/dist/bundle/{chunk-FIVD4HM4.js → chunk-AT43MYQL.js} +8 -8
- package/dist/bundle/{chunk-3R4KRNUZ.js → chunk-ATGD64VO.js} +8 -8
- package/dist/bundle/{chunk-DSRXCLPO.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-3DIXAEGH.js → chunk-BXZRSXBL.js} +3 -3
- package/dist/bundle/{chunk-5K3FGXZH.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-KO4VR5NK.js → chunk-DBPFHJXX.js} +4 -4
- package/dist/bundle/{chunk-GRFICQTZ.js → chunk-DG4RBKIV.js} +1 -1
- package/dist/bundle/{chunk-5AYKCKSE.js → chunk-E33KM3DB.js} +11 -11
- package/dist/bundle/{chunk-5ZV7REBE.js → chunk-EBJYK7UM.js} +63 -60
- package/dist/bundle/{chunk-GZZR5U3K.js → chunk-ETKLP4VE.js} +12 -12
- package/dist/bundle/{chunk-BN22EKQQ.js → chunk-EU7AVWSX.js} +2 -2
- package/dist/bundle/{chunk-PLRUUXK7.js → chunk-F3HJ2E3P.js} +6 -6
- package/dist/bundle/{chunk-B3EH22CO.js → chunk-F4ZLRS4B.js} +1 -1
- package/dist/bundle/{chunk-VNPC274V.js → chunk-FK4LEJZM.js} +3 -3
- package/dist/bundle/{chunk-M763RNWP.js → chunk-FOLKK6FW.js} +13 -13
- package/dist/bundle/{chunk-NTQBS2JL.js → chunk-FWW2CUXH.js} +4 -4
- package/dist/bundle/{chunk-SEELWPRD.js → chunk-GJSHLF43.js} +8 -8
- package/dist/bundle/{chunk-CBCEMFCF.js → chunk-GOOXUCJW.js} +2 -2
- package/dist/bundle/{chunk-BUGROVF3.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-PHXOL5HZ.js → chunk-HM72O37C.js} +156 -156
- package/dist/bundle/{chunk-KVXEEKBB.js → chunk-HPRKSL5S.js} +2 -2
- package/dist/bundle/{chunk-3TEFE6YU.js → chunk-HQYJ66ZX.js} +7 -7
- package/dist/bundle/{chunk-3I2FGNWO.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-IBTMK5KD.js → chunk-IED6MKPU.js} +25 -25
- package/dist/bundle/{chunk-LA3YU4K7.js → chunk-JKNUCEII.js} +1 -1
- package/dist/bundle/{chunk-IQ2XZ62J.js → chunk-JWO3PB5Z.js} +18 -18
- package/dist/bundle/{chunk-BAUK2MD5.js → chunk-K4DWBOO6.js} +43 -64
- package/dist/bundle/{chunk-Z6ZQVYIE.js → chunk-LS4S7PAP.js} +3 -3
- package/dist/bundle/{chunk-RVWGFD32.js → chunk-LX7QMRRG.js} +13 -13
- package/dist/bundle/{chunk-WCQW4GYO.js → chunk-M25KVDHA.js} +24 -8
- package/dist/bundle/{chunk-L433IDOX.js → chunk-MQACXJLG.js} +8 -8
- package/dist/bundle/{chunk-7VHBS5BJ.js → chunk-N4EIJ53V.js} +2 -2
- package/dist/bundle/{chunk-O3VM5PTJ.js → chunk-NL3RKJR6.js} +1 -1
- package/dist/bundle/{chunk-LT5KE44Q.js → chunk-NLZADZ4F.js} +61 -61
- package/dist/bundle/{chunk-E4X7JAFC.js → chunk-OLDIP4CV.js} +3 -3
- package/dist/bundle/{chunk-AVUMH42T.js → chunk-PKFLSX5F.js} +8 -8
- package/dist/bundle/{chunk-IXZLMFPO.js → chunk-PMJCZIV4.js} +1 -1
- package/dist/bundle/{chunk-NZGI74GS.js → chunk-PQUZ2YDC.js} +6 -6
- package/dist/bundle/{chunk-LTVYGXWT.js → chunk-Q7DIEU6L.js} +7 -7
- package/dist/bundle/{chunk-E4FAMU2S.js → chunk-QIFCH5DZ.js} +347 -313
- package/dist/bundle/{chunk-WRCKE5ND.js → chunk-QJHRRJKD.js} +3 -3
- package/dist/bundle/{chunk-7UEL65GQ.js → chunk-QNQ4V4UT.js} +8 -8
- package/dist/bundle/{chunk-JP2HJXFO.js → chunk-QODPEZC5.js} +3 -3
- package/dist/bundle/{chunk-ODPU3II6.js → chunk-QV4GDVBN.js} +8 -8
- package/dist/bundle/{chunk-2A64XS22.js → chunk-RFGIUCKU.js} +3 -3
- package/dist/bundle/{chunk-GC6FLHZF.js → chunk-T3GZKV5A.js} +12 -12
- package/dist/bundle/{chunk-HPZRUY6S.js → chunk-TAF4PKDS.js} +1 -1
- package/dist/bundle/{chunk-K4X5ZHI2.js → chunk-UHHXZKB2.js} +16 -16
- package/dist/bundle/{chunk-4DNHXRCJ.js → chunk-UIWWAT3C.js} +7 -7
- package/dist/bundle/{chunk-ITGNDZRR.js → chunk-V23OHBGM.js} +3 -3
- package/dist/bundle/{chunk-U6XA3OOM.js → chunk-V2B2OWTC.js} +2 -2
- package/dist/bundle/{chunk-2NCO4E4T.js → chunk-VDAYIXV4.js} +6 -6
- package/dist/bundle/{chunk-7NZT7Y55.js → chunk-VMF2UIQI.js} +1 -1
- package/dist/bundle/{chunk-XLDQTDF6.js → chunk-W5X37TBC.js} +2 -2
- package/dist/bundle/{chunk-EE4JSYGZ.js → chunk-WATDMTDC.js} +3 -3
- package/dist/bundle/{chunk-Q27QAB4X.js → chunk-WBUVNKHJ.js} +7 -7
- package/dist/bundle/{chunk-7LQRXVQ3.js → chunk-WLFYEAZ6.js} +978 -548
- package/dist/bundle/{chunk-5YNAVVCW.js → chunk-X5U7GLHD.js} +3 -3
- package/dist/bundle/{chunk-JK2SNLU5.js → chunk-XCDRFC6G.js} +17 -17
- package/dist/bundle/{chunk-AWOJYRQW.js → chunk-XDDTJYGA.js} +434 -371
- package/dist/bundle/{chunk-2PRVWEJC.js → chunk-XJVFXHDI.js} +2 -2
- package/dist/bundle/{chunk-2HYGCLKN.js → chunk-XMWMA2N5.js} +77 -38
- package/dist/bundle/{chunk-BHZUPOQY.js → chunk-YYYRE4AV.js} +26 -26
- package/dist/bundle/{chunk-DW23LM47.js → chunk-Z3YOKGVZ.js} +2 -2
- package/dist/bundle/{chunk-A6UFH3QU.js → chunk-Z4PY5BDP.js} +4 -4
- package/dist/bundle/command-contract-LYX2QNIA.js +40 -0
- package/dist/bundle/{command-server-entry-GJSMDSNE.js → command-server-entry-OJQ55UA2.js} +28 -28
- package/dist/bundle/{decode-6PLXHVHW.js → decode-CDQDRPRJ.js} +5 -5
- package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-JQBAZWCL.js} +8 -8
- package/dist/bundle/{echarts-UZ7QLRE2.js → echarts-GJ5JJG2A.js} +2 -2
- package/dist/bundle/{embed-AWLL4EBF.js → embed-BUQXGMKR.js} +6 -6
- package/dist/bundle/{embedder-MM225YJ6.js → embedder-FCX6LE4O.js} +9 -9
- package/dist/bundle/{failure-MR2XVHFP.js → failure-I6AAF5R5.js} +2 -2
- package/dist/bundle/{first-run-KCZVNFJ7.js → first-run-RPYEXXQK.js} +12 -12
- package/dist/bundle/first-screen-Y4EH3HZS.js +40 -0
- package/dist/bundle/hubspot.js +25 -25
- package/dist/bundle/{instructions-ZJ7U3QUE.js → instructions-LPVTPERS.js} +1 -1
- package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-FEEVVUGC.js +25 -0
- package/dist/bundle/{meeting-model-OYXB2NOE.js → meeting-model-TRGBEWCY.js} +11 -11
- package/dist/bundle/{meeting-semantic-S3DBB7XD.js → meeting-semantic-RSF5KNKD.js} +6 -6
- package/dist/bundle/{node-HGCZGZ4R.js → node-UAT3EIAP.js} +2 -2
- package/dist/bundle/{node-sqlite-RKYSRKEB.js → node-sqlite-3HKDQNFD.js} +7 -7
- package/dist/bundle/{oauth-PYDCAQ7Y.js → oauth-DYW2NSZP.js} +7 -7
- package/dist/bundle/{open-UCDSQUN2.js → open-KBRXJ5BC.js} +5 -5
- package/dist/bundle/{openai-Y4F5ZC7O.js → openai-YNCLRTSK.js} +15 -15
- package/dist/bundle/{process-P7FB7YO7.js → process-63BB7LKP.js} +1 -1
- package/dist/bundle/{program-O2A5L4S4.js → program-VX52OB3O.js} +132 -98
- package/dist/bundle/{prompt-E5TKZ37Q.js → prompt-TWLJ3M2O.js} +5 -5
- package/dist/bundle/{recognize-5NYPTSLT.js → recognize-GQ6DLGE7.js} +4 -4
- package/dist/bundle/{remote-U4LUAHF2.js → remote-RKNSF3TT.js} +9 -9
- package/dist/bundle/{rerank-AJAVKK5L.js → rerank-H4HSGQUJ.js} +7 -7
- package/dist/bundle/{schemas-QLQ2K6DL.js → schemas-LDK7O6VW.js} +1 -1
- package/dist/bundle/{serve-4UJ3R5IP.js → serve-4ZNIAL7H.js} +9 -9
- package/dist/bundle/server-3IYIZEEQ.js +86 -0
- package/dist/bundle/{server-DUKWJUKD.js → server-4G4QB3QN.js} +60 -60
- package/dist/bundle/{source-FCQDXCAD.js → source-2UCNCCO7.js} +79 -79
- package/dist/bundle/{sqlite-runtime-KLEA4XAU.js → sqlite-runtime-C2JYC7JF.js} +6 -6
- package/dist/bundle/{state-COGSYMVH.js → state-3KDXCXHG.js} +6 -6
- package/dist/bundle/store-2MNUHHZC.js +32 -0
- package/dist/bundle/{store-V5UMSWK4.js → store-J5FQBZYR.js} +26 -22
- package/dist/bundle/{store-BJXCSP26.js → store-LXLG5HTS.js} +24 -24
- package/dist/bundle/store-maintenance-command-DDB7TR6V.js +73 -0
- package/dist/bundle/surface-ZTZANYKC.js +72 -0
- package/dist/bundle/writer-X7PGBLDH.js +86 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +56 -8
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/references/api/api-basic.md +34 -6
- package/skills/hubspot-cli/references/api/api-batch.md +19 -9
- package/skills/hubspot-cli/references/api/api-search.md +9 -0
- package/dist/bundle/agent-A7ARC3QB.js +0 -40
- package/dist/bundle/command-contract-R2FGN7CQ.js +0 -40
- package/dist/bundle/first-screen-SCDV7TXT.js +0 -40
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +0 -25
- package/dist/bundle/server-UQVV2PPX.js +0 -86
- package/dist/bundle/store-CHH3G3SL.js +0 -32
- package/dist/bundle/store-maintenance-command-DQUBBWMD.js +0 -73
- package/dist/bundle/surface-IGBQUYE5.js +0 -72
- package/dist/bundle/writer-AQSEPEEN.js +0 -86
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isoTime,
|
|
8
8
|
parseRegistry,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3LMW7U7F.js";
|
|
11
11
|
import {
|
|
12
12
|
array,
|
|
13
13
|
getDotPath,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
CliError,
|
|
27
27
|
visibleControls
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HM6AMYHR.js";
|
|
29
29
|
import {
|
|
30
30
|
__commonJS,
|
|
31
31
|
__name,
|
|
@@ -1898,7 +1898,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1898
1898
|
}
|
|
1899
1899
|
});
|
|
1900
1900
|
|
|
1901
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1901
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1902
1902
|
import { realpathSync } from "node:fs";
|
|
1903
1903
|
import { homedir, userInfo } from "node:os";
|
|
1904
1904
|
import { join, posix, win32 } from "node:path";
|
|
@@ -1972,7 +1972,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1972
1972
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1973
1973
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1974
1974
|
|
|
1975
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1975
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
1976
1976
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1977
1977
|
if (signal?.aborted)
|
|
1978
1978
|
return Promise.reject(signal.reason);
|
|
@@ -2000,7 +2000,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2000
2000
|
});
|
|
2001
2001
|
}, "waitForDrain");
|
|
2002
2002
|
|
|
2003
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2003
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2004
2004
|
var processStreams = {
|
|
2005
2005
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2006
2006
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2029,7 +2029,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
}, "captureStreams");
|
|
2031
2031
|
|
|
2032
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2032
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2033
2033
|
var DEFAULT_RETRY = {
|
|
2034
2034
|
retries: 1,
|
|
2035
2035
|
baseDelayMs: 250,
|
|
@@ -2041,7 +2041,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2041
2041
|
return Math.round(random() * ceiling);
|
|
2042
2042
|
}, "backoffMs");
|
|
2043
2043
|
|
|
2044
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2044
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2045
2045
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2046
2046
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2047
2047
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2106,7 +2106,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2106
2106
|
return project(value, fields);
|
|
2107
2107
|
}, "projectFields");
|
|
2108
2108
|
|
|
2109
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2109
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2110
2110
|
var BATCH_LIMITS = Object.freeze({
|
|
2111
2111
|
requests: 32,
|
|
2112
2112
|
input_bytes: 262144,
|
|
@@ -2233,7 +2233,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
}, "runBatch");
|
|
2235
2235
|
|
|
2236
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2236
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2237
2237
|
import { randomBytes } from "node:crypto";
|
|
2238
2238
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2239
2239
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2277,16 +2277,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2277
2277
|
`, 384);
|
|
2278
2278
|
}, "saveConfigFile");
|
|
2279
2279
|
|
|
2280
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2280
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2281
2281
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2282
2282
|
var baseConstantsSchema = object({});
|
|
2283
2283
|
var LayerSchema = record(string(), unknown());
|
|
2284
2284
|
|
|
2285
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2285
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2286
2286
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2287
2287
|
import { join as join3, resolve } from "node:path";
|
|
2288
2288
|
|
|
2289
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2289
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2290
2290
|
import { createRequire } from "node:module";
|
|
2291
2291
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2292
2292
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2312,7 +2312,7 @@ var systemKeyring = {
|
|
|
2312
2312
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2313
2313
|
};
|
|
2314
2314
|
|
|
2315
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2315
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2316
2316
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2317
2317
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
2318
2318
|
var Credentials = class {
|
|
@@ -2456,7 +2456,7 @@ var Credentials = class {
|
|
|
2456
2456
|
}
|
|
2457
2457
|
};
|
|
2458
2458
|
|
|
2459
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2459
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2460
2460
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2461
2461
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2462
2462
|
if (signal?.aborted) {
|
|
@@ -2471,10 +2471,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2471
2471
|
}), "realSleep");
|
|
2472
2472
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2473
2473
|
|
|
2474
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2474
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2475
2475
|
import { appendFileSync } from "node:fs";
|
|
2476
2476
|
|
|
2477
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2477
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2478
2478
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2479
2479
|
var logRecordSchema = strictObject({
|
|
2480
2480
|
time: isoTime,
|
|
@@ -2552,7 +2552,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2552
2552
|
return traceId;
|
|
2553
2553
|
}, "traceIdOf");
|
|
2554
2554
|
|
|
2555
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2555
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2556
2556
|
var REDACTED_FIELDS = [
|
|
2557
2557
|
"authorization",
|
|
2558
2558
|
"Authorization",
|
|
@@ -2646,7 +2646,7 @@ var silent = {
|
|
|
2646
2646
|
}, "error")
|
|
2647
2647
|
};
|
|
2648
2648
|
|
|
2649
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2649
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2650
2650
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2651
2651
|
import { styleText } from "node:util";
|
|
2652
2652
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2720,7 +2720,7 @@ var BORDERLESS = {
|
|
|
2720
2720
|
middle: ""
|
|
2721
2721
|
};
|
|
2722
2722
|
|
|
2723
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2723
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2724
2724
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2725
2725
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2726
2726
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
errorCodes,
|
|
30
30
|
isCliError,
|
|
31
31
|
visibleControls
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HM6AMYHR.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
38
38
|
var EXIT_CODES = {
|
|
39
39
|
validation_error: 2,
|
|
40
40
|
configuration_error: 3,
|
|
@@ -55,7 +55,7 @@ var EXIT_CODES = {
|
|
|
55
55
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
56
56
|
var GENERIC_FAILURE = 1;
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
59
59
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
60
60
|
var effectsSchema = strictObject({
|
|
61
61
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -692,7 +692,7 @@ function toStandardJsonSchema(schema) {
|
|
|
692
692
|
}
|
|
693
693
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
694
694
|
|
|
695
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
695
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
696
696
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
697
697
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
698
698
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -734,7 +734,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
734
734
|
return String(value);
|
|
735
735
|
}), "fill");
|
|
736
736
|
|
|
737
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
737
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
738
738
|
var MAX_NEXT_STEPS = 2;
|
|
739
739
|
var COMPACT_FLAG = "--compact";
|
|
740
740
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -866,7 +866,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
866
866
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
867
867
|
].join("\n"), "jsonlOf");
|
|
868
868
|
|
|
869
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
869
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
870
870
|
var CRASH_CODE = "internal_error";
|
|
871
871
|
var CRASH_REASON = "command.crashed";
|
|
872
872
|
var errorObjectSchema = strictObject({
|
|
@@ -965,7 +965,7 @@ var BASE_REASONS = defineReasons([
|
|
|
965
965
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
966
966
|
]);
|
|
967
967
|
|
|
968
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
968
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
969
969
|
var SAME_COMMAND = "*";
|
|
970
970
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
971
971
|
var stepSchema = union([
|
|
@@ -1044,7 +1044,7 @@ var STEPS = defineSteps([
|
|
|
1044
1044
|
}
|
|
1045
1045
|
]);
|
|
1046
1046
|
|
|
1047
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1047
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
1048
1048
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
1049
1049
|
if (isCliError(failure))
|
|
1050
1050
|
return failure;
|
|
@@ -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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -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-NLZADZ4F.js";
|
|
6
6
|
import {
|
|
7
7
|
defineReasons
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3LMW7U7F.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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/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"],
|
|
@@ -225,6 +225,20 @@ var OTHERS = [
|
|
|
225
225
|
["mirror.none", "not_found", "the profile has no mirrors; add one with mirrors add"],
|
|
226
226
|
["mirror.not-found", "not_found", "no such mirror in this profile; see mirrors list"],
|
|
227
227
|
validation("mirror.not-folder", "the path to mirror is not a folder"),
|
|
228
|
+
validation("mirror.symlink", "the file is under a symbolic link, which the sync does not follow"),
|
|
229
|
+
[
|
|
230
|
+
"mirror.too-many-deletions",
|
|
231
|
+
"confirmation_required",
|
|
232
|
+
"the sync would delete more files than the guard allows; check them with --dry-run and allow them explicitly"
|
|
233
|
+
],
|
|
234
|
+
[
|
|
235
|
+
"mirror.version-not-kept",
|
|
236
|
+
"provider_error",
|
|
237
|
+
"the earlier content could not be kept in the version store, so the sync did not replace it"
|
|
238
|
+
],
|
|
239
|
+
["mirror.remote-changed", "conflict", "the remote file changed since the listing; the next sync settles it"],
|
|
240
|
+
["upload.mismatch", "conflict", "the uploaded file reads back with other content; the local file changed meanwhile"],
|
|
241
|
+
["download.mismatch", "invalid_response", "the downloaded file has other content than the listing said"],
|
|
228
242
|
["catalog.unavailable", "configuration_error", "the store has no shared catalog for this account"],
|
|
229
243
|
["catalog.not-found", "not_found", "the file or folder is not in the local catalog; run catalog import or sync"],
|
|
230
244
|
validation("catalog.depth-invalid", "tree depth must be between 0 and 50"),
|
|
@@ -494,6 +508,14 @@ var OTHERS = [
|
|
|
494
508
|
validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
|
|
495
509
|
validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
|
|
496
510
|
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"),
|
|
511
|
+
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
|
+
validation("content.conflict", "the post changed at the source since the last sync; sync, then write again"),
|
|
513
|
+
validation("content.lossy-body", "the post's text holds blocks or embeds Markdown does not keep; --replace-body"),
|
|
514
|
+
validation("content.schedule-past", "a post is scheduled for a time to come, not one that passed"),
|
|
515
|
+
validation("content.already-published", "a published post cannot be scheduled; unpublish it first"),
|
|
516
|
+
validation("content.empty", "a write names no field to set"),
|
|
517
|
+
["content.get-unsupported", "configuration_error", "the source cannot read one post, author or term by its id"],
|
|
518
|
+
validation("content.write-unsupported", "the source does not take this write, such as a deletion past the trash"),
|
|
497
519
|
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"),
|
|
498
520
|
validation("crm.unassigned-dropped", "the CRM does not let this sign-in choose a user in unassigned; that user's deals are not copied"),
|
|
499
521
|
validation("crm.not-reported", "the CRM did not list users or departments; what they would say is unknown, nothing withdrawn"),
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
singleLine,
|
|
9
9
|
visibleControls
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HM6AMYHR.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HM72O37C.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HQYJ66ZX.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3LMW7U7F.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HM6AMYHR.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YYYRE4AV.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F3HJ2E3P.js";
|
|
19
19
|
import {
|
|
20
20
|
StdioServerTransport,
|
|
21
21
|
answeredWire,
|
|
22
22
|
serveStdio
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6NUXFVJQ.js";
|
|
24
24
|
import {
|
|
25
25
|
stdinFieldOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TAF4PKDS.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UHHXZKB2.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QV4GDVBN.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XMWMA2N5.js";
|
|
37
37
|
import {
|
|
38
38
|
instructions
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-F4ZLRS4B.js";
|
|
40
40
|
import {
|
|
41
41
|
BinaryResource,
|
|
42
42
|
Picture,
|
|
@@ -55,35 +55,35 @@ import {
|
|
|
55
55
|
tierOf,
|
|
56
56
|
tool,
|
|
57
57
|
toolKey
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-A6PVEUGN.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-PKFLSX5F.js";
|
|
62
62
|
import {
|
|
63
63
|
guardFor,
|
|
64
64
|
imageSize,
|
|
65
65
|
lackedNeed,
|
|
66
66
|
servicesFor,
|
|
67
67
|
storedDeps
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-QIFCH5DZ.js";
|
|
69
69
|
import {
|
|
70
70
|
callerOf,
|
|
71
71
|
callingAgent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-N4EIJ53V.js";
|
|
73
73
|
import {
|
|
74
74
|
capability,
|
|
75
75
|
dateWindow
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-FOLKK6FW.js";
|
|
77
77
|
import {
|
|
78
78
|
McpServer,
|
|
79
79
|
ResourceTemplate
|
|
80
80
|
} from "./chunk-PL5P7UKW.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpHttpMarker
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-Z4PY5BDP.js";
|
|
84
84
|
import {
|
|
85
85
|
findCommand
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-4OPN3KCN.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_OUTPUT_BYTES,
|
|
89
89
|
changesAuthorityAt,
|
|
@@ -98,35 +98,35 @@ import {
|
|
|
98
98
|
rootOf2 as rootOf,
|
|
99
99
|
sealed,
|
|
100
100
|
snakeKeys
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-HM72O37C.js";
|
|
102
102
|
import {
|
|
103
103
|
withCaller
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-AT43MYQL.js";
|
|
105
105
|
import {
|
|
106
106
|
openStore,
|
|
107
107
|
pdfPreviewLimits
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-WLFYEAZ6.js";
|
|
109
109
|
import {
|
|
110
110
|
typedCommand
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-IED6MKPU.js";
|
|
112
112
|
import {
|
|
113
113
|
isCliFailure
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-Z3YOKGVZ.js";
|
|
115
115
|
import {
|
|
116
116
|
warmEmbedders
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-K4DWBOO6.js";
|
|
118
118
|
import {
|
|
119
119
|
fetchesAt,
|
|
120
120
|
levelFor,
|
|
121
121
|
readKeysForCommand
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-HQYJ66ZX.js";
|
|
123
123
|
import {
|
|
124
124
|
timezoneOf
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-NLZADZ4F.js";
|
|
126
126
|
import {
|
|
127
127
|
errorObjectOf,
|
|
128
128
|
mcpErrorResult
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-3LMW7U7F.js";
|
|
130
130
|
import {
|
|
131
131
|
description,
|
|
132
132
|
integer,
|
|
@@ -145,15 +145,15 @@ import {
|
|
|
145
145
|
import {
|
|
146
146
|
CliError,
|
|
147
147
|
visibleControls
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-HM6AMYHR.js";
|
|
149
149
|
import {
|
|
150
150
|
__name
|
|
151
151
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
154
154
|
import { randomUUID } from "node:crypto";
|
|
155
155
|
|
|
156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
157
157
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
158
158
|
let held;
|
|
159
159
|
return {
|
|
@@ -172,7 +172,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
172
172
|
};
|
|
173
173
|
}, "agentLog");
|
|
174
174
|
|
|
175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
176
176
|
var LISTED = 100;
|
|
177
177
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
178
178
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -210,7 +210,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
210
210
|
});
|
|
211
211
|
}, "registerResources");
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
214
214
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
215
215
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
216
216
|
var MessengerSession = class {
|
|
@@ -285,7 +285,7 @@ var MessengerSession = class {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
289
289
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
290
290
|
const _command = messenger.app.command;
|
|
291
291
|
return {
|
|
@@ -339,7 +339,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
339
339
|
};
|
|
340
340
|
}, "attachmentsTools");
|
|
341
341
|
|
|
342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
343
343
|
var PHOTO_LIMIT = 512 * 1024;
|
|
344
344
|
var IMAGE_TYPES = [
|
|
345
345
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -395,7 +395,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
395
395
|
return new Uint8Array(Buffer.concat(chunks));
|
|
396
396
|
}, "readUpTo");
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
399
399
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
400
400
|
stats_charts: tool({
|
|
401
401
|
title: "A chart from a chat's statistics",
|
|
@@ -432,14 +432,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
432
432
|
})
|
|
433
433
|
}), "statsTools");
|
|
434
434
|
|
|
435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
436
436
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
437
437
|
...messagesPhotoTools(messenger),
|
|
438
438
|
...attachmentsTools(messenger),
|
|
439
439
|
...statsTools(messenger)
|
|
440
440
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
441
441
|
|
|
442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
443
443
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
444
444
|
"streams",
|
|
445
445
|
"stdin",
|
|
@@ -755,7 +755,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
755
755
|
}, "serveOverStdio");
|
|
756
756
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
757
757
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
758
|
-
const { serveOverHttp } = await import("./serve-
|
|
758
|
+
const { serveOverHttp } = await import("./serve-4ZNIAL7H.js");
|
|
759
759
|
const appName = messenger.app.command;
|
|
760
760
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
761
761
|
const listening = await serveOverHttp(build, {
|
|
@@ -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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/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");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
|
|
5
5
|
var WIRECAT_TOOLS = [
|
|
6
6
|
{
|
|
7
7
|
command: "tg",
|
|
@@ -67,6 +67,13 @@ var WIRECAT_TOOLS = [
|
|
|
67
67
|
package: "@wirecat/bitrix24-cli",
|
|
68
68
|
does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
command: "amo",
|
|
72
|
+
appName: "amo-cli",
|
|
73
|
+
envPrefix: "AMO",
|
|
74
|
+
package: "@wirecat/amo-cli",
|
|
75
|
+
does: "amoCRM and Kommo: deals, contacts and companies, searchable with your other WireCat data"
|
|
76
|
+
},
|
|
70
77
|
{
|
|
71
78
|
command: "pbx",
|
|
72
79
|
appName: "asterisk-cli",
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HM6AMYHR.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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/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) => {
|