workflow-ai 1.0.67 → 1.0.68

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.
@@ -64,42 +64,42 @@ pipeline:
64
64
 
65
65
  kilo-code:
66
66
  command: "kilo"
67
- args: ["-m", "kilo/kilo-auto/free", "--agent", "orchestrator", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
67
+ args: ["-m", "kilo/kilo-auto/free", "--agent", "orchestrator", "--print-logs", "--log-level", "ERROR", "run", "--auto"]
68
68
  workdir: "."
69
69
  capabilities: [text]
70
70
  description: "Kilo мульти-режимный (architect, code, debug)"
71
71
 
72
72
  kilo-glm:
73
73
  command: "kilo"
74
- args: ["-m", "zai/glm-5.1", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
74
+ args: ["-m", "zai/glm-5.1", "--agent", "code", "--print-logs", "--log-level", "ERROR", "run", "--auto"]
75
75
  workdir: "."
76
76
  capabilities: [text]
77
77
  description: "Kilo GLM"
78
78
 
79
79
  kilo-glm-air:
80
80
  command: "kilo"
81
- args: ["-m", "zai/glm-4.5-air", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
81
+ args: ["-m", "zai/glm-4.5-air", "--agent", "code", "--print-logs", "--log-level", "ERROR", "run", "--auto"]
82
82
  workdir: "."
83
83
  capabilities: [text]
84
84
  description: "Kilo GLM air"
85
85
 
86
86
  kilo-deepseek:
87
87
  command: "kilo"
88
- args: ["-m", "deepseek/deepseek-reasoner", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
88
+ args: ["-m", "deepseek/deepseek-reasoner", "--agent", "code", "--print-logs", "--log-level", "ERROR", "run", "--auto"]
89
89
  workdir: "."
90
90
  capabilities: [text]
91
91
  description: "Kilo deepseek"
92
92
 
93
93
  kilo-minimax:
94
94
  command: "kilo"
95
- args: ["-m", "kilo/minimax/minimax-m2.7", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
95
+ args: ["-m", "kilo/minimax/minimax-m2.7", "--agent", "code", "--print-logs", "--log-level", "ERROR", "run", "--auto"]
96
96
  workdir: "."
97
97
  capabilities: [text]
98
98
  description: "Kilo minimax"
99
99
 
100
100
  kilo-free:
101
101
  command: "kilo"
102
- args: ["-m", "kilo/kilo-auto/free", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
102
+ args: ["-m", "kilo/kilo-auto/free", "--agent", "code", "--print-logs", "--log-level", "ERROR", "run", "--auto"]
103
103
  workdir: "."
104
104
  capabilities: [text]
105
105
  description: "Kilo free"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workflow-ai",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "AI Agent Workflow Coordinator — kanban-based pipeline for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,13 +30,27 @@ function ensureLogDir(logFilePath) {
30
30
  }
31
31
 
32
32
  function createLogger(logFilePath = null, consoleLevel = LEVELS.INFO) {
33
- const projectRoot = findProjectRoot();
34
- const defaultLogPath = path.join(projectRoot, '.workflow/logs/pipeline.log');
35
- const logPath = logFilePath || defaultLogPath;
36
-
37
- ensureLogDir(logPath);
33
+ let resolvedLogPath = logFilePath;
34
+ let logDirEnsured = false;
35
+
36
+ function resolveLogPath() {
37
+ if (resolvedLogPath) return resolvedLogPath;
38
+ try {
39
+ const projectRoot = findProjectRoot();
40
+ resolvedLogPath = path.join(projectRoot, '.workflow/logs/pipeline.log');
41
+ return resolvedLogPath;
42
+ } catch {
43
+ return null;
44
+ }
45
+ }
38
46
 
39
47
  function writeToFile(formatted) {
48
+ const logPath = resolveLogPath();
49
+ if (!logPath) return;
50
+ if (!logDirEnsured) {
51
+ ensureLogDir(logPath);
52
+ logDirEnsured = true;
53
+ }
40
54
  fs.appendFileSync(logPath, formatted + '\n', 'utf8');
41
55
  }
42
56