Commit a26f762
committed
v0.5.7: multi-instance hands + 8 critical fixes
## Headline feature
- Multi-instance Hands via optional instance_name (customer ask + #878).
Web UI, CLI (--name / -n), API, kernel, registry all threaded. Two
clip-youtube + clip-tiktok instances now coexist. Backward compatible
when instance_name is omitted.
## Critical bug fixes
- #919 [SECURITY] rm bypass closed. process_start tool now validates against
exec_policy allowlist and rejects shell metacharacters in both command
and args. Added 5 regression tests.
- #1013 session_repair phase ordering — dedup now runs BEFORE synthetic
result insertion, fixing Moonshot's non-unique tool_call_id format
(function_name:index). Added regression test.
- #1003 global [[fallback_providers]] now actually used at runtime.
resolve_driver wraps primary in FallbackDriver with global fallback
chain. Network errors escalate to fallback instead of infinite retry.
- #937 Discord gateway heartbeat. Spawns interval task, tracks sequence,
handles ACKs, detects zombie connections, force-closes on missing ACK.
Credits @hello-world-bfree (PR #938) for the diagnosis.
- #935 System prompt leak in Web UI. get_agent_session now filters
Role::System by default (?include_system=true for debug). Defense in
depth client-side filter too.
- #984 Custom hands persistence. install_from_path copies to
~/.openfang/hands/. Kernel loads them on startup.
- #884 Workspace version bump 0.5.5 -> 0.5.7. Binaries now correctly
report --version as 0.5.7 instead of stale 0.5.5.
## Cleanup
- rmcp 1.3 builder API adopted (credits @jefflower PR #986) for
StreamableHttpClientTransportConfig. Drops unused Arc import.
## Stats
- 22 files changed, all workspace tests passing (1800+)
- Live-tested with daemon: v0.5.7 reported, multi-instance hands
verified end-to-end, Groq round-trip PONG confirmed1 parent 0796377 commit a26f762
22 files changed
Lines changed: 1315 additions & 154 deletions
File tree
- crates
- openfang-api
- src
- static
- js/pages
- tests
- openfang-channels/src
- openfang-cli/src
- tui
- screens
- openfang-desktop
- openfang-hands
- src
- openfang-kernel/src
- openfang-runtime/src
- drivers
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
439 | 445 | | |
440 | 446 | | |
441 | 447 | | |
| 448 | + | |
442 | 449 | | |
443 | 450 | | |
444 | 451 | | |
| |||
450 | 457 | | |
451 | 458 | | |
452 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
453 | 468 | | |
454 | 469 | | |
455 | 470 | | |
| |||
462 | 477 | | |
463 | 478 | | |
464 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
465 | 492 | | |
466 | 493 | | |
467 | 494 | | |
| |||
472 | 499 | | |
473 | 500 | | |
474 | 501 | | |
475 | | - | |
| 502 | + | |
| 503 | + | |
476 | 504 | | |
477 | 505 | | |
478 | 506 | | |
| |||
562 | 590 | | |
563 | 591 | | |
564 | 592 | | |
565 | | - | |
566 | | - | |
| 593 | + | |
| 594 | + | |
567 | 595 | | |
568 | 596 | | |
569 | 597 | | |
| |||
593 | 621 | | |
594 | 622 | | |
595 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
596 | 627 | | |
597 | 628 | | |
598 | 629 | | |
599 | 630 | | |
600 | 631 | | |
601 | | - | |
| 632 | + | |
| 633 | + | |
602 | 634 | | |
603 | 635 | | |
604 | 636 | | |
| |||
4038 | 4070 | | |
4039 | 4071 | | |
4040 | 4072 | | |
| 4073 | + | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
4041 | 4078 | | |
4042 | 4079 | | |
4043 | 4080 | | |
| 4081 | + | |
4044 | 4082 | | |
4045 | 4083 | | |
4046 | | - | |
| 4084 | + | |
4047 | 4085 | | |
4048 | 4086 | | |
4049 | 4087 | | |
| |||
4507 | 4545 | | |
4508 | 4546 | | |
4509 | 4547 | | |
4510 | | - | |
| 4548 | + | |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
4511 | 4552 | | |
4512 | | - | |
| 4553 | + | |
4513 | 4554 | | |
4514 | 4555 | | |
4515 | 4556 | | |
| |||
4533 | 4574 | | |
4534 | 4575 | | |
4535 | 4576 | | |
| 4577 | + | |
| 4578 | + | |
| 4579 | + | |
| 4580 | + | |
4536 | 4581 | | |
4537 | 4582 | | |
4538 | 4583 | | |
4539 | 4584 | | |
4540 | 4585 | | |
| 4586 | + | |
4541 | 4587 | | |
4542 | 4588 | | |
4543 | | - | |
| 4589 | + | |
4544 | 4590 | | |
4545 | 4591 | | |
4546 | 4592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2892 | 2892 | | |
2893 | 2893 | | |
2894 | 2894 | | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
2895 | 2903 | | |
2896 | 2904 | | |
2897 | 2905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
523 | 530 | | |
524 | 531 | | |
525 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
408 | 410 | | |
409 | 411 | | |
410 | 412 | | |
411 | | - | |
412 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
413 | 421 | | |
414 | 422 | | |
415 | 423 | | |
| |||
0 commit comments