refactor(scout): resolve configured reference mentions (#26701)

This commit is contained in:
Shoubhit Dash 2026-05-11 12:57:26 +05:30 committed by GitHub
commit 7e997cfba4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 304 additions and 116 deletions

View file

@ -771,6 +771,7 @@ export type Prompt = {
text: string
files?: Array<PromptFileAttachment>
agents?: Array<PromptAgentAttachment>
references?: Array<PromptReferenceAttachment>
}
export type GlobalEvent = {
@ -2718,6 +2719,18 @@ export type PromptAgentAttachment = {
source?: PromptSource
}
export type PromptReferenceAttachment = {
name: string
kind: "local" | "git" | "invalid"
uri?: string
repository?: string
branch?: string
target?: string
targetUri?: string
problem?: string
source?: PromptSource
}
export type EventSessionNextPrompted = {
id: string
type: "session.next.prompted"
@ -3121,6 +3134,7 @@ export type SessionMessageUser = {
text: string
files?: Array<PromptFileAttachment>
agents?: Array<PromptAgentAttachment>
references?: Array<PromptReferenceAttachment>
type: "user"
}