blackops-onboard 0.1.0 → 0.3.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.
package/README.md CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Agent-first onboarding for [BlackOps Center](https://blackopscenter.com).
4
4
 
5
+ **The whole flow:**
6
+
5
7
  ```bash
6
8
  npx blackops-onboard
7
9
  ```
8
10
 
9
- That command:
11
+ Then open Claude Code and say:
10
12
 
11
- 1. Provisions an onboarding token for you.
12
- 2. Adds a `blackops` MCP server entry to your Claude Code settings (`~/.claude/settings.json`).
13
- 3. Prints a prompt to paste into Claude Code.
13
+ > Help me onboard to BlackOps Center and publish my first piece of content.
14
14
 
15
- From there, the agent walks you through account creation, brand-voice capture, social-account OAuth, and publishing your first content across X, Threads, LinkedIn, and your new blog entirely conversationally.
15
+ That's it. The agent walks you through account creation, brand voice, social OAuth (X / Threads / LinkedIn), publishing your first four pieces of content, and getting a magic link to your dashboard.
16
16
 
17
17
  ## Re-running
18
18
 
package/bin/onboard.mjs CHANGED
@@ -15,7 +15,7 @@ import path from 'node:path'
15
15
  import os from 'node:os'
16
16
  import readline from 'node:readline/promises'
17
17
 
18
- const VERSION = '0.1.0'
18
+ const VERSION = '0.3.0'
19
19
  const INSTALL_URL = process.env.BLACKOPS_INSTALL_URL || 'https://blackopscenter.com/api/install'
20
20
  const CONFIG_DIR = path.join(os.homedir(), '.blackops')
21
21
  const CONFIG_PATH = path.join(CONFIG_DIR, 'config.json')
@@ -161,11 +161,13 @@ async function main() {
161
161
  log(JSON.stringify({ [config.mcp_server_name]: { type: 'http', url: config.mcp_url, headers: { Authorization: `Bearer ${config.token}` } } }, null, 2))
162
162
  }
163
163
 
164
- // 4. Print onboarding prompt for the user.
164
+ // 4. Tell the user the one thing to say next. Single line, copy-pasteable.
165
165
  log()
166
- log(`${BOLD}Open Claude Code and paste this prompt to begin:${RESET}`)
166
+ log(`${GREEN}✓${RESET} Installed.`)
167
167
  log()
168
- log(`${CYAN}${config.prompt}${RESET}`)
168
+ log(`Open ${BOLD}Claude Code${RESET} and say:`)
169
+ log()
170
+ log(` ${CYAN}${config.prompt}${RESET}`)
169
171
  log()
170
172
  log(`${DIM}Token expires: ${config.expires_at}${RESET}`)
171
173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blackops-onboard",
3
- "version": "0.1.0",
3
+ "version": "0.3.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": {