lotus-wisdom-mcp 0.3.1 → 0.3.2
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/README.md +6 -1
- package/dist/bundle.js +6 -0
- package/dist/index.js +7 -0
- package/dist/server.js +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -338,7 +338,12 @@ Contributions are welcome! Please feel free to submit issues or pull requests on
|
|
|
338
338
|
|
|
339
339
|
## Version
|
|
340
340
|
|
|
341
|
-
Current version: 0.3.
|
|
341
|
+
Current version: 0.3.2
|
|
342
|
+
|
|
343
|
+
### What's New in 0.3.2
|
|
344
|
+
|
|
345
|
+
- 🚪 **Simplified Begin**: `tag='begin'` can now be called with just `{"tag":"begin"}` - all other params auto-filled
|
|
346
|
+
- 🤖 **Better Haiku/Small Model Support**: Removes friction for models that don't infer all required params
|
|
342
347
|
|
|
343
348
|
### What's New in 0.3.1
|
|
344
349
|
|
package/dist/bundle.js
CHANGED
|
@@ -12474,6 +12474,12 @@ var LotusWisdomServer = class {
|
|
|
12474
12474
|
if (!CORE_TAGS.includes(data.tag)) {
|
|
12475
12475
|
throw new Error(`Invalid tag: ${data.tag}. Must be one of: ${CORE_TAGS.join(", ")}`);
|
|
12476
12476
|
}
|
|
12477
|
+
if (data.tag === "begin") {
|
|
12478
|
+
data.content = data.content || "Beginning contemplative journey";
|
|
12479
|
+
data.stepNumber = data.stepNumber || 1;
|
|
12480
|
+
data.totalSteps = data.totalSteps || 5;
|
|
12481
|
+
data.nextStepNeeded = data.nextStepNeeded ?? true;
|
|
12482
|
+
}
|
|
12477
12483
|
if (!data.content || typeof data.content !== "string") {
|
|
12478
12484
|
throw new Error("Invalid content: must be a string");
|
|
12479
12485
|
}
|
package/dist/index.js
CHANGED
|
@@ -45,6 +45,13 @@ class LotusWisdomServer {
|
|
|
45
45
|
if (!CORE_TAGS.includes(data.tag)) {
|
|
46
46
|
throw new Error(`Invalid tag: ${data.tag}. Must be one of: ${CORE_TAGS.join(', ')}`);
|
|
47
47
|
}
|
|
48
|
+
// Special case: 'begin' tag can be called with minimal params
|
|
49
|
+
if (data.tag === 'begin') {
|
|
50
|
+
data.content = data.content || 'Beginning contemplative journey';
|
|
51
|
+
data.stepNumber = data.stepNumber || 1;
|
|
52
|
+
data.totalSteps = data.totalSteps || 5;
|
|
53
|
+
data.nextStepNeeded = data.nextStepNeeded ?? true;
|
|
54
|
+
}
|
|
48
55
|
if (!data.content || typeof data.content !== 'string') {
|
|
49
56
|
throw new Error('Invalid content: must be a string');
|
|
50
57
|
}
|
package/dist/server.js
CHANGED
|
@@ -45,6 +45,13 @@ class LotusWisdomServer {
|
|
|
45
45
|
if (!CORE_TAGS.includes(data.tag)) {
|
|
46
46
|
throw new Error(`Invalid tag: ${data.tag}. Must be one of: ${CORE_TAGS.join(', ')}`);
|
|
47
47
|
}
|
|
48
|
+
// Special case: 'begin' tag can be called with minimal params
|
|
49
|
+
if (data.tag === 'begin') {
|
|
50
|
+
data.content = data.content || 'Beginning contemplative journey';
|
|
51
|
+
data.stepNumber = data.stepNumber || 1;
|
|
52
|
+
data.totalSteps = data.totalSteps || 5;
|
|
53
|
+
data.nextStepNeeded = data.nextStepNeeded ?? true;
|
|
54
|
+
}
|
|
48
55
|
if (!data.content || typeof data.content !== 'string') {
|
|
49
56
|
throw new Error('Invalid content: must be a string');
|
|
50
57
|
}
|