[Haik]: moved Agent, events, and tools to a new dir called /core which is parallel to /apps so that /apps only handles endpoint typa shit yk

This commit is contained in:
haikdc
2026-04-02 17:53:47 -07:00
parent 7c5ed2557e
commit 3d79ac8f0a
54 changed files with 0 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from typing import Optional
from pydantic import BaseModel
from backend.apps.HaikFix.tools.shared_structs.TOOL_PERMISSIONS import TOOL_PERMISSIONS
from typeguard import typechecked
class Tool(BaseModel):
name: str
description: Optional[str] = None
deferred: bool
permission: TOOL_PERMISSIONS
@typechecked
def to_sdk_args(self) -> str:
return self.name