orchestrix 16.1.5 â 16.1.7
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 +14 -2
- package/lib/embedded/yuri.md +22 -3
- package/package.json +1 -1
|
@@ -45,11 +45,23 @@ if [ -z "$REPO_ID" ]; then
|
|
|
45
45
|
fi
|
|
46
46
|
|
|
47
47
|
# Generate dynamic session name and log file
|
|
48
|
-
#
|
|
49
|
-
#
|
|
48
|
+
# Priority:
|
|
49
|
+
# 1. $ORCHESTRIX_SESSION env var (explicit override by Yuri)
|
|
50
|
+
# 2. .youlidao/blueprint.json â op-{blueprintName} (Blueprint mode)
|
|
51
|
+
# 3. orchestrix-{REPO_ID} (standalone fallback)
|
|
50
52
|
if [ -n "$ORCHESTRIX_SESSION" ]; then
|
|
51
53
|
SESSION_NAME="$ORCHESTRIX_SESSION"
|
|
52
54
|
echo "đˇī¸ Using pre-set session name: $SESSION_NAME"
|
|
55
|
+
elif [ -f "$WORK_DIR/.youlidao/blueprint.json" ]; then
|
|
56
|
+
# Blueprint mode: auto-derive op-{name} from blueprint metadata
|
|
57
|
+
BP_NAME=$(cat "$WORK_DIR/.youlidao/blueprint.json" 2>/dev/null | grep -o '"blueprintName"[[:space:]]*:[[:space:]]*"[^"]*"' | sed 's/.*: *"//;s/"$//')
|
|
58
|
+
if [ -n "$BP_NAME" ]; then
|
|
59
|
+
SESSION_NAME="op-${BP_NAME}"
|
|
60
|
+
echo "đˇī¸ Blueprint detected: $BP_NAME â session: $SESSION_NAME"
|
|
61
|
+
else
|
|
62
|
+
SESSION_NAME="orchestrix-${REPO_ID}"
|
|
63
|
+
echo "đˇī¸ Blueprint file found but no name, fallback: $SESSION_NAME"
|
|
64
|
+
fi
|
|
53
65
|
else
|
|
54
66
|
SESSION_NAME="orchestrix-${REPO_ID}"
|
|
55
67
|
echo "đˇī¸ Repository ID: $REPO_ID"
|
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
|
```
|
|
@@ -140,6 +156,8 @@ op-{project-name} â separate tmux session
|
|
|
140
156
|
|
|
141
157
|
**Key principle**: Yuri **never leaves its own window**. All agent operations happen in the `op-{name}` session via tmux commands.
|
|
142
158
|
|
|
159
|
+
**đĢ HARD CONSTRAINT**: NEVER run `/o {agent}`, `/clear`, or any agent activation command in YOUR OWN window. These commands replace your Yuri persona with another agent â you lose your identity and cannot coordinate anymore. Agent commands go ONLY to the `op-{name}` session via `tmux send-keys`.
|
|
160
|
+
|
|
143
161
|
### Phase A: Remote Planning Pipeline
|
|
144
162
|
|
|
145
163
|
#### Step 1: Create op-session
|
|
@@ -172,8 +190,9 @@ sleep 12
|
|
|
172
190
|
#### Step 2: Run planning agents sequentially
|
|
173
191
|
|
|
174
192
|
```bash
|
|
175
|
-
# Activate first agent
|
|
176
|
-
|
|
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"
|
|
177
196
|
sleep 1
|
|
178
197
|
tmux send-keys -t "$OP_SESSION:planning" Enter
|
|
179
198
|
sleep 12 # Wait for agent load via MCP
|
|
@@ -198,7 +217,7 @@ tmux send-keys -t "$OP_SESSION:planning" Enter
|
|
|
198
217
|
sleep 2
|
|
199
218
|
|
|
200
219
|
# Activate next agent
|
|
201
|
-
tmux send-keys -t "$OP_SESSION:planning" "/o pm"
|
|
220
|
+
tmux send-keys -t "$OP_SESSION:planning" "/o pm $LANG_FLAG"
|
|
202
221
|
sleep 1
|
|
203
222
|
tmux send-keys -t "$OP_SESSION:planning" Enter
|
|
204
223
|
sleep 12
|