fix: strip admin plugin IO schemas (#7141)
* refactor(core): optimize system tool input/output schema management - Use `JSONSchema` instead of `InputConfig` for system tool I/O definitions - Centralize JSON Schema to Node I/O conversion utilities - Cleanup redundant type definitions and schema properties across packages * refactor(global): improve workflow JSON schema mapping and tool catalog - Update `getJsonSchemaPropertyFromValueType` to handle complex types like `arrayObject` and `chatHistory` properly instead of falling back to default types. - Refactor `getEnumValuesFromNodeInput` to correctly collect enum values from different input configurations. - Update `useToolCatalog` to use `nodeInputs2JsonSchema` for consistent schema generation across tools and nodes. - Add comprehensive test cases to verify JSON schema conversion for various value types and enum sources. * fix: strip admin plugin IO schemas Admin plugin detail does not consume input/output schemas, so omit them from the admin response type to tolerate plugins that return null schemas.\n\nAdd regression coverage for parent and child tool details with null schemas.
Showing
Please
register
or
sign in
to comment