1.55.0
New Features
-
Add
lapdog codexcommand for tracing Codex coding agent sessions through the test agent. The command watches Codex session logs, forwards hook events to the local test agent, and records current model/provider details on agent, LLM, and tool spans. -
Ship a
lapdogClaude Code plugin from a marketplace homed in this repository. Afterclaude plugin marketplace add DataDog/dd-apm-test-agentandclaude plugin install lapdog@lapdog, Claude Code POSTs every hook event (PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, ...) tohttp://localhost:8126/claude/hookswithoutlapdog claude
having to mutate~/.claude/settings.json. -
lapdog claudenow auto-installs thelapdogClaude Code plugin from the in-repo marketplace if it is not already installed (runsclaude plugin marketplace add DataDog/dd-apm-test-agentandclaude plugin install lapdog@lapdog). Detection is via~/.claude/plugins/installed_plugins.json, so already-installed users pay no overhead. Skip the auto-install with--no-plugin-install. Install failures print the manual commands and continue launching Claude uninstrumented rather than blocking the session.
Upgrade Notes
lapdog claudeno longer writes Claude Code hook entries to~/.claude/settings.json. The previous--disable-claude-code-hooksflag has been removed and replaced by the auto-installed Claude Code plugin, which is now the only integration path. Thelapdog/hooks.pyhelper that mutated~/.claude/settings.jsonis deleted. Users who previously ranlapdog claudewith the older default (or with the short-lived--hooksopt-in) should delete the stale hook entries that POST tolocalhost:8126/claude/hooksfrom their~/.claude/settings.json— otherwise, once the plugin auto-installs, both the plugin's hooks and the settings.json hooks will fire on every event and produce duplicate instrumentation.