77339d5c58
Merge create_task into create_note (set status='todo' for tasks, omit for notes), merge delete_task into delete_note, consolidate entity tools (create/update_person → save_person, create/update_place → save_place), rename get_note → read_note with clearer descriptions, move calculate out of rag.py into utility.py, and extract shared duplicate detection into check_duplicate() helper. Updates all downstream references in generation_task.py, quick_capture.py, ToolCallCard.vue, and WorkspaceView.vue. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
719 B
Python
34 lines
719 B
Python
"""Tool registry package.
|
|
|
|
Importing this package loads all tool modules (triggering ``@tool``
|
|
decorator registration) and re-exports the public API that the rest
|
|
of the app depends on.
|
|
"""
|
|
|
|
# Import every tool module so their @tool decorators run at import time.
|
|
# Order does not matter — registration is additive.
|
|
from fabledassistant.services.tools import ( # noqa: F401
|
|
calendar,
|
|
entities,
|
|
notes,
|
|
profile,
|
|
projects,
|
|
rag,
|
|
rss,
|
|
tasks,
|
|
utility,
|
|
weather,
|
|
web,
|
|
)
|
|
from fabledassistant.services.tools._registry import (
|
|
execute_tool,
|
|
get_briefing_tools,
|
|
get_tools_for_user,
|
|
)
|
|
|
|
__all__ = [
|
|
"execute_tool",
|
|
"get_briefing_tools",
|
|
"get_tools_for_user",
|
|
]
|