menu "ESP OpenClaw Node"

    menu "Registration"

        config ESP_OPENCLAW_NODE_MAX_CAPABILITIES
            int "Maximum registered capabilities"
            range 1 128
            default 16
            help
                Maximum number of capability strings that a single node
                instance can register while idle before the component rejects
                additional capability registrations with ESP_ERR_NO_MEM.

        config ESP_OPENCLAW_NODE_MAX_COMMANDS
            int "Maximum registered commands"
            range 1 256
            default 32
            help
                Maximum number of commands that a single node instance can
                register while idle before the component rejects additional
                command registrations with ESP_ERR_NO_MEM.

    endmenu

    menu "Runtime"

        config ESP_OPENCLAW_NODE_WORK_QUEUE_LENGTH
            int "Worker queue length"
            range 17 256
            default 32
            help
                Length of the internal FreeRTOS queue used by the component
                worker task to serialize connect, disconnect, transport, and
                protocol work items.

        config ESP_OPENCLAW_NODE_TASK_STACK_SIZE
            int "Worker task stack size"
            range 2048 65536
            default 8192
            help
                Stack size, in bytes, allocated to the component's internal
                worker task created by esp_openclaw_node_create().

    endmenu

    menu "WebSocket Transport"

        config ESP_OPENCLAW_NODE_TRANSPORT_TASK_STACK_SIZE
            int "WebSocket client task stack size"
            range 2048 65536
            default 8192
            help
                Stack size, in bytes, requested for the esp_websocket_client
                task used by the OpenClaw transport.

        config ESP_OPENCLAW_NODE_TRANSPORT_BUFFER_SIZE
            int "WebSocket transport buffer size"
            range 256 65536
            default 2048
            help
                Buffer size, in bytes, requested for the esp_websocket_client
                transport buffers used by the OpenClaw connection.

    endmenu

endmenu
