feat(subagents): add multi-turn subagent session runtime
This commit is contained in:
+20
-1
@@ -50,6 +50,11 @@ const PROFILE_TOOLS: Record<ToolProfile, Set<string>> = {
|
||||
'agent.delegate',
|
||||
'agents.list',
|
||||
'council.run',
|
||||
'subagent.spawn',
|
||||
'subagent.send',
|
||||
'subagent.list',
|
||||
'subagent.cancel',
|
||||
'subagent.delete',
|
||||
]),
|
||||
coding: new Set([
|
||||
'file.read',
|
||||
@@ -107,6 +112,11 @@ const PROFILE_TOOLS: Record<ToolProfile, Set<string>> = {
|
||||
'agent.delegate',
|
||||
'agents.list',
|
||||
'council.run',
|
||||
'subagent.spawn',
|
||||
'subagent.send',
|
||||
'subagent.list',
|
||||
'subagent.cancel',
|
||||
'subagent.delete',
|
||||
]),
|
||||
full: new Set(), // Special: matches everything
|
||||
};
|
||||
@@ -127,7 +137,16 @@ export const TOOL_GROUPS: Record<string, string[]> = {
|
||||
'group:cron': ['cron.list', 'cron.trigger', 'cron.create', 'cron.delete'],
|
||||
'group:minio': ['minio.share', 'minio.ingest', 'minio.sync'],
|
||||
'group:k8s': ['k8s.pods', 'k8s.deployments', 'k8s.logs'],
|
||||
'group:agents': ['agent.delegate', 'agents.list', 'council.run'],
|
||||
'group:agents': [
|
||||
'agent.delegate',
|
||||
'agents.list',
|
||||
'council.run',
|
||||
'subagent.spawn',
|
||||
'subagent.send',
|
||||
'subagent.list',
|
||||
'subagent.cancel',
|
||||
'subagent.delete',
|
||||
],
|
||||
};
|
||||
|
||||
/** Expand group references in a list of tool names/patterns. */
|
||||
|
||||
Reference in New Issue
Block a user