Extend native catalog adapters
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Dependency upgrades, discovery, and smoke testing implementation plan
|
||||
|
||||
Status: Stages 1–5 complete; Stage 6 is next.
|
||||
Status: Stages 1–6 complete; Stage 7 is next.
|
||||
|
||||
## Authority and baseline
|
||||
|
||||
@@ -381,6 +381,15 @@ operator syntax delivered in Stage 7.
|
||||
**Complete when:** all five catalogs are available through narrow native adapters
|
||||
and public callback shapes are coherent.
|
||||
|
||||
**Completed:** 2026-10-17. Added `CatalogRequest` and `NamespaceRequest`,
|
||||
updated the prompt/profile callbacks, and exposed backend, namespace, and
|
||||
collection callbacks. `FromEngine` forwards selections and native filters or
|
||||
kinds to all five PromptKit catalog methods, preserving returned values,
|
||||
diagnostics, and errors. Existing catalog callers now send the default request.
|
||||
Focused adapter tests compare each callback with its native method and cover
|
||||
invocation values, loader diagnostics/error identity, and cancellation. The
|
||||
focused adapter/catalog tests and `GOTOOLCHAIN=local go build ./...` passed.
|
||||
|
||||
## Stage 7: Add catalog command bindings and YAML output
|
||||
|
||||
**Primary files:** ckprompt catalog command construction, input preparation,
|
||||
|
||||
Reference in New Issue
Block a user