Type Alias: ProviderContextOptions
ProviderContextOptions =
object
Properties
apiVersion?
readonlyoptionalapiVersion?:number
The apiVersion the plugin's manifest declares. Default: 12, the contract ctx.provider belongs to.
baseEnv?
readonlyoptionalbaseEnv?:Readonly<Record<string,string>>
What ctx.provider.env() answers on top of the identity pointers (the daemon's would add the system variables).
binaries?
readonlyoptionalbinaries?:Readonly<Record<string, {converse?: (args) =>ProviderConversation;path?:string;probe?: (args) =>Partial<ProviderProbeResult>;version?:string; }>>
The programs ctx.provider.binary knows: where each is, which version it prints, and what a probe of it answers. A name
that is not here is "not installed". serve is not available in the stand-in (it needs a process): use a fake CLI.
credentialDirs?
readonlyoptionalcredentialDirs?: readonlystring[]
Absolute folders scratch.link may take a source from: stand for the home-relative declares.credentialDirs a real provider declared.
generatedMedia?
readonlyoptionalgeneratedMedia?: readonlyProviderGeneratedMedia[]
What ctx.provider.media.adopt returns for any directory. Default: nothing.
gitRoots?
readonlyoptionalgitRoots?:Readonly<Record<string, readonlystring[]>>
What ctx.provider.git.writableRoots answers, by working directory. A folder that is not here is not a repository.
osCredentials?
readonlyoptionalosCredentials?:Readonly<Record<string,string>>
What ctx.provider.osCredentials holds, by service or service|account. A key that is not here reads as null.
secrets?
readonlyoptionalsecrets?: readonlystring[]
Values ctx.provider.redact masks (12 characters or more, like the daemon's). Default: none.
settings?
readonlyoptionalsettings?:Readonly<Record<string,ProviderSettingValue>>
What ctx.settings.get answers: the plugin's own settings, secrets included.
userMcpServers?
readonlyoptionaluserMcpServers?: readonlyProviderMcpServer[]
The agent's own MCP servers ctx.provider.mcp() should list, after Timon's.