Commit Graph
29 Commits
Author SHA1 Message Date
ZacharyZhang-NY 69ae525cb7 Open files and replace the file row menu with real actions 2026-05-28 22:36:31 -04:00
ZacharyZhang-NY 86bb8f36cb Attach files from the chat composer via the file picker 2026-05-28 22:27:49 -04:00
ZacharyZhang-NY db679cfeb9 Add a native workspace directory picker to onboarding
Onboarding only accepted a typed workspace path, which is error-prone and
diverged from the original wizard. Add a pickDirectory IPC backed by Electron's
open-directory dialog and a Choose button beside the path field, so the founder
can select a real folder for agent artifacts.
2026-05-28 20:43:26 -04:00
ZacharyZhang-NY 216d485c58 Run skill revision tests 2026-05-23 22:56:06 -04:00
ZacharyZhang-NY 16855b696a Resolve migration reconciliation items 2026-05-23 22:46:50 -04:00
ZacharyZhang-NY e78e9a8aa0 Audit chat message mutations 2026-05-23 21:59:16 -04:00
ZacharyZhang-NY a27658b56f Wire task runs to provider gateway 2026-05-23 20:58:00 -04:00
ZacharyZhang-NY 08364c2571 Wire provider streaming request lifecycle 2026-05-23 20:20:14 -04:00
ZacharyZhang-NY 9e44cbb31b Add provider credential revocation 2026-05-23 19:39:18 -04:00
ZacharyZhang-NY 89763592de Add rollback snapshot controls 2026-05-23 18:57:18 -04:00
ZacharyZhang-NY 6768d19239 Add thread audit replay controls 2026-05-23 18:48:14 -04:00
ZacharyZhang-NY bbf90a1a62 Add SDLC review and eval controls 2026-05-23 18:39:05 -04:00
ZacharyZhang-NY bc14a2fbcb Add operations controls and SLO drills 2026-05-23 18:26:56 -04:00
ZacharyZhang-NY 1d7757c88b Add identity access controls 2026-05-23 17:58:42 -04:00
ZacharyZhang-NY 276929b855 Add provider policy usage controls 2026-05-23 17:48:46 -04:00
ZacharyZhang-NY 1ee877e630 Add permission aware search 2026-05-23 17:34:50 -04:00
ZacharyZhang-NY 38c68ca4af Add compliance controls 2026-05-23 17:25:29 -04:00
ZacharyZhang-NY 28007b3691 Add provider health adapters 2026-05-23 16:53:42 -04:00
ZacharyZhang-NY e7eb829b48 Expose OAuth and account providers in onboarding
The provider step was filtered to API_KEY only, which hid GitHub
Copilot, Google Antigravity, and GPT account from the founding-CEO
runtime picker even though they are first-class providers in the
catalog. Show every non-cloud provider, render an "Access token" field
in place of the API-key field for OAuth and account auths, and surface
a button that opens the provider's official sign-in page via the new
openExternalUrl IPC (validated to http(s) only).

OnboardingService.resolveProvider now accepts any non-cloud auth type.
Cloud providers still route through Settings since their multi-field
config does not fit the linear onboarding step.
2026-05-21 22:15:15 -04:00
ZacharyZhang-NY dc791ec984 Replace one-secret provider dialog with per-auth-type fields
OAuth, account, and cloud providers previously fell into the same
password input as API key providers, which made them impossible to
connect properly. Split the connect dialog by auth type:

- api_key: secret + model (unchanged)
- oauth_pkce / account_subscription: button that opens the provider's
  official sign-in URL in a session-partitioned BrowserWindow, then a
  paste field for the access token returned by the provider
- cloud: multi-field form (base URL, region, project, deployment,
  credential) serialized into the encrypted secret payload

Each catalog entry now carries signInUrl and credentialHelp so the
dialog can render the right instructions without baking copy into the
renderer.

Backed by a new launchProviderSignIn IPC method on ProviderService that
opens a hardened popup (nodeIntegration off, contextIsolation on,
sandbox on, permission denies) and records an audit event.
2026-05-21 21:34:18 -04:00
ZacharyZhang-NY f2ac1be5de Add org switcher with create, switch, and delete
The sidebar org button was inert: clicking it did nothing. Add a real
dropdown menu listing every organization, a "New organization" entry
that re-enters onboarding without resetting the database, and a per-org
delete affordance with inline confirmation. Active org is now persisted
in a single-row app_state table so the snapshot keeps a stable
selection across restarts and the renderer drives switching via two new
IPC channels (setActiveOrganization, deleteOrganization).

- migration 006 adds app_state(id=1, active_org_id, updated_at)
- snapshot resolves active org from app_state with the first-org fallback
- OrganizationService gains setActive + delete + bootstrap upsert
- new OrgSwitcher renderer component keeps Shell.tsx lean
2026-05-21 21:30:00 -04:00
ZacharyZhang-NY 1f78ae6f2e Track per-employee chat read state and surface real unread counts
Adds chat_read_state migration (employee_id + space_id, last read
message + timestamp) wired through ChatService.markSpaceRead, IPC
markChatSpaceRead, and an effect in ChatPage that flushes the active
space whenever the latest message id changes.

Shell.computeBadges now derives the Messages badge from
(message.createdAt > read_state.last_read_at) minus messages the viewer
sent, so the sidebar shows true unread instead of total throughput.
2026-05-21 20:25:07 -04:00
ZacharyZhang-NY 74266566b7 Rebuild AgentCompany-New renderer to match design spec
- Port design tokens, sidebar, topbar, and icons to inline SVG set
- Rewrite each page (Home/Team/Work/Chat/Files/Approvals/Social/Settings)
  to drive real snapshot data and match the bento, kanban, three-pane chat,
  file tree + pinned cards, approval queue, social schedule + calendar,
  and settings sub-nav layouts
- Split Chat and Settings into per-concern subcomponents so every file
  stays under 500 lines
- Add schema v4 for pinned files and scheduled posts plus IPC + service
  wiring; cover new behavior in unit tests
- Update onboarding labels and Hire form to remove ambiguity for the
  expanded e2e suite (all settings tabs + 8 routes at 1280 and 980)
2026-05-21 19:42:38 -04:00
ZacharyZhang-NY 83a51c6881 Wire real page actions to persisted data 2026-05-21 08:54:58 -04:00
ZacharyZhang-NY 6992b3e70e Implement original onboarding bootstrap 2026-05-21 08:43:50 -04:00
ZacharyZhang-NY 49c1dd2888 Add migration verification reports 2026-05-20 23:42:53 -04:00
ZacharyZhang-NY 0e920b409a Add skill runtime snapshots 2026-05-20 23:38:56 -04:00
ZacharyZhang-NY c694b7fc2c Add provider gateway and collaboration records 2026-05-20 23:35:30 -04:00
ZacharyZhang-NY fcf6d90731 Rebuild AgentCompany Electron app 2026-05-20 23:27:00 -04:00