agent-afk 5.292.0 → 5.292.2
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/mcp/schema-validator.d.ts +2 -0
- package/dist/browser/playwright-missing.d.ts +3 -2
- package/dist/cli/commands/doctor-checks.d.ts +5 -1
- package/dist/cli.mjs +319 -319
- package/dist/index.mjs +132 -132
- package/dist/telegram.mjs +155 -155
- package/package.json +4 -2
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export declare const PLAYWRIGHT_MISSING_HINTS: readonly ["Cannot find package", "ERR_MODULE_NOT_FOUND", "Executable doesn't exist"];
|
|
2
2
|
export declare function isPlaywrightMissing(err: unknown): boolean;
|
|
3
|
-
export declare function playwrightInstallCommand(): string;
|
|
3
|
+
export declare function playwrightInstallCommand(platform?: NodeJS.Platform): string;
|
|
4
4
|
export declare function resetPlaywrightInstallCommandCache(): void;
|
|
5
5
|
export declare function hasPlaywrightInstallHint(text: string): boolean;
|
|
6
6
|
export interface PlaywrightHintOptions {
|
|
7
7
|
headless?: boolean;
|
|
8
8
|
latched?: boolean;
|
|
9
|
+
platform?: NodeJS.Platform;
|
|
9
10
|
}
|
|
10
11
|
export declare function playwrightMissingHint(err: unknown, opts?: PlaywrightHintOptions): string;
|
|
11
|
-
export declare function decoratePlaywrightLaunchError(err: unknown, headless: boolean, latched?: boolean): unknown;
|
|
12
|
+
export declare function decoratePlaywrightLaunchError(err: unknown, headless: boolean, latched?: boolean, platform?: NodeJS.Platform): unknown;
|
|
@@ -8,7 +8,11 @@ export interface Check {
|
|
|
8
8
|
export declare function checkAnthropicKey(): Promise<Check>;
|
|
9
9
|
export declare function checkCodexKey(): Promise<Check>;
|
|
10
10
|
export declare function checkXaiAuth(): Promise<Check>;
|
|
11
|
-
export
|
|
11
|
+
export interface NpmBinOnPathDeps {
|
|
12
|
+
platform?: NodeJS.Platform;
|
|
13
|
+
pathDelimiter?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function checkNpmBinOnPath(deps?: NpmBinOnPathDeps): Promise<Check>;
|
|
12
16
|
export declare function checkDirWritable(name: string, getDir: () => string): Promise<Check>;
|
|
13
17
|
export declare function checkConfigFile(): Promise<Check>;
|
|
14
18
|
export declare function checkRequiredEnvVars(): Promise<Check | null>;
|