@lssm/module.contractspec-examples 0.0.0-canary-20251217083314 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtins.js +1 -75
- package/dist/index.js +1 -5
- package/dist/registry.js +1 -19
- package/dist/validate.js +1 -89
- package/package.json +38 -39
- package/dist/builtins.d.ts +0 -6
- package/dist/examples/agent-console/dist/example.js +0 -49
- package/dist/examples/ai-support-bot/dist/example.js +0 -37
- package/dist/examples/analytics-dashboard/dist/example.js +0 -49
- package/dist/examples/content-generation/dist/example.js +0 -37
- package/dist/examples/crm-pipeline/dist/example.js +0 -44
- package/dist/examples/integration-hub/dist/example.js +0 -49
- package/dist/examples/integration-stripe/dist/example.js +0 -38
- package/dist/examples/kb-update-pipeline/dist/example.js +0 -41
- package/dist/examples/knowledge-canon/dist/example.js +0 -38
- package/dist/examples/learning-journey-ambient-coach/dist/example.js +0 -33
- package/dist/examples/learning-journey-crm-onboarding/dist/example.js +0 -33
- package/dist/examples/learning-journey-duo-drills/dist/example.js +0 -34
- package/dist/examples/learning-journey-platform-tour/dist/example.js +0 -37
- package/dist/examples/learning-journey-quest-challenges/dist/example.js +0 -33
- package/dist/examples/learning-journey-registry/dist/example.js +0 -33
- package/dist/examples/learning-journey-studio-onboarding/dist/example.js +0 -33
- package/dist/examples/learning-journey-ui-coaching/dist/example.js +0 -33
- package/dist/examples/learning-journey-ui-gamified/dist/example.js +0 -33
- package/dist/examples/learning-journey-ui-onboarding/dist/example.js +0 -33
- package/dist/examples/learning-journey-ui-shared/dist/example.js +0 -33
- package/dist/examples/learning-patterns/dist/example.js +0 -33
- package/dist/examples/lifecycle-cli/dist/example.js +0 -36
- package/dist/examples/lifecycle-dashboard/dist/example.js +0 -34
- package/dist/examples/locale-jurisdiction-gate/dist/example.js +0 -38
- package/dist/examples/marketplace/dist/example.js +0 -49
- package/dist/examples/openbanking-powens/dist/example.js +0 -38
- package/dist/examples/personalization/dist/example.js +0 -37
- package/dist/examples/policy-safe-knowledge-assistant/dist/example.js +0 -45
- package/dist/examples/saas-boilerplate/dist/example.js +0 -44
- package/dist/examples/service-business-os/dist/example.js +0 -44
- package/dist/examples/team-hub/dist/example.js +0 -49
- package/dist/examples/versioned-knowledge-base/dist/example.js +0 -40
- package/dist/examples/wealth-snapshot/dist/example.js +0 -48
- package/dist/examples/workflow-system/dist/example.js +0 -49
- package/dist/index.d.ts +0 -5
- package/dist/registry.d.ts +0 -9
- package/dist/types.d.ts +0 -52
- package/dist/validate.d.ts +0 -18
package/dist/builtins.js
CHANGED
|
@@ -1,75 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { example_default as example_default$1 } from "./examples/ai-support-bot/dist/example.js";
|
|
3
|
-
import { example_default as example_default$2 } from "./examples/analytics-dashboard/dist/example.js";
|
|
4
|
-
import { example_default as example_default$3 } from "./examples/content-generation/dist/example.js";
|
|
5
|
-
import { example_default as example_default$4 } from "./examples/crm-pipeline/dist/example.js";
|
|
6
|
-
import { example_default as example_default$5 } from "./examples/integration-hub/dist/example.js";
|
|
7
|
-
import { example_default as example_default$6 } from "./examples/integration-stripe/dist/example.js";
|
|
8
|
-
import { example_default as example_default$7 } from "./examples/kb-update-pipeline/dist/example.js";
|
|
9
|
-
import { example_default as example_default$8 } from "./examples/knowledge-canon/dist/example.js";
|
|
10
|
-
import { example_default as example_default$9 } from "./examples/learning-patterns/dist/example.js";
|
|
11
|
-
import { example_default as example_default$10 } from "./examples/learning-journey-ambient-coach/dist/example.js";
|
|
12
|
-
import { example_default as example_default$11 } from "./examples/learning-journey-crm-onboarding/dist/example.js";
|
|
13
|
-
import { example_default as example_default$12 } from "./examples/learning-journey-duo-drills/dist/example.js";
|
|
14
|
-
import { example_default as example_default$13 } from "./examples/learning-journey-platform-tour/dist/example.js";
|
|
15
|
-
import { example_default as example_default$14 } from "./examples/learning-journey-quest-challenges/dist/example.js";
|
|
16
|
-
import { example_default as example_default$15 } from "./examples/learning-journey-registry/dist/example.js";
|
|
17
|
-
import { example_default as example_default$16 } from "./examples/learning-journey-studio-onboarding/dist/example.js";
|
|
18
|
-
import { example_default as example_default$17 } from "./examples/learning-journey-ui-coaching/dist/example.js";
|
|
19
|
-
import { example_default as example_default$18 } from "./examples/learning-journey-ui-gamified/dist/example.js";
|
|
20
|
-
import { example_default as example_default$19 } from "./examples/learning-journey-ui-onboarding/dist/example.js";
|
|
21
|
-
import { example_default as example_default$20 } from "./examples/learning-journey-ui-shared/dist/example.js";
|
|
22
|
-
import { example_default as example_default$21 } from "./examples/lifecycle-cli/dist/example.js";
|
|
23
|
-
import { example_default as example_default$22 } from "./examples/lifecycle-dashboard/dist/example.js";
|
|
24
|
-
import { example_default as example_default$23 } from "./examples/locale-jurisdiction-gate/dist/example.js";
|
|
25
|
-
import { example_default as example_default$24 } from "./examples/marketplace/dist/example.js";
|
|
26
|
-
import { example_default as example_default$25 } from "./examples/openbanking-powens/dist/example.js";
|
|
27
|
-
import { example_default as example_default$26 } from "./examples/personalization/dist/example.js";
|
|
28
|
-
import { example_default as example_default$27 } from "./examples/policy-safe-knowledge-assistant/dist/example.js";
|
|
29
|
-
import { example_default as example_default$28 } from "./examples/saas-boilerplate/dist/example.js";
|
|
30
|
-
import { example_default as example_default$29 } from "./examples/service-business-os/dist/example.js";
|
|
31
|
-
import { example_default as example_default$30 } from "./examples/team-hub/dist/example.js";
|
|
32
|
-
import { example_default as example_default$31 } from "./examples/versioned-knowledge-base/dist/example.js";
|
|
33
|
-
import { example_default as example_default$32 } from "./examples/wealth-snapshot/dist/example.js";
|
|
34
|
-
import { example_default as example_default$33 } from "./examples/workflow-system/dist/example.js";
|
|
35
|
-
|
|
36
|
-
//#region src/builtins.ts
|
|
37
|
-
const EXAMPLE_REGISTRY = [
|
|
38
|
-
example_default,
|
|
39
|
-
example_default$1,
|
|
40
|
-
example_default$2,
|
|
41
|
-
example_default$3,
|
|
42
|
-
example_default$4,
|
|
43
|
-
example_default$5,
|
|
44
|
-
example_default$6,
|
|
45
|
-
example_default$7,
|
|
46
|
-
example_default$8,
|
|
47
|
-
example_default$9,
|
|
48
|
-
example_default$10,
|
|
49
|
-
example_default$11,
|
|
50
|
-
example_default$12,
|
|
51
|
-
example_default$13,
|
|
52
|
-
example_default$14,
|
|
53
|
-
example_default$15,
|
|
54
|
-
example_default$16,
|
|
55
|
-
example_default$17,
|
|
56
|
-
example_default$18,
|
|
57
|
-
example_default$19,
|
|
58
|
-
example_default$20,
|
|
59
|
-
example_default$21,
|
|
60
|
-
example_default$22,
|
|
61
|
-
example_default$23,
|
|
62
|
-
example_default$24,
|
|
63
|
-
example_default$25,
|
|
64
|
-
example_default$26,
|
|
65
|
-
example_default$27,
|
|
66
|
-
example_default$28,
|
|
67
|
-
example_default$29,
|
|
68
|
-
example_default$30,
|
|
69
|
-
example_default$31,
|
|
70
|
-
example_default$32,
|
|
71
|
-
example_default$33
|
|
72
|
-
];
|
|
73
|
-
|
|
74
|
-
//#endregion
|
|
75
|
-
export { EXAMPLE_REGISTRY };
|
|
1
|
+
import e from"@lssm/example.agent-console/example";import t from"@lssm/example.ai-support-bot/example";import n from"@lssm/example.analytics-dashboard/example";import r from"@lssm/example.content-generation/example";import i from"@lssm/example.crm-pipeline/example";import a from"@lssm/example.integration-hub/example";import o from"@lssm/example.integration-stripe/example";import s from"@lssm/example.kb-update-pipeline/example";import c from"@lssm/example.knowledge-canon/example";import l from"@lssm/example.learning-patterns/example";import u from"@lssm/example.learning-journey-ambient-coach/example";import d from"@lssm/example.learning-journey-crm-onboarding/example";import f from"@lssm/example.learning-journey-duo-drills/example";import p from"@lssm/example.learning-journey-platform-tour/example";import m from"@lssm/example.learning-journey-quest-challenges/example";import h from"@lssm/example.learning-journey-registry/example";import g from"@lssm/example.learning-journey-studio-onboarding/example";import _ from"@lssm/example.learning-journey-ui-coaching/example";import v from"@lssm/example.learning-journey-ui-gamified/example";import y from"@lssm/example.learning-journey-ui-onboarding/example";import b from"@lssm/example.learning-journey-ui-shared/example";import x from"@lssm/example.lifecycle-cli/example";import S from"@lssm/example.lifecycle-dashboard/example";import C from"@lssm/example.locale-jurisdiction-gate/example";import w from"@lssm/example.marketplace/example";import T from"@lssm/example.openbanking-powens/example";import E from"@lssm/example.personalization/example";import D from"@lssm/example.policy-safe-knowledge-assistant/example";import O from"@lssm/example.saas-boilerplate/example";import k from"@lssm/example.service-business-os/example";import A from"@lssm/example.team-hub/example";import j from"@lssm/example.versioned-knowledge-base/example";import M from"@lssm/example.wealth-snapshot/example";import N from"@lssm/example.workflow-system/example";const P=[e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N];export{P as EXAMPLE_REGISTRY};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getExample, listExamples, searchExamples } from "./registry.js";
|
|
3
|
-
import { validateExamples } from "./validate.js";
|
|
4
|
-
|
|
5
|
-
export { EXAMPLE_REGISTRY, getExample, listExamples, searchExamples, validateExamples };
|
|
1
|
+
import{EXAMPLE_REGISTRY as e}from"./builtins.js";import{getExample as t,listExamples as n,searchExamples as r}from"./registry.js";import{validateExamples as i}from"./validate.js";export{e as EXAMPLE_REGISTRY,t as getExample,n as listExamples,r as searchExamples,i as validateExamples};
|
package/dist/registry.js
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/registry.ts
|
|
4
|
-
function listExamples() {
|
|
5
|
-
return EXAMPLE_REGISTRY.slice().sort((a, b) => a.id.localeCompare(b.id));
|
|
6
|
-
}
|
|
7
|
-
function getExample(id) {
|
|
8
|
-
return EXAMPLE_REGISTRY.find((ex) => ex.id === id);
|
|
9
|
-
}
|
|
10
|
-
function searchExamples(query) {
|
|
11
|
-
const q = query.toLowerCase().trim();
|
|
12
|
-
if (!q) return [...listExamples()];
|
|
13
|
-
return listExamples().filter((ex) => {
|
|
14
|
-
return `${ex.id} ${ex.title} ${ex.summary} ${ex.tags.join(" ")}`.toLowerCase().includes(q);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export { getExample, listExamples, searchExamples };
|
|
1
|
+
import{EXAMPLE_REGISTRY as e}from"./builtins.js";function t(){return e.slice().sort((e,t)=>e.id.localeCompare(t.id))}function n(t){return e.find(e=>e.id===t)}function r(e){let n=e.toLowerCase().trim();return n?t().filter(e=>`${e.id} ${e.title} ${e.summary} ${e.tags.join(` `)}`.toLowerCase().includes(n)):[...t()]}export{n as getExample,t as listExamples,r as searchExamples};
|
package/dist/validate.js
CHANGED
|
@@ -1,89 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/validate.ts
|
|
4
|
-
const ExampleDefinitionSchema = z.object({
|
|
5
|
-
id: z.string().min(1),
|
|
6
|
-
title: z.string().min(1),
|
|
7
|
-
summary: z.string().min(1),
|
|
8
|
-
tags: z.array(z.string()).default([]),
|
|
9
|
-
kind: z.enum([
|
|
10
|
-
"template",
|
|
11
|
-
"workflow",
|
|
12
|
-
"integration",
|
|
13
|
-
"knowledge",
|
|
14
|
-
"blueprint",
|
|
15
|
-
"ui",
|
|
16
|
-
"script",
|
|
17
|
-
"library"
|
|
18
|
-
]),
|
|
19
|
-
visibility: z.enum([
|
|
20
|
-
"public",
|
|
21
|
-
"internal",
|
|
22
|
-
"mixed"
|
|
23
|
-
]),
|
|
24
|
-
docs: z.object({
|
|
25
|
-
rootDocId: z.string().optional(),
|
|
26
|
-
goalDocId: z.string().optional(),
|
|
27
|
-
usageDocId: z.string().optional(),
|
|
28
|
-
referenceDocId: z.string().optional(),
|
|
29
|
-
constraintsDocId: z.string().optional()
|
|
30
|
-
}).optional(),
|
|
31
|
-
entrypoints: z.object({
|
|
32
|
-
packageName: z.string().min(1),
|
|
33
|
-
feature: z.string().optional(),
|
|
34
|
-
presentations: z.string().optional(),
|
|
35
|
-
contracts: z.string().optional(),
|
|
36
|
-
handlers: z.string().optional(),
|
|
37
|
-
ui: z.string().optional(),
|
|
38
|
-
docs: z.string().optional()
|
|
39
|
-
}),
|
|
40
|
-
surfaces: z.object({
|
|
41
|
-
templates: z.boolean(),
|
|
42
|
-
sandbox: z.object({
|
|
43
|
-
enabled: z.boolean(),
|
|
44
|
-
modes: z.array(z.enum([
|
|
45
|
-
"playground",
|
|
46
|
-
"specs",
|
|
47
|
-
"builder",
|
|
48
|
-
"markdown",
|
|
49
|
-
"evolution"
|
|
50
|
-
]))
|
|
51
|
-
}),
|
|
52
|
-
studio: z.object({
|
|
53
|
-
enabled: z.boolean(),
|
|
54
|
-
installable: z.boolean()
|
|
55
|
-
}),
|
|
56
|
-
mcp: z.object({ enabled: z.boolean() })
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
function validateExamples(examples) {
|
|
60
|
-
const errors = [];
|
|
61
|
-
const seen = /* @__PURE__ */ new Set();
|
|
62
|
-
for (const example of examples) {
|
|
63
|
-
if (seen.has(example.id)) {
|
|
64
|
-
errors.push({
|
|
65
|
-
exampleId: example.id,
|
|
66
|
-
message: `Duplicate example id: ${example.id}`
|
|
67
|
-
});
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
seen.add(example.id);
|
|
71
|
-
const parsed = ExampleDefinitionSchema.safeParse(example);
|
|
72
|
-
if (!parsed.success) for (const issue of parsed.error.issues) errors.push({
|
|
73
|
-
exampleId: example.id,
|
|
74
|
-
message: issue.message,
|
|
75
|
-
path: issue.path.join(".")
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
if (errors.length) return {
|
|
79
|
-
ok: false,
|
|
80
|
-
errors
|
|
81
|
-
};
|
|
82
|
-
return {
|
|
83
|
-
ok: true,
|
|
84
|
-
examples
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
//#endregion
|
|
89
|
-
export { validateExamples };
|
|
1
|
+
import{z as e}from"zod";const t=e.object({id:e.string().min(1),title:e.string().min(1),summary:e.string().min(1),tags:e.array(e.string()).default([]),kind:e.enum([`template`,`workflow`,`integration`,`knowledge`,`blueprint`,`ui`,`script`,`library`]),visibility:e.enum([`public`,`internal`,`mixed`]),docs:e.object({rootDocId:e.string().optional(),goalDocId:e.string().optional(),usageDocId:e.string().optional(),referenceDocId:e.string().optional(),constraintsDocId:e.string().optional()}).optional(),entrypoints:e.object({packageName:e.string().min(1),feature:e.string().optional(),presentations:e.string().optional(),contracts:e.string().optional(),handlers:e.string().optional(),ui:e.string().optional(),docs:e.string().optional()}),surfaces:e.object({templates:e.boolean(),sandbox:e.object({enabled:e.boolean(),modes:e.array(e.enum([`playground`,`specs`,`builder`,`markdown`,`evolution`]))}),studio:e.object({enabled:e.boolean(),installable:e.boolean()}),mcp:e.object({enabled:e.boolean()})})});function n(e){let n=[],r=new Set;for(let i of e){if(r.has(i.id)){n.push({exampleId:i.id,message:`Duplicate example id: ${i.id}`});continue}r.add(i.id);let e=t.safeParse(i);if(!e.success)for(let t of e.error.issues)n.push({exampleId:i.id,message:t.message,path:t.path.join(`.`)})}return n.length?{ok:!1,errors:n}:{ok:!0,examples:e}}export{n as validateExamples};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/module.contractspec-examples",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.41.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
13
|
"publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
|
|
14
|
-
"publish:pkg:canary": "bun publish:pkg --tag canary",
|
|
15
14
|
"build": "bun build:bundle && bun build:types",
|
|
16
15
|
"build:bundle": "tsdown",
|
|
17
16
|
"build:types": "tsc --noEmit",
|
|
@@ -23,50 +22,50 @@
|
|
|
23
22
|
"test": "bun run"
|
|
24
23
|
},
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"@lssm/example.agent-console": "
|
|
27
|
-
"@lssm/example.ai-support-bot": "
|
|
28
|
-
"@lssm/example.analytics-dashboard": "
|
|
29
|
-
"@lssm/example.content-generation": "
|
|
30
|
-
"@lssm/example.crm-pipeline": "
|
|
31
|
-
"@lssm/example.integration-hub": "
|
|
32
|
-
"@lssm/example.integration-stripe": "
|
|
33
|
-
"@lssm/example.kb-update-pipeline": "
|
|
34
|
-
"@lssm/example.knowledge-canon": "
|
|
35
|
-
"@lssm/example.learning-patterns": "
|
|
36
|
-
"@lssm/example.learning-journey-ambient-coach": "
|
|
37
|
-
"@lssm/example.learning-journey-crm-onboarding": "
|
|
38
|
-
"@lssm/example.learning-journey-duo-drills": "
|
|
39
|
-
"@lssm/example.learning-journey-platform-tour": "
|
|
40
|
-
"@lssm/example.learning-journey-quest-challenges": "
|
|
41
|
-
"@lssm/example.learning-journey-registry": "
|
|
42
|
-
"@lssm/example.learning-journey-studio-onboarding": "
|
|
43
|
-
"@lssm/example.learning-journey-ui-coaching": "
|
|
44
|
-
"@lssm/example.learning-journey-ui-gamified": "
|
|
45
|
-
"@lssm/example.learning-journey-ui-onboarding": "
|
|
46
|
-
"@lssm/example.learning-journey-ui-shared": "
|
|
47
|
-
"@lssm/example.lifecycle-cli": "
|
|
48
|
-
"@lssm/example.lifecycle-dashboard": "
|
|
49
|
-
"@lssm/example.locale-jurisdiction-gate": "
|
|
50
|
-
"@lssm/example.marketplace": "
|
|
51
|
-
"@lssm/example.openbanking-powens": "
|
|
52
|
-
"@lssm/example.personalization": "
|
|
53
|
-
"@lssm/example.policy-safe-knowledge-assistant": "
|
|
54
|
-
"@lssm/example.saas-boilerplate": "
|
|
55
|
-
"@lssm/example.service-business-os": "
|
|
56
|
-
"@lssm/example.versioned-knowledge-base": "
|
|
57
|
-
"@lssm/example.team-hub": "
|
|
58
|
-
"@lssm/example.wealth-snapshot": "
|
|
59
|
-
"@lssm/example.workflow-system": "
|
|
25
|
+
"@lssm/example.agent-console": "workspace:*",
|
|
26
|
+
"@lssm/example.ai-support-bot": "workspace:*",
|
|
27
|
+
"@lssm/example.analytics-dashboard": "workspace:*",
|
|
28
|
+
"@lssm/example.content-generation": "workspace:*",
|
|
29
|
+
"@lssm/example.crm-pipeline": "workspace:*",
|
|
30
|
+
"@lssm/example.integration-hub": "workspace:*",
|
|
31
|
+
"@lssm/example.integration-stripe": "workspace:*",
|
|
32
|
+
"@lssm/example.kb-update-pipeline": "workspace:*",
|
|
33
|
+
"@lssm/example.knowledge-canon": "workspace:*",
|
|
34
|
+
"@lssm/example.learning-patterns": "workspace:*",
|
|
35
|
+
"@lssm/example.learning-journey-ambient-coach": "workspace:*",
|
|
36
|
+
"@lssm/example.learning-journey-crm-onboarding": "workspace:*",
|
|
37
|
+
"@lssm/example.learning-journey-duo-drills": "workspace:*",
|
|
38
|
+
"@lssm/example.learning-journey-platform-tour": "workspace:*",
|
|
39
|
+
"@lssm/example.learning-journey-quest-challenges": "workspace:*",
|
|
40
|
+
"@lssm/example.learning-journey-registry": "workspace:*",
|
|
41
|
+
"@lssm/example.learning-journey-studio-onboarding": "workspace:*",
|
|
42
|
+
"@lssm/example.learning-journey-ui-coaching": "workspace:*",
|
|
43
|
+
"@lssm/example.learning-journey-ui-gamified": "workspace:*",
|
|
44
|
+
"@lssm/example.learning-journey-ui-onboarding": "workspace:*",
|
|
45
|
+
"@lssm/example.learning-journey-ui-shared": "workspace:*",
|
|
46
|
+
"@lssm/example.lifecycle-cli": "workspace:*",
|
|
47
|
+
"@lssm/example.lifecycle-dashboard": "workspace:*",
|
|
48
|
+
"@lssm/example.locale-jurisdiction-gate": "workspace:*",
|
|
49
|
+
"@lssm/example.marketplace": "workspace:*",
|
|
50
|
+
"@lssm/example.openbanking-powens": "workspace:*",
|
|
51
|
+
"@lssm/example.personalization": "workspace:*",
|
|
52
|
+
"@lssm/example.policy-safe-knowledge-assistant": "workspace:*",
|
|
53
|
+
"@lssm/example.saas-boilerplate": "workspace:*",
|
|
54
|
+
"@lssm/example.service-business-os": "workspace:*",
|
|
55
|
+
"@lssm/example.versioned-knowledge-base": "workspace:*",
|
|
56
|
+
"@lssm/example.team-hub": "workspace:*",
|
|
57
|
+
"@lssm/example.wealth-snapshot": "workspace:*",
|
|
58
|
+
"@lssm/example.workflow-system": "workspace:*",
|
|
60
59
|
"zod": "^4.1.13"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|
|
63
|
-
"@lssm/tool.tsdown": "
|
|
64
|
-
"@lssm/tool.typescript": "
|
|
62
|
+
"@lssm/tool.tsdown": "workspace:*",
|
|
63
|
+
"@lssm/tool.typescript": "workspace:*",
|
|
65
64
|
"tsdown": "^0.17.4",
|
|
66
65
|
"typescript": "^5.9.3"
|
|
67
66
|
},
|
|
68
67
|
"exports": {
|
|
69
|
-
".": "./
|
|
68
|
+
".": "./src/index.ts",
|
|
70
69
|
"./*": "./*"
|
|
71
70
|
},
|
|
72
71
|
"publishConfig": {
|
package/dist/builtins.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/agent-console/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "agent-console",
|
|
4
|
-
title: "Agent Console",
|
|
5
|
-
summary: "AI agent ops console: tools, agents, runs, logs, and metrics (spec-first, regenerable).",
|
|
6
|
-
tags: [
|
|
7
|
-
"ai",
|
|
8
|
-
"agents",
|
|
9
|
-
"tools",
|
|
10
|
-
"orchestration"
|
|
11
|
-
],
|
|
12
|
-
kind: "template",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: {
|
|
15
|
-
rootDocId: "docs.examples.agent-console.reference",
|
|
16
|
-
goalDocId: "docs.examples.agent-console.goal",
|
|
17
|
-
usageDocId: "docs.examples.agent-console.usage",
|
|
18
|
-
constraintsDocId: "docs.examples.agent-console.constraints"
|
|
19
|
-
},
|
|
20
|
-
entrypoints: {
|
|
21
|
-
packageName: "@lssm/example.agent-console",
|
|
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,37 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/ai-support-bot/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "ai-support-bot",
|
|
4
|
-
title: "AI Support Bot",
|
|
5
|
-
summary: "Classify and resolve a support ticket (with a drafted response) using the support-bot and knowledge libraries.",
|
|
6
|
-
tags: [
|
|
7
|
-
"support",
|
|
8
|
-
"ai",
|
|
9
|
-
"tickets",
|
|
10
|
-
"knowledge"
|
|
11
|
-
],
|
|
12
|
-
kind: "script",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: {
|
|
15
|
-
rootDocId: "docs.examples.ai-support-bot",
|
|
16
|
-
usageDocId: "docs.examples.ai-support-bot.usage"
|
|
17
|
-
},
|
|
18
|
-
entrypoints: {
|
|
19
|
-
packageName: "@lssm/example.ai-support-bot",
|
|
20
|
-
docs: "./docs"
|
|
21
|
-
},
|
|
22
|
-
surfaces: {
|
|
23
|
-
templates: true,
|
|
24
|
-
sandbox: {
|
|
25
|
-
enabled: true,
|
|
26
|
-
modes: ["markdown"]
|
|
27
|
-
},
|
|
28
|
-
studio: {
|
|
29
|
-
enabled: true,
|
|
30
|
-
installable: true
|
|
31
|
-
},
|
|
32
|
-
mcp: { enabled: true }
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { example_default };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/analytics-dashboard/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "analytics-dashboard",
|
|
4
|
-
title: "Analytics Dashboard",
|
|
5
|
-
summary: "Tenant-scoped dashboards, widgets, query builder, and scheduled reports (spec-first widgets/queries).",
|
|
6
|
-
tags: [
|
|
7
|
-
"analytics",
|
|
8
|
-
"dashboards",
|
|
9
|
-
"bi",
|
|
10
|
-
"queries"
|
|
11
|
-
],
|
|
12
|
-
kind: "template",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: {
|
|
15
|
-
rootDocId: "docs.examples.analytics-dashboard",
|
|
16
|
-
goalDocId: "docs.examples.analytics-dashboard.goal",
|
|
17
|
-
usageDocId: "docs.examples.analytics-dashboard.usage",
|
|
18
|
-
constraintsDocId: "docs.examples.analytics-dashboard.constraints"
|
|
19
|
-
},
|
|
20
|
-
entrypoints: {
|
|
21
|
-
packageName: "@lssm/example.analytics-dashboard",
|
|
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,37 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/content-generation/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "content-generation",
|
|
4
|
-
title: "Content Generation",
|
|
5
|
-
summary: "Generate blog/landing/email/social/SEO assets from a typed ContentBrief using @lssm/lib.content-gen.",
|
|
6
|
-
tags: [
|
|
7
|
-
"content",
|
|
8
|
-
"marketing",
|
|
9
|
-
"generation",
|
|
10
|
-
"ai"
|
|
11
|
-
],
|
|
12
|
-
kind: "script",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: {
|
|
15
|
-
rootDocId: "docs.examples.content-generation",
|
|
16
|
-
usageDocId: "docs.examples.content-generation.usage"
|
|
17
|
-
},
|
|
18
|
-
entrypoints: {
|
|
19
|
-
packageName: "@lssm/example.content-generation",
|
|
20
|
-
docs: "./docs"
|
|
21
|
-
},
|
|
22
|
-
surfaces: {
|
|
23
|
-
templates: true,
|
|
24
|
-
sandbox: {
|
|
25
|
-
enabled: true,
|
|
26
|
-
modes: ["markdown"]
|
|
27
|
-
},
|
|
28
|
-
studio: {
|
|
29
|
-
enabled: true,
|
|
30
|
-
installable: true
|
|
31
|
-
},
|
|
32
|
-
mcp: { enabled: true }
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { example_default };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/crm-pipeline/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "crm-pipeline",
|
|
4
|
-
title: "CRM Pipeline",
|
|
5
|
-
summary: "Sales CRM with contacts, companies, deals, pipelines, and tasks.",
|
|
6
|
-
tags: [
|
|
7
|
-
"crm",
|
|
8
|
-
"sales",
|
|
9
|
-
"pipeline",
|
|
10
|
-
"deals"
|
|
11
|
-
],
|
|
12
|
-
kind: "template",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: { rootDocId: "docs.examples.crm-pipeline" },
|
|
15
|
-
entrypoints: {
|
|
16
|
-
packageName: "@lssm/example.crm-pipeline",
|
|
17
|
-
feature: "./feature",
|
|
18
|
-
contracts: "./contracts",
|
|
19
|
-
presentations: "./presentations",
|
|
20
|
-
handlers: "./handlers",
|
|
21
|
-
docs: "./docs"
|
|
22
|
-
},
|
|
23
|
-
surfaces: {
|
|
24
|
-
templates: true,
|
|
25
|
-
sandbox: {
|
|
26
|
-
enabled: true,
|
|
27
|
-
modes: [
|
|
28
|
-
"playground",
|
|
29
|
-
"specs",
|
|
30
|
-
"builder",
|
|
31
|
-
"markdown",
|
|
32
|
-
"evolution"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
studio: {
|
|
36
|
-
enabled: true,
|
|
37
|
-
installable: true
|
|
38
|
-
},
|
|
39
|
-
mcp: { enabled: true }
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
//#endregion
|
|
44
|
-
export { example_default };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/integration-hub/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "integration-hub",
|
|
4
|
-
title: "Integration Hub",
|
|
5
|
-
summary: "Provider-agnostic integration center with connectors, connections, field mappings, and sync logs.",
|
|
6
|
-
tags: [
|
|
7
|
-
"integrations",
|
|
8
|
-
"sync",
|
|
9
|
-
"etl",
|
|
10
|
-
"connectors"
|
|
11
|
-
],
|
|
12
|
-
kind: "template",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: {
|
|
15
|
-
rootDocId: "docs.examples.integration-hub",
|
|
16
|
-
goalDocId: "docs.examples.integration-hub.goal",
|
|
17
|
-
usageDocId: "docs.examples.integration-hub.usage",
|
|
18
|
-
constraintsDocId: "docs.examples.integration-hub.constraints"
|
|
19
|
-
},
|
|
20
|
-
entrypoints: {
|
|
21
|
-
packageName: "@lssm/example.integration-hub",
|
|
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/integration-stripe/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "integration-stripe",
|
|
4
|
-
title: "Integration — Stripe Payments",
|
|
5
|
-
summary: "Wire AppBlueprint + Workflow + TenantAppConfig to enable Stripe-backed payments (spec-first integration pattern).",
|
|
6
|
-
tags: [
|
|
7
|
-
"stripe",
|
|
8
|
-
"payments",
|
|
9
|
-
"integration",
|
|
10
|
-
"blueprint",
|
|
11
|
-
"workflow"
|
|
12
|
-
],
|
|
13
|
-
kind: "integration",
|
|
14
|
-
visibility: "public",
|
|
15
|
-
docs: {
|
|
16
|
-
rootDocId: "docs.examples.integration-stripe",
|
|
17
|
-
usageDocId: "docs.examples.integration-stripe.usage"
|
|
18
|
-
},
|
|
19
|
-
entrypoints: {
|
|
20
|
-
packageName: "@lssm/example.integration-stripe",
|
|
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,41 +0,0 @@
|
|
|
1
|
-
//#region ../../examples/kb-update-pipeline/dist/example.js
|
|
2
|
-
var example_default = {
|
|
3
|
-
id: "kb-update-pipeline",
|
|
4
|
-
title: "KB Update Pipeline",
|
|
5
|
-
summary: "Automation proposes KB updates; humans verify; everything audited and notified.",
|
|
6
|
-
tags: [
|
|
7
|
-
"knowledge",
|
|
8
|
-
"pipeline",
|
|
9
|
-
"hitl",
|
|
10
|
-
"audit"
|
|
11
|
-
],
|
|
12
|
-
kind: "knowledge",
|
|
13
|
-
visibility: "public",
|
|
14
|
-
docs: { rootDocId: "docs.examples.kb-update-pipeline" },
|
|
15
|
-
entrypoints: {
|
|
16
|
-
packageName: "@lssm/example.kb-update-pipeline",
|
|
17
|
-
feature: "./feature",
|
|
18
|
-
contracts: "./contracts",
|
|
19
|
-
handlers: "./handlers",
|
|
20
|
-
docs: "./docs"
|
|
21
|
-
},
|
|
22
|
-
surfaces: {
|
|
23
|
-
templates: true,
|
|
24
|
-
sandbox: {
|
|
25
|
-
enabled: true,
|
|
26
|
-
modes: [
|
|
27
|
-
"markdown",
|
|
28
|
-
"specs",
|
|
29
|
-
"builder"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
studio: {
|
|
33
|
-
enabled: true,
|
|
34
|
-
installable: true
|
|
35
|
-
},
|
|
36
|
-
mcp: { enabled: true }
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
//#endregion
|
|
41
|
-
export { example_default };
|