Commit 0a3420d
authored
feat(options)!: pf-4119 programmatic, CLI, experimental registry (#200)
* index, annotations, pass experimental options for setOptions
* options, registry driven options for programmatic, CLI, experimental
* options.parser, breakout CLI and programmatic parsers
* options.context, confirm experimental options
* options.defaults, experimental options list for use tracking
* options.helpers, kebabToCamel helper
* server, log warnings for experimental option use
* e2e, minor typing, parser imports
BREAKING CHANGE: PfMcpOptions is now limited to the supported options registry;
extra keys passed to start() are ignored. Previously, any DefaultOptions field
could be supplied programmatically.
This change centralizes option metadata and ensures that only supported,
validated configurations reach the server instance.
To migrate:
- Ensure all keys passed to start() match the PfMcpOptions interface.1 parent ad97803 commit 0a3420d
19 files changed
Lines changed: 1298 additions & 684 deletions
File tree
- docs
- src
- __tests__
- __snapshots__
- tests/e2e/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
This file was deleted.
0 commit comments