workflow-ai 1.0.66 → 1.0.67

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", "run"]
67
+ args: ["-m", "kilo/kilo-auto/free", "--agent", "orchestrator", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
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", "run"]
74
+ args: ["-m", "zai/glm-5.1", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
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", "run"]
81
+ args: ["-m", "zai/glm-4.5-air", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
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", "run"]
88
+ args: ["-m", "deepseek/deepseek-reasoner", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
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", "run"]
95
+ args: ["-m", "kilo/minimax/minimax-m2.7", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
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", "run"]
102
+ args: ["-m", "kilo/kilo-auto/free", "--agent", "code", "--print-logs", "--log-level", "ERROR", "--auto", "run"]
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.66",
3
+ "version": "1.0.67",
4
4
  "description": "AI Agent Workflow Coordinator — kanban-based pipeline for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/src/runner.mjs CHANGED
@@ -1350,6 +1350,32 @@ class StageExecutor {
1350
1350
  return;
1351
1351
  }
1352
1352
 
1353
+ // Детекция silent-failure: CLI-агент (kilo и т.п.) auto-rejected permission-
1354
+ // запросы, exit=0, структурированного RESULT нет. Без этой проверки pipeline
1355
+ // получает status=default и идёт дальше, а стейдж фактически не выполнен
1356
+ // (см. incident 2026-04-22: create-report/analyze-report в PulseProxy).
1357
+ // Маппим в ошибку, чтобы executeWithFallback переключился на следующего агента.
1358
+ if (code === 0 && !result.parsed && stderr) {
1359
+ const rejectMatches = stderr.match(/(?:auto-rejecting|rejected permission|permission denied)/gi) || [];
1360
+ if (rejectMatches.length > 0) {
1361
+ const err = new Error(
1362
+ `Agent "${agentId}" exited 0 but auto-rejected ${rejectMatches.length} permission request(s) and produced no RESULT`
1363
+ );
1364
+ err.code = 'PERMISSION_REJECTED';
1365
+ err.exitCode = -1;
1366
+ err.stderr = stderr;
1367
+ err.rejectCount = rejectMatches.length;
1368
+ if (this.logger) {
1369
+ this.logger.error(
1370
+ `Agent "${agentId}" silent-failure: ${rejectMatches.length} auto-rejected permission(s), no RESULT — mapping to status=error`,
1371
+ stageId
1372
+ );
1373
+ }
1374
+ reject(err);
1375
+ return;
1376
+ }
1377
+ }
1378
+
1353
1379
  resolve({
1354
1380
  status: result.status || 'default',
1355
1381
  output: stdout,
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-04-21T16:43:17.710Z",
2
+ "date": "2026-04-23T08:08:11.031Z",
3
3
  "skill_sha": "6df42d0",
4
4
  "status": "passed",
5
5
  "duration_ms": 2,
@@ -1,8 +1,8 @@
1
1
  {
2
- "date": "2026-04-21T16:43:17.718Z",
2
+ "date": "2026-04-23T08:08:11.039Z",
3
3
  "skill_sha": "6df42d0",
4
4
  "status": "passed",
5
- "duration_ms": 3,
5
+ "duration_ms": 2,
6
6
  "per_model": {
7
7
  "claude-sonnet": {
8
8
  "passed": true,
@@ -1,8 +1,8 @@
1
1
  {
2
- "date": "2026-04-21T16:43:17.752Z",
2
+ "date": "2026-04-23T08:08:11.073Z",
3
3
  "skill_sha": "3f91270",
4
4
  "status": "passed",
5
- "duration_ms": 11,
5
+ "duration_ms": 10,
6
6
  "per_model": {
7
7
  "claude-sonnet": {
8
8
  "passed": true,
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-04-21T16:43:17.768Z",
2
+ "date": "2026-04-23T08:08:11.087Z",
3
3
  "skill_sha": "1503ea1",
4
4
  "status": "passed",
5
5
  "duration_ms": 2,
@@ -1,8 +1,8 @@
1
1
  {
2
- "date": "2026-04-21T16:43:17.772Z",
2
+ "date": "2026-04-23T08:08:11.091Z",
3
3
  "skill_sha": "1503ea1",
4
4
  "status": "passed",
5
- "duration_ms": 2,
5
+ "duration_ms": 1,
6
6
  "per_model": {
7
7
  "claude-haiku": {
8
8
  "passed": true,