@vapi-network/cli 0.9.7 → 0.11.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/README.md +7 -1
- package/dist/cli.d.ts +2 -1
- package/dist/cli.js +1146 -214
- package/dist/cli.js.map +3 -3
- package/dist/index.js +1146 -214
- package/dist/index.js.map +3 -3
- package/dist/mcp-install.d.ts +11 -3
- package/dist/publish-client.d.ts +0 -14
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/mcp-install.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
2
|
-
type McpInstallApp = "claude" | "cursor" | "codex";
|
|
3
|
-
|
|
2
|
+
type McpInstallApp = "claude-code" | "claude-desktop" | "cursor" | "codex";
|
|
3
|
+
type McpFileInstallApp = Exclude<McpInstallApp, "claude-code">;
|
|
4
|
+
export type McpInstallProcessResult = {
|
|
5
|
+
exitCode: number | null;
|
|
6
|
+
stdout: string;
|
|
7
|
+
stderr: string;
|
|
8
|
+
};
|
|
9
|
+
export type McpInstallProcessRunner = (command: string, args: readonly string[]) => Promise<McpInstallProcessResult>;
|
|
10
|
+
export declare function mcpInstallTarget(app: McpFileInstallApp, context: {
|
|
4
11
|
platform: NodeJS.Platform;
|
|
5
12
|
homedir: string;
|
|
6
13
|
cwd: string;
|
|
@@ -9,5 +16,6 @@ export declare function mcpInstallTarget(app: McpInstallApp, context: {
|
|
|
9
16
|
path: string;
|
|
10
17
|
format: "json" | "toml";
|
|
11
18
|
};
|
|
12
|
-
export declare function mcpInstallCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<
|
|
19
|
+
export declare function mcpInstallCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<number>;
|
|
20
|
+
export declare const defaultMcpInstallProcess: McpInstallProcessRunner;
|
|
13
21
|
export {};
|
package/dist/publish-client.d.ts
CHANGED
|
@@ -65,19 +65,6 @@ export type PayoutNonce = Readonly<{
|
|
|
65
65
|
nonce: string;
|
|
66
66
|
message?: string;
|
|
67
67
|
}> & Readonly<Record<string, unknown>>;
|
|
68
|
-
export type SplitterNetworkState = Readonly<{
|
|
69
|
-
network?: string;
|
|
70
|
-
name?: string;
|
|
71
|
-
chainId?: number;
|
|
72
|
-
factoryAddress?: string;
|
|
73
|
-
splitterAddress?: string;
|
|
74
|
-
deployed?: boolean;
|
|
75
|
-
balanceWei?: string;
|
|
76
|
-
}> & Readonly<Record<string, unknown>>;
|
|
77
|
-
export type SplitterStates = Readonly<{
|
|
78
|
-
networkStates?: readonly SplitterNetworkState[];
|
|
79
|
-
feeBp?: number;
|
|
80
|
-
}> & Readonly<Record<string, unknown>>;
|
|
81
68
|
export type ListingEndpointInput = {
|
|
82
69
|
name: string;
|
|
83
70
|
method: string;
|
|
@@ -156,7 +143,6 @@ export type ListingsClient = {
|
|
|
156
143
|
mode?: ProbeMode;
|
|
157
144
|
}): Promise<ProbeResult>;
|
|
158
145
|
payoutNonce(wallet: string): Promise<PayoutNonce>;
|
|
159
|
-
splitters(wallet: string): Promise<SplitterStates>;
|
|
160
146
|
create(input: CreateListingInput): Promise<CreatedListing>;
|
|
161
147
|
status(slug: string, action: ListingStatusAction): Promise<ListingStatusResult>;
|
|
162
148
|
mine(): Promise<MyListings>;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.
|
|
1
|
+
export declare const CLI_VERSION = "0.11.0";
|