v0.11.1-alpha.2
Changes since v0.11.1-alpha.0
Breaking Changes & Migration
Changes since v0.11.1-alpha.0
Breaking Changes & Migration
- Script API moves to v2:
scriptVersion: 2indefineIndicatorbecomesversion: 2; the old field is rejected at registration. Agent script tools and the per-origin SharedWorker host move with it. Migration: renamescriptVersiontoversionin every indicator script and update implementations to the v2 contract. (#396, 9b056b6d) - Drawing label targets are named: the exported
DrawingLabelIndextype becomesDrawingLabelTarget; labels are no longer located by index. Migration: update imports and field types, and pass named targets. (678b3082) - Main price-axis settings removed, layout document bumped: the public
mainPriceAxisRangeModeandmainPriceAxisPriceOnlysettings are gone; range mode is now per-axis state. The layout document moves to v4 and older documents are discarded under the existing alpha policy. Migration: stop passing those settings, use the price-axis context menu oraxes.setRangeMode, and re-save existing layouts. (#402, #399)
Features
- Third price-axis mode: fixed K-line share fits the axis to visible bars with the candles occupying about 70% of the pane; out-of-range plots still render and are clipped at the pane edge. "Scale price chart only" is also available; the default remains the all-sources mode. (#402)
- Agent can author indicator scripts: the Agent can create and edit indicator scripts, load the scripting DSL and API reference on demand, and route validation and activation through one registration pipeline. (#396, 0e2672c6)
- Chart interaction: object tree with unified pane axes, crosshair lock, drawing context menu, indicator removal and trading-day separators. (#380, #379, #385)
- Themes and UI: light theme, brand-green icons, unified dark surfaces and menu contracts. (#381, #383, 1eedf70c)
- Desktop: unified macOS 13+ packaging. (#373)
Agent Architecture
- Per-origin runtime isolation: the Agent runtime moves into a SharedWorker host per origin and provider settings converge on a host-owned API, fixing the AI panel being unusable when several charts on one page fight over the exclusive lock. (6e4dc2ec, 50d0ee68, #396, #382)
- Official Pi records as the session source: the panel renders official transcript entries directly, with native run continuation, Plan/Build switching and an
ask_usercard. (bbb980db, #387) - Rebuilt tool surface and drawing anchors: a declarative tool catalog, unified instrument routing and tool contracts, persistence of disabled tools only, and stable tool sets and prompts across modes. (0e55c108, c7a72f68, 9cd9dd85, 834e2679, #389)
- Web search: search now runs over the Exa MCP channel. (523f5006)
Fixes
- Pass through unknown fields on status frames. (#392)
- Anchor VWAP to market sessions and skip missing volume. (#378)
immutableMapnow returns a realMap; incremental indicator recomputation no longer stays in loading. (d83bc483, d8ff63d8)- Commit axis views through the coordinator; fix selector row alignment and label truncation. (833943c1, 95baa559)
Architecture & Refactoring
- Removed dead script code and duplicate calculation paths; deduplicated Vue formatters, symbol specs and overlays. (#395, #393, #394)
- Unified UI component contracts, overlay positioning and native font roles. (#390, #384)
- Reused rendering geometry and time ticks per frame; derived reactive values on read. (1e7009b1, fe37e083)