Skip to content

v0.10.4

Latest

Choose a tag to compare

@webkubor webkubor released this 28 Jun 14:45

Added

  • agentDebugger() / agentProxy() 增加配置诊断:endpoint 未以 / 开头、flushMs / maxBytes 过小、proxy target 非 http(s) 时输出 [agent-eyes] warning。
  • 新增配置诊断测试,覆盖 agentDebugger 与 agentProxy 的 warning 行为。

Changed

  • 补强导出函数 JSDoc,让 agentDebugger()、agentProxy()、autoInstrument()、installAgentErrorReporter()、installAgentInteractionTracer() 在 IDE hover 和 .d.ts 中有更明确说明。
  • agentProxy({ extra: { configure } }) 现在会保留用户传入的 configure 回调。

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm build
  • npm pack --dry-run --json