@marianmeres/stuic 3.97.0 → 3.98.0

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/dist/mcp.js +3 -7
  2. package/package.json +4 -4
package/dist/mcp.js CHANGED
@@ -25,16 +25,14 @@ export const tools = [
25
25
  },
26
26
  handler: async ({ schema, prefix }) => {
27
27
  const parsed = JSON.parse(schema);
28
- return generateThemeCss(parsed, prefix);
28
+ return generateThemeCss(parsed, prefix, { prettierIgnore: true });
29
29
  },
30
30
  },
31
31
  {
32
32
  name: "hex-to-oklch",
33
33
  description: "Convert a CSS HEX color to oklch() format. Useful for perceptually uniform color manipulation in modern CSS.",
34
34
  params: {
35
- hex: z
36
- .string()
37
- .describe('HEX color string, e.g. "#ff0000", "ff0000", "#f00"'),
35
+ hex: z.string().describe('HEX color string, e.g. "#ff0000", "ff0000", "#f00"'),
38
36
  },
39
37
  handler: async ({ hex }) => {
40
38
  return hexToOklch(hex);
@@ -44,9 +42,7 @@ export const tools = [
44
42
  name: "hex-to-rgb",
45
43
  description: "Convert a CSS HEX color to RGB components. Returns JSON with r, g, b values (0-255).",
46
44
  params: {
47
- hex: z
48
- .string()
49
- .describe('HEX color string, e.g. "#ff0000", "ff0000", "#f00"'),
45
+ hex: z.string().describe('HEX color string, e.g. "#ff0000", "ff0000", "#f00"'),
50
46
  },
51
47
  handler: async ({ hex }) => {
52
48
  const rgb = hexToRgb(hex);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "3.97.0",
3
+ "version": "3.98.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && pnpm run prepack",
@@ -55,7 +55,7 @@
55
55
  "@eslint/js": "^9.39.4",
56
56
  "@marianmeres/random-human-readable": "^1.9.0",
57
57
  "@sveltejs/adapter-auto": "^4.0.0",
58
- "@sveltejs/kit": "^2.60.1",
58
+ "@sveltejs/kit": "^2.61.0",
59
59
  "@sveltejs/package": "^2.5.7",
60
60
  "@sveltejs/vite-plugin-svelte": "^6.2.4",
61
61
  "@tailwindcss/cli": "^4.3.0",
@@ -81,14 +81,14 @@
81
81
  "dependencies": {
82
82
  "@marianmeres/clog": "^3.21.0",
83
83
  "@marianmeres/cron": "^2.0.1",
84
- "@marianmeres/design-tokens": "^1.5.0",
84
+ "@marianmeres/design-tokens": "^1.5.1",
85
85
  "@marianmeres/icons-fns": "^5.0.0",
86
86
  "@marianmeres/item-collection": "^1.4.2",
87
87
  "@marianmeres/paging-store": "^2.1.1",
88
88
  "@marianmeres/parse-boolean": "^2.1.0",
89
89
  "@marianmeres/ticker": "^1.17.1",
90
90
  "@marianmeres/tree": "^2.3.0",
91
- "libphonenumber-js": "^1.13.2",
91
+ "libphonenumber-js": "^1.13.3",
92
92
  "runed": "^0.23.4",
93
93
  "tailwind-merge": "^3.6.0"
94
94
  }