Commit log

a92c068 feat(justfile): add run and pack recipes

Click to expand commit body
pack recipe requires upx

Amolith created

e9f577d feat: print version

Click to expand commit body
Only works if you build with (a command similar to) the command in the build
task of the justfile.

Amolith created

f027ad7 feat: support cross-compilation in justfile

Amolith created

0fd03f8 chore: resolve various linter reports

Click to expand commit body
- Return lowercase error messages
- Add helper functions to handle closing HTTP response bodies and files instead
  of just deferring and not handling errors.

Amolith created

a381c89 feat: add justfile

Amolith created

2999e98 chore: bump deps

Amolith created

bed2d08 feat: support specifying timezone

Click to expand commit body
Add timezone configuration and validation to ensure the configured timezone is
valid on startup and during task creation. This includes adding a new `Timezone`
field to the `Config` struct and implementing a `loadLocation` function to
validate the timezone.

This change also updates the `handleCreateTask` function to use the configured
timezone when parsing natural language dates. Additionally, the default
configuration file creation has been updated to include the `Timezone` field
with a default value of "UTC".

BREAKING CHANGE: The `Timezone` field must be set in the configuration file. If
not set, the application will fail to start.

Amolith created

ea9ebb3 chore: add licensing

Amolith created

c87eb8e chore: ignore binary

Amolith created

a6b6fb6 docs: add readme

Amolith created

8ad1b06 chore: improve error handling and config file creation in main.go

Click to expand commit body
Improve error handling in handleCreateTask function by logging the API response
body when an error occurs. Update the success message to include the task ID.
Modify the createDefaultConfigFile function to use os.OpenFile instead of
os.Create for better file handling.

Amolith created

3926843 feat: add goals to areas and update task creation

Click to expand commit body
add goals to areas and update task creation logic to include goal validation

- remove unused list_areas and list_goals tools
- update create_task tool to validate goal_id against area
- update get_date_for_task tool to get_task_timestamp
- add list_areas_and_goals tool to list areas and goals

Amolith created

7a957fa chore: add config.toml to .gitignore

Amolith created

ed5c9b0 feat: add new tools for listing areas and goals

Click to expand commit body
Add new tools to the MCP server for listing areas and their IDs, and listing
goals and their IDs. Update the LunataskCreateTaskRequest struct to include
validation rules and default values for the AreaID field.

- Adds a new tool "list_areas" to the MCP server.
- Adds a new tool "list_goals" to the MCP server.
- Updates the LunataskCreateTaskRequest struct to include validation rules and
  default values for the AreaID field.

Amolith created

245f27b chore(gitignore): add one

Amolith created

f8fe125 refactor(main): enhance task creation and configuration

Click to expand commit body
- added support for goals in task creation
- introduced server configuration in config
- improved validation and error handling
- added default config generation on startup if config is missing
- updated task creation tool to include more parameters
- refactored task creation logic for better structure and readability

Amolith created

8dcbbbf refactor: update Config to use Area struct and validate areas

Amolith created

e1a4f83 initial commit

Amolith created