idx-cli/web
0xrsydn 9b46161566 fix(mcp): hand a call's warnings to the agent
idx-core reports what it works around (history falling back to yahoo when
Stockbit refuses the session, a stale cache served after a failed fetch, a
movements query cut short) as warnings on stderr. An agent never reads
idx-mcp's stderr, so it saw `source: "yahoo"` or `stale: true` with no reason.

- Each tool call collects its warnings with runtime::on_warning and returns
  them as `warnings` on the answer or the error, when there are any.
- The stale-cache warning names the failure behind it.
- The mock's session API 403 is the real session API's block message; the
  public page's block names IDX_PROVIDER=msn as well as `--provider msn`.

Goldens: error-intraday-blocked (json, table) carry the reworded block hint.

Claude-Session: https://claude.ai/code/session_01RqPPVeVDrnLoP7NUZmLRxY
2026-11-04 19:26:10 +07:00
..
public feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00
scripts feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00
src fix(mcp): hand a call's warnings to the agent 2026-11-04 19:26:10 +07:00
.gitignore feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00
astro.config.mjs docs(web): Stockbit intraday on the quickstart, landing page and agent notes 2026-10-23 07:15:24 +00:00
bun.lock feat(web): Open Graph images for the landing page and docs pages 2026-10-15 06:32:14 +00:00
DESIGN.md feat(web): Open Graph images for the landing page and docs pages 2026-10-15 06:32:14 +00:00
package.json feat(web): Open Graph images for the landing page and docs pages 2026-10-15 06:32:14 +00:00
tsconfig.json feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00