@wbcode/avron 0.1.0 → 0.1.2

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
@@ -33,7 +33,9 @@ Four more tools get the same hooks, but their screens have no place for a line,
33
33
  | Antigravity IDE | The Avron editor extension |
34
34
  | Codex CLI | The Avron editor extension, with Codex running in that window's terminal |
35
35
 
36
- The Avron editor extension is not published yet. Until it is, these four show nothing. On the desktop apps of Claude and Codex there is no line either; a desktop notification can stand in (see "Formats").
36
+ Install the extension in VS Code from the Marketplace: search for **Avron** (publisher `wbcode`). Cursor and Antigravity IDE get the same extension from Open VSX. Without the extension these four show nothing. The Codex desktop app has no place to draw a line; a desktop notification can stand in (see "Formats").
37
+
38
+ The Claude desktop app (the Code tab) shows the line through a small plugin. `npx @wbcode/avron install` adds it with `claude plugin` when the app and the `claude` command are both on your machine (checked on Windows so far): the line sits under the input box, and a sponsor with a card gets one row above the input with a **Details** button that opens the card. Nothing opens by itself. `npx @wbcode/avron uninstall` removes the plugin again.
37
39
 
38
40
  Each tool is added only after it passes the checks in "How it is tested".
39
41
 
@@ -49,7 +51,7 @@ Requires Node.js 20 or newer. Not offered in mainland China, Japan, the European
49
51
 
50
52
  ## What it does to your machine
51
53
 
52
- - **Edits only the tools' own settings files**, and only for tools it found: Claude Code's `settings.json`, GitHub Copilot's hook file and `settings.json`, Cursor's `hooks.json`, Codex's `hooks.json`, Antigravity's `hooks.json` and CLI `settings.json`, OpenCode's `tui.json`. A backup is saved first. Your existing status line keeps running and its output is kept; your existing hooks stay where they are, in the same order. Other people's entries in shared files are never touched.
54
+ - **Edits only the tools' own settings files**, and only for tools it found: Claude Code's `settings.json` (with the Claude desktop app, two more entries there, `enabledPlugins` and `extraKnownMarketplaces`, that register Avron's plugin), GitHub Copilot's hook file and `settings.json`, Cursor's `hooks.json`, Codex's `hooks.json`, Antigravity's `hooks.json` and CLI `settings.json`, OpenCode's `tui.json`. A backup is saved first. Your existing status line keeps running and its output is kept; your existing hooks stay where they are, in the same order. Other people's entries in shared files are never touched.
53
55
  - **Adds hooks that print nothing** and run in the background.
54
56
  - **Runs one small background process** per machine. It exits by itself after three hours without use, and it does not stay in your project directory. On Windows it starts itself a second time through `powershell.exe Start-Process` and the first copy exits, so that a hook's output pipe is not held open.
55
57
  - **Keeps its files in `~/.avron`.** Shell profiles (`.bashrc`, `.zshrc`, PowerShell profile) are never touched.
@@ -85,7 +87,7 @@ To run with no network access at all, set `AVRON_OFFLINE=1`. See [SECURITY.md](S
85
87
 
86
88
  ## Formats
87
89
 
88
- By default you may see the one-line form and, where the tool has room, a card with a short description and a button (in the editor, on mouse-over or click). A sponsor's logo or picture is shown only after it has been checked. On the desktop apps of Claude and Codex, where there is no line, a short desktop notification is the format. Change what is shown with `npx @wbcode/avron config`, for example `npx @wbcode/avron config set formats.toast false`.
90
+ By default you may see the one-line form and, where the tool has room, a card with a short description and a button (in the editor, on mouse-over or click). A sponsor's logo or picture is shown only after it has been checked. On the Codex desktop app, where there is no line, a short desktop notification is the format. Change what is shown with `npx @wbcode/avron config`, for example `npx @wbcode/avron config set formats.toast false`.
89
91
 
90
92
  ## Sponsors
91
93
 
package/SECURITY.md CHANGED
@@ -47,6 +47,8 @@ npx @wbcode/avron doctor
47
47
 
48
48
  For every tool Avron changed, the backup of your original file is saved next to it with the ending `.avron-backup` (for example `settings.json.avron-backup`). Compare the two to see every change. `npx @wbcode/avron uninstall` restores the backup and removes it.
49
49
 
50
+ The Claude desktop app is the one place where another program edits the same file: Avron adds its plugin there with Claude's own `claude plugin` command, which also reorders the keys of `settings.json` and adds two entries (`enabledPlugins` and `extraKnownMarketplaces`). A second copy of the file as it was just before that step is kept as `settings.json.avron-plugin-backup`. `npx @wbcode/avron uninstall` removes the plugin first and then restores the original file byte for byte.
51
+
50
52
  ## Local files
51
53
 
52
54
  Everything is under `~/.avron`:
@@ -55,6 +57,7 @@ Everything is under `~/.avron`:
55
57
  |---|---|
56
58
  | `adapters/` | One small record per tool Avron was added to (what to restore on uninstall) |
57
59
  | `bin/` | The scripts the tools run (plain JavaScript) |
60
+ | `claude-plugin/` | Avron's plugin for the Claude desktop app (plain source, `hooks/register.tsx` draws the line); `avron-plugin.json` there names the Node.js and helper script it runs |
58
61
  | `keys/` | Ed25519 key pair created at install. The private key never leaves the machine |
59
62
  | `logs/impressions.ndjson` | Append-only log of valid impressions |
60
63
  | `logs/daemon.log` | Diagnostics |