blackops-onboard 0.6.0 → 0.7.0

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/bin/onboard.mjs +13 -2
  2. package/package.json +1 -1
package/bin/onboard.mjs CHANGED
@@ -16,7 +16,7 @@ import path from 'node:path'
16
16
  import os from 'node:os'
17
17
  import readline from 'node:readline/promises'
18
18
 
19
- const VERSION = '0.6.0'
19
+ const VERSION = '0.7.0'
20
20
  const INSTALL_URL = process.env.BLACKOPS_INSTALL_URL || 'https://blackopscenter.com/api/install'
21
21
  const CONFIG_DIR = path.join(os.homedir(), '.blackops')
22
22
  const CONFIG_PATH = path.join(CONFIG_DIR, 'config.json')
@@ -80,12 +80,23 @@ function getClientConfigs(homedir, platform) {
80
80
  const APPDATA = process.env.APPDATA || ''
81
81
  return [
82
82
  {
83
+ // Claude Code's canonical config path is ~/.claude.json (single file at
84
+ // home), NOT ~/.claude/settings.json. The latter holds permissions/hooks
85
+ // but Claude Code only reads mcpServers from ~/.claude.json.
83
86
  id: 'claude-code',
84
87
  label: 'Claude Code',
85
- path: path.join(homedir, '.claude', 'settings.json'),
88
+ path: path.join(homedir, '.claude.json'),
86
89
  transport: 'http',
87
90
  alwaysInstall: true,
88
91
  },
92
+ {
93
+ // Legacy/secondary path kept for any client that still reads it.
94
+ // Harmless duplicate; cheap insurance against tool-discovery drift.
95
+ id: 'claude-code-legacy',
96
+ label: 'Claude Code (legacy settings.json)',
97
+ path: path.join(homedir, '.claude', 'settings.json'),
98
+ transport: 'http',
99
+ },
89
100
  {
90
101
  id: 'claude-desktop',
91
102
  label: 'Claude Desktop',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blackops-onboard",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Agent-first onboarding for BlackOps Center. Run via `npx blackops-onboard` to provision your account through Claude Code.",
5
5
  "type": "module",
6
6
  "publishConfig": {