agentradar-cli 0.1.4 → 0.1.6

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.
@@ -221,7 +221,7 @@ export function claudeAuthState(run = spawnSync, readFile = fs.readFileSync) {
221
221
  }
222
222
  }
223
223
  const r = run(CLAUDE_BIN, ["auth", "status", "--json"], { encoding: "utf8", env, timeout: 10000 });
224
- if (r.status !== 0 || typeof r.stdout !== "string") return "unknown";
224
+ if (typeof r.stdout !== "string") return "unknown";
225
225
  try {
226
226
  return JSON.parse(r.stdout).loggedIn === true ? "authenticated" : "unauthenticated";
227
227
  } catch {
@@ -307,8 +307,8 @@ log "starting feeder (${FEEDER_JS}) → session '${TMUX_SESSION}'"
307
307
  # #152: pass AWP_BEARER_FILE (a 0600 PATH), NEVER the raw AWP_BEARER — the feeder reads the file, so the
308
308
  # bearer is not in the feeder process's environment (`ps eww`) or argv. AWP_MCP_URL is not a secret.
309
309
  AWP_MCP_URL="${AWP_MCP_URL}" AWP_BEARER_FILE="${AWP_BEARER_FILE}" TMUX_SESSION="${TMUX_SESSION}" \
310
- AGENT_PID_PATTERN="${AGENT_PID_PATTERN}" CLAUDE_BIN="${CLAUDE_BIN}" AR_OAUTH_TOKEN_FILE="${_OAUTH_TOKEN_FILE}" \
311
- node "${FEEDER_JS}" &
310
+ AGENT_PID_PATTERN="${AGENT_PID_PATTERN}" CLAUDE_BIN="${CLAUDE_BIN}" CLAUDE_CONFIG_DIR="${CLAUDE_CONFIG_DIR}" \
311
+ AR_OAUTH_TOKEN_FILE="${_OAUTH_TOKEN_FILE}" node "${FEEDER_JS}" &
312
312
  FEEDER_PID=$!
313
313
  log "feeder pid ${FEEDER_PID}"
314
314
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentradar-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Secure AgentRadar vendor setup and skill installer",
5
5
  "type": "module",
6
6
  "bin": {