765 lines
43 KiB
Plaintext
765 lines
43 KiB
Plaintext
// Bun Snapshot v1, https://bun.sh/docs/test/snapshots
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode acp --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron acp
|
||
|
||
start ACP (Agent Client Protocol) server
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--port port to listen on [number] [default: 0]
|
||
--hostname hostname to listen on [string] [default: "127.0.0.1"]
|
||
--mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
|
||
[boolean] [default: false]
|
||
--mdns-domain custom domain name for mDNS service (default: opencode.local)
|
||
[string] [default: "opencode.local"]
|
||
--cors additional domains to allow for CORS [array] [default: []]
|
||
--cwd working directory [string] [default: "<HOME>"]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron mcp
|
||
|
||
manage MCP (Model Context Protocol) servers
|
||
|
||
Commands:
|
||
neuron mcp add [name] add an MCP server
|
||
neuron mcp list list MCP servers and their status [aliases: ls]
|
||
neuron mcp auth [name] authenticate with an OAuth-enabled MCP server
|
||
neuron mcp logout [name] remove OAuth credentials for an MCP server
|
||
neuron mcp debug <name> debug OAuth connection for an MCP server
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode attach --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron attach <url>
|
||
|
||
attach to a running opencode server
|
||
|
||
Positionals:
|
||
url http://localhost:4096 [string] [required]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--dir directory to run in [string]
|
||
-c, --continue continue the last session [boolean]
|
||
-s, --session session id to continue [string]
|
||
--fork fork the session when continuing (use with --continue or --session) [boolean]
|
||
-p, --password basic auth password (defaults to OPENCODE_SERVER_PASSWORD) [string]
|
||
-u, --username basic auth username (defaults to OPENCODE_SERVER_USERNAME or 'opencode')
|
||
[string]
|
||
--mini start the minimal interactive interface [boolean] [default: false]
|
||
--no-replay disable mini session history replay on resume and after resize [boolean]
|
||
--replay-limit cap visible mini replay to the newest N messages [number]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode run --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron run [message..]
|
||
|
||
run opencode with a message
|
||
|
||
Positionals:
|
||
message message to send [array] [default: []]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--command the command to run, use message for args [string]
|
||
-c, --continue continue the last session [boolean]
|
||
-s, --session session id to continue [string]
|
||
--fork fork the session before continuing (requires --continue or --session) [boolean]
|
||
--share share the session [boolean]
|
||
-m, --model model to use in the format of provider/model [string]
|
||
--agent agent to use [string]
|
||
--format format: default (formatted) or json (raw JSON events)
|
||
[string] [choices: "default", "json"] [default: "default"]
|
||
-f, --file file(s) to attach to message [array]
|
||
--title title for the session (uses truncated prompt if no value provided) [string]
|
||
--attach attach to a running opencode server (e.g., http://localhost:4096) [string]
|
||
-p, --password basic auth password (defaults to OPENCODE_SERVER_PASSWORD) [string]
|
||
-u, --username basic auth username (defaults to OPENCODE_SERVER_USERNAME or 'opencode')
|
||
[string]
|
||
--dir directory to run in, path on remote server if attaching [string]
|
||
--port port for the local server (defaults to random port if no value provided)
|
||
[number]
|
||
--variant model variant (provider-specific reasoning effort, e.g., high, max, minimal)
|
||
[string]
|
||
--thinking show thinking blocks [boolean]
|
||
-i, --interactive run in direct interactive split-footer mode [boolean] [default: false]
|
||
--auto auto-approve permissions that are not explicitly denied (dangerous!)
|
||
[boolean] [default: false]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode debug --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron debug
|
||
|
||
debugging and troubleshooting tools
|
||
|
||
Commands:
|
||
neuron debug config show resolved configuration
|
||
neuron debug lsp LSP debugging utilities
|
||
neuron debug rg ripgrep debugging utilities
|
||
neuron debug file file system debugging utilities
|
||
neuron debug scrap list all known projects
|
||
neuron debug skill list all available skills
|
||
neuron debug snapshot snapshot debugging utilities
|
||
neuron debug startup print startup timing
|
||
neuron debug agent <name> show agent configuration details
|
||
neuron debug v2 debug v2 catalog and built-in plugins
|
||
neuron debug info show debug information
|
||
neuron debug paths show global paths (data, config, cache, state)
|
||
neuron debug wait wait indefinitely (for debugging)
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron providers
|
||
|
||
manage AI providers and credentials
|
||
|
||
Commands:
|
||
neuron providers list list providers and credentials [aliases: ls]
|
||
neuron providers login [url] log in to a provider
|
||
neuron providers logout [provider] log out from a configured provider
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode agent --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron agent
|
||
|
||
manage agents
|
||
|
||
Commands:
|
||
neuron agent create create a new agent
|
||
neuron agent list list all available agents
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode upgrade --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron upgrade [target]
|
||
|
||
upgrade opencode to the latest or a specific version
|
||
|
||
Positionals:
|
||
target version to upgrade to, for ex '0.1.48' or 'v0.1.48' [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
-m, --method installation method to use
|
||
[string] [choices: "curl", "npm", "pnpm", "bun", "brew", "choco", "scoop"]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode uninstall --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron uninstall
|
||
|
||
uninstall opencode and remove all related files
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
-c, --keep-config keep configuration files [boolean] [default: false]
|
||
-d, --keep-data keep session data and snapshots [boolean] [default: false]
|
||
--dry-run show what would be removed without removing [boolean] [default: false]
|
||
-f, --force skip confirmation prompts [boolean] [default: false]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode serve --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron serve
|
||
|
||
starts a headless opencode server
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--port port to listen on [number] [default: 0]
|
||
--hostname hostname to listen on [string] [default: "127.0.0.1"]
|
||
--mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
|
||
[boolean] [default: false]
|
||
--mdns-domain custom domain name for mDNS service (default: opencode.local)
|
||
[string] [default: "opencode.local"]
|
||
--cors additional domains to allow for CORS [array] [default: []]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode web --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron web
|
||
|
||
start opencode server and open web interface
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--port port to listen on [number] [default: 0]
|
||
--hostname hostname to listen on [string] [default: "127.0.0.1"]
|
||
--mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
|
||
[boolean] [default: false]
|
||
--mdns-domain custom domain name for mDNS service (default: opencode.local)
|
||
[string] [default: "opencode.local"]
|
||
--cors additional domains to allow for CORS [array] [default: []]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode models --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron models [provider]
|
||
|
||
list all available models
|
||
|
||
Positionals:
|
||
provider provider ID to filter models by [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--verbose use more verbose model output (includes metadata like costs) [boolean]
|
||
--refresh refresh the models cache from models.dev [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode stats --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron stats
|
||
|
||
show token usage and cost statistics
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--days show stats for the last N days (default: all time) [number]
|
||
--tools number of tools to show (default: all) [number]
|
||
--models show model statistics (default: hidden). Pass a number to show top N, otherwise
|
||
shows all
|
||
--project filter by project (default: all projects, empty string: current project)[string]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode export --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron export [sessionID]
|
||
|
||
export session data as JSON
|
||
|
||
Positionals:
|
||
sessionID session id to export [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--sanitize redact sensitive transcript and file data [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode import --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron import <file>
|
||
|
||
import session data from JSON file or URL
|
||
|
||
Positionals:
|
||
file path to JSON file or share URL [string] [required]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode pr --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron pr <number>
|
||
|
||
fetch and checkout a GitHub PR branch, then run opencode
|
||
|
||
Positionals:
|
||
number PR number to checkout [number] [required]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode session --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron session
|
||
|
||
manage sessions
|
||
|
||
Commands:
|
||
neuron session list list sessions
|
||
neuron session delete <sessionID> delete a session
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode plugin --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron plugin <module>
|
||
|
||
install plugin and update config
|
||
|
||
Positionals:
|
||
module npm module name [string] [required]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
-g, --global install in global config [boolean] [default: false]
|
||
-f, --force replace existing plugin version [boolean] [default: false]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode db --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron db
|
||
|
||
database tools
|
||
|
||
Commands:
|
||
neuron db [query] open an interactive sqlite3 shell or run a query [default]
|
||
neuron db path print the database path
|
||
|
||
Positionals:
|
||
query SQL query to execute [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--format Output format [string] [choices: "json", "tsv"] [default: "tsv"]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp list --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron mcp list
|
||
|
||
list MCP servers and their status
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp add --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron mcp add [name]
|
||
|
||
add an MCP server
|
||
|
||
Positionals:
|
||
name name of the MCP server [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--url URL for a remote MCP server [string]
|
||
--env environment variable for a local MCP server (KEY=VALUE) [array]
|
||
--header HTTP header for a remote MCP server (KEY=VALUE) [array]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp auth --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron mcp auth [name]
|
||
|
||
authenticate with an OAuth-enabled MCP server
|
||
|
||
Commands:
|
||
neuron mcp auth list list OAuth-capable MCP servers and their auth status [aliases: ls]
|
||
|
||
Positionals:
|
||
name name of the MCP server [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp logout --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron mcp logout [name]
|
||
|
||
remove OAuth credentials for an MCP server
|
||
|
||
Positionals:
|
||
name name of the MCP server [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers list --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron providers list
|
||
|
||
list providers and credentials
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers login --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron providers login [url]
|
||
|
||
log in to a provider
|
||
|
||
Positionals:
|
||
url opencode auth provider [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
-p, --provider provider id or name to log in to (skips provider selection) [string]
|
||
-m, --method login method label (skips method selection) [string]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers logout --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron providers logout [provider]
|
||
|
||
log out from a configured provider
|
||
|
||
Positionals:
|
||
provider provider id or name to log out from [string]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode agent create --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron agent create
|
||
|
||
create a new agent
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
--path directory path to generate the agent file [string]
|
||
--description what the agent should do [string]
|
||
--mode agent mode [string] [choices: "all", "primary", "subagent"]
|
||
--permissions, --tools comma-separated list of permissions to allow (default: all).
|
||
Available: "bash, read, edit, glob, grep, webfetch, task, todowrite,
|
||
websearch, lsp, skill" [string]
|
||
-m, --model model to use in the format of provider/model [string]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode agent list --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron agent list
|
||
|
||
list all available agents
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode session list --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron session list
|
||
|
||
list sessions
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
-n, --max-count limit to N most recent sessions [number]
|
||
--format output format [string] [choices: "table", "json"] [default: "table"]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode session delete --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron session delete <sessionID>
|
||
|
||
delete a session
|
||
|
||
Positionals:
|
||
sessionID session ID to delete [string] [required]
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|
||
|
||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode db path --help 1`] = `
|
||
"⠀ ▄
|
||
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
|
||
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
|
||
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
|
||
|
||
neuron db path
|
||
|
||
print the database path
|
||
|
||
Options:
|
||
-h, --help show help [boolean]
|
||
-v, --version show version number [boolean]
|
||
--print-logs print logs to stderr [boolean]
|
||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||
--pure run without external plugins [boolean]
|
||
"
|
||
`;
|