Repository navigation
Commit d9078a5
tooling-only owner projection for command descriptors and daemon routes
- Remove ownerFiles from CommandDescriptor and RAW_COMMAND_DESCRIPTORS.
- Add commandDescriptorOwners in registry.ts as a tooling-only Record<Command, ...>.
- Remove ownerFile from DAEMON_ROUTE_HANDLERS defineDaemonRoute.
- Add DAEMON_ROUTE_OWNER_FILES as tooling-only const in request-handler-chain.ts.
- Update explain:command and tests to merge projections.
- Treeshaking drops owner metadata from production bundles.
Fixes #1178.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent ae74c51 commit d9078a5
6 files changed
Lines changed: 129 additions & 110 deletions
File tree
- src
- commands
- __tests__
- core/command-descriptor
- daemon
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
168 | | - | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
124 | | - | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
0 commit comments