Q166: workspaces can be edited, made primary and removed

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:32:03 -04:00
1 parent 20c37362f3
commit e8722cd815
12 files changed
+247 -9

No files matched your search

+8
View File
@@ -171,6 +171,14 @@ export interface CreateProjectInput {
leadAgentId: string | null;
}
export interface UpdateWorkspaceInput {
orgId: string;
workspaceId: string;
name: string;
localPath: string;
projectId: string | null;
}
export interface CreateWorkspaceInput {
orgId: string;
name: string;
+4
View File
@@ -38,6 +38,7 @@ import type {
SetGoalDueDateInput,
SetTaskBlockedInput,
UpdateOrganizationInput,
UpdateWorkspaceInput,
DeleteKnowledgeEntryInput,
ResumeGoalInput,
UpdateAutomationRuleInput,
@@ -210,6 +211,9 @@ export interface DesktopApi {
/** Cancels a run that has not started yet. */
setGoalDueDate(input: SetGoalDueDateInput): Promise<DesktopResult<AppSnapshot>>;
updateOrganization(input: UpdateOrganizationInput): Promise<DesktopResult<AppSnapshot>>;
updateWorkspace(input: UpdateWorkspaceInput): Promise<DesktopResult<AppSnapshot>>;
setPrimaryWorkspace(input: { orgId: string; workspaceId: string }): Promise<DesktopResult<AppSnapshot>>;
deleteWorkspace(input: { orgId: string; workspaceId: string }): 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>>;
+3
View File
@@ -89,6 +89,9 @@ export const IPC_CHANNELS = {
runHistory: "agentcompany:run-history",
setGoalDueDate: "agentcompany:set-goal-due-date",
updateOrganization: "agentcompany:update-organization",
updateWorkspace: "agentcompany:update-workspace",
setPrimaryWorkspace: "agentcompany:set-primary-workspace",
deleteWorkspace: "agentcompany:delete-workspace",
revokeConnector: "agentcompany:revoke-connector",
search: "agentcompany:search",
rendererEvent: "agentcompany:renderer-event",