Documentation
¶
Index ¶
- func NewRouter(svc *engine.Service) http.Handler
- type Handler
- func (h *Handler) BulkDelete(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Create(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Export(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Import(w http.ResponseWriter, r *http.Request)
- func (h *Handler) List(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PinnedPreview(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Search(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Stats(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) BulkDelete ¶
func (h *Handler) BulkDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) PinnedPreview ¶ added in v0.6.0
func (h *Handler) PinnedPreview(w http.ResponseWriter, r *http.Request)
PinnedPreview renders the full pinned-payload that the UserPromptSubmit hook would inject for a given project — used by the admin UI to show users exactly what their agent receives every turn.
Rendering uses a fixed seed so the preview is reproducible. The system layer rotates with random seeds in production, but for an inspection UI stability beats novelty.
Click to show internal directories.
Click to hide internal directories.