Merge branch 'feat/plugin-readme' into feat/trigger

# Conflicts:
#	api/controllers/console/workspace/plugin.py
#	api/core/plugin/entities/plugin_daemon.py
This commit is contained in:
Stream
2025-10-23 12:10:44 +08:00
5 changed files with 119 additions and 0 deletions

View File

@ -252,3 +252,7 @@ class CredentialType(enum.StrEnum):
return cls.UNAUTHORIZED
else:
raise ValueError(f"Invalid credential type: {credential_type}")
class PluginReadmeResponse(BaseModel):
content: str = Field(description="The readme of the plugin.")
language: str = Field(description="The language of the readme.")