@decantr/core 1.0.0-beta.9 → 1.0.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.
@@ -0,0 +1,189 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/execution-pack.common.v1.json",
4
+ "title": "Decantr Execution Pack Common Definitions",
5
+ "$defs": {
6
+ "nonEmptyString": {
7
+ "type": "string",
8
+ "minLength": 1
9
+ },
10
+ "stringArray": {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string"
14
+ }
15
+ },
16
+ "executionPackTarget": {
17
+ "type": "object",
18
+ "required": ["platform", "framework", "runtime", "adapter"],
19
+ "properties": {
20
+ "platform": {
21
+ "const": "web"
22
+ },
23
+ "framework": {
24
+ "type": ["string", "null"]
25
+ },
26
+ "runtime": {
27
+ "type": ["string", "null"]
28
+ },
29
+ "adapter": {
30
+ "$ref": "#/$defs/nonEmptyString"
31
+ }
32
+ },
33
+ "additionalProperties": false
34
+ },
35
+ "executionPackScope": {
36
+ "type": "object",
37
+ "required": ["appId", "pageIds", "patternIds"],
38
+ "properties": {
39
+ "appId": {
40
+ "$ref": "#/$defs/nonEmptyString"
41
+ },
42
+ "pageIds": {
43
+ "$ref": "#/$defs/stringArray"
44
+ },
45
+ "patternIds": {
46
+ "$ref": "#/$defs/stringArray"
47
+ }
48
+ },
49
+ "additionalProperties": false
50
+ },
51
+ "executionPackExample": {
52
+ "type": "object",
53
+ "required": ["id", "label", "language", "snippet"],
54
+ "properties": {
55
+ "id": {
56
+ "$ref": "#/$defs/nonEmptyString"
57
+ },
58
+ "label": {
59
+ "$ref": "#/$defs/nonEmptyString"
60
+ },
61
+ "language": {
62
+ "$ref": "#/$defs/nonEmptyString"
63
+ },
64
+ "snippet": {
65
+ "$ref": "#/$defs/nonEmptyString"
66
+ }
67
+ },
68
+ "additionalProperties": false
69
+ },
70
+ "executionPackAntiPattern": {
71
+ "type": "object",
72
+ "required": ["id", "summary", "guidance"],
73
+ "properties": {
74
+ "id": {
75
+ "$ref": "#/$defs/nonEmptyString"
76
+ },
77
+ "summary": {
78
+ "$ref": "#/$defs/nonEmptyString"
79
+ },
80
+ "guidance": {
81
+ "$ref": "#/$defs/nonEmptyString"
82
+ }
83
+ },
84
+ "additionalProperties": false
85
+ },
86
+ "executionPackSuccessCheck": {
87
+ "type": "object",
88
+ "required": ["id", "label", "severity"],
89
+ "properties": {
90
+ "id": {
91
+ "$ref": "#/$defs/nonEmptyString"
92
+ },
93
+ "label": {
94
+ "$ref": "#/$defs/nonEmptyString"
95
+ },
96
+ "severity": {
97
+ "type": "string",
98
+ "enum": ["error", "warn", "info"]
99
+ }
100
+ },
101
+ "additionalProperties": false
102
+ },
103
+ "executionPackTokenBudget": {
104
+ "type": "object",
105
+ "required": ["target", "max", "strategy"],
106
+ "properties": {
107
+ "target": {
108
+ "type": "integer",
109
+ "minimum": 0
110
+ },
111
+ "max": {
112
+ "type": "integer",
113
+ "minimum": 0
114
+ },
115
+ "strategy": {
116
+ "$ref": "#/$defs/stringArray"
117
+ }
118
+ },
119
+ "additionalProperties": false
120
+ },
121
+ "themeRef": {
122
+ "type": "object",
123
+ "required": ["id", "mode", "shape"],
124
+ "properties": {
125
+ "id": {
126
+ "$ref": "#/$defs/nonEmptyString"
127
+ },
128
+ "mode": {
129
+ "$ref": "#/$defs/nonEmptyString"
130
+ },
131
+ "shape": {
132
+ "type": ["string", "null"]
133
+ }
134
+ },
135
+ "additionalProperties": false
136
+ },
137
+ "routeSummary": {
138
+ "type": "object",
139
+ "required": ["pageId", "path", "patternIds"],
140
+ "properties": {
141
+ "pageId": {
142
+ "$ref": "#/$defs/nonEmptyString"
143
+ },
144
+ "path": {
145
+ "$ref": "#/$defs/nonEmptyString"
146
+ },
147
+ "patternIds": {
148
+ "$ref": "#/$defs/stringArray"
149
+ }
150
+ },
151
+ "additionalProperties": false
152
+ },
153
+ "pagePattern": {
154
+ "type": "object",
155
+ "required": ["id", "alias", "preset", "layout"],
156
+ "properties": {
157
+ "id": {
158
+ "$ref": "#/$defs/nonEmptyString"
159
+ },
160
+ "alias": {
161
+ "$ref": "#/$defs/nonEmptyString"
162
+ },
163
+ "preset": {
164
+ "$ref": "#/$defs/nonEmptyString"
165
+ },
166
+ "layout": {
167
+ "$ref": "#/$defs/nonEmptyString"
168
+ }
169
+ },
170
+ "additionalProperties": false
171
+ },
172
+ "manifestEntry": {
173
+ "type": "object",
174
+ "required": ["id", "markdown", "json"],
175
+ "properties": {
176
+ "id": {
177
+ "$ref": "#/$defs/nonEmptyString"
178
+ },
179
+ "markdown": {
180
+ "$ref": "#/$defs/nonEmptyString"
181
+ },
182
+ "json": {
183
+ "$ref": "#/$defs/nonEmptyString"
184
+ }
185
+ },
186
+ "additionalProperties": false
187
+ }
188
+ }
189
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/mutation-pack.v1.json",
4
+ "title": "Decantr Mutation Execution Pack",
5
+ "type": "object",
6
+ "required": ["$schema", "packVersion", "packType", "objective", "target", "preset", "scope", "requiredSetup", "allowedVocabulary", "examples", "antiPatterns", "successChecks", "tokenBudget", "data", "renderedMarkdown"],
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://decantr.ai/schemas/mutation-pack.v1.json"
10
+ },
11
+ "packVersion": {
12
+ "const": "1.0.0"
13
+ },
14
+ "packType": {
15
+ "const": "mutation"
16
+ },
17
+ "objective": {
18
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
19
+ },
20
+ "target": {
21
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTarget"
22
+ },
23
+ "preset": {
24
+ "type": ["string", "null"]
25
+ },
26
+ "scope": {
27
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackScope"
28
+ },
29
+ "requiredSetup": {
30
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
31
+ },
32
+ "allowedVocabulary": {
33
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
34
+ },
35
+ "examples": {
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackExample"
39
+ }
40
+ },
41
+ "antiPatterns": {
42
+ "type": "array",
43
+ "items": {
44
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackAntiPattern"
45
+ }
46
+ },
47
+ "successChecks": {
48
+ "type": "array",
49
+ "items": {
50
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackSuccessCheck"
51
+ }
52
+ },
53
+ "tokenBudget": {
54
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTokenBudget"
55
+ },
56
+ "data": {
57
+ "type": "object",
58
+ "required": ["mutationType", "shell", "theme", "routing", "features", "routes", "workflow"],
59
+ "properties": {
60
+ "mutationType": {
61
+ "type": "string",
62
+ "enum": ["add-page", "modify"]
63
+ },
64
+ "shell": {
65
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
66
+ },
67
+ "theme": {
68
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/themeRef"
69
+ },
70
+ "routing": {
71
+ "type": "string",
72
+ "enum": ["hash", "history", "pathname"]
73
+ },
74
+ "features": {
75
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
76
+ },
77
+ "routes": {
78
+ "type": "array",
79
+ "items": {
80
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/routeSummary"
81
+ }
82
+ },
83
+ "workflow": {
84
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
85
+ }
86
+ },
87
+ "additionalProperties": false
88
+ },
89
+ "renderedMarkdown": {
90
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
91
+ }
92
+ },
93
+ "additionalProperties": false
94
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/pack-manifest.v1.json",
4
+ "title": "Decantr Execution Pack Manifest",
5
+ "type": "object",
6
+ "required": ["$schema", "version", "generatedAt", "scaffold", "review", "sections", "pages", "mutations"],
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://decantr.ai/schemas/pack-manifest.v1.json"
10
+ },
11
+ "version": {
12
+ "const": "1.0.0"
13
+ },
14
+ "generatedAt": {
15
+ "type": "string",
16
+ "format": "date-time"
17
+ },
18
+ "scaffold": {
19
+ "anyOf": [
20
+ {
21
+ "type": "null"
22
+ },
23
+ {
24
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/manifestEntry"
25
+ }
26
+ ]
27
+ },
28
+ "review": {
29
+ "anyOf": [
30
+ {
31
+ "type": "null"
32
+ },
33
+ {
34
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/manifestEntry"
35
+ }
36
+ ]
37
+ },
38
+ "sections": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "required": ["id", "markdown", "json", "pageIds"],
43
+ "properties": {
44
+ "id": {
45
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
46
+ },
47
+ "markdown": {
48
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
49
+ },
50
+ "json": {
51
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
52
+ },
53
+ "pageIds": {
54
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
55
+ }
56
+ },
57
+ "additionalProperties": false
58
+ }
59
+ },
60
+ "pages": {
61
+ "type": "array",
62
+ "items": {
63
+ "type": "object",
64
+ "required": ["id", "markdown", "json", "sectionId", "sectionRole"],
65
+ "properties": {
66
+ "id": {
67
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
68
+ },
69
+ "markdown": {
70
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
71
+ },
72
+ "json": {
73
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
74
+ },
75
+ "sectionId": {
76
+ "type": ["string", "null"]
77
+ },
78
+ "sectionRole": {
79
+ "type": ["string", "null"]
80
+ }
81
+ },
82
+ "additionalProperties": false
83
+ }
84
+ },
85
+ "mutations": {
86
+ "type": "array",
87
+ "items": {
88
+ "type": "object",
89
+ "required": ["id", "markdown", "json", "mutationType"],
90
+ "properties": {
91
+ "id": {
92
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
93
+ },
94
+ "markdown": {
95
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
96
+ },
97
+ "json": {
98
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
99
+ },
100
+ "mutationType": {
101
+ "type": "string",
102
+ "enum": ["add-page", "modify"]
103
+ }
104
+ },
105
+ "additionalProperties": false
106
+ }
107
+ }
108
+ },
109
+ "additionalProperties": false
110
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/page-pack.v1.json",
4
+ "title": "Decantr Page Execution Pack",
5
+ "type": "object",
6
+ "required": ["$schema", "packVersion", "packType", "objective", "target", "preset", "scope", "requiredSetup", "allowedVocabulary", "examples", "antiPatterns", "successChecks", "tokenBudget", "data", "renderedMarkdown"],
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://decantr.ai/schemas/page-pack.v1.json"
10
+ },
11
+ "packVersion": {
12
+ "const": "1.0.0"
13
+ },
14
+ "packType": {
15
+ "const": "page"
16
+ },
17
+ "objective": {
18
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
19
+ },
20
+ "target": {
21
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTarget"
22
+ },
23
+ "preset": {
24
+ "type": ["string", "null"]
25
+ },
26
+ "scope": {
27
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackScope"
28
+ },
29
+ "requiredSetup": {
30
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
31
+ },
32
+ "allowedVocabulary": {
33
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
34
+ },
35
+ "examples": {
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackExample"
39
+ }
40
+ },
41
+ "antiPatterns": {
42
+ "type": "array",
43
+ "items": {
44
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackAntiPattern"
45
+ }
46
+ },
47
+ "successChecks": {
48
+ "type": "array",
49
+ "items": {
50
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackSuccessCheck"
51
+ }
52
+ },
53
+ "tokenBudget": {
54
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTokenBudget"
55
+ },
56
+ "data": {
57
+ "type": "object",
58
+ "required": ["pageId", "path", "shell", "sectionId", "sectionRole", "features", "surface", "theme", "wiringSignals", "patterns"],
59
+ "properties": {
60
+ "pageId": {
61
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
62
+ },
63
+ "path": {
64
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
65
+ },
66
+ "shell": {
67
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
68
+ },
69
+ "sectionId": {
70
+ "type": ["string", "null"]
71
+ },
72
+ "sectionRole": {
73
+ "type": ["string", "null"]
74
+ },
75
+ "features": {
76
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
77
+ },
78
+ "surface": {
79
+ "type": "string"
80
+ },
81
+ "theme": {
82
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/themeRef"
83
+ },
84
+ "wiringSignals": {
85
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
86
+ },
87
+ "patterns": {
88
+ "type": "array",
89
+ "items": {
90
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/pagePattern"
91
+ }
92
+ }
93
+ },
94
+ "additionalProperties": false
95
+ },
96
+ "renderedMarkdown": {
97
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
98
+ }
99
+ },
100
+ "additionalProperties": false
101
+ }
@@ -0,0 +1,97 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/review-pack.v1.json",
4
+ "title": "Decantr Review Execution Pack",
5
+ "type": "object",
6
+ "required": ["$schema", "packVersion", "packType", "objective", "target", "preset", "scope", "requiredSetup", "allowedVocabulary", "examples", "antiPatterns", "successChecks", "tokenBudget", "data", "renderedMarkdown"],
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://decantr.ai/schemas/review-pack.v1.json"
10
+ },
11
+ "packVersion": {
12
+ "const": "1.0.0"
13
+ },
14
+ "packType": {
15
+ "const": "review"
16
+ },
17
+ "objective": {
18
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
19
+ },
20
+ "target": {
21
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTarget"
22
+ },
23
+ "preset": {
24
+ "type": ["string", "null"]
25
+ },
26
+ "scope": {
27
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackScope"
28
+ },
29
+ "requiredSetup": {
30
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
31
+ },
32
+ "allowedVocabulary": {
33
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
34
+ },
35
+ "examples": {
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackExample"
39
+ }
40
+ },
41
+ "antiPatterns": {
42
+ "type": "array",
43
+ "items": {
44
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackAntiPattern"
45
+ }
46
+ },
47
+ "successChecks": {
48
+ "type": "array",
49
+ "items": {
50
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackSuccessCheck"
51
+ }
52
+ },
53
+ "tokenBudget": {
54
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTokenBudget"
55
+ },
56
+ "data": {
57
+ "type": "object",
58
+ "required": ["reviewType", "shell", "theme", "routing", "features", "routes", "focusAreas", "workflow"],
59
+ "properties": {
60
+ "reviewType": {
61
+ "type": "string",
62
+ "enum": ["app"]
63
+ },
64
+ "shell": {
65
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
66
+ },
67
+ "theme": {
68
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/themeRef"
69
+ },
70
+ "routing": {
71
+ "type": "string",
72
+ "enum": ["hash", "history", "pathname"]
73
+ },
74
+ "features": {
75
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
76
+ },
77
+ "routes": {
78
+ "type": "array",
79
+ "items": {
80
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/routeSummary"
81
+ }
82
+ },
83
+ "focusAreas": {
84
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
85
+ },
86
+ "workflow": {
87
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
88
+ }
89
+ },
90
+ "additionalProperties": false
91
+ },
92
+ "renderedMarkdown": {
93
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
94
+ }
95
+ },
96
+ "additionalProperties": false
97
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/scaffold-pack.v1.json",
4
+ "title": "Decantr Scaffold Execution Pack",
5
+ "type": "object",
6
+ "required": ["$schema", "packVersion", "packType", "objective", "target", "preset", "scope", "requiredSetup", "allowedVocabulary", "examples", "antiPatterns", "successChecks", "tokenBudget", "data", "renderedMarkdown"],
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://decantr.ai/schemas/scaffold-pack.v1.json"
10
+ },
11
+ "packVersion": {
12
+ "const": "1.0.0"
13
+ },
14
+ "packType": {
15
+ "const": "scaffold"
16
+ },
17
+ "objective": {
18
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
19
+ },
20
+ "target": {
21
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTarget"
22
+ },
23
+ "preset": {
24
+ "type": ["string", "null"]
25
+ },
26
+ "scope": {
27
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackScope"
28
+ },
29
+ "requiredSetup": {
30
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
31
+ },
32
+ "allowedVocabulary": {
33
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
34
+ },
35
+ "examples": {
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackExample"
39
+ }
40
+ },
41
+ "antiPatterns": {
42
+ "type": "array",
43
+ "items": {
44
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackAntiPattern"
45
+ }
46
+ },
47
+ "successChecks": {
48
+ "type": "array",
49
+ "items": {
50
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackSuccessCheck"
51
+ }
52
+ },
53
+ "tokenBudget": {
54
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/executionPackTokenBudget"
55
+ },
56
+ "data": {
57
+ "type": "object",
58
+ "required": ["shell", "theme", "routing", "features", "routes"],
59
+ "properties": {
60
+ "shell": {
61
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
62
+ },
63
+ "theme": {
64
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/themeRef"
65
+ },
66
+ "routing": {
67
+ "type": "string",
68
+ "enum": ["hash", "history", "pathname"]
69
+ },
70
+ "features": {
71
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/stringArray"
72
+ },
73
+ "routes": {
74
+ "type": "array",
75
+ "items": {
76
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/routeSummary"
77
+ }
78
+ }
79
+ },
80
+ "additionalProperties": false
81
+ },
82
+ "renderedMarkdown": {
83
+ "$ref": "https://decantr.ai/schemas/execution-pack.common.v1.json#/$defs/nonEmptyString"
84
+ }
85
+ },
86
+ "additionalProperties": false
87
+ }