feat(quant,lenses,mcp): implement /quant/ time-series workbench, LENS_REGISTRY, TradingView launcher, and /api/v1/* REST + OpenAPI 3.1 adapter (v2.0.18)
This commit is contained in:
1 parent
5841ccea2c
commit
ee5f458c76
27 files changed
+31096
-30
No files matched your search
@@ -496,7 +496,7 @@ def build_financial_quant_harvest(
|
||||
payload: dict[str, Any] = {
|
||||
"$schema": "./schemas/v1/financial-aq-harvest.schema.json",
|
||||
"$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest",
|
||||
"version": "2.0.17",
|
||||
"version": "2.0.18",
|
||||
"target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"),
|
||||
"harvest_mode": harvest_mode,
|
||||
"regime_summary": {
|
||||
@@ -593,6 +593,10 @@ def main(argv: list[str] | None = None) -> int:
|
||||
d_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
d_path.write_text(synthesize_quant_dossier_markdown(payload), encoding="utf-8")
|
||||
|
||||
# Refresh the periodic time-series bundle (/quant/) whenever hs-quant-harvest runs
|
||||
from hyperstitionstud_io.quant.timeseries import build_quant_timeseries_bundle
|
||||
ts_bundle = build_quant_timeseries_bundle(write_files=True)
|
||||
|
||||
print(
|
||||
json.dumps(
|
||||
{
|
||||
@@ -603,6 +607,7 @@ def main(argv: list[str] | None = None) -> int:
|
||||
"news_wire_co_present_symbols": payload["regime_summary"]["news_wire_co_present_symbols"],
|
||||
"active_memetic_states": payload["regime_summary"]["active_memetic_states"],
|
||||
"dag_json_cidv1": info["cidv1"],
|
||||
"timeseries_cidv1": ts_bundle["ipld_dag_json_cidv1"]["/"],
|
||||
"isolation_all_unchanged": payload["isolation_receipt"]["all_unchanged"],
|
||||
},
|
||||
indent=2,
|
||||
|
||||
Reference in new issue
Block a user