dbrain 0.1.1 → 0.2.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/README.md +4 -4
- package/dist/dashboard/icons/apple-touch-icon.png +0 -0
- package/dist/dashboard/icons/favicon-96x96.png +0 -0
- package/dist/dashboard/icons/favicon.ico +0 -0
- package/dist/dashboard/icons/favicon.svg +1 -0
- package/dist/dashboard/icons/icons/apple-touch-icon.png +0 -0
- package/dist/dashboard/icons/icons/favicon-96x96.png +0 -0
- package/dist/dashboard/icons/icons/favicon.ico +0 -0
- package/dist/dashboard/icons/icons/favicon.svg +1 -0
- package/dist/dashboard/icons/icons/site.webmanifest +21 -0
- package/dist/dashboard/icons/icons/web-app-manifest-192x192.png +0 -0
- package/dist/dashboard/icons/icons/web-app-manifest-512x512.png +0 -0
- package/dist/dashboard/icons/site.webmanifest +21 -0
- package/dist/dashboard/icons/web-app-manifest-192x192.png +0 -0
- package/dist/dashboard/icons/web-app-manifest-512x512.png +0 -0
- package/dist/dashboard/index.html +868 -649
- package/dist/dashboard/logo-complete.png +0 -0
- package/dist/dashboard/logo-image.png +0 -0
- package/dist/dashboard/logo.png +0 -0
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +28 -2
- package/dist/dashboard/server.js.map +1 -1
- package/dist/server/routes/conversations.d.ts.map +1 -1
- package/dist/server/routes/conversations.js +5 -3
- package/dist/server/routes/conversations.js.map +1 -1
- package/dist/server/routes/health.d.ts.map +1 -1
- package/dist/server/routes/health.js +7 -1
- package/dist/server/routes/health.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ dbrain start # starts API on :7878 + dashboard on :7879
|
|
|
35
35
|
Then connect Claude Code from any machine:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
dbrain connect
|
|
38
|
+
dbrain connect claude
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
The wizard asks for the brain URL and token (shown during `init`):
|
|
@@ -69,7 +69,7 @@ The wizard asks for the brain URL and token (shown during `init`):
|
|
|
69
69
|
Restart Claude Code and it will start using the brain. You can also skip the wizard:
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
|
-
dbrain connect http://your-server:7878 --token=sk-dbr_...
|
|
72
|
+
dbrain connect claude http://your-server:7878 --token=sk-dbr_...
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
## Docker
|
|
@@ -84,7 +84,7 @@ docker compose up -d
|
|
|
84
84
|
Then from any client machine:
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
|
-
dbrain connect http://your-server:7878
|
|
87
|
+
dbrain connect claude http://your-server:7878
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
## How It Works
|
|
@@ -148,7 +148,7 @@ All endpoints require `Authorization: Bearer <token>` except `/health`.
|
|
|
148
148
|
| ---------------------- | ------ | ----------------------------------------- |
|
|
149
149
|
| `dbrain init [path]` | Server | Create a new brain (DB, config, identity) |
|
|
150
150
|
| `dbrain start [path]` | Server | Start the API server + dashboard |
|
|
151
|
-
| `dbrain connect [url]` | Client | Connect
|
|
151
|
+
| `dbrain connect <client> [url]` | Client | Connect a client to a running brain |
|
|
152
152
|
| `dbrain status [path]` | Server | Check brain status |
|
|
153
153
|
|
|
154
154
|
`init` runs on the **server** (creates the brain). `connect` runs on the **client** (configures Claude Code). The brain serves its own client config via `GET /connect`.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|