chore(deps): migrate to @nvisy/sdk 0.26.0 - #100
Merged
Conversation
Two breaking changes: - Entity provenance moved: `entity.provenance.events[]` is now `entity.audit[]` (a Text/Tabular AuditEvent list) and events dropped `before`. The birth event is the detection with no `parents`; update the provenance helper in useTextEntities to match. - Policy templates: HIPAA gained a required `accounts` and GDPR a required `scope`, and a new `soc2_secrets` kind shipped. Rather than defaulting the new fields, expose them: add HIPAA account-identifier and GDPR scope selects to the template dialog (mirroring the existing method/treatment selects), add the SOC 2 template to the gallery, and add en/de i18n for all of it. Verified: typecheck, biome (ci), i18n en/de parity, 0 unused keys, build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps
@nvisy/sdk0.25.0 → 0.26.0 and adapts to its two breaking changes.Breaking changes handled
Entity provenance moved
entity.provenance.events[]is nowentity.audit[](aTextAuditEvent/TabularAuditEventlist), and events dropped thebeforefield. The "birth" event is now identified as the detection with noparents. Updated the provenance helper inuseTextEntities(drives the recognizer/source shown in the studio entity popover).Policy templates gained required fields + a new kind
accounts(standard|extended).scope(article9|article9_with_reid_hardening|article9_and10).soc2_secretstemplate kind.Rather than silently defaulting the new fields, this exposes them: the template dialog now has an "Account identifiers" select for HIPAA and a "Scope" select for GDPR (mirroring the existing method/treatment selects), and the SOC 2 Secrets template is added to the gallery. Full en/de i18n for all new labels.
Verification
npm run typecheck— 0 errors (was 6 on the raw bump)npm run ci(biome)make buildThe
package-lock.jsondiff is SDK-only (a surgical bump, not a tree-wide re-resolve).🤖 Generated with Claude Code