Wait for a `one_shot` deploy to finish and return its final result.
`one_shot` returns a job_token immediately and the LIVE CARD already streams
progress and renders the interactive backtest chart itself. Call this ONCE with
the token to get the final numbers as TEXT so you can summarize them — it does
NOT render another card (no need for get_model_chart). It BLOCKS until the deploy
finishes (or ~2.5 min); on timeout it returns ok:false + pending:true — call it
again with the same token.
IMPORTANT: if `source == "community"`, the deploy used a PRE-EXISTING strategy by
`@author` — tell the user that, share the `live_url` as the Live dashboard link,
and ask whether they'd like to GENERATE A CUSTOM strategy instead. Use the
`note` field as your guide.
Args:
job_token: the token returned by `one_shot`.
Returns:
dict with: ok, stem, model, live_url, symbol, timeframe, channels (list),
stats:{ret, wr, pf, n, mdd} (out-of-sample test-split metrics — SHOW THESE),
source ("community" | "generated"), author (community username if any),
author_url + strategy_url (render @author and "pre-existing strategy" as those
Markdown links), community_id, suggest_custom (bool), and note (a ready
instruction — follow it). On failure: {ok:false, error} (or {pending:true}).
Connector