create-op-node 0.12.0 → 0.12.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.
package/dist/cli.js CHANGED
@@ -2271,7 +2271,7 @@ var bootstrapCommand = new Command("bootstrap").description(
2271
2271
  new Option(
2272
2272
  "--compose-file <path>",
2273
2273
  "Repeatable. Compose file relative to repo root. Default: prod + backup (production), prod only (--local-only)."
2274
- )
2274
+ ).argParser(collectComposeFile)
2275
2275
  ).addOption(new Option("--env-file <path>", "Compose --env-file. Default: .env.production")).addOption(new Option("--skip-brew", "Skip the Homebrew package install pass").default(false)).addOption(
2276
2276
  new Option(
2277
2277
  "--skip-launch-agent",
@@ -3011,6 +3011,9 @@ function resolveComposeFiles(repoPath, composeFile) {
3011
3011
  const inputs = composeFile ?? ["docker-compose-prod.yml"];
3012
3012
  return inputs.map((f) => f.startsWith("/") ? f : join(repoPath, f));
3013
3013
  }
3014
+ function collectComposeFile(value, previous) {
3015
+ return [...previous ?? [], value];
3016
+ }
3014
3017
  function resolveModels(opts) {
3015
3018
  return [
3016
3019
  opts.embeddingModel ?? DEFAULT_EMBEDDING_MODEL,
@@ -3344,7 +3347,7 @@ var resetCommand = new Command("reset").description(
3344
3347
  new Option(
3345
3348
  "--compose-file <path>",
3346
3349
  "Repeatable. Compose file relative to repo root. Default: docker-compose-prod.yml"
3347
- ).default(["docker-compose-prod.yml"])
3350
+ ).argParser(collectComposeFile)
3348
3351
  ).addOption(new Option("--env-file <path>", "Compose --env-file. Default: .env.production")).addOption(
3349
3352
  new Option(
3350
3353
  "--wipe-data",
@@ -5087,7 +5090,7 @@ function withDefaultSubcommand(argv, known) {
5087
5090
  }
5088
5091
 
5089
5092
  // src/cli.ts
5090
- var VERSION = "0.12.0";
5093
+ var VERSION = "0.12.1";
5091
5094
  var program = new Command();
5092
5095
  program.name("create-op-node").description(
5093
5096
  "Interactive bootstrap for an Opus Populi federation node.\nCloudflare infrastructure \u2192 Mac Studio \u2192 live public API."