fathom-cli 0.2.3 → 0.3.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 +39 -38
- package/dist/chunk-FILMHRDQ.js +2055 -0
- package/dist/chunk-FILMHRDQ.js.map +1 -0
- package/dist/chunk-MNGU6SI4.js +6680 -0
- package/dist/chunk-MNGU6SI4.js.map +1 -0
- package/dist/chunk-SEGVTWSK.js +44 -0
- package/dist/chunk-SEGVTWSK.js.map +1 -0
- package/dist/chunk-TXIC6BY4.js +169 -0
- package/dist/chunk-TXIC6BY4.js.map +1 -0
- package/dist/dist-KXBSLOHP.js +506 -0
- package/dist/dist-KXBSLOHP.js.map +1 -0
- package/dist/dist-XKZLNUDU.js +34 -0
- package/dist/dist-XKZLNUDU.js.map +1 -0
- package/dist/fileFromPath-AY5NHOFK.js +131 -0
- package/dist/fileFromPath-AY5NHOFK.js.map +1 -0
- package/dist/index.js +12576 -16505
- package/dist/index.js.map +1 -1
- package/dist/openai-CLPZFCUS.js +10933 -0
- package/dist/openai-CLPZFCUS.js.map +1 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# fathom-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Active development.** APIs and features may change between versions. We welcome feedback — run `fathom feedback` or see [FEEDBACK.md](../../FEEDBACK.md).
|
|
4
|
+
|
|
5
|
+
The CLI for [Fathom](https://github.com/olivelliott/fathom) -- the headless intelligence layer for AI-augmented development. One command runs the full loop: capture intent, estimate tokens, route to the right model, build with full context, track actuals, reconcile, calibrate.
|
|
4
6
|
|
|
5
7
|
## Install
|
|
6
8
|
|
|
@@ -8,8 +10,6 @@ Estimate AI token costs before work, track actuals during work, and calibrate yo
|
|
|
8
10
|
npm install -g fathom-cli
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
Add `ANTHROPIC_API_KEY` to your project's `.env` file (auto-loaded).
|
|
12
|
-
|
|
13
13
|
## One Command
|
|
14
14
|
|
|
15
15
|
```bash
|
|
@@ -18,22 +18,23 @@ fathom
|
|
|
18
18
|
|
|
19
19
|
That's it. `fathom` with no arguments walks through the entire workflow:
|
|
20
20
|
|
|
21
|
-
1. **
|
|
22
|
-
2. **
|
|
23
|
-
3. **
|
|
21
|
+
1. **Intent** -- captures what you're building, what matters, your budget and guardrails
|
|
22
|
+
2. **Intake** -- extracts work items from your requirements, estimates tokens and cost
|
|
23
|
+
3. **Build** -- generates a context-rich prompt and launches your AI tool of choice
|
|
24
|
+
4. **Review** -- tracks sessions, reconciles estimates vs actuals, calibrates
|
|
24
25
|
|
|
25
26
|
New project? It auto-scaffolds everything. Returning project? Shows progress and offers contextual next steps:
|
|
26
27
|
|
|
27
28
|
```
|
|
28
29
|
$ fathom
|
|
29
30
|
|
|
30
|
-
Fathom
|
|
31
|
-
6/12 features complete (50%)
|
|
31
|
+
Fathom -- myproject
|
|
32
|
+
6/12 features complete (50%) -- $8.40 of $14.20 spent
|
|
32
33
|
|
|
33
34
|
What would you like to do?
|
|
34
|
-
|
|
35
|
-
New intake
|
|
36
|
-
Review
|
|
35
|
+
> Continue building (next: payment-integration)
|
|
36
|
+
New intake -- add more work
|
|
37
|
+
Review -- reconcile recent sessions
|
|
37
38
|
Status overview
|
|
38
39
|
```
|
|
39
40
|
|
|
@@ -42,35 +43,29 @@ Resume from any phase:
|
|
|
42
43
|
```bash
|
|
43
44
|
fathom --from build # Skip intake
|
|
44
45
|
fathom --from review # Just track + reconcile + calibrate
|
|
45
|
-
fathom --auto # Skip all confirmations
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
##
|
|
49
|
-
|
|
50
|
-
Fathom offers three ways to build (choice is remembered):
|
|
51
|
-
|
|
52
|
-
- **Launch Claude Code** — opens Claude with full project context, priority queue, and feature details
|
|
53
|
-
- **Worktree** — creates an isolated git branch per feature, launches Claude in it
|
|
54
|
-
- **Manual** — prints the spec path and build prompt so you can build however you want
|
|
55
|
-
|
|
56
|
-
## Individual Commands
|
|
57
|
-
|
|
58
|
-
All commands also work standalone:
|
|
48
|
+
## All Commands
|
|
59
49
|
|
|
60
|
-
| Command |
|
|
50
|
+
| Command | Description |
|
|
61
51
|
|---------|-------------|
|
|
62
|
-
| `fathom` |
|
|
63
|
-
| `fathom intake` |
|
|
52
|
+
| `fathom` | Full workflow -- intake, build, review (default) |
|
|
53
|
+
| `fathom intake` | Turn raw feedback into structured spec slices with estimates |
|
|
54
|
+
| `fathom analyze <spec>` | Parse a spec file and estimate all features |
|
|
64
55
|
| `fathom estimate <desc>` | Quick cost estimate for a single feature |
|
|
65
|
-
| `fathom
|
|
66
|
-
| `fathom
|
|
67
|
-
| `fathom track` | Import
|
|
56
|
+
| `fathom setup` | Scaffold project tracking |
|
|
57
|
+
| `fathom init` | Initialize a new Fathom project |
|
|
58
|
+
| `fathom track` | Import sessions, auto-tag to features |
|
|
68
59
|
| `fathom reconcile` | Compare estimates vs actuals |
|
|
69
|
-
| `fathom calibrate` | Adjust profiles from real data |
|
|
60
|
+
| `fathom calibrate` | Adjust task profiles from real data |
|
|
70
61
|
| `fathom velocity` | Throughput metrics and benchmarks |
|
|
62
|
+
| `fathom project` | Manage project configuration |
|
|
71
63
|
| `fathom status` | Project overview |
|
|
72
|
-
| `fathom rename <name>` | Rename project across config files |
|
|
73
64
|
| `fathom pricing` | Show model pricing |
|
|
65
|
+
| `fathom validate` | Validate project configuration |
|
|
66
|
+
| `fathom rename <name>` | Rename project across config files |
|
|
67
|
+
| `fathom research` | Research tasks with AI assistance |
|
|
68
|
+
| `fathom feedback` | How to report bugs and request features |
|
|
74
69
|
|
|
75
70
|
## Environment Variables
|
|
76
71
|
|
|
@@ -78,17 +73,23 @@ Auto-loaded from `.env` in your project directory.
|
|
|
78
73
|
|
|
79
74
|
| Variable | Purpose |
|
|
80
75
|
|----------|---------|
|
|
81
|
-
| `ANTHROPIC_API_KEY` | Required for
|
|
82
|
-
| `
|
|
76
|
+
| `ANTHROPIC_API_KEY` | Required for intake extraction and AI-powered estimation |
|
|
77
|
+
| `OPENAI_API_KEY` | Alternative provider for intake extraction |
|
|
78
|
+
| `CONVEX_URL` | Optional -- enables real-time dashboard sync |
|
|
79
|
+
|
|
80
|
+
## Feedback
|
|
83
81
|
|
|
84
|
-
|
|
82
|
+
```bash
|
|
83
|
+
fathom feedback
|
|
84
|
+
fathom feedback --bug "description of the issue"
|
|
85
|
+
fathom feedback --feature "description of what you'd like"
|
|
86
|
+
```
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
See [FEEDBACK.md](https://github.com/olivelliott/fathom/blob/main/FEEDBACK.md) for details.
|
|
87
89
|
|
|
88
|
-
##
|
|
90
|
+
## Part of the Fathom ecosystem
|
|
89
91
|
|
|
90
|
-
- [
|
|
91
|
-
- [Issues](https://github.com/olivelliott/fathom/issues)
|
|
92
|
+
`fathom-cli` is a consumer of the Fathom packages -- it wires all the headless intelligence into a command-line interface. See the [Fathom README](https://github.com/olivelliott/fathom) for the full picture.
|
|
92
93
|
|
|
93
94
|
## License
|
|
94
95
|
|