@lunora/cli 1.0.0-alpha.140 → 1.0.0-alpha.142

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.mts CHANGED
@@ -144,7 +144,7 @@ interface ImportCommandOptions {
144
144
  logger: Logger;
145
145
  prod?: boolean;
146
146
  /**
147
- * Wrap each line as `{table:<name>,doc:<line>}`. Use when the source NDJSON
147
+ * Wrap each line as `{table:<name>,doc:<line>}`. Use when the source NDJSON
148
148
  * is bare docs from a single table — Convex's `convex import --table users`
149
149
  * shape.
150
150
  */
@@ -161,7 +161,7 @@ interface ImportCommandResult {
161
161
  inserted: number;
162
162
  }
163
163
  /**
164
- * Stream an NDJSON file — or a `npx convex export --path &lt;dir>` directory — in
164
+ * Stream an NDJSON file — or a `npx convex export --path <dir>` directory — in
165
165
  * chunks, POSTing each batch to `/_lunora/admin/import`. The line buffer stays
166
166
  * bounded by `batchSize`, so a multi-GiB source imports without buffering
167
167
  * everything in memory.
@@ -345,13 +345,13 @@ interface DeployCommandOptions {
345
345
  /**
346
346
  * Confirm a production data migration triggered via `--migrate` (the
347
347
  * `migrate up --prod` confirmation the standalone command requires). Without
348
- * it a `--migrate --migrate-url &lt;prod>` deploy refuses to run the migration.
348
+ * it a `--migrate --migrate-url <prod>` deploy refuses to run the migration.
349
349
  */
350
350
  migrateYes?: boolean;
351
351
  /**
352
352
  * Emit the bundled worker to this directory via `wrangler deploy --outdir`
353
353
  * (paired with `dryRun` by `lunora build`). Also writes esbuild metadata to
354
- * `&lt;outDir>/bundle-meta.json`. When unset, no artifact is written.
354
+ * `<outDir>/bundle-meta.json`. When unset, no artifact is written.
355
355
  */
356
356
  outDir?: string;
357
357
  /**
@@ -408,7 +408,7 @@ interface DeployCommandResult {
408
408
  * The `.dev.vars`-shaped filename (never a full path, never a value) a
409
409
  * secret minted during this run was recorded into, when the missing-
410
410
  * secret gate minted one — `.dev.vars` for the default environment, or a
411
- * `.dev.vars.&lt;env>` sibling for an explicit `--env`. `undefined` when
411
+ * `.dev.vars.<env>` sibling for an explicit `--env`. `undefined` when
412
412
  * nothing was minted this run.
413
413
  */
414
414
  mintedSecretsFile?: string;
@@ -638,7 +638,7 @@ declare const runDevCommand: (options: DevCommandOptions) => Promise<{
638
638
  plan: DevCommandPlan;
639
639
  }>;
640
640
  type PackageManager = "pnpm" | "npm" | "yarn" | "bun";
641
- /** True when `manager` is on PATH — probed by running `&lt;manager> --version`. Injectable for tests. */
641
+ /** True when `manager` is on PATH — probed by running `<manager> --version`. Injectable for tests. */
642
642
  type PackageManagerProbe = (manager: PackageManager) => boolean;
643
643
  /** Supported CI providers. */
644
644
  type CiProvider = "github" | "gitlab";
@@ -901,12 +901,12 @@ interface InitCommandOptions {
901
901
  logger: Logger;
902
902
  name?: string;
903
903
  /**
904
- * Local directory holding create-vite bases (one `template-&lt;id>/` subdir per
904
+ * Local directory holding create-vite bases (one `template-<id>/` subdir per
905
905
  * framework). When set with `vite`, the overlay copies the base from disk
906
906
  * instead of fetching `create-vite` over the network — offline mode + tests.
907
907
  */
908
908
  overlayBaseFrom?: string;
909
- /** Probe for which package managers are installed (tests). Defaults to a real `&lt;pm> --version` check. */
909
+ /** Probe for which package managers are installed (tests). Defaults to a real `<pm> --version` check. */
910
910
  packageManagerProbe?: PackageManagerProbe;
911
911
  /**
912
912
  * Inject the offer's prompts (tests). When set, the offer is treated as
@@ -926,7 +926,7 @@ interface InitCommandOptions {
926
926
  registrySource?: string;
927
927
  /**
928
928
  * Override the remote source giget downloads from. Default:
929
- * `gh:anolilab/lunora/templates/&lt;templateType>#&lt;ref>`, where `&lt;ref>` is
929
+ * `gh:anolilab/lunora/templates/<templateType>#<ref>`, where `<ref>` is
930
930
  * the `ref` option when set, else derived from the CLI version (pre-release
931
931
  * channels → their branch, stable → `main`). Tests typically use `from`
932
932
  * instead to skip the network.
@@ -1022,7 +1022,7 @@ type InsertSchemaExtensionResult = {
1022
1022
  reason: "already-applied" | "invalid-identifier" | "no-define-schema" | "non-object-argument";
1023
1023
  };
1024
1024
  /**
1025
- * Append `.extend(&lt;key>.extension)` and a managed import to an existing
1025
+ * Append `.extend(<key>.extension)` and a managed import to an existing
1026
1026
  * `lunora/schema.ts`. Idempotent: a second call for the same `key` returns
1027
1027
  * `already-applied` and leaves the text unchanged.
1028
1028
  * @param source the current `lunora/schema.ts` contents
package/dist/index.d.ts CHANGED
@@ -144,7 +144,7 @@ interface ImportCommandOptions {
144
144
  logger: Logger;
145
145
  prod?: boolean;
146
146
  /**
147
- * Wrap each line as `{table:&lt;name>,doc:&lt;line>}`. Use when the source NDJSON
147
+ * Wrap each line as `{table:<name>,doc:<line>}`. Use when the source NDJSON
148
148
  * is bare docs from a single table — Convex's `convex import --table users`
149
149
  * shape.
150
150
  */
@@ -161,7 +161,7 @@ interface ImportCommandResult {
161
161
  inserted: number;
162
162
  }
163
163
  /**
164
- * Stream an NDJSON file — or a `npx convex export --path &lt;dir>` directory — in
164
+ * Stream an NDJSON file — or a `npx convex export --path <dir>` directory — in
165
165
  * chunks, POSTing each batch to `/_lunora/admin/import`. The line buffer stays
166
166
  * bounded by `batchSize`, so a multi-GiB source imports without buffering
167
167
  * everything in memory.
@@ -345,13 +345,13 @@ interface DeployCommandOptions {
345
345
  /**
346
346
  * Confirm a production data migration triggered via `--migrate` (the
347
347
  * `migrate up --prod` confirmation the standalone command requires). Without
348
- * it a `--migrate --migrate-url &lt;prod>` deploy refuses to run the migration.
348
+ * it a `--migrate --migrate-url <prod>` deploy refuses to run the migration.
349
349
  */
350
350
  migrateYes?: boolean;
351
351
  /**
352
352
  * Emit the bundled worker to this directory via `wrangler deploy --outdir`
353
353
  * (paired with `dryRun` by `lunora build`). Also writes esbuild metadata to
354
- * `&lt;outDir>/bundle-meta.json`. When unset, no artifact is written.
354
+ * `<outDir>/bundle-meta.json`. When unset, no artifact is written.
355
355
  */
356
356
  outDir?: string;
357
357
  /**
@@ -408,7 +408,7 @@ interface DeployCommandResult {
408
408
  * The `.dev.vars`-shaped filename (never a full path, never a value) a
409
409
  * secret minted during this run was recorded into, when the missing-
410
410
  * secret gate minted one — `.dev.vars` for the default environment, or a
411
- * `.dev.vars.&lt;env>` sibling for an explicit `--env`. `undefined` when
411
+ * `.dev.vars.<env>` sibling for an explicit `--env`. `undefined` when
412
412
  * nothing was minted this run.
413
413
  */
414
414
  mintedSecretsFile?: string;
@@ -638,7 +638,7 @@ declare const runDevCommand: (options: DevCommandOptions) => Promise<{
638
638
  plan: DevCommandPlan;
639
639
  }>;
640
640
  type PackageManager = "pnpm" | "npm" | "yarn" | "bun";
641
- /** True when `manager` is on PATH — probed by running `&lt;manager> --version`. Injectable for tests. */
641
+ /** True when `manager` is on PATH — probed by running `<manager> --version`. Injectable for tests. */
642
642
  type PackageManagerProbe = (manager: PackageManager) => boolean;
643
643
  /** Supported CI providers. */
644
644
  type CiProvider = "github" | "gitlab";
@@ -901,12 +901,12 @@ interface InitCommandOptions {
901
901
  logger: Logger;
902
902
  name?: string;
903
903
  /**
904
- * Local directory holding create-vite bases (one `template-&lt;id>/` subdir per
904
+ * Local directory holding create-vite bases (one `template-<id>/` subdir per
905
905
  * framework). When set with `vite`, the overlay copies the base from disk
906
906
  * instead of fetching `create-vite` over the network — offline mode + tests.
907
907
  */
908
908
  overlayBaseFrom?: string;
909
- /** Probe for which package managers are installed (tests). Defaults to a real `&lt;pm> --version` check. */
909
+ /** Probe for which package managers are installed (tests). Defaults to a real `<pm> --version` check. */
910
910
  packageManagerProbe?: PackageManagerProbe;
911
911
  /**
912
912
  * Inject the offer's prompts (tests). When set, the offer is treated as
@@ -926,7 +926,7 @@ interface InitCommandOptions {
926
926
  registrySource?: string;
927
927
  /**
928
928
  * Override the remote source giget downloads from. Default:
929
- * `gh:anolilab/lunora/templates/&lt;templateType>#&lt;ref>`, where `&lt;ref>` is
929
+ * `gh:anolilab/lunora/templates/<templateType>#<ref>`, where `<ref>` is
930
930
  * the `ref` option when set, else derived from the CLI version (pre-release
931
931
  * channels → their branch, stable → `main`). Tests typically use `from`
932
932
  * instead to skip the network.
@@ -1022,7 +1022,7 @@ type InsertSchemaExtensionResult = {
1022
1022
  reason: "already-applied" | "invalid-identifier" | "no-define-schema" | "non-object-argument";
1023
1023
  };
1024
1024
  /**
1025
- * Append `.extend(&lt;key>.extension)` and a managed import to an existing
1025
+ * Append `.extend(<key>.extension)` and a managed import to an existing
1026
1026
  * `lunora/schema.ts`. Idempotent: a second call for the same `key` returns
1027
1027
  * `already-applied` and leaves the text unchanged.
1028
1028
  * @param source the current `lunora/schema.ts` contents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/cli",
3
- "version": "1.0.0-alpha.140",
3
+ "version": "1.0.0-alpha.142",
4
4
  "description": "The Lunora CLI: init, dev, deploy, codegen, migrate, seed, doctor, insights, logs, registry, and the rest of the project commands",
5
5
  "keywords": [
6
6
  "agent-skills",
@@ -52,16 +52,16 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@bomb.sh/tab": "0.0.21",
55
- "@lunora/advisor": "1.0.0-alpha.65",
56
- "@lunora/bindings": "1.0.0-alpha.19",
57
- "@lunora/codegen": "1.0.0-alpha.88",
58
- "@lunora/config": "1.0.0-alpha.116",
59
- "@lunora/container": "1.0.0-alpha.22",
60
- "@lunora/d1": "1.0.0-alpha.62",
61
- "@lunora/errors": "1.0.0-alpha.13",
62
- "@lunora/mcp": "1.0.0-alpha.56",
63
- "@lunora/runtime": "1.0.0-alpha.52",
64
- "@lunora/seed": "1.0.0-alpha.60",
55
+ "@lunora/advisor": "1.0.0-alpha.67",
56
+ "@lunora/bindings": "1.0.0-alpha.20",
57
+ "@lunora/codegen": "1.0.0-alpha.90",
58
+ "@lunora/config": "1.0.0-alpha.118",
59
+ "@lunora/container": "1.0.0-alpha.23",
60
+ "@lunora/d1": "1.0.0-alpha.63",
61
+ "@lunora/errors": "1.0.0-alpha.14",
62
+ "@lunora/mcp": "1.0.0-alpha.57",
63
+ "@lunora/runtime": "1.0.0-alpha.53",
64
+ "@lunora/seed": "1.0.0-alpha.62",
65
65
  "@visulima/cerebro": "3.0.0",
66
66
  "@visulima/error": "6.0.0",
67
67
  "@visulima/fs": "5.0.5",