agent-afk 5.227.0 → 5.228.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.
- package/dist/agent/goals/goal-prompt.d.ts +1 -1
- package/dist/agent/goals/goal-store.d.ts +6 -6
- package/dist/agent/goals/goal-utils.d.ts +3 -0
- package/dist/agent/goals/index.d.ts +1 -0
- package/dist/cli.mjs +252 -252
- package/dist/index.mjs +116 -116
- package/dist/telegram.mjs +138 -138
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function buildGoalPromptFragment(): string;
|
|
1
|
+
export declare function buildGoalPromptFragment(projectKey?: string): string;
|
|
@@ -8,9 +8,9 @@ export interface Goal {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const MAX_GOAL_CHARS = 500;
|
|
10
10
|
export declare function closeStore(): void;
|
|
11
|
-
export declare function getGoal(): Goal | null;
|
|
12
|
-
export declare function setGoal(text: string, sessionId?: string): Goal;
|
|
13
|
-
export declare function pauseGoal(): Goal | null;
|
|
14
|
-
export declare function resumeGoal(): Goal | null;
|
|
15
|
-
export declare function completeGoal(): Goal | null;
|
|
16
|
-
export declare function clearGoal(): boolean;
|
|
11
|
+
export declare function getGoal(projectKey?: string): Goal | null;
|
|
12
|
+
export declare function setGoal(text: string, sessionId?: string, projectKey?: string): Goal;
|
|
13
|
+
export declare function pauseGoal(projectKey?: string): Goal | null;
|
|
14
|
+
export declare function resumeGoal(projectKey?: string): Goal | null;
|
|
15
|
+
export declare function completeGoal(projectKey?: string): Goal | null;
|
|
16
|
+
export declare function clearGoal(projectKey?: string): boolean;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { resolveRepoRootSync } from '../../utils/git.js';
|
|
2
|
+
export declare const FALLBACK_KEY = "current";
|
|
3
|
+
export declare function projectKeyForCwd(cwd?: string, execFileSync?: Parameters<typeof resolveRepoRootSync>[0] extends undefined ? never : import('../../utils/git.js').ResolveRepoRootSyncOptions['execFileSync']): string;
|
|
@@ -2,3 +2,4 @@ export { getGoal, setGoal, pauseGoal, resumeGoal, completeGoal, clearGoal } from
|
|
|
2
2
|
export type { Goal, GoalStatus } from './goal-store.js';
|
|
3
3
|
export { buildGoalPromptFragment } from './goal-prompt.js';
|
|
4
4
|
export { injectGoalPrompt } from './inject.js';
|
|
5
|
+
export { projectKeyForCwd, FALLBACK_KEY } from './goal-utils.js';
|