@katlux/toolkit 0.1.1-alpha.129 → 0.1.1-alpha.131

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 (100) hide show
  1. package/bin/add-ai-reference.mjs +85 -46
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/components/KButton/KButton.global.d.vue.ts +1 -1
  4. package/dist/runtime/components/KButton/KButton.global.vue.d.ts +1 -1
  5. package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +1 -1
  6. package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +1 -1
  7. package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +1 -1
  8. package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +1 -1
  9. package/dist/runtime/components/KDatatable/KDataIterator.global.d.vue.ts +1 -1
  10. package/dist/runtime/components/KDatatable/KDataIterator.global.vue.d.ts +1 -1
  11. package/dist/runtime/components/KDropdown/KDropdown.global.d.vue.ts +1 -1
  12. package/dist/runtime/components/KDropdown/KDropdown.global.vue.d.ts +1 -1
  13. package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +8 -0
  14. package/dist/runtime/components/KGantt/KGantt.global.vue +15 -1
  15. package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +8 -0
  16. package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +1 -1
  17. package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +1 -1
  18. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.d.vue.ts +1 -1
  19. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.vue.d.ts +1 -1
  20. package/dist/runtime/components/KSlider/KSlider.global.d.vue.ts +1 -1
  21. package/dist/runtime/components/KSlider/KSlider.global.vue.d.ts +1 -1
  22. package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +1 -1
  23. package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +1 -1
  24. package/dist/runtime/presets/default/components/KGantt/KGantt.d.vue.ts +20 -0
  25. package/dist/runtime/presets/default/components/KGantt/KGantt.vue +26 -1
  26. package/dist/runtime/presets/default/components/KGantt/KGantt.vue.d.ts +20 -0
  27. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.d.vue.ts +60 -0
  28. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue +23 -0
  29. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue.d.ts +60 -0
  30. package/dist/skills/KATLUX_INDEX.md +41 -0
  31. package/dist/skills/katlux-components/SKILL.md +106 -0
  32. package/dist/skills/katlux-components/components/KAccordion.md +27 -0
  33. package/dist/skills/katlux-components/components/KAlert.md +22 -0
  34. package/dist/skills/katlux-components/components/KAreaChart.md +19 -0
  35. package/dist/skills/katlux-components/components/KBarChart.md +20 -0
  36. package/dist/skills/katlux-components/components/KBulkActions.md +19 -0
  37. package/dist/skills/katlux-components/components/KButton.md +12 -0
  38. package/dist/skills/katlux-components/components/KCalendar.md +17 -0
  39. package/dist/skills/katlux-components/components/KCheckbox.md +15 -0
  40. package/dist/skills/katlux-components/components/KCombobox.md +41 -0
  41. package/dist/skills/katlux-components/components/KCompositeInput.md +67 -0
  42. package/dist/skills/katlux-components/components/KContextMenu.md +20 -0
  43. package/dist/skills/katlux-components/components/KDataIterator.md +35 -0
  44. package/dist/skills/katlux-components/components/KDatatable.md +55 -0
  45. package/dist/skills/katlux-components/components/KDatePicker.md +26 -0
  46. package/dist/skills/katlux-components/components/KDropdown.md +18 -0
  47. package/dist/skills/katlux-components/components/KGantt.md +87 -0
  48. package/dist/skills/katlux-components/components/KGrid.md +17 -0
  49. package/dist/skills/katlux-components/components/KHeatMap.md +32 -0
  50. package/dist/skills/katlux-components/components/KHourSelect.md +11 -0
  51. package/dist/skills/katlux-components/components/KIcon.md +5 -0
  52. package/dist/skills/katlux-components/components/KLayout.md +34 -0
  53. package/dist/skills/katlux-components/components/KLineChart.md +18 -0
  54. package/dist/skills/katlux-components/components/KLoader.md +7 -0
  55. package/dist/skills/katlux-components/components/KMaskTextbox.md +12 -0
  56. package/dist/skills/katlux-components/components/KModal.md +22 -0
  57. package/dist/skills/katlux-components/components/KPagination.md +22 -0
  58. package/dist/skills/katlux-components/components/KPanel.md +18 -0
  59. package/dist/skills/katlux-components/components/KPieChart.md +14 -0
  60. package/dist/skills/katlux-components/components/KProductList.md +42 -0
  61. package/dist/skills/katlux-components/components/KScatterChart.md +20 -0
  62. package/dist/skills/katlux-components/components/KSlider.md +28 -0
  63. package/dist/skills/katlux-components/components/KTabs.md +31 -0
  64. package/dist/skills/katlux-components/components/KTextbox.md +15 -0
  65. package/dist/skills/katlux-components/components/KToast.md +14 -0
  66. package/dist/skills/katlux-components/components/KTooltip.md +13 -0
  67. package/dist/skills/katlux-components/components/KTree.md +45 -0
  68. package/dist/skills/katlux-components/components/KTreePicker.md +35 -0
  69. package/dist/skills/katlux-components/components/KTreeView.md +30 -0
  70. package/dist/skills/katlux-components/components/MultiTabs.md +20 -0
  71. package/dist/skills/katlux-components/components/calendar-customization.md +6 -0
  72. package/dist/skills/katlux-components/components/datatable-customization.md +14 -0
  73. package/dist/skills/katlux-components/components/directives.md +11 -0
  74. package/dist/skills/katlux-components/components/form-validation.md +125 -0
  75. package/dist/skills/katlux-components/components/tree-customization.md +9 -0
  76. package/dist/skills/katlux-components/components/useToast.md +27 -0
  77. package/dist/skills/katlux-components/components/validation-directives.md +6 -0
  78. package/dist/skills/katlux-config/SKILL.md +156 -0
  79. package/dist/skills/katlux-presets/SKILL.md +356 -0
  80. package/dist/skills/katlux-providers/SKILL.md +64 -0
  81. package/dist/skills/katlux-providers/providers/ADataProvider.md +59 -0
  82. package/dist/skills/katlux-providers/providers/CAPIFlatClientDataProvider.md +28 -0
  83. package/dist/skills/katlux-providers/providers/CAPIFlatServerDataProvider.md +20 -0
  84. package/dist/skills/katlux-providers/providers/CFlatClientDataProvider.md +11 -0
  85. package/dist/skills/katlux-providers/providers/CFlatServerDataProvider.md +58 -0
  86. package/dist/skills/katlux-providers/providers/CTreeClientDataProvider.md +14 -0
  87. package/dist/skills/katlux-providers/providers/CTreeServerDataProvider.md +5 -0
  88. package/dist/skills/katlux-providers/providers/KatluxIndexedDB.md +10 -0
  89. package/dist/skills/katlux-providers/providers/RequestProvider.md +49 -0
  90. package/dist/skills/katlux-providers/providers/RequestQueue.md +52 -0
  91. package/dist/skills/katlux-providers/providers/api-protocol.md +40 -0
  92. package/dist/skills/katlux-providers/providers/caching.md +170 -0
  93. package/dist/skills/katlux-providers/providers/composables.md +107 -0
  94. package/dist/skills/katlux-providers/providers/encryption.md +151 -0
  95. package/dist/skills/katlux-providers/providers/react-integration.md +45 -0
  96. package/dist/skills/katlux-providers/providers/testing-isolation.md +6 -0
  97. package/dist/skills/katlux-providers/providers/types.md +27 -0
  98. package/dist/skills/katlux-providers/providers/useDataProvider.md +51 -0
  99. package/dist/skills/katlux-tokens/SKILL.md +133 -0
  100. package/package.json +3 -3
@@ -0,0 +1,27 @@
1
+ ## 3.1. Core Types & Key Interfaces
2
+
3
+ | Interface / Enum | Purpose | Key Properties / Values |
4
+ | --- | --- | --- |
5
+ | `EDataFilterOperator` | Available filter operators | `Equal` (`==`), `NotEqual` (`!=`), `GreaterThan` (`>`), `LessThan` (`<`), `GreaterThanOrEqual` (`>=`), `LessThanOrEqual` (`<=`), `In`, `NotIn`, `And`, `Or`, `Nand`, `Nor` |
6
+ | `IDataFilter` | Structured filter query | `{ operator: EDataFilterOperator, field: string \| IDataFilter[], active: boolean }` |
7
+ | `IDataSort` | Sorting configuration | `{ field: string, direction: 'asc' \| 'desc' }` |
8
+ | `IDataResult` | Standardized API response | `{ rowCount: number, rows: any[] }` |
9
+ | `ECacheStrategy` | Caching persistence tiers | `Memory`, `ServerSession`, `BrowserSession`, `LocalStorage`, `IndexedDB`, `Cookie`, `Application` |
10
+ | `IDataProviderOptions` | Constructor configuration | See table in §3.2 |
11
+ | `IKDatatableAction` | Row/Bulk action config | `{ label: string, action: Function, icon?: string, iconOnly?: boolean, type?: string, visible?: Function }` |
12
+ | `ITreeNode` | Tree node wrapper | `{ data: any, id: any, parentId: any, depth: number, hasChildren: boolean, isExpanded: boolean }` |
13
+ | `ICompositeItem`| Composite input pair | `{ selection: any, value: any }` (e.g. `{ selection: 'en', value: 'Hello' }`) |
14
+
15
+ ### Standard Data Structure (`IDataResult`)
16
+ All Katlux DataProviders (and components consuming them, such as `KDatatable`, `KLineChart`, `KBarChart`, `KPieChart`, `KCombobox`, etc.) use `IDataResult` as the standard payload format:
17
+ ```typescript
18
+ interface IDataResult<T = any> {
19
+ rowCount: number // Total record count (for pagination math)
20
+ rows: T[] // Array of row item objects
21
+ }
22
+ ```
23
+
24
+ - **`CFlatClientDataProvider.setData(data: TDataRow[])`**: Accepts an array of row objects (`TDataRow[]`) to populate local client-side data.
25
+ - **Provider-Agnostic Integration**: Katlux components (Datatables, Charts, Pickers) do NOT depend on a specific DataProvider class. They accept any DataProvider instance (`CAPIFlatServerDataProvider`, `CFlatClientDataProvider`, `CAPIFlatClientDataProvider`, `RequestProvider`, etc.) or plain reactive arrays. Internal composables (`useChartData`, `useFilterLogic`) automatically extract rows from `.pageData` or `.allData` refs.
26
+
27
+ ---
@@ -0,0 +1,51 @@
1
+ ## 3.2.1. Vue 3 Integration: `useDataProvider` Composable & Pinia Store Sync
2
+
3
+ For idiomatic Vue 3 / Nuxt 3 applications, `@katlux/toolkit` provides the `useDataProvider` bridge composable with built-in bidirectional store syncing:
4
+
5
+ ```typescript
6
+ import { CFlatClientDataProvider } from '@katlux/providers'
7
+ import { useDataProvider } from '#toolkit/composables/useDataProvider'
8
+ import { useCatalogStore } from '~/stores/catalog'
9
+ import { storeToRefs } from 'pinia'
10
+
11
+ const provider = new CFlatClientDataProvider({ pageSize: 10 })
12
+ provider.setData(users)
13
+
14
+ // Optional: Pass external Pinia store refs for bidirectional synchronization
15
+ const store = useCatalogStore()
16
+ const { currentPage, pageSize, filter, sortList } = storeToRefs(store)
17
+
18
+ // Idiomatic Vue 3 refs with automatic scope disposal (no SSR leaks) and recursion-safe two-way syncing:
19
+ const {
20
+ pageData, // ShallowRef<T[]> (current page data)
21
+ virtualRows, // ShallowRef<T[]> (full ordered array of visible rows for virtual scroll)
22
+ rowCount, // Ref<number>
23
+ loading, // Ref<boolean>
24
+ error, // Ref<any>
25
+ currentPage, // Ref<number> (synced with Pinia)
26
+ pageSize, // Ref<number> (synced with Pinia)
27
+ filter, // Ref<IDataFilter | null> (synced with Pinia)
28
+ sortList, // Ref<IDataSort[]> (synced with Pinia)
29
+ setCurrentPage, // (page: number) => void
30
+ setPageSize, // (size: number) => void
31
+ setFilter, // (filter: IDataFilter | null) => void
32
+ setSortList, // (sortList: IDataSort[]) => void
33
+ refresh, // (hardRefresh?: boolean) => Promise<void>
34
+ loadPageData, // (options?: { disableCache?: boolean }) => void
35
+ getState, // () => IDataProviderState<T>
36
+ setState, // (partial: Partial<IDataProviderState<T>>) => void
37
+ } = useDataProvider(provider, {
38
+ currentPage,
39
+ pageSize,
40
+ filter,
41
+ sortList
42
+ })
43
+ ```
44
+
45
+ ### Why use `useDataProvider`?
46
+ 1. **Idiomatic Vue Reactivity**: Directly works with `watch()`, `computed()`, and template auto-unwrapping.
47
+ 2. **Lifecycle Safety**: Subscribes to the provider and automatically cleans up via `onScopeDispose()` when the component unmounts. This completely eliminates SSR memory leaks in Nuxt.
48
+ 3. **Pinia & URL Store Bridge**: Connect any external refs directly through `options`; bidirectional updates are guarded with internal recursion locks to prevent endless loops.
49
+ 4. **Component Compatibility**: Katlux components like `KDatatable`, `KCombobox`, and `KProductList` consume `useDataProvider` under the hood when given a provider instance via `:dataProvider="myProvider"`.
50
+
51
+ ---
@@ -0,0 +1,133 @@
1
+ ---
2
+ name: katlux-tokens
3
+ description: Complete CSS Custom Properties and design tokens reference for the Katlux Toolkit. Covers all color tokens, typography/spacing/layout tokens, component-specific tokens (buttons, inputs, panels, datatables), and override patterns. Use this skill when writing styles, overriding CSS variables, or building custom presets.
4
+ ---
5
+
6
+ # Katlux Toolkit: CSS Custom Properties / Design Tokens Reference
7
+
8
+ Katlux Toolkit uses CSS Custom Properties (`var(--variable-name)`) scoped to `[data-preset]` root selectors for dynamic, runtime theming.
9
+
10
+ > [!IMPORTANT]
11
+ > **Never use hardcoded hex colors or arbitrary px values in components; always use these semantic tokens.**
12
+
13
+ ---
14
+
15
+ ## 5.1. Color Tokens
16
+
17
+ | Category | Variable Name | Description |
18
+ | --- | --- | --- |
19
+ | **Primary** | `--primary-100`, `--primary-300`, `--primary-500`, `--primary-700`, `--primary-900` | Lightest to darkest primary brand shades |
20
+ | **Accent** | `--accent-100`, `--accent-300`, `--accent-500`, `--accent-700`, `--accent-900` | Lightest to darkest accent shades |
21
+ | **Neutral Scale** | `--neutral-50`, `--neutral-100`, `--neutral-200`, `--neutral-300`, `--neutral-400`, `--neutral-500`, `--neutral-600`, `--neutral-700`, `--neutral-800`, `--neutral-900` | Neutral surface, border, and text shades |
22
+ | **Yellow Palette** | `--yellow-100`, `--yellow-300`, `--yellow-500`, `--yellow-700`, `--yellow-900` | Extended yellow color ramp |
23
+ | **Red Palette** | `--red-100`, `--red-300`, `--red-500`, `--red-700`, `--red-900` | Extended red color ramp |
24
+ | **Blue Palette** | `--blue-100`, `--blue-300`, `--blue-500`, `--blue-700`, `--blue-900` | Extended blue color ramp |
25
+ | **Pink Palette** | `--pink-100`, `--pink-300`, `--pink-500`, `--pink-700`, `--pink-900` | Extended pink color ramp |
26
+ | **Cyan Palette** | `--cyan-100`, `--cyan-300`, `--cyan-500`, `--cyan-700`, `--cyan-900` | Extended cyan color ramp |
27
+ | **Green Palette** | `--green-100`, `--green-300`, `--green-500`, `--green-700`, `--green-900` | Extended green color ramp |
28
+ | **Semantic Status** | `--success-color`, `--success-color-light`, `--warning-color`, `--warning-color-light`, `--error-color`, `--error-color-light`, `--info-color`, `--info-color-light` | Feedback and status indicator colors |
29
+ | **Semantic Shades** | `--success-500`, `--warning-500`, `--danger-500`, `--info-500` | Direct semantic shade references (used by validation states) |
30
+ | **Font Colors** | `--font-color-primary`, `--font-color-secondary`, `--font-color-heading`, `--font-color-light` | Theme-aware text colors |
31
+ | **Surface & Borders**| `--background-color`, `--background-color-light`, `--background-color-medium`, `--background-color-dark`, `--border-color-light`, `--border-color-medium`, `--border-color-dark` | Surface backgrounds and structural border dividers |
32
+ | **Border** | `--border-color` | Default border color |
33
+
34
+ ---
35
+
36
+ ## 5.2. Typography, Spacing & Layout Tokens
37
+
38
+ | Category | Variable Name | Description |
39
+ | --- | --- | --- |
40
+ | **Typography** | `--font-family`, `--font-family-mono` | Main and monospace font stacks |
41
+ | **Font Sizes** | `--font-size-xs`, `--font-size-sm`, `--font-size-md`, `--font-size-lg`, `--font-size-xl` | Text sizes (`10px` / `12px` / `14px` / `16px` / `18px` default) |
42
+ | **Font Weights** | `--font-weight-normal`, `--font-weight-medium`, `--font-weight-semibold`, `--font-weight-bold` | Font weights (`400` / `500` / `600` / `700`) |
43
+ | **Gaps & Spacing** | `--gap-sm`, `--gap-md`, `--gap-lg`, `--gap-xl`, `--grid-gap`, `--component-gap` | Uniform layout and component spacing |
44
+ | **Transitions** | `--transition-fast`, `--transition-normal`, `--transition-slow`, `--transition-bounce` | Standard micro-animation transition curves |
45
+ | **Layout** | `--layout-header-height`, `--layout-header-bg`, `--layout-sidebar-width`, `--layout-sidebar-bg`, `--layout-content-bg` | Core layout container geometry and backgrounds |
46
+
47
+ ---
48
+
49
+ ## 5.3. Component-Specific Tokens
50
+
51
+ | Category | Variable Name | Description |
52
+ | --- | --- | --- |
53
+ | **Radii & Shadows** | `--border-radius-sm`, `--border-radius-md`, `--border-radius-lg`, `--border-radius-xl`, `--border-radius-full`, `--shadow-sm`, `--shadow-md`, `--shadow-lg`, `--shadow-xl` | Border rounding and depth elevation shadows |
54
+ | **Buttons** | `--button-border-radius`, `--button-font-size-sm`, `--button-font-size-md`, `--button-font-size-lg`, `--button-bg-default`, `--button-text-default`, `--button-hover-bg-default`, `--button-bg-primary`, `--button-text-primary`, `--button-hover-bg-primary`, `--button-bg-success`, `--button-bg-warning`, `--button-bg-danger`, `--button-bg-info`, `--button-bg-light`, `--button-bg-dark` (and corresponding `--button-text-*`, `--button-hover-bg-*`) | Button dimensions, typography, variants, and interactive states |
55
+ | **Panels & Modals** | `--panel-bg-default`, `--panel-header-bg-default`, `--panel-footer-bg-default`, `--panel-bg-primary`, `--panel-bg-success`, `--panel-bg-warning`, `--panel-bg-danger`, `--panel-bg-info`, `--panel-bg-opacity`, `--panel-blur`, `--component-overlay-bg`, `--table-overlay-bg`, `--modal-overlay-bg`, `--modal-backdrop-blur` | Panel headers/footers, overlays, and modal backdrops |
56
+ | **Form Inputs** | `--input-bg`, `--input-border-radius`, `--input-border-color`, `--input-border`, `--input-hover-border-color`, `--input-focus-border-color`, `--input-focus-shadow`, `--input-height`, `--input-min-width`, `--input-label-color`, `--input-button-bg`, `--checkbox-bg`, `--checkbox-checked-bg`, `--checkbox-border-color`, `--checkbox-border-radius` | Textboxes, textareas, comboboxes, pickers, and checkboxes |
57
+ | **Datatables** | `--table-border-color`, `--table-header-bg`, `--table-header-color`, `--table-row-bg`, `--table-row-alt-bg`, `--table-row-hover-bg`, `--table-row-selected-bg`, `--table-row-text-color` | Datatable headers, rows, alternating row colors, and selections |
58
+
59
+ ---
60
+
61
+ ## 5.4. Overriding Design Tokens
62
+
63
+ ### Global Preset Override
64
+ Redefine variables under the `[data-preset="preset-name"]` selector in your preset's `assets/scss/css-variables.scss`:
65
+
66
+ ```scss
67
+ /* presets/modern/assets/scss/css-variables.scss */
68
+ [data-preset="modern"] {
69
+ --primary-500: #8b5cf6; // Custom primary brand color
70
+ --border-radius-md: 12px; // Custom card corner rounding
71
+ --input-bg: #f1f5f9; // Custom form field background
72
+ }
73
+ ```
74
+
75
+ > [!TIP]
76
+ > Use `[data-preset~="preset-name"]` (space-separated attribute selector) when your preset name may appear alongside other preset names in the same attribute. Never use `*=` (substring matching). Avoid `!important` to enable smooth dynamic preset switching.
77
+
78
+ ### Component-Level Override
79
+ Apply scoped variable overrides directly to a CSS class or component container:
80
+
81
+ ```scss
82
+ /* Scoped component override */
83
+ .custom-hero-card {
84
+ --panel-bg-default: #1e293b;
85
+ --font-color-primary: #ffffff;
86
+ --button-bg-primary: #ec4899;
87
+ }
88
+ ```
89
+
90
+ ---
91
+
92
+ ## Quick Reference: Most Commonly Used Tokens
93
+
94
+ ```scss
95
+ // Brand
96
+ --primary-500 // Main brand color
97
+ --accent-500 // Accent/highlight color
98
+
99
+ // Text
100
+ --font-color-primary // Primary text
101
+ --font-color-secondary // Secondary/muted text
102
+ --font-color-heading // Heading text
103
+
104
+ // Surfaces
105
+ --background-color // Page/app background
106
+ --background-color-light // Lighter surface (cards, panels)
107
+ --border-color // Default border
108
+
109
+ // Spacing
110
+ --gap-sm // Small gap (e.g. 4px or 8px)
111
+ --gap-md // Medium gap (e.g. 12px or 16px)
112
+ --gap-lg // Large gap (e.g. 24px)
113
+ --gap-xl // Extra-large gap
114
+
115
+ // Shape
116
+ --border-radius-md // Standard radius for inputs, buttons
117
+ --border-radius-lg // Larger radius for cards, panels
118
+
119
+ // Shadows
120
+ --shadow-sm // Subtle depth
121
+ --shadow-md // Standard card shadow
122
+ --shadow-lg // Elevated/modal shadow
123
+
124
+ // Animation
125
+ --transition-fast // Quick micro-interaction
126
+ --transition-normal // Standard hover/focus transition
127
+
128
+ // Semantic
129
+ --success-500 // Green (validation success)
130
+ --warning-500 // Yellow (validation warning)
131
+ --danger-500 // Red (validation error, danger)
132
+ --info-500 // Blue (informational)
133
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/toolkit",
3
- "version": "0.1.1-alpha.129",
3
+ "version": "0.1.1-alpha.131",
4
4
  "description": "Core UI toolkit and utilities for the Katlux ecosystem",
5
5
  "author": "Katlux",
6
6
  "license": "Apache-2.0",
@@ -15,7 +15,7 @@
15
15
  "katlux-add-ref": "./bin/add-ai-reference.mjs"
16
16
  },
17
17
  "scripts": {
18
- "build": "nuxt-module-build build && unbuild && node -e \"const fs=require('fs'); fs.mkdirSync('dist/runtime', {recursive:true}); fs.cpSync('src/runtime/presets', 'dist/runtime/presets', {recursive:true}); const clean=(d)=>{if(!fs.existsSync(d))return;for(const f of fs.readdirSync(d,{withFileTypes:true})){const p=d+'/'+f.name;if(f.isDirectory())clean(p);else if(f.name.includes('.spec.'))fs.unlinkSync(p);}};clean('dist');\"",
18
+ "build": "nuxt-module-build build && unbuild && node -e \"const fs=require('fs'); fs.mkdirSync('dist/runtime', {recursive:true}); fs.cpSync('src/runtime/presets', 'dist/runtime/presets', {recursive:true}); const clean=(d)=>{if(!fs.existsSync(d))return;for(const f of fs.readdirSync(d,{withFileTypes:true})){const p=d+'/'+f.name;if(f.isDirectory())clean(p);else if(f.name.includes('.spec.'))fs.unlinkSync(p);}};clean('dist'); const sRoot='../../.agents/skills'; if(fs.existsSync(sRoot)){fs.mkdirSync('dist/skills', {recursive:true}); fs.cpSync(sRoot, 'dist/skills', {recursive:true, filter:(s)=>!s.includes('.DS_Store')});}\"",
19
19
  "dev": "nuxt-module-build build --stub",
20
20
  "prepare": "nuxi prepare",
21
21
  "prepublishOnly": "npm run build"
@@ -54,7 +54,7 @@
54
54
  "**/*.sass"
55
55
  ],
56
56
  "dependencies": {
57
- "@katlux/providers": "^0.1.1-alpha.117",
57
+ "@katlux/providers": "^0.1.1-alpha.118",
58
58
  "@nuxt/kit": "^3.12.0",
59
59
  "@nuxtjs/i18n": "^10.4.0",
60
60
  "pug": "^3.0.0",