@wirecat/attio-cli 0.4.1 → 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 +14 -0
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-EIWQ37E3.js +37 -0
- package/dist/bundle/{all-profiles-KCZGH7JK.js → all-profiles-ZM2ULOTA.js} +6 -6
- package/dist/bundle/{anthropic-4HCGQIHA.js → anthropic-CIJQLJ7U.js} +2 -2
- package/dist/bundle/{app-server-VSYG36ER.js → app-server-56GKE6BE.js} +53 -53
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{bun-CZK3ZADI.js → bun-3D6UYEKL.js} +2 -2
- package/dist/bundle/{bun-sqlite-CM5FSNH3.js → bun-sqlite-TWXFZF7R.js} +3 -3
- package/dist/bundle/{chunk-32BIODCI.js → chunk-33HYI76J.js} +2 -2
- package/dist/bundle/{chunk-YFAATLLR.js → chunk-46U5WHCF.js} +7 -7
- package/dist/bundle/{chunk-YC3F3RCL.js → chunk-4KLCWI57.js} +2 -2
- package/dist/bundle/{chunk-A3Y5GPG3.js → chunk-4V6ARVEH.js} +152 -151
- package/dist/bundle/{chunk-JLFXUXSQ.js → chunk-6C6RHNUB.js} +4 -4
- package/dist/bundle/{chunk-ISNUT525.js → chunk-6ITXXXQN.js} +2 -2
- package/dist/bundle/{chunk-XUU3NNAO.js → chunk-6ZEG7MR3.js} +1 -1
- package/dist/bundle/{chunk-WPOOZGQ7.js → chunk-7JUZNTYO.js} +9 -9
- package/dist/bundle/{chunk-MWFJX3K6.js → chunk-7PXDDBH7.js} +1 -1
- package/dist/bundle/{chunk-5ZNVTVDU.js → chunk-AXJNIMPZ.js} +1 -1
- package/dist/bundle/{chunk-KYAJ5AVG.js → chunk-BMDM6I5G.js} +4 -4
- package/dist/bundle/{chunk-MSASR6MQ.js → chunk-CQZREDFS.js} +3 -3
- package/dist/bundle/{chunk-RGFBK5DJ.js → chunk-CRK3LRCL.js} +10 -10
- package/dist/bundle/{chunk-EAWMBNAO.js → chunk-CVHEO4HS.js} +882 -541
- package/dist/bundle/{chunk-6WVUBU7T.js → chunk-DBAZ5TBW.js} +5 -5
- package/dist/bundle/{chunk-DJCGJRAD.js → chunk-DYLNV6GY.js} +11 -11
- package/dist/bundle/{chunk-HTQ5HUXV.js → chunk-EPLC6LQP.js} +51 -51
- package/dist/bundle/{chunk-AV7762PN.js → chunk-EPWOY5UJ.js} +1 -1
- package/dist/bundle/{chunk-EGZ6N56Z.js → chunk-EXWFB2XY.js} +1 -1
- package/dist/bundle/{chunk-Y4AOEDGO.js → chunk-GSA2HYGF.js} +6 -6
- package/dist/bundle/{chunk-4E4IGABE.js → chunk-HMORLIGS.js} +1 -1
- package/dist/bundle/{chunk-OKK2CBVW.js → chunk-HNH7EVWO.js} +12 -12
- package/dist/bundle/{chunk-PTTSHIYR.js → chunk-HTTGJI6G.js} +23 -23
- package/dist/bundle/{chunk-23POG3B3.js → chunk-HU6HKKIH.js} +2 -2
- package/dist/bundle/{chunk-ZOVX5VVZ.js → chunk-HXHQBYLN.js} +1 -1
- package/dist/bundle/{chunk-TU4U3YEM.js → chunk-JQ5NTPT5.js} +1 -1
- package/dist/bundle/{chunk-CYF6ECG7.js → chunk-K45K3AJU.js} +1 -1
- package/dist/bundle/{chunk-WHA23FJC.js → chunk-KNJ5W5ZZ.js} +30 -23
- package/dist/bundle/{chunk-FNIYIYDK.js → chunk-KYGX7XUZ.js} +16 -16
- package/dist/bundle/{chunk-CSKKZTWI.js → chunk-LTMLSN6W.js} +11 -11
- package/dist/bundle/{chunk-7XSJ6LTE.js → chunk-M7UG4UBJ.js} +2 -2
- package/dist/bundle/{chunk-52GTOWNB.js → chunk-MH55F2Z2.js} +5 -5
- package/dist/bundle/{chunk-YBCGG6JY.js → chunk-MOTQBDFB.js} +2 -2
- package/dist/bundle/{chunk-N64IK3XS.js → chunk-MVSBV6U7.js} +1 -1
- package/dist/bundle/{chunk-C4DJ4OTP.js → chunk-NJSWOZED.js} +6 -6
- package/dist/bundle/{chunk-AJT4BERP.js → chunk-O3GNIUUI.js} +2 -2
- package/dist/bundle/{chunk-X3PQFXYL.js → chunk-OE3J3P24.js} +2 -2
- package/dist/bundle/{chunk-LTGWE5L6.js → chunk-OI4WM2AM.js} +1 -1
- package/dist/bundle/{chunk-5WZBGDPL.js → chunk-OJ7P7IK5.js} +6 -6
- package/dist/bundle/{chunk-55CDR7VJ.js → chunk-ORMKVY7L.js} +54 -54
- package/dist/bundle/{chunk-WF7TKMZ7.js → chunk-Q5VVEFXR.js} +7 -7
- package/dist/bundle/{chunk-UMJ7OKJD.js → chunk-QA5WIEW5.js} +5 -5
- package/dist/bundle/{chunk-JAUTKJYJ.js → chunk-QD7INIE3.js} +1 -1
- package/dist/bundle/{chunk-NMKAEONQ.js → chunk-QDU4MLUN.js} +5 -5
- package/dist/bundle/{chunk-4BQDHDZA.js → chunk-QWBCCZNQ.js} +2 -2
- package/dist/bundle/{chunk-KK3IESFZ.js → chunk-R5TIPW5A.js} +9 -9
- package/dist/bundle/{chunk-MOUF6JHB.js → chunk-SQOHCWB2.js} +1 -1
- package/dist/bundle/{chunk-2ILCSLXY.js → chunk-T4SPEBOI.js} +7 -7
- package/dist/bundle/{chunk-EO3X3QWY.js → chunk-TBRD6I2W.js} +2 -2
- package/dist/bundle/{chunk-ZGFRTWSW.js → chunk-U6W3NW74.js} +32 -32
- package/dist/bundle/{chunk-UZW73WTM.js → chunk-V6GEPZWY.js} +32 -32
- package/dist/bundle/{chunk-RMOSNURU.js → chunk-VE6L6TDH.js} +2 -2
- package/dist/bundle/{chunk-2SVDLRLQ.js → chunk-VTAZ4LL7.js} +12 -12
- package/dist/bundle/{chunk-CYAWDFBI.js → chunk-WQKMBZRF.js} +4 -4
- package/dist/bundle/{chunk-5R255HLF.js → chunk-WZAQ7U2F.js} +1 -1
- package/dist/bundle/{chunk-U3Y2AC2K.js → chunk-X5TBQOYI.js} +2 -2
- package/dist/bundle/{chunk-TSL3PZAZ.js → chunk-XBMJAFXC.js} +1 -1
- package/dist/bundle/{chunk-NIV4S25C.js → chunk-XJ7LTHXM.js} +421 -351
- package/dist/bundle/{chunk-PO6DVZUY.js → chunk-Y7SRFHYL.js} +2 -2
- package/dist/bundle/{chunk-SQMN3CME.js → chunk-YITSNC3D.js} +3 -3
- package/dist/bundle/{chunk-XSHMRXOW.js → chunk-YSA36HJM.js} +1 -1
- package/dist/bundle/{chunk-4LEB7SUS.js → chunk-ZLCTHTOK.js} +1 -1
- package/dist/bundle/{chunk-YGPZCVBI.js → chunk-ZNQ3NNAB.js} +5 -5
- package/dist/bundle/{command-contract-JZGX4E3W.js → command-contract-SLVMJ557.js} +15 -15
- package/dist/bundle/{command-server-entry-FOFPJGYW.js → command-server-entry-MIZABAB2.js} +21 -21
- package/dist/bundle/{decode-2W6JJN3B.js → decode-3K7AMIIK.js} +2 -2
- package/dist/bundle/{echarts-R4BLGOSP.js → echarts-HQ3M6PY5.js} +2 -2
- package/dist/bundle/{embed-DIFO7RH4.js → embed-MYNNE2KU.js} +3 -3
- package/dist/bundle/{embedder-S5FKW4XZ.js → embedder-MZM52STR.js} +6 -6
- package/dist/bundle/{first-run-RNGP4IWU.js → first-run-FNH4L2MF.js} +6 -6
- package/dist/bundle/first-screen-TJE6JEAN.js +37 -0
- package/dist/bundle/{instructions-F22KNH4O.js → instructions-JCYBL6AU.js} +1 -1
- package/dist/bundle/{meeting-combined-HX3LC5FD.js → meeting-combined-FIPUL6DF.js} +10 -10
- package/dist/bundle/{meeting-model-P34GVZRK.js → meeting-model-36UKUPUK.js} +8 -8
- package/dist/bundle/{meeting-semantic-RC25X3UB.js → meeting-semantic-NX6AQT6U.js} +2 -2
- package/dist/bundle/{node-SF2NI2UT.js → node-US26HP3Q.js} +2 -2
- package/dist/bundle/{node-sqlite-WH3MF6PF.js → node-sqlite-7SJYGLZB.js} +4 -4
- package/dist/bundle/{oauth-EWHT3YJ4.js → oauth-GMDEZTLF.js} +4 -4
- package/dist/bundle/{open-LHEJSQCI.js → open-WJINQYGM.js} +2 -2
- package/dist/bundle/{openai-DDXBF7KV.js → openai-DNLCKN6O.js} +12 -12
- package/dist/bundle/{process-TEQQZ3C5.js → process-2TFFZAX6.js} +1 -1
- package/dist/bundle/{program-OFL6GNQV.js → program-Y3GX3KE4.js} +479 -368
- package/dist/bundle/{prompt-6OEYPNAI.js → prompt-OEPGHWMQ.js} +2 -2
- package/dist/bundle/{recognize-5CRXQMAQ.js → recognize-7C4PENI6.js} +1 -1
- package/dist/bundle/{remote-UZUYKGYQ.js → remote-HNRRZA6M.js} +6 -6
- package/dist/bundle/{rerank-IQ6GPSJ6.js → rerank-JNDOOOIZ.js} +4 -4
- package/dist/bundle/{serve-63YMTENV.js → serve-ATTJW7LZ.js} +6 -6
- package/dist/bundle/server-IMVPAMM6.js +79 -0
- package/dist/bundle/{server-WQUM4JX4.js → server-OHKISLVN.js} +45 -45
- package/dist/bundle/{sqlite-runtime-UO32UZHC.js → sqlite-runtime-TEZ56D53.js} +3 -3
- package/dist/bundle/{state-XSRJFYSU.js → state-SMWKWKIB.js} +3 -3
- package/dist/bundle/{store-A2J7I2NU.js → store-6SKOO4IN.js} +14 -14
- package/dist/bundle/{store-QB5FEGT4.js → store-YCWZZ3LG.js} +16 -16
- package/dist/bundle/store-maintenance-command-I5BNK4RE.js +66 -0
- package/dist/bundle/surface-NXFOGLLG.js +65 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/attio-cli/SKILL.md +1 -1
- package/dist/bundle/agent-63P427ER.js +0 -37
- package/dist/bundle/first-screen-K6YMX3G5.js +0 -37
- package/dist/bundle/server-LKXXSTXK.js +0 -79
- package/dist/bundle/store-maintenance-command-TOLBEUMR.js +0 -66
- package/dist/bundle/surface-NURI2TAG.js +0 -65
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
failureContext
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KNJ5W5ZZ.js";
|
|
10
10
|
import {
|
|
11
11
|
onlineDeps,
|
|
12
12
|
refuseLacking,
|
|
13
13
|
servicesFor,
|
|
14
14
|
storeModeDeps
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XJ7LTHXM.js";
|
|
16
16
|
import {
|
|
17
17
|
callerOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y7SRFHYL.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-4V6ARVEH.js";
|
|
36
36
|
import {
|
|
37
37
|
currentCaller,
|
|
38
38
|
keepsSuccess,
|
|
39
39
|
runContextOf,
|
|
40
40
|
withCaller
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OJ7P7IK5.js";
|
|
42
42
|
import {
|
|
43
43
|
MAX_BUFFERED_INPUT
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QD7INIE3.js";
|
|
45
45
|
import {
|
|
46
46
|
inRun,
|
|
47
47
|
newRunId
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-V6GEPZWY.js";
|
|
49
49
|
import {
|
|
50
50
|
storeDamaged
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TBRD6I2W.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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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) => {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
timezoneOf,
|
|
5
5
|
zonedMoment
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EPLC6LQP.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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/domain/moment.js
|
|
15
15
|
var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
|
|
16
16
|
try {
|
|
17
17
|
return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-EH6ZEJGT.js";
|
|
6
6
|
import {
|
|
7
7
|
WIRECAT_TOOLS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HXHQBYLN.js";
|
|
9
9
|
import {
|
|
10
10
|
commandPathOf,
|
|
11
11
|
outputOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OE3J3P24.js";
|
|
13
13
|
import {
|
|
14
14
|
Command,
|
|
15
15
|
Help,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
environmentOf,
|
|
21
21
|
metaOf,
|
|
22
22
|
takesProfile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4V6ARVEH.js";
|
|
24
24
|
import {
|
|
25
25
|
writes
|
|
26
26
|
} from "./chunk-DDFQEOLX.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
35
35
|
var ARGUMENT_KINDS = {
|
|
36
36
|
chat: "chat",
|
|
37
37
|
chats: "chat",
|
|
@@ -224,7 +224,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
224
224
|
command.addHelpText("after", () => commandHelpText(command));
|
|
225
225
|
}, "installCommandHelp");
|
|
226
226
|
|
|
227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
228
228
|
var WIDTH = 100;
|
|
229
229
|
var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
|
|
230
230
|
var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
|
|
@@ -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-DBAZ5TBW.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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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";
|
|
@@ -321,7 +321,7 @@ var retrying = /* @__PURE__ */ __name((send, options = {}) => {
|
|
|
321
321
|
};
|
|
322
322
|
}, "retrying");
|
|
323
323
|
|
|
324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
325
325
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
326
326
|
try {
|
|
327
327
|
const url = new URL(value);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
tagOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XBMJAFXC.js";
|
|
6
6
|
import {
|
|
7
7
|
QUERY_LIMITS,
|
|
8
8
|
parseLucene,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
queryError,
|
|
11
11
|
validateQuery,
|
|
12
12
|
walkQuery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EPLC6LQP.js";
|
|
14
14
|
import {
|
|
15
15
|
safeParse
|
|
16
16
|
} from "./chunk-S4UUN6LD.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/search/fusion.js
|
|
26
26
|
var RRF_K = 60;
|
|
27
27
|
var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
28
28
|
const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
|
|
@@ -30,7 +30,7 @@ var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
|
30
30
|
return rows.sort((a, b) => Number(b.exact === true) - Number(a.exact === true) || (ranking ? Number(b.ranked) - Number(a.ranked) || b.vote - a.vote : 0) || b.at - a.at).map(({ item }) => item);
|
|
31
31
|
}, "fuseRanked");
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
34
34
|
var QUERY_VERSION = 1;
|
|
35
35
|
var QUERY_LIMITS2 = {
|
|
36
36
|
...QUERY_LIMITS,
|
|
@@ -81,7 +81,7 @@ function tooWideTerm([term], budget) {
|
|
|
81
81
|
}
|
|
82
82
|
__name(tooWideTerm, "tooWideTerm");
|
|
83
83
|
|
|
84
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
84
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
|
|
85
85
|
var FIELD_VERSION = 2;
|
|
86
86
|
var UNITS = {
|
|
87
87
|
"": 1,
|
|
@@ -610,7 +610,7 @@ var validateAst = /* @__PURE__ */ __name((input, options = {}) => {
|
|
|
610
610
|
return validateFields(parsed.output, options);
|
|
611
611
|
}, "validateAst");
|
|
612
612
|
|
|
613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
|
|
614
614
|
var REPAIRED = /* @__PURE__ */ new Set([
|
|
615
615
|
"query.invalid-syntax",
|
|
616
616
|
"query.unclosed-literal",
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
keyForCommand,
|
|
11
11
|
levelFor,
|
|
12
12
|
readKeysForCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4V6ARVEH.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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4V6ARVEH.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} 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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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 {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
isCliFailure,
|
|
5
5
|
secretNamed,
|
|
6
6
|
withoutSecrets
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TBRD6I2W.js";
|
|
8
8
|
import {
|
|
9
9
|
isContentKey
|
|
10
10
|
} from "./chunk-SCBLAAZU.js";
|
|
@@ -12,14 +12,14 @@ 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.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
16
16
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
17
17
|
import { createHash } from "node:crypto";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
20
20
|
import { homedir } from "node:os";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
23
23
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
24
24
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
25
25
|
if (event.event === "store")
|
|
@@ -71,7 +71,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
71
71
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
72
72
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
75
75
|
var MESSAGE_AT_MOST = 500;
|
|
76
76
|
var CAUSES_AT_MOST = 5;
|
|
77
77
|
var FRAMES_AT_MOST = 15;
|
|
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
183
183
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
184
184
|
}, "redactText");
|
|
185
185
|
|
|
186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
187
187
|
var REDACTED = "[redacted]";
|
|
188
188
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
189
189
|
if (!record)
|