@shreejitverma/x-axi 0.3.0 → 0.4.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 +8 -4
- package/dist/src/version.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -17,7 +17,6 @@ x-axi mentions --limit 5 # $0.001 per post plus $0.01 per au
|
|
|
17
17
|
x-axi post "hello from x-axi" --dry-run # the exact request and cost, with no dialog and no write
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
The npm package exists only after the first publish, which has not happened yet; until then, install from source as [Install](#install) shows.
|
|
21
20
|
The client ID comes from an app you create once at <https://console.x.com>, as [Connect your account](#connect-your-account) describes.
|
|
22
21
|
Pay-per-use API calls are billed to that app, so set a spend limit there first.
|
|
23
22
|
|
|
@@ -33,14 +32,19 @@ Pay-per-use API calls are billed to that app, so set a spend limit there first.
|
|
|
33
32
|
`x-axi` with no arguments shows the cached account and local spend without an API call.
|
|
34
33
|
`x-axi --help` lists the commands, and `x-axi <command> --help` shows its usage and cost.
|
|
35
34
|
|
|
35
|
+
## Output format
|
|
36
|
+
|
|
37
|
+
Output is TOON per the current specification, encoded by `@toon-format/toon` 4.
|
|
38
|
+
Read it with a current TOON decoder.
|
|
39
|
+
For what changed from 0.3, see the [v0.4.0 release notes](https://github.com/shreejitverma/x-axi/releases/tag/v0.4.0).
|
|
40
|
+
|
|
36
41
|
## Install
|
|
37
42
|
|
|
38
43
|
```sh
|
|
39
44
|
npm install -g @shreejitverma/x-axi
|
|
40
45
|
```
|
|
41
46
|
|
|
42
|
-
|
|
43
|
-
Node 20 or newer.
|
|
47
|
+
Node 22.12 or newer.
|
|
44
48
|
The package installs one command, `x-axi`.
|
|
45
49
|
`x-axi update` prints the installed version and the update command for npm and for a git checkout; it installs nothing itself.
|
|
46
50
|
|
|
@@ -346,7 +350,7 @@ On Linux:
|
|
|
346
350
|
- The gate is weaker than on macOS.
|
|
347
351
|
Any process running as you can click in an X11 dialog, or set `DISPLAY` to an X server it controls and click there.
|
|
348
352
|
|
|
349
|
-
CI runs the suite on Ubuntu and macOS on Node
|
|
353
|
+
CI runs the suite on Ubuntu and macOS on Node 22, 24, and 26.
|
|
350
354
|
It tests the Linux dialogs with fake executables that record their arguments and exit with a chosen code, so no real click reaches `zenity` or `kdialog` in CI.
|
|
351
355
|
The flags were checked against the help output of `zenity` 4.0.1 and `kdialog` 23.08 and against their upstream source on 2026-11-01.
|
|
352
356
|
Neither real Linux dialog has been opened by the test suite, so how they look on your desktop is unverified.
|
package/dist/src/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shreejitverma/x-axi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "AXI-compliant CLI for X: read data and manage your account, with a human approval gate on every write",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"x",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"type": "module",
|
|
26
26
|
"packageManager": "pnpm@11.9.0",
|
|
27
27
|
"bin": {
|
|
28
|
-
"x-axi": "
|
|
28
|
+
"x-axi": "dist/bin/x-axi.js"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist/bin/*.js",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"prepublishOnly": "pnpm run clean && pnpm run build && pnpm test"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
48
|
+
"node": ">=22.12"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@toon-format/toon": "^
|
|
51
|
+
"@toon-format/toon": "^4.4.0",
|
|
52
52
|
"axi-sdk-js": "^0.1.10"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"typescript": "^
|
|
57
|
-
"vitest": "^
|
|
55
|
+
"@types/node": "^26.6.5",
|
|
56
|
+
"typescript": "^7.0.2",
|
|
57
|
+
"vitest": "^5.0.5"
|
|
58
58
|
}
|
|
59
59
|
}
|