Skip to content

Releases

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 21 Nov 07:04
  • feat: 每追加一条历史就发 message 事件,带真实 id 的完整消息;重复的 error 不发 (1.2.1)

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 08:45
  • feat: 工具调用边生成边推送——ask 流式发 tool-input-start / tool-input / tool-call(非流式、文字工具在 request-end 前补发),放行后马上执行另发一条会被等待的 tool-run,一件事一条事件 (1.2.0)
  • feat!: 宿主回调收成三个——onEvent 承载全部通知(按 type 区分的纯数据事件,可原样经 SSE 转发),onPermission / onInject 不变;新增 request-start / request-end / request-error 让每次请求尝试有明确的开始和收尾,工具调用只在开跑前发一次 tool-call (1.2.0)

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:43
  • feat: assistant / compact 消息挂上请求记录 request(模型、开始时间、首字 / 完整耗时、供应商真报的用量),发给模型时去掉 (1.1.0)
  • build(deps-dev): bump the ai-sdk group across 1 directory with 5 updates (#31)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 13:37
  • test: 进程测试兼容 Windows 路径分隔符和无信号退出
  • fix(ci): 导入检查同时认 Windows 路径分隔符
  • release: 1.0.0——TypeScript 重写完成 (#30)
  • 0.52.0: 真实重测——错误记录取原始响应体原话;真实测试改走 Agent.send 验证错误进 history,新增 responses reasoning send 多轮场景,文字工具场景加轮数保险
  • refactor!: 去掉 config.compact.maxTokens,压缩一律不限输出长度 (0.51.0)
  • feat: 模型请求出错记进 history;压缩不沿用 maxTokens;history 去掉 custom 块;responses 思考回传发全文 (0.50.0)
  • test: 真实中转站录制 / 回放测试,修 responses 引用与文字工具截断 (0.49.0)
  • ask:流式 text/reasoning 只用推送过的片段拼,删掉用不上的结算兜底(0.48.0)
  • refactor!: 压缩收进 loop/compact.ts,Reply 增加 reasoning (0.47.0)
  • refactor!: MCP.open 改为异步并直接返回连接结果,连接失败不再走 onWarning (0.46.0)
  • fix!: MCP 完全异步,从不阻塞请求 (0.45.0)
  • refactor!: 方法统一 名字.动词、缩写全大写
  • chore: 0.44.0
  • docs: README / AGENTS 同步新的回调、配置与 MCP 行为
  • fix: 对齐旧版实战细节(审计 A2–A8、B1/B2/B4–B8、C 全部)
  • docs: README / AGENTS.md 补充 reasoning 开关、压缩流式、stop 返回值、MCP 临时关闭
  • feat(ts): 按评审补齐行为(issue #30)
  • docs: README / AGENTS.md 改写为 TS 新 API 与代码结构规则(issue #30)
  • build(ts): 单文件产物内联子进程入口、生成 d.ts,切换包入口到 TS,删除旧 JS 实现(issue #30)
  • feat(ts): 实现 src/ 全部模块,新增 TS 测试(issue #30)
  • refactor(ts): 搭建 src/ 骨架与共享类型(issue #30 第一阶段)
  • refactor!: 压缩总结改用 role:'compact',不再伪装成用户消息 (0.42.0)
  • refactor: 写回原子化、connect 直接抛错、取消错误收一处 (0.41.2)
  • perf: 第一笔请求直接用它自己,重试才现拼;ask 交回真正发出去的那一份 (0.41.1)
  • refactor: Loop 直接读 agent,压缩收成一条 Loop.compact 路径 (0.41.0)
  • perf: 工具进程不复用——每次调用起一个、跑完就杀 (0.40.0)
  • refactor!: 删掉工具并发上限和 resume——工具永远全并行;继续就是 send() 不带输入 (0.39.0)

v0.38.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 14:52
  • fix: 重试边界也现拼配置——切 model/provider/system/工具表,下一笔重试就生效 (0.38.0)

v0.37.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 14:49
  • feat: 新增 retryMaxTries(最多再重试几次,默认不限,0=不重试)(0.37.0)

v0.36.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 14:15
  • feat: 支持宿主失败记录 History.error(role:'error')——存进 history、能渲染,模型永远收不到 (0.36.0)

v0.35.1

Choose a tag to compare

@github-actions github-actions released this 11 Nov 13:27
  • fix: 流中途出错时给 AI SDK 所有结算 promise 挂兜底 catch,未处理拒绝不再带走宿主进程 (0.35.1)

v0.35.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 16:12
  • feat: 宿主可传冷启动估算倍率——config.contextRatio / setContextRatio,重启后第一次估算不再用默认 0.6 (0.35.0)

v0.34.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:43
  • feat: compact-start 再带 chars / media / calibrated——能直接看出估算比例是默认值还是学来的 (0.34.0)