@wirecat/attio-cli 0.2.1 → 0.2.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 +11 -0
- package/contracts/wirecat.json +5 -20
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-3FYEIRN4.js +37 -0
- package/dist/bundle/{all-profiles-LZDKPHN2.js → all-profiles-RAFO3NFW.js} +10 -10
- package/dist/bundle/{anthropic-BF72H77D.js → anthropic-TNR6QJGA.js} +5 -5
- package/dist/bundle/{app-server-H57FZJX5.js → app-server-BXVGXUGQ.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-WO77T4LG.js → bun-3RTK5XYF.js} +2 -2
- package/dist/bundle/{bun-sqlite-2BP7JDVO.js → bun-sqlite-I5K5Z2ZK.js} +6 -6
- package/dist/bundle/{chunk-CMO5ND3Y.js → chunk-2CS7VHUB.js} +34 -34
- package/dist/bundle/{chunk-XXOTX4M3.js → chunk-2JB5XD5R.js} +7 -7
- package/dist/bundle/{chunk-EQGXEKSV.js → chunk-2PSAS4TT.js} +7 -7
- package/dist/bundle/{chunk-EEPE3SOW.js → chunk-2TLGP7BS.js} +5 -5
- package/dist/bundle/{chunk-X5S5KUSU.js → chunk-3BM6KBWP.js} +19 -19
- package/dist/bundle/{chunk-QLHDUYGE.js → chunk-3JRLPNPO.js} +1 -1
- package/dist/bundle/{chunk-J5P5VSRG.js → chunk-3LMW7U7F.js} +8 -8
- package/dist/bundle/{chunk-G6FQMVKW.js → chunk-4F3FQ5QX.js} +3 -3
- package/dist/bundle/{chunk-LWJ4ZGUM.js → chunk-53BHLQRA.js} +13 -13
- package/dist/bundle/{chunk-EQXT7KO4.js → chunk-62FENOMX.js} +6 -6
- package/dist/bundle/{chunk-JSTBW7F4.js → chunk-6HYTDMOL.js} +6 -6
- package/dist/bundle/{chunk-L5WS6CYZ.js → chunk-6ZBJCBXA.js} +2 -2
- package/dist/bundle/{chunk-Q7BSTQ3T.js → chunk-7626I3P4.js} +1 -1
- package/dist/bundle/{chunk-VW5F6FK3.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-PMP37KLR.js → chunk-7QH5BZUG.js} +3 -3
- package/dist/bundle/{chunk-ZDBTYBFR.js → chunk-7WS4ONXZ.js} +3 -3
- package/dist/bundle/{chunk-MT2ZUZRA.js → chunk-AHPGTDO2.js} +43 -64
- package/dist/bundle/{chunk-GBZ6JUXU.js → chunk-AMRELFBT.js} +2 -2
- package/dist/bundle/{chunk-S7K2XFQB.js → chunk-APNSAKSO.js} +6 -6
- package/dist/bundle/{chunk-DSRXCLPO.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-2E6JGBM5.js → chunk-AXGSAG53.js} +14 -14
- package/dist/bundle/{chunk-I3WS6V5H.js → chunk-B7U5FLPP.js} +8 -8
- package/dist/bundle/{chunk-HG7FT3H3.js → chunk-BDFNXTNK.js} +7 -7
- package/dist/bundle/{chunk-AMUONYQR.js → chunk-BFWERPF6.js} +2 -2
- package/dist/bundle/{chunk-5K3FGXZH.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-VDMIJ3JW.js → chunk-CKG7GIHR.js} +3 -3
- package/dist/bundle/{chunk-X6R74TWX.js → chunk-CZP6C6MX.js} +4 -4
- package/dist/bundle/{chunk-RU5J7DWY.js → chunk-DKSO7UTS.js} +31 -9
- package/dist/bundle/{chunk-IDU4ESRZ.js → chunk-EMZ4MGPD.js} +8 -1
- package/dist/bundle/{chunk-MNQACPXG.js → chunk-FPMWW2HK.js} +25 -25
- package/dist/bundle/{chunk-WK7GLHHL.js → chunk-FRCORPOY.js} +5 -5
- package/dist/bundle/{chunk-G3JTLVVL.js → chunk-GT3HXSKW.js} +7 -7
- package/dist/bundle/{chunk-BUGROVF3.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-3NVOKVRY.js → chunk-HMYJLOXE.js} +343 -274
- package/dist/bundle/{chunk-3I2FGNWO.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-ASCUOOLO.js → chunk-JFFCP52L.js} +1 -1
- package/dist/bundle/{chunk-AFAULIL5.js → chunk-JSAXTIRX.js} +1 -1
- package/dist/bundle/{chunk-DF2IIO32.js → chunk-JWRI6ZY6.js} +174 -159
- package/dist/bundle/{chunk-4STBJZR4.js → chunk-L7BMGR5W.js} +76 -37
- package/dist/bundle/{chunk-XXLQNHKF.js → chunk-LG6Y4NAT.js} +2 -2
- package/dist/bundle/{chunk-WARIIYSW.js → chunk-LHKVAZ5T.js} +2 -2
- package/dist/bundle/{chunk-GLHFJPYS.js → chunk-LIIOT3AN.js} +3 -3
- package/dist/bundle/{chunk-H7QDPW3D.js → chunk-MG4U6AKG.js} +1 -1
- package/dist/bundle/{chunk-MC2RQ2OB.js → chunk-MHMHZ6GY.js} +1 -1
- package/dist/bundle/{chunk-V6BTAILB.js → chunk-MI6IH5UW.js} +61 -61
- package/dist/bundle/{chunk-KHDXRFJZ.js → chunk-MW2OS2GD.js} +8 -8
- package/dist/bundle/{chunk-6ALPRBNV.js → chunk-NQJ7QMEF.js} +3 -3
- package/dist/bundle/{chunk-OFR3YYT6.js → chunk-NQNFMKL2.js} +1 -1
- package/dist/bundle/{chunk-76RRELCU.js → chunk-NWDO4DE3.js} +958 -550
- package/dist/bundle/{chunk-7MXCUMHG.js → chunk-O4SX6FXT.js} +1 -1
- package/dist/bundle/{chunk-SQHDE3TC.js → chunk-OC35ZLPE.js} +4 -4
- package/dist/bundle/{chunk-MRREDVPY.js → chunk-OHCYBSCA.js} +20 -14
- package/dist/bundle/{chunk-OBXDRUO4.js → chunk-P76XVKVC.js} +1 -1
- package/dist/bundle/{chunk-3YFDZSM3.js → chunk-PRERT2BZ.js} +1 -1
- package/dist/bundle/{chunk-MOSH2KPD.js → chunk-Q2U6DGSV.js} +10 -10
- package/dist/bundle/{chunk-O4A33Y54.js → chunk-QSUFJGTG.js} +2 -2
- package/dist/bundle/{chunk-ERW2WOJT.js → chunk-RKKY3MSZ.js} +1 -1
- package/dist/bundle/{chunk-4SMGM2Q6.js → chunk-SEDD6YZQ.js} +4 -4
- package/dist/bundle/{chunk-Q3JCUUOR.js → chunk-SYBAMYFY.js} +3 -3
- package/dist/bundle/{chunk-ZGADZ4CH.js → chunk-T6DV3ED2.js} +15 -15
- package/dist/bundle/{chunk-JA26HG7T.js → chunk-TUOFAUBR.js} +8 -8
- package/dist/bundle/{chunk-6SK3YB2B.js → chunk-UTTNGFKW.js} +12 -12
- package/dist/bundle/{chunk-CHZ26CW5.js → chunk-UZYL4AMA.js} +61 -58
- package/dist/bundle/{chunk-IXCIQ7FZ.js → chunk-V4JWUVNO.js} +4 -4
- package/dist/bundle/{chunk-34FJ26K2.js → chunk-VQSVE4RD.js} +2 -2
- package/dist/bundle/{chunk-GW4G5KLS.js → chunk-WALQNDXO.js} +8 -8
- package/dist/bundle/{chunk-6NDJDDSQ.js → chunk-WHDVRMB7.js} +35 -35
- package/dist/bundle/{chunk-ESH2QGCA.js → chunk-XQIRF6PS.js} +24 -8
- package/dist/bundle/{chunk-7ZUOI3HY.js → chunk-XSUU7PB7.js} +3 -3
- package/dist/bundle/{chunk-DQ6P3R4B.js → chunk-YBJBYPS7.js} +3 -3
- package/dist/bundle/{chunk-W6F2CQZ6.js → chunk-Z3HZD24R.js} +17 -17
- package/dist/bundle/{chunk-TF7ZGCOK.js → chunk-ZI3IRII7.js} +3 -3
- package/dist/bundle/command-contract-N5X3UOTT.js +37 -0
- package/dist/bundle/{command-server-entry-MNVPYQZ3.js → command-server-entry-ZKWL26Q5.js} +25 -25
- package/dist/bundle/{decode-MQNKNXLK.js → decode-TG45PUJW.js} +5 -5
- package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-JQBAZWCL.js} +8 -8
- package/dist/bundle/{echarts-6ZSUNO4L.js → echarts-AWICNZBO.js} +2 -2
- package/dist/bundle/{embed-PHCCJJ5Z.js → embed-TN6HQUK2.js} +6 -6
- package/dist/bundle/{embedder-WLZZQTKZ.js → embedder-T3KJA3I4.js} +9 -9
- package/dist/bundle/{failure-MR2XVHFP.js → failure-I6AAF5R5.js} +2 -2
- package/dist/bundle/{first-run-64LREHSV.js → first-run-BZUITKMF.js} +12 -12
- package/dist/bundle/first-screen-I23NJLFH.js +37 -0
- package/dist/bundle/{instructions-22GCKNR5.js → instructions-FRJHLLZX.js} +1 -1
- package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-7ZNV4MZ2.js +24 -0
- package/dist/bundle/{meeting-model-JWDTCGLZ.js → meeting-model-TENJU3OG.js} +11 -11
- package/dist/bundle/{meeting-semantic-375GYPZQ.js → meeting-semantic-ZKOG2XMU.js} +6 -6
- package/dist/bundle/{node-ITDTNRRZ.js → node-3ZISJOEM.js} +2 -2
- package/dist/bundle/{node-sqlite-IRAGRMEZ.js → node-sqlite-KA35X4F4.js} +7 -7
- package/dist/bundle/{oauth-CACOQJEL.js → oauth-C74B6XHN.js} +7 -7
- package/dist/bundle/{open-HU4KHKDR.js → open-CJESRWUG.js} +5 -5
- package/dist/bundle/{openai-JQUPAVKX.js → openai-WLXOXSTV.js} +15 -15
- package/dist/bundle/{process-QS5OHEUK.js → process-JV3KVGJY.js} +1 -1
- package/dist/bundle/{program-5OTAVU5S.js → program-HSVLSH7A.js} +694 -477
- package/dist/bundle/{prompt-VA5MKXJU.js → prompt-EEBVB3XG.js} +5 -5
- package/dist/bundle/{recognize-JGA5IVKC.js → recognize-ZFITQZ4W.js} +4 -4
- package/dist/bundle/{remote-NPY2KZQ4.js → remote-RZXSYHOJ.js} +9 -9
- package/dist/bundle/{rerank-4H2QR4XU.js → rerank-2BHYAEO3.js} +7 -7
- package/dist/bundle/{schemas-THAI3G5S.js → schemas-6GTYA2NR.js} +1 -1
- package/dist/bundle/{serve-UH46SZQG.js → serve-G3M5H5JM.js} +9 -9
- package/dist/bundle/server-3ZL5TECF.js +79 -0
- package/dist/bundle/{server-6H7JS6SU.js → server-44WJ5K2W.js} +53 -53
- package/dist/bundle/{sqlite-runtime-EJWEUTBR.js → sqlite-runtime-TRISCWIG.js} +6 -6
- package/dist/bundle/{state-34B6AUQZ.js → state-BF6IMDP2.js} +6 -6
- package/dist/bundle/{store-XSE35P3U.js → store-LZPZC72J.js} +20 -20
- package/dist/bundle/{store-3R4ILTCJ.js → store-VSKYLTLH.js} +22 -18
- package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +66 -0
- package/dist/bundle/surface-OHYA3YS6.js +65 -0
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +2 -0
- package/dist/commands/crm.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-DYTWDBTT.js +0 -37
- package/dist/bundle/command-contract-7M6EPH3D.js +0 -37
- package/dist/bundle/first-screen-YSCAZIYJ.js +0 -37
- package/dist/bundle/meeting-combined-YX3T5WJD.js +0 -24
- package/dist/bundle/server-SR52KBL3.js +0 -79
- package/dist/bundle/store-maintenance-command-ABJARLI4.js +0 -66
- package/dist/bundle/surface-NOTIEJB5.js +0 -65
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FPMWW2HK.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-62FENOMX.js";
|
|
19
19
|
import {
|
|
20
20
|
StdioServerTransport,
|
|
21
21
|
answeredWire,
|
|
22
22
|
serveStdio
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7626I3P4.js";
|
|
24
24
|
import {
|
|
25
25
|
stdinFieldOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-O4SX6FXT.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AXGSAG53.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TUOFAUBR.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-L7BMGR5W.js";
|
|
37
37
|
import {
|
|
38
38
|
instructions
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-JFFCP52L.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-T6DV3ED2.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-DKSO7UTS.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-HMYJLOXE.js";
|
|
69
69
|
import {
|
|
70
70
|
callerOf,
|
|
71
71
|
callingAgent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-AMRELFBT.js";
|
|
73
73
|
import {
|
|
74
74
|
capability,
|
|
75
75
|
dateWindow
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-OHCYBSCA.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-V4JWUVNO.js";
|
|
84
84
|
import {
|
|
85
85
|
findCommand
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-CZP6C6MX.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_OUTPUT_BYTES,
|
|
89
89
|
changesAuthorityAt,
|
|
@@ -101,30 +101,30 @@ import {
|
|
|
101
101
|
rootOf2 as rootOf,
|
|
102
102
|
sealed,
|
|
103
103
|
snakeKeys
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-JWRI6ZY6.js";
|
|
105
105
|
import {
|
|
106
106
|
withCaller
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-2JB5XD5R.js";
|
|
108
108
|
import {
|
|
109
109
|
openStore,
|
|
110
110
|
pdfPreviewLimits
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-NWDO4DE3.js";
|
|
112
112
|
import {
|
|
113
113
|
typedCommand
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-WHDVRMB7.js";
|
|
115
115
|
import {
|
|
116
116
|
isCliFailure
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-LIIOT3AN.js";
|
|
118
118
|
import {
|
|
119
119
|
timezoneOf
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-MI6IH5UW.js";
|
|
121
121
|
import {
|
|
122
122
|
warmEmbedders
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-AHPGTDO2.js";
|
|
124
124
|
import {
|
|
125
125
|
errorObjectOf,
|
|
126
126
|
mcpErrorResult
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-3LMW7U7F.js";
|
|
128
128
|
import {
|
|
129
129
|
description,
|
|
130
130
|
integer,
|
|
@@ -143,15 +143,15 @@ import {
|
|
|
143
143
|
import {
|
|
144
144
|
CliError,
|
|
145
145
|
visibleControls
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-HM6AMYHR.js";
|
|
147
147
|
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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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-G3M5H5JM.js");
|
|
757
757
|
const appName = messenger.app.command;
|
|
758
758
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
759
759
|
const listening = await serveOverHttp(build, {
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
isCliFailure,
|
|
5
5
|
secretNamed,
|
|
6
6
|
withoutSecrets
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LIIOT3AN.js";
|
|
8
8
|
import {
|
|
9
9
|
isContentKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3BM6KBWP.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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)
|
|
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VQSVE4RD.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3BM6KBWP.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
singleLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HM6AMYHR.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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 });
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
throughWrapper
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OHCYBSCA.js";
|
|
6
6
|
import {
|
|
7
7
|
environmentOf,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JWRI6ZY6.js";
|
|
10
10
|
import {
|
|
11
11
|
array,
|
|
12
12
|
boolean,
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
} from "./chunk-S4UUN6LD.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HM6AMYHR.js";
|
|
23
23
|
import {
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
28
28
|
import { createHash } from "node:crypto";
|
|
29
29
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
30
30
|
import { createConnection, createServer } from "node:net";
|
|
@@ -245,7 +245,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
245
245
|
}, () => finish({ error: stopped() }));
|
|
246
246
|
}), "relayCommand");
|
|
247
247
|
|
|
248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
249
249
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
250
250
|
close: /* @__PURE__ */ __name(async () => {
|
|
251
251
|
}, "close"),
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isoTime,
|
|
8
8
|
parseRegistry,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3LMW7U7F.js";
|
|
11
11
|
import {
|
|
12
12
|
array,
|
|
13
13
|
getDotPath,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
CliError,
|
|
27
27
|
visibleControls
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HM6AMYHR.js";
|
|
29
29
|
import {
|
|
30
30
|
__commonJS,
|
|
31
31
|
__name,
|
|
@@ -1898,7 +1898,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1898
1898
|
}
|
|
1899
1899
|
});
|
|
1900
1900
|
|
|
1901
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1901
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1902
1902
|
import { realpathSync } from "node:fs";
|
|
1903
1903
|
import { homedir, userInfo } from "node:os";
|
|
1904
1904
|
import { join, posix, win32 } from "node:path";
|
|
@@ -1972,7 +1972,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1972
1972
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1973
1973
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1974
1974
|
|
|
1975
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1975
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
1976
1976
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1977
1977
|
if (signal?.aborted)
|
|
1978
1978
|
return Promise.reject(signal.reason);
|
|
@@ -2000,7 +2000,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2000
2000
|
});
|
|
2001
2001
|
}, "waitForDrain");
|
|
2002
2002
|
|
|
2003
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2003
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2004
2004
|
var processStreams = {
|
|
2005
2005
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2006
2006
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2029,7 +2029,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
}, "captureStreams");
|
|
2031
2031
|
|
|
2032
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2032
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2033
2033
|
var DEFAULT_RETRY = {
|
|
2034
2034
|
retries: 1,
|
|
2035
2035
|
baseDelayMs: 250,
|
|
@@ -2041,7 +2041,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2041
2041
|
return Math.round(random() * ceiling);
|
|
2042
2042
|
}, "backoffMs");
|
|
2043
2043
|
|
|
2044
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2044
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2045
2045
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2046
2046
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2047
2047
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2106,7 +2106,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2106
2106
|
return project(value, fields);
|
|
2107
2107
|
}, "projectFields");
|
|
2108
2108
|
|
|
2109
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2109
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2110
2110
|
var BATCH_LIMITS = Object.freeze({
|
|
2111
2111
|
requests: 32,
|
|
2112
2112
|
input_bytes: 262144,
|
|
@@ -2233,7 +2233,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
}, "runBatch");
|
|
2235
2235
|
|
|
2236
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2236
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2237
2237
|
import { randomBytes } from "node:crypto";
|
|
2238
2238
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2239
2239
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2277,16 +2277,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2277
2277
|
`, 384);
|
|
2278
2278
|
}, "saveConfigFile");
|
|
2279
2279
|
|
|
2280
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2280
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2281
2281
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2282
2282
|
var baseConstantsSchema = object({});
|
|
2283
2283
|
var LayerSchema = record(string(), unknown());
|
|
2284
2284
|
|
|
2285
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2285
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2286
2286
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2287
2287
|
import { join as join3, resolve } from "node:path";
|
|
2288
2288
|
|
|
2289
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2289
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2290
2290
|
import { createRequire } from "node:module";
|
|
2291
2291
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2292
2292
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2312,7 +2312,7 @@ var systemKeyring = {
|
|
|
2312
2312
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2313
2313
|
};
|
|
2314
2314
|
|
|
2315
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2315
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2316
2316
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2317
2317
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
2318
2318
|
var Credentials = class {
|
|
@@ -2456,7 +2456,7 @@ var Credentials = class {
|
|
|
2456
2456
|
}
|
|
2457
2457
|
};
|
|
2458
2458
|
|
|
2459
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2459
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2460
2460
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2461
2461
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2462
2462
|
if (signal?.aborted) {
|
|
@@ -2471,10 +2471,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2471
2471
|
}), "realSleep");
|
|
2472
2472
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2473
2473
|
|
|
2474
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2474
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2475
2475
|
import { appendFileSync } from "node:fs";
|
|
2476
2476
|
|
|
2477
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2477
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2478
2478
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2479
2479
|
var logRecordSchema = strictObject({
|
|
2480
2480
|
time: isoTime,
|
|
@@ -2552,7 +2552,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2552
2552
|
return traceId;
|
|
2553
2553
|
}, "traceIdOf");
|
|
2554
2554
|
|
|
2555
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2555
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2556
2556
|
var REDACTED_FIELDS = [
|
|
2557
2557
|
"authorization",
|
|
2558
2558
|
"Authorization",
|
|
@@ -2646,7 +2646,7 @@ var silent = {
|
|
|
2646
2646
|
}, "error")
|
|
2647
2647
|
};
|
|
2648
2648
|
|
|
2649
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2649
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2650
2650
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2651
2651
|
import { styleText } from "node:util";
|
|
2652
2652
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2720,7 +2720,7 @@ var BORDERLESS = {
|
|
|
2720
2720
|
middle: ""
|
|
2721
2721
|
};
|
|
2722
2722
|
|
|
2723
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2723
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2724
2724
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2725
2725
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2726
2726
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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");
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
errorCodes,
|
|
30
30
|
isCliError,
|
|
31
31
|
visibleControls
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HM6AMYHR.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.124.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.124.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.124.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.124.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`"));
|
|
@@ -866,7 +866,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
866
866
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
867
867
|
].join("\n"), "jsonlOf");
|
|
868
868
|
|
|
869
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
869
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
870
870
|
var CRASH_CODE = "internal_error";
|
|
871
871
|
var CRASH_REASON = "command.crashed";
|
|
872
872
|
var errorObjectSchema = strictObject({
|
|
@@ -965,7 +965,7 @@ var BASE_REASONS = defineReasons([
|
|
|
965
965
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
966
966
|
]);
|
|
967
967
|
|
|
968
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
968
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
969
969
|
var SAME_COMMAND = "*";
|
|
970
970
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
971
971
|
var stepSchema = union([
|
|
@@ -1044,7 +1044,7 @@ var STEPS = defineSteps([
|
|
|
1044
1044
|
}
|
|
1045
1045
|
]);
|
|
1046
1046
|
|
|
1047
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1047
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
1048
1048
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
1049
1049
|
if (isCliError(failure))
|
|
1050
1050
|
return failure;
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readSharedSection,
|
|
5
5
|
writeSharedSection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2PSAS4TT.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HM6AMYHR.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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";
|