Skip to content
Open
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
5 changes: 0 additions & 5 deletions .changeset/claude-agent-branding.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/codex-mcp-fixes.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/otel-byok-cookout.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/otel-core-api.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/otel-per-wrapper-schema.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/otel-phase-2.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/otel-phase-3.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/otel-phase-4.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/otel-phase-5.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/otel-phoenix-identity.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/output-format.md

This file was deleted.

45 changes: 45 additions & 0 deletions a2a-antigravity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# a2a-antigravity

## 0.3.0

### Minor Changes

- a2bfdd2: feat(otel): Phoenix demo, package identity attrs, usage flags

- Replace Jaeger compose requirement with Arize Phoenix (`phoenix serve`, optional Docker)
- CLI bootstrap defaults to `http/protobuf` via `@opentelemetry/exporter-trace-otlp-proto` (Phoenix rejects JSON)
- Stamp `a2a.wrapper.core.version`, `a2a.wrapper.sdk`, `a2a.wrapper.sdk.version` on task spans
- Wire all wrapper servers with package name/version
- `otel.taskUsageRollup` (default true) + `otel.annotateUsageCalls` (default false; Claude/Codex per-call events)
- Smoke scripts: `examples/otel-stack/smoke-export.mjs` + `smoke-providers.mjs` (copilot/claude executor → Phoenix)

### Patch Changes

- a2bfdd2: feat(otel): BYOK cookout + shared mock-ollama; wire CLI OTel bootstrap

- examples/mock-ollama/ — reusable fake Ollama (OpenAI + Anthropic) for any cookout
- examples/otel-stack/cookout-byok.mjs layers Phoenix/OTel on that stub
- Hand-rolled wrapper CLIs now call bootstrapOtelSdkFromConfig / shutdownOtelSdk
- CLI bootstrap uses SimpleSpanProcessor for reliable short-lived export

- a2bfdd2: fix(otel): per-wrapper OTel schema — common at top, backend knobs only for that package

OpenCode no longer advertises `otel.backend.codex` (and peers). Shared flags stay
on `otel.*`; only `otel.backend.<this-wrapper>` appears in each agent schema.

- a2bfdd2: feat(otel): Phase 2 usage mapping + shared execution observability

- Hook E: `applyUsageSummaryToActiveSpan` with anti-dupe policy — `a2a.task.usage.*` rollup always; `gen_ai.usage.*` only when backend OTel is off
- Hook B: `createExecutionObservability` adopted by all wrappers
- Hook C: `annotateSessionOnTaskSpan`; W3C `injectW3cTraceHeaders` for outbound calls
- Docs: usage double-count rules in `docs/observability.md`

- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [98d2027]
- @a2a-wrapper/core@2.2.0

## 0.2.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions a2a-antigravity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "a2a-antigravity",
"version": "0.2.2",
"version": "0.3.0",
"description": "A2A (Agent-to-Agent) protocol wrapper for Google Antigravity SDK. Exposes Antigravity through the shared HTTP/JSON-RPC/REST/SSE A2A surface using a private Python SDK bridge.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -59,7 +59,7 @@
},
"dependencies": {
"@a2a-js/sdk": "^1.0.0",
"@a2a-wrapper/core": "2.1.1",
"@a2a-wrapper/core": "2.2.0",
"express": "^4.18.2",
"uuid": "^9.0.0"
},
Expand Down
70 changes: 70 additions & 0 deletions a2a-claude/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# a2a-claude

## 0.5.0

### Minor Changes

- a2bfdd2: feat(otel): Phase 3 backend passthrough (Hook F)

- Core helpers: Copilot telemetry/onGetTraceContext, Claude OTel env + TRACEPARENT, Codex otel overrides
- `withSpan` activates real OTel context so parent-link works
- Shared `otel.exporter` endpoint inheritance
- Wire Copilot / Claude / Codex; OpenCode/Antigravity documented

- a2bfdd2: feat(otel): Phase 5 attribute ownership + gateway ID mapping

- docs/otel-attribute-ownership.md aligned with draft GenAI A2A #254
- Span attrs: gen_ai.operation.name, a2a.method.name, session.id, a2a.gateway.\*
- extractA2ATraceContext reads conversation/session/passkey/spectrum/ticket metadata
- Claude + Codex applyUsageSummaryToActiveSpan + x-usage on completed turns

- a2bfdd2: feat(otel): Phoenix demo, package identity attrs, usage flags

- Replace Jaeger compose requirement with Arize Phoenix (`phoenix serve`, optional Docker)
- CLI bootstrap defaults to `http/protobuf` via `@opentelemetry/exporter-trace-otlp-proto` (Phoenix rejects JSON)
- Stamp `a2a.wrapper.core.version`, `a2a.wrapper.sdk`, `a2a.wrapper.sdk.version` on task spans
- Wire all wrapper servers with package name/version
- `otel.taskUsageRollup` (default true) + `otel.annotateUsageCalls` (default false; Claude/Codex per-call events)
- Smoke scripts: `examples/otel-stack/smoke-export.mjs` + `smoke-providers.mjs` (copilot/claude executor → Phoenix)

- 98d2027: Add `claude.outputFormat` to request structured JSON output from the Claude
session. Maps 1:1 onto the Claude Agent SDK's `Options.outputFormat`
(`{ type: "json_schema", schema }`) and is validated at startup. When set, the
SDK's `structured_output` is published as an `application/json` data part on the
`response` artifact, alongside the existing text part — text-only clients are
unaffected, and behaviour is unchanged when `outputFormat` is omitted.

The core change adds an optional, backward-compatible `structuredData` parameter
to `publishFinalArtifact` / `publishLastChunkMarker`.

### Patch Changes

- c721a74: Follow Anthropic's Agent SDK branding guidelines: describe the package as built on the Claude Agent SDK rather than "Claude Code", update package metadata, and drop the documented subscription-credential Docker mount in favour of API key (or Bedrock / Vertex) authentication.
- a2bfdd2: feat(otel): BYOK cookout + shared mock-ollama; wire CLI OTel bootstrap

- examples/mock-ollama/ — reusable fake Ollama (OpenAI + Anthropic) for any cookout
- examples/otel-stack/cookout-byok.mjs layers Phoenix/OTel on that stub
- Hand-rolled wrapper CLIs now call bootstrapOtelSdkFromConfig / shutdownOtelSdk
- CLI bootstrap uses SimpleSpanProcessor for reliable short-lived export

- a2bfdd2: fix(otel): per-wrapper OTel schema — common at top, backend knobs only for that package

OpenCode no longer advertises `otel.backend.codex` (and peers). Shared flags stay
on `otel.*`; only `otel.backend.<this-wrapper>` appears in each agent schema.

- a2bfdd2: feat(otel): Phase 2 usage mapping + shared execution observability

- Hook E: `applyUsageSummaryToActiveSpan` with anti-dupe policy — `a2a.task.usage.*` rollup always; `gen_ai.usage.*` only when backend OTel is off
- Hook B: `createExecutionObservability` adopted by all wrappers
- Hook C: `annotateSessionOnTaskSpan`; W3C `injectW3cTraceHeaders` for outbound calls
- Docs: usage double-count rules in `docs/observability.md`

- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [98d2027]
- @a2a-wrapper/core@2.2.0

## 0.4.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions a2a-claude/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "a2a-claude",
"version": "0.4.1",
"version": "0.5.0",
"description": "A2A (Agent-to-Agent) protocol wrapper for Claude via the Claude Agent SDK. Drop a JSON config file in, get a fully-spec-compliant A2A server out. Supports permission modes, MCP tools, streaming sideband events, and multi-agent delegation.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -54,7 +54,7 @@
},
"dependencies": {
"@a2a-js/sdk": "^1.0.0",
"@a2a-wrapper/core": "2.1.1",
"@a2a-wrapper/core": "2.2.0",
"@anthropic-ai/claude-agent-sdk": "0.3.286",
"express": "^4.18.2",
"uuid": "^9.0.0"
Expand Down
60 changes: 60 additions & 0 deletions a2a-codex/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
# a2a-codex

## 1.8.0

### Minor Changes

- a2bfdd2: feat(otel): Phase 3 backend passthrough (Hook F)

- Core helpers: Copilot telemetry/onGetTraceContext, Claude OTel env + TRACEPARENT, Codex otel overrides
- `withSpan` activates real OTel context so parent-link works
- Shared `otel.exporter` endpoint inheritance
- Wire Copilot / Claude / Codex; OpenCode/Antigravity documented

- a2bfdd2: feat(otel): Phase 5 attribute ownership + gateway ID mapping

- docs/otel-attribute-ownership.md aligned with draft GenAI A2A #254
- Span attrs: gen_ai.operation.name, a2a.method.name, session.id, a2a.gateway.\*
- extractA2ATraceContext reads conversation/session/passkey/spectrum/ticket metadata
- Claude + Codex applyUsageSummaryToActiveSpan + x-usage on completed turns

- a2bfdd2: feat(otel): Phoenix demo, package identity attrs, usage flags

- Replace Jaeger compose requirement with Arize Phoenix (`phoenix serve`, optional Docker)
- CLI bootstrap defaults to `http/protobuf` via `@opentelemetry/exporter-trace-otlp-proto` (Phoenix rejects JSON)
- Stamp `a2a.wrapper.core.version`, `a2a.wrapper.sdk`, `a2a.wrapper.sdk.version` on task spans
- Wire all wrapper servers with package name/version
- `otel.taskUsageRollup` (default true) + `otel.annotateUsageCalls` (default false; Claude/Codex per-call events)
- Smoke scripts: `examples/otel-stack/smoke-export.mjs` + `smoke-providers.mjs` (copilot/claude executor → Phoenix)

### Patch Changes

- 1bdaa60: Fix `subAgents` startup failure ("MCP server key "a2a-subagents" is reserved") by validating only user-supplied MCP servers before the internal bridge entry is merged. Add `defaultToolsApprovalMode` / `toolApprovalModes` to MCP server config (mapped to Codex `default_tools_approval_mode` and `tools.<name>.approval_mode`) so MCP tools can be pre-approved in headless mode with `approvalPolicy: "never"`; the sub-agent bridge is pre-approved automatically.
- a2bfdd2: feat(otel): BYOK cookout + shared mock-ollama; wire CLI OTel bootstrap

- examples/mock-ollama/ — reusable fake Ollama (OpenAI + Anthropic) for any cookout
- examples/otel-stack/cookout-byok.mjs layers Phoenix/OTel on that stub
- Hand-rolled wrapper CLIs now call bootstrapOtelSdkFromConfig / shutdownOtelSdk
- CLI bootstrap uses SimpleSpanProcessor for reliable short-lived export

- a2bfdd2: fix(otel): per-wrapper OTel schema — common at top, backend knobs only for that package

OpenCode no longer advertises `otel.backend.codex` (and peers). Shared flags stay
on `otel.*`; only `otel.backend.<this-wrapper>` appears in each agent schema.

- a2bfdd2: feat(otel): Phase 2 usage mapping + shared execution observability

- Hook E: `applyUsageSummaryToActiveSpan` with anti-dupe policy — `a2a.task.usage.*` rollup always; `gen_ai.usage.*` only when backend OTel is off
- Hook B: `createExecutionObservability` adopted by all wrappers
- Hook C: `annotateSessionOnTaskSpan`; W3C `injectW3cTraceHeaders` for outbound calls
- Docs: usage double-count rules in `docs/observability.md`

- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [a2bfdd2]
- Updated dependencies [98d2027]
- @a2a-wrapper/core@2.2.0

## 1.7.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions a2a-codex/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "a2a-codex",
"version": "1.7.2",
"version": "1.8.0",
"description": "A2A (Agent-to-Agent) protocol wrapper for OpenAI Codex SDK. Drop a JSON config file in, get a fully-spec-compliant A2A server out. Supports repository sandboxing, MCP tools, streaming sideband events, and multi-agent delegation.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -55,7 +55,7 @@
},
"dependencies": {
"@a2a-js/sdk": "^1.0.0",
"@a2a-wrapper/core": "2.1.1",
"@a2a-wrapper/core": "2.2.0",
"@openai/codex-sdk": "^0.137.0",
"express": "^4.18.2",
"uuid": "^9.0.0"
Expand Down
Loading