workflow-ai 1.0.34 → 1.0.35

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/runner.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workflow-ai",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
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
@@ -841,8 +841,8 @@ class StageExecutor {
841
841
  // Иначе Claude CLI интерпретирует роль как промпт, а реальный промпт игнорирует
842
842
  const lastPIdx = args.lastIndexOf('-p');
843
843
  if (lastPIdx !== -1 && lastPIdx < args.length - 1) {
844
- const rolePrompt = args[lastPIdx + 1];
845
- args[lastPIdx + 1] = `${rolePrompt}\n\n${prompt}`;
844
+ const role = args[lastPIdx + 1];
845
+ args[lastPIdx + 1] = `${prompt}\n\nТвоя роль: ${role}`;
846
846
  } else {
847
847
  args.push(prompt);
848
848
  }