openclaw/src
Robin Waslander 6be14ab388
fix(cli): defer zsh compdef registration until compinit is available (#56555)
The generated zsh completion script called compdef at source time,
which fails with 'command not found: compdef' when loaded before
compinit. Replace with a deferred registration that tries immediately,
and if compdef is not yet available, queues a self-removing precmd hook
that retries on first prompt.

Handles repeated sourcing (deduped hook entry) and shells that never
run compinit (completion simply never registers, matching zsh model).

Add real zsh integration test verifying no compdef error on source and
successful registration after compinit.

Fixes #14289
2026-03-28 19:35:32 +01:00
..
acp fix(acp): repair stale bindings after runtime exits (#56476) 2026-03-29 01:15:16 +08:00
agents refactor: load bundled provider catalogs dynamically 2026-03-28 16:57:36 +00:00
auto-reply fix(acp): repair stale bindings after runtime exits (#56476) 2026-03-29 01:15:16 +08:00
bindings
bootstrap
canvas-host
channels refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
chat
cli fix(cli): defer zsh compdef registration until compinit is available (#56555) 2026-03-28 19:35:32 +01:00
commands refactor(commands): drop provider default facade shims 2026-03-28 06:11:13 +00:00
compat
config refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
context-engine
cron refactor(acp): generalize message-channel binds 2026-03-28 02:53:54 +00:00
daemon
docs
extensions
flows fix(regression): restore typed provider compat tests 2026-03-27 20:24:14 -05:00
gateway test: handle live model probe edge cases 2026-03-28 17:12:09 +00:00
generated
hooks test: dedupe utility and config suites 2026-03-28 00:26:55 +00:00
i18n
image-generation test(providers): align active registry expectations 2026-03-28 16:15:56 +05:30
infra refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
interactive test: dedupe config and utility suites 2026-03-28 00:46:53 +00:00
link-understanding
logging
markdown test: dedupe utility and config suites 2026-03-28 00:26:55 +00:00
mcp test: use suite gateway hooks for channel mcp 2026-03-28 13:52:59 +05:30
media test: repair focused unit lane drift 2026-03-28 11:41:06 +00:00
media-understanding test: make minimax image path batch-stable 2026-03-28 15:07:53 +05:30
node-host test: dedupe config and utility suites 2026-03-28 00:46:53 +00:00
pairing test: fix media and channel regression expectations 2026-03-28 08:10:47 +00:00
plugin-sdk test(plugin-sdk): align matrix runtime api guardrail 2026-03-28 16:20:33 +05:30
plugins fix(security): audit web search keys for all bundled providers (#56540) 2026-03-28 18:55:38 +01:00
process fix(process): wait for windows close state settlement 2026-03-28 16:55:15 +05:30
routing test: dedupe routing and text suites 2026-03-28 07:31:40 +00:00
scripts
secrets Secrets: fix Matrix default-account password activity 2026-03-28 01:08:33 -04:00
security fix(security): audit web search keys for all bundled providers (#56540) 2026-03-28 18:55:38 +01:00
sessions
shared test: align code region fence slices 2026-03-28 11:48:13 +00:00
terminal
test-helpers
test-utils refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
tts test: fix tts status helper temp-home prefs path 2026-03-28 11:35:33 +00:00
tui
types
utils refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
web-search refactor(xai): move bundled xai runtime into plugin 2026-03-28 05:02:41 +00:00
wizard
channel-web.ts
docker-build-cache.test.ts
docker-image-digests.test.ts
docker-setup.e2e.test.ts
dockerfile.test.ts
entry.respawn.test.ts
entry.respawn.ts
entry.test.ts
entry.ts
entry.version-fast-path.test.ts
extensionAPI.ts
global-state.ts
globals.ts
index.test.ts
index.ts
install-sh-version.test.ts
library.test.ts
library.ts
logger.test.ts test: dedupe utility and config suites 2026-03-28 00:26:55 +00:00
logger.ts
logging.ts
param-key.ts
poll-params.test.ts
poll-params.ts
polls.test.ts
polls.ts
runtime.ts
utils.test.ts
utils.ts
version.test.ts
version.ts