You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8ac8d37
Browse filesBrowse the repository at this point in the historyBrowse files
feat: prompt for missing required values and dashboard placeholders before planning
Plan, apply and test now prompt the user for values that are still needed
instead of failing validation:
- Required keys that are missing (any depth). oneOf/anyOf branches are
evaluated individually; if no branch is satisfied and the user hasn't
started one, they choose which option to configure. Discriminator consts
are filled automatically. allOf and additionalProperties are supported.
- Values equal to the dashboard placeholder '<Replace me here!>' (any depth).
Null values are treated as an explicit "no value" and are not prompted.
Answers apply to the in-memory project only and are never written back to
the config. Invalid answers fail plugin validation as before.
New pieces:
- entities/missing-parameter.ts: MissingParameter / ResourceMissingParameters types
- utils/missing-parameters.ts: pure schema walker, value coercion, path helpers
- common/resolve-missing-parameters.ts: MissingParametersResolver step
(runs after plugin initialization, before validation)
- Reporter.promptMissingParameters implemented for Default (ink form),
Plain/Debug (readline, masked for sensitive params), Json (throws), Stub
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016QnBk2Qs7TDiTz4V6x1wKK
thrownewError(`Json reporter error: the following values are missing from the config and cannot be prompted while using the Json reporter: ${JSON.stringify(missing)}`);
0 commit comments