This commit updates the Waypoint agent CLI to handle all possible variable values that it could receive from the server.
Fixes WAYP-2914
How I've tested this PR:
Wrote some unit tests.
How I expect reviewers to test this PR:
Possibly build a local copy and attempt to run agent-typed actions with variables.
Checklist:
[x] Tests added if applicable
[x] CHANGELOG entry added or label 'pr/no-changelog' added to PR
Run CHANGELOG_PR=<PR number> make changelog/new-entry for guidance
in authoring a changelog entry, and commit the resulting file, which should
have a name matching your PR number. Entries should use imperative present
tense (e.g. Add support for...)
I'm gonna go ahead and close since I'm going to try a different way @evanphx mentioned for building the variable map for HCL since it sounds more maintainable to me! I will re-open when it's ready for review 🫡
Changes proposed in this PR:
This commit updates the Waypoint agent CLI to handle all possible variable values that it could receive from the server.
Fixes WAYP-2914
How I've tested this PR:
Wrote some unit tests.
How I expect reviewers to test this PR:
Possibly build a local copy and attempt to run agent-typed actions with variables.
Checklist: