Skip to content

feat: publish WebAI2API Agent tool-calling fork - #121

Draft
passionsugar wants to merge 7 commits into
foxhui:mainfrom
passionsugar:feat/agent-compatibility-layer
Draft

feat: publish WebAI2API Agent tool-calling fork#121
passionsugar wants to merge 7 commits into
foxhui:mainfrom
passionsugar:feat/agent-compatibility-layer

Conversation

@passionsugar

@passionsugar passionsugar commented Aug 16, 2026

Copy link
Copy Markdown

What changed

This branch publishes the Agent / Tool Calling compatibility edition of WebAI2API. It preserves the upstream legacy chat and browser-adapter behavior and adds a Universal Agent IR, OpenAI Chat Completions and minimal Responses protocol adapters, strategy/parser registries, bounded tool-call continuation, and Responses state handling.

Verification

  • npm test: 43/43 passing.
  • 118 tracked JavaScript files pass node --check.
  • Chat and Responses tool-call/SSE fixtures pass, including role: tool, tool_call_id, function_call_output, call_id, and previous_response_id.
  • Isolated Codex CLI and OpenClaw loops were previously verified with real file reads, edits, command exit codes, and UUID side effects.

Scope and limits

The compatibility layer is disabled by default and never executes client tools. Real web-loop evidence covers the ChatGPT web adapter with the recorded Codex/OpenClaw canaries; Qwen, Gemini, Anthropic, Claude Code, every inherited adapter, and parallel execution remain unverified. The public fork keeps the original MIT license and attribution.

@passionsugar
passionsugar force-pushed the feat/agent-compatibility-layer branch from 6eeb6ab to ae853e4 Compare August 16, 2026 16:24
@passionsugar passionsugar changed the title fix: harden browser agent tool continuations feat: publish WebAI2API Agent tool-calling fork Aug 16, 2026
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