Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bc9bd08
feat(dev): implement RML dev server
jduchateau Oct 15, 2026
a238d0a
deps: Keep RML-Modules on main.
jduchateau Oct 15, 2026
712702a
test(perf): extract CARML benchmarks into dedicated benchmarks submodule
jduchateau Oct 15, 2026
fc76541
tests: fix and remove tests
jduchateau Oct 15, 2026
ccb11db
fix: update rml-shacl with the list blank node fix
jduchateau Oct 15, 2026
84bf1b6
ci: should fix deploy process
jduchateau Oct 15, 2026
50d1509
deps: regenerate package-lock.json
jduchateau Oct 15, 2026
5d1a788
fix(extension): decouple server from extension versioning and check s…
jduchateau Oct 15, 2026
2335c2d
fix(dev): allow bundled webview and include burp jar in extension (vs…
jduchateau Oct 16, 2026
f5fc09d
fix(ci): include burp.jar in deployment package in CI
jduchateau Oct 16, 2026
937a436
fix(dev): remove burp download from github
jduchateau Oct 19, 2026
66c25e3
fix(dev): include server version in LSP initialisation response
jduchateau Oct 19, 2026
f2b506d
fix(dev): simplify reference completion details by removing origin gr…
jduchateau Oct 19, 2026
ff29c31
fix(dev): rml:inputValue can be anything, resolve Ikeragnell/rml-shacl#3
jduchateau Oct 19, 2026
e26bd9b
feat(dev): add rml.iterationSampleLimit setting for reference schema …
jduchateau Oct 21, 2026
6f12124
refactor(dev): specialize SampledDataSchemaProvider to JsonSampledSch…
jduchateau Oct 21, 2026
459ea09
feat(dev): add function execution syntax hints as code lenses
jduchateau Oct 21, 2026
5dc157d
feat(dev): add coherent inline hints with TM cursor-specific iteratio…
jduchateau Oct 27, 2026
cb9e0fe
feat(dev): unify inlay hints via rml/setDataContext and fix ParentMap…
jduchateau Nov 3, 2026
e336956
feat(dev): allocate random port on server spawn and restrict server.p…
jduchateau Nov 3, 2026
db1c379
refactor(dev): simplify namespace from `rml-dev-server` to `rml` acro…
jduchateau Nov 3, 2026
f146296
test(dev): add tests for StatusBarManager tooltips and command links
jduchateau Nov 3, 2026
60ddd8b
feat(parse): resilient AST parsing and hole support for incomplete ma…
jduchateau Nov 12, 2026
cb40e5c
feat(ontology): ontology loader, conformance checker, and validators
jduchateau Nov 12, 2026
e69d53c
feat(completion): modular completion contributors for ontologies, ref…
jduchateau Nov 12, 2026
c352b35
feat(dev): expose rml.ontologies configuration in extension
jduchateau Nov 12, 2026
b5f84c2
chore(submodule): update rml-shacl submodule
jduchateau Nov 12, 2026
b8c04a1
feat(validation): modular MappingValidator pipeline and debounced LSP…
jduchateau Nov 13, 2026
90fcc2d
test(ontology): consolidate test ontologies and add dynamic check fix…
jduchateau Nov 13, 2026
6873521
refactor(extension): delegate completion, codelens, and validation to…
jduchateau Nov 13, 2026
f7590c2
fix(deploy): avoid syncing VS Code extension version during release
jduchateau Nov 13, 2026
6833d2a
fix(codelens): Do not emit function preview CodeLenses on other unrel…
jduchateau Nov 13, 2026
f1d949e
feat(vocabularies): generate PTR, RER, RML, and Rml via OntAPI Vocabu…
jduchateau Nov 13, 2026
4ba4ff3
chore: Update RML module references
jduchateau Nov 13, 2026
dd6aeaf
feat(reporting): enrich RmlError, add RmlErrorAggregator, and unify R…
jduchateau Nov 13, 2026
7046f4d
feat(dev): wire RmlErrorDto, runtime ontology validation, and unified…
jduchateau Nov 13, 2026
a35a838
fix(dev): evaluate ObjectMap conformance and preserve BurpException o…
jduchateau Nov 16, 2026
021e178
feat(rml-dev-server): render RmlErrorDto diagnostics in evaluator and…
jduchateau Nov 16, 2026
089ff29
feat(telemetry): add rml.setStudyPseudo command for PostHog person ps…
jduchateau Nov 16, 2026
400d677
chore(deps): upgrade rml-dev-server dependencies
jduchateau Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
279 changes: 279 additions & 0 deletions .agents/skills/write-baukasten/SKILL.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .agents/skills/write-baukasten/recipes/confirmation-dialog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Confirmation Dialog

A blocking confirmation modal pattern.

```tsx
<Modal open={showConfirm} onClose={() => setShowConfirm(false)} size="sm">
<ModalHeader onClose={() => setShowConfirm(false)}>Confirm Delete</ModalHeader>
<ModalBody>
<Alert variant="warning">This action cannot be undone.</Alert>
</ModalBody>
<ModalFooter>
<Button variant="secondary" onClick={() => setShowConfirm(false)}>
Cancel
</Button>
<Button variant="primary" onClick={handleDelete}>
Delete
</Button>
</ModalFooter>
</Modal>
```
27 changes: 27 additions & 0 deletions .agents/skills/write-baukasten/recipes/form-layout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Form Layout

Standard form composition using FormGroup, FieldLabel, and form controls.

```tsx
<FormGroup>
<FieldLabel htmlFor="email" required>Email</FieldLabel>
<Input id="email" type="email" fullWidth error={errors.email} />
{errors.email && <FormHelper variant="error">{errors.email}</FormHelper>}
</FormGroup>

<FormGroup>
<FieldLabel htmlFor="role">Role</FieldLabel>
<Select
id="role"
fullWidth
options={roleOptions}
value={role}
onChange={setRole}
/>
</FormGroup>

<FormGroup orientation="horizontal">
<Button variant="secondary">Cancel</Button>
<Button variant="primary">Save</Button>
</FormGroup>
```
27 changes: 27 additions & 0 deletions .agents/skills/write-baukasten/recipes/sidebar-navigation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Sidebar Navigation with Menu

Vertical navigation list using the Menu component with icons.

```tsx
<Menu size="md">
<MenuItem
icon={<Icon name="home" />}
selected={page === 'home'}
onClick={() => setPage('home')}
>
Home
</MenuItem>
<MenuItem
icon={<Icon name="settings-gear" />}
selected={page === 'settings'}
onClick={() => setPage('settings')}
>
Settings
</MenuItem>
<MenuDivider />
<SubMenu label="Advanced" icon={<Icon name="tools" />}>
<MenuItem>Configuration</MenuItem>
<MenuItem>Extensions</MenuItem>
</SubMenu>
</Menu>
```
13 changes: 13 additions & 0 deletions .agents/skills/write-baukasten/recipes/toolbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Toolbar

Horizontal action bar with grouped buttons and a divider.

```tsx
<div style={{ display: 'flex', gap: 'var(--bk-gap-sm)', alignItems: 'center' }}>
<IconButton icon={<Icon name="new-file" />} variant="ghost" aria-label="New File" />
<IconButton icon={<Icon name="save" />} variant="ghost" aria-label="Save" />
<Divider orientation="vertical" />
<IconButton icon={<Icon name="play" />} variant="ghost" aria-label="Run" />
<IconButton icon={<Icon name="debug" />} variant="ghost" aria-label="Debug" />
</div>
```
194 changes: 194 additions & 0 deletions .agents/skills/write-baukasten/recipes/vscode-command-palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
# Command Palette

A `Cmd/Ctrl+Shift+P`-style fuzzy command launcher. Modal overlay anchored at the top of the viewport, single-letter search filter, keyboard-navigable result list, Enter to run. Composes `Modal`, `Input`, and `Menu` / `MenuItem`.

Cross-references:

- [Modal](../references/core-components.md#modal)
- [Input](../references/core-components.md#input)
- [Menu & MenuItem](../references/extra-components.md#menu--menuitem)
- [Text](../references/core-components.md#typography-text), [Icon](../references/core-components.md#icon)

## Pattern

The Modal hosts a search Input and a Menu. The Menu's items are filtered by a fuzzy match against the query string. `ArrowUp` / `ArrowDown` move a highlight index; `Enter` invokes the highlighted command; `Escape` closes via Modal's built-in handling.

```tsx
import { useEffect, useMemo, useRef, useState } from 'react';
import { Icon, Input, Modal, ModalBody, Text } from 'baukasten-ui/core';
import { Menu, MenuItem } from 'baukasten-ui/extra';
import type { CodiconName } from 'baukasten-ui/core';

interface Command {
id: string;
title: string;
category?: string;
shortcut?: string;
icon?: CodiconName;
run: () => void;
}

interface CommandPaletteProps {
open: boolean;
onClose: () => void;
commands: Command[];
}

function fuzzyMatch(query: string, text: string): boolean {
const q = query.toLowerCase();
const t = text.toLowerCase();
let i = 0;
for (const ch of t) {
if (ch === q[i]) i++;
if (i === q.length) return true;
}
return q.length === 0;
}

export function CommandPalette({ open, onClose, commands }: CommandPaletteProps) {
const [query, setQuery] = useState('');
const [highlight, setHighlight] = useState(0);
const inputRef = useRef<HTMLInputElement>(null);

// Reset state and focus the input each time the palette opens
useEffect(() => {
if (open) {
setQuery('');
setHighlight(0);
queueMicrotask(() => inputRef.current?.focus());
}
}, [open]);

const filtered = useMemo(
() => commands.filter((c) => fuzzyMatch(query, `${c.category ?? ''} ${c.title}`)),
[commands, query],
);

// Keep highlight within bounds when results change
useEffect(() => {
setHighlight((h) => Math.min(h, Math.max(0, filtered.length - 1)));
}, [filtered]);

const runHighlighted = () => {
const cmd = filtered[highlight];
if (!cmd) return;
cmd.run();
onClose();
};

const handleKeyDown = (e: React.KeyboardEvent) => {
if (e.key === 'ArrowDown') {
e.preventDefault();
setHighlight((h) => Math.min(h + 1, filtered.length - 1));
} else if (e.key === 'ArrowUp') {
e.preventDefault();
setHighlight((h) => Math.max(h - 1, 0));
} else if (e.key === 'Enter') {
e.preventDefault();
runHighlighted();
}
};

return (
<Modal
open={open}
onClose={onClose}
size="lg"
backdropVariant="blur"
closeOnEscape
closeOnBackdropClick
>
<ModalBody>
<Input
ref={inputRef}
fullWidth
placeholder="Type a command…"
value={query}
onChange={(e) => setQuery(e.target.value)}
onKeyDown={handleKeyDown}
/>
<div
style={{ maxHeight: 360, overflowY: 'auto', marginTop: 'var(--bk-spacing-3)' }}
>
{filtered.length === 0 ? (
<Text block color="muted" align="center">
No matching commands
</Text>
) : (
<Menu>
{filtered.map((cmd, i) => (
<MenuItem
key={cmd.id}
icon={cmd.icon ? <Icon name={cmd.icon} /> : undefined}
selected={i === highlight}
onMouseEnter={() => setHighlight(i)}
onClick={() => {
cmd.run();
onClose();
}}
rightContent={
cmd.shortcut ? (
<Text size="xs" color="muted">
{cmd.shortcut}
</Text>
) : undefined
}
>
{cmd.category && (
<>
<Text size="xs" color="muted">
{cmd.category}:
</Text>{' '}
</>
)}
{cmd.title}
</MenuItem>
))}
</Menu>
)}
</div>
</ModalBody>
</Modal>
);
}
```

## Triggering

Mount once at the application root and bind a global shortcut:

```tsx
export function App() {
const [paletteOpen, setPaletteOpen] = useState(false);

useEffect(() => {
const onKey = (e: KeyboardEvent) => {
if ((e.metaKey || e.ctrlKey) && e.shiftKey && e.key.toLowerCase() === 'p') {
e.preventDefault();
setPaletteOpen(true);
}
};
window.addEventListener('keydown', onKey);
return () => window.removeEventListener('keydown', onKey);
}, []);

return (
<>
<YourApp />
<CommandPalette
open={paletteOpen}
onClose={() => setPaletteOpen(false)}
commands={ALL_COMMANDS}
/>
</>
);
}
```

## Notes

- **Modal handles `Escape` and backdrop click** — don't reimplement; just keep `closeOnEscape` and `closeOnBackdropClick` enabled (they're the defaults).
- **Highlight tracking**: keeping `highlight` in state (not the DOM) lets the same model drive keyboard _and_ hover. `MenuItem`'s `selected` prop is the styling hook.
- **Avoid `Menu`'s own keyboard handling fighting yours**: the example puts keyboard listeners on the `Input`, which still has focus while the user types. The Menu items don't take focus — they're driven by the highlight index instead.
- **Fuzzy matching** here is a simple in-order subsequence test; swap in `fuse.js` or similar for ranked matches without changing the surrounding component.
- **Big command lists**: if you have thousands of commands, slice `filtered` to the top 50 before mapping — Menu is not virtualized.
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# File Explorer Panel

A Tree-based file/folder navigator with right-click context actions, typical of a VSCode side-bar view. Composes `Tree`, `Icon`, `ContextMenu`, `Menu` from `baukasten-ui/extra` plus `baukasten-ui/core` primitives.

Cross-references:

- [Tree](../references/extra-components.md#tree)
- [ContextMenu](../references/extra-components.md#contextmenu)
- [Menu & MenuItem](../references/extra-components.md#menu--menuitem)

## Pattern

Tree drives the file hierarchy. Each node carries a typed payload (file vs. folder) so click handlers can branch. A single shared `ContextMenu` wraps the tree; the menu items act on whatever node was most recently right-clicked.

```tsx
import { useState } from 'react';
import { Icon, Text } from 'baukasten-ui/core';
import { Tree, ContextMenu, Menu, MenuItem, MenuDivider } from 'baukasten-ui/extra';
import type { TreeNodeData } from 'baukasten-ui/extra';

interface FileNode extends TreeNodeData {
kind: 'file' | 'folder';
path: string;
}

function buildNodes(files: FileNode[]): TreeNodeData[] {
// map your data to nodes — set icon by kind, label by basename
return files.map((f) => ({
...f,
icon: <Icon name={f.kind === 'folder' ? 'folder' : 'file'} />,
}));
}

export function FileExplorer({ files }: { files: FileNode[] }) {
const nodes = buildNodes(files);
const [contextNode, setContextNode] = useState<FileNode | null>(null);
const [selected, setSelected] = useState<string | null>(null);

const handleSelect = (key: string, node: TreeNodeData) => {
setSelected(key);
const file = node as FileNode;
if (file.kind === 'file') openFile(file.path);
};

return (
<ContextMenu
menu={
<Menu>
<MenuItem
icon={<Icon name="go-to-file" />}
disabled={!contextNode}
onClick={() => contextNode && openFile(contextNode.path)}
>
Open
</MenuItem>
<MenuItem
icon={<Icon name="copy" />}
disabled={!contextNode}
onClick={() => contextNode && copyPath(contextNode.path)}
>
Copy Path
</MenuItem>
<MenuDivider />
<MenuItem
icon={<Icon name="trash" />}
disabled={!contextNode}
onClick={() => contextNode && deletePath(contextNode.path)}
>
Delete
</MenuItem>
</Menu>
}
>
<Tree
nodes={nodes}
selectedKey={selected}
onSelect={handleSelect}
defaultExpandedKeys={['/src']}
edgeStyle="none"
onContextMenu={(e) => {
// capture which node the right-click was over via data attribute
const el = (e.target as HTMLElement).closest('[data-tree-node-id]');
const id = el?.getAttribute('data-tree-node-id');
setContextNode(files.find((f) => f.id === id) ?? null);
}}
/>
</ContextMenu>
);
}
```

## Notes

- **Right-click target tracking**: Tree nodes carry `data-tree-node-id`; reading it from the event target tells the shared menu which node was clicked.
- **Selection vs. activation**: `onSelect` fires for keyboard and click. Use the node's `kind` to decide whether to open the file or just highlight the folder.
- **Inline badges** (e.g., git status, error counts): pass a `Badge` via each node's `badge` field — see the Tree reference for the data shape.
- **Lazy loading**: for very large workspaces, give folders empty `children: []` and replace them via state on first expand (`onExpandChange` fires before children are walked).
- **Empty / loading states**: render a centered `Spinner` or empty-state `Text` instead of `<Tree>` while data is pending — Tree itself has no built-in loading mode.
Loading
Loading