@wukazis/euphony 0.1.45 → 0.1.46
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 +10 -2
- package/dist/assets/{main-CmldcHcT.js → main-DS3CAMrw.js} +662 -486
- package/dist/index.html +1 -1
- package/lib/components/app/app.d.ts +23 -4
- package/lib/types/common-types.d.ts +15 -2
- package/lib/utils/api-manager.d.ts +6 -2
- package/package.json +1 -1
- package/server-dist/node-main.js +352 -17
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ structured chat data and Codex sessions in the browser.
|
|
|
37
37
|
| Filtering and focus mode | Filters datasets with JMESPath and narrows visible messages by role, recipient, or content type. |
|
|
38
38
|
| Grid and editor modes | Supports dataset skimming in grid view and direct JSONL editing in editor mode. |
|
|
39
39
|
| Harmony token rendering | Shows Harmony renderer output, token IDs, decoded tokens, and rendered display strings. |
|
|
40
|
-
| Local Codex sessions index | Scans local Codex history under `~/.codex/sessions`,
|
|
40
|
+
| Local Codex sessions index | Scans local Codex history under `~/.codex/sessions`, supports keyword search, and opens full sessions on demand. |
|
|
41
41
|
| Embeddable web components | Ships reusable custom elements for integrating the viewer into other web apps in any framework (e.g., React, Svelte, Vue). |
|
|
42
42
|
|
|
43
43
|
## Get Started
|
|
@@ -160,13 +160,21 @@ To open the local Codex sessions index directly:
|
|
|
160
160
|
http://127.0.0.1:8020/?path=codex%3Asessions
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
+
To open the Codex token usage overview directly:
|
|
164
|
+
|
|
165
|
+
```text
|
|
166
|
+
http://127.0.0.1:8020/?path=codex%3Ausage
|
|
167
|
+
```
|
|
168
|
+
|
|
163
169
|
The `codex:sessions` path scans:
|
|
164
170
|
|
|
165
171
|
```text
|
|
166
172
|
~/.codex/sessions/**/*.jsonl
|
|
167
173
|
```
|
|
168
174
|
|
|
169
|
-
Each session is shown as a lightweight row with its session path, first user message, relative time, and event count. Click a row to load the full session. On a full session page, use the `Sessions` button in the toolbar to return to the index.
|
|
175
|
+
Each session is shown as a lightweight row with its session path, first user message, relative time, compact total token count, and event count. Use the search box to filter by session path or first user message. Click a row to load the full session. On a full session page, use the `Sessions` button in the toolbar to return to the index.
|
|
176
|
+
|
|
177
|
+
The `codex:usage` path reads each Codex session's latest `total_token_usage` and groups it into selectable ranges: `7d`, `30d`, and `1y`. The usage page includes a line chart with hover tooltips and compact token labels, for example `45,034 tokens` becomes `45k tokens` and million-scale counts become `m tokens`.
|
|
170
178
|
|
|
171
179
|
To read Codex sessions from another directory:
|
|
172
180
|
|