• Alex Gladkov's avatar
    feat: platform adapter ISP, meta-tools, security hardening, structured errors,...
    · d00b8563
    Alex Gladkov создал
    
    feat: platform adapter ISP, meta-tools, security hardening, structured errors, flow orchestration, metrics — v3.4.0
    
    Major changes:
    - Refactor PlatformAdapter into segregated interfaces (CorePlatformAdapter, AppManagementAdapter, PermissionAdapter, ShellAdapter, SyncScreenshotAdapter) with type guards
    - Add meta-tool pattern via createMetaTool factory (app, browser, desktop, device, flow, input, screen, store, system, ui)
    - Introduce structured error hierarchy (DeviceNotFoundError, BrowserNoSessionError, etc.) with error codes and redaction
    - Add security hardening: shell command sanitization, URL/path validation, iOS deviceId validation
    - Add flow orchestration tools (batch_commands → flow with run/parallel actions)
    - Add metrics/telemetry collection utility
    - Extract shared context into modular files (hints, ios-helpers, shared-state, args-parser, resolve-element, get-elements)
    - Add CLI modular architecture (cli.rs, commands/, store/) with Huawei/RuStore store support
    - Add comprehensive test coverage (errors, flow, registry, sanitize, truncate, metrics, permissions, app-tools, store-tools)
    - Add GitHub Actions CI workflow
    - Fix outdated tool names in error messages, isError propagation, browser_evaluate flow blocking
    - Add .gitignore patterns for CLI binaries
    
    Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>
    d00b8563