Tags: AgentBossMode/promptius-gui
Tags
refactor: simplify Node class definition by replacing RootModel with … …Union type - Updated the Node class to use a Union type alias instead of inheriting from RootModel, streamlining the code structure. - Adjusted the timestamp in the generated schema file to reflect the latest changes.
refactor: update UISchema and ChartPropsSchema to use .nullish() for … …optional fields - Changed optional fields in UISchema and ChartPropsSchema from .optional() to .nullish() for better handling of null values. - Enhanced the custom Zod generator to differentiate between object/array types and apply .nullish() accordingly, improving schema validation and serialization.
refactor: enhance UI schema documentation and structure - Improved descriptions for UI component nodes, edges, and events in the schema to clarify their roles and relationships. - Updated the JSON schema to enforce required fields for edges and events, ensuring better validation. - Removed unnecessary `ConfigDict(extra='forbid')` from Python model classes to streamline the code. - Adjusted the structure of the Node class to use a Union type for better type handling.