@greatapps/greatagents-ui 0.3.14 → 0.3.15
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/dist/index.d.ts +6 -2
- package/dist/index.js +330 -221
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/agents/agent-prompt-editor.tsx +59 -22
- package/src/components/capabilities/integration-card.tsx +160 -94
- package/src/components/capabilities/integration-wizard.tsx +5 -2
- package/src/components/capabilities/integrations-tab.tsx +61 -13
- package/src/hooks/use-agent-tools.ts +1 -1
- package/src/pages/integrations-management-page.tsx +86 -156
- package/src/types/index.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ interface ToolCredential {
|
|
|
133
133
|
label: string;
|
|
134
134
|
credentials_encrypted: string;
|
|
135
135
|
expires_at: string | null;
|
|
136
|
-
status: "active" | "expired";
|
|
136
|
+
status: "active" | "expired" | "inactive";
|
|
137
137
|
authorized_by_contact: number | null;
|
|
138
138
|
deleted: number;
|
|
139
139
|
datetime_add: string;
|
|
@@ -390,6 +390,7 @@ declare function useAddAgentTool(config: GagentsHookConfig): _tanstack_react_que
|
|
|
390
390
|
body: {
|
|
391
391
|
id_tool: number;
|
|
392
392
|
enabled?: boolean;
|
|
393
|
+
custom_instructions?: string;
|
|
393
394
|
};
|
|
394
395
|
}, unknown>;
|
|
395
396
|
declare function useRemoveAgentTool(config: GagentsHookConfig): _tanstack_react_query.UseMutationResult<ApiResponse<void>, Error, {
|
|
@@ -640,8 +641,11 @@ declare function ConversationView({ conversationId, onClose, contactsMap, config
|
|
|
640
641
|
interface IntegrationCardProps {
|
|
641
642
|
card: IntegrationCardData;
|
|
642
643
|
onConnect: (card: IntegrationCardData) => void;
|
|
644
|
+
onReconnect?: (card: IntegrationCardData) => void;
|
|
645
|
+
onDisconnect?: (card: IntegrationCardData) => void;
|
|
646
|
+
onDelete?: (card: IntegrationCardData) => void;
|
|
643
647
|
}
|
|
644
|
-
declare function IntegrationCard({ card, onConnect }: IntegrationCardProps): react_jsx_runtime.JSX.Element;
|
|
648
|
+
declare function IntegrationCard({ card, onConnect, onReconnect, onDisconnect, onDelete, }: IntegrationCardProps): react_jsx_runtime.JSX.Element;
|
|
645
649
|
|
|
646
650
|
interface IntegrationsTabProps {
|
|
647
651
|
config: GagentsHookConfig;
|