Feature: list all available resources (taskflows, personalities, etc.)#182
Draft
Feature: list all available resources (taskflows, personalities, etc.)#182
Conversation
Agent-Logs-Url: https://github.com/GitHubSecurityLab/seclab-taskflow-agent/sessions/705a4065-a077-4a16-80b0-112de4f0dc52 Co-authored-by: p- <176818+p-@users.noreply.github.com>
… test assertion Agent-Logs-Url: https://github.com/GitHubSecurityLab/seclab-taskflow-agent/sessions/705a4065-a077-4a16-80b0-112de4f0dc52 Co-authored-by: p- <176818+p-@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add functionality to list all available resources and their namespaces
Feature: list all available resources (taskflows, personalities, etc.)
Apr 2, 2026
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.
The framework had no way to enumerate available resources, making it hard to discover what taskflows/personalities exist and producing unhelpful errors when a resource path was wrong.
Changes
available_tools.py_SUBDIR_MAPmapping eachAvailableToolTypeto its conventional package subdirectory name (taskflows,personalities,toolboxes,prompts,model_configs)AvailableTools.list_resources(tooltype=None)— scanssys.pathfor packages containing the above subdirectories and returns sorted dotted resource names (e.g.examples.taskflows.example)_load()now appends an "Available Xs:" hint toBadToolNameErrorwhen a resource cannot be foundcli.py--list-resources/-Lflag — lists all discovered resources grouped by type and exits (analogous to--list-models)tests/test_yaml_parser.pyTestListResourceswith 8 tests covering return structure, filtering, sort order, name format, and error message hintsExample
When a resource is not found:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
unsupported.example.com/usr/bin/python python -m pytest tests/ -x -q(dns block)/usr/bin/python python -m pytest tests/ -q yLab/seclab-taskflow-agent(dns block)/usr/bin/python python -m pytest tests/ -q(dns block)If you need me to access, download, or install something from one of these locations, you can either: