Repository navigation
Commit ae2b2bc
committed
fix(runtime)!: the /mcp bridge reads an object's actions from the listing list_objects serves
list_actions, run_action and resume_run collected object-embedded actions
from the metadata service's listObjects(). On a kernel with an
environmentId that service holds no copy of an object a package registers
during the boot, so its actions were neither listed nor resolved while
list_objects listed the object and REST's /actions door ran them.
The bridge now hands the three tools the object definitions list_objects
lists (the protocol's merged listing, the metadata service only on a host
with none). collectActionDeclarations and resolveActionByName take that
listing as an optional input; invokeBusinessAction and resumeActionRun
take a reader for it. A disabled package's actions are omitted and not
found, as describe_object answers its objects.
Claude-Session: https://claude.ai/code/session_01TgbP2QERdKmh147ohacHbK
Co-authored-by: Claude <noreply@anthropic.com>1 parent bda53bb commit ae2b2bc
5 files changed
Lines changed: 329 additions & 22 deletions
File tree
- .changeset
- packages/runtime/src
- domains
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2601 | 2601 | | |
2602 | 2602 | | |
2603 | 2603 | | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
2604 | 2609 | | |
2605 | 2610 | | |
2606 | 2611 | | |
2607 | | - | |
| 2612 | + | |
2608 | 2613 | | |
2609 | 2614 | | |
2610 | 2615 | | |
2611 | 2616 | | |
2612 | 2617 | | |
2613 | | - | |
| 2618 | + | |
2614 | 2619 | | |
2615 | 2620 | | |
2616 | 2621 | | |
| |||
2822 | 2827 | | |
2823 | 2828 | | |
2824 | 2829 | | |
| 2830 | + | |
| 2831 | + | |
2825 | 2832 | | |
2826 | 2833 | | |
2827 | 2834 | | |
2828 | 2835 | | |
2829 | 2836 | | |
| 2837 | + | |
2830 | 2838 | | |
2831 | | - | |
| 2839 | + | |
2832 | 2840 | | |
2833 | 2841 | | |
2834 | 2842 | | |
| |||
2860 | 2868 | | |
2861 | 2869 | | |
2862 | 2870 | | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
2863 | 2878 | | |
2864 | 2879 | | |
2865 | 2880 | | |
| 2881 | + | |
2866 | 2882 | | |
2867 | | - | |
| 2883 | + | |
2868 | 2884 | | |
2869 | 2885 | | |
2870 | 2886 | | |
| |||
0 commit comments