@xerg/cli 0.5.2 → 0.5.5
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 +7 -6
- package/dist/browser.js +3 -0
- package/dist/browser.js.map +1 -0
- package/dist/index.js +92 -394
- package/dist/index.js.map +1 -1
- package/package.json +7 -4
- package/skills/xerg/SKILL.md +19 -242
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# xerg
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Find wasted AI spend in OpenClaw, Hermes, and Cursor.
|
|
4
|
+
|
|
5
|
+
Xerg audits AI spend in dollars, surfaces provenance-aware waste findings, compares fixes, and optionally connects hosted follow-up after the first local result.
|
|
4
6
|
|
|
5
7
|
Xerg runs locally by default. Local audits and `--compare` are free. No account is required for local value, and no data leaves your machine unless you explicitly push results to Xerg Cloud.
|
|
6
8
|
|
|
@@ -57,7 +59,7 @@ node_modules/@xerg/cli/skills/xerg/SKILL.md
|
|
|
57
59
|
|
|
58
60
|
For a global install, the same file lives inside the global npm package directory instead. That file is a packaged copy of the canonical repo skill at [`skills/xerg/SKILL.md`](../../skills/xerg/SKILL.md). Use it if your agent platform imports skills from disk; installing the npm package does not automatically register the skill with every agent product.
|
|
59
61
|
|
|
60
|
-
The bundled skill frontmatter declares the CLI/package surface plus optional Xerg Cloud
|
|
62
|
+
The bundled skill frontmatter declares the CLI/package surface plus optional Xerg Cloud and remote audit requirements so registries can distinguish the default local audit workflow from opt-in hosted sync and remote audit workflows.
|
|
61
63
|
|
|
62
64
|
## Supported runtime
|
|
63
65
|
|
|
@@ -118,7 +120,7 @@ xerg push
|
|
|
118
120
|
Remote prerequisites:
|
|
119
121
|
|
|
120
122
|
- SSH audits require `ssh` and `rsync` on your `PATH`
|
|
121
|
-
- Railway audits require the `railway` CLI on your `PATH`
|
|
123
|
+
- Optional legacy Railway audits require the `railway` CLI on your `PATH`
|
|
122
124
|
|
|
123
125
|
## Default paths
|
|
124
126
|
|
|
@@ -145,7 +147,6 @@ If local defaults are empty, `xerg init` prints next-step commands for explicit
|
|
|
145
147
|
|
|
146
148
|
```bash
|
|
147
149
|
xerg audit --remote user@host
|
|
148
|
-
xerg audit --railway
|
|
149
150
|
```
|
|
150
151
|
|
|
151
152
|
## Hosted follow-up
|
|
@@ -214,11 +215,11 @@ Xerg v0 stores economic metadata and audit summaries locally. It does not store
|
|
|
214
215
|
|
|
215
216
|
## Troubleshooting
|
|
216
217
|
|
|
217
|
-
-
|
|
218
|
+
- If install fails with an unsupported engine warning, retry with Node 22 or 24.
|
|
218
219
|
- `xerg init` is interactive in v1. Use direct `doctor` / `audit` commands when you need non-interactive control.
|
|
219
220
|
- `--verbose` prints progress updates to stderr for `xerg doctor` and `xerg audit`, which helps distinguish package install time from CLI runtime.
|
|
220
221
|
- If `xerg audit --remote ...` fails before pulling files, verify that both `ssh` and `rsync` are installed and reachable on your `PATH`.
|
|
221
|
-
- If
|
|
222
|
+
- If a legacy Railway audit fails immediately, verify that the `railway` CLI is installed, authenticated, and can access the target project.
|
|
222
223
|
|
|
223
224
|
## Pilot and support
|
|
224
225
|
|
package/dist/browser.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/browser.ts"],"sourcesContent":["throw new Error('@xerg/cli is a Node.js CLI and cannot run in browser bundles.');\n"],"mappings":";AAAA,MAAM,IAAI,MAAM,+DAA+D;","names":[]}
|