Skip to content

Conversation

@iamh2o
Copy link
Contributor

@iamh2o iamh2o commented Feb 8, 2026

Summary

Adds a comprehensive Actions Guide page accessible from the Create Action modal, helping users understand how to configure valid actions.

Changes

  • functions/hub_api/app.py — New /actions/guide route with authentication
  • functions/hub_api/templates/actions_guide.html — Full documentation page covering:
    • Action lifecycle (proposed → approved → executing → executed)
    • All 5 action kinds with JSON payload examples (send_message, create_memory, http_request, device_command, shell_command)
    • Device commands list (ping, status, capture_photo, etc.)
    • Safe shell commands list (ls, cat, grep, find, ps, df, etc.)
    • Scopes & permissions documentation
  • functions/hub_api/templates/actions.html — Help link added to Create Action modal
  • tests/test_gui_app.py — 2 new tests for actions guide page (auth redirect + render)

Testing

  • All 310 tests pass, 34 skipped
  • Ruff clean on Python files (HTML template ruff errors are expected — Jinja2 not Python)

Pull Request opened by Augment Code with guidance from the PR author

- Add /actions/guide route with comprehensive documentation
- Document all 5 action kinds with JSON payload examples
- Document device commands, safe shell commands, and scopes
- Add help link in Create Action modal pointing to guide
- Add tests for actions guide page (auth + render)
@iamh2o iamh2o merged commit f0be749 into main Feb 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant