chore(repo): drop .NET implementation in favor of npm-only
The Node port (@kuns/claude-mailbox) is the recommended runtime and covers all supported features. Maintaining a wire-compatible .NET twin adds dual-impl tax with no remaining users, so remove src/, tests/, solution + MSBuild files, NuGet config, and both .NET CI workflows. Docs updated: README "Path C" build-from-source section dropped, architecture diagram + Development section simplified, and node/README no longer subtitles itself as a port of the .NET daemon. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
25
README.md
25
README.md
@@ -85,21 +85,6 @@ Optionally add a static identity (so your client doesn't need to pass `from` / `
|
||||
"headers": { "X-Mailbox": "backend" }
|
||||
```
|
||||
|
||||
### C. Build the .NET binary from source
|
||||
|
||||
The original .NET 8 implementation lives in `src/ClaudeMailbox/`. Wire-compatible with the npm build (same port, same `X-Mailbox` header, same MCP tool names, same SQLite schema).
|
||||
|
||||
```powershell
|
||||
dotnet publish src/ClaudeMailbox -c Release -r win-x64 --self-contained -p:PublishSingleFile=true
|
||||
```
|
||||
|
||||
Put the resulting `claude-mailbox.exe` on `PATH`. Windows-only `install-service` verbs (admin shell):
|
||||
|
||||
```
|
||||
claude-mailbox install-service [--port 37849] [--bind 127.0.0.1] [--db-path <path>]
|
||||
claude-mailbox uninstall-service [--purge]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## How identity works
|
||||
@@ -219,7 +204,7 @@ One long-running daemon binds HTTP on loopback, hosts the MCP server at `/mcp` a
|
||||
| HTTP | |
|
||||
+--------------+-----------------+--------------------------+
|
||||
v
|
||||
claude-mailbox serve (npm: Fastify; .NET: Kestrel)
|
||||
claude-mailbox serve (Fastify)
|
||||
/mcp MCP tools
|
||||
/v1/* REST for non-MCP senders
|
||||
/health
|
||||
@@ -232,19 +217,13 @@ One long-running daemon binds HTTP on loopback, hosts the MCP server at `/mcp` a
|
||||
## Development
|
||||
|
||||
```sh
|
||||
# Node port (the recommended runtime)
|
||||
cd node
|
||||
npm install
|
||||
npm run build
|
||||
npm test
|
||||
|
||||
# .NET 8 port (wire-compatible alternative)
|
||||
dotnet build
|
||||
dotnet test tests/ClaudeMailbox.Tests/ClaudeMailbox.Tests.csproj
|
||||
dotnet run --project src/ClaudeMailbox -- serve
|
||||
```
|
||||
|
||||
The test suites cover end-to-end coordination, concurrent `check_inbox` race safety, schema idempotency, hook stdin parsing, session-id derivation, and settings-file patching.
|
||||
The test suite covers end-to-end coordination, concurrent `check_inbox` race safety, schema idempotency, hook stdin parsing, session-id derivation, and settings-file patching.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user