orchestrix 16.1.6 â 16.1.8
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/lib/embedded/start-orchestrix.sh +12 -4
- package/lib/embedded/yuri.md +22 -5
- package/package.json +1 -1
|
@@ -254,12 +254,20 @@ AGENT_LOAD_WAIT=15
|
|
|
254
254
|
# Auto-start workflow command (sent to SM window)
|
|
255
255
|
AUTO_START_COMMAND="1"
|
|
256
256
|
|
|
257
|
+
# Language flag: read from $ORCHESTRIX_LANG (e.g., "zh") or empty for English.
|
|
258
|
+
# Yuri sets this before calling start-orchestrix.sh to propagate frontend locale.
|
|
259
|
+
LANG_FLAG=""
|
|
260
|
+
if [ -n "$ORCHESTRIX_LANG" ] && [ "$ORCHESTRIX_LANG" != "en" ]; then
|
|
261
|
+
LANG_FLAG="--lang=$ORCHESTRIX_LANG"
|
|
262
|
+
echo "đ Language: $ORCHESTRIX_LANG"
|
|
263
|
+
fi
|
|
264
|
+
|
|
257
265
|
# Agent activation commands (MCP version uses /o command)
|
|
258
266
|
declare -a AGENT_COMMANDS=(
|
|
259
|
-
"/o architect" # Window 0 - Architect
|
|
260
|
-
"/o sm" # Window 1 - SM
|
|
261
|
-
"/o dev" # Window 2 - Dev
|
|
262
|
-
"/o qa" # Window 3 - QA
|
|
267
|
+
"/o architect $LANG_FLAG" # Window 0 - Architect
|
|
268
|
+
"/o sm $LANG_FLAG" # Window 1 - SM
|
|
269
|
+
"/o dev $LANG_FLAG" # Window 2 - Dev
|
|
270
|
+
"/o qa $LANG_FLAG" # Window 3 - QA
|
|
263
271
|
)
|
|
264
272
|
|
|
265
273
|
declare -a AGENT_NAMES=(
|
package/lib/embedded/yuri.md
CHANGED
|
@@ -23,6 +23,22 @@ You are the **product & engineering lead** who:
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
+
## Language (i18n)
|
|
27
|
+
|
|
28
|
+
**Check for `--lang` parameter** when activated. Example: `/yuri --lang=zh`
|
|
29
|
+
|
|
30
|
+
| Parameter | Behavior |
|
|
31
|
+
|-----------|----------|
|
|
32
|
+
| `--lang=zh` | All Yuri output in **įŽäŊ䏿**. Agents activated with `--lang=zh`. |
|
|
33
|
+
| `--lang=en` or omitted | All output in **English** (default). |
|
|
34
|
+
|
|
35
|
+
When `--lang` is set:
|
|
36
|
+
1. **Yuri speaks** in the specified language (greetings, status updates, questions)
|
|
37
|
+
2. **Agents in op-session** are activated with the same `--lang` flag: `/o analyst --lang=zh`
|
|
38
|
+
3. The language is **persistent** for the entire session â no need to repeat on each command
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
26
42
|
## Architecture
|
|
27
43
|
|
|
28
44
|
```
|
|
@@ -174,8 +190,9 @@ sleep 12
|
|
|
174
190
|
#### Step 2: Run planning agents sequentially
|
|
175
191
|
|
|
176
192
|
```bash
|
|
177
|
-
# Activate first agent
|
|
178
|
-
|
|
193
|
+
# Activate first agent (pass --lang if set during /yuri activation)
|
|
194
|
+
# Example: LANG_FLAG="--lang=zh" if activated with /yuri --lang=zh, else empty
|
|
195
|
+
tmux send-keys -t "$OP_SESSION:planning" "/o analyst $LANG_FLAG"
|
|
179
196
|
sleep 1
|
|
180
197
|
tmux send-keys -t "$OP_SESSION:planning" Enter
|
|
181
198
|
sleep 12 # Wait for agent load via MCP
|
|
@@ -200,7 +217,7 @@ tmux send-keys -t "$OP_SESSION:planning" Enter
|
|
|
200
217
|
sleep 2
|
|
201
218
|
|
|
202
219
|
# Activate next agent
|
|
203
|
-
tmux send-keys -t "$OP_SESSION:planning" "/o pm"
|
|
220
|
+
tmux send-keys -t "$OP_SESSION:planning" "/o pm $LANG_FLAG"
|
|
204
221
|
sleep 1
|
|
205
222
|
tmux send-keys -t "$OP_SESSION:planning" Enter
|
|
206
223
|
sleep 12
|
|
@@ -237,10 +254,10 @@ tmux kill-session -t "$OP_SESSION"
|
|
|
237
254
|
# Launch dev session with same op-{name}
|
|
238
255
|
# start-orchestrix.sh reads ORCHESTRIX_SESSION and uses it as the session name
|
|
239
256
|
# instead of its default "orchestrix-{repo-id}" naming.
|
|
240
|
-
ORCHESTRIX_SESSION="$OP_SESSION" bash "$WORK_DIR/.orchestrix-core/scripts/start-orchestrix.sh"
|
|
257
|
+
ORCHESTRIX_SESSION="$OP_SESSION" ORCHESTRIX_LANG="$LANG" bash "$WORK_DIR/.orchestrix-core/scripts/start-orchestrix.sh"
|
|
241
258
|
```
|
|
242
259
|
|
|
243
|
-
**Important**: Pass `ORCHESTRIX_SESSION` inline (not `export`) to avoid polluting Yuri's own shell environment. The script creates a new `op-{name}` session with 4 dev agent windows.
|
|
260
|
+
**Important**: Pass `ORCHESTRIX_SESSION` and `ORCHESTRIX_LANG` inline (not `export`) to avoid polluting Yuri's own shell environment. `$LANG` is `zh` or `en` based on your `--lang` activation parameter. The script creates a new `op-{name}` session with 4 dev agent windows, all using the same language.
|
|
244
261
|
|
|
245
262
|
### Phase B: Remote Development Monitoring
|
|
246
263
|
|