You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
#8992478b38c 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.
#89955db8b5d Thanks @claude! - Added useScrollLock hook (moved from hash-frontend), sharing scrollbar-size measurement with useAvoidScrollWidthChange via a new internal scrollbar-size util
#88294820e48 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
#90749fa9452 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.
#90844dbbdf6 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).
#8953bfb99e7 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).
#8953bfb99e7 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).
#9051276e17d Thanks @kube! - Add a scenario-first optimization interface with flat parameter search spaces, metric objectives, and progressive step results.
#904363a51e5 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.
#898103f6a30 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.
#8763faddfad Thanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.
#9078aafb03b 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.
#866262f4e31 Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.
#8774f2d9df1 Thanks @kube! - Add editor support for read input arcs, including arc controls and distinct canvas rendering.
#90739c043ef 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.
#89432989ccd Thanks @kube! - Export the token value codec and compileUserCode from @hashintel/petrinaut-core.
#9071ff6b8f8 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.
#88294820e48 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
#8953bfb99e7 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).
#8953bfb99e7 Thanks @kube! - Expose the per-type policy registry (TYPE_POLICIES) and related helpers.
#9067eee2547 Thanks @kube! - Add an optional seq sequence number to every optimization event so detached, reconnectable optimization runs can be resumed from a cursor.
#909654cc7eb 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.
#8953bfb99e7 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).
#9040b00c6bd Thanks @kube! - Add scenario-first optimization manifests with flat parameter search spaces, metric objectives, and hardened server-side scenario execution.
#904363a51e5 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.
#898103f6a30 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.
#8763faddfad Thanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.
#866262f4e31 Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.
#8774f2d9df1 Thanks @kube! - Support read input arcs across SDCPN parsing, simulation, AI arc creation, and typed code inputs.
#90739c043ef 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.
#89432989ccd Thanks @kube! - Export the token value codec and compileUserCode from @hashintel/petrinaut-core.
Medium Risk
No runtime code in the diff, but publishing encodes semver bumps with documented breaking type and API changes that consumers must adopt on upgrade.
Overview
This is an automated Changesets release PR: it does not change application source, only release metadata.
It removes the consumed .changeset/*.md files and bumps package versions plus CHANGELOG entries for @blockprotocol/graph (0.5.0), @hashintel/ds-components (0.3.0), @hashintel/petrinaut / @hashintel/petrinaut-core (0.1.0), and @hashintel/petrinaut-cli (0.0.0, from 0.0.0-private).
The recorded notes highlight breaking areas for downstream consumers: @blockprotocol/graph link entity types may be undefined when edges are unresolved; @hashintel/ds-components Checkbox API change; Petrinaut HIR user-code compilation replacing Babel with a stricter TypeScript subset.
Reviewed by Cursor Bugbot for commit cf60f70. Bugbot is set up for automated code reviews on this repo. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
478b38cThanks @claude! - MakerightEntity/leftEntityonLinkEntityAndRightEntity/LinkEntityAndLeftEntitypossiblyundefined, reflecting whatgetOutgoingLinkAndTargetEntities/getIncomingLinkAndSourceEntitiesactually return when a link'shas-right-entity/has-left-entityedge 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
4681616Thanks @alex-e-leon! - New UI and api for Checkbox component (breaking change)Patch Changes
#9019
7931c7aThanks @alex-e-leon! - Add Popover component#8995
5db8b5dThanks @claude! - AddeduseScrollLockhook (moved from hash-frontend), sharing scrollbar-size measurement withuseAvoidScrollWidthChangevia a new internalscrollbar-sizeutil#9026
0cb749dThanks @CiaranMn! - Added gripVertical icon#8865
8494d8aThanks @CiaranMn! - New icons: trend arrows, file lines, grid, print, puzzle piece, truck#8833
d0af60dThanks @alex-e-leon! - Add Menu component to ds#8842
0aadff3Thanks @alex-e-leon! - Added Select component#8923
aaaddd6Thanks @alex-e-leon! - Added CheckboxGroup and RadioGroup components#8871
343cc4aThanks @alex-e-leon! - Add Toggle component@hashintel/petrinaut@0.1.0
Minor Changes
4820e48Thanks @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
9fa9452Thanks @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
4dbbdf6Thanks @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. ThetopBarStartslot 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 newslots.titleStylehook lets hosts apply an inline style to the title input (e.g. tinting it as the final crumb).#8953
bfb99e7Thanks @kube! - Add theuuidtoken attribute type: 128-bit identifiers,bigintat runtime, canonical strings at rest. Kernels may omit uuid fields to auto-generate them, or useUuid.generate()/Uuid.from(value).#8953
bfb99e7Thanks @kube! - Add thestringtoken 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
276e17dThanks @kube! - Add a scenario-first optimization interface with flat parameter search spaces, metric objectives, and progressive step results.#8764
c6cfee0Thanks @kube! - Addintegerandbooleantoken attribute types.#8846
706981fThanks @CiaranMn! - Update inhibitor arc styling#9043
63a51e5Thanks @kube! - Metrics can now read net parameters ambiently asparameters.<variableName>(bound to the run's resolved values, including scenario overrides). Scenario parameters remain unavailable to metrics.#8981
03f6a30Thanks @kube! - Compile all user code (dynamics, rates, kernels, metrics) through a new HIRto 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
faddfadThanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.#9078
aafb03bThanks @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
62f4e31Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.#8774
f2d9df1Thanks @kube! - Add editor support for read input arcs, including arc controls and distinct canvas rendering.#9073
9c043efThanks @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
2989ccdThanks @kube! - Export the token value codec andcompileUserCodefrom@hashintel/petrinaut-core.#8944
2c1c089Thanks @kube! - Packed-struct token frame layout (f64 numbers, u8 booleans, 8-byte strides).getPlaceTokens(place)andbuildMetricState(frame, places)drop unused parameters.#9071
ff6b8f8Thanks @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,f2d9df1,9c043ef,0aadff3,aaaddd6,343cc4a,2989ccd,2c1c089]:@hashintel/petrinaut-core@0.1.0
Minor Changes
4820e48Thanks @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
bfb99e7Thanks @kube! - Add theuuidtoken attribute type: 128-bit identifiers,bigintat runtime, canonical strings at rest. Kernels may omit uuid fields to auto-generate them, or useUuid.generate()/Uuid.from(value).#8953
bfb99e7Thanks @kube! - Expose the per-type policy registry (TYPE_POLICIES) and related helpers.#9067
eee2547Thanks @kube! - Add an optionalseqsequence number to every optimization event so detached, reconnectable optimization runs can be resumed from a cursor.#9096
54cc7ebThanks @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
bfb99e7Thanks @kube! - Add thestringtoken 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
b00c6bdThanks @kube! - Add scenario-first optimization manifests with flat parameter search spaces, metric objectives, and hardened server-side scenario execution.#8764
c6cfee0Thanks @kube! - Addintegerandbooleantoken attribute types.#9043
63a51e5Thanks @kube! - Metrics can now read net parameters ambiently asparameters.<variableName>(bound to the run's resolved values, including scenario overrides). Scenario parameters remain unavailable to metrics.#8981
03f6a30Thanks @kube! - Compile all user code (dynamics, rates, kernels, metrics) through a new HIRto 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
faddfadThanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.#8662
62f4e31Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.#8774
f2d9df1Thanks @kube! - Support read input arcs across SDCPN parsing, simulation, AI arc creation, and typed code inputs.#9073
9c043efThanks @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
2989ccdThanks @kube! - Export the token value codec andcompileUserCodefrom@hashintel/petrinaut-core.#8944
2c1c089Thanks @kube! - Packed-struct token frame layout (f64 numbers, u8 booleans, 8-byte strides).getPlaceTokens(place)andbuildMetricState(frame, places)drop unused parameters.@hashintel/petrinaut-cli@0.0.0
Patch Changes
bfb99e7,bfb99e7,eee2547,54cc7eb,bfb99e7,b00c6bd,c6cfee0,63a51e5,4820e48,03f6a30,faddfad,62f4e31,f2d9df1,9c043ef,2989ccd,2c1c089]: