Version Packages - #9106
Conversation
PR SummaryMedium Risk Overview
Reviewed by Cursor Bugbot for commit 602f13f. Bugbot is set up for automated code reviews on this repo. Configure here. |
6a06f73 to
bb043e9
Compare
2af88a8 to
0f28b50
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9106 +/- ##
==========================================
- Coverage 59.36% 59.29% -0.07%
==========================================
Files 1406 1406
Lines 136519 135950 -569
Branches 6407 6380 -27
==========================================
- Hits 81042 80610 -432
+ Misses 54487 54358 -129
+ Partials 990 982 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
55c1a09 to
2b7e81d
Compare
c604257 to
c0efeb4
Compare
1fa7721 to
169284a
Compare
aa9b4d5 to
f4b724b
Compare
b4d3227 to
15de8ae
Compare
d30ed56 to
495a617
Compare
f4456d3 to
602f13f
Compare
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]: