Unverified50% confidenceFactExact time
The shape of the OpenCode shell hook event includes command, cwd, timeout, shell, and an env object; event.command is the field to match, and event.env is writable.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/13/2026
First Seen
Valid until: 1/11/2027
Sources
Related Entities
Related Claims
UnverifiedWrapping an env assignment with timeout (such as timeout 3600 env KEY=VALUE command) is standard usage; env injects the environment variable into the child process so that it applies only to that command without polluting the current shell.64% similarUnverifiedThe hook mechanism is an event-driven extension point provided by coding agent frameworks that can automatically trigger scripts before or after specific operations; Jev mounts into the workflow through this mechanism as a pre-filter or post-validator.61% similarUnverifiedIn conversational tools, a plugin usually refers to a dynamically loadable functional extension module that can be independently started and stopped, interacting with the core program through APIs, hooks or an event bus.58% similarUnverifiedThe scope of an OpenCode hook is a single tool call, not the entire session or process; throwing an error only terminates the current operation, and the session can continue.57% similarUnverifiedOpenSeal saves active events and the state changes they describe within the same transaction, credential values are resolved only at action runtime, and are excluded from saved state, prompts, and end-client interfaces.57% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1017659API
curl https://kongchang.com/api/v1/knowledge/claims/1017659MCP
get_claim(id=1017659)