@vapi-network/cli 0.9.6 → 0.9.7

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.
@@ -15,7 +15,7 @@ import type { Address } from "viem";
15
15
  /** The categories the registry's listing form accepts. */
16
16
  export declare const LISTING_CATEGORIES: readonly ["ai", "data", "crypto", "compute", "search"];
17
17
  export type ListingCategory = (typeof LISTING_CATEGORIES)[number];
18
- /** How the registry should read the URL it was handed. Left out, it decides. */
18
+ /** A hint for how to read the URL. The registry detects the kind itself either way. */
19
19
  export declare const PROBE_MODES: readonly ["origin", "endpoint", "openapi"];
20
20
  export type ProbeMode = (typeof PROBE_MODES)[number];
21
21
  /** The states `vapi publish` can ask a listing to move to. */
@@ -53,6 +53,8 @@ export type ProbeRejection = Readonly<{
53
53
  /** The console's `VendorProbeResult`, read tolerantly. */
54
54
  export type ProbeResult = Readonly<{
55
55
  operations?: readonly ProbeOperation[];
56
+ /** A URL that is itself one payable endpoint answers here, with `operations` empty. */
57
+ endpoint?: ProbeOperation;
56
58
  accepts?: readonly unknown[];
57
59
  diagnostics?: Readonly<{
58
60
  steps?: readonly unknown[];
@@ -87,6 +89,8 @@ export type ListingEndpointInput = {
87
89
  responseContentType?: string;
88
90
  pathTemplate?: string;
89
91
  pathParameters?: unknown;
92
+ /** The probe's signature over the metadata above; publish refuses metadata without it. */
93
+ metadataEvidence?: string;
90
94
  };
91
95
  export type CreateListingInput = {
92
96
  name: string;
@@ -185,7 +189,11 @@ export declare function buildPayoutSiweMessage(args: {
185
189
  nonce: string;
186
190
  issuedAt: string;
187
191
  }): string;
188
- /** The operations a probe found, normalized to the fields a listing needs. */
192
+ /**
193
+ * The operations a probe found, normalized to the fields a listing needs. A URL
194
+ * that is itself one payable endpoint comes back in `endpoint` rather than in
195
+ * `operations`, so that one is the operation.
196
+ */
189
197
  export declare function readProbeOperations(probe: ProbeResult): ProbeOperation[];
190
198
  /** The rejection a probe carries, or undefined when the URL passed. */
191
199
  export declare function readProbeRejection(probe: ProbeResult): ProbeRejection | undefined;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const CLI_VERSION = "0.9.6";
1
+ export declare const CLI_VERSION = "0.9.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-network/cli",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Command-line interface for the non-custodial vAPI Network wallet",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {