agentflex 0.2.0 → 0.3.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 +14 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# agentflex
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/agentflex) [](https://github.com/corral-dev/agentflex/blob/main/LICENSE)
|
|
4
|
+
|
|
3
5
|
**An animated card of your coding-agent week, in one command.**
|
|
4
6
|
|
|
5
7
|

|
|
@@ -30,6 +32,15 @@ npx agentflex --json # print the numbers as JSON
|
|
|
30
32
|
npx agentflex --no-anim # final card without animation
|
|
31
33
|
```
|
|
32
34
|
|
|
35
|
+
## Language
|
|
36
|
+
|
|
37
|
+
The card follows your locale. A Chinese locale (`zh_CN`, `zh-Hans`, …) shows the terminal card, loading state, key hints and exported PNG in Simplified Chinese; every other language keeps the English card. `CODING WEEK`, `tokens` and `AGENTS` stay in English as the card's own vocabulary.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
LANG=zh_CN.UTF-8 npx agentflex # force the Chinese card
|
|
41
|
+
LANG=en_US.UTF-8 npx agentflex # force English
|
|
42
|
+
```
|
|
43
|
+
|
|
33
44
|
## Fast
|
|
34
45
|
|
|
35
46
|
The default 7-day card is computed in well under a second on a heavy-use machine (about 900 MB of history): histories are read in parallel, pruned to the period, and only the fields that matter are decoded. The parsing engine is [SessKit](https://github.com/x0c/sesskit)'s native `sesskit-stats` crate, checked session by session against SessKit's reference implementation.
|
|
@@ -46,6 +57,8 @@ Everything stays on your machine. The card shows totals only: no prompts, file n
|
|
|
46
57
|
|
|
47
58
|
agentflex comes from [Corral](https://github.com/corral-dev/corral), a terminal home for all your coding-agent sessions: see who needs you, run agents side by side, and pick up from your phone. Corral users can also run `corral flex`.
|
|
48
59
|
|
|
60
|
+
Burning tokens across multiple accounts? [subswap](https://github.com/x0c/subswap) checks live quotas and switches accounts in 1 second.
|
|
61
|
+
|
|
49
62
|
## License
|
|
50
63
|
|
|
51
|
-
MIT. The PNG export embeds
|
|
64
|
+
MIT. The PNG export embeds subsets of the [Spleen](https://github.com/fcambus/spleen) (BSD-2-Clause) and [Fusion Pixel](https://github.com/TakWolf/fusion-pixel-font) (OFL-1.1) bitmap fonts; licenses are in [assets/](https://github.com/corral-dev/agentflex/blob/main/assets/).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentflex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Animated, shareable card of your coding-agent week (terminal + PNG export)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"agentflex-darwin-arm64": "0.
|
|
20
|
-
"agentflex-darwin-x64": "0.
|
|
21
|
-
"agentflex-linux-arm64": "0.
|
|
22
|
-
"agentflex-linux-x64": "0.
|
|
23
|
-
"agentflex-windows-arm64": "0.
|
|
24
|
-
"agentflex-windows-x64": "0.
|
|
19
|
+
"agentflex-darwin-arm64": "0.3.0",
|
|
20
|
+
"agentflex-darwin-x64": "0.3.0",
|
|
21
|
+
"agentflex-linux-arm64": "0.3.0",
|
|
22
|
+
"agentflex-linux-x64": "0.3.0",
|
|
23
|
+
"agentflex-windows-arm64": "0.3.0",
|
|
24
|
+
"agentflex-windows-x64": "0.3.0"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=18"
|