@lssm/module.contractspec-examples 0.0.0-canary-20251217083314 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/builtins.js +1 -75
  2. package/dist/index.js +1 -5
  3. package/dist/registry.js +1 -19
  4. package/dist/validate.js +1 -89
  5. package/package.json +38 -38
  6. package/dist/builtins.d.ts +0 -6
  7. package/dist/examples/agent-console/dist/example.js +0 -49
  8. package/dist/examples/ai-support-bot/dist/example.js +0 -37
  9. package/dist/examples/analytics-dashboard/dist/example.js +0 -49
  10. package/dist/examples/content-generation/dist/example.js +0 -37
  11. package/dist/examples/crm-pipeline/dist/example.js +0 -44
  12. package/dist/examples/integration-hub/dist/example.js +0 -49
  13. package/dist/examples/integration-stripe/dist/example.js +0 -38
  14. package/dist/examples/kb-update-pipeline/dist/example.js +0 -41
  15. package/dist/examples/knowledge-canon/dist/example.js +0 -38
  16. package/dist/examples/learning-journey-ambient-coach/dist/example.js +0 -33
  17. package/dist/examples/learning-journey-crm-onboarding/dist/example.js +0 -33
  18. package/dist/examples/learning-journey-duo-drills/dist/example.js +0 -34
  19. package/dist/examples/learning-journey-platform-tour/dist/example.js +0 -37
  20. package/dist/examples/learning-journey-quest-challenges/dist/example.js +0 -33
  21. package/dist/examples/learning-journey-registry/dist/example.js +0 -33
  22. package/dist/examples/learning-journey-studio-onboarding/dist/example.js +0 -33
  23. package/dist/examples/learning-journey-ui-coaching/dist/example.js +0 -33
  24. package/dist/examples/learning-journey-ui-gamified/dist/example.js +0 -33
  25. package/dist/examples/learning-journey-ui-onboarding/dist/example.js +0 -33
  26. package/dist/examples/learning-journey-ui-shared/dist/example.js +0 -33
  27. package/dist/examples/learning-patterns/dist/example.js +0 -33
  28. package/dist/examples/lifecycle-cli/dist/example.js +0 -36
  29. package/dist/examples/lifecycle-dashboard/dist/example.js +0 -34
  30. package/dist/examples/locale-jurisdiction-gate/dist/example.js +0 -38
  31. package/dist/examples/marketplace/dist/example.js +0 -49
  32. package/dist/examples/openbanking-powens/dist/example.js +0 -38
  33. package/dist/examples/personalization/dist/example.js +0 -37
  34. package/dist/examples/policy-safe-knowledge-assistant/dist/example.js +0 -45
  35. package/dist/examples/saas-boilerplate/dist/example.js +0 -44
  36. package/dist/examples/service-business-os/dist/example.js +0 -44
  37. package/dist/examples/team-hub/dist/example.js +0 -49
  38. package/dist/examples/versioned-knowledge-base/dist/example.js +0 -40
  39. package/dist/examples/wealth-snapshot/dist/example.js +0 -48
  40. package/dist/examples/workflow-system/dist/example.js +0 -49
  41. package/dist/index.d.ts +0 -5
  42. package/dist/registry.d.ts +0 -9
  43. package/dist/types.d.ts +0 -52
  44. package/dist/validate.d.ts +0 -18
@@ -1,38 +0,0 @@
1
- //#region ../../examples/knowledge-canon/dist/example.js
2
- var example_default = {
3
- id: "knowledge-canon",
4
- title: "Knowledge Canon (Product Canon space)",
5
- summary: "Bind a canonical knowledge space to a tenant and route assistant/workflow requests to the right sources (blueprint + app config pattern).",
6
- tags: [
7
- "knowledge",
8
- "canon",
9
- "app-config",
10
- "agents",
11
- "workflows"
12
- ],
13
- kind: "knowledge",
14
- visibility: "public",
15
- docs: {
16
- rootDocId: "docs.examples.knowledge-canon",
17
- usageDocId: "docs.examples.knowledge-canon.usage"
18
- },
19
- entrypoints: {
20
- packageName: "@lssm/example.knowledge-canon",
21
- docs: "./docs"
22
- },
23
- surfaces: {
24
- templates: true,
25
- sandbox: {
26
- enabled: true,
27
- modes: ["markdown", "specs"]
28
- },
29
- studio: {
30
- enabled: true,
31
- installable: true
32
- },
33
- mcp: { enabled: true }
34
- }
35
- };
36
-
37
- //#endregion
38
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-ambient-coach/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-ambient-coach",
4
- title: "Learning Journey — Ambient Coach",
5
- summary: "Ambient coaching pattern: lightweight nudges driven by context and recent progress.",
6
- tags: [
7
- "learning",
8
- "coaching",
9
- "ambient"
10
- ],
11
- kind: "template",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.learning-journey.ambient-coach" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-ambient-coach",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-crm-onboarding/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-crm-onboarding",
4
- title: "Learning Journey — CRM First Win",
5
- summary: "Onboarding track for CRM Pipeline driving users from empty CRM to first closed-won deal.",
6
- tags: [
7
- "learning",
8
- "crm",
9
- "onboarding"
10
- ],
11
- kind: "template",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.learning-journey.crm-onboarding" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-crm-onboarding",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,34 +0,0 @@
1
- //#region ../../examples/learning-journey-duo-drills/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-duo-drills",
4
- title: "Learning Journey — Duo Drills",
5
- summary: "Short drill/SRS example with XP and streak hooks for language, finance, or ContractSpec concept drills.",
6
- tags: [
7
- "learning",
8
- "drills",
9
- "srs",
10
- "xp"
11
- ],
12
- kind: "template",
13
- visibility: "public",
14
- docs: { rootDocId: "docs.learning-journey.duo-drills" },
15
- entrypoints: {
16
- packageName: "@lssm/example.learning-journey-duo-drills",
17
- docs: "./docs"
18
- },
19
- surfaces: {
20
- templates: true,
21
- sandbox: {
22
- enabled: true,
23
- modes: ["playground", "markdown"]
24
- },
25
- studio: {
26
- enabled: true,
27
- installable: true
28
- },
29
- mcp: { enabled: true }
30
- }
31
- };
32
-
33
- //#endregion
34
- export { example_default };
@@ -1,37 +0,0 @@
1
- //#region ../../examples/learning-journey-platform-tour/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-platform-tour",
4
- title: "Learning Journey — Platform Tour",
5
- summary: "Learning journey track + contracts + presentations for a platform tour.",
6
- tags: [
7
- "learning",
8
- "journey",
9
- "platform-tour"
10
- ],
11
- kind: "template",
12
- visibility: "public",
13
- docs: {
14
- rootDocId: "docs.examples.platform-tour",
15
- goalDocId: "docs.examples.platform-tour.goal",
16
- usageDocId: "docs.examples.platform-tour.usage"
17
- },
18
- entrypoints: {
19
- packageName: "@lssm/example.learning-journey-platform-tour",
20
- docs: "./docs"
21
- },
22
- surfaces: {
23
- templates: true,
24
- sandbox: {
25
- enabled: true,
26
- modes: ["markdown", "playground"]
27
- },
28
- studio: {
29
- enabled: true,
30
- installable: true
31
- },
32
- mcp: { enabled: true }
33
- }
34
- };
35
-
36
- //#endregion
37
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-quest-challenges/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-quest-challenges",
4
- title: "Learning Journey — Quest Challenges",
5
- summary: "Quest/challenge pattern: multi-step goals with progress events, rewards, and streak hooks.",
6
- tags: [
7
- "learning",
8
- "quests",
9
- "challenges"
10
- ],
11
- kind: "template",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.learning-journey.quest-challenges" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-quest-challenges",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-registry/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-registry",
4
- title: "Learning Journey Registry",
5
- summary: "Registry of learning journey tracks + presentations + UI mini-app bindings.",
6
- tags: [
7
- "learning",
8
- "journey",
9
- "registry"
10
- ],
11
- kind: "library",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.examples.learning-journey-registry" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-registry",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["markdown", "specs"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-studio-onboarding/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-studio-onboarding",
4
- title: "Learning Journey — Studio Getting Started",
5
- summary: "Onboarding track guiding a new Studio user through template spawn, spec edit, regeneration, playground, and evolution.",
6
- tags: [
7
- "learning",
8
- "onboarding",
9
- "studio"
10
- ],
11
- kind: "template",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.learning-journey.studio-onboarding" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-studio-onboarding",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-ui-coaching/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-ui-coaching",
4
- title: "Learning Journey UI — Coaching",
5
- summary: "UI mini-app for coaching patterns: tips, engagement meter, progress.",
6
- tags: [
7
- "learning",
8
- "ui",
9
- "coaching"
10
- ],
11
- kind: "ui",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.examples.learning-journey-ui-coaching" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-ui-coaching",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-ui-gamified/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-ui-gamified",
4
- title: "Learning Journey UI — Gamified",
5
- summary: "UI mini-app for gamified learning: flashcards, mastery ring, calendar.",
6
- tags: [
7
- "learning",
8
- "ui",
9
- "gamified"
10
- ],
11
- kind: "ui",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.examples.learning-journey-ui-gamified" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-ui-gamified",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-ui-onboarding/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-ui-onboarding",
4
- title: "Learning Journey UI — Onboarding",
5
- summary: "UI mini-app for onboarding patterns: checklists, code snippets, journey map.",
6
- tags: [
7
- "learning",
8
- "ui",
9
- "onboarding"
10
- ],
11
- kind: "ui",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.examples.learning-journey-ui-onboarding" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-ui-onboarding",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-journey-ui-shared/dist/example.js
2
- var example_default = {
3
- id: "learning-journey-ui-shared",
4
- title: "Learning Journey UI — Shared",
5
- summary: "Shared UI components and hooks for learning journey mini-apps.",
6
- tags: [
7
- "learning",
8
- "ui",
9
- "shared"
10
- ],
11
- kind: "ui",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.examples.learning-journey-ui-shared" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-journey-ui-shared",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["playground", "markdown"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,33 +0,0 @@
1
- //#region ../../examples/learning-patterns/dist/example.js
2
- var example_default = {
3
- id: "learning-patterns",
4
- title: "Learning Patterns",
5
- summary: "Domain-agnostic learning archetypes implemented as Learning Journey tracks.",
6
- tags: [
7
- "learning",
8
- "journey",
9
- "patterns"
10
- ],
11
- kind: "library",
12
- visibility: "public",
13
- docs: { rootDocId: "docs.examples.learning-patterns" },
14
- entrypoints: {
15
- packageName: "@lssm/example.learning-patterns",
16
- docs: "./docs"
17
- },
18
- surfaces: {
19
- templates: true,
20
- sandbox: {
21
- enabled: true,
22
- modes: ["markdown", "specs"]
23
- },
24
- studio: {
25
- enabled: true,
26
- installable: true
27
- },
28
- mcp: { enabled: true }
29
- }
30
- };
31
-
32
- //#endregion
33
- export { example_default };
@@ -1,36 +0,0 @@
1
- //#region ../../examples/lifecycle-cli/dist/example.js
2
- var example_default = {
3
- id: "lifecycle-cli",
4
- title: "Lifecycle CLI",
5
- summary: "Tiny script showing how to run the lifecycle managed service from a CLI (no HTTP server required).",
6
- tags: [
7
- "lifecycle",
8
- "cli",
9
- "demo"
10
- ],
11
- kind: "script",
12
- visibility: "public",
13
- docs: {
14
- rootDocId: "docs.examples.lifecycle-cli",
15
- usageDocId: "docs.examples.lifecycle-cli.usage"
16
- },
17
- entrypoints: {
18
- packageName: "@lssm/example.lifecycle-cli",
19
- docs: "./docs"
20
- },
21
- surfaces: {
22
- templates: true,
23
- sandbox: {
24
- enabled: true,
25
- modes: ["markdown"]
26
- },
27
- studio: {
28
- enabled: true,
29
- installable: true
30
- },
31
- mcp: { enabled: true }
32
- }
33
- };
34
-
35
- //#endregion
36
- export { example_default };
@@ -1,34 +0,0 @@
1
- //#region ../../examples/lifecycle-dashboard/dist/example.js
2
- var example_default = {
3
- id: "lifecycle-dashboard",
4
- title: "Lifecycle Dashboard (snippet)",
5
- summary: "A minimal dashboard page pattern: call lifecycle-managed endpoints and render a mobile-friendly status card.",
6
- tags: [
7
- "lifecycle",
8
- "dashboard",
9
- "nextjs",
10
- "snippet"
11
- ],
12
- kind: "blueprint",
13
- visibility: "public",
14
- docs: { rootDocId: "docs.examples.lifecycle-dashboard" },
15
- entrypoints: {
16
- packageName: "@lssm/example.lifecycle-dashboard",
17
- docs: "./docs"
18
- },
19
- surfaces: {
20
- templates: true,
21
- sandbox: {
22
- enabled: true,
23
- modes: ["markdown", "specs"]
24
- },
25
- studio: {
26
- enabled: true,
27
- installable: true
28
- },
29
- mcp: { enabled: true }
30
- }
31
- };
32
-
33
- //#endregion
34
- export { example_default };
@@ -1,38 +0,0 @@
1
- //#region ../../examples/locale-jurisdiction-gate/dist/example.js
2
- var example_default = {
3
- id: "locale-jurisdiction-gate",
4
- title: "Locale / Jurisdiction Gate",
5
- summary: "Fail-closed gating for assistant calls: locale + jurisdiction + kbSnapshotId + allowedScope must be explicit, answers must cite a snapshot.",
6
- tags: [
7
- "policy",
8
- "locale",
9
- "jurisdiction",
10
- "assistant",
11
- "gating"
12
- ],
13
- kind: "knowledge",
14
- visibility: "public",
15
- docs: { rootDocId: "docs.examples.locale-jurisdiction-gate" },
16
- entrypoints: {
17
- packageName: "@lssm/example.locale-jurisdiction-gate",
18
- feature: "./feature",
19
- contracts: "./contracts",
20
- handlers: "./handlers",
21
- docs: "./docs"
22
- },
23
- surfaces: {
24
- templates: true,
25
- sandbox: {
26
- enabled: true,
27
- modes: ["markdown", "specs"]
28
- },
29
- studio: {
30
- enabled: true,
31
- installable: true
32
- },
33
- mcp: { enabled: true }
34
- }
35
- };
36
-
37
- //#endregion
38
- export { example_default };
@@ -1,49 +0,0 @@
1
- //#region ../../examples/marketplace/dist/example.js
2
- var example_default = {
3
- id: "marketplace",
4
- title: "Marketplace (2-sided)",
5
- summary: "Two-sided marketplace with stores, products, orders, payouts, and reviews (multi-actor flows).",
6
- tags: [
7
- "marketplace",
8
- "orders",
9
- "payouts",
10
- "reviews"
11
- ],
12
- kind: "template",
13
- visibility: "public",
14
- docs: {
15
- rootDocId: "docs.examples.marketplace",
16
- goalDocId: "docs.examples.marketplace.goal",
17
- usageDocId: "docs.examples.marketplace.usage",
18
- constraintsDocId: "docs.examples.marketplace.constraints"
19
- },
20
- entrypoints: {
21
- packageName: "@lssm/example.marketplace",
22
- feature: "./feature",
23
- contracts: "./contracts",
24
- presentations: "./presentations",
25
- handlers: "./handlers",
26
- docs: "./docs"
27
- },
28
- surfaces: {
29
- templates: true,
30
- sandbox: {
31
- enabled: true,
32
- modes: [
33
- "playground",
34
- "specs",
35
- "builder",
36
- "markdown",
37
- "evolution"
38
- ]
39
- },
40
- studio: {
41
- enabled: true,
42
- installable: true
43
- },
44
- mcp: { enabled: true }
45
- }
46
- };
47
-
48
- //#endregion
49
- export { example_default };
@@ -1,38 +0,0 @@
1
- //#region ../../examples/openbanking-powens/dist/example.js
2
- var example_default = {
3
- id: "openbanking-powens",
4
- title: "Open Banking — Powens",
5
- summary: "OAuth callback + webhook handler patterns for Powens open banking integration (provider + workflow orchestration).",
6
- tags: [
7
- "openbanking",
8
- "powens",
9
- "oauth",
10
- "webhooks",
11
- "integrations"
12
- ],
13
- kind: "integration",
14
- visibility: "public",
15
- docs: {
16
- rootDocId: "docs.examples.openbanking-powens",
17
- usageDocId: "docs.examples.openbanking-powens.usage"
18
- },
19
- entrypoints: {
20
- packageName: "@lssm/example.openbanking-powens",
21
- docs: "./docs"
22
- },
23
- surfaces: {
24
- templates: true,
25
- sandbox: {
26
- enabled: true,
27
- modes: ["markdown", "specs"]
28
- },
29
- studio: {
30
- enabled: true,
31
- installable: true
32
- },
33
- mcp: { enabled: true }
34
- }
35
- };
36
-
37
- //#endregion
38
- export { example_default };
@@ -1,37 +0,0 @@
1
- //#region ../../examples/personalization/dist/example.js
2
- var example_default = {
3
- id: "personalization",
4
- title: "Personalization Patterns",
5
- summary: "Small examples for behavior tracking, overlay-based UI customization, and tenant workflow extension.",
6
- tags: [
7
- "personalization",
8
- "overlays",
9
- "behavior",
10
- "workflows"
11
- ],
12
- kind: "library",
13
- visibility: "public",
14
- docs: {
15
- rootDocId: "docs.examples.personalization",
16
- usageDocId: "docs.examples.personalization.usage"
17
- },
18
- entrypoints: {
19
- packageName: "@lssm/example.personalization",
20
- docs: "./docs"
21
- },
22
- surfaces: {
23
- templates: true,
24
- sandbox: {
25
- enabled: true,
26
- modes: ["markdown", "specs"]
27
- },
28
- studio: {
29
- enabled: true,
30
- installable: true
31
- },
32
- mcp: { enabled: true }
33
- }
34
- };
35
-
36
- //#endregion
37
- export { example_default };