Skip to main content

Cmd

Enum Cmd 

Source
pub enum Cmd {
Show 53 variants Build { force: bool, }, Store { text: String, layer: String, importance: u8, }, Recall { query: String, k: usize, }, Look { x: f32, y: f32, z: f32, zoom: u8, k: usize, }, Radial { x: f32, y: f32, z: f32, depth: u8, radius: f32, k: usize, }, Soft { x: f32, y: f32, z: f32, zoom: u8, k: usize, gpu: bool, }, Bench, Stats, Find { query: String, k: usize, }, Fingerprint, Links { block_index: usize, }, Similar { text: String, k: usize, }, Rebuild, Embed { query: String, k: usize, metric: String, }, GpuBench, Verify, VerifyMerkle, Proof { block_index: usize, }, Think { query: String, max_steps: usize, }, Spine, Query { mql: String, }, Export { output: String, }, Import { input: String, output_dir: Option<String>, }, Diff { a: String, b: String, }, FederatedRecall { query: String, k: usize, }, PulseExchange, FederatedFind { query: String, k: usize, }, Hebbian, HebbianDrift, Hottest { k: usize, }, Archetypes, Emerge, Resonance, Integrate, Mirror, Resonant { k: usize, }, Viz { output: String, }, Density { output: String, grid: u16, }, Patterns { k: usize, }, Paths { sessions: usize, }, Predictions, TemporalPatterns, Attention, PatternExchange, Dream, DreamLog { k: usize, }, EmotionalField, EmotionalExchange, Modalities, CognitiveMap { output: String, }, StoreData { pairs: Vec<String>, importance: u8, }, InitDemo { force: bool, }, Serve { port: u16, },
}

Variants§

§

Build

Build binary from raw layer files

Fields

§force: bool
§

Store

Store a new memory

Fields

§text: String
§layer: String
§importance: u8
§

Recall

Recall — natural language query, auto-zoom

Fields

§query: String
§

Look

Manual look: x y z zoom [k]

Fields

§zoom: u8
§

Radial

Radial search: find blocks within radius at a depth

Fields

§depth: u8
§radius: f32
§

Soft

4D soft zoom: x y z zoom [k]

Fields

§zoom: u8
§gpu: bool

Use GPU acceleration (requires gpu feature)

§

Bench

Benchmark

§

Stats

Stats

§

Find

Text search

Fields

§query: String
§

Fingerprint

Build structural fingerprints and wormhole links

Show structural links (wormholes) for a block

Fields

§block_index: usize
§

Similar

Find structurally similar blocks to a text

Fields

§text: String
§

Rebuild

Rebuild — incorporate append log into main index

§

Embed

Semantic search using embeddings

Fields

§query: String
§metric: String
§

GpuBench

GPU vs CPU benchmark (requires gpu feature)

§

Verify

Verify CRC16 integrity of all blocks

§

VerifyMerkle

Verify Merkle tree integrity of the entire index

§

Proof

Show Merkle proof for a specific block

Fields

§block_index: usize
§

Think

Sequential Thinking — Chain-of-Thought memory sequence

Fields

§query: String
§max_steps: usize
§

Spine

Start the Binary Spine IPC listener (Zero JSON)

§

Query

MQL query (Microscope Query Language)

Fields

§mql: String

MQL expression, e.g. ‘layer:long_term depth:2..5 “Ora”’

§

Export

Export index to .mscope archive

Fields

§output: String

Output archive path

§

Import

Import .mscope archive

Fields

§input: String

Input archive path

§output_dir: Option<String>

Output directory (defaults to config output_dir)

§

Diff

Diff two .mscope archives

Fields

§a: String

First archive

§b: String

Second archive

§

FederatedRecall

Federated recall across multiple indices

Fields

§query: String
§

PulseExchange

Exchange resonance pulses across federated indices (mirror neuron protocol)

§

FederatedFind

Federated text search across multiple indices

Fields

§query: String
§

Hebbian

Show Hebbian learning state (activations, co-activations, energy)

§

HebbianDrift

Apply Hebbian drift — co-activated blocks pull coordinates closer

§

Hottest

Show hottest blocks (most recently/frequently activated)

Fields

§

Archetypes

Show emerged archetypes (crystallized activation patterns)

§

Emerge

Detect new archetypes from resonance field and Hebbian state

§

Resonance

Show resonance protocol state (pulses, field energy)

§

Integrate

Integrate received pulses into local Hebbian state

§

Mirror

Show mirror neuron state (resonance echoes, boosted blocks)

§

Resonant

Show most resonant blocks (strongest mirror neuron signal)

Fields

§

Viz

Export 3D visualization snapshot (Binary)

Fields

§output: String

Output file path (default: viz.bin)

§

Density

Export binary density map for fast rendering

Fields

§output: String

Output file path

§grid: u16

Grid resolution (default: 32)

§

Patterns

Show thought patterns (crystallized recall sequences)

Fields

§

Paths

Show recent thought paths (recall sequences by session)

Fields

§sessions: usize
§

Predictions

Show predictive cache stats and active predictions

§

TemporalPatterns

Show temporal archetype patterns (time-of-day activation profiles)

§

Attention

Show attention mechanism state (layer weights, quality history)

§

PatternExchange

Exchange thought patterns across federated indices

§

Dream

Run dream consolidation (offline memory replay and pruning)

§

DreamLog

Show dream consolidation history

Fields

§

EmotionalField

Show emotional contagion state (local + remote emotional fields)

§

EmotionalExchange

Exchange emotional snapshots across federated indices

§

Modalities

Show multimodal index statistics

§

CognitiveMap

Export full cognitive map (all 13 layers) as JSON for Three.js viewer

Fields

§output: String

Output file path (default: cognitive_map.bin)

§

StoreData

Store structured data (key=value pairs)

Fields

§pairs: Vec<String>

Key-value pairs: key1=val1 key2=val2

§importance: u8
§

InitDemo

Initialize a demo dataset and configuration for quickstart

Fields

§force: bool

Force overwrite existing layers/demo.txt

§

Serve

Start a local HTTP server for the 3D Viewer (viewer.html)

Fields

§port: u16

Trait Implementations§

Source§

impl FromArgMatches for Cmd

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Cmd

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

§

impl Freeze for Cmd

§

impl RefUnwindSafe for Cmd

§

impl Send for Cmd

§

impl Sync for Cmd

§

impl Unpin for Cmd

§

impl UnsafeUnpin for Cmd

§

impl UnwindSafe for Cmd

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.