@vielzeug/codex 26.11.4 → 26.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/catalog.json +47 -45
- package/data/llms-full.txt +3271 -2943
- package/data/llms.txt +1 -1
- package/data/manifest.json +1 -1
- package/data/packages/archive.json +3 -3
- package/data/packages/arsenal.json +2 -2
- package/data/packages/assay.json +4 -3
- package/data/packages/beacon.json +3 -3
- package/data/packages/clockwork.json +3 -3
- package/data/packages/codex.json +3 -3
- package/data/packages/coins.json +2 -2
- package/data/packages/conduit.json +2 -2
- package/data/packages/courier.json +3 -3
- package/data/packages/dnd.json +2 -2
- package/data/packages/familiar.json +2 -2
- package/data/packages/flux.json +3 -3
- package/data/packages/focus.json +3 -3
- package/data/packages/forge.json +3 -3
- package/data/packages/gesture.json +3 -3
- package/data/packages/herald.json +3 -3
- package/data/packages/illusionist.json +4 -4
- package/data/packages/keymap.json +3 -3
- package/data/packages/ledger.json +3 -3
- package/data/packages/lingua.json +3 -3
- package/data/packages/mesh.json +3 -3
- package/data/packages/necromancer.json +9 -5
- package/data/packages/orbit.json +3 -3
- package/data/packages/ore.json +2 -2
- package/data/packages/postmaster.json +2 -2
- package/data/packages/prism.json +3 -3
- package/data/packages/pulse.json +3 -3
- package/data/packages/refine.json +2 -2
- package/data/packages/ripple.json +2 -2
- package/data/packages/rune.json +3 -3
- package/data/packages/sandbox.json +2 -2
- package/data/packages/scout.json +3 -3
- package/data/packages/scroll.json +3 -3
- package/data/packages/sentinel.json +2 -2
- package/data/packages/sigil.json +3 -3
- package/data/packages/sourcerer.json +2 -2
- package/data/packages/spell.json +3 -3
- package/data/packages/tandem.json +2 -2
- package/data/packages/tavern.json +2 -2
- package/data/packages/tempo.json +2 -2
- package/data/packages/vault.json +4 -4
- package/data/packages/ward.json +2 -2
- package/data/packages/wayfinder.json +3 -3
- package/data/refine.json +4656 -4216
- package/data/search.json +118 -118
- package/package.json +14 -14
- package/skills/vielzeug/SKILL.md +19 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vielzeug/codex",
|
|
3
|
-
"version": "26.11.
|
|
3
|
+
"version": "26.11.6",
|
|
4
4
|
"description": "MCP server exposing all Vielzeug docs to AI clients",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,26 +45,26 @@
|
|
|
45
45
|
"registry": "https://registry.npmjs.org/"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "
|
|
49
|
-
"dev": "
|
|
48
|
+
"build": "bun run --silent prepare:data && rm -rf dist && tsc && bun run --silent verify:exports",
|
|
49
|
+
"dev": "bun ./scripts/dev.ts",
|
|
50
50
|
"fix": "biome check --write src",
|
|
51
|
-
"gen:tool-docs": "
|
|
51
|
+
"gen:tool-docs": "bun ./scripts/generate-tool-docs.ts",
|
|
52
52
|
"lint": "biome ci src",
|
|
53
|
-
"prepare:data": "
|
|
54
|
-
"prepublishOnly": "
|
|
55
|
-
"start": "
|
|
56
|
-
"test": "
|
|
57
|
-
"test:integration": "
|
|
53
|
+
"prepare:data": "bun ./scripts/generate-bundled-data.ts",
|
|
54
|
+
"prepublishOnly": "bun run --silent build",
|
|
55
|
+
"start": "bun dist/cli.js",
|
|
56
|
+
"test": "bun run --silent test:unit && bun run --silent test:integration",
|
|
57
|
+
"test:integration": "bun run --silent prepare:data && vitest run --project integration",
|
|
58
58
|
"test:unit": "vitest run --project unit",
|
|
59
|
-
"verify:exports": "
|
|
59
|
+
"verify:exports": "bun verify-exports.mjs"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@modelcontextprotocol/server": "2.
|
|
62
|
+
"@modelcontextprotocol/server": "2.4.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@types/node": "^26.6.
|
|
66
|
-
"@vielzeug/refine": "26.11.
|
|
65
|
+
"@types/node": "^26.6.6",
|
|
66
|
+
"@vielzeug/refine": "26.11.6",
|
|
67
67
|
"typescript": "^6.0.3",
|
|
68
|
-
"vitest": "^5.0
|
|
68
|
+
"vitest": "^5.1.0"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/skills/vielzeug/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ description: 'Use when a project depends on any @vielzeug/* package: pick the ow
|
|
|
5
5
|
|
|
6
6
|
# Vielzeug
|
|
7
7
|
|
|
8
|
-
Vielzeug is a monorepo of independently published TypeScript packages. "Zero dependency" refers to external (non-`@vielzeug`) runtime dependencies; `@vielzeug/*` dependencies are encouraged when they reduce duplication. This skill keeps an agent working
|
|
8
|
+
Vielzeug is a monorepo of independently published TypeScript packages. "Zero dependency" refers to external (non-`@vielzeug`) runtime dependencies; `@vielzeug/*` dependencies are encouraged when they reduce duplication. This skill keeps an agent working _with_ the installed packages: discover what exists, use the owning package, and build UI from Refine when it is present.
|
|
9
9
|
|
|
10
10
|
## Detect
|
|
11
11
|
|
|
@@ -17,20 +17,22 @@ Vielzeug is a monorepo of independently published TypeScript packages. "Zero dep
|
|
|
17
17
|
|
|
18
18
|
Never guess exports, attributes, events, slots, or token names. Look them up:
|
|
19
19
|
|
|
20
|
-
| Question
|
|
21
|
-
|
|
|
22
|
-
| Which package solves X?
|
|
23
|
-
| How do I use package X?
|
|
24
|
-
| Exact signature of an export
|
|
25
|
-
| Runnable example
|
|
26
|
-
| Which Refine components exist?
|
|
27
|
-
| Attributes, properties, events, slots, CSS parts of `ore-*` | `refine-get-component`
|
|
28
|
-
| Available design tokens
|
|
29
|
-
| Are component attribute names recognized?
|
|
30
|
-
| Blank component scaffold
|
|
20
|
+
| Question | MCP tool (`@vielzeug/codex`) | Offline fallback |
|
|
21
|
+
| ----------------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------ |
|
|
22
|
+
| Which package solves X? | `search-packages`, `list-packages` | the package list below |
|
|
23
|
+
| How do I use package X? | `get-docs` (`index`, `usage`, `api`, `examples`) | `node_modules/@vielzeug/<pkg>/README.md` |
|
|
24
|
+
| Exact signature of an export | `get-type-signature` | `node_modules/@vielzeug/<pkg>/dist/*.d.ts` |
|
|
25
|
+
| Runnable example | `list-examples`, `get-example` | package README; `docs/<pkg>/examples/` when the Vielzeug repository is checked out |
|
|
26
|
+
| Which Refine components exist? | `refine-list-components` | `node_modules/@vielzeug/refine/dist/custom-elements.json` |
|
|
27
|
+
| Attributes, properties, events, slots, CSS parts of `ore-*` | `refine-get-component` | same manifest |
|
|
28
|
+
| Available design tokens | `refine-get-tokens` | `node_modules/@vielzeug/refine/dist/styles/theme.css` (`tokens.css` only imports it) |
|
|
29
|
+
| Are component attribute names recognized? | `refine-validate-usage` | compare against the manifest |
|
|
30
|
+
| Blank component scaffold | `refine-generate-template` | N/A |
|
|
31
31
|
|
|
32
32
|
Codex serves a versioned snapshot, which may not match the versions installed in the project or include the newest packages. Compare `get-package`'s `version` with the installed version before using its API docs or signatures. If they differ, treat the installed package's declarations, docs, and runtime as authoritative; do not use newer snapshot APIs unless the dependency is deliberately updated. Treat the generated package list as a discovery aid, not proof that no other package exists.
|
|
33
33
|
|
|
34
|
+
`get-docs` reaches only the four standard pages (`index`, `api`, `usage`, `examples`). A package's extra guides (Refine's `frameworks`, `theming`, `accessibility`, per-component references) are not in that set: read them from `https://vielzeug.dev/<pkg>/<page>` or from the checkout's `docs/<pkg>/`, not from `get-docs`.
|
|
35
|
+
|
|
34
36
|
If MCP is unavailable, use the offline fallback first. Check installed packages and the lockfile when the generated package list has no match. If the needed information is still unavailable and MCP setup would help, ask before running `npx -y @vielzeug/codex` or changing MCP configuration; setup details are in `node_modules/@vielzeug/codex/mcp-setup.json`.
|
|
35
37
|
|
|
36
38
|
## Use the owning package
|
|
@@ -105,7 +107,7 @@ Refine is the UI layer. Build interfaces from `ore-*` elements before anything e
|
|
|
105
107
|
|
|
106
108
|
Optional: `@vielzeug/refine/styles/preflight.css` for a browser reset.
|
|
107
109
|
|
|
108
|
-
2. **Register per component** through explicit side-effect subpaths (`import '@vielzeug/refine/button'`)
|
|
110
|
+
2. **Register per component** through explicit side-effect subpaths (`import '@vielzeug/refine/button'`). The package root registers nothing by design: there is no whole-library import to fall back on.
|
|
109
111
|
|
|
110
112
|
3. **Prefer Refine components when they fit.** For common interface controls and widgets such as buttons, inputs, selects, dialogs, menus, tables, and tabs, first check whether Refine has a component whose documented behavior fits the feature and the project's framework, accessibility, and runtime requirements. Confirm the tag with `refine-list-components`; read its contract with `refine-get-component`. If no component fits or a project requirement makes it unsuitable, use the simplest appropriate native element or other package and briefly explain the choice; do not build a parallel composite when a suitable Refine component exists.
|
|
111
113
|
|
|
@@ -113,7 +115,7 @@ Refine is the UI layer. Build interfaces from `ore-*` elements before anything e
|
|
|
113
115
|
|
|
114
116
|
5. **Follow the element contract**: attributes for primitives, JavaScript properties for objects/arrays/callbacks, standard DOM events (read state from `event.target`), named slots for composition. Icon-only controls need an accessible label.
|
|
115
117
|
|
|
116
|
-
6. **Type the tags** once in a type entry point: `import type {} from '@vielzeug/refine/frameworks/elements'` (or `/react`, `/vue`). Framework wiring (React 18/19, Vue, Svelte, Angular, SSR guards) is documented in the Refine `frameworks`
|
|
118
|
+
6. **Type the tags** once in a type entry point: `import type {} from '@vielzeug/refine/frameworks/elements'` (or `/react`, `/vue`). Framework wiring (React 18/19, Vue, Svelte, Angular, SSR guards) is documented in the Refine `frameworks` guide: read it at `https://vielzeug.dev/refine/frameworks` before integrating (`get-docs` does not serve it).
|
|
117
119
|
|
|
118
120
|
7. **Check attribute names** with `refine-validate-usage` when available. It only checks for unknown attributes on the specified component's opening tag; it does not validate HTML generally, attribute values, JavaScript properties, events, slots, accessibility, or runtime behavior. Check those against the component docs and relevant tests instead.
|
|
119
121
|
|
|
@@ -124,15 +126,15 @@ Refine is the UI layer. Build interfaces from `ore-*` elements before anything e
|
|
|
124
126
|
- All visuals come from tokens: spacing `var(--size-*)` on a 4‑point grid, type `var(--text-*)`, radius `var(--rounded-*)`, semantic colors `var(--color-primary|secondary|neutral|success|warning|error|info)`. No hard-coded hex/px in app CSS when a token exists (`refine-get-tokens`).
|
|
125
127
|
- Rebrand with one variable: `:root { --color-primary-hue: 220deg; }`. Override `--color-primary` only when the hue alone is insufficient.
|
|
126
128
|
- Overrides go in an **unlayered** `:root` (or a scoping class) rule; Refine tokens live in `@layer refine.tokens`, so plain rules win. Never use `!important`.
|
|
127
|
-
- Dark mode is `document.documentElement.classList.toggle('dark')`; tokens use `light-dark()`. Do not write `prefers-color-scheme` media blocks for colors.
|
|
129
|
+
- Dark mode is `document.documentElement.classList.toggle('dark')`; tokens use `light-dark()`. Do not write `prefers-color-scheme` media blocks for colors. `@vielzeug/refine/theme` ships `createThemeController()` for a persisted light/dark/system preference.
|
|
128
130
|
- Style components through their documented CSS custom properties and `::part()` hooks, not by piercing the shadow DOM.
|
|
129
|
-
- Other Vielzeug UI packages ship tokens-aligned themes; import them alongside Refine's (`@vielzeug/prism/theme` for charts).
|
|
131
|
+
- Other Vielzeug UI packages ship tokens-aligned themes; import them alongside Refine's (`@vielzeug/prism/theme.css` for charts).
|
|
130
132
|
|
|
131
133
|
## Other UI packages
|
|
132
134
|
|
|
133
135
|
Refine covers the widget layer; these provide specialized behavior it may not cover. Use the package that best fits the requirement, and prefer an `ore-*` element when it provides the needed behavior:
|
|
134
136
|
|
|
135
|
-
- `prism`: SVG charts (line, bar, area, pie, sparkline) plus `@vielzeug/prism/theme`.
|
|
137
|
+
- `prism`: SVG charts (line, bar, area, scatter, pie, radar, heatmap, sparkline) plus `@vielzeug/prism/theme.css`.
|
|
136
138
|
- `scroll`: virtualized large lists (prefer `ore-datagrid`/`ore-list` for ordinary sizes).
|
|
137
139
|
- `dnd` / `gesture`: sortable lists, drop zones, pointer drag and pan.
|
|
138
140
|
- `necromancer`: Web Animations API primitives and FLIP.
|