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
17 changes: 0 additions & 17 deletions .changeset/codex-sdk-features.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# codex-a2a

## 0.4.0

### Minor Changes

- 9543747: Upgrade `@openai/codex-sdk` to `^0.142.1` and surface two existing SDK capabilities:

- **Thread resume**: capture and expose the Codex `thread_id` on `thread.started`
(`metadata.codexAgent.threadId`); resume a context's thread after LRU eviction or via a
client-supplied `metadata.codexAgent.threadId` (legacy `metadata.codexThreadId` accepted).
- **Image input**: forward A2A `image/*` file parts to Codex as `local_image` (inline bytes →
temp file; local `file://` paths scoped to the working directory). Agent card now declares
image input modes.

Also exports a typed metadata contract so consumers don't hand-write magic keys:
`threadIdMetadata()`, `readThreadId()`, `CodexAgentEventKind`, `CodexAgentMetadata`,
`CODEX_AGENT_METADATA_KEY`, `LEGACY_THREAD_ID_KEY`, and `SUPPORTED_IMAGE_MIME_TYPES`.
`getWorkingDirectory` is deprecated in favor of `getThreadOptions().workingDirectory`.

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codex-a2a",
"version": "0.3.1",
"version": "0.4.0",
"description": "A2A server adapter for OpenAI Codex",
"keywords": [
"a2a",
Expand Down
Loading