Repository navigation
Commit 3e066dd
committed
fix(synthos): keep the status list old-client safe and theme the library fully
A re-review and a QA re-check of the DAM library asked for these fixes:
- Old clients: the cockpit reaches remote environments, so a client
built before the library can talk to a server that has it, and the
shared status list must not carry an id it cannot decode. "dam" leaves
that list; library.status (orchestration:read) returns the library's
state, capabilities and reason, including an unrecognized
SYNTHOS_DAM_OWNER, and the Library panel reads it. A test decodes this
branch's status result with the 311fa52 schema.
- Principle code blocks were highlighted with the app's light theme
inside the always-dark cockpit (1.36:1). useRenderedAppearance honours
a RenderedAppearanceOverride context, which the cockpit sets to dark,
so markdown code renders with the dark theme there (13.91:1).
- Select lists opened outside the cockpit, light in the light
appearance. SelectPopup takes a portalContainer, as AlertDialogPopup
does, and the library opens its lists inside its own section. Styles
and patterns no visible item carries are no longer offered.
- New tests pin the owner gate for an unrecognized SYNTHOS_DAM_OWNER
and the licence and framework statuses that files and previews carry.
- The stderr budget slides over 100 ms buckets, so a burst that
straddles a window reset is caught: any 10-second span over 256 KiB
stops the process. The straddling pattern is a TestClock test.
- An aborted library request now cancels its work: command callers can
pass a signal, synthosRequest passes the panel's, and the HTTP
request is interrupted (an aborted duplicate preview answers 499 on
the server instead of running to completion).
- decodeEntries is a named Effect.fn. Search results report how many
entries were dropped, and the panel says so instead of suggesting a
narrower search. Failures without a SynthOS reason (unreachable host,
timeout, missing scope, a server without the request) get plain
messages.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01A1D6J2UMPo7YBWQFvbg1br1 parent 4fe69ca commit 3e066dd
19 files changed
Lines changed: 561 additions & 238 deletions
File tree
- apps
- server/src
- cli
- synthos-connections
- web/src
- components
- synthos
- ui
- hooks
- docs/user
- packages
- client-runtime/src/state
- contracts/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
410 | 416 | | |
411 | 417 | | |
412 | 418 | | |
| |||
422 | 428 | | |
423 | 429 | | |
424 | 430 | | |
425 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
426 | 434 | | |
427 | 435 | | |
428 | 436 | | |
| |||
437 | 445 | | |
438 | 446 | | |
439 | 447 | | |
| 448 | + | |
440 | 449 | | |
441 | 450 | | |
442 | 451 | | |
| |||
449 | 458 | | |
450 | 459 | | |
451 | 460 | | |
| 461 | + | |
452 | 462 | | |
453 | 463 | | |
454 | 464 | | |
455 | 465 | | |
456 | 466 | | |
| 467 | + | |
457 | 468 | | |
458 | | - | |
| 469 | + | |
459 | 470 | | |
460 | 471 | | |
461 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
175 | | - | |
| 179 | + | |
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| |||
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| |||
379 | 385 | | |
380 | 386 | | |
381 | 387 | | |
382 | | - | |
| 388 | + | |
383 | 389 | | |
384 | 390 | | |
385 | 391 | | |
| |||
396 | 402 | | |
397 | 403 | | |
398 | 404 | | |
| 405 | + | |
399 | 406 | | |
400 | 407 | | |
401 | 408 | | |
| |||
494 | 501 | | |
495 | 502 | | |
496 | 503 | | |
497 | | - | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
498 | 510 | | |
499 | 511 | | |
500 | 512 | | |
| |||
664 | 676 | | |
665 | 677 | | |
666 | 678 | | |
667 | | - | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
668 | 689 | | |
669 | 690 | | |
670 | 691 | | |
| |||
766 | 787 | | |
767 | 788 | | |
768 | 789 | | |
| 790 | + | |
769 | 791 | | |
770 | 792 | | |
771 | 793 | | |
| |||
856 | 878 | | |
857 | 879 | | |
858 | 880 | | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
859 | 908 | | |
860 | 909 | | |
861 | 910 | | |
| |||
864 | 913 | | |
865 | 914 | | |
866 | 915 | | |
| 916 | + | |
867 | 917 | | |
868 | 918 | | |
869 | | - | |
| 919 | + | |
870 | 920 | | |
871 | 921 | | |
872 | 922 | | |
| |||
879 | 929 | | |
880 | 930 | | |
881 | 931 | | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
882 | 946 | | |
883 | 947 | | |
884 | 948 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
286 | | - | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
291 | | - | |
292 | | - | |
| 292 | + | |
| 293 | + | |
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
| |||
305 | 306 | | |
306 | 307 | | |
307 | 308 | | |
308 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 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 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
309 | 361 | | |
310 | 362 | | |
311 | 363 | | |
| |||
492 | 544 | | |
493 | 545 | | |
494 | 546 | | |
495 | | - | |
496 | | - | |
| 547 | + | |
497 | 548 | | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
508 | 552 | | |
509 | 553 | | |
510 | 554 | | |
| |||
646 | 690 | | |
647 | 691 | | |
648 | 692 | | |
| 693 | + | |
649 | 694 | | |
650 | 695 | | |
651 | 696 | | |
| |||
662 | 707 | | |
663 | 708 | | |
664 | 709 | | |
665 | | - | |
666 | 710 | | |
667 | 711 | | |
668 | 712 | | |
669 | 713 | | |
| 714 | + | |
670 | 715 | | |
671 | 716 | | |
672 | 717 | | |
| |||
0 commit comments