A local-first multi-agent app development platform, built on PenguinHarness
fix(core,cli): AgentHub 0.4.15 so a parallel tool-call turn survives a gateway that interleaves the calls (#720)
Yaowei Zheng77a7e9f98946
diff --git a/changelog/unreleased/2026-09-14-agenthub-0.4.15.md b/changelog/unreleased/2026-09-14-agenthub-0.4.15.mdnew file mode 100644index 00000000..0a68c0c1--- /dev/null+++ b/changelog/unreleased/2026-09-14-agenthub-0.4.15.md@@ -0,0 +1,15 @@+# AgentHub 0.4.15: a turn that runs two tools in parallel survives a gateway that interleaves the calls++- **Date:** 2026-09-14+- **Type:** fix+- **Scope:** `core`, `cli`+- **PR:** [#720](https://github.com/Prism-Shadow/penguin-harness/pull/720)++[中文版](2026-09-14-agenthub-0.4.15.zh.md)++`@prismshadow/agenthub` moved from 0.4.14 to 0.4.15 (agenthub [#218](https://github.com/Prism-Shadow/agenthub/pull/218)). A turn that calls two tools in parallel through a Responses gateway that opens every call before closing any of them — Console Go streams that order — no longer loses the whole turn one request later with `400 … No function call found for function_call_output with call_id 'call_…'`.++## Details++- The four Responses clients (`openai_responses`, `gpt6`, `deepseek_v4`, `minimax_m3`) accumulated a response's function calls in a single slot, so the second call's opening overwrote the first. The assistant message then replayed only the surviving call while both tool results were replayed, and the provider rejected the orphan; the engine classified that as a provider 4xx and the Task stopped. AgentHub now carries an `item_id` on each `partial_tool_call` fragment and keys its open calls by it, falling back to the previous single-call behaviour for a server that sends none.+- `pnpm-workspace.yaml`'s `minimumReleaseAgeExclude` entry names 0.4.15 in place of 0.4.14.diff --git a/changelog/unreleased/2026-09-14-agenthub-0.4.15.zh.md b/changelog/unreleased/2026-09-14-agenthub-0.4.15.zh.mdnew file mode 100644index 00000000..c8a067f3--- /dev/null+++ b/changelog/unreleased/2026-09-14-agenthub-0.4.15.zh.md@@ -0,0 +1,15 @@+# AgentHub 0.4.15:并行调用两个工具的轮次不再被交错返回的网关弄丢++- **Date:** 2026-09-14+- **Type:** fix+- **Scope:** `core`, `cli`+- **PR:** [#720](https://github.com/Prism-Shadow/penguin-harness/pull/720)++[English](2026-09-14-agenthub-0.4.15.md)++`@prismshadow/agenthub` 从 0.4.14 升到 0.4.15(agenthub [#218](https://github.com/Prism-Shadow/agenthub/pull/218))。经由先打开全部调用、再逐个关闭的 Responses 网关(Console Go 正是这种顺序)并行调用两个工具的轮次,不再在下一次请求时整轮丢失于 `400 … No function call found for function_call_output with call_id 'call_…'`。++## 详情++- 四个 Responses 客户端(`openai_responses`、`gpt6`、`deepseek_v4`、`minimax_m3`)用单个槽位累积一次响应里的函数调用,第二个调用的打开覆盖了第一个:随后的 assistant 消息只回放幸存的那个调用,两个工具结果却都被回放,提供方拒绝了孤立的那条,引擎把它归为提供方 4xx,Task 就此停住。AgentHub 现在给每个 `partial_tool_call` 片段带上 `item_id` 并据此区分打开中的调用,服务端不发 id 时退回原先的单调用行为。+- `pnpm-workspace.yaml` 的 `minimumReleaseAgeExclude` 条目改为 0.4.15,取代 0.4.14。diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 4e6014af..abb816c2 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -36,7 +36,7 @@"@penguinharness/use-bento-slides": "workspace:*","@penguinharness/use-firecrawl": "workspace:*","@penguinharness/use-claude-code": "workspace:*",- "@prismshadow/agenthub": "^0.4.14",+ "@prismshadow/agenthub": "^0.4.15","@prismshadow/penguin-core": "workspace:*","@prismshadow/penguin-server": "workspace:*","commander": "^13.0.0",diff --git a/packages/core/package.json b/packages/core/package.jsonindex dd25c130..880ee5e8 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -69,7 +69,7 @@"@penguinharness/use-bento-slides": "workspace:*","@penguinharness/use-firecrawl": "workspace:*","@penguinharness/use-claude-code": "workspace:*",- "@prismshadow/agenthub": "^0.4.14",+ "@prismshadow/agenthub": "^0.4.15","arktype": "^2.2.3","smol-toml": "^1.3.0","yaml": "^2.5.0"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 464ebbd6..59402f1e 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -88,8 +88,8 @@ importers:specifier: workspace:*version: link:../../plugins/use-firecrawl'@prismshadow/agenthub':- specifier: ^0.4.14+ specifier: ^0.4.15'@prismshadow/penguin-core':specifier: workspace:*version: link:../core@@ -167,8 +167,8 @@ importers:specifier: workspace:*version: link:../../plugins/use-firecrawl'@prismshadow/agenthub':- specifier: ^0.4.14+ specifier: ^0.4.15arktype:specifier: ^2.2.3version: 2.2.3@@ -1506,8 +1506,8 @@ packages:engines: {node: '>=18'}hasBin: true- '@prismshadow/[email protected]':- resolution: {integrity: sha512-rxyymbF7QC+jMJf+BEZiPnOQQIkgSWZKIVAo+IOatGkTNGpUho/8Qu6hpAciSWG6LV0P2L7UxIVnfgPhRF86aw==}+ '@prismshadow/[email protected]':+ resolution: {integrity: sha512-4vWn+R8ck1ByNnljo1HS4r4s7LZRot9oNmBAduIgiQMdZyZrIEY1C23DVlMSFyCgzcxu2uuonFivPzETcKbEzA==}'@prismshadow/penguin-cli@file:packages/cli':resolution: {directory: packages/cli, type: directory}@@ -5408,7 +5408,7 @@ snapshots:dependencies:playwright: 1.61.1dependencies:'@anthropic-ai/bedrock-sdk': 0.26.4([email protected])'@anthropic-ai/sdk': 0.91.1([email protected])@@ -5423,7 +5423,7 @@ snapshots:- ws- zoddependencies:'@anthropic-ai/bedrock-sdk': 0.26.4([email protected])'@anthropic-ai/sdk': 0.91.1([email protected])@@ -5453,7 +5453,7 @@ snapshots:'@penguinharness/use-bento-slides': file:plugins/use-bento-slides'@penguinharness/use-claude-code': file:plugins/use-claude-code'@penguinharness/use-firecrawl': file:plugins/use-firecrawl- '@prismshadow/agenthub': 0.4.14([email protected])([email protected])+ '@prismshadow/agenthub': 0.4.15([email protected])([email protected])'@prismshadow/penguin-core': file:packages/core([email protected])([email protected])'@prismshadow/penguin-server': file:packages/server([email protected])commander: 13.1.0@@ -5484,7 +5484,7 @@ snapshots:'@penguinharness/use-bento-slides': file:plugins/use-bento-slides'@penguinharness/use-claude-code': file:plugins/use-claude-code'@penguinharness/use-firecrawl': file:plugins/use-firecrawl- '@prismshadow/agenthub': 0.4.14([email protected])([email protected])+ '@prismshadow/agenthub': 0.4.15([email protected])([email protected])arktype: 2.2.3smol-toml: 1.6.1yaml: 2.9.0@@ -5511,7 +5511,7 @@ snapshots:'@penguinharness/use-bento-slides': file:plugins/use-bento-slides'@penguinharness/use-claude-code': file:plugins/use-claude-code'@penguinharness/use-firecrawl': file:plugins/use-firecrawlarktype: 2.2.3smol-toml: 1.6.1yaml: 2.9.0diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex b382575b..0a12e057 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -61,4 +61,4 @@ minimumReleaseAgeExclude:- "@deepseek-ai/[email protected]"- "@deepseek-ai/[email protected]"- "@microsoft/[email protected]"- - "@prismshadow/[email protected]"+ - "@prismshadow/[email protected]"