@earntori/cli 0.2.14 → 0.2.15

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 CHANGED
@@ -1,17 +1,20 @@
1
1
  # @earntori/cli
2
2
 
3
- The Tori command line. Sign in, wire Tori into a repo, run checks, mint AI keys.
3
+ The Tori command line. One command holds your coding agent to a standard.
4
4
 
5
5
  ```
6
- npx @earntori/cli login sign in with GitHub (device flow)
7
- npx @earntori/cli init wire Tori into this repo (MCP server + Claude Code hooks)
8
- npx @earntori/cli check [paths…] run Tori's checks on changed files
9
- npx @earntori/cli status balance + your AI keys
10
- npx @earntori/cli key --limit 5 mint a spend-capped AI key from your credits (--write env to save it)
11
- npx @earntori/cli stats your integration + developer program numbers
6
+ npx @earntori/cli init set up this repo (signs you in with GitHub the first time)
7
+ npx @earntori/cli standards what this project is held to; `standards enable <id…>` adds one
8
+ npx @earntori/cli rules add "…" add a rule of your own
9
+ npx @earntori/cli check [paths…] run the checks yourself
10
+ npx @earntori/cli ledger the signed record of every check and fix
11
+ npx @earntori/cli receipt <id> verify one receipt
12
+ npx @earntori/cli connector new --label … a connector for Claude (Chat, Cowork) and agents you build
12
13
  npx @earntori/cli logout
13
14
  ```
14
15
 
15
- **Earn AI credits by building securely in Claude Code and Cursor.** Tori checks the code your coding agent writes before you ship it, tells the agent how to fix what it finds, and rewards you in AI credits for building with it. Full guide: https://www.earntori.com/docs/mcp · issues: https://github.com/GAishZOEish/Tori-MCP/issues
16
+ Tori checks the code your coding agent writes against OWASP- and CWE-aligned coding standards, and the standards your industry is held to, before the agent calls a task done. Each finding comes with its fix; the agent applies it. Every check and fix goes on a signed record you can verify offline and show whoever needs proof.
16
17
 
17
- Sending rewards to your own users? That's the Partner API: https://www.earntori.com/developers#quickstart
18
+ Coding agents (CLI and IDE): Claude Code, Codex, Cursor. Desktop agents: Claude (Chat, Cowork).
19
+
20
+ Guide: https://github.com/GAishZOEish/tori-examples#readme · https://usetori.dev · Issues: https://github.com/usetori/Tori-MCP/issues
package/dist/index.js CHANGED
@@ -163,7 +163,7 @@ function writeJson(p, o) { mkdirSync(dirname(resolve(p)), { recursive: true });
163
163
  // `install` writes that harness's files and returns their paths. Add a harness = add a row.
164
164
  // Pinned package versions written into agent config (B1b). CLI version = this package's own;
165
165
  // MCP version is a constant: bump it in the same commit as a @earntori/mcp release.
166
- const TORI_MCP_VERSION = "0.1.7";
166
+ const TORI_MCP_VERSION = "0.1.8";
167
167
  function cliVersion(cliBin) {
168
168
  try {
169
169
  return JSON.parse(readFileSync(resolve(dirname(realpathSync(cliBin)), "..", "package.json"), "utf8")).version ?? "latest";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@earntori/cli",
3
- "version": "0.2.14",
4
- "description": "Tori CLI — sign in with GitHub, check your credits, mint a capped AI key into your tools.",
3
+ "version": "0.2.15",
4
+ "description": "Tori CLI — holds your coding agent to a standard: checks before it calls a task done, each finding with its fix, on a signed record you can verify offline.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {
@@ -26,12 +26,12 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "homepage": "https://www.earntori.com/docs/mcp",
29
+ "homepage": "https://usetori.dev",
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "git+https://github.com/usetori/tori.git"
33
33
  },
34
34
  "bugs": {
35
- "url": "https://github.com/GAishZOEish/Tori-MCP/issues"
35
+ "url": "https://github.com/usetori/Tori-MCP/issues"
36
36
  }
37
37
  }