Repository navigation
feat(agent-vault): add --metadata to run and sessions create - #506
Merged
saifsmailbox98 merged 3 commits intoNov 17, 2026
Merged
saifsmailbox98 merged 3 commits into
saifsmailbox98 merged 3 commits into
Conversation
|
💬 Discussion in Slack: #pr-review-cli-506-feat-agent-vault-add-metadata-to-run-and-sessions-create Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel. |
Contributor
6 of 11 tasks
Contributor
[Medium impact] The PR appears safe to merge; no new actionable issues were found.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description 📣
Adds a repeatable
--metadata key=valueflag toinfisical agent-vault runandinfisical agent-vault sessions create, to attach custom metadata to the session the command creates. Resolves AGE2-320.=, so--metadata url=https://x?a=bkeeps the whole value (a key can't contain=). A pair without=, an empty value (--metadata flag=) or a key given twice is refused before the request, as a structured error with-o json|yamlruntogether with--session-token, same as--labelsessions create -o json|yamlprintsmetadataas a map ({"runId":"8812"}),{}when there is none. The default token-only output is unchangedsessions createtelemetry getshasMetadatanext tolabeledInfisical PR: Infisical/infisical#9553
Type ✨
Tests 🛠️
# Here's some code block to paste some code snippetspackages/cmd/testdata/command_surface.json