@proxy-checkout/cli 0.1.1-prx-146.162.1 → 0.1.1

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.
@@ -2,5 +2,4 @@ export { cliVersion, type RunCliOptions, runCli } from "./cli.js";
2
2
  export { type CommandOptionSchema, type CommandSchema, commandSchemaDocument, commandSchemas, findCommandSchema, llmsFullDocument, } from "./command-schema.js";
3
3
  export { CliConfigStore, type CliProfile, type ResolvedCredential } from "./config.js";
4
4
  export { CliError, type CliExitCode, cliExitCodes } from "./errors.js";
5
- export { formatStripeDoctorReport, type StripeDoctorReport, stripeDoctorPathIds, stripeDoctorReport, } from "./stripe-doctor.js";
6
5
  export declare const packageName = "@proxy-checkout/cli";
@@ -2,5 +2,4 @@ export { cliVersion, type RunCliOptions, runCli } from "./cli.js";
2
2
  export { type CommandOptionSchema, type CommandSchema, commandSchemaDocument, commandSchemas, findCommandSchema, llmsFullDocument, } from "./command-schema.js";
3
3
  export { CliConfigStore, type CliProfile, type ResolvedCredential } from "./config.js";
4
4
  export { CliError, type CliExitCode, cliExitCodes } from "./errors.js";
5
- export { formatStripeDoctorReport, type StripeDoctorReport, stripeDoctorPathIds, stripeDoctorReport, } from "./stripe-doctor.js";
6
5
  export declare const packageName = "@proxy-checkout/cli";
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.packageName = exports.stripeDoctorReport = exports.stripeDoctorPathIds = exports.formatStripeDoctorReport = exports.cliExitCodes = exports.CliError = exports.CliConfigStore = exports.llmsFullDocument = exports.findCommandSchema = exports.commandSchemas = exports.commandSchemaDocument = exports.runCli = exports.cliVersion = void 0;
3
+ exports.packageName = exports.cliExitCodes = exports.CliError = exports.CliConfigStore = exports.llmsFullDocument = exports.findCommandSchema = exports.commandSchemas = exports.commandSchemaDocument = exports.runCli = exports.cliVersion = void 0;
4
4
  var cli_js_1 = require("./cli.js");
5
5
  Object.defineProperty(exports, "cliVersion", { enumerable: true, get: function () { return cli_js_1.cliVersion; } });
6
6
  Object.defineProperty(exports, "runCli", { enumerable: true, get: function () { return cli_js_1.runCli; } });
@@ -14,8 +14,4 @@ Object.defineProperty(exports, "CliConfigStore", { enumerable: true, get: functi
14
14
  var errors_js_1 = require("./errors.js");
15
15
  Object.defineProperty(exports, "CliError", { enumerable: true, get: function () { return errors_js_1.CliError; } });
16
16
  Object.defineProperty(exports, "cliExitCodes", { enumerable: true, get: function () { return errors_js_1.cliExitCodes; } });
17
- var stripe_doctor_js_1 = require("./stripe-doctor.js");
18
- Object.defineProperty(exports, "formatStripeDoctorReport", { enumerable: true, get: function () { return stripe_doctor_js_1.formatStripeDoctorReport; } });
19
- Object.defineProperty(exports, "stripeDoctorPathIds", { enumerable: true, get: function () { return stripe_doctor_js_1.stripeDoctorPathIds; } });
20
- Object.defineProperty(exports, "stripeDoctorReport", { enumerable: true, get: function () { return stripe_doctor_js_1.stripeDoctorReport; } });
21
17
  exports.packageName = "@proxy-checkout/cli";
package/dist/esm/cli.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CliConfigStore } from "./config.js";
2
2
  import { type CliIo } from "./output.js";
3
- export declare const cliVersion = "0.1.1-prx-146.162.1";
3
+ export declare const cliVersion = "0.1.1";
4
4
  export interface RunCliOptions {
5
5
  configStore?: CliConfigStore;
6
6
  environment?: NodeJS.ProcessEnv;
package/dist/esm/cli.js CHANGED
@@ -4,9 +4,8 @@ import { commandSchemaDocument, commandSchemas, llmsFullDocument } from "./comma
4
4
  import { CliConfigStore } from "./config.js";
5
5
  import { asCliError, CliError, cliExitCodes, usageError } from "./errors.js";
6
6
  import { CliOutput } from "./output.js";
7
- import { formatStripeDoctorReport, stripeDoctorPathIds, stripeDoctorReport, } from "./stripe-doctor.js";
8
7
  import { forwardSelectedDelivery, ProxyWebhooksClient, runListener, } from "./webhooks.js";
9
- export const cliVersion = "0.1.1-prx-146.162.1";
8
+ export const cliVersion = "0.1.1";
10
9
  export async function runCli(argv, options = {}) {
11
10
  const io = options.io ?? {
12
11
  isTTY: Boolean(process.stdin.isTTY && process.stdout.isTTY),
@@ -25,7 +24,7 @@ export async function runCli(argv, options = {}) {
25
24
  }
26
25
  if (parsedGlobals.options.llmsFull) {
27
26
  const document = llmsFullDocument();
28
- output.result({ document, schema_version: "2026-07-18" }, document);
27
+ output.result({ document, schema_version: "2026-07-14" }, document);
29
28
  return cliExitCodes.success;
30
29
  }
31
30
  if (parsedGlobals.args.join(" ") === "commands schema") {
@@ -101,15 +100,6 @@ async function executeCommand(input) {
101
100
  input.output.result(publicProfile(input.profileName, profile), `Authenticated profile ${input.profileName} for test merchant ${profile.merchantId}.`);
102
101
  return;
103
102
  }
104
- if (input.command.path === "stripe doctor") {
105
- const pathId = readRequiredString(input.options, "--path");
106
- const report = stripeDoctorReport(pathId);
107
- if (!report) {
108
- throw usageError(`Unknown Stripe path ID ${pathId}; expected one of ${stripeDoctorPathIds().join(", ")}`);
109
- }
110
- input.output.result({ stripe_path: report }, formatStripeDoctorReport(report));
111
- return;
112
- }
113
103
  const resolved = await input.configStore.resolveCredential({
114
104
  apiBaseUrl: input.requestedApiBase,
115
105
  profileName: input.profileName,
@@ -57,20 +57,6 @@ export const commandSchemas = [
57
57
  output: "Revocation status.",
58
58
  path: "auth logout",
59
59
  },
60
- {
61
- capabilities: [],
62
- description: "Print generated Stripe path facts, exact read/event requirements, and static readiness gates.",
63
- interactive: false,
64
- modes: ["test", "live"],
65
- options: withCommonOptions({
66
- description: "Canonical Stripe path ID such as OT-PI, OT-CO-H, OT-CO-E, or OT-CO-C.",
67
- name: "--path",
68
- required: true,
69
- type: "string",
70
- }),
71
- output: "Generated path facts and readiness status; never credentials or provider objects.",
72
- path: "stripe doctor",
73
- },
74
60
  {
75
61
  description: "Relay signed Proxy test webhooks to a loopback development server.",
76
62
  interactive: true,
@@ -222,7 +208,7 @@ export function findCommandSchema(path) {
222
208
  }
223
209
  export function commandSchemaDocument(path) {
224
210
  if (!path) {
225
- return { commands: commandSchemas, schema_version: "2026-07-18" };
211
+ return { commands: commandSchemas, schema_version: "2026-07-14" };
226
212
  }
227
213
  return findCommandSchema(path);
228
214
  }