Commit 2c5e451
refactor(windows): trim dead fields from New-DreamEnv return hash
$envResult returned a 4-field hashtable (EnvPath, SearxngSecret,
OpenclawToken, DashboardKey) but phase 06 only reads SearxngSecret and
OpenclawToken. EnvPath and DashboardKey have zero runtime readers; the
dry-run stub and three header comments advertised fields that were
never consumed.
Drops EnvPath and DashboardKey from the return and from the dry-run
stub. DASHBOARD_API_KEY continues to be generated and written to .env
by the function body - only the return-hash surface was trimmed.
Pure code hygiene; no runtime behavior change on Windows.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d5154c3 commit 2c5e451
4 files changed
Lines changed: 3 additions & 7 deletions
File tree
- dream-server/installers/windows
- lib
- phases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | 357 | | |
359 | 358 | | |
360 | | - | |
361 | 359 | | |
362 | 360 | | |
363 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments