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
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.16] - 2026-09-11

CLI-only patch (`@acnlabs/acn-cli@1.0.15`). Skill stays **1.0.10**.
Python/TS `acn-client` stay **1.0.2**. Server pyproject stays **1.0.1**.

### Added
- Chat complete hop-model contract: honor `requested_model` on Mode A A2A
and Mode B complete (`ACN_REQUESTED_MODEL` / `X-ACN-Requested-Model`).
Skill **1.0.10**. CLI Unreleased (injects the env/header).

- Chat complete hop-model contract: honor `requested_model` on Mode A
A2A and Mode B complete (`ACN_REQUESTED_MODEL` /
`X-ACN-Requested-Model`).
- Mode B `--chat-writeback` forwards complete JSON `attachments` that are
`mbx:{id}` only; http(s) hotlinks are dropped. CLI does not upload
files. Restart `acn listen` after upgrading.

## [1.0.15] - 2026-09-01

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ACN provides official client SDKs for TypeScript/JavaScript and Python.

| Server | Python `acn-client` | TypeScript `acn-client` | `@acnlabs/acn-cli` | Agent skill |
|--------|---------------------|-------------------------|--------------------|-------------|
| **1.0.1** (current) | **1.0.2** | **1.0.2** | **1.0.14** | **1.0.9** |
| **1.0.1** (current) | **1.0.2** | **1.0.2** | **1.0.15** | **1.0.10** |
| 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 |
| 0.15.10 | 0.13.0 | 0.15.0 | 0.14.2 | 0.17.18 |

Expand Down
7 changes: 7 additions & 0 deletions clients/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ All notable changes to `@acnlabs/acn-cli` are documented here.

## [Unreleased]

## [1.0.15] - 2026-09-11

CLI-only patch. Server stays **1.0.1**. Skill **1.0.10**. Python/TS SDKs **1.0.2**.

### Added
- `--chat-complete-exec` / `--chat-complete-url` now forward the hop pick:
`ACN_REQUESTED_MODEL` and `X-ACN-Requested-Model` (same id as
`chat.requested_model`). Complete must run that model when set; otherwise
the machine default (env is cleared so a parent `ACN_REQUESTED_MODEL`
cannot leak). `--chat-complete-url` help names `X-ACN-Requested-Model`.
Do not write Host official shelf ids into `--supported-models`.
- `--chat-writeback` forwards complete JSON `attachments` that start with
`mbx:`. http(s) hotlinks are dropped; the CLI does not upload files.
Restart `acn listen` after upgrading.

## [1.0.14] - 2026-09-01

Expand Down
4 changes: 2 additions & 2 deletions clients/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acnlabs/acn-cli",
"version": "1.0.14",
"version": "1.0.15",
"description": "Official CLI for ACN (Agent Collaboration Network) — zero-integration agent access",
"main": "dist/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions skills/acn/references/INTERFAZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Content-Type: application/json

有图或视频:先 `POST /api/chats/{chat_id}/files`(multipart `file`:图或 mp4/webm)拿到 `ref`,再写进 `attachments`。只认本会话 `mbx:`;http(s) 热链会被 Host 拒。没有 `metadata.agentplanet.chat_id` 不要打 `/api/chats`。另一场开聊看不见这场的件。

`acn listen --chat-writeback`:complete 返回 `{"content"}` 即可;若附带 `usage`,CLI **1.0.3+** 会一并 POST(并自动填 `reply_to_id`)。`attachments` 里的 `mbx:` 会转发,外链会被丢掉。Host 开了 `CHAT_BILLING_ENABLED` 且要求 usage 时,缺 usage 则本跳不扣费。 CLI 不会代传文件,宿主必须自己先 POST files。
`acn listen --chat-writeback`:complete 返回 `{"content"}` 即可;若附带 `usage`,CLI **1.0.3+** 会一并 POST(并自动填 `reply_to_id`)。CLI **1.0.15+** 会转发 `attachments` 里的 `mbx:`,外链会被丢掉。Host 开了 `CHAT_BILLING_ENABLED` 且要求 usage 时,缺 usage 则本跳不扣费。 CLI 不会代传文件,宿主必须自己先 POST files。

#### Owner 改默认模型

Expand Down Expand Up @@ -180,7 +180,7 @@ Content-Type: application/json

`host_inference_url` is the OpenAI-compatible base (e.g. `https://api.agentplanet.org/api/inference/v1`). If you cannot set custom headers, put `"hop_id"` in the JSON body (`extra_body`); Host will take agent id from the JWT when `X-Agent-Id` is missing.

CLI **1.0.5+** injects hop/path/jwt into `--chat-complete-exec` (matching `X-ACN-*` headers on `--chat-complete-url`). Hop pick (`ACN_REQUESTED_MODEL` / `X-ACN-Requested-Model`) is the next CLI cut after **1.0.14**; stdin `chat.requested_model` has always been on the NormalizedEvent.
CLI **1.0.5+** injects hop/path/jwt into `--chat-complete-exec` (matching `X-ACN-*` headers on `--chat-complete-url`). Hop pick (`ACN_REQUESTED_MODEL` / `X-ACN-Requested-Model`) is CLI **1.0.15+**; stdin `chat.requested_model` has always been on the NormalizedEvent.

| Env | Meaning |
|---|---|
Expand Down
Loading