mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-03 20:44:36 +00:00
22 lines
675 B
Python
22 lines
675 B
Python
"""Box-specific action types for the action RPC protocol."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from langbot_plugin.entities.io.actions.enums import ActionType
|
|
|
|
|
|
class LangBotToBoxAction(ActionType):
|
|
"""Actions sent from LangBot to the Box runtime."""
|
|
|
|
HEALTH = 'box_health'
|
|
STATUS = 'box_status'
|
|
EXEC = 'box_exec'
|
|
CREATE_SESSION = 'box_create_session'
|
|
GET_SESSION = 'box_get_session'
|
|
GET_SESSIONS = 'box_get_sessions'
|
|
DELETE_SESSION = 'box_delete_session'
|
|
START_MANAGED_PROCESS = 'box_start_managed_process'
|
|
GET_MANAGED_PROCESS = 'box_get_managed_process'
|
|
GET_BACKEND_INFO = 'box_get_backend_info'
|
|
SHUTDOWN = 'box_shutdown'
|