Q160: a goal's pace is measured against its target date, and claimed only when it has one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
459dcf0ea2
commit
c9117fe46d
18 files changed
+172
-24
No files matched your search
@@ -140,6 +140,15 @@ export interface CreateGoalInput {
|
||||
title: string;
|
||||
description: string;
|
||||
ownerAgentId: string | null;
|
||||
/** When the goal is planned to be reached; omitted means no target date. */
|
||||
dueAt?: string | null;
|
||||
}
|
||||
|
||||
export interface SetGoalDueDateInput {
|
||||
orgId: string;
|
||||
goalId: string;
|
||||
/** ISO time the goal is planned to be reached, or null to clear it. */
|
||||
dueAt: string | null;
|
||||
}
|
||||
|
||||
export interface CreateProjectInput {
|
||||
|
||||
@@ -35,6 +35,7 @@ import type {
|
||||
DeleteAutomationRuleInput,
|
||||
DeleteDocumentInput,
|
||||
DeleteTaskInput,
|
||||
SetGoalDueDateInput,
|
||||
SetTaskBlockedInput,
|
||||
DeleteKnowledgeEntryInput,
|
||||
ResumeGoalInput,
|
||||
@@ -206,6 +207,7 @@ export interface DesktopApi {
|
||||
/** What deleting a task would remove, keep and close. */
|
||||
taskDeleteImpact(input: { orgId: string; taskId: string }): Promise<DesktopResult<TaskDeleteImpact>>;
|
||||
/** Cancels a run that has not started yet. */
|
||||
setGoalDueDate(input: SetGoalDueDateInput): 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>>;
|
||||
|
||||
@@ -172,6 +172,8 @@ export interface GoalRecord {
|
||||
ownerAgentId: string | null;
|
||||
/** Set when the goal's review loop stopped without a decision. */
|
||||
stalledReason: string | null;
|
||||
/** When the goal is planned to be reached; null when no target date was set. */
|
||||
dueAt: string | null;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@ export const IPC_CHANNELS = {
|
||||
taskDeleteImpact: "agentcompany:task-delete-impact",
|
||||
cancelQueuedRun: "agentcompany:cancel-queued-run",
|
||||
runHistory: "agentcompany:run-history",
|
||||
setGoalDueDate: "agentcompany:set-goal-due-date",
|
||||
revokeConnector: "agentcompany:revoke-connector",
|
||||
search: "agentcompany:search",
|
||||
rendererEvent: "agentcompany:renderer-event",
|
||||
|
||||
Reference in new issue
Block a user