@agenticmail/enterprise 0.5.478 → 0.5.480

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.
@@ -115,6 +115,7 @@ export function PolymarketPage() {
115
115
  const [buyExecuting, setBuyExecuting] = useState(false);
116
116
  const [buyConfirm, setBuyConfirm] = useState(false); // show purchase confirmation modal
117
117
  const [sellExecuting, setSellExecuting] = useState(null); // token_id being sold
118
+ const [redeemExecuting, setRedeemExecuting] = useState(null); // conditionId being redeemed
118
119
  // Transfer with 2FA/PIN
119
120
  const [showTransferModal, setShowTransferModal] = useState(false);
120
121
  const [transferUnlocked, setTransferUnlocked] = useState(false);
@@ -235,6 +236,46 @@ export function PolymarketPage() {
235
236
  setSellExecuting(null);
236
237
  };
237
238
 
239
+ var executeRedeem = async function(position) {
240
+ if (!position?.conditionId) { toast('No condition ID for redemption', 'error'); return; }
241
+ if (!confirm('Redeem winnings for "' + (position.market || 'this position') + '"?\n\nThis will claim your winning tokens on-chain.')) return;
242
+ setRedeemExecuting(position.conditionId);
243
+ try {
244
+ var resp = await apiCall('/polymarket/' + selectedAgent + '/wallet/redeem', {
245
+ method: 'POST', body: JSON.stringify({ condition_id: position.conditionId })
246
+ });
247
+ if (resp.error) { toast('Redeem failed: ' + resp.error, 'error'); }
248
+ else if (resp.ok) {
249
+ var msg = 'Redeemed ' + (resp.redeemed || 0) + ' position(s)';
250
+ if (resp.total_profit) msg += ' — Profit: $' + resp.total_profit.toFixed(2);
251
+ if (resp.failed > 0) msg += ' (' + resp.failed + ' failed)';
252
+ toast(msg, 'success');
253
+ loadAgentData(selectedAgent);
254
+ } else { toast('Redeem returned unexpected response', 'error'); }
255
+ } catch (e) { toast('Redeem failed: ' + e.message, 'error'); }
256
+ setRedeemExecuting(null);
257
+ };
258
+
259
+ var executeRedeemAll = async function() {
260
+ if (!confirm('Redeem ALL winning positions?\n\nThis will claim all redeemable tokens on-chain.')) return;
261
+ setRedeemExecuting('all');
262
+ try {
263
+ var resp = await apiCall('/polymarket/' + selectedAgent + '/wallet/redeem', {
264
+ method: 'POST', body: JSON.stringify({})
265
+ });
266
+ if (resp.error) { toast('Redeem failed: ' + resp.error, 'error'); }
267
+ else if (resp.ok) {
268
+ var msg = 'Redeemed ' + (resp.redeemed || 0) + ' position(s)';
269
+ if (resp.total_value) msg += ' — Value: $' + resp.total_value.toFixed(2);
270
+ if (resp.total_profit) msg += ', Profit: $' + resp.total_profit.toFixed(2);
271
+ if (resp.failed > 0) msg += ' (' + resp.failed + ' failed)';
272
+ toast(msg, resp.failed > 0 ? 'warning' : 'success');
273
+ loadAgentData(selectedAgent);
274
+ } else { toast('Nothing to redeem', 'info'); }
275
+ } catch (e) { toast('Redeem all failed: ' + e.message, 'error'); }
276
+ setRedeemExecuting(null);
277
+ };
278
+
238
279
  var renderSellModal = function() {
239
280
  if (!sellModal) return null;
240
281
  var p = sellModal;
@@ -1943,7 +1984,13 @@ export function PolymarketPage() {
1943
1984
  color: livePrices.totalPnl >= 0 ? '#10b981' : '#ef4444'
1944
1985
  } }, 'Total P&L: ' + (livePrices.totalPnl >= 0 ? '+' : '') + '$' + livePrices.totalPnl.toFixed(2))
1945
1986
  ),
1946
- h('div', { style: { display: 'flex', justifyContent: 'flex-end', marginBottom: 8 } },
1987
+ h('div', { style: { display: 'flex', justifyContent: 'flex-end', gap: 8, marginBottom: 8 } },
1988
+ livePrices.positions.some(function(p) { return p.redeemable; })
1989
+ ? h('button', { className: 'btn btn-sm', disabled: redeemExecuting === 'all',
1990
+ style: { background: 'rgba(245,158,11,0.15)', border: '1px solid rgba(245,158,11,0.3)', color: '#f59e0b', fontWeight: 600, cursor: redeemExecuting === 'all' ? 'not-allowed' : 'pointer' },
1991
+ onClick: executeRedeemAll
1992
+ }, redeemExecuting === 'all' ? 'Claiming All...' : I('award'), ' Redeem All Winnings')
1993
+ : null,
1947
1994
  h('button', { className: 'btn btn-sm btn-primary', onClick: function() { setShowBuyModal(true); setBuySearch(''); setBuyResults([]); setBuySelected(null); } }, I('plus'), ' Buy Position')
1948
1995
  ),
1949
1996
  renderFilteredTable('livePositions', livePrices.positions, '',
@@ -2002,9 +2049,10 @@ export function PolymarketPage() {
2002
2049
  ),
2003
2050
  h('td', { key: 'act' },
2004
2051
  p.redeemable
2005
- ? h('button', { className: 'btn btn-sm', style: { minWidth: 50, fontSize: 11, background: 'rgba(245,158,11,0.15)', border: '1px solid rgba(245,158,11,0.3)', color: '#f59e0b', fontWeight: 600, cursor: 'pointer' },
2006
- onClick: function(e) { e.stopPropagation(); toast('Redemption triggered via agent tools. Check agent logs.', 'info'); }
2007
- }, 'Redeem')
2052
+ ? h('button', { className: 'btn btn-sm', disabled: redeemExecuting === p.conditionId || redeemExecuting === 'all',
2053
+ style: { minWidth: 50, fontSize: 11, background: 'rgba(245,158,11,0.15)', border: '1px solid rgba(245,158,11,0.3)', color: '#f59e0b', fontWeight: 600, cursor: (redeemExecuting === p.conditionId || redeemExecuting === 'all') ? 'not-allowed' : 'pointer' },
2054
+ onClick: function(e) { e.stopPropagation(); executeRedeem(p); }
2055
+ }, redeemExecuting === p.conditionId ? 'Claiming...' : 'Redeem')
2008
2056
  : h('button', { className: 'btn btn-sm btn-danger', disabled: sellExecuting === p.token_id,
2009
2057
  style: { minWidth: 50, fontSize: 11 },
2010
2058
  onClick: function(e) { e.stopPropagation(); openSellModal(p); }
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  provision,
9
9
  runSetupWizard
10
- } from "./chunk-XCY6EZPH.js";
10
+ } from "./chunk-VQF6OIP6.js";
11
11
  import {
12
12
  AgenticMailManager,
13
13
  GoogleEmailProvider,
@@ -28,7 +28,7 @@ import {
28
28
  executeTool,
29
29
  runAgentLoop,
30
30
  toolsToDefinitions
31
- } from "./chunk-TQWFWPVQ.js";
31
+ } from "./chunk-2Q4GXFCF.js";
32
32
  import "./chunk-CFR5OSMI.js";
33
33
  import {
34
34
  ValidationError,
@@ -43,7 +43,7 @@ import {
43
43
  requireRole,
44
44
  securityHeaders,
45
45
  validate
46
- } from "./chunk-FHKJDQKA.js";
46
+ } from "./chunk-BLAX7KUD.js";
47
47
  import "./chunk-DJBCRQTD.js";
48
48
  import {
49
49
  PROVIDER_REGISTRY,
@@ -117,10 +117,10 @@ import {
117
117
  init_agent_config,
118
118
  init_deployer
119
119
  } from "./chunk-PSZU6FMQ.js";
120
- import "./chunk-OHJMYCYP.js";
120
+ import "./chunk-JVH5BSZA.js";
121
121
  import "./chunk-PLIE3LOT.js";
122
122
  import "./chunk-I5IGHBXW.js";
123
- import "./chunk-TULB2JND.js";
123
+ import "./chunk-IZXUS45H.js";
124
124
  import {
125
125
  SecureVault,
126
126
  init_vault
@@ -128,7 +128,7 @@ import {
128
128
  import "./chunk-3W5NAKFC.js";
129
129
  import "./chunk-LMEGAXDR.js";
130
130
  import "./chunk-CVFIM72Q.js";
131
- import "./chunk-UK7ACQHN.js";
131
+ import "./chunk-XMWQWBNU.js";
132
132
  import {
133
133
  CircuitBreaker,
134
134
  CircuitOpenError,
@@ -0,0 +1,17 @@
1
+ import {
2
+ createPolymarketTools,
3
+ executeOrder
4
+ } from "./chunk-JVH5BSZA.js";
5
+ import "./chunk-PLIE3LOT.js";
6
+ import "./chunk-I5IGHBXW.js";
7
+ import "./chunk-IZXUS45H.js";
8
+ import "./chunk-WUAWWKTN.js";
9
+ import "./chunk-3W5NAKFC.js";
10
+ import "./chunk-LMEGAXDR.js";
11
+ import "./chunk-CVFIM72Q.js";
12
+ import "./chunk-XMWQWBNU.js";
13
+ import "./chunk-KFQGP6VL.js";
14
+ export {
15
+ createPolymarketTools,
16
+ executeOrder
17
+ };
@@ -0,0 +1,108 @@
1
+ import {
2
+ autoConnectProxy,
3
+ cancelBracketSibling,
4
+ checkAlerts,
5
+ createBracketAlerts,
6
+ deleteAlert,
7
+ deleteAllAlerts,
8
+ deleteAutoApproveRule,
9
+ deployProxyToVPS,
10
+ ensureSDK,
11
+ generateWallet,
12
+ getAlerts,
13
+ getAutoApproveRules,
14
+ getBracketConfig,
15
+ getCalibration,
16
+ getClobClient,
17
+ getClobUrl,
18
+ getDailyCounter,
19
+ getPaperPositions,
20
+ getPendingTrades,
21
+ getProxyState,
22
+ getResolvedPredictions,
23
+ getSocksAgent,
24
+ getStrategyPerformance,
25
+ getUnresolvedPredictions,
26
+ importSDK,
27
+ incrementDailyCounter,
28
+ initLearningDB,
29
+ initPolymarketDB,
30
+ isPostgresDB,
31
+ isProxyEnabled,
32
+ loadConfig,
33
+ loadProxyConfig,
34
+ loadWalletCredentials,
35
+ logTrade,
36
+ markLessonsExtracted,
37
+ pauseTrading,
38
+ recallLessons,
39
+ recordPrediction,
40
+ resolvePendingTrade,
41
+ resolvePrediction,
42
+ resumeTrading,
43
+ saveAlert,
44
+ saveAutoApproveRule,
45
+ saveConfig,
46
+ savePaperPosition,
47
+ savePendingTrade,
48
+ saveProxyConfig,
49
+ saveWalletCredentials,
50
+ startProxy,
51
+ stopProxy,
52
+ storeLesson
53
+ } from "./chunk-IZXUS45H.js";
54
+ import "./chunk-WUAWWKTN.js";
55
+ import "./chunk-KFQGP6VL.js";
56
+ export {
57
+ autoConnectProxy,
58
+ cancelBracketSibling,
59
+ checkAlerts,
60
+ createBracketAlerts,
61
+ deleteAlert,
62
+ deleteAllAlerts,
63
+ deleteAutoApproveRule,
64
+ deployProxyToVPS,
65
+ ensureSDK,
66
+ generateWallet,
67
+ getAlerts,
68
+ getAutoApproveRules,
69
+ getBracketConfig,
70
+ getCalibration,
71
+ getClobClient,
72
+ getClobUrl,
73
+ getDailyCounter,
74
+ getPaperPositions,
75
+ getPendingTrades,
76
+ getProxyState,
77
+ getResolvedPredictions,
78
+ getSocksAgent,
79
+ getStrategyPerformance,
80
+ getUnresolvedPredictions,
81
+ importSDK,
82
+ incrementDailyCounter,
83
+ initLearningDB,
84
+ initPolymarketDB,
85
+ isPostgresDB,
86
+ isProxyEnabled,
87
+ loadConfig,
88
+ loadProxyConfig,
89
+ loadWalletCredentials,
90
+ logTrade,
91
+ markLessonsExtracted,
92
+ pauseTrading,
93
+ recallLessons,
94
+ recordPrediction,
95
+ resolvePendingTrade,
96
+ resolvePrediction,
97
+ resumeTrading,
98
+ saveAlert,
99
+ saveAutoApproveRule,
100
+ saveConfig,
101
+ savePaperPosition,
102
+ savePendingTrade,
103
+ saveProxyConfig,
104
+ saveWalletCredentials,
105
+ startProxy,
106
+ stopProxy,
107
+ storeLesson
108
+ };
@@ -0,0 +1,23 @@
1
+ import {
2
+ analyzeWithAI,
3
+ controlWatcherEngine,
4
+ createWatcherTools,
5
+ getAIConfig,
6
+ getWatcherEngineStatus,
7
+ initWatcherTables,
8
+ setWatcherRuntime,
9
+ startWatcherEngine,
10
+ stopWatcherEngine
11
+ } from "./chunk-XMWQWBNU.js";
12
+ import "./chunk-KFQGP6VL.js";
13
+ export {
14
+ analyzeWithAI,
15
+ controlWatcherEngine,
16
+ createWatcherTools,
17
+ getAIConfig,
18
+ getWatcherEngineStatus,
19
+ initWatcherTables,
20
+ setWatcherRuntime,
21
+ startWatcherEngine,
22
+ stopWatcherEngine
23
+ };
@@ -0,0 +1,50 @@
1
+ import {
2
+ AgentRuntime,
3
+ EmailChannel,
4
+ FollowUpScheduler,
5
+ SessionManager,
6
+ SubAgentManager,
7
+ ToolRegistry,
8
+ ageStaleMessages,
9
+ callLLM,
10
+ createAgentRuntime,
11
+ createNoopHooks,
12
+ createRuntimeHooks,
13
+ estimateMessageTokens,
14
+ estimateTokens,
15
+ executeTool,
16
+ runAgentLoop,
17
+ toolsToDefinitions,
18
+ truncateToolResults
19
+ } from "./chunk-2Q4GXFCF.js";
20
+ import "./chunk-CFR5OSMI.js";
21
+ import {
22
+ PROVIDER_REGISTRY,
23
+ listAllProviders,
24
+ resolveApiKeyForProvider,
25
+ resolveProvider
26
+ } from "./chunk-UF3ZJMJO.js";
27
+ import "./chunk-KFQGP6VL.js";
28
+ export {
29
+ AgentRuntime,
30
+ EmailChannel,
31
+ FollowUpScheduler,
32
+ PROVIDER_REGISTRY,
33
+ SessionManager,
34
+ SubAgentManager,
35
+ ToolRegistry,
36
+ ageStaleMessages,
37
+ callLLM,
38
+ createAgentRuntime,
39
+ createNoopHooks,
40
+ createRuntimeHooks,
41
+ estimateMessageTokens,
42
+ estimateTokens,
43
+ executeTool,
44
+ listAllProviders,
45
+ resolveApiKeyForProvider,
46
+ resolveProvider,
47
+ runAgentLoop,
48
+ toolsToDefinitions,
49
+ truncateToolResults
50
+ };
@@ -0,0 +1,36 @@
1
+ import {
2
+ createServer
3
+ } from "./chunk-WDKM5ELH.js";
4
+ import "./chunk-DJBCRQTD.js";
5
+ import "./chunk-UF3ZJMJO.js";
6
+ import "./chunk-DHPOGY7C.js";
7
+ import "./chunk-3UAFHUEC.js";
8
+ import "./chunk-Z7NVD3OQ.js";
9
+ import "./chunk-VSBC4SWO.js";
10
+ import "./chunk-AF3WSNVX.js";
11
+ import "./chunk-74ZCQKYU.js";
12
+ import "./chunk-ZNLABJCS.js";
13
+ import "./chunk-FQWJMPKW.js";
14
+ import "./chunk-WYDVMFGJ.js";
15
+ import "./chunk-IHPLR7EK.js";
16
+ import "./chunk-PSZU6FMQ.js";
17
+ import "./chunk-JVH5BSZA.js";
18
+ import "./chunk-PLIE3LOT.js";
19
+ import "./chunk-I5IGHBXW.js";
20
+ import "./chunk-IZXUS45H.js";
21
+ import "./chunk-WUAWWKTN.js";
22
+ import "./chunk-3W5NAKFC.js";
23
+ import "./chunk-LMEGAXDR.js";
24
+ import "./chunk-CVFIM72Q.js";
25
+ import "./chunk-XMWQWBNU.js";
26
+ import "./chunk-YDD5TC5Q.js";
27
+ import "./chunk-37ABTUFU.js";
28
+ import "./chunk-NU657BBQ.js";
29
+ import "./chunk-PGAU3W3M.js";
30
+ import "./chunk-FLQ5FLHW.js";
31
+ import "./chunk-YJ6RNSFH.js";
32
+ import "./chunk-22U7TZPN.js";
33
+ import "./chunk-KFQGP6VL.js";
34
+ export {
35
+ createServer
36
+ };
@@ -0,0 +1,36 @@
1
+ import {
2
+ createServer
3
+ } from "./chunk-BLAX7KUD.js";
4
+ import "./chunk-DJBCRQTD.js";
5
+ import "./chunk-UF3ZJMJO.js";
6
+ import "./chunk-DHPOGY7C.js";
7
+ import "./chunk-3UAFHUEC.js";
8
+ import "./chunk-Z7NVD3OQ.js";
9
+ import "./chunk-VSBC4SWO.js";
10
+ import "./chunk-AF3WSNVX.js";
11
+ import "./chunk-74ZCQKYU.js";
12
+ import "./chunk-ZNLABJCS.js";
13
+ import "./chunk-FQWJMPKW.js";
14
+ import "./chunk-WYDVMFGJ.js";
15
+ import "./chunk-IHPLR7EK.js";
16
+ import "./chunk-PSZU6FMQ.js";
17
+ import "./chunk-JVH5BSZA.js";
18
+ import "./chunk-PLIE3LOT.js";
19
+ import "./chunk-I5IGHBXW.js";
20
+ import "./chunk-IZXUS45H.js";
21
+ import "./chunk-WUAWWKTN.js";
22
+ import "./chunk-3W5NAKFC.js";
23
+ import "./chunk-LMEGAXDR.js";
24
+ import "./chunk-CVFIM72Q.js";
25
+ import "./chunk-XMWQWBNU.js";
26
+ import "./chunk-YDD5TC5Q.js";
27
+ import "./chunk-37ABTUFU.js";
28
+ import "./chunk-NU657BBQ.js";
29
+ import "./chunk-PGAU3W3M.js";
30
+ import "./chunk-FLQ5FLHW.js";
31
+ import "./chunk-YJ6RNSFH.js";
32
+ import "./chunk-22U7TZPN.js";
33
+ import "./chunk-KFQGP6VL.js";
34
+ export {
35
+ createServer
36
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ promptCompanyInfo,
3
+ promptDatabase,
4
+ promptDeployment,
5
+ promptDomain,
6
+ promptRegistration,
7
+ provision,
8
+ runSetupWizard
9
+ } from "./chunk-VQF6OIP6.js";
10
+ import "./chunk-HPIK224M.js";
11
+ import "./chunk-KFQGP6VL.js";
12
+ export {
13
+ promptCompanyInfo,
14
+ promptDatabase,
15
+ promptDeployment,
16
+ promptDomain,
17
+ promptRegistration,
18
+ provision,
19
+ runSetupWizard
20
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ promptCompanyInfo,
3
+ promptDatabase,
4
+ promptDeployment,
5
+ promptDomain,
6
+ promptRegistration,
7
+ provision,
8
+ runSetupWizard
9
+ } from "./chunk-EKQ2524V.js";
10
+ import "./chunk-HPIK224M.js";
11
+ import "./chunk-KFQGP6VL.js";
12
+ export {
13
+ promptCompanyInfo,
14
+ promptDatabase,
15
+ promptDeployment,
16
+ promptDomain,
17
+ promptRegistration,
18
+ provision,
19
+ runSetupWizard
20
+ };
@@ -110,3 +110,63 @@
110
110
  2026-03-14 02:26:22: 2026-03-14T01:26:22Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
111
111
  2026-03-14 02:26:22: 2026-03-14T01:26:22Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=1 event=1 ingressRule=0 originService=http://localhost:3100
112
112
  2026-03-14 02:26:22: 2026-03-14T01:26:22Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=1 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.200.33 type=http
113
+ 2026-03-14 02:35:19: 2026-03-14T01:35:19Z ERR error="stream 40777 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
114
+ 2026-03-14 02:35:19: 2026-03-14T01:35:19Z ERR Request failed error="stream 40777 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
115
+ 2026-03-14 02:35:19: 2026-03-14T01:35:19Z ERR error="stream 42289 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
116
+ 2026-03-14 02:35:19: 2026-03-14T01:35:19Z ERR Request failed error="stream 42289 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.67 type=http
117
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
118
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
119
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
120
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
121
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
122
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
123
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
124
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
125
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
126
+ 2026-03-14 02:35:57: 2026-03-14T01:35:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
127
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
128
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
129
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
130
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
131
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
132
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/archive event=0 ip=198.41.192.167 type=http
133
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
134
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.67 type=http
135
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
136
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
137
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.200.23 type=http
138
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
139
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.67 type=http
140
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.200.23 type=http
141
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
142
+ 2026-03-14 02:35:59: 2026-03-14T01:35:59Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
143
+ 2026-03-14 02:47:25: 2026-03-14T01:47:25Z ERR error="stream 44961 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
144
+ 2026-03-14 02:47:25: 2026-03-14T01:47:25Z ERR Request failed error="stream 44961 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
145
+ 2026-03-14 02:47:25: 2026-03-14T01:47:25Z ERR error="stream 44965 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
146
+ 2026-03-14 02:47:25: 2026-03-14T01:47:25Z ERR Request failed error="stream 44965 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
147
+ 2026-03-14 02:52:53: 2026-03-14T01:52:53Z ERR error="stream 46193 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
148
+ 2026-03-14 02:52:53: 2026-03-14T01:52:53Z ERR error="stream 46197 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
149
+ 2026-03-14 02:52:53: 2026-03-14T01:52:53Z ERR Request failed error="stream 46193 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
150
+ 2026-03-14 02:52:53: 2026-03-14T01:52:53Z ERR Request failed error="stream 46197 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
151
+ 2026-03-14 02:53:09: 2026-03-14T01:53:09Z ERR error="stream 48101 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
152
+ 2026-03-14 02:53:09: 2026-03-14T01:53:09Z ERR error="stream 48089 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
153
+ 2026-03-14 02:53:09: 2026-03-14T01:53:09Z ERR Request failed error="stream 48101 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
154
+ 2026-03-14 02:53:09: 2026-03-14T01:53:09Z ERR Request failed error="stream 48089 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
155
+ 2026-03-14 02:53:17: 2026-03-14T01:53:17Z ERR error="stream 48285 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
156
+ 2026-03-14 02:53:17: 2026-03-14T01:53:17Z ERR Request failed error="stream 48285 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/engine/task-pipeline/stream event=0 ip=198.41.192.167 type=http
157
+ 2026-03-14 02:54:22: 2026-03-14T01:54:22Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp [::1]:55912->[::1]:3100: read: connection reset by peer" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
158
+ 2026-03-14 02:54:22: 2026-03-14T01:54:22Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp [::1]:55912->[::1]:3100: read: connection reset by peer" connIndex=2 dest=https://enterprise.agenticmail.io/api/providers event=0 ip=198.41.192.167 type=http
159
+ 2026-03-14 02:54:22: 2026-03-14T01:54:22Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp [::1]:55911->[::1]:3100: read: connection reset by peer" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
160
+ 2026-03-14 02:54:22: 2026-03-14T01:54:22Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp [::1]:55911->[::1]:3100: read: connection reset by peer" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/dashboard event=0 ip=198.41.192.167 type=http
161
+ 2026-03-14 02:54:22: 2026-03-14T01:54:22Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp [::1]:55935->[::1]:3100: read: connection reset by peer" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
162
+ 2026-03-14 02:54:22: 2026-03-14T01:54:22Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp [::1]:55935->[::1]:3100: read: connection reset by peer" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
163
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
164
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
165
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
166
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
167
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
168
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.167 type=http
169
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
170
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/price-stream event=0 ip=198.41.192.167 type=http
171
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
172
+ 2026-03-14 02:54:24: 2026-03-14T01:54:24Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=2 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.167 type=http
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.478",
3
+ "version": "0.5.480",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {