@murmurv2/cli 2.12.0 → 2.13.0
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 +65 -24
- package/package.json +7 -6
- package/runtime/bin/murmur-svc.exe +0 -0
- package/runtime/npm-runtime-manifest.json +151 -75
- package/runtime/package.json +1 -1
- package/runtime/packages/mcp-server/dist/src/agent-config.js +1 -0
- package/runtime/packages/setup/bin/murmur.mjs +3 -2
- package/runtime/packages/setup/dist/src/backups.d.ts +36 -0
- package/runtime/packages/setup/dist/src/backups.js +128 -0
- package/runtime/packages/setup/dist/src/broker-input.d.ts +24 -0
- package/runtime/packages/setup/dist/src/broker-input.js +98 -0
- package/runtime/packages/setup/dist/src/broker-migration.d.ts +35 -0
- package/runtime/packages/setup/dist/src/broker-migration.js +138 -0
- package/runtime/packages/setup/dist/src/cli-error.d.ts +2 -0
- package/runtime/packages/setup/dist/src/cli-error.js +30 -0
- package/runtime/packages/setup/dist/src/cli.js +67 -10
- package/runtime/packages/setup/dist/src/clients.d.ts +28 -76
- package/runtime/packages/setup/dist/src/clients.js +159 -25
- package/runtime/packages/setup/dist/src/commands.js +3 -3
- package/runtime/packages/setup/dist/src/config.d.ts +8 -0
- package/runtime/packages/setup/dist/src/config.js +58 -10
- package/runtime/packages/setup/dist/src/connect.d.ts +143 -0
- package/runtime/packages/setup/dist/src/connect.js +126 -0
- package/runtime/packages/setup/dist/src/doctor.d.ts +30 -0
- package/runtime/packages/setup/dist/src/doctor.js +72 -10
- package/runtime/packages/setup/dist/src/installation.d.ts +25 -0
- package/runtime/packages/setup/dist/src/installation.js +89 -0
- package/runtime/packages/setup/dist/src/message-status.d.ts +1 -0
- package/runtime/packages/setup/dist/src/message-status.js +3 -0
- package/runtime/packages/setup/dist/src/onboarding.d.ts +11 -6
- package/runtime/packages/setup/dist/src/onboarding.js +92 -21
- package/runtime/packages/setup/dist/src/paths.d.ts +7 -0
- package/runtime/packages/setup/dist/src/paths.js +39 -24
- package/runtime/packages/setup/dist/src/platform/darwin.d.ts +3 -0
- package/runtime/packages/setup/dist/src/platform/darwin.js +235 -9
- package/runtime/packages/setup/dist/src/platform/linux.js +132 -2
- package/runtime/packages/setup/dist/src/platform/profile-usage.d.ts +20 -0
- package/runtime/packages/setup/dist/src/platform/profile-usage.js +89 -0
- package/runtime/packages/setup/dist/src/platform/windows.js +22 -1
- package/runtime/packages/setup/dist/src/private-file.d.ts +4 -1
- package/runtime/packages/setup/dist/src/private-file.js +39 -3
- package/runtime/packages/setup/dist/src/state.d.ts +4 -0
- package/runtime/packages/setup/dist/src/state.js +65 -1
- package/runtime/packages/setup/dist/src/status.d.ts +9 -0
- package/runtime/packages/setup/dist/src/status.js +7 -3
- package/runtime/packages/setup/dist/src/types.d.ts +10 -0
- package/runtime/packages/setup/dist/src/wake-readers.d.ts +12 -0
- package/runtime/packages/setup/dist/src/wake-readers.js +65 -0
- package/runtime/packages/setup/package.json +1 -1
- package/runtime/scripts/auth-security.mjs +93 -0
- package/runtime/scripts/codex-app-server-wake.mjs +13 -0
- package/runtime/scripts/daemon-contacts.mjs +1 -1
- package/runtime/scripts/murmur-auth-token.mjs +140 -0
- package/runtime/scripts/murmur-daemon.mjs +22 -6
- package/runtime/scripts/murmur-jetstream-advisory.mjs +27 -0
- package/runtime/scripts/murmur-shell-send.mjs +3 -3
- package/runtime/scripts/wake-drain-claude.mjs +124 -7
package/README.md
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
# Murmur CLI
|
|
1
|
+
# Murmur Connect CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
The command-line tool of Murmur Connect, known as Murmur for short. Set up your Identity, exchange an Invitation and a Reply, and connect your
|
|
4
5
|
Assistant to Murmur. The executable is `murmur`.
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
install the pinned version below or use a GitHub release asset. Step-by-step
|
|
9
|
-
installation of the desktop app is on https://murmurconnect.com/#install.
|
|
7
|
+
Install the pinned v2.13.0 CLI from npm or use a GitHub release asset.
|
|
8
|
+
Desktop application installation is on https://murmurconnect.com/#install.
|
|
10
9
|
|
|
11
10
|
```sh
|
|
12
|
-
npm install --global @murmurv2/cli@2.
|
|
11
|
+
npm install --global @murmurv2/cli@2.13.0
|
|
13
12
|
murmur version --json
|
|
14
13
|
```
|
|
15
14
|
|
|
@@ -19,29 +18,47 @@ The tarball includes the CLI, daemon, MCP entry, and prebuilt Windows x64 servic
|
|
|
19
18
|
helper. It does not include a desktop application. On Windows PowerShell use
|
|
20
19
|
`npm.cmd` and `murmur.cmd` if execution policy blocks the PowerShell shims.
|
|
21
20
|
|
|
22
|
-
Use
|
|
21
|
+
Use an explicit absolute profile path for the commands below, or register one
|
|
22
|
+
with `murmur installation select --data-dir /absolute/profile`. New `init` and
|
|
23
|
+
`join` commands accept `--select` to register their profile. The CLI, daemon and
|
|
24
|
+
MCP server then share that choice from every working directory. See
|
|
25
|
+
[installation selection and legacy migration](../../docs/installation-profile.md).
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
It prints one `MURMUR:` line. Add `--out /private/invitation.txt` for a private
|
|
26
|
-
file copy; `--json` returns the line in `invitation` and the
|
|
27
|
-
`containsBrokerCredential` flag. If that flag is true, an application must explain
|
|
28
|
-
that the Invitation contains a Server access key and obtain confirmation before
|
|
29
|
-
copying it. Send it personally to your colleague.
|
|
30
|
-
If the profile uses a private Server address, ask for that Server's public address
|
|
31
|
-
and add `--broker nats://server.example.com:4222`. The Invitation uses this address;
|
|
32
|
-
the Service keeps its existing settings. A private override is also refused.
|
|
27
|
+
## Accept an invitation
|
|
33
28
|
|
|
34
|
-
|
|
29
|
+
Use the [one-prompt quickstart](../../README.md#zero-terminal-quickstart) in your
|
|
30
|
+
AI assistant, or run:
|
|
35
31
|
|
|
36
32
|
```sh
|
|
37
|
-
murmur
|
|
38
|
-
murmur service install --data-dir /absolute/profile
|
|
39
|
-
murmur service start --data-dir /absolute/profile
|
|
40
|
-
murmur clients detect --data-dir /absolute/profile
|
|
41
|
-
murmur clients configure --client codex-cli --data-dir /absolute/profile
|
|
42
|
-
murmur doctor --peer HOST-AGENT --data-dir /absolute/profile --json
|
|
33
|
+
murmur connect --invite-file /private/invite.txt
|
|
43
34
|
```
|
|
44
35
|
|
|
36
|
+
`--invite` accepts a saved path or forwarded chat text with the invitation
|
|
37
|
+
inside it. Prefer a file or `--invite-stdin` for anything containing credentials.
|
|
38
|
+
The command uses a user profile outside the checkout, saves a Reply next to it
|
|
39
|
+
and prints the `MURMUR-REPLY:` line to send back. Repeating the command with the
|
|
40
|
+
same profile preserves your keys and generates the same Reply. The default reply
|
|
41
|
+
filename gets a suffix if occupied. Use `--data-dir` to select an existing profile
|
|
42
|
+
or `--reply-out` to name a new, unoccupied file.
|
|
43
|
+
|
|
44
|
+
The command checks the owned service and installs and starts it if needed. It
|
|
45
|
+
configures detected Claude Code and Codex clients without replacing custom
|
|
46
|
+
entries. Use `--client claude-desktop` to select Claude Desktop explicitly,
|
|
47
|
+
`--no-service` or `--client none` to skip those steps, and `--copy-reply` to ask
|
|
48
|
+
Murmur to copy the Reply when a clipboard is available. Restart the AI client
|
|
49
|
+
after setup. A saved Reply is not evidence that the service is running or that
|
|
50
|
+
the inviter has imported it.
|
|
51
|
+
|
|
52
|
+
## Create an invitation
|
|
53
|
+
|
|
54
|
+
Use `murmur invite --data-dir /absolute/profile --out /private/invitation.txt`.
|
|
55
|
+
An Invitation may contain a Server access key. Send the file privately. With
|
|
56
|
+
`--out`, stdout never includes the Invitation unless you add `--print-secret`.
|
|
57
|
+
JSON reports `outFile`, `secretRedacted` and `containsBrokerCredential`. Without
|
|
58
|
+
`--out`, the Invitation is printed as before. For a profile with a private
|
|
59
|
+
Server address, use `--broker-url nats://server.example.com:4222` (alias `--broker`)
|
|
60
|
+
to name its public address without changing the profile.
|
|
61
|
+
|
|
45
62
|
For an application that accepts pasted lines, use `join --invite-stdin` and
|
|
46
63
|
`add-peer --reply-stdin`, sending the line on the subprocess input stream, never
|
|
47
64
|
as a command argument. `join` prints the Reply as one `MURMUR:` line;
|
|
@@ -76,3 +93,27 @@ Service's profile before returning its existing readable folder under
|
|
|
76
93
|
`murmur.logs/1` with `source: "native"`. Missing or unverified Services and folders
|
|
77
94
|
are refused; the command does not create directories or change the Service.
|
|
78
95
|
Pass the same `--service-name` used during installation when it was customized.
|
|
96
|
+
|
|
97
|
+
## Dedicated Claude Code folder
|
|
98
|
+
|
|
99
|
+
Use `clients preview/configure --client claude-code --project-dir ABSOLUTE` to connect a dedicated existing folder. The writer preserves the selected identity, writes project MCP/hooks, shares one wake cursor across chats there, and refuses inherited wake hooks before mutation. See [desktop assistant setup](../../docs/desktop-assistants.md#one-dedicated-conversation-in-claudes-code-tab-2121-candidate). Status/doctor report live reader counts on macOS/Linux and explicit unknowns elsewhere. Homebrew Node paths use a verified stable executable; explicit runtime overrides remain unchanged.
|
|
100
|
+
Private Identity and client configuration backups are kept until you explicitly
|
|
101
|
+
clean them. `murmur backups preview --kind agent --data-dir /absolute/profile
|
|
102
|
+
--json` shows the exact removal plan; `backups cleanup` requires its `--plan-id`.
|
|
103
|
+
The policy keeps 30 days and at least five copies per source, plus named restore
|
|
104
|
+
points. Client JSON/TOML files use `--kind client --config-file ABSOLUTE`.
|
|
105
|
+
See [backup retention and recovery](../../docs/backup-retention.md) before deleting copies.
|
|
106
|
+
|
|
107
|
+
## Optional broker TLS
|
|
108
|
+
|
|
109
|
+
`init` and `join` accept `--user-file` with `--password-file`, or `--token-file`,
|
|
110
|
+
plus optional `--ca-file` and `--server-name`. Paths must be absolute; secrets are
|
|
111
|
+
read from existing private files. Explicit `tls://` endpoints require verified TLS,
|
|
112
|
+
while existing remote `nats://` profiles remain compatible. The recipient supplies
|
|
113
|
+
their own user/password files; token-bearing Invitations retain their current format.
|
|
114
|
+
|
|
115
|
+
`broker migrate --broker-url URL` previews a transport change. Add the intended
|
|
116
|
+
credential/TLS files and `--apply` only after explicitly stopping the owned Service
|
|
117
|
+
and closing clients. Apply requires independently verified unused files; unknown
|
|
118
|
+
use refuses, with no force option. It backs up exact configuration bytes and never
|
|
119
|
+
automatically restarts a Service. See [TLS setup and migration](../../docs/nats-transport-security.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@murmurv2/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "runtime/packages/setup/dist/src/index.js",
|
|
6
6
|
"types": "runtime/packages/setup/dist/src/index.d.ts",
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@iarna/toml": "^2.2.5",
|
|
16
|
-
"@murmurv2/broker-nats": "^0.3.
|
|
17
|
-
"@murmurv2/core": "^0.6.
|
|
18
|
-
"@murmurv2/
|
|
19
|
-
"@murmurv2/
|
|
16
|
+
"@murmurv2/broker-nats": "^0.3.7",
|
|
17
|
+
"@murmurv2/core": "^0.6.6",
|
|
18
|
+
"@murmurv2/federation": "^0.2.2",
|
|
19
|
+
"@murmurv2/mcp-server": "^0.2.4",
|
|
20
|
+
"@murmurv2/security": "^0.1.3",
|
|
20
21
|
"nats": "^2.28.2",
|
|
21
22
|
"ws": "^8.21.0"
|
|
22
23
|
},
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"publishConfig": {
|
|
33
34
|
"access": "public"
|
|
34
35
|
},
|
|
35
|
-
"description": "Murmur CLI — invite-based setup, background service, client configuration and diagnostics.",
|
|
36
|
+
"description": "Murmur Connect CLI (murmur) — invite-based setup, background service, client configuration and diagnostics.",
|
|
36
37
|
"mcpName": "io.github.alexfrmn/murmur",
|
|
37
38
|
"files": [
|
|
38
39
|
"bin/murmur-npm.mjs",
|
|
Binary file
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "murmur.npm-cli/1",
|
|
3
|
-
"sourceCommit": "
|
|
3
|
+
"sourceCommit": "7d92d599eaf951598c59202ee289fc54e4957a53",
|
|
4
4
|
"sourceDirty": false,
|
|
5
|
-
"declaredVersion": "2.
|
|
6
|
-
"sourceLockSha256": "
|
|
5
|
+
"declaredVersion": "2.13.0",
|
|
6
|
+
"sourceLockSha256": "c57e6a354fa6e33b7b1879198863afcdb5221c421b24a7ca97af9af25375c264",
|
|
7
7
|
"windowsHelper": {
|
|
8
8
|
"component": "windows-service",
|
|
9
9
|
"platform": "windows",
|
|
10
10
|
"arch": "amd64",
|
|
11
|
-
"version": "2.
|
|
12
|
-
"sourceCommit": "
|
|
13
|
-
"sha256": "
|
|
14
|
-
"size":
|
|
11
|
+
"version": "2.13.0",
|
|
12
|
+
"sourceCommit": "7d92d599eaf951598c59202ee289fc54e4957a53",
|
|
13
|
+
"sha256": "f62d1c25f162eeed552dd90aa003eb0f2cb6ca101369bdf3d2f0a3e9c05ca06c",
|
|
14
|
+
"size": 2964480,
|
|
15
15
|
"nativeVersionExecuted": false
|
|
16
16
|
},
|
|
17
17
|
"files": {
|
|
18
18
|
"package.json": {
|
|
19
|
-
"sha256": "
|
|
19
|
+
"sha256": "1d2ac8aef5d547728d0908c1d4b1ceee8da72c1994761a872818a424b1952c4c",
|
|
20
20
|
"size": 83
|
|
21
21
|
},
|
|
22
22
|
"packages/setup/package.json": {
|
|
23
|
-
"sha256": "
|
|
23
|
+
"sha256": "37b3b230561ac452a7c27ab9fa5b6e641290552b1b79981191a4855cade5900c",
|
|
24
24
|
"size": 132
|
|
25
25
|
},
|
|
26
26
|
"packages/setup/dist/src/appdata.d.ts": {
|
|
@@ -31,45 +31,85 @@
|
|
|
31
31
|
"sha256": "1c1627aa1724a56dc6631d728b56f7715de80d9f8b730cf69e7d0afbdf5b5ddc",
|
|
32
32
|
"size": 2678
|
|
33
33
|
},
|
|
34
|
+
"packages/setup/dist/src/backups.d.ts": {
|
|
35
|
+
"sha256": "9e293568d06f7d27867922c35d05ed7b533f9fa380383a3f83560cdcf025380d",
|
|
36
|
+
"size": 1182
|
|
37
|
+
},
|
|
38
|
+
"packages/setup/dist/src/backups.js": {
|
|
39
|
+
"sha256": "1e007432ad938ca4265c55fec8d4d753c348d8f7eeea80b019babb3e82a0baa6",
|
|
40
|
+
"size": 7687
|
|
41
|
+
},
|
|
42
|
+
"packages/setup/dist/src/broker-input.d.ts": {
|
|
43
|
+
"sha256": "0b6ee39fe6a8134728d12913977951616ebd1d7a716fd0b749fe582d4e9e72b5",
|
|
44
|
+
"size": 839
|
|
45
|
+
},
|
|
46
|
+
"packages/setup/dist/src/broker-input.js": {
|
|
47
|
+
"sha256": "9d0a2c7d8a2cea9fd2054d1aac385207fb66390823719db5f5b1a4b5ac2a4907",
|
|
48
|
+
"size": 4872
|
|
49
|
+
},
|
|
50
|
+
"packages/setup/dist/src/broker-migration.d.ts": {
|
|
51
|
+
"sha256": "67a56b115f0076a7d0a5af009153e4978309257983a56c76b181161c276eb2a2",
|
|
52
|
+
"size": 858
|
|
53
|
+
},
|
|
54
|
+
"packages/setup/dist/src/broker-migration.js": {
|
|
55
|
+
"sha256": "723e6b4cbc86c5fdd09303e4e5c1e75ee6bdae006b0a27164d0ae1e98fb4170c",
|
|
56
|
+
"size": 6716
|
|
57
|
+
},
|
|
58
|
+
"packages/setup/dist/src/cli-error.d.ts": {
|
|
59
|
+
"sha256": "9fb35415ad9d582ea0f72b58cb2b48b43b99a0a279269d5651c763a9bb93a836",
|
|
60
|
+
"size": 139
|
|
61
|
+
},
|
|
62
|
+
"packages/setup/dist/src/cli-error.js": {
|
|
63
|
+
"sha256": "e3a7da4235c64e78094a39cfad092c2a98939e3884a9497bbe437116e9020863",
|
|
64
|
+
"size": 2312
|
|
65
|
+
},
|
|
34
66
|
"packages/setup/dist/src/cli.d.ts": {
|
|
35
67
|
"sha256": "45ddc7e1eac91a7eb922339b3f01a39a28cf027789309b477eb4ffcfdd020682",
|
|
36
68
|
"size": 462
|
|
37
69
|
},
|
|
38
70
|
"packages/setup/dist/src/cli.js": {
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
71
|
+
"sha256": "5a3e753151f26700cae82f3f8692f9fee4ccf667932f42664a403c2dc542b91d",
|
|
72
|
+
"size": 16484
|
|
41
73
|
},
|
|
42
74
|
"packages/setup/dist/src/clients.d.ts": {
|
|
43
|
-
"sha256": "
|
|
44
|
-
"size":
|
|
75
|
+
"sha256": "9c90a80706808f7e38aa7f6790491a434594e51fa5176f7d46c753e11637771f",
|
|
76
|
+
"size": 3534
|
|
45
77
|
},
|
|
46
78
|
"packages/setup/dist/src/clients.js": {
|
|
47
|
-
"sha256": "
|
|
48
|
-
"size":
|
|
79
|
+
"sha256": "75cb578869a430a46a13e327f182dbbabd1b0e8ab34d48245c4f21762e69eb11",
|
|
80
|
+
"size": 22524
|
|
49
81
|
},
|
|
50
82
|
"packages/setup/dist/src/commands.d.ts": {
|
|
51
83
|
"sha256": "c930b1058ff2d45be38f74df2251a722fe0f1599b5d7afbc6bf74d17a780633c",
|
|
52
84
|
"size": 1417
|
|
53
85
|
},
|
|
54
86
|
"packages/setup/dist/src/commands.js": {
|
|
55
|
-
"sha256": "
|
|
56
|
-
"size":
|
|
87
|
+
"sha256": "fcfbafe2fd83eb69f0d6c5f1fe3dfec14d34e0235b98180d20787598c59481aa",
|
|
88
|
+
"size": 6482
|
|
57
89
|
},
|
|
58
90
|
"packages/setup/dist/src/config.d.ts": {
|
|
59
|
-
"sha256": "
|
|
60
|
-
"size":
|
|
91
|
+
"sha256": "13425d2fe6d9c6b34405ea9428a31cdc38ecee0816ae273e191bbd636a374eca",
|
|
92
|
+
"size": 1728
|
|
61
93
|
},
|
|
62
94
|
"packages/setup/dist/src/config.js": {
|
|
63
|
-
"sha256": "
|
|
64
|
-
"size":
|
|
95
|
+
"sha256": "adaaafc0905e02fd254f8512cc2cb560344d99936fb76693ba121d1e95405178",
|
|
96
|
+
"size": 14165
|
|
97
|
+
},
|
|
98
|
+
"packages/setup/dist/src/connect.d.ts": {
|
|
99
|
+
"sha256": "28281572d2e241c84033426549cf6ca1217c11f595d9a8a9be9203d3faa0f8bc",
|
|
100
|
+
"size": 4364
|
|
101
|
+
},
|
|
102
|
+
"packages/setup/dist/src/connect.js": {
|
|
103
|
+
"sha256": "d808c124eb477ffe9c0c6d32261fd83dac2bf600f28f29d0302b99b6d1ee2851",
|
|
104
|
+
"size": 6503
|
|
65
105
|
},
|
|
66
106
|
"packages/setup/dist/src/doctor.d.ts": {
|
|
67
|
-
"sha256": "
|
|
68
|
-
"size":
|
|
107
|
+
"sha256": "35697caa5300f299f2eec43131f148c6bcd94a6057c335508b13991f2e69f4c9",
|
|
108
|
+
"size": 2137
|
|
69
109
|
},
|
|
70
110
|
"packages/setup/dist/src/doctor.js": {
|
|
71
|
-
"sha256": "
|
|
72
|
-
"size":
|
|
111
|
+
"sha256": "8c878dc89b679900e8272f48262dadff0acb32739c8985e515c9b1c55ac9860b",
|
|
112
|
+
"size": 16896
|
|
73
113
|
},
|
|
74
114
|
"packages/setup/dist/src/file-identity.d.ts": {
|
|
75
115
|
"sha256": "1f5845364d263c80167ed533e46a02751a008d3993a6894aae50a13f646e6767",
|
|
@@ -87,6 +127,14 @@
|
|
|
87
127
|
"sha256": "8d863cf184dd6837b7d6544a202f6b2a19787b37e82bac379decc8a07268a7a0",
|
|
88
128
|
"size": 236
|
|
89
129
|
},
|
|
130
|
+
"packages/setup/dist/src/installation.d.ts": {
|
|
131
|
+
"sha256": "6dd11df68e6a4200a46ac0f4a5cf453db65949165e5aa1179e622b4283317d56",
|
|
132
|
+
"size": 888
|
|
133
|
+
},
|
|
134
|
+
"packages/setup/dist/src/installation.js": {
|
|
135
|
+
"sha256": "a952ed2b22a737a4edebbed4ae53871ee636b30ca13931c3174ba3da3e43c71d",
|
|
136
|
+
"size": 4245
|
|
137
|
+
},
|
|
90
138
|
"packages/setup/dist/src/invitation-server.d.ts": {
|
|
91
139
|
"sha256": "6456bba1de8ddf8c9a520a4631f972cd79ebf66428f4673af6692e7136b6bc97",
|
|
92
140
|
"size": 159
|
|
@@ -96,20 +144,20 @@
|
|
|
96
144
|
"size": 2555
|
|
97
145
|
},
|
|
98
146
|
"packages/setup/dist/src/message-status.d.ts": {
|
|
99
|
-
"sha256": "
|
|
100
|
-
"size":
|
|
147
|
+
"sha256": "6f9179a55be8b0420ab95948ac07257980f4b2647dad86ea46e614956990158d",
|
|
148
|
+
"size": 372
|
|
101
149
|
},
|
|
102
150
|
"packages/setup/dist/src/message-status.js": {
|
|
103
|
-
"sha256": "
|
|
104
|
-
"size":
|
|
151
|
+
"sha256": "3488b150992831ee61ece3372ae0812bc50550d5c8539f8a79ce9690f97ba4dc",
|
|
152
|
+
"size": 829
|
|
105
153
|
},
|
|
106
154
|
"packages/setup/dist/src/onboarding.d.ts": {
|
|
107
|
-
"sha256": "
|
|
108
|
-
"size":
|
|
155
|
+
"sha256": "da7ef9a9a1304cb32e718a8aa4443e04531487921cbfa76cba7bb97c79c43403",
|
|
156
|
+
"size": 1681
|
|
109
157
|
},
|
|
110
158
|
"packages/setup/dist/src/onboarding.js": {
|
|
111
|
-
"sha256": "
|
|
112
|
-
"size":
|
|
159
|
+
"sha256": "b474fe3a5111a3034cb11398ef1107f2dc69c969f797b50c2e1414e5d8e42ad7",
|
|
160
|
+
"size": 19657
|
|
113
161
|
},
|
|
114
162
|
"packages/setup/dist/src/outbox-attention.d.ts": {
|
|
115
163
|
"sha256": "a96effdd0e47701836fb93ab0c24a30d78f29fc0f3e7193406067535532ff962",
|
|
@@ -120,44 +168,52 @@
|
|
|
120
168
|
"size": 4326
|
|
121
169
|
},
|
|
122
170
|
"packages/setup/dist/src/paths.d.ts": {
|
|
123
|
-
"sha256": "
|
|
124
|
-
"size":
|
|
171
|
+
"sha256": "1e22c573bcc32357d40a0515a3a345425d868349f50c5a7a53e78b2295f7c3ea",
|
|
172
|
+
"size": 874
|
|
125
173
|
},
|
|
126
174
|
"packages/setup/dist/src/paths.js": {
|
|
127
|
-
"sha256": "
|
|
128
|
-
"size":
|
|
175
|
+
"sha256": "8b43843692d666084838e5dfbcf2193b5bd5e92c36fbde762673dcd669ab5cd6",
|
|
176
|
+
"size": 3485
|
|
129
177
|
},
|
|
130
178
|
"packages/setup/dist/src/platform/darwin.d.ts": {
|
|
131
|
-
"sha256": "
|
|
132
|
-
"size":
|
|
179
|
+
"sha256": "a082f8c5d145ae04404f620f97edf7477d0f103856080998cc8a5e8323a09c86",
|
|
180
|
+
"size": 728
|
|
133
181
|
},
|
|
134
182
|
"packages/setup/dist/src/platform/darwin.js": {
|
|
135
|
-
"sha256": "
|
|
136
|
-
"size":
|
|
183
|
+
"sha256": "b91df6b457f5708280919638ed10ae658b51ea91fdf93587f0418f4c716cc77c",
|
|
184
|
+
"size": 26807
|
|
137
185
|
},
|
|
138
186
|
"packages/setup/dist/src/platform/linux.d.ts": {
|
|
139
187
|
"sha256": "989d39cc9d5c73c9dae7dc926344fa2c6dde5e80f0a8d7657d5ce1f774da9b44",
|
|
140
188
|
"size": 375
|
|
141
189
|
},
|
|
142
190
|
"packages/setup/dist/src/platform/linux.js": {
|
|
143
|
-
"sha256": "
|
|
144
|
-
"size":
|
|
191
|
+
"sha256": "df78ba3effc70c65becc7c4237301ac3be7a5f5b50e3e0b73edcb7cfb8dc35db",
|
|
192
|
+
"size": 15483
|
|
193
|
+
},
|
|
194
|
+
"packages/setup/dist/src/platform/profile-usage.d.ts": {
|
|
195
|
+
"sha256": "21a3bd4d6233ba788461c7850007aec0c01aac2270d5b2dc2873dfdd27e5fe7d",
|
|
196
|
+
"size": 1044
|
|
197
|
+
},
|
|
198
|
+
"packages/setup/dist/src/platform/profile-usage.js": {
|
|
199
|
+
"sha256": "1e63632bec1f0e05710137e88d7988c653878a43562ce3e8309b14a88392305c",
|
|
200
|
+
"size": 4026
|
|
145
201
|
},
|
|
146
202
|
"packages/setup/dist/src/platform/windows.d.ts": {
|
|
147
203
|
"sha256": "9f2cb7a20c26f936c9878ca5d525edd7486142392452db47c49e5676e98e2808",
|
|
148
204
|
"size": 1123
|
|
149
205
|
},
|
|
150
206
|
"packages/setup/dist/src/platform/windows.js": {
|
|
151
|
-
"sha256": "
|
|
152
|
-
"size":
|
|
207
|
+
"sha256": "af8026e1aa75e3e05be2598d1a565241830ce2ed85da2dae58148de759dbd829",
|
|
208
|
+
"size": 15703
|
|
153
209
|
},
|
|
154
210
|
"packages/setup/dist/src/private-file.d.ts": {
|
|
155
|
-
"sha256": "
|
|
156
|
-
"size":
|
|
211
|
+
"sha256": "0e3101e489f780da4026e11deb4a91b76a2473697b5d30835b54a1ef3c969765",
|
|
212
|
+
"size": 688
|
|
157
213
|
},
|
|
158
214
|
"packages/setup/dist/src/private-file.js": {
|
|
159
|
-
"sha256": "
|
|
160
|
-
"size":
|
|
215
|
+
"sha256": "bf539d02f049cbf0de48d34a6a64ae10e707ce6aa707c54dd21fd536b60fde59",
|
|
216
|
+
"size": 7807
|
|
161
217
|
},
|
|
162
218
|
"packages/setup/dist/src/reply-test.d.ts": {
|
|
163
219
|
"sha256": "aaa1e6357f33d0a6144e1d00dacfdf16363fa235cb376e7c3d4700f3d4d7fd33",
|
|
@@ -168,12 +224,12 @@
|
|
|
168
224
|
"size": 5030
|
|
169
225
|
},
|
|
170
226
|
"packages/setup/dist/src/state.d.ts": {
|
|
171
|
-
"sha256": "
|
|
172
|
-
"size":
|
|
227
|
+
"sha256": "79e6a0a32f0396fe65f16fec867e68a7e7b35a1871a25ca5d4b7bdbf9c64cffa",
|
|
228
|
+
"size": 659
|
|
173
229
|
},
|
|
174
230
|
"packages/setup/dist/src/state.js": {
|
|
175
|
-
"sha256": "
|
|
176
|
-
"size":
|
|
231
|
+
"sha256": "ec11de968689f9156cbab82c0a353c827d0ba14af1b148897123e24ccb1d6d7f",
|
|
232
|
+
"size": 2999
|
|
177
233
|
},
|
|
178
234
|
"packages/setup/dist/src/status-line.d.ts": {
|
|
179
235
|
"sha256": "3836cac32982321f19c88bd9652ed0b1a1cf2cd47d67196faf612555b3543916",
|
|
@@ -184,16 +240,16 @@
|
|
|
184
240
|
"size": 984
|
|
185
241
|
},
|
|
186
242
|
"packages/setup/dist/src/status.d.ts": {
|
|
187
|
-
"sha256": "
|
|
188
|
-
"size":
|
|
243
|
+
"sha256": "50ee7c1692dbedbf4b45bbf23623fc0a37351de166b99da22ac0ab6da6fc9343",
|
|
244
|
+
"size": 4959
|
|
189
245
|
},
|
|
190
246
|
"packages/setup/dist/src/status.js": {
|
|
191
|
-
"sha256": "
|
|
192
|
-
"size":
|
|
247
|
+
"sha256": "fc2fe581b8eb5b0bc513949e4f6b48aa57ec0dec0e3c355dd30bfa326700055b",
|
|
248
|
+
"size": 18289
|
|
193
249
|
},
|
|
194
250
|
"packages/setup/dist/src/types.d.ts": {
|
|
195
|
-
"sha256": "
|
|
196
|
-
"size":
|
|
251
|
+
"sha256": "2df31397e719e526b9e395630a5b920d744187935bf06bbee65ae4b1efa4e22e",
|
|
252
|
+
"size": 2763
|
|
197
253
|
},
|
|
198
254
|
"packages/setup/dist/src/types.js": {
|
|
199
255
|
"sha256": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
@@ -223,9 +279,17 @@
|
|
|
223
279
|
"sha256": "62623206ebaba33150c381ccb24ee5a523e4c81a4dafc9d6ce2620941f375686",
|
|
224
280
|
"size": 2384
|
|
225
281
|
},
|
|
282
|
+
"packages/setup/dist/src/wake-readers.d.ts": {
|
|
283
|
+
"sha256": "62216526ddb1078c40f00b2c17fd7ed89bb4efde3f6f4f4c1a5298adcdd1df9a",
|
|
284
|
+
"size": 455
|
|
285
|
+
},
|
|
286
|
+
"packages/setup/dist/src/wake-readers.js": {
|
|
287
|
+
"sha256": "7867b986c7f5f0374bffbcef4aadc4583375ef4f0d01ed14f8c82b2a56f03ba7",
|
|
288
|
+
"size": 2990
|
|
289
|
+
},
|
|
226
290
|
"packages/setup/bin/murmur.mjs": {
|
|
227
|
-
"sha256": "
|
|
228
|
-
"size":
|
|
291
|
+
"sha256": "4b2325cc428cbf7b52f7cab1db729cc0c5197416961f3d7baea19b39e76ab2d4",
|
|
292
|
+
"size": 1874
|
|
229
293
|
},
|
|
230
294
|
"packages/mcp-server/package.json": {
|
|
231
295
|
"sha256": "89c47db7851f89caec72da4f215ebc21cf1e294aeef3b45d2583562d846ab035",
|
|
@@ -235,13 +299,21 @@
|
|
|
235
299
|
"sha256": "506403a79cff2f69ba25b04c4cb7a66477c7ab3c7e38e5399a9bfb98a0ea4c41",
|
|
236
300
|
"size": 31
|
|
237
301
|
},
|
|
302
|
+
"packages/mcp-server/dist/src/agent-config.js": {
|
|
303
|
+
"sha256": "175e754483586d168bdd8650fd093548d5c4062420ec3e522a57ebb1c83ae159",
|
|
304
|
+
"size": 63
|
|
305
|
+
},
|
|
238
306
|
"scripts/murmur-daemon.mjs": {
|
|
239
|
-
"sha256": "
|
|
240
|
-
"size":
|
|
307
|
+
"sha256": "a92bef78ca2557c18a843902778bdc1e873a563ae4e98fd8201e02d586df6a9f",
|
|
308
|
+
"size": 25096
|
|
241
309
|
},
|
|
242
310
|
"scripts/murmur-shell-send.mjs": {
|
|
243
|
-
"sha256": "
|
|
244
|
-
"size":
|
|
311
|
+
"sha256": "76de516514519861f7958b4fa49ef3f39bce8f7a275a53d21bb5c7053a82a249",
|
|
312
|
+
"size": 5194
|
|
313
|
+
},
|
|
314
|
+
"scripts/murmur-auth-token.mjs": {
|
|
315
|
+
"sha256": "5c95a20526fc29448d3d3a8fba4d2a5f29435ec981e93af8d04adf1780de2adb",
|
|
316
|
+
"size": 5122
|
|
245
317
|
},
|
|
246
318
|
"scripts/runtime-capability.mjs": {
|
|
247
319
|
"sha256": "1ee5358161a678c763df9f84bd05068c4938e5166a3f59b1535b54dcb5621d9c",
|
|
@@ -252,12 +324,12 @@
|
|
|
252
324
|
"size": 10755
|
|
253
325
|
},
|
|
254
326
|
"scripts/codex-app-server-wake.mjs": {
|
|
255
|
-
"sha256": "
|
|
256
|
-
"size":
|
|
327
|
+
"sha256": "a6ee04dd2c3df3ff7e2e4b012e9fb24b09e2886e61dba4f6546c6cb1b050e08b",
|
|
328
|
+
"size": 35235
|
|
257
329
|
},
|
|
258
330
|
"scripts/murmur-jetstream-advisory.mjs": {
|
|
259
|
-
"sha256": "
|
|
260
|
-
"size":
|
|
331
|
+
"sha256": "0d0f235d5fb4f0eec212618e0128aad0e67d63796f650064b22de4b6032dc265",
|
|
332
|
+
"size": 1701
|
|
261
333
|
},
|
|
262
334
|
"scripts/wake-monitor.mjs": {
|
|
263
335
|
"sha256": "f51f1c6f7653d60d5eb9877b4a17f1d69fd6c75a0b65cf56c9c26767cd2378bf",
|
|
@@ -283,21 +355,25 @@
|
|
|
283
355
|
"sha256": "bb769e874b6d4144b074596ba4c99dac4b6987b1e0e2967ffcf5fa73962e41a1",
|
|
284
356
|
"size": 1265
|
|
285
357
|
},
|
|
358
|
+
"scripts/auth-security.mjs": {
|
|
359
|
+
"sha256": "b6478be2e0bec86804757d22c00cdc702ecd28bd1ca914dbd7416477ca3d53d0",
|
|
360
|
+
"size": 3591
|
|
361
|
+
},
|
|
286
362
|
"scripts/doctor-protocol.mjs": {
|
|
287
363
|
"sha256": "e373b1ff7801bde10c016cb5d24fefdec39382127008a5c359c804338bd5dc13",
|
|
288
364
|
"size": 5282
|
|
289
365
|
},
|
|
290
366
|
"scripts/daemon-contacts.mjs": {
|
|
291
|
-
"sha256": "
|
|
292
|
-
"size":
|
|
367
|
+
"sha256": "5949939a7287b9ddd64bf3dcf92690f3b39a30340588a20d7e1a1bb3266e992e",
|
|
368
|
+
"size": 3188
|
|
293
369
|
},
|
|
294
370
|
"scripts/daemon-flush-tick.mjs": {
|
|
295
371
|
"sha256": "1d47a46549861d5ad60323e8db4fdf85c33d84c9fb786d4aa29cfc306dc8128c",
|
|
296
372
|
"size": 1239
|
|
297
373
|
},
|
|
298
374
|
"scripts/wake-drain-claude.mjs": {
|
|
299
|
-
"sha256": "
|
|
300
|
-
"size":
|
|
375
|
+
"sha256": "47cff6e3e2352a7a21cc3da63e0a01511ffdedecf09cebac080b1badf645d0ed",
|
|
376
|
+
"size": 32254
|
|
301
377
|
},
|
|
302
378
|
"plugins/claude-code/.claude-plugin/plugin.json": {
|
|
303
379
|
"sha256": "39743b9ea55f475c767dba430e1014fcfa19648e95ddcf0da9b0128f1744ec88",
|
|
@@ -328,8 +404,8 @@
|
|
|
328
404
|
"size": 705
|
|
329
405
|
},
|
|
330
406
|
"bin/murmur-svc.exe": {
|
|
331
|
-
"sha256": "
|
|
332
|
-
"size":
|
|
407
|
+
"sha256": "f62d1c25f162eeed552dd90aa003eb0f2cb6ca101369bdf3d2f0a3e9c05ca06c",
|
|
408
|
+
"size": 2964480
|
|
333
409
|
}
|
|
334
410
|
}
|
|
335
411
|
}
|
package/runtime/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"murmur","private":true,"version":"2.
|
|
1
|
+
{"name":"murmur","private":true,"version":"2.13.0","engines":{"node":">=22.13.0"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@murmurv2/mcp-server/dist/src/agent-config.js";
|
|
@@ -12,17 +12,18 @@ try { await checkRuntime(); }
|
|
|
12
12
|
catch (error) { process.stderr.write(error.message + '\n'); process.exit(1); }
|
|
13
13
|
// Dynamic imports let the capability check run before the engine imports SQLite.
|
|
14
14
|
const { main, isRawCliOutput } = await import('../dist/src/cli.js');
|
|
15
|
+
const { cliErrorText } = await import('../dist/src/cli-error.js');
|
|
15
16
|
const { safeError, humanError } = await import('../dist/src/config.js');
|
|
16
17
|
const lineMode = process.argv[2] === 'status' && process.argv.includes('--line');
|
|
17
18
|
try {
|
|
18
19
|
const result = await main(process.argv.slice(2));
|
|
19
20
|
if (!process.argv.includes('--json') && (result?.schema === 'murmur.invite/1' || result?.schema === 'murmur.join/1')) {
|
|
20
|
-
process.stdout.write((result.invitation ?? result.reply) + '\n');
|
|
21
|
+
process.stdout.write((result.invitation ?? result.reply ?? `Invitation saved to ${result.outFile}. ${result.instruction}`) + '\n');
|
|
21
22
|
} else if (isRawCliOutput(result)) {
|
|
22
23
|
if (result.text) process.stdout.write(result.text + '\n');
|
|
23
24
|
} else process.stdout.write(JSON.stringify(result) + '\n');
|
|
24
25
|
} catch (error) {
|
|
25
26
|
if (lineMode) process.stdout.write('Murmur: unknown (status.command-failed)\n');
|
|
26
|
-
process.stderr.write((process.argv.includes('--json') ? safeError(error) : humanError(error)) + '\n');
|
|
27
|
+
process.stderr.write((process.argv.includes('--json') ? safeError(error) : safeError(error).startsWith('migration.') ? cliErrorText(error) : humanError(error)) + '\n');
|
|
27
28
|
process.exitCode = 1;
|
|
28
29
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ServiceContext } from './types.js';
|
|
2
|
+
export interface BackupSelection {
|
|
3
|
+
kind: 'agent' | 'client';
|
|
4
|
+
configFile?: string;
|
|
5
|
+
keepFiles?: readonly string[];
|
|
6
|
+
}
|
|
7
|
+
/** No chmod, lock, directory creation, metadata write or automatic migration during preview. */
|
|
8
|
+
export declare function previewBackups(c: ServiceContext | null, selection: BackupSelection, now?: number): Promise<{
|
|
9
|
+
schema: string;
|
|
10
|
+
kind: "agent" | "client";
|
|
11
|
+
configFile: string;
|
|
12
|
+
policy: {
|
|
13
|
+
readonly days: 30;
|
|
14
|
+
readonly minimumCopies: 5;
|
|
15
|
+
};
|
|
16
|
+
cutoff: string;
|
|
17
|
+
expiresAt: string;
|
|
18
|
+
planId: string;
|
|
19
|
+
entries: {
|
|
20
|
+
path: string;
|
|
21
|
+
size: number;
|
|
22
|
+
modifiedAt: string;
|
|
23
|
+
action: "keep" | "remove";
|
|
24
|
+
reason: string;
|
|
25
|
+
}[];
|
|
26
|
+
removable: number;
|
|
27
|
+
}>;
|
|
28
|
+
/** Explicit deletion requires an unchanged, same-day preview and the existing setup writer's lock. */
|
|
29
|
+
export declare function cleanupBackups(c: ServiceContext | null, selection: BackupSelection, expectedPlan: string, now?: number): Promise<{
|
|
30
|
+
schema: string;
|
|
31
|
+
kind: "agent" | "client";
|
|
32
|
+
configFile: string;
|
|
33
|
+
planId: string;
|
|
34
|
+
removed: string[];
|
|
35
|
+
retained: string[];
|
|
36
|
+
}>;
|