@velajs/cli 1.23.0 → 1.25.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { GeneratedClientContract, generateClientContract } from "./client-contract.js";
2
- import { VelaConfig, defineVelaConfig, loadConfig } from "./config.js";
2
+ import { ConfigResolution, VelaConfig, defineVelaConfig, loadConfig, resolveConfig } from "./config.js";
3
3
  import { Command } from "clipanion";
4
4
  import { ModuleDescription, VelaApplication } from "@velajs/vela";
5
5
  import { SeederResult } from "@velajs/vela/seeder";
@@ -10,6 +10,8 @@ export declare class SeedCommand extends Command {
10
10
  static usage: import("clipanion").Usage;
11
11
  config: string | undefined;
12
12
  continueOnError: boolean;
13
+ list: boolean;
14
+ json: boolean;
13
15
  execute(): Promise<number>;
14
16
  }
15
17
  //#endregion
@@ -66,10 +68,8 @@ export declare class OpenApiDumpCommand extends Command {
66
68
  * introspection as the `route`/`module`/`entrypoint`/`openapi` commands, so an
67
69
  * AI agent can query a Vela app's shape over the Model Context Protocol.
68
70
  *
69
- * Deliberately does NOT extend `AppCommand`: that base disposes the app in its
70
- * `finally` the moment `run()` returns, but an MCP server must stay alive until
71
- * the transport closes. stdout is reserved for JSON-RPC framing; every human
72
- * message goes to stderr.
71
+ * The application lifetime includes the transport's close promise. stdout is
72
+ * reserved for JSON-RPC framing; every human message goes to stderr.
73
73
  */
74
74
  export declare class McpServeCommand extends Command {
75
75
  static paths: string[][];
@@ -101,6 +101,7 @@ export declare class StudioCommand extends Command {
101
101
  //#endregion
102
102
  //#region src/commands/client.command.d.ts
103
103
  export declare class ClientGenerateCommand extends Command {
104
+ #private;
104
105
  static paths: string[][];
105
106
  static usage: import("clipanion").Usage;
106
107
  config: string | undefined;
@@ -109,8 +110,28 @@ export declare class ClientGenerateCommand extends Command {
109
110
  check: boolean;
110
111
  strict: boolean;
111
112
  execute(): Promise<number>;
112
- private readDocument;
113
- private fromApp;
113
+ }
114
+ //#endregion
115
+ //#region src/commands/doctor.command.d.ts
116
+ export declare class DoctorCommand extends Command {
117
+ static paths: string[][];
118
+ static usage: import("clipanion").Usage;
119
+ config: string | undefined;
120
+ app: boolean;
121
+ json: boolean;
122
+ execute(): Promise<number>;
123
+ }
124
+ //#endregion
125
+ //#region src/commands/deploy-check.command.d.ts
126
+ /** Static application deployment preflight; never invokes Wrangler or application code. */
127
+ export declare class DeployCheckCommand extends Command {
128
+ static paths: string[][];
129
+ static usage: import("clipanion").Usage;
130
+ config: string;
131
+ environment: string;
132
+ entrypoints: string;
133
+ json: boolean;
134
+ execute(): Promise<number>;
114
135
  }
115
136
  //#endregion
116
137
  //#region src/introspect.d.ts
@@ -154,5 +175,5 @@ export declare function formatSeedResults(results: SeederResult[], log?: (messag
154
175
  /** Aligned plain-text table. Pure; returns lines. */
155
176
  export declare function renderTable(headers: string[], rows: string[][]): string[];
156
177
  //#endregion
157
- export { type EntrypointRow, type GeneratedClientContract, type RouteRow, type VelaConfig, defineVelaConfig, generateClientContract, loadConfig };
178
+ export { type ConfigResolution, type EntrypointRow, type GeneratedClientContract, type RouteRow, type VelaConfig, defineVelaConfig, generateClientContract, loadConfig, resolveConfig };
158
179
  //# sourceMappingURL=index.d.ts.map