l-log-mcp-server 0.1.1 → 0.1.3
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/index.js +11 -107
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/index.ts
|
|
4
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
5
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
6
|
+
|
|
7
|
+
// ../mcp/dist/index.js
|
|
8
|
+
import { createRequire } from "node:module";
|
|
9
|
+
import { readFile } from "node:fs/promises";
|
|
2
10
|
var __defProp = Object.defineProperty;
|
|
3
11
|
var __export = (target, all) => {
|
|
4
12
|
for (var name in all)
|
|
@@ -9,12 +17,6 @@ var __export = (target, all) => {
|
|
|
9
17
|
set: (newValue) => all[name] = () => newValue
|
|
10
18
|
});
|
|
11
19
|
};
|
|
12
|
-
|
|
13
|
-
// src/index.ts
|
|
14
|
-
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
15
|
-
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
16
|
-
|
|
17
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/external.js
|
|
18
20
|
var exports_external = {};
|
|
19
21
|
__export(exports_external, {
|
|
20
22
|
xor: () => xor,
|
|
@@ -254,8 +256,6 @@ __export(exports_external, {
|
|
|
254
256
|
$input: () => $input,
|
|
255
257
|
$brand: () => $brand
|
|
256
258
|
});
|
|
257
|
-
|
|
258
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/index.js
|
|
259
259
|
var exports_core2 = {};
|
|
260
260
|
__export(exports_core2, {
|
|
261
261
|
version: () => version,
|
|
@@ -532,8 +532,6 @@ __export(exports_core2, {
|
|
|
532
532
|
$ZodArray: () => $ZodArray,
|
|
533
533
|
$ZodAny: () => $ZodAny
|
|
534
534
|
});
|
|
535
|
-
|
|
536
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/core.js
|
|
537
535
|
var NEVER = Object.freeze({
|
|
538
536
|
status: "aborted"
|
|
539
537
|
});
|
|
@@ -609,7 +607,6 @@ function config(newConfig) {
|
|
|
609
607
|
Object.assign(globalConfig, newConfig);
|
|
610
608
|
return globalConfig;
|
|
611
609
|
}
|
|
612
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/util.js
|
|
613
610
|
var exports_util = {};
|
|
614
611
|
__export(exports_util, {
|
|
615
612
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -1282,8 +1279,6 @@ function uint8ArrayToHex(bytes) {
|
|
|
1282
1279
|
class Class {
|
|
1283
1280
|
constructor(..._args) {}
|
|
1284
1281
|
}
|
|
1285
|
-
|
|
1286
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/errors.js
|
|
1287
1282
|
var initializer = (inst, def) => {
|
|
1288
1283
|
inst.name = "$ZodError";
|
|
1289
1284
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1419,8 +1414,6 @@ function prettifyError(error) {
|
|
|
1419
1414
|
return lines.join(`
|
|
1420
1415
|
`);
|
|
1421
1416
|
}
|
|
1422
|
-
|
|
1423
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/parse.js
|
|
1424
1417
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
1425
1418
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
1426
1419
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -1507,7 +1500,6 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1507
1500
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1508
1501
|
};
|
|
1509
1502
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1510
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/regexes.js
|
|
1511
1503
|
var exports_regexes = {};
|
|
1512
1504
|
__export(exports_regexes, {
|
|
1513
1505
|
xid: () => xid,
|
|
@@ -1663,8 +1655,6 @@ var sha384_base64url = /* @__PURE__ */ fixedBase64url(64);
|
|
|
1663
1655
|
var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
1664
1656
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1665
1657
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1666
|
-
|
|
1667
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/checks.js
|
|
1668
1658
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1669
1659
|
var _a;
|
|
1670
1660
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2211,7 +2201,6 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2211
2201
|
};
|
|
2212
2202
|
});
|
|
2213
2203
|
|
|
2214
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/doc.js
|
|
2215
2204
|
class Doc {
|
|
2216
2205
|
constructor(args = []) {
|
|
2217
2206
|
this.content = [];
|
|
@@ -2248,15 +2237,11 @@ class Doc {
|
|
|
2248
2237
|
`));
|
|
2249
2238
|
}
|
|
2250
2239
|
}
|
|
2251
|
-
|
|
2252
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/versions.js
|
|
2253
2240
|
var version = {
|
|
2254
2241
|
major: 4,
|
|
2255
2242
|
minor: 3,
|
|
2256
2243
|
patch: 5
|
|
2257
2244
|
};
|
|
2258
|
-
|
|
2259
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/schemas.js
|
|
2260
2245
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2261
2246
|
var _a;
|
|
2262
2247
|
inst ?? (inst = {});
|
|
@@ -4218,7 +4203,6 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4218
4203
|
payload.issues.push(issue(_iss));
|
|
4219
4204
|
}
|
|
4220
4205
|
}
|
|
4221
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/index.js
|
|
4222
4206
|
var exports_locales = {};
|
|
4223
4207
|
__export(exports_locales, {
|
|
4224
4208
|
zhTW: () => zh_TW_default,
|
|
@@ -4271,8 +4255,6 @@ __export(exports_locales, {
|
|
|
4271
4255
|
az: () => az_default,
|
|
4272
4256
|
ar: () => ar_default
|
|
4273
4257
|
});
|
|
4274
|
-
|
|
4275
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ar.js
|
|
4276
4258
|
var error = () => {
|
|
4277
4259
|
const Sizable = {
|
|
4278
4260
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -4378,7 +4360,6 @@ function ar_default() {
|
|
|
4378
4360
|
localeError: error()
|
|
4379
4361
|
};
|
|
4380
4362
|
}
|
|
4381
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/az.js
|
|
4382
4363
|
var error2 = () => {
|
|
4383
4364
|
const Sizable = {
|
|
4384
4365
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -4483,7 +4464,6 @@ function az_default() {
|
|
|
4483
4464
|
localeError: error2()
|
|
4484
4465
|
};
|
|
4485
4466
|
}
|
|
4486
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/be.js
|
|
4487
4467
|
function getBelarusianPlural(count, one, few, many) {
|
|
4488
4468
|
const absCount = Math.abs(count);
|
|
4489
4469
|
const lastDigit = absCount % 10;
|
|
@@ -4639,7 +4619,6 @@ function be_default() {
|
|
|
4639
4619
|
localeError: error3()
|
|
4640
4620
|
};
|
|
4641
4621
|
}
|
|
4642
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/bg.js
|
|
4643
4622
|
var error4 = () => {
|
|
4644
4623
|
const Sizable = {
|
|
4645
4624
|
string: { unit: "символа", verb: "да съдържа" },
|
|
@@ -4759,7 +4738,6 @@ function bg_default() {
|
|
|
4759
4738
|
localeError: error4()
|
|
4760
4739
|
};
|
|
4761
4740
|
}
|
|
4762
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ca.js
|
|
4763
4741
|
var error5 = () => {
|
|
4764
4742
|
const Sizable = {
|
|
4765
4743
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -4866,7 +4844,6 @@ function ca_default() {
|
|
|
4866
4844
|
localeError: error5()
|
|
4867
4845
|
};
|
|
4868
4846
|
}
|
|
4869
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/cs.js
|
|
4870
4847
|
var error6 = () => {
|
|
4871
4848
|
const Sizable = {
|
|
4872
4849
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -4977,7 +4954,6 @@ function cs_default() {
|
|
|
4977
4954
|
localeError: error6()
|
|
4978
4955
|
};
|
|
4979
4956
|
}
|
|
4980
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/da.js
|
|
4981
4957
|
var error7 = () => {
|
|
4982
4958
|
const Sizable = {
|
|
4983
4959
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5092,7 +5068,6 @@ function da_default() {
|
|
|
5092
5068
|
localeError: error7()
|
|
5093
5069
|
};
|
|
5094
5070
|
}
|
|
5095
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/de.js
|
|
5096
5071
|
var error8 = () => {
|
|
5097
5072
|
const Sizable = {
|
|
5098
5073
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5200,7 +5175,6 @@ function de_default() {
|
|
|
5200
5175
|
localeError: error8()
|
|
5201
5176
|
};
|
|
5202
5177
|
}
|
|
5203
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/en.js
|
|
5204
5178
|
var error9 = () => {
|
|
5205
5179
|
const Sizable = {
|
|
5206
5180
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -5306,7 +5280,6 @@ function en_default() {
|
|
|
5306
5280
|
localeError: error9()
|
|
5307
5281
|
};
|
|
5308
5282
|
}
|
|
5309
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/eo.js
|
|
5310
5283
|
var error10 = () => {
|
|
5311
5284
|
const Sizable = {
|
|
5312
5285
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -5415,7 +5388,6 @@ function eo_default() {
|
|
|
5415
5388
|
localeError: error10()
|
|
5416
5389
|
};
|
|
5417
5390
|
}
|
|
5418
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/es.js
|
|
5419
5391
|
var error11 = () => {
|
|
5420
5392
|
const Sizable = {
|
|
5421
5393
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -5547,7 +5519,6 @@ function es_default() {
|
|
|
5547
5519
|
localeError: error11()
|
|
5548
5520
|
};
|
|
5549
5521
|
}
|
|
5550
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/fa.js
|
|
5551
5522
|
var error12 = () => {
|
|
5552
5523
|
const Sizable = {
|
|
5553
5524
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
@@ -5661,7 +5632,6 @@ function fa_default() {
|
|
|
5661
5632
|
localeError: error12()
|
|
5662
5633
|
};
|
|
5663
5634
|
}
|
|
5664
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/fi.js
|
|
5665
5635
|
var error13 = () => {
|
|
5666
5636
|
const Sizable = {
|
|
5667
5637
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
@@ -5773,7 +5743,6 @@ function fi_default() {
|
|
|
5773
5743
|
localeError: error13()
|
|
5774
5744
|
};
|
|
5775
5745
|
}
|
|
5776
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/fr.js
|
|
5777
5746
|
var error14 = () => {
|
|
5778
5747
|
const Sizable = {
|
|
5779
5748
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -5881,7 +5850,6 @@ function fr_default() {
|
|
|
5881
5850
|
localeError: error14()
|
|
5882
5851
|
};
|
|
5883
5852
|
}
|
|
5884
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/fr-CA.js
|
|
5885
5853
|
var error15 = () => {
|
|
5886
5854
|
const Sizable = {
|
|
5887
5855
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -5988,7 +5956,6 @@ function fr_CA_default() {
|
|
|
5988
5956
|
localeError: error15()
|
|
5989
5957
|
};
|
|
5990
5958
|
}
|
|
5991
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/he.js
|
|
5992
5959
|
var error16 = () => {
|
|
5993
5960
|
const TypeNames = {
|
|
5994
5961
|
string: { label: "מחרוזת", gender: "f" },
|
|
@@ -6181,7 +6148,6 @@ function he_default() {
|
|
|
6181
6148
|
localeError: error16()
|
|
6182
6149
|
};
|
|
6183
6150
|
}
|
|
6184
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/hu.js
|
|
6185
6151
|
var error17 = () => {
|
|
6186
6152
|
const Sizable = {
|
|
6187
6153
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -6289,7 +6255,6 @@ function hu_default() {
|
|
|
6289
6255
|
localeError: error17()
|
|
6290
6256
|
};
|
|
6291
6257
|
}
|
|
6292
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/hy.js
|
|
6293
6258
|
function getArmenianPlural(count, one, many) {
|
|
6294
6259
|
return Math.abs(count) === 1 ? one : many;
|
|
6295
6260
|
}
|
|
@@ -6436,7 +6401,6 @@ function hy_default() {
|
|
|
6436
6401
|
localeError: error18()
|
|
6437
6402
|
};
|
|
6438
6403
|
}
|
|
6439
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/id.js
|
|
6440
6404
|
var error19 = () => {
|
|
6441
6405
|
const Sizable = {
|
|
6442
6406
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -6542,7 +6506,6 @@ function id_default() {
|
|
|
6542
6506
|
localeError: error19()
|
|
6543
6507
|
};
|
|
6544
6508
|
}
|
|
6545
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/is.js
|
|
6546
6509
|
var error20 = () => {
|
|
6547
6510
|
const Sizable = {
|
|
6548
6511
|
string: { unit: "stafi", verb: "að hafa" },
|
|
@@ -6651,7 +6614,6 @@ function is_default() {
|
|
|
6651
6614
|
localeError: error20()
|
|
6652
6615
|
};
|
|
6653
6616
|
}
|
|
6654
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/it.js
|
|
6655
6617
|
var error21 = () => {
|
|
6656
6618
|
const Sizable = {
|
|
6657
6619
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -6759,7 +6721,6 @@ function it_default() {
|
|
|
6759
6721
|
localeError: error21()
|
|
6760
6722
|
};
|
|
6761
6723
|
}
|
|
6762
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ja.js
|
|
6763
6724
|
var error22 = () => {
|
|
6764
6725
|
const Sizable = {
|
|
6765
6726
|
string: { unit: "文字", verb: "である" },
|
|
@@ -6866,7 +6827,6 @@ function ja_default() {
|
|
|
6866
6827
|
localeError: error22()
|
|
6867
6828
|
};
|
|
6868
6829
|
}
|
|
6869
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ka.js
|
|
6870
6830
|
var error23 = () => {
|
|
6871
6831
|
const Sizable = {
|
|
6872
6832
|
string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
|
|
@@ -6978,7 +6938,6 @@ function ka_default() {
|
|
|
6978
6938
|
localeError: error23()
|
|
6979
6939
|
};
|
|
6980
6940
|
}
|
|
6981
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/km.js
|
|
6982
6941
|
var error24 = () => {
|
|
6983
6942
|
const Sizable = {
|
|
6984
6943
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
@@ -7088,12 +7047,9 @@ function km_default() {
|
|
|
7088
7047
|
localeError: error24()
|
|
7089
7048
|
};
|
|
7090
7049
|
}
|
|
7091
|
-
|
|
7092
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/kh.js
|
|
7093
7050
|
function kh_default() {
|
|
7094
7051
|
return km_default();
|
|
7095
7052
|
}
|
|
7096
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ko.js
|
|
7097
7053
|
var error25 = () => {
|
|
7098
7054
|
const Sizable = {
|
|
7099
7055
|
string: { unit: "문자", verb: "to have" },
|
|
@@ -7204,7 +7160,6 @@ function ko_default() {
|
|
|
7204
7160
|
localeError: error25()
|
|
7205
7161
|
};
|
|
7206
7162
|
}
|
|
7207
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/lt.js
|
|
7208
7163
|
var capitalizeFirstCharacter = (text) => {
|
|
7209
7164
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7210
7165
|
};
|
|
@@ -7407,7 +7362,6 @@ function lt_default() {
|
|
|
7407
7362
|
localeError: error26()
|
|
7408
7363
|
};
|
|
7409
7364
|
}
|
|
7410
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/mk.js
|
|
7411
7365
|
var error27 = () => {
|
|
7412
7366
|
const Sizable = {
|
|
7413
7367
|
string: { unit: "знаци", verb: "да имаат" },
|
|
@@ -7516,7 +7470,6 @@ function mk_default() {
|
|
|
7516
7470
|
localeError: error27()
|
|
7517
7471
|
};
|
|
7518
7472
|
}
|
|
7519
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ms.js
|
|
7520
7473
|
var error28 = () => {
|
|
7521
7474
|
const Sizable = {
|
|
7522
7475
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -7623,7 +7576,6 @@ function ms_default() {
|
|
|
7623
7576
|
localeError: error28()
|
|
7624
7577
|
};
|
|
7625
7578
|
}
|
|
7626
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/nl.js
|
|
7627
7579
|
var error29 = () => {
|
|
7628
7580
|
const Sizable = {
|
|
7629
7581
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -7733,7 +7685,6 @@ function nl_default() {
|
|
|
7733
7685
|
localeError: error29()
|
|
7734
7686
|
};
|
|
7735
7687
|
}
|
|
7736
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/no.js
|
|
7737
7688
|
var error30 = () => {
|
|
7738
7689
|
const Sizable = {
|
|
7739
7690
|
string: { unit: "tegn", verb: "å ha" },
|
|
@@ -7841,7 +7792,6 @@ function no_default() {
|
|
|
7841
7792
|
localeError: error30()
|
|
7842
7793
|
};
|
|
7843
7794
|
}
|
|
7844
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ota.js
|
|
7845
7795
|
var error31 = () => {
|
|
7846
7796
|
const Sizable = {
|
|
7847
7797
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
@@ -7950,7 +7900,6 @@ function ota_default() {
|
|
|
7950
7900
|
localeError: error31()
|
|
7951
7901
|
};
|
|
7952
7902
|
}
|
|
7953
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ps.js
|
|
7954
7903
|
var error32 = () => {
|
|
7955
7904
|
const Sizable = {
|
|
7956
7905
|
string: { unit: "توکي", verb: "ولري" },
|
|
@@ -8064,7 +8013,6 @@ function ps_default() {
|
|
|
8064
8013
|
localeError: error32()
|
|
8065
8014
|
};
|
|
8066
8015
|
}
|
|
8067
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/pl.js
|
|
8068
8016
|
var error33 = () => {
|
|
8069
8017
|
const Sizable = {
|
|
8070
8018
|
string: { unit: "znaków", verb: "mieć" },
|
|
@@ -8173,7 +8121,6 @@ function pl_default() {
|
|
|
8173
8121
|
localeError: error33()
|
|
8174
8122
|
};
|
|
8175
8123
|
}
|
|
8176
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/pt.js
|
|
8177
8124
|
var error34 = () => {
|
|
8178
8125
|
const Sizable = {
|
|
8179
8126
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -8281,7 +8228,6 @@ function pt_default() {
|
|
|
8281
8228
|
localeError: error34()
|
|
8282
8229
|
};
|
|
8283
8230
|
}
|
|
8284
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ru.js
|
|
8285
8231
|
function getRussianPlural(count, one, few, many) {
|
|
8286
8232
|
const absCount = Math.abs(count);
|
|
8287
8233
|
const lastDigit = absCount % 10;
|
|
@@ -8437,7 +8383,6 @@ function ru_default() {
|
|
|
8437
8383
|
localeError: error35()
|
|
8438
8384
|
};
|
|
8439
8385
|
}
|
|
8440
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/sl.js
|
|
8441
8386
|
var error36 = () => {
|
|
8442
8387
|
const Sizable = {
|
|
8443
8388
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -8546,7 +8491,6 @@ function sl_default() {
|
|
|
8546
8491
|
localeError: error36()
|
|
8547
8492
|
};
|
|
8548
8493
|
}
|
|
8549
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/sv.js
|
|
8550
8494
|
var error37 = () => {
|
|
8551
8495
|
const Sizable = {
|
|
8552
8496
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -8656,7 +8600,6 @@ function sv_default() {
|
|
|
8656
8600
|
localeError: error37()
|
|
8657
8601
|
};
|
|
8658
8602
|
}
|
|
8659
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ta.js
|
|
8660
8603
|
var error38 = () => {
|
|
8661
8604
|
const Sizable = {
|
|
8662
8605
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -8766,7 +8709,6 @@ function ta_default() {
|
|
|
8766
8709
|
localeError: error38()
|
|
8767
8710
|
};
|
|
8768
8711
|
}
|
|
8769
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/th.js
|
|
8770
8712
|
var error39 = () => {
|
|
8771
8713
|
const Sizable = {
|
|
8772
8714
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
@@ -8876,7 +8818,6 @@ function th_default() {
|
|
|
8876
8818
|
localeError: error39()
|
|
8877
8819
|
};
|
|
8878
8820
|
}
|
|
8879
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/tr.js
|
|
8880
8821
|
var error40 = () => {
|
|
8881
8822
|
const Sizable = {
|
|
8882
8823
|
string: { unit: "karakter", verb: "olmalı" },
|
|
@@ -8981,7 +8922,6 @@ function tr_default() {
|
|
|
8981
8922
|
localeError: error40()
|
|
8982
8923
|
};
|
|
8983
8924
|
}
|
|
8984
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/uk.js
|
|
8985
8925
|
var error41 = () => {
|
|
8986
8926
|
const Sizable = {
|
|
8987
8927
|
string: { unit: "символів", verb: "матиме" },
|
|
@@ -9089,12 +9029,9 @@ function uk_default() {
|
|
|
9089
9029
|
localeError: error41()
|
|
9090
9030
|
};
|
|
9091
9031
|
}
|
|
9092
|
-
|
|
9093
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ua.js
|
|
9094
9032
|
function ua_default() {
|
|
9095
9033
|
return uk_default();
|
|
9096
9034
|
}
|
|
9097
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/ur.js
|
|
9098
9035
|
var error42 = () => {
|
|
9099
9036
|
const Sizable = {
|
|
9100
9037
|
string: { unit: "حروف", verb: "ہونا" },
|
|
@@ -9204,7 +9141,6 @@ function ur_default() {
|
|
|
9204
9141
|
localeError: error42()
|
|
9205
9142
|
};
|
|
9206
9143
|
}
|
|
9207
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/uz.js
|
|
9208
9144
|
var error43 = () => {
|
|
9209
9145
|
const Sizable = {
|
|
9210
9146
|
string: { unit: "belgi", verb: "bo‘lishi kerak" },
|
|
@@ -9313,7 +9249,6 @@ function uz_default() {
|
|
|
9313
9249
|
localeError: error43()
|
|
9314
9250
|
};
|
|
9315
9251
|
}
|
|
9316
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/vi.js
|
|
9317
9252
|
var error44 = () => {
|
|
9318
9253
|
const Sizable = {
|
|
9319
9254
|
string: { unit: "ký tự", verb: "có" },
|
|
@@ -9421,7 +9356,6 @@ function vi_default() {
|
|
|
9421
9356
|
localeError: error44()
|
|
9422
9357
|
};
|
|
9423
9358
|
}
|
|
9424
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/zh-CN.js
|
|
9425
9359
|
var error45 = () => {
|
|
9426
9360
|
const Sizable = {
|
|
9427
9361
|
string: { unit: "字符", verb: "包含" },
|
|
@@ -9530,7 +9464,6 @@ function zh_CN_default() {
|
|
|
9530
9464
|
localeError: error45()
|
|
9531
9465
|
};
|
|
9532
9466
|
}
|
|
9533
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/zh-TW.js
|
|
9534
9467
|
var error46 = () => {
|
|
9535
9468
|
const Sizable = {
|
|
9536
9469
|
string: { unit: "字元", verb: "擁有" },
|
|
@@ -9637,7 +9570,6 @@ function zh_TW_default() {
|
|
|
9637
9570
|
localeError: error46()
|
|
9638
9571
|
};
|
|
9639
9572
|
}
|
|
9640
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/locales/yo.js
|
|
9641
9573
|
var error47 = () => {
|
|
9642
9574
|
const Sizable = {
|
|
9643
9575
|
string: { unit: "àmi", verb: "ní" },
|
|
@@ -9744,7 +9676,6 @@ function yo_default() {
|
|
|
9744
9676
|
localeError: error47()
|
|
9745
9677
|
};
|
|
9746
9678
|
}
|
|
9747
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/registries.js
|
|
9748
9679
|
var _a;
|
|
9749
9680
|
var $output = Symbol("ZodOutput");
|
|
9750
9681
|
var $input = Symbol("ZodInput");
|
|
@@ -9794,7 +9725,6 @@ function registry() {
|
|
|
9794
9725
|
}
|
|
9795
9726
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
9796
9727
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
9797
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/api.js
|
|
9798
9728
|
function _string(Class2, params) {
|
|
9799
9729
|
return new Class2({
|
|
9800
9730
|
type: "string",
|
|
@@ -10714,7 +10644,6 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
10714
10644
|
const inst = new Class2(def);
|
|
10715
10645
|
return inst;
|
|
10716
10646
|
}
|
|
10717
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.js
|
|
10718
10647
|
function initializeContext(params) {
|
|
10719
10648
|
let target = params?.target ?? "draft-2020-12";
|
|
10720
10649
|
if (target === "draft-4")
|
|
@@ -11059,7 +10988,6 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
11059
10988
|
extractDefs(ctx, schema);
|
|
11060
10989
|
return finalize(ctx, schema);
|
|
11061
10990
|
};
|
|
11062
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.js
|
|
11063
10991
|
var formatMap = {
|
|
11064
10992
|
guid: "uuid",
|
|
11065
10993
|
url: "uri",
|
|
@@ -11604,7 +11532,7 @@ function toJSONSchema(input, params) {
|
|
|
11604
11532
|
extractDefs(ctx, input);
|
|
11605
11533
|
return finalize(ctx, input);
|
|
11606
11534
|
}
|
|
11607
|
-
|
|
11535
|
+
|
|
11608
11536
|
class JSONSchemaGenerator {
|
|
11609
11537
|
get metadataRegistry() {
|
|
11610
11538
|
return this.ctx.metadataRegistry;
|
|
@@ -11663,9 +11591,7 @@ class JSONSchemaGenerator {
|
|
|
11663
11591
|
return plainResult;
|
|
11664
11592
|
}
|
|
11665
11593
|
}
|
|
11666
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/core/json-schema.js
|
|
11667
11594
|
var exports_json_schema = {};
|
|
11668
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/schemas.js
|
|
11669
11595
|
var exports_schemas2 = {};
|
|
11670
11596
|
__export(exports_schemas2, {
|
|
11671
11597
|
xor: () => xor,
|
|
@@ -11833,8 +11759,6 @@ __export(exports_schemas2, {
|
|
|
11833
11759
|
ZodArray: () => ZodArray,
|
|
11834
11760
|
ZodAny: () => ZodAny
|
|
11835
11761
|
});
|
|
11836
|
-
|
|
11837
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/checks.js
|
|
11838
11762
|
var exports_checks2 = {};
|
|
11839
11763
|
__export(exports_checks2, {
|
|
11840
11764
|
uppercase: () => _uppercase,
|
|
@@ -11867,8 +11791,6 @@ __export(exports_checks2, {
|
|
|
11867
11791
|
gt: () => _gt,
|
|
11868
11792
|
endsWith: () => _endsWith
|
|
11869
11793
|
});
|
|
11870
|
-
|
|
11871
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/iso.js
|
|
11872
11794
|
var exports_iso = {};
|
|
11873
11795
|
__export(exports_iso, {
|
|
11874
11796
|
time: () => time2,
|
|
@@ -11908,8 +11830,6 @@ var ZodISODuration = /* @__PURE__ */ $constructor("ZodISODuration", (inst, def)
|
|
|
11908
11830
|
function duration2(params) {
|
|
11909
11831
|
return _isoDuration(ZodISODuration, params);
|
|
11910
11832
|
}
|
|
11911
|
-
|
|
11912
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/errors.js
|
|
11913
11833
|
var initializer2 = (inst, issues) => {
|
|
11914
11834
|
$ZodError.init(inst, issues);
|
|
11915
11835
|
inst.name = "ZodError";
|
|
@@ -11943,8 +11863,6 @@ var ZodError = $constructor("ZodError", initializer2);
|
|
|
11943
11863
|
var ZodRealError = $constructor("ZodError", initializer2, {
|
|
11944
11864
|
Parent: Error
|
|
11945
11865
|
});
|
|
11946
|
-
|
|
11947
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/parse.js
|
|
11948
11866
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
11949
11867
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
11950
11868
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -11957,8 +11875,6 @@ var safeEncode2 = /* @__PURE__ */ _safeEncode(ZodRealError);
|
|
|
11957
11875
|
var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
11958
11876
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
11959
11877
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
11960
|
-
|
|
11961
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/schemas.js
|
|
11962
11878
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
11963
11879
|
$ZodType.init(inst, def);
|
|
11964
11880
|
Object.assign(inst["~standard"], {
|
|
@@ -13034,7 +12950,6 @@ function json(params) {
|
|
|
13034
12950
|
function preprocess(fn, schema) {
|
|
13035
12951
|
return pipe(transform(fn), schema);
|
|
13036
12952
|
}
|
|
13037
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/compat.js
|
|
13038
12953
|
var ZodIssueCode = {
|
|
13039
12954
|
invalid_type: "invalid_type",
|
|
13040
12955
|
too_big: "too_big",
|
|
@@ -13058,7 +12973,6 @@ function getErrorMap() {
|
|
|
13058
12973
|
}
|
|
13059
12974
|
var ZodFirstPartyTypeKind;
|
|
13060
12975
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13061
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/from-json-schema.js
|
|
13062
12976
|
var z = {
|
|
13063
12977
|
...exports_schemas2,
|
|
13064
12978
|
...exports_checks2,
|
|
@@ -13519,7 +13433,6 @@ function fromJSONSchema(schema, params) {
|
|
|
13519
13433
|
};
|
|
13520
13434
|
return convertSchema(schema, ctx);
|
|
13521
13435
|
}
|
|
13522
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/coerce.js
|
|
13523
13436
|
var exports_coerce = {};
|
|
13524
13437
|
__export(exports_coerce, {
|
|
13525
13438
|
string: () => string3,
|
|
@@ -13543,11 +13456,7 @@ function bigint3(params) {
|
|
|
13543
13456
|
function date4(params) {
|
|
13544
13457
|
return _coercedDate(ZodDate, params);
|
|
13545
13458
|
}
|
|
13546
|
-
|
|
13547
|
-
// ../../node_modules/.bun/zod@4.3.5/node_modules/zod/v4/classic/external.js
|
|
13548
13459
|
config(en_default());
|
|
13549
|
-
// ../core/dist/index.js
|
|
13550
|
-
import { createRequire } from "node:module";
|
|
13551
13460
|
var __create = Object.create;
|
|
13552
13461
|
var __getProtoOf = Object.getPrototypeOf;
|
|
13553
13462
|
var __defProp2 = Object.defineProperty;
|
|
@@ -54446,9 +54355,6 @@ function csvToLogEntries(csv) {
|
|
|
54446
54355
|
return entries;
|
|
54447
54356
|
}
|
|
54448
54357
|
var import_cli_highlight = __toESM(require_dist(), 1);
|
|
54449
|
-
|
|
54450
|
-
// ../mcp/src/data-access.ts
|
|
54451
|
-
import { readFile } from "node:fs/promises";
|
|
54452
54358
|
var loadEntries = async (filePath) => {
|
|
54453
54359
|
try {
|
|
54454
54360
|
const content = await readFile(filePath, "utf-8");
|
|
@@ -54474,8 +54380,6 @@ var getEntriesByTask = (entries, taskName) => {
|
|
|
54474
54380
|
const lowerTask = taskName.toLowerCase();
|
|
54475
54381
|
return entries.filter((entry) => entry.name?.toLowerCase().includes(lowerTask));
|
|
54476
54382
|
};
|
|
54477
|
-
|
|
54478
|
-
// ../mcp/src/index.ts
|
|
54479
54383
|
var registerMemoryMcpHandlers = (server, logPath) => {
|
|
54480
54384
|
let logCache = [];
|
|
54481
54385
|
const refreshCache = async () => {
|
|
@@ -54659,7 +54563,7 @@ async function run(args = process.argv.slice(2), env = process.env) {
|
|
|
54659
54563
|
return;
|
|
54660
54564
|
}
|
|
54661
54565
|
if (args.includes("--version") || args.includes("-v") || args.includes("-V")) {
|
|
54662
|
-
console.log("0.1.
|
|
54566
|
+
console.log("0.1.3");
|
|
54663
54567
|
return;
|
|
54664
54568
|
}
|
|
54665
54569
|
if (args.includes("--help") || args.includes("-h")) {
|
|
@@ -54685,7 +54589,7 @@ Options:
|
|
|
54685
54589
|
}
|
|
54686
54590
|
const server = new McpServer({
|
|
54687
54591
|
name: "l-log-mcp-server",
|
|
54688
|
-
version: "0.1.
|
|
54592
|
+
version: "0.1.3"
|
|
54689
54593
|
});
|
|
54690
54594
|
const refresh = registerMemoryMcpHandlers(server, LOG_PATH);
|
|
54691
54595
|
await refresh();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "l-log-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"directory": "packages/mcp-server"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@modelcontextprotocol/sdk": "^1.25.2"
|
|
34
|
-
"l-log-mcp": "0.1.0"
|
|
33
|
+
"@modelcontextprotocol/sdk": "^1.25.2"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@types/bun": "latest",
|
|
37
|
+
"l-log-mcp": "0.1.0",
|
|
38
38
|
"typescript": "^5.9.3"
|
|
39
39
|
}
|
|
40
40
|
}
|