@agenticmail/enterprise 0.5.18 → 0.5.20
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/chunk-HEK7L3DT.js +48 -0
- package/dist/chunk-WPGECZMZ.js +898 -0
- package/dist/chunk-XIFIAOTA.js +1988 -0
- package/dist/cli-recover-S7CRIBNG.js +97 -0
- package/dist/cli-verify-YZFBHCXI.js +98 -0
- package/dist/cli.js +3 -3
- package/dist/dashboard/pages/activity.js +1 -1
- package/dist/dashboard/pages/agent-detail.js +1 -1
- package/dist/dashboard/pages/agents.js +1 -1
- package/dist/dashboard/pages/approvals.js +1 -1
- package/dist/dashboard/pages/community-skills.js +1 -1
- package/dist/dashboard/pages/compliance.js +1 -1
- package/dist/dashboard/pages/dashboard.js +1 -2
- package/dist/dashboard/pages/dlp.js +1 -1
- package/dist/dashboard/pages/guardrails.js +1 -1
- package/dist/dashboard/pages/journal.js +1 -1
- package/dist/dashboard/pages/knowledge-contributions.js +1 -1
- package/dist/dashboard/pages/knowledge.js +1 -1
- package/dist/dashboard/pages/messages.js +1 -1
- package/dist/dashboard/pages/settings.js +1 -1
- package/dist/dashboard/pages/skills.js +1 -1
- package/dist/dashboard/pages/vault.js +1 -1
- package/dist/dashboard/pages/workforce.js +1 -1
- package/dist/factory-BAW6FL23.js +9 -0
- package/dist/index.js +3 -3
- package/dist/postgres-3IWVZPKG.js +588 -0
- package/dist/server-POQLU7ZE.js +11 -0
- package/dist/setup-67L2SR63.js +20 -0
- package/package.json +1 -1
- package/src/dashboard/pages/activity.js +1 -1
- package/src/dashboard/pages/agent-detail.js +1 -1
- package/src/dashboard/pages/agents.js +1 -1
- package/src/dashboard/pages/approvals.js +1 -1
- package/src/dashboard/pages/community-skills.js +1 -1
- package/src/dashboard/pages/compliance.js +1 -1
- package/src/dashboard/pages/dashboard.js +1 -2
- package/src/dashboard/pages/dlp.js +1 -1
- package/src/dashboard/pages/guardrails.js +1 -1
- package/src/dashboard/pages/journal.js +1 -1
- package/src/dashboard/pages/knowledge-contributions.js +1 -1
- package/src/dashboard/pages/knowledge.js +1 -1
- package/src/dashboard/pages/messages.js +1 -1
- package/src/dashboard/pages/settings.js +1 -1
- package/src/dashboard/pages/skills.js +1 -1
- package/src/dashboard/pages/vault.js +1 -1
- package/src/dashboard/pages/workforce.js +1 -1
- package/src/db/postgres.ts +3 -2
- package/src/server.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, buildAgentEmailMap, resolveAgentEmail, buildAgentDataMap, renderAgentBadge
|
|
1
|
+
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, buildAgentEmailMap, resolveAgentEmail, buildAgentDataMap, renderAgentBadge, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
|
|
4
4
|
// ─── Constants ──────────────────────────────────────────
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, Fragment, useApp, engineCall, buildAgentEmailMap, buildAgentDataMap, resolveAgentEmail, renderAgentBadge
|
|
1
|
+
import { h, useState, useEffect, Fragment, useApp, engineCall, buildAgentEmailMap, buildAgentDataMap, resolveAgentEmail, renderAgentBadge, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
|
|
4
4
|
export function JournalPage() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall
|
|
1
|
+
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
import { Modal } from '../components/modal.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, Fragment, useApp, engineCall
|
|
1
|
+
import { h, useState, useEffect, Fragment, useApp, engineCall, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
import { Modal } from '../components/modal.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useRef, Fragment, useApp, engineCall, buildAgentEmailMap, resolveAgentEmail, buildAgentDataMap, renderAgentBadge
|
|
1
|
+
import { h, useState, useEffect, useRef, Fragment, useApp, engineCall, buildAgentEmailMap, resolveAgentEmail, buildAgentDataMap, renderAgentBadge, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
|
|
4
4
|
export function MessagesPage() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useCallback, Fragment, useApp, apiCall, engineCall, applyBrandColor, showConfirm, setOrgId
|
|
1
|
+
import { h, useState, useEffect, useCallback, Fragment, useApp, apiCall, engineCall, applyBrandColor, showConfirm, setOrgId, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
import { Modal } from '../components/modal.js';
|
|
4
4
|
import { TagInput } from '../components/tag-input.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall
|
|
1
|
+
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
import { Modal } from '../components/modal.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall
|
|
1
|
+
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
import { Modal } from '../components/modal.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, buildAgentEmailMap, resolveAgentEmail, buildAgentDataMap, renderAgentBadge
|
|
1
|
+
import { h, useState, useEffect, useCallback, Fragment, useApp, engineCall, buildAgentEmailMap, resolveAgentEmail, buildAgentDataMap, renderAgentBadge, getOrgId } from '../components/utils.js';
|
|
2
2
|
import { I } from '../components/icons.js';
|
|
3
3
|
|
|
4
4
|
export function WorkforcePage() {
|
package/src/db/postgres.ts
CHANGED
|
@@ -41,8 +41,9 @@ export class PostgresAdapter extends DatabaseAdapter {
|
|
|
41
41
|
user: config.username,
|
|
42
42
|
password: config.password,
|
|
43
43
|
ssl: config.ssl ? { rejectUnauthorized: false } : undefined,
|
|
44
|
-
max:
|
|
45
|
-
idleTimeoutMillis:
|
|
44
|
+
max: 5,
|
|
45
|
+
idleTimeoutMillis: 10000,
|
|
46
|
+
connectionTimeoutMillis: 10000,
|
|
46
47
|
});
|
|
47
48
|
// Test connection
|
|
48
49
|
const client = await this.pool.connect();
|
package/src/server.ts
CHANGED
|
@@ -220,6 +220,7 @@ export function createServer(config: ServerConfig): ServerInstance {
|
|
|
220
220
|
|
|
221
221
|
// Initialize engine DB on first request
|
|
222
222
|
if (!engineInitialized) {
|
|
223
|
+
engineInitialized = true; // Prevent repeated init attempts on failure
|
|
223
224
|
// Use the adapter's built-in engine DB interface (SQL adapters expose raw query methods)
|
|
224
225
|
const engineDbInterface = config.db.getEngineDB();
|
|
225
226
|
if (!engineDbInterface) {
|