@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.
@@ -1,6 +1,13 @@
1
1
  import { type CliDependencies, type CliIo } from "./cli.js";
2
- type McpInstallApp = "claude" | "cursor" | "codex";
3
- export declare function mcpInstallTarget(app: McpInstallApp, context: {
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<void>;
19
+ export declare function mcpInstallCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<number>;
20
+ export declare const defaultMcpInstallProcess: McpInstallProcessRunner;
13
21
  export {};
@@ -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.9.7";
1
+ export declare const CLI_VERSION = "0.11.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-network/cli",
3
- "version": "0.9.7",
3
+ "version": "0.11.0",
4
4
  "description": "Command-line interface for the non-custodial vAPI Network wallet",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {