semiotic 3.13.0 → 3.13.1
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 +53 -41
- package/ai/artifact-surface-inventory.json +1 -1
- package/ai/dist/mcp-server.js +132 -106
- package/ai/reference.md +12 -4
- package/ai/schema.json +16 -2
- package/ai/surface-manifest.json +1 -1
- package/ai/task-packets/compare-category-totals.json +5 -5
- package/ai/task-packets/compare-category-totals.md +2 -2
- package/ai/task-packets/correct-published-chart.json +5 -5
- package/ai/task-packets/correct-published-chart.md +2 -2
- package/ai/task-packets/index.json +6 -6
- package/ai/task-packets/update-live-chart.json +5 -5
- package/ai/task-packets/update-live-chart.md +2 -2
- package/dist/{c-CRKR5M42.min.js → c-2M2OPWVA.min.js} +37 -37
- package/dist/c-3GIPT46Z.min.js +1 -0
- package/dist/c-3UXQGCQT.min.js +1 -0
- package/dist/{c-MHNU6KYQ.min.js → c-4P2EM44G.min.js} +3 -3
- package/dist/c-4RVDKSMQ.min.js +1 -0
- package/dist/{c-6MEEA5VY.min.js → c-4YPPVFZH.min.js} +1 -1
- package/dist/{c-6MPP6QF5.min.js → c-62JIVHK5.min.js} +1 -1
- package/dist/{c-KYRH3XKJ.min.js → c-6QCSRJSC.min.js} +1 -1
- package/dist/c-6WJKNYIG.min.js +1 -0
- package/dist/c-7BVQDXFU.min.js +1 -0
- package/dist/c-7UN2WUMI.min.js +1 -0
- package/dist/c-AQUX6L2O.min.js +1 -0
- package/dist/c-BR5QDUCR.min.js +1 -0
- package/dist/c-C3YQVUB6.min.js +1 -0
- package/dist/{c-RQ2XZHWY.min.js → c-COP4OISO.min.js} +1 -1
- package/dist/c-ENRZPF5E.min.js +1 -0
- package/dist/c-HBLICBM6.min.js +1 -0
- package/dist/{c-EQVM754Z.min.js → c-HGWITEJI.min.js} +1 -1
- package/dist/{c-3K2FJDLE.min.js → c-I54V24WG.min.js} +1 -1
- package/dist/c-IDCFMBA4.min.js +2 -0
- package/dist/{c-TPL7X32J.min.js → c-ISHYKYII.min.js} +1 -1
- package/dist/c-KSSS3HSA.min.js +1 -0
- package/dist/c-LEICSI5V.min.js +1 -0
- package/dist/c-LJ4XY3Z3.min.js +1 -0
- package/dist/c-MBE6PPHN.min.js +1 -0
- package/dist/c-MOK4RWNO.min.js +1 -0
- package/dist/c-N2TVSOYL.min.js +2 -0
- package/dist/{c-EAAKQIUZ.min.js → c-NHZ2E3CI.min.js} +1 -1
- package/dist/{c-MDY3ULP6.min.js → c-OBA7XSLH.min.js} +1 -1
- package/dist/c-OIJL2WZH.min.js +1 -0
- package/dist/c-ONOWKUUZ.min.js +1 -0
- package/dist/{c-CPJR4LHF.min.js → c-OSLNYZ3Q.min.js} +17 -17
- package/dist/c-PBFRYNKM.min.js +1 -0
- package/dist/c-QUAEYF34.min.js +1 -0
- package/dist/c-RDFFLRKC.min.js +1 -0
- package/dist/c-SDGGMIYI.min.js +1 -0
- package/dist/c-SQQZPFVY.min.js +1 -0
- package/dist/c-SU6Z75M2.min.js +1 -0
- package/dist/{c-BWM7MU2Y.min.js → c-SX4TPG3Z.min.js} +1 -1
- package/dist/{c-DTYG34WG.min.js → c-VGHU2LTF.min.js} +2 -2
- package/dist/c-VLWWXOM5.min.js +1 -0
- package/dist/c-VZNIIKL6.min.js +1 -0
- package/dist/{c-GBO32OML.min.js → c-W5ATXREF.min.js} +1 -1
- package/dist/c-WSWMQDFZ.min.js +1 -0
- package/dist/{c-3SDC7AQQ.min.js → c-XM76UG3P.min.js} +1 -1
- package/dist/c-XORVM6C5.min.js +1 -0
- package/dist/{c-MYRI7NF2.min.js → c-XZJWL7UL.min.js} +1 -1
- package/dist/c-Y43GTKGR.min.js +1 -0
- package/dist/c-YGTMWEEF.min.js +1 -0
- package/dist/c-ZFIURPZA.min.js +1 -0
- package/dist/c-ZWJDTDEV.min.js +1 -0
- package/dist/c-ZYMXDR42.min.js +1 -0
- package/dist/components/ai/chartClinic.d.ts +4 -0
- package/dist/components/ai/evaluateChart.d.ts +3 -1
- package/dist/components/ai/generativeChart.d.ts +13 -0
- package/dist/components/ai/renderEvidenceMemoKey.d.ts +9 -0
- package/dist/components/ai/reportRenderError.d.ts +2 -0
- package/dist/components/charts/physics/eventDropSources.d.ts +1 -1
- package/dist/components/evidence/claimReferences.d.ts +9 -0
- package/dist/components/realtime/BinAccumulator.d.ts +5 -0
- package/dist/components/recipes/atlas/dependencyEvidence.d.ts +5 -0
- package/dist/components/recipes/atlas/support.d.ts +5 -0
- package/dist/components/server/staticXYAxisTicks.d.ts +1 -1
- package/dist/components/stream/MarginalGraphics.d.ts +4 -2
- package/dist/components/stream/PipelineStore.d.ts +6 -18
- package/dist/components/stream/axisTickUtils.d.ts +1 -1
- package/dist/components/stream/countNoun.d.ts +2 -0
- package/dist/components/stream/heatmapBandTicks.d.ts +68 -0
- package/dist/components/stream/pipelineDomainResolution.d.ts +52 -3
- package/dist/components/stream/renderers/canvasRenderHelpers.d.ts +8 -0
- package/dist/components/stream/uniqueRegionLabel.d.ts +6 -0
- package/dist/components/stream/xyAxisTicks.d.ts +8 -1
- package/dist/components/stream/xyFrameAxisTypes.d.ts +4 -2
- package/dist/components/stream/xySceneBuilders/types.d.ts +6 -0
- package/dist/geo.min.js +152 -152
- package/dist/geo.module.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/physicsWorker.js +1 -1
- package/dist/processSankeyLayoutWorker.js +1 -1
- package/dist/semiotic-access.module.min.js +2 -2
- package/dist/semiotic-ai-core.min.js +5 -5
- package/dist/semiotic-ai-core.module.min.js +4 -4
- package/dist/semiotic-ai.module.min.js +2 -2
- package/dist/semiotic-artifact.min.js +6 -6
- package/dist/semiotic-artifact.module.min.js +2 -2
- package/dist/semiotic-atlas-core.min.js +1 -1
- package/dist/semiotic-atlas-core.module.min.js +1 -1
- package/dist/semiotic-atlas-selection.module.min.js +1 -1
- package/dist/semiotic-client-cjs-shared.min.js +1023 -1023
- package/dist/semiotic-evidence.min.js +4 -4
- package/dist/semiotic-evidence.module.min.js +3 -3
- package/dist/semiotic-experimental-auxiliary.module.min.js +1 -1
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +1 -1
- package/dist/semiotic-experimental-react-shared.module.min.js +1 -1
- package/dist/semiotic-experimental-vacp.min.js +1 -1
- package/dist/semiotic-experimental-vacp.module.min.js +1 -1
- package/dist/semiotic-line.module.min.js +1 -1
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-recipes-core-cjs-base.min.js +101 -101
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-server-edge-node.module.min.js +3 -3
- package/dist/semiotic-server-edge.min.js +397 -397
- package/dist/semiotic-server-edge.module.min.js +3 -3
- package/dist/semiotic-server-node.min.js +397 -397
- package/dist/semiotic-utils-core.min.js +11 -11
- package/dist/semiotic-utils-core.module.min.js +3 -3
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +397 -397
- package/dist/server.module.min.js +3 -3
- package/dist/xy.module.min.js +1 -1
- package/package.json +2 -2
- package/dist/c-3OBJLOXI.min.js +0 -1
- package/dist/c-4VFGNUWG.min.js +0 -1
- package/dist/c-5BN7GWJH.min.js +0 -1
- package/dist/c-65GMYND6.min.js +0 -1
- package/dist/c-AGRMJIUH.min.js +0 -1
- package/dist/c-BJKGYOPX.min.js +0 -1
- package/dist/c-C332PFY6.min.js +0 -1
- package/dist/c-DDZ5TZ7P.min.js +0 -1
- package/dist/c-F4DZ3NMI.min.js +0 -1
- package/dist/c-GZJ2XEQ5.min.js +0 -1
- package/dist/c-HFQ3Z65X.min.js +0 -1
- package/dist/c-HNW73MXJ.min.js +0 -1
- package/dist/c-HWFZB7SD.min.js +0 -1
- package/dist/c-IIV4DB7T.min.js +0 -1
- package/dist/c-J2QH3PEI.min.js +0 -1
- package/dist/c-JZNWRFVJ.min.js +0 -2
- package/dist/c-KHLBCSIO.min.js +0 -1
- package/dist/c-L7FQHKGH.min.js +0 -1
- package/dist/c-LYPOBMKC.min.js +0 -1
- package/dist/c-NGMMPKNJ.min.js +0 -1
- package/dist/c-NOME4L5M.min.js +0 -1
- package/dist/c-OKIJBK5K.min.js +0 -2
- package/dist/c-OXV4W7YX.min.js +0 -1
- package/dist/c-P73SQZEP.min.js +0 -1
- package/dist/c-PD5EZI24.min.js +0 -1
- package/dist/c-RAL7HCTV.min.js +0 -1
- package/dist/c-S4OGXAVO.min.js +0 -1
- package/dist/c-UWE3VZEO.min.js +0 -1
- package/dist/c-VP7WX6QI.min.js +0 -1
- package/dist/c-VW7ZSLDC.min.js +0 -1
- package/dist/c-WDVYLMCM.min.js +0 -1
- package/dist/c-XEACLH4B.min.js +0 -1
- package/dist/c-YJDGSPNB.min.js +0 -1
- package/dist/c-ZYBEKQCT.min.js +0 -1
package/README.md
CHANGED
|
@@ -26,18 +26,16 @@ evidence scope; source availability does not establish installed or deployed par
|
|
|
26
26
|
<img src="./docs/public/assets/img/semiotic-release-dashboard.svg" alt="Semiotic release dashboard showing chart count, bundle sizes, capability coverage, chart families, and documentation growth" width="100%">
|
|
27
27
|
<!-- semiotic-readme-dashboard:end -->
|
|
28
28
|
|
|
29
|
-
## What's New in 3.13.
|
|
29
|
+
## What's New in 3.13.1
|
|
30
30
|
|
|
31
|
-
3.13.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
node navigation remains the default.
|
|
31
|
+
3.13.1 hardens MCP execution, cancellation, response limits, and widget SVG/CSS
|
|
32
|
+
sanitization. Render evidence follows the displayed artifact, publication
|
|
33
|
+
claims resolve their evidence references, and Atlas queries cite the relevant
|
|
34
|
+
paths and traces while preserving ledger uncertainty. Histogram keyboard focus
|
|
35
|
+
survives data and linked-selection updates. The release also corrects chart
|
|
36
|
+
paint, scale-domain, heatmap, and accessible-summary behavior.
|
|
38
37
|
|
|
39
|
-
See [the changelog](CHANGELOG.md#
|
|
40
|
-
MCP HTTP origin/host security changes.
|
|
38
|
+
See [the changelog](CHANGELOG.md#3131) for the complete fixes and additions.
|
|
41
39
|
|
|
42
40
|
## Why Semiotic
|
|
43
41
|
|
|
@@ -401,27 +399,27 @@ The numbers below are **first-party artifact cost**: the gzip size of Semiotic's
|
|
|
401
399
|
|
|
402
400
|
| Entry Point | gzip | What's inside |
|
|
403
401
|
|---|---|---|
|
|
404
|
-
| `semiotic/atlas` | **
|
|
402
|
+
| `semiotic/atlas` | **321 KB** | Motif Braid, Dependency Forest, and Flow Circuit readers |
|
|
405
403
|
| `semiotic/atlas/core` | **15 KB** | Network Atlas preparation, projections, and evidence queries |
|
|
406
404
|
| `semiotic/access` | **31 KB** | Chart Access Contract factory and first-wave baseline contracts |
|
|
407
|
-
| `semiotic/evidence` | **
|
|
405
|
+
| `semiotic/evidence` | **47 KB** | Chart Evidence Envelope, deterministic hashing, and publication gate |
|
|
408
406
|
| `semiotic/artifact` | **125 KB** | Renderer-independent contracts, claims, time, policy, grounding, and transfer audits |
|
|
409
407
|
| `semiotic/artifact/react` | **4 KB** | Accessible progressive disclosure for artifact contracts and policy evaluations |
|
|
410
|
-
| `semiotic/line` | **
|
|
411
|
-
| `semiotic/xy` | **
|
|
412
|
-
| `semiotic/ordinal` | **
|
|
413
|
-
| `semiotic/network` | **
|
|
414
|
-
| `semiotic/network/zoom` | **
|
|
408
|
+
| `semiotic/line` | **145 KB** | LineChart only — one-chart micro boundary |
|
|
409
|
+
| `semiotic/xy` | **182 KB** | LineChart, AreaChart, Scatterplot, Heatmap, + 8 more XY charts |
|
|
410
|
+
| `semiotic/ordinal` | **133 KB** | BarChart, PieChart, BoxPlot, Histogram, + 11 more categorical charts |
|
|
411
|
+
| `semiotic/network` | **180 KB** | ForceDirectedGraph, SankeyDiagram, ProcessSankey, Treemap, + 4 more |
|
|
412
|
+
| `semiotic/network/zoom` | **189 KB** | Optional virtual network viewport, camera controls and consumer-owned LOD |
|
|
415
413
|
| `semiotic/network/perspective` | **2 KB** | Isometric pictograms and an accessible perspective toggle (the prop ships in ./network) |
|
|
416
414
|
| `semiotic/network/perspective/core` | **3 KB** | Projection sizing, resolution, and SVG placement helpers |
|
|
417
415
|
| `semiotic/vite` | **1 KB** | Build plugin for unused Semiotic worker assets |
|
|
418
|
-
| `semiotic/geo` | **
|
|
419
|
-
| `semiotic/realtime` | **
|
|
420
|
-
| `semiotic/realtime/core` | **
|
|
416
|
+
| `semiotic/geo` | **111 KB** | ChoroplethMap, FlowMap, DistanceCartogram, ProportionalSymbolMap |
|
|
417
|
+
| `semiotic/realtime` | **215 KB** | RealtimeLineChart, RealtimeHistogram, + 4 streaming charts |
|
|
418
|
+
| `semiotic/realtime/core` | **213 KB** | Streaming chart types, HOCs, and buffer helpers |
|
|
421
419
|
| `semiotic/realtime/react` | **2 KB** | Stream status and synced push hooks |
|
|
422
|
-
| `semiotic/server` | **
|
|
423
|
-
| `semiotic/server/node` | **
|
|
424
|
-
| `semiotic/server/edge` | **
|
|
420
|
+
| `semiotic/server` | **278 KB** | renderChart, renderDashboard, renderToImage, renderToAnimatedGif |
|
|
421
|
+
| `semiotic/server/node` | **279 KB** | renderChart, renderDashboard, renderToImage, renderToAnimatedGif |
|
|
422
|
+
| `semiotic/server/edge` | **284 KB** | renderChart, renderChartWithEvidence, renderToStaticSVG, renderDashboard |
|
|
425
423
|
| `semiotic/utils` | **112 KB** | ThemeProvider, numeric/accessibility audits, serialization — no chart components |
|
|
426
424
|
| `semiotic/utils/core` | **102 KB** | Pure theme helpers, numeric/accessibility audits, and serialization |
|
|
427
425
|
| `semiotic/utils/react` | **10 KB** | ThemeProvider, useTheme, useReducedMotion, useHighContrast, useStreamStatus |
|
|
@@ -433,15 +431,15 @@ The numbers below are **first-party artifact cost**: the gzip size of Semiotic's
|
|
|
433
431
|
| `semiotic/themes/react` | **9 KB** | ThemeProvider/useTheme and hooks |
|
|
434
432
|
| `semiotic/data` | **5 KB** | bin, rollup, groupBy, pivot, fromVegaLite |
|
|
435
433
|
| `semiotic/value` | **6 KB** | BigNumber — focal-value KPI / scorecard (SingleValueFrame POC) |
|
|
436
|
-
| `semiotic/physics` | **
|
|
434
|
+
| `semiotic/physics` | **188 KB** | GaltonBoardChart, EventDropChart, UnitPileChart, CollisionSwarmChart, PacketFlowChart, PhysicsCustomChart |
|
|
437
435
|
| `semiotic/physics/matter` | **1 KB** | Matter.js migration helpers + optional peer guard (no chart components) |
|
|
438
436
|
| `semiotic/physics/rapier` | **1 KB** | Rapier peer guard + adapter decision metadata (no chart components) |
|
|
439
|
-
| `semiotic/ai` | **
|
|
437
|
+
| `semiotic/ai` | **667 KB** | All schema-backed charts + validation — optimized for LLM code generation |
|
|
440
438
|
| `semiotic/ai/core` | **143 KB** | suggestCharts, auditData, describeChart, repairChartConfig, tool adapters — no chart components |
|
|
441
439
|
| `semiotic/controls` | **19 KB** | DirectManipulationControl, CircularBrush, LinearBrush, MobileStandardControls, auditVisualizationControls — no frame renderer |
|
|
442
440
|
| `semiotic/rough` | **3 KB** | Optional deterministic Rough.js paint backend — exact Semiotic geometry remains authoritative |
|
|
443
441
|
| `semiotic/text` | **2 KB** | Optional Pretext annotation hook — peer package excluded |
|
|
444
|
-
| `semiotic` | **
|
|
442
|
+
| `semiotic` | **429 KB** | Full chart API and shared utilities |
|
|
445
443
|
|
|
446
444
|
<!-- semiotic-bundle-sizes:end -->
|
|
447
445
|
|
|
@@ -466,24 +464,24 @@ Method: fresh `npm pack --ignore-scripts` tarball → temporary consumer → min
|
|
|
466
464
|
|---|---:|---:|---:|
|
|
467
465
|
| `import { semioticVite } from "semiotic/vite"` | node | **0.6 KiB** | — |
|
|
468
466
|
| `import { getNetworkPerspectiveSize } from "semiotic/network/perspective/core"` | browser | **1.1 KiB** | — |
|
|
469
|
-
| `import { MotifBraidChart } from "semiotic/atlas"` | browser | **
|
|
470
|
-
| `import { prepareNetworkAtlas } from "semiotic/atlas/core"` | browser | **7.
|
|
471
|
-
| `import { LineChart } from "semiotic"` | browser | **
|
|
472
|
-
| `import { LineChart } from "semiotic/xy"` | browser | **
|
|
473
|
-
| `import { LineChart } from "semiotic/line"` | browser | **
|
|
474
|
-
| `import { BarChart } from "semiotic/ordinal"` | browser | **
|
|
475
|
-
| `import { SankeyDiagram } from "semiotic/network"` | browser | **
|
|
476
|
-
| `import { ZoomableNetworkCustomChart } from "semiotic/network/zoom"` | browser | **
|
|
467
|
+
| `import { MotifBraidChart } from "semiotic/atlas"` | browser | **109.4 KiB** | 29.3 KiB |
|
|
468
|
+
| `import { prepareNetworkAtlas } from "semiotic/atlas/core"` | browser | **7.1 KiB** | — |
|
|
469
|
+
| `import { LineChart } from "semiotic"` | browser | **122.4 KiB** | 44.2 KiB |
|
|
470
|
+
| `import { LineChart } from "semiotic/xy"` | browser | **122.1 KiB** | 32.2 KiB |
|
|
471
|
+
| `import { LineChart } from "semiotic/line"` | browser | **122.3 KiB** | 32.2 KiB |
|
|
472
|
+
| `import { BarChart } from "semiotic/ordinal"` | browser | **103.4 KiB** | 14.7 KiB |
|
|
473
|
+
| `import { SankeyDiagram } from "semiotic/network"` | browser | **133.0 KiB** | 6.6 KiB |
|
|
474
|
+
| `import { ZoomableNetworkCustomChart } from "semiotic/network/zoom"` | browser | **112.4 KiB** | 29.3 KiB |
|
|
477
475
|
| `import { isometricGlyphs } from "semiotic/network/perspective"` | browser | **1.4 KiB** | — |
|
|
478
|
-
| `import { RealtimeLineChart } from "semiotic/realtime"` | browser | **
|
|
476
|
+
| `import { RealtimeLineChart } from "semiotic/realtime"` | browser | **119.4 KiB** | 41.9 KiB |
|
|
479
477
|
| `import { RingBuffer } from "semiotic/realtime/core"` | browser | **0.7 KiB** | 13.6 KiB |
|
|
480
478
|
| `import { useStreamStatus } from "semiotic/realtime/react"` | browser | **0.6 KiB** | — |
|
|
481
|
-
| `import { GaltonBoardChart } from "semiotic/physics"` | browser | **
|
|
479
|
+
| `import { GaltonBoardChart } from "semiotic/physics"` | browser | **94.4 KiB** | 2.7 KiB |
|
|
482
480
|
| `import { MATTER_PHYSICS_CAPABILITIES } from "semiotic/physics/matter"` | browser | **0.1 KiB** | — |
|
|
483
481
|
| `import { RAPIER_PHYSICS_CAPABILITIES } from "semiotic/physics/rapier"` | browser | **0.2 KiB** | — |
|
|
484
|
-
| `import { renderChart } from "semiotic/server"` | node | **
|
|
485
|
-
| `import { generateFrameSVGs } from "semiotic/server/edge"` | node | **
|
|
486
|
-
| `import { renderToImage } from "semiotic/server/node"` | node | **
|
|
482
|
+
| `import { renderChart } from "semiotic/server"` | node | **298.2 KiB** | — |
|
|
483
|
+
| `import { generateFrameSVGs } from "semiotic/server/edge"` | node | **127.4 KiB** | — |
|
|
484
|
+
| `import { renderToImage } from "semiotic/server/node"` | node | **298.7 KiB** | 0.6 KiB |
|
|
487
485
|
| `import { suggestCharts } from "semiotic/ai"` | browser | **37.9 KiB** | 13.6 KiB |
|
|
488
486
|
| `import { suggestCharts } from "semiotic/ai/core"` | browser | **32.0 KiB** | — |
|
|
489
487
|
| `import { buildArtifactContract } from "semiotic/artifact"` | browser | **4.5 KiB** | — |
|
|
@@ -491,7 +489,7 @@ Method: fresh `npm pack --ignore-scripts` tarball → temporary consumer → min
|
|
|
491
489
|
| `import { createChartAccessContract } from "semiotic/access"` | browser | **27.9 KiB** | — |
|
|
492
490
|
| `import { toEvidenceEnvelope } from "semiotic/evidence"` | browser | **43.5 KiB** | — |
|
|
493
491
|
| `import { bin } from "semiotic/data"` | browser | **0.9 KiB** | — |
|
|
494
|
-
| `import { ChoroplethMap } from "semiotic/geo"` | browser | **
|
|
492
|
+
| `import { ChoroplethMap } from "semiotic/geo"` | browser | **106.9 KiB** | 1.7 KiB |
|
|
495
493
|
| `import { usePretextAnnotations } from "semiotic/text"` | browser | **1.5 KiB** | — |
|
|
496
494
|
| `import { createRoughRenderMode } from "semiotic/rough"` | browser | **3.2 KiB** | — |
|
|
497
495
|
| `import { resolveThemePreset } from "semiotic/themes"` | browser | **2.6 KiB** | — |
|
|
@@ -506,7 +504,7 @@ Method: fresh `npm pack --ignore-scripts` tarball → temporary consumer → min
|
|
|
506
504
|
| `import { BigNumber } from "semiotic/value"` | browser | **5.8 KiB** | — |
|
|
507
505
|
| `import { DirectManipulationControl } from "semiotic/controls"` | browser | **1.5 KiB** | — |
|
|
508
506
|
|
|
509
|
-
**Line-boundary interpretation:** the retained named import from `semiotic/line` emits
|
|
507
|
+
**Line-boundary interpretation:** the retained named import from `semiotic/line` emits 364.7 KiB raw versus 364.8 KiB from `semiotic/xy`; gzip differs by 0.1 KiB (0.1%). Tree-shaking converges both paths on the same LineChart implementation graph. Treat `semiotic/line` as a narrower API/direct-ESM artifact boundary, not an application-bundle saving. Do not add another per-chart entry until its packed named import beats the family path by both 10 KiB gzip and 7%.
|
|
510
508
|
|
|
511
509
|
<!-- semiotic-cold-consumer:end -->
|
|
512
510
|
|
|
@@ -628,6 +626,11 @@ host-header allowlisting. For ChatGPT Apps domain verification, set
|
|
|
628
626
|
`OPENAI_APPS_CHALLENGE_TOKEN` so HTTP mode serves the raw token from
|
|
629
627
|
`/.well-known/openai-apps-challenge`.
|
|
630
628
|
|
|
629
|
+
Use `--profile=public` for the five-tool public surface; separated option values
|
|
630
|
+
also work. Explicit invalid profiles or malformed options stop startup. Both
|
|
631
|
+
profiles and transports cap complete tool responses at 2 MiB by default through
|
|
632
|
+
`MCP_MAX_TOOL_OUTPUT_BYTES`, returning an explicit error for oversized results.
|
|
633
|
+
|
|
631
634
|
### Tools
|
|
632
635
|
|
|
633
636
|
| Tool | Description |
|
|
@@ -741,6 +744,15 @@ Args: {
|
|
|
741
744
|
→ Returns: structured chart summary for the model + hidden SVG/widget metadata for ChatGPT.
|
|
742
745
|
```
|
|
743
746
|
|
|
747
|
+
Widget SVG is rebuilt from an element, attribute, CSS, and URL allowlist before
|
|
748
|
+
embedding. Local fragment references and inline base64 PNG/JPEG/GIF/WebP images
|
|
749
|
+
are supported; external resources, SVG data URLs, scripts, foreign HTML,
|
|
750
|
+
animation, CSS imports, and font-face rules are removed. Allowed styles are
|
|
751
|
+
scoped to the chart, preserving automatic dark palettes and annotation
|
|
752
|
+
disclosure. Theme variables use color, length, font, and other supported token
|
|
753
|
+
grammars. Malformed SVG returns an explicit tool error instead of an empty
|
|
754
|
+
successful preview. The widget's host CSP provides an additional boundary.
|
|
755
|
+
|
|
744
756
|
### Example: diagnose a broken config
|
|
745
757
|
|
|
746
758
|
```
|