Skip to content

Overhaul with restringer#3

Merged
ctrl-escp merged 10 commits intomainfrom
overhaul-with-restringer
Mar 17, 2026
Merged

Overhaul with restringer#3
ctrl-escp merged 10 commits intomainfrom
overhaul-with-restringer

Conversation

@ctrl-escp
Copy link
Copy Markdown
Owner

No description provided.

- Introduced `restringer` as a dependency and updated build scripts to include a safety check for browser compatibility.
- Added a new script to verify that `restringer` imports are safe and do not violate browser safety rules.
- Created an integration module for `restringer` to manage its functionalities within the application.
- Updated the main application entry point to expose `restringer` on the global window object alongside `flast`.
- Added `js-md5` as a dependency for MD5 hashing functionality.
- Introduced a shim for Node.js crypto module to support hashing in the browser.
- Updated `restringer` integration to include new utility functions for handling hash generation.
- Removed disallowed import patterns from the safety verification script.
- extract a curated REstringer-backed registry into the integration layer
- add structure lookup, matcher, transform, and match-normalization helpers
- extend browser-safety verification to cover Stage 2 registry behavior
- Introduced a new matching engine module to handle known structure matching.
- Updated the store to manage known structure states, including selection and execution status.
- Enhanced the browser safety verification script to include comprehensive checks for known structures.
- Modified the ParseButton component to trigger known structure matching after parsing content.
- Added utility functions for creating and managing known structure states and match groups.
- Added a new `KnownStructures` component for browsing and managing known structures.
- Integrated the component into the main application layout and navigation.
- Enhanced the store with methods for selecting, running, and clearing known structure matches.
- Updated the browser safety verification script to include additional checks for structure metadata.
- Improved the user interface with filtering options and action buttons for known structures.
- Added new methods for managing known structure selections and highlights in the store.
- Implemented computed properties in the KnownStructures component for better filtering and display of structure matches.
- Introduced highlight styles in CSS for known structures to improve visual feedback.
- Updated CodeEditor component to support persistent highlight ranges for known structures.
- Added a new IconStructure component for better UI representation of structures.
…ructures

- Added functionality to preview and apply browser-safe transforms for known structures in the store.
- Enhanced the KnownStructures component with buttons for previewing and applying transforms, along with displaying transform status and preview details.
- Updated the verification script to include checks for the new transform session helper.
- Refactored the CodeEditor component to improve the readability of transformation steps in the generated code.
- Introduced a new `scriptGenerator.js` module to handle the composition of transformation scripts for known structures.
- Updated the `ComposeEditor.vue` to utilize the new script generation logic, improving code readability and maintainability.
- Enhanced the store to include additional metadata (moduleName and matcherName) for known structure transform steps.
- Improved the browser safety verification script to include checks for the new script generation functionality.
- Added checks for execution mode and availability status in the browser safety verification script to ensure structures are correctly categorized.
- Updated the KnownStructures component to include a new availability filter and display structure availability status.
- Enhanced the store to track runnable and blocked structures during matching sessions, improving the accuracy of execution status.
- Introduced new utility functions for managing structure execution metadata and improved the integration of known structures with the matching engine.
@ctrl-escp ctrl-escp self-assigned this Mar 17, 2026
@ctrl-escp ctrl-escp merged commit fb0e5ab into main Mar 17, 2026
@ctrl-escp ctrl-escp deleted the overhaul-with-restringer branch March 17, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant