natureco-cli 5.50.0 → 5.50.1
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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/tools/workflow.js +6 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to NatureCo CLI will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [5.50.1] - 2026-07-10 — "PERF: öz-bilgi bloğu sıkıştırıldı (~%55 daha az token)"
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- **Öz-bilgi bloğu 208 → ~94 tokene indirildi** (her istekte sistem mesajıyla gider; gerçek ölçüm: "merhaba" prompt'u 5.029 → 4.883 token). Uzun mutlak yollar tekilleştirildi, talimat metni sıkıştırıldı; sayılar "TAM OLARAK" vurgusuyla korundu. SELF.md haritası zaten sysMsg'e gömülmüyordu (istek üzerine okunur) — ölçümle bir kez daha doğrulandı. E2E: "kaç skillin var?" → "Toplam 319 skill ve 90 aracım var"; onarım sorusunda ilk okunacak dosya SELF.md.
|
|
9
|
+
|
|
5
10
|
## [5.50.0] - 2026-07-10 — "ÖZ-BİLGİ: ajan kendi evini tanıyor ve kendini onarabiliyor"
|
|
6
11
|
|
|
7
12
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "natureco-cli",
|
|
3
|
-
"version": "5.50.
|
|
3
|
+
"version": "5.50.1",
|
|
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/tools/workflow.js
CHANGED
|
@@ -254,17 +254,16 @@ async function workflow(params) {
|
|
|
254
254
|
// sistemini kesfe cikip YANLIS sayiyordu (~/.natureco/skills yalniz kullanici
|
|
255
255
|
// skill'leridir; yerlesikler paketin icindedir). Gercek sayilari ve konumlari
|
|
256
256
|
// sistem mesajina gomuyoruz ki ajan kendi kurulumunu dogru anlatsin.
|
|
257
|
+
// Kompakt tutulur (~85 token): harita sysMsg'e GOMULMEZ, gerektiginde okunur
|
|
257
258
|
let selfInfo = '';
|
|
258
259
|
try {
|
|
259
260
|
const skillCount = require('../utils/skill-index')._discoverSkills().length;
|
|
260
261
|
const pkgRoot = path.join(__dirname, '..', '..');
|
|
261
|
-
selfInfo = '\
|
|
262
|
-
+ '
|
|
263
|
-
+ '
|
|
264
|
-
+ '
|
|
265
|
-
+ '
|
|
266
|
-
+ ' Kullanici "kendini incele / su ozelligin bozuk / kendini onar / nasil calisiyorsun" derse ONCE bu dosyayi read_file ile oku,'
|
|
267
|
-
+ ' ilgili kaynak dosyayi bul-oku, gerekirse edit_file ile onar, node --check ile dogrula ve yaptigini durustce anlat.';
|
|
262
|
+
selfInfo = '\nKurulumun: kok=' + pkgRoot
|
|
263
|
+
+ ' | skill sayin TAM OLARAK ' + skillCount + ' (kok/skills = ~/.natureco/skills-builtin; ~/.natureco/skills YALNIZ kullanici skill\'leri)'
|
|
264
|
+
+ ' | arac sayin TAM OLARAK ' + tools.length + ' (kok/src/tools).'
|
|
265
|
+
+ ' Oz-bilgi/onarim haritan: kok/SELF.md — "kendini incele/onar/nasil calisiyorsun" istenirse ONCE onu read_file ile oku;'
|
|
266
|
+
+ ' onarim: read_file→edit_file→node --check, sonucu durustce raporla.';
|
|
268
267
|
} catch { /* sayilamazsa satiri atla */ }
|
|
269
268
|
|
|
270
269
|
const sysMsg = [
|