chati-dev 3.0.4 → 3.0.6
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.
|
@@ -70,7 +70,17 @@ Before determining state, check if the user passed a subcommand:
|
|
|
70
70
|
-> First run. Go to Step 4 (New Project Setup)
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
**If session.yaml has
|
|
73
|
+
**If session.yaml has project BUT current_agent is empty AND all agents are "pending":**
|
|
74
|
+
```
|
|
75
|
+
-> Fresh install (installer created session.yaml but no agent has run yet).
|
|
76
|
+
-> Skip directly to Step 4d (Route to First Agent).
|
|
77
|
+
-> Use project.type from session.yaml (already set by installer).
|
|
78
|
+
-> Use language from session.yaml (already set by installer).
|
|
79
|
+
-> Do NOT ask project type or language again — installer already collected these.
|
|
80
|
+
-> Do NOT present options — immediately activate the first agent.
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**If session.yaml has active project (current_agent is set OR at least one agent is not "pending"):**
|
|
74
84
|
```
|
|
75
85
|
-> Resume session. Go to Step 5 (Session Resume)
|
|
76
86
|
```
|
|
@@ -155,9 +165,18 @@ user_level_confidence: 0.0
|
|
|
155
165
|
```
|
|
156
166
|
|
|
157
167
|
#### 3d. Route to First Agent
|
|
168
|
+
|
|
169
|
+
This step is reached either from Step 4 (full setup) OR directly from Step 3 (fresh install).
|
|
170
|
+
In fresh install case, project.type and language are already in session.yaml — use them directly.
|
|
171
|
+
|
|
158
172
|
```
|
|
159
|
-
|
|
160
|
-
|
|
173
|
+
1. Update session.yaml: current_agent = greenfield-wu | brownfield-wu (based on project.type)
|
|
174
|
+
2. Activate Session Lock (see Session Lock Protocol)
|
|
175
|
+
3. If greenfield -> Read chati.dev/agents/discover/greenfield-wu.md -> Activate IMMEDIATELY
|
|
176
|
+
If brownfield -> Read chati.dev/agents/discover/brownfield-wu.md -> Activate IMMEDIATELY
|
|
177
|
+
4. The agent starts its work right away — no "Continue with X?" prompt needed
|
|
178
|
+
For greenfield-wu: begin asking the user about their project vision
|
|
179
|
+
For brownfield-wu: begin analyzing the existing codebase
|
|
161
180
|
```
|
|
162
181
|
|
|
163
182
|
### Step 5: Session Resume
|
package/package.json
CHANGED
|
@@ -195,11 +195,27 @@ When the orchestrator references Claude-specific files, use these equivalents:
|
|
|
195
195
|
|
|
196
196
|
**NEVER create or reference CLAUDE.md, CLAUDE.local.md, or .claude/ directories.**
|
|
197
197
|
|
|
198
|
+
## CRITICAL — Model Name Mapping
|
|
199
|
+
|
|
200
|
+
The orchestrator and agents reference Claude model names. Replace them with Codex equivalents:
|
|
201
|
+
|
|
202
|
+
| Orchestrator says | You use instead |
|
|
203
|
+
|-------------------|-----------------|
|
|
204
|
+
| \`opus\` | \`codex\` |
|
|
205
|
+
| \`sonnet\` | \`mini\` |
|
|
206
|
+
| \`haiku\` | \`mini\` |
|
|
207
|
+
| \`/model opus\` | \`/model codex\` |
|
|
208
|
+
| \`/model sonnet\` | \`/model mini\` |
|
|
209
|
+
| \`/model haiku\` | \`/model mini\` |
|
|
210
|
+
|
|
211
|
+
When the orchestrator displays a model recommendation (e.g. "Model recommendation: haiku"),
|
|
212
|
+
translate the model name using the table above before showing it to the user.
|
|
213
|
+
|
|
198
214
|
## Load
|
|
199
215
|
|
|
200
216
|
Read and execute the full orchestrator at \`chati.dev/orchestrator/chati.md\`.
|
|
201
217
|
|
|
202
|
-
Apply the Provider Context Mapping above when following the orchestrator instructions.
|
|
218
|
+
Apply the Provider Context Mapping AND Model Name Mapping above when following the orchestrator instructions.
|
|
203
219
|
|
|
204
220
|
**Context to pass:**
|
|
205
221
|
- \`.chati/session.yaml\` (session state — includes language)
|
|
@@ -234,8 +250,18 @@ When the orchestrator references Claude-specific files, use these equivalents:
|
|
|
234
250
|
- .claude/commands/ -> .gemini/commands/
|
|
235
251
|
NEVER create or reference CLAUDE.md, CLAUDE.local.md, or .claude/ directories.
|
|
236
252
|
|
|
253
|
+
CRITICAL — Model Name Mapping:
|
|
254
|
+
The orchestrator and agents reference Claude model names. Replace them with Gemini equivalents:
|
|
255
|
+
- opus -> pro
|
|
256
|
+
- sonnet -> flash
|
|
257
|
+
- haiku -> flash
|
|
258
|
+
- /model opus -> /model pro
|
|
259
|
+
- /model sonnet -> /model flash
|
|
260
|
+
- /model haiku -> /model flash
|
|
261
|
+
When displaying model recommendations, translate names using the mapping above.
|
|
262
|
+
|
|
237
263
|
Read and execute the full orchestrator at \`chati.dev/orchestrator/chati.md\`.
|
|
238
|
-
Apply the Provider Context Mapping above when following instructions.
|
|
264
|
+
Apply the Provider Context Mapping AND Model Name Mapping above when following instructions.
|
|
239
265
|
|
|
240
266
|
Context to load:
|
|
241
267
|
- \`.chati/session.yaml\` (session state — includes language)
|
|
@@ -288,11 +314,27 @@ When the orchestrator references Claude-specific files, use these equivalents:
|
|
|
288
314
|
|
|
289
315
|
**NEVER create or reference CLAUDE.md, CLAUDE.local.md, or .claude/ directories.**
|
|
290
316
|
|
|
317
|
+
## CRITICAL — Model Name Mapping
|
|
318
|
+
|
|
319
|
+
The orchestrator and agents reference Claude model names. Replace them with Copilot equivalents:
|
|
320
|
+
|
|
321
|
+
| Orchestrator says | You use instead |
|
|
322
|
+
|-------------------|-----------------|
|
|
323
|
+
| \`opus\` | \`claude-sonnet\` |
|
|
324
|
+
| \`sonnet\` | \`claude-sonnet\` |
|
|
325
|
+
| \`haiku\` | \`gpt-5\` |
|
|
326
|
+
| \`/model opus\` | \`/model claude-sonnet\` |
|
|
327
|
+
| \`/model sonnet\` | \`/model claude-sonnet\` |
|
|
328
|
+
| \`/model haiku\` | \`/model gpt-5\` |
|
|
329
|
+
|
|
330
|
+
When the orchestrator displays a model recommendation (e.g. "Model recommendation: haiku"),
|
|
331
|
+
translate the model name using the table above before showing it to the user.
|
|
332
|
+
|
|
291
333
|
## Load
|
|
292
334
|
|
|
293
335
|
Read and execute the full orchestrator at \`chati.dev/orchestrator/chati.md\`.
|
|
294
336
|
|
|
295
|
-
Apply the Provider Context Mapping above when following the orchestrator instructions.
|
|
337
|
+
Apply the Provider Context Mapping AND Model Name Mapping above when following the orchestrator instructions.
|
|
296
338
|
|
|
297
339
|
**Context to pass:**
|
|
298
340
|
- \`.chati/session.yaml\` (session state — includes language)
|