Skip to content

fix(wasm): show macro storage capacity - #957

Merged
HaoboGu merged 1 commit into
feat/rynk_protocolfrom
agent/pr848-demo-macro-capacity
Jul 15, 2026
Merged

fix(wasm): show macro storage capacity#957
HaoboGu merged 1 commit into
feat/rynk_protocolfrom
agent/pr848-demo-macro-capacity

Conversation

@HaoboGu

@HaoboGu HaoboGu commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

What

Display macro_space_size as bytes of macro storage in the Wasm demo's capability summary.

Why

Every successful demo connection currently prints undefined macros because DeviceCapabilities has no max_macros field.

Root cause

The demo referenced a capability name that is not present in the generated Wasm type.

Impact

Demo output now reports the capability the firmware actually sends. No protocol or firmware behavior changes.

Checks

  • Confirmed the generated capability field is macro_space_size and no max_macros field exists.
  • Extracted module passes node --input-type=module --check.

Built on #848.

@HaoboGu
HaoboGu marked this pull request as ready for review July 15, 2026 15:51
@HaoboGu
HaoboGu merged commit 5287ae7 into feat/rynk_protocol Jul 15, 2026
@HaoboGu
HaoboGu deleted the agent/pr848-demo-macro-capacity branch July 16, 2026 02:19
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