idx-cli/docs
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
..
ARCHITECTURE.md Merge branch 'feat/stockbit-corpaction' into feat/stockbit-movements 2026-11-04 19:23:53 +07:00
CONVENTIONS.md refactor(core): compile the mock provider only with a testing feature 2026-10-14 09:31:12 +00:00
DESIGN.md fix(mcp): hand a call's warnings to the agent 2026-11-04 19:26:10 +07:00
IDX_NEWS.md docs: news sources research: one publisher, Google News, greencloud test 2026-10-16 09:54:30 +00:00
INSTALL.md chore: release 0.4.0 2026-10-19 10:50:06 +00:00
NPM_DISTRIBUTION.md chore: release 0.4.0 2026-10-19 10:50:06 +00:00
OWNERSHIP_PUBLISH.md fix(ownership): update syncs when a same-date snapshot is rebuilt 2026-10-14 18:52:13 +00:00
OWNERSHIP_SYNC.md fix(sync): atomic install, stored-row validation, no local artifacts from remote manifests 2026-10-17 12:23:58 +00:00
SMOKE.md test(smoke): live case for ownership movements with a Stockbit session 2026-11-03 16:02:26 +07:00
STOCKBIT.md feat: shareholder movements from the Stockbit session (ownership movements) 2026-11-03 16:02:26 +07:00