zframes 0.4.0 → 0.5.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 +30 -18
- package/dist/index.js +170 -10
- package/package.json +4 -4
- package/runtime/assets/{bitcoin-dominance-DVZsIJ3y.js → bitcoin-dominance-DoQXKqiB.js} +1 -1
- package/runtime/assets/{breakeven-lskbHkqb.js → breakeven-C-RPYpuB.js} +1 -1
- package/runtime/assets/{breathing-BeUkCUAJ.js → breathing-y5-8SC9y.js} +1 -1
- package/runtime/assets/{btc-blocks-fXBgGo4z.js → btc-blocks-Sw7Iyo4-.js} +1 -1
- package/runtime/assets/{btc-difficulty-BwyxgI0e.js → btc-difficulty-BYmWqBxZ.js} +1 -1
- package/runtime/assets/{btc-fees-Bg1rcXtN.js → btc-fees-D8mISVeZ.js} +1 -1
- package/runtime/assets/{btc-hashrate-Xg8QNlTO.js → btc-hashrate-BEJQmdg9.js} +1 -1
- package/runtime/assets/{btc-mempool-8Mfa77fO.js → btc-mempool-1XmL6cRJ.js} +1 -1
- package/runtime/assets/{calculator-CiXyJA9p.js → calculator-DXo_2gkF.js} +1 -1
- package/runtime/assets/{checklist-D0dKSdmf.js → checklist-BdYa9ZOP.js} +1 -1
- package/runtime/assets/{clock-CNQTNh4L.js → clock-D-I4lQmb.js} +1 -1
- package/runtime/assets/{coin-movers-DulAF_oo.js → coin-movers-DOacvI6E.js} +1 -1
- package/runtime/assets/{countdown-BzZ2L6bw.js → countdown-BUHtC8Ve.js} +1 -1
- package/runtime/assets/{daily-analysis-RyI5KL4T.js → daily-analysis-CfKUC2nL.js} +1 -1
- package/runtime/assets/{day-meter-2bAj77Kz.js → day-meter-Bf2cGHVR.js} +1 -1
- package/runtime/assets/dex-volume-chart-61eDevFa.js +1 -0
- package/runtime/assets/dex-volume-treemap-DlwxBY_b.js +1 -0
- package/runtime/assets/{dice-wg979Skm.js → dice-Dl2uLedD.js} +1 -1
- package/runtime/assets/{dino-game-DlACWmE_.js → dino-game-Cx4Nc7AZ.js} +1 -1
- package/runtime/assets/{divider-Chz1UsWJ.js → divider-HYdZwv9D.js} +1 -1
- package/runtime/assets/{drawdy-Ce7P47cx.js → drawdy-C42tJRAO.js} +1 -1
- package/runtime/assets/editor-BMMobjrE.css +1 -0
- package/runtime/assets/editor-COIEaoVd.js +68 -0
- package/runtime/assets/{fear-greed-CENzXdIk.js → fear-greed-BkmVWoHA.js} +1 -1
- package/runtime/assets/{filings-feed-2aIKzUUY.js → filings-feed-ChiZiKYE.js} +1 -1
- package/runtime/assets/{financial-stress--ezsCpfR.js → financial-stress-BQJoviQU.js} +1 -1
- package/runtime/assets/{flappy-bird-DDe-IXt9.js → flappy-bird-DphWPPwp.js} +1 -1
- package/runtime/assets/{fundamentals-v8f81ZNS.js → fundamentals-D20TvQN_.js} +1 -1
- package/runtime/assets/funding-heatmap-DxH9NYjL.js +1 -0
- package/runtime/assets/{funding-rate-chart-CjDA4nj7.js → funding-rate-chart-BJ2jiIb4.js} +1 -1
- package/runtime/assets/fx-board-DXTpvuXF.js +1 -0
- package/runtime/assets/{heading-DMxdj9LK.js → heading-Cr4OaUt7.js} +1 -1
- package/runtime/assets/{holiday-calendar-DxB-fxG5.js → holiday-calendar-DHK0jzQc.js} +1 -1
- package/runtime/assets/{image-DLg33JpH.js → image-DVddTOkv.js} +1 -1
- package/runtime/assets/{index-DRTPEQtR.css → index-BqHx9BjX.css} +1 -1
- package/runtime/assets/index-DK7jWlTL.js +1 -0
- package/runtime/assets/index-DNLPQoS7.js +936 -0
- package/runtime/assets/inflation-pulse-NCyRMTQV.js +1 -0
- package/runtime/assets/{journal-log-BX5Z_yte.js → journal-log-C_W9xs_w.js} +1 -1
- package/runtime/assets/{journal-open-XFQGIRkw.js → journal-open-CVlbbryx.js} +1 -1
- package/runtime/assets/{journal-results-J1WCmyH2.js → journal-results-Bsk6nwKi.js} +1 -1
- package/runtime/assets/{journal-score-CKhBSfYY.js → journal-score-C6Aj9hWs.js} +1 -1
- package/runtime/assets/{journal-ui-Cogk2Wkt.js → journal-ui-DgGd2Foc.js} +1 -1
- package/runtime/assets/{labor-market-BV20Rl-4.js → labor-market-BvFWS_YO.js} +1 -1
- package/runtime/assets/{lightning-stats-h4fquhAg.js → lightning-stats-DyRwU2-5.js} +1 -1
- package/runtime/assets/{link-grid-a6NWj1Hu.js → link-grid-DxPMWWbo.js} +1 -1
- package/runtime/assets/live-tick-9Q3ubPF9.js +1 -0
- package/runtime/assets/liveline-bcaEuskN.js +1 -0
- package/runtime/assets/market-cap-treemap-LEDlsNnm.js +1 -0
- package/runtime/assets/{market-hours-6srwf0-r.js → market-hours-DlTlbyBC.js} +1 -1
- package/runtime/assets/{marquee-DDurk6bj.js → marquee-Ds-0N_-6.js} +1 -1
- package/runtime/assets/mini-line-chart-CHM5UBjJ.js +1 -0
- package/runtime/assets/{mining-pools-BPjCy4ZW.js → mining-pools-Dg55Tg1-.js} +1 -1
- package/runtime/assets/{mover-row-kQ9xt3Sp.js → mover-row-CunANlxa.js} +1 -1
- package/runtime/assets/{national-debt-DkOnmfd1.js → national-debt-G2V6-Lef.js} +1 -1
- package/runtime/assets/news-feed-RKSA0wsz.js +1 -0
- package/runtime/assets/note-CDlwRqhL.js +1 -0
- package/runtime/assets/{open-interest-fxHh_T-V.js → open-interest-Bs6LXeca.js} +1 -1
- package/runtime/assets/{options-iv-CDArg1Op.js → options-iv-BClv6xRB.js} +1 -1
- package/runtime/assets/{options-oi-strike-D_XIgUkk.js → options-oi-strike-DbhE95-7.js} +1 -1
- package/runtime/assets/{options-put-call-DG4RXjzD.js → options-put-call-C7tt191v.js} +1 -1
- package/runtime/assets/{pomodoro-B-Jk-51G.js → pomodoro-DpIO5pex.js} +1 -1
- package/runtime/assets/{portfolio-allocation-BJepNj1X.js → portfolio-allocation-DqSXNMYF.js} +1 -1
- package/runtime/assets/{portfolio-common-D5L06PNC.js → portfolio-common-CCGvaNdA.js} +1 -1
- package/runtime/assets/{portfolio-holdings-DSkAZALG.js → portfolio-holdings-Bxvf91Yo.js} +1 -1
- package/runtime/assets/portfolio-value-C6TFZyPZ.js +1 -0
- package/runtime/assets/price-chart-D4wf9Yju.js +1 -0
- package/runtime/assets/price-compare-B-mjV1jP.js +1 -0
- package/runtime/assets/price-liveline-K4S4XpSX.js +1 -0
- package/runtime/assets/{price-ticker-BXSeNYf9.js → price-ticker-BNDRtpS8.js} +1 -1
- package/runtime/assets/protocol-fees-treemap-vjLiXJ6x.js +1 -0
- package/runtime/assets/{protocol-tvl-chart-CEjUOIY5.js → protocol-tvl-chart-Dz8JtyuD.js} +1 -1
- package/runtime/assets/protocol-tvl-treemap-BrA0oXqV.js +1 -0
- package/runtime/assets/{quote-cehyepdm.js → quote-PcP5IX9V.js} +1 -1
- package/runtime/assets/{rates-board-Du4k0z1i.js → rates-board-BNAw2Iei.js} +1 -1
- package/runtime/assets/{returns-projector-DXnRFAES.js → returns-projector-BSTPBgMR.js} +1 -1
- package/runtime/assets/{risk-reward-DZWyCrbv.js → risk-reward-Dnp2JQr7.js} +1 -1
- package/runtime/assets/{rules-card-BXJjNTqj.js → rules-card-BNInaYxt.js} +1 -1
- package/runtime/assets/{session-progress-bA45Q3wk.js → session-progress-D1mhPWWM.js} +1 -1
- package/runtime/assets/{short-volume-C6cWknyR.js → short-volume-Dsm5jHLL.js} +1 -1
- package/runtime/assets/{snake-DYTa97hl.js → snake-CyxVfmbr.js} +1 -1
- package/runtime/assets/{spotify-embed-BaH6UHeG.js → spotify-embed-DcnZGDEz.js} +1 -1
- package/runtime/assets/{stopwatch-CS6n0bY9.js → stopwatch-ggIRtWfw.js} +1 -1
- package/runtime/assets/top-movers-CanKFls6.js +1 -0
- package/runtime/assets/{treasury-auctions-CGM8hAuU.js → treasury-auctions-BBHz7Mbe.js} +1 -1
- package/runtime/assets/treemap-leaf-DNIoJEK-.js +1 -0
- package/runtime/assets/tvl-treemap-D-LqgfI7.js +1 -0
- package/runtime/assets/{video-WCnvLwQ_.js → video-DqWW_aoH.js} +1 -1
- package/runtime/assets/{yield-curve-CpitTQ9L.js → yield-curve-Dpm8XDwi.js} +1 -1
- package/runtime/index.html +2 -2
- package/runtime/assets/dex-volume-chart-DDPf1YAN.js +0 -1
- package/runtime/assets/dex-volume-treemap-jZCgRREu.js +0 -1
- package/runtime/assets/editor-BlGZ_tel.js +0 -68
- package/runtime/assets/editor-CHAAJRb1.css +0 -1
- package/runtime/assets/funding-heatmap-DUoeFNGr.js +0 -1
- package/runtime/assets/fx-board-CmXYQZi4.js +0 -1
- package/runtime/assets/index-C_O7gp2F.js +0 -822
- package/runtime/assets/index-jnySFpSv.js +0 -1
- package/runtime/assets/inflation-pulse-gcw-84PM.js +0 -1
- package/runtime/assets/liveline-C5zt2WuS.js +0 -1
- package/runtime/assets/market-cap-treemap-CAi49oc_.js +0 -1
- package/runtime/assets/mini-line-chart-D-i1QqSe.js +0 -1
- package/runtime/assets/news-feed-CFWKKqrH.js +0 -1
- package/runtime/assets/note-_cGEXAru.js +0 -1
- package/runtime/assets/portfolio-value-BJw2csWV.js +0 -1
- package/runtime/assets/price-chart-khxI-9vJ.js +0 -1
- package/runtime/assets/price-compare-C-uEckke.js +0 -1
- package/runtime/assets/price-liveline-BDesEIbL.js +0 -1
- package/runtime/assets/protocol-fees-treemap-YtWbL1Kn.js +0 -1
- package/runtime/assets/protocol-tvl-treemap-b31QlpnS.js +0 -1
- package/runtime/assets/top-movers-CQNx9EH5.js +0 -1
- package/runtime/assets/treemap-leaf-DLQawrx4.js +0 -1
- package/runtime/assets/tvl-treemap-C3SUFzdj.js +0 -1
package/README.md
CHANGED
|
@@ -4,34 +4,44 @@ AI-personalizable, **keyless** market dashboards — served live from a single `
|
|
|
4
4
|
|
|
5
5
|
An agent reads the frame catalogue, emits a `dashboard.json` spec, and `zframes`
|
|
6
6
|
validates it and serves it as a live, in-browser-editable market terminal. All
|
|
7
|
-
data comes from free public APIs
|
|
8
|
-
|
|
7
|
+
data comes from free public APIs — Hyperliquid, CoinGecko, DeFiLlama, Deribit,
|
|
8
|
+
mempool.space, the U.S. Treasury, the NY Fed, BLS, SEC EDGAR, and more —
|
|
9
|
+
**no API keys, ever.**
|
|
9
10
|
|
|
10
11
|
## Quick start
|
|
11
12
|
|
|
12
13
|
```bash
|
|
13
|
-
# scaffold a bare, valid dashboard
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
#
|
|
18
|
-
|
|
14
|
+
# scaffold a bare, valid dashboard in your global store (envelope only —
|
|
15
|
+
# you fill in the frames). A named dashboard becomes the default if you have none.
|
|
16
|
+
npx zframes@latest init my-terminal --title "My Terminal"
|
|
17
|
+
|
|
18
|
+
# serve it live at http://127.0.0.1:37263 — a bare name resolves from the store,
|
|
19
|
+
# and no argument at all serves your default dashboard.
|
|
20
|
+
# Drag / resize / add / edit frames in the browser; Save writes back to the file.
|
|
21
|
+
npx zframes@latest serve my-terminal
|
|
19
22
|
```
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
A dashboard is one `dashboard.json`. Name one and it lives in your global store
|
|
25
|
+
(`$XDG_CONFIG_HOME/zframes`, default `~/.config/zframes`) so the CLI runs from
|
|
26
|
+
anywhere and holds many; or point any command straight at a file path
|
|
27
|
+
(`serve ./dashboard.json`) instead. Nothing to clone, install, or build — `npx`
|
|
28
|
+
fetches the CLI (which bundles the dashboard runtime) on each run.
|
|
23
29
|
|
|
24
30
|
## Commands
|
|
25
31
|
|
|
26
32
|
| Command | What it does |
|
|
27
33
|
|---|---|
|
|
28
|
-
| `zframes init [dir]` | Write a bare, schema-valid `dashboard.json` (the fixed envelope; you fill in `frames`). Flags: `--title`, `--author`, `--force`. |
|
|
29
|
-
| `zframes serve [file]` | Serve
|
|
34
|
+
| `zframes init [name\|dir]` | Write a bare, schema-valid `dashboard.json` (the fixed envelope; you fill in `frames`). A name lands in the store and becomes the default if you have none. Flags: `--title`, `--author`, `--default`, `--force`. |
|
|
35
|
+
| `zframes serve [name\|file]` | Serve a dashboard as a live, editable terminal at `127.0.0.1:37263` (`--port` to change). In-browser edits Save straight back to the file; switch store dashboards from the in-app header. |
|
|
36
|
+
| `zframes list` | List the dashboards in your global store (marks the default). |
|
|
37
|
+
| `zframes use <name>` | Set the default store dashboard. |
|
|
30
38
|
| `zframes catalogue` | Print every available frame as JSON Schema — this is what a generating agent reads. |
|
|
31
|
-
| `zframes lint <file>` | Validate a
|
|
32
|
-
| `zframes snapshot
|
|
39
|
+
| `zframes lint <name\|file>` | Validate a dashboard; exits non-zero with readable, per-frame errors. |
|
|
40
|
+
| `zframes snapshot [name\|file]` | Gather a keyless market snapshot for the dashboard's symbols (feeds the daily-brief loop). |
|
|
33
41
|
|
|
34
|
-
|
|
42
|
+
Any argument with a `/` or a `.json` suffix is a **file path**; a bare token is a
|
|
43
|
+
**store name**. Where the target is optional (`serve`, `snapshot`), it resolves
|
|
44
|
+
your default store dashboard, else `./dashboard.json`, else a sole store entry.
|
|
35
45
|
|
|
36
46
|
## How it works
|
|
37
47
|
|
|
@@ -43,10 +53,12 @@ never a crashed dashboard — so a generating agent gets a tight feedback loop v
|
|
|
43
53
|
|
|
44
54
|
## Scope
|
|
45
55
|
|
|
46
|
-
- **Keyless only** — Hyperliquid (crypto + HIP-3 stock
|
|
47
|
-
alternative.me,
|
|
56
|
+
- **Keyless only** — 15 free public sources: Hyperliquid (crypto + HIP-3 stock
|
|
57
|
+
perps), CoinGecko, Coinpaprika, alternative.me, DeFiLlama, mempool.space,
|
|
58
|
+
Deribit, the U.S. Treasury, the NY Fed, OFR, BLS, FINRA, SEC EDGAR, news RSS,
|
|
59
|
+
and ECB FX rates. No keys anywhere.
|
|
48
60
|
- **Stocks-first** — equity perps via Hyperliquid HIP-3 builder dexes, with
|
|
49
|
-
crypto alongside.
|
|
61
|
+
crypto, DeFi, derivatives, and official US macro data alongside.
|
|
50
62
|
|
|
51
63
|
## License
|
|
52
64
|
|