@greatapps/greatagents 0.1.27 → 0.1.30

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greatapps/greatagents",
3
- "version": "0.1.27",
3
+ "version": "0.1.30",
4
4
  "description": "Schemas para GreatAgents",
5
5
  "main": "./src/product.js",
6
6
  "type": "module"
@@ -84,6 +84,23 @@ export const properties = {
84
84
  component: "select"
85
85
  }
86
86
  },
87
+ id_tool_credential: {
88
+ type: "number",
89
+ required: false,
90
+ filterable: true,
91
+ reference: {
92
+ module: "tool_credentials",
93
+ label: "label",
94
+ value: "id",
95
+ },
96
+ interface: {
97
+ label: {
98
+ "pt-br": "Credencial",
99
+ "en": "Credential"
100
+ },
101
+ component: "select"
102
+ }
103
+ },
87
104
  enabled: {
88
105
  type: "boolean",
89
106
  default: true,
@@ -103,20 +103,6 @@ export const properties = {
103
103
  edit: true
104
104
  }
105
105
  },
106
- prompt: {
107
- type: "string",
108
- interface: {
109
- label: {
110
- "pt-br": "Instruções do agente",
111
- "en": "Instructions of the agent"
112
- },
113
- component: "textarea",
114
- placeholder: {
115
- "pt-br": "Forneça instruções para o agente seguir.",
116
- "en": "Provide instructions for the agent to follow."
117
- }
118
- }
119
- },
120
106
  external_token: {
121
107
  type: "string",
122
108
  filterable: true,
@@ -79,7 +79,7 @@ export const properties = {
79
79
  }
80
80
  },
81
81
  prompt_content: {
82
- type: "text",
82
+ type: "string",
83
83
  required: true,
84
84
  interface: {
85
85
  label: {
@@ -68,7 +68,6 @@ export const properties = {
68
68
  id_tool: {
69
69
  type: "number",
70
70
  required: false,
71
- updatable: false,
72
71
  filterable: true,
73
72
  index: true,
74
73
  reference: {
@@ -85,24 +84,24 @@ export const properties = {
85
84
  disabled: true
86
85
  }
87
86
  },
88
- id_agent: {
89
- type: "number",
90
- required: false,
91
- updatable: false,
87
+ label: {
88
+ type: "string",
89
+ required: true,
90
+ searchable: true,
92
91
  filterable: true,
93
- index: true,
94
- reference: {
95
- module: "agents",
96
- label: "title",
97
- value: "id",
92
+ validation: {
93
+ maxLength: 255
98
94
  },
99
95
  interface: {
100
96
  label: {
101
- "pt-br": "Agente",
102
- "en": "Agent"
97
+ "pt-br": "Label",
98
+ "en": "Label"
103
99
  },
104
- component: "select",
105
- disabled: true
100
+ component: "string",
101
+ placeholder: {
102
+ "pt-br": "Ex: Google Calendar - Clínica São Paulo",
103
+ "en": "Ex: Google Calendar - Clinic São Paulo"
104
+ }
106
105
  }
107
106
  },
108
107
  external_reference: {