Commit Graph

15 Commits

Author SHA1 Message Date
Harry 1c3a3d1db3 refactor: remove output schema resolution logic from datasource and tool manifest loading 2025-08-08 14:23:22 +08:00
Harry e96e7716b7 refactor: clean up whitespace and formatting in schema-related files 2025-08-07 17:28:04 +08:00
Harry 9f37b75887 feat: implement built-in schema definitions and schema resolution utilities 2025-08-07 17:18:05 +08:00
Harry 22b7df0e6c feat: enhance datasource manifest with new structure chunks and schema resolution 2025-08-06 18:03:49 +08:00
Harry 685a14077b feat: built-in json schema 2025-08-01 15:08:47 +08:00
Harry e126c70b01 chore: apply ruff 2025-07-31 22:59:45 +08:00
Harry d7e109f760 feat: built-in json schema 2025-07-31 22:58:57 +08:00
Harry e8cc4760cb refactor: update type hints to use union syntax and improve import order 2025-07-02 16:15:28 +08:00
Harry ab07c664d9 feat: rename online driver to online drive and update related classes and methods :) 2025-06-27 20:13:00 +08:00
Harry 7b06a2ac23 feat: add online driver datasource 2025-06-27 16:33:44 +08:00
Harry 758af03409 fix: datasource oauth schema 2025-06-26 16:14:49 +08:00
Yeuoly 1b410adfc3 refactor: update Notion datasource configuration and provider
- Removed the `provider` field from `DatasourceIdentity` in the manifest.
- Added identity and description fields to `notion.yaml` for better clarity.
- Enhanced `notion.py` with OAuth methods for authorization and credential handling.
- Updated `notion.yaml` to include icon and provider type information.
2025-05-26 15:40:24 +08:00
Yeuoly 040d8d5ddd feat: enhance datasource provider model with validation and documentation
- Added validation for the `datasources` field in `DatasourceProviderManifest` to ensure it is a list of strings representing datasource paths.
- Introduced YAML loading for datasource configurations, improving the handling of datasource entities.
- Enhanced documentation annotations for `DatasourceProviderType`, `DatasourceParameter`, and `DatasourceIdentity` classes to clarify their purpose and usage.
2025-05-23 18:39:43 +08:00
Yeuoly 94d28ca13c feat: extend datasource and provider models with additional fields
- Added `DatasourceEntityExtra` and `DatasourceProviderConfigurationExtra` classes to encapsulate extra information for datasource and provider entities.
- Updated `DatasourceEntity` and `DatasourceProviderManifest` to include new `extra` fields, enhancing the data structure and documentation.
- Introduced documentation annotations for improved clarity on the purpose of new classes and fields.
2025-05-23 18:36:05 +08:00
Yeuoly cae56704be feat: enhance entity models with new datasource and parameter options
- Introduced `DatasourceProviderType`, `DatasourceParameter`, and related classes to support new datasource functionalities.
- Added `ParameterOption`, `ParameterAutoGenerate`, and `ParameterTemplate` classes for improved parameter handling.
- Updated existing models to utilize the new parameter classes, enhancing type safety and documentation.
2025-05-23 18:30:41 +08:00