1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
2//
3// SPDX-License-Identifier: AGPL-3.0-or-later
4
5package habits
6
7// ResourceDescription describes the habits resource for LLMs.
8const ResourceDescription = `Lists all configured habits and their IDs for habit tracking.
9Read this resource FIRST before track_habit_activity to identify valid habit_id values.
10Shows habit names and unique identifiers needed for tracking activities.`
11
12// TrackToolDescription describes the track_habit_activity tool for LLMs.
13const TrackToolDescription = `Records completion of a habit activity in Lunatask.
14WORKFLOW: First read the habits resource to get valid habit_id,
15then use get_timestamp to format the performed_on date.`
16
17// ParamHabitID describes the habit_id parameter.
18const ParamHabitID = `ID of the habit to track activity for.
19Must be a valid habit_id from the habits resource.`
20
21// ParamPerformedOn describes the performed_on parameter.
22const ParamPerformedOn = `Timestamp when the habit was performed.
23Must use the formatted timestamp returned by get_timestamp tool.
24Examples: if user says 'I did this yesterday', use get_timestamp with 'yesterday'.`