Continue¶
Host activity status records native approval waits when the installed Continue version emits them; absent telemetry remains unknown.
AgentLint runs as Continue command hooks in .continue/settings.json, using the same hook protocol as Claude Code.
Matching pre-tool hooks can deny an action on ERROR findings. Post-tool hooks provide feedback after execution. Verify the actual hook calls in your installation rather than assuming that a saved config means checks are running. See Coverage and limits; the quickstart walks through a first check and correction.
Install¶
agentlint setup continue # project: .continue/settings.json
agentlint setup continue --global # user: ~/.continue/settings.json
Setup merges AgentLint entries into the hooks key, keeps your other hooks, and uses the absolute path of the agentlint binary. If the project has no agentlint.yml, it creates one. --dry-run prints the result without writing.
Verify¶
agentlint status
The continue line reports configured -> enabled -> observed. Make one tool call in Continue, then run agentlint status again.
What is checked¶
| Event | Matcher | Command |
|---|---|---|
PreToolUse |
Bash\|Edit\|Write |
agentlint check --event PreToolUse --adapter continue |
PostToolUse |
Bash\|Edit\|Write |
agentlint check --event PostToolUse --adapter continue |
UserPromptSubmit |
all | agentlint check --event UserPromptSubmit --adapter continue |
SubagentStart |
all | agentlint check --event SubagentStart --adapter continue |
SubagentStop |
all | agentlint check --event SubagentStop --adapter continue |
Notification |
all | agentlint check --event Notification --adapter continue |
PermissionRequest / PostToolUseFailure |
all | agentlint observe --event <event> --adapter continue |
SessionStart |
all | agentlint check --event SessionStart --adapter continue |
PostToolUse (passive) |
all | agentlint observe --event PostToolUse --adapter continue |
Stop |
all | agentlint report --adapter continue |
Output is identical to Claude Code: a PreToolUse block is exit 0 with hookSpecificOutput.permissionDecision: "deny"; PostToolUse findings arrive as additionalContext (plus "decision": "block" for warnings and errors, and exit 2 for errors); other events with an ERROR exit 2 with a systemMessage.
Configuration notes¶
- Continue merges hooks from
.continue/settings.jsonwith.claude/settings.json. AgentLint hooks installed for Claude Code in the same project therefore also apply in Continue; check both files if a hook runs unexpectedly. - Project directory:
--project-dir, thenAGENTLINT_PROJECT_DIR, thenCLAUDE_PROJECT_DIR, then the hook's working directory. - Session state key:
AGENTLINT_SESSION_ID, otherwise the parent process ID.
Uninstall¶
agentlint uninstall continue # project scope
agentlint uninstall continue --global # user scope
Only AgentLint entries are removed.
Troubleshooting¶
- Hooks not firing: confirm
.continue/settings.jsonhas ahookskey withagentlintcommands. Check whether.claude/settings.jsonalso has AgentLint hooks. - General issues: Diagnostics. Cloud upload and policy: AgentChute.