@sellable/install 0.1.26 → 0.1.27
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 +7 -2
- package/bin/sellable-install.mjs +7 -3
- package/package.json +1 -1
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
|
package/bin/sellable-install.mjs
CHANGED
|
@@ -14,7 +14,7 @@ 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";
|
|
17
|
+
process.env.SELLABLE_MCP_PACKAGE || "@sellable/mcp@latest";
|
|
18
18
|
const CODEX_PLUGIN_VERSION = "0.1.26";
|
|
19
19
|
const CODEX_PLUGIN_COMPAT_VERSIONS = [
|
|
20
20
|
"0.1.8",
|
|
@@ -36,14 +36,15 @@ const CODEX_PLUGIN_COMPAT_VERSIONS = [
|
|
|
36
36
|
"0.1.24",
|
|
37
37
|
"0.1.25",
|
|
38
38
|
];
|
|
39
|
-
const INSTALL_PACKAGE_SPEC =
|
|
39
|
+
const INSTALL_PACKAGE_SPEC =
|
|
40
|
+
process.env.SELLABLE_INSTALL_PACKAGE_SPEC || "@sellable/install@latest";
|
|
40
41
|
|
|
41
42
|
function usage() {
|
|
42
43
|
return `Sellable agent installer
|
|
43
44
|
|
|
44
45
|
Usage:
|
|
45
46
|
sellable-install [options]
|
|
46
|
-
npx -y @sellable/install -- [options]
|
|
47
|
+
npx -y @sellable/install@latest -- [options]
|
|
47
48
|
|
|
48
49
|
Options:
|
|
49
50
|
--host <host> claude, codex, or all. Default: all
|
|
@@ -1375,6 +1376,9 @@ async function main() {
|
|
|
1375
1376
|
console.log("Sellable installer");
|
|
1376
1377
|
console.log(`- host: ${opts.host}`);
|
|
1377
1378
|
console.log(`- server: ${opts.server}`);
|
|
1379
|
+
if (opts.server === "package") {
|
|
1380
|
+
console.log(`- mcp package: ${opts.mcpPackage}`);
|
|
1381
|
+
}
|
|
1378
1382
|
console.log(`- api: ${opts.apiUrl}`);
|
|
1379
1383
|
console.log(`- token: ${opts.token ? redact(opts.token) : "(missing)"}`);
|
|
1380
1384
|
|