diff --git a/CHANGELOG.md b/CHANGELOG.md index c04bf1f..fd95f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - **Dual-repo commercial structure** — agents-orchestrator/agents-orchestrator private repo as commercial source of truth, DexterFromLab/agent-orchestrator as community mirror. Two git remotes (origin + orchestrator) configured locally -- **agor-pro plugin crate** — Tauri 2.x plugin for commercial features. Feature-gated via `--features pro`. Registered via `app.handle().plugin(agor_pro::init())` in setup(). Scaffold with `pro_status` command +- **agor-pro plugin crate** — Tauri 2.x plugin for commercial features. Feature-gated via `--features pro`. Registered via `app.handle().plugin(agor_pro::init())` in setup() +- **Analytics Dashboard (Pro)** — `pro_analytics_summary`, `pro_analytics_daily`, `pro_analytics_model_breakdown` commands. Period-based queries (7/14/30/90d) against session_metrics. AnalyticsSummary, DailyStats, ModelBreakdown structs +- **Session Export (Pro)** — `pro_export_session`, `pro_export_project_summary` commands. Generates Markdown reports with metrics tables, conversation logs (500-char truncation), error sections +- **Multi-Account Profiles (Pro)** — `pro_list_accounts`, `pro_get_active_account`, `pro_set_active_account` commands. Account definitions in ~/.config/agor/accounts.json, active-account file switching +- **Pro IPC bridge** — `src/lib/commercial/pro-bridge.ts` with typed interfaces for all 9 plugin commands - **Commercial Tauri config overlay** — `tauri.conf.commercial.json` with separate bundle ID (`com.agentsorchestrator.pro`) and updater endpoints +- **Asymmetric test configuration (updated)** — Pro edition now runs 521 vitest (507 community + 14 commercial) + 168 cargo tests (160 + 8 agor-pro) +- **14 commercial vitest tests** — Bridge type verification, IPC command invocation tests for analytics, export, and profiles modules - **Asymmetric test configuration** — `AGOR_EDITION=pro` env var enables `tests/commercial/` in vitest. Pro: 509 tests, Community: 507 tests. Same framework, different coverage - **CI leak prevention** — `leak-check.yml` blocks commercial code on community pushes. `commercial-build.yml` validates pro edition. `pat-health.yml` weekly PAT monitoring - **Pre-push hook** — `.githooks/pre-push` detects and blocks commercial paths when pushing to origin diff --git a/TODO.md b/TODO.md index 56f00cf..b388b1e 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,7 @@ ## Dual-Repo & Commercial -- [ ] **First commercial feature** — Implement initial agor-pro feature inside the plugin crate, verify both editions build/test independently. +- [ ] **Pro Svelte components** — AnalyticsDashboard, SessionExporter, AccountSwitcher components + wire into ProjectBox Pro tab. Rust backend and bridge done. - [ ] **CLA setup** — Configure CLA-assistant.io on community repo (DexterFromLab/agent-orchestrator) before accepting external PRs. - [ ] **Community export workflow** — Define and document the process for stripping commercial content and pushing to DexterFromLab origin. - [ ] **Dual CI validation** — Verify both leak-check.yml and commercial-build.yml workflows work in GitHub Actions. @@ -23,6 +23,7 @@ ## Completed +- [x] 3 commercial features (analytics, export, profiles) — Rust + bridge + 14 tests | Done: 2026-03-17 - [x] bterminal→agor rebrand + dual-repo commercial structure | Done: 2026-03-17 - [x] Tribunal-codex dual-repo strategy (S-3+S-1 hybrid, 80% confidence) | Done: 2026-03-17 - [x] Plugin sandbox migration — Web Worker isolation, 26 tests | Done: 2026-03-15