@appaflytech/zeyrek-ai-mcp 0.0.48 → 0.0.50

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 (70) hide show
  1. package/.env.example +5 -0
  2. package/dist/config.js +2 -0
  3. package/dist/knowledge/access.js +4 -3
  4. package/dist/knowledge/assistantRun.js +165 -0
  5. package/dist/knowledge/componentCatalog.js +31 -0
  6. package/dist/knowledge/componentEvents.js +4 -1
  7. package/dist/knowledge/mobileComponentCatalog.js +21 -3
  8. package/dist/knowledge/mobileComponentEvents.js +9 -0
  9. package/dist/knowledge/mobileStore.js +14 -0
  10. package/dist/knowledge/motionResolve.js +1 -1
  11. package/dist/knowledge/platform/lint.js +36 -3
  12. package/dist/knowledge/platform/mobileRules.js +6 -0
  13. package/dist/knowledge/styleResolve.js +7 -0
  14. package/dist/platform/capture/actions.js +67 -0
  15. package/dist/platform/capture/capture.js +26 -21
  16. package/dist/platform/errors.js +9 -0
  17. package/dist/platform/http.js +7 -2
  18. package/dist/platform/storeArt/compose.js +114 -0
  19. package/dist/platform/storeArt/deck.js +133 -0
  20. package/dist/platform/storeArt/gallery.js +331 -0
  21. package/dist/platform/storeArt/layouts.js +121 -0
  22. package/dist/platform/storeArt/styles.js +54 -0
  23. package/dist/platform/tokenVault.js +15 -0
  24. package/dist/resources/examples/mobile-reorder-persist.json +491 -0
  25. package/dist/resources/guides/assistant.md +194 -0
  26. package/dist/resources/guides/deployment.md +19 -1
  27. package/dist/resources/guides/microservice.md +7 -0
  28. package/dist/resources/guides/mobile-publish.md +13 -0
  29. package/dist/resources/guides/mobile.md +4 -0
  30. package/dist/resources/guides/page.md +62 -0
  31. package/dist/resources/prompts/mobile-publish-prepare.md +3 -1
  32. package/dist/resources/schema-fingerprint.json +4 -4
  33. package/dist/resources/schemas/AccessMatrixDto.json +2 -1
  34. package/dist/resources/schemas/AccessPermissionDto.json +2 -1
  35. package/dist/resources/schemas/AccessResourceDto.json +2 -1
  36. package/dist/resources/schemas/AssistantCapabilitiesDto.json +256 -0
  37. package/dist/resources/schemas/AssistantPublishStateDto.json +57 -0
  38. package/dist/resources/schemas/AssistantScenarioDto.json +91 -0
  39. package/dist/resources/schemas/AssistantScenarioRunDto.json +62 -0
  40. package/dist/resources/schemas/AssistantSettingsDto.json +52 -0
  41. package/dist/resources/schemas/AssistantSkillDto.json +78 -0
  42. package/dist/resources/schemas/AssistantSummaryDto.json +100 -0
  43. package/dist/resources/schemas/CreateAssistantScenarioCommand.json +81 -0
  44. package/dist/resources/schemas/CreateAssistantSkillCommand.json +83 -0
  45. package/dist/resources/schemas/CreateMicroserviceCommand.json +16 -0
  46. package/dist/resources/schemas/DescribeAssistantCapabilityCommand.json +145 -0
  47. package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +5 -1
  48. package/dist/resources/schemas/MicroserviceDto.json +16 -0
  49. package/dist/resources/schemas/PublishAssistantCommand.json +15 -0
  50. package/dist/resources/schemas/RunAssistantScenariosCommand.json +39 -0
  51. package/dist/resources/schemas/SimulateAssistantCommand.json +106 -0
  52. package/dist/resources/schemas/UpdateAssistantScenarioCommand.json +79 -0
  53. package/dist/resources/schemas/UpdateAssistantSettingsCommand.json +52 -0
  54. package/dist/resources/schemas/UpdateAssistantSkillCommand.json +81 -0
  55. package/dist/resources/schemas/UpdateMicroserviceCommand.json +16 -0
  56. package/dist/resources/store-art/editor.css +389 -0
  57. package/dist/resources/store-art/editor.html +123 -0
  58. package/dist/resources/store-art/editor.js +990 -0
  59. package/dist/server.js +2 -0
  60. package/dist/tools/applications.js +4 -4
  61. package/dist/tools/assistant.js +382 -0
  62. package/dist/tools/deployments.js +9 -3
  63. package/dist/tools/microservices.js +1 -1
  64. package/dist/tools/mobile.js +2 -2
  65. package/dist/tools/mobileStore.js +56 -19
  66. package/dist/tools/pages.js +21 -5
  67. package/dist/tools/projects.js +2 -2
  68. package/dist/tools/templates.js +1 -1
  69. package/dist/tools/themes.js +2 -2
  70. package/package.json +2 -2
@@ -0,0 +1,256 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "model": {
6
+ "type": "string",
7
+ "nullable": true
8
+ },
9
+ "cloud": {
10
+ "type": "string",
11
+ "nullable": true
12
+ },
13
+ "authorizationSource": {
14
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource"
15
+ },
16
+ "capabilities": {
17
+ "type": "array",
18
+ "items": {
19
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Assistant.Runtime.AssistantCapabilityDto"
20
+ },
21
+ "nullable": true
22
+ },
23
+ "viewer": {
24
+ "type": "string",
25
+ "nullable": true
26
+ }
27
+ },
28
+ "additionalProperties": false
29
+ },
30
+ "components": {
31
+ "schemas": {
32
+ "NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource": {
33
+ "enum": [
34
+ "platform",
35
+ "application-middleware"
36
+ ],
37
+ "type": "string",
38
+ "format": ""
39
+ },
40
+ "NgApps.Application.Contexts.Assistant.Runtime.AssistantCapabilityDto": {
41
+ "type": "object",
42
+ "properties": {
43
+ "id": {
44
+ "type": "string",
45
+ "format": "uuid"
46
+ },
47
+ "slug": {
48
+ "type": "string",
49
+ "nullable": true
50
+ },
51
+ "name": {
52
+ "type": "string",
53
+ "nullable": true
54
+ },
55
+ "description": {
56
+ "type": "string",
57
+ "nullable": true
58
+ },
59
+ "caution": {
60
+ "type": "string",
61
+ "nullable": true
62
+ },
63
+ "kind": {
64
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityKind"
65
+ },
66
+ "exclusion": {
67
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityExclusion"
68
+ },
69
+ "origin": {
70
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityOrigin"
71
+ },
72
+ "templateId": {
73
+ "type": "string",
74
+ "format": "uuid",
75
+ "nullable": true
76
+ },
77
+ "moduleName": {
78
+ "type": "string",
79
+ "nullable": true
80
+ },
81
+ "inputSchema": {
82
+ "nullable": true
83
+ },
84
+ "outputSchema": {
85
+ "nullable": true
86
+ },
87
+ "recordPageId": {
88
+ "type": "string",
89
+ "format": "uuid",
90
+ "nullable": true
91
+ },
92
+ "recordPageSlug": {
93
+ "type": "string",
94
+ "nullable": true
95
+ },
96
+ "recordQuery": {
97
+ "type": "string",
98
+ "nullable": true
99
+ },
100
+ "kindOverride": {
101
+ "type": "string",
102
+ "nullable": true
103
+ },
104
+ "isKindOverridden": {
105
+ "type": "boolean"
106
+ },
107
+ "hints": {
108
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantHintsModel"
109
+ },
110
+ "descriptions": {
111
+ "type": "object",
112
+ "additionalProperties": {
113
+ "type": "string",
114
+ "nullable": true
115
+ },
116
+ "nullable": true
117
+ },
118
+ "cautions": {
119
+ "type": "object",
120
+ "additionalProperties": {
121
+ "type": "string",
122
+ "nullable": true
123
+ },
124
+ "nullable": true
125
+ },
126
+ "formPageId": {
127
+ "type": "string",
128
+ "format": "uuid",
129
+ "nullable": true
130
+ },
131
+ "formQuery": {
132
+ "type": "string",
133
+ "nullable": true
134
+ }
135
+ },
136
+ "additionalProperties": false
137
+ },
138
+ "NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityKind": {
139
+ "enum": [
140
+ "read",
141
+ "write",
142
+ "excluded"
143
+ ],
144
+ "type": "string",
145
+ "format": ""
146
+ },
147
+ "NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityExclusion": {
148
+ "enum": [
149
+ "no-identity-middleware",
150
+ "session-operation",
151
+ "unrestricted-query",
152
+ "run-as-system",
153
+ "history-included",
154
+ "no-permission"
155
+ ],
156
+ "type": "string",
157
+ "format": ""
158
+ },
159
+ "NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityOrigin": {
160
+ "enum": [
161
+ "own",
162
+ "platform"
163
+ ],
164
+ "type": "string",
165
+ "format": ""
166
+ },
167
+ "NgApps.Domain.Contexts.Assistant.Catalog.AssistantHintsModel": {
168
+ "type": "object",
169
+ "properties": {
170
+ "requiredParameters": {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "string"
174
+ },
175
+ "nullable": true
176
+ },
177
+ "parameterValues": {
178
+ "type": "object",
179
+ "additionalProperties": {
180
+ "type": "array",
181
+ "items": {
182
+ "type": "string"
183
+ },
184
+ "nullable": true
185
+ },
186
+ "nullable": true
187
+ },
188
+ "listField": {
189
+ "type": "string",
190
+ "nullable": true
191
+ },
192
+ "parameterSources": {
193
+ "type": "object",
194
+ "additionalProperties": {
195
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantParameterSourceModel"
196
+ },
197
+ "nullable": true
198
+ },
199
+ "parameterLabels": {
200
+ "type": "object",
201
+ "additionalProperties": {
202
+ "type": "object",
203
+ "additionalProperties": {
204
+ "type": "string"
205
+ },
206
+ "nullable": true
207
+ },
208
+ "nullable": true
209
+ },
210
+ "permissionKey": {
211
+ "type": "string",
212
+ "nullable": true
213
+ },
214
+ "isEmpty": {
215
+ "type": "boolean",
216
+ "readOnly": true
217
+ }
218
+ },
219
+ "additionalProperties": false
220
+ },
221
+ "NgApps.Domain.Contexts.Assistant.Catalog.AssistantParameterSourceModel": {
222
+ "type": "object",
223
+ "properties": {
224
+ "capabilityId": {
225
+ "type": "string",
226
+ "format": "uuid"
227
+ },
228
+ "valueField": {
229
+ "type": "string",
230
+ "nullable": true
231
+ },
232
+ "labelField": {
233
+ "type": "string",
234
+ "nullable": true
235
+ },
236
+ "searchParameter": {
237
+ "type": "string",
238
+ "nullable": true
239
+ },
240
+ "arguments": {
241
+ "type": "object",
242
+ "additionalProperties": {
243
+ "nullable": true
244
+ },
245
+ "nullable": true
246
+ },
247
+ "listField": {
248
+ "type": "string",
249
+ "nullable": true
250
+ }
251
+ },
252
+ "additionalProperties": false
253
+ }
254
+ }
255
+ }
256
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "isOpen": {
6
+ "type": "boolean"
7
+ },
8
+ "reasons": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "nullable": true
14
+ },
15
+ "currentChecksum": {
16
+ "type": "string",
17
+ "nullable": true
18
+ },
19
+ "publishedChecksum": {
20
+ "type": "string",
21
+ "nullable": true
22
+ },
23
+ "publishedAt": {
24
+ "type": "string",
25
+ "format": "date-time",
26
+ "nullable": true
27
+ },
28
+ "isStale": {
29
+ "type": "boolean"
30
+ },
31
+ "skillCount": {
32
+ "type": "integer",
33
+ "format": "int32"
34
+ },
35
+ "scenarioCount": {
36
+ "type": "integer",
37
+ "format": "int32"
38
+ },
39
+ "passedScenarioCount": {
40
+ "type": "integer",
41
+ "format": "int32"
42
+ },
43
+ "leakProbeCount": {
44
+ "type": "integer",
45
+ "format": "int32"
46
+ },
47
+ "missingDescriptionCount": {
48
+ "type": "integer",
49
+ "format": "int32"
50
+ }
51
+ },
52
+ "additionalProperties": false
53
+ },
54
+ "components": {
55
+ "schemas": {}
56
+ }
57
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ },
9
+ "applicationId": {
10
+ "type": "string",
11
+ "format": "uuid"
12
+ },
13
+ "name": {
14
+ "type": "string",
15
+ "nullable": true
16
+ },
17
+ "code": {
18
+ "type": "string",
19
+ "nullable": true
20
+ },
21
+ "actorUserId": {
22
+ "type": "string",
23
+ "format": "uuid",
24
+ "nullable": true
25
+ },
26
+ "actorPositionId": {
27
+ "type": "string",
28
+ "format": "uuid",
29
+ "nullable": true
30
+ },
31
+ "input": {
32
+ "type": "string",
33
+ "nullable": true
34
+ },
35
+ "expectedCapabilities": {
36
+ "type": "array",
37
+ "items": {
38
+ "type": "string"
39
+ },
40
+ "nullable": true
41
+ },
42
+ "expectedFields": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string"
46
+ },
47
+ "nullable": true
48
+ },
49
+ "expectedSource": {
50
+ "type": "string",
51
+ "nullable": true
52
+ },
53
+ "expectedRefusal": {
54
+ "type": "string",
55
+ "nullable": true
56
+ },
57
+ "isLeakProbe": {
58
+ "type": "boolean"
59
+ },
60
+ "lastRunStatus": {
61
+ "type": "string",
62
+ "nullable": true
63
+ },
64
+ "lastRunChecksum": {
65
+ "type": "string",
66
+ "nullable": true
67
+ },
68
+ "templateItemId": {
69
+ "type": "string",
70
+ "format": "uuid",
71
+ "nullable": true
72
+ },
73
+ "isModified": {
74
+ "type": "boolean"
75
+ },
76
+ "createdAt": {
77
+ "type": "string",
78
+ "format": "date-time"
79
+ },
80
+ "updatedAt": {
81
+ "type": "string",
82
+ "format": "date-time",
83
+ "nullable": true
84
+ }
85
+ },
86
+ "additionalProperties": false
87
+ },
88
+ "components": {
89
+ "schemas": {}
90
+ }
91
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ },
9
+ "scenarioId": {
10
+ "type": "string",
11
+ "format": "uuid"
12
+ },
13
+ "status": {
14
+ "type": "string",
15
+ "nullable": true
16
+ },
17
+ "reason": {
18
+ "type": "string",
19
+ "nullable": true
20
+ },
21
+ "calledCapabilities": {
22
+ "type": "array",
23
+ "items": {
24
+ "type": "string"
25
+ },
26
+ "nullable": true
27
+ },
28
+ "durationMs": {
29
+ "type": "integer",
30
+ "format": "int64"
31
+ },
32
+ "inputTokens": {
33
+ "type": "integer",
34
+ "format": "int64"
35
+ },
36
+ "outputTokens": {
37
+ "type": "integer",
38
+ "format": "int64"
39
+ },
40
+ "model": {
41
+ "type": "string",
42
+ "nullable": true
43
+ },
44
+ "checksum": {
45
+ "type": "string",
46
+ "nullable": true
47
+ },
48
+ "events": {
49
+ "type": "string",
50
+ "nullable": true
51
+ },
52
+ "createdAt": {
53
+ "type": "string",
54
+ "format": "date-time"
55
+ }
56
+ },
57
+ "additionalProperties": false
58
+ },
59
+ "components": {
60
+ "schemas": {}
61
+ }
62
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "applicationId": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ },
9
+ "enabled": {
10
+ "type": "boolean"
11
+ },
12
+ "authorizationSource": {
13
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource"
14
+ },
15
+ "identityMicroserviceId": {
16
+ "type": "string",
17
+ "format": "uuid",
18
+ "nullable": true
19
+ },
20
+ "permissionListMicroserviceId": {
21
+ "type": "string",
22
+ "format": "uuid",
23
+ "nullable": true
24
+ },
25
+ "permissionKeyField": {
26
+ "type": "string",
27
+ "nullable": true
28
+ },
29
+ "guide": {
30
+ "type": "object",
31
+ "additionalProperties": {
32
+ "type": "string",
33
+ "nullable": true
34
+ },
35
+ "nullable": true
36
+ }
37
+ },
38
+ "additionalProperties": false
39
+ },
40
+ "components": {
41
+ "schemas": {
42
+ "NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource": {
43
+ "enum": [
44
+ "platform",
45
+ "application-middleware"
46
+ ],
47
+ "type": "string",
48
+ "format": ""
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ },
9
+ "applicationId": {
10
+ "type": "string",
11
+ "format": "uuid"
12
+ },
13
+ "name": {
14
+ "type": "string",
15
+ "nullable": true
16
+ },
17
+ "slug": {
18
+ "type": "string",
19
+ "nullable": true
20
+ },
21
+ "trigger": {
22
+ "type": "string",
23
+ "nullable": true
24
+ },
25
+ "instructions": {
26
+ "type": "string",
27
+ "nullable": true
28
+ },
29
+ "outputFormat": {
30
+ "type": "string",
31
+ "nullable": true
32
+ },
33
+ "autonomy": {
34
+ "type": "string",
35
+ "nullable": true
36
+ },
37
+ "languages": {
38
+ "type": "array",
39
+ "items": {
40
+ "type": "string"
41
+ },
42
+ "nullable": true
43
+ },
44
+ "capabilityIds": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "string",
48
+ "format": "uuid"
49
+ },
50
+ "nullable": true
51
+ },
52
+ "isReadOnly": {
53
+ "type": "boolean"
54
+ },
55
+ "templateItemId": {
56
+ "type": "string",
57
+ "format": "uuid",
58
+ "nullable": true
59
+ },
60
+ "isModified": {
61
+ "type": "boolean"
62
+ },
63
+ "createdAt": {
64
+ "type": "string",
65
+ "format": "date-time"
66
+ },
67
+ "updatedAt": {
68
+ "type": "string",
69
+ "format": "date-time",
70
+ "nullable": true
71
+ }
72
+ },
73
+ "additionalProperties": false
74
+ },
75
+ "components": {
76
+ "schemas": {}
77
+ }
78
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "enabled": {
6
+ "type": "boolean"
7
+ },
8
+ "authorizationSource": {
9
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource"
10
+ },
11
+ "capabilityCount": {
12
+ "type": "integer",
13
+ "format": "int32"
14
+ },
15
+ "undescribedCount": {
16
+ "type": "integer",
17
+ "format": "int32"
18
+ },
19
+ "groups": {
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityGroupModel"
23
+ },
24
+ "nullable": true
25
+ },
26
+ "skillCount": {
27
+ "type": "integer",
28
+ "format": "int32"
29
+ },
30
+ "scenarioCount": {
31
+ "type": "integer",
32
+ "format": "int32"
33
+ },
34
+ "passedScenarioCount": {
35
+ "type": "integer",
36
+ "format": "int32"
37
+ },
38
+ "failedLeakProbeCount": {
39
+ "type": "integer",
40
+ "format": "int32"
41
+ },
42
+ "publishedAt": {
43
+ "type": "string",
44
+ "format": "date-time",
45
+ "nullable": true
46
+ },
47
+ "guideLanguages": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "string"
51
+ },
52
+ "nullable": true
53
+ }
54
+ },
55
+ "additionalProperties": false
56
+ },
57
+ "components": {
58
+ "schemas": {
59
+ "NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource": {
60
+ "enum": [
61
+ "platform",
62
+ "application-middleware"
63
+ ],
64
+ "type": "string",
65
+ "format": ""
66
+ },
67
+ "NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityGroupModel": {
68
+ "type": "object",
69
+ "properties": {
70
+ "key": {
71
+ "type": "string",
72
+ "nullable": true
73
+ },
74
+ "templateId": {
75
+ "type": "string",
76
+ "format": "uuid",
77
+ "nullable": true
78
+ },
79
+ "moduleName": {
80
+ "type": "string",
81
+ "nullable": true
82
+ },
83
+ "prefix": {
84
+ "type": "string",
85
+ "nullable": true
86
+ },
87
+ "count": {
88
+ "type": "integer",
89
+ "format": "int32"
90
+ },
91
+ "undescribedCount": {
92
+ "type": "integer",
93
+ "format": "int32"
94
+ }
95
+ },
96
+ "additionalProperties": false
97
+ }
98
+ }
99
+ }
100
+ }