lastlight 0.1.5 → 0.1.6
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 +27 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,33 @@ An AI agent that maintains GitHub repositories: triaging issues, reviewing PRs,
|
|
|
13
13
|
|
|
14
14
|
Built on the [Claude Agent SDK](https://platform.claude.com/docs/en/agent-sdk/overview) with a lightweight TypeScript harness for webhook ingestion, cron scheduling, and process management.
|
|
15
15
|
|
|
16
|
+
## Production Setup (Clean Server)
|
|
17
|
+
|
|
18
|
+
The fastest way to go from a bare server to a running Last Light instance:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx lastlight setup
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The setup wizard walks you through:
|
|
25
|
+
|
|
26
|
+
1. **GitHub App** — enter your App ID, Installation ID, and PEM key path
|
|
27
|
+
2. **Anthropic API key** — for the Claude Agent SDK
|
|
28
|
+
3. **Webhook secret** — auto-generated if you don't have one
|
|
29
|
+
4. **Domain & TLS** — optional Caddy config for automatic HTTPS
|
|
30
|
+
5. **Slack** — optional bot token and app token for Slack integration
|
|
31
|
+
6. **Admin dashboard** — optional password protection
|
|
32
|
+
|
|
33
|
+
It writes `.env`, copies your PEM into the secrets directory, generates
|
|
34
|
+
`docker-compose.yml` and (optionally) a `Caddyfile`, then offers to build
|
|
35
|
+
and start the containers. When it's done you have a running instance ready
|
|
36
|
+
to receive webhooks.
|
|
37
|
+
|
|
38
|
+
> **Requires:** Node.js 20+, Docker, and a GitHub App already created
|
|
39
|
+
> (see [Create a GitHub App](#1-create-a-github-app) below).
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
16
43
|
## Quick Start (Local Dev)
|
|
17
44
|
|
|
18
45
|
### Prerequisites
|