@lssm/example.learning-journey-ui-coaching 0.0.0-canary-20251221132705 → 0.0.0-canary-20251221153314
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/.turbo/turbo-build$colon$bundle.log +114 -114
- package/.turbo/turbo-build.log +96 -96
- package/CHANGELOG.md +9 -9
- package/dist/CoachingMiniApp.d.ts +2 -2
- package/dist/components/EngagementMeter.d.ts +2 -2
- package/dist/components/TipCard.d.ts +2 -2
- package/dist/components/TipFeed.d.ts +2 -2
- package/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/views/Overview.d.ts +2 -2
- package/dist/views/Steps.d.ts +2 -2
- package/dist/views/Timeline.d.ts +2 -2
- package/package.json +11 -11
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,7 +2,7 @@ $ bun build:bundle && bun build:types
|
|
|
2
2
|
$ tsdown
|
|
3
3
|
[34mℹ[39m tsdown [2mv0.18.1[22m powered by rolldown [2mv1.0.0-beta.55[22m
|
|
4
4
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/learning-journey-ui-coaching/tsdown.config.js[24m
|
|
5
|
-
[34mℹ[39m entry: [34msrc/CoachingMiniApp.tsx, src/example.ts, src/index.ts, src/
|
|
5
|
+
[34mℹ[39m entry: [34msrc/CoachingMiniApp.tsx, src/example.ts, src/index.ts, src/components/EngagementMeter.tsx, src/components/TipCard.tsx, src/components/TipFeed.tsx, src/components/index.ts, src/docs/index.ts, src/docs/learning-journey-ui-coaching.docblock.ts, src/views/Overview.tsx, src/views/Progress.tsx, src/views/Steps.tsx, src/views/Timeline.tsx, src/views/index.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
@@ -26,16 +26,16 @@ $ tsdown
|
|
|
26
26
|
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js [2m16.91 kB[22m [2m│ gzip: 7.25 kB[22m
|
|
27
27
|
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map [2m12.04 kB[22m [2m│ gzip: 4.53 kB[22m
|
|
28
28
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/schema/README.docblock.js.map [2m11.99 kB[22m [2m│ gzip: 4.51 kB[22m
|
|
29
|
+
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map [2m11.27 kB[22m [2m│ gzip: 3.76 kB[22m
|
|
29
30
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/schema/README.docblock.js [2m11.26 kB[22m [2m│ gzip: 4.34 kB[22m
|
|
30
|
-
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map [2m11.25 kB[22m [2m│ gzip: 3.76 kB[22m
|
|
31
31
|
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js [2m11.22 kB[22m [2m│ gzip: 4.34 kB[22m
|
|
32
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map [2m11.
|
|
32
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map [2m11.22 kB[22m [2m│ gzip: 3.75 kB[22m
|
|
33
33
|
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map [2m10.65 kB[22m [2m│ gzip: 4.04 kB[22m
|
|
34
34
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map [2m10.60 kB[22m [2m│ gzip: 4.02 kB[22m
|
|
35
35
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js [2m10.02 kB[22m [2m│ gzip: 3.85 kB[22m
|
|
36
36
|
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js [2m 9.96 kB[22m [2m│ gzip: 3.84 kB[22m
|
|
37
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/llm/llm-integration.docblock.js [2m 9.
|
|
38
|
-
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js [2m 9.
|
|
37
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/llm/llm-integration.docblock.js [2m 9.61 kB[22m [2m│ gzip: 3.53 kB[22m
|
|
38
|
+
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js [2m 9.56 kB[22m [2m│ gzip: 3.53 kB[22m
|
|
39
39
|
[34mℹ[39m [2mdist/[22mviews/Overview.js.map [2m 7.14 kB[22m [2m│ gzip: 2.17 kB[22m
|
|
40
40
|
[34mℹ[39m [2mdist/[22mviews/Progress.js.map [2m 7.13 kB[22m [2m│ gzip: 2.08 kB[22m
|
|
41
41
|
[34mℹ[39m [2mdist/[22mexamples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map [2m 6.38 kB[22m [2m│ gzip: 2.86 kB[22m
|
|
@@ -199,7 +199,7 @@ $ tsdown
|
|
|
199
199
|
[34mℹ[39m [2mdist/[22m[32m[1mcomponents/index.d.ts[22m[39m [2m 0.18 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
200
200
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
201
201
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/learning-journey-ui-coaching.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
202
|
-
[34mℹ[39m 193 files, total: 600.
|
|
202
|
+
[34mℹ[39m 193 files, total: 600.60 kB
|
|
203
203
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/Button.js
|
|
204
204
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/components/atoms/Button.js:4:25 [38;5;246m][0m
|
|
205
205
|
[38;5;246m│[0m
|
|
@@ -230,6 +230,16 @@ $ tsdown
|
|
|
230
230
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
231
231
|
[38;5;246m───╯[0m
|
|
232
232
|
|
|
233
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/MarketingHeaderMobile.js
|
|
234
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/components/organisms/MarketingHeaderMobile.js:12:22 [38;5;246m][0m
|
|
235
|
+
[38;5;246m│[0m
|
|
236
|
+
[38;5;246m12 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mM[0m[38;5;249me[0m[38;5;249mn[0m[38;5;249mu[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
237
|
+
[38;5;240m │[0m ───────┬──────
|
|
238
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
239
|
+
[38;5;240m │[0m
|
|
240
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
241
|
+
[38;5;246m────╯[0m
|
|
242
|
+
|
|
233
243
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/DataChips.js
|
|
234
244
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/components/atoms/DataChips.js:4:41 [38;5;246m][0m
|
|
235
245
|
[38;5;246m│[0m
|
|
@@ -260,6 +270,16 @@ $ tsdown
|
|
|
260
270
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
261
271
|
[38;5;246m───╯[0m
|
|
262
272
|
|
|
273
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/LoaderCircular.js
|
|
274
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/components/atoms/LoaderCircular.js:5:25 [38;5;246m][0m
|
|
275
|
+
[38;5;246m│[0m
|
|
276
|
+
[38;5;246m5 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mL[0m[38;5;249mo[0m[38;5;249ma[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mr[0m[38;5;249m2[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
277
|
+
[38;5;240m │[0m ───────┬──────
|
|
278
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
279
|
+
[38;5;240m │[0m
|
|
280
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
281
|
+
[38;5;246m───╯[0m
|
|
282
|
+
|
|
263
283
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/MarketingHeader.js
|
|
264
284
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/components/organisms/MarketingHeader.js:19:22 [38;5;246m][0m
|
|
265
285
|
[38;5;246m│[0m
|
|
@@ -270,52 +290,52 @@ $ tsdown
|
|
|
270
290
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
271
291
|
[38;5;246m────╯[0m
|
|
272
292
|
|
|
273
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
[38;5;
|
|
277
|
-
[38;5;240m
|
|
278
|
-
[38;5;240m
|
|
279
|
-
[38;5;240m
|
|
280
|
-
[38;5;240m
|
|
281
|
-
[38;5;246m
|
|
293
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js
|
|
294
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js:6:27 [38;5;246m][0m
|
|
295
|
+
[38;5;246m│[0m
|
|
296
|
+
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mc[0m[38;5;249mk[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
297
|
+
[38;5;240m │[0m ───────┬──────
|
|
298
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
299
|
+
[38;5;240m │[0m
|
|
300
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
301
|
+
[38;5;246m───╯[0m
|
|
282
302
|
|
|
283
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/
|
|
284
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/
|
|
303
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js
|
|
304
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js:6:59 [38;5;246m][0m
|
|
285
305
|
[38;5;246m│[0m
|
|
286
|
-
[38;5;
|
|
287
|
-
[38;5;240m │[0m
|
|
288
|
-
[38;5;240m │[0m
|
|
306
|
+
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mc[0m[38;5;249mk[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mD[0m[38;5;249mo[0m[38;5;249mw[0m[38;5;249mn[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mU[0m[38;5;249mp[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
307
|
+
[38;5;240m │[0m ───────┬──────
|
|
308
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
289
309
|
[38;5;240m │[0m
|
|
290
310
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
291
311
|
[38;5;246m───╯[0m
|
|
292
312
|
|
|
293
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
294
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
313
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js
|
|
314
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js:6:28 [38;5;246m][0m
|
|
295
315
|
[38;5;246m│[0m
|
|
296
|
-
[38;5;
|
|
297
|
-
[38;5;240m │[0m
|
|
298
|
-
[38;5;240m │[0m
|
|
316
|
+
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mi[0m[38;5;249mr[0m[38;5;249mc[0m[38;5;249ml[0m[38;5;249me[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
317
|
+
[38;5;240m │[0m ───────┬──────
|
|
318
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
299
319
|
[38;5;240m │[0m
|
|
300
320
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
301
321
|
[38;5;246m───╯[0m
|
|
302
322
|
|
|
303
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in
|
|
304
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m
|
|
323
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js
|
|
324
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js:4:25 [38;5;246m][0m
|
|
305
325
|
[38;5;246m│[0m
|
|
306
|
-
[38;5;
|
|
307
|
-
[38;5;240m │[0m
|
|
308
|
-
[38;5;240m │[0m
|
|
326
|
+
[38;5;246m4 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mL[0m[38;5;249mo[0m[38;5;249ma[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mr[0m[38;5;249m2[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
327
|
+
[38;5;240m │[0m ───────┬──────
|
|
328
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
309
329
|
[38;5;240m │[0m
|
|
310
330
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
311
331
|
[38;5;246m───╯[0m
|
|
312
332
|
|
|
313
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
314
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
333
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js
|
|
334
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js:5:59 [38;5;246m][0m
|
|
315
335
|
[38;5;246m│[0m
|
|
316
|
-
[38;5;
|
|
317
|
-
[38;5;240m │[0m
|
|
318
|
-
[38;5;240m │[0m
|
|
336
|
+
[38;5;246m5 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mL[0m[38;5;249me[0m[38;5;249mf[0m[38;5;249mt[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mR[0m[38;5;249mi[0m[38;5;249mg[0m[38;5;249mh[0m[38;5;249mt[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mM[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249me[0m[38;5;249mH[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mz[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mt[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
337
|
+
[38;5;240m │[0m ───────┬──────
|
|
338
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
319
339
|
[38;5;240m │[0m
|
|
320
340
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
321
341
|
[38;5;246m───╯[0m
|
|
@@ -330,32 +350,22 @@ $ tsdown
|
|
|
330
350
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
331
351
|
[38;5;246m───╯[0m
|
|
332
352
|
|
|
333
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
334
|
-
|
|
335
|
-
[38;5;246m│[0m
|
|
336
|
-
[38;5;246m12 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
337
|
-
[38;5;240m │[0m ───────┬──────
|
|
338
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
339
|
-
[38;5;240m │[0m
|
|
340
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
341
|
-
[38;5;246m────╯[0m
|
|
342
|
-
|
|
343
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/accordion.js
|
|
344
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/accordion.js:6:33 [38;5;246m][0m
|
|
353
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js
|
|
354
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js:6:23 [38;5;246m][0m
|
|
345
355
|
[38;5;246m│[0m
|
|
346
|
-
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;
|
|
347
|
-
[38;5;240m │[0m
|
|
348
|
-
[38;5;240m │[0m
|
|
356
|
+
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mX[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
357
|
+
[38;5;240m │[0m ───────┬──────
|
|
358
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
349
359
|
[38;5;240m │[0m
|
|
350
360
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
351
361
|
[38;5;246m───╯[0m
|
|
352
362
|
|
|
353
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
354
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
363
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js
|
|
364
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js:5:46 [38;5;246m][0m
|
|
355
365
|
[38;5;246m│[0m
|
|
356
|
-
[38;5;
|
|
357
|
-
[38;5;240m │[0m
|
|
358
|
-
[38;5;240m │[0m
|
|
366
|
+
[38;5;246m5 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mR[0m[38;5;249mi[0m[38;5;249mg[0m[38;5;249mh[0m[38;5;249mt[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mM[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249me[0m[38;5;249mH[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mz[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mt[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
367
|
+
[38;5;240m │[0m ───────┬──────
|
|
368
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
359
369
|
[38;5;240m │[0m
|
|
360
370
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
361
371
|
[38;5;246m───╯[0m
|
|
@@ -370,6 +380,16 @@ $ tsdown
|
|
|
370
380
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
371
381
|
[38;5;246m───╯[0m
|
|
372
382
|
|
|
383
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js
|
|
384
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js:7:39 [38;5;246m][0m
|
|
385
|
+
[38;5;246m│[0m
|
|
386
|
+
[38;5;246m7 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mA[0m[38;5;249mr[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mw[0m[38;5;249mL[0m[38;5;249me[0m[38;5;249mf[0m[38;5;249mt[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mA[0m[38;5;249mr[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mw[0m[38;5;249mR[0m[38;5;249mi[0m[38;5;249mg[0m[38;5;249mh[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
387
|
+
[38;5;240m │[0m ───────┬──────
|
|
388
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
389
|
+
[38;5;240m │[0m
|
|
390
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
391
|
+
[38;5;246m───╯[0m
|
|
392
|
+
|
|
373
393
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js
|
|
374
394
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js:6:39 [38;5;246m][0m
|
|
375
395
|
[38;5;246m│[0m
|
|
@@ -380,6 +400,16 @@ $ tsdown
|
|
|
380
400
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
381
401
|
[38;5;246m───╯[0m
|
|
382
402
|
|
|
403
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js
|
|
404
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js:12:8 [38;5;246m][0m
|
|
405
|
+
[38;5;246m│[0m
|
|
406
|
+
[38;5;246m12 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
407
|
+
[38;5;240m │[0m ───────┬──────
|
|
408
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
409
|
+
[38;5;240m │[0m
|
|
410
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
411
|
+
[38;5;246m────╯[0m
|
|
412
|
+
|
|
383
413
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js
|
|
384
414
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js:9:58 [38;5;246m][0m
|
|
385
415
|
[38;5;246m│[0m
|
|
@@ -390,48 +420,18 @@ $ tsdown
|
|
|
390
420
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
391
421
|
[38;5;246m───╯[0m
|
|
392
422
|
|
|
393
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
394
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
395
|
-
[38;5;246m│[0m
|
|
396
|
-
[38;5;246m5 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mR[0m[38;5;249mi[0m[38;5;249mg[0m[38;5;249mh[0m[38;5;249mt[0m[38;5;249m,[0m[38;5;249m [0m[38;5;249mM[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249me[0m[38;5;249mH[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mz[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mt[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
397
|
-
[38;5;240m │[0m ───────┬──────
|
|
398
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
399
|
-
[38;5;240m │[0m
|
|
400
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
401
|
-
[38;5;246m───╯[0m
|
|
402
|
-
|
|
403
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js
|
|
404
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js:6:28 [38;5;246m][0m
|
|
423
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js
|
|
424
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js:7:28 [38;5;246m][0m
|
|
405
425
|
[38;5;246m│[0m
|
|
406
|
-
[38;5;
|
|
426
|
+
[38;5;246m7 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mS[0m[38;5;249me[0m[38;5;249ma[0m[38;5;249mr[0m[38;5;249mc[0m[38;5;249mh[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
407
427
|
[38;5;240m │[0m ───────┬──────
|
|
408
428
|
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
409
429
|
[38;5;240m │[0m
|
|
410
430
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
411
431
|
[38;5;246m───╯[0m
|
|
412
432
|
|
|
413
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
414
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
415
|
-
[38;5;246m│[0m
|
|
416
|
-
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mc[0m[38;5;249mk[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
417
|
-
[38;5;240m │[0m ───────┬──────
|
|
418
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
419
|
-
[38;5;240m │[0m
|
|
420
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
421
|
-
[38;5;246m───╯[0m
|
|
422
|
-
|
|
423
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js
|
|
424
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js:4:25 [38;5;246m][0m
|
|
425
|
-
[38;5;246m│[0m
|
|
426
|
-
[38;5;246m4 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mL[0m[38;5;249mo[0m[38;5;249ma[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mr[0m[38;5;249m2[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
427
|
-
[38;5;240m │[0m ───────┬──────
|
|
428
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
429
|
-
[38;5;240m │[0m
|
|
430
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
431
|
-
[38;5;246m───╯[0m
|
|
432
|
-
|
|
433
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js
|
|
434
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js:6:23 [38;5;246m][0m
|
|
433
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js
|
|
434
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js:6:23 [38;5;246m][0m
|
|
435
435
|
[38;5;246m│[0m
|
|
436
436
|
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mX[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
437
437
|
[38;5;240m │[0m ───────┬──────
|
|
@@ -440,12 +440,12 @@ $ tsdown
|
|
|
440
440
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
441
441
|
[38;5;246m───╯[0m
|
|
442
442
|
|
|
443
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
444
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/
|
|
443
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/accordion.js
|
|
444
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/design-system/dist/ui-kit-web/dist/ui/accordion.js:6:33 [38;5;246m][0m
|
|
445
445
|
[38;5;246m│[0m
|
|
446
|
-
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;
|
|
447
|
-
[38;5;240m │[0m
|
|
448
|
-
[38;5;240m │[0m
|
|
446
|
+
[38;5;246m6 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249mv[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249mD[0m[38;5;249mo[0m[38;5;249mw[0m[38;5;249mn[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"lucide-react"[38;5;249m;[0m
|
|
447
|
+
[38;5;240m │[0m ───────┬──────
|
|
448
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
449
449
|
[38;5;240m │[0m
|
|
450
450
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
451
451
|
[38;5;246m───╯[0m
|
|
@@ -480,5 +480,5 @@ $ tsdown
|
|
|
480
480
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
481
481
|
[38;5;246m───╯[0m
|
|
482
482
|
|
|
483
|
-
[32m✔[39m Build complete in [
|
|
483
|
+
[32m✔[39m Build complete in [32m10625ms[39m
|
|
484
484
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lssm/example.learning-journey-ui-coaching
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251221153314
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
11
|
- Updated dependencies [66a5dfd]
|
|
12
|
-
- @lssm/example.learning-journey-ambient-coach@0.0.0-canary-
|
|
13
|
-
- @lssm/example.learning-journey-crm-onboarding@0.0.0-canary-
|
|
14
|
-
- @lssm/example.learning-journey-ui-shared@0.0.0-canary-
|
|
15
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
16
|
-
- @lssm/lib.design-system@0.0.0-canary-
|
|
17
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
18
|
-
- @lssm/lib.ui-kit-web@0.0.0-canary-
|
|
19
|
-
- @lssm/module.learning-journey@0.0.0-canary-
|
|
12
|
+
- @lssm/example.learning-journey-ambient-coach@0.0.0-canary-20251221153314
|
|
13
|
+
- @lssm/example.learning-journey-crm-onboarding@0.0.0-canary-20251221153314
|
|
14
|
+
- @lssm/example.learning-journey-ui-shared@0.0.0-canary-20251221153314
|
|
15
|
+
- @lssm/lib.contracts@0.0.0-canary-20251221153314
|
|
16
|
+
- @lssm/lib.design-system@0.0.0-canary-20251221153314
|
|
17
|
+
- @lssm/lib.schema@0.0.0-canary-20251221153314
|
|
18
|
+
- @lssm/lib.ui-kit-web@0.0.0-canary-20251221153314
|
|
19
|
+
- @lssm/module.learning-journey@0.0.0-canary-20251221153314
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
import { LearningMiniAppProps } from "@lssm/example.learning-journey-ui-shared";
|
|
3
3
|
|
|
4
4
|
//#region src/CoachingMiniApp.d.ts
|
|
@@ -11,7 +11,7 @@ declare function CoachingMiniApp({
|
|
|
11
11
|
onStepComplete: externalOnStepComplete,
|
|
12
12
|
onViewChange,
|
|
13
13
|
initialView
|
|
14
|
-
}: CoachingMiniAppProps):
|
|
14
|
+
}: CoachingMiniAppProps): react_jsx_runtime6.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { CoachingMiniApp };
|
|
17
17
|
//# sourceMappingURL=CoachingMiniApp.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/EngagementMeter.d.ts
|
|
4
4
|
interface EngagementMeterProps {
|
|
@@ -12,7 +12,7 @@ declare function EngagementMeter({
|
|
|
12
12
|
actioned,
|
|
13
13
|
pending,
|
|
14
14
|
streak
|
|
15
|
-
}: EngagementMeterProps):
|
|
15
|
+
}: EngagementMeterProps): react_jsx_runtime5.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { EngagementMeter };
|
|
18
18
|
//# sourceMappingURL=EngagementMeter.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { LearningJourneyStepSpec } from "@lssm/module.learning-journey/track-spec";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TipCard.d.ts
|
|
@@ -15,7 +15,7 @@ declare function TipCard({
|
|
|
15
15
|
isCurrent,
|
|
16
16
|
onComplete,
|
|
17
17
|
onDismiss
|
|
18
|
-
}: TipCardProps):
|
|
18
|
+
}: TipCardProps): react_jsx_runtime0.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { TipCard };
|
|
21
21
|
//# sourceMappingURL=TipCard.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { LearningJourneyStepSpec } from "@lssm/module.learning-journey/track-spec";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TipFeed.d.ts
|
|
@@ -12,7 +12,7 @@ interface TipFeedProps {
|
|
|
12
12
|
}
|
|
13
13
|
declare function TipFeed({
|
|
14
14
|
items
|
|
15
|
-
}: TipFeedProps):
|
|
15
|
+
}: TipFeedProps): react_jsx_runtime0.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { TipFeed };
|
|
18
18
|
//# sourceMappingURL=TipFeed.d.ts.map
|
|
@@ -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 {
|
|
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 =
|
|
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":["../../../../../../../../../../../learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region ../../libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js\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\n//# sourceMappingURL=llm-integration.docblock.js.map"],"mappings":";;;AAkWA,kBA/VuC;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,CACgD"}
|
|
1
|
+
{"version":3,"file":"llm-integration.docblock.js","names":[],"sources":["../../../../../../../../../../../learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region ../../libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js\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\n//# sourceMappingURL=llm-integration.docblock.js.map"],"mappings":";;;AAkWA,kBA/VuC;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,CACgD"}
|
|
@@ -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 {
|
|
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 =
|
|
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"}
|