feat: Opik 2.0 E2E integration — close 19 gaps#2
Draft
juanferrub wants to merge 1 commit intomainfrom
Draft
Conversation
…d_id, new commands & skills Closes 19 gaps identified in the Opik 2.0 E2E journey test plan. Key changes: - /opik:instrument now extracts config into AgentConfig dataclass, adds entrypoint=True, and wires thread_id for chat agents - New commands: /opik:connect (Local Runner pairing) and /opik:create-eval-suite - 6 new skills: instrument-python, instrument-typescript, agent-config, evaluation-suites, opik-connect, threads-conversations - Go binary: blueprint_id metadata, cost estimation per LLM span, turn counting, subagent span type fix - Updated agent-ops and opik skills with Opik 2.0 content Notion: https://www.notion.so/cometml/Claude-Code-Plugin-Opik-2-0-E2E-Journey-Test-Plan-Implementation-32c7124010a381f6be0edff5b6ac3939 Jira: OPIK-5210 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the opik-claude-code-plugin (v0.1.0 → v0.2.0) to fully support Opik 2.0. Closes all 19 gaps identified in the E2E journey test plan.
What changed
/opik:instrumentenhanced — now extracts config intoAgentConfigdataclass, addsentrypoint=Truewith docstrings, and wiresthread_idfor conversational agents/opik:connect(Local Runner pairing),/opik:create-eval-suite(evaluation suite generator)instrument-python,instrument-typescript,agent-config,evaluation-suites,opik-connect,threads-conversationsagent-opsandopiknow cover Opik 2.0 APIs (AgentConfig, Blueprints, Evaluation Suites, thread_id)Files changed (22 files, +1676/-71 lines)
src/main.go,api.go,config.go,state.goinstrument.md,connect.md(new),create-eval-suite.md(new)plugin.jsonTesting
Tested E2E on a demo customer support chat agent:
/opik:instrument agent.py— correctly detected OpenAI, extracted config, added entrypoint, wired thread_idReferences
🤖 Generated with Claude Code