v1.4.0

alibaba/page-agentv1.4.0Feb 27, 2026by gaomeng1900

AI Summary

This release focuses on improving tool-call robustness and updating default models. It introduces better error handling, primitive input coercion, and specific updates for Qwen models and LLM endpoints.

Key Highlights

  • Robust tool-call validation with clear error messages
  • Primitive action input coercion for small models
  • Qwen model updates including `qwen3.5-plus` default
  • Updated default LLM endpoint with legacy migration

New Features

  • Robust tool-call validation
  • Primitive action input coercion
  • Qwen model updates
  • Updated default LLM endpoint
  • Unified zod imports
  • Better Zod error formatting
  • Exported `InvokeError` and `InvokeErrorType`
  • Exported `SupportedLanguage` type

Full Release Notes

### Features

- Update Terms of Use and Privacy Policy
- **Robust tool-call validation** - Action inputs are now validated against tool schemas individually, producing clear error messages (e.g. `Invalid input for action "click_element_by_index"`) instead of unreadable union parse errors
- **Primitive action input coercion** - Small models that output `{"click_element_by_index": 2}` instead of `{"click_element_by_index": {"index": 2}}` are now auto-corrected using tool schemas
- **Qwen model updates** - Added `qwen3.5-plus` as the default free testing model; disabled `enable_thinking` for Qwen models to avoid incompatible responses
- **Updated default LLM endpoint** - Migrated demo and extension to a new testing endpoint with legacy endpoint auto-migration

### Improvements

- Unified zod imports (`* as z`) across all packages for consistency
- Better Zod error formatting with `z.prettifyError()` in LLM client
- Exported `InvokeError` and `InvokeErrorType` as values (not just types) from `@page-agent/llms`
- Exported `SupportedLanguage` type from `@page-agent/core`