@reeledge/agent-tools 0.1.3 → 0.1.4

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.
@@ -78,22 +78,21 @@ export function makeClaudeCodeAdapter(env) {
78
78
  return skills.flatMap((s) => writeSkillTree(skillsDir(), s.slug, s.files));
79
79
  },
80
80
  async configureMcp(serverUrl, token) {
81
- // 1. Claude Code CLI — only if `claude` is on PATH. A spawn ENOENT means
82
- // "not installed": skip gracefully. Any other failure is a real error
83
- // and propagates so the caller can warn.
81
+ // 1. Claude Code CLI — best-effort and FULLY ISOLATED: a CLI failure must
82
+ // never block the desktop step below. A spawn ENOENT = not installed;
83
+ // "already exists" (a re-run / `update`, exit 1) or any other failure is
84
+ // logged as skipped, NOT thrown — the connector is already in place, and
85
+ // the desktop bridge still gets written.
84
86
  try {
85
87
  await env.exec('claude', claudeMcpAddArgs(CONNECTOR_NAME, serverUrl, token));
86
88
  log(`Configured Claude Code CLI (${CONNECTOR_NAME})`);
87
89
  }
88
90
  catch (err) {
89
- if (err.code === 'ENOENT') {
90
- log('Claude Code CLI not found — skipped');
91
- }
92
- else {
93
- throw err;
94
- }
91
+ log(err.code === 'ENOENT'
92
+ ? 'Claude Code CLI not found — skipped'
93
+ : `Claude Code CLI not configured — skipped (${err.message})`);
95
94
  }
96
- // 2. Claude Desktop — macOS/Windows only; bridge via `mcp-remote`.
95
+ // 2. Claude Desktop — macOS/Windows only; ALWAYS runs, independent of the CLI.
97
96
  const cfgPath = desktopPath();
98
97
  if (cfgPath !== null) {
99
98
  const entry = claudeDesktopEntry(mcpEndpoint(serverUrl), token);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reeledge/agent-tools",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "description": "Reel Edge agent-tools installer CLI — installs/updates the Reel Edge MCP connector + skills for Claude Code / Codex / Droid.",
6
6
  "type": "module",