Overview
Methods
getPrompts()
Get all prompts (local + adopted).| Parameter | Type | Default | Description |
|---|---|---|---|
includeHidden | boolean | false | Include hidden prompts |
findByName()
Find a prompt by its base name.findAllByName()
Find all prompts matching a name (when multiple exist).findByQualifiedName()
Find a prompt by its fully qualified name.getExported()
Lookup a prompt by its exported (resolved) name.exportResolvedNames()
Produce unique, conflict-aware exported names.getInlinePrompts()
Get prompts defined inline (local only).listAllInstances()
List all prompt instances (locals + adopted).listByOwner()
List prompts by owner path.registerPromptInstance()
Register a pre-constructed PromptInstance directly.Typically used internally for remote app prompts.
subscribe()
Subscribe to prompt change events.getCapabilities()
Get MCP capabilities for prompts.hasAny()
Check if any prompts exist.adoptFromChild()
Adopt prompts from a child registry.Change Events
Indexes
| Index | Key | Description |
|---|---|---|
byQualifiedId | qualifiedId | Unique identifier lookup |
byName | name | Base name lookup |
byOwnerAndName | owner:name | Scoped name lookup |
byOwner | ownerPath | All prompts by owner |