agent-afk 5.69.0 → 5.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ export interface ScheduledTaskConfig {
7
7
  trigger?: 'cron' | 'sessionstart' | 'both';
8
8
  enabled: boolean;
9
9
  notifyOn?: 'failure' | 'always' | 'never';
10
+ notifyChat?: number | string;
10
11
  createdAt: string;
11
12
  updatedAt: string;
12
13
  }
@@ -37,6 +37,7 @@ export interface TelemetryRecord {
37
37
  export interface TaskCompletionDetails {
38
38
  responseText?: string;
39
39
  doneUnverified?: boolean;
40
+ notifyChat?: number | string;
40
41
  }
41
42
  export declare class CronScheduler {
42
43
  private readonly registry;
@@ -6,5 +6,6 @@ export interface ScheduledTask {
6
6
  cronExpression?: string;
7
7
  debounceMs?: number;
8
8
  notifyOn?: 'failure' | 'always' | 'never';
9
+ notifyChat?: number | string;
9
10
  }
10
11
  export declare function validateScheduledTask(task: ScheduledTask): void;
@@ -10,5 +10,6 @@ export interface BuildDaemonSessionFactoryOpts {
10
10
  cwd?: string;
11
11
  }
12
12
  export declare function buildDaemonSessionFactory(opts: BuildDaemonSessionFactoryOpts): (config: AgentConfig) => AgentSession;
13
+ export declare function resolveNotifyChatTarget(notifyChat: number | string | undefined, taskId: string): number | undefined;
13
14
  export declare function formatTaskCompletion(record: TelemetryRecord, details?: TaskCompletionDetails, verifyDone?: boolean): string;
14
15
  export declare function registerDaemonCommand(program: Command): void;
@@ -40,6 +40,8 @@ export interface CliConfig {
40
40
  targets?: number[];
41
41
  };
42
42
  verifyDone?: boolean;
43
+ tagOnlyChats?: number[];
44
+ chatAliases?: Record<string, number>;
43
45
  };
44
46
  interactive?: {
45
47
  worktreeAutoname?: boolean;
@@ -102,6 +104,8 @@ export interface ConfigFileSchema {
102
104
  targets?: number[];
103
105
  };
104
106
  verifyDone?: boolean;
107
+ tagOnlyChats?: number[];
108
+ chatAliases?: Record<string, number>;
105
109
  };
106
110
  interactive?: {
107
111
  worktreeAutoname?: boolean;