feat(core): add scout agent for repo research (#24149)
Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
@@ -901,6 +901,32 @@ export type ServerConfig = {
|
||||
cors?: Array<string>
|
||||
}
|
||||
|
||||
export type ReferenceConfigEntry =
|
||||
| string
|
||||
| {
|
||||
/**
|
||||
* Git repository URL, host/path reference, or GitHub owner/repo shorthand
|
||||
*/
|
||||
repository: string
|
||||
/**
|
||||
* Branch or ref Scout should clone and inspect
|
||||
*/
|
||||
branch?: string
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* Absolute path, ~/ path, or workspace-relative path to a local reference directory
|
||||
*/
|
||||
path: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Named git or local directory references that can be @ mentioned as Scout-backed subagents
|
||||
*/
|
||||
export type ReferenceConfig = {
|
||||
[key: string]: ReferenceConfigEntry
|
||||
}
|
||||
|
||||
export type PermissionActionConfig = "ask" | "allow" | "deny"
|
||||
|
||||
export type PermissionObjectConfig = {
|
||||
@@ -924,6 +950,9 @@ export type PermissionConfig =
|
||||
question?: PermissionActionConfig
|
||||
webfetch?: PermissionActionConfig
|
||||
websearch?: PermissionActionConfig
|
||||
codesearch?: PermissionActionConfig
|
||||
repo_clone?: PermissionRuleConfig
|
||||
repo_overview?: PermissionRuleConfig
|
||||
lsp?: PermissionRuleConfig
|
||||
doom_loop?: PermissionActionConfig
|
||||
skill?: PermissionRuleConfig
|
||||
@@ -1127,6 +1156,7 @@ export type Config = {
|
||||
paths?: Array<string>
|
||||
urls?: Array<string>
|
||||
}
|
||||
reference?: ReferenceConfig
|
||||
watcher?: {
|
||||
ignore?: Array<string>
|
||||
}
|
||||
@@ -1162,6 +1192,7 @@ export type Config = {
|
||||
build?: AgentConfig
|
||||
general?: AgentConfig
|
||||
explore?: AgentConfig
|
||||
scout?: AgentConfig
|
||||
title?: AgentConfig
|
||||
summary?: AgentConfig
|
||||
compaction?: AgentConfig
|
||||
|
||||
Reference in New Issue
Block a user