Skip to content

Version Packages - #9150

Closed
hash-worker[bot] wants to merge 0 commit into
mainfrom
changeset-release/main
Closed

Version Packages#9150
hash-worker[bot] wants to merge 0 commit into
mainfrom
changeset-release/main

Conversation

@hash-worker

@hash-worker hash-worker Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@blockprotocol/graph@0.5.0

Minor Changes

  • #8992 478b38c Thanks @claude! - Make rightEntity / leftEntity on LinkEntityAndRightEntity / LinkEntityAndLeftEntity possibly undefined, reflecting what getOutgoingLinkAndTargetEntities / getIncomingLinkAndSourceEntities actually return when a link's has-right-entity / has-left-entity edge is not resolved into the subgraph. Previously an unsafe cast hid this, allowing runtime crashes when consumers indexed into a missing target entity array.

@hashintel/ds-components@0.3.0

Minor Changes

Patch Changes

@hashintel/petrinaut@0.1.0

Minor Changes

  • #8829 4820e48 Thanks @kube! - Add Actual mode: a read-only live-execution view fed by a host-provided event stream, with an Actual timeline and Events tab, recording export helpers, and a redesigned timeline series selector.

Patch Changes

  • #9074 9fa9452 Thanks @kube! - Fix the Simulation Settings scenario picker overlapping its action buttons, keep the BottomPanel tab bar a constant height, fade truncated tab labels instead of wrapping, adapt the Timeline header (shrinking metric picker, hidden label) to narrow panels, and let sidebar subview content scroll through the section's full height.

  • #9084 4dbbdf6 Thanks @claude! - Remove "Petrinaut" branding from the AI assistant panel: the tab now reads "AI", and the empty-state, composer label and auto-layout widget copy refer to the assistant neutrally. The topBarStart slot now renders after the built-in sidebar-toggle and menu buttons, immediately before the net title, so hosts can lead into the title with breadcrumbs, and a new slots.titleStyle hook lets hosts apply an inline style to the title input (e.g. tinting it as the final crumb).

  • #8953 bfb99e7 Thanks @kube! - Add the uuid token attribute type: 128-bit identifiers, bigint at runtime, canonical strings at rest. Kernels may omit uuid fields to auto-generate them, or use Uuid.generate() / Uuid.from(value).

  • #8953 bfb99e7 Thanks @kube! - Add the string token attribute type, stored via per-run interning. Editing a type's schema now migrates stored initial state (values convert, falling back to the new type's default).

  • #9051 276e17d Thanks @kube! - Add a scenario-first optimization interface with flat parameter search spaces, metric objectives, and progressive step results.

  • #8764 c6cfee0 Thanks @kube! - Add integer and boolean token attribute types.

  • #8846 706981f Thanks @CiaranMn! - Update inhibitor arc styling

  • #9043 63a51e5 Thanks @kube! - Metrics can now read net parameters ambiently as parameters.<variableName> (bound to the run's resolved values, including scenario overrides). Scenario parameters remain unavailable to metrics.

  • #8981 03f6a30 Thanks @kube! - Compile all user code (dynamics, rates, kernels, metrics) through a new HIR
    to programs reading the packed frame buffers directly, replacing Babel.

    Compatibility: code outside the supported TypeScript subset no longer runs —
    it is rejected with an error diagnostic pointing at the offending syntax.

  • #8763 faddfad Thanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.

  • #9078 aafb03b Thanks @kube! - Add a small right inset to the Simulation Settings scenario picker row and parameters list so their controls don't hug the column edge.

  • #8662 62f4e31 Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.

  • #8774 f2d9df1 Thanks @kube! - Add editor support for read input arcs, including arc controls and distinct canvas rendering.

  • #9073 9c043ef Thanks @kube! - Use a shared fixed seed (PETRINAUT_DEFAULT_SEED) for interactive simulation and optimization runs, so playing a simulation reproduces an optimization trial given the same configuration.

  • #8943 2989ccd Thanks @kube! - Export the token value codec and compileUserCode from @hashintel/petrinaut-core.

  • #8944 2c1c089 Thanks @kube! - Packed-struct token frame layout (f64 numbers, u8 booleans, 8-byte strides). getPlaceTokens(place) and buildMetricState(frame, places) drop unused parameters.

  • #9071 ff6b8f8 Thanks @claude! - Ship Panda static-analysis build info (@hashintel/petrinaut/panda.buildinfo.json) and a shared theme preset (@hashintel/petrinaut/panda-preset) so host applications can compile Petrinaut's styles through their own Panda pipeline instead of relying on two independently generated, layer-polyfilled bundles. Petrinaut's keyframes are now namespaced (petrinautFadeIn, petrinautExpand, ...) so they can never collide with — and be deep-merged into — a host theme's keyframes.

  • Updated dependencies [7931c7a, bfb99e7, bfb99e7, 5db8b5d, eee2547, 54cc7eb, bfb99e7, b00c6bd, 0cb749d, c6cfee0, 8494d8a, 63a51e5, d0af60d, 4820e48, 03f6a30, faddfad, 4681616, 62f4e31, 741e772, f2d9df1, 9c043ef, 0aadff3, aaaddd6, 343cc4a, 2989ccd, 2c1c089]:

    • @hashintel/ds-components@0.3.0
    • @hashintel/petrinaut-core@0.1.0

@hashintel/petrinaut-core@0.1.0

Minor Changes

  • #8829 4820e48 Thanks @kube! - Add Actual mode: a read-only live-execution view fed by a host-provided event stream, with an Actual timeline and Events tab, recording export helpers, and a redesigned timeline series selector.

Patch Changes

  • #8953 bfb99e7 Thanks @kube! - Add the uuid token attribute type: 128-bit identifiers, bigint at runtime, canonical strings at rest. Kernels may omit uuid fields to auto-generate them, or use Uuid.generate() / Uuid.from(value).

  • #8953 bfb99e7 Thanks @kube! - Expose the per-type policy registry (TYPE_POLICIES) and related helpers.

  • #9067 eee2547 Thanks @kube! - Add an optional seq sequence number to every optimization event so detached, reconnectable optimization runs can be resumed from a cursor.

  • #9096 54cc7eb Thanks @claude! - Fix predicate (boolean guard) transitions not firing on the first simulation frame or on consecutive frames. A true guard now fires in the same step it becomes true, instead of every other frame.

  • #8953 bfb99e7 Thanks @kube! - Add the string token attribute type, stored via per-run interning. Editing a type's schema now migrates stored initial state (values convert, falling back to the new type's default).

  • #9040 b00c6bd Thanks @kube! - Add scenario-first optimization manifests with flat parameter search spaces, metric objectives, and hardened server-side scenario execution.

  • #8764 c6cfee0 Thanks @kube! - Add integer and boolean token attribute types.

  • #9043 63a51e5 Thanks @kube! - Metrics can now read net parameters ambiently as parameters.<variableName> (bound to the run's resolved values, including scenario overrides). Scenario parameters remain unavailable to metrics.

  • #8981 03f6a30 Thanks @kube! - Compile all user code (dynamics, rates, kernels, metrics) through a new HIR
    to programs reading the packed frame buffers directly, replacing Babel.

    Compatibility: code outside the supported TypeScript subset no longer runs —
    it is rejected with an error diagnostic pointing at the offending syntax.

  • #8763 faddfad Thanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.

  • #8662 62f4e31 Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.

  • #9028 741e772 Thanks @ShiroKSH! - Fix compilation of real transition-kernel attributes that conditionally return a number or a distribution.

  • #8774 f2d9df1 Thanks @kube! - Support read input arcs across SDCPN parsing, simulation, AI arc creation, and typed code inputs.

  • #9073 9c043ef Thanks @kube! - Use a shared fixed seed (PETRINAUT_DEFAULT_SEED) for interactive simulation and optimization runs, so playing a simulation reproduces an optimization trial given the same configuration.

  • #8943 2989ccd Thanks @kube! - Export the token value codec and compileUserCode from @hashintel/petrinaut-core.

  • #8944 2c1c089 Thanks @kube! - Packed-struct token frame layout (f64 numbers, u8 booleans, 8-byte strides). getPlaceTokens(place) and buildMetricState(frame, places) drop unused parameters.

@hashintel/petrinaut-cli@0.0.0

Patch Changes

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview Aug 3, 2026 6:26pm
petrinaut Ready Ready Preview Aug 3, 2026 6:26pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
hashdotdesign-tokens Ignored Ignored Preview Aug 3, 2026 6:26pm

@cursor

cursor Bot commented Aug 3, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Release aggregates breaking public API changes (graph link types, ds Checkbox) and a breaking Petrinaut user-code compilation model; risk is mainly to downstream consumers and published semver contracts, not in-repo runtime until packages are upgraded.

Overview
Automated Changesets release that bumps published package versions and changelogs; there is no application source diff in this PR itself—merging triggers npm publishes for the listed packages.

@blockprotocol/graph@0.5.0 types rightEntity / leftEntity on link helper types as possibly undefined, matching unresolved link edges in subgraphs and removing a previously unsafe cast (minor, type-level fix for runtime crashes).

@hashintel/ds-components@0.3.0 ships a breaking Checkbox API plus new UI primitives (Menu, Select, Popover, Toggle, CheckboxGroup/RadioGroup), icons, and a shared useScrollLock / scrollbar-size util.

@hashintel/petrinaut@0.1.0 and @hashintel/petrinaut-core@0.1.0 bundle a large 0.1.0 feature set: Actual (live) mode, scenario-first optimization, subnet/component wiring, read input arcs, new token types (integer, boolean, string, uuid), packed frame layout, metrics reading parameters.*, HIR-based user-code compilation replacing Babel (unsupported TS is now rejected), predicate-transition fix, Panda preset/buildinfo for host styling, and assorted UI polish. @hashintel/petrinaut-cli only picks up the core dependency bump.

Reviewed by Cursor Bugbot for commit 2f13c99. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team area/apps > hash.design Affects the `hash.design` design site (app) labels Aug 3, 2026
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.57%. Comparing base (ac5ec9c) to head (5d5fe8b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9150   +/-   ##
=======================================
  Coverage   59.57%   59.57%           
=======================================
  Files        1413     1413           
  Lines      138053   138053           
  Branches     6510     6510           
=======================================
  Hits        82240    82240           
  Misses      54771    54771           
  Partials     1042     1042           
Flag Coverage Δ
apps.hash-ai-worker-ts 1.99% <ø> (ø)
apps.hash-api 12.56% <ø> (ø)
local.hash-backend-utils 3.27% <ø> (ø)
local.hash-graph-sdk 10.02% <ø> (ø)
local.hash-isomorphic-utils 12.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hash-worker hash-worker Bot closed this Aug 3, 2026
@hash-worker
hash-worker Bot force-pushed the changeset-release/main branch from 606dd06 to 3f6e8a5 Compare August 3, 2026 13:49
@hash-worker hash-worker Bot reopened this Aug 3, 2026
@hash-worker hash-worker Bot closed this Aug 3, 2026
@hash-worker
hash-worker Bot force-pushed the changeset-release/main branch from 470939c to c15069f Compare August 3, 2026 14:33
@hash-worker hash-worker Bot reopened this Aug 3, 2026
@hash-worker hash-worker Bot closed this Aug 3, 2026
@hash-worker
hash-worker Bot force-pushed the changeset-release/main branch from b97aba9 to ac5ec9c Compare August 3, 2026 15:08
@hash-worker hash-worker Bot reopened this Aug 3, 2026
@hash-worker hash-worker Bot closed this Aug 3, 2026
@hash-worker
hash-worker Bot force-pushed the changeset-release/main branch from 5d5fe8b to 2f13c99 Compare August 3, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

0 participants