@topolo/cli 0.7.3 → 0.8.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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@topolo/cli",
3
- "version": "0.7.3",
4
- "topoloPublishedVersion": "0.7.3",
5
- "description": "Command-line interface for Topolo developers, operators, and agents, with internal first-party scaffolding available under the topolo platform namespace.",
3
+ "version": "0.8.0",
4
+ "topoloPublishedVersion": "0.8.0",
5
+ "description": "Public command-line interface for Topolo customer organizations, developers, and agents.",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "topolo": "dist/index.js"
@@ -12,24 +12,21 @@
12
12
  "skills"
13
13
  ],
14
14
  "scripts": {
15
- "build:sdk": "python3 ../../tooling/with-resource-lock.py ../topolo-sdk -- pnpm --dir ../topolo-sdk build",
16
- "prebuild": "pnpm run build:sdk",
17
- "build": "tsup && node scripts/vendor-generator.mjs",
15
+ "build": "tsup",
18
16
  "dev": "tsup --watch",
19
- "pretypecheck": "pnpm run build:sdk",
20
17
  "typecheck": "tsc --noEmit",
21
18
  "start": "node dist/index.js",
22
- "pretest": "pnpm run build:sdk",
23
19
  "test": "vitest run",
24
20
  "test:watch": "vitest",
25
- "precoverage": "pnpm run build:sdk",
26
21
  "coverage": "vitest run --coverage"
27
22
  },
28
23
  "dependencies": {
24
+ "@modelcontextprotocol/sdk": "^1.0.0",
25
+ "@topolo/mcp": "0.11.0",
26
+ "@topolo/sdk": "0.11.0",
29
27
  "commander": "^12.1.0"
30
28
  },
31
29
  "devDependencies": {
32
- "@topolo/sdk": "file:../topolo-sdk",
33
30
  "@types/node": "^20.12.0",
34
31
  "@vitest/coverage-v8": "3.2.6",
35
32
  "tsup": "^8.0.0",
@@ -15,28 +15,23 @@ The CLI requires Node 20 or newer:
15
15
 
16
16
  ```bash
17
17
  command -v topolo || npm install -g @topolo/cli
18
- topolo skills install
18
+ topolo setup
19
+ topolo doctor
19
20
  ```
20
21
 
21
- `topolo skills install` installs this skill and registers the Topolo MCP server for Claude Code and Codex. Both use the same credential written by `topolo auth login`.
22
+ `topolo setup` installs this skill and registers the exact MCP server bundled with the CLI for Claude Code and Codex. It does not depend on `npx`, `PATH`, a source checkout, or a second global package. Both surfaces use the same credential written by `topolo auth login`. `topolo doctor` then verifies the credential, MCP protocol handshake, tool discovery, and an identity call end to end.
22
23
 
23
- Before testing platform behavior, verify every installed agent surface against
24
- the package registry. Do not diagnose behavior with stale tooling:
24
+ Before diagnosing behavior, verify the installed customer tooling against the package registry:
25
25
 
26
26
  ```bash
27
27
  topolo --version
28
- npm list -g --depth=0 @topolo/cli @topolo/mcp @topolo/sdk
28
+ npm list -g --depth=0 @topolo/cli
29
29
  npm view @topolo/cli version
30
- npm view @topolo/mcp version
31
- npm view @topolo/sdk version
32
30
  ```
33
31
 
34
- If any version differs, install the three latest released versions together,
35
- run `topolo skills install`, and restart the MCP client before testing. Record
36
- the versions used with the results. Source builds may test a candidate fix, but
37
- must be labelled separately from released-tooling proof.
32
+ If the CLI version differs, update `@topolo/cli`, run `topolo setup`, run `topolo doctor`, and restart the agent. The CLI owns compatible SDK and MCP versions; customers must not assemble that dependency set manually. Record the CLI version used with results.
38
33
 
39
- Production is the default. Use `--env staging` on every staging command, or set `TOPOLO_ENV=staging`. Never mix staging discovery with production execution.
34
+ Production is the customer environment. Do not use internal development, staging, seed, deployment, audit, scaffold, or release workflows from this skill; those belong to the restricted `topolo-platform` toolchain.
40
35
 
41
36
  ## Authentication gate
42
37
 
@@ -247,7 +242,6 @@ Use `TOPOLO_DEBUG=1` only when diagnostics are needed. Preserve `X-Topolo-Reques
247
242
  ## Public references
248
243
 
249
244
  - Documentation: `https://docs.topolo.app`
250
- - Staging documentation: `https://docs.stg.topolo.us`
251
245
  - Developers console: `https://developers.topolo.app`
252
246
  - CLI help: `topolo --help` and `topolo <command> --help`
253
247