ZacharyZhang-NY 64183428ec feat(02-03): crash recovery detection and user notification
- Enhance interruptStaleRuns to return count and mark tasks as blocked
- Add lastInterruptedCount property for bootstrap recovery check
- Add getInterruptedRunsForRecovery query method
- Add retryInterruptedTask, dismissInterruptedTask, markInterruptedTaskFailed actions
- Add recovery-needed IPC event emission in bootstrap between heartbeat and resume
- Create ipc-recovery-handlers.ts with retry/dismiss/fail IPC handlers
- Register recovery handlers in domain handler chain
- Expose recoveryRetry, recoveryDismiss, recoveryFail in preload API
- Add recovery method types to DesktopApi contract
- Create RecoveryBanner component with retry/cancel per interrupted task
- Integrate RecoveryBanner at top of Dashboard view
- Add crash recovery unit tests (9 tests)
2026-03-22 03:57:58 -04:00
2026-03-20 00:12:38 -04:00
2026-03-20 00:12:38 -04:00
2026-03-19 16:29:22 -04:00
2026-03-18 14:42:14 -04:00
2026-03-19 17:06:47 -04:00
2026-03-19 16:04:35 -04:00
2026-03-19 16:51:44 -04:00
2026-03-18 01:15:58 -04:00
2026-03-15 22:15:01 -04:00
2026-03-18 01:15:58 -04:00

AgentCompany

Cross-platform Electron desktop control plane for local-first AI agent companies.

AgentCompany is a standalone desktop application for managing multiple AI coding agents (Codex, Claude Code, Gemini CLI, OpenCode, Kimi Code) as an organization with goals, tasks, approvals, budgets, and audit trails.

Quick Start

pnpm install
pnpm dev

Verification

pnpm typecheck
pnpm lint
pnpm test:unit
pnpm test:integration
pnpm test:packages
pnpm test:e2e
pnpm build:verify

Packaging

pnpm build        # Compile + package the current host platform into /build/release
pnpm build:dir    # Compile + unpackaged directory
  • Supported targets: macOS, Windows, Linux
  • Packaging uses electron-builder
  • Local packaging cleans /build and injects a non-mutating build version
  • Local builds use ad-hoc signing (CSC_IDENTITY_AUTO_DISCOVERY=false)
  • Defaults to --publish never; override with AGENTCOMPANY_ELECTRON_PUBLISH env var

Architecture

src/
  main/              # Electron main process, IPC, orchestration, database
  preload/           # Typed bridge (contextIsolation)
  renderer/          # React UI
  shared/            # Contracts, types shared across processes
packages/
  adapter-utils/     # Shared adapter utilities
  adapter-*/         # Per-connector adapter packages
S
Description
No description provided
Readme MIT
135 MiB
0 Stars 1 Watchers 0 Forks
2026-10-10 01:31:40 +00:00
Languages
TypeScript 93.7%
Shell 3%
CSS 2.3%
Python 0.5%
JavaScript 0.4%