121 lines
10 KiB
Markdown
121 lines
10 KiB
Markdown
# 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.5] - 2026-08-27
|
|
|
|
### Enhanced & Optimized
|
|
- **CI/CD Pipeline Security & Least Privilege**: Updated GitHub Actions CI to strictly enforce `permissions: contents: read` and automatic concurrency cancellation (`concurrency.cancel-in-progress: true`), preventing workflow backlogs and privilege escalation.
|
|
- **CI Build Integrity & Artifact Drift Validation**: Added automated OpenAPI bundling, MCP plugin build, and standalone binary build steps in CI, ensuring `dist/openapi.json` and `dist/mcp/server.js` stay perfectly in sync with source definitions (`git diff --exit-code`).
|
|
- **Parallel Multi-Platform Cross-Compilation**: Refactored `scripts/build-binary.mjs` to compile all 5 target platform binaries concurrently via `Promise.all`, reducing full build time by 60%+.
|
|
- **Binary & Plugin Minification**: Enabled `--minify` across standalone binary and MCP plugin builds, reducing plugin bundle size from 1.32MB down to 0.75MB and optimizing binary startup latency.
|
|
- **Automated SHA-256 Checksums Generation**: Integrated automated `checksums.txt` generation in release pipelines, allowing secure verification of binary integrity upon download.
|
|
- **Enhanced Installer (`install.sh`)**: Added support for `SEAL_HOME_VERSION` custom version targeting and automated SHA-256 integrity verification.
|
|
- **Repository Hygiene & Community Standards**: Added standard MIT `LICENSE`, `.editorconfig`, GitHub Issue Forms (`bug_report.yml`, `feature_request.yml`, `config.yml`), Pull Request template, and status badges.
|
|
|
|
---
|
|
|
|
## [0.9.4] - 2026-08-26
|
|
|
|
### Fixed & Enhanced
|
|
- **Seamless Release Mirror Fallback & Fail-Safe Routing**: Enhanced `seal-home update` release discovery and asset downloading to automatically fall through to fast CDN and GitHub direct mirrors if a primary mirror returns an incomplete/empty asset list or times out, preventing update failures during in-progress release publishing.
|
|
- **Unconditional Global Skill Synchronization**: Ensured `seal-home update` and `skill install` always overwrite and synchronize all latest embedded skill files (including `SKILL.md` and all references) to `~/.agents/skills/seal-home/`.
|
|
- **Parallel Gitea Asset Release Upload**: Optimized CI release workflow to upload release binaries in parallel, reducing publishing latency from 6+ minutes down to ~30 seconds.
|
|
|
|
---
|
|
|
|
## [0.9.3] - 2026-08-26
|
|
|
|
### Added
|
|
- **Automated Hose Enterprise Initialization & Probing**: Added `seal-home corps probe-hose` to probe enterprise metadata and discover available role definition groups via OpenAPI.
|
|
- **Multi-Domain Concurrent Probing**: Intelligently probes candidate public SaaS domains (`app.ekuaibao.com`, `dd2.hosecloud.com`, `wx2.ekuaibao.com`, `kdcloud2.ekuaibao.com`, `ddenterprise.ekuaibao.com`, `feishu.ekuaibao.com`) when `domain` is omitted, while supporting explicit custom domains for private cloud / dedicated tenants (e.g. 美年大健康).
|
|
- **OpenAPI Role & Staff Discovery**: Added `seal-home corps hose-staffs` to query members under any role (defaults to `admin`, or business roles like `财务主管`, `采购申请权限`) and batch resolve member details (name, cellphone, activation status, third-party user ID) via `POST /api/openapi/v1/staffs/getStaffIds`.
|
|
- **Strict Staff Selection Guard (Anti-Silent Activation)**: Guarded `seal-home corps add-hose` against silent administrator activation. When multiple candidate administrators exist, the system requires explicit selection (`staffId`, `staffName`, or `staffPhone`) or structured candidate confirmation.
|
|
- **Dedicated Skill Reference**: Added `skills/seal-home/references/hose-enterprise-init.md` covering domain decision tiering, OpenAPI contracts, and non-TUI Agent autonomous workflows.
|
|
|
|
---
|
|
|
|
## [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 <batchId>` (polling batch completion), `simulation clean <batchId>` (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 <version|patch|minor>` 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.
|