@dforge-core/dforge-mcp 0.1.2 → 0.1.3

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/CHANGELOG.md CHANGED
@@ -4,6 +4,33 @@ All notable changes to `@dforge-core/dforge-mcp`. This project uses semver-ish
4
4
  `0.1.0-rc.N` pre-release tags; the published version is set at publish time via
5
5
  the release workflow, so committed `package.json` versions are placeholders.
6
6
 
7
+ ## 0.1.3
8
+
9
+ ### Added
10
+ - **Cross-source report metrics & charts (schema).** `reports.schema.json` now
11
+ lists `kpi` as a `vizType` (was `metric`) and documents the two config shapes
12
+ module authors can now write:
13
+ - **Formula KPI metrics** — a metric can be `{ formula, inputs: [{ alias, column,
14
+ agg, source? }], format? }` instead of a single `{ column, agg }`, for ratios /
15
+ derived numbers / win-rate percentages. `format` Auto (omit `style`) inherits the
16
+ first input column's own formatter.
17
+ - **Cross-source inputs & overlay series** — a formula input (`inputs[].source`) or
18
+ a chart overlay series (`config.series`, a single object or array of `{ source?,
19
+ categoryCol, valueCol, agg, label? }`) can aggregate over a **sibling dataset** by
20
+ its code (omit = the panel's own). Chart overlays share one category axis
21
+ (outer-joined; bar fills 0, line/area gaps with null).
22
+
23
+ ### Skill
24
+ - `dforge-mcp-author`: **reconciled `references/reports.md` to the real report
25
+ format.** Corrected long-standing drift — `layout` is `{ panels: [...] }` (not a
26
+ bare array); chart panels are `vizType: "chart"` with the kind in
27
+ `config.chartType` (not `vizType: "bar"`); datasets use `datasetType` + nested
28
+ `query.entityCd`/`columns` (not top-level `entityCode`/`groupBy`/`aggregations`,
29
+ which don't exist — aggregation is viz-side); SP datasets use `spCd` (+ multi-set
30
+ via `parentDatasetCd`/`parentRef`), not `sp`/`spCursor`; KPI is
31
+ `config.metrics: [...]` (not `{ valueCol, format }`). Added the formula-KPI,
32
+ cross-dataset-KPI, and chart-overlay sections.
33
+
7
34
  ## 0.1.2
8
35
 
9
36
  ### Fixed