init
This commit is contained in:
commit
ec53fcbe95
1905 changed files with 513762 additions and 0 deletions
12
tools/AgentTool/constants.ts
Normal file
12
tools/AgentTool/constants.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
export const AGENT_TOOL_NAME = 'Agent'
|
||||
// Legacy wire name for backward compat (permission rules, hooks, resumed sessions)
|
||||
export const LEGACY_AGENT_TOOL_NAME = 'Task'
|
||||
export const VERIFICATION_AGENT_TYPE = 'verification'
|
||||
|
||||
// Built-in agents that run once and return a report — the parent never
|
||||
// SendMessages back to continue them. Skip the agentId/SendMessage/usage
|
||||
// trailer for these to save tokens (~135 chars × 34M Explore runs/week).
|
||||
export const ONE_SHOT_BUILTIN_AGENT_TYPES: ReadonlySet<string> = new Set([
|
||||
'Explore',
|
||||
'Plan',
|
||||
])
|
||||
Loading…
Add table
Add a link
Reference in a new issue