# Changelog All notable changes to `seal-home` will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- ## [0.9.2] - 2026-08-25 ### Fixed & Enhanced - **Real-Time Streaming Download Progress in Self-Update**: Upgraded `seal-home update` to stream download progress, mirror probe status, and live percentages directly to `stderr` in real-time, eliminating silent waiting and terminal stalling during binary upgrades. - **Fast Mirror Connectivity Probes**: Added fast 10s connection timeouts and stream chunk tracking for Gitea, fast CDN proxies, and GitHub download candidates. --- ## [0.9.1] - 2026-08-25 ### Added - **Native HTTP REST API & Documentation Server**: Added `seal-home http [--port 8787] [--host 127.0.0.1]` and `seal-home serve` to start a zero-dependency local HTTP API server. - **Interactive API Reference (`/docs`)**: Built-in interactive Scalar API documentation rendering the full OpenAPI 3.1.0 specification. - **Agent CLI & Tool Execution Endpoints**: Added `POST /api/cli` (executing arbitrary seal-home commands over HTTP with JSON responses) and `POST /api/tool/:name` (invoking granular tools directly). - **Standard RESTful API Endpoints (`/v1/*`)**: Exposed OpenAPI-mapped RESTful endpoints for corps, whoami, approval runs, rules, simulations, and decision preferences. - **Full CORS & Enterprise Header Routing**: Enabled out-of-the-box CORS support and `X-Seal-Corp` header routing for web frontends, Dify, FastGPT, and external automation workflows. --- ## [0.9.0] - 2026-08-25 ### Added - **Multi-Platform Simulation & Lifecycle Management**: Added support for multi-source system simulation (`hosecloud`, `feishu`, `weaver`, `helios`, `maycur`, `material_pack`) along with `simulation wait ` (polling batch completion), `simulation clean ` (purging test data), and `simulation specifications` (listing available templates). - **HoseCloud Deployment & Outbound Sync**: Added `deploy hosecloud` command suite (`requirements`, `list`, `get`, `status`, `configure`, `sync`) for seamless tenant credential verification, integration management, and outbound webhook synchronization. - **Audit Decision Preferences & Thinking Depth Management**: Added `preference` command suite (`get`, `decision update`, `thinking-depth set`, `thinking-depth policies list|upsert|remove`) to configure immediate decision preferences, global default thinking depth, and routing policies. - **Approval Runs Analytics & Deduplication**: Added `approval-runs stats` (with status distribution, source system aggregation, and customizable deduplication by `sourceDocumentSN`, `sourceDocumentId`, or `id`) and `approval-runs count`. - **sealai-cli Feature Parity**: Full feature superset matching all capabilities and command ergonomics of `@sealai-official/cli` (v0.3.1). --- ## [0.8.1] - 2026-08-25 ### Added - **Automated Gitea Releases Dual-Publishing**: Automated cross-publishing of compiled standalone binary assets to both GitHub Releases and Gitea (`git.ying-qing.cn`) via GitHub Actions. - **Enhanced Installer Visuals**: Added real-time progress bar, source host identifier, and human-readable byte size indicators to `install.sh`. - **One-Command Version Bumping**: Added `bun run bump ` script to automatically synchronize all manifest, documentation, OpenAPI, and bundled assets. --- ## [0.8.0] - 2026-08-25 ### Added - **Multi-Source Download & Gitea Acceleration**: Enhanced `install.sh` and `seal-home update` with intelligent multi-source racing and automatic fallback across Gitea (`git.ying-qing.cn`), GitHub Releases, and CDN mirrors, achieving lightning-fast downloads in mainland China. - **Strict Anti-Rollback & Forward-Only Enforcement**: Guarded update commands against downgrades to prevent state schema and skill definition corruption. - **Release History & Changelog Introspection**: Integrated `seal-home changelog` and `update check` with publish timestamps, author identity, and intermediate version diff calculations. - **Automated CI Tag Release Notes**: Updated GitHub Actions release workflow to extract annotated git tag messages and append GitHub-generated PR and commit notes. --- ## [0.7.1] - 2026-08-25 ### Added - **Release History & Changelog Query**: Added `seal-home changelog` and `seal-home update check` with release publish timestamps, author info, and changelog body. - **Cross-Version Diff Tracking**: Automatically computes skipped/intermediate versions (`pendingReleases`) with commit notes when local version is behind. - **Strict Downgrade Protection (Anti-rollback Guard)**: Enforced forward-only updates. Attempts to downgrade to an older version (e.g. `seal-home update 0.3.3`) are strictly blocked with explicit guidance. - **Latest Keyword Normalization**: Normalized `seal-home update latest` and `--version latest` to point cleanly to the newest release. - **Approval Runs List Alias**: Added `seal-home approval-runs list` as a friendly alias for `approval-runs search`. ### Fixed - **UNIX Pipe EPIPE Handling**: Handled `EPIPE` broken pipe errors on `process.stdout` so piped commands (e.g. `seal-home openapi | head`) exit cleanly without dumping stack traces. - **Empty Filter Guidance**: Added friendly stderr diagnostics when queries (e.g. `approval-runs summary` or `corps list`) find no records for the current date/filter. --- ## [0.7.0] - 2026-08-25 ### Added - **Zero-Dependency Native Binaries**: Compiled standalone native executables for macOS (arm64/x64), Linux (x64/arm64), and Windows (x64) via Bun compiled standalone target. - **High-Speed Release Pipeline**: GitHub Actions multi-target cross-compilation pipeline delivering release assets in under 60 seconds. - **Sudo-Free One-Line Installer**: Created `scripts/install.sh` with automatic writable path detection (`/opt/homebrew/bin` → `/usr/local/bin` → `~/.local/bin`) and macOS ad-hoc code-signing. - **Strict POSIX Stream Isolation**: Guaranteed `stdout` emits 100% pure, parseable JSON for AI agents and scripts, while diagnostics and human onboarding tips route to `stderr`. - **Simulation Batch Management**: Added `simulation create` for both HoseCloud flow IDs and material package ZIP imports. - **In-place Self-Update**: `seal-home update` atomic binary replacement with automatic global skill directory synchronization. --- ## [0.3.3] - 2026-06-13 ### Added - Initial proof-of-concept release for Seal tenant operations and Hose approval automation.