@topolo/cli 0.7.4 → 0.8.1

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.4",
4
- "topoloPublishedVersion": "0.7.4",
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.1",
4
+ "topoloPublishedVersion": "0.8.1",
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,7 +12,7 @@
12
12
  "skills"
13
13
  ],
14
14
  "scripts": {
15
- "build": "tsup && node scripts/vendor-generator.mjs",
15
+ "build": "tsup",
16
16
  "dev": "tsup --watch",
17
17
  "typecheck": "tsc --noEmit",
18
18
  "start": "node dist/index.js",
@@ -21,10 +21,12 @@
21
21
  "coverage": "vitest run --coverage"
22
22
  },
23
23
  "dependencies": {
24
+ "@modelcontextprotocol/sdk": "^1.0.0",
25
+ "@topolo/mcp": "0.11.0",
26
+ "@topolo/sdk": "0.11.0",
24
27
  "commander": "^12.1.0"
25
28
  },
26
29
  "devDependencies": {
27
- "@topolo/sdk": "0.10.4",
28
30
  "@types/node": "^20.12.0",
29
31
  "@vitest/coverage-v8": "3.2.6",
30
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
 
@@ -65,8 +60,14 @@ topolo whoami --json
65
60
  ```
66
61
 
67
62
  For concurrent agents or multiple MCP connections, never coordinate by changing
68
- one shared active context. Register one named `topolo-mcp` process per context
69
- with both `TOPOLO_ENV` and `TOPOLO_CONTEXT`. The context selector accepts an
63
+ one shared active context. Register each pinned context through the CLI so it
64
+ uses the exact bundled MCP instead of a global binary:
65
+
66
+ ```bash
67
+ topolo setup --name topolo-acme --context org:org_acme --env production
68
+ ```
69
+
70
+ The context selector accepts an
70
71
  exact key returned by `topolo context ls --json` (such as `personal` or
71
72
  `org:<orgId>`) or a unique stored organization id, slug, or name. Each process
72
73
  reads and refreshes only its pinned credential without changing the CLI or web
@@ -247,7 +248,6 @@ Use `TOPOLO_DEBUG=1` only when diagnostics are needed. Preserve `X-Topolo-Reques
247
248
  ## Public references
248
249
 
249
250
  - Documentation: `https://docs.topolo.app`
250
- - Staging documentation: `https://docs.stg.topolo.us`
251
251
  - Developers console: `https://developers.topolo.app`
252
252
  - CLI help: `topolo --help` and `topolo <command> --help`
253
253