feat(studio): agent Workflow tab (config graph + YAML) - #769
Draft
marcusds wants to merge 1 commit into
Draft
Conversation
Add a Workflow tab to the agent side panel that visualizes a managed NAT agent's workflow: the workflow type + model, a simple graph (root workflow node → wired tool nodes, with declared-but-unwired tools called out), and the config as YAML with credential-like values (api_key/token/secret/...) redacted. - summarizeAgentWorkflow: read model over the stored config - redactSecrets: deep-mask credential keys before rendering - AgentWorkflowContent + the "Workflow" tab wiring Standalone (managed agents); no backend changes. Signed-off-by: mschwab <mschwab@nvidia.com>
Contributor
|
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.
Summary
Adds a Workflow tab to the agent side panel that visualizes a managed NAT agent's workflow. Standalone (managed agents only), off
main, no backend changes.What it shows
workflow.tool_names, each showing the function name +_type. Functions declared but not wired are called out separately.api_key/token/secret/password/...) redacted so secrets aren't rendered to anyone who can view the agent.Files
summarizeAgentWorkflow.ts(+ test) — read model over the stored config.redactSecrets.ts(+ test) — deep-mask credential keys before rendering.AgentWorkflowContent.tsx— the tab content.AgentPanel/types.ts+index.tsx— theWorkflowtab wiring.Testing
Unit tests for
summarizeAgentWorkflow+redactSecrets; typecheck (our files) + lint clean.🤖 Generated with Claude Code