@agenticmail/enterprise 0.5.21 → 0.5.22

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/cli.js CHANGED
@@ -48,7 +48,7 @@ Skill Development:
48
48
  break;
49
49
  case "setup":
50
50
  default:
51
- import("./setup-67L2SR63.js").then((m) => m.runSetupWizard()).catch(fatal);
51
+ import("./setup-IUABEVON.js").then((m) => m.runSetupWizard()).catch(fatal);
52
52
  break;
53
53
  }
54
54
  function fatal(err) {
@@ -1335,19 +1335,28 @@ function ProvidersSection(props) {
1335
1335
  )
1336
1336
  ),
1337
1337
  h('div', { style: { display: 'flex', gap: 6, marginTop: 8 } },
1338
- isLocal && h('button', {
1338
+ (isLocal || isConfigured) && h('button', {
1339
1339
  className: 'btn btn-sm',
1340
1340
  disabled: discovering[p.id],
1341
1341
  onClick: function() { handleDiscover(p.id); },
1342
- }, discovering[p.id] ? 'Discovering...' : 'Discover Models'),
1342
+ }, discovering[p.id] ? 'Discovering...' : (isLocal ? 'Discover Models' : 'List Models')),
1343
1343
  p.isCustom && h('button', {
1344
1344
  className: 'btn btn-sm btn-danger',
1345
1345
  style: { padding: '2px 8px', fontSize: 12 },
1346
1346
  onClick: function() { handleDeleteProvider(p.id); },
1347
1347
  }, I.trash())
1348
1348
  ),
1349
+ // Show default models for cloud providers that have them
1350
+ !discovered && p.defaultModels && p.defaultModels.length > 0 && h('div', { style: { marginTop: 8, fontSize: 12 } },
1351
+ h('div', { style: { fontWeight: 600, marginBottom: 4, color: 'var(--text-secondary)' } }, 'Available Models (' + p.defaultModels.length + ')'),
1352
+ h('div', { style: { display: 'flex', flexWrap: 'wrap', gap: 4 } },
1353
+ p.defaultModels.map(function(mid) {
1354
+ return h('span', { key: mid, className: 'badge badge-neutral', style: { fontSize: 11 } }, mid);
1355
+ })
1356
+ )
1357
+ ),
1349
1358
  discovered && discovered.length > 0 && h('div', { style: { marginTop: 8, padding: 8, background: 'var(--bg-secondary)', borderRadius: 'var(--radius)', fontSize: 12 } },
1350
- h('div', { style: { fontWeight: 600, marginBottom: 4 } }, 'Discovered Models (' + discovered.length + ')'),
1359
+ h('div', { style: { fontWeight: 600, marginBottom: 4 } }, 'Models (' + discovered.length + ')'),
1351
1360
  h('div', { style: { maxHeight: 120, overflow: 'auto' } },
1352
1361
  discovered.map(function(m) {
1353
1362
  var modelName = typeof m === 'string' ? m : (m.id || m.name || m.model);
package/dist/index.js CHANGED
@@ -1,3 +1,26 @@
1
+ import {
2
+ ActionJournal,
3
+ ActivityTracker,
4
+ AgentCommunicationBus,
5
+ AgentConfigGenerator,
6
+ AgentLifecycleManager,
7
+ AgentMemoryManager,
8
+ ApprovalEngine,
9
+ CommunitySkillRegistry,
10
+ ComplianceReporter,
11
+ DLPEngine,
12
+ DeploymentEngine,
13
+ GuardrailEngine,
14
+ KnowledgeBaseEngine,
15
+ OnboardingManager,
16
+ OrgPolicyEngine,
17
+ PLAN_LIMITS,
18
+ SecureVault,
19
+ StorageManager,
20
+ TenantManager,
21
+ WorkforceManager,
22
+ init_guardrails
23
+ } from "./chunk-BCDVBHJY.js";
1
24
  import {
2
25
  AgentRuntime,
3
26
  EmailChannel,
@@ -12,7 +35,8 @@ import {
12
35
  executeTool,
13
36
  runAgentLoop,
14
37
  toolsToDefinitions
15
- } from "./chunk-52DDMP6J.js";
38
+ } from "./chunk-T3FMNQXM.js";
39
+ import "./chunk-TYW5XTOW.js";
16
40
  import {
17
41
  ValidationError,
18
42
  auditLogger,
@@ -26,17 +50,11 @@ import {
26
50
  requireRole,
27
51
  securityHeaders,
28
52
  validate
29
- } from "./chunk-XIFIAOTA.js";
30
- import {
31
- PROVIDER_REGISTRY,
32
- listAllProviders,
33
- resolveApiKeyForProvider,
34
- resolveProvider
35
- } from "./chunk-ZNR5DDTA.js";
53
+ } from "./chunk-VDAIXIUZ.js";
36
54
  import {
37
55
  provision,
38
56
  runSetupWizard
39
- } from "./chunk-WPGECZMZ.js";
57
+ } from "./chunk-P2ZBZVVD.js";
40
58
  import {
41
59
  ENGINE_TABLES,
42
60
  ENGINE_TABLES_POSTGRES,
@@ -53,32 +71,6 @@ import {
53
71
  generateEnvFile,
54
72
  generateFlyToml
55
73
  } from "./chunk-7FVRYOP4.js";
56
- import "./chunk-RO537U6H.js";
57
- import "./chunk-DRXMYYKN.js";
58
- import {
59
- ActionJournal,
60
- ActivityTracker,
61
- AgentCommunicationBus,
62
- AgentConfigGenerator,
63
- AgentLifecycleManager,
64
- AgentMemoryManager,
65
- ApprovalEngine,
66
- CommunitySkillRegistry,
67
- ComplianceReporter,
68
- DLPEngine,
69
- DeploymentEngine,
70
- GuardrailEngine,
71
- KnowledgeBaseEngine,
72
- OnboardingManager,
73
- OrgPolicyEngine,
74
- PLAN_LIMITS,
75
- SecureVault,
76
- StorageManager,
77
- TenantManager,
78
- WorkforceManager,
79
- init_guardrails
80
- } from "./chunk-BCDVBHJY.js";
81
- import "./chunk-TYW5XTOW.js";
82
74
  import {
83
75
  CircuitBreaker,
84
76
  CircuitOpenError,
@@ -87,6 +79,14 @@ import {
87
79
  RateLimiter,
88
80
  withRetry
89
81
  } from "./chunk-JLSQOQ5L.js";
82
+ import "./chunk-RO537U6H.js";
83
+ import "./chunk-DRXMYYKN.js";
84
+ import {
85
+ PROVIDER_REGISTRY,
86
+ listAllProviders,
87
+ resolveApiKeyForProvider,
88
+ resolveProvider
89
+ } from "./chunk-67KZYSLU.js";
90
90
  import {
91
91
  BUILTIN_SKILLS,
92
92
  PRESET_PROFILES,
@@ -0,0 +1,17 @@
1
+ import {
2
+ PROVIDER_REGISTRY,
3
+ getApiType,
4
+ getBaseUrl,
5
+ listAllProviders,
6
+ resolveApiKeyForProvider,
7
+ resolveProvider
8
+ } from "./chunk-67KZYSLU.js";
9
+ import "./chunk-KFQGP6VL.js";
10
+ export {
11
+ PROVIDER_REGISTRY,
12
+ getApiType,
13
+ getBaseUrl,
14
+ listAllProviders,
15
+ resolveApiKeyForProvider,
16
+ resolveProvider
17
+ };
@@ -0,0 +1,47 @@
1
+ import {
2
+ AgentRuntime,
3
+ EmailChannel,
4
+ FollowUpScheduler,
5
+ SessionManager,
6
+ SubAgentManager,
7
+ ToolRegistry,
8
+ callLLM,
9
+ createAgentRuntime,
10
+ createNoopHooks,
11
+ createRuntimeHooks,
12
+ estimateMessageTokens,
13
+ estimateTokens,
14
+ executeTool,
15
+ runAgentLoop,
16
+ toolsToDefinitions
17
+ } from "./chunk-T3FMNQXM.js";
18
+ import "./chunk-TYW5XTOW.js";
19
+ import "./chunk-JLSQOQ5L.js";
20
+ import {
21
+ PROVIDER_REGISTRY,
22
+ listAllProviders,
23
+ resolveApiKeyForProvider,
24
+ resolveProvider
25
+ } from "./chunk-67KZYSLU.js";
26
+ import "./chunk-KFQGP6VL.js";
27
+ export {
28
+ AgentRuntime,
29
+ EmailChannel,
30
+ FollowUpScheduler,
31
+ PROVIDER_REGISTRY,
32
+ SessionManager,
33
+ SubAgentManager,
34
+ ToolRegistry,
35
+ callLLM,
36
+ createAgentRuntime,
37
+ createNoopHooks,
38
+ createRuntimeHooks,
39
+ estimateMessageTokens,
40
+ estimateTokens,
41
+ executeTool,
42
+ listAllProviders,
43
+ resolveApiKeyForProvider,
44
+ resolveProvider,
45
+ runAgentLoop,
46
+ toolsToDefinitions
47
+ };
@@ -0,0 +1,11 @@
1
+ import {
2
+ createServer
3
+ } from "./chunk-VDAIXIUZ.js";
4
+ import "./chunk-JLSQOQ5L.js";
5
+ import "./chunk-RO537U6H.js";
6
+ import "./chunk-DRXMYYKN.js";
7
+ import "./chunk-67KZYSLU.js";
8
+ import "./chunk-KFQGP6VL.js";
9
+ export {
10
+ createServer
11
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ promptCompanyInfo,
3
+ promptDatabase,
4
+ promptDeployment,
5
+ promptDomain,
6
+ promptRegistration,
7
+ provision,
8
+ runSetupWizard
9
+ } from "./chunk-P2ZBZVVD.js";
10
+ import "./chunk-HEK7L3DT.js";
11
+ import "./chunk-KFQGP6VL.js";
12
+ export {
13
+ promptCompanyInfo,
14
+ promptDatabase,
15
+ promptDeployment,
16
+ promptDomain,
17
+ promptRegistration,
18
+ provision,
19
+ runSetupWizard
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.21",
3
+ "version": "0.5.22",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {