@wirecat/attio-cli 0.5.0 → 0.5.2
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/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-YCPGDAWJ.js +37 -0
- package/dist/bundle/{all-profiles-ZM2ULOTA.js → all-profiles-ONLZNT2O.js} +6 -6
- package/dist/bundle/{anthropic-CIJQLJ7U.js → anthropic-7NHDUCS7.js} +2 -2
- package/dist/bundle/{app-server-56GKE6BE.js → app-server-76UZBJNR.js} +53 -53
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{bun-3D6UYEKL.js → bun-3M7LDMJY.js} +2 -2
- package/dist/bundle/{bun-sqlite-TWXFZF7R.js → bun-sqlite-WWPYULNT.js} +3 -3
- package/dist/bundle/{chunk-AXJNIMPZ.js → chunk-2HU7TYQK.js} +1 -1
- package/dist/bundle/{chunk-DYLNV6GY.js → chunk-3MZREGLN.js} +11 -11
- package/dist/bundle/{chunk-Y7SRFHYL.js → chunk-3QYMX2QX.js} +2 -2
- package/dist/bundle/{chunk-HTTGJI6G.js → chunk-3TFPJCTB.js} +23 -23
- package/dist/bundle/{chunk-HU6HKKIH.js → chunk-65OPLJBL.js} +2 -2
- package/dist/bundle/{chunk-4V6ARVEH.js → chunk-6MEPMDWU.js} +183 -159
- package/dist/bundle/{chunk-QWBCCZNQ.js → chunk-6MPA7CKD.js} +2 -2
- package/dist/bundle/{chunk-6ITXXXQN.js → chunk-764RTGNI.js} +2 -2
- package/dist/bundle/{chunk-ZLCTHTOK.js → chunk-7ONN7UCC.js} +1 -1
- package/dist/bundle/{chunk-WZAQ7U2F.js → chunk-A5A2I2DY.js} +1 -1
- package/dist/bundle/{chunk-LTMLSN6W.js → chunk-ABMNYUSQ.js} +11 -11
- package/dist/bundle/{chunk-O3GNIUUI.js → chunk-AYF2JNHE.js} +2 -2
- package/dist/bundle/{chunk-ZNQ3NNAB.js → chunk-BSPMRKPS.js} +5 -5
- package/dist/bundle/{chunk-MOTQBDFB.js → chunk-DOTBJMPB.js} +2 -2
- package/dist/bundle/{chunk-T4SPEBOI.js → chunk-EKRO2AYG.js} +7 -7
- package/dist/bundle/{chunk-DBAZ5TBW.js → chunk-F5IGO45Z.js} +5 -5
- package/dist/bundle/{chunk-EXWFB2XY.js → chunk-FVBZHGFE.js} +1 -1
- package/dist/bundle/{chunk-U6W3NW74.js → chunk-GHT7KPTC.js} +32 -32
- package/dist/bundle/{chunk-JQ5NTPT5.js → chunk-H7RYW7CD.js} +1 -1
- package/dist/bundle/{chunk-CRK3LRCL.js → chunk-HGD4JW37.js} +10 -10
- package/dist/bundle/{chunk-VE6L6TDH.js → chunk-HPYDPVGU.js} +2 -2
- package/dist/bundle/{chunk-V6GEPZWY.js → chunk-J3ZQ4JWD.js} +32 -32
- package/dist/bundle/{chunk-QD7INIE3.js → chunk-JRHDYND7.js} +1 -1
- package/dist/bundle/{chunk-CVHEO4HS.js → chunk-KTGIA7CC.js} +530 -412
- package/dist/bundle/{chunk-YITSNC3D.js → chunk-KWJ4GAYR.js} +3 -3
- package/dist/bundle/{chunk-K45K3AJU.js → chunk-LQDZSJ3V.js} +1 -1
- package/dist/bundle/{chunk-M7UG4UBJ.js → chunk-LSFZSGQK.js} +2 -2
- package/dist/bundle/{chunk-7JUZNTYO.js → chunk-M62QM7VF.js} +9 -9
- package/dist/bundle/{chunk-WQKMBZRF.js → chunk-MFPYCWMY.js} +4 -4
- package/dist/bundle/{chunk-OE3J3P24.js → chunk-MUDJABVF.js} +2 -2
- package/dist/bundle/{chunk-EPLC6LQP.js → chunk-N6VLRVCC.js} +51 -51
- package/dist/bundle/{chunk-4KLCWI57.js → chunk-NCYBA5FH.js} +2 -2
- package/dist/bundle/{chunk-KYGX7XUZ.js → chunk-NGVO2UTA.js} +16 -16
- package/dist/bundle/{chunk-Q5VVEFXR.js → chunk-NN7Z5RK6.js} +7 -7
- package/dist/bundle/{chunk-6ZEG7MR3.js → chunk-NPYPL7FT.js} +1 -1
- package/dist/bundle/{chunk-HNH7EVWO.js → chunk-OLKDUVWD.js} +12 -12
- package/dist/bundle/{chunk-OI4WM2AM.js → chunk-PQHS4Z5G.js} +1 -1
- package/dist/bundle/{chunk-6C6RHNUB.js → chunk-PVZK2COW.js} +4 -4
- package/dist/bundle/{chunk-YSA36HJM.js → chunk-PYFVVNAD.js} +1 -1
- package/dist/bundle/{chunk-X5TBQOYI.js → chunk-PZBQH5B7.js} +2 -2
- package/dist/bundle/{chunk-QDU4MLUN.js → chunk-PZE4D63W.js} +5 -5
- package/dist/bundle/{chunk-TBRD6I2W.js → chunk-QRHPXZST.js} +2 -2
- package/dist/bundle/{chunk-33HYI76J.js → chunk-RDXB7HFB.js} +2 -2
- package/dist/bundle/{chunk-XJ7LTHXM.js → chunk-RUNJPSJ3.js} +324 -280
- package/dist/bundle/{chunk-R5TIPW5A.js → chunk-S3SA2XXD.js} +9 -9
- package/dist/bundle/{chunk-EPWOY5UJ.js → chunk-S552I4P7.js} +1 -1
- package/dist/bundle/{chunk-KNJ5W5ZZ.js → chunk-STEUWWU5.js} +22 -11
- package/dist/bundle/{chunk-GSA2HYGF.js → chunk-T2TW53JB.js} +6 -6
- package/dist/bundle/{chunk-VTAZ4LL7.js → chunk-T3QKHFGB.js} +12 -12
- package/dist/bundle/{chunk-7PXDDBH7.js → chunk-TF33UDFE.js} +1 -1
- package/dist/bundle/{chunk-SQOHCWB2.js → chunk-TL7NUBVM.js} +1 -1
- package/dist/bundle/{chunk-MH55F2Z2.js → chunk-TVDBAZFO.js} +5 -5
- package/dist/bundle/{chunk-XBMJAFXC.js → chunk-U3KTIE6B.js} +1 -1
- package/dist/bundle/{chunk-BMDM6I5G.js → chunk-UFFAPBAP.js} +4 -4
- package/dist/bundle/{chunk-ORMKVY7L.js → chunk-V2AF7BYP.js} +54 -54
- package/dist/bundle/{chunk-CQZREDFS.js → chunk-V6RWAUX7.js} +3 -3
- package/dist/bundle/{chunk-NJSWOZED.js → chunk-VIXMK7ZG.js} +6 -6
- package/dist/bundle/{chunk-QA5WIEW5.js → chunk-VNGG6O5T.js} +5 -5
- package/dist/bundle/{chunk-HMORLIGS.js → chunk-WUECAFAJ.js} +1 -1
- package/dist/bundle/{chunk-46U5WHCF.js → chunk-WVXEVCMY.js} +7 -7
- package/dist/bundle/{chunk-HXHQBYLN.js → chunk-X6NSSCMF.js} +1 -1
- package/dist/bundle/{chunk-MVSBV6U7.js → chunk-Y2HZQMNK.js} +1 -1
- package/dist/bundle/{chunk-OJ7P7IK5.js → chunk-YQNZFXOW.js} +6 -6
- package/dist/bundle/{command-contract-SLVMJ557.js → command-contract-7BABQLZN.js} +15 -15
- package/dist/bundle/{command-server-entry-MIZABAB2.js → command-server-entry-6UEGWYW7.js} +21 -21
- package/dist/bundle/{decode-3K7AMIIK.js → decode-BF2CNTOP.js} +2 -2
- package/dist/bundle/{echarts-HQ3M6PY5.js → echarts-ELZMS7DC.js} +2 -2
- package/dist/bundle/{embed-MYNNE2KU.js → embed-SXU7JVUG.js} +3 -3
- package/dist/bundle/{embedder-MZM52STR.js → embedder-ZVNBHGXC.js} +6 -6
- package/dist/bundle/{first-run-FNH4L2MF.js → first-run-SLIPSHPE.js} +6 -6
- package/dist/bundle/first-screen-UPNPU4MF.js +37 -0
- package/dist/bundle/{instructions-JCYBL6AU.js → instructions-Q6QKH7MV.js} +1 -1
- package/dist/bundle/{meeting-combined-FIPUL6DF.js → meeting-combined-DLXVVC5J.js} +10 -10
- package/dist/bundle/{meeting-model-36UKUPUK.js → meeting-model-XJ6OWIAP.js} +8 -8
- package/dist/bundle/{meeting-semantic-NX6AQT6U.js → meeting-semantic-7TJE4HX6.js} +2 -2
- package/dist/bundle/{node-US26HP3Q.js → node-YNLEE4BB.js} +2 -2
- package/dist/bundle/{node-sqlite-7SJYGLZB.js → node-sqlite-24VK6J3W.js} +4 -4
- package/dist/bundle/{oauth-GMDEZTLF.js → oauth-4TLSBITF.js} +4 -4
- package/dist/bundle/{open-WJINQYGM.js → open-U6M2RLYK.js} +2 -2
- package/dist/bundle/{openai-DNLCKN6O.js → openai-UKD2XQ5J.js} +12 -12
- package/dist/bundle/{process-2TFFZAX6.js → process-UIE2CRFP.js} +1 -1
- package/dist/bundle/{program-Y3GX3KE4.js → program-GF35ICCN.js} +487 -401
- package/dist/bundle/{prompt-OEPGHWMQ.js → prompt-TSDXFP3E.js} +2 -2
- package/dist/bundle/{recognize-7C4PENI6.js → recognize-Y534SZIK.js} +1 -1
- package/dist/bundle/{remote-HNRRZA6M.js → remote-PJNOYKXU.js} +6 -6
- package/dist/bundle/{rerank-JNDOOOIZ.js → rerank-TE4HIS5A.js} +4 -4
- package/dist/bundle/{serve-ATTJW7LZ.js → serve-ZOZWJKHB.js} +6 -6
- package/dist/bundle/{server-OHKISLVN.js → server-3K4IC4OA.js} +45 -45
- package/dist/bundle/server-HPHPHKNF.js +79 -0
- package/dist/bundle/{sqlite-runtime-TEZ56D53.js → sqlite-runtime-6R6CHLEM.js} +3 -3
- package/dist/bundle/{state-SMWKWKIB.js → state-DFAH57DP.js} +3 -3
- package/dist/bundle/{store-YCWZZ3LG.js → store-6B5JF2LC.js} +16 -16
- package/dist/bundle/{store-6SKOO4IN.js → store-LPO5SHGK.js} +14 -14
- package/dist/bundle/store-maintenance-command-UBNM3ADW.js +66 -0
- package/dist/bundle/surface-WQ7UR2NJ.js +65 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +7 -4
- package/dist/hooks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/agent-EIWQ37E3.js +0 -37
- package/dist/bundle/first-screen-TJE6JEAN.js +0 -37
- package/dist/bundle/server-IMVPAMM6.js +0 -79
- package/dist/bundle/store-maintenance-command-I5BNK4RE.js +0 -66
- package/dist/bundle/surface-NXFOGLLG.js +0 -65
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PZE4D63W.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JRHDYND7.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -12,7 +12,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { pipeline, Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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) => {
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
failureContext
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-STEUWWU5.js";
|
|
10
10
|
import {
|
|
11
11
|
onlineDeps,
|
|
12
12
|
refuseLacking,
|
|
13
13
|
servicesFor,
|
|
14
14
|
storeModeDeps
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RUNJPSJ3.js";
|
|
16
16
|
import {
|
|
17
17
|
callerOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3QYMX2QX.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_OUTPUT_BYTES,
|
|
21
21
|
ENTITIES,
|
|
@@ -32,23 +32,23 @@ import {
|
|
|
32
32
|
refuseStoreChange,
|
|
33
33
|
sealed,
|
|
34
34
|
startRecording
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6MEPMDWU.js";
|
|
36
36
|
import {
|
|
37
37
|
currentCaller,
|
|
38
38
|
keepsSuccess,
|
|
39
39
|
runContextOf,
|
|
40
40
|
withCaller
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YQNZFXOW.js";
|
|
42
42
|
import {
|
|
43
43
|
MAX_BUFFERED_INPUT
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JRHDYND7.js";
|
|
45
45
|
import {
|
|
46
46
|
inRun,
|
|
47
47
|
newRunId
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-J3ZQ4JWD.js";
|
|
49
49
|
import {
|
|
50
50
|
storeDamaged
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-QRHPXZST.js";
|
|
52
52
|
import {
|
|
53
53
|
traceIdOf
|
|
54
54
|
} from "./chunk-SCBLAAZU.js";
|
|
@@ -89,10 +89,10 @@ import {
|
|
|
89
89
|
__name
|
|
90
90
|
} from "./chunk-ZVVMGPBJ.js";
|
|
91
91
|
|
|
92
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
92
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
93
93
|
import { randomUUID } from "node:crypto";
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
96
96
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
97
97
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
98
98
|
var message = pipe(
|
|
@@ -351,7 +351,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
351
351
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
352
352
|
}, "failed");
|
|
353
353
|
|
|
354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
355
355
|
var MATCHES = 8;
|
|
356
356
|
var ANSWER = answerSchema();
|
|
357
357
|
var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
keyForCommand,
|
|
11
11
|
levelFor,
|
|
12
12
|
readKeysForCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6MEPMDWU.js";
|
|
14
14
|
import {
|
|
15
15
|
writes
|
|
16
16
|
} from "./chunk-DDFQEOLX.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
|
|
22
22
|
var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
|
|
23
23
|
const declaredKey = declared?.keyOf(info.path);
|
|
24
24
|
const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V6RWAUX7.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ 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@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var REGISTRY = "https://registry.npmjs.org";
|
|
684
684
|
var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
|
|
@@ -837,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
837
837
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
838
838
|
}, "openSession");
|
|
839
839
|
|
|
840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
841
841
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
842
842
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
843
843
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readSharedSection,
|
|
5
5
|
writeSharedSection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F5IGO45Z.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
9
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -11,7 +11,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
15
15
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
16
16
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
17
17
|
var SECTION = "setup";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
normalize
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H7RYW7CD.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -10,7 +10,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
14
14
|
var LANGUAGES = [
|
|
15
15
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
16
16
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -18,7 +18,7 @@ var LANGUAGES = [
|
|
|
18
18
|
];
|
|
19
19
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
22
22
|
var BaseStemmer = class {
|
|
23
23
|
static {
|
|
24
24
|
__name(this, "BaseStemmer");
|
|
@@ -393,7 +393,7 @@ var BaseStemmer = class {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
397
397
|
var a_0 = [
|
|
398
398
|
["arsen", -1],
|
|
399
399
|
["commun", -1],
|
|
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1094
1094
|
stemWord = this.stem;
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1098
1098
|
var a_02 = [
|
|
1099
1099
|
["\u0432", 1],
|
|
1100
1100
|
["\u0438\u0432", 2, 1],
|
|
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1517
1517
|
stemWord = this.stem;
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1521
1521
|
var a_03 = [
|
|
1522
1522
|
["", 6],
|
|
1523
1523
|
["\xE1", 1, 1],
|
|
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2193
2193
|
stemWord = this.stem;
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2197
2197
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2198
2198
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2199
2199
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -2,7 +2,7 @@ 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-FVBZHGFE.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
@@ -15,11 +15,11 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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 });
|
|
@@ -7,7 +7,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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";
|
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3TFPJCTB.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PYFVVNAD.js";
|
|
19
19
|
import {
|
|
20
20
|
StdioServerTransport,
|
|
21
21
|
answeredWire,
|
|
22
22
|
serveStdio
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S552I4P7.js";
|
|
24
24
|
import {
|
|
25
25
|
stdinFieldOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TF33UDFE.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3MZREGLN.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NN7Z5RK6.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S3SA2XXD.js";
|
|
37
37
|
import {
|
|
38
38
|
instructions
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LQDZSJ3V.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-ABMNYUSQ.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-STEUWWU5.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-RUNJPSJ3.js";
|
|
69
69
|
import {
|
|
70
70
|
callerOf,
|
|
71
71
|
callingAgent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-3QYMX2QX.js";
|
|
73
73
|
import {
|
|
74
74
|
capability,
|
|
75
75
|
dateWindow
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-OLKDUVWD.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-MFPYCWMY.js";
|
|
84
84
|
import {
|
|
85
85
|
findCommand
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-MUDJABVF.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_OUTPUT_BYTES,
|
|
89
89
|
changesAuthorityAt,
|
|
@@ -101,26 +101,26 @@ import {
|
|
|
101
101
|
rootOf2 as rootOf,
|
|
102
102
|
sealed,
|
|
103
103
|
snakeKeys
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-6MEPMDWU.js";
|
|
105
105
|
import {
|
|
106
106
|
withCaller
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-YQNZFXOW.js";
|
|
108
108
|
import {
|
|
109
109
|
openStore,
|
|
110
110
|
pdfPreviewLimits
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-KTGIA7CC.js";
|
|
112
112
|
import {
|
|
113
113
|
typedCommand
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-J3ZQ4JWD.js";
|
|
115
115
|
import {
|
|
116
116
|
isCliFailure
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-QRHPXZST.js";
|
|
118
118
|
import {
|
|
119
119
|
timezoneOf
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-N6VLRVCC.js";
|
|
121
121
|
import {
|
|
122
122
|
warmEmbedders
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-BSPMRKPS.js";
|
|
124
124
|
import {
|
|
125
125
|
errorObjectOf,
|
|
126
126
|
mcpErrorResult
|
|
@@ -148,10 +148,10 @@ import {
|
|
|
148
148
|
__name
|
|
149
149
|
} from "./chunk-ZVVMGPBJ.js";
|
|
150
150
|
|
|
151
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
152
152
|
import { randomUUID } from "node:crypto";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
155
155
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
156
156
|
let held;
|
|
157
157
|
return {
|
|
@@ -170,7 +170,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
170
170
|
};
|
|
171
171
|
}, "agentLog");
|
|
172
172
|
|
|
173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
174
174
|
var LISTED = 100;
|
|
175
175
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
176
176
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -208,7 +208,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
208
208
|
});
|
|
209
209
|
}, "registerResources");
|
|
210
210
|
|
|
211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
212
212
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
213
213
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
214
214
|
var MessengerSession = class {
|
|
@@ -283,7 +283,7 @@ var MessengerSession = class {
|
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
287
287
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
288
288
|
const _command = messenger.app.command;
|
|
289
289
|
return {
|
|
@@ -337,7 +337,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
337
337
|
};
|
|
338
338
|
}, "attachmentsTools");
|
|
339
339
|
|
|
340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
341
341
|
var PHOTO_LIMIT = 512 * 1024;
|
|
342
342
|
var IMAGE_TYPES = [
|
|
343
343
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -393,7 +393,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
393
393
|
return new Uint8Array(Buffer.concat(chunks));
|
|
394
394
|
}, "readUpTo");
|
|
395
395
|
|
|
396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
397
397
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
398
398
|
stats_charts: tool({
|
|
399
399
|
title: "A chart from a chat's statistics",
|
|
@@ -430,14 +430,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
430
430
|
})
|
|
431
431
|
}), "statsTools");
|
|
432
432
|
|
|
433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
434
434
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
435
435
|
...messagesPhotoTools(messenger),
|
|
436
436
|
...attachmentsTools(messenger),
|
|
437
437
|
...statsTools(messenger)
|
|
438
438
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
439
439
|
|
|
440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
441
441
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
442
442
|
"streams",
|
|
443
443
|
"stdin",
|
|
@@ -753,7 +753,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
753
753
|
}, "serveOverStdio");
|
|
754
754
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
755
755
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
756
|
-
const { serveOverHttp } = await import("./serve-
|
|
756
|
+
const { serveOverHttp } = await import("./serve-ZOZWJKHB.js");
|
|
757
757
|
const appName = messenger.app.command;
|
|
758
758
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
759
759
|
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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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");
|
|
@@ -8,25 +8,25 @@ import {
|
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DOTBJMPB.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EKRO2AYG.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F5IGO45Z.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
21
|
} from "./chunk-K34B37AP.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FVBZHGFE.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@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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-LPO5SHGK.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-U6M2RLYK.js"),
|
|
117
|
+
import("./store-maintenance-command-UBNM3ADW.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-UPNPU4MF.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-TSDXFP3E.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N6VLRVCC.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -10,7 +10,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
|
|
14
14
|
var positive = /* @__PURE__ */ __name((value, name, max) => {
|
|
15
15
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
16
16
|
throw new CliError("validation_error", `Invalid ${name}`);
|