lurqrun 0.0.1 → 0.0.2
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 +31 -7
- package/dist/bin/lurq.js +1490 -270
- package/dist/bin/lurq.js.map +1 -1
- package/dist/index.d.ts +52 -5
- package/dist/index.js +1492 -270
- package/dist/index.js.map +1 -1
- package/drizzle/0001_aspiring_timeslip.sql +15 -0
- package/drizzle/0002_lyrical_lila_cheney.sql +14 -0
- package/drizzle/meta/0001_snapshot.json +482 -0
- package/drizzle/meta/0002_snapshot.json +575 -0
- package/drizzle/meta/_journal.json +14 -0
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -12,9 +12,7 @@ lurq is a **companion to your coding agent**: it recommends and explains package
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
npm install
|
|
15
|
-
|
|
16
|
-
docker compose up -d
|
|
17
|
-
npm run build
|
|
15
|
+
npx lurqrun install
|
|
18
16
|
npx lurqrun --help
|
|
19
17
|
```
|
|
20
18
|
|
|
@@ -76,13 +74,39 @@ every response is compact and carries a `dataAsOf` timestamp.
|
|
|
76
74
|
|
|
77
75
|
## install into your agent
|
|
78
76
|
|
|
77
|
+
lurq is a **hosted service** — you don't run a database. Get an API key, then:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
npx lurqrun install # guided: paste your key, pick your assistants
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
the wizard validates the key, detects your installed assistants (Claude Code,
|
|
84
|
+
Cursor, Windsurf, VS Code/Copilot, Codex), and writes a keyed remote MCP entry —
|
|
85
|
+
`{ "type": "http", "url": "https://api.lurq.run/mcp", "headers": { "Authorization": "Bearer …" } }`.
|
|
86
|
+
**no database credentials ever touch your machine.** restart the agent afterward.
|
|
87
|
+
|
|
88
|
+
non-interactive / scriptable:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npx lurqrun install-skill --agent claude-code --api-key <key> # or --agent all
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**self-hosting?** run your own stdio server against your own DB with
|
|
95
|
+
`install-skill --local` (writes a local `npx lurqrun serve` entry using your
|
|
96
|
+
`DATABASE_URL`).
|
|
97
|
+
|
|
98
|
+
### running the service (operator)
|
|
99
|
+
|
|
79
100
|
```bash
|
|
80
|
-
|
|
101
|
+
lurq serve-http # HTTP MCP server with API-key auth (uses $PORT)
|
|
102
|
+
lurq keys create --label "acme" # issue a key (shown once; stored hashed)
|
|
103
|
+
lurq keys list # prefix, tier, last-used, status
|
|
104
|
+
lurq keys revoke lurq_live_ab12cd # revoke by prefix or id
|
|
81
105
|
```
|
|
82
106
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
107
|
+
`serve-http` fronts the central DB with helmet, per-key + per-IP rate limiting,
|
|
108
|
+
and Bearer auth. `DATABASE_URL` lives only on the service host. Deployment:
|
|
109
|
+
see [`docs/lurq-hosted-deployment.md`](./docs/lurq-hosted-deployment.md).
|
|
86
110
|
|
|
87
111
|
## how it works
|
|
88
112
|
|