Release v2.17.0: Document command-line Ticker Stats Card examples across CLI, Chatbot REST API, and MCP clients in active operating manuals
This commit is contained in:
1 parent
6c8a5bdaae
commit
d3240b3bd1
10 files changed
+112
-10
No files matched your search
@@ -323,6 +323,10 @@ ENGINEERING_SUBPAGE_SPECS: dict[str, dict[str, Any]] = {
|
||||
"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)",
|
||||
"body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...').",
|
||||
},
|
||||
{
|
||||
"heading": "3. Command-Line Usage Examples: CLI (hs-ticker-card), Chatbot REST Client (/api/v1/tools/*) & MCP Client (/mcp)",
|
||||
"body": "Command-line invocations across all three client interfaces: (1) CLI: hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards; (2) Chatbot REST API Client: curl -sS 'https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false' | jq . (or POST JSON '{\"symbol\":\"NVDA\",\"lens\":\"tierzoo_ecology\",\"include_base64_png\":true}' to /api/v1/tools/hs_generate_ticker_stats_card, or GET /api/v1/zoology/pokedex/NVDA?include_card=true); (3) MCP JSON-RPC 2.0 Client: curl -sS -X POST 'https://hyperstitionstud.io/mcp' -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":1," + '"method":"tools/call","params":{"name":"hs_generate_ticker_stats_card","arguments":{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}\' | jq .',
|
||||
},
|
||||
],
|
||||
},
|
||||
"cicd-vps-tmpfs-and-regression": {
|
||||
|
||||
@@ -222,6 +222,19 @@ python3 hyperstitionstudio-core/tests/test_core_suite.py
|
||||
- `/` (Portal Home), `/learn/` (6-Module Interactive Track), `/quant/` (3-Pane Closing-Bell & FRED Macro Time-Series + 25-Scene Guided Tour), `/engineering/` (`E0-E5` Software Engineering Hub), `/math/` (`M0-M5` Applied Mathematics Hub), and `/donate/` (Signal Patronage).
|
||||
4. **4,943-Entry Offline `CMUdict` Phonetics Lookup (`cmudict_fallback.json`):**
|
||||
- Translates `Gen 0` English tokens to `Gen 1` Ingglish 100% offline with zero network calls.
|
||||
5. **One-Shot `900×1260` Ticker Stats Cards (`.png` + `.json`) via CLI, Chatbot REST API & MCP:**
|
||||
```bash
|
||||
# (a) Direct CLI entrypoint (writes /tmp/hyperstition-cards/NVDA-stats-card.{{png,json}}):
|
||||
hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards
|
||||
|
||||
# (b) Chatbot OpenAPI 3.1 REST API client (GET or POST /api/v1/tools/hs_generate_ticker_stats_card):
|
||||
curl -sS "https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false" | jq .
|
||||
curl -sS "https://hyperstitionstud.io/api/v1/zoology/pokedex/NVDA?include_card=true" | jq '.data.stats_card.card_identity'
|
||||
|
||||
# (c) MCP JSON-RPC 2.0 client (Streamable HTTP POST /mcp or hs-mcp --transport stdio):
|
||||
curl -sS -X POST "https://hyperstitionstud.io/mcp" -H "Content-Type: application/json" \\
|
||||
-d '{{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{{"name":"hs_generate_ticker_stats_card","arguments":{{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}}}}' | jq .
|
||||
```
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user