Skip to content

feat: add incremental definition apis - #289

Draft
Julusian wants to merge 1 commit into
mainfrom
feat/incremental-definitions
Draft

Julusian wants to merge 1 commit into
mainfrom
feat/incremental-definitions

Conversation

@Julusian

@Julusian Julusian commented Nov 1, 2026

Copy link
Copy Markdown
Member

Adds actionDefinitions, feedbackDefinitions, variableDefinitions and compositeElementDefinitions helpers to InstanceBase, each with setAll/set/remove, so that modules can update some definitions without resending the whole set. The old set*Definitions methods are deprecated in favour of these.

The host batches the resulting changes until the next tick, flushing them before anything which could depend on them. It uses the new optional update*Definitions methods on ModuleHostContext when available, falling back to sending the full set.

…es and composite elements

Adds actionDefinitions, feedbackDefinitions, variableDefinitions and
compositeElementDefinitions helpers to InstanceBase, each with setAll/set/remove,
so that modules can update some definitions without resending the whole set.
The old set*Definitions methods are deprecated in favour of these.

The host batches the resulting changes until the next tick, flushing them before
anything which could depend on them. It uses the new optional update*Definitions
methods on ModuleHostContext when available, falling back to sending the full set.

Refs #188

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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