Skip to content

[codex] add protocol v2 adapter contract#19

Merged
DNAngelX merged 11 commits into
mainfrom
codex/protocol-v2-ios-v1-adapter
Jul 5, 2026
Merged

[codex] add protocol v2 adapter contract#19
DNAngelX merged 11 commits into
mainfrom
codex/protocol-v2-ios-v1-adapter

Conversation

@DNAngelX

@DNAngelX DNAngelX commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the optional Protocol v2 WebSocket contract needed by the rebuilt ioBroker iOS/watchOS app while keeping the existing adapter actions backward compatible.

Changes

  • Adds hello, getActionCatalog, executeAction, and requestSensorRefresh handlers.
  • Exposes versioned capabilities and supported actions for the app.
  • Adds typed adapter config augmentation for JS type checking.
  • Replaces the dummy test with Protocol-v2 contract tests.
  • Repairs local test scripts and Mocha setup.
  • Aligns io-package.json with current ioBroker package validation by removing duplicate common.license when licenseInformation exists.

Validation

  • npm run check
  • npm test

Notes

The branch can be installed directly for system testing before merging.

@DNAngelX DNAngelX merged commit a468f0a into main Jul 5, 2026
1 of 8 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