@murmurv2/cli 2.11.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.
Files changed (69) hide show
  1. package/README.md +85 -19
  2. package/package.json +8 -6
  3. package/runtime/bin/murmur-svc.exe +0 -0
  4. package/runtime/npm-runtime-manifest.json +193 -81
  5. package/runtime/package.json +1 -1
  6. package/runtime/packages/mcp-server/dist/src/agent-config.js +1 -0
  7. package/runtime/packages/setup/bin/murmur.mjs +6 -3
  8. package/runtime/packages/setup/dist/src/backups.d.ts +36 -0
  9. package/runtime/packages/setup/dist/src/backups.js +128 -0
  10. package/runtime/packages/setup/dist/src/broker-input.d.ts +24 -0
  11. package/runtime/packages/setup/dist/src/broker-input.js +98 -0
  12. package/runtime/packages/setup/dist/src/broker-migration.d.ts +35 -0
  13. package/runtime/packages/setup/dist/src/broker-migration.js +138 -0
  14. package/runtime/packages/setup/dist/src/cli-error.d.ts +2 -0
  15. package/runtime/packages/setup/dist/src/cli-error.js +30 -0
  16. package/runtime/packages/setup/dist/src/cli.d.ts +1 -1
  17. package/runtime/packages/setup/dist/src/cli.js +111 -14
  18. package/runtime/packages/setup/dist/src/clients.d.ts +28 -76
  19. package/runtime/packages/setup/dist/src/clients.js +166 -26
  20. package/runtime/packages/setup/dist/src/commands.d.ts +3 -1
  21. package/runtime/packages/setup/dist/src/commands.js +18 -7
  22. package/runtime/packages/setup/dist/src/config.d.ts +10 -0
  23. package/runtime/packages/setup/dist/src/config.js +119 -10
  24. package/runtime/packages/setup/dist/src/connect.d.ts +143 -0
  25. package/runtime/packages/setup/dist/src/connect.js +126 -0
  26. package/runtime/packages/setup/dist/src/doctor.d.ts +42 -0
  27. package/runtime/packages/setup/dist/src/doctor.js +89 -10
  28. package/runtime/packages/setup/dist/src/installation.d.ts +25 -0
  29. package/runtime/packages/setup/dist/src/installation.js +89 -0
  30. package/runtime/packages/setup/dist/src/invitation-server.d.ts +2 -0
  31. package/runtime/packages/setup/dist/src/invitation-server.js +45 -0
  32. package/runtime/packages/setup/dist/src/message-status.d.ts +5 -0
  33. package/runtime/packages/setup/dist/src/message-status.js +13 -0
  34. package/runtime/packages/setup/dist/src/onboarding.d.ts +28 -10
  35. package/runtime/packages/setup/dist/src/onboarding.js +129 -34
  36. package/runtime/packages/setup/dist/src/outbox-attention.js +3 -21
  37. package/runtime/packages/setup/dist/src/paths.d.ts +7 -0
  38. package/runtime/packages/setup/dist/src/paths.js +39 -24
  39. package/runtime/packages/setup/dist/src/platform/darwin.d.ts +3 -0
  40. package/runtime/packages/setup/dist/src/platform/darwin.js +241 -9
  41. package/runtime/packages/setup/dist/src/platform/linux.js +152 -17
  42. package/runtime/packages/setup/dist/src/platform/profile-usage.d.ts +20 -0
  43. package/runtime/packages/setup/dist/src/platform/profile-usage.js +89 -0
  44. package/runtime/packages/setup/dist/src/platform/windows.js +89 -4
  45. package/runtime/packages/setup/dist/src/private-file.d.ts +4 -1
  46. package/runtime/packages/setup/dist/src/private-file.js +39 -3
  47. package/runtime/packages/setup/dist/src/state.d.ts +4 -0
  48. package/runtime/packages/setup/dist/src/state.js +65 -1
  49. package/runtime/packages/setup/dist/src/status.d.ts +26 -2
  50. package/runtime/packages/setup/dist/src/status.js +84 -20
  51. package/runtime/packages/setup/dist/src/types.d.ts +21 -1
  52. package/runtime/packages/setup/dist/src/verdict.js +4 -2
  53. package/runtime/packages/setup/dist/src/wake-attention.d.ts +11 -0
  54. package/runtime/packages/setup/dist/src/wake-attention.js +44 -0
  55. package/runtime/packages/setup/dist/src/wake-readers.d.ts +12 -0
  56. package/runtime/packages/setup/dist/src/wake-readers.js +65 -0
  57. package/runtime/packages/setup/package.json +1 -1
  58. package/runtime/scripts/auth-security.mjs +93 -0
  59. package/runtime/scripts/codex-app-server-wake.mjs +182 -32
  60. package/runtime/scripts/daemon-contacts.mjs +56 -0
  61. package/runtime/scripts/daemon-flush-tick.mjs +25 -0
  62. package/runtime/scripts/daemon-link-watch.mjs +60 -0
  63. package/runtime/scripts/daemon-observation.mjs +74 -18
  64. package/runtime/scripts/murmur-auth-token.mjs +140 -0
  65. package/runtime/scripts/murmur-daemon.mjs +66 -36
  66. package/runtime/scripts/murmur-jetstream-advisory.mjs +27 -0
  67. package/runtime/scripts/murmur-shell-send.mjs +3 -3
  68. package/runtime/scripts/wake-drain-claude.mjs +193 -39
  69. package/runtime/scripts/wake-monitor.mjs +46 -18
package/README.md CHANGED
@@ -1,15 +1,14 @@
1
- # Murmur CLI
1
+ # Murmur Connect CLI
2
2
 
3
- Install once, join with a private invitation file, and connect an AI client to
4
- Murmur's encrypted messaging mesh. The executable is `murmur`.
5
3
 
6
- The public npm release is pending. After `@murmurv2/cli@2.11.0` is published,
7
- use the command below. Until publication is confirmed, use a GitHub release
8
- asset; older public registry packages do not contain the current fixes.
9
- Maintainers rehearsing a release use only their coordinator-approved registry.
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
5
+ Assistant to Murmur. The executable is `murmur`.
6
+
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.0
11
+ npm install --global @murmurv2/cli@2.13.0
13
12
  murmur version --json
14
13
  ```
15
14
 
@@ -19,21 +18,57 @@ 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
- Run the following with the same absolute profile path on each line:
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).
26
+
27
+ ## Accept an invitation
28
+
29
+ Use the [one-prompt quickstart](../../README.md#zero-terminal-quickstart) in your
30
+ AI assistant, or run:
23
31
 
24
32
  ```sh
25
- murmur join --agent-id YOUR-AGENT --invite-file /private/invite.txt --reply-out /private/reply.txt --data-dir /absolute/profile
26
- murmur service install --data-dir /absolute/profile
27
- murmur service start --data-dir /absolute/profile
28
- murmur clients detect --data-dir /absolute/profile
29
- murmur clients configure --client codex-cli --data-dir /absolute/profile
30
- murmur doctor --peer HOST-AGENT --data-dir /absolute/profile --json
33
+ murmur connect --invite-file /private/invite.txt
31
34
  ```
32
35
 
33
- The invitation host must import your reply file and reload its own peer
34
- configuration before the roundtrip check can succeed. Keep the invitation and
35
- reply outside the profile, in an existing private directory. Do not paste them
36
- into chat or edit `agent-config.json` manually.
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
+
62
+ For an application that accepts pasted lines, use `join --invite-stdin` and
63
+ `add-peer --reply-stdin`, sending the line on the subprocess input stream, never
64
+ as a command argument. `join` prints the Reply as one `MURMUR:` line;
65
+ `--reply-out` is optional. With `--json`, the Reply is in `reply`.
66
+
67
+ The inviting person imports the Reply with `add-peer`. A 2.12 Service reads
68
+ changed Contacts automatically; no manual restart is needed. The command reports
69
+ a pending reload, not proof that the running Service has applied it. Start the
70
+ Service if it is not running, then check the connection. Keep optional files
71
+ outside the Identity folder, in an existing private directory.
37
72
 
38
73
  Choose an installed client reported by `clients detect`; configuration preserves
39
74
  unrelated settings and refuses conflicting Murmur entries. Reload that client,
@@ -51,3 +86,34 @@ prefix in place while its service and client configuration refer to it.
51
86
 
52
87
  [`docs/setup-onboarding.md`](https://github.com/alexfrmn/murmur/blob/main/docs/setup-onboarding.md)
53
88
  documents the shared commands and their evidence limits.
89
+
90
+ On Windows, `murmur logs path --data-dir <profile> --json` verifies the native
91
+ Service's profile before returning its existing readable folder under
92
+ `%ProgramData%\Murmur\logs\<service-name>`. The response uses
93
+ `murmur.logs/1` with `source: "native"`. Missing or unverified Services and folders
94
+ are refused; the command does not create directories or change the Service.
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.11.0",
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.4",
17
- "@murmurv2/core": "^0.6.3",
18
- "@murmurv2/mcp-server": "^0.2.2",
19
- "@murmurv2/security": "^0.1.1",
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,8 @@
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.",
37
+ "mcpName": "io.github.alexfrmn/murmur",
36
38
  "files": [
37
39
  "bin/murmur-npm.mjs",
38
40
  "runtime",
Binary file
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "schema": "murmur.npm-cli/1",
3
- "sourceCommit": "91279e5249e265cfe54dcd0904d9ae92fbb18ec5",
3
+ "sourceCommit": "7d92d599eaf951598c59202ee289fc54e4957a53",
4
4
  "sourceDirty": false,
5
- "declaredVersion": "2.11.0",
6
- "sourceLockSha256": "4317a76743610366f9b5846993c7c201bc2c0c4fcabfda2d5448e7ff921a9647",
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.11.0",
12
- "sourceCommit": "91279e5249e265cfe54dcd0904d9ae92fbb18ec5",
13
- "sha256": "877f76eb7791c5a83b1a33dce0eaa7aa497eabdee2f877d750d695355cac76ab",
14
- "size": 3128320,
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": "7670e3b33c8ef783813b1b8860726f9dd2ba2bcdc7c49da05f2780d89fdc0d6b",
19
+ "sha256": "1d2ac8aef5d547728d0908c1d4b1ceee8da72c1994761a872818a424b1952c4c",
20
20
  "size": 83
21
21
  },
22
22
  "packages/setup/package.json": {
23
- "sha256": "ac61a66e834fcbad44a2fbed34dc2f7573309f1245bdd8e83dd9540803758df2",
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
- "sha256": "6da2fbea536a227db1e8b1d7646d4554cd6e071b05240d5489203eaf007c72e2",
36
- "size": 418
67
+ "sha256": "45ddc7e1eac91a7eb922339b3f01a39a28cf027789309b477eb4ffcfdd020682",
68
+ "size": 462
37
69
  },
38
70
  "packages/setup/dist/src/cli.js": {
39
- "sha256": "13ab60762776c1750da857762f3957a08340e41c651cab6274f3a678b0480d31",
40
- "size": 8745
71
+ "sha256": "5a3e753151f26700cae82f3f8692f9fee4ccf667932f42664a403c2dc542b91d",
72
+ "size": 16484
41
73
  },
42
74
  "packages/setup/dist/src/clients.d.ts": {
43
- "sha256": "74291be39ef9cffab6d483e38d955cdc0100e9d5ba0d734d77cad8d2f1fc01fb",
44
- "size": 4380
75
+ "sha256": "9c90a80706808f7e38aa7f6790491a434594e51fa5176f7d46c753e11637771f",
76
+ "size": 3534
45
77
  },
46
78
  "packages/setup/dist/src/clients.js": {
47
- "sha256": "1098fe951626980c0c5717d8a211d282db5d6c4acfd09a055b8ebd2d1b9362ab",
48
- "size": 13670
79
+ "sha256": "75cb578869a430a46a13e327f182dbbabd1b0e8ab34d48245c4f21762e69eb11",
80
+ "size": 22524
49
81
  },
50
82
  "packages/setup/dist/src/commands.d.ts": {
51
- "sha256": "63f0a5e9834ca75bced2079cb4c4f0e087c1c7cd14ad958aeda5234bcd80337e",
52
- "size": 1316
83
+ "sha256": "c930b1058ff2d45be38f74df2251a722fe0f1599b5d7afbc6bf74d17a780633c",
84
+ "size": 1417
53
85
  },
54
86
  "packages/setup/dist/src/commands.js": {
55
- "sha256": "eef7c76c21383b2dba733ce4967afa964c547a263333a380606b05eb197fb04f",
56
- "size": 5731
87
+ "sha256": "fcfbafe2fd83eb69f0d6c5f1fe3dfec14d34e0235b98180d20787598c59481aa",
88
+ "size": 6482
57
89
  },
58
90
  "packages/setup/dist/src/config.d.ts": {
59
- "sha256": "b244629bb9a19d4a48b813c817733d998efea543e8daec99e282010d4e784499",
60
- "size": 1346
91
+ "sha256": "13425d2fe6d9c6b34405ea9428a31cdc38ecee0816ae273e191bbd636a374eca",
92
+ "size": 1728
61
93
  },
62
94
  "packages/setup/dist/src/config.js": {
63
- "sha256": "9ad91d6d9408f72166ed363eacac4496b1e831ccdda10cd28375f6e21521ef4e",
64
- "size": 3212
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": "115b7cf132e4101fe4964173787902d9585f586ee83aa9ae1694161bd646804f",
68
- "size": 827
107
+ "sha256": "35697caa5300f299f2eec43131f148c6bcd94a6057c335508b13991f2e69f4c9",
108
+ "size": 2137
69
109
  },
70
110
  "packages/setup/dist/src/doctor.js": {
71
- "sha256": "9e240e1f0796ce5e3a6e64dbcc41c56a9febd285c2276f88bb15dde6d68c201e",
72
- "size": 11225
111
+ "sha256": "8c878dc89b679900e8272f48262dadff0acb32739c8985e515c9b1c55ac9860b",
112
+ "size": 16896
73
113
  },
74
114
  "packages/setup/dist/src/file-identity.d.ts": {
75
115
  "sha256": "1f5845364d263c80167ed533e46a02751a008d3993a6894aae50a13f646e6767",
@@ -87,61 +127,93 @@
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
+ },
138
+ "packages/setup/dist/src/invitation-server.d.ts": {
139
+ "sha256": "6456bba1de8ddf8c9a520a4631f972cd79ebf66428f4673af6692e7136b6bc97",
140
+ "size": 159
141
+ },
142
+ "packages/setup/dist/src/invitation-server.js": {
143
+ "sha256": "e6e1de957d76191e7695bcad51ce7049cc3db7cf92d82b682d43584ec00c4401",
144
+ "size": 2555
145
+ },
146
+ "packages/setup/dist/src/message-status.d.ts": {
147
+ "sha256": "6f9179a55be8b0420ab95948ac07257980f4b2647dad86ea46e614956990158d",
148
+ "size": 372
149
+ },
150
+ "packages/setup/dist/src/message-status.js": {
151
+ "sha256": "3488b150992831ee61ece3372ae0812bc50550d5c8539f8a79ce9690f97ba4dc",
152
+ "size": 829
153
+ },
90
154
  "packages/setup/dist/src/onboarding.d.ts": {
91
- "sha256": "b76892619695c2bd9298248d4e7557dce832a688aca0106c02939c4ae0352277",
92
- "size": 1141
155
+ "sha256": "da7ef9a9a1304cb32e718a8aa4443e04531487921cbfa76cba7bb97c79c43403",
156
+ "size": 1681
93
157
  },
94
158
  "packages/setup/dist/src/onboarding.js": {
95
- "sha256": "caaec0a7f9e8f685185b096bccf1741ae93e7f64983602833ef4e1ccbff70544",
96
- "size": 14985
159
+ "sha256": "b474fe3a5111a3034cb11398ef1107f2dc69c969f797b50c2e1414e5d8e42ad7",
160
+ "size": 19657
97
161
  },
98
162
  "packages/setup/dist/src/outbox-attention.d.ts": {
99
163
  "sha256": "a96effdd0e47701836fb93ab0c24a30d78f29fc0f3e7193406067535532ff962",
100
164
  "size": 1606
101
165
  },
102
166
  "packages/setup/dist/src/outbox-attention.js": {
103
- "sha256": "db70b6eed2338efe0c2875dbca9c0306cce3c940f0f7f09f3dff7c528ca377af",
104
- "size": 5113
167
+ "sha256": "45c0cacd468907860415439ab519e39b07d154e1f64e90bf0dc62e135305aa92",
168
+ "size": 4326
105
169
  },
106
170
  "packages/setup/dist/src/paths.d.ts": {
107
- "sha256": "5c9ce9ac87f5fa90124fa071cc6a5d2176d045fc41de58deb53a0e3ef5d85504",
108
- "size": 295
171
+ "sha256": "1e22c573bcc32357d40a0515a3a345425d868349f50c5a7a53e78b2295f7c3ea",
172
+ "size": 874
109
173
  },
110
174
  "packages/setup/dist/src/paths.js": {
111
- "sha256": "967414a7d6b846af2d7122641e42d81d2f570d166c39d91f1c1a4a288400fb42",
112
- "size": 2507
175
+ "sha256": "8b43843692d666084838e5dfbcf2193b5bd5e92c36fbde762673dcd669ab5cd6",
176
+ "size": 3485
113
177
  },
114
178
  "packages/setup/dist/src/platform/darwin.d.ts": {
115
- "sha256": "5980cc87fb445e076e91faed33976353a6e130949621364ee042a5647241785c",
116
- "size": 591
179
+ "sha256": "a082f8c5d145ae04404f620f97edf7477d0f103856080998cc8a5e8323a09c86",
180
+ "size": 728
117
181
  },
118
182
  "packages/setup/dist/src/platform/darwin.js": {
119
- "sha256": "b361a9481c12aa5952dd9c18f30cf612f2126bef87993e6808acf38e56ae7422",
120
- "size": 12996
183
+ "sha256": "b91df6b457f5708280919638ed10ae658b51ea91fdf93587f0418f4c716cc77c",
184
+ "size": 26807
121
185
  },
122
186
  "packages/setup/dist/src/platform/linux.d.ts": {
123
187
  "sha256": "989d39cc9d5c73c9dae7dc926344fa2c6dde5e80f0a8d7657d5ce1f774da9b44",
124
188
  "size": 375
125
189
  },
126
190
  "packages/setup/dist/src/platform/linux.js": {
127
- "sha256": "ab86ab63919d8df3c5c8ccd3bec1d34b4926d847911c56ecf5f8acbcc6404e26",
128
- "size": 9042
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
129
201
  },
130
202
  "packages/setup/dist/src/platform/windows.d.ts": {
131
203
  "sha256": "9f2cb7a20c26f936c9878ca5d525edd7486142392452db47c49e5676e98e2808",
132
204
  "size": 1123
133
205
  },
134
206
  "packages/setup/dist/src/platform/windows.js": {
135
- "sha256": "1a6db62bf38dd56fe78a115e30dc003aef892453265add5e338f8b32beedb87c",
136
- "size": 10787
207
+ "sha256": "af8026e1aa75e3e05be2598d1a565241830ce2ed85da2dae58148de759dbd829",
208
+ "size": 15703
137
209
  },
138
210
  "packages/setup/dist/src/private-file.d.ts": {
139
- "sha256": "dd574a6f2135aa13064a45b452275aada896402243a4d147f7c417afe8199c4a",
140
- "size": 443
211
+ "sha256": "0e3101e489f780da4026e11deb4a91b76a2473697b5d30835b54a1ef3c969765",
212
+ "size": 688
141
213
  },
142
214
  "packages/setup/dist/src/private-file.js": {
143
- "sha256": "ccd60c99d56aba56d6b9f691d99c5bc51086303557e70495e45602298ada22b6",
144
- "size": 5499
215
+ "sha256": "bf539d02f049cbf0de48d34a6a64ae10e707ce6aa707c54dd21fd536b60fde59",
216
+ "size": 7807
145
217
  },
146
218
  "packages/setup/dist/src/reply-test.d.ts": {
147
219
  "sha256": "aaa1e6357f33d0a6144e1d00dacfdf16363fa235cb376e7c3d4700f3d4d7fd33",
@@ -152,12 +224,12 @@
152
224
  "size": 5030
153
225
  },
154
226
  "packages/setup/dist/src/state.d.ts": {
155
- "sha256": "868f415e920d37db4b714f8c5f771fafe3e46f84437f2a5b7d803c7be0e82841",
156
- "size": 239
227
+ "sha256": "79e6a0a32f0396fe65f16fec867e68a7e7b35a1871a25ca5d4b7bdbf9c64cffa",
228
+ "size": 659
157
229
  },
158
230
  "packages/setup/dist/src/state.js": {
159
- "sha256": "33d38685ece13a625d1bdb7118173fc358a778b3159a0525818a91f3ca89f62f",
160
- "size": 632
231
+ "sha256": "ec11de968689f9156cbab82c0a353c827d0ba14af1b148897123e24ccb1d6d7f",
232
+ "size": 2999
161
233
  },
162
234
  "packages/setup/dist/src/status-line.d.ts": {
163
235
  "sha256": "3836cac32982321f19c88bd9652ed0b1a1cf2cd47d67196faf612555b3543916",
@@ -168,16 +240,16 @@
168
240
  "size": 984
169
241
  },
170
242
  "packages/setup/dist/src/status.d.ts": {
171
- "sha256": "426841217d3f9f6248a63d65fb708af3aa38cd481bad1390a68d1ec1a3910124",
172
- "size": 4244
243
+ "sha256": "50ee7c1692dbedbf4b45bbf23623fc0a37351de166b99da22ac0ab6da6fc9343",
244
+ "size": 4959
173
245
  },
174
246
  "packages/setup/dist/src/status.js": {
175
- "sha256": "ddc80da3c1843cf84137b2543805c6c4cdf3316efe44870e6151476c1ca6d27c",
176
- "size": 13155
247
+ "sha256": "fc2fe581b8eb5b0bc513949e4f6b48aa57ec0dec0e3c355dd30bfa326700055b",
248
+ "size": 18289
177
249
  },
178
250
  "packages/setup/dist/src/types.d.ts": {
179
- "sha256": "2d9d05df2818b22a2be5050288cfe9837f2669814218cbeca1be64b19a079463",
180
- "size": 1506
251
+ "sha256": "2df31397e719e526b9e395630a5b920d744187935bf06bbee65ae4b1efa4e22e",
252
+ "size": 2763
181
253
  },
182
254
  "packages/setup/dist/src/types.js": {
183
255
  "sha256": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -196,12 +268,28 @@
196
268
  "size": 505
197
269
  },
198
270
  "packages/setup/dist/src/verdict.js": {
199
- "sha256": "3b3265b31dc366745a42a48ac56655d838586197bba9774a0b47c90c02a9099b",
200
- "size": 7929
271
+ "sha256": "aa9deab4aa1872307673a24ac6c9c5cd2725810d51ed8b4eeaa780664a84239b",
272
+ "size": 8136
273
+ },
274
+ "packages/setup/dist/src/wake-attention.d.ts": {
275
+ "sha256": "dfcff1d3f6be50e4a55ba6f9310a1600341b041cc1fe68c1752d79684993beee",
276
+ "size": 431
277
+ },
278
+ "packages/setup/dist/src/wake-attention.js": {
279
+ "sha256": "62623206ebaba33150c381ccb24ee5a523e4c81a4dafc9d6ce2620941f375686",
280
+ "size": 2384
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
201
289
  },
202
290
  "packages/setup/bin/murmur.mjs": {
203
- "sha256": "6761c1030f648455e3b99499cd1fa7a356b091700dbbcb2392623315243c5bb5",
204
- "size": 1408
291
+ "sha256": "4b2325cc428cbf7b52f7cab1db729cc0c5197416961f3d7baea19b39e76ab2d4",
292
+ "size": 1874
205
293
  },
206
294
  "packages/mcp-server/package.json": {
207
295
  "sha256": "89c47db7851f89caec72da4f215ebc21cf1e294aeef3b45d2583562d846ab035",
@@ -211,13 +299,21 @@
211
299
  "sha256": "506403a79cff2f69ba25b04c4cb7a66477c7ab3c7e38e5399a9bfb98a0ea4c41",
212
300
  "size": 31
213
301
  },
302
+ "packages/mcp-server/dist/src/agent-config.js": {
303
+ "sha256": "175e754483586d168bdd8650fd093548d5c4062420ec3e522a57ebb1c83ae159",
304
+ "size": 63
305
+ },
214
306
  "scripts/murmur-daemon.mjs": {
215
- "sha256": "e3f7a2dfcb842ea4a908fd0e10ab6c5f066ea3034af51991c3326a1bcf808be6",
216
- "size": 22863
307
+ "sha256": "a92bef78ca2557c18a843902778bdc1e873a563ae4e98fd8201e02d586df6a9f",
308
+ "size": 25096
217
309
  },
218
310
  "scripts/murmur-shell-send.mjs": {
219
- "sha256": "5e0ae14f59b634f89751c0487edbf7b9f03f95b0a38e55d5619d392bd2343eee",
220
- "size": 5105
311
+ "sha256": "76de516514519861f7958b4fa49ef3f39bce8f7a275a53d21bb5c7053a82a249",
312
+ "size": 5194
313
+ },
314
+ "scripts/murmur-auth-token.mjs": {
315
+ "sha256": "5c95a20526fc29448d3d3a8fba4d2a5f29435ec981e93af8d04adf1780de2adb",
316
+ "size": 5122
221
317
  },
222
318
  "scripts/runtime-capability.mjs": {
223
319
  "sha256": "1ee5358161a678c763df9f84bd05068c4938e5166a3f59b1535b54dcb5621d9c",
@@ -228,16 +324,16 @@
228
324
  "size": 10755
229
325
  },
230
326
  "scripts/codex-app-server-wake.mjs": {
231
- "sha256": "8b3d975498f5904d42a18bc345a943a4707d9b147f5ae81fd050645796e97c26",
232
- "size": 26600
327
+ "sha256": "a6ee04dd2c3df3ff7e2e4b012e9fb24b09e2886e61dba4f6546c6cb1b050e08b",
328
+ "size": 35235
233
329
  },
234
330
  "scripts/murmur-jetstream-advisory.mjs": {
235
- "sha256": "4232c92418d46bd4c6bc4785641dd226f58a79e35211e51a469a8d469065e0a7",
236
- "size": 326
331
+ "sha256": "0d0f235d5fb4f0eec212618e0128aad0e67d63796f650064b22de4b6032dc265",
332
+ "size": 1701
237
333
  },
238
334
  "scripts/wake-monitor.mjs": {
239
- "sha256": "416dd71e7e93b6827d9e603438804856cd38e7b575d9842ee33442a856a07cef",
240
- "size": 31907
335
+ "sha256": "f51f1c6f7653d60d5eb9877b4a17f1d69fd6c75a0b65cf56c9c26767cd2378bf",
336
+ "size": 33488
241
337
  },
242
338
  "scripts/lease.mjs": {
243
339
  "sha256": "c380ec90c0b5cef4d010df4d59793f86f0dc319c82039997c3d8884a9e92f56e",
@@ -248,20 +344,36 @@
248
344
  "size": 3280
249
345
  },
250
346
  "scripts/daemon-observation.mjs": {
251
- "sha256": "cef36ccf407d3c45c11ad796c709f05176faedc2af7adfdd0f618d306a03f459",
252
- "size": 2349
347
+ "sha256": "2c36283c8e77ae0a77758bf65e5f80599d4ef409bb393adae527549c3994da73",
348
+ "size": 5665
349
+ },
350
+ "scripts/daemon-link-watch.mjs": {
351
+ "sha256": "081b8d30f883b4daef7f3e18f01ad46f999ee3a77c3cbce5be920a8dc50d963e",
352
+ "size": 2313
253
353
  },
254
354
  "scripts/ack-security.mjs": {
255
355
  "sha256": "bb769e874b6d4144b074596ba4c99dac4b6987b1e0e2967ffcf5fa73962e41a1",
256
356
  "size": 1265
257
357
  },
358
+ "scripts/auth-security.mjs": {
359
+ "sha256": "b6478be2e0bec86804757d22c00cdc702ecd28bd1ca914dbd7416477ca3d53d0",
360
+ "size": 3591
361
+ },
258
362
  "scripts/doctor-protocol.mjs": {
259
363
  "sha256": "e373b1ff7801bde10c016cb5d24fefdec39382127008a5c359c804338bd5dc13",
260
364
  "size": 5282
261
365
  },
366
+ "scripts/daemon-contacts.mjs": {
367
+ "sha256": "5949939a7287b9ddd64bf3dcf92690f3b39a30340588a20d7e1a1bb3266e992e",
368
+ "size": 3188
369
+ },
370
+ "scripts/daemon-flush-tick.mjs": {
371
+ "sha256": "1d47a46549861d5ad60323e8db4fdf85c33d84c9fb786d4aa29cfc306dc8128c",
372
+ "size": 1239
373
+ },
262
374
  "scripts/wake-drain-claude.mjs": {
263
- "sha256": "9f5d95c4242b56cd01b09e2198bb3dc4cbd819d8acf1bf664016f364279ca046",
264
- "size": 22815
375
+ "sha256": "47cff6e3e2352a7a21cc3da63e0a01511ffdedecf09cebac080b1badf645d0ed",
376
+ "size": 32254
265
377
  },
266
378
  "plugins/claude-code/.claude-plugin/plugin.json": {
267
379
  "sha256": "39743b9ea55f475c767dba430e1014fcfa19648e95ddcf0da9b0128f1744ec88",
@@ -292,8 +404,8 @@
292
404
  "size": 705
293
405
  },
294
406
  "bin/murmur-svc.exe": {
295
- "sha256": "877f76eb7791c5a83b1a33dce0eaa7aa497eabdee2f877d750d695355cac76ab",
296
- "size": 3128320
407
+ "sha256": "f62d1c25f162eeed552dd90aa003eb0f2cb6ca101369bdf3d2f0a3e9c05ca06c",
408
+ "size": 2964480
297
409
  }
298
410
  }
299
411
  }
@@ -1 +1 @@
1
- {"name":"murmur","private":true,"version":"2.11.0","engines":{"node":">=22.13.0"}}
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,15 +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 { safeError } = await import('../dist/src/config.js');
15
+ const { cliErrorText } = await import('../dist/src/cli-error.js');
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
- if (isRawCliOutput(result)) {
20
+ if (!process.argv.includes('--json') && (result?.schema === 'murmur.invite/1' || result?.schema === 'murmur.join/1')) {
21
+ process.stdout.write((result.invitation ?? result.reply ?? `Invitation saved to ${result.outFile}. ${result.instruction}`) + '\n');
22
+ } else if (isRawCliOutput(result)) {
20
23
  if (result.text) process.stdout.write(result.text + '\n');
21
24
  } else process.stdout.write(JSON.stringify(result) + '\n');
22
25
  } catch (error) {
23
26
  if (lineMode) process.stdout.write('Murmur: unknown (status.command-failed)\n');
24
- process.stderr.write(safeError(error) + '\n');
27
+ process.stderr.write((process.argv.includes('--json') ? safeError(error) : safeError(error).startsWith('migration.') ? cliErrorText(error) : humanError(error)) + '\n');
25
28
  process.exitCode = 1;
26
29
  }