feat: add souls directory integration with search and fetch functionality

This commit is contained in:
Abhimanyu Saharan
2026-02-08 00:46:10 +05:30
parent 527cc13c63
commit 460d4adddf
8 changed files with 395 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
from __future__ import annotations
from pydantic import BaseModel
class SoulsDirectorySoulRef(BaseModel):
handle: str
slug: str
page_url: str
raw_md_url: str
class SoulsDirectorySearchResponse(BaseModel):
items: list[SoulsDirectorySoulRef]
class SoulsDirectoryMarkdownResponse(BaseModel):
handle: str
slug: str
content: str