Skip to content

Atomic fhirpath lsp - #36

Merged
rublag-hs merged 1 commit into
masterfrom
atomic-fhirpath-lsp
Dec 5, 2025
Merged

Atomic fhirpath lsp#36
rublag-hs merged 1 commit into
masterfrom
atomic-fhirpath-lsp

Conversation

@rublag-hs

@rublag-hs rublag-hs commented Nov 20, 2025

Copy link
Copy Markdown
Collaborator

Note

Adds a new Aidbox FHIRPath LSP package (CodeMirror + WebWorker + IndexedDB cache) and updates CodeEditor to accept additional CodeMirror extensions, with minor CodeMirror version bumps.

  • New package packages/aidbox-fhirpath-lsp:
    • CodeMirror LSP integration for FHIRPath using @atomic-ehr/fhirpath-lsp and Aidbox client.
    • WebWorker-based server (src/worker.ts) with message wrapper (src/wrapper.ts) and typed messages (src/messages.ts).
    • IndexedDB-backed cache layer (src/idb-cache.ts).
    • React hooks/API (createCodeMirrorLsp, useCodeMirrorLsp) to attach LSP to editors.
    • Example app (example/main.ts, index.html) and build/config files (vite.config.ts, tsconfig*, .swcrc, biome.json).
  • React Components (packages/react-components):
    • CodeEditor: new additionalExtensions?: Extension[] prop; wiring via a dedicated compartment.
    • Dependencies: bump @codemirror/autocomplete and @codemirror/view.

Written by Cursor Bugbot for commit 59d3958. This will update automatically on new commits. Configure here.

@rublag-hs
rublag-hs force-pushed the atomic-fhirpath-lsp branch 5 times, most recently from bafa182 to 1f5bc87 Compare November 27, 2025 12:17
@rublag-hs
rublag-hs force-pushed the atomic-fhirpath-lsp branch 8 times, most recently from 138d66e to 5b695a1 Compare December 3, 2025 14:23
@rublag-hs
rublag-hs marked this pull request as ready for review December 3, 2025 14:24
@rublag-hs
rublag-hs requested review from Aitem and andreyorst December 3, 2025 14:27

@cursor cursor Bot 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.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread packages/aidbox-fhirpath-lsp/src/hooks.ts Outdated
Comment thread packages/aidbox-fhirpath-lsp/src/idb-cache.ts
Comment thread packages/react-components/src/components/code-editor/index.tsx Outdated
Comment thread packages/aidbox-fhirpath-lsp/src/idb-cache.ts
Comment thread packages/aidbox-fhirpath-lsp/example/main.ts Outdated
Comment thread packages/aidbox-fhirpath-lsp/src/wrapper.ts Outdated
Comment thread packages/aidbox-fhirpath-lsp/src/idb-cache.ts
@rublag-hs
rublag-hs force-pushed the atomic-fhirpath-lsp branch from a22a68d to f4f64ee Compare December 4, 2025 11:33
Comment thread packages/aidbox-fhirpath-lsp/src/hooks.ts
@rublag-hs
rublag-hs force-pushed the atomic-fhirpath-lsp branch from f4f64ee to 59d3958 Compare December 4, 2025 11:56

@Aitem Aitem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread packages/aidbox-fhirpath-lsp/example/main.ts Outdated
@rublag-hs
rublag-hs force-pushed the atomic-fhirpath-lsp branch from 59d3958 to aed86ad Compare December 5, 2025 12:38
@rublag-hs
rublag-hs merged commit 8dd8897 into master Dec 5, 2025
5 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.

3 participants