Commit faf95f4
committed
feat(hub): add a command kind for message-panel actions
DevframeMessageAction gains a second variant, 'command', alongside the
existing 'activate' kind: it invokes a command from the hub's command
registry (the same one backing the command palette) by command.id,
via the hub:commands:execute RPC. Wired the dispatch in the messages
plugin's onActivate handler; MessageDetail.vue already renders any
action kind generically and needed no change.
Additive only — the existing 'activate' kind and its behavior are
unchanged. Updates the tsnapi public-API snapshots for @devframes/hub
to reflect the new exported type.1 parent f94cf6e commit faf95f4
3 files changed
Lines changed: 6 additions & 6 deletions
File tree
- packages/hub/src/types
- plugins/messages/src/client
- tests/__snapshots__/tsnapi/@devframes/hub
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments