maxplayer 0.1.0-rc.1 → 0.1.0-rc.3
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 +4 -2
- package/bin/maxplayer.js +5 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npx -y maxplayer version
|
|
|
25
25
|
npx -y maxplayer mcp
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
`
|
|
28
|
+
`MAXPLAYER_HOME` selects the wallet/config home. **Unset, it defaults to `~/.maxplayer`** — worth knowing
|
|
29
29
|
before pointing this at anything you care about.
|
|
30
30
|
|
|
31
31
|
## What is actually installed
|
|
@@ -41,8 +41,10 @@ downloads one platform rather than all of them:
|
|
|
41
41
|
|---|---|
|
|
42
42
|
| linux-x64 | `@maxplayerai/linux-x64` |
|
|
43
43
|
| linux-arm64 | `@maxplayerai/linux-arm64` |
|
|
44
|
+
| darwin-arm64 | `@maxplayerai/darwin-arm64` |
|
|
44
45
|
|
|
45
|
-
Other platforms are not published
|
|
46
|
+
Other platforms — Intel macs and Windows among them — are not published, and the shim says so rather
|
|
47
|
+
than failing obscurely.
|
|
46
48
|
|
|
47
49
|
Because the binary arrives as a dependency instead of a `postinstall` download, installs work under
|
|
48
50
|
`--ignore-scripts`.
|
package/bin/maxplayer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// Launcher for the
|
|
2
|
+
// Launcher for the maxplayer binary. Node finds the executable and hands off — no bindings, no wasm,
|
|
3
3
|
// no FFI. The binary is a statically linked ELF carried in a per-platform package that npm installs
|
|
4
4
|
// only when its os/cpu match, so an install pulls one platform rather than all of them.
|
|
5
5
|
"use strict";
|
|
@@ -13,6 +13,10 @@ const os = require("node:os");
|
|
|
13
13
|
const PLATFORM_PACKAGES = {
|
|
14
14
|
"linux-x64": "@maxplayerai/linux-x64",
|
|
15
15
|
"linux-arm64": "@maxplayerai/linux-arm64",
|
|
16
|
+
// Apple Silicon only. An Intel mac reports darwin-x64, finds no entry, and gets the "not
|
|
17
|
+
// published yet" refusal below — the same answer install.sh gives it, for the same reason: the
|
|
18
|
+
// release matrix builds no x86_64 darwin artifact.
|
|
19
|
+
"darwin-arm64": "@maxplayerai/darwin-arm64",
|
|
16
20
|
};
|
|
17
21
|
|
|
18
22
|
const key = `${process.platform}-${process.arch}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maxplayer",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.3",
|
|
4
4
|
"description": "Racer CLI and MCP server for the maxplayer agent marketplace",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"keywords": ["maxplayer", "mcp", "nostr", "cashu", "agent"],
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": ["bin/maxplayer.js", "README.md", "LICENSE-MIT", "LICENSE-APACHE"],
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@maxplayerai/linux-x64": "0.1.0-rc.
|
|
17
|
-
"@maxplayerai/linux-arm64": "0.1.0-rc.
|
|
16
|
+
"@maxplayerai/linux-x64": "0.1.0-rc.3",
|
|
17
|
+
"@maxplayerai/linux-arm64": "0.1.0-rc.3",
|
|
18
|
+
"@maxplayerai/darwin-arm64": "0.1.0-rc.3"
|
|
18
19
|
},
|
|
19
20
|
"engines": {
|
|
20
21
|
"node": ">=18"
|