@wirecat/hubspot-cli 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-RBQMA24N.js +40 -0
- package/dist/bundle/{all-profiles-JVEE4PXX.js → all-profiles-PGFXLOKN.js} +11 -11
- package/dist/bundle/{anthropic-6HT57GNF.js → anthropic-LPOJ3TYF.js} +5 -5
- package/dist/bundle/{app-server-FOBFF6G6.js → app-server-EYWGCSRY.js} +68 -68
- package/dist/bundle/{bun-GW443QB3.js → bun-ZJOOKIIW.js} +2 -2
- package/dist/bundle/{bun-sqlite-TGIAICDN.js → bun-sqlite-Y6KKH2OW.js} +6 -6
- package/dist/bundle/{chunk-RFGIUCKU.js → chunk-23CLSKY7.js} +3 -3
- package/dist/bundle/{chunk-ETKLP4VE.js → chunk-34HDRZIL.js} +14 -14
- package/dist/bundle/{chunk-PQUZ2YDC.js → chunk-3CHJYWA2.js} +6 -6
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-4RZ4DUQT.js} +3 -3
- package/dist/bundle/{chunk-NLZADZ4F.js → chunk-5ENY4POG.js} +61 -61
- package/dist/bundle/{chunk-W5X37TBC.js → chunk-5HGS65I3.js} +2 -2
- package/dist/bundle/{chunk-HPRKSL5S.js → chunk-5UPNDUAA.js} +2 -2
- package/dist/bundle/{chunk-LS4S7PAP.js → chunk-5WADRBQG.js} +3 -3
- package/dist/bundle/{chunk-DBPFHJXX.js → chunk-6PWRJGX4.js} +4 -4
- package/dist/bundle/{chunk-Q7DIEU6L.js → chunk-6S422S22.js} +7 -7
- package/dist/bundle/{chunk-E33KM3DB.js → chunk-7Q64D56R.js} +11 -11
- package/dist/bundle/{chunk-HM72O37C.js → chunk-7RIE3DAW.js} +174 -161
- package/dist/bundle/{chunk-LX7QMRRG.js → chunk-A5UTNGI4.js} +13 -13
- package/dist/bundle/{chunk-FWW2CUXH.js → chunk-ABPZOI3C.js} +4 -4
- package/dist/bundle/{chunk-MQACXJLG.js → chunk-AHZQMSXW.js} +10 -10
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-AIQT2GGK.js} +19 -19
- package/dist/bundle/{chunk-ATGD64VO.js → chunk-AVBKXCEY.js} +8 -8
- package/dist/bundle/{chunk-3SRGN5MQ.js → chunk-BCW7DAVV.js} +2 -2
- package/dist/bundle/{chunk-QNQ4V4UT.js → chunk-BGUGTMTS.js} +8 -8
- package/dist/bundle/{chunk-EU7AVWSX.js → chunk-BH5FEFZB.js} +2 -2
- package/dist/bundle/{chunk-XDDTJYGA.js → chunk-BVK4GUUI.js} +1254 -803
- package/dist/bundle/{chunk-HQYJ66ZX.js → chunk-BW7NPFVC.js} +18 -8
- package/dist/bundle/{chunk-QJHRRJKD.js → chunk-CWCJEAHZ.js} +3 -3
- package/dist/bundle/{chunk-Z3YOKGVZ.js → chunk-DDMBPYHP.js} +2 -2
- package/dist/bundle/{chunk-3MUHCLRY.js → chunk-DEUCWBBH.js} +81 -5
- package/dist/bundle/{chunk-GJSHLF43.js → chunk-DJUUQG6Y.js} +8 -8
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-EGR3YUWD.js} +4 -4
- package/dist/bundle/{chunk-FOLKK6FW.js → chunk-EPBHJMF6.js} +20 -14
- package/dist/bundle/{chunk-VMF2UIQI.js → chunk-GZJP3KQQ.js} +3 -4
- package/dist/bundle/{chunk-YYYRE4AV.js → chunk-HBFSGL5E.js} +26 -26
- package/dist/bundle/{chunk-NL3RKJR6.js → chunk-HPRGUUHY.js} +1 -1
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-HPSESLOZ.js} +1 -1
- package/dist/bundle/{chunk-WBUVNKHJ.js → chunk-I334AT2H.js} +7 -7
- package/dist/bundle/{chunk-K4DWBOO6.js → chunk-K3WCBNH4.js} +6 -6
- package/dist/bundle/{chunk-XCDRFC6G.js → chunk-K5S7MKBB.js} +17 -17
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-KAW5VEER.js} +21 -8
- package/dist/bundle/{chunk-3MPMYAII.js → chunk-KC4ILAKO.js} +1 -1
- package/dist/bundle/{chunk-UHHXZKB2.js → chunk-KRTXJMCD.js} +16 -16
- package/dist/bundle/{chunk-5KLNBGPU.js → chunk-KXWRVLSU.js} +1 -1
- package/dist/bundle/{chunk-7OJ43BAH.js → chunk-L4SVHQ7H.js} +7 -7
- package/dist/bundle/{chunk-2BCWK5BF.js → chunk-L6WSFVTD.js} +8 -8
- package/dist/bundle/{chunk-A6PVEUGN.js → chunk-LWS5AO3H.js} +17 -17
- package/dist/bundle/{chunk-OLDIP4CV.js → chunk-LXLXF2OE.js} +3 -3
- package/dist/bundle/{chunk-QV4GDVBN.js → chunk-MENMD5Y5.js} +8 -8
- package/dist/bundle/{chunk-EBJYK7UM.js → chunk-MFWECOO3.js} +77 -62
- package/dist/bundle/{chunk-TAF4PKDS.js → chunk-MGMLSPIY.js} +1 -1
- package/dist/bundle/{chunk-F4ZLRS4B.js → chunk-MKBQFD37.js} +1 -1
- package/dist/bundle/{chunk-QIFCH5DZ.js → chunk-MPNMEWHA.js} +341 -278
- package/dist/bundle/{chunk-XMWMA2N5.js → chunk-MPQ4SPZG.js} +46 -32
- package/dist/bundle/{chunk-V23OHBGM.js → chunk-MW4ROXQ6.js} +3 -3
- package/dist/bundle/{chunk-QODPEZC5.js → chunk-NEDV6RCQ.js} +10 -3
- package/dist/bundle/{chunk-F3HJ2E3P.js → chunk-NEP67GLY.js} +6 -6
- package/dist/bundle/{chunk-5G4L6NQJ.js → chunk-NKIKMG33.js} +35 -35
- package/dist/bundle/{chunk-T3GZKV5A.js → chunk-NLPGUYCG.js} +12 -12
- package/dist/bundle/{chunk-6NUXFVJQ.js → chunk-OCISQFMW.js} +1 -1
- package/dist/bundle/{chunk-PKFLSX5F.js → chunk-ODRF47VS.js} +8 -8
- package/dist/bundle/{chunk-WATDMTDC.js → chunk-OFOA6VJ2.js} +3 -3
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-PMGAU6AP.js} +2 -2
- package/dist/bundle/{chunk-JWO3PB5Z.js → chunk-POTS24SH.js} +18 -18
- package/dist/bundle/{chunk-5ZVYIA56.js → chunk-PPQRWFJZ.js} +5 -5
- package/dist/bundle/{chunk-DG4RBKIV.js → chunk-QCHW7R7L.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-QDNYJOWJ.js} +1 -1
- package/dist/bundle/{chunk-M25KVDHA.js → chunk-QIHJKE4K.js} +7 -7
- package/dist/bundle/{chunk-WLFYEAZ6.js → chunk-QLFD3MOL.js} +402 -390
- package/dist/bundle/{chunk-N4EIJ53V.js → chunk-QPTHEZZ5.js} +2 -2
- package/dist/bundle/{chunk-PMJCZIV4.js → chunk-R7ZOCDNG.js} +1 -1
- package/dist/bundle/{chunk-AT43MYQL.js → chunk-RJBKDZGV.js} +8 -8
- package/dist/bundle/{chunk-UIWWAT3C.js → chunk-RZS7N3OZ.js} +7 -7
- package/dist/bundle/{chunk-Z4PY5BDP.js → chunk-SBNZYRVZ.js} +4 -4
- package/dist/bundle/{chunk-4OPN3KCN.js → chunk-STTHRJBX.js} +5 -5
- package/dist/bundle/{chunk-VDAYIXV4.js → chunk-V5VMAHDQ.js} +6 -6
- package/dist/bundle/{chunk-JKNUCEII.js → chunk-VCYUYFIV.js} +1 -1
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-VIJV474N.js} +1 -1
- package/dist/bundle/{chunk-5OBVICFK.js → chunk-WDR77HPO.js} +15 -1
- package/dist/bundle/{chunk-6ULR7N3T.js → chunk-WEM4FZPM.js} +2 -2
- package/dist/bundle/{chunk-FK4LEJZM.js → chunk-WQZENAPE.js} +3 -3
- package/dist/bundle/{chunk-X5U7GLHD.js → chunk-WXEN6AXQ.js} +16 -3
- package/dist/bundle/{chunk-IED6MKPU.js → chunk-YJLJZMEA.js} +25 -25
- package/dist/bundle/{chunk-XJVFXHDI.js → chunk-YQBGPBYN.js} +2 -2
- package/dist/bundle/{chunk-BXZRSXBL.js → chunk-YZ5MULJM.js} +3 -3
- package/dist/bundle/{chunk-2Q2XIXDL.js → chunk-Z7FC6VVM.js} +1 -1
- package/dist/bundle/{chunk-5WKJFMC3.js → chunk-ZKPM53YG.js} +4 -4
- package/dist/bundle/{chunk-V2B2OWTC.js → chunk-ZLWQPUPB.js} +2 -2
- package/dist/bundle/{chunk-GOOXUCJW.js → chunk-ZMHD76RE.js} +2 -2
- package/dist/bundle/command-contract-O2UKYHLD.js +40 -0
- package/dist/bundle/{command-server-entry-OJQ55UA2.js → command-server-entry-B7S5AUE6.js} +28 -28
- package/dist/bundle/{decode-CDQDRPRJ.js → decode-7L33C5UJ.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-BIGHHSXV.js} +8 -8
- package/dist/bundle/{echarts-GJ5JJG2A.js → echarts-CWR3QH55.js} +2 -2
- package/dist/bundle/{embed-BUQXGMKR.js → embed-GXQ3HOQ6.js} +6 -6
- package/dist/bundle/{embedder-FCX6LE4O.js → embedder-47OYXGLS.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-VMZOU5GZ.js} +2 -2
- package/dist/bundle/{first-run-RPYEXXQK.js → first-run-YVQQOUQG.js} +12 -12
- package/dist/bundle/first-screen-TU3KE2B5.js +40 -0
- package/dist/bundle/hubspot.js +27 -25
- package/dist/bundle/{instructions-LPVTPERS.js → instructions-QFS2MPK3.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-Z2KZNCXB.js} +2 -2
- package/dist/bundle/meeting-combined-WBEOLQMP.js +25 -0
- package/dist/bundle/{meeting-model-TRGBEWCY.js → meeting-model-GLF2HVJG.js} +11 -11
- package/dist/bundle/{meeting-semantic-RSF5KNKD.js → meeting-semantic-RG56F4YX.js} +6 -6
- package/dist/bundle/{node-UAT3EIAP.js → node-3TSWTXGI.js} +2 -2
- package/dist/bundle/{node-sqlite-3HKDQNFD.js → node-sqlite-UPQCG7DJ.js} +7 -7
- package/dist/bundle/{oauth-DYW2NSZP.js → oauth-MCVEENW3.js} +7 -7
- package/dist/bundle/{open-KBRXJ5BC.js → open-JMUTKUYJ.js} +5 -5
- package/dist/bundle/{openai-YNCLRTSK.js → openai-HT7YDOK7.js} +15 -15
- package/dist/bundle/{process-63BB7LKP.js → process-7RC6DAGM.js} +1 -1
- package/dist/bundle/{program-VX52OB3O.js → program-3DLBMOEJ.js} +134 -114
- package/dist/bundle/{prompt-TWLJ3M2O.js → prompt-7EROPXPF.js} +5 -5
- package/dist/bundle/{recognize-GQ6DLGE7.js → recognize-B232GXD2.js} +4 -4
- package/dist/bundle/{remote-RKNSF3TT.js → remote-HGV64VRC.js} +9 -9
- package/dist/bundle/{rerank-H4HSGQUJ.js → rerank-5S6TDXHD.js} +7 -7
- package/dist/bundle/{schemas-LDK7O6VW.js → schemas-SB42IXEX.js} +1 -1
- package/dist/bundle/{serve-4ZNIAL7H.js → serve-D2WFCV6Z.js} +9 -9
- package/dist/bundle/{server-4G4QB3QN.js → server-4AXPTJPV.js} +60 -60
- package/dist/bundle/server-FFHVNABP.js +86 -0
- package/dist/bundle/{source-2UCNCCO7.js → source-DF63EC2B.js} +114 -86
- package/dist/bundle/{sqlite-runtime-C2JYC7JF.js → sqlite-runtime-DAFMZNLI.js} +6 -6
- package/dist/bundle/{state-3KDXCXHG.js → state-7OEBDXVV.js} +6 -6
- package/dist/bundle/{store-LXLG5HTS.js → store-2ZWSWF76.js} +24 -24
- package/dist/bundle/{store-J5FQBZYR.js → store-KC6US326.js} +22 -22
- package/dist/bundle/store-Q3ZKD4FJ.js +34 -0
- package/dist/bundle/store-maintenance-command-24A4GBRP.js +73 -0
- package/dist/bundle/surface-SPTM57EP.js +72 -0
- package/dist/bundle/writer-EQQ55HOS.js +86 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +3 -2
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- 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/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
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
agentOf,
|
|
8
8
|
clientHash,
|
|
9
9
|
currentCaller
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RJBKDZGV.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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
16
16
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
17
17
|
const client = caller?.agent?.client?.name;
|
|
18
18
|
if (client && client !== "unknown")
|
|
@@ -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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DDMBPYHP.js";
|
|
6
6
|
import {
|
|
7
7
|
secretNamed,
|
|
8
8
|
withoutSecrets
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KC4ILAKO.js";
|
|
10
10
|
import {
|
|
11
11
|
isContentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AIQT2GGK.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
18
18
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
22
22
|
import { homedir } from "node:os";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
25
25
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
26
26
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
27
27
|
if (event.event === "store")
|
|
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
73
73
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
74
74
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
77
77
|
var MESSAGE_AT_MOST = 500;
|
|
78
78
|
var CAUSES_AT_MOST = 5;
|
|
79
79
|
var FRAMES_AT_MOST = 15;
|
|
@@ -185,7 +185,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
185
185
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
186
186
|
}, "redactText");
|
|
187
187
|
|
|
188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
189
189
|
var REDACTED = "[redacted]";
|
|
190
190
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
191
191
|
if (!record)
|
|
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WEM4FZPM.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AIQT2GGK.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
singleLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PMGAU6AP.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
19
19
|
import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
20
20
|
import { dirname, join, resolve } from "node:path";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
|
|
23
23
|
var REPAIR_WORDS = {
|
|
24
24
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
25
25
|
comment: "a comment, which JSON does not allow",
|
|
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
|
|
|
303
303
|
return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
|
|
304
304
|
}, "explainBrokenJson");
|
|
305
305
|
|
|
306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
307
307
|
var DEFAULT_TASK_CATEGORIES = [
|
|
308
308
|
{
|
|
309
309
|
name: "taxes",
|
|
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}, "storedTaskCategories");
|
|
1060
1060
|
|
|
1061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
1062
1062
|
var SECTION = "task_categories";
|
|
1063
1063
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
1064
1064
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WXEN6AXQ.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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7RIE3DAW.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BW7NPFVC.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KAW5VEER.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PMGAU6AP.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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/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);
|
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
textModel,
|
|
5
5
|
vectorModelKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L6WSFVTD.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL,
|
|
9
9
|
openRemote,
|
|
10
10
|
remoteKey,
|
|
11
11
|
remoteModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AHZQMSXW.js";
|
|
13
13
|
import {
|
|
14
14
|
endpointFetch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QIHJKE4K.js";
|
|
16
16
|
import {
|
|
17
17
|
isTextModelInstalled,
|
|
18
18
|
openEmbedder,
|
|
19
19
|
textModelsDirectory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-K3WCBNH4.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PMGAU6AP.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
|
|
14
14
|
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
15
15
|
var INTEGER = /^-?\d+$/;
|
|
16
16
|
var INT64_MIN = -(2n ** 63n);
|
|
@@ -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.125.1_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/"))
|
|
@@ -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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
|
|
5
5
|
var WIRECAT_TOOLS = [
|
|
6
6
|
{
|
|
7
7
|
command: "tg",
|
|
@@ -94,6 +94,20 @@ var WIRECAT_TOOLS = [
|
|
|
94
94
|
envPrefix: "YDISK",
|
|
95
95
|
package: "@wirecat/yandex-disk-cli",
|
|
96
96
|
does: "Yandex Disk folders as local text, searchable with your other WireCat data"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
command: "wordpress",
|
|
100
|
+
appName: "wordpress-cli",
|
|
101
|
+
envPrefix: "WCWP",
|
|
102
|
+
package: "@wirecat/wordpress-cli",
|
|
103
|
+
does: "WordPress posts and pages, searchable with your other WireCat data"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
command: "linear",
|
|
107
|
+
appName: "linear-cli",
|
|
108
|
+
envPrefix: "WCLINEAR",
|
|
109
|
+
package: "@wirecat/linear-cli",
|
|
110
|
+
does: "Linear issues and projects, searchable with your other WireCat data"
|
|
97
111
|
}
|
|
98
112
|
];
|
|
99
113
|
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AIQT2GGK.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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { userInfo } from "node:os";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
OBJECTS,
|
|
5
5
|
SERVICE,
|
|
6
6
|
segment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BVK4GUUI.js";
|
|
8
8
|
import {
|
|
9
9
|
foldFieldName,
|
|
10
10
|
values_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MPNMEWHA.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
isCliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PMGAU6AP.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R7ZOCDNG.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AIQT2GGK.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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -53,6 +53,17 @@ var releaseLock = /* @__PURE__ */ __name((path, pid = process.pid) => {
|
|
|
53
53
|
if (readLock(path)?.pid === pid)
|
|
54
54
|
rmSync(path, { force: true });
|
|
55
55
|
}, "releaseLock");
|
|
56
|
+
var currentPath = /* @__PURE__ */ __name((lock) => lock.replace(/\.lock$/, ".current"), "currentPath");
|
|
57
|
+
var markCurrent = /* @__PURE__ */ __name((lock, at = /* @__PURE__ */ new Date()) => writeSecurely(currentPath(lock), `${JSON.stringify({ at: at.toISOString() })}
|
|
58
|
+
`, 384), "markCurrent");
|
|
59
|
+
var readCurrent = /* @__PURE__ */ __name((lock) => {
|
|
60
|
+
try {
|
|
61
|
+
const { at } = JSON.parse(readFileSync(currentPath(lock), "utf8"));
|
|
62
|
+
return typeof at === "string" ? at : void 0;
|
|
63
|
+
} catch {
|
|
64
|
+
return void 0;
|
|
65
|
+
}
|
|
66
|
+
}, "readCurrent");
|
|
56
67
|
var servingProfiles = /* @__PURE__ */ __name((app, env) => {
|
|
57
68
|
const dir = dirname(lockPath(app, "default", env));
|
|
58
69
|
if (!existsSync(dir))
|
|
@@ -69,5 +80,7 @@ export {
|
|
|
69
80
|
holdLock,
|
|
70
81
|
takeLock,
|
|
71
82
|
releaseLock,
|
|
83
|
+
markCurrent,
|
|
84
|
+
readCurrent,
|
|
72
85
|
servingProfiles
|
|
73
86
|
};
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DDMBPYHP.js";
|
|
7
7
|
import {
|
|
8
8
|
ADDED_PROVIDER,
|
|
9
9
|
INTERNAL_NOTES,
|
|
@@ -17,20 +17,20 @@ import {
|
|
|
17
17
|
kindsIn,
|
|
18
18
|
providerNamed,
|
|
19
19
|
providers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NLPGUYCG.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerStoreInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WEM4FZPM.js";
|
|
24
24
|
import {
|
|
25
25
|
createRecordLog,
|
|
26
26
|
resolvePaths,
|
|
27
27
|
traceIdOf,
|
|
28
28
|
writeSecurely
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AIQT2GGK.js";
|
|
30
30
|
import {
|
|
31
31
|
isoTime,
|
|
32
32
|
reference
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KAW5VEER.js";
|
|
34
34
|
import {
|
|
35
35
|
array,
|
|
36
36
|
boolean,
|
|
@@ -51,18 +51,18 @@ import {
|
|
|
51
51
|
} from "./chunk-S4UUN6LD.js";
|
|
52
52
|
import {
|
|
53
53
|
CliError
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PMGAU6AP.js";
|
|
55
55
|
import {
|
|
56
56
|
__name
|
|
57
57
|
} from "./chunk-ZVVMGPBJ.js";
|
|
58
58
|
|
|
59
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
59
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
60
60
|
import { randomUUID } from "node:crypto";
|
|
61
61
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
62
62
|
import { userInfo } from "node:os";
|
|
63
63
|
import { join, sep } from "node:path";
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
66
66
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
67
67
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
68
68
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -75,7 +75,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
75
75
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
76
76
|
}), "snakeLogger");
|
|
77
77
|
|
|
78
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
78
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
79
79
|
var diagnostic = {
|
|
80
80
|
event: true,
|
|
81
81
|
operation: true,
|
|
@@ -149,7 +149,7 @@ var LOG_ATTRIBUTES = [
|
|
|
149
149
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
150
150
|
].sort();
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
153
153
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
154
154
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
155
155
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -516,7 +516,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
516
516
|
};
|
|
517
517
|
}, "metadataOf");
|
|
518
518
|
|
|
519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
520
520
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
521
521
|
import { randomBytes } from "node:crypto";
|
|
522
522
|
var scopes = new AsyncLocalStorage();
|
|
@@ -569,7 +569,7 @@ var attempts = new AsyncLocalStorage();
|
|
|
569
569
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
570
570
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
571
571
|
|
|
572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
573
573
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
574
574
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
575
575
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -584,7 +584,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
584
584
|
}
|
|
585
585
|
__name(closeTask, "closeTask");
|
|
586
586
|
|
|
587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
588
588
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
589
589
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
590
590
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -613,7 +613,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
613
613
|
}, "priorityOf");
|
|
614
614
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
615
615
|
|
|
616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
616
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
617
617
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
618
618
|
async function find(id2) {
|
|
619
619
|
const task = await store.get(id2);
|
|
@@ -673,20 +673,20 @@ function median(values) {
|
|
|
673
673
|
}
|
|
674
674
|
__name(median, "median");
|
|
675
675
|
|
|
676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
677
677
|
function matches(task, filter) {
|
|
678
678
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
679
679
|
}
|
|
680
680
|
__name(matches, "matches");
|
|
681
681
|
|
|
682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
683
683
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
684
684
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
685
685
|
var ERASED_TEXT = "[source erased]";
|
|
686
686
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
687
687
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
688
688
|
|
|
689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
690
690
|
var text = string();
|
|
691
691
|
var id = pipe(string(), minLength(1));
|
|
692
692
|
var time = isoTime;
|
|
@@ -711,7 +711,7 @@ var author = strictObject({
|
|
|
711
711
|
name: nullable(text)
|
|
712
712
|
});
|
|
713
713
|
|
|
714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
715
715
|
var organization = strictObject({
|
|
716
716
|
id,
|
|
717
717
|
ref: reference,
|
|
@@ -741,7 +741,7 @@ var reminder = strictObject({
|
|
|
741
741
|
receipt: nullable(text)
|
|
742
742
|
});
|
|
743
743
|
|
|
744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
745
745
|
import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
746
746
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
747
747
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -862,7 +862,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
862
862
|
return { previous, cleared };
|
|
863
863
|
}, "recordDeepCheck");
|
|
864
864
|
|
|
865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
866
866
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
867
867
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
868
868
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -870,7 +870,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
870
870
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
871
871
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
872
872
|
|
|
873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
874
874
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
875
875
|
var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
876
876
|
const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
|
|
@@ -880,7 +880,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
880
880
|
};
|
|
881
881
|
}, "sourceOf");
|
|
882
882
|
|
|
883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
884
884
|
var LINK_KINDS = [
|
|
885
885
|
"links-to",
|
|
886
886
|
"blocked-by",
|
|
@@ -904,7 +904,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
|
|
|
904
904
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
905
905
|
var COUNTERPART_ROLE = "counterpart";
|
|
906
906
|
|
|
907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
908
908
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
909
909
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
910
910
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -927,7 +927,7 @@ var sourceOf2 = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
927
927
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
928
928
|
}, "sourceOf");
|
|
929
929
|
|
|
930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
931
931
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
932
932
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
933
933
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -1159,7 +1159,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
|
|
|
1159
1159
|
return { accounts: [...chosen.values()], skipped };
|
|
1160
1160
|
}, "fitting");
|
|
1161
1161
|
|
|
1162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
1163
1163
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
1164
1164
|
|
|
1165
1165
|
export {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SBNZYRVZ.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YJLJZMEA.js";
|
|
9
9
|
import {
|
|
10
10
|
reference
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KAW5VEER.js";
|
|
12
12
|
import {
|
|
13
13
|
array,
|
|
14
14
|
nullable,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
unknown
|
|
21
21
|
} from "./chunk-S4UUN6LD.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
24
24
|
var link = {
|
|
25
25
|
target_text: nullable(text),
|
|
26
26
|
kind: text,
|
|
@@ -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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|