natureco-cli 2.14.6 → 2.14.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "natureco-cli",
3
- "version": "2.14.6",
3
+ "version": "2.14.7",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -211,7 +211,7 @@ body::before{
211
211
  <div class="header-bot-name" id="header-bot-name">Nature Bot</div>
212
212
  <div class="header-bot-model" id="header-bot-model">NatureCo</div>
213
213
  </div>
214
- <div class="version-badge" id="version-badge">v2.14.6</div>
214
+ <div class="version-badge" id="version-badge">v2.14.7</div>
215
215
  </div>
216
216
  <div class="messages" id="messages"></div>
217
217
  <div class="input-area">
@@ -341,7 +341,7 @@ function dashboard(action) {
341
341
  apiKey: cfg.apiKey,
342
342
  defaultBot: cfg.defaultBot,
343
343
  defaultBotId: cfg.defaultBotId,
344
- version: 'v2.14.6',
344
+ version: 'v2.14.7',
345
345
  bots: cfg.bots || [],
346
346
  telegramToken: cfg.telegramToken || null,
347
347
  whatsappConnected: cfg.whatsappConnected || false,
package/src/utils/api.js CHANGED
@@ -741,50 +741,6 @@ TOOL SELECTION GUIDE:
741
741
  systemPrompt += mcpPrompt;
742
742
  }
743
743
 
744
- // Add available skills information
745
- let skillsPrompt = '';
746
- const skillsDir = path.join(homeDir, '.natureco', 'skills');
747
- if (fs.existsSync(skillsDir)) {
748
- try {
749
- const skills = fs.readdirSync(skillsDir).filter(f => {
750
- const skillPath = path.join(skillsDir, f);
751
- return fs.statSync(skillPath).isDirectory();
752
- });
753
-
754
- if (skills.length > 0) {
755
- // Extract skill names and short descriptions (not full SKILL.md content)
756
- const skillsInfo = skills.map(skill => {
757
- const skillMd = path.join(skillsDir, skill, 'SKILL.md');
758
- if (!fs.existsSync(skillMd)) return skill;
759
-
760
- try {
761
- const content = fs.readFileSync(skillMd, 'utf8');
762
- // Extract description from SKILL.md (first 60 chars)
763
- const descMatch = content.match(/description:\s*(.+)/i);
764
- const desc = descMatch ? descMatch[1].slice(0, 60) : '';
765
- return desc ? `${skill}: ${desc}` : skill;
766
- } catch (err) {
767
- return skill;
768
- }
769
- }).slice(0, 5).join('\n'); // Show max 5 skills
770
-
771
- const moreSkills = skills.length > 5 ? ` (${skills.length - 5} more)` : '';
772
- skillsPrompt = `\n\nInstalled skills (${skills.length})${moreSkills}:\n${skillsInfo}\nUse /skills for details.`;
773
-
774
- systemPrompt += skillsPrompt;
775
- }
776
- } catch (err) {
777
- // Silently skip if skills directory can't be read
778
- }
779
- }
780
-
781
- // Add memory prompt
782
- const { getMemoryPrompt } = require('./memory');
783
- const memoryPrompt = getMemoryPrompt(botId);
784
- if (memoryPrompt) {
785
- systemPrompt += '\n\n' + memoryPrompt;
786
- }
787
-
788
744
  return sendMessageToProvider(apiKey, message, conversationId, systemPrompt);
789
745
  }
790
746