@sellable/install 0.1.26 → 0.1.28

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
@@ -3,7 +3,7 @@
3
3
  Installs Sellable MCP for Claude Code and Codex.
4
4
 
5
5
  ```bash
6
- npx -y @sellable/install --host all
6
+ npx -y @sellable/install@latest --host all
7
7
  ```
8
8
 
9
9
  If you do not pass a token, the installer prompts you for one and shows where to get it.
@@ -11,9 +11,14 @@ If you do not pass a token, the installer prompts you for one and shows where to
11
11
  The installer uses package stdio MCP by default:
12
12
 
13
13
  ```bash
14
- npx -y @sellable/mcp
14
+ npx -y @sellable/mcp@latest
15
15
  ```
16
16
 
17
+ That keeps new Claude Code/Codex MCP starts on the latest stable package. The
18
+ MCP server also checks npm at startup and during `get_auth_status`, caching the
19
+ result at `~/.sellable/update-check.json` so users are prompted to rerun the
20
+ latest installer only when an update is actually available.
21
+
17
22
  Get a Sellable API token from:
18
23
 
19
24
  ```text
@@ -14,8 +14,8 @@ import { createInterface } from "node:readline/promises";
14
14
 
15
15
  const DEFAULT_API_URL = "https://app.sellable.dev";
16
16
  const DEFAULT_SERVER_PACKAGE =
17
- process.env.SELLABLE_MCP_PACKAGE || "@sellable/mcp";
18
- const CODEX_PLUGIN_VERSION = "0.1.26";
17
+ process.env.SELLABLE_MCP_PACKAGE || "@sellable/mcp@latest";
18
+ const CODEX_PLUGIN_VERSION = "0.1.27";
19
19
  const CODEX_PLUGIN_COMPAT_VERSIONS = [
20
20
  "0.1.8",
21
21
  "0.1.9",
@@ -35,15 +35,17 @@ const CODEX_PLUGIN_COMPAT_VERSIONS = [
35
35
  "0.1.23",
36
36
  "0.1.24",
37
37
  "0.1.25",
38
+ "0.1.26",
38
39
  ];
39
- const INSTALL_PACKAGE_SPEC = `@sellable/install@${CODEX_PLUGIN_VERSION}`;
40
+ const INSTALL_PACKAGE_SPEC =
41
+ process.env.SELLABLE_INSTALL_PACKAGE_SPEC || "@sellable/install@latest";
40
42
 
41
43
  function usage() {
42
44
  return `Sellable agent installer
43
45
 
44
46
  Usage:
45
47
  sellable-install [options]
46
- npx -y @sellable/install -- [options]
48
+ npx -y @sellable/install@latest -- [options]
47
49
 
48
50
  Options:
49
51
  --host <host> claude, codex, or all. Default: all
@@ -1375,6 +1377,9 @@ async function main() {
1375
1377
  console.log("Sellable installer");
1376
1378
  console.log(`- host: ${opts.host}`);
1377
1379
  console.log(`- server: ${opts.server}`);
1380
+ if (opts.server === "package") {
1381
+ console.log(`- mcp package: ${opts.mcpPackage}`);
1382
+ }
1378
1383
  console.log(`- api: ${opts.apiUrl}`);
1379
1384
  console.log(`- token: ${opts.token ? redact(opts.token) : "(missing)"}`);
1380
1385
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {