agent-afk 5.108.2 → 5.109.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.
|
@@ -25,6 +25,6 @@ export interface PluginSkillBody {
|
|
|
25
25
|
model?: string;
|
|
26
26
|
}
|
|
27
27
|
export declare function discoverPluginSkillBodies(pluginConfigs?: SdkPluginConfig[], opts?: CollectSkillEntriesOptions): Map<string, PluginSkillBody>;
|
|
28
|
-
export declare function discoverPluginAgents(pluginConfigs?: SdkPluginConfig[]): RegisteredAgent[];
|
|
28
|
+
export declare function discoverPluginAgents(pluginConfigs?: SdkPluginConfig[], warn?: (message: string) => void): RegisteredAgent[];
|
|
29
29
|
export declare function scanAllPluginRoots(opts?: CollectSkillEntriesOptions): SdkPluginConfig[];
|
|
30
30
|
export declare function ensurePluginEntrypointsLoaded(): Promise<void>;
|
|
@@ -3,7 +3,7 @@ export type GitStatusExecFn = (file: string, args: string[], cwd: string) => Pro
|
|
|
3
3
|
stderr: string;
|
|
4
4
|
}>;
|
|
5
5
|
export interface GitStatusSamplerOptions {
|
|
6
|
-
cwd: string;
|
|
6
|
+
cwd: string | (() => string);
|
|
7
7
|
exec?: GitStatusExecFn;
|
|
8
8
|
prTtlMs?: number;
|
|
9
9
|
branchTtlMs?: number;
|
|
@@ -12,7 +12,8 @@ export interface GitStatusSamplerOptions {
|
|
|
12
12
|
onUpdate?: () => void;
|
|
13
13
|
}
|
|
14
14
|
export declare class GitStatusSampler {
|
|
15
|
-
private readonly
|
|
15
|
+
private readonly getCwd;
|
|
16
|
+
private lastSampledCwd;
|
|
16
17
|
private readonly exec;
|
|
17
18
|
private readonly prTtlMs;
|
|
18
19
|
private readonly branchTtlMs;
|