chore(release): bump to 1.25.4 for output-truncation recovery
Pin package.json, package-lock.json and the literal APP_VERSION together, add 1.25.4 to the controlled-release version allowlist, and record the output-truncation recovery in the changelog.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Agent Workbench 更新记录
|
||||
|
||||
## 1.25.4 · 输出上限截断的有界恢复(已本地交付)
|
||||
- 模型响应在单次 output token 上限处被截断(Chat finish_reason=length、Messages max_tokens、Responses max_output_tokens)时,整条响应仍被拒绝、不执行任何工具(即使其中一个工具参数已完整也不落地,避免应用被截断的半成品),但诊断改为可执行提示:说明是输出上限、要求把多文件提案拆成每次一个 propose_file/propose_patch 或分多轮 prepare_change_set,并带稳定字段 reason=output_truncated。
|
||||
- runtime 对该截断做有界恢复:不再直接结束 Run,而是把拆分提示作为独立一轮加入模型对话后继续;每个 Run 最多恢复 2 次,超过仍以原诊断失败。被截断的助手轮次不写入历史,失败尝试与其用量照常计入、不记为未知。
|
||||
- 该截断不再冷却模型连接:连接本身响应正常,仅模型超出输出预算,恢复轮次可继续命中同一连接。
|
||||
- 夹具 HTTP 回归覆盖截断→注入拆分提示→恢复继续,以及恢复上限耗尽后以 output_truncated 失败、0 工具执行;相关面与全量(环境相关 pytest 与并发超时除外)、build 通过。
|
||||
|
||||
## 1.25.3 · 上游模型目录、推理控制与兼容能力配套(已本地交付)
|
||||
|
||||
- 模型中心增加“推理与能力”:按品牌或自定义兼容格式选择默认、关闭、开启、强度及 Messages 推理预算,保存、导入和实际请求使用同一份参数。
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "local-agent-workbench",
|
||||
"version": "1.25.3",
|
||||
"version": "1.25.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "local-agent-workbench",
|
||||
"version": "1.25.3",
|
||||
"version": "1.25.4",
|
||||
"dependencies": {
|
||||
"@babel/parser": "7.29.11",
|
||||
"@peculiar/x509": "3.1.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "local-agent-workbench",
|
||||
"version": "1.25.3",
|
||||
"version": "1.25.4",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "A local coding workbench with explicit tool execution, reviewable changes and recoverable sessions.",
|
||||
|
||||
@@ -22,7 +22,7 @@ export async function verifyControlledApi({ api, url, token, directory, appRoot,
|
||||
const origin = new URL(url);
|
||||
assert.equal(origin.hostname, '127.0.0.1'); assert.notEqual(origin.port, '4318');
|
||||
const expectedVersion = JSON.parse(fs.readFileSync(path.join(appRoot, fs.existsSync(path.join(appRoot, 'MANIFEST.json')) ? 'MANIFEST.json' : 'package.json'), 'utf8')).version;
|
||||
assert.ok(['1.14.0', '1.15.0', '1.16.0', '1.17.0', '1.18.0', '1.19.0', '1.20.0', '1.20.1', '1.20.2', '1.20.3', '1.21.0', '1.22.0', '1.22.1', '1.23.0', '1.24.0', '1.24.1', '1.24.2', '1.24.3', '1.24.4', '1.24.5', '1.24.6', '1.24.7', '1.24.8', '1.24.9', '1.25.0', '1.25.1', '1.25.2', '1.25.3'].includes(expectedVersion));
|
||||
assert.ok(['1.14.0', '1.15.0', '1.16.0', '1.17.0', '1.18.0', '1.19.0', '1.20.0', '1.20.1', '1.20.2', '1.20.3', '1.21.0', '1.22.0', '1.22.1', '1.23.0', '1.24.0', '1.24.1', '1.24.2', '1.24.3', '1.24.4', '1.24.5', '1.24.6', '1.24.7', '1.24.8', '1.24.9', '1.25.0', '1.25.1', '1.25.2', '1.25.3', '1.25.4'].includes(expectedVersion));
|
||||
const bootstrap = await api('/bootstrap'); assert.equal(bootstrap.version, expectedVersion);
|
||||
assert.equal(bootstrap.config.mode, 'demo'); assert.equal(bootstrap.config.hasKey, false);
|
||||
const root = path.join(directory, 'compiled-controlled-node'), hooks = path.join(directory, 'disabled-hooks');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { randomUUID, createHash } from 'node:crypto';
|
||||
|
||||
export const APP_VERSION = '1.25.3';
|
||||
export const APP_VERSION = '1.25.4';
|
||||
|
||||
export function executionEnvironment() {
|
||||
const windows = process.platform === 'win32';
|
||||
|
||||
Reference in New Issue
Block a user