feat(agent-sandbox): new tool resolver and bash execution implementation

This commit is contained in:
Harry
2026-01-13 18:16:33 +08:00
parent c6ba51127f
commit f28ded8455
11 changed files with 86 additions and 8 deletions

View File

@ -36,6 +36,9 @@ class InvokeFrom(StrEnum):
# this is used for plugin trigger and webhook trigger.
TRIGGER = "trigger"
# AGENT indicates that this invocation is from an agent.
AGENT = "agent"
# EXPLORE indicates that this invocation is from
# the workflow (or chatflow) explore page.
EXPLORE = "explore"