@marcusrbrown/infra 0.13.21 → 0.13.22

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/cli.js +5 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6949,7 +6949,7 @@ import { goke } from "goke";
6949
6949
  // package.json
6950
6950
  var package_default = {
6951
6951
  name: "@marcusrbrown/infra",
6952
- version: "0.13.21",
6952
+ version: "0.13.22",
6953
6953
  description: "Infrastructure management CLI \u2014 deploy automation, health checks, and MCP bridge",
6954
6954
  keywords: [
6955
6955
  "infra",
@@ -7126,7 +7126,7 @@ import { z as z2 } from "zod";
7126
7126
 
7127
7127
  // src/lib/known-hosts.ts
7128
7128
  import { existsSync as existsSync3 } from "fs";
7129
- import { join as join3, resolve } from "path";
7129
+ import { isAbsolute, join as join3, resolve } from "path";
7130
7130
 
7131
7131
  // src/resources/known_hosts
7132
7132
  var known_hosts_default = "./known_hosts-c3ns9jne.";
@@ -7139,8 +7139,9 @@ function resolveKnownHostsPath(libDir) {
7139
7139
  const repoCandidate = join3(repoRoot, ".github", "known_hosts");
7140
7140
  if (existsSync3(repoCandidate))
7141
7141
  return repoCandidate;
7142
- if (existsSync3(known_hosts_default))
7143
- return known_hosts_default;
7142
+ const assetPath = isAbsolute(known_hosts_default) ? known_hosts_default : resolve(import.meta.dir, known_hosts_default);
7143
+ if (existsSync3(assetPath))
7144
+ return assetPath;
7144
7145
  throw new Error(FAIL_CLOSED_ERROR);
7145
7146
  }
7146
7147
  function buildKnownHostsArgs(libDir) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcusrbrown/infra",
3
- "version": "0.13.21",
3
+ "version": "0.13.22",
4
4
  "description": "Infrastructure management CLI — deploy automation, health checks, and MCP bridge",
5
5
  "keywords": [
6
6
  "infra",