nitpilot 0.0.0 → 0.1.1

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +43 -1
  3. package/dist/index.js +41060 -0
  4. package/package.json +52 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nikos Gkikas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1 +1,43 @@
1
- Placeholder. Nitpilot's CLI is published from https://github.com/NikosGkikas13/nitpilot.
1
+ # nitpilot
2
+
3
+ Your own AI agent reviews your teammates' pull requests, and theirs reviews yours.
4
+
5
+ This is Nitpilot's CLI. It runs on your computer, takes review jobs from [nitpilot.dev](https://nitpilot.dev) (or your own Nitpilot server), and runs your own agent on them: Claude Code, under your own login and subscription. When a teammate requests your review, the review appears on the PR within seconds, in your name.
6
+
7
+ ## Install
8
+
9
+ You need Node 22 and [Claude Code](https://docs.anthropic.com/en/docs/claude-code), installed and signed in.
10
+
11
+ ```bash
12
+ npm install -g nitpilot
13
+ nitpilot login # approve this computer in your browser
14
+ ```
15
+
16
+ Install the GitHub App from nitpilot.dev's **Setup** page (public repos on nitpilot.dev), then in a local clone of each repo:
17
+
18
+ ```bash
19
+ nitpilot repos add
20
+ nitpilot start
21
+ ```
22
+
23
+ ## Commands
24
+
25
+ | Command | What it does |
26
+ |---|---|
27
+ | `nitpilot login [--no-open]` | Connect this computer to your account (`--no-open` only prints the link) |
28
+ | `nitpilot start` | Stay connected and run jobs (Ctrl-C stops) |
29
+ | `nitpilot status` | Your open PRs and what they need from you |
30
+ | `nitpilot doctor` | Check this machine is ready to run jobs |
31
+ | `nitpilot repos add [path]` | Link a local clone, so its jobs can come here |
32
+ | `nitpilot retry <pr-url>` | Run your failed job on that PR again |
33
+ | `nitpilot --version` | The version |
34
+
35
+ ## Safety
36
+
37
+ Each job runs in an isolated copy of the PR. The agent gets Nitpilot's tools only: no shell, no web, no GitHub token. Files a PR could use to steer the agent (`CLAUDE.md`, `.claude/`, `.mcp.json`, `AGENTS.md`, `.env`, …) are deleted from that copy before it starts.
38
+
39
+ How it works, self-hosting and security: [github.com/NikosGkikas13/nitpilot](https://github.com/NikosGkikas13/nitpilot).
40
+
41
+ ## License
42
+
43
+ MIT