Skip to main content

Module runtime

Module runtime 

Source
Expand description

Compatibility re-export for the internal runtime crate.

New daemon, CLI, and TUI code should depend on the mermaid-runtime crate boundary. The mermaid_cli::runtime module is retained so existing call sites and downstream code do not need a flag-day import rewrite.

Re-exports§

pub use client::*;

Modules§

approval
checkpoint
client
daemon
plugin
policy
storage

Structs§

ActionRequest
ApprovalRecord
ApprovalReplayResult
ApprovalsRepo
CheckpointFile
CheckpointManifest
CheckpointRecord
CheckpointsRepo
CompactionRecord
CompactionsRepo
MemoryEntry
MemoryRepo
MessageRecord
MessagesRepo
NewApproval
NewCheckpoint
NewCompaction
NewMemoryEntry
NewMessage
NewPluginInstall
NewProcess
NewProviderProbe
NewSession
NewTask
NewToolRun
PairingTokenRecord
PairingTokensRepo
PluginInstallRecord
PluginManifest
PluginPermissionPreview
PluginsRepo
PolicyEngine
PolicyOverride
ProcessRecord
ProcessesRepo
ProviderProbeRecord
ProviderProbesRepo
RuntimeStore
SQLite-backed durable runtime state.
SessionRecord
SessionsRepo
TaskRecord
TaskTimelineEvent
TasksRepo
ToolRunRecord
ToolRunsRepo

Enums§

PolicyDecision
PolicyOverrideDecision
ProcessStatus
RiskClass
SafetyMode
TaskPriority
TaskStatus
Durable task state. A task is the daemon-level work unit; a chat transcript is just one artifact linked to it.
ToolCategory

Functions§

approve_and_replay
create_checkpoint
create_checkpoint_for_task
daemon_socket_path
data_dir
deny_approval
generate_pairing_token
hash_pairing_token
install_plugin_from_path
plugin_permission_preview
request_daemon_json
request_daemon_text
restore_checkpoint
run_plugin_hooks
snapshot_field_from_daemon
validate_plugin_manifest
write_plugin_lockfile