@arkhera30/cli 0.2.0 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -733,7 +733,7 @@ ${vaultRouterDependsOn}
733
733
  reservations:
734
734
  memory: 64m
735
735
  healthcheck:
736
- test: ["CMD", "curl", "-f", "http://localhost:8400/health"]
736
+ test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8400/health')"]
737
737
  interval: 30s
738
738
  timeout: 10s
739
739
  start_period: 30s
@@ -1488,7 +1488,7 @@ ${example(`${vaultName.trim()}-knowledge`)}
1488
1488
  console.log("");
1489
1489
  console.log(chalk2.bold("Pulling container images..."));
1490
1490
  try {
1491
- await composeStreaming(runtime, ["pull", "--ignore-pull-failures"]);
1491
+ await composeStreaming(runtime, runtime.name === "podman" ? ["pull"] : ["pull", "--ignore-pull-failures"]);
1492
1492
  } catch {
1493
1493
  console.log(chalk2.yellow("Some images could not be pulled."));
1494
1494
  console.log(chalk2.dim("Continuing \u2014 services will be built from source if build contexts are available."));
@@ -1589,7 +1589,7 @@ var upCommand = new Command3("up").description("Start the Horus stack").option("
1589
1589
  if (opts.pull) {
1590
1590
  const pullSpinner = ora3("Pulling latest images...").start();
1591
1591
  try {
1592
- await composeStreaming(runtime, ["pull", "--ignore-pull-failures"]);
1592
+ await composeStreaming(runtime, runtime.name === "podman" ? ["pull"] : ["pull", "--ignore-pull-failures"]);
1593
1593
  pullSpinner.succeed("Images up to date");
1594
1594
  } catch {
1595
1595
  pullSpinner.warn("Could not pull images, using cached");
@@ -2067,7 +2067,7 @@ var updateCommand = new Command7("update").description("Update Horus to the late
2067
2067
  console.log("");
2068
2068
  console.log(chalk7.bold("Pulling latest images..."));
2069
2069
  try {
2070
- await composeStreaming(runtime, ["pull", "--ignore-pull-failures"]);
2070
+ await composeStreaming(runtime, runtime.name === "podman" ? ["pull"] : ["pull", "--ignore-pull-failures"]);
2071
2071
  } catch {
2072
2072
  console.log(chalk7.yellow("Some images could not be pulled."));
2073
2073
  console.log(chalk7.dim("Continuing \u2014 services will be built from source if build contexts are available."));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkhera30/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "CLI for managing the Horus AI development stack",
5
5
  "type": "module",
6
6
  "bin": {