Skip to content

fix: migrate msg buffer to Calcit 0.13.42 - #31

Merged
tiye merged 6 commits into
mainfrom
fix/calcit-0-13-40
Aug 24, 2026
Merged

fix: migrate msg buffer to Calcit 0.13.42#31
tiye merged 6 commits into
mainfrom
fix/calcit-0-13-40

Conversation

@tiye

@tiye tiye commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

  • upgrade the compiler and @calcit/procs runtime to Calcit 0.13.42
  • upgrade @google/genai to 2.18.0
  • log caught message-request errors with console.error, while retaining the UI failure state
  • update Respo/respo-markdown.calcit to 0.4.25, which unwraps current Calcit Option values before rendering table headers
  • retain explicit &unit event-handler results, distinct from application nil

Validation

  • dependency resolution and calcit calcit.cirru --check-only with Calcit 0.13.42
  • JavaScript code generation and yarn vite build --base=./
  • clean browser page: no Markdown Expected list error; forced request error is surfaced through console.error
  • live Gemini streaming using configured environment credentials: gemini-3.1-flash-lite and gemini-3.7-flash

Depends on Calcit 0.13.42 and Respo Markdown 0.4.25.

Copilot AI lite review requested due to automatic review settings August 24, 2026 04:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the project to Calcit 0.13.40 and Respo 0.16.85.

Changes:

  • Upgrades Calcit, @calcit/procs, and Respo dependencies.
  • Updates DOM event handlers for typed Unit returns.
  • Adds migration history and refreshed lockfile metadata.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Summary
yarn.lock Locks @calcit/procs 0.13.40 and its checksum.
package.json Updates the @calcit/procs runtime dependency.
history/20260824-upgrade-calcit-01340.md Documents the migration and validation.
deps.cirru Updates Calcit and Respo versions.
calcit.cirru Contains two critical findings: ;nil and (;nil) are comments, not expressions, so several handlers still do not explicitly return Unit.
Suppressed comments (23)

calcit.cirru:674

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of the last reset! rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                              :on-click $ fn (e d!) (reset! *archived-sessions false) (reset! *viewing-archive-session false) (;nil)

calcit.cirru:705

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of reset! rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                                            :on-click $ fn (e d!) (reset! *viewing-archive-session session) (;nil)

calcit.cirru:732

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this asynchronous event handler. Add a real nil expression after the existing effects so the Respo event contract is actually satisfied.
                                              ;nil

calcit.cirru:747

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of .show rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                              :on-click $ fn (e d!) (.show sessions-plugin d!) (;nil)

calcit.cirru:812

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after .show/submit-message! so the Respo event contract is actually satisfied.
                                    ;nil

calcit.cirru:827

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after the focus/update effects so the Respo event contract is actually satisfied.
                                    ;nil

calcit.cirru:854

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after .show so the Respo event contract is actually satisfied.
                            ;nil

calcit.cirru:895

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after the extension message effect so the Respo event contract is actually satisfied.
                    ;nil

calcit.cirru:924

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after the focus effect so the Respo event contract is actually satisfied.
                              ;nil

calcit.cirru:938

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this input handler. Add a real nil expression after the state update so the Respo event contract is actually satisfied.
                            ;nil

calcit.cirru:947

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this keydown handler. Add a real nil expression after the conditional submit so the Respo event contract is actually satisfied.
                            ;nil

calcit.cirru:963

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this focus handler. Add a real nil expression after the class-list effects so the Respo event contract is actually satisfied.
                            ;nil

calcit.cirru:979

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this blur handler. Add a real nil expression after the class-list effects so the Respo event contract is actually satisfied.
                            ;nil

calcit.cirru:994

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after clearing and focusing the prompt so the Respo event contract is actually satisfied.
                                  ;nil

calcit.cirru:1007

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after toggling the think state so the Respo event contract is actually satisfied.
                                        ;nil

calcit.cirru:1021

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after toggling the search state so the Respo event contract is actually satisfied.
                                      ;nil

calcit.cirru:1033

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this submit handler. Add a real nil expression after on-submit so the Respo event contract is actually satisfied.
                                    ;nil

calcit.cirru:1062

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of on-view-archive rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                          :on-click $ fn (e d!) (on-close d!) (on-view-archive d!) (;nil)

calcit.cirru:1089

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of on-close rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                                  :on-click $ fn (e d!) (on-select session-id d!) (on-close d!) (;nil)

calcit.cirru:1109

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this handler. Add a real nil expression after stopping propagation and dispatching the removal so the Respo event contract is actually satisfied.
                                    ;nil

calcit.cirru:1122

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of tab-echo! rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                            :on-click $ fn (e d!) (tab-echo! sessions :edn) (;nil)

calcit.cirru:1124

  • (;nil) is a comment form in Calcit, not an expression, so this handler still returns the result of download-sessions! rather than explicitly returning Unit. Replace it with an actual nil expression for the typed event contract.
                            :on-click $ fn (e d!) (download-sessions! sessions) (;nil)

calcit.cirru:1140

  • ;nil is only a comment in Calcit, so it does not add the promised Unit return to this asynchronous archive handler. Add a real nil expression after the archive effects so the Respo event contract is actually satisfied.
                              ;nil

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread calcit.cirru Outdated
Comment thread calcit.cirru Outdated
@tiye tiye changed the title fix: migrate msg buffer to Calcit 0.13.40 fix: migrate msg buffer to Calcit 0.13.41 Aug 24, 2026
@tiye tiye changed the title fix: migrate msg buffer to Calcit 0.13.41 fix: migrate msg buffer to Calcit 0.13.42 Aug 24, 2026
@tiye
tiye merged commit 63d031c into main Aug 24, 2026
1 check passed
@tiye
tiye deleted the fix/calcit-0-13-40 branch August 24, 2026 06:00
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.

2 participants