@wirecat/hubspot-cli 0.7.0 → 0.8.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 +14 -0
- package/contracts/wirecat.json +2 -1
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-NMSIVLX7.js +41 -0
- package/dist/bundle/{all-profiles-GVEX5MXB.js → all-profiles-EMBBR5CW.js} +11 -11
- package/dist/bundle/{anthropic-GK6VBQUD.js → anthropic-AS2MTXO3.js} +5 -5
- package/dist/bundle/{app-server-JRROE463.js → app-server-WZWKHDLK.js} +70 -68
- package/dist/bundle/{bun-B7XTFPUF.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-QSNZ2YP4.js → bun-sqlite-NBAY7FR2.js} +6 -6
- package/dist/bundle/{chunk-I5WHQH5K.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-5EJ3C3JG.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-ALOPYWYY.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-INT5JXGP.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-6WKK4UZP.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-SBORPDIQ.js → chunk-4NLZXDXP.js} +4 -4
- package/dist/bundle/{chunk-2K5BAY32.js → chunk-5JKTVAXX.js} +19 -19
- package/dist/bundle/{chunk-YVMLFHWS.js → chunk-5XYI75HH.js} +3 -3
- package/dist/bundle/{chunk-JQUS4KFV.js → chunk-6TD3DCWC.js} +2 -2
- package/dist/bundle/{chunk-63YWTFZF.js → chunk-7SV76BVS.js} +3 -3
- package/dist/bundle/{chunk-2IRBXFIU.js → chunk-7T5BFWZI.js} +6678 -4803
- package/dist/bundle/{chunk-4LHNA6LJ.js → chunk-7Z53MLQP.js} +7 -7
- package/dist/bundle/{chunk-DBHJIFDS.js → chunk-AINKLKDN.js} +12 -12
- package/dist/bundle/{chunk-BXXU4EXK.js → chunk-BGWQIFAS.js} +38 -24
- package/dist/bundle/{chunk-RE55EPBX.js → chunk-CVAHCGE6.js} +26 -26
- package/dist/bundle/{chunk-2FLLS5IL.js → chunk-D7NSIQBI.js} +97 -50
- package/dist/bundle/{chunk-52NC5E42.js → chunk-D7OZWLJU.js} +11 -11
- package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-XWYYFAML.js → chunk-EVUMQKV7.js} +3 -3
- package/dist/bundle/{chunk-4F62XXF6.js → chunk-FRF32QVB.js} +557 -599
- package/dist/bundle/{chunk-WSTF2MWW.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-LGGBKAVQ.js → chunk-GIMHJ7HA.js} +8 -8
- package/dist/bundle/{chunk-BQPAIGAF.js → chunk-GXDD4QWH.js} +2 -2
- package/dist/bundle/{chunk-M3JDGRXM.js → chunk-H6AH45GE.js} +163 -156
- package/dist/bundle/{chunk-DIKUPU3T.js → chunk-HZ3C4WXD.js} +3 -3
- package/dist/bundle/{chunk-TXCINEH6.js → chunk-IA77VHME.js} +13 -9
- package/dist/bundle/{chunk-OX37ZK27.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-GYH2AXPO.js → chunk-IGNMDKP7.js} +14 -14
- package/dist/bundle/{chunk-SZZVNPTI.js → chunk-IPKCM55K.js} +7 -7
- package/dist/bundle/{chunk-XL3NAXZY.js → chunk-JBZYHRUN.js} +5 -5
- package/dist/bundle/{chunk-WWIYZN67.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-BRBBZDMZ.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-ZH76HQDA.js → chunk-JPONKBEQ.js} +23 -23
- package/dist/bundle/{chunk-ZNRZJIRM.js → chunk-K5QWV6IX.js} +35 -35
- package/dist/bundle/{chunk-P7N3TZLH.js → chunk-KNL7CKF6.js} +179 -108
- package/dist/bundle/{chunk-GZD6BYO7.js → chunk-KVTNYRDO.js} +6 -6
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-5MFZYHPO.js → chunk-L45WN3AR.js} +3 -3
- package/dist/bundle/{chunk-DMYLQX2O.js → chunk-L72WUJAS.js} +2 -2
- package/dist/bundle/{chunk-6EHX762H.js → chunk-LCUWAH4L.js} +7 -7
- package/dist/bundle/{chunk-YFHCKAGU.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-A7KGBXBT.js → chunk-LM3W7YOM.js} +4 -4
- package/dist/bundle/{chunk-MR2BNER3.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-DIHVN5IC.js → chunk-LZPSIYRC.js} +8 -8
- package/dist/bundle/{chunk-VJQLJQHT.js → chunk-MYXUJCJD.js} +5 -5
- package/dist/bundle/{chunk-QAQK2WXJ.js → chunk-NA2B6PYR.js} +5 -5
- package/dist/bundle/{chunk-YGZ37OEN.js → chunk-NB7EOAUZ.js} +1 -1
- package/dist/bundle/{chunk-5AVU5SF6.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-2V5KOOJV.js → chunk-NQVMPJAQ.js} +8 -8
- package/dist/bundle/{chunk-DWWZAQ4N.js → chunk-NVR6M4TF.js} +16 -16
- package/dist/bundle/{chunk-KGLMYQXM.js → chunk-O4AUYEGC.js} +2 -2
- package/dist/bundle/{chunk-WSUS3MUK.js → chunk-OGVSGXPI.js} +493 -452
- package/dist/bundle/{chunk-5ISQ4KJM.js → chunk-OUYXUGUX.js} +8 -8
- package/dist/bundle/chunk-P657KN5N.js +122 -0
- package/dist/bundle/{chunk-SFFV2F3Y.js → chunk-P7G5HFY3.js} +2 -2
- package/dist/bundle/{chunk-QY7EOB66.js → chunk-PFYPJUWX.js} +19 -15
- package/dist/bundle/{chunk-B3JVNOTB.js → chunk-PLPBEWD4.js} +3 -3
- package/dist/bundle/{chunk-CBTWKTWN.js → chunk-PMQ7GP6X.js} +6 -6
- package/dist/bundle/{chunk-L3DUZVBP.js → chunk-Q32ZDGS2.js} +8 -8
- package/dist/bundle/{chunk-YDTFPDAJ.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-GD5JTKLS.js → chunk-QLYSNL47.js} +6 -6
- package/dist/bundle/{chunk-H5HBZCEJ.js → chunk-QPPOIWPY.js} +8 -8
- package/dist/bundle/{chunk-JEUYZCWF.js → chunk-R2C5WDQV.js} +6 -6
- package/dist/bundle/{chunk-2HSYAKWO.js → chunk-RQORQN2V.js} +61 -61
- package/dist/bundle/{chunk-2PCVKD27.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-CEHBT7QX.js → chunk-TTF5DP4V.js} +7 -7
- package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-LJ52BS6C.js → chunk-U5CFLBNX.js} +8 -8
- package/dist/bundle/{chunk-UMXA357W.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-J5HHB27S.js → chunk-V57E7PJQ.js} +4 -4
- package/dist/bundle/{chunk-4HZQ5UIY.js → chunk-V7IF2K3P.js} +3 -3
- package/dist/bundle/{chunk-NUPAXK4Z.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-IRFFXKKK.js → chunk-VNMEE4ZZ.js} +3 -3
- package/dist/bundle/{chunk-SVRCPPNI.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-GHBJBDTW.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/chunk-XIKSGUMQ.js +1293 -0
- package/dist/bundle/{chunk-6IHXKMY6.js → chunk-XK5BAPHF.js} +7 -7
- package/dist/bundle/{chunk-ZNNGK73C.js → chunk-XQGN2D44.js} +3 -3
- package/dist/bundle/{chunk-XZLOQNS7.js → chunk-YKSH7BY2.js} +121 -36
- package/dist/bundle/{chunk-ZS6T2PYQ.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-BY3NKT34.js → chunk-ZJEENQRH.js} +12 -12
- package/dist/bundle/{chunk-SMEEFN65.js → chunk-ZZOCAZSZ.js} +3 -3
- package/dist/bundle/command-contract-BGTXROZA.js +40 -0
- package/dist/bundle/{command-server-entry-BFXXPNJO.js → command-server-entry-PDLRF2RV.js} +28 -28
- package/dist/bundle/{decode-5M7R44BR.js → decode-26M7XE2B.js} +5 -5
- package/dist/bundle/{dispatch-B2EP6DDT.js → dispatch-2FTOHA5D.js} +8 -8
- package/dist/bundle/{echarts-7MBFY6SZ.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-Y4GYNHRX.js → embed-XJLEAWXE.js} +6 -6
- package/dist/bundle/{embedder-FI4T4LQB.js → embedder-OEL6PXEH.js} +9 -9
- package/dist/bundle/{failure-AOACEURF.js → failure-OHIXWTR6.js} +2 -2
- package/dist/bundle/{first-run-YY66AKKG.js → first-run-J2T4IKK4.js} +12 -12
- package/dist/bundle/first-screen-Q5KYFT3R.js +41 -0
- package/dist/bundle/hubspot.js +27 -27
- package/dist/bundle/{instructions-SM7TKV6L.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5H6VGK6O.js +25 -0
- package/dist/bundle/{meeting-model-DKLMBQXX.js → meeting-model-USLGH5SE.js} +11 -11
- package/dist/bundle/{meeting-semantic-C5T6UDVB.js → meeting-semantic-Q6XYFYUD.js} +6 -6
- package/dist/bundle/{node-OS6OQF3F.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-2XTWZ4HL.js → node-sqlite-2SWWGW6H.js} +7 -7
- package/dist/bundle/{oauth-BSSJ66FC.js → oauth-V5LGTXF2.js} +7 -7
- package/dist/bundle/{open-UZ3TKWDY.js → open-25EKOTZA.js} +5 -5
- package/dist/bundle/{openai-POVKFBTC.js → openai-CH37GSZS.js} +15 -15
- package/dist/bundle/{process-A7ZJGQ6G.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-Q3JFUVC6.js → program-G4OZFVUI.js} +105 -101
- package/dist/bundle/{prompt-TYOYTRJM.js → prompt-2VSPX5S7.js} +5 -5
- package/dist/bundle/public-WB7IWBMR.js +196 -0
- package/dist/bundle/{recognize-GGFRONZT.js → recognize-NA5XUFKK.js} +4 -4
- package/dist/bundle/{remote-K4SLWHMI.js → remote-NRJOX6XW.js} +9 -9
- package/dist/bundle/{rerank-2QTKDUBV.js → rerank-NG3XMFCV.js} +7 -7
- package/dist/bundle/{schemas-EXBNVPMI.js → schemas-SKF4MZBJ.js} +1 -1
- package/dist/bundle/{serve-FG2G2X6Y.js → serve-MR67OBED.js} +9 -9
- package/dist/bundle/server-LFNGSVUQ.js +88 -0
- package/dist/bundle/{server-KRDHBT5Q.js → server-NZPHVRS6.js} +62 -60
- package/dist/bundle/{source-XP2JNUVU.js → source-P2KVDTJ5.js} +75 -73
- package/dist/bundle/{sqlite-runtime-TWV7KFLA.js → sqlite-runtime-V5U6F5EB.js} +6 -6
- package/dist/bundle/{state-EFX5ZQED.js → state-L4MWAATO.js} +6 -6
- package/dist/bundle/store-ARASPKTV.js +34 -0
- package/dist/bundle/{store-QPVH5VPJ.js → store-JFIZLDKO.js} +22 -22
- package/dist/bundle/{store-MNQ6YQIS.js → store-SUHY3G2X.js} +27 -24
- package/dist/bundle/store-maintenance-command-L2FXCEGU.js +75 -0
- package/dist/bundle/surface-NQK7CQ33.js +74 -0
- package/dist/bundle/writer-TYTMOXXA.js +88 -0
- package/dist/config.d.ts +5 -38
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/crm/source.js +1 -1
- package/dist/crm/source.js.map +1 -1
- package/dist/generated/definitions.d.ts +1 -1
- package/dist/generated/definitions.d.ts.map +1 -1
- package/dist/generated/manifest.d.ts +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-JXICB6TB.js +0 -40
- package/dist/bundle/chunk-HX2BE7DO.js +0 -40
- package/dist/bundle/chunk-YOVIH4QI.js +0 -1269
- package/dist/bundle/command-contract-7EWUA6E6.js +0 -40
- package/dist/bundle/first-screen-U7Z63VXE.js +0 -40
- package/dist/bundle/meeting-combined-B444C4NF.js +0 -25
- package/dist/bundle/server-VFKK6OS4.js +0 -86
- package/dist/bundle/store-LON2XRIS.js +0 -34
- package/dist/bundle/store-maintenance-command-YEMPRNJX.js +0 -73
- package/dist/bundle/surface-UJRMT6QT.js +0 -72
- package/dist/bundle/writer-NOSHE7ZI.js +0 -86
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-D7NSIQBI.js";
|
|
6
6
|
import {
|
|
7
7
|
RECORD_TYPES
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BGWQIFAS.js";
|
|
9
9
|
import {
|
|
10
10
|
parseReference
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AINKLKDN.js";
|
|
12
12
|
import {
|
|
13
13
|
defineReasons
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QPPOIWPY.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
20
20
|
var LINK_VERSION = "v1";
|
|
21
21
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
22
22
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -137,7 +137,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
|
|
|
137
137
|
return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
|
|
138
138
|
}, "linkFor");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/records-table.js
|
|
141
141
|
var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
|
|
142
142
|
|
|
143
143
|
// node_modules/.pnpm/qrcode-generator@2.0.4/node_modules/qrcode-generator/dist/qrcode.mjs
|
|
@@ -1801,7 +1801,7 @@ var REASONS2 = defineReasons(OWN.filter(([reason]) => !CORE.has(reason)).map(([r
|
|
|
1801
1801
|
var DETAILS2 = ["account", "profile", "profiles", "status", "scope"];
|
|
1802
1802
|
|
|
1803
1803
|
// dist/version.js
|
|
1804
|
-
var VERSION = "0.
|
|
1804
|
+
var VERSION = "0.8.0";
|
|
1805
1805
|
|
|
1806
1806
|
// dist/identity.js
|
|
1807
1807
|
var PACKAGE = "@wirecat/hubspot-cli";
|
|
@@ -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-3YM4B2GT.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5JKTVAXX.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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");
|
|
@@ -2,36 +2,36 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
commandAvailability
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4NLZXDXP.js";
|
|
6
6
|
import {
|
|
7
7
|
lentConnection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MYXUJCJD.js";
|
|
9
9
|
import {
|
|
10
10
|
QUERY_ARGUMENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PFYPJUWX.js";
|
|
12
12
|
import {
|
|
13
13
|
changesMessenger,
|
|
14
14
|
flatten
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H6AH45GE.js";
|
|
16
16
|
import {
|
|
17
17
|
currentCaller
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GIMHJ7HA.js";
|
|
19
19
|
import {
|
|
20
20
|
enclosingTraceId,
|
|
21
21
|
inRun,
|
|
22
22
|
newRunId,
|
|
23
23
|
traceOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XIKSGUMQ.js";
|
|
25
25
|
import {
|
|
26
26
|
authorityAllowed,
|
|
27
27
|
botApiAllowed
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IPKCM55K.js";
|
|
29
29
|
import {
|
|
30
30
|
queryDescription
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RQORQN2V.js";
|
|
32
32
|
import {
|
|
33
33
|
captureStreams
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5JKTVAXX.js";
|
|
35
35
|
import {
|
|
36
36
|
COMPACT_FLAG,
|
|
37
37
|
SNAKE_CASE,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
text,
|
|
42
42
|
word,
|
|
43
43
|
writes
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QPPOIWPY.js";
|
|
45
45
|
import {
|
|
46
46
|
array,
|
|
47
47
|
boolean,
|
|
@@ -65,15 +65,15 @@ import {
|
|
|
65
65
|
} from "./chunk-S4UUN6LD.js";
|
|
66
66
|
import {
|
|
67
67
|
CliError
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-S6JG4YUH.js";
|
|
69
69
|
import {
|
|
70
70
|
__name
|
|
71
71
|
} from "./chunk-ZVVMGPBJ.js";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
74
74
|
import { Readable } from "node:stream";
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
77
77
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
78
78
|
var lintRuleSchema = strictObject({
|
|
79
79
|
id: word,
|
|
@@ -219,7 +219,7 @@ var overrideSchema = strictObject({
|
|
|
219
219
|
});
|
|
220
220
|
var overridesSchema = array(overrideSchema);
|
|
221
221
|
|
|
222
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
222
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
223
223
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
224
224
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
225
225
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -338,8 +338,23 @@ var FAMILY_SINCE_0_98 = [
|
|
|
338
338
|
review_after: "2026-12-10"
|
|
339
339
|
}
|
|
340
340
|
];
|
|
341
|
+
var CONFIG_UNREADABLE_RENAME = [
|
|
342
|
+
"account-rename.config=config.unreadable=mail.config-unreadable",
|
|
343
|
+
"account-rename.config=config.unreadable",
|
|
344
|
+
"config.unreadable=mail.config-unreadable"
|
|
345
|
+
].map((ids) => ({
|
|
346
|
+
rule: REASON,
|
|
347
|
+
target: `reason ${ids}`,
|
|
348
|
+
reason: "one failure under several names while the CLIs move to cli-core 1.0, which names it config.unreadable",
|
|
349
|
+
review_after: "2026-12-09"
|
|
350
|
+
}));
|
|
341
351
|
var PARITY_GROUPS = defineParityGroups([
|
|
342
|
-
{
|
|
352
|
+
{
|
|
353
|
+
name: "messengers",
|
|
354
|
+
members: ["tg", "max"],
|
|
355
|
+
covers: "tree",
|
|
356
|
+
differences: [...MESSENGERS_SINCE_0_98, ...CONFIG_UNREADABLE_RENAME]
|
|
357
|
+
},
|
|
343
358
|
{
|
|
344
359
|
name: "all",
|
|
345
360
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
@@ -430,7 +445,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
430
445
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
431
446
|
]);
|
|
432
447
|
|
|
433
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
448
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
434
449
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
435
450
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
436
451
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -446,7 +461,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
446
461
|
}
|
|
447
462
|
]);
|
|
448
463
|
|
|
449
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
464
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
450
465
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
451
466
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
452
467
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -468,7 +483,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
468
483
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
469
484
|
]);
|
|
470
485
|
|
|
471
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
486
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
472
487
|
var ACCOUNT_FLAGS = [
|
|
473
488
|
{
|
|
474
489
|
name: "--client-id",
|
|
@@ -505,7 +520,7 @@ var ACCOUNT_FLAGS = [
|
|
|
505
520
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
506
521
|
];
|
|
507
522
|
|
|
508
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
523
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
509
524
|
var CALENDAR_FLAGS = [
|
|
510
525
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
511
526
|
{
|
|
@@ -593,7 +608,7 @@ var CALENDAR_FLAGS = [
|
|
|
593
608
|
}
|
|
594
609
|
];
|
|
595
610
|
|
|
596
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
611
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
|
|
597
612
|
var CONTENT_FLAGS = [
|
|
598
613
|
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
599
614
|
{
|
|
@@ -608,10 +623,30 @@ var CONTENT_FLAGS = [
|
|
|
608
623
|
role: "mode",
|
|
609
624
|
type: "switch",
|
|
610
625
|
meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
name: "--from-template",
|
|
629
|
+
value: "<template>",
|
|
630
|
+
role: "value",
|
|
631
|
+
type: "string",
|
|
632
|
+
meaning: "start the new page from one of the source's page templates, by name or id; not a message --template"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
name: "--cover",
|
|
636
|
+
value: "<link>",
|
|
637
|
+
role: "value",
|
|
638
|
+
type: "string",
|
|
639
|
+
meaning: "the page's cover image, by an https link, or none to take it away; a local image file is --photo"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
name: "--allow-deleting-content",
|
|
643
|
+
role: "mode",
|
|
644
|
+
type: "switch",
|
|
645
|
+
meaning: "let an update delete the child pages and databases its new text leaves out; the source keeps them in its trash, unlike --allow-delete"
|
|
611
646
|
}
|
|
612
647
|
];
|
|
613
648
|
|
|
614
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
649
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
615
650
|
var CRM_FLAGS = [
|
|
616
651
|
{
|
|
617
652
|
name: "--email",
|
|
@@ -775,7 +810,7 @@ var CRM_FLAGS = [
|
|
|
775
810
|
}
|
|
776
811
|
];
|
|
777
812
|
|
|
778
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
813
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
779
814
|
var HOW_FLAGS = [
|
|
780
815
|
{
|
|
781
816
|
name: "--limit",
|
|
@@ -1768,7 +1803,7 @@ var HOW_FLAGS = [
|
|
|
1768
1803
|
}
|
|
1769
1804
|
];
|
|
1770
1805
|
|
|
1771
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1806
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1772
1807
|
var KNOWLEDGE_FLAGS = [
|
|
1773
1808
|
{
|
|
1774
1809
|
name: "--accept-terms",
|
|
@@ -1824,10 +1859,24 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1824
1859
|
role: "target",
|
|
1825
1860
|
type: "string",
|
|
1826
1861
|
meaning: "every stored thing a search with this query finds, in its query language; the command acts on each"
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
name: "--since",
|
|
1865
|
+
value: "<time>",
|
|
1866
|
+
role: "target",
|
|
1867
|
+
type: "time",
|
|
1868
|
+
meaning: "from this time on: a time, or a duration ago such as 1d"
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
name: "--event",
|
|
1872
|
+
value: "<events>",
|
|
1873
|
+
role: "target",
|
|
1874
|
+
type: "list",
|
|
1875
|
+
meaning: "only these kinds of event, comma separated; the command lists them"
|
|
1827
1876
|
}
|
|
1828
1877
|
];
|
|
1829
1878
|
|
|
1830
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1879
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1831
1880
|
var MAIL_FLAGS = [
|
|
1832
1881
|
{
|
|
1833
1882
|
name: "--cc",
|
|
@@ -1857,7 +1906,7 @@ var MAIL_FLAGS = [
|
|
|
1857
1906
|
}
|
|
1858
1907
|
];
|
|
1859
1908
|
|
|
1860
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1909
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mirror.js
|
|
1861
1910
|
var MIRROR_FLAGS = [
|
|
1862
1911
|
{
|
|
1863
1912
|
name: "--keep",
|
|
@@ -1888,7 +1937,7 @@ var MIRROR_FLAGS = [
|
|
|
1888
1937
|
}
|
|
1889
1938
|
];
|
|
1890
1939
|
|
|
1891
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1940
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1892
1941
|
var PRIVACY_FLAGS = [
|
|
1893
1942
|
{
|
|
1894
1943
|
name: "--about-text",
|
|
@@ -1949,7 +1998,7 @@ var PRIVACY_FLAGS = [
|
|
|
1949
1998
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1950
1999
|
];
|
|
1951
2000
|
|
|
1952
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2001
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1953
2002
|
var SCHEDULE_FLAGS = [
|
|
1954
2003
|
{
|
|
1955
2004
|
name: "--locale",
|
|
@@ -1982,7 +2031,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1982
2031
|
}
|
|
1983
2032
|
];
|
|
1984
2033
|
|
|
1985
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2034
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-search.js
|
|
1986
2035
|
var SEARCH_FLAGS = [
|
|
1987
2036
|
{
|
|
1988
2037
|
name: "--like",
|
|
@@ -1993,7 +2042,7 @@ var SEARCH_FLAGS = [
|
|
|
1993
2042
|
}
|
|
1994
2043
|
];
|
|
1995
2044
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2045
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1997
2046
|
var WHAT_FLAGS = [
|
|
1998
2047
|
{
|
|
1999
2048
|
name: "--analysis-provider",
|
|
@@ -2405,7 +2454,7 @@ var WHAT_FLAGS = [
|
|
|
2405
2454
|
type: "string",
|
|
2406
2455
|
meaning: "an organization: its id or organization:<id>"
|
|
2407
2456
|
},
|
|
2408
|
-
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder or
|
|
2457
|
+
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder, task or issue it sits under" },
|
|
2409
2458
|
{
|
|
2410
2459
|
name: "--participant-id",
|
|
2411
2460
|
value: "<id>",
|
|
@@ -2683,7 +2732,6 @@ var WHAT_FLAGS = [
|
|
|
2683
2732
|
type: "choice",
|
|
2684
2733
|
meaning: "how it is closed: done, or dismissed when it needs no answer"
|
|
2685
2734
|
},
|
|
2686
|
-
{ name: "--assignee", value: "<person...>", role: "value", type: "list", meaning: "who does it, by UID" },
|
|
2687
2735
|
{ name: "--at", value: "<hh:mm>", role: "value", type: "string", meaning: "every day at this local time" },
|
|
2688
2736
|
{ name: "--body", value: "<json>", role: "value", type: "string", meaning: "the request body, as JSON" },
|
|
2689
2737
|
{
|
|
@@ -2841,7 +2889,6 @@ var WHAT_FLAGS = [
|
|
|
2841
2889
|
type: "id",
|
|
2842
2890
|
meaning: "pin this chat at the top of it; repeat it for more"
|
|
2843
2891
|
},
|
|
2844
|
-
{ name: "--priority", value: "<n>", role: "value", type: "count", meaning: "0 urgent \u2026 4 low" },
|
|
2845
2892
|
{ name: "--quiz", role: "value", type: "switch", meaning: "a quiz: one answer is right, and a vote is final" },
|
|
2846
2893
|
{
|
|
2847
2894
|
name: "--reason",
|
|
@@ -2990,7 +3037,33 @@ var WHAT_FLAGS = [
|
|
|
2990
3037
|
}
|
|
2991
3038
|
];
|
|
2992
3039
|
|
|
2993
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3040
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-work.js
|
|
3041
|
+
var WORK_FLAGS = [
|
|
3042
|
+
{
|
|
3043
|
+
name: "--assignee",
|
|
3044
|
+
value: "<person...>",
|
|
3045
|
+
role: "value",
|
|
3046
|
+
type: "list",
|
|
3047
|
+
otherValues: ["user"],
|
|
3048
|
+
meaning: "who does it: people by UID (<person...>), or one tracker user by id, name or e-mail (<user>)"
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
name: "--priority",
|
|
3052
|
+
value: "<n>",
|
|
3053
|
+
role: "value",
|
|
3054
|
+
type: "string",
|
|
3055
|
+
meaning: "how urgent: low, medium, high, critical or none, a score from 0.0 to 1.0, or the old 0 urgent \u2026 4 low"
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
name: "--team",
|
|
3059
|
+
value: "<team>",
|
|
3060
|
+
role: "value",
|
|
3061
|
+
type: "string",
|
|
3062
|
+
meaning: "the tracker team that owns an issue, by id, key or name"
|
|
3063
|
+
}
|
|
3064
|
+
];
|
|
3065
|
+
|
|
3066
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2994
3067
|
var FLAG_TYPES = [
|
|
2995
3068
|
"switch",
|
|
2996
3069
|
"count",
|
|
@@ -3148,6 +3221,7 @@ var verbs = [
|
|
|
3148
3221
|
"look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
|
|
3149
3222
|
],
|
|
3150
3223
|
["send", "send a message"],
|
|
3224
|
+
["reply", "answer in a comment thread at the source, under the comment that started it"],
|
|
3151
3225
|
["call", "call one provider API method by its own name, generated from the provider's method list"],
|
|
3152
3226
|
["edit", "change a sent message"],
|
|
3153
3227
|
["forward", "send an existing message on to another chat"],
|
|
@@ -3272,6 +3346,7 @@ var collections = [
|
|
|
3272
3346
|
["teams", "groups in a tracker that own issues, states and labels"],
|
|
3273
3347
|
["states", "the workflow steps a tracker team moves its issues through, each of a type such as started"],
|
|
3274
3348
|
["labels", "a tracker's shared labels on issues, kept by the tracker and not by the owner"],
|
|
3349
|
+
["sprints", "a tracker team's time-boxed runs of work, such as Linear's cycles, each with a start and an end"],
|
|
3275
3350
|
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
3276
3351
|
["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
|
|
3277
3352
|
["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
|
|
@@ -3284,13 +3359,19 @@ var collections = [
|
|
|
3284
3359
|
["relationships", "confirmed or suggested links between people, organizations and projects"],
|
|
3285
3360
|
["roles", "the parts a person plays in a relationship, built in or the owner's own"],
|
|
3286
3361
|
["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
|
|
3362
|
+
[
|
|
3363
|
+
"databases",
|
|
3364
|
+
"a source's databases, such as Notion's, each a set of rows with typed properties; the local store's are tables"
|
|
3365
|
+
],
|
|
3366
|
+
["rows", "the records of a database at the source, each with typed values; an order's or an invoice's are lines"],
|
|
3287
3367
|
["files", "files in the source, such as Google Drive, read and changed there"],
|
|
3288
3368
|
["mirrors", "saved pairings of a local folder and a folder in the source, which sync keeps the same both ways"],
|
|
3289
3369
|
[
|
|
3290
3370
|
"conflicts",
|
|
3291
3371
|
"files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file"
|
|
3292
3372
|
],
|
|
3293
|
-
["
|
|
3373
|
+
["versions", "earlier contents of a file that a write replaced or deleted, kept on this computer to be put back"],
|
|
3374
|
+
["comments", "comments people left on a thing in the source: a channel post, a file or an issue"],
|
|
3294
3375
|
["meetings", "stored meetings, from Zoom or another provider"],
|
|
3295
3376
|
["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
|
|
3296
3377
|
["calendars", "calendars of an account, each synced or not"],
|
|
@@ -3359,6 +3440,7 @@ var views = [
|
|
|
3359
3440
|
["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
|
|
3360
3441
|
["logs", "the log of a running process"],
|
|
3361
3442
|
["events", "what happened in a thing over time"],
|
|
3443
|
+
["changes", "what a sync changed in the local copy since a time: added, changed, deleted or no longer visible"],
|
|
3362
3444
|
["scheduled", "what is scheduled to happen"],
|
|
3363
3445
|
["context", "what surrounds one thing"],
|
|
3364
3446
|
["path", "where a thing is on this machine"],
|
|
@@ -3369,6 +3451,8 @@ var views = [
|
|
|
3369
3451
|
["transcript", "the text of speech: a voice message or a meeting recording"],
|
|
3370
3452
|
["evidence", "the stored messages or lines a result or a reference rests on"],
|
|
3371
3453
|
["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
|
|
3454
|
+
["summary", "the summary a service wrote of a meeting, with its sections and next steps"],
|
|
3455
|
+
["people", "the people found across stored meetings by name or email, with the meetings they were in"],
|
|
3372
3456
|
["invitation", "the text that invites people to a meeting: how to join it and when"],
|
|
3373
3457
|
["agenda", "what needs a look today"],
|
|
3374
3458
|
["busy", "when calendars or people are taken, without what takes them"],
|
|
@@ -3432,11 +3516,12 @@ var VOCABULARY = defineVocabulary({
|
|
|
3432
3516
|
...SCHEDULE_FLAGS,
|
|
3433
3517
|
...CONTENT_FLAGS,
|
|
3434
3518
|
...SEARCH_FLAGS,
|
|
3435
|
-
...MIRROR_FLAGS
|
|
3519
|
+
...MIRROR_FLAGS,
|
|
3520
|
+
...WORK_FLAGS
|
|
3436
3521
|
]
|
|
3437
3522
|
});
|
|
3438
3523
|
|
|
3439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3524
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3440
3525
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3441
3526
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3442
3527
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -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-S6JG4YUH.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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();
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HZ3C4WXD.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-V7IF2K3P.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UDSL3MUU.js";
|
|
16
16
|
import {
|
|
17
17
|
installerOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TXDR6YSF.js";
|
|
19
19
|
import {
|
|
20
20
|
sharedConfigPath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TTF5DP4V.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-L72WUJAS.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-JFIZLDKO.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-25EKOTZA.js"),
|
|
117
|
+
import("./store-maintenance-command-L2FXCEGU.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-Q5KYFT3R.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
200
200
|
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
201
|
all: start.path.length === 1 && start.path[0] === "setup",
|
|
202
202
|
io: {
|
|
203
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-2VSPX5S7.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
SERVICE,
|
|
6
6
|
readActivity,
|
|
7
7
|
segment
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OGVSGXPI.js";
|
|
9
9
|
import {
|
|
10
10
|
foldFieldName,
|
|
11
11
|
values_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FRF32QVB.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
isCliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S6JG4YUH.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-JBZYHRUN.js";
|
|
10
|
+
import "./chunk-H6AH45GE.js";
|
|
11
|
+
import "./chunk-GIMHJ7HA.js";
|
|
12
|
+
import "./chunk-V7IF2K3P.js";
|
|
13
|
+
import "./chunk-NA2B6PYR.js";
|
|
14
|
+
import "./chunk-3YM4B2GT.js";
|
|
15
|
+
import "./chunk-VNMEE4ZZ.js";
|
|
16
|
+
import "./chunk-XIKSGUMQ.js";
|
|
17
|
+
import "./chunk-JLXXUEAM.js";
|
|
18
|
+
import "./chunk-7Z53MLQP.js";
|
|
19
|
+
import "./chunk-LM3W7YOM.js";
|
|
20
|
+
import "./chunk-IPKCM55K.js";
|
|
21
|
+
import "./chunk-AINKLKDN.js";
|
|
22
|
+
import "./chunk-XEQQJBBO.js";
|
|
23
|
+
import "./chunk-RRTMPSQR.js";
|
|
24
|
+
import "./chunk-RQORQN2V.js";
|
|
25
|
+
import "./chunk-DNCLQPOM.js";
|
|
26
|
+
import "./chunk-TTF5DP4V.js";
|
|
27
|
+
import "./chunk-L72WUJAS.js";
|
|
28
|
+
import "./chunk-5JKTVAXX.js";
|
|
29
|
+
import "./chunk-QPPOIWPY.js";
|
|
30
|
+
import "./chunk-S4UUN6LD.js";
|
|
31
|
+
import "./chunk-Y5E2WNWB.js";
|
|
32
|
+
import "./chunk-S6JG4YUH.js";
|
|
33
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
34
|
+
export {
|
|
35
|
+
SCHEMA_DIALECT,
|
|
36
|
+
commandContract,
|
|
37
|
+
commandPathOf,
|
|
38
|
+
findCommand,
|
|
39
|
+
outputOf
|
|
40
|
+
};
|