Commit ba98bae
Integrate Project model into loader and app-context
Wires the Project domain model into the existing loading pipeline:
- getAppConfigurationState uses Project.load() for filesystem discovery
- getAppConfigurationContext returns project + activeConfig + state
as independent values (project is never nested inside state)
- AppLoader reads from Project's pre-loaded data: extension files,
web files, dotenv, hidden config, deps, package manager, workspaces
- No duplicate filesystem scanning — Project discovers once, loader
reads from it
- AppConfigurationState no longer carries project as a field
- LoadedAppContextOutput exposes project and activeConfig as
top-level fields for commands
- All extension/web file discovery filtered to active config's
directories via config-selection functions
Zero behavioral changes. All 3801 existing tests pass.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8964add commit ba98bae
File tree
6 files changed
+136
-112
lines changed- packages/app/src/cli
- models/app
- services
- function
6 files changed
+136
-112
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
| 488 | + | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
| 1061 | + | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
| |||
0 commit comments