@lssm/example.learning-journey-ui-shared 0.0.0-canary-20251221132705 → 0.0.0-canary-20251221144710

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.
@@ -22,10 +22,10 @@ $ tsdown
22
22
  ℹ dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js 16.98 kB │ gzip: 7.25 kB
23
23
  ℹ dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map 11.99 kB │ gzip: 4.51 kB
24
24
  ℹ dist/libs/contracts/dist/docs/tech/schema/README.docblock.js 11.26 kB │ gzip: 4.34 kB
25
- ℹ dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map 11.19 kB │ gzip: 3.74 kB
25
+ ℹ dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map 11.22 kB │ gzip: 3.75 kB
26
26
  ℹ dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map 10.60 kB │ gzip: 4.02 kB
27
27
  ℹ dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js 10.02 kB │ gzip: 3.85 kB
28
- ℹ dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js  9.58 kB │ gzip: 3.53 kB
28
+ ℹ dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js  9.61 kB │ gzip: 3.53 kB
29
29
  ℹ dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map  6.33 kB │ gzip: 2.84 kB
30
30
  ℹ dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map  6.17 kB │ gzip: 2.52 kB
31
31
  ℹ dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js  5.90 kB │ gzip: 2.68 kB
@@ -55,10 +55,7 @@ $ tsdown
55
55
  ℹ dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map  2.58 kB │ gzip: 1.16 kB
56
56
  ℹ dist/libs/contracts/dist/docs/registry.js.map  2.51 kB │ gzip: 1.01 kB
57
57
  ℹ dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js  2.46 kB │ gzip: 1.15 kB
58
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/LoaderCircular.js
59
58
  ℹ dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map  2.41 kB │ gzip: 1.06 kB
60
- ╭─[ ../../libs/design-system/dist/components/atoms/LoaderCircular.js:5:25 ]
61
- │
62
59
  ℹ dist/components/BadgeDisplay.js.map  2.40 kB │ gzip: 1.14 kB
63
60
  ℹ dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map  2.26 kB │ gzip: 1.00 kB
64
61
  ℹ dist/libs/design-system/dist/components/atoms/Button.js.map  2.25 kB │ gzip: 0.93 kB
@@ -68,24 +65,17 @@ $ tsdown
68
65
  ℹ dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js  2.09 kB │ gzip: 0.99 kB
69
66
  ℹ dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js  2.08 kB │ gzip: 1.00 kB
70
67
  ℹ dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map  1.95 kB │ gzip: 0.95 kB
71
- 5 │ import { Loader2 } from "lucide-react";
72
68
  ℹ dist/components/ViewTabs.js.map  1.92 kB │ gzip: 0.88 kB
73
69
  ℹ dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js  1.91 kB │ gzip: 0.90 kB
74
70
  ℹ dist/components/XpBar.js.map  1.91 kB │ gzip: 0.89 kB
75
71
  ℹ dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js  1.78 kB │ gzip: 0.84 kB
76
-  │ ───────┬──────
77
72
  ℹ dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map  1.64 kB │ gzip: 0.83 kB
78
-  │ ╰──────── Module not found, treating it as an external dependency
79
73
  ℹ dist/components/StreakCounter.js.map  1.63 kB │ gzip: 0.79 kB
80
74
  ℹ dist/libs/design-system/dist/_virtual/rolldown_runtime.js.map  1.55 kB │ gzip: 0.73 kB
81
-  │
82
75
  ℹ dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js  1.51 kB │ gzip: 0.79 kB
83
76
  ℹ dist/libs/design-system/dist/components/atoms/Button.js  1.41 kB │ gzip: 0.62 kB
84
77
  ℹ dist/libs/contracts/dist/docs/meta.docs.js.map  1.38 kB │ gzip: 0.78 kB
85
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
86
78
  ℹ dist/libs/contracts/dist/docs/index.js  1.38 kB │ gzip: 0.43 kB
87
- ───╯
88
-
89
79
  ℹ dist/libs/contracts/dist/docs/registry.js  1.29 kB │ gzip: 0.58 kB
90
80
  ℹ dist/libs/ui-kit-web/dist/ui/progress.js.map  1.22 kB │ gzip: 0.65 kB
91
81
  ℹ dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js  1.20 kB │ gzip: 0.67 kB
@@ -119,16 +109,46 @@ $ tsdown
119
109
  ℹ dist/hooks/index.d.ts  0.10 kB │ gzip: 0.07 kB
120
110
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
121
111
  ℹ dist/docs/learning-journey-ui-shared.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
122
- ℹ 103 files, total: 280.00 kB
123
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/Header.js
124
- ╭─[ ../../libs/design-system/dist/components/organisms/Header.js:14:22 ]
125
- │
126
- 14 │ import { Menu } from "lucide-react";
127
-  │ ───────┬──────
128
-  │ ╰──────── Module not found, treating it as an external dependency
129
-  │
130
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
131
- ────╯
112
+ ℹ 103 files, total: 280.06 kB
113
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/Button.js
114
+ ╭─[ ../../libs/design-system/dist/components/atoms/Button.js:4:25 ]
115
+ │
116
+ 4 │ import { Loader2 } from "lucide-react";
117
+  │ ───────┬──────
118
+  │ ╰──────── Module not found, treating it as an external dependency
119
+  │
120
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
121
+ ───╯
122
+
123
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/ActionButtons.js
124
+ ╭─[ ../../libs/design-system/dist/components/atoms/ActionButtons.js:7:60 ]
125
+ │
126
+ 7 │ import { Edit, Eye, ToggleLeft, ToggleRight, Trash2 } from "lucide-react";
127
+  │ ───────┬──────
128
+  │ ╰──────── Module not found, treating it as an external dependency
129
+  │
130
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
131
+ ───╯
132
+
133
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/LoaderCircular.js
134
+ ╭─[ ../../libs/design-system/dist/components/atoms/LoaderCircular.js:5:25 ]
135
+ │
136
+ 5 │ import { Loader2 } from "lucide-react";
137
+  │ ───────┬──────
138
+  │ ╰──────── Module not found, treating it as an external dependency
139
+  │
140
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
141
+ ───╯
142
+
143
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/DataChips.js
144
+ ╭─[ ../../libs/design-system/dist/components/atoms/DataChips.js:4:41 ]
145
+ │
146
+ 4 │ import { Calendar, Clock, MapPin } from "lucide-react";
147
+  │ ───────┬──────
148
+  │ ╰──────── Module not found, treating it as an external dependency
149
+  │
150
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
151
+ ───╯
132
152
 
133
153
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/MarketingHeader.js
134
154
  ╭─[ ../../libs/design-system/dist/components/organisms/MarketingHeader.js:19:22 ]
@@ -140,16 +160,6 @@ $ tsdown
140
160
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
141
161
  ────╯
142
162
 
143
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/molecules/CommandSearchTrigger.js
144
- ╭─[ ../../libs/design-system/dist/components/molecules/CommandSearchTrigger.js:8:28 ]
145
- │
146
- 8 │ import { SearchIcon } from "lucide-react";
147
-  │ ───────┬──────
148
-  │ ╰──────── Module not found, treating it as an external dependency
149
-  │
150
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
151
- ───╯
152
-
153
163
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/marketing/MarketingComparisonSection.js
154
164
  ╭─[ ../../libs/design-system/dist/components/marketing/MarketingComparisonSection.js:6:29 ]
155
165
  │
@@ -160,12 +170,22 @@ $ tsdown
160
170
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
161
171
  ───╯
162
172
 
163
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/Button.js
164
- ╭─[ ../../libs/design-system/dist/components/atoms/Button.js:4:25 ]
173
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/Header.js
174
+ ╭─[ ../../libs/design-system/dist/components/organisms/Header.js:14:22 ]
175
+ │
176
+ 14 │ import { Menu } from "lucide-react";
177
+  │ ───────┬──────
178
+  │ ╰──────── Module not found, treating it as an external dependency
179
+  │
180
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
181
+ ────╯
182
+
183
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/molecules/CommandSearchTrigger.js
184
+ ╭─[ ../../libs/design-system/dist/components/molecules/CommandSearchTrigger.js:8:28 ]
165
185
  │
166
- 4 │ import { Loader2 } from "lucide-react";
167
-  │ ───────┬──────
168
-  │ ╰──────── Module not found, treating it as an external dependency
186
+ 8 │ import { SearchIcon } from "lucide-react";
187
+  │ ───────┬──────
188
+  │ ╰──────── Module not found, treating it as an external dependency
169
189
   │
170
190
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
171
191
  ───╯
@@ -180,22 +200,22 @@ $ tsdown
180
200
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
181
201
  ────╯
182
202
 
183
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/DataChips.js
184
- ╭─[ ../../libs/design-system/dist/components/atoms/DataChips.js:4:41 ]
203
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js
204
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js:6:39 ]
185
205
  │
186
- 4 │ import { Calendar, Clock, MapPin } from "lucide-react";
187
-  │ ───────┬──────
188
-  │ ╰──────── Module not found, treating it as an external dependency
206
+ 6 │ import { CheckIcon, CircleIcon } from "lucide-react";
207
+  │ ───────┬──────
208
+  │ ╰──────── Module not found, treating it as an external dependency
189
209
   │
190
210
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
191
211
  ───╯
192
212
 
193
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/ActionButtons.js
194
- ╭─[ ../../libs/design-system/dist/components/atoms/ActionButtons.js:7:60 ]
213
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js
214
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js:5:59 ]
195
215
  │
196
- 7 │ import { Edit, Eye, ToggleLeft, ToggleRight, Trash2 } from "lucide-react";
197
-  │ ───────┬──────
198
-  │ ╰──────── Module not found, treating it as an external dependency
216
+ 5 │ import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
217
+  │ ───────┬──────
218
+  │ ╰──────── Module not found, treating it as an external dependency
199
219
   │
200
220
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
201
221
  ───╯
@@ -210,46 +230,26 @@ $ tsdown
210
230
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
211
231
  ───╯
212
232
 
213
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js
214
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js:5:46 ]
215
- │
216
- 5 │ import { ChevronRight, MoreHorizontal } from "lucide-react";
217
-  │ ───────┬──────
218
-  │ ╰──────── Module not found, treating it as an external dependency
219
-  │
220
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
221
- ───╯
222
-
223
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js
224
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js:5:59 ]
233
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js
234
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js:6:59 ]
225
235
  │
226
- 5 │ import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
236
+ 6 │ import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
227
237
   │ ───────┬──────
228
238
   │ ╰──────── Module not found, treating it as an external dependency
229
239
   │
230
240
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
231
241
  ───╯
232
242
 
233
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js
234
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js:6:23 ]
243
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js
244
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js:6:28 ]
235
245
  │
236
- 6 │ import { XIcon } from "lucide-react";
237
-  │ ───────┬──────
238
-  │ ╰──────── Module not found, treating it as an external dependency
246
+ 6 │ import { CircleIcon } from "lucide-react";
247
+  │ ───────┬──────
248
+  │ ╰──────── Module not found, treating it as an external dependency
239
249
   │
240
250
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
241
251
  ───╯
242
252
 
243
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js
244
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js:12:8 ]
245
- │
246
- 12 │ import "lucide-react";
247
-  │ ───────┬──────
248
-  │ ╰──────── Module not found, treating it as an external dependency
249
-  │
250
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
251
- ────╯
252
-
253
253
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js
254
254
  ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js:9:58 ]
255
255
  │
@@ -260,12 +260,12 @@ $ tsdown
260
260
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
261
261
  ───╯
262
262
 
263
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js
264
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js:6:39 ]
263
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js
264
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js:6:23 ]
265
265
  │
266
- 6 │ import { CheckIcon, CircleIcon } from "lucide-react";
267
-  │ ───────┬──────
268
-  │ ╰──────── Module not found, treating it as an external dependency
266
+ 6 │ import { XIcon } from "lucide-react";
267
+  │ ───────┬──────
268
+  │ ╰──────── Module not found, treating it as an external dependency
269
269
   │
270
270
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
271
271
  ───╯
@@ -280,72 +280,72 @@ $ tsdown
280
280
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
281
281
  ───╯
282
282
 
283
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js
284
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js:6:23 ]
283
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js
284
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js:7:39 ]
285
285
  │
286
- 6 │ import { XIcon } from "lucide-react";
287
-  │ ───────┬──────
288
-  │ ╰──────── Module not found, treating it as an external dependency
286
+ 7 │ import { ArrowLeft, ArrowRight } from "lucide-react";
287
+  │ ───────┬──────
288
+  │ ╰──────── Module not found, treating it as an external dependency
289
289
   │
290
290
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
291
291
  ───╯
292
292
 
293
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js
294
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js:6:59 ]
293
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js
294
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js:6:27 ]
295
295
  │
296
- 6 │ import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
297
-  │ ───────┬──────
298
-  │ ╰──────── Module not found, treating it as an external dependency
296
+ 6 │ import { CheckIcon } from "lucide-react";
297
+  │ ───────┬──────
298
+  │ ╰──────── Module not found, treating it as an external dependency
299
299
   │
300
300
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
301
301
  ───╯
302
302
 
303
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/molecules/LangSwitchDropdown.js
304
- ╭─[ ../../libs/design-system/dist/components/molecules/LangSwitchDropdown.js:4:23 ]
303
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js
304
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js:7:28 ]
305
305
  │
306
- 4 │ import { Globe } from "lucide-react";
307
-  │ ───────┬──────
308
-  │ ╰──────── Module not found, treating it as an external dependency
306
+ 7 │ import { SearchIcon } from "lucide-react";
307
+  │ ───────┬──────
308
+  │ ╰──────── Module not found, treating it as an external dependency
309
309
   │
310
310
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
311
311
  ───╯
312
312
 
313
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js
314
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js:7:39 ]
313
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/molecules/LangSwitchDropdown.js
314
+ ╭─[ ../../libs/design-system/dist/components/molecules/LangSwitchDropdown.js:4:23 ]
315
315
  │
316
- 7 │ import { ArrowLeft, ArrowRight } from "lucide-react";
317
-  │ ───────┬──────
318
-  │ ╰──────── Module not found, treating it as an external dependency
316
+ 4 │ import { Globe } from "lucide-react";
317
+  │ ───────┬──────
318
+  │ ╰──────── Module not found, treating it as an external dependency
319
319
   │
320
320
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
321
321
  ───╯
322
322
 
323
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js
324
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js:7:28 ]
325
- │
326
- 7 │ import { SearchIcon } from "lucide-react";
327
-  │ ───────┬──────
328
-  │ ╰──────── Module not found, treating it as an external dependency
329
-  │
330
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
331
- ───╯
323
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js
324
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js:12:8 ]
325
+ │
326
+ 12 │ import "lucide-react";
327
+  │ ───────┬──────
328
+  │ ╰──────── Module not found, treating it as an external dependency
329
+  │
330
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
331
+ ────╯
332
332
 
333
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js
334
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js:6:28 ]
333
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js
334
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js:6:23 ]
335
335
  │
336
- 6 │ import { CircleIcon } from "lucide-react";
337
-  │ ───────┬──────
338
-  │ ╰──────── Module not found, treating it as an external dependency
336
+ 6 │ import { XIcon } from "lucide-react";
337
+  │ ───────┬──────
338
+  │ ╰──────── Module not found, treating it as an external dependency
339
339
   │
340
340
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
341
341
  ───╯
342
342
 
343
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js
344
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js:6:27 ]
343
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js
344
+ ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js:5:46 ]
345
345
  │
346
- 6 │ import { CheckIcon } from "lucide-react";
347
-  │ ───────┬──────
348
-  │ ╰──────── Module not found, treating it as an external dependency
346
+ 5 │ import { ChevronRight, MoreHorizontal } from "lucide-react";
347
+  │ ───────┬──────
348
+  │ ╰──────── Module not found, treating it as an external dependency
349
349
   │
350
350
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
351
351
  ───╯
@@ -380,5 +380,5 @@ $ tsdown
380
380
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
381
381
  ───╯
382
382
 
383
- ✔ Build complete in 41054ms
383
+ ✔ Build complete in 37122ms
384
384
  $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lssm/example.learning-journey-ui-shared
2
2
 
3
- ## 0.0.0-canary-20251221132705
3
+ ## 0.0.0-canary-20251221144710
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,8 +9,8 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies [66a5dfd]
12
- - @lssm/lib.contracts@0.0.0-canary-20251221132705
13
- - @lssm/lib.design-system@0.0.0-canary-20251221132705
14
- - @lssm/lib.schema@0.0.0-canary-20251221132705
15
- - @lssm/lib.ui-kit-web@0.0.0-canary-20251221132705
16
- - @lssm/module.learning-journey@0.0.0-canary-20251221132705
12
+ - @lssm/lib.contracts@0.0.0-canary-20251221144710
13
+ - @lssm/lib.design-system@0.0.0-canary-20251221144710
14
+ - @lssm/lib.schema@0.0.0-canary-20251221144710
15
+ - @lssm/lib.ui-kit-web@0.0.0-canary-20251221144710
16
+ - @lssm/module.learning-journey@0.0.0-canary-20251221144710
@@ -88,11 +88,11 @@ llm.verify { specPath: "path/to/my.spec.ts", implementationPath: "path/to/impl.t
88
88
  ### Programmatic Usage
89
89
 
90
90
  \`\`\`typescript
91
- import { specToFullMarkdown, specToAgentPrompt } from '@lssm/lib.contracts/llm';
91
+ import { operationSpecToFullMarkdown, operationSpecToAgentPrompt } from '@lssm/lib.contracts/llm';
92
92
  import { createAgentGuideService, createVerifyService } from '@lssm/bundle.contractspec-workspace';
93
93
 
94
94
  // Export
95
- const markdown = specToFullMarkdown(mySpec);
95
+ const markdown = operationSpecToFullMarkdown(mySpec);
96
96
 
97
97
  // Generate guide
98
98
  const guideService = createAgentGuideService({ defaultAgent: 'claude-code' });
@@ -1 +1 @@
1
- {"version":3,"file":"llm-integration.docblock.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region src/docs/tech/llm/llm-integration.docblock.ts\nconst tech_llm_integration_DocBlocks = [\n\t{\n\t\tid: \"docs.tech.llm.overview\",\n\t\ttitle: \"LLM Integration Overview\",\n\t\tsummary: \"Export specs to LLM-friendly formats, generate implementation guides, and verify implementations.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/overview\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"ai\",\n\t\t\t\"export\",\n\t\t\t\"guide\",\n\t\t\t\"verify\"\n\t\t],\n\t\tbody: `# LLM Integration\n\nContractSpec provides first-class LLM integration to bridge specifications and AI coding agents.\n\n## Core Features\n\n### 1. Multi-Format Export\n\nExport specs to markdown in formats optimized for LLM consumption:\n\n- **Context format**: Summary for understanding (goal, context, acceptance criteria)\n- **Full format**: Complete spec with all details (I/O schemas, policy, events)\n- **Prompt format**: Actionable prompt with implementation instructions\n\n### 2. Implementation Guidance\n\nGenerate agent-specific implementation plans:\n\n- **Claude Code**: Extended thinking mode with structured prompts\n- **Cursor CLI**: Background/composer mode with .mdc rules generation\n- **Generic MCP**: Standard format for any MCP-compatible agent\n\n### 3. Tiered Verification\n\nVerify implementations against specs:\n\n- **Tier 1 (Structure)**: Types, exports, imports validation\n- **Tier 2 (Behavior)**: Scenario coverage, error handling, events\n- **Tier 3 (AI Review)**: Semantic compliance analysis via LLM\n\n## Access Points\n\n| Surface | Commands/Tools |\n|---------|---------------|\n| CLI | \\`contractspec llm export\\`, \\`guide\\`, \\`verify\\`, \\`copy\\` |\n| MCP | \\`llm.export\\`, \\`llm.guide\\`, \\`llm.verify\\` tools |\n| VSCode | Export to LLM, Generate Guide, Verify, Copy commands |\n\n## Quick Start\n\n### CLI Usage\n\n\\`\\`\\`bash\n# Export spec as markdown\ncontractspec llm export path/to/my.spec.ts --format full\n\n# Generate implementation guide\ncontractspec llm guide path/to/my.spec.ts --agent claude-code\n\n# Verify implementation\ncontractspec llm verify path/to/my.spec.ts path/to/impl.ts --tier 2\n\n# Copy spec to clipboard\ncontractspec llm copy path/to/my.spec.ts --format context\n\\`\\`\\`\n\n### MCP Usage\n\n\\`\\`\\`\n# Export spec\nllm.export { specPath: \"path/to/my.spec.ts\", format: \"full\" }\n\n# Generate guide\nllm.guide { specPath: \"path/to/my.spec.ts\", agent: \"cursor-cli\" }\n\n# Verify implementation\nllm.verify { specPath: \"path/to/my.spec.ts\", implementationPath: \"path/to/impl.ts\", tier: \"2\" }\n\\`\\`\\`\n\n### Programmatic Usage\n\n\\`\\`\\`typescript\nimport { specToFullMarkdown, specToAgentPrompt } from '@lssm/lib.contracts/llm';\nimport { createAgentGuideService, createVerifyService } from '@lssm/bundle.contractspec-workspace';\n\n// Export\nconst markdown = specToFullMarkdown(mySpec);\n\n// Generate guide\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst guide = guideService.generateGuide(mySpec);\n\n// Verify\nconst verifyService = createVerifyService();\nconst result = await verifyService.verify(mySpec, implementationCode, {\n tiers: ['structure', 'behavior']\n});\n\\`\\`\\`\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.export-formats\",\n\t\ttitle: \"LLM Export Formats\",\n\t\tsummary: \"Detailed explanation of the three export formats for LLM consumption.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/export-formats\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"export\",\n\t\t\t\"markdown\"\n\t\t],\n\t\tbody: `# LLM Export Formats\n\nContractSpec provides three export formats optimized for different LLM use cases.\n\n## Context Format\n\nBest for: Understanding what a spec does, providing background to LLMs.\n\nIncludes:\n- Spec name, version, type\n- Goal and context\n- Description\n- Acceptance scenarios\n\nExample:\n\n\\`\\`\\`markdown\n# users.createUser (v1)\n\n> Create a new user account with email verification.\n\n**Type:** command | **Stability:** stable\n\n## Goal\nCreate a new user in the system and trigger email verification.\n\n## Context\nPart of the user onboarding flow. Called after signup form submission.\n\n## Acceptance Criteria\n### Happy path\n**Given:** Valid email and password\n**When:** User submits registration\n**Then:** Account is created, verification email is sent\n\\`\\`\\`\n\n## Full Format\n\nBest for: Complete documentation, implementation reference.\n\nIncludes everything:\n- All metadata\n- JSON schemas for I/O\n- Error definitions\n- Policy (auth, rate limits, PII)\n- Events emitted\n- Examples\n- Transport configuration\n\n## Prompt Format\n\nBest for: Feeding directly to coding agents.\n\nIncludes:\n- Task header with clear instructions\n- Full spec context\n- Implementation requirements\n- Task-specific guidance (implement/test/refactor/review)\n- Expected output format\n\nThe prompt format adapts based on task type:\n- **implement**: Full implementation with tests\n- **test**: Test generation for existing code\n- **refactor**: Refactoring while maintaining behavior\n- **review**: Code review against spec\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.agent-adapters\",\n\t\ttitle: \"Agent Adapters\",\n\t\tsummary: \"Adapters for different AI coding agents (Claude, Cursor, MCP).\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/agent-adapters\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"agents\",\n\t\t\t\"claude\",\n\t\t\t\"cursor\",\n\t\t\t\"mcp\"\n\t\t],\n\t\tbody: `# Agent Adapters\n\nContractSpec provides specialized adapters for different AI coding agents.\n\n## Claude Code Adapter\n\nOptimized for Anthropic Claude's extended thinking and code generation.\n\nFeatures:\n- Structured markdown with clear sections\n- Checklists for steps and verification\n- Icons for file operations (📝 create, ✏️ modify)\n- System prompt for ContractSpec context\n\nUsage:\n\\`\\`\\`typescript\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst result = guideService.generateGuide(spec, { agent: 'claude-code' });\n// result.prompt.systemPrompt - Claude system context\n// result.prompt.taskPrompt - Task-specific instructions\n\\`\\`\\`\n\n## Cursor CLI Adapter\n\nOptimized for Cursor's background/composer mode.\n\nFeatures:\n- Compact format for context efficiency\n- .mdc cursor rules generation\n- Integration with Cursor's file system\n- Concise step lists\n\nGenerate Cursor Rules:\n\\`\\`\\`typescript\nconst cursorRules = guideService.generateAgentConfig(spec, 'cursor-cli');\n// Save to .cursor/rules/my-spec.mdc\n\\`\\`\\`\n\n## Generic MCP Adapter\n\nWorks with any MCP-compatible agent (Cline, Aider, etc.).\n\nFeatures:\n- Standard markdown format\n- Table-based metadata\n- JSON resource format support\n- Prompt message format\n\nThe generic adapter is the default and works across all agents.\n\n## Choosing an Adapter\n\n| Agent | Best For | Key Features |\n|-------|----------|--------------|\n| Claude Code | Complex implementations | Extended thinking, detailed steps |\n| Cursor CLI | IDE-integrated work | Cursor rules, compact format |\n| Generic MCP | Any MCP agent | Universal compatibility |\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.verification\",\n\t\ttitle: \"Implementation Verification\",\n\t\tsummary: \"Tiered verification of implementations against specifications.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/verification\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"verify\",\n\t\t\t\"validation\",\n\t\t\t\"testing\"\n\t\t],\n\t\tbody: `# Implementation Verification\n\nContractSpec provides tiered verification to check if implementations comply with specs.\n\n## Verification Tiers\n\n### Tier 1: Structure (Fast)\n\nChecks TypeScript structure against spec requirements:\n\n| Check | What it validates |\n|-------|------------------|\n| Handler export | Function is properly exported |\n| Contracts import | Imports from @lssm/lib.contracts |\n| Schema import | Imports from @lssm/lib.schema |\n| No \\`any\\` type | TypeScript strict compliance |\n| Error handling | Error codes are referenced |\n| Event emission | Event patterns exist |\n| Input validation | Validation patterns used |\n| Async patterns | Async/await for commands |\n\n### Tier 2: Behavior (Comprehensive)\n\nChecks implementation coverage of spec behaviors:\n\n| Check | What it validates |\n|-------|------------------|\n| Scenario coverage | Acceptance scenarios implemented |\n| Example coverage | Example I/O values referenced |\n| Error cases | All error conditions handled |\n| Event conditions | Events emitted correctly |\n| Idempotency | Idempotent patterns (if required) |\n\n### Tier 3: AI Review (Deep)\n\nUses LLM for semantic analysis:\n\n- Does the implementation fulfill the spec's intent?\n- Are edge cases properly handled?\n- Is the code quality acceptable?\n- Are there any subtle violations?\n\nRequires AI API key configuration.\n\n## Running Verification\n\n\\`\\`\\`typescript\nconst verifyService = createVerifyService({\n aiApiKey: process.env.ANTHROPIC_API_KEY, // Optional, for Tier 3\n aiProvider: 'anthropic',\n});\n\nconst result = await verifyService.verify(spec, implementationCode, {\n tiers: ['structure', 'behavior'],\n failFast: false,\n includeSuggestions: true,\n});\n\nconsole.log(result.passed); // true/false\nconsole.log(result.score); // 0-100\nconsole.log(result.summary); // Human-readable summary\n\\`\\`\\`\n\n## Verification Report\n\nThe report includes:\n\n- **passed**: Overall compliance\n- **score**: 0-100 score\n- **issues**: Array of problems found\n- **suggestions**: Recommended fixes\n- **coverage**: Metrics on scenario/error/field coverage\n\nEach issue has:\n- **severity**: error, warning, or info\n- **category**: type, export, import, scenario, error_handling, semantic\n- **message**: Description of the issue\n- **suggestion**: How to fix it\n`\n\t}\n];\nregisterDocBlocks(tech_llm_integration_DocBlocks);\n\n//#endregion\nexport { tech_llm_integration_DocBlocks };"],"mappings":";;;AAGA,MAAM,iCAAiC;CACtC;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EN;CACD;AACD,kBAAkB,+BAA+B"}
1
+ {"version":3,"file":"llm-integration.docblock.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region src/docs/tech/llm/llm-integration.docblock.ts\nconst tech_llm_integration_DocBlocks = [\n\t{\n\t\tid: \"docs.tech.llm.overview\",\n\t\ttitle: \"LLM Integration Overview\",\n\t\tsummary: \"Export specs to LLM-friendly formats, generate implementation guides, and verify implementations.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/overview\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"ai\",\n\t\t\t\"export\",\n\t\t\t\"guide\",\n\t\t\t\"verify\"\n\t\t],\n\t\tbody: `# LLM Integration\n\nContractSpec provides first-class LLM integration to bridge specifications and AI coding agents.\n\n## Core Features\n\n### 1. Multi-Format Export\n\nExport specs to markdown in formats optimized for LLM consumption:\n\n- **Context format**: Summary for understanding (goal, context, acceptance criteria)\n- **Full format**: Complete spec with all details (I/O schemas, policy, events)\n- **Prompt format**: Actionable prompt with implementation instructions\n\n### 2. Implementation Guidance\n\nGenerate agent-specific implementation plans:\n\n- **Claude Code**: Extended thinking mode with structured prompts\n- **Cursor CLI**: Background/composer mode with .mdc rules generation\n- **Generic MCP**: Standard format for any MCP-compatible agent\n\n### 3. Tiered Verification\n\nVerify implementations against specs:\n\n- **Tier 1 (Structure)**: Types, exports, imports validation\n- **Tier 2 (Behavior)**: Scenario coverage, error handling, events\n- **Tier 3 (AI Review)**: Semantic compliance analysis via LLM\n\n## Access Points\n\n| Surface | Commands/Tools |\n|---------|---------------|\n| CLI | \\`contractspec llm export\\`, \\`guide\\`, \\`verify\\`, \\`copy\\` |\n| MCP | \\`llm.export\\`, \\`llm.guide\\`, \\`llm.verify\\` tools |\n| VSCode | Export to LLM, Generate Guide, Verify, Copy commands |\n\n## Quick Start\n\n### CLI Usage\n\n\\`\\`\\`bash\n# Export spec as markdown\ncontractspec llm export path/to/my.spec.ts --format full\n\n# Generate implementation guide\ncontractspec llm guide path/to/my.spec.ts --agent claude-code\n\n# Verify implementation\ncontractspec llm verify path/to/my.spec.ts path/to/impl.ts --tier 2\n\n# Copy spec to clipboard\ncontractspec llm copy path/to/my.spec.ts --format context\n\\`\\`\\`\n\n### MCP Usage\n\n\\`\\`\\`\n# Export spec\nllm.export { specPath: \"path/to/my.spec.ts\", format: \"full\" }\n\n# Generate guide\nllm.guide { specPath: \"path/to/my.spec.ts\", agent: \"cursor-cli\" }\n\n# Verify implementation\nllm.verify { specPath: \"path/to/my.spec.ts\", implementationPath: \"path/to/impl.ts\", tier: \"2\" }\n\\`\\`\\`\n\n### Programmatic Usage\n\n\\`\\`\\`typescript\nimport { operationSpecToFullMarkdown, operationSpecToAgentPrompt } from '@lssm/lib.contracts/llm';\nimport { createAgentGuideService, createVerifyService } from '@lssm/bundle.contractspec-workspace';\n\n// Export\nconst markdown = operationSpecToFullMarkdown(mySpec);\n\n// Generate guide\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst guide = guideService.generateGuide(mySpec);\n\n// Verify\nconst verifyService = createVerifyService();\nconst result = await verifyService.verify(mySpec, implementationCode, {\n tiers: ['structure', 'behavior']\n});\n\\`\\`\\`\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.export-formats\",\n\t\ttitle: \"LLM Export Formats\",\n\t\tsummary: \"Detailed explanation of the three export formats for LLM consumption.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/export-formats\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"export\",\n\t\t\t\"markdown\"\n\t\t],\n\t\tbody: `# LLM Export Formats\n\nContractSpec provides three export formats optimized for different LLM use cases.\n\n## Context Format\n\nBest for: Understanding what a spec does, providing background to LLMs.\n\nIncludes:\n- Spec name, version, type\n- Goal and context\n- Description\n- Acceptance scenarios\n\nExample:\n\n\\`\\`\\`markdown\n# users.createUser (v1)\n\n> Create a new user account with email verification.\n\n**Type:** command | **Stability:** stable\n\n## Goal\nCreate a new user in the system and trigger email verification.\n\n## Context\nPart of the user onboarding flow. Called after signup form submission.\n\n## Acceptance Criteria\n### Happy path\n**Given:** Valid email and password\n**When:** User submits registration\n**Then:** Account is created, verification email is sent\n\\`\\`\\`\n\n## Full Format\n\nBest for: Complete documentation, implementation reference.\n\nIncludes everything:\n- All metadata\n- JSON schemas for I/O\n- Error definitions\n- Policy (auth, rate limits, PII)\n- Events emitted\n- Examples\n- Transport configuration\n\n## Prompt Format\n\nBest for: Feeding directly to coding agents.\n\nIncludes:\n- Task header with clear instructions\n- Full spec context\n- Implementation requirements\n- Task-specific guidance (implement/test/refactor/review)\n- Expected output format\n\nThe prompt format adapts based on task type:\n- **implement**: Full implementation with tests\n- **test**: Test generation for existing code\n- **refactor**: Refactoring while maintaining behavior\n- **review**: Code review against spec\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.agent-adapters\",\n\t\ttitle: \"Agent Adapters\",\n\t\tsummary: \"Adapters for different AI coding agents (Claude, Cursor, MCP).\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/agent-adapters\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"agents\",\n\t\t\t\"claude\",\n\t\t\t\"cursor\",\n\t\t\t\"mcp\"\n\t\t],\n\t\tbody: `# Agent Adapters\n\nContractSpec provides specialized adapters for different AI coding agents.\n\n## Claude Code Adapter\n\nOptimized for Anthropic Claude's extended thinking and code generation.\n\nFeatures:\n- Structured markdown with clear sections\n- Checklists for steps and verification\n- Icons for file operations (📝 create, ✏️ modify)\n- System prompt for ContractSpec context\n\nUsage:\n\\`\\`\\`typescript\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst result = guideService.generateGuide(spec, { agent: 'claude-code' });\n// result.prompt.systemPrompt - Claude system context\n// result.prompt.taskPrompt - Task-specific instructions\n\\`\\`\\`\n\n## Cursor CLI Adapter\n\nOptimized for Cursor's background/composer mode.\n\nFeatures:\n- Compact format for context efficiency\n- .mdc cursor rules generation\n- Integration with Cursor's file system\n- Concise step lists\n\nGenerate Cursor Rules:\n\\`\\`\\`typescript\nconst cursorRules = guideService.generateAgentConfig(spec, 'cursor-cli');\n// Save to .cursor/rules/my-spec.mdc\n\\`\\`\\`\n\n## Generic MCP Adapter\n\nWorks with any MCP-compatible agent (Cline, Aider, etc.).\n\nFeatures:\n- Standard markdown format\n- Table-based metadata\n- JSON resource format support\n- Prompt message format\n\nThe generic adapter is the default and works across all agents.\n\n## Choosing an Adapter\n\n| Agent | Best For | Key Features |\n|-------|----------|--------------|\n| Claude Code | Complex implementations | Extended thinking, detailed steps |\n| Cursor CLI | IDE-integrated work | Cursor rules, compact format |\n| Generic MCP | Any MCP agent | Universal compatibility |\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.verification\",\n\t\ttitle: \"Implementation Verification\",\n\t\tsummary: \"Tiered verification of implementations against specifications.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/verification\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"verify\",\n\t\t\t\"validation\",\n\t\t\t\"testing\"\n\t\t],\n\t\tbody: `# Implementation Verification\n\nContractSpec provides tiered verification to check if implementations comply with specs.\n\n## Verification Tiers\n\n### Tier 1: Structure (Fast)\n\nChecks TypeScript structure against spec requirements:\n\n| Check | What it validates |\n|-------|------------------|\n| Handler export | Function is properly exported |\n| Contracts import | Imports from @lssm/lib.contracts |\n| Schema import | Imports from @lssm/lib.schema |\n| No \\`any\\` type | TypeScript strict compliance |\n| Error handling | Error codes are referenced |\n| Event emission | Event patterns exist |\n| Input validation | Validation patterns used |\n| Async patterns | Async/await for commands |\n\n### Tier 2: Behavior (Comprehensive)\n\nChecks implementation coverage of spec behaviors:\n\n| Check | What it validates |\n|-------|------------------|\n| Scenario coverage | Acceptance scenarios implemented |\n| Example coverage | Example I/O values referenced |\n| Error cases | All error conditions handled |\n| Event conditions | Events emitted correctly |\n| Idempotency | Idempotent patterns (if required) |\n\n### Tier 3: AI Review (Deep)\n\nUses LLM for semantic analysis:\n\n- Does the implementation fulfill the spec's intent?\n- Are edge cases properly handled?\n- Is the code quality acceptable?\n- Are there any subtle violations?\n\nRequires AI API key configuration.\n\n## Running Verification\n\n\\`\\`\\`typescript\nconst verifyService = createVerifyService({\n aiApiKey: process.env.ANTHROPIC_API_KEY, // Optional, for Tier 3\n aiProvider: 'anthropic',\n});\n\nconst result = await verifyService.verify(spec, implementationCode, {\n tiers: ['structure', 'behavior'],\n failFast: false,\n includeSuggestions: true,\n});\n\nconsole.log(result.passed); // true/false\nconsole.log(result.score); // 0-100\nconsole.log(result.summary); // Human-readable summary\n\\`\\`\\`\n\n## Verification Report\n\nThe report includes:\n\n- **passed**: Overall compliance\n- **score**: 0-100 score\n- **issues**: Array of problems found\n- **suggestions**: Recommended fixes\n- **coverage**: Metrics on scenario/error/field coverage\n\nEach issue has:\n- **severity**: error, warning, or info\n- **category**: type, export, import, scenario, error_handling, semantic\n- **message**: Description of the issue\n- **suggestion**: How to fix it\n`\n\t}\n];\nregisterDocBlocks(tech_llm_integration_DocBlocks);\n\n//#endregion\nexport { tech_llm_integration_DocBlocks };"],"mappings":";;;AAGA,MAAM,iCAAiC;CACtC;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EN;CACD;AACD,kBAAkB,+BAA+B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.learning-journey-ui-shared",
3
- "version": "0.0.0-canary-20251221132705",
3
+ "version": "0.0.0-canary-20251221144710",
4
4
  "description": "Shared UI components and hooks for learning journey mini-apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -34,16 +34,16 @@
34
34
  "test": "bun test"
35
35
  },
36
36
  "dependencies": {
37
- "@lssm/lib.schema": "0.0.0-canary-20251221132705",
38
- "@lssm/lib.contracts": "0.0.0-canary-20251221132705",
39
- "@lssm/module.learning-journey": "0.0.0-canary-20251221132705",
40
- "@lssm/lib.design-system": "0.0.0-canary-20251221132705",
41
- "@lssm/lib.ui-kit-web": "0.0.0-canary-20251221132705",
37
+ "@lssm/lib.schema": "0.0.0-canary-20251221144710",
38
+ "@lssm/lib.contracts": "0.0.0-canary-20251221144710",
39
+ "@lssm/module.learning-journey": "0.0.0-canary-20251221144710",
40
+ "@lssm/lib.design-system": "0.0.0-canary-20251221144710",
41
+ "@lssm/lib.ui-kit-web": "0.0.0-canary-20251221144710",
42
42
  "react": "19.2.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@lssm/tool.tsdown": "0.0.0-canary-20251221132705",
46
- "@lssm/tool.typescript": "0.0.0-canary-20251221132705",
45
+ "@lssm/tool.tsdown": "0.0.0-canary-20251221144710",
46
+ "@lssm/tool.typescript": "0.0.0-canary-20251221144710",
47
47
  "@types/react": "^19.1.6",
48
48
  "tsdown": "^0.18.1",
49
49
  "typescript": "^5.9.3"