@vapi-network/cli 0.9.2 → 0.9.5
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/README.md +8 -1
- package/dist/accounts.d.ts +3 -1
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +701 -181
- package/dist/cli.js.map +3 -3
- package/dist/dashboard.d.ts +24 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +694 -175
- package/dist/index.js.map +3 -3
- package/dist/login.d.ts +2 -0
- package/dist/setup.d.ts +2 -1
- package/dist/update-check.d.ts +13 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/login.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export declare function loginCommand(argv: string[], json: boolean, io: CliIo, d
|
|
|
3
3
|
/** Shared device-link flow used by `vapi login` and `vapi agent create`. */
|
|
4
4
|
export declare function runLoginFlow(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies, options?: {
|
|
5
5
|
routerAllowanceUsd?: number;
|
|
6
|
+
home?: string;
|
|
7
|
+
apiBase?: string;
|
|
6
8
|
}): Promise<void>;
|
|
7
9
|
export declare function logoutCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
|
8
10
|
export declare function whoamiCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
package/dist/setup.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type VapiConfig } from "@vapi-network/core";
|
|
2
2
|
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
3
3
|
export declare function setupCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
|
4
|
-
export declare function restoreVaultFromPhrase(phrase: string, config: VapiConfig, io: CliIo, dependencies: CliDependencies): Promise<{
|
|
4
|
+
export declare function restoreVaultFromPhrase(phrase: string, config: VapiConfig, io: CliIo, dependencies: CliDependencies, accountCount?: number): Promise<{
|
|
5
5
|
names: string[];
|
|
6
|
+
scannedAddresses: number;
|
|
6
7
|
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
2
|
+
type UpdateCheckOptions = {
|
|
3
|
+
argv?: string[];
|
|
4
|
+
env?: NodeJS.ProcessEnv;
|
|
5
|
+
stderrIsTTY?: boolean;
|
|
6
|
+
home?: string;
|
|
7
|
+
fetchImpl?: typeof fetch;
|
|
8
|
+
nowMs?: () => number;
|
|
9
|
+
};
|
|
10
|
+
/** Only the executable entry points check for updates, never SDK or MCP calls. */
|
|
11
|
+
export declare function runCliWithUpdateCheck(argv?: string[], io?: CliIo, dependencies?: CliDependencies, options?: UpdateCheckOptions): Promise<number>;
|
|
12
|
+
export declare function checkForUpdate(options?: UpdateCheckOptions): Promise<string | undefined>;
|
|
13
|
+
export {};
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.9.
|
|
1
|
+
export declare const CLI_VERSION = "0.9.5";
|