mercury-tech-cli 1.0.0-beta.2.1 → 1.0.0-beta.21
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 +13 -10
- package/bin/mercury.js +3 -3
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mercury-tech-cli
|
|
2
2
|
|
|
3
|
-
The `mercury` command from npm or bun, on macOS (Apple silicon), Linux x64 and
|
|
3
|
+
The `mercury` command from npm or bun, on macOS (Apple silicon and Intel), Linux x64 and
|
|
4
4
|
Windows x64.
|
|
5
5
|
|
|
6
6
|
```sh
|
|
@@ -8,16 +8,19 @@ bun install -g mercury-tech-cli # or: npm install -g mercury-tech-cli
|
|
|
8
8
|
mercury
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
SHA-256, and runs the archive's own user-local installer (no administrator
|
|
15
|
-
access: `~/.mercury/versions/` and `~/.local/bin/mercury`; on Windows
|
|
16
|
-
`%LOCALAPPDATA%\Mercury\bin`). Later runs go straight to the installed
|
|
17
|
-
command; `mercury update` moves between versions.
|
|
11
|
+
The first time you run `mercury`, it downloads the release archive for your
|
|
12
|
+
platform from GitHub Releases, checks its SHA-256 against the release's
|
|
13
|
+
checksum list, and runs the installer included in the archive.
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
You don't need administrator access. Versions are stored under
|
|
16
|
+
`~/.mercury/versions/`, with the `mercury` command in `~/.local/bin` on
|
|
17
|
+
macOS and Linux, or `%LOCALAPPDATA%\Mercury\bin` on Windows.
|
|
18
|
+
|
|
19
|
+
After setup, running `mercury` starts the installed version using its
|
|
20
|
+
bundled Node runtime. Your system's Node version only matters for the
|
|
21
|
+
launcher. Use `mercury update` to change versions.
|
|
22
|
+
|
|
23
|
+
The PowerShell installer is the other Windows route:
|
|
21
24
|
|
|
22
25
|
```powershell
|
|
23
26
|
irm https://mercury-cli.ai/install.ps1 | iex
|
package/bin/mercury.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict'
|
|
3
3
|
// mercury-tech-cli — the `mercury` command from npm or bun, on macOS (Apple
|
|
4
|
-
// silicon), Linux x64 and Windows x64.
|
|
4
|
+
// silicon and Intel), Linux x64 and Windows x64.
|
|
5
5
|
//
|
|
6
6
|
// Mercury runs on its own bundled runtime, never on npm's or bun's engine, so
|
|
7
7
|
// this launcher only fetches: on first run it downloads the release archive
|
|
@@ -25,7 +25,7 @@ const path = require('node:path')
|
|
|
25
25
|
const crypto = require('node:crypto')
|
|
26
26
|
const { spawn, spawnSync } = require('node:child_process')
|
|
27
27
|
|
|
28
|
-
const PACKAGE_RELEASE = '1.0.0-beta.
|
|
28
|
+
const PACKAGE_RELEASE = '1.0.0-beta.21'
|
|
29
29
|
const REPO = 'Whq02/MercuryCLI'
|
|
30
30
|
const WIN = process.platform === 'win32'
|
|
31
31
|
const release = (process.env.MERCURY_VERSION || PACKAGE_RELEASE).replace(/^v/, '')
|
|
@@ -79,7 +79,7 @@ function target() {
|
|
|
79
79
|
const apple = arch === 'arm64'
|
|
80
80
|
|| (spawnSync('sysctl', ['-n', 'hw.optional.arm64'], { encoding: 'utf8' }).stdout || '').trim() === '1'
|
|
81
81
|
if (apple) return 'macos-arm64'
|
|
82
|
-
|
|
82
|
+
return 'macos-x64'
|
|
83
83
|
}
|
|
84
84
|
if (platform === 'linux' && arch === 'x64') return 'linux-x64'
|
|
85
85
|
if (platform === 'linux' && arch === 'arm64') die(`no Linux arm64 build yet — build from source: https://github.com/${REPO}`)
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mercury-tech-cli",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.0-beta.21",
|
|
4
|
+
"description": "Run multiple AI coding sessions in one terminal. Mix and match model providers, spawn cross-company agents, and use built-in debugging, screen control, and voice dictation.",
|
|
5
5
|
"homepage": "https://mercury-cli.ai",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "
|
|
8
|
+
"url": "https://github.com/Whq02/MercuryCLI"
|
|
9
9
|
},
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/Whq02/MercuryCLI/issues"
|
|
12
12
|
},
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "BUSL-1.1",
|
|
14
14
|
"bin": {
|
|
15
15
|
"mercury": "bin/mercury.js"
|
|
16
16
|
},
|
|
@@ -23,10 +23,16 @@
|
|
|
23
23
|
"LICENSE.md"
|
|
24
24
|
],
|
|
25
25
|
"keywords": [
|
|
26
|
-
"
|
|
26
|
+
"ai",
|
|
27
|
+
"coding-agent",
|
|
27
28
|
"cli",
|
|
28
29
|
"terminal",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
30
|
+
"llm",
|
|
31
|
+
"agents",
|
|
32
|
+
"mcp",
|
|
33
|
+
"openai",
|
|
34
|
+
"anthropic",
|
|
35
|
+
"gemini",
|
|
36
|
+
"deepseek"
|
|
31
37
|
]
|
|
32
38
|
}
|