@tarout/cli 0.3.0 → 0.4.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.
@@ -2,9 +2,9 @@ import {
2
2
  createApiClient,
3
3
  getApiClient,
4
4
  resetApiClient
5
- } from "./chunk-NHNK5ZQ5.js";
5
+ } from "./chunk-Y6TWR3XZ.js";
6
6
  import "./chunk-5DAFGMBH.js";
7
- import "./chunk-KL3JNPAY.js";
7
+ import "./chunk-K7JK5HIL.js";
8
8
  export {
9
9
  createApiClient,
10
10
  getApiClient,
@@ -4,7 +4,7 @@ import {
4
4
  isJsonMode,
5
5
  isNonInteractiveMode,
6
6
  outputNeedsInput
7
- } from "./chunk-KL3JNPAY.js";
7
+ } from "./chunk-K7JK5HIL.js";
8
8
 
9
9
  // src/utils/prompts.ts
10
10
  import inquirer from "inquirer";
@@ -13,7 +13,12 @@ var ExitCode = {
13
13
  // Deployment-specific exit codes
14
14
  DEPLOYMENT_FAILED: 10,
15
15
  DEPLOYMENT_TIMEOUT: 11,
16
- BUILD_FAILED: 12
16
+ BUILD_FAILED: 12,
17
+ // A hosted checkout is still PENDING (not paid yet, not failed). The agent
18
+ // should resume polling (`tarout billing wait <orderId>`) or surface the
19
+ // payment URL to a human — distinct from GENERAL_ERROR so a resumable
20
+ // checkout isn't treated as a hard failure.
21
+ CHECKOUT_PENDING: 13
17
22
  };
18
23
  function exit(code) {
19
24
  process.exit(code);
@@ -10,7 +10,7 @@ import {
10
10
  isJsonMode,
11
11
  jsonError,
12
12
  outputJson
13
- } from "./chunk-KL3JNPAY.js";
13
+ } from "./chunk-K7JK5HIL.js";
14
14
 
15
15
  // src/lib/api.ts
16
16
  import { createTRPCProxyClient, httpBatchLink } from "@trpc/client";