natureco-cli 5.6.9 → 5.6.10
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 +1 -1
- package/src/commands/repl.js +3 -3
- package/src/utils/tools.js +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "natureco-cli",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.10",
|
|
4
4
|
"description": "OpenClaw'dan daha güvenli, daha hızlı, daha ucuz AI agent CLI. Multi-agent, self-evolving skills, audit log, maliyet optimizasyonu ve NatureCo platform-native.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"natureco": "bin/natureco.js"
|
package/src/commands/repl.js
CHANGED
|
@@ -852,11 +852,11 @@ async function startRepl(args) {
|
|
|
852
852
|
const trimmed = (line || '').toLowerCase();
|
|
853
853
|
const isIdentityQuestion = /(sen\s+kim|adin\s+ne|kendini\s+tan|kendin\s+tanit|kimsin|ne\s+adindasin)/.test(trimmed);
|
|
854
854
|
if (isIdentityQuestion) {
|
|
855
|
-
// Hard-coded prefix
|
|
855
|
+
// v5.6.10: Hard-coded prefix minimal - model cevabini bozuyordu
|
|
856
|
+
// Once sadece isim yaz, modelin devamini getirsin
|
|
856
857
|
const displayName = memory.botName || 'İchigo';
|
|
857
858
|
process.stdout.write(tui.styled('\n AI ', { color: tui.PALETTE.secondary, bold: true }));
|
|
858
|
-
process.stdout.write('Ben ' + displayName + '
|
|
859
|
-
console.log('\n');
|
|
859
|
+
process.stdout.write('Merhaba! Ben ' + displayName + '. ');
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
// AI cevabı
|
package/src/utils/tools.js
CHANGED
|
@@ -97,6 +97,11 @@ function loadToolDefinitions() {
|
|
|
97
97
|
*/
|
|
98
98
|
function toOpenAIFormat(toolDefs) {
|
|
99
99
|
// v5.6.6: Yasakli tool'lari filtrele, alias'lari cozumle
|
|
100
|
+
// v5.6.6: Inline tool filtre - model halusinasyonla cagirabilecegi tool'lari engelle
|
|
101
|
+
toolDefs = toolDefs.filter(t =>
|
|
102
|
+
!['brave_search','brave-web-search','google_search','web_search','browse','open','search','shell','bash_command','execute_command','run_command','sql','query','lookup'].includes(t.name)
|
|
103
|
+
);
|
|
104
|
+
|
|
100
105
|
return toolDefs
|
|
101
106
|
.filter(t => !['brave_search','brave-web-search','google_search','web_search','browse','open','search','shell','bash_command','execute_command','run_command','sql','query','lookup'].includes(t.name))
|
|
102
107
|
.map(t => {
|