1pub mod acquisition;
7pub mod align;
8pub mod applier;
9pub mod asof_rdf;
10#[cfg(not(target_arch = "wasm32"))]
12pub mod asof_share;
13pub mod bindings;
14pub mod changeset;
15#[cfg(not(target_arch = "wasm32"))]
17pub mod changeset_store;
18pub mod client_changeset;
19pub mod client_resolver;
21pub mod compact;
22pub mod competency;
23pub mod config;
24mod config_load;
25pub mod context;
26pub mod crew_credentials;
27pub mod databook;
29pub mod databook_store;
31pub mod derivation;
32pub mod embedding;
33pub mod embedding_runtime;
34pub mod entity_key;
35mod entity_key_guard;
36pub mod entity_namespaces;
37pub mod entity_reference;
38pub mod episode;
39pub mod error;
40pub mod governance;
41pub mod graph;
42pub mod graph_view;
43pub mod http_auth;
44pub mod impact;
45pub mod import_embedding;
46pub mod lattice;
47pub mod lattice_fold;
48pub mod lattice_kind;
49pub mod lexical;
50mod literal_identity;
51pub mod mcp;
52pub mod memory_budget;
53pub mod memory_files;
54pub mod merge3;
55#[cfg(not(target_arch = "wasm32"))]
56mod merge_adapters;
57#[cfg(feature = "merge-benchmark")]
59#[doc(hidden)]
60pub mod merge_benchmark;
61mod merge_core;
63#[cfg(not(target_arch = "wasm32"))]
64pub mod merge_ingress;
65#[cfg(not(target_arch = "wasm32"))]
66mod merge_lists;
67#[cfg(not(target_arch = "wasm32"))]
68mod merge_pending;
69#[cfg(not(target_arch = "wasm32"))]
70pub mod merge_plan;
71#[cfg(not(target_arch = "wasm32"))]
72mod merge_plan_gate;
73#[cfg(not(target_arch = "wasm32"))]
74mod merge_profile;
75pub mod merge_reconcile;
77#[cfg(not(target_arch = "wasm32"))]
78mod merge_review;
79#[cfg(not(target_arch = "wasm32"))]
80mod merge_session;
81pub mod metrics;
82#[cfg(feature = "lancedb")]
83pub mod migration;
84#[cfg(not(target_arch = "wasm32"))]
85pub mod model_assets;
86#[cfg(not(target_arch = "wasm32"))]
87pub mod model_backfill;
88pub mod namespace;
89mod namespace_publication;
90mod numeric_value;
91#[cfg(feature = "onnx")]
92pub mod onnx_embedder;
93#[cfg(feature = "onnx")]
94pub mod onnx_runtime;
95#[path = "asof_share/manifest.rs"]
97pub mod replica_manifest;
98pub mod replica_provider;
99#[cfg(not(target_arch = "wasm32"))]
100pub mod replicate_source;
101pub mod replicate_wire;
102pub mod resolver_contract;
104mod search_graph_scope;
105pub mod search_outcome;
106pub mod search_trace;
107pub mod store_replica;
109#[cfg(not(target_arch = "wasm32"))]
111pub mod store_stream;
112pub mod substring;
113pub mod transaction_auth;
114pub mod write_base;
116pub mod write_kind;
117pub mod write_observation;
118pub mod write_provenance;
119#[cfg(not(target_arch = "wasm32"))]
120pub mod writer_lock;
121#[cfg(feature = "owl")]
124pub mod explain;
125#[cfg(feature = "owl")]
126pub mod owl;
127mod change_risk;
130#[cfg(all(feature = "owl", feature = "reactive-reasoner"))]
131mod owl_reactive;
132pub mod pack;
133#[cfg(not(target_arch = "wasm32"))]
134mod pack_load;
135mod pack_turtle;
136pub mod path;
137pub mod proposal;
138pub mod proposal_migration;
139pub mod proposal_plan;
140pub mod provider;
141pub mod rdf;
142mod rdf_compact;
143mod rdf_export;
144pub mod rdf_triple;
145pub mod term_vocabulary;
146pub use rdf_compact::{COMPACT_RDF_LIMIT, CompactRdf, export_compact_graph};
147pub mod feed_parts;
149pub mod fluent;
150pub mod follow;
151#[cfg(feature = "remote")]
152pub mod follow_http;
153pub mod follow_ready;
155pub mod fork_merge_decisions;
157pub mod grant_scope;
158pub mod graph_catalog;
160#[cfg(all(feature = "ha-read-profile", target_os = "linux"))]
162pub mod ha_read;
163pub mod ownership_handoff_model;
165mod rdf_graph_store;
166mod rdf_scope;
167pub mod read_authorization;
168pub mod read_pin;
169pub mod reasoner;
170pub mod reconcile;
171pub mod render;
172pub mod report;
173pub mod request_usage;
174pub mod resolution;
175pub mod rule_answers;
176pub mod schema;
177pub mod semweb;
178#[cfg(not(target_arch = "wasm32"))]
179pub mod session_attestation;
180#[cfg(feature = "shacl")]
181pub mod shacl;
182#[cfg(feature = "shacl")]
183mod shacl_admission;
184#[cfg(feature = "shacl")]
185pub mod shacl_context;
186pub mod shacl_cycles;
187#[cfg(feature = "shacl")]
188mod shacl_debt;
189pub mod shacl_unsupported;
191pub mod share;
192#[cfg(not(target_arch = "wasm32"))]
193pub mod verified_write;
194pub mod writer_scope;
195pub mod pack_full;
200pub mod pack_full_text;
201#[cfg(not(target_arch = "wasm32"))]
204pub mod git_merge;
205#[cfg(not(target_arch = "wasm32"))]
206mod git_merge_alias;
207#[cfg(not(target_arch = "wasm32"))]
208mod git_merge_repo;
209#[cfg(not(target_arch = "wasm32"))]
210pub mod pack_restore;
211#[cfg(not(target_arch = "wasm32"))]
212pub mod project_graph;
213#[cfg(not(target_arch = "wasm32"))]
214pub mod share_attestation;
215pub mod share_completeness;
216pub mod share_compose;
217#[cfg(not(target_arch = "wasm32"))]
218pub mod share_current;
219pub mod share_delta;
220pub mod share_pointer_load;
221pub mod share_diff;
224pub mod promotion_control;
227pub mod shape_mapping;
228pub mod share_alignments;
229pub mod share_fluent;
231pub mod share_import;
232pub(crate) mod share_import_resolve;
233#[cfg(not(target_arch = "wasm32"))]
234pub mod share_merge;
235pub mod share_merge_decisions;
236#[cfg(not(target_arch = "wasm32"))]
237pub mod share_merge_decisions_view;
238#[cfg(not(target_arch = "wasm32"))]
239pub mod share_mint;
240#[cfg(not(target_arch = "wasm32"))]
241pub mod share_pack_review;
242mod share_promotion;
243pub mod share_queries;
244pub mod share_review;
245pub mod share_scrub;
246pub mod share_transport;
247pub mod signing;
248pub mod sparql;
249pub mod sparql_structure;
250#[cfg(not(target_arch = "wasm32"))]
251pub mod statement_profile;
252pub mod store;
253pub mod time;
254pub mod types;
255pub mod vector;
256pub mod vector_delegate;
257#[cfg(feature = "lancedb")]
258pub mod vector_lance;
259pub mod verdict_schemes;
260pub mod vocabulary;
261pub mod w3c;
262pub mod write_gate;
263
264pub const VERSION: &str = env!("CARGO_PKG_VERSION");
271
272pub const GIT_SHA: &str = env!("QUIPU_GIT_SHA");
274
275pub use rdf_export::{export_rdf_construct, export_rdf_group};
276
277pub use config::{
278 AttachmentConfig, EmbeddingConfig, FederationConfig, GovernanceConfig, ProjectionColumnConfig,
279 ProjectionConfig, QuipuConfig, RemoteEndpoint, ResolutionConfig, SearchConfig, ServerConfig,
280 ShaclConfig, VectorBackend, VectorConfig, open_with_configured_attachments,
281};
282pub use context::{
283 ContextPipeline, ContextPipelineConfig, KnowledgeContext, KnowledgeEntity, KnowledgeFact,
284 KnowledgeRelevance, tool_context, tool_unified_search,
285};
286pub use derivation::{DerivationMethod, Rederivation};
287pub use embedding::{
288 DeferredEmbed, EmbeddingProvider, NO_PROVIDER_HELP, build_entity_text,
289 build_entity_text_for_graph_backfill,
290};
291pub use episode::{
292 Episode, IngestResolutionOpts, IngestResult, episode_provenance, ingest_batch, ingest_episode,
293 ingest_episode_with_resolution,
294};
295pub use error::{Error, Result};
296pub use graph::{
304 Communities, PageRankConfig, ProjectedGraph, louvain, page_rank, persist_communities, project,
305 tool_project,
306};
307pub use graph_view::tool_graph_view;
308pub use impact::{DEFAULT_HOPS, ImpactNode, ImpactOptions, ImpactReport, impact, speculate_remove};
309pub use mcp::align::{tool_align_apply, tool_align_decide, tool_align_propose};
310#[cfg(feature = "owl")]
311pub use mcp::explain::tool_explain;
312pub use mcp::graphiti::tool_episodes_complete;
313pub use mcp::history::tool_entity_history;
314pub use mcp::impact::tool_impact;
315pub use mcp::mapping::{tool_mapping_apply, tool_mapping_decide, tool_mapping_propose};
316#[cfg(not(target_arch = "wasm32"))]
317pub use mcp::merge_decisions::{tool_merge_apply, tool_merge_decisions, tool_merge_resolve};
318pub use mcp::named_query::tool_ask;
319#[cfg(feature = "owl")]
320pub use mcp::owl::tool_load_ontology;
321pub use mcp::path::{tool_path_backtest, tool_path_cone};
322pub use mcp::proposal::{
323 tool_accept_proposal, tool_list_proposals, tool_propose_schema_change, tool_reject_proposal,
324};
325pub use mcp::resolution::tool_resolve_entity;
326pub use mcp::rule_answers::tool_rule_query;
327pub use mcp::search::{tool_search_facts, tool_search_nodes};
328pub use mcp::tools::{
329 PreparedEpisode, SERVER_DERIVED_EMBEDDING, resolve_validation_shapes, tool_cord, tool_datasets,
330 tool_episode, tool_episode_commit, tool_episode_prepare, tool_graph_freeze, tool_graph_list,
331 tool_graph_thaw, tool_hybrid_search, tool_queries, tool_retract, tool_retract_episode,
332 tool_search, tool_set, tool_shapes, tool_subscriptions, tool_unravel, tool_validate,
333};
334#[cfg(not(target_arch = "wasm32"))]
335pub use mcp::tools::{tool_attest_challenge, tool_attest_commit, tool_attest_receipt};
336#[cfg(not(target_arch = "wasm32"))]
337pub use mcp::tools::{tool_deck_attest, tool_deck_present, tool_deck_receipt};
338pub use mcp::{
339 inference_header, labels_json, query_inference, query_result, query_result_with_federation,
340 tool_cooccurrence, tool_definitions, tool_export, tool_graph_create, tool_graph_label,
341 tool_knot, tool_overlay_compose, tool_overlay_create, tool_overlay_write, tool_policy_check,
342 tool_query, tool_query_with_federation, tool_retract_source, tool_verdict_verify,
343 tool_verifier_authorized, value_to_json, value_to_json_compact, value_to_json_with_prefixes,
344};
345#[cfg(feature = "lancedb")]
346pub use migration::{MigrateResult, migrate_sqlite_to_lancedb};
347#[cfg(feature = "onnx")]
348pub use onnx_embedder::OnnxEmbeddingProvider;
349#[cfg(feature = "owl")]
350pub use owl::{MaterializeReport, Ontology, OwlViolation};
351#[cfg(all(feature = "owl", feature = "reactive-reasoner"))]
352pub use owl_reactive::ReactiveOwl;
353pub use proposal::{NewProposal, Proposal, ProposalKind, ProposalStatus};
354pub use provider::{
355 DeclaredLabel, FederatedProvider, FederatedQuery, GraphProvider, LocalProvider,
356 ProviderOutcome, ProviderStatus,
357};
358#[cfg(feature = "remote")]
359pub use provider::{RemoteProvider, federated_from_config};
360pub use rdf::{
361 IngestReport, LoadDeclaration, export_rdf, export_rdf_subset, ingest_rdf, ingest_rdf_chunked,
362 ingest_rdf_declared,
363};
364pub use rdf_graph_store::{delete_rdf_graph, replace_rdf_graph};
365#[cfg(feature = "reactive-reasoner")]
366pub use reasoner::reactive::ReactiveReasoner;
367pub use reconcile::{
368 GoResolver, ImportResolver, PythonResolver, ReconcileReport, RustResolver, default_resolvers,
369 reconcile,
370};
371pub use report::tool_report;
372pub use resolution::{EntityCandidate, ResolutionResult, resolve_entity};
373#[cfg(feature = "shacl")]
374pub use shacl::{ValidationFeedback, Validator, validate_shapes};
375pub use sparql::{
376 GraphScope, QueryResult, TemporalContext, Triple, query as sparql_query,
377 query_temporal as sparql_query_temporal,
378};
379pub use store::forks::{ForkDiff, ForkInfo, ForkPromotion};
380pub use store::{
381 Datum, GroupBy, PROJECTION_ROWS_MAX, ProjectionAggregate, ProjectionCertificate,
382 ProjectionRows, ProjectionStatus, RowsAfter, Store,
383};
384#[cfg(feature = "reactive-reasoner")]
385pub use store::{Delta, TransactObserver};
386pub use types::{Fact, Op, Term, Transaction, Value};
387pub use vector::{KnowledgeVectorStore, VectorMatch};
388pub use vector_delegate::VectorSearchDelegate;
389#[cfg(feature = "lancedb")]
390pub use vector_lance::LanceVectorStore;
391
392#[cfg(feature = "mcp")]
394pub mod mcp_transport;
395
396pub mod search_query;
398pub use search_query::tool_search_query;
399
400#[cfg(test)]
401mod share_competency_tests;