← Back to Plugins
Integration

Fokus Tasks

WFHdragon By WFHdragon ⭐ 1 stars 👁 75 views ▲ 0 votes

OpenClaw plugin for Fokus task API (login/list/create/delete/categories/user_info)

GitHub

Configuration Example

{ "action": "login", "email": "[email protected]", "password": "***" }

README

# Fokus Tasks Plugin

OpenClaw plugin tool: `fokus_tasks`

Actions:

- `login` (email/password)
- `list` (task list by status)
- `create` (create task)
- `delete` (delete task)
- `categories` (list categories)
- `user_info` (current user profile)
- `enter_focus` (start focus for a task)
- `exit_focus` (end focus for a task)

## Example calls

```json
{ "action": "login", "email": "[email protected]", "password": "***" }
```

```json
{ "action": "list", "token": "<token>", "isComplete": 2 }
```

```json
{ "action": "create", "token": "<token>", "title": "Read docs", "todoType": "" }
```

```json
{ "action": "delete", "token": "<token>", "taskId": "123" }
```

```json
{ "action": "enter_focus", "token": "<token>", "taskId": "123", "fallTiming": "1500" }
```

```json
{ "action": "exit_focus", "token": "<token>", "taskId": "123" }
```

## macOS local timer reminder

For `enter_focus`, plugin can schedule a local macOS reminder notification when countdown ends.
For `exit_focus`, plugin cancels the local timer for that `taskId`.

- per call override: `localTimer: true/false`
- plugin config default: `enableMacTimer` (default `true`)

## Optional plugin config

Set under `plugins.entries.fokus-tasks.config`:

```json
{
  "baseUrl": "http://120.77.1.151:8080/",
  "token": "<default-token>",
  "timeoutMs": 10000,
  "enableMacTimer": true
}
```
integration

Comments

Sign in to leave a comment

Loading comments...