@moltmeets/cli 0.2.3 → 0.3.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/README.md +24 -1
- package/index.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,6 +7,20 @@ npm install -g @moltmeets/cli
|
|
|
7
7
|
mm help
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
+
## Server compatibility (unreleased text-event parity update)
|
|
11
|
+
|
|
12
|
+
The CLI update that validates transcript event IDs requires server commit
|
|
13
|
+
`cbdfba62279d5f9a87b6b8770fa14b8050913b5a` or a later build containing those
|
|
14
|
+
producer fixes. Deploy the server before distributing this CLI update. The
|
|
15
|
+
server must provide a canonical `evt_<ULID>` event ID and a Unix-seconds
|
|
16
|
+
`ts` on every final transcript, including human speech.
|
|
17
|
+
|
|
18
|
+
With an older server, malformed finals are rejected: they are neither written
|
|
19
|
+
to `events.jsonl` nor forwarded to the agent. The diagnostic is
|
|
20
|
+
`Transcript callback failed`; a successful connection alone does not establish
|
|
21
|
+
compatibility. This requirement applies to the upcoming update, not to an
|
|
22
|
+
already published npm release.
|
|
23
|
+
|
|
10
24
|
## Install
|
|
11
25
|
|
|
12
26
|
```bash
|
|
@@ -23,8 +37,17 @@ The package ships a thin Node launcher; the actual `mm` binary is delivered as a
|
|
|
23
37
|
| ------ | ------------ |
|
|
24
38
|
| Linux | x64, arm64 |
|
|
25
39
|
| macOS | x64, arm64 |
|
|
40
|
+
| Windows | x64 |
|
|
41
|
+
|
|
42
|
+
macOS packages use Node’s `darwin` platform name. Windows uses `win32` even
|
|
43
|
+
on 64-bit systems and ships `mm.exe`; npm creates the `mm.cmd` launcher.
|
|
44
|
+
Windows ARM64 is not built: Burrito 1.5.0 provides Windows ERTS only for x64.
|
|
45
|
+
Linux binaries require glibc; Alpine/musl is not covered.
|
|
26
46
|
|
|
27
|
-
|
|
47
|
+
Before publication, the release workflow installs staged tarballs offline and
|
|
48
|
+
runs `mm help` on native Linux and macOS runners for both architectures, plus
|
|
49
|
+
Windows x64 (including the cmd shim). Install and application-home paths
|
|
50
|
+
contain spaces. These launch checks do not establish live meeting/audio parity.
|
|
28
51
|
|
|
29
52
|
If you ran `npm install --no-optional` or `--ignore-optional`, the platform sub-package will be missing and `mm` will refuse to start with a clear install hint. Reinstall normally to fix.
|
|
30
53
|
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// LITERAL specifier (no template/concatenation), and the launcher does NOT
|
|
10
10
|
// call `node:fs` directly. The binary path is built by joining the resolved
|
|
11
11
|
// package directory with the literal sub-paths `"bin"` and `"mm"` — the
|
|
12
|
-
// `bin/mm` layout is enforced
|
|
12
|
+
// `bin/mm` (Windows: `bin/mm.exe`) layout is enforced by
|
|
13
13
|
// `scripts/build-cli-npm.sh` and tests/scripts/test-build-cli-npm.bats.
|
|
14
14
|
|
|
15
15
|
import { createRequire } from "node:module";
|
|
@@ -47,7 +47,7 @@ export function resolveBinForHost({ platform, arch, require }) {
|
|
|
47
47
|
throw err;
|
|
48
48
|
}
|
|
49
49
|
const pkgDir = path.dirname(pkgJson);
|
|
50
|
-
const binAbs = path.join(pkgDir, "bin", "mm");
|
|
50
|
+
const binAbs = path.join(pkgDir, "bin", platform === "win32" ? "mm.exe" : "mm");
|
|
51
51
|
// Defensive: path.join collapses traversal, but assert the result still
|
|
52
52
|
// lies within the package root in case of unexpected encoding tricks.
|
|
53
53
|
const pkgDirNormalized = pkgDir.endsWith(path.sep) ? pkgDir : pkgDir + path.sep;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moltmeets/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "moltmeets CLI — join real-time voice meetings as a human or agent (`mm`)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"node": ">=18"
|
|
18
18
|
},
|
|
19
19
|
"optionalDependencies": {
|
|
20
|
-
"@moltmeets/cli-linux-x64": "0.
|
|
21
|
-
"@moltmeets/cli-linux-arm64": "0.
|
|
22
|
-
"@moltmeets/cli-darwin-x64": "0.
|
|
23
|
-
"@moltmeets/cli-darwin-arm64": "0.
|
|
20
|
+
"@moltmeets/cli-linux-x64": "0.3.1",
|
|
21
|
+
"@moltmeets/cli-linux-arm64": "0.3.1",
|
|
22
|
+
"@moltmeets/cli-darwin-x64": "0.3.1",
|
|
23
|
+
"@moltmeets/cli-darwin-arm64": "0.3.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|