@datatechsolutions/ui 3.9.0 → 3.9.1
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.
|
@@ -8,7 +8,7 @@ import { defaultRuleForm, RuleForm, ExecutionTimelinePanel } from '../../chunk-A
|
|
|
8
8
|
import '../../chunk-JB6RNAD2.mjs';
|
|
9
9
|
import '../../chunk-LEXBTVGM.mjs';
|
|
10
10
|
import '../../chunk-EAIE4QGD.mjs';
|
|
11
|
-
import { HeroSection, PageLoadingState, PageEmptyState, SearchBar, EntityCard, CreateActionButton, GlassModal, FormGrid, FormSelect, FormInput, FormTextarea, SectionHeader, Text, Form, FormActionsRow, Table, TableHead, TableRow, TableHeader, TableBody, TableCell, InlineForm, CopyableId, ListCard, ListCardItem, Avatar, SectionCard, Tabs, TabsList, TabsTrigger, TabsContent, StepTimeline } from '../../chunk-ZQRUAXGP.mjs';
|
|
11
|
+
import { HeroSection, PageLoadingState, PageEmptyState, SearchBar, EntityCard, CreateActionButton, GlassModal, FormGrid, FormSelect, FormInput, FormTextarea, SectionHeader, Text, Form, FormActionsRow, Table, TableHead, TableRow, TableHeader, TableBody, TableCell, InlineForm, CopyableId, ListCard, ListCardItem, Avatar, SectionCard, Tabs, TabsList, TabsTrigger, TabsContent, StepTimeline, FilterTileButton } from '../../chunk-ZQRUAXGP.mjs';
|
|
12
12
|
import '../../chunk-7VJ7CMMT.mjs';
|
|
13
13
|
import '../../chunk-RHRJXK5R.mjs';
|
|
14
14
|
import '../../chunk-3AY5HIQ6.mjs';
|
|
@@ -2796,12 +2796,12 @@ function deriveInitials(name) {
|
|
|
2796
2796
|
return (parts[0][0] + parts[parts.length - 1][0]).toUpperCase();
|
|
2797
2797
|
}
|
|
2798
2798
|
var AGENT_PRESETS = [
|
|
2799
|
-
{ id: "sales", emoji: "\u{1F4BC}", name: "Sales Specialist", role: "Lead qualification & CRM", systemPrompt: "You are a sales assistant. Help qualify leads, manage CRM entries, and schedule follow-ups. Always be professional and proactive.", temperature: 0.7, maxTokens: 2048, accent: "from-emerald-500 to-teal-600", framework: "anthropic" },
|
|
2800
|
-
{ id: "support", emoji: "\u{1F3A7}", name: "Customer Support", role: "Ticket resolution & escalation", systemPrompt: "You are a customer support agent. Resolve tickets, answer questions, and escalate complex issues. Prioritize customer satisfaction.", temperature: 0.3, maxTokens: 2048, accent: "from-sky-500 to-indigo-600", framework: "crewai" },
|
|
2801
|
-
{ id: "finance", emoji: "\u{1F4CA}", name: "Financial Analyst", role: "Revenue, margins, reports", systemPrompt: "You are a financial analyst. Analyze revenue, calculate margins, generate performance reports, and identify trends. Use data-driven insights for recommendations.", temperature: 0.4, maxTokens: 4096, accent: "from-amber-500 to-orange-600", framework: "langchain" },
|
|
2802
|
-
{ id: "security", emoji: "\u{1F6E1}\uFE0F", name: "Security Analyst", role: "Threat monitoring & compliance", systemPrompt: "You are a security analyst. Monitor for threats, audit data access, ensure compliance with privacy regulations, and manage incident response.", temperature: 0.3, maxTokens: 2048, accent: "from-rose-500 to-red-600", framework: "anthropic" },
|
|
2803
|
-
{ id: "data", emoji: "\u{1F52C}", name: "Data Analyst", role: "Pattern detection & cleaning", systemPrompt: "You are a data analyst. Process raw data inputs, identify patterns, clean datasets, and prepare structured analysis for downstream agents.", temperature: 0.5, maxTokens: 4096, accent: "from-violet-500 to-purple-600", framework: "google-adk" },
|
|
2804
|
-
{ id: "custom", emoji: "\u2728", name: "", role: "", systemPrompt: "", temperature: 0.2, maxTokens: 2048, accent: "from-slate-500 to-slate-700" }
|
|
2799
|
+
{ id: "sales", emoji: "\u{1F4BC}", name: "Sales Specialist", role: "Lead qualification & CRM", systemPrompt: "You are a sales assistant. Help qualify leads, manage CRM entries, and schedule follow-ups. Always be professional and proactive.", temperature: 0.7, maxTokens: 2048, accent: "from-emerald-500 to-teal-600", framework: "anthropic", tileColor: "emerald" },
|
|
2800
|
+
{ id: "support", emoji: "\u{1F3A7}", name: "Customer Support", role: "Ticket resolution & escalation", systemPrompt: "You are a customer support agent. Resolve tickets, answer questions, and escalate complex issues. Prioritize customer satisfaction.", temperature: 0.3, maxTokens: 2048, accent: "from-sky-500 to-indigo-600", framework: "crewai", tileColor: "sky" },
|
|
2801
|
+
{ id: "finance", emoji: "\u{1F4CA}", name: "Financial Analyst", role: "Revenue, margins, reports", systemPrompt: "You are a financial analyst. Analyze revenue, calculate margins, generate performance reports, and identify trends. Use data-driven insights for recommendations.", temperature: 0.4, maxTokens: 4096, accent: "from-amber-500 to-orange-600", framework: "langchain", tileColor: "amber" },
|
|
2802
|
+
{ id: "security", emoji: "\u{1F6E1}\uFE0F", name: "Security Analyst", role: "Threat monitoring & compliance", systemPrompt: "You are a security analyst. Monitor for threats, audit data access, ensure compliance with privacy regulations, and manage incident response.", temperature: 0.3, maxTokens: 2048, accent: "from-rose-500 to-red-600", framework: "anthropic", tileColor: "rose" },
|
|
2803
|
+
{ id: "data", emoji: "\u{1F52C}", name: "Data Analyst", role: "Pattern detection & cleaning", systemPrompt: "You are a data analyst. Process raw data inputs, identify patterns, clean datasets, and prepare structured analysis for downstream agents.", temperature: 0.5, maxTokens: 4096, accent: "from-violet-500 to-purple-600", framework: "google-adk", tileColor: "violet" },
|
|
2804
|
+
{ id: "custom", emoji: "\u2728", name: "", role: "", systemPrompt: "", temperature: 0.2, maxTokens: 2048, accent: "from-slate-500 to-slate-700", tileColor: "slate" }
|
|
2805
2805
|
];
|
|
2806
2806
|
var DIFFICULTY_OPTIONS = [
|
|
2807
2807
|
{ id: "beginner", emoji: "\u{1F331}", accent: "from-emerald-500 to-teal-600" },
|
|
@@ -3085,35 +3085,29 @@ function AgentNewWizardPageView({
|
|
|
3085
3085
|
title: labels.presetTitle,
|
|
3086
3086
|
subtitle: labels.presetSubtitle
|
|
3087
3087
|
},
|
|
3088
|
-
children: /* @__PURE__ */ jsx(
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
"
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
"span",
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
] })
|
|
3112
|
-
]
|
|
3113
|
-
},
|
|
3114
|
-
preset.id
|
|
3115
|
-
);
|
|
3116
|
-
}) })
|
|
3088
|
+
children: /* @__PURE__ */ jsx(
|
|
3089
|
+
"div",
|
|
3090
|
+
{
|
|
3091
|
+
role: "radiogroup",
|
|
3092
|
+
"aria-label": labels.presetTitle,
|
|
3093
|
+
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
3094
|
+
children: AGENT_PRESETS.map((preset) => {
|
|
3095
|
+
const selected = preset.id === presetId;
|
|
3096
|
+
return /* @__PURE__ */ jsx(
|
|
3097
|
+
FilterTileButton,
|
|
3098
|
+
{
|
|
3099
|
+
isActive: selected,
|
|
3100
|
+
color: preset.tileColor,
|
|
3101
|
+
icon: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "text-base leading-none", children: preset.emoji }),
|
|
3102
|
+
label: preset.id === "custom" ? labels.presetCustom : preset.name,
|
|
3103
|
+
count: preset.role || labels.presetCustomHint,
|
|
3104
|
+
onClick: () => applyPreset(preset)
|
|
3105
|
+
},
|
|
3106
|
+
preset.id
|
|
3107
|
+
);
|
|
3108
|
+
})
|
|
3109
|
+
}
|
|
3110
|
+
)
|
|
3117
3111
|
}
|
|
3118
3112
|
);
|
|
3119
3113
|
}
|
|
@@ -3604,7 +3598,7 @@ function AgentNewWizardPageView({
|
|
|
3604
3598
|
}
|
|
3605
3599
|
}
|
|
3606
3600
|
),
|
|
3607
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
3601
|
+
/* @__PURE__ */ jsxs("div", { className: "w-full space-y-5", children: [
|
|
3608
3602
|
stepBody,
|
|
3609
3603
|
footer
|
|
3610
3604
|
] })
|