Skip to content

1.55.0

Choose a tag to compare

@tomshen tomshen released this 19 May 00:00
· 25 commits to master since this release
2fa7470

New Features

  • Add lapdog codex command 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 lapdog Claude Code plugin from a marketplace homed in this repository. After claude plugin marketplace add DataDog/dd-apm-test-agent and claude plugin install lapdog@lapdog, Claude Code POSTs every hook event (PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, ...) to http://localhost:8126/claude/hooks without lapdog claude
    having to mutate ~/.claude/settings.json.

  • lapdog claude now auto-installs the lapdog Claude Code plugin from the in-repo marketplace if it is not already installed (runs claude plugin marketplace add DataDog/dd-apm-test-agent and claude 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 claude no longer writes Claude Code hook entries to ~/.claude/settings.json. The previous --disable-claude-code-hooks flag has been removed and replaced by the auto-installed Claude Code plugin, which is now the only integration path. The lapdog/hooks.py helper that mutated ~/.claude/settings.json is deleted. Users who previously ran lapdog claude with the older default (or with the short-lived --hooks opt-in) should delete the stale hook entries that POST to localhost:8126/claude/hooks from 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.