relic-mcp 0.6.0 → 0.8.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +3 -6
- package/dist/relic-mcp.js +4075 -196
- package/mcp-servers.json +0 -1
- package/package.json +1 -1
- package/src/comments.ts +825 -11
- package/src/index.ts +5 -5
- package/src/installer.ts +9 -1
- package/src/inventory.ts +3 -0
- package/src/origin.ts +50 -6
- package/src/publish.ts +38 -1
- package/src/republish.ts +144 -0
- package/src/resolve-anchor.ts +1104 -0
- package/src/server.ts +419 -33
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{
|
|
11
11
|
"name": "relic",
|
|
12
12
|
"description": "Publish a file from your machine as an encrypted, shareable link. The agent encrypts locally, uploads only ciphertext, and hands back a URL whose fragment holds the key, so the service stores something it cannot read.",
|
|
13
|
-
"version": "0.
|
|
13
|
+
"version": "0.8.0",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "The Bushido Collective",
|
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"metadata": {
|
|
24
|
-
"version": "0.
|
|
24
|
+
"version": "0.8.0"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "relic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Publish a file from your machine as an encrypted, shareable link. The agent encrypts locally, uploads only ciphertext, and hands back a URL whose fragment holds the key, so the service stores something it cannot read.",
|
|
5
5
|
"mcpServers": "./mcp-servers.json",
|
|
6
6
|
"author": {
|
package/README.md
CHANGED
|
@@ -4,9 +4,7 @@ Publish a file as an encrypted relic and get back a shareable link. The
|
|
|
4
4
|
encryption key is generated on your machine and is never sent to the service.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
claude mcp add relic
|
|
8
|
-
--env RELIC_SERVICE_ORIGIN=https://relik.link \
|
|
9
|
-
-- npx -y relic-mcp@latest
|
|
7
|
+
claude mcp add relic -- npx -y relic-mcp@latest
|
|
10
8
|
```
|
|
11
9
|
|
|
12
10
|
Then: *"publish ./report.md as a relic."*
|
|
@@ -18,8 +16,7 @@ For any client that takes a JSON config:
|
|
|
18
16
|
"mcpServers": {
|
|
19
17
|
"relic": {
|
|
20
18
|
"command": "npx",
|
|
21
|
-
"args": ["-y", "relic-mcp@latest"]
|
|
22
|
-
"env": { "RELIC_SERVICE_ORIGIN": "https://relik.link" }
|
|
19
|
+
"args": ["-y", "relic-mcp@latest"]
|
|
23
20
|
}
|
|
24
21
|
}
|
|
25
22
|
}
|
|
@@ -166,7 +163,7 @@ binding the tarball to a specific commit and workflow.
|
|
|
166
163
|
|
|
167
164
|
| Variable | Meaning |
|
|
168
165
|
|---|---|
|
|
169
|
-
| `RELIC_SERVICE_ORIGIN` | The Relic service to publish to. |
|
|
166
|
+
| `RELIC_SERVICE_ORIGIN` | The Relic service to publish to. Unset means the hosted service, `https://relik.link`. Set it to publish to your own. |
|
|
170
167
|
| `RELIC_ORIGIN` | Origin used to build the shareable URL. Defaults to the above. |
|
|
171
168
|
| `RELIC_CLIENT_NAME` | Reported to the service as the publishing client. |
|
|
172
169
|
| `RELIC_PUBLISH_STATE` | Where the publish state file lives. Defaults to `$XDG_CONFIG_HOME/relic-mcp/publish-state.json`, or `~/.config/relic-mcp/publish-state.json`. |
|