diff --git a/INDEX.json b/INDEX.json index 61e2f6a..7f5bbb6 100644 --- a/INDEX.json +++ b/INDEX.json @@ -79,6 +79,22 @@ "tags": ["finder"], "description": "Create a text file with your spoken content. Say 'create text file' followed by the content you want to save. The file will be pasted into the current Finder window.", "source_url": "https://github.com/tryfreeway/freeway-pipelines/tree/main/pipelines/create-text-file" + }, + { + "id": "timeman-actions", + "name": "TimeMan Actions", + "version": 1, + "created_at": "2026-02-26T00:00:00Z", + "updated_at": "2026-02-26T00:00:00Z", + "categories": ["Productivity", "Business"], + "author": { + "name": "Robotizing Networks", + "email": "support@timemanapp.com", + "url": "https://TimeMan.app" + }, + "tags": ["timeman", "integration", "search", "plan"], + "description": "Voice interface for TimeMan app. Say 'TimeMan' followed by 'plan', 'log', or a search query.", + "source_url": "https://github.com/Robotizing/freeway-pipelines/tree/timeman/pipelines/timeman-actions" } ] } diff --git a/pipelines/timeman-actions/meta.json b/pipelines/timeman-actions/meta.json new file mode 100644 index 0000000..01a81ea --- /dev/null +++ b/pipelines/timeman-actions/meta.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "created_at": "2026-02-26T00:00:00Z", + "updated_at": "2026-02-26T00:00:00Z", + "name": "TimeMan Actions", + "author": { + "name": "Robotizing Networks", + "email": "support@timemanapp.com", + "url": "https://TimeMan.app" + }, + "compatibility": ["macOS"], + "categories": ["Productivity", "Business"], + "tags": ["timeman", "integration", "search", "plan"], + "description": "Voice interface for TimeMan app. Say 'TimeMan' followed by 'plan', 'log', or a search query.", + "trigger": { + "pattern": "timeman", + "matchType": "startsWith" + } +} diff --git a/pipelines/timeman-actions/pipeline.json b/pipelines/timeman-actions/pipeline.json new file mode 100644 index 0000000..70f3c10 --- /dev/null +++ b/pipelines/timeman-actions/pipeline.json @@ -0,0 +1,7 @@ +{ + "enabled" : true, + "heardAs" : "timeman", + "matchType" : "startsWith", + "name" : "TimeMan Actions", + "shellCommand" : "txt=$FREEWAY_TEXT\nencoded=$(printf '%s' \"$txt\" | jq -sRr @uri)\nopen \"timeman:\/\/handle?speech=$encoded\"\nif [ $? -eq 1 ]; then\n\tosascript -e '\n\tset theButtons to {\"Not Now\", \"Find on Website\", \"View in App Store\"}\n\ttry\n\t\tactivate\n\t\tset theAlert to display dialog \"TimeMan.app is required to process speech\" with title \"Freeway\" buttons theButtons default button 3 cancel button 1\n\t\tset clicked to button returned of theAlert\n\t\tif clicked is item 3 of theButtons then\n\t\t\topen location \"itms-apps:\/\/apps.apple.com\/app\/timeman\/id1484426198?mt=12\"\n\t\telse if clicked is item 2 of theButtons then\n\t\t\topen location \"https:\/\/timemanapp.com\"\n\t\tend if\n\tend try\n'\nfi" +} \ No newline at end of file