openclaw/src/cli
Vincent Koc 38da2d076c
CLI: add root --help fast path and lazy channel option resolution (#30975)
* CLI argv: add strict root help invocation guard

* Entry: add root help fast-path bootstrap bypass

* CLI context: lazily resolve channel options

* CLI context tests: cover lazy channel option resolution

* CLI argv tests: cover root help invocation detection

* Changelog: note additional startup path optimizations

* Changelog: split startup follow-up into #30975 entry

* CLI channel options: load precomputed startup metadata

* CLI channel options tests: cover precomputed metadata path

* Build: generate CLI startup metadata during build

* Build script: invoke CLI startup metadata generator

* CLI routes: preload plugins for routed health

* CLI routes tests: assert health plugin preload

* CLI: add experimental bundled entry and snapshot helper

* Tools: compare CLI startup entries in benchmark script

* Docs: add startup tuning notes for Pi and VM hosts

* CLI: drop bundled entry runtime toggle

* Build: remove bundled and snapshot scripts

* Tools: remove bundled-entry benchmark shortcut

* Docs: remove bundled startup bench examples

* Docs: remove Pi bundled entry mention

* Docs: remove VM bundled entry mention

* Changelog: remove bundled startup follow-up claims

* Build: remove snapshot helper script

* Build: remove CLI bundle tsdown config

* Doctor: add low-power startup optimization hints

* Doctor: run startup optimization hint checks

* Doctor tests: cover startup optimization host targeting

* Doctor tests: mock startup optimization note export

* CLI argv: require strict root-only help fast path

* CLI argv tests: cover mixed root-help invocations

* CLI channel options: merge metadata with runtime catalog

* CLI channel options tests: assert dynamic catalog merge

* Changelog: align #30975 startup follow-up scope

* Docs tests: remove secondary-entry startup bench note

* Docs Pi: add systemd recovery reference link

* Docs VPS: add systemd recovery reference link
2026-03-01 14:23:46 -08:00
..
browser-cli-actions-input refactor(browser): unify fill field normalization 2026-02-26 22:17:58 +01:00
cron-cli feat(cron): configurable failure alerts for repeated job errors (openclaw#24789) thanks @0xbrak 2026-03-01 08:18:15 -06:00
daemon-cli test: fix pairing/daemon assertion drift 2026-02-26 21:24:50 +00:00
gateway-cli refactor(cli): dedupe gateway run mode parsing 2026-02-26 19:50:49 +01:00
node-cli refactor(cli): share runtime status color rendering 2026-02-18 23:09:09 +00:00
nodes-cli fix(nodes): reject facing=both when camera deviceId is set 2026-02-27 10:15:21 +05:30
program CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
shared refactor(cli): dedupe parsePort 2026-02-15 04:02:10 +00:00
update-cli fix(update): fallback to --omit=optional when global npm update fails (#24896) 2026-02-26 21:35:13 -05:00
acp-cli.option-collisions.test.ts test(cli): dedupe acp program setup and cover token-file errors 2026-02-21 21:40:39 +00:00
acp-cli.ts fix(cli): correct --verbose / -v option syntax in acp commands (#21303) 2026-02-19 21:04:22 -05:00
argv.test.ts CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
argv.ts CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
banner.ts fix(cli): correct --verbose / -v option syntax in acp commands (#21303) 2026-02-19 21:04:22 -05:00
browser-cli-actions-input.ts
browser-cli-actions-observe.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
browser-cli-debug.ts refactor(cli): dedupe browser debug and download opts 2026-02-18 23:34:15 +00:00
browser-cli-examples.ts fix(security): harden archive extraction (#16203) 2026-02-14 14:42:08 +01:00
browser-cli-extension.test.ts test(cli): seed stable defaults while replacing setup resets 2026-02-22 07:35:54 +00:00
browser-cli-extension.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
browser-cli-inspect.test.ts test(cli): dedupe inspect runner and cover snapshot/screenshot mode defaults 2026-02-21 21:40:39 +00:00
browser-cli-inspect.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
browser-cli-manage.ts refactor(cli): dedupe browser tab listing output 2026-02-15 05:35:49 +00:00
browser-cli-resize.ts refactor(cli): share browser resize output helper 2026-02-15 18:25:47 +00:00
browser-cli-shared.ts refactor(cli): share browser resize request 2026-02-15 05:08:08 +00:00
browser-cli-state.cookies-storage.ts fix(cli): resolve --url option collision in browser cookies set 2026-02-24 04:33:50 +00:00
browser-cli-state.option-collisions.test.ts test: fix post-merge config and tui command-handler tests 2026-02-24 04:38:21 +00:00
browser-cli-state.ts CLI: resolve parent/subcommand option collisions (#18725) 2026-02-17 20:57:09 -05:00
browser-cli.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
browser-cli.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
channel-auth.test.ts fix: stop hardcoded channel fallback and auto-pick sole configured channel (#23357) (thanks @lbo728) 2026-02-22 11:21:43 +01:00
channel-auth.ts fix: stop hardcoded channel fallback and auto-pick sole configured channel (#23357) (thanks @lbo728) 2026-02-22 11:21:43 +01:00
channel-options.test.ts CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
channel-options.ts CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
channels-cli.ts fix: stop hardcoded channel fallback and auto-pick sole configured channel (#23357) (thanks @lbo728) 2026-02-22 11:21:43 +01:00
clawbot-cli.ts docs: align CLI docs and help surface 2026-02-22 20:05:01 +01:00
cli-name.ts
cli-utils.test.ts Session/Cron maintenance hardening and cleanup UX (#24753) 2026-02-23 22:39:48 +00:00
cli-utils.ts refactor: consolidate duplicate utility functions (#12439) 2026-02-08 23:59:43 -08:00
command-format.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
command-options.test.ts test(cli): extend command option inheritance edge coverage 2026-02-21 21:40:39 +00:00
command-options.ts CLI: resolve parent/subcommand option collisions (#18725) 2026-02-17 20:57:09 -05:00
completion-cli.ts docs: align CLI docs and help surface 2026-02-22 20:05:01 +01:00
completion-fish.test.ts refactor(cli): extract fish completion line builders 2026-02-22 07:44:56 +00:00
completion-fish.ts refactor(cli): extract fish completion line builders 2026-02-22 07:44:56 +00:00
config-cli.test.ts fix(cli): allow Ollama apiKey config set without predeclared provider (#29299) 2026-02-27 23:35:57 -08:00
config-cli.ts fix(cli): allow Ollama apiKey config set without predeclared provider (#29299) 2026-02-27 23:35:57 -08:00
cron-cli.test.ts feat(cron): configurable failure alerts for repeated job errors (openclaw#24789) thanks @0xbrak 2026-03-01 08:18:15 -06:00
cron-cli.ts
daemon-cli-compat.test.ts fix (cli): harden daemon compat shim for minimal bundle exports 2026-02-14 20:53:32 -08:00
daemon-cli-compat.ts fix (cli): harden daemon compat shim for minimal bundle exports 2026-02-14 20:53:32 -08:00
daemon-cli.coverage.test.ts refactor: replace bot.molt identifiers with ai.openclaw 2026-02-25 05:03:24 +00:00
daemon-cli.ts refactor(cli): share gateway service subcommands 2026-02-15 04:44:23 +00:00
deps.test.ts test: dedupe repeated test fixtures and assertions 2026-02-22 18:37:25 +00:00
deps.ts refactor(cli): share outbound send dependency mapping 2026-02-21 21:40:39 +00:00
devices-cli.test.ts test(core): reduce mock reset overhead in targeted suites 2026-02-22 08:40:29 +00:00
devices-cli.ts CLI: recover devices commands via local pairing fallback 2026-02-20 05:12:05 +00:00
directory-cli.ts refactor(cli): share directory list command flow 2026-02-18 18:38:58 +00:00
dns-cli.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
docs-cli.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
exec-approvals-cli.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
exec-approvals-cli.ts refactor(cli): dedupe allowlist command wiring 2026-02-22 07:44:56 +00:00
gateway-cli.coverage.test.ts test(core): trim redundant setup and tighten waits 2026-02-24 00:31:58 +00:00
gateway-cli.ts
gateway-rpc.ts fix(cron): fix timeout, add timestamp validation, enable file sync 2026-02-04 01:03:59 -08:00
gateway.sigterm.test.ts test: replace slow gateway SIGTERM integration coverage 2026-02-22 17:06:35 +00:00
help-format.ts
hooks-cli.test.ts refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
hooks-cli.ts refactor(cli): share pinned npm install record helper 2026-02-22 07:44:56 +00:00
log-level-option.test.ts Feat/logger support log level validation0222 (#23436) 2026-02-22 11:15:13 +01:00
log-level-option.ts Feat/logger support log level validation0222 (#23436) 2026-02-22 11:15:13 +01:00
logs-cli.test.ts test(cli): use lightweight clear for logs gateway mock 2026-02-22 07:35:54 +00:00
logs-cli.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
memory-cli.test.ts fix(cli): support --query in memory search command (#25904) 2026-02-25 01:41:56 +00:00
memory-cli.ts fix(cli): support --query in memory search command (#25904) 2026-02-25 01:41:56 +00:00
models-cli.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
models-cli.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
node-cli.ts
nodes-camera.test.ts test(utils): share temp-dir helper across cli and web tests 2026-02-22 07:44:57 +00:00
nodes-camera.ts refactor(cli): share camera clip file writer 2026-02-18 23:48:32 +00:00
nodes-canvas.ts refactor(cli): extract shared node media helpers 2026-02-18 23:34:15 +00:00
nodes-cli.coverage.test.ts fix(security): harden node exec approvals against symlink rebind 2026-02-26 21:47:45 +01:00
nodes-cli.ts
nodes-media-utils.test.ts refactor(cli): extract shared node media helpers 2026-02-18 23:34:15 +00:00
nodes-media-utils.ts Security: harden tool media paths 2026-02-20 13:32:49 -06:00
nodes-run.ts
nodes-screen.ts refactor(cli): extract shared node media helpers 2026-02-18 23:34:15 +00:00
npm-resolution.test.ts refactor(cli): share pinned npm install record helper 2026-02-22 07:44:56 +00:00
npm-resolution.ts refactor(cli): share pinned npm install record helper 2026-02-22 07:44:56 +00:00
outbound-send-deps.ts refactor(cli): share outbound send dependency mapping 2026-02-21 21:40:39 +00:00
outbound-send-mapping.test.ts refactor(cli): share outbound send dependency mapping 2026-02-21 21:40:39 +00:00
outbound-send-mapping.ts refactor(cli): share outbound send dependency mapping 2026-02-21 21:40:39 +00:00
pairing-cli.test.ts test(cli): seed stable defaults while replacing setup resets 2026-02-22 07:35:54 +00:00
pairing-cli.ts CLI: default pairing channel for pairing commands 2026-02-20 19:59:54 -08:00
parse-bytes.ts fix: unify session maintenance and cron run pruning (#13083) 2026-02-09 20:42:35 -08:00
parse-duration.ts Session/Cron maintenance hardening and cleanup UX (#24753) 2026-02-23 22:39:48 +00:00
parse-timeout.ts
plugin-registry.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
plugins-cli.ts fix(plugins): fallback bundled channel specs when npm install returns 404 (#12849) 2026-02-26 08:06:54 -05:00
plugins-config.test.ts fix: sync built-in channel enablement across config paths 2026-02-23 19:40:42 +00:00
plugins-config.ts fix: sync built-in channel enablement across config paths 2026-02-23 19:40:42 +00:00
ports.ts fix(cli): make gateway --force resilient to lsof EACCES 2026-02-26 23:02:58 +01:00
profile-utils.ts
profile.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
profile.ts fix(paths): respect OPENCLAW_HOME for all internal path resolution (#12091) 2026-02-08 16:20:13 -05:00
program.force.test.ts fix(cli): make gateway --force resilient to lsof EACCES 2026-02-26 23:02:58 +01:00
program.nodes-basic.test.ts perf(test): run nodes program tests on focused nodes-cli harness 2026-02-22 17:51:38 +00:00
program.nodes-media.test.ts fix(nodes): reject facing=both when camera deviceId is set 2026-02-27 10:15:21 +05:30
program.nodes-test-helpers.test.ts test(cli): share nodes ios fixture helpers 2026-02-22 07:44:56 +00:00
program.nodes-test-helpers.ts test(cli): share nodes ios fixture helpers 2026-02-22 07:44:56 +00:00
program.smoke.test.ts test: trim duplicate program smoke onboarding coverage 2026-02-22 17:06:35 +00:00
program.test-mocks.ts fix(ci): repair e2e mocks and tool schemas 2026-02-15 23:14:42 +00:00
program.ts
progress.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
progress.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
prompt.test.ts chore: Fix types in tests 30/N. 2026-02-17 14:32:57 +09:00
prompt.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
qr-cli.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
qr-cli.ts docs: align CLI docs and help surface 2026-02-22 20:05:01 +01:00
requirements-test-fixtures.ts refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
respawn-policy.ts perf(cli): speed up help/config paths and route config get/unset 2026-02-14 00:27:35 +00:00
route.ts CLI route: support argv-aware plugin preloading 2026-03-01 12:56:56 -08:00
run-main.exit.test.ts fix: ensure CLI exits after command completion (#12906) 2026-02-14 00:34:33 +01:00
run-main.test.ts fix(cli): correct --verbose / -v option syntax in acp commands (#21303) 2026-02-19 21:04:22 -05:00
run-main.ts refactor(cli): share windows argv normalization 2026-02-14 15:39:46 +00:00
sandbox-cli.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
secrets-cli.test.ts docs(secrets): clarify partial migration guidance 2026-02-26 14:47:22 +00:00
secrets-cli.ts feat(secrets): finalize mode rename and validated exec docs 2026-02-26 14:47:22 +00:00
security-cli.ts CLI: improve command descriptions in help output (#18486) 2026-02-16 22:06:25 +01:00
skills-cli.commands.test.ts refactor(cli): dedupe skills command report loading 2026-02-22 07:44:56 +00:00
skills-cli.format.ts refactor(cli): reuse skill missing summary 2026-02-15 16:46:04 +00:00
skills-cli.formatting.test.ts test: move local cli and config scenario suites out of e2e 2026-02-22 10:58:04 +00:00
skills-cli.test.ts test: drop duplicate skills-cli integration coverage 2026-02-19 07:33:37 +00:00
skills-cli.ts refactor(cli): dedupe skills command report loading 2026-02-22 07:44:56 +00:00
system-cli.test.ts refactor(cli): dedupe system gateway action handling 2026-02-21 21:40:39 +00:00
system-cli.ts refactor(cli): dedupe system gateway action handling 2026-02-21 21:40:39 +00:00
tagline.ts
test-runtime-capture.ts fix(cli): align runtime capture helper with RuntimeEnv signature 2026-02-18 13:34:03 +00:00
tui-cli.ts
update-cli.option-collisions.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
update-cli.test.ts test: fix gate regressions 2026-02-24 04:39:53 +00:00
update-cli.ts feat(update): add core auto-updater and dry-run preview 2026-02-22 17:11:36 +01:00
wait.ts
webhooks-cli.ts refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
windows-argv.ts refactor(cli): share windows argv normalization 2026-02-14 15:39:46 +00:00