@greatapps/greatagents 0.1.17 → 0.1.18
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/package.json
CHANGED
|
@@ -149,4 +149,20 @@ export const properties = {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
|
+
openai_assistant_id: {
|
|
153
|
+
type: "string",
|
|
154
|
+
required: false,
|
|
155
|
+
filterable: true,
|
|
156
|
+
interface: {
|
|
157
|
+
label: {
|
|
158
|
+
"pt-br": "Assistant ID OpenAI",
|
|
159
|
+
"en": "OpenAI Assistant ID"
|
|
160
|
+
},
|
|
161
|
+
component: "input",
|
|
162
|
+
placeholder: {
|
|
163
|
+
"pt-br": "ID do Assistant criado na OpenAI para este agente (ex: asst_xxxxx)",
|
|
164
|
+
"en": "OpenAI Assistant ID created for this agent (e.g., asst_xxxxx)"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
152
168
|
};
|
|
@@ -126,5 +126,131 @@ export const properties = {
|
|
|
126
126
|
component: "input",
|
|
127
127
|
disabled: true
|
|
128
128
|
}
|
|
129
|
-
}
|
|
129
|
+
},
|
|
130
|
+
openai_thread_id: {
|
|
131
|
+
type: "string",
|
|
132
|
+
required: false,
|
|
133
|
+
filterable: true,
|
|
134
|
+
unique: true,
|
|
135
|
+
index: true,
|
|
136
|
+
interface: {
|
|
137
|
+
label: {
|
|
138
|
+
"pt-br": "Thread ID OpenAI",
|
|
139
|
+
"en": "OpenAI Thread ID"
|
|
140
|
+
},
|
|
141
|
+
component: "input",
|
|
142
|
+
disabled: true
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
openai_assistant_id: {
|
|
146
|
+
type: "string",
|
|
147
|
+
required: false,
|
|
148
|
+
filterable: true,
|
|
149
|
+
interface: {
|
|
150
|
+
label: {
|
|
151
|
+
"pt-br": "Assistant ID OpenAI",
|
|
152
|
+
"en": "OpenAI Assistant ID"
|
|
153
|
+
},
|
|
154
|
+
component: "input",
|
|
155
|
+
disabled: true
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
system_prompt_hash: {
|
|
159
|
+
type: "string",
|
|
160
|
+
required: false,
|
|
161
|
+
filterable: false,
|
|
162
|
+
interface: {
|
|
163
|
+
label: {
|
|
164
|
+
"pt-br": "Hash do System Prompt",
|
|
165
|
+
"en": "System Prompt Hash"
|
|
166
|
+
},
|
|
167
|
+
component: "input",
|
|
168
|
+
disabled: true,
|
|
169
|
+
help: {
|
|
170
|
+
"pt-br": "Hash para detectar mudanças no system prompt do agent",
|
|
171
|
+
"en": "Hash to detect changes in agent's system prompt"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
message_count: {
|
|
176
|
+
type: "number",
|
|
177
|
+
default: 0,
|
|
178
|
+
filterable: true,
|
|
179
|
+
interface: {
|
|
180
|
+
label: {
|
|
181
|
+
"pt-br": "Contagem de Mensagens",
|
|
182
|
+
"en": "Message Count"
|
|
183
|
+
},
|
|
184
|
+
component: "number",
|
|
185
|
+
disabled: true,
|
|
186
|
+
help: {
|
|
187
|
+
"pt-br": "Número de mensagens no thread atual",
|
|
188
|
+
"en": "Number of messages in current thread"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
usage_tokens: {
|
|
193
|
+
type: "number",
|
|
194
|
+
default: 0,
|
|
195
|
+
filterable: true,
|
|
196
|
+
interface: {
|
|
197
|
+
label: {
|
|
198
|
+
"pt-br": "Tokens Utilizados",
|
|
199
|
+
"en": "Tokens Used"
|
|
200
|
+
},
|
|
201
|
+
component: "number",
|
|
202
|
+
disabled: true,
|
|
203
|
+
help: {
|
|
204
|
+
"pt-br": "Total de tokens consumidos no thread atual (prompt + completion)",
|
|
205
|
+
"en": "Total tokens consumed in current thread (prompt + completion)"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
context_summary: {
|
|
210
|
+
type: "text",
|
|
211
|
+
required: false,
|
|
212
|
+
filterable: false,
|
|
213
|
+
interface: {
|
|
214
|
+
label: {
|
|
215
|
+
"pt-br": "Resumo do Contexto",
|
|
216
|
+
"en": "Context Summary"
|
|
217
|
+
},
|
|
218
|
+
component: "textarea",
|
|
219
|
+
disabled: true,
|
|
220
|
+
help: {
|
|
221
|
+
"pt-br": "Resumo do histórico anterior após rotação de thread",
|
|
222
|
+
"en": "Summary of previous history after thread rotation"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
last_thread_rotation: {
|
|
227
|
+
type: "date",
|
|
228
|
+
required: false,
|
|
229
|
+
filterable: true,
|
|
230
|
+
interface: {
|
|
231
|
+
label: {
|
|
232
|
+
"pt-br": "Última Rotação de Thread",
|
|
233
|
+
"en": "Last Thread Rotation"
|
|
234
|
+
},
|
|
235
|
+
component: "datetime",
|
|
236
|
+
disabled: true
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
rotation_count: {
|
|
240
|
+
type: "number",
|
|
241
|
+
default: 0,
|
|
242
|
+
filterable: true,
|
|
243
|
+
interface: {
|
|
244
|
+
label: {
|
|
245
|
+
"pt-br": "Contador de Rotações",
|
|
246
|
+
"en": "Rotation Count"
|
|
247
|
+
},
|
|
248
|
+
component: "number",
|
|
249
|
+
disabled: true,
|
|
250
|
+
help: {
|
|
251
|
+
"pt-br": "Quantas vezes o thread foi rotacionado",
|
|
252
|
+
"en": "How many times the thread was rotated"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
130
256
|
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
export const properties = {
|
|
2
|
+
id: {
|
|
3
|
+
type: "number",
|
|
4
|
+
filterable: true,
|
|
5
|
+
unique: true,
|
|
6
|
+
autoIncrement: true,
|
|
7
|
+
index: true
|
|
8
|
+
},
|
|
9
|
+
deleted: {
|
|
10
|
+
type: "boolean",
|
|
11
|
+
default: false,
|
|
12
|
+
filterable: true
|
|
13
|
+
},
|
|
14
|
+
datetime_add: {
|
|
15
|
+
type: "date",
|
|
16
|
+
filterable: true,
|
|
17
|
+
updatable: false
|
|
18
|
+
},
|
|
19
|
+
datetime_alt: {
|
|
20
|
+
type: "date",
|
|
21
|
+
filterable: true,
|
|
22
|
+
updatable: true
|
|
23
|
+
},
|
|
24
|
+
datetime_del: {
|
|
25
|
+
type: "date",
|
|
26
|
+
filterable: true
|
|
27
|
+
},
|
|
28
|
+
id_account: {
|
|
29
|
+
type: "number",
|
|
30
|
+
required: true,
|
|
31
|
+
updatable: false,
|
|
32
|
+
filterable: true,
|
|
33
|
+
reference: {
|
|
34
|
+
module: "accounts",
|
|
35
|
+
label: "name",
|
|
36
|
+
value: "id",
|
|
37
|
+
disabled: true
|
|
38
|
+
},
|
|
39
|
+
interface: {
|
|
40
|
+
label: {
|
|
41
|
+
"pt-br": "Conta",
|
|
42
|
+
"en": "Account"
|
|
43
|
+
},
|
|
44
|
+
component: "select",
|
|
45
|
+
disabled: true
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
id_agent: {
|
|
49
|
+
type: "number",
|
|
50
|
+
required: true,
|
|
51
|
+
updatable: false,
|
|
52
|
+
filterable: true,
|
|
53
|
+
index: true,
|
|
54
|
+
reference: {
|
|
55
|
+
module: "agents",
|
|
56
|
+
label: "title",
|
|
57
|
+
value: "id"
|
|
58
|
+
},
|
|
59
|
+
interface: {
|
|
60
|
+
label: {
|
|
61
|
+
"pt-br": "Agente",
|
|
62
|
+
"en": "Agent"
|
|
63
|
+
},
|
|
64
|
+
component: "select",
|
|
65
|
+
disabled: true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
version_number: {
|
|
69
|
+
type: "number",
|
|
70
|
+
required: true,
|
|
71
|
+
filterable: true,
|
|
72
|
+
index: true,
|
|
73
|
+
interface: {
|
|
74
|
+
label: {
|
|
75
|
+
"pt-br": "Número da Versão",
|
|
76
|
+
"en": "Version Number"
|
|
77
|
+
},
|
|
78
|
+
component: "number"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
prompt_content: {
|
|
82
|
+
type: "text",
|
|
83
|
+
required: true,
|
|
84
|
+
interface: {
|
|
85
|
+
label: {
|
|
86
|
+
"pt-br": "Conteúdo do Prompt",
|
|
87
|
+
"en": "Prompt Content"
|
|
88
|
+
},
|
|
89
|
+
component: "textarea"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
prompt_hash: {
|
|
93
|
+
type: "string",
|
|
94
|
+
required: true,
|
|
95
|
+
filterable: true,
|
|
96
|
+
index: true,
|
|
97
|
+
interface: {
|
|
98
|
+
label: {
|
|
99
|
+
"pt-br": "Hash SHA-256",
|
|
100
|
+
"en": "SHA-256 Hash"
|
|
101
|
+
},
|
|
102
|
+
component: "input",
|
|
103
|
+
disabled: true
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
is_current: {
|
|
107
|
+
type: "boolean",
|
|
108
|
+
default: true,
|
|
109
|
+
filterable: true,
|
|
110
|
+
index: true,
|
|
111
|
+
interface: {
|
|
112
|
+
label: {
|
|
113
|
+
"pt-br": "Versão Atual",
|
|
114
|
+
"en": "Current Version"
|
|
115
|
+
},
|
|
116
|
+
component: "checkbox"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
created_by: {
|
|
120
|
+
type: "string",
|
|
121
|
+
required: false,
|
|
122
|
+
interface: {
|
|
123
|
+
label: {
|
|
124
|
+
"pt-br": "Criado Por",
|
|
125
|
+
"en": "Created By"
|
|
126
|
+
},
|
|
127
|
+
component: "input"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
change_notes: {
|
|
131
|
+
type: "string",
|
|
132
|
+
required: false,
|
|
133
|
+
interface: {
|
|
134
|
+
label: {
|
|
135
|
+
"pt-br": "Notas da Mudança",
|
|
136
|
+
"en": "Change Notes"
|
|
137
|
+
},
|
|
138
|
+
component: "textarea",
|
|
139
|
+
placeholder: {
|
|
140
|
+
"pt-br": "Descreva as mudanças realizadas nesta versão",
|
|
141
|
+
"en": "Describe the changes made in this version"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
};
|