Skip to content

feat: send install-licence material with every chat turn - #39

Merged
Robbertvermeulen merged 1 commit into
mainfrom
feat/licence-payload
Aug 17, 2026
Merged

Robbertvermeulen merged 1 commit into
mainfrom
feat/licence-payload

Conversation

@Robbertvermeulen

Copy link
Copy Markdown
Contributor

SDK counterpart of hub PR epicwp/roundtable-hub#58 (server-side licence verification).

  • Consumer gains licence(): ?array — {key, activation_id} or null for consumers without a licence system.
  • HubClient includes it as the licence body field on every chat turn (cheap: the hub verifies cache-first per subject), so verification survives cache expiry mid-conversation.
  • No JS changes; assets/dist untouched.

Note for the local harness: HarnessConsumer must add licence(): ?array { return null; } when its SDK copy is next updated (interface addition).

Local gates: PHPUnit 132 ✓ · PHPStan L6 ✓ · PHPCS ✓

🤖 Generated with Claude Code

Consumer gains licence(): the install's licence key + activation id, included
as the licence body field on every chat turn so the hub can verify it
server-side (hub PR #58). Consumers without a licence system return null.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Robbertvermeulen
Robbertvermeulen merged commit be477ca into main Aug 17, 2026
2 checks passed
@Robbertvermeulen
Robbertvermeulen deleted the feat/licence-payload branch August 17, 2026 17:43
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