@invaro/opentax 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.
Files changed (3) hide show
  1. package/README.md +10 -4
  2. package/bundle/main.js +45281 -0
  3. package/package.json +8 -6
package/README.md CHANGED
@@ -32,7 +32,16 @@ Claude Desktop / Cursor config:
32
32
  }
33
33
  ```
34
34
 
35
- Self-host the HTTP connector: `npx -y @invaro/opentax opentax-mcp-http` exposes `/mcp` on `$PORT` (default 3411), stateless and horizontally scalable.
35
+ The same binary is also the full CLI and the self-hostable connector:
36
+
37
+ ```bash
38
+ npx -y @invaro/opentax eval --status mfj --wages 120000 --kids 2 # terminal CLI
39
+ npx -y @invaro/opentax check --wages 120000 --expect 5746 # verify a claimed number
40
+ npx -y @invaro/opentax lookup standard deduction # citations behind an amount
41
+ npx -y @invaro/opentax mcp-http # self-host /mcp on $PORT
42
+ ```
43
+
44
+ One package: run with no arguments from an MCP client and it's the stdio server; give it a command and it's the CLI.
36
45
 
37
46
  ## Tools
38
47
 
@@ -53,6 +62,3 @@ Every computation returns its **assumptions** (documented defaults it relied on)
53
62
 
54
63
  The engine refuses rather than guesses: missing facts are named, uncovered situations return "not covered," and dates outside a rule's validity window are errors — never silent fallbacks to a stale year.
55
64
 
56
- ## Related
57
-
58
- - [`@invaro/opentax-cli`](https://www.npmjs.com/package/@invaro/opentax-cli) — the same engine as a command-line tool (`opentax eval --status mfj --wages 120000 --kids 2`)