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.
- package/package.json +1 -1
- package/src/runner.mjs +2 -2
package/package.json
CHANGED
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
|
|
845
|
-
args[lastPIdx + 1] = `${
|
|
844
|
+
const role = args[lastPIdx + 1];
|
|
845
|
+
args[lastPIdx + 1] = `${prompt}\n\nТвоя роль: ${role}`;
|
|
846
846
|
} else {
|
|
847
847
|
args.push(prompt);
|
|
848
848
|
}
|