natureco-cli 5.14.0 → 5.14.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/package.json +1 -1
- package/src/commands/repl.js +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "natureco-cli",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.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/commands/repl.js
CHANGED
|
@@ -1029,9 +1029,15 @@ async function startRepl(args) {
|
|
|
1029
1029
|
messages[0] = { role: 'system', content: systemPrompt, _internal: true };
|
|
1030
1030
|
|
|
1031
1031
|
// v5.13.0: Run workflow FIRST for every request
|
|
1032
|
+
process.stdout.write(tui.styled('\r 🔧 workflow... ', { color: tui.PALETTE.muted }));
|
|
1032
1033
|
const wfToolDefs = getToolDefs();
|
|
1033
1034
|
const wfResult = await executeTool('workflow', { action: 'run', task: line }, wfToolDefs);
|
|
1034
1035
|
const wf = wfResult?.result || {};
|
|
1036
|
+
if (wf.success !== false) {
|
|
1037
|
+
process.stdout.write(tui.styled(' ✓ workflow\n', { color: tui.PALETTE.success }));
|
|
1038
|
+
} else {
|
|
1039
|
+
process.stdout.write(tui.styled(' ✗ workflow\n', { color: tui.PALETTE.danger }));
|
|
1040
|
+
}
|
|
1035
1041
|
|
|
1036
1042
|
if (wf.passthrough && wf.reply) {
|
|
1037
1043
|
// Simple chat — workflow handled it directly
|