Commit 204e0eb
feat: add introspect module with commands endpoint
Add a new `introspect` command module that returns the JSON Schema
describing all incoming message types. The `introspect.commands`
command works before `initialize`, enabling API discovery
pre-negotiation.
- Create `src/lib/introspect/` module (command, incoming_message,
outgoing_message, message_handler) following existing patterns
- Register in Instance enum and wire into server.ts
- Add `ts-json-schema-generator` for build-time schema generation
- Rename interfaces for `$ref` reuse (node, driver, controller,
multicast_group incoming messages)
- Add introspection section to README with tool recommendations
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent eac2df0 commit 204e0eb
File tree
17 files changed
+449
-95
lines changed- src/lib
- controller
- driver
- introspect
- multicast_group
- node
17 files changed
+449
-95
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
184 | 211 | | |
185 | 212 | | |
186 | 213 | | |
| |||
0 commit comments