openclaw/src/cli/program
Altay ca5e352c53
CLI: include commit hash in --version output (#39712)
* CLI: include commit hash in --version output

* fix(version): harden commit SHA resolution and keep output consistent

* CLI: keep install checks compatible with commit-tagged version output

* fix(cli): include commit hash in root version fast path

* test(cli): allow null commit-hash mocks

* Installer: share version parser across install scripts

* Installer: avoid sourcing helpers from stdin cwd

* CLI: note commit-tagged version output

* CLI: anchor commit hash resolution to module root

* CLI: harden commit hash resolution

* CLI: fix commit hash lookup edge cases

* CLI: prefer live git metadata in dev builds

* CLI: keep git lookup inside package root

* Infra: tolerate invalid moduleUrl hints

* CLI: cache baked commit metadata fallbacks

* CLI: align changelog attribution with prep gate

* CLI: restore changelog contributor credit

---------

Co-authored-by: echoVic <echovic@163.com>
Co-authored-by: echoVic <echoVic@users.noreply.github.com>
2026-03-08 19:10:48 +03:00
..
message test(cli): use lightweight clears in message helper and gateway chat setup 2026-02-22 07:35:54 +00:00
action-reparse.test.ts test(cli): add action-reparse coverage for fallback argv resolution 2026-02-21 21:40:39 +00:00
action-reparse.ts refactor(cli): share commander reparse helper 2026-02-15 14:02:18 +00:00
build-program.test.ts test(cli): add build-program wiring coverage 2026-02-21 21:40:39 +00:00
build-program.ts perf(cli): speed up startup 2026-02-14 12:21:44 +00:00
build-program.version-alias.test.ts fix(cli): correct --verbose / -v option syntax in acp commands (#21303) 2026-02-19 21:04:22 -05:00
command-registry.test.ts Session/Cron maintenance hardening and cleanup UX (#24753) 2026-02-23 22:39:48 +00:00
command-registry.ts feat(config): add openclaw config validate and improve startup error messages (#31220) 2026-03-02 00:45:51 -05:00
command-tree.test.ts refactor(cli): extract shared command-removal and timeout action helpers 2026-02-21 21:40:39 +00:00
command-tree.ts refactor(cli): extract shared command-removal and timeout action helpers 2026-02-21 21:40:39 +00:00
config-guard.test.ts fix(tsgo): unblock baseline type errors (#31873) 2026-03-02 10:09:49 -06:00
config-guard.ts CLI: dedupe config validate errors and expose allowed values 2026-03-02 20:05:12 -05:00
context.test.ts CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
context.ts CLI: add root --help fast path and lazy channel option resolution (#30975) 2026-03-01 14:23:46 -08:00
help.test.ts CLI: include commit hash in --version output (#39712) 2026-03-08 19:10:48 +03:00
help.ts CLI: include commit hash in --version output (#39712) 2026-03-08 19:10:48 +03:00
helpers.test.ts chore(tsgo/format): fix CI errors 2026-02-21 17:51:56 -05:00
helpers.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
preaction.test.ts CLI: make read-only SecretRef status flows degrade safely (#37023) 2026-03-05 23:07:13 -06:00
preaction.ts CLI: make read-only SecretRef status flows degrade safely (#37023) 2026-03-05 23:07:13 -06:00
program-context.test.ts test(cli): add program context unit coverage 2026-02-21 21:40:39 +00:00
program-context.ts perf(cli): speed up startup 2026-02-14 12:21:44 +00:00
register.agent.test.ts Agents: add account-scoped bind and routing commands (#27195) 2026-02-26 02:36:56 -05:00
register.agent.ts Agents: add account-scoped bind and routing commands (#27195) 2026-02-26 02:36:56 -05:00
register.configure.test.ts test(cli): add configure registrar coverage 2026-02-21 21:40:39 +00:00
register.configure.ts CLI: improve command descriptions in help output (#18486) 2026-02-16 22:06:25 +01:00
register.maintenance.test.ts fix(cli): honor dashboard no-open and expand maintenance coverage 2026-02-21 21:40:39 +00:00
register.maintenance.ts fix(cli): honor dashboard no-open and expand maintenance coverage 2026-02-21 21:40:39 +00:00
register.message.test.ts test(cli): add message registrar wiring coverage 2026-02-21 21:40:39 +00:00
register.message.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
register.onboard.test.ts CI: restore main detect-secrets scan (#38438) 2026-03-07 10:06:35 -08:00
register.onboard.ts feat(onboarding): add web search to onboarding flow (#34009) 2026-03-06 13:09:00 -06:00
register.setup.test.ts test(cli): add setup registrar coverage for wizard dispatch 2026-02-21 21:40:39 +00:00
register.setup.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
register.status-health-sessions.test.ts fix(sessions): add fix-missing cleanup path for orphaned store entries 2026-02-26 13:40:58 +00:00
register.status-health-sessions.ts fix(sessions): add fix-missing cleanup path for orphaned store entries 2026-02-26 13:40:58 +00:00
register.subclis.test.ts Config: fail closed invalid config loads (#39071) 2026-03-07 17:48:13 -08:00
register.subclis.ts Config: fail closed invalid config loads (#39071) 2026-03-07 17:48:13 -08:00
routes.test.ts CLI: unify routed config positional parsing 2026-03-02 21:11:53 -05:00
routes.ts CLI: unify routed config positional parsing 2026-03-02 21:11:53 -05:00