Compare commits

..
3 changed files with 11 additions and 38 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
"name": "dnspegasus",
"description": "Self-hosted Claude Code plugins for the dnspegasus.net infrastructure.",
"name": "triple-c",
"description": "shared-memory plugin for the triple-c container (OAuth callback on the mapped port 5693).",
"owner": {
"name": "jknapp",
"url": "https://repo.anhonesthost.net/jknapp/shared-memory"
+8 -35
View File
@@ -1,41 +1,14 @@
# instance/dnspegasus
# instance/triple-c
This branch is **not** a fork of the project. It is an orphan branch holding
exactly three files: the Claude Code plugin manifests for one live instance,
filled in with that instance's real server URL and OAuth client ID.
Orphan branch — plugin manifests only, for the `triple-c` container.
```
.claude-plugin/marketplace.json marketplace named `dnspegasus`
plugin/.claude-plugin/plugin.json plugin manifest
plugin/.mcp.json server URL + pre-registered OAuth client
```
Install from it with a `#ref` fragment:
Identical to `instance/dnspegasus` except **`callbackPort` is 5693** instead of
33418. The container can only receive an OAuth loopback callback on a port that
is mapped through from its host, and 5693 is the one that is.
```bash
claude plugin marketplace add "https://repo.anhonesthost.net/cybercove-labs/shared-memory.git#instance/dnspegasus"
claude plugin install shared-memory@dnspegasus
claude plugin marketplace add "https://repo.anhonesthost.net/cybercove-labs/shared-memory.git#instance/triple-c"
claude plugin install shared-memory@triple-c
```
## Why it's an orphan branch
It used to be a normal branch off `main`, which was wrong twice over:
- It carried a full copy of the application it had no reason to have, so it
drifted behind `main` and a stale deploy could have been cut from it.
- Syncing it meant `git merge origin/main`, which **silently replaced these
three manifests** with `main`'s public placeholders. No conflict was raised,
because only `main` had touched those paths.
With no shared history there is nothing to sync and nothing to clobber. Never
merge `main` into this branch — if the manifest *format* changes upstream,
hand-edit these files and run `claude plugin validate .`.
`main` carries the same three files with placeholder values, as the public
template. The real values live only here.
## The client ID is not a secret
`clientId` is a **Public** (PKCE) OAuth client. It is meant to be committed —
it identifies the client, it does not authenticate it. Access is controlled by
the bindings on the IdP application, not by keeping this string private.
Never merge `main` into this branch — see `instance/dnspegasus`'s README.
+1 -1
View File
@@ -5,7 +5,7 @@
"url": "https://memory.dnspegasus.net/api/mcp",
"oauth": {
"clientId": "5rkRS3rJhn3Ci9swWkxYMIrZ9OggsjOGy3cIOhYY",
"callbackPort": 33418
"callbackPort": 5693
}
}
}