Skip to the content.

Stage 9 — Packaging & Polish

⚠️ These checkboxes are not a progress report. They were never ticked during the web-first migration, so an unticked box does not mean the work is outstanding. As of 2026-10-06: CI is done; desktop packaging is cancelled in favour of the PWA. Per-item breakdown: VERIFICATION.md.

Epic: Hercules Studio Status: cancelled for desktop packaging (PWA replaces it); CI, Biome, Vitest, Playwright and TypeScript strictness are all in place. noUncheckedIndexedAccess is now enabled — all 49 errors it surfaced were fixed across skills/promptDiff.ts, stores/connections.ts, platform/web.ts + web.test.ts, sdk/client.contract.test.ts, stores/consensus.ts, skills/skillPackage.ts, workflow/graph.ts, views/{LlmView,EmptyState,SkillsView}.vue and components/workflow/GraphEditor.vue. The migration found two genuine defects, not just typing nits: a list.value[0].id read across an await (a live race with a concurrent refresh) and connections.update() reading list[idx] twice where one typed object belongs. Estimate: — (dropped) Dependencies (backend): нет Dependencies (Studio): Stage 8

Почему этап отменён

Этот этап описывает упаковку Electron-приложения: NSIS-инсталлятор, portable-сборка, electron-builder, tray-иконка, electron-updater. Electron удалён — Studio теперь браузерное SPA, которое агент раздаёт на /ui.

Замены уже реализованы в ходе миграции:

Задача этого этапа Чем заменена Статус
9.1 Tray icon Отменено; PWA-shortcut (отдельная задача) ⬜ не начато
9.2 Установщик (NSIS/portable) Не нужен — открывается по URL в браузере ✅ не требуется
9.3 Автообновление Electron Не требуется; сервис-воркер обновляется при pull ✅ не требуется
9.4 Нативные уведомления Web Notification API (platform.notify) ✅ готово
9.5 CI GitHub Actions ⬜ не начато
9.6 Полное покрытие тестами 27 unit (Studio) + 14 E2E + 2233 agent ✅ частично

Оставшиеся пункты (9.1 tray, 9.5 CI, 9.6 покрытие) переносятся в PWA-задачу и CI. Задачи ниже оставлены как историческая запись и не должны выполняться — они ссылаются на удалённый electron/.

Epic: Hercules Studio Status (legacy): pending Estimate: 1-2 недели Dependencies (backend): нет Dependencies (Studio): Stage 8

Goal

Production-ready Windows installer + tray icon + auto-updater + native notifications + CI + full tests + documentation.

Tasks

9.1 — Tray icon

9.2 — Native notifications

9.3 — Auto-updater

9.4 — Packaging (electron-builder)

9.5 — CI/CD (GitHub Actions)

9.6 — Tests (full)

9.7 — Documentation

9.8 — Settings view

9.9 — Keyboard shortcuts (final)

9.10 — Polish

Acceptance criteria

Scope / Likely files

Dependencies