Skip to content

feat: add reusable agent runtime - #98

Draft
LIlGG wants to merge 1 commit into
mainfrom
feat/add-agent-runtime
Draft

feat: add reusable agent runtime#98
LIlGG wants to merge 1 commit into
mainfrom
feat/add-agent-runtime

Conversation

@LIlGG

@LIlGG LIlGG commented Aug 13, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

  • 新增可复用、不可变且支持类型化调用参数的 Agent 运行时 API。
  • 支持调用准备、步骤准备、多步骤执行、流式输出、结构化输出、取消和生命周期控制。
  • 完善无效工具输入与工具名称变更的统一恢复流程,并保留稳定的工具调用标识。
  • 为 UI Message 和模型测试工作台增加 Agent 执行、工具审批、外部工具、恢复场景及运行诊断。
  • 补充中英文 Agent SDK 文档、集成说明和完整测试覆盖。

当前自动化测试和构建均已通过。由于本地开发环境尚未配置语言模型,真实模型的工作台端到端验证仍待补充,因此先以草稿 PR 提交。

Which issue(s) this PR fixes:

Fixes

Does this PR introduce a user-facing change?

新增可复用的 Agent 运行时,并支持多步骤工具调用、工具恢复、审批、结构化输出和工作台运行诊断。

@pkg-pr-new

pkg-pr-new Bot commented Aug 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@halo-dev/ai-foundation-sdk@98

commit: 00e2d4f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant