Skip to main content

Module types

Module types 

Source
Expand description

Wire types for the Origin HTTP API.

All types live in the published origin-types crate. This module exists only to provide a stable import path (crate::types::...) during the cross-repo refactor; later PRs may remove the module entirely and import origin_types::* at call sites directly.

Structs§

AcceptRefinementResponse
AddObservationResponse
ChatContextRequest
ChatContextResponse
ContradictionDismissResponse
Response returned by POST /api/memory/contradiction/{source_id}/dismiss. wrote: true is best-effort: the daemon’s underlying DB method silently no-ops when no rows match. Wrapper cannot distinguish dismiss-of-existing from dismiss-of-nothing without an extra SELECT (out of scope).
CreateEntityRequest
CreateEntityResponse
DeleteResponse
Shared wire format for any deleted: bool response.
EntitySuggestion
A pending entity suggestion from the refinement queue.
ListMemoriesRequest
ListMemoriesResponse
ListMemoryRevisionsResponse
Response envelope for /api/memory/{id}/revisions.
ListPageRevisionsResponse
Response envelope for /api/pages/{id}/revisions.
ListRefinementsResponse
MemoryRevisionEntry
One entry in a memory’s supersede chain, returned by /api/memory/{id}/revisions.
NurtureCardsResponse
OrphanLink
One orphaned page link label aggregated across sources.
OrphanLinksResponse
Response for GET /api/pages/orphan-links.
PageChangelogEntry
One entry in a page’s version changelog, returned by /api/pages/{id}/revisions.
PageSourceWithMemory
Page source enriched with the memory’s metadata (for the API response).
RecentActivityItem
A single entry in the home-page recent-activity feed.
RejectRefinementResponse
RejectionRecord
A rejected memory entry for quality gate diagnostics.
RevisionAcceptResponse
Response returned by POST /api/memory/revision/{id}/accept. Carries the now-consumed revision row id so agents can correlate with their list_pending_revisions cache.
RevisionDismissResponse
Response returned by POST /api/memory/revision/{id}/dismiss. wrote: true always (404 on missing).
SearchMemoryRequest
SearchMemoryResponse
SearchPagesRequest
SearchPagesResponse
SearchResult
A search result from hybrid (vector + FTS) search.
Space
A space (domain grouping).
StoreMemoryRequest
StoreMemoryResponse