@appaflytech/zeyrek-ai-mcp 0.0.48 → 0.0.49
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/.env.example +5 -0
- package/dist/config.js +2 -0
- package/dist/knowledge/access.js +4 -3
- package/dist/knowledge/assistantRun.js +165 -0
- package/dist/knowledge/componentCatalog.js +31 -0
- package/dist/knowledge/componentEvents.js +3 -0
- package/dist/knowledge/mobileComponentCatalog.js +15 -0
- package/dist/knowledge/motionResolve.js +1 -1
- package/dist/knowledge/styleResolve.js +7 -0
- package/dist/platform/errors.js +9 -0
- package/dist/platform/http.js +7 -2
- package/dist/platform/tokenVault.js +15 -0
- package/dist/resources/guides/assistant.md +194 -0
- package/dist/resources/guides/deployment.md +19 -1
- package/dist/resources/schema-fingerprint.json +4 -4
- package/dist/resources/schemas/AccessMatrixDto.json +2 -1
- package/dist/resources/schemas/AccessPermissionDto.json +2 -1
- package/dist/resources/schemas/AccessResourceDto.json +2 -1
- package/dist/resources/schemas/AssistantCapabilitiesDto.json +256 -0
- package/dist/resources/schemas/AssistantPublishStateDto.json +57 -0
- package/dist/resources/schemas/AssistantScenarioDto.json +91 -0
- package/dist/resources/schemas/AssistantScenarioRunDto.json +62 -0
- package/dist/resources/schemas/AssistantSettingsDto.json +52 -0
- package/dist/resources/schemas/AssistantSkillDto.json +78 -0
- package/dist/resources/schemas/AssistantSummaryDto.json +100 -0
- package/dist/resources/schemas/CreateAssistantScenarioCommand.json +81 -0
- package/dist/resources/schemas/CreateAssistantSkillCommand.json +83 -0
- package/dist/resources/schemas/CreateMicroserviceCommand.json +16 -0
- package/dist/resources/schemas/DescribeAssistantCapabilityCommand.json +145 -0
- package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +5 -1
- package/dist/resources/schemas/MicroserviceDto.json +16 -0
- package/dist/resources/schemas/PublishAssistantCommand.json +15 -0
- package/dist/resources/schemas/RunAssistantScenariosCommand.json +39 -0
- package/dist/resources/schemas/SimulateAssistantCommand.json +106 -0
- package/dist/resources/schemas/UpdateAssistantScenarioCommand.json +79 -0
- package/dist/resources/schemas/UpdateAssistantSettingsCommand.json +52 -0
- package/dist/resources/schemas/UpdateAssistantSkillCommand.json +81 -0
- package/dist/resources/schemas/UpdateMicroserviceCommand.json +16 -0
- package/dist/server.js +2 -0
- package/dist/tools/applications.js +4 -4
- package/dist/tools/assistant.js +382 -0
- package/dist/tools/deployments.js +9 -3
- package/dist/tools/microservices.js +1 -1
- package/dist/tools/mobile.js +2 -2
- package/dist/tools/projects.js +2 -2
- package/dist/tools/templates.js +1 -1
- package/dist/tools/themes.js +2 -2
- package/package.json +2 -2
|
@@ -17,6 +17,7 @@ kazasıdır, bu yüzden her tablo ve her dosya ayrıca seçilir.
|
|
|
17
17
|
| Entity, alan, index, sayfa, layout, workflow, DTO, query, microservice, fonksiyon, çeviri, tema | evet | her deploy'da |
|
|
18
18
|
| Süreç tanımı ve iş takvimi | evet | yalnız aktif model; yayınlanmamış taslak taşınmaz (`deployment_start` yanıtı `unpublishedDrafts`) |
|
|
19
19
|
| Microfunction | evet | yalnız YAYINLANMIŞ kod; hedefte yayınlanır (DEP-006) |
|
|
20
|
+
| Uygulama asistanı | evet | ayar, rehber, beceri, senaryo ve **yayındaki paket** (beceri seti, rehber, menü, sağlama toplamı); hedefte asistan development'ta en son yayınlanan hâliyle çalışır, production'da ayrıca yayın yoktur (ASI-018). Kaynakta hiç yayın yoksa hedefin paketi korunur |
|
|
20
21
|
| Tablo satırları | **yalnız tabloda kayıt taşıma açıksa** | §Tablo satırları |
|
|
21
22
|
| Dosyalar | **yalnız id referansıyla** | §Dosyalar |
|
|
22
23
|
| Kullanıcı, rol ataması, süreç örneği, görev, defter | hayır | ortama özgüdür |
|
|
@@ -24,6 +25,19 @@ kazasıdır, bu yüzden her tablo ve her dosya ayrıca seçilir.
|
|
|
24
25
|
Kaynak yalnız `development`'tır (DEP-003); deploy başlamadan production verisi ön denetimden geçer
|
|
25
26
|
(DEP-004). İkisinin ayrıntısı `deployment_start` açıklamasında.
|
|
26
27
|
|
|
28
|
+
## Delta ve tam deploy
|
|
29
|
+
|
|
30
|
+
Deploy varsayılan olarak **delta** koşar: yalnız içerik özeti production'dakinden farklı tanımlar taşınır, development'ta
|
|
31
|
+
olmayan tanım production'dan silinir (klasör silme hiçbir kipte taşınmaz). Entity, rol, erişim politikası, bileşen, dosya,
|
|
32
|
+
süreç tanımı, organizasyon yapısı ve tablo satırları her deploy'da tam taşınır. İki ortamdan birinin özeti güvenilir değilse
|
|
33
|
+
(son tamamlanmış özet denetimi güncel biçimde bir `fill` ya da farksız bir `check` değilse) platform deploy'u
|
|
34
|
+
kendiliğinden **tam** koşar; `deployment_start { fullMode: true }` her tanımı taşır. Deploy'un gerçekte hangi kipte koştuğu
|
|
35
|
+
ve modül başına sayılar `deployment_status` yanıtında: `mode`, `counters` (`added` / `updated` / `deleted`).
|
|
36
|
+
|
|
37
|
+
Deploy bitince production'da bir özet denetimi koşar. Fark bulursa deploy `completed-with-mismatch` olur: kayıtlar
|
|
38
|
+
production'a yazılmıştır, ama production'ın özeti kendi kayıtlarıyla uyuşmuyor; sonraki deploy tam koşar. Bu bir hata
|
|
39
|
+
değil, bir sapma işaretidir.
|
|
40
|
+
|
|
27
41
|
## Tablo satırları (recordTransferMode)
|
|
28
42
|
|
|
29
43
|
Satırlar **tablo başına** açılan kayıt taşıma ayarıyla gider. Ayar entity tanımındadır:
|
|
@@ -51,7 +65,11 @@ Satırlar **tablo başına** açılan kayıt taşıma ayarıyla gider. Ayar enti
|
|
|
51
65
|
- **`'specific'` silmez:** yalnız upsert yapar. Seçili satırın FK ile gösterdiği satırlar zincirleme
|
|
52
66
|
gelir (bir satır seçmek birkaçını taşıyabilir); seçilmemiş bir satıra giden çoka-çok bağı düşer.
|
|
53
67
|
- **İlişki sırası:** `'all'` açılan tablonun ilişki hedefinde de taşıma açık olmalıdır, yoksa kayıt
|
|
54
|
-
`RelationTransferNotEnabledException` ile reddedilir — önce hedef (ebeveyn) tabloyu açın.
|
|
68
|
+
`RelationTransferNotEnabledException` ile reddedilir — önce hedef (ebeveyn) tabloyu açın. Kendi yoluyla
|
|
69
|
+
taşınan hedefler bu kuraldan muaftır: `files`, `folders`, `roles`. `role_permissions` muaf değildir: `permissions`
|
|
70
|
+
açık olmalı. `user_positions` organizasyon yapısını gösterir ve yapı kayıt aktarımıyla taşınmaz: onun aktarımını kapalı
|
|
71
|
+
tutun. Deploy aynı kuralı toplama aşamasında da denetler; ihlal `RecordTransferGraphInvalidException` ile deploy'u
|
|
72
|
+
(hedefe dokunmadan) durdurur. `'all'`
|
|
55
73
|
bir tablonun gösterdiği tabloda taşımayı kapatmak da reddedilir. `'specific'` bu denetimden muaftır:
|
|
56
74
|
seçili satırın ilişki sütunu taşınmayan bir satırı gösterirse hata production'da FK ihlali olarak
|
|
57
75
|
çıkar.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
3
|
-
"generatedAt": "2026-10-
|
|
4
|
-
"types":
|
|
5
|
-
"files":
|
|
2
|
+
"hash": "d916ee9592bccbc43433515ace6770949c374478ac53123ea894bab76bcdfd02",
|
|
3
|
+
"generatedAt": "2026-10-28T17:19:04.043Z",
|
|
4
|
+
"types": 377,
|
|
5
|
+
"files": 196,
|
|
6
6
|
"note": "Şemaları üreten backend kaynaklarının parmak izi. Elle düzenlemeyin: 'npm run generate-schemas' yazar, 'npm run schema:check' denetler.",
|
|
7
7
|
"missing": [
|
|
8
8
|
"NgApps.Infrastructure.Models.IdNamePair`1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
|
|
@@ -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
|
+
}
|