@xoong/mcp 0.0.42 → 0.0.44

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/server.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoong/mcp",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "description": "MCP server for xoong: gives AI assistants the spec (llms.txt), the API's operations, `xoong check` and error explanations over stdio.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "@xoong/cli": "0.0.42"
14
+ "@xoong/cli": "0.0.44"
15
15
  },
16
16
  "files": [
17
17
  "src"
package/src/server.js CHANGED
@@ -30,6 +30,7 @@ export const EXPLANATIONS = {
30
30
  XO220: 'xo-submit is only valid on a <form>. Move the attribute to the form element.',
31
31
  XO221: 'xo-each, xo-if or xo-body has no path. Give it one, for example xo-each="items".',
32
32
  XO230: 'An xo-* element or attribute that xoong does not define, usually a typo. The message names the closest valid one.',
33
+ XO243: 'An <img> whose src or srcset has {data} inside an <xo-view> is requested by the browser with the literal text before the data is bound. Use <xo-image src="{path}" alt="..."> instead.',
33
34
  XO242: '<xo-image> has no alt attribute. Describe the image, or write alt="" when it is only decoration.',
34
35
  XO240: 'A button or link triggered by xo-click has no accessible name. Add visible text or aria-label.',
35
36
  XO241: 'xo-click is on an element that keyboards cannot reach. Use a <button>, or add role="button" and tabindex="0".',