Commit 7b83b0d
FaeOS (tldraw#7144)
This PR lands the completed FaeOS. There is still further UI and backend
work to do.
### Change type
- [ ] `bugfix`
- [ ] `improvement`
- [ ] `feature`
- [ ] `api`
- [x] `other`
### Release notes
- improve 2-fairy experience
- add memory gates for fairies
- finalize model choice improve support for various models
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Introduce duo-project orchestration and model selection, add
memory-level gating, refactor tasks (string IDs, titles) and
persistence, plus prompt/worker updates and UI/debug improvements.
>
> - **Fairy Orchestration & Modes**:
> - Add duo orchestration flow (`duo-orchestrating-*`,
`working-orchestrator`) with new actions:
create/start/direct/await/complete duo tasks and end duo projects.
> - Update group chat to start duo projects and set roles;
sidebar/orchestrator indicators support `duo-orchestrator`.
> - Mode chart gains waiting states, prompt start/end/cancel hooks, and
response-time logging.
> - **Tasks & Persistence**:
> - Refactor tasks to string IDs with `title`; drag tool, list UI, and
actions updated accordingly.
> - Rename persisted `sharedTodoList` → `fairyTaskList`; agent state
uses `personalTodoList`.
> - **Memory & Chat History**:
> - Introduce memory levels (`fairy`|`project`|`task`) and
`memory-transition` items; filter chat history by current mode.
> - **Model Selection & Usage**:
> - Add selectable model (`gemini-3-pro-preview`, `claude-4.5-sonnet`,
`gpt-5.1`) via debug UI; include `modelName` prompt part.
> - Track cumulative usage and cost per-model (incl. cached input);
worker selects provider by model and adds Anthropic cache breakpoints.
> - **Prompt/Schema Updates**:
> - Expand agent action schemas and prompt parts for duo/project
context; system prompt updated for solo/orchestrator/duo flows.
> - **UI/UX**:
> - Debug view: model dropdown, response-time flag; project/task
inspectors; "Clear task list" → "Disband projects".
> - HUD spinner optimization and minor label tweaks.
> - **i18n**:
> - Add strings for model label, response-time logging, and disband
projects; remove obsolete "Clear task list".
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
231d734. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Max Drake <maxdrake46@gmail.com>1 parent 5a30fe4 commit 7b83b0d
57 files changed
Lines changed: 1741 additions & 615 deletions
File tree
- apps/dotcom
- client
- public/tla
- locales-compiled
- locales
- src/fairy
- actions
- fairy-agent
- agent
- chat
- parts
- fairy-worker/src
- do
- prompt
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
198 | 204 | | |
199 | 205 | | |
200 | 206 | | |
| |||
761 | 767 | | |
762 | 768 | | |
763 | 769 | | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
764 | 776 | | |
765 | 777 | | |
766 | 778 | | |
| |||
1075 | 1087 | | |
1076 | 1088 | | |
1077 | 1089 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | 1090 | | |
1085 | 1091 | | |
1086 | 1092 | | |
| |||
1677 | 1683 | | |
1678 | 1684 | | |
1679 | 1685 | | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
1680 | 1692 | | |
1681 | 1693 | | |
1682 | 1694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
359 | 362 | | |
360 | 363 | | |
361 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
362 | 368 | | |
363 | 369 | | |
364 | 370 | | |
| |||
491 | 497 | | |
492 | 498 | | |
493 | 499 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
| |||
738 | 741 | | |
739 | 742 | | |
740 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
741 | 747 | | |
742 | 748 | | |
743 | 749 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
| |||
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
| 27 | + | |
20 | 28 | | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
24 | | - | |
25 | | - | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
35 | | - | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
| |||
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
48 | | - | |
| 56 | + | |
49 | 57 | | |
50 | 58 | | |
51 | 59 | | |
| |||
170 | 178 | | |
171 | 179 | | |
172 | 180 | | |
173 | | - | |
| 181 | + | |
174 | 182 | | |
175 | 183 | | |
176 | 184 | | |
| |||
179 | 187 | | |
180 | 188 | | |
181 | 189 | | |
182 | | - | |
| 190 | + | |
183 | 191 | | |
184 | 192 | | |
185 | 193 | | |
| |||
198 | 206 | | |
199 | 207 | | |
200 | 208 | | |
201 | | - | |
| 209 | + | |
202 | 210 | | |
203 | 211 | | |
204 | 212 | | |
| |||
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
210 | | - | |
| 218 | + | |
211 | 219 | | |
212 | 220 | | |
213 | 221 | | |
| |||
216 | 224 | | |
217 | 225 | | |
218 | 226 | | |
219 | | - | |
| 227 | + | |
220 | 228 | | |
221 | 229 | | |
222 | 230 | | |
| |||
226 | 234 | | |
227 | 235 | | |
228 | 236 | | |
229 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
230 | 243 | | |
231 | 244 | | |
232 | 245 | | |
| |||
257 | 270 | | |
258 | 271 | | |
259 | 272 | | |
260 | | - | |
261 | | - | |
| 273 | + | |
| 274 | + | |
262 | 275 | | |
263 | 276 | | |
264 | 277 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 278 | + | |
| 279 | + | |
269 | 280 | | |
270 | 281 | | |
271 | | - | |
| 282 | + | |
272 | 283 | | |
273 | 284 | | |
274 | 285 | | |
275 | 286 | | |
276 | 287 | | |
277 | | - | |
| 288 | + | |
278 | 289 | | |
279 | 290 | | |
280 | 291 | | |
| |||
284 | 295 | | |
285 | 296 | | |
286 | 297 | | |
| 298 | + | |
| 299 | + | |
287 | 300 | | |
288 | 301 | | |
289 | 302 | | |
| |||
305 | 318 | | |
306 | 319 | | |
307 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
308 | 345 | | |
309 | 346 | | |
310 | 347 | | |
| |||
346 | 383 | | |
347 | 384 | | |
348 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
349 | 401 | | |
350 | 402 | | |
351 | 403 | | |
352 | 404 | | |
353 | 405 | | |
354 | | - | |
| 406 | + | |
355 | 407 | | |
356 | 408 | | |
357 | 409 | | |
| |||
375 | 427 | | |
376 | 428 | | |
377 | 429 | | |
378 | | - | |
| 430 | + | |
379 | 431 | | |
380 | 432 | | |
381 | 433 | | |
| |||
402 | 454 | | |
403 | 455 | | |
404 | 456 | | |
405 | | - | |
| 457 | + | |
406 | 458 | | |
407 | 459 | | |
408 | 460 | | |
| |||
0 commit comments