@agenticmail/enterprise 0.5.274 → 0.5.276

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.
@@ -140,13 +140,10 @@ export function DatabaseAccessPage() {
140
140
  h('div', { style: s.title },
141
141
  I.database(),
142
142
  'Database Access',
143
- HelpButton({
144
- title: 'Database Access',
145
- content: h(Fragment, null,
146
- h('p', null, 'Connect your agents to external databases. Each agent can be granted granular permissions (read, write, delete) on specific database connections.'),
147
- h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
148
- ),
149
- }),
143
+ h(HelpButton, { label: 'Database Access' },
144
+ h('p', null, 'Connect your agents to external databases. Each agent can be granted granular permissions (read, write, delete) on specific database connections.'),
145
+ h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
146
+ ),
150
147
  ),
151
148
  h('button', { style: s.btnPrimary, onClick: function() { setShowAdd(true); } }, '+ Add Connection'),
152
149
  ),
@@ -159,14 +156,14 @@ export function DatabaseAccessPage() {
159
156
  ),
160
157
 
161
158
  // Content
162
- tab === 'connections' && ConnectionsTab({ connections: connections, agents: agents, onDelete: deleteConn, onTest: testConn, onEdit: setEditConn, onGrant: setShowGrant, onRefresh: loadData }),
163
- tab === 'agents' && AgentAccessTab({ connections: connections, agents: agents, onRefresh: loadData }),
164
- tab === 'audit' && AuditTab({ auditLog: auditLog, onRefresh: loadAudit }),
159
+ tab === 'connections' && h(ConnectionsTab, { connections: connections, agents: agents, onDelete: deleteConn, onTest: testConn, onEdit: setEditConn, onGrant: setShowGrant, onRefresh: loadData }),
160
+ tab === 'agents' && h(AgentAccessTab, { connections: connections, agents: agents, onRefresh: loadData }),
161
+ tab === 'audit' && h(AuditTab, { auditLog: auditLog, onRefresh: loadAudit }),
165
162
 
166
163
  // Modals
167
- showAdd && AddConnectionModal({ onClose: function() { setShowAdd(false); }, onSave: loadData }),
168
- showGrant && GrantAccessModal({ connectionId: showGrant, agents: agents, connections: connections, onClose: function() { setShowGrant(null); }, onSave: loadData }),
169
- editConn && EditConnectionModal({ connection: editConn, onClose: function() { setEditConn(null); }, onSave: loadData }),
164
+ showAdd && h(AddConnectionModal, { onClose: function() { setShowAdd(false); }, onSave: loadData }),
165
+ showGrant && h(GrantAccessModal, { connectionId: showGrant, agents: agents, connections: connections, onClose: function() { setShowGrant(null); }, onSave: loadData }),
166
+ editConn && h(EditConnectionModal, { connection: editConn, onClose: function() { setEditConn(null); }, onSave: loadData }),
170
167
  );
171
168
  }
172
169
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.274",
3
+ "version": "0.5.276",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -140,13 +140,10 @@ export function DatabaseAccessPage() {
140
140
  h('div', { style: s.title },
141
141
  I.database(),
142
142
  'Database Access',
143
- HelpButton({
144
- title: 'Database Access',
145
- content: h(Fragment, null,
146
- h('p', null, 'Connect your agents to external databases. Each agent can be granted granular permissions (read, write, delete) on specific database connections.'),
147
- h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
148
- ),
149
- }),
143
+ h(HelpButton, { label: 'Database Access' },
144
+ h('p', null, 'Connect your agents to external databases. Each agent can be granted granular permissions (read, write, delete) on specific database connections.'),
145
+ h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
146
+ ),
150
147
  ),
151
148
  h('button', { style: s.btnPrimary, onClick: function() { setShowAdd(true); } }, '+ Add Connection'),
152
149
  ),
@@ -159,14 +156,14 @@ export function DatabaseAccessPage() {
159
156
  ),
160
157
 
161
158
  // Content
162
- tab === 'connections' && ConnectionsTab({ connections: connections, agents: agents, onDelete: deleteConn, onTest: testConn, onEdit: setEditConn, onGrant: setShowGrant, onRefresh: loadData }),
163
- tab === 'agents' && AgentAccessTab({ connections: connections, agents: agents, onRefresh: loadData }),
164
- tab === 'audit' && AuditTab({ auditLog: auditLog, onRefresh: loadAudit }),
159
+ tab === 'connections' && h(ConnectionsTab, { connections: connections, agents: agents, onDelete: deleteConn, onTest: testConn, onEdit: setEditConn, onGrant: setShowGrant, onRefresh: loadData }),
160
+ tab === 'agents' && h(AgentAccessTab, { connections: connections, agents: agents, onRefresh: loadData }),
161
+ tab === 'audit' && h(AuditTab, { auditLog: auditLog, onRefresh: loadAudit }),
165
162
 
166
163
  // Modals
167
- showAdd && AddConnectionModal({ onClose: function() { setShowAdd(false); }, onSave: loadData }),
168
- showGrant && GrantAccessModal({ connectionId: showGrant, agents: agents, connections: connections, onClose: function() { setShowGrant(null); }, onSave: loadData }),
169
- editConn && EditConnectionModal({ connection: editConn, onClose: function() { setEditConn(null); }, onSave: loadData }),
164
+ showAdd && h(AddConnectionModal, { onClose: function() { setShowAdd(false); }, onSave: loadData }),
165
+ showGrant && h(GrantAccessModal, { connectionId: showGrant, agents: agents, connections: connections, onClose: function() { setShowGrant(null); }, onSave: loadData }),
166
+ editConn && h(EditConnectionModal, { connection: editConn, onClose: function() { setEditConn(null); }, onSave: loadData }),
170
167
  );
171
168
  }
172
169