@wirecat/cli-memo 0.131.58 → 0.131.60
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/memo.js +2 -2
- package/dist/bundle/{all-profiles-XWRUFNP2.js → all-profiles-NUBT2FJI.js} +5 -5
- package/dist/bundle/{anthropic-266QJJGV.js → anthropic-QNTKWSQT.js} +3 -3
- package/dist/bundle/{app-server-YV3D7PPC.js → app-server-6TXXVCSE.js} +35 -35
- package/dist/bundle/auto-4VLWHDG7.js +86 -0
- package/dist/bundle/{bun-22MM6T54.js → bun-3NYKD7YB.js} +2 -2
- package/dist/bundle/{bun-sqlite-V73FFF2C.js → bun-sqlite-IIJSZ5I2.js} +2 -2
- package/dist/bundle/{chunk-DUBGCFRO.js → chunk-25N2ZCXV.js} +2 -2
- package/dist/bundle/{chunk-5T7BFCDJ.js → chunk-3M237SBK.js} +5 -5
- package/dist/bundle/{chunk-4K2ECEHT.js → chunk-4II6DM7L.js} +10 -10
- package/dist/bundle/{chunk-OROO3KYQ.js → chunk-4RSPI6OR.js} +1 -1
- package/dist/bundle/{chunk-IY7GB2SJ.js → chunk-4VAKZH56.js} +2 -2
- package/dist/bundle/{chunk-TB4IRRAC.js → chunk-636FK3A6.js} +1 -1
- package/dist/bundle/{chunk-CQPMBTB6.js → chunk-67CIUJO6.js} +1 -1
- package/dist/bundle/{chunk-NSYTJAL6.js → chunk-67L6BQOD.js} +4 -4
- package/dist/bundle/{chunk-RTROEIYE.js → chunk-6NYZ32K5.js} +2 -2
- package/dist/bundle/{chunk-XXOWA66S.js → chunk-AEATD5XH.js} +32 -21
- package/dist/bundle/{chunk-RYDNM3K2.js → chunk-B6R7O3U5.js} +1 -1
- package/dist/bundle/{chunk-NEWKSMXP.js → chunk-BYIKFYRY.js} +2 -2
- package/dist/bundle/{chunk-QLCPRKFK.js → chunk-BZZRBJ2C.js} +28 -28
- package/dist/bundle/{chunk-YTAQKOAW.js → chunk-CZPAYIQR.js} +1 -1
- package/dist/bundle/{chunk-DQWHLOKG.js → chunk-CZUMANL4.js} +4 -4
- package/dist/bundle/{chunk-PHWJBFZ6.js → chunk-DZKTPOTJ.js} +31 -31
- package/dist/bundle/{chunk-Z6RSOFHK.js → chunk-EMU7UIUA.js} +2 -2
- package/dist/bundle/{chunk-2CF2R7SA.js → chunk-FH56EHWA.js} +6 -6
- package/dist/bundle/{chunk-3R6YNDPC.js → chunk-FXXXBLZD.js} +5 -5
- package/dist/bundle/{chunk-RJWL3NEL.js → chunk-G6P5NWIZ.js} +1 -1
- package/dist/bundle/{chunk-PBVG3KJR.js → chunk-GGGIUXKD.js} +3 -3
- package/dist/bundle/{chunk-XIZPMFEC.js → chunk-GLPSPFTP.js} +4 -4
- package/dist/bundle/{chunk-FG7ZGEZ6.js → chunk-HF2W6622.js} +4 -4
- package/dist/bundle/{chunk-ONJNZ2RJ.js → chunk-IJKXX7LB.js} +1 -1
- package/dist/bundle/{chunk-NDCURVJS.js → chunk-KMA63WO5.js} +4 -4
- package/dist/bundle/{chunk-WKMLLL2F.js → chunk-KOBVPWMU.js} +49 -49
- package/dist/bundle/{chunk-BRT6M2TW.js → chunk-L3G5UY2P.js} +4 -4
- package/dist/bundle/{chunk-G3QR3IYN.js → chunk-LXQ56N66.js} +8 -8
- package/dist/bundle/{chunk-MV6ZSBA3.js → chunk-LZFQZOAL.js} +256 -256
- package/dist/bundle/{chunk-V4BKQWDS.js → chunk-LZQ7QENQ.js} +227 -187
- package/dist/bundle/{chunk-HVHUHYNF.js → chunk-MCPHBBJL.js} +1 -1
- package/dist/bundle/{chunk-D7FZIH5H.js → chunk-MV6M3VR3.js} +9 -9
- package/dist/bundle/{chunk-72ZEEKOJ.js → chunk-MYVP4IFW.js} +3 -3
- package/dist/bundle/{chunk-XLYMVYMU.js → chunk-ND2PQA4X.js} +22 -4
- package/dist/bundle/{chunk-N2TGYTKE.js → chunk-NMWIWQ7J.js} +1 -1
- package/dist/bundle/{chunk-BLCYVRW3.js → chunk-NSEX4YST.js} +7 -7
- package/dist/bundle/{chunk-L3GFAQFP.js → chunk-NX4XCS64.js} +21 -21
- package/dist/bundle/{chunk-EUE76Q4D.js → chunk-NXV3USUU.js} +3 -3
- package/dist/bundle/{chunk-XEQPZBIH.js → chunk-O55ELCFO.js} +1 -1
- package/dist/bundle/{chunk-3BWYMNWP.js → chunk-PMGGNQHL.js} +1 -1
- package/dist/bundle/{chunk-4XKHXETB.js → chunk-PNIAEDGJ.js} +726 -517
- package/dist/bundle/{chunk-F5DOQOCK.js → chunk-RC2NAT7T.js} +12 -12
- package/dist/bundle/{chunk-2LPPNYOZ.js → chunk-RU34XFKL.js} +1 -1
- package/dist/bundle/{chunk-GBOES7QS.js → chunk-S2VXXF4H.js} +2 -2
- package/dist/bundle/{chunk-VEDOHZEU.js → chunk-S56CC44R.js} +7 -7
- package/dist/bundle/{chunk-XC6OYACL.js → chunk-SSKSRETJ.js} +13 -9
- package/dist/bundle/{chunk-PE7RYCI4.js → chunk-SU2EPGGH.js} +12 -12
- package/dist/bundle/{chunk-ATEHG5O6.js → chunk-SYJMQIIJ.js} +2 -2
- package/dist/bundle/{chunk-FU3XDL34.js → chunk-TLZEAHCB.js} +5 -5
- package/dist/bundle/{chunk-5FYDQEM7.js → chunk-VGLDBSGN.js} +5 -5
- package/dist/bundle/{chunk-JYUNAC6P.js → chunk-VUJANY4X.js} +6 -6
- package/dist/bundle/{chunk-EQQIUVLP.js → chunk-WUOQ7CQU.js} +4 -4
- package/dist/bundle/{chunk-6WWF4RST.js → chunk-XBSLZQY4.js} +418 -359
- package/dist/bundle/{chunk-6FABO4WB.js → chunk-XW4NE2NW.js} +1 -1
- package/dist/bundle/{chunk-KZDKFYIF.js → chunk-XXZ3WQSW.js} +156 -151
- package/dist/bundle/{chunk-3N7LEJRT.js → chunk-YXBMP74S.js} +1 -1
- package/dist/bundle/{chunk-HJWWZXVG.js → chunk-Z3SASH3J.js} +1 -1
- package/dist/bundle/{command-contract-DKK56GZX.js → command-contract-KE77NBYG.js} +11 -11
- package/dist/bundle/{decode-JHVAOF3N.js → decode-AD352TI2.js} +2 -2
- package/dist/bundle/{echarts-KCOXA225.js → echarts-VCQEG6RB.js} +2 -2
- package/dist/bundle/{embed-4NYYOVNS.js → embed-A2YCI5TM.js} +3 -3
- package/dist/bundle/{embedder-SHPWEDIQ.js → embedder-G35OKUR5.js} +6 -6
- package/dist/bundle/{entry-VZE4CVPX.js → entry-3Y2C4AAL.js} +4 -4
- package/dist/bundle/failure-GHNN2IIX.js +66 -0
- package/dist/bundle/{first-run-EKXME7UK.js → first-run-RDQFQ5MD.js} +5 -5
- package/dist/bundle/{first-screen-QS5PVWDZ.js → first-screen-XWHL4AEK.js} +12 -12
- package/dist/bundle/{instructions-ER3ONEOR.js → instructions-VWX5TPRM.js} +1 -1
- package/dist/bundle/{mcp-3ABYEJI3.js → mcp-JHDRZPSO.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-DBZKVPDA.js → node-OCRAUHTJ.js} +2 -2
- package/dist/bundle/{node-sqlite-UZVU7EXS.js → node-sqlite-UIZIEENG.js} +3 -3
- package/dist/bundle/{oauth-VEFHKRWG.js → oauth-WZOYRQA4.js} +4 -4
- package/dist/bundle/{open-XNRAMLOK.js → open-ITE5EG22.js} +2 -2
- package/dist/bundle/{openai-4XIX5RN2.js → openai-S4TD7H5G.js} +7 -7
- package/dist/bundle/{process-EIGF77RB.js → process-Z7OS65OQ.js} +1 -1
- package/dist/bundle/{program-OM6GO5X2.js → program-PYCRRMXK.js} +82 -60
- package/dist/bundle/{prompt-V7RFTWTA.js → prompt-NW2KOEQS.js} +4 -2
- package/dist/bundle/{recognize-7PWWI67V.js → recognize-65IM7MS4.js} +1 -1
- package/dist/bundle/{remote-NOKKQ2U5.js → remote-4EOO533Z.js} +4 -4
- package/dist/bundle/{rerank-X7UWX2ZF.js → rerank-LKRFHRN6.js} +4 -4
- package/dist/bundle/{serve-Z6YCLXXP.js → serve-SIB2TBOF.js} +6 -6
- package/dist/bundle/server-DO3J7CR5.js +48 -0
- package/dist/bundle/{server-KHFBSBCY.js → server-JZAL3SRH.js} +50 -50
- package/dist/bundle/server-NQLMHLMU.js +61 -0
- package/dist/bundle/{state-K5D3BMKT.js → state-245GTWCO.js} +3 -3
- package/dist/bundle/{store-6SZBCSUF.js → store-2QSJI77T.js} +14 -9
- package/dist/bundle/store-maintenance-command-F7FSHWHW.js +48 -0
- package/dist/bundle/update-NENHRNFS.js +69 -0
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts.map +1 -1
- package/dist/knowledge/relationships-scan.js +23 -2
- package/dist/knowledge/relationships-scan.js.map +1 -1
- package/dist/review/review.d.ts +1 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +5 -0
- package/dist/review/review.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/projects.md +1 -1
- package/dist/bundle/auto-3TXQDVO6.js +0 -86
- package/dist/bundle/failure-HKKLVEZA.js +0 -66
- package/dist/bundle/server-AXMJBL6J.js +0 -61
- package/dist/bundle/server-KABSY3RL.js +0 -48
- package/dist/bundle/store-maintenance-command-GTMZOLMZ.js +0 -48
- package/dist/bundle/update-DT4DCRXS.js +0 -69
- /package/dist/bundle/{chunk-SO2HNIPX.js → chunk-GK2FRFM6.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NX4XCS64.js";
|
|
7
7
|
import {
|
|
8
8
|
FETCHING,
|
|
9
9
|
QUICK_HEALTH_CHECKS,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
typedQuery,
|
|
30
30
|
withQuery,
|
|
31
31
|
withTimeLimit
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XBSLZQY4.js";
|
|
33
33
|
import {
|
|
34
34
|
stringWidth,
|
|
35
35
|
wrapAnsi
|
|
@@ -61,20 +61,20 @@ import {
|
|
|
61
61
|
snakeKeys,
|
|
62
62
|
storeTable,
|
|
63
63
|
withoutProviderRefs
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-XXZ3WQSW.js";
|
|
65
65
|
import {
|
|
66
66
|
envName
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-PMGGNQHL.js";
|
|
68
68
|
import {
|
|
69
69
|
holdLock,
|
|
70
70
|
lockPath,
|
|
71
71
|
releaseLock,
|
|
72
72
|
servingProfiles,
|
|
73
73
|
takeLock
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-25N2ZCXV.js";
|
|
75
75
|
import {
|
|
76
76
|
holdersOf
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IJKXX7LB.js";
|
|
78
78
|
import {
|
|
79
79
|
CORPORA,
|
|
80
80
|
MIGRATIONS,
|
|
@@ -110,35 +110,35 @@ import {
|
|
|
110
110
|
storeClients,
|
|
111
111
|
storeContents,
|
|
112
112
|
vectorIndexCounts
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-PNIAEDGJ.js";
|
|
114
114
|
import {
|
|
115
115
|
queryFieldsOf,
|
|
116
116
|
readDamageMark,
|
|
117
117
|
readHealthMark,
|
|
118
118
|
recordDeepCheck
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-LZQ7QENQ.js";
|
|
120
120
|
import {
|
|
121
121
|
failureKey,
|
|
122
122
|
isStoreDamage
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-4VAKZH56.js";
|
|
124
124
|
import {
|
|
125
125
|
readSecret
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-ND2PQA4X.js";
|
|
127
127
|
import {
|
|
128
128
|
checkedOptions,
|
|
129
129
|
range
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-YXBMP74S.js";
|
|
131
131
|
import {
|
|
132
132
|
messagesFor,
|
|
133
133
|
systemFor,
|
|
134
134
|
validateImages
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-MCPHBBJL.js";
|
|
136
136
|
import {
|
|
137
137
|
storePath
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-4RSPI6OR.js";
|
|
139
139
|
import {
|
|
140
140
|
openCache
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-VGLDBSGN.js";
|
|
142
142
|
import {
|
|
143
143
|
Credentials,
|
|
144
144
|
pathsAreOverridden,
|
|
@@ -5513,11 +5513,11 @@ var require_liquid_node = __commonJS({
|
|
|
5513
5513
|
}
|
|
5514
5514
|
});
|
|
5515
5515
|
|
|
5516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5517
5517
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync9, mkdirSync, realpathSync as realpathSync2, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5518
5518
|
import { dirname as dirname2, resolve } from "node:path";
|
|
5519
5519
|
|
|
5520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5521
5521
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5522
5522
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5523
5523
|
import { Transform } from "node:stream";
|
|
@@ -5624,7 +5624,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5624
5624
|
renameSync(pending, to);
|
|
5625
5625
|
}, "unsealFile");
|
|
5626
5626
|
|
|
5627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5628
5628
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5629
5629
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5630
5630
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5648,7 +5648,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5648
5648
|
};
|
|
5649
5649
|
}, "compatibilityOf");
|
|
5650
5650
|
|
|
5651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5652
5652
|
import { createHash as createHash2 } from "node:crypto";
|
|
5653
5653
|
var COPY_MARK = "__repair_";
|
|
5654
5654
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5902,13 +5902,13 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5902
5902
|
return found;
|
|
5903
5903
|
}, "deleteCopy");
|
|
5904
5904
|
|
|
5905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5906
5906
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5907
5907
|
|
|
5908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5909
5909
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5910
5910
|
|
|
5911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5912
5912
|
import { execFileSync, spawn } from "node:child_process";
|
|
5913
5913
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5914
5914
|
import { basename, dirname, join } from "node:path";
|
|
@@ -6305,7 +6305,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6305
6305
|
}
|
|
6306
6306
|
}, "recoverLocked");
|
|
6307
6307
|
|
|
6308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6309
6309
|
var COUNTED = [
|
|
6310
6310
|
"accounts",
|
|
6311
6311
|
"chats",
|
|
@@ -6438,7 +6438,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6438
6438
|
return recover;
|
|
6439
6439
|
}, "storeRecoverCommand");
|
|
6440
6440
|
|
|
6441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6442
6442
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6443
6443
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6444
6444
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6484,7 +6484,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6484
6484
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6485
6485
|
}), "storeInfoCommand");
|
|
6486
6486
|
|
|
6487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6488
6488
|
var ENCRYPT_OPTION = [
|
|
6489
6489
|
"--encrypt",
|
|
6490
6490
|
"compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
|
|
@@ -6503,7 +6503,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6503
6503
|
return password;
|
|
6504
6504
|
}, "passwordOf");
|
|
6505
6505
|
|
|
6506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6507
6507
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6508
6508
|
import { join as join2 } from "node:path";
|
|
6509
6509
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6674,7 +6674,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6674
6674
|
}, "problem");
|
|
6675
6675
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6676
6676
|
|
|
6677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6678
6678
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6679
6679
|
import { join as join3 } from "node:path";
|
|
6680
6680
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6727,7 +6727,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6727
6727
|
}, "recordReply");
|
|
6728
6728
|
var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
|
|
6729
6729
|
|
|
6730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6731
6731
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6732
6732
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6733
6733
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -6833,10 +6833,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
6833
6833
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
6834
6834
|
}, "filled");
|
|
6835
6835
|
|
|
6836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
6837
6837
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
6838
6838
|
|
|
6839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
6840
6840
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
6841
6841
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
6842
6842
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -6863,7 +6863,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
6863
6863
|
return engine;
|
|
6864
6864
|
}, "safeLiquid");
|
|
6865
6865
|
|
|
6866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
6867
6867
|
var TEMPLATE_LIMITS = {
|
|
6868
6868
|
parse: 32768,
|
|
6869
6869
|
renders: 2e3,
|
|
@@ -7002,7 +7002,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7002
7002
|
}
|
|
7003
7003
|
}, "renderReplyTemplate");
|
|
7004
7004
|
|
|
7005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7006
7006
|
var DRY_RUN_DAYS = 7;
|
|
7007
7007
|
var PAGE = 500;
|
|
7008
7008
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7116,7 +7116,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7116
7116
|
}
|
|
7117
7117
|
}, "storedSince");
|
|
7118
7118
|
|
|
7119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
7120
7120
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
7121
7121
|
const host = new URL(baseUrl).host;
|
|
7122
7122
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|
|
@@ -7147,7 +7147,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
|
|
|
7147
7147
|
};
|
|
7148
7148
|
}, "embeddingKeys");
|
|
7149
7149
|
|
|
7150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
7151
7151
|
var options = strictObject({
|
|
7152
7152
|
temperature: range(0, 2),
|
|
7153
7153
|
top_p: range(0, 1),
|
|
@@ -7196,7 +7196,7 @@ var openai = {
|
|
|
7196
7196
|
}), "complete")
|
|
7197
7197
|
};
|
|
7198
7198
|
|
|
7199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
7200
7200
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
7201
7201
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
7202
7202
|
if (deps.signal?.aborted)
|
|
@@ -7211,7 +7211,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
7211
7211
|
if (!adapter && target.provider === "openai")
|
|
7212
7212
|
adapter = openai;
|
|
7213
7213
|
if (!adapter && target.provider === "anthropic")
|
|
7214
|
-
adapter = (await import("./anthropic-
|
|
7214
|
+
adapter = (await import("./anthropic-QNTKWSQT.js")).anthropic;
|
|
7215
7215
|
if (!adapter)
|
|
7216
7216
|
throw new CliError("validation_error", `no model adapter for ${target.provider}`);
|
|
7217
7217
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -7252,7 +7252,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
7252
7252
|
}, "complete")
|
|
7253
7253
|
}), "modelGateway");
|
|
7254
7254
|
|
|
7255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7256
7256
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7257
7257
|
import { join as join4 } from "node:path";
|
|
7258
7258
|
var shape = strictObject({
|
|
@@ -7277,7 +7277,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7277
7277
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7278
7278
|
}, "mayModelReply");
|
|
7279
7279
|
|
|
7280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7281
7281
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
|
|
7282
7282
|
ai: true
|
|
7283
7283
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7324,7 +7324,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7324
7324
|
return result2;
|
|
7325
7325
|
}, "replyRenderer");
|
|
7326
7326
|
|
|
7327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7328
7328
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7329
7329
|
var NO_RULES = "no rules";
|
|
7330
7330
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7417,7 +7417,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7417
7417
|
return { skip: why };
|
|
7418
7418
|
}, "replyTo");
|
|
7419
7419
|
|
|
7420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7421
7421
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7422
7422
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7423
7423
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7494,7 +7494,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
|
|
|
7494
7494
|
};
|
|
7495
7495
|
}, "startSync");
|
|
7496
7496
|
|
|
7497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7498
7498
|
var FIRST_FETCH_MS = 6e4;
|
|
7499
7499
|
var DAY_MS = 864e5;
|
|
7500
7500
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7548,7 +7548,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
|
|
|
7548
7548
|
};
|
|
7549
7549
|
}, "memberFetches");
|
|
7550
7550
|
|
|
7551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7552
7552
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7553
7553
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7554
7554
|
if (context.format === "pretty") {
|
|
@@ -7581,7 +7581,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7581
7581
|
return context;
|
|
7582
7582
|
}, "recordDiagnostics");
|
|
7583
7583
|
|
|
7584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7585
7585
|
var STEMS_EVERY_MS = 3e4;
|
|
7586
7586
|
var STEMS_SLICE_MS = 2e3;
|
|
7587
7587
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -7621,7 +7621,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
7621
7621
|
};
|
|
7622
7622
|
}, "stemFills");
|
|
7623
7623
|
|
|
7624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
7625
7625
|
import { styleText } from "node:util";
|
|
7626
7626
|
var TIME_WIDTH = 8;
|
|
7627
7627
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -7797,7 +7797,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
|
|
|
7797
7797
|
return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
|
|
7798
7798
|
}, "editedAt");
|
|
7799
7799
|
|
|
7800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
7801
7801
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
7802
7802
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
7803
7803
|
kind: attachment.kind,
|
|
@@ -7892,7 +7892,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
7892
7892
|
locale: messenger.app.locale
|
|
7893
7893
|
}), "viewOf");
|
|
7894
7894
|
|
|
7895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
7896
7896
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
7897
7897
|
value: value.value,
|
|
7898
7898
|
observed_at: value.observedAt,
|
|
@@ -7959,7 +7959,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
7959
7959
|
}
|
|
7960
7960
|
}, "watchEventItem");
|
|
7961
7961
|
|
|
7962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
7963
7963
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
7964
7964
|
output: { entity: "watch_item" },
|
|
7965
7965
|
effects: REMOTE_READ,
|
|
@@ -8114,7 +8114,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8114
8114
|
}
|
|
8115
8115
|
}, "describe");
|
|
8116
8116
|
|
|
8117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8118
8118
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8119
8119
|
const command = annotate(new Command("serve"), {
|
|
8120
8120
|
output: { entity: "serve_summary" },
|
|
@@ -8378,7 +8378,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8378
8378
|
};
|
|
8379
8379
|
}, "tasking");
|
|
8380
8380
|
|
|
8381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8382
8382
|
import { existsSync as existsSync8 } from "node:fs";
|
|
8383
8383
|
var PATH = "store tables list";
|
|
8384
8384
|
var STORE_TABLES_QUERY = {
|
|
@@ -8421,7 +8421,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
|
|
|
8421
8421
|
return tables;
|
|
8422
8422
|
}, "storeTablesCommand");
|
|
8423
8423
|
|
|
8424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8425
8425
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8426
8426
|
var WORD_INDEX = "message_words";
|
|
8427
8427
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
decisionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DZKTPOTJ.js";
|
|
6
6
|
import {
|
|
7
7
|
compactText,
|
|
8
8
|
currentRun,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
rowsOfEntity,
|
|
16
16
|
sealed,
|
|
17
17
|
snakeKeysKeeping
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XXZ3WQSW.js";
|
|
19
19
|
import {
|
|
20
20
|
openStore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PNIAEDGJ.js";
|
|
22
22
|
import {
|
|
23
23
|
STORE_CLIENT
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Z3SASH3J.js";
|
|
25
25
|
import {
|
|
26
26
|
createRenderer
|
|
27
27
|
} from "./chunk-EMNQPMZO.js";
|
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CZPAYIQR.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SU2EPGGH.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SSKSRETJ.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6NYZ32K5.js";
|
|
20
20
|
import {
|
|
21
21
|
serveStdio
|
|
22
22
|
} from "./chunk-MM5NVP7F.js";
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
} from "./chunk-H3ZN4YLB.js";
|
|
26
26
|
import {
|
|
27
27
|
wholeList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XBSLZQY4.js";
|
|
29
29
|
import {
|
|
30
30
|
changesMessenger,
|
|
31
31
|
flatten,
|
|
32
32
|
itemOf
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XXZ3WQSW.js";
|
|
34
34
|
import {
|
|
35
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
36
36
|
readOnlyLockOf,
|
|
37
37
|
readOnlyRefusal
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PMGGNQHL.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult,
|
|
41
41
|
object
|
|
@@ -44,7 +44,7 @@ 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.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
48
48
|
import { randomUUID } from "node:crypto";
|
|
49
49
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
50
50
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|