@wirecat/attio-cli 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +3 -3
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-63P427ER.js +37 -0
- package/dist/bundle/{all-profiles-7GUR2SM3.js → all-profiles-KCZGH7JK.js} +10 -10
- package/dist/bundle/{anthropic-4CN3TJYB.js → anthropic-4HCGQIHA.js} +5 -5
- package/dist/bundle/{app-server-HSQEPWRY.js → app-server-VSYG36ER.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-DTF5MNDQ.js → bun-CZK3ZADI.js} +2 -2
- package/dist/bundle/{bun-sqlite-NFVPKLZD.js → bun-sqlite-CM5FSNH3.js} +6 -6
- package/dist/bundle/{chunk-AO6N3HLS.js → chunk-23POG3B3.js} +3 -3
- package/dist/bundle/{chunk-SZ76WGXS.js → chunk-2ILCSLXY.js} +8 -8
- package/dist/bundle/{chunk-SVUQKDBZ.js → chunk-2SVDLRLQ.js} +13 -13
- package/dist/bundle/{chunk-LC4KJJZ2.js → chunk-32BIODCI.js} +3 -3
- package/dist/bundle/{chunk-RPL3VL7F.js → chunk-4BQDHDZA.js} +2 -2
- package/dist/bundle/{chunk-H55WJPRM.js → chunk-4E4IGABE.js} +2 -2
- package/dist/bundle/{chunk-HS7TLG6U.js → chunk-4LEB7SUS.js} +1 -1
- package/dist/bundle/{chunk-NK32ZZRV.js → chunk-52GTOWNB.js} +7 -7
- package/dist/bundle/{chunk-D3BQH24W.js → chunk-55CDR7VJ.js} +56 -56
- package/dist/bundle/{chunk-CWLNO3ZU.js → chunk-5R255HLF.js} +1 -1
- package/dist/bundle/{chunk-OOS57MMX.js → chunk-5WZBGDPL.js} +7 -7
- package/dist/bundle/{chunk-SEZLN6OX.js → chunk-5ZNVTVDU.js} +1 -1
- package/dist/bundle/{chunk-UXT4532H.js → chunk-6WVUBU7T.js} +7 -7
- package/dist/bundle/{chunk-WYPHP2AM.js → chunk-7XSJ6LTE.js} +3 -3
- package/dist/bundle/{chunk-N7EFLZNW.js → chunk-A3Y5GPG3.js} +175 -158
- package/dist/bundle/{chunk-6MKREZYW.js → chunk-AJT4BERP.js} +3 -3
- package/dist/bundle/{chunk-GFKYZJN4.js → chunk-AV7762PN.js} +1 -1
- package/dist/bundle/{chunk-3L3ZRFKH.js → chunk-BFESDJPU.js} +1 -1
- package/dist/bundle/{chunk-GS3LY5S5.js → chunk-C4DJ4OTP.js} +7 -7
- package/dist/bundle/{chunk-V6RIJ22V.js → chunk-CSKKZTWI.js} +14 -14
- package/dist/bundle/{chunk-CEY7LGCR.js → chunk-CYAWDFBI.js} +4 -4
- package/dist/bundle/{chunk-GJFFI6OA.js → chunk-CYF6ECG7.js} +1 -1
- package/dist/bundle/{chunk-4IASSY4K.js → chunk-DDFQEOLX.js} +8 -8
- package/dist/bundle/{chunk-PBUBZNIA.js → chunk-DJCGJRAD.js} +12 -12
- package/dist/bundle/{chunk-4A5E32BA.js → chunk-EAWMBNAO.js} +972 -547
- package/dist/bundle/{chunk-SRU4EQYO.js → chunk-EGZ6N56Z.js} +2 -2
- package/dist/bundle/{chunk-IWC3ECVF.js → chunk-EO3X3QWY.js} +3 -3
- package/dist/bundle/{chunk-Y6QUAEEJ.js → chunk-FNIYIYDK.js} +17 -17
- package/dist/bundle/{chunk-MCNZCQ6P.js → chunk-HTQ5HUXV.js} +61 -61
- package/dist/bundle/{chunk-PCYDTU6N.js → chunk-HYVMLDYF.js} +1 -1
- package/dist/bundle/{chunk-6GVBDIY7.js → chunk-INCLKCAJ.js} +3 -3
- package/dist/bundle/{chunk-WAOJEEGU.js → chunk-ISNUT525.js} +3 -3
- package/dist/bundle/{chunk-IFDR5RYE.js → chunk-JAUTKJYJ.js} +2 -2
- package/dist/bundle/{chunk-HVLKBGYN.js → chunk-JLFXUXSQ.js} +5 -5
- package/dist/bundle/{chunk-77PCNTJY.js → chunk-K34B37AP.js} +1 -1
- package/dist/bundle/{chunk-73D7FXGY.js → chunk-KK3IESFZ.js} +62 -34
- package/dist/bundle/{chunk-PTBGWRI4.js → chunk-KYAJ5AVG.js} +5 -5
- package/dist/bundle/{chunk-NTW3Z4ZC.js → chunk-LJLUYRPY.js} +4 -4
- package/dist/bundle/{chunk-ZAZUNEZB.js → chunk-LTGWE5L6.js} +1 -1
- package/dist/bundle/{chunk-EBVOFSWE.js → chunk-MOUF6JHB.js} +1 -1
- package/dist/bundle/{chunk-2SM6G7CP.js → chunk-MSASR6MQ.js} +4 -4
- package/dist/bundle/{chunk-6UVYOUKX.js → chunk-MWFJX3K6.js} +1 -1
- package/dist/bundle/{chunk-ECPUCPPX.js → chunk-N64IK3XS.js} +7 -7
- package/dist/bundle/{chunk-LX6IMPKX.js → chunk-NIV4S25C.js} +556 -312
- package/dist/bundle/{chunk-GMRYIIGP.js → chunk-NMKAEONQ.js} +6 -6
- package/dist/bundle/{chunk-UNI5OO3J.js → chunk-OKK2CBVW.js} +13 -13
- package/dist/bundle/{chunk-YERPSSUC.js → chunk-PO6DVZUY.js} +2 -2
- package/dist/bundle/{chunk-CV65DYDO.js → chunk-PTTSHIYR.js} +26 -25
- package/dist/bundle/{chunk-FJUBFNIH.js → chunk-RGFBK5DJ.js} +12 -12
- package/dist/bundle/{chunk-UN63OIS5.js → chunk-RMOSNURU.js} +3 -3
- package/dist/bundle/{chunk-PX5XI2UR.js → chunk-SCBLAAZU.js} +19 -19
- package/dist/bundle/{chunk-ZSO3T2W4.js → chunk-SQMN3CME.js} +4 -4
- package/dist/bundle/{chunk-3JZNNESS.js → chunk-TSHMRHL6.js} +2 -2
- package/dist/bundle/{chunk-KRCE3EBI.js → chunk-TSL3PZAZ.js} +2 -2
- package/dist/bundle/{chunk-WE6UGOBO.js → chunk-TU4U3YEM.js} +1 -1
- package/dist/bundle/{chunk-3HFUSESO.js → chunk-U3Y2AC2K.js} +3 -3
- package/dist/bundle/{chunk-KP7U75NI.js → chunk-UMJ7OKJD.js} +6 -6
- package/dist/bundle/{chunk-3PPTBPRU.js → chunk-UZW73WTM.js} +62 -45
- package/dist/bundle/{chunk-55OZY4JK.js → chunk-VHPNTMJJ.js} +1 -1
- package/dist/bundle/{chunk-4GGTI6J2.js → chunk-WF7TKMZ7.js} +8 -8
- package/dist/bundle/{chunk-2PDJCM3U.js → chunk-WHA23FJC.js} +32 -14
- package/dist/bundle/{chunk-SDZJIDMF.js → chunk-WPOOZGQ7.js} +10 -10
- package/dist/bundle/{chunk-2KP5LRCK.js → chunk-X3PQFXYL.js} +4 -4
- package/dist/bundle/{chunk-J3KE3D3L.js → chunk-XSHMRXOW.js} +6 -6
- package/dist/bundle/{chunk-SNUCQQQU.js → chunk-Y4AOEDGO.js} +8 -8
- package/dist/bundle/{chunk-NE65S7F6.js → chunk-YBCGG6JY.js} +3 -3
- package/dist/bundle/{chunk-6GLKKI5B.js → chunk-YC3F3RCL.js} +2 -2
- package/dist/bundle/{chunk-ROJF7524.js → chunk-YFAATLLR.js} +8 -8
- package/dist/bundle/{chunk-SIYP5IZG.js → chunk-YGPZCVBI.js} +6 -6
- package/dist/bundle/{chunk-IQSXBZA7.js → chunk-YJKP6UZC.js} +1 -1
- package/dist/bundle/{chunk-4BHD26FI.js → chunk-ZGFRTWSW.js} +34 -34
- package/dist/bundle/{chunk-2AVWKAHP.js → chunk-ZOVX5VVZ.js} +1 -1
- package/dist/bundle/command-contract-JZGX4E3W.js +37 -0
- package/dist/bundle/{command-server-entry-VTYSKZSD.js → command-server-entry-FOFPJGYW.js} +25 -25
- package/dist/bundle/{decode-EJCGQVLX.js → decode-2W6JJN3B.js} +5 -5
- package/dist/bundle/{dispatch-YGAG263C.js → dispatch-ZRVKJENQ.js} +8 -8
- package/dist/bundle/{echarts-LHBWIDKI.js → echarts-R4BLGOSP.js} +2 -2
- package/dist/bundle/{embed-QKVPSZLS.js → embed-DIFO7RH4.js} +6 -6
- package/dist/bundle/{embedder-NYO6EOFU.js → embedder-S5FKW4XZ.js} +9 -9
- package/dist/bundle/{failure-SE7VJEXI.js → failure-C2B7PYPJ.js} +2 -2
- package/dist/bundle/{first-run-P5QA7RNU.js → first-run-RNGP4IWU.js} +12 -12
- package/dist/bundle/first-screen-K6YMX3G5.js +37 -0
- package/dist/bundle/{instructions-T6LGIEPV.js → instructions-F22KNH4O.js} +1 -1
- package/dist/bundle/{mcp-PVQZS6IH.js → mcp-VNOYBWW2.js} +2 -2
- package/dist/bundle/meeting-combined-HX3LC5FD.js +24 -0
- package/dist/bundle/{meeting-model-7UBHXIVW.js → meeting-model-P34GVZRK.js} +11 -11
- package/dist/bundle/{meeting-semantic-RXCWAIZZ.js → meeting-semantic-RC25X3UB.js} +6 -6
- package/dist/bundle/{node-UBG6VKKA.js → node-SF2NI2UT.js} +2 -2
- package/dist/bundle/{node-sqlite-PYNAIHR6.js → node-sqlite-WH3MF6PF.js} +7 -7
- package/dist/bundle/{oauth-BLOW6XVT.js → oauth-EWHT3YJ4.js} +7 -7
- package/dist/bundle/{open-VWILPEZ2.js → open-LHEJSQCI.js} +5 -5
- package/dist/bundle/{openai-N37NPTEE.js → openai-DDXBF7KV.js} +15 -15
- package/dist/bundle/{process-DMYM7PNQ.js → process-TEQQZ3C5.js} +1 -1
- package/dist/bundle/{program-5QZLUWS4.js → program-EUFRFWAE.js} +681 -453
- package/dist/bundle/{prompt-EJHIAH4K.js → prompt-6OEYPNAI.js} +5 -5
- package/dist/bundle/{recognize-67LER7ZN.js → recognize-5CRXQMAQ.js} +4 -4
- package/dist/bundle/{remote-BONPKWRO.js → remote-UZUYKGYQ.js} +9 -9
- package/dist/bundle/{rerank-FK2AFC3Y.js → rerank-IQ6GPSJ6.js} +7 -7
- package/dist/bundle/{schemas-4E76I6ME.js → schemas-7JX36UC7.js} +1 -1
- package/dist/bundle/{serve-ZIXWKUE3.js → serve-63YMTENV.js} +9 -9
- package/dist/bundle/server-LKXXSTXK.js +79 -0
- package/dist/bundle/{server-4RX3LBCA.js → server-WQUM4JX4.js} +53 -53
- package/dist/bundle/{sqlite-runtime-WDXPYP7C.js → sqlite-runtime-UO32UZHC.js} +6 -6
- package/dist/bundle/{state-NE7WPOBK.js → state-XSRJFYSU.js} +6 -6
- package/dist/bundle/{store-2LX2ZQY5.js → store-A2J7I2NU.js} +18 -18
- package/dist/bundle/{store-PUAKYH6Z.js → store-QB5FEGT4.js} +20 -20
- package/dist/bundle/store-maintenance-command-TOLBEUMR.js +66 -0
- package/dist/bundle/surface-NURI2TAG.js +65 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +95 -0
- package/dist/hooks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/attio-cli/SKILL.md +4 -1
- package/dist/bundle/agent-HM6ST5HY.js +0 -37
- package/dist/bundle/command-contract-XZKDRLEC.js +0 -37
- package/dist/bundle/first-screen-EUIV6PVE.js +0 -37
- package/dist/bundle/meeting-combined-GOBZBEX2.js +0 -24
- package/dist/bundle/server-RL6NIURH.js +0 -79
- package/dist/bundle/store-maintenance-command-CSYN4LXT.js +0 -66
- package/dist/bundle/surface-HJIDG2KX.js +0 -65
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
keyForCommand,
|
|
11
11
|
levelFor,
|
|
12
12
|
readKeysForCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A3Y5GPG3.js";
|
|
14
14
|
import {
|
|
15
15
|
writes
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DDFQEOLX.js";
|
|
17
17
|
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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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);
|
|
@@ -535,7 +535,7 @@ function toError(value) {
|
|
|
535
535
|
}
|
|
536
536
|
__name(toError, "toError");
|
|
537
537
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
539
539
|
import { PassThrough, Writable } from "node:stream";
|
|
540
540
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
541
541
|
let rest = "";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -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-TSL3PZAZ.js";
|
|
6
6
|
import {
|
|
7
7
|
QUERY_LIMITS,
|
|
8
8
|
parseLucene,
|
|
@@ -10,19 +10,19 @@ import {
|
|
|
10
10
|
queryError,
|
|
11
11
|
validateQuery,
|
|
12
12
|
walkQuery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HTQ5HUXV.js";
|
|
14
14
|
import {
|
|
15
15
|
safeParse
|
|
16
16
|
} from "./chunk-S4UUN6LD.js";
|
|
17
17
|
import {
|
|
18
18
|
CliError,
|
|
19
19
|
isCliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TSHMRHL6.js";
|
|
21
21
|
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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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",
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
failureContext
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WHA23FJC.js";
|
|
10
10
|
import {
|
|
11
11
|
onlineDeps,
|
|
12
12
|
refuseLacking,
|
|
13
13
|
servicesFor,
|
|
14
14
|
storeModeDeps
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NIV4S25C.js";
|
|
16
16
|
import {
|
|
17
17
|
callerOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PO6DVZUY.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_OUTPUT_BYTES,
|
|
21
21
|
ENTITIES,
|
|
@@ -32,26 +32,26 @@ import {
|
|
|
32
32
|
refuseStoreChange,
|
|
33
33
|
sealed,
|
|
34
34
|
startRecording
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-A3Y5GPG3.js";
|
|
36
36
|
import {
|
|
37
37
|
currentCaller,
|
|
38
38
|
keepsSuccess,
|
|
39
39
|
runContextOf,
|
|
40
40
|
withCaller
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5WZBGDPL.js";
|
|
42
42
|
import {
|
|
43
43
|
MAX_BUFFERED_INPUT
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JAUTKJYJ.js";
|
|
45
45
|
import {
|
|
46
46
|
inRun,
|
|
47
47
|
newRunId
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-UZW73WTM.js";
|
|
49
49
|
import {
|
|
50
50
|
storeDamaged
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EO3X3QWY.js";
|
|
52
52
|
import {
|
|
53
53
|
traceIdOf
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-SCBLAAZU.js";
|
|
55
55
|
import {
|
|
56
56
|
errorObjectOf,
|
|
57
57
|
itemEnvelopeSchema,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
mcpErrorResult,
|
|
60
60
|
toJsonSchema,
|
|
61
61
|
toStandardJsonSchema
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-DDFQEOLX.js";
|
|
63
63
|
import {
|
|
64
64
|
array,
|
|
65
65
|
boolean,
|
|
@@ -84,15 +84,15 @@ import {
|
|
|
84
84
|
import {
|
|
85
85
|
CliError,
|
|
86
86
|
errorCodes
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-TSHMRHL6.js";
|
|
88
88
|
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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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) => {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-23POG3B3.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
errorCodes,
|
|
30
30
|
isCliError,
|
|
31
31
|
visibleControls
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TSHMRHL6.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
38
38
|
var EXIT_CODES = {
|
|
39
39
|
validation_error: 2,
|
|
40
40
|
configuration_error: 3,
|
|
@@ -55,7 +55,7 @@ var EXIT_CODES = {
|
|
|
55
55
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
56
56
|
var GENERIC_FAILURE = 1;
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
59
59
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
60
60
|
var effectsSchema = strictObject({
|
|
61
61
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -692,7 +692,7 @@ function toStandardJsonSchema(schema) {
|
|
|
692
692
|
}
|
|
693
693
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
694
694
|
|
|
695
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
695
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
696
696
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
697
697
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
698
698
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -734,7 +734,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
734
734
|
return String(value);
|
|
735
735
|
}), "fill");
|
|
736
736
|
|
|
737
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
737
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
738
738
|
var MAX_NEXT_STEPS = 2;
|
|
739
739
|
var COMPACT_FLAG = "--compact";
|
|
740
740
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -879,7 +879,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
879
879
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
880
880
|
].join("\n"), "jsonlOf");
|
|
881
881
|
|
|
882
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
882
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
883
883
|
var CRASH_CODE = "internal_error";
|
|
884
884
|
var CRASH_REASON = "command.crashed";
|
|
885
885
|
var errorObjectSchema = strictObject({
|
|
@@ -978,7 +978,7 @@ var BASE_REASONS = defineReasons([
|
|
|
978
978
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
979
979
|
]);
|
|
980
980
|
|
|
981
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
981
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
982
982
|
var SAME_COMMAND = "*";
|
|
983
983
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
984
984
|
var stepSchema = union([
|
|
@@ -1057,7 +1057,7 @@ var STEPS = defineSteps([
|
|
|
1057
1057
|
}
|
|
1058
1058
|
]);
|
|
1059
1059
|
|
|
1060
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1060
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
1061
1061
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
1062
1062
|
if (isCliError(failure))
|
|
1063
1063
|
return failure;
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
servicesFor,
|
|
20
20
|
terminalAsker,
|
|
21
21
|
waitForTurn
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NIV4S25C.js";
|
|
23
23
|
import {
|
|
24
24
|
capability,
|
|
25
25
|
throughWrapper
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OKK2CBVW.js";
|
|
27
27
|
import {
|
|
28
28
|
servingProfiles
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-23POG3B3.js";
|
|
30
30
|
import {
|
|
31
31
|
CEILING_KEY,
|
|
32
32
|
asFirstWord,
|
|
@@ -41,10 +41,10 @@ import {
|
|
|
41
41
|
recalledAccount,
|
|
42
42
|
rememberAccount,
|
|
43
43
|
rootOf2 as rootOf
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-A3Y5GPG3.js";
|
|
45
45
|
import {
|
|
46
46
|
providerErrorKey
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5WZBGDPL.js";
|
|
48
48
|
import {
|
|
49
49
|
chatReferenceOf,
|
|
50
50
|
ensureAccount,
|
|
@@ -52,18 +52,18 @@ import {
|
|
|
52
52
|
isId,
|
|
53
53
|
openStore,
|
|
54
54
|
pickPerson
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-EAWMBNAO.js";
|
|
56
56
|
import {
|
|
57
57
|
isCliFailure
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-EO3X3QWY.js";
|
|
59
59
|
import {
|
|
60
60
|
CliError
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-TSHMRHL6.js";
|
|
62
62
|
import {
|
|
63
63
|
__name
|
|
64
64
|
} from "./chunk-ZVVMGPBJ.js";
|
|
65
65
|
|
|
66
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
66
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
67
67
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
68
68
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
69
69
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -160,7 +160,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
160
160
|
});
|
|
161
161
|
}, "flooded");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
164
164
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
165
165
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
166
166
|
const write = currentOperation();
|
|
@@ -259,7 +259,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
259
259
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
260
260
|
}, "byPart");
|
|
261
261
|
|
|
262
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
263
263
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
264
264
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
265
265
|
let warned = false;
|
|
@@ -835,7 +835,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
835
835
|
}
|
|
836
836
|
}, "keep");
|
|
837
837
|
|
|
838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
839
839
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
840
840
|
let opened;
|
|
841
841
|
return {
|