@lousy-agents/mcp 5.14.3 → 5.14.4
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/mcp-server.js +44 -30
- package/package.json +2 -2
package/dist/mcp-server.js
CHANGED
|
@@ -59962,8 +59962,10 @@ class Composer {
|
|
|
59962
59962
|
}
|
|
59963
59963
|
}
|
|
59964
59964
|
if (afterDoc) {
|
|
59965
|
-
|
|
59966
|
-
|
|
59965
|
+
for (let i = 0; i < this.errors.length; ++i)
|
|
59966
|
+
doc.errors.push(this.errors[i]);
|
|
59967
|
+
for (let i = 0; i < this.warnings.length; ++i)
|
|
59968
|
+
doc.warnings.push(this.warnings[i]);
|
|
59967
59969
|
}
|
|
59968
59970
|
else {
|
|
59969
59971
|
doc.errors = this.errors;
|
|
@@ -63778,7 +63780,7 @@ class Lexer {
|
|
|
63778
63780
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
63779
63781
|
this.indentNext = this.indentValue + 1;
|
|
63780
63782
|
this.indentValue += n;
|
|
63781
|
-
return
|
|
63783
|
+
return 'block-start';
|
|
63782
63784
|
}
|
|
63783
63785
|
return 'doc';
|
|
63784
63786
|
}
|
|
@@ -64099,32 +64101,36 @@ class Lexer {
|
|
|
64099
64101
|
return 0;
|
|
64100
64102
|
}
|
|
64101
64103
|
*pushIndicators() {
|
|
64102
|
-
|
|
64103
|
-
|
|
64104
|
-
|
|
64105
|
-
|
|
64106
|
-
|
|
64107
|
-
|
|
64108
|
-
|
|
64109
|
-
|
|
64110
|
-
|
|
64111
|
-
|
|
64112
|
-
|
|
64113
|
-
|
|
64114
|
-
|
|
64115
|
-
|
|
64116
|
-
|
|
64117
|
-
|
|
64118
|
-
|
|
64119
|
-
|
|
64120
|
-
|
|
64121
|
-
|
|
64122
|
-
|
|
64123
|
-
|
|
64104
|
+
let n = 0;
|
|
64105
|
+
loop: while (true) {
|
|
64106
|
+
switch (this.charAt(0)) {
|
|
64107
|
+
case '!':
|
|
64108
|
+
n += yield* this.pushTag();
|
|
64109
|
+
n += yield* this.pushSpaces(true);
|
|
64110
|
+
continue loop;
|
|
64111
|
+
case '&':
|
|
64112
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
64113
|
+
n += yield* this.pushSpaces(true);
|
|
64114
|
+
continue loop;
|
|
64115
|
+
case '-': // this is an error
|
|
64116
|
+
case '?': // this is an error outside flow collections
|
|
64117
|
+
case ':': {
|
|
64118
|
+
const inFlow = this.flowLevel > 0;
|
|
64119
|
+
const ch1 = this.charAt(1);
|
|
64120
|
+
if (isEmpty(ch1) || (inFlow && flowIndicatorChars.has(ch1))) {
|
|
64121
|
+
if (!inFlow)
|
|
64122
|
+
this.indentNext = this.indentValue + 1;
|
|
64123
|
+
else if (this.flowKey)
|
|
64124
|
+
this.flowKey = false;
|
|
64125
|
+
n += yield* this.pushCount(1);
|
|
64126
|
+
n += yield* this.pushSpaces(true);
|
|
64127
|
+
continue loop;
|
|
64128
|
+
}
|
|
64124
64129
|
}
|
|
64125
64130
|
}
|
|
64131
|
+
break loop;
|
|
64126
64132
|
}
|
|
64127
|
-
return
|
|
64133
|
+
return n;
|
|
64128
64134
|
}
|
|
64129
64135
|
*pushTag() {
|
|
64130
64136
|
if (this.charAt(1) === '<') {
|
|
@@ -64304,6 +64310,14 @@ function getFirstKeyStartProps(prev) {
|
|
|
64304
64310
|
}
|
|
64305
64311
|
return prev.splice(i, prev.length);
|
|
64306
64312
|
}
|
|
64313
|
+
function arrayPushArray(target, source) {
|
|
64314
|
+
// May exhaust call stack with large `source` array
|
|
64315
|
+
if (source.length < 1e5)
|
|
64316
|
+
Array.prototype.push.apply(target, source);
|
|
64317
|
+
else
|
|
64318
|
+
for (let i = 0; i < source.length; ++i)
|
|
64319
|
+
target.push(source[i]);
|
|
64320
|
+
}
|
|
64307
64321
|
function fixFlowSeqItems(fc) {
|
|
64308
64322
|
if (fc.start.type === 'flow-seq-start') {
|
|
64309
64323
|
for (const it of fc.items) {
|
|
@@ -64316,12 +64330,12 @@ function fixFlowSeqItems(fc) {
|
|
|
64316
64330
|
delete it.key;
|
|
64317
64331
|
if (isFlowToken(it.value)) {
|
|
64318
64332
|
if (it.value.end)
|
|
64319
|
-
|
|
64333
|
+
arrayPushArray(it.value.end, it.sep);
|
|
64320
64334
|
else
|
|
64321
64335
|
it.value.end = it.sep;
|
|
64322
64336
|
}
|
|
64323
64337
|
else
|
|
64324
|
-
|
|
64338
|
+
arrayPushArray(it.start, it.sep);
|
|
64325
64339
|
delete it.sep;
|
|
64326
64340
|
}
|
|
64327
64341
|
}
|
|
@@ -64741,7 +64755,7 @@ class Parser {
|
|
|
64741
64755
|
const prev = map.items[map.items.length - 2];
|
|
64742
64756
|
const end = prev?.value?.end;
|
|
64743
64757
|
if (Array.isArray(end)) {
|
|
64744
|
-
|
|
64758
|
+
arrayPushArray(end, it.start);
|
|
64745
64759
|
end.push(this.sourceToken);
|
|
64746
64760
|
map.items.pop();
|
|
64747
64761
|
return;
|
|
@@ -64956,7 +64970,7 @@ class Parser {
|
|
|
64956
64970
|
const prev = seq.items[seq.items.length - 2];
|
|
64957
64971
|
const end = prev?.value?.end;
|
|
64958
64972
|
if (Array.isArray(end)) {
|
|
64959
|
-
|
|
64973
|
+
arrayPushArray(end, it.start);
|
|
64960
64974
|
end.push(this.sourceToken);
|
|
64961
64975
|
seq.items.pop();
|
|
64962
64976
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lousy-agents/mcp",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.4",
|
|
4
4
|
"description": "MCP server for lousy-agents - provides AI coding assistant tools via the Model Context Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
40
|
-
"yaml": "2.
|
|
40
|
+
"yaml": "2.9.0",
|
|
41
41
|
"zod": "4.4.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|