@agenticmail/enterprise 0.5.228 → 0.5.229
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/dashboard/assets/icons/emoji-icons.js +1 -1
- package/dist/dashboard/pages/agent-detail/memory.js +1 -1
- package/dist/dashboard/pages/agent-detail/overview.js +1 -1
- package/dist/dashboard/pages/agent-detail/permissions.js +1 -1
- package/dist/dashboard/pages/agent-detail/shared.js +1 -1
- package/dist/dashboard/pages/agent-detail/whatsapp.js +1 -1
- package/dist/dashboard/pages/guardrails.js +2 -2
- package/dist/dashboard/pages/knowledge-contributions.js +1 -1
- package/package.json +1 -1
- package/src/dashboard/assets/icons/emoji-icons.js +1 -1
- package/src/dashboard/pages/agent-detail/memory.js +1 -1
- package/src/dashboard/pages/agent-detail/overview.js +1 -1
- package/src/dashboard/pages/agent-detail/permissions.js +1 -1
- package/src/dashboard/pages/agent-detail/shared.js +1 -1
- package/src/dashboard/pages/agent-detail/whatsapp.js +1 -1
- package/src/dashboard/pages/guardrails.js +2 -2
- package/src/dashboard/pages/knowledge-contributions.js +1 -1
|
@@ -72,7 +72,7 @@ export const E = {
|
|
|
72
72
|
return h('svg', svg({ width: s, height: s }),
|
|
73
73
|
h('defs', null,
|
|
74
74
|
h('linearGradient', { id: 'brain-g', x1: '0%', y1: '0%', x2: '100%', y2: '100%' },
|
|
75
|
-
h('stop', { offset: '0%', stopColor: '#
|
|
75
|
+
h('stop', { offset: '0%', stopColor: '#9d174d' }),
|
|
76
76
|
h('stop', { offset: '100%', stopColor: '#a855f7' })
|
|
77
77
|
)
|
|
78
78
|
),
|
|
@@ -154,7 +154,7 @@ export function MemorySection(props) {
|
|
|
154
154
|
var sourcesCount = memoryStats && memoryStats.bySource ? Object.keys(memoryStats.bySource).length : 0;
|
|
155
155
|
|
|
156
156
|
var catColor = function(c) {
|
|
157
|
-
var m = { preference: '#8b5cf6', interaction_pattern: '#
|
|
157
|
+
var m = { preference: '#8b5cf6', interaction_pattern: '#9d174d', context: '#3b82f6', skill: '#15803d', processed_email: '#6366f1', org_knowledge: '#f59e0b', procedure: '#14b8a6', relationship: '#f43f5e', reflection: '#a855f7', domain_expertise: '#0ea5e9', error_pattern: '#ef4444' };
|
|
158
158
|
return m[c] || '#64748b';
|
|
159
159
|
};
|
|
160
160
|
var impColor = function(i) {
|
|
@@ -7,7 +7,7 @@ import { HelpButton } from '../../components/help-button.js';
|
|
|
7
7
|
|
|
8
8
|
var CATEGORY_COLORS = {
|
|
9
9
|
code_of_conduct: '#6366f1', communication: '#0ea5e9', data_handling: '#f59e0b',
|
|
10
|
-
brand_voice: '#
|
|
10
|
+
brand_voice: '#9d174d', security: '#ef4444', escalation: '#8b5cf6', custom: '#64748b'
|
|
11
11
|
};
|
|
12
12
|
var ENFORCEMENT_COLORS = { mandatory: '#ef4444', recommended: '#f59e0b', informational: '#0ea5e9' };
|
|
13
13
|
|
|
@@ -222,7 +222,7 @@ export function PermissionsSection(props) {
|
|
|
222
222
|
|
|
223
223
|
var CATEGORY_COLORS = {
|
|
224
224
|
code_of_conduct: '#6366f1', communication: '#0ea5e9', data_handling: '#f59e0b',
|
|
225
|
-
brand_voice: '#
|
|
225
|
+
brand_voice: '#9d174d', security: '#ef4444', escalation: '#8b5cf6', custom: '#64748b'
|
|
226
226
|
};
|
|
227
227
|
var ENFORCEMENT_COLORS = { mandatory: '#ef4444', recommended: '#f59e0b', informational: '#0ea5e9' };
|
|
228
228
|
var inputStyle = { padding: '8px 10px', borderRadius: 6, border: '1px solid var(--border)', background: 'var(--bg-secondary)', color: 'var(--text-primary)', fontSize: 13, width: '100%' };
|
|
@@ -77,7 +77,7 @@ export var MEMORY_CATEGORIES = [
|
|
|
77
77
|
{ value: 'correction', label: 'Correction', color: '#f59e0b' },
|
|
78
78
|
{ value: 'skill', label: 'Skill', color: '#8b5cf6' },
|
|
79
79
|
{ value: 'context', label: 'Context', color: '#64748b' },
|
|
80
|
-
{ value: 'reflection', label: 'Reflection', color: '#
|
|
80
|
+
{ value: 'reflection', label: 'Reflection', color: '#9d174d' },
|
|
81
81
|
];
|
|
82
82
|
|
|
83
83
|
export function memCatColor(cat) { var f = MEMORY_CATEGORIES.find(function(c) { return c.value === cat; }); return f ? f.color : '#64748b'; }
|
|
@@ -563,7 +563,7 @@ function ConversationsCard(props) {
|
|
|
563
563
|
!loading && convos.length > 0 && h('div', null,
|
|
564
564
|
convos.map(function(c) {
|
|
565
565
|
var initial = (c.name || c.contactId || '?').charAt(0).toUpperCase();
|
|
566
|
-
var colors = ['#6366f1', '#
|
|
566
|
+
var colors = ['#6366f1', '#9d174d', '#f59e0b', '#15803d', '#8b5cf6', '#ef4444', '#06b6d4', '#84cc16'];
|
|
567
567
|
var colorIdx = (initial.charCodeAt(0) || 0) % colors.length;
|
|
568
568
|
return h('div', { key: c.contactId,
|
|
569
569
|
style: { display: 'flex', alignItems: 'center', gap: '12px', padding: '12px', borderRadius: '10px', cursor: 'pointer', transition: 'background 0.15s', marginBottom: '2px' },
|
|
@@ -8,7 +8,7 @@ var POLICY_CATEGORIES = [
|
|
|
8
8
|
{ value: 'code_of_conduct', label: 'Code of Conduct', color: '#6366f1' },
|
|
9
9
|
{ value: 'communication', label: 'Communication', color: '#0ea5e9' },
|
|
10
10
|
{ value: 'data_handling', label: 'Data Handling', color: '#f59e0b' },
|
|
11
|
-
{ value: 'brand_voice', label: 'Brand Voice', color: '#
|
|
11
|
+
{ value: 'brand_voice', label: 'Brand Voice', color: '#9d174d' },
|
|
12
12
|
{ value: 'security', label: 'Security', color: '#ef4444' },
|
|
13
13
|
{ value: 'escalation', label: 'Escalation', color: '#8b5cf6' },
|
|
14
14
|
{ value: 'custom', label: 'Custom', color: '#64748b' },
|
|
@@ -27,7 +27,7 @@ var MEMORY_CATEGORIES = [
|
|
|
27
27
|
{ value: 'correction', label: 'Correction', color: '#f59e0b' },
|
|
28
28
|
{ value: 'skill', label: 'Skill', color: '#8b5cf6' },
|
|
29
29
|
{ value: 'context', label: 'Context', color: '#64748b' },
|
|
30
|
-
{ value: 'reflection', label: 'Reflection', color: '#
|
|
30
|
+
{ value: 'reflection', label: 'Reflection', color: '#9d174d' },
|
|
31
31
|
];
|
|
32
32
|
|
|
33
33
|
var RULE_CATEGORIES = [
|
|
@@ -618,7 +618,7 @@ export function KnowledgeContributionsPage() {
|
|
|
618
618
|
useEffect(function() { if (tab === 'stats') loadTimeline(); }, [tab, loadTimeline]);
|
|
619
619
|
|
|
620
620
|
// SVG chart helpers — clean background, dark mode, hover tooltips
|
|
621
|
-
var CHART_COLORS = ['#6366f1', '#15803d', '#f59e0b', '#ef4444', '#8b5cf6', '#06b6d4', '#
|
|
621
|
+
var CHART_COLORS = ['#6366f1', '#15803d', '#f59e0b', '#ef4444', '#8b5cf6', '#06b6d4', '#9d174d', '#14b8a6'];
|
|
622
622
|
var [tooltip, setTooltip] = useState(null); // { x, y, lines: [] }
|
|
623
623
|
|
|
624
624
|
// Shared tooltip overlay (rendered once, positioned absolutely)
|
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@ export const E = {
|
|
|
72
72
|
return h('svg', svg({ width: s, height: s }),
|
|
73
73
|
h('defs', null,
|
|
74
74
|
h('linearGradient', { id: 'brain-g', x1: '0%', y1: '0%', x2: '100%', y2: '100%' },
|
|
75
|
-
h('stop', { offset: '0%', stopColor: '#
|
|
75
|
+
h('stop', { offset: '0%', stopColor: '#9d174d' }),
|
|
76
76
|
h('stop', { offset: '100%', stopColor: '#a855f7' })
|
|
77
77
|
)
|
|
78
78
|
),
|
|
@@ -154,7 +154,7 @@ export function MemorySection(props) {
|
|
|
154
154
|
var sourcesCount = memoryStats && memoryStats.bySource ? Object.keys(memoryStats.bySource).length : 0;
|
|
155
155
|
|
|
156
156
|
var catColor = function(c) {
|
|
157
|
-
var m = { preference: '#8b5cf6', interaction_pattern: '#
|
|
157
|
+
var m = { preference: '#8b5cf6', interaction_pattern: '#9d174d', context: '#3b82f6', skill: '#15803d', processed_email: '#6366f1', org_knowledge: '#f59e0b', procedure: '#14b8a6', relationship: '#f43f5e', reflection: '#a855f7', domain_expertise: '#0ea5e9', error_pattern: '#ef4444' };
|
|
158
158
|
return m[c] || '#64748b';
|
|
159
159
|
};
|
|
160
160
|
var impColor = function(i) {
|
|
@@ -7,7 +7,7 @@ import { HelpButton } from '../../components/help-button.js';
|
|
|
7
7
|
|
|
8
8
|
var CATEGORY_COLORS = {
|
|
9
9
|
code_of_conduct: '#6366f1', communication: '#0ea5e9', data_handling: '#f59e0b',
|
|
10
|
-
brand_voice: '#
|
|
10
|
+
brand_voice: '#9d174d', security: '#ef4444', escalation: '#8b5cf6', custom: '#64748b'
|
|
11
11
|
};
|
|
12
12
|
var ENFORCEMENT_COLORS = { mandatory: '#ef4444', recommended: '#f59e0b', informational: '#0ea5e9' };
|
|
13
13
|
|
|
@@ -222,7 +222,7 @@ export function PermissionsSection(props) {
|
|
|
222
222
|
|
|
223
223
|
var CATEGORY_COLORS = {
|
|
224
224
|
code_of_conduct: '#6366f1', communication: '#0ea5e9', data_handling: '#f59e0b',
|
|
225
|
-
brand_voice: '#
|
|
225
|
+
brand_voice: '#9d174d', security: '#ef4444', escalation: '#8b5cf6', custom: '#64748b'
|
|
226
226
|
};
|
|
227
227
|
var ENFORCEMENT_COLORS = { mandatory: '#ef4444', recommended: '#f59e0b', informational: '#0ea5e9' };
|
|
228
228
|
var inputStyle = { padding: '8px 10px', borderRadius: 6, border: '1px solid var(--border)', background: 'var(--bg-secondary)', color: 'var(--text-primary)', fontSize: 13, width: '100%' };
|
|
@@ -77,7 +77,7 @@ export var MEMORY_CATEGORIES = [
|
|
|
77
77
|
{ value: 'correction', label: 'Correction', color: '#f59e0b' },
|
|
78
78
|
{ value: 'skill', label: 'Skill', color: '#8b5cf6' },
|
|
79
79
|
{ value: 'context', label: 'Context', color: '#64748b' },
|
|
80
|
-
{ value: 'reflection', label: 'Reflection', color: '#
|
|
80
|
+
{ value: 'reflection', label: 'Reflection', color: '#9d174d' },
|
|
81
81
|
];
|
|
82
82
|
|
|
83
83
|
export function memCatColor(cat) { var f = MEMORY_CATEGORIES.find(function(c) { return c.value === cat; }); return f ? f.color : '#64748b'; }
|
|
@@ -563,7 +563,7 @@ function ConversationsCard(props) {
|
|
|
563
563
|
!loading && convos.length > 0 && h('div', null,
|
|
564
564
|
convos.map(function(c) {
|
|
565
565
|
var initial = (c.name || c.contactId || '?').charAt(0).toUpperCase();
|
|
566
|
-
var colors = ['#6366f1', '#
|
|
566
|
+
var colors = ['#6366f1', '#9d174d', '#f59e0b', '#15803d', '#8b5cf6', '#ef4444', '#06b6d4', '#84cc16'];
|
|
567
567
|
var colorIdx = (initial.charCodeAt(0) || 0) % colors.length;
|
|
568
568
|
return h('div', { key: c.contactId,
|
|
569
569
|
style: { display: 'flex', alignItems: 'center', gap: '12px', padding: '12px', borderRadius: '10px', cursor: 'pointer', transition: 'background 0.15s', marginBottom: '2px' },
|
|
@@ -8,7 +8,7 @@ var POLICY_CATEGORIES = [
|
|
|
8
8
|
{ value: 'code_of_conduct', label: 'Code of Conduct', color: '#6366f1' },
|
|
9
9
|
{ value: 'communication', label: 'Communication', color: '#0ea5e9' },
|
|
10
10
|
{ value: 'data_handling', label: 'Data Handling', color: '#f59e0b' },
|
|
11
|
-
{ value: 'brand_voice', label: 'Brand Voice', color: '#
|
|
11
|
+
{ value: 'brand_voice', label: 'Brand Voice', color: '#9d174d' },
|
|
12
12
|
{ value: 'security', label: 'Security', color: '#ef4444' },
|
|
13
13
|
{ value: 'escalation', label: 'Escalation', color: '#8b5cf6' },
|
|
14
14
|
{ value: 'custom', label: 'Custom', color: '#64748b' },
|
|
@@ -27,7 +27,7 @@ var MEMORY_CATEGORIES = [
|
|
|
27
27
|
{ value: 'correction', label: 'Correction', color: '#f59e0b' },
|
|
28
28
|
{ value: 'skill', label: 'Skill', color: '#8b5cf6' },
|
|
29
29
|
{ value: 'context', label: 'Context', color: '#64748b' },
|
|
30
|
-
{ value: 'reflection', label: 'Reflection', color: '#
|
|
30
|
+
{ value: 'reflection', label: 'Reflection', color: '#9d174d' },
|
|
31
31
|
];
|
|
32
32
|
|
|
33
33
|
var RULE_CATEGORIES = [
|
|
@@ -618,7 +618,7 @@ export function KnowledgeContributionsPage() {
|
|
|
618
618
|
useEffect(function() { if (tab === 'stats') loadTimeline(); }, [tab, loadTimeline]);
|
|
619
619
|
|
|
620
620
|
// SVG chart helpers — clean background, dark mode, hover tooltips
|
|
621
|
-
var CHART_COLORS = ['#6366f1', '#15803d', '#f59e0b', '#ef4444', '#8b5cf6', '#06b6d4', '#
|
|
621
|
+
var CHART_COLORS = ['#6366f1', '#15803d', '#f59e0b', '#ef4444', '#8b5cf6', '#06b6d4', '#9d174d', '#14b8a6'];
|
|
622
622
|
var [tooltip, setTooltip] = useState(null); // { x, y, lines: [] }
|
|
623
623
|
|
|
624
624
|
// Shared tooltip overlay (rendered once, positioned absolutely)
|