mostlyright 1.1.3 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # mostlyright
2
2
 
3
- **The public data SDK for quants and AI agents.**
3
+ **The public-data SDK for quants, ML pipelines, and AI agents.**
4
4
 
5
- `mostlyright` is the convenience meta-package for the TypeScript SDK. A single `import { research } from "mostlyright"` re-exports the surfaces of `@mostlyrightmd/core`, `@mostlyrightmd/weather`, and `@mostlyrightmd/markets` — weather observations, prediction-market resolvers, and the core join. Direct calls to public APIs. No hosted backend, no API key.
5
+ `mostlyright` is the convenience meta-package for the TypeScript SDK. A single `import { research } from "mostlyright"` re-exports the surfaces of `@mostlyrightmd/core`, `@mostlyrightmd/weather`, and `@mostlyrightmd/markets` — weather data (METAR, ASOS, GHCNh, NWS CLI), prediction-market settlements (Kalshi NHIGH/NLOW, Polymarket), and the core `research()` join. Direct calls to public APIs. No hosted backend, no API key.
6
6
 
7
- Weather + prediction-markets data are live today. SEC filings (EDGAR) and Federal Reserve economic data (FRED) are next.
7
+ Weather + prediction-markets adapters are live today. SEC filings (EDGAR), equities structured data, Federal Reserve series (FRED), court filings, and FDA approvals are next — and the architecture is built to ship an adapter for any public data source.
8
8
 
9
9
  If you only need one slice of the SDK, depend on the scoped packages directly. If you want everything in one import, this is the package.
10
10
 
@@ -27,3 +27,19 @@ console.log(rows[0]);
27
27
  ## Documentation
28
28
 
29
29
  Quickstart, concepts, and the full API reference live at <https://mostlyright.md/docs/sdk/>.
30
+
31
+ ## TypeScript SDK limitations vs Python
32
+
33
+ A few surfaces ship as **typed stubs** in v1.x because their Python implementations depend on native libraries that aren't viable in browser/Node bundles today:
34
+
35
+ | TS Function | Status | Use Python? | Workaround in TS |
36
+ |---|---|---|---|
37
+ | `research()` | ✅ Wired | optional | — |
38
+ | `iemMosForecasts()` | ✅ Wired | optional | — |
39
+ | `obs()` / `dailyExtremes()` | ✅ Wired | optional | — |
40
+ | `forecastNwp()` | ⏳ v2.0+ stub | **yes** for gridded NWP | `iemMosForecasts()` for the 7 major US stations |
41
+ | `climateGaps()` | ⏳ v2.0+ stub | **yes** for climate-gap analysis | — |
42
+
43
+ Stub calls throw typed errors (`NwpNotAvailableError`, `DataAvailabilityError`) so you can `instanceof`-dispatch instead of parsing messages.
44
+
45
+ For the rationale and roadmap, see [docs/nwp-forecasts.md](https://github.com/mostlyrightmd/mostlyright-sdk/blob/main/docs/nwp-forecasts.md) and [docs/climate-gaps.md](https://github.com/mostlyrightmd/mostlyright-sdk/blob/main/docs/climate-gaps.md).