@inf-monkeys-tech/monkeys 1.0.40 → 1.0.42
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/lib/contracts/agent.d.ts +162 -0
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +47 -1
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/menu.d.ts +2 -2
- package/lib/contracts/page.d.ts +7 -7
- package/lib/contracts/render.d.ts +5 -5
- package/lib/contracts/semantic.d.ts +2 -2
- package/lib/contracts/tenant.d.ts +46 -11
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +10 -2
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/contracts/trend.d.ts +259 -0
- package/lib/contracts/trend.d.ts.map +1 -1
- package/lib/contracts/trend.js +146 -1
- package/lib/contracts/trend.js.map +1 -1
- package/lib/esm/contracts/index.mjs +179 -1
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +181 -1
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +44 -1
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +183 -1
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-workbench-quick-start-view-model.schema.json +167 -0
- package/lib/json-schema/index.json +2 -0
- package/lib/json-schema/radar-analysis-detail.schema.json +83 -0
- package/lib/json-schema/radar-analysis-run.schema.json +83 -0
- package/lib/json-schema/tenant-product-config.schema.json +34 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +34 -0
- package/lib/json-schema/trend-radar-collection-item.schema.json +524 -0
- package/lib/schemas/index.d.ts +209 -18
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +28 -4
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"contract": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "AgentWorkbenchQuickStartViewModel"
|
|
8
|
+
},
|
|
9
|
+
"mode": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": [
|
|
12
|
+
"chat",
|
|
13
|
+
"work"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"categories": {
|
|
17
|
+
"minItems": 1,
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"maxLength": 256
|
|
26
|
+
},
|
|
27
|
+
"label": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"icon": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"enum": [
|
|
34
|
+
"sparkles",
|
|
35
|
+
"palette",
|
|
36
|
+
"search",
|
|
37
|
+
"file-text",
|
|
38
|
+
"code",
|
|
39
|
+
"shopping-bag"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"sections": {
|
|
43
|
+
"minItems": 1,
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"id": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1,
|
|
51
|
+
"maxLength": 256
|
|
52
|
+
},
|
|
53
|
+
"label": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1
|
|
56
|
+
},
|
|
57
|
+
"templates": {
|
|
58
|
+
"minItems": 1,
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"id": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"minLength": 1,
|
|
66
|
+
"maxLength": 256
|
|
67
|
+
},
|
|
68
|
+
"title": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"minLength": 1
|
|
71
|
+
},
|
|
72
|
+
"description": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1
|
|
75
|
+
},
|
|
76
|
+
"prompt": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"minLength": 1
|
|
79
|
+
},
|
|
80
|
+
"action": {
|
|
81
|
+
"default": "prompt",
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": [
|
|
84
|
+
"prompt",
|
|
85
|
+
"upload"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"icon": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"enum": [
|
|
91
|
+
"sparkles",
|
|
92
|
+
"palette",
|
|
93
|
+
"search",
|
|
94
|
+
"file-text",
|
|
95
|
+
"code",
|
|
96
|
+
"shopping-bag"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"coverImageUrl": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"minLength": 1
|
|
102
|
+
},
|
|
103
|
+
"accept": {
|
|
104
|
+
"default": "*/*",
|
|
105
|
+
"type": "string",
|
|
106
|
+
"minLength": 1
|
|
107
|
+
},
|
|
108
|
+
"multiple": {
|
|
109
|
+
"default": false,
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"modes": {
|
|
113
|
+
"minItems": 1,
|
|
114
|
+
"type": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": [
|
|
118
|
+
"chat",
|
|
119
|
+
"work"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"required": [
|
|
125
|
+
"id",
|
|
126
|
+
"title",
|
|
127
|
+
"prompt",
|
|
128
|
+
"action",
|
|
129
|
+
"accept",
|
|
130
|
+
"multiple"
|
|
131
|
+
],
|
|
132
|
+
"additionalProperties": false
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"id",
|
|
138
|
+
"label",
|
|
139
|
+
"templates"
|
|
140
|
+
],
|
|
141
|
+
"additionalProperties": false
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"id",
|
|
147
|
+
"label",
|
|
148
|
+
"sections"
|
|
149
|
+
],
|
|
150
|
+
"additionalProperties": false
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"disabled": {
|
|
154
|
+
"default": false,
|
|
155
|
+
"type": "boolean"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"required": [
|
|
159
|
+
"contract",
|
|
160
|
+
"mode",
|
|
161
|
+
"categories",
|
|
162
|
+
"disabled"
|
|
163
|
+
],
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"$id": "https://schemas.infmonkeys.com/contracts/agent-workbench-quick-start-view-model.schema.json",
|
|
166
|
+
"title": "agent-workbench-quick-start-view-model"
|
|
167
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"agent-session-view-model": "./agent-session-view-model.schema.json",
|
|
12
12
|
"agent-workbench-composer-view-model": "./agent-workbench-composer-view-model.schema.json",
|
|
13
13
|
"agent-workbench-navigation-view-model": "./agent-workbench-navigation-view-model.schema.json",
|
|
14
|
+
"agent-workbench-quick-start-view-model": "./agent-workbench-quick-start-view-model.schema.json",
|
|
14
15
|
"agent-runtime-event": "./agent-runtime-event.schema.json",
|
|
15
16
|
"application-run": "./application-run.schema.json",
|
|
16
17
|
"application-handoff": "./application-handoff.schema.json",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
"tenant-product-config": "./tenant-product-config.schema.json",
|
|
63
64
|
"tenant-runtime-config": "./tenant-runtime-config.schema.json",
|
|
64
65
|
"theme-tokens": "./theme-tokens.schema.json",
|
|
66
|
+
"trend-radar-collection-item": "./trend-radar-collection-item.schema.json",
|
|
65
67
|
"trend-ingest-run": "./trend-ingest-run.schema.json",
|
|
66
68
|
"trend-metric-snapshot": "./trend-metric-snapshot.schema.json",
|
|
67
69
|
"trend-source-record": "./trend-source-record.schema.json",
|
|
@@ -213,6 +213,89 @@
|
|
|
213
213
|
],
|
|
214
214
|
"additionalProperties": false
|
|
215
215
|
},
|
|
216
|
+
"collectionAssetRef": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"kind": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"const": "asset"
|
|
222
|
+
},
|
|
223
|
+
"id": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"minLength": 1,
|
|
226
|
+
"maxLength": 256
|
|
227
|
+
},
|
|
228
|
+
"version": {
|
|
229
|
+
"anyOf": [
|
|
230
|
+
{
|
|
231
|
+
"type": "integer",
|
|
232
|
+
"exclusiveMinimum": 0,
|
|
233
|
+
"maximum": 9007199254740991
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "string",
|
|
237
|
+
"minLength": 1
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"ownerRepo": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"minLength": 1,
|
|
244
|
+
"maxLength": 256
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"required": [
|
|
248
|
+
"kind",
|
|
249
|
+
"id"
|
|
250
|
+
],
|
|
251
|
+
"additionalProperties": false
|
|
252
|
+
},
|
|
253
|
+
"collectionProjectionWriteback": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"properties": {
|
|
256
|
+
"status": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"enum": [
|
|
259
|
+
"PENDING",
|
|
260
|
+
"APPLIED",
|
|
261
|
+
"FAILED"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
"updatedAt": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"format": "date-time",
|
|
267
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
268
|
+
},
|
|
269
|
+
"error": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"properties": {
|
|
272
|
+
"code": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"minLength": 1,
|
|
275
|
+
"maxLength": 256
|
|
276
|
+
},
|
|
277
|
+
"message": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"minLength": 1
|
|
280
|
+
},
|
|
281
|
+
"retryable": {
|
|
282
|
+
"type": "boolean"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"required": [
|
|
286
|
+
"code",
|
|
287
|
+
"message",
|
|
288
|
+
"retryable"
|
|
289
|
+
],
|
|
290
|
+
"additionalProperties": false
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"required": [
|
|
294
|
+
"status",
|
|
295
|
+
"updatedAt"
|
|
296
|
+
],
|
|
297
|
+
"additionalProperties": false
|
|
298
|
+
},
|
|
216
299
|
"workflowDefinitionTeamId": {
|
|
217
300
|
"type": "string",
|
|
218
301
|
"minLength": 1,
|
|
@@ -206,6 +206,89 @@
|
|
|
206
206
|
],
|
|
207
207
|
"additionalProperties": false
|
|
208
208
|
},
|
|
209
|
+
"collectionAssetRef": {
|
|
210
|
+
"type": "object",
|
|
211
|
+
"properties": {
|
|
212
|
+
"kind": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"const": "asset"
|
|
215
|
+
},
|
|
216
|
+
"id": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"minLength": 1,
|
|
219
|
+
"maxLength": 256
|
|
220
|
+
},
|
|
221
|
+
"version": {
|
|
222
|
+
"anyOf": [
|
|
223
|
+
{
|
|
224
|
+
"type": "integer",
|
|
225
|
+
"exclusiveMinimum": 0,
|
|
226
|
+
"maximum": 9007199254740991
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "string",
|
|
230
|
+
"minLength": 1
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
"ownerRepo": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"minLength": 1,
|
|
237
|
+
"maxLength": 256
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"required": [
|
|
241
|
+
"kind",
|
|
242
|
+
"id"
|
|
243
|
+
],
|
|
244
|
+
"additionalProperties": false
|
|
245
|
+
},
|
|
246
|
+
"collectionProjectionWriteback": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"status": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"enum": [
|
|
252
|
+
"PENDING",
|
|
253
|
+
"APPLIED",
|
|
254
|
+
"FAILED"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"updatedAt": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"format": "date-time",
|
|
260
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
261
|
+
},
|
|
262
|
+
"error": {
|
|
263
|
+
"type": "object",
|
|
264
|
+
"properties": {
|
|
265
|
+
"code": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"minLength": 1,
|
|
268
|
+
"maxLength": 256
|
|
269
|
+
},
|
|
270
|
+
"message": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"minLength": 1
|
|
273
|
+
},
|
|
274
|
+
"retryable": {
|
|
275
|
+
"type": "boolean"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"required": [
|
|
279
|
+
"code",
|
|
280
|
+
"message",
|
|
281
|
+
"retryable"
|
|
282
|
+
],
|
|
283
|
+
"additionalProperties": false
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"status",
|
|
288
|
+
"updatedAt"
|
|
289
|
+
],
|
|
290
|
+
"additionalProperties": false
|
|
291
|
+
},
|
|
209
292
|
"workflowDefinitionTeamId": {
|
|
210
293
|
"type": "string",
|
|
211
294
|
"minLength": 1,
|
|
@@ -3008,6 +3008,26 @@
|
|
|
3008
3008
|
"trendRadar": {
|
|
3009
3009
|
"type": "object",
|
|
3010
3010
|
"properties": {
|
|
3011
|
+
"products": {
|
|
3012
|
+
"type": "object",
|
|
3013
|
+
"properties": {
|
|
3014
|
+
"ontologyId": {
|
|
3015
|
+
"type": "string",
|
|
3016
|
+
"minLength": 1,
|
|
3017
|
+
"maxLength": 256
|
|
3018
|
+
},
|
|
3019
|
+
"viewId": {
|
|
3020
|
+
"type": "string",
|
|
3021
|
+
"minLength": 1,
|
|
3022
|
+
"maxLength": 256
|
|
3023
|
+
}
|
|
3024
|
+
},
|
|
3025
|
+
"required": [
|
|
3026
|
+
"ontologyId",
|
|
3027
|
+
"viewId"
|
|
3028
|
+
],
|
|
3029
|
+
"additionalProperties": false
|
|
3030
|
+
},
|
|
3011
3031
|
"hotwords": {
|
|
3012
3032
|
"type": "object",
|
|
3013
3033
|
"properties": {
|
|
@@ -3047,6 +3067,20 @@
|
|
|
3047
3067
|
"viewId"
|
|
3048
3068
|
],
|
|
3049
3069
|
"additionalProperties": false
|
|
3070
|
+
},
|
|
3071
|
+
"collection": {
|
|
3072
|
+
"type": "object",
|
|
3073
|
+
"properties": {
|
|
3074
|
+
"ontologyId": {
|
|
3075
|
+
"type": "string",
|
|
3076
|
+
"minLength": 1,
|
|
3077
|
+
"maxLength": 256
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
"required": [
|
|
3081
|
+
"ontologyId"
|
|
3082
|
+
],
|
|
3083
|
+
"additionalProperties": false
|
|
3050
3084
|
}
|
|
3051
3085
|
},
|
|
3052
3086
|
"additionalProperties": false
|
|
@@ -3072,6 +3072,26 @@
|
|
|
3072
3072
|
"trendRadar": {
|
|
3073
3073
|
"type": "object",
|
|
3074
3074
|
"properties": {
|
|
3075
|
+
"products": {
|
|
3076
|
+
"type": "object",
|
|
3077
|
+
"properties": {
|
|
3078
|
+
"ontologyId": {
|
|
3079
|
+
"type": "string",
|
|
3080
|
+
"minLength": 1,
|
|
3081
|
+
"maxLength": 256
|
|
3082
|
+
},
|
|
3083
|
+
"viewId": {
|
|
3084
|
+
"type": "string",
|
|
3085
|
+
"minLength": 1,
|
|
3086
|
+
"maxLength": 256
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3089
|
+
"required": [
|
|
3090
|
+
"ontologyId",
|
|
3091
|
+
"viewId"
|
|
3092
|
+
],
|
|
3093
|
+
"additionalProperties": false
|
|
3094
|
+
},
|
|
3075
3095
|
"hotwords": {
|
|
3076
3096
|
"type": "object",
|
|
3077
3097
|
"properties": {
|
|
@@ -3111,6 +3131,20 @@
|
|
|
3111
3131
|
"viewId"
|
|
3112
3132
|
],
|
|
3113
3133
|
"additionalProperties": false
|
|
3134
|
+
},
|
|
3135
|
+
"collection": {
|
|
3136
|
+
"type": "object",
|
|
3137
|
+
"properties": {
|
|
3138
|
+
"ontologyId": {
|
|
3139
|
+
"type": "string",
|
|
3140
|
+
"minLength": 1,
|
|
3141
|
+
"maxLength": 256
|
|
3142
|
+
}
|
|
3143
|
+
},
|
|
3144
|
+
"required": [
|
|
3145
|
+
"ontologyId"
|
|
3146
|
+
],
|
|
3147
|
+
"additionalProperties": false
|
|
3114
3148
|
}
|
|
3115
3149
|
},
|
|
3116
3150
|
"additionalProperties": false
|