Shortcuts
Sentinel registers one App Intent per verb, plus a script picker (so Apple Shortcuts offers you a dropdown of your actual scripts instead of a text field you have to fill in correctly). They show up in the Apple Shortcuts app under “Sentinel” once Sentinel has run at least once, but every action below still works as a plain step in a shortcut.
No Siri phrases have been registered for Sentinel.
Available actions
- Start Script, Stop Script, Restart Script
- Get Script Status (returns a yes/no you can branch on)
- Get Script Output (returns text)
- Open Script Log
- List Scripts (structured) and List Scripts (Formatted) (text/JSON, same formats as the CLI)
- Quit Sentinel
Walkthrough: A quick “Restart Dev Server” shortcut
- Open the Shortcuts app → + → new shortcut.
- Search for “Sentinel” in the action library, add Restart Script.
- Tap the script field — it offers a picker of your configured scripts. Choose the ‘Dev Server’ script.
- Rename the shortcut “Restart Dev Server” and give it an icon.
- Add it to your Mac’s menu bar (Shortcuts → Details → pin to menu bar) or Dock for a one-click restart without opening Sentinel’s own menu.
Walkthrough: Status check before opening a browser tab
Chain Get Script Status into an If action so a shortcut only opens localhost:3000 when the server’s actually up, instead of opening a tab that 404s:
- Add Get Script Status, script = e.g.
Work/Web. - Add an If action:
Get Script Statusistrue. - Inside the If: Open URL →
http://localhost:3000. - Otherwise: add Start Script (same script), then Open URL again — or just show a notification that it’s starting.
More surfaces: URL scheme · AppleScript · CLI