Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## [0.1.5] - 2026-12-03

### Changed
- Refreshed `uv.lock`: agent-client-protocol 0.7.0 to 1.1.0, litellm 1.80.11 to 1.112.1, anthropic 0.75.0 to 2.16.0, openai 2.14.0 to 3.63.0, google-genai 1.56.0 to 3.7.0, plus transitive updates. `gepa` stays at 0.1.4 (still latest).

### Fixed
- Compatible with agent-client-protocol 1.x, which removed `text_block` and `update_agent_message` from the top-level `acp` package. CodeOptiX now builds these from `acp.schema` (works on 0.7 and 1.x). Fresh installs previously failed to import the CLI and ACP modules.

## [0.1.4] - 2026-09-10

### Changed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "codeoptix"
version = "0.1.4"
version = "0.1.5"
description = "Agentic Code Optimization & Deep Evaluation for Superior Coding Agent Experience. Built by Superagentic AI."
readme = "README.md"
requires-python = ">=3.12"
Expand Down
17 changes: 17 additions & 0 deletions src/codeoptix/acp/_compat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Small ACP helpers built on acp.schema.

agent-client-protocol 1.x removed the ``text_block`` and ``update_agent_message``
helpers from the top-level ``acp`` package, so we build the schema objects directly.
"""

from acp.schema import AgentMessageChunk, TextContentBlock


def text_block(text: str) -> TextContentBlock:
"""Create a text content block."""
return TextContentBlock(type="text", text=text)


def update_agent_message(content: TextContentBlock) -> AgentMessageChunk:
"""Wrap a content block in an agent message chunk update."""
return AgentMessageChunk(session_update="agent_message_chunk", content=content)
3 changes: 1 addition & 2 deletions src/codeoptix/acp/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
InitializeResponse,
NewSessionResponse,
PromptResponse,
text_block,
update_agent_message,
)
from acp.interfaces import Client
from acp.schema import (
Expand All @@ -29,6 +27,7 @@
TextContentBlock,
)

from codeoptix.acp._compat import text_block, update_agent_message
from codeoptix.acp.code_extractor import extract_code_from_text
from codeoptix.adapters.base import AgentOutput
from codeoptix.evaluation import EvaluationEngine
Expand Down
3 changes: 2 additions & 1 deletion src/codeoptix/acp/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import logging
from typing import Any

from acp import PROTOCOL_VERSION, Client, connect_to_agent, text_block, update_agent_message
from acp import PROTOCOL_VERSION, Client, connect_to_agent
from acp.core import ClientSideConnection
from acp.schema import (
AgentMessageChunk,
Expand All @@ -17,6 +17,7 @@
TextContentBlock,
)

from codeoptix.acp._compat import text_block, update_agent_message
from codeoptix.acp.code_extractor import extract_all_code, extract_code_from_message
from codeoptix.acp.registry import ACPAgentRegistry
from codeoptix.evaluation import EvaluationEngine
Expand Down
2 changes: 1 addition & 1 deletion src/codeoptix/acp/client_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
Client,
RequestError,
connect_to_agent,
text_block,
)
from acp.core import ClientSideConnection
from acp.schema import (
Expand All @@ -27,6 +26,7 @@
WriteTextFileResponse,
)

from codeoptix.acp._compat import text_block
from codeoptix.acp.code_extractor import extract_all_code, extract_code_from_text
from codeoptix.adapters.base import AgentAdapter, AgentOutput

Expand Down
3 changes: 1 addition & 2 deletions src/codeoptix/acp/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import logging
from typing import Any

from acp import text_block

from codeoptix.acp._compat import text_block
from codeoptix.acp.code_extractor import extract_code_from_message, extract_code_from_text
from codeoptix.acp.registry import ACPAgentRegistry
from codeoptix.evaluation import EvaluationEngine
Expand Down
3,759 changes: 2,360 additions & 1,399 deletions uv.lock

Large diffs are not rendered by default.

Loading