semiotic 3.10.3 → 3.10.4

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.
Files changed (81) hide show
  1. package/README.md +17 -18
  2. package/ai/artifact-surface-inventory.json +1 -1
  3. package/ai/behaviorContracts.cjs +14 -4
  4. package/ai/behaviorContracts.d.cts +3 -0
  5. package/ai/cli.js +17 -166
  6. package/ai/componentMetadata.cjs +68 -15
  7. package/ai/componentMetadata.d.cts +3 -0
  8. package/ai/dist/diagnose-operation.js +3 -0
  9. package/ai/dist/mcp-server.js +59 -59
  10. package/ai/reference.md +3 -3
  11. package/ai/schema.json +1 -1
  12. package/ai/surface-manifest.json +1 -1
  13. package/ai/system-prompt.md +1 -1
  14. package/ai/task-packets/compare-category-totals.json +7 -7
  15. package/ai/task-packets/compare-category-totals.md +3 -3
  16. package/ai/task-packets/correct-published-chart.json +7 -7
  17. package/ai/task-packets/correct-published-chart.md +3 -3
  18. package/ai/task-packets/index.json +6 -6
  19. package/ai/task-packets/update-live-chart.json +7 -7
  20. package/ai/task-packets/update-live-chart.md +3 -3
  21. package/dist/{c-FHNY57SO.min.js → c-2MHSD3TN.min.js} +46 -46
  22. package/dist/{c-5PIKBUMF.min.js → c-6XGGN5OS.min.js} +1 -1
  23. package/dist/c-EK6XI2U7.min.js +26 -0
  24. package/dist/{c-4XLHPQTP.min.js → c-JBWPJNTJ.min.js} +1 -1
  25. package/dist/c-KWP4QTCM.min.js +4 -0
  26. package/dist/c-LRV7PO45.min.js +393 -0
  27. package/dist/c-LVHJJUOF.min.js +1 -0
  28. package/dist/c-NUBZ63VU.min.js +1 -0
  29. package/dist/{c-ZVOFLE2P.min.js → c-RWHLEUX6.min.js} +6 -6
  30. package/dist/{c-4JKDJUYD.min.js → c-S746GRV4.min.js} +1 -1
  31. package/dist/{c-ISA6IJ6V.min.js → c-UQBWSYKI.min.js} +5 -5
  32. package/dist/components/ai/chartClinic.d.ts +1 -1
  33. package/dist/components/ai/chartClinicMetadata.generated.d.ts +2 -2
  34. package/dist/components/charts/shared/{chartDefinitionPilot.d.ts → chartDefinition.d.ts} +30 -34
  35. package/dist/components/charts/shared/chartDefinitions.d.ts +10 -0
  36. package/dist/components/charts/shared/chartDefinitionsNetwork.d.ts +17 -0
  37. package/dist/components/charts/shared/chartDefinitionsOrdinal.d.ts +23 -0
  38. package/dist/components/charts/shared/chartDefinitionsPhysics.d.ts +17 -0
  39. package/dist/components/charts/shared/chartDefinitionsRealtime.d.ts +12 -0
  40. package/dist/components/charts/shared/chartDefinitionsXY.d.ts +26 -0
  41. package/dist/components/server/serverChartConfigs.d.ts +36 -36
  42. package/dist/components/server/serverChartConfigsNetwork.generated.d.ts +17 -0
  43. package/dist/components/server/serverChartConfigsOrdinal.generated.d.ts +23 -0
  44. package/dist/components/server/serverChartConfigsPhysics.generated.d.ts +17 -0
  45. package/dist/components/server/serverChartConfigsRealtime.generated.d.ts +13 -0
  46. package/dist/components/server/serverChartConfigsXY.generated.d.ts +22 -0
  47. package/dist/components/stream/physics/PhysicsOptionalEngineAdapters.d.ts +5 -0
  48. package/dist/network.module.min.js +1 -1
  49. package/dist/physics-matter.min.js +4 -1
  50. package/dist/physics-matter.module.min.js +1 -1
  51. package/dist/physics-rapier.min.js +4 -1
  52. package/dist/physics-rapier.module.min.js +1 -1
  53. package/dist/physics.module.min.js +1 -1
  54. package/dist/semiotic-ai-core.min.js +3 -3
  55. package/dist/semiotic-ai-core.module.min.js +3 -3
  56. package/dist/semiotic-ai.module.min.js +2 -2
  57. package/dist/semiotic-artifact.min.js +1 -1
  58. package/dist/semiotic-artifact.module.min.js +1 -1
  59. package/dist/semiotic-client-cjs-shared.min.js +4 -4
  60. package/dist/semiotic-experimental-auxiliary.module.min.js +1 -1
  61. package/dist/semiotic-experimental-node-auxiliary.module.min.js +1 -1
  62. package/dist/semiotic-experimental-vacp.module.min.js +1 -1
  63. package/dist/semiotic-realtime-core.module.min.js +1 -1
  64. package/dist/semiotic-recipes-core-cjs-base.min.js +1 -1
  65. package/dist/semiotic-recipes-core.module.min.js +13 -13
  66. package/dist/semiotic-server-edge-node.module.min.js +393 -391
  67. package/dist/semiotic-server-edge.min.js +393 -391
  68. package/dist/semiotic-server-edge.module.min.js +374 -372
  69. package/dist/semiotic-server-node.min.js +393 -391
  70. package/dist/semiotic-server-node.module.min.js +1 -1
  71. package/dist/semiotic-utils-core.min.js +1 -1
  72. package/dist/semiotic-utils-core.module.min.js +1 -1
  73. package/dist/semiotic.module.min.js +9 -9
  74. package/dist/server.min.js +393 -391
  75. package/dist/server.module.min.js +1 -1
  76. package/package.json +8 -4
  77. package/dist/c-3OFVBWQY.min.js +0 -1
  78. package/dist/c-43XNOQNQ.min.js +0 -391
  79. package/dist/c-6IVBV5NO.min.js +0 -1
  80. package/dist/c-KXH7LFIL.min.js +0 -26
  81. package/dist/c-UBHICVSC.min.js +0 -1
@@ -1 +1 @@
1
- import{a as e,b as a,c as s,d as r,e as t,f as n,g as i,h as d,i as o,j as S,k as c,l as m,m as G,n as h,o as T,p as V,q as g}from"./c-43XNOQNQ.min.js";export{G as generateFrameSVGs,h as generateFrameSequence,T as generatePhysicsFrameSVGs,o as renderChart,S as renderChartWithEvidence,m as renderDashboard,i as renderGeoToStaticSVG,n as renderNetworkToStaticSVG,t as renderOrdinalToStaticSVG,g as renderPhysicsToAnimatedGif,V as renderToAnimatedGif,c as renderToImage,s as renderToStaticSVG,r as renderXYToStaticSVG,e as resolveTheme,d as serializeSvgPrecision,a as themeStyles};
1
+ import{a as e,b as a,c as s,d as r,e as t,f as n,g as i,h as d,i as o,j as S,k as c,l as m,m as G,n as h,o as T,p as V,q as g}from"./c-LRV7PO45.min.js";export{G as generateFrameSVGs,h as generateFrameSequence,T as generatePhysicsFrameSVGs,o as renderChart,S as renderChartWithEvidence,m as renderDashboard,i as renderGeoToStaticSVG,n as renderNetworkToStaticSVG,t as renderOrdinalToStaticSVG,g as renderPhysicsToAnimatedGif,V as renderToAnimatedGif,c as renderToImage,s as renderToStaticSVG,r as renderXYToStaticSVG,e as resolveTheme,d as serializeSvgPrecision,a as themeStyles};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semiotic",
3
- "version": "3.10.3",
3
+ "version": "3.10.4",
4
4
  "mcpName": "io.github.nteract/semiotic",
5
5
  "description": "Verified generative visualization for React and agents, with deterministic chart validation, repair, rendering evidence, and MCP.",
6
6
  "main": "dist/semiotic.min.js",
@@ -274,7 +274,9 @@
274
274
  "ai/system-prompt.md",
275
275
  "ai/examples.md",
276
276
  "ai/componentMetadata.cjs",
277
+ "ai/componentMetadata.d.cts",
277
278
  "ai/behaviorContracts.cjs",
279
+ "ai/behaviorContracts.d.cts",
278
280
  "ai/chartSuggestions.cjs",
279
281
  "ai/cli.js",
280
282
  "ai/dist/*.js",
@@ -374,6 +376,8 @@
374
376
  "check:entry-graph-size": "node scripts/check-entry-graph-size.mjs",
375
377
  "check:multi-import-size": "node scripts/check-multi-import-size.mjs",
376
378
  "check:pack": "node scripts/smoke-pack.mjs",
379
+ "test:consumer-compatibility": "node --import tsx --test scripts/consumer-compatibility/*.test.mjs && tsc -p scripts/consumer-compatibility/tsconfig.json",
380
+ "check:consumer-compatibility": "npm run test:consumer-compatibility && node --import tsx scripts/consumer-compatibility/run.ts",
377
381
  "check:api-surface": "npm run build:declarations && node scripts/check-api-surface.mjs",
378
382
  "check:api-compat": "npm run test:api-compatibility && node scripts/check-api-compatibility.mjs",
379
383
  "build:declarations": "node scripts/build.mjs --declarations-only",
@@ -411,7 +415,7 @@
411
415
  "check:ai-contracts": "node scripts/generate-ai-behavior-contracts.mjs --check",
412
416
  "check:ai-instructions": "node scripts/sync-ai-instructions.mjs --check",
413
417
  "check:ssr": "node scripts/check-ssr-alignment.js",
414
- "check:capabilities": "node scripts/check-capabilities.mjs",
418
+ "check:capabilities": "node --test scripts/check-capabilities.test.mjs scripts/registry-source.test.mjs && node scripts/check-capabilities.mjs",
415
419
  "check:visual-baseline-capabilities": "node scripts/check-visual-baseline-capabilities.mjs",
416
420
  "check:playwright-alignment": "node scripts/check-playwright-version-alignment.mjs",
417
421
  "check:capability-coverage": "node scripts/check-capability-coverage.mjs",
@@ -461,8 +465,8 @@
461
465
  "check:readme-dashboard": "npx tsx scripts/generate-readme-dashboard.tsx --check",
462
466
  "check:release-version-alignment": "node scripts/check-release-version-alignment.mjs",
463
467
  "check:typedoc": "typedoc --emit none",
464
- "release:check": "npm run check:release-version-alignment && npm run check:playwright-alignment && npm run lint && npm run check:file-size && npm run typescript && npm run typescript:tests && npm run typescript:mcp && npm run test:examples:source && npm run check:mcp-bundle && npm run build:mcp && npm run test:coverage && npm run test:artifact-cli:from-dist && npm run test:protected-doc-boundaries && npm run test:release-infrastructure && npm run check:chart-specs && npm run check:artifact-contract && npm run check:ai-schema && npm run check:capabilities && npm run check:capability-coverage && npm run check:docs-coverage && npm run check:docs-example-integrity && npm run check:docs-prop-tables && npm run check:docs-playground-controls && npm run check:llms && npm run check:blog-entries && npm run check:ai-reference-coverage && npm run check:context7 && npm run check:mcp-registry && npm run test:mcp-registry-live && npm run check:surface && npm run check:ai-surface && npm run check:agent-skill && npm run check:ai-tasks && npm run test:adoption-evals && npm run check:adoption-evals && npm run check:ai-contracts && npm run check:ai-instructions && npm run check:ssr && npm run check:test-quality && npm run check:jsdoc-coverage && npm run check:ai-examples-coverage && npm run check:typedoc && npm run check:website-build && npm run check:package-surface && npm run check:api-surface && npm run check:api-compat && npm run check:protected-doc-boundaries && npm run check:readme-dashboard && npm run check:bundle-sizes && npm run size && npm run check:pack && npm pack --dry-run",
465
- "prepublishOnly": "npm run check:release-version-alignment && npm run check:playwright-alignment && npm run lint && npm run check:file-size && npm run typescript && npm run typescript:tests && npm run typescript:mcp && npm run test:examples:source && npm run check:mcp-bundle && npm run build:mcp && npm run test:coverage && npm run test:artifact-cli:from-dist && npm run test:protected-doc-boundaries && npm run test:release-infrastructure && npm run check:chart-specs && npm run check:artifact-contract && npm run check:ai-schema && npm run check:capabilities && npm run check:capability-coverage && npm run check:docs-coverage && npm run check:docs-example-integrity && npm run check:docs-prop-tables && npm run check:llms && npm run check:blog-entries && npm run check:ai-reference-coverage && npm run check:context7 && npm run check:mcp-registry && npm run test:mcp-registry-live && npm run check:surface && npm run check:ai-surface && npm run check:agent-skill && npm run check:ai-tasks && npm run check:ai-contracts && npm run check:ai-instructions && npm run check:ssr && npm run check:test-quality && npm run check:jsdoc-coverage && npm run check:ai-examples-coverage && npm run check:typedoc && rm -rf dist && npm run check:website-build && npm run check:package-surface && npm run check:api-surface && npm run check:api-compat && npm run check:protected-doc-boundaries && npm run check:readme-dashboard && npm run check:bundle-sizes && npm run size",
468
+ "release:check": "npm run check:release-version-alignment && npm run check:playwright-alignment && npm run lint && npm run check:file-size && npm run typescript && npm run typescript:tests && npm run typescript:mcp && npm run test:examples:source && npm run check:mcp-bundle && npm run build:mcp && npm run test:coverage && npm run test:artifact-cli:from-dist && npm run test:protected-doc-boundaries && npm run test:release-infrastructure && npm run check:chart-specs && npm run check:artifact-contract && npm run check:ai-schema && npm run check:capabilities && npm run check:capability-coverage && npm run check:docs-coverage && npm run check:docs-example-integrity && npm run check:docs-prop-tables && npm run check:docs-playground-controls && npm run check:llms && npm run check:blog-entries && npm run check:ai-reference-coverage && npm run check:context7 && npm run check:mcp-registry && npm run test:mcp-registry-live && npm run check:surface && npm run check:ai-surface && npm run check:agent-skill && npm run check:ai-tasks && npm run test:adoption-evals && npm run check:adoption-evals && npm run check:ai-contracts && npm run check:ai-instructions && npm run check:ssr && npm run check:test-quality && npm run check:jsdoc-coverage && npm run check:ai-examples-coverage && npm run check:typedoc && npm run check:website-build && npm run check:package-surface && npm run check:api-surface && npm run check:api-compat && npm run check:protected-doc-boundaries && npm run check:readme-dashboard && npm run check:bundle-sizes && npm run size && npm run check:pack && npm run check:consumer-compatibility && npm pack --dry-run",
469
+ "prepublishOnly": "npm run check:release-version-alignment && npm run check:playwright-alignment && npm run lint && npm run check:file-size && npm run typescript && npm run typescript:tests && npm run typescript:mcp && npm run test:examples:source && npm run check:mcp-bundle && npm run build:mcp && npm run test:coverage && npm run test:artifact-cli:from-dist && npm run test:protected-doc-boundaries && npm run test:release-infrastructure && npm run check:chart-specs && npm run check:artifact-contract && npm run check:ai-schema && npm run check:capabilities && npm run check:capability-coverage && npm run check:docs-coverage && npm run check:docs-example-integrity && npm run check:docs-prop-tables && npm run check:llms && npm run check:blog-entries && npm run check:ai-reference-coverage && npm run check:context7 && npm run check:mcp-registry && npm run test:mcp-registry-live && npm run check:surface && npm run check:ai-surface && npm run check:agent-skill && npm run check:ai-tasks && npm run check:ai-contracts && npm run check:ai-instructions && npm run check:ssr && npm run check:test-quality && npm run check:jsdoc-coverage && npm run check:ai-examples-coverage && npm run check:typedoc && rm -rf dist && npm run check:website-build && npm run check:package-surface && npm run check:api-surface && npm run check:api-compat && npm run check:protected-doc-boundaries && npm run check:readme-dashboard && npm run check:bundle-sizes && npm run size && npm run check:consumer-compatibility",
466
470
  "check:router-alignment": "node scripts/check-router-alignment.mjs",
467
471
  "docs:ai-tasks": "node scripts/generate-ai-task-packets.mjs",
468
472
  "check:ai-tasks": "node --test scripts/ai-task-packets.test.mjs && node scripts/generate-ai-task-packets.mjs --check",
@@ -1 +0,0 @@
1
- function a(a,n){return new t(a,n)}async function n(n){try{return await(import(n.packageName))}catch(t){throw a(n,t)}}var t=class extends Error{constructor(a,n){super(`${a.engine} is an optional Semiotic physics engine. Install ${a.packageName} to use ${a.importPath}: ${a.installCommand}`),this.name="PhysicsOptionalEngineDependencyError",this.details=a,n&&(this.cause=n)}};export{t as a,a as b,n as c};