@wirecat/tg-cli 0.104.0 → 0.105.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/tg.js +2 -2
- package/dist/bundle/{adapter-QTAHA2JC.js → adapter-WWYRCTPE.js} +37 -37
- package/dist/bundle/{all-profiles-7CXBVRFU.js → all-profiles-IJYM6NIJ.js} +5 -5
- package/dist/bundle/{anthropic-FWBQ7JHT.js → anthropic-EDRWOXB5.js} +3 -3
- package/dist/bundle/{app-server-XF4GY2Y6.js → app-server-2NF7ZH3C.js} +34 -34
- package/dist/bundle/{bot-api-XDMMWRYI.js → bot-api-XCDLL6M2.js} +38 -38
- package/dist/bundle/{bot-history-TU2X7RNN.js → bot-history-37WSQX3U.js} +10 -10
- package/dist/bundle/{bun-6GSDPKNZ.js → bun-ZX34DXTI.js} +2 -2
- package/dist/bundle/{bun-sqlite-AO27E35V.js → bun-sqlite-7TZ73UKO.js} +2 -2
- package/dist/bundle/{chunk-6YUFPSSE.js → chunk-2A2KXY5G.js} +4 -4
- package/dist/bundle/{chunk-C5N7G6UH.js → chunk-2J2G3ELT.js} +1 -1
- package/dist/bundle/{chunk-UVYY5EIS.js → chunk-443D2OY7.js} +1 -1
- package/dist/bundle/{chunk-YD6ZQ6LM.js → chunk-4N53GVUI.js} +42 -42
- package/dist/bundle/{chunk-KRLCUBII.js → chunk-4UZE26T6.js} +5 -5
- package/dist/bundle/{chunk-YBQ753RP.js → chunk-4VFRP2T2.js} +20 -20
- package/dist/bundle/{chunk-MB3PCNRL.js → chunk-56JDML7T.js} +2 -2
- package/dist/bundle/{chunk-B7TTM75D.js → chunk-5PDGRPTS.js} +1 -1
- package/dist/bundle/{chunk-6K4QGBXU.js → chunk-6MQ3DEXF.js} +1 -1
- package/dist/bundle/{chunk-HOR7DS3P.js → chunk-73OWDRGK.js} +20 -20
- package/dist/bundle/{chunk-Y3VNNLUT.js → chunk-AQGW6OHU.js} +1 -1
- package/dist/bundle/{chunk-RRWMYR2H.js → chunk-ETVQH5AL.js} +9 -9
- package/dist/bundle/{chunk-BKVJNPA6.js → chunk-FNASJIAI.js} +11 -11
- package/dist/bundle/{chunk-UDXRDFHN.js → chunk-GGIDY5KC.js} +91 -91
- package/dist/bundle/{chunk-U2AK4QXY.js → chunk-HJSWUHHP.js} +1 -1
- package/dist/bundle/{chunk-ZBH7Z6WX.js → chunk-J5OIB3OW.js} +2 -2
- package/dist/bundle/{chunk-GE22MYA6.js → chunk-J6B5DQ3I.js} +47 -47
- package/dist/bundle/{chunk-MCD2GANK.js → chunk-L23IJ3IZ.js} +5 -5
- package/dist/bundle/{chunk-FUWSIEYY.js → chunk-LOIFBJBA.js} +9 -9
- package/dist/bundle/{chunk-PWIE7VBL.js → chunk-MAV5ODPN.js} +1 -1
- package/dist/bundle/{chunk-DANCAYRP.js → chunk-MHS2LEZA.js} +8 -6
- package/dist/bundle/{chunk-SZE6425L.js → chunk-N5BGV5YZ.js} +26 -26
- package/dist/bundle/{chunk-N6VHHMSZ.js → chunk-NBXUNS6Q.js} +1 -1
- package/dist/bundle/{chunk-Y5PJQPMQ.js → chunk-NEPB2EI6.js} +1 -1
- package/dist/bundle/{chunk-PHQTSF44.js → chunk-OOBCCVYM.js} +4 -4
- package/dist/bundle/{chunk-LOFG3Q35.js → chunk-PFL3CCP2.js} +1 -1
- package/dist/bundle/{chunk-BI2AXVHY.js → chunk-Q6NALH2X.js} +2 -2
- package/dist/bundle/{chunk-RTAV5XNT.js → chunk-QAW5QNOY.js} +8 -8
- package/dist/bundle/{chunk-FRZHF2X6.js → chunk-QPE72FCE.js} +7 -7
- package/dist/bundle/{chunk-LJCGQMGN.js → chunk-QVXMOHHN.js} +4 -4
- package/dist/bundle/{chunk-5K7E36ND.js → chunk-QWPVSWQE.js} +2 -2
- package/dist/bundle/{chunk-54RJDS3X.js → chunk-RDO66SBI.js} +2 -2
- package/dist/bundle/{chunk-GZ5CR5QB.js → chunk-RI7H2VVU.js} +7 -7
- package/dist/bundle/{chunk-3GGU65YR.js → chunk-S3C2L3IE.js} +4 -4
- package/dist/bundle/{chunk-MR4LW4EC.js → chunk-S7FO7OU2.js} +248 -246
- package/dist/bundle/{chunk-7WHM3KNI.js → chunk-SJIHZA4K.js} +1 -1
- package/dist/bundle/{chunk-ADMV4WGV.js → chunk-SLFDNASB.js} +4 -4
- package/dist/bundle/{chunk-QY7MW7HK.js → chunk-VIGQIMGM.js} +2 -2
- package/dist/bundle/{chunk-P3WU6UYJ.js → chunk-WD7Q2H4J.js} +193 -193
- package/dist/bundle/{chunk-UTVANQN5.js → chunk-XP4JEE47.js} +1 -1
- package/dist/bundle/{chunk-LSQUNABH.js → chunk-YGYQY5AG.js} +1 -1
- package/dist/bundle/{chunk-TJR37WKA.js → chunk-YSIC5B32.js} +10 -10
- package/dist/bundle/{chunk-UT6G2X7T.js → chunk-Z6SXT5DV.js} +3 -3
- package/dist/bundle/{chunk-3XZQQGCB.js → chunk-ZI7THBWF.js} +51 -47
- package/dist/bundle/{chunk-BIWJK5YU.js → chunk-ZIG4WIVN.js} +1 -1
- package/dist/bundle/{chunk-QVTCOBN5.js → chunk-ZM2AI3E5.js} +255 -250
- package/dist/bundle/{command-contract-RICU4OWW.js → command-contract-OF6TUQ5B.js} +12 -12
- package/dist/bundle/{echarts-2YP32GX5.js → echarts-WFLEME5I.js} +2 -2
- package/dist/bundle/{embed-QNWVBCL5.js → embed-ESTG27RK.js} +3 -3
- package/dist/bundle/{embedder-ENS7ARPP.js → embedder-P3W76VOZ.js} +6 -6
- package/dist/bundle/{entry-MPYSQPZO.js → entry-SNRZGNRA.js} +3 -3
- package/dist/bundle/{first-run-YLB7RNGP.js → first-run-JS24HORG.js} +5 -5
- package/dist/bundle/{first-screen-AYOE4JFC.js → first-screen-U63BJPXI.js} +13 -13
- package/dist/bundle/{identity-XQLO7NYW.js → identity-TYE57SHY.js} +1 -1
- package/dist/bundle/{instructions-5F4XG3B6.js → instructions-ERMZPVS4.js} +1 -1
- package/dist/bundle/{node-JOUDFPFN.js → node-KDZSMKIC.js} +2 -2
- package/dist/bundle/{node-sqlite-ZY6ZFFXS.js → node-sqlite-FR64YDYV.js} +2 -2
- package/dist/bundle/{oauth-KOR3ZNTA.js → oauth-SPE76ZIY.js} +4 -4
- package/dist/bundle/{open-JACXAGY5.js → open-UEFCMPLC.js} +1 -1
- package/dist/bundle/{process-7W3X5VME.js → process-7MD6MEGB.js} +1 -1
- package/dist/bundle/{program-NSZWGHNJ.js → program-NFFSOGUY.js} +40 -40
- package/dist/bundle/{prompt-CRRG5UB6.js → prompt-3PI4H66U.js} +2 -2
- package/dist/bundle/{recognize-ASXEB45M.js → recognize-54LQOU24.js} +3 -3
- package/dist/bundle/{remote-CB3GAXGJ.js → remote-JQ74NVUK.js} +4 -4
- package/dist/bundle/{rerank-PDD5BPID.js → rerank-66YCEORD.js} +4 -4
- package/dist/bundle/{serve-M4XFAYUM.js → serve-5SP2TCGV.js} +6 -6
- package/dist/bundle/{server-IN673OYO.js → server-GFICDJ6J.js} +26 -26
- package/dist/bundle/server-KMKRKOZP.js +55 -0
- package/dist/bundle/{state-626GOOVZ.js → state-U7HXQB6I.js} +3 -3
- package/dist/bundle/{store-6JM4HJU5.js → store-O4QVYHFL.js} +7 -7
- package/dist/bundle/store-maintenance-command-BNRZ5IJD.js +44 -0
- package/dist/bundle/tg.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/server-ISWPSKQ6.js +0 -55
- package/dist/bundle/store-maintenance-command-DI2UX4V3.js +0 -44
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FNASJIAI.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -34,19 +34,19 @@ import {
|
|
|
34
34
|
registerPrompts,
|
|
35
35
|
stdinFieldOf,
|
|
36
36
|
syncsFirst
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4VFRP2T2.js";
|
|
38
38
|
import {
|
|
39
39
|
agentJson,
|
|
40
40
|
skillResource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ETVQH5AL.js";
|
|
42
42
|
import {
|
|
43
43
|
answeredWire
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZIG4WIVN.js";
|
|
45
45
|
import {
|
|
46
46
|
StdioServerTransport,
|
|
47
47
|
callerOf,
|
|
48
48
|
serveStdio
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QWPVSWQE.js";
|
|
50
50
|
import {
|
|
51
51
|
McpServer,
|
|
52
52
|
ResourceTemplate
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
import {
|
|
55
55
|
connectedFor,
|
|
56
56
|
guardFor
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-73OWDRGK.js";
|
|
58
58
|
import {
|
|
59
59
|
capability,
|
|
60
60
|
dateWindow,
|
|
@@ -63,10 +63,10 @@ import {
|
|
|
63
63
|
servicesFor,
|
|
64
64
|
storedDeps,
|
|
65
65
|
wholeList
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WD7Q2H4J.js";
|
|
67
67
|
import {
|
|
68
68
|
findCommand
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-SLFDNASB.js";
|
|
70
70
|
import {
|
|
71
71
|
DEFAULT_OUTPUT_BYTES,
|
|
72
72
|
changesAuthorityAt,
|
|
@@ -82,30 +82,30 @@ import {
|
|
|
82
82
|
sealed,
|
|
83
83
|
snakeKeys,
|
|
84
84
|
typedCommand
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-J6B5DQ3I.js";
|
|
86
86
|
import {
|
|
87
87
|
isCliFailure,
|
|
88
88
|
withCaller
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-QPE72FCE.js";
|
|
90
90
|
import {
|
|
91
91
|
readOnlyLockOf
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-NBXUNS6Q.js";
|
|
93
93
|
import {
|
|
94
94
|
mcpHttpMarker
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-2A2KXY5G.js";
|
|
96
96
|
import {
|
|
97
97
|
instructions
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-HJSWUHHP.js";
|
|
99
99
|
import {
|
|
100
100
|
warmEmbedders
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-L23IJ3IZ.js";
|
|
102
102
|
import {
|
|
103
103
|
openStore,
|
|
104
104
|
pdfPreviewLimits
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ZM2AI3E5.js";
|
|
106
106
|
import {
|
|
107
107
|
timezoneOf
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ZI7THBWF.js";
|
|
109
109
|
import {
|
|
110
110
|
mcpErrorResult,
|
|
111
111
|
visibleControls
|
|
@@ -130,10 +130,10 @@ import {
|
|
|
130
130
|
__name
|
|
131
131
|
} from "./chunk-ZVVMGPBJ.js";
|
|
132
132
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
134
134
|
import { randomUUID } from "node:crypto";
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
137
137
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
138
138
|
let held;
|
|
139
139
|
return {
|
|
@@ -152,7 +152,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
152
152
|
};
|
|
153
153
|
}, "agentLog");
|
|
154
154
|
|
|
155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
156
156
|
var LISTED = 100;
|
|
157
157
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
158
158
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -190,7 +190,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
190
190
|
});
|
|
191
191
|
}, "registerResources");
|
|
192
192
|
|
|
193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
193
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
194
194
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
195
195
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
196
196
|
var MessengerSession = class {
|
|
@@ -265,7 +265,7 @@ var MessengerSession = class {
|
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
269
269
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
270
270
|
const _command = messenger.app.command;
|
|
271
271
|
return {
|
|
@@ -319,7 +319,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
319
319
|
};
|
|
320
320
|
}, "attachmentsTools");
|
|
321
321
|
|
|
322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
323
323
|
var PHOTO_LIMIT = 512 * 1024;
|
|
324
324
|
var IMAGE_TYPES = [
|
|
325
325
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -373,7 +373,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
373
373
|
return new Uint8Array(Buffer.concat(chunks));
|
|
374
374
|
}, "readUpTo");
|
|
375
375
|
|
|
376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
377
377
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
378
378
|
stats_charts: tool({
|
|
379
379
|
title: "A chart from a chat's statistics",
|
|
@@ -410,14 +410,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
410
410
|
})
|
|
411
411
|
}), "statsTools");
|
|
412
412
|
|
|
413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
414
414
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
415
415
|
...messagesPhotoTools(messenger),
|
|
416
416
|
...attachmentsTools(messenger),
|
|
417
417
|
...statsTools(messenger)
|
|
418
418
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
419
419
|
|
|
420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
421
421
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
422
422
|
"streams",
|
|
423
423
|
"stdin",
|
|
@@ -741,7 +741,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
741
741
|
}, "serveOverStdio");
|
|
742
742
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
743
743
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
744
|
-
const { serveOverHttp } = await import("./serve-
|
|
744
|
+
const { serveOverHttp } = await import("./serve-5SP2TCGV.js");
|
|
745
745
|
const appName = messenger.app.command;
|
|
746
746
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
747
747
|
const listening = await serveOverHttp(build, {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { join } from "node:path";
|
|
12
12
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
13
13
|
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
@@ -2,7 +2,7 @@ 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-NEPB2EI6.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
singleLine
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readSharedSection,
|
|
5
5
|
writeSharedSection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OOBCCVYM.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
9
|
} from "./chunk-67SRVSPU.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
privateFiles,
|
|
14
14
|
providerRequest,
|
|
15
15
|
withSqliteSidecars
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S7FO7OU2.js";
|
|
17
17
|
import {
|
|
18
18
|
parseProxy,
|
|
19
19
|
proxyAddress,
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
} from "./chunk-FG2QTYEF.js";
|
|
24
24
|
import {
|
|
25
25
|
messengerContext
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-73OWDRGK.js";
|
|
27
27
|
import {
|
|
28
28
|
uploadBlob
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WD7Q2H4J.js";
|
|
30
30
|
import {
|
|
31
31
|
asFirstWord,
|
|
32
32
|
currentAttempt,
|
|
33
33
|
environmentOf,
|
|
34
34
|
fromFile,
|
|
35
35
|
settingsFor
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-J6B5DQ3I.js";
|
|
37
37
|
import {
|
|
38
38
|
TG
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-443D2OY7.js";
|
|
40
40
|
import {
|
|
41
41
|
Credentials,
|
|
42
42
|
pathsAreOverridden,
|
|
@@ -178,7 +178,7 @@ var telegramOf = /* @__PURE__ */ __name((command, base) => {
|
|
|
178
178
|
throw new CliError(unreachable, loggedIn ? `no Telegram app credentials found for profile "${profile}", although it has logged in on this machine \u2014 the keyring is probably out of reach (cron, ssh, an MCP client that trims the environment: set XDG_RUNTIME_DIR); \`tg ${asFirstWord(profile)}doctor\` shows it. Log in again only if they were removed` : `no Telegram app credentials for profile "${profile}" \u2014 run ${setup} in a local terminal first, or sign in from ${desktop}; agents: read \`tg skill show\``);
|
|
179
179
|
}
|
|
180
180
|
const options = { credentials: resolved, sessionPath, ...connecting };
|
|
181
|
-
return environment.adapter ? await environment.adapter(options) : await (await import("./adapter-
|
|
181
|
+
return environment.adapter ? await environment.adapter(options) : await (await import("./adapter-WWYRCTPE.js")).TelegramAdapter.open({
|
|
182
182
|
...options,
|
|
183
183
|
...proxyOption(proxy()),
|
|
184
184
|
diagnostic: /* @__PURE__ */ __name((line) => base.streams.diagnostic(line), "diagnostic"),
|
|
@@ -863,7 +863,7 @@ var TELEGRAM_BOT = {
|
|
|
863
863
|
const botId = token.split(":", 1)[0] ?? "";
|
|
864
864
|
if (!/^\d+$/.test(botId))
|
|
865
865
|
throw new CliError("authentication_error", "the bot token has no valid bot id");
|
|
866
|
-
const reader = await (environment.botHistory ?? (await import("./bot-history-
|
|
866
|
+
const reader = await (environment.botHistory ?? (await import("./bot-history-37WSQX3U.js")).openBotHistory)({
|
|
867
867
|
credentials,
|
|
868
868
|
sessionPath: botSessionFile(profile, botId, env),
|
|
869
869
|
token,
|
|
@@ -883,7 +883,7 @@ var TELEGRAM_BOT = {
|
|
|
883
883
|
return void 0;
|
|
884
884
|
let personal;
|
|
885
885
|
try {
|
|
886
|
-
personal = environment.adapter ? await environment.adapter({ credentials, sessionPath: personalPath }) : await (await import("./adapter-
|
|
886
|
+
personal = environment.adapter ? await environment.adapter({ credentials, sessionPath: personalPath }) : await (await import("./adapter-WWYRCTPE.js")).TelegramAdapter.open({
|
|
887
887
|
credentials,
|
|
888
888
|
sessionPath: personalPath,
|
|
889
889
|
checks: words,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
12
12
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
16
16
|
import { homedir } from "node:os";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
19
19
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
20
20
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
21
21
|
const { code, exitCode } = value ?? {};
|
|
@@ -23,7 +23,7 @@ var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
|
23
23
|
}, "isCommanderFailure");
|
|
24
24
|
var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
27
27
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
28
28
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
29
29
|
if (event.event === "warning") {
|
|
@@ -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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
75
75
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
76
76
|
"authorization",
|
|
77
77
|
"cookie",
|
|
@@ -152,7 +152,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
|
|
|
152
152
|
var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
|
|
153
153
|
var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
|
|
154
154
|
|
|
155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
156
156
|
var MESSAGE_AT_MOST = 500;
|
|
157
157
|
var CAUSES_AT_MOST = 5;
|
|
158
158
|
var FRAMES_AT_MOST = 15;
|
|
@@ -260,7 +260,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
260
260
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
261
261
|
}, "redactText");
|
|
262
262
|
|
|
263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
264
264
|
var REDACTED = "[redacted]";
|
|
265
265
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
266
266
|
if (!record)
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NEPB2EI6.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-67SRVSPU.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
14
14
|
import { createHash, randomUUID } from "node:crypto";
|
|
15
15
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
16
16
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -18,7 +18,7 @@ import { dirname, join } from "node:path";
|
|
|
18
18
|
import { Readable, Transform } from "node:stream";
|
|
19
19
|
import { pipeline } from "node:stream/promises";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
22
22
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
23
23
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
24
24
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -142,7 +142,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
142
142
|
return model;
|
|
143
143
|
}, "speechModel");
|
|
144
144
|
|
|
145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
146
146
|
var sharedModelsDirectory = /* @__PURE__ */ __name((kind, env = process.env) => join(wirecatDirectory(env), "models", kind), "sharedModelsDirectory");
|
|
147
147
|
var modelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("audio", env), "modelsDirectory");
|
|
148
148
|
var STALL_MS = 6e4;
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QPE72FCE.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -540,7 +540,7 @@ function toError(value) {
|
|
|
540
540
|
}
|
|
541
541
|
__name(toError, "toError");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
544
544
|
var CALLER_META_KEY = "wirecat.dev/caller";
|
|
545
545
|
var PROXY_CLIENT_NAME = "all-profiles";
|
|
546
546
|
var NAME = /^[\w .@()/+-]{1,64}$/;
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5PDGRPTS.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
organization,
|
|
5
5
|
project,
|
|
6
6
|
reminder
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z6SXT5DV.js";
|
|
8
8
|
import {
|
|
9
9
|
queryFieldsOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZI7THBWF.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
13
13
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
|
|
16
16
|
var ORGANIZATIONS_QUERY = {
|
|
17
17
|
entity: "organization",
|
|
18
18
|
backend: "sql",
|