memroot 0.1.0-alpha.0 → 0.1.0-alpha.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 +25 -2
- package/dist/index.js +1146 -24
- package/dist/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/claude/README.md +1 -1
- package/dist/plugins/claude/scripts/session-start.mjs +1 -1
- package/dist/plugins/claude/scripts/status.mjs +2 -2
- package/dist/plugins/claude/skills/status/SKILL.md +1 -1
- package/dist/plugins/codex/.codex-plugin/plugin.json +4 -4
- package/dist/plugins/codex/README.md +4 -2
- package/dist/plugins/codex/scripts/session-start.mjs +1 -1
- package/dist/plugins/codex/scripts/status.mjs +5 -5
- package/dist/plugins/codex/skills/status/SKILL.md +6 -2
- package/dist/plugins/grok/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/grok/README.md +1 -1
- package/dist/plugins/grok/scripts/status.mjs +2 -2
- package/dist/plugins/grok/skills/status/SKILL.md +1 -1
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ npx memroot setup
|
|
|
8
8
|
|
|
9
9
|
Requires Node.js 22 or later on macOS or Linux and an installed agent CLI with native plugin support. The interactive setup detects agent CLIs, lets you select agents, and previews the user-scope installation. Cancel before confirming to leave your files unchanged.
|
|
10
10
|
|
|
11
|
-
**This is an
|
|
11
|
+
**This is an alpha.** Selecting Codex installs its native plugin and configures `https://api.memroot.dev/mcp` using Codex’s native OAuth sign-in. Follow the browser consent screen to link your production account. No separate `memroot login` is needed for Codex MCP. Repeating setup reuses existing authorization; cancelled sign-in can be resumed by repeating setup. Automatic session capture and extraction are unavailable.
|
|
12
12
|
|
|
13
13
|
For scripts:
|
|
14
14
|
|
|
@@ -17,16 +17,39 @@ npx memroot setup --agent codex --yes
|
|
|
17
17
|
npx memroot setup --agent claude --agent grok --yes
|
|
18
18
|
npx memroot setup --agent codex --yes --dry-run
|
|
19
19
|
npx memroot doctor
|
|
20
|
+
npx memroot login # browser sign-in; --no-browser prints the URL
|
|
21
|
+
npx memroot status # cloud auth + agent install state
|
|
22
|
+
npx memroot token # fresh access token for agent adapters
|
|
23
|
+
npx memroot logout
|
|
20
24
|
```
|
|
21
25
|
|
|
26
|
+
The refresh token is stored only in the OS credential store (macOS Keychain via `security`, libsecret via `secret-tool` on Linux); sign-in fails closed when neither is available. Non-secret settings live in `~/.memroot/config.json`. `MEMROOT_API_BASE` or `--api-base` override the default `https://api.memroot.dev`; `--env dev` targets a local API stub on `localhost:8787`.
|
|
27
|
+
|
|
22
28
|
Agent values are `claude`, `codex`, and `grok`. `--agent` can be repeated. `--yes` requires explicit agents. `--dry-run` prints planned commands without running an agent CLI or writing files.
|
|
23
29
|
|
|
24
30
|
Plugin files live under `$XDG_DATA_HOME/memroot`, defaulting to `~/.local/share/memroot`, independently of the npm cache. Setup delegates registration and installation to each agent's native plugin manager and keeps a separate success receipt for each agent. It preserves unrelated config and refuses conflicting marketplaces, modified managed files, and disabled installed plugins. Repeating setup verifies files and repairs a missing native installation. Native enablement and hook execution trust stay under the agent's control. Grok setup uses its native `--trust` flag to authorize the selected local Memroot plugin; this alpha has no Grok lifecycle hooks.
|
|
25
31
|
|
|
32
|
+
When upgrading Codex from a verified older Memroot release, setup replaces only its managed `memroot` marketplace through Codex's native remove/add commands, then installs the new plugin. The previous files and receipt remain available until installation succeeds; rerunning setup resumes an interrupted upgrade. Native MCP authorization is independent and is reused when already configured and authorized.
|
|
33
|
+
|
|
26
34
|
`doctor` checks managed file integrity and native plugin presence. Restart your coding agent after setup. Use the installed Memroot status skill to inspect release capabilities.
|
|
27
35
|
|
|
28
36
|
If an agent command fails, update that agent and inspect its `plugin --help`. Native plugin managers may partially register a marketplace before installation fails; setup writes no success receipt for that attempt. Retry after resolving the native error. Installation is serialized by a lock; after an interrupted process, verify no setup is running before removing the `.setup-lock` directory named by the error.
|
|
29
37
|
|
|
30
|
-
To remove the
|
|
38
|
+
To remove the plugin, use the agent's native plugin manager. Codex's `memroot` MCP registration is separate: uninstalling the plugin leaves that server and its account access in place. To disconnect production access, revoke the corresponding Codex connection in [Memroot Console](https://console.memroot.dev), then deauthenticate and remove the native MCP registration:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
codex mcp logout memroot
|
|
42
|
+
codex mcp remove memroot
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
`logout` deauthenticates the named MCP server; `remove` deletes its native configuration. Neither plugin removal nor local credential removal should be treated as proof that the production grant is revoked; verify its revoked state in the console. `memroot logout` removes the separate Memroot CLI credentials and does not disconnect Codex's independently stored MCP authorization. This release does not remove native config or managed files automatically. Windows installation is not supported in this alpha.
|
|
31
46
|
|
|
32
47
|
[Memroot](https://memroot.dev)
|
|
48
|
+
|
|
49
|
+
Codex setup reports plugin installation, MCP configuration and OAuth authorization separately. It always reports memory verification as not verified: only a successful tool round trip can prove persistence. Restart Codex, ask it to call Memroot `connection_status`, then explicitly ask it to save a small test memory. Open a fresh Codex session and ask it to retrieve that memory. Inspect the connection and memory in [Memroot Console](https://console.memroot.dev).
|
|
50
|
+
|
|
51
|
+
Codex owns its MCP credentials; Memroot setup never reads or copies them. Setup preserves conflicting endpoints, disabled servers, unrelated MCP entries, and unknown auth states. A failed inspection does not trigger replacement authorization. Use Codex's native MCP management to resolve a conflict. `memroot status` and `doctor` inspect current native MCP status without requesting new grants.
|
|
52
|
+
|
|
53
|
+
Legacy non-secret prototype config is backed up once to `~/.memroot/config.json.legacy-backup` with owner-only permissions before an atomic reset to the current schema. Old user IDs and email addresses are not proof of identity and are never imported as authenticated accounts. Credentials and unsafe remote URLs cause migration to stop with the original intact. Unknown non-secret fields remain in the protected backup. Separate CLI sign-in retains its OS credential-store behavior described above.
|
|
54
|
+
|
|
55
|
+
Codex command support rechecked 2026-09-26 against [official MCP documentation](https://developers.openai.com/codex/mcp) and installed Codex 0.157.1. A deployment supporting these tools is required; setup alone does not verify deployment health.
|