@wirecat/zoom-cli 0.78.0 → 0.79.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/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-7JN3N3E6.js → all-profiles-LDSHUH5W.js} +11 -11
- package/dist/bundle/answer-policy-VJK4ID2F.js +122 -0
- package/dist/bundle/{anthropic-U6O7UYGZ.js → anthropic-UH3QWA3F.js} +6 -6
- package/dist/bundle/{app-server-G7BTC6CE.js → app-server-LFANTLAJ.js} +68 -68
- package/dist/bundle/{bun-VLROVUFK.js → bun-M3J2QTR3.js} +2 -2
- package/dist/bundle/{bun-sqlite-C5JLANDE.js → bun-sqlite-NYP5UH23.js} +7 -7
- package/dist/bundle/{chunk-53TV72JG.js → chunk-2GI63IPV.js} +2 -2
- package/dist/bundle/{chunk-OI4563JI.js → chunk-2IPIBDXI.js} +13 -13
- package/dist/bundle/{chunk-HOJOVUO6.js → chunk-2LJARGNG.js} +12 -12
- package/dist/bundle/{chunk-NS5XSCHC.js → chunk-2N57GL4L.js} +1 -1
- package/dist/bundle/{chunk-YZKVCTZI.js → chunk-2OTETB4A.js} +8 -8
- package/dist/bundle/{chunk-MVLLWSV7.js → chunk-2PUMYKGV.js} +16 -16
- package/dist/bundle/{chunk-XSF5OBVZ.js → chunk-2W6QGFHF.js} +8 -8
- package/dist/bundle/{chunk-HI4QICF7.js → chunk-3AFZ6Q5N.js} +12 -12
- package/dist/bundle/{chunk-P5QO7Y3H.js → chunk-3QPAD6YI.js} +6 -6
- package/dist/bundle/{chunk-HGBZBQAE.js → chunk-4BQN5IFQ.js} +3 -3
- package/dist/bundle/{chunk-2AWWMROP.js → chunk-4S7RUA3U.js} +505 -391
- package/dist/bundle/{chunk-FCGRXUAU.js → chunk-4T3J4NCF.js} +9 -9
- package/dist/bundle/{chunk-5DLK4OXF.js → chunk-525BI32C.js} +3 -3
- package/dist/bundle/{chunk-ORSTSBWU.js → chunk-52ZQ72HL.js} +1 -1
- package/dist/bundle/{chunk-XCOGI4JE.js → chunk-5KEOCHBZ.js} +4 -4
- package/dist/bundle/{chunk-WJTXO2EI.js → chunk-5RVXXDN7.js} +1 -1
- package/dist/bundle/{chunk-WEAMGNST.js → chunk-63WT3HCY.js} +3 -3
- package/dist/bundle/{chunk-4XPVRZXE.js → chunk-65DOVVHQ.js} +1 -1
- package/dist/bundle/{chunk-LBTANUUH.js → chunk-73L5R7AS.js} +2 -2
- package/dist/bundle/{chunk-2LMD3JUD.js → chunk-7DTWT7BN.js} +2 -2
- package/dist/bundle/{chunk-LERF2FIK.js → chunk-AWLZZTPW.js} +3 -3
- package/dist/bundle/{chunk-FMMCGQNT.js → chunk-AZB6QXZU.js} +5 -3
- package/dist/bundle/{chunk-OAYAGQ7C.js → chunk-BNEJKGG7.js} +31 -22
- package/dist/bundle/{chunk-H34KEXTN.js → chunk-BOVYOUB3.js} +10 -10
- package/dist/bundle/{chunk-BAHXR4PA.js → chunk-BTFPDS52.js} +6 -6
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
- package/dist/bundle/{chunk-7EVB4UV7.js → chunk-D264RGZ4.js} +4 -4
- package/dist/bundle/{chunk-VMA7SILL.js → chunk-DFCHHR5M.js} +1 -1
- package/dist/bundle/{chunk-C26V2XNV.js → chunk-DI5JX4SD.js} +1 -1
- package/dist/bundle/{chunk-INJK7FNM.js → chunk-DQVCCO7G.js} +183 -171
- package/dist/bundle/{chunk-LX532BXO.js → chunk-E5WLE7BM.js} +1 -1
- package/dist/bundle/{chunk-H74NENWA.js → chunk-FIJREKLA.js} +3 -3
- package/dist/bundle/{chunk-UIBKGH5P.js → chunk-FKA7DOCK.js} +1 -1
- package/dist/bundle/{chunk-OAE6XR7E.js → chunk-FMT4CIGN.js} +7 -7
- package/dist/bundle/{chunk-ZZJ5IWNT.js → chunk-FO5UNFFN.js} +4 -4
- package/dist/bundle/chunk-FPUGMDJV.js +7 -0
- package/dist/bundle/{chunk-HUSIS3XO.js → chunk-GTUBQQU2.js} +64 -61
- package/dist/bundle/{chunk-B4V4DRVO.js → chunk-HOXBHGP2.js} +12 -12
- package/dist/bundle/{chunk-FURKMNC2.js → chunk-HVQVCGME.js} +3 -3
- package/dist/bundle/{chunk-7K5O2VWO.js → chunk-HZRQLAHO.js} +1 -1
- package/dist/bundle/{chunk-M5R2DURM.js → chunk-I6VDTYML.js} +10 -10
- package/dist/bundle/{chunk-LBV4673S.js → chunk-I75KOOUD.js} +3 -3
- package/dist/bundle/{chunk-V53TIJLY.js → chunk-IIFRJV3A.js} +2 -2
- package/dist/bundle/{chunk-B6TUEQ4O.js → chunk-J62BQBVG.js} +3 -3
- package/dist/bundle/{chunk-JOIAE3NO.js → chunk-JJGUHWLB.js} +7 -7
- package/dist/bundle/{chunk-Q4AKIAIA.js → chunk-LCCVEX4R.js} +12 -12
- package/dist/bundle/{chunk-2O66KMOR.js → chunk-LITZ7KPO.js} +2 -2
- package/dist/bundle/{chunk-6MFEWAK4.js → chunk-M4RXPZ6K.js} +4 -4
- package/dist/bundle/{chunk-F7IDYQLM.js → chunk-M5FW654Z.js} +2 -2
- package/dist/bundle/{chunk-H7SRM26V.js → chunk-N5O3XVX3.js} +3 -3
- package/dist/bundle/{chunk-AEVSVVTP.js → chunk-ND7TBQKO.js} +2 -2
- package/dist/bundle/{chunk-7IIQU5RA.js → chunk-NI7UYGTF.js} +13 -13
- package/dist/bundle/{chunk-5SM2IOAS.js → chunk-NKFEEY5M.js} +14 -29
- package/dist/bundle/{chunk-532FNLON.js → chunk-NQMHYLZO.js} +20 -20
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
- package/dist/bundle/{chunk-7HEZQCHL.js → chunk-OLMEJNL4.js} +6 -6
- package/dist/bundle/{chunk-UKYO3HNO.js → chunk-ONJPUFLX.js} +1 -1
- package/dist/bundle/{chunk-4QCLPSJ7.js → chunk-OZQSTX4J.js} +5 -5
- package/dist/bundle/{chunk-6NTNAEZF.js → chunk-P4MZOAPC.js} +1229 -1015
- package/dist/bundle/{chunk-XOG7B7K5.js → chunk-P4WHDL2F.js} +4 -4
- package/dist/bundle/{chunk-U2Z35B3W.js → chunk-PCPOO5FS.js} +2 -2
- package/dist/bundle/{chunk-TEFHNXXX.js → chunk-PJFVE7UH.js} +14 -14
- package/dist/bundle/{chunk-3NZJKY7A.js → chunk-PP6SZLCY.js} +16 -16
- package/dist/bundle/{chunk-BGO7IEHY.js → chunk-QIK2IBJ4.js} +21 -7
- package/dist/bundle/{chunk-C56OYYFG.js → chunk-QRKSASGP.js} +3 -3
- package/dist/bundle/{chunk-KBTINKQF.js → chunk-QX3PO5UE.js} +3 -3
- package/dist/bundle/{chunk-FHOQWPQ6.js → chunk-RJ5JAYNZ.js} +307 -268
- package/dist/bundle/{chunk-ZDZASHSQ.js → chunk-RMQ7EALU.js} +17 -17
- package/dist/bundle/{chunk-UHBQM54J.js → chunk-RMX2WPWS.js} +4 -4
- package/dist/bundle/{chunk-EV7QCFQR.js → chunk-RUE3WP7K.js} +19 -19
- package/dist/bundle/{chunk-BIUHLXL2.js → chunk-SGFNQFP4.js} +33 -33
- package/dist/bundle/{chunk-FNLXFQN6.js → chunk-ST3ZB7LS.js} +1 -1
- package/dist/bundle/{chunk-YLNUKNGD.js → chunk-T6LA664Z.js} +35 -34
- package/dist/bundle/{chunk-Q4CNLEAY.js → chunk-TLO62ROR.js} +26 -26
- package/dist/bundle/{chunk-2USGT7LE.js → chunk-TP7GDWVF.js} +1 -1
- package/dist/bundle/{chunk-F2KZNAFF.js → chunk-TUECY6LV.js} +2 -2
- package/dist/bundle/{chunk-3QWYRZME.js → chunk-U7QXC75C.js} +8 -8
- package/dist/bundle/{chunk-M2M3U4UU.js → chunk-UQKVZFIX.js} +12 -12
- package/dist/bundle/{chunk-XXD4YPHQ.js → chunk-VX6ZSKXM.js} +12 -12
- package/dist/bundle/{chunk-ZCVO6GAT.js → chunk-W53EJOFQ.js} +1 -1
- package/dist/bundle/{chunk-FXHZHQKU.js → chunk-W5HRTC6X.js} +6 -6
- package/dist/bundle/{chunk-IBINGDYF.js → chunk-W656MRJD.js} +6 -6
- package/dist/bundle/{chunk-GQ6EJDMV.js → chunk-W7HM2VGO.js} +1 -1
- package/dist/bundle/{chunk-VW36ZSAE.js → chunk-WE4UFASG.js} +1 -1
- package/dist/bundle/{chunk-RJIJR6KH.js → chunk-X2M6NIQG.js} +1 -1
- package/dist/bundle/{chunk-MJMHUU3J.js → chunk-XAOSZGTD.js} +1 -1
- package/dist/bundle/{chunk-YHQ3TEGB.js → chunk-XDBGGOE2.js} +27 -27
- package/dist/bundle/{chunk-WOYPWXZK.js → chunk-XEIL6VNA.js} +4 -4
- package/dist/bundle/{chunk-MSMFYW6N.js → chunk-XFMVDQ6J.js} +2 -2
- package/dist/bundle/{chunk-KEAKNNXU.js → chunk-XIHENZW6.js} +4 -4
- package/dist/bundle/{chunk-DLJPN47R.js → chunk-XOYMIEAZ.js} +6 -5
- package/dist/bundle/{chunk-YNYQGZUW.js → chunk-Y4UDPQ3L.js} +7 -7
- package/dist/bundle/{chunk-7AMKSXMB.js → chunk-Y64L7A7E.js} +6 -6
- package/dist/bundle/{chunk-TXDCIM5D.js → chunk-YCW422X7.js} +1090 -755
- package/dist/bundle/{chunk-3A3B3JX4.js → chunk-YOBTKYIX.js} +8 -8
- package/dist/bundle/{chunk-TFDD4Q5Z.js → chunk-Z3CPZ4I4.js} +10 -10
- package/dist/bundle/{chunk-OOLNK3Y5.js → chunk-ZKVYV25H.js} +8 -8
- package/dist/bundle/{chunk-PJMQE4PW.js → chunk-ZPZT46O6.js} +15 -9
- package/dist/bundle/{cli-YALONJ4V.js → cli-AVQU63FT.js} +89 -77
- package/dist/bundle/command-contract-MCWBL5VS.js +45 -0
- package/dist/bundle/{command-server-entry-W4XTBUZE.js → command-server-entry-JZP7Y73G.js} +35 -35
- package/dist/bundle/config-G3C54VH6.js +109 -0
- package/dist/bundle/{decode-IFQHVCFX.js → decode-JLAYH7GC.js} +6 -6
- package/dist/bundle/{dispatch-GOJB4TDK.js → dispatch-AWDROXWN.js} +9 -9
- package/dist/bundle/{dist-H7XFUMRX.js → dist-TBLTUL5M.js} +21 -21
- package/dist/bundle/{echarts-HPUHPJCO.js → echarts-FVTUDXDU.js} +2 -2
- package/dist/bundle/{embed-ESU3WZYW.js → embed-CJRENDF7.js} +7 -7
- package/dist/bundle/{embedder-BV6O76B3.js → embedder-RPE67QJD.js} +10 -10
- package/dist/bundle/{failure-SWVCYFQX.js → failure-JZW73RP7.js} +3 -3
- package/dist/bundle/first-run-QEASX5J5.js +29 -0
- package/dist/bundle/first-screen-NGCQD3CU.js +45 -0
- package/dist/bundle/{folders-VQGKBM3P.js → folders-TGFOE7DY.js} +5 -5
- package/dist/bundle/{instructions-UUX57I3V.js → instructions-HET7BCYK.js} +1 -1
- package/dist/bundle/{main-UIKADOFB.js → main-QRJ6NRCD.js} +24 -24
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
- package/dist/bundle/meeting-combined-AZXCDXCV.js +26 -0
- package/dist/bundle/meeting-model-7HNQ4I3J.js +26 -0
- package/dist/bundle/{meeting-semantic-F6GUICB7.js → meeting-semantic-4MURLQCA.js} +8 -8
- package/dist/bundle/{meetings-KIBUPLPW.js → meetings-QFZWKHI4.js} +9 -7
- package/dist/bundle/{node-AM3JCAWB.js → node-CXZIFHZC.js} +2 -2
- package/dist/bundle/{node-sqlite-VM6VS3RU.js → node-sqlite-CZPYFROO.js} +8 -8
- package/dist/bundle/{oauth-AX5Z32H6.js → oauth-T45MPIZF.js} +8 -8
- package/dist/bundle/{open-SSGOOOZG.js → open-3AONZFET.js} +6 -6
- package/dist/bundle/openai-LHWUXEBO.js +28 -0
- package/dist/bundle/{output-file-FR226A64.js → output-file-J4SU6X4I.js} +6 -6
- package/dist/bundle/{process-5ZEK2VFY.js → process-5RUXWGYS.js} +1 -1
- package/dist/bundle/{program-ROJAJHCB.js → program-2O4YSRWY.js} +96 -94
- package/dist/bundle/{prompt-6Y7A4453.js → prompt-NDLUFCJV.js} +6 -6
- package/dist/bundle/{recognize-R5W25WKH.js → recognize-CZOIAJQX.js} +5 -5
- package/dist/bundle/{remote-PA4FQUZK.js → remote-O3CE4Q3B.js} +11 -11
- package/dist/bundle/{rerank-CYX3UFTM.js → rerank-MZOL746K.js} +8 -8
- package/dist/bundle/run-log-GX6LNMWY.js +136 -0
- package/dist/bundle/{serve-MM5QEZJW.js → serve-43IBHMFM.js} +10 -10
- package/dist/bundle/server-3E2PJGYK.js +85 -0
- package/dist/bundle/{server-JQQAH7E5.js → server-6LTMPPTO.js} +60 -60
- package/dist/bundle/{services-Y2DOQONM.js → services-UIRD5PHE.js} +54 -54
- package/dist/bundle/{speech-O6WLX34V.js → speech-6QVKIJVR.js} +25 -25
- package/dist/bundle/{sqlite-runtime-LQTBZMFH.js → sqlite-runtime-PKCIBVHZ.js} +7 -7
- package/dist/bundle/{state-AIDPZLVH.js → state-AC55V3IE.js} +7 -7
- package/dist/bundle/{store-BA4FQS5V.js → store-OAGA2ZK3.js} +26 -24
- package/dist/bundle/{store-UNDS2TBG.js → store-QOCYJNKX.js} +26 -26
- package/dist/bundle/store-connection-PBZMFY56.js +102 -0
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +77 -0
- package/dist/bundle/{streaming-UFHT5MR2.js → streaming-VDJOYGMO.js} +7 -7
- package/dist/bundle/{tokens-Z32UKGQB.js → tokens-LN442AO6.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-6U46XBTG.js → zoom-app-TOCQ7LB5.js} +8 -8
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +1 -0
- package/dist/program-bindings.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +2 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/dist/bundle/answer-policy-G2BNMPEX.js +0 -122
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-DMR5EOIN.js +0 -45
- package/dist/bundle/config-4TLDRXRL.js +0 -109
- package/dist/bundle/first-run-OEJGAQAE.js +0 -29
- package/dist/bundle/first-screen-QLM4IABL.js +0 -45
- package/dist/bundle/meeting-combined-SKJISCC7.js +0 -26
- package/dist/bundle/meeting-model-YG3Z5KCB.js +0 -26
- package/dist/bundle/openai-YIP73X2B.js +0 -28
- package/dist/bundle/run-log-FHERL3H6.js +0 -136
- package/dist/bundle/server-W2BBONCQ.js +0 -85
- package/dist/bundle/store-connection-ADBJ36T4.js +0 -102
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +0 -77
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P4MZOAPC.js";
|
|
27
27
|
import {
|
|
28
28
|
fold
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HZRQLAHO.js";
|
|
30
30
|
import {
|
|
31
31
|
damagedFile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ND7TBQKO.js";
|
|
33
33
|
import {
|
|
34
34
|
ADDED_PROVIDER,
|
|
35
35
|
filesAccountSql,
|
|
36
36
|
folderProviderOf,
|
|
37
37
|
folderProviderSql,
|
|
38
38
|
isDocumentAccountProvider
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NI7UYGTF.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CWXOXIWS.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BNEJKGG7.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZPZT46O6.js";
|
|
20
20
|
import {
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
26
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
27
27
|
import { existsSync } from "node:fs";
|
|
28
28
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ND7TBQKO.js";
|
|
7
7
|
import {
|
|
8
8
|
ADDED_PROVIDER,
|
|
9
9
|
INTERNAL_NOTES,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
kindsIn,
|
|
18
18
|
providerNamed,
|
|
19
19
|
providers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NI7UYGTF.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerStoreInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-73L5R7AS.js";
|
|
24
24
|
import {
|
|
25
25
|
array,
|
|
26
26
|
boolean,
|
|
@@ -40,22 +40,22 @@ import {
|
|
|
40
40
|
strictObject,
|
|
41
41
|
string,
|
|
42
42
|
unknown
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZPZT46O6.js";
|
|
44
44
|
import {
|
|
45
45
|
CliError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
|
49
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
50
50
|
|
|
51
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
52
52
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
53
53
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
54
54
|
var ERASED_TEXT = "[source erased]";
|
|
55
55
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
56
56
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
59
59
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
60
60
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
61
61
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -70,7 +70,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
70
70
|
}
|
|
71
71
|
__name(closeTask, "closeTask");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
74
74
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
75
75
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
76
76
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -99,7 +99,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
99
99
|
}, "priorityOf");
|
|
100
100
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
103
103
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
104
104
|
async function find(id2) {
|
|
105
105
|
const task = await store.get(id2);
|
|
@@ -159,13 +159,13 @@ function median(values) {
|
|
|
159
159
|
}
|
|
160
160
|
__name(median, "median");
|
|
161
161
|
|
|
162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
163
163
|
function matches(task, filter) {
|
|
164
164
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
165
165
|
}
|
|
166
166
|
__name(matches, "matches");
|
|
167
167
|
|
|
168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
169
169
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
170
170
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
171
171
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -173,10 +173,10 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
173
173
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
174
174
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
175
175
|
|
|
176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
177
177
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
178
178
|
|
|
179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
180
180
|
var text = string();
|
|
181
181
|
var id = pipe(string(), minLength(1));
|
|
182
182
|
var time = isoTime;
|
|
@@ -201,7 +201,7 @@ var author = strictObject({
|
|
|
201
201
|
name: nullable(text)
|
|
202
202
|
});
|
|
203
203
|
|
|
204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
205
205
|
var organization = strictObject({
|
|
206
206
|
id,
|
|
207
207
|
ref: reference,
|
|
@@ -231,7 +231,7 @@ var reminder = strictObject({
|
|
|
231
231
|
receipt: nullable(text)
|
|
232
232
|
});
|
|
233
233
|
|
|
234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
235
235
|
import { readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
236
236
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
237
237
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -352,7 +352,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
352
352
|
return { previous, cleared };
|
|
353
353
|
}, "recordDeepCheck");
|
|
354
354
|
|
|
355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
356
356
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
357
357
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
358
358
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -375,7 +375,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
375
375
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
376
376
|
}, "sourceOf");
|
|
377
377
|
|
|
378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
379
379
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
380
380
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
381
381
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -585,7 +585,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
|
|
|
585
585
|
return { accounts: [...chosen.values()], skipped };
|
|
586
586
|
}, "fitting");
|
|
587
587
|
|
|
588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
589
589
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
590
590
|
var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
591
591
|
const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
|
|
@@ -595,7 +595,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
595
595
|
};
|
|
596
596
|
}, "sourceOf");
|
|
597
597
|
|
|
598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
599
599
|
var LINK_KINDS = [
|
|
600
600
|
"links-to",
|
|
601
601
|
"blocked-by",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-T6LA664Z.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,35 +33,35 @@ import {
|
|
|
33
33
|
refuseWriteBeforeConnecting,
|
|
34
34
|
registerPrompts,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XDBGGOE2.js";
|
|
37
37
|
import {
|
|
38
38
|
agentJson,
|
|
39
39
|
skillResources
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PP6SZLCY.js";
|
|
41
41
|
import {
|
|
42
42
|
instructions
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FKA7DOCK.js";
|
|
44
44
|
import {
|
|
45
45
|
mcpHttpMarker
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-D264RGZ4.js";
|
|
47
47
|
import {
|
|
48
48
|
StdioServerTransport,
|
|
49
49
|
answeredWire,
|
|
50
50
|
callerOf,
|
|
51
51
|
callingAgent,
|
|
52
52
|
serveStdio
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4BQN5IFQ.js";
|
|
54
54
|
import {
|
|
55
55
|
McpServer,
|
|
56
56
|
ResourceTemplate
|
|
57
57
|
} from "./chunk-5D4AEUVA.js";
|
|
58
58
|
import {
|
|
59
59
|
connectedFor
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2PUMYKGV.js";
|
|
61
61
|
import {
|
|
62
62
|
lackedNeed,
|
|
63
63
|
wholeList
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3AFZ6Q5N.js";
|
|
65
65
|
import {
|
|
66
66
|
capability,
|
|
67
67
|
dateWindow,
|
|
@@ -69,16 +69,16 @@ import {
|
|
|
69
69
|
imageSize,
|
|
70
70
|
servicesFor,
|
|
71
71
|
storedDeps
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-4S7RUA3U.js";
|
|
73
73
|
import {
|
|
74
74
|
warmEmbedders
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-3QPAD6YI.js";
|
|
76
76
|
import {
|
|
77
77
|
stdinFieldOf
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-X2M6NIQG.js";
|
|
79
79
|
import {
|
|
80
80
|
findCommand
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-OZQSTX4J.js";
|
|
82
82
|
import {
|
|
83
83
|
DEFAULT_OUTPUT_BYTES,
|
|
84
84
|
changesAuthorityAt,
|
|
@@ -92,31 +92,31 @@ import {
|
|
|
92
92
|
rootOf2 as rootOf,
|
|
93
93
|
sealed,
|
|
94
94
|
snakeKeys
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-DQVCCO7G.js";
|
|
96
96
|
import {
|
|
97
97
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-M5FW654Z.js";
|
|
99
99
|
import {
|
|
100
100
|
withCaller
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-JJGUHWLB.js";
|
|
102
102
|
import {
|
|
103
103
|
fetchesAt,
|
|
104
104
|
levelFor,
|
|
105
105
|
readKeysForCommand
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-2OTETB4A.js";
|
|
107
107
|
import {
|
|
108
108
|
openStore,
|
|
109
109
|
pdfPreviewLimits
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-P4MZOAPC.js";
|
|
111
111
|
import {
|
|
112
112
|
typedCommand
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-OLMEJNL4.js";
|
|
114
114
|
import {
|
|
115
115
|
isCliFailure
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-ND7TBQKO.js";
|
|
117
117
|
import {
|
|
118
118
|
timezoneOf
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-Z3CPZ4I4.js";
|
|
120
120
|
import {
|
|
121
121
|
description,
|
|
122
122
|
errorObjectOf,
|
|
@@ -133,21 +133,21 @@ import {
|
|
|
133
133
|
regex,
|
|
134
134
|
strictObject,
|
|
135
135
|
string
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-ZPZT46O6.js";
|
|
137
137
|
import {
|
|
138
138
|
CliError
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
140
140
|
import {
|
|
141
141
|
visibleControls
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-5RVXXDN7.js";
|
|
143
143
|
import {
|
|
144
144
|
__name
|
|
145
145
|
} from "./chunk-ZVVMGPBJ.js";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
148
148
|
import { randomUUID } from "node:crypto";
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
151
151
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
152
152
|
let held;
|
|
153
153
|
return {
|
|
@@ -166,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
166
166
|
};
|
|
167
167
|
}, "agentLog");
|
|
168
168
|
|
|
169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
170
170
|
var LISTED = 100;
|
|
171
171
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
172
172
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -204,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
204
204
|
});
|
|
205
205
|
}, "registerResources");
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
208
208
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
209
209
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
210
210
|
var MessengerSession = class {
|
|
@@ -279,7 +279,7 @@ var MessengerSession = class {
|
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
283
283
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
284
284
|
const _command = messenger.app.command;
|
|
285
285
|
return {
|
|
@@ -333,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
333
333
|
};
|
|
334
334
|
}, "attachmentsTools");
|
|
335
335
|
|
|
336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
337
337
|
var PHOTO_LIMIT = 512 * 1024;
|
|
338
338
|
var IMAGE_TYPES = [
|
|
339
339
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -389,7 +389,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
389
389
|
return new Uint8Array(Buffer.concat(chunks));
|
|
390
390
|
}, "readUpTo");
|
|
391
391
|
|
|
392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
393
393
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
394
394
|
stats_charts: tool({
|
|
395
395
|
title: "A chart from a chat's statistics",
|
|
@@ -426,14 +426,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
426
426
|
})
|
|
427
427
|
}), "statsTools");
|
|
428
428
|
|
|
429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
430
430
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
431
431
|
...messagesPhotoTools(messenger),
|
|
432
432
|
...attachmentsTools(messenger),
|
|
433
433
|
...statsTools(messenger)
|
|
434
434
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
435
435
|
|
|
436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
437
437
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
438
438
|
"streams",
|
|
439
439
|
"stdin",
|
|
@@ -749,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
749
749
|
}, "serveOverStdio");
|
|
750
750
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
751
751
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
752
|
-
const { serveOverHttp } = await import("./serve-
|
|
752
|
+
const { serveOverHttp } = await import("./serve-43IBHMFM.js");
|
|
753
753
|
const appName = messenger.app.command;
|
|
754
754
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
755
755
|
const listening = await serveOverHttp(build, {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|