Expand description
CLI mode for direct operation invocation
Provides command-line interface for manual testing and debugging through the local executable.
Structs§
- Warm
Process Config - Process identity for a local warm worker.
Enums§
- CliCommand
- CLI subcommands for memory operations
- CliQuery
Mode - Retrieval intent for CLI search/orchestration.
- Experience
Command - Record, retrieve, verify, and transfer operational experience.
- Export
Format - Export output format.
- Native
Hook Harness - Native hook payload format accepted by
session-start. - Report
Format - Report output format.
- Search
Reranker - Optional post-retrieval reranker for CLI search.
- Store
Access - Warm
Command - Administrative warm-worker commands.
- Warm
Mode - Warm-worker behavior for agent-facing CLI retrieval and local tool calls.
Functions§
- capture_
execution_ context - Capture the calling process’s execution context.
- capture_
tracked_ diff_ sha256 - Hash HEAD plus the staged and unstaged tracked diff without retaining it.
- emit_
case_ if_ requested - Handle
experience note --emit: print the canonical case and report whether the command is finished. This runs before tenant, project, and store resolution because validating a file needs none of them. - enrich_
operation_ arguments - Add the current client context to one operation’s arguments.
- prepare_
execution_ context - Capture once, then materialize context into a CLI command before warm/cold routing. A warm worker therefore receives the caller’s context and never observes its own process identity on behalf of a client.
- prepare_
experience_ command - Convert experience commands to the existing local operation transport.
- resolve_
command_ scope - run_cli
- Run a CLI command
- run_
warm_ admin - try_
run_ warm_ client - warm_
socket_ path