Skip to main content

Commands

Enum Commands 

Source
pub enum Commands {
Show 25 variants List { command: Option<ListCommands>, }, Find { command: Option<FindCommands>, }, Show { command: Option<ShowCommands>, }, Fetch { command: Option<FetchCommands>, }, Merge { command: Option<MergeCommands>, }, Export { command: Option<ExportCommands>, }, Import { command: Option<ImportCommands>, }, Move { command: Option<MoveCommands>, }, Git { command: GitCommands, }, Migration { command: MigrationCommands, }, Run { command: RunCommands, }, Watch { agent: Option<String>, path: Option<String>, debounce: u64, no_harvest: bool, verbose: bool, }, Provider { command: ProviderCommands, }, Detect { command: Option<DetectCommands>, }, Register { command: RegisterCommands, }, Sync { path: Option<String>, push: bool, pull: bool, provider: Option<String>, workspace: Option<String>, sessions: Option<Vec<String>>, format: String, force: bool, dry_run: bool, }, Harvest { command: HarvestCommands, }, Recover { command: RecoverCommands, }, Api { command: ApiCommands, }, Agency { command: AgencyCommands, }, Telemetry { command: Option<TelemetryCommands>, }, Completions { shell: CompletionShell, }, Shard { command: ShardCommands, }, Doctor { full: bool, format: String, fix: bool, }, Banner,
}

Variants§

§

List

List workspaces, sessions, or paths

Fields

§

Find

Search workspaces or sessions by text pattern (title, content, ID)

Fields

§

Show

Show workspaces, sessions, or paths

Fields

§

Fetch

Fetch chat sessions from workspaces, sessions, or paths

Fields

§

Merge

Merge chat sessions from workspaces, sessions, or paths

Fields

§

Export

Export chat sessions from workspaces, sessions, or paths

Fields

§

Import

Import session files from external directories into a workspace

Fields

§

Move

Move chat sessions between workspaces

Fields

§

Git

Git integration for chat session versioning

Fields

§command: GitCommands
§

Migration

Migration commands for moving chat sessions between machines

Fields

§

Run

Launch an AI coding agent with auto-save, or run interactive tools

Supported agents: claude, open, claw, cursor, codex, droid, gemini

Fields

§command: RunCommands
§

Watch

Watch agent session directories for changes and auto-harvest

Monitors session storage paths for new or modified files. Default: watches all known agent directories.

Fields

§agent: Option<String>

Watch a specific agent’s session directory (e.g., claude, gemini)

§path: Option<String>

Watch a custom path instead of agent directories

§debounce: u64

Debounce interval in seconds before harvesting (default: 3)

§no_harvest: bool

Detect changes without harvesting (dry-run)

§verbose: bool

Show detailed file change events

§

Provider

Manage LLM providers (Ollama, vLLM, Foundry, Cursor, etc.)

Fields

§

Detect

Auto-detect workspace and provider information

Fields

§

Register

Add on-disk sessions to VS Code’s database index (makes orphaned sessions visible)

Fields

§

Sync

Sync sessions between the harvest database and provider workspaces

Fields

§path: Option<String>

Path to the harvest database

§push: bool

Push sessions from database to provider workspaces (restore)

§pull: bool

Pull sessions from provider workspaces into database (backup)

§provider: Option<String>

Filter by provider name

§workspace: Option<String>

Filter by workspace/project path

§sessions: Option<Vec<String>>

Session IDs to sync (space-separated)

§format: String

Target format for push: auto (detect from provider), jsonl, json

§force: bool

Overwrite existing files without prompting

§dry_run: bool

Dry run - show what would be synced without making changes

§

Harvest

Harvest chat sessions from all providers into a unified database

Fields

§

Recover

Recover lost chat sessions from backups, recording state, or corrupted files

Fields

§

Api

Start the HTTP API server for the web frontend

Fields

§command: ApiCommands
§

Agency

Agent Development Kit - manage agents and orchestration

Fields

§

Telemetry

Manage anonymous usage data collection (opt-in by default)

Fields

§

Completions

Generate shell completions for bash, zsh, fish, or PowerShell

Fields

§shell: CompletionShell

Shell to generate completions for

§

Shard

Split oversized sessions into linked shards (by request count or file size)

Fields

§

Doctor

Check system environment, providers, and configuration health

Fields

§full: bool

Run all checks including network connectivity

§format: String

Output format: text, json

§fix: bool

Attempt to fix detected issues automatically

§

Banner

Show banner

Trait Implementations§

Source§

impl FromArgMatches for Commands

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 Commands

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§

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. 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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more