@agenticmail/enterprise 0.4.2 → 0.5.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.
- package/README.md +608 -923
- package/dashboards/django/app.py +12 -0
- package/dashboards/django/static/styles.css +449 -246
- package/dashboards/django/templates/activity.html +130 -0
- package/dashboards/django/templates/approvals.html +115 -0
- package/dashboards/django/templates/community-skills.html +89 -0
- package/dashboards/django/templates/domain-status.html +59 -0
- package/dashboards/django/templates/knowledge-contributions.html +58 -0
- package/dashboards/django/templates/knowledge.html +104 -0
- package/dashboards/django/templates/layout.html +161 -36
- package/dashboards/django/templates/skill-connections.html +73 -0
- package/dashboards/django/templates/workforce.html +116 -0
- package/dashboards/django/views/__init__.py +14 -0
- package/dashboards/django/views/new_pages.py +38 -0
- package/dashboards/dotnet/Program.cs +8 -0
- package/dashboards/dotnet/Routes/ActivityRoutes.cs +35 -0
- package/dashboards/dotnet/Routes/ApprovalRoutes.cs +36 -0
- package/dashboards/dotnet/Routes/CommunitySkillRoutes.cs +36 -0
- package/dashboards/dotnet/Routes/DomainStatusRoutes.cs +49 -0
- package/dashboards/dotnet/Routes/KnowledgeContributionRoutes.cs +42 -0
- package/dashboards/dotnet/Routes/KnowledgeRoutes.cs +40 -0
- package/dashboards/dotnet/Routes/SkillConnectionRoutes.cs +52 -0
- package/dashboards/dotnet/Routes/WorkforceRoutes.cs +55 -0
- package/dashboards/dotnet/Services/HtmlBuilder.cs +17 -8
- package/dashboards/dotnet/wwwroot/styles.css +508 -246
- package/dashboards/express/app.js +8 -0
- package/dashboards/express/public/styles.css +163 -272
- package/dashboards/express/routes/activity.js +101 -0
- package/dashboards/express/routes/approvals.js +100 -0
- package/dashboards/express/routes/community-skills.js +83 -0
- package/dashboards/express/routes/domain-status.js +78 -0
- package/dashboards/express/routes/knowledge-contributions.js +85 -0
- package/dashboards/express/routes/knowledge.js +83 -0
- package/dashboards/express/routes/skill-connections.js +86 -0
- package/dashboards/express/routes/workforce.js +126 -0
- package/dashboards/express/views/layout.js +54 -33
- package/dashboards/go/handlers/activity.go +30 -0
- package/dashboards/go/handlers/approvals.go +31 -0
- package/dashboards/go/handlers/community_skills.go +32 -0
- package/dashboards/go/handlers/domain_status.go +62 -0
- package/dashboards/go/handlers/knowledge.go +35 -0
- package/dashboards/go/handlers/knowledge_contributions.go +37 -0
- package/dashboards/go/handlers/skill_connections.go +59 -0
- package/dashboards/go/handlers/workforce.go +60 -0
- package/dashboards/go/main.go +8 -0
- package/dashboards/go/static/styles.css +508 -246
- package/dashboards/go/templates/layout.go +16 -11
- package/dashboards/html/index.html +136 -15
- package/dashboards/html/public/styles.css +531 -134
- package/dashboards/html/src/pages/activity.js +137 -0
- package/dashboards/html/src/pages/approvals.js +155 -0
- package/dashboards/html/src/pages/community-skills.js +236 -0
- package/dashboards/html/src/pages/domain-status.js +182 -0
- package/dashboards/html/src/pages/knowledge-contributions.js +319 -0
- package/dashboards/html/src/pages/knowledge.js +251 -0
- package/dashboards/html/src/pages/skill-connections.js +293 -0
- package/dashboards/html/src/pages/workforce.js +418 -0
- package/dashboards/html/src/router.js +51 -0
- package/dashboards/java/AgenticMailDashboard.java +8 -0
- package/dashboards/java/handlers/ActivityHandler.java +42 -0
- package/dashboards/java/handlers/ApprovalsHandler.java +43 -0
- package/dashboards/java/handlers/CommunitySkillsHandler.java +45 -0
- package/dashboards/java/handlers/DomainStatusHandler.java +58 -0
- package/dashboards/java/handlers/KnowledgeContributionsHandler.java +51 -0
- package/dashboards/java/handlers/KnowledgeHandler.java +49 -0
- package/dashboards/java/handlers/SkillConnectionsHandler.java +61 -0
- package/dashboards/java/handlers/WorkforceHandler.java +64 -0
- package/dashboards/java/static/styles.css +508 -250
- package/dashboards/java/templates/Layout.java +14 -6
- package/dashboards/laravel/controllers/ActivityController.php +18 -0
- package/dashboards/laravel/controllers/ApprovalsController.php +18 -0
- package/dashboards/laravel/controllers/CommunitySkillsController.php +18 -0
- package/dashboards/laravel/controllers/DomainStatusController.php +18 -0
- package/dashboards/laravel/controllers/KnowledgeContributionsController.php +18 -0
- package/dashboards/laravel/controllers/KnowledgeController.php +18 -0
- package/dashboards/laravel/controllers/SkillConnectionsController.php +18 -0
- package/dashboards/laravel/controllers/WorkforceController.php +18 -0
- package/dashboards/laravel/index.php +56 -0
- package/dashboards/laravel/public/styles.css +163 -279
- package/dashboards/laravel/views/activity.php +127 -0
- package/dashboards/laravel/views/approvals.php +152 -0
- package/dashboards/laravel/views/community-skills.php +131 -0
- package/dashboards/laravel/views/domain-status.php +167 -0
- package/dashboards/laravel/views/knowledge-contributions.php +185 -0
- package/dashboards/laravel/views/knowledge.php +167 -0
- package/dashboards/laravel/views/layout.php +54 -41
- package/dashboards/laravel/views/skill-connections.php +192 -0
- package/dashboards/laravel/views/workforce.php +265 -0
- package/dashboards/php/components/layout.php +21 -16
- package/dashboards/php/index.php +1 -1
- package/dashboards/php/pages/activity.php +35 -0
- package/dashboards/php/pages/approvals.php +36 -0
- package/dashboards/php/pages/community-skills.php +39 -0
- package/dashboards/php/pages/domain-status.php +87 -0
- package/dashboards/php/pages/knowledge-contributions.php +47 -0
- package/dashboards/php/pages/knowledge.php +43 -0
- package/dashboards/php/pages/skill-connections.php +94 -0
- package/dashboards/php/pages/workforce.php +89 -0
- package/dashboards/php/public/styles.css +168 -74
- package/dashboards/python/app.py +16 -0
- package/dashboards/python/routes/activity.py +11 -0
- package/dashboards/python/routes/approvals.py +11 -0
- package/dashboards/python/routes/community_skills.py +11 -0
- package/dashboards/python/routes/domain_status.py +11 -0
- package/dashboards/python/routes/knowledge.py +11 -0
- package/dashboards/python/routes/knowledge_contributions.py +11 -0
- package/dashboards/python/routes/skill_connections.py +11 -0
- package/dashboards/python/routes/workforce.py +11 -0
- package/dashboards/python/static/styles.css +163 -276
- package/dashboards/python/templates/activity.html +87 -0
- package/dashboards/python/templates/approvals.html +86 -0
- package/dashboards/python/templates/community-skills.html +69 -0
- package/dashboards/python/templates/domain-status.html +64 -0
- package/dashboards/python/templates/knowledge-contributions.html +71 -0
- package/dashboards/python/templates/knowledge.html +69 -0
- package/dashboards/python/templates/layout.html +103 -68
- package/dashboards/python/templates/skill-connections.html +72 -0
- package/dashboards/python/templates/workforce.html +112 -0
- package/dashboards/rails/app.rb +8 -0
- package/dashboards/rails/public/styles.css +506 -259
- package/dashboards/rails/routes/activity.rb +10 -0
- package/dashboards/rails/routes/approvals.rb +10 -0
- package/dashboards/rails/routes/community_skills.rb +11 -0
- package/dashboards/rails/routes/domain_status.rb +16 -0
- package/dashboards/rails/routes/knowledge.rb +11 -0
- package/dashboards/rails/routes/knowledge_contributions.rb +12 -0
- package/dashboards/rails/routes/skill_connections.rb +15 -0
- package/dashboards/rails/routes/workforce.rb +16 -0
- package/dashboards/rails/views/activity.erb +56 -0
- package/dashboards/rails/views/approvals.erb +60 -0
- package/dashboards/rails/views/community_skills.erb +69 -0
- package/dashboards/rails/views/domain_status.erb +75 -0
- package/dashboards/rails/views/knowledge.erb +67 -0
- package/dashboards/rails/views/knowledge_contributions.erb +70 -0
- package/dashboards/rails/views/layout.erb +23 -15
- package/dashboards/rails/views/skill_connections.erb +109 -0
- package/dashboards/rails/views/workforce.erb +124 -0
- package/dashboards/ruby/app.rb +8 -0
- package/dashboards/ruby/public/styles.css +506 -254
- package/dashboards/ruby/routes/activity.rb +10 -0
- package/dashboards/ruby/routes/approvals.rb +10 -0
- package/dashboards/ruby/routes/community_skills.rb +11 -0
- package/dashboards/ruby/routes/domain_status.rb +16 -0
- package/dashboards/ruby/routes/knowledge.rb +11 -0
- package/dashboards/ruby/routes/knowledge_contributions.rb +12 -0
- package/dashboards/ruby/routes/skill_connections.rb +15 -0
- package/dashboards/ruby/routes/workforce.rb +16 -0
- package/dashboards/ruby/views/activity.erb +56 -0
- package/dashboards/ruby/views/approvals.erb +60 -0
- package/dashboards/ruby/views/community_skills.erb +69 -0
- package/dashboards/ruby/views/domain_status.erb +75 -0
- package/dashboards/ruby/views/knowledge.erb +67 -0
- package/dashboards/ruby/views/knowledge_contributions.erb +70 -0
- package/dashboards/ruby/views/layout.erb +22 -13
- package/dashboards/ruby/views/skill_connections.erb +109 -0
- package/dashboards/ruby/views/workforce.erb +124 -0
- package/dashboards/shared/styles.css +505 -281
- package/dashboards/shared-styles.css +534 -45
- package/dist/chunk-ANW4OHXR.js +764 -0
- package/dist/chunk-EVQPFQ55.js +9040 -0
- package/dist/chunk-JMTNHH7I.js +12666 -0
- package/dist/chunk-TYW5XTOW.js +395 -0
- package/dist/chunk-V2YIXYDJ.js +1943 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +5 -4
- package/dist/routes-ALTC4I2R.js +5674 -0
- package/dist/runtime-JLFTHMIT.js +47 -0
- package/dist/server-OGQWCOT6.js +11 -0
- package/dist/setup-HCMMUEW6.js +20 -0
- package/package.json +1 -1
- package/src/agent-tools/tools/memory.ts +42 -15
- package/src/engine/agent-memory.ts +4 -355
- package/src/lib/text-search.ts +358 -0
|
@@ -32,20 +32,28 @@ public class Layout {
|
|
|
32
32
|
"<nav class='sidebar-nav'>" +
|
|
33
33
|
navItem("/", "📊", "Dashboard", activePage) +
|
|
34
34
|
navItem("/agents", "🤖", "Agents", activePage) +
|
|
35
|
-
navItem("/
|
|
36
|
-
navItem("/
|
|
37
|
-
navItem("/
|
|
38
|
-
navItem("/
|
|
35
|
+
navItem("/skills", "⚡", "Skills", activePage) +
|
|
36
|
+
navItem("/community-skills", "🏪", "Community Skills", activePage) +
|
|
37
|
+
navItem("/skill-connections", "🔗", "Skill Connections", activePage) +
|
|
38
|
+
navItem("/knowledge", "📚", "Knowledge Bases", activePage) +
|
|
39
|
+
navItem("/knowledge-contributions", "📚", "Knowledge Hub", activePage) +
|
|
40
|
+
navItem("/approvals", "✅", "Approvals", activePage) +
|
|
39
41
|
"<div class='sidebar-section'>Management</div>" +
|
|
42
|
+
navItem("/workforce", "🕐", "Workforce", activePage) +
|
|
40
43
|
navItem("/messages", "📧", "Messages", activePage) +
|
|
41
44
|
navItem("/guardrails", "🛡", "Guardrails", activePage) +
|
|
42
45
|
navItem("/journal", "📖", "Journal", activePage) +
|
|
43
46
|
"<div class='sidebar-section'>Security</div>" +
|
|
44
47
|
navItem("/dlp", "🔒", "DLP", activePage) +
|
|
45
48
|
navItem("/compliance", "📋", "Compliance", activePage) +
|
|
46
|
-
"
|
|
49
|
+
navItem("/domain-status", "🛡", "Domain", activePage) +
|
|
50
|
+
"<div class='sidebar-section'>Administration</div>" +
|
|
51
|
+
navItem("/users", "👥", "Users", activePage) +
|
|
47
52
|
navItem("/vault", "🔐", "Vault", activePage) +
|
|
48
|
-
navItem("/
|
|
53
|
+
navItem("/api-keys", "🔑", "API Keys", activePage) +
|
|
54
|
+
navItem("/audit", "📜", "Audit Log", activePage) +
|
|
55
|
+
navItem("/settings", "⚙️", "Settings", activePage) +
|
|
56
|
+
navItem("/activity", "📋", "Activity", activePage) +
|
|
49
57
|
"</nav>" +
|
|
50
58
|
"<div class='sidebar-footer'>" +
|
|
51
59
|
"<div style='margin-bottom:4px'>" + userName + "</div>" +
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* ActivityController — Shows recent agent activity and system events
|
|
4
|
+
*/
|
|
5
|
+
class ActivityController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Activity';
|
|
10
|
+
$page = 'activity';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/activity.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* ApprovalsController — Manage pending approvals and approval history
|
|
4
|
+
*/
|
|
5
|
+
class ApprovalsController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Approvals';
|
|
10
|
+
$page = 'approvals';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/approvals.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* CommunitySkillsController — Browse and install community-contributed skills
|
|
4
|
+
*/
|
|
5
|
+
class CommunitySkillsController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Community Skills';
|
|
10
|
+
$page = 'community-skills';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/community-skills.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* DomainStatusController — Domain health and email security status
|
|
4
|
+
*/
|
|
5
|
+
class DomainStatusController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Domain Status';
|
|
10
|
+
$page = 'domain-status';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/domain-status.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* KnowledgeContributionsController — Community knowledge sharing hub
|
|
4
|
+
*/
|
|
5
|
+
class KnowledgeContributionsController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Knowledge Hub';
|
|
10
|
+
$page = 'knowledge-contributions';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/knowledge-contributions.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* KnowledgeController — Knowledge base management
|
|
4
|
+
*/
|
|
5
|
+
class KnowledgeController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Knowledge Bases';
|
|
10
|
+
$page = 'knowledge';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/knowledge.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* SkillConnectionsController — Manage skill integrations and connections
|
|
4
|
+
*/
|
|
5
|
+
class SkillConnectionsController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Skill Connections';
|
|
10
|
+
$page = 'skill-connections';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/skill-connections.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* WorkforceController — Agent workforce management and scheduling
|
|
4
|
+
*/
|
|
5
|
+
class WorkforceController
|
|
6
|
+
{
|
|
7
|
+
public function index()
|
|
8
|
+
{
|
|
9
|
+
$title = 'Workforce';
|
|
10
|
+
$page = 'workforce';
|
|
11
|
+
|
|
12
|
+
ob_start();
|
|
13
|
+
include __DIR__ . '/../views/workforce.php';
|
|
14
|
+
$content = ob_get_clean();
|
|
15
|
+
|
|
16
|
+
include __DIR__ . '/../views/layout.php';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -57,6 +57,14 @@ require_once __DIR__ . '/controllers/MessageController.php';
|
|
|
57
57
|
require_once __DIR__ . '/controllers/ComplianceController.php';
|
|
58
58
|
require_once __DIR__ . '/controllers/VaultController.php';
|
|
59
59
|
require_once __DIR__ . '/controllers/SkillController.php';
|
|
60
|
+
require_once __DIR__ . '/controllers/ActivityController.php';
|
|
61
|
+
require_once __DIR__ . '/controllers/ApprovalsController.php';
|
|
62
|
+
require_once __DIR__ . '/controllers/CommunitySkillsController.php';
|
|
63
|
+
require_once __DIR__ . '/controllers/DomainStatusController.php';
|
|
64
|
+
require_once __DIR__ . '/controllers/KnowledgeController.php';
|
|
65
|
+
require_once __DIR__ . '/controllers/KnowledgeContributionsController.php';
|
|
66
|
+
require_once __DIR__ . '/controllers/SkillConnectionsController.php';
|
|
67
|
+
require_once __DIR__ . '/controllers/WorkforceController.php';
|
|
60
68
|
|
|
61
69
|
// ── Routing ──────────────────────────────────────────────────────────────────
|
|
62
70
|
$method = $_SERVER['REQUEST_METHOD'];
|
|
@@ -311,6 +319,54 @@ if ($uri === '/compliance') {
|
|
|
311
319
|
exit;
|
|
312
320
|
}
|
|
313
321
|
|
|
322
|
+
// --- Activity ---
|
|
323
|
+
if ($uri === '/activity') {
|
|
324
|
+
(new ActivityController())->index();
|
|
325
|
+
exit;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
// --- Approvals ---
|
|
329
|
+
if ($uri === '/approvals') {
|
|
330
|
+
(new ApprovalsController())->index();
|
|
331
|
+
exit;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// --- Community Skills ---
|
|
335
|
+
if ($uri === '/community-skills') {
|
|
336
|
+
(new CommunitySkillsController())->index();
|
|
337
|
+
exit;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// --- Domain Status ---
|
|
341
|
+
if ($uri === '/domain-status') {
|
|
342
|
+
(new DomainStatusController())->index();
|
|
343
|
+
exit;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// --- Knowledge ---
|
|
347
|
+
if ($uri === '/knowledge') {
|
|
348
|
+
(new KnowledgeController())->index();
|
|
349
|
+
exit;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// --- Knowledge Contributions ---
|
|
353
|
+
if ($uri === '/knowledge-contributions') {
|
|
354
|
+
(new KnowledgeContributionsController())->index();
|
|
355
|
+
exit;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// --- Skill Connections ---
|
|
359
|
+
if ($uri === '/skill-connections') {
|
|
360
|
+
(new SkillConnectionsController())->index();
|
|
361
|
+
exit;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
// --- Workforce ---
|
|
365
|
+
if ($uri === '/workforce') {
|
|
366
|
+
(new WorkforceController())->index();
|
|
367
|
+
exit;
|
|
368
|
+
}
|
|
369
|
+
|
|
314
370
|
// ── 404 ──────────────────────────────────────────────────────────────────────
|
|
315
371
|
http_response_code(404);
|
|
316
372
|
$title = 'Not Found';
|