@slexkit/mcp 0.4.0 → 0.5.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/README.md +25 -85
- package/dist/data/llms-authoring.txt +2 -45
- package/dist/data/llms-capabilities.txt +2 -125
- package/dist/data/llms-components.txt +176 -603
- package/dist/data/llms-full.txt +1413 -8266
- package/dist/data/llms-runtime.txt +83 -1716
- package/dist/data/llms-toolhost.txt +2 -300
- package/dist/data/llms.txt +79 -74
- package/dist/data/slexkit-ai-manifest.json +1828 -3077
- package/dist/data/standard/slex-custom-elements.catalog.json +1134 -0
- package/dist/data/standard/slex-html-conformance.json +156 -0
- package/dist/data/standard/slex-html-profile.json +34 -0
- package/dist/data/standard/slex-sandbox-sdk.json +39 -0
- package/dist/data/standard/slex-standard-manifest.json +22 -24
- package/dist/data/standard/slex-static-policy.json +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +13030 -2676
- package/dist/index.js.map +23 -5
- package/package.json +47 -47
- package/dist/data/standard/slex-capabilities.catalog.json +0 -413
- package/dist/data/standard/slex-component-catalog.json +0 -4475
- package/dist/data/standard/slex-conformance.json +0 -248
- package/dist/data/standard/slex-expression.schema.json +0 -2116
- package/dist/data/standard/slex-logic-profile.json +0 -130
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "slex-logic-profile",
|
|
3
|
-
"packageName": "slexkit",
|
|
4
|
-
"version": "0.4.0",
|
|
5
|
-
"profileVersion": "0.1",
|
|
6
|
-
"schemaVersion": "2026-06",
|
|
7
|
-
"protocolVersion": "0.1",
|
|
8
|
-
"positioning": "Slex is a Markdown-native logic-bearing UI artifact: component structure is declarative, while local state and interaction logic are expressed through a constrained JavaScript expression profile.",
|
|
9
|
-
"sourceFormat": {
|
|
10
|
-
"fenceLanguage": "slex",
|
|
11
|
-
"acceptedForms": [
|
|
12
|
-
"Slex expression envelope",
|
|
13
|
-
"bare component tree shorthand",
|
|
14
|
-
"state-only envelope"
|
|
15
|
-
],
|
|
16
|
-
"plainJsonOnly": false
|
|
17
|
-
},
|
|
18
|
-
"readPipes": {
|
|
19
|
-
"match": "Component prop keys beginning with '$', excluding structural directives.",
|
|
20
|
-
"valueType": "string",
|
|
21
|
-
"semantics": "Evaluated as JavaScript expressions with access to the Slex expression context."
|
|
22
|
-
},
|
|
23
|
-
"writePipes": {
|
|
24
|
-
"match": "Component prop keys beginning with 'on'.",
|
|
25
|
-
"valueType": "string",
|
|
26
|
-
"semantics": "Executed as JavaScript statements. $event contains the emitted event data."
|
|
27
|
-
},
|
|
28
|
-
"structuralDirectives": {
|
|
29
|
-
"$if": {
|
|
30
|
-
"valueType": "string",
|
|
31
|
-
"semantics": "Controls component existence."
|
|
32
|
-
},
|
|
33
|
-
"$for": {
|
|
34
|
-
"valueType": "string",
|
|
35
|
-
"semantics": "Iterates over array-like values."
|
|
36
|
-
},
|
|
37
|
-
"$key": {
|
|
38
|
-
"valueType": "string",
|
|
39
|
-
"semantics": "Provides the keyed reconciliation strategy for $for."
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"expressionContext": [
|
|
43
|
-
{
|
|
44
|
-
"name": "g",
|
|
45
|
-
"scope": "always",
|
|
46
|
-
"summary": "Reactive state proxy."
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "std",
|
|
50
|
-
"scope": "always",
|
|
51
|
-
"summary": "Pure deterministic SlexKit standard library."
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "api",
|
|
55
|
-
"scope": "host-injected",
|
|
56
|
-
"summary": "Host or secure runtime capability object."
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "$event",
|
|
60
|
-
"scope": "event handlers",
|
|
61
|
-
"summary": "Event payload for on* handlers."
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "$item",
|
|
65
|
-
"scope": "$for",
|
|
66
|
-
"summary": "Current array item."
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "$index",
|
|
70
|
-
"scope": "$for",
|
|
71
|
-
"summary": "Current item index."
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "$key",
|
|
75
|
-
"scope": "$for",
|
|
76
|
-
"summary": "Current item key."
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"reservedContextNames": [
|
|
80
|
-
"g",
|
|
81
|
-
"std",
|
|
82
|
-
"api",
|
|
83
|
-
"$event",
|
|
84
|
-
"$item",
|
|
85
|
-
"$index",
|
|
86
|
-
"$key"
|
|
87
|
-
],
|
|
88
|
-
"componentState": "Named components expose state according to their component catalog state mode: value, checked, enabled, readable, or none.",
|
|
89
|
-
"secureMode": {
|
|
90
|
-
"nativeCapabilitiesDenied": [
|
|
91
|
-
"fetch",
|
|
92
|
-
"XMLHttpRequest",
|
|
93
|
-
"WebSocket",
|
|
94
|
-
"setTimeout",
|
|
95
|
-
"setInterval",
|
|
96
|
-
"requestAnimationFrame"
|
|
97
|
-
],
|
|
98
|
-
"policyGatedApi": [
|
|
99
|
-
"api.get",
|
|
100
|
-
"api.post",
|
|
101
|
-
"api.fetch",
|
|
102
|
-
"api.setTimeout",
|
|
103
|
-
"api.clearTimeout",
|
|
104
|
-
"api.setInterval",
|
|
105
|
-
"api.clearInterval",
|
|
106
|
-
"api.raf",
|
|
107
|
-
"api.cancelRaf",
|
|
108
|
-
"api.createCanvas",
|
|
109
|
-
"api.getCanvasContext",
|
|
110
|
-
"api.onDispose",
|
|
111
|
-
"api.now",
|
|
112
|
-
"api.isTimeoutError",
|
|
113
|
-
"api.isNetworkError",
|
|
114
|
-
"api.isPolicyError",
|
|
115
|
-
"api.errorMessage"
|
|
116
|
-
],
|
|
117
|
-
"guidance": "Use policy-gated api.* capabilities in secure mode; do not call native browser capabilities directly."
|
|
118
|
-
},
|
|
119
|
-
"diagnostics": [
|
|
120
|
-
"unsupported_protocol",
|
|
121
|
-
"invalid_component_key",
|
|
122
|
-
"invalid_directive_type",
|
|
123
|
-
"unknown_component",
|
|
124
|
-
"unknown_prop",
|
|
125
|
-
"unknown_std_member",
|
|
126
|
-
"unknown_api_member",
|
|
127
|
-
"native_secure_capability",
|
|
128
|
-
"reserved_context_shadowing"
|
|
129
|
-
]
|
|
130
|
-
}
|