mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
docs(ai): note dotted tool namespace paths
This commit is contained in:
parent
7264da2199
commit
37be890cee
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ import { LLMRequest, Message, ToolDefinition, type LLMEvent, type ToolEntry } fr
|
|||
export type NamespaceStyle = "flat" | "native"
|
||||
|
||||
interface Name {
|
||||
// Declared as a tree but returned as a dotted path string, because tool parts and events carry
|
||||
// `namespace?: string`. A namespace name containing "." is therefore indistinguishable from nesting.
|
||||
readonly namespace?: string
|
||||
readonly name: string
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue