lotus-wisdom-mcp 0.3.0 → 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 CHANGED
@@ -317,11 +317,16 @@ The Lotus Wisdom framework recognizes that wisdom often emerges not through line
317
317
 
318
318
  MCP tool descriptions stay in the AI's context window constantly when the server is connected. To minimize this overhead while preserving the full teaching content:
319
319
 
320
- - **Constant context (~200 tokens)**: The `lotuswisdom` tool description is kept minimal—just enough for the AI to know when and how to use it
321
- - **On-demand learning (~600 tokens)**: The full framework (philosophy, domain spirits, guidance) is delivered when calling with `tag='begin'`
320
+ - **Constant context (~150 tokens)**: The `lotuswisdom` tool description is kept minimal—just enough for the AI to know when and how to use it
321
+ - **On-demand learning (~1,200 tokens)**: The complete framework is delivered when calling with `tag='begin'`, including:
322
+ - Philosophy and domain spirits
323
+ - Parameter explanations (tag, content, stepNumber, etc.)
324
+ - Response format details (wisdomDomain, journey, domainJourney)
325
+ - Meditation handling (MEDITATION_COMPLETE status)
326
+ - When to use guidance
322
327
  - **Learn first, practice second**: The `begin` tag ensures models receive complete understanding before contemplating
323
328
 
324
- This approach reduces constant context overhead by ~85% while ensuring no wisdom is lost. The AI always knows to start with `begin` because it's clearly marked as "FIRST" in the tag list.
329
+ This approach reduces constant context overhead by ~85% when the tool is idle. When actually used, the full framework is delivered on first step—nothing is lost.
325
330
 
326
331
  ## License
327
332
 
@@ -333,7 +338,17 @@ Contributions are welcome! Please feel free to submit issues or pull requests on
333
338
 
334
339
  ## Version
335
340
 
336
- Current version: 0.3.0
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
347
+
348
+ ### What's New in 0.3.1
349
+
350
+ - 📚 **Complete Framework Learning**: `begin` tag now returns full parameter explanations, response format details, and meditation handling
351
+ - 🔢 **Accurate Token Counts**: Updated documentation with actual token measurements (~150 constant, ~1,200 on-demand)
337
352
 
338
353
  ### What's New in 0.3.0
339
354
 
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
  }
@@ -12612,7 +12618,32 @@ var LotusWisdomServer = class {
12612
12618
  uncertainty: "When uncertain, sit with the uncertainty. The fog is not an obstacle; it is part of the journey. Not-knowing is its own form of wisdom.",
12613
12619
  workflow: "Call lotuswisdom iteratively with different tags. The tool processes your contemplation internally\u2014do NOT output wisdom until you receive status=WISDOM_READY. Then speak naturally in your own voice.",
12614
12620
  next: 'Proceed with stepNumber: 2 using any tag that feels right (often "open" or "examine" to start).'
12615
- }
12621
+ },
12622
+ parameters: {
12623
+ tag: "The current processing technique\u2014choose from any wisdom domain",
12624
+ content: "Your contemplation for this step\u2014what you are thinking, seeing, or understanding",
12625
+ stepNumber: "Current step in your journey (this begin step is 1)",
12626
+ totalSteps: "Your estimate of total steps needed (can adjust as you go)",
12627
+ nextStepNeeded: "Set true to continue, false when ready to complete",
12628
+ isMeditation: "Set true when using the meditate tag for a contemplative pause",
12629
+ meditationDuration: "Optional seconds (1-10) for meditation pauses"
12630
+ },
12631
+ responses: {
12632
+ processing: "Normal steps return status=processing with journey tracking",
12633
+ wisdomDomain: "Which domain your current tag belongs to",
12634
+ journey: 'Your complete tag path so far (e.g., "open \u2192 examine \u2192 direct \u2192 integrate")',
12635
+ domainJourney: 'Movement between wisdom domains (e.g., "process_flow \u2192 meta_cognitive \u2192 skillful_means")',
12636
+ meditation: "The meditate tag returns status=MEDITATION_COMPLETE with a prompt asking what emerged from stillness",
12637
+ completion: "When nextStepNeeded=false, you receive status=WISDOM_READY\u2014then speak the final wisdom naturally in your own voice"
12638
+ },
12639
+ whenToUse: [
12640
+ "Breaking down complex problems requiring multi-faceted understanding",
12641
+ "Questions that benefit from both direct and gradual approaches",
12642
+ "Problems where apparent contradictions need integration",
12643
+ "Situations requiring both analytical and intuitive understanding",
12644
+ "Tasks that benefit from meditative pauses to allow insight",
12645
+ "Questions containing their own inherent wisdom"
12646
+ ]
12616
12647
  }, null, 2)
12617
12648
  }]
12618
12649
  };
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
  }
@@ -194,7 +201,32 @@ class LotusWisdomServer {
194
201
  uncertainty: 'When uncertain, sit with the uncertainty. The fog is not an obstacle; it is part of the journey. Not-knowing is its own form of wisdom.',
195
202
  workflow: 'Call lotuswisdom iteratively with different tags. The tool processes your contemplation internally—do NOT output wisdom until you receive status=WISDOM_READY. Then speak naturally in your own voice.',
196
203
  next: 'Proceed with stepNumber: 2 using any tag that feels right (often "open" or "examine" to start).'
197
- }
204
+ },
205
+ parameters: {
206
+ tag: 'The current processing technique—choose from any wisdom domain',
207
+ content: 'Your contemplation for this step—what you are thinking, seeing, or understanding',
208
+ stepNumber: 'Current step in your journey (this begin step is 1)',
209
+ totalSteps: 'Your estimate of total steps needed (can adjust as you go)',
210
+ nextStepNeeded: 'Set true to continue, false when ready to complete',
211
+ isMeditation: 'Set true when using the meditate tag for a contemplative pause',
212
+ meditationDuration: 'Optional seconds (1-10) for meditation pauses'
213
+ },
214
+ responses: {
215
+ processing: 'Normal steps return status=processing with journey tracking',
216
+ wisdomDomain: 'Which domain your current tag belongs to',
217
+ journey: 'Your complete tag path so far (e.g., "open → examine → direct → integrate")',
218
+ domainJourney: 'Movement between wisdom domains (e.g., "process_flow → meta_cognitive → skillful_means")',
219
+ meditation: 'The meditate tag returns status=MEDITATION_COMPLETE with a prompt asking what emerged from stillness',
220
+ completion: 'When nextStepNeeded=false, you receive status=WISDOM_READY—then speak the final wisdom naturally in your own voice'
221
+ },
222
+ whenToUse: [
223
+ 'Breaking down complex problems requiring multi-faceted understanding',
224
+ 'Questions that benefit from both direct and gradual approaches',
225
+ 'Problems where apparent contradictions need integration',
226
+ 'Situations requiring both analytical and intuitive understanding',
227
+ 'Tasks that benefit from meditative pauses to allow insight',
228
+ 'Questions containing their own inherent wisdom'
229
+ ]
198
230
  }, null, 2)
199
231
  }]
200
232
  };
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
  }
@@ -192,7 +199,32 @@ class LotusWisdomServer {
192
199
  uncertainty: 'When uncertain, sit with the uncertainty. The fog is not an obstacle; it is part of the journey. Not-knowing is its own form of wisdom.',
193
200
  workflow: 'Call lotuswisdom iteratively with different tags. The tool processes your contemplation internally—do NOT output wisdom until you receive status=WISDOM_READY. Then speak naturally in your own voice.',
194
201
  next: 'Proceed with stepNumber: 2 using any tag that feels right (often "open" or "examine" to start).'
195
- }
202
+ },
203
+ parameters: {
204
+ tag: 'The current processing technique—choose from any wisdom domain',
205
+ content: 'Your contemplation for this step—what you are thinking, seeing, or understanding',
206
+ stepNumber: 'Current step in your journey (this begin step is 1)',
207
+ totalSteps: 'Your estimate of total steps needed (can adjust as you go)',
208
+ nextStepNeeded: 'Set true to continue, false when ready to complete',
209
+ isMeditation: 'Set true when using the meditate tag for a contemplative pause',
210
+ meditationDuration: 'Optional seconds (1-10) for meditation pauses'
211
+ },
212
+ responses: {
213
+ processing: 'Normal steps return status=processing with journey tracking',
214
+ wisdomDomain: 'Which domain your current tag belongs to',
215
+ journey: 'Your complete tag path so far (e.g., "open → examine → direct → integrate")',
216
+ domainJourney: 'Movement between wisdom domains (e.g., "process_flow → meta_cognitive → skillful_means")',
217
+ meditation: 'The meditate tag returns status=MEDITATION_COMPLETE with a prompt asking what emerged from stillness',
218
+ completion: 'When nextStepNeeded=false, you receive status=WISDOM_READY—then speak the final wisdom naturally in your own voice'
219
+ },
220
+ whenToUse: [
221
+ 'Breaking down complex problems requiring multi-faceted understanding',
222
+ 'Questions that benefit from both direct and gradual approaches',
223
+ 'Problems where apparent contradictions need integration',
224
+ 'Situations requiring both analytical and intuitive understanding',
225
+ 'Tasks that benefit from meditative pauses to allow insight',
226
+ 'Questions containing their own inherent wisdom'
227
+ ]
196
228
  }, null, 2)
197
229
  }]
198
230
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lotus-wisdom-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "A Model Context Protocol server implementing the Lotus Wisdom framework",
5
5
  "main": "dist/bundle.js",
6
6
  "type": "module",