Repository navigation
xbbg 1.2.5
Added
@xbbg/langgraphnpm package: Added a publishable LangChain/LangGraph tools package backed by@xbbg/core, with lazy Bloomberg engine loading, bounded JSON tool outputs, request tools forbdp/bdh/bds/bdib/bdtick/bql/bsrch/bqr/bflds, groupedxbbg.exthelper tools, detailed Bloomberg agent prompt guidance, unit tests with injected fake engines, and npm/GitHub release workflow integration.@xbbg/langgraphtool surface expansion: Added finite request/recipe tools for BEQS, YAS, preferreds, corporate bonds, index members, ISIN resolution, issuer ISIN workflows, and ETF holdings. Added bounded streaming snapshot tools for market data, market bars, and market depth that cap updates/timeouts and always unsubscribe instead of exposing open-ended subscriptions.@xbbg/coreCDX field bundles exposed: Exported the sharedCDX_INFO_FIELDS,CDX_PRICING_FIELDS, andCDX_RISK_FIELDSfield lists so JavaScript and LangGraph CDX helpers can use the same canonical Bloomberg field sets.
Changed
@xbbg/langgraphoutput contract: LangChain tools now useresponseFormat: "content_and_artifact"so agents receive compact model-facing summaries while applications can read the bounded structured envelope fromToolMessage.artifact.- Request planning and adapter normalization hardened: Rust request planning now finalizes immutable prepared requests only after field-cache and intraday datetime preparation, validates operation/extractor compatibility in one place, and keeps raw/custom/generic escape hatches. NAPI, PyO3, and MCP request adapters now build through the shared
RequestParamsInputboundary so raw operation defaults and extractor parsing stay consistent across surfaces. - Python request dispatch and backend conversion centralized: Request middleware now mutates canonical request parameters until dispatch, materializes request dictionaries only at the terminal boundary, and routes Arrow-like middleware/backend results through the same backend conversion helpers as normal Bloomberg responses.
@xbbg/corenative package validation made descriptor-driven: Native package validation now derives expected binary names, OS/CPU metadata, and packaged files from the source platform descriptor table instead of reverse-engineering package manifests.@xbbg/langgraphextension internals split into bounded registries: Extension schemas and CDX field bundles moved out ofext-tools.ts, input schemas now honor normalized package limits, and extension tool creation is driven by a single registry that also exportsBLOOMBERG_EXT_TOOL_NAMES.
Fixed
- JavaScript lint and packaging hygiene: Cleaned
js-xbbgTypeScript/Oxlint findings in native package scripts, native platform metadata, and smoke tests so the core JS lint suite passes alongside the new LangGraph package quality checks. @xbbg/langgraphresult limiting handles pathological structures:limitResultnow detects cycles and caps recursion depth so tool artifact bounding cannot overflow on cyclic or deeply nested values.
Full Changelog: v1.2.4...v1.2.5