Skip to main content

origin_mcp/
types.rs

1//! Wire types for the Origin HTTP API.
2//!
3//! All types live in the published `origin-types` crate. This module exists
4//! only to provide a stable import path (`crate::types::...`) during the
5//! cross-repo refactor; later PRs may remove the module entirely and import
6//! `origin_types::*` at call sites directly.
7
8pub use origin_types::entities::EntitySuggestion;
9pub use origin_types::memory::{RecentActivityItem, RejectionRecord, SearchResult, Space};
10pub use origin_types::requests::{
11    ChatContextRequest, CreateConceptRequest, CreateEntityRequest, CreateRelationRequest,
12    ListMemoriesRequest, SearchMemoryRequest, SearchPagesRequest, StoreMemoryRequest,
13};
14pub use origin_types::responses::{
15    AcceptRefinementResponse, AddObservationResponse, ChatContextResponse,
16    ContradictionDismissResponse, CreateEntityResponse, CreatePageResponse, CreateRelationResponse,
17    DeleteResponse, ListMemoriesResponse, ListMemoryRevisionsResponse, ListPageRevisionsResponse,
18    ListRefinementsResponse, MemoryRevisionEntry, NurtureCardsResponse, OrphanLink,
19    OrphanLinksResponse, PageChangelogEntry, RejectRefinementResponse, RevisionAcceptResponse,
20    RevisionDismissResponse, SearchMemoryResponse, SearchPagesResponse, StoreMemoryResponse,
21};
22pub use origin_types::PageSourceWithMemory;