← Về thư mục
openai4s/server/skills.py
- _fail · function · L63-L71 — def _fail(code: str, message: str) -> dict
- SkillCustomizationService · class · L74-L672 — class SkillCustomizationService
- init · method · L77-L103 — def init( self, loader: SkillLoader, *, scope: str = "personal", project_id: str | None = None, versions: SkillVersionService | None = None, ) -> None
- _all_skills · method · L105-L109 — def _all_skills(self)
- _find_skill · method · L111-L115 — def _find_skill(self, name: str)
- slug · method · L118-L124 — def slug(name: str) -> str
- parse_document · method · L127-L133 — def parse_document(content: str) -> tuple[dict, str]
- _review_from_document · method · L135-L161 — def _review_from_document(self, content: str) -> dict
- create_or_update · method · L163-L345 — def create_or_update( self, name: str, description: str, body: str, *, existing: bool = False, seed: str | None = None, strict_capabilities: bool = False, with_review: bool = False, ) -> dict
- import_document · method · L347-L371 — def import_document( self, *, content: str = "", name: str = "", description: str = "", body: str = "", ) -> dict
- get · method · L373-L386 — def get(self, name: str) -> dict
- delete · method · L388-L423 — def delete(self, name: str) -> dict
- set_enabled · method · L425-L438 — def set_enabled(self, name: str, enabled: Any) -> dict
- catalog · method · L440-L551 — def catalog(self, disabled: set[str] | None = None) -> list[dict]
- status · method · L553-L577 — def status(self, name: str) -> dict
- history · method · L579-L595 — def history(self, name: str, *, limit: int = 200) -> dict
- rollback · method · L597-L672 — def rollback(self, name: str, version_id: str) -> dict