Q165: the company's profile and how it runs can be changed after onboarding

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 03:20:39 -04:00
1 parent 93c5eb2d71
commit 20c37362f3
15 files changed
+208 -37

No files matched your search

+12
View File
@@ -144,6 +144,18 @@ export interface CreateGoalInput {
dueAt?: string | null;
}
/** The company's profile and how it runs, as set after onboarding; changes apply to work from now on. */
export interface UpdateOrganizationInput {
orgId: string;
name: string;
description: string;
mission: string;
goal: string;
executionMode: "ai_ceo" | "ai_cofounder";
autoApproveHires: boolean;
reviewDeliverables: boolean;
}
export interface SetGoalDueDateInput {
orgId: string;
goalId: string;
+2
View File
@@ -37,6 +37,7 @@ import type {
DeleteTaskInput,
SetGoalDueDateInput,
SetTaskBlockedInput,
UpdateOrganizationInput,
DeleteKnowledgeEntryInput,
ResumeGoalInput,
UpdateAutomationRuleInput,
@@ -208,6 +209,7 @@ export interface DesktopApi {
taskDeleteImpact(input: { orgId: string; taskId: string }): Promise<DesktopResult<TaskDeleteImpact>>;
/** Cancels a run that has not started yet. */
setGoalDueDate(input: SetGoalDueDateInput): Promise<DesktopResult<AppSnapshot>>;
updateOrganization(input: UpdateOrganizationInput): Promise<DesktopResult<AppSnapshot>>;
cancelQueuedRun(input: { orgId: string; runId: string }): Promise<DesktopResult<AppSnapshot>>;
/** Runs older than a loaded one, for history beyond the snapshot's recent runs. */
runHistory(input: { orgId: string; beforeRunId: string | null } & ({ limit: number } | { from: RunCursor })): Promise<DesktopResult<RunHistoryPage>>;
+1
View File
@@ -88,6 +88,7 @@ export const IPC_CHANNELS = {
cancelQueuedRun: "agentcompany:cancel-queued-run",
runHistory: "agentcompany:run-history",
setGoalDueDate: "agentcompany:set-goal-due-date",
updateOrganization: "agentcompany:update-organization",
revokeConnector: "agentcompany:revoke-connector",
search: "agentcompany:search",
rendererEvent: "agentcompany:renderer-event",