agent-afk 5.34.0 → 5.35.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/plugins-scanner.d.ts +2 -0
- package/dist/agent/providers/anthropic-direct/usage-limit.d.ts +2 -2
- package/dist/agent/providers/openai-compatible/query/retry.d.ts +2 -0
- package/dist/agent/providers/shared/retry-after.d.ts +2 -0
- package/dist/cli.mjs +421 -421
- package/dist/config/import-sources.d.ts +6 -1
- package/dist/index.mjs +148 -148
- package/dist/telegram.mjs +193 -193
- package/package.json +1 -1
|
@@ -8,12 +8,16 @@ export interface ImportAssetToggles {
|
|
|
8
8
|
export type ImportFromConfig = Partial<Record<ImportSourceBinary, ImportAssetToggles>>;
|
|
9
9
|
export type ImportedSkillOrigin = `imported:${ImportSourceBinary}`;
|
|
10
10
|
export type McpConfigFormat = 'json' | 'toml';
|
|
11
|
+
export type SourceEnabledMap = ReadonlyMap<string, boolean>;
|
|
11
12
|
export declare const KNOWN_SOURCE_LABELS: Record<ImportSourceBinary, string>;
|
|
12
13
|
export declare function parseImportFromConfig(raw: unknown): ImportFromConfig | undefined;
|
|
13
14
|
export declare function importFromConfigPaths(): string[];
|
|
14
15
|
export declare function loadImportFromConfig(configPaths?: readonly string[]): ImportFromConfig | undefined;
|
|
15
16
|
export interface ResolvedImportRoots {
|
|
16
|
-
pluginRoots:
|
|
17
|
+
pluginRoots: Array<{
|
|
18
|
+
dir: string;
|
|
19
|
+
binary: ImportSourceBinary;
|
|
20
|
+
}>;
|
|
17
21
|
skillRoots: Array<{
|
|
18
22
|
dir: string;
|
|
19
23
|
origin: ImportedSkillOrigin;
|
|
@@ -24,6 +28,7 @@ export interface ResolvedImportRoots {
|
|
|
24
28
|
}>;
|
|
25
29
|
}
|
|
26
30
|
export declare function resolveImportedRoots(config: ImportFromConfig | undefined, home?: string): ResolvedImportRoots;
|
|
31
|
+
export declare function readSourceEnabledState(binary: ImportSourceBinary, home?: string): SourceEnabledMap;
|
|
27
32
|
export interface DetectedAsset {
|
|
28
33
|
name: string;
|
|
29
34
|
path: string;
|