Commit Graph

10 Commits

Author SHA1 Message Date
BMO (OpenClaw) fa0af8da60 feat: add configurable agent ID support
Allow users to configure which OpenClaw agent the integration communicates
with, instead of always defaulting to the implicit 'main' agent.

Changes:
- const.py: add CONF_AGENT_ID, DEFAULT_AGENT_ID='main', ATTR_AGENT_ID
- api.py: accept agent_id in constructor; _headers() now includes the
  x-openclaw-agent-id header on every request; async_send_message and
  async_stream_message accept an optional per-call agent_id override
- config_flow.py: expose agent_id as a text field in both the manual
  setup step and the options flow (Settings → Integrations → Configure)
- __init__.py: read agent_id from options/data and pass it to the API
  client; add optional agent_id field to the send_message service schema
  so automations can address a specific agent per-call
- services.yaml: document the new agent_id field on send_message
- strings.json / translations/en.json: add UI labels for the new option

The gateway routing header x-openclaw-agent-id is always sent; when
agent_id is 'main' (the default) the gateway behaviour is unchanged.
A per-call override on send_message takes precedence over the config.

Implemented with assistance from an AI coding agent (BMO) with human
review. Bot-assisted contribution reviewed by a human before submission.
2026-02-26 13:50:07 -06:00
techartdev 99aaef05c1 Add HTTPS/SSL support and enhance connection handling
- Implemented HTTPS/SSL support for OpenClaw gateways in `lan_https` mode.
- Added configuration options for SSL certificate verification.
- Improved auto-discovery for `lan_https` access mode.
- Updated documentation in README and changelog for new features and fixes.
- Fixed connection errors related to SSL certificate verification.
2026-02-23 11:49:21 +02:00
techartdev faa962d8bc Update version to 0.1.40 and add OpenClaw Gateway tools endpoint integration with new service and event support 2026-02-20 23:18:37 +02:00
techartdev 367541044c Update version to 0.1.39 and align chat requests with OpenClaw session behavior 2026-02-20 23:10:32 +02:00
techartdev 9ed13e4e96 Update version to 0.1.37 and improve chat session handling with session_id in payloads 2026-02-20 22:55:29 +02:00
techartdev c0f9e5c42e Update changelog for version 0.1.13, add native Assist entity exposure support, enhance context handling in chat service, and introduce helper for entity exposure context. 2026-02-20 16:49:13 +02:00
techartdev 793ea1488f Update changelog, enhance connection checks, and add lightweight gateway status check 2026-02-20 14:23:06 +02:00
techartdev b87702bef0 Update changelog, enhance error handling, and improve user feedback for OpenClaw integration
- Documented changes in changelog for version 0.1.3.
- Improved error handling in async_check_connection to propagate OpenClawApiError.
- Added clear error messages for users regarding OpenAI API settings in config flow.
- Updated translations to include new error messages related to OpenAI API status.
2026-02-20 14:08:17 +02:00
techartdev 65e6336f80 Refactor API client to remove unsupported endpoints and improve error handling for unexpected response types 2026-02-20 13:35:23 +02:00
techartdev e9cd5e1fff first commit 2026-02-20 13:07:28 +02:00