[Haik]: ckpt, swapped the HaikFix folder to be parallel to the agents folder bc ima start the full replacement process i think

This commit is contained in:
haikdc
2026-04-02 15:54:42 -07:00
parent 71845cc0ae
commit df07f82253
36 changed files with 111 additions and 111 deletions
@@ -0,0 +1,33 @@
# sub_types.py
from typing import Literal, Union, TypedDict
from pydantic import BaseModel
# --- Prompt content blocks (sent to SDK via to_prompt) ---
class TextPromptBlock(TypedDict):
type: Literal["text"]
text: str
class ImageSource(TypedDict):
type: Literal["base64"]
media_type: str
data: str
class ImagePromptBlock(TypedDict):
type: Literal["image"]
source: "ImageSource"
PromptBlock = Union[TextPromptBlock, ImagePromptBlock]
# --- Attachments (user message only) ---
class ContextPath(BaseModel):
path: str
type: Literal["file", "directory"]
class SkillMeta(BaseModel):
id: str
name: str