Commit 322a2a6
Fix broker shim to use proper MetadataService API
The broker shim was incorrectly accessing the private `.registry` property of MetadataManager using `(metadataService as any).registry.keys()`. This is an internal implementation detail that should not be accessed directly.
Fixed to use the proper `getRegisteredTypes()` method from the IMetadataService interface, which is the correct way to query all registered metadata types.
Also added missing Wrench icon registration for tools in the AI protocol plugin's activate() method.
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/d86787db-36e6-48fa-88cf-ff327fa67b0c
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent b39df73 commit 322a2a6
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
| 188 | + | |
190 | 189 | | |
191 | | - | |
192 | | - | |
| 190 | + | |
| 191 | + | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
0 commit comments