Skip to main content

Crate mur_common

Crate mur_common 

Source

Re-exports§

pub use actor::Actor;
pub use actor::ActorSource;
pub use conversation::CONVERSATION_SCHEMA_VERSION;
pub use conversation::Content;
pub use conversation::Message;
pub use conversation::Role;
pub use conversation::Source;
pub use hooks_config::HooksConfig;
pub use pattern::Pattern;
pub use scope::Scope;
pub use signal::SIGNAL_SCHEMA_VERSION;
pub use signal::Signal;
pub use signal::SignalBatch;
pub use signal::SignalBatchResponse;
pub use signal::SignalKind;
pub use signal::SignalTarget;
pub use a2a::Message as A2aMessage;
pub use a2a::JsonRpcError;
pub use a2a::JsonRpcRequest;
pub use a2a::JsonRpcResponse;
pub use a2a::Task;
pub use a2a::TaskState;
pub use agent::AgentAppearance;
pub use agent::AgentProfile;
pub use agent::BehaviorPreset;
pub use agent::DeploymentConfig;
pub use agent::DeploymentType;
pub use agent::Entitlements;
pub use agent::ExecutionMode;
pub use agent::FederationConfig;
pub use agent::FileTransferConfig;
pub use agent::IdentityConfig;
pub use agent::LockFile;
pub use agent::PatternFilter;
pub use agent::Persona;
pub use agent::PersonaCategory;
pub use agent::RenderStatus;
pub use agent::RetryPolicy;
pub use agent::ScheduleEntry;
pub use agent::SnapshotPolicy;
pub use agent::SnapshotRef;
pub use agent_name::AgentNameError;
pub use agent_name::MAX_AGENT_NAME_LEN;
pub use agent_name::validate_agent_name;
pub use bridge::LlmEntitlement;
pub use bridge::LlmMode;
pub use identity::AgentIdentity;
pub use identity::ChainError;
pub use identity::ChainOptions;
pub use identity::ChainOutcome;
pub use identity::IdentityError;
pub use identity::RotationAttestation;
pub use identity::RotationReason;
pub use identity::decode_pubkey;
pub use identity::encode_pubkey;
pub use identity::verify_chain;
pub use manifest::AgentManifest;

Modules§

a2a
A2A v0.3 protocol envelope types.
action
actor
agent
Agent profile, Agent Card, and LockFile types shared between mur-agent-runtime and mur-core.
agent_name
Canonical agent-name validation. Used by both mur agent create (CLI) and the /api/v1/agents/{name} HTTP routes so the two surfaces never disagree on what names are valid.
bridge
Bridge-related shared types.
bundle
Wire-format types shared between the GUI export pipeline (writer) and the GUI app’s first-launch bootstrap (reader).
canonical
Canonical JSON serialization (sorted keys, no whitespace).
companion
Companion subsystem shared types (Phase 1.1).
config
conversation
Shared conversation archive types (used by mur-core, mur-commander).
coordination
Coordination protocol types for multi-step agent workflows.
error
Typed errors for MUR library boundaries.
eval
B0 M11 — JSONL output schema for the eval harness. B0 M11 — eval-harness output schema.
event
expression
Shared expression-change type used by both Hub and sidecar runtimes.
guard
hooks_config
hub
identity
Per-agent Ed25519 identity keypair.
jcs
RFC 8785 JSON Canonicalization Scheme (JCS).
knowledge
KnowledgeBase — the shared foundation for patterns and workflows.
ledger
llm
lock_file
Canonical running.lock reader + 3-state agent status classifier.
manifest
AgentManifest — declarative K8s-style spec for creating/updating an agent.
model
Named model registry shared by all agents.
model_resolve
First-run model-resolution decision tree (spec §7.3). Pure logic shared by the CLI (Plan 1b) and the Hub GUI wizard (Plan 2). Hardware detection and the actual pull/key-entry actions live in the surface layers; this module only decides the recommended default given a hint + hardware.
multimodal
muragent
.muragent v2 portable agent package format.
parameterize
Auto-detection of parameterizable values in workflow exports.
pattern
permissions
Permission grants and audit log for the AskUser flow.
pipeline
Pipeline expression AST and parser.
route
Route data types for the cost-router orchestrator.
schedule
Schedule — unified schedule definitions shared between mur CLI and Commander.
schedule_claim
Schedule claim/release — prevents double execution between CLI cron and Commander.
scope
secret
Typed reference to a secret value. The reference itself is safe to commit / log / serialize; the resolved value (SecretString) is zeroized on drop.
signal
Signal wire format for cross-process memory sync events.
skill
MuR skill ecosystem — see docs/superpowers/specs/2026-05-24-mur-skill-ecosystem-design.md.
sync_types
Typed DTOs for cloud sync API (Go server).
telemetry
OpenTelemetry GenAI semantic conventions (Q1 2026 Development status, gated by OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental) plus murmur-specific extensions.
trust
Shared trust store at ~/.mur/trust/trust.yaml.
variable
Variable system — user-defined variables with {{var_name}} template syntax.
workflow
Workflow — a reusable sequence of steps captured from sessions.