| 02-generators |
03 |
generators |
| powershell |
| intune |
| rclone |
| deployment |
| script-generation |
|
| phase |
provides |
| 02-01 |
Generator test stubs and barrel index.ts |
|
| phase |
provides |
| 02-02 |
buildRcloneConf (rclone INI config generator) |
|
|
| buildIntuneInstall — generates PS install script with UTF-8 no-BOM config write, conditional rclone download |
| buildIntuneDetection — generates PS detection script with exit 0/1 and STDERR contamination guard |
| CONFIG_DIR + buildRcloneInstallBlock — shared PS path constants and install snippet |
|
| 02-04 (RMM script generator — same pattern, uses $ErrorActionPreference) |
| 03-ui (deploy step UI will call these generators with wizard state) |
|
| added |
patterns |
|
|
| Shared constants module (ps-helpers.ts) to guarantee path consistency across related scripts |
| Here-string embedding for credential literals — prevents PS variable interpolation (security) |
| Intune detection contract |
| no $ErrorActionPreference, Write-Output + exit 0/1 only |
|
|
|
| created |
modified |
| src/generators/ps-helpers.ts |
| src/generators/intune-install.ts |
| src/generators/intune-detection.ts |
|
|
|
| PS here-string (@'...'@) embeds config content as literals — no PS variable interpolation, satisfies credential non-echo requirement |
| buildIntuneDetection omits $ErrorActionPreference — Intune detection contract treats any STDERR as non-detection regardless of exit code |
| CONFIG_DIR shared via ps-helpers.ts — single source of truth ensures install and detection scripts always reference the same Windows paths |
| UTF-8 no-BOM write via [System.IO.File]::WriteAllText with UTF8Encoding($false) — Set-Content -Encoding UTF8 in PS 5.1 writes BOM |
|
| Intune detection pattern: no $ErrorActionPreference, Write-Output signal, exit 0 / exit 1 |
| Shared helpers module for cross-generator constants to prevent path drift |
|
| DEPL-01 |
| DEPL-02 |
| DEPL-04 |
| DEPL-05 |
|
resumed from partial |
2026-03-26 |