@agenticmail/enterprise 0.5.486 → 0.5.487

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.
@@ -211,6 +211,79 @@ export function PolymarketPage() {
211
211
  // ─── Manual Trading Functions ───
212
212
  const [sellModal, setSellModal] = useState(null); // position being sold
213
213
  const [sellShares, setSellShares] = useState('');
214
+ const [targetModal, setTargetModal] = useState(null); // { value: '10', saving: false }
215
+ const [targetModalValue, setTargetModalValue] = useState('');
216
+
217
+ var openTargetModal = function() {
218
+ var currentTarget = dailyScorecard?.daily_target || 10;
219
+ setTargetModalValue(String(currentTarget));
220
+ setTargetModal({ saving: false });
221
+ };
222
+
223
+ var saveTarget = async function() {
224
+ var val = parseFloat(targetModalValue);
225
+ if (isNaN(val) || val <= 0) { toast('Enter a valid target amount', 'error'); return; }
226
+ setTargetModal({ saving: true });
227
+ try {
228
+ var existingGoal = goals.find(function(g) { return g.type === 'daily_pnl_usd' && g.enabled; });
229
+ if (existingGoal) {
230
+ await apiCall('/polymarket/' + selectedAgent + '/goals/' + existingGoal.id, { method: 'PUT', body: JSON.stringify({ target_value: val }) });
231
+ } else {
232
+ await apiCall('/polymarket/' + selectedAgent + '/goals', { method: 'POST', body: JSON.stringify({ name: 'Daily P&L Target', type: 'daily_pnl_usd', target_value: val, notify_on_met: true }) });
233
+ }
234
+ toast('Daily target set to $' + val, 'success');
235
+ setTargetModal(null);
236
+ loadAgentData(selectedAgent);
237
+ } catch (e) {
238
+ toast(e.message || 'Failed to save target', 'error');
239
+ setTargetModal({ saving: false });
240
+ }
241
+ };
242
+
243
+ var renderTargetModal = function() {
244
+ if (!targetModal) return null;
245
+ return h('div', { className: 'modal-overlay', onClick: function() { if (!targetModal.saving) setTargetModal(null); } },
246
+ h('div', { className: 'modal', onClick: function(e) { e.stopPropagation(); }, style: { width: 420, padding: 0, borderRadius: 14 } },
247
+ h('div', { style: { padding: '20px 24px 16px', borderBottom: '1px solid var(--border)' } },
248
+ h('div', { style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
249
+ h('div', { style: { display: 'flex', alignItems: 'center', gap: 10 } },
250
+ h('div', { style: { width: 36, height: 36, borderRadius: 8, background: 'linear-gradient(135deg, #10b981, #059669)', display: 'flex', alignItems: 'center', justifyContent: 'center', color: '#fff', fontSize: 16 } }, I('trending-up')),
251
+ h('div', null,
252
+ h('div', { style: { fontWeight: 700, fontSize: 16 } }, 'Set Daily P&L Target'),
253
+ h('div', { style: { fontSize: 12, color: 'var(--text-muted)', marginTop: 2 } }, 'Set your daily profit goal')
254
+ )
255
+ ),
256
+ h('button', { style: { background: 'none', border: 'none', fontSize: 20, cursor: 'pointer', color: 'var(--text-muted)', padding: '4px 8px', borderRadius: 6 }, onClick: function() { setTargetModal(null); } }, '\u00d7')
257
+ )
258
+ ),
259
+ h('div', { style: { padding: '20px 24px 24px' } },
260
+ h('label', { style: { fontSize: 13, fontWeight: 600, marginBottom: 8, display: 'block' } }, 'Target amount (USD)'),
261
+ h('div', { style: { display: 'flex', alignItems: 'center', gap: 8, marginBottom: 16 } },
262
+ h('span', { style: { fontSize: 20, fontWeight: 700, color: 'var(--text-muted)' } }, '$'),
263
+ h('input', {
264
+ type: 'number', min: '0.01', step: '0.01',
265
+ value: targetModalValue,
266
+ onChange: function(e) { setTargetModalValue(e.target.value); },
267
+ onKeyDown: function(e) { if (e.key === 'Enter') saveTarget(); },
268
+ autoFocus: true,
269
+ style: { flex: 1, padding: '10px 14px', fontSize: 18, fontWeight: 600, border: '2px solid var(--border)', borderRadius: 8, background: 'var(--bg-input)', color: 'var(--text-primary)', outline: 'none' },
270
+ placeholder: '10.00'
271
+ })
272
+ ),
273
+ h('div', { style: { fontSize: 12, color: 'var(--text-muted)', marginBottom: 16, lineHeight: 1.5 } },
274
+ 'The agent will track progress toward this target throughout the day. ',
275
+ 'Status updates: TARGET_HIT (100%+), AHEAD (70%+), ON_TRACK, BEHIND (<30%).'
276
+ ),
277
+ h('div', { style: { display: 'flex', gap: 8, justifyContent: 'flex-end' } },
278
+ h('button', { className: 'btn btn-secondary', onClick: function() { setTargetModal(null); }, disabled: targetModal.saving }, 'Cancel'),
279
+ h('button', { className: 'btn btn-success', onClick: saveTarget, disabled: targetModal.saving, style: { minWidth: 100 } },
280
+ targetModal.saving ? 'Saving...' : 'Set Target'
281
+ )
282
+ )
283
+ )
284
+ )
285
+ );
286
+ };
214
287
 
215
288
  var openSellModal = function(position) {
216
289
  setSellModal(position);
@@ -1520,6 +1593,7 @@ export function PolymarketPage() {
1520
1593
  renderDetailModal(),
1521
1594
  renderBuyModal(),
1522
1595
  renderSellModal(),
1596
+ renderTargetModal(),
1523
1597
  renderTooltip(),
1524
1598
  // Purchase confirmation modal
1525
1599
  buyConfirm && buySelected && (function() {
@@ -1736,24 +1810,7 @@ export function PolymarketPage() {
1736
1810
  h('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12 } },
1737
1811
  h('h3', { style: { margin: 0, fontSize: 15, fontWeight: 600 } }, 'Daily Scorecard'),
1738
1812
  h('div', { style: { display: 'flex', alignItems: 'center', gap: 8 } },
1739
- h('button', { className: 'btn btn-sm btn-secondary', style: { fontSize: 11, padding: '2px 8px' }, onClick: function() {
1740
- var currentTarget = dailyScorecard.daily_target || 10;
1741
- var newTarget = prompt('Set daily P&L target ($):', currentTarget);
1742
- if (newTarget === null) return;
1743
- var val = parseFloat(newTarget);
1744
- if (isNaN(val) || val <= 0) { toast('Invalid target value', 'error'); return; }
1745
- // Find existing daily_pnl_usd goal or create one
1746
- var existingGoal = goals.find(function(g) { return g.type === 'daily_pnl_usd' && g.enabled; });
1747
- if (existingGoal) {
1748
- apiCall('/polymarket/' + selectedAgent + '/goals/' + existingGoal.id, { method: 'PUT', body: JSON.stringify(Object.assign({}, existingGoal, { target_value: val })) })
1749
- .then(function() { toast('Daily target updated to $' + val, 'success'); loadAgentData(selectedAgent); })
1750
- .catch(function(e) { toast(e.message, 'error'); });
1751
- } else {
1752
- apiCall('/polymarket/' + selectedAgent + '/goals', { method: 'POST', body: JSON.stringify({ name: 'Daily P&L Target', type: 'daily_pnl_usd', target_value: val, notify_on_met: true }) })
1753
- .then(function() { toast('Daily target set to $' + val, 'success'); loadAgentData(selectedAgent); })
1754
- .catch(function(e) { toast(e.message, 'error'); });
1755
- }
1756
- } }, I('journal'), ' Set Target'),
1813
+ h('button', { className: 'btn btn-sm btn-secondary', style: { fontSize: 11, padding: '2px 8px' }, onClick: openTargetModal }, I('journal'), ' Set Target'),
1757
1814
  h('span', { className: 'badge ' + (dailyScorecard.status === 'TARGET_HIT' ? 'badge-success' : dailyScorecard.status === 'AHEAD' ? 'badge-success' : dailyScorecard.status === 'ON_TRACK' ? 'badge-secondary' : dailyScorecard.status === 'STOP_TRADING' ? 'badge-danger' : 'badge-warning') }, dailyScorecard.status?.replace(/_/g, ' '))
1758
1815
  )
1759
1816
  ),
@@ -1761,23 +1818,7 @@ export function PolymarketPage() {
1761
1818
  h('div', { style: { marginBottom: 12 } },
1762
1819
  h('div', { style: { display: 'flex', justifyContent: 'space-between', fontSize: 12, marginBottom: 4, color: 'var(--text-muted)' } },
1763
1820
  h('span', null, 'P&L: $' + (dailyScorecard.total_pnl || 0).toFixed(2)),
1764
- h('span', { style: { cursor: 'pointer', textDecoration: 'underline dotted' }, title: 'Click to change daily target', onClick: function() {
1765
- var currentTarget = dailyScorecard.daily_target || 10;
1766
- var newTarget = prompt('Set daily P&L target ($):', currentTarget);
1767
- if (newTarget === null) return;
1768
- var val = parseFloat(newTarget);
1769
- if (isNaN(val) || val <= 0) { toast('Invalid target value', 'error'); return; }
1770
- var existingGoal = goals.find(function(g) { return g.type === 'daily_pnl_usd' && g.enabled; });
1771
- if (existingGoal) {
1772
- apiCall('/polymarket/' + selectedAgent + '/goals/' + existingGoal.id, { method: 'PUT', body: JSON.stringify(Object.assign({}, existingGoal, { target_value: val })) })
1773
- .then(function() { toast('Daily target updated to $' + val, 'success'); loadAgentData(selectedAgent); })
1774
- .catch(function(e) { toast(e.message, 'error'); });
1775
- } else {
1776
- apiCall('/polymarket/' + selectedAgent + '/goals', { method: 'POST', body: JSON.stringify({ name: 'Daily P&L Target', type: 'daily_pnl_usd', target_value: val, notify_on_met: true }) })
1777
- .then(function() { toast('Daily target set to $' + val, 'success'); loadAgentData(selectedAgent); })
1778
- .catch(function(e) { toast(e.message, 'error'); });
1779
- }
1780
- } }, 'Target: $' + (dailyScorecard.daily_target || 0))
1821
+ h('span', { style: { cursor: 'pointer', textDecoration: 'underline dotted' }, title: 'Click to change daily target', onClick: openTargetModal }, 'Target: $' + (dailyScorecard.daily_target || 0))
1781
1822
  ),
1782
1823
  h('div', { style: { height: 8, background: 'var(--bg-secondary)', borderRadius: 4, overflow: 'hidden' } },
1783
1824
  h('div', { style: { height: '100%', width: Math.min(100, Math.max(0, dailyScorecard.target_progress_pct || 0)) + '%', background: (dailyScorecard.total_pnl || 0) >= 0 ? '#22c55e' : '#ef4444', borderRadius: 4, transition: 'width 0.3s' } })
@@ -372,3 +372,77 @@
372
372
  2026-03-14 03:54:00: 2026-03-14T02:54:00Z 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
373
373
  2026-03-14 03:54:00: 2026-03-14T02:54:00Z 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
374
374
  2026-03-14 03:54:00: 2026-03-14T02:54:00Z 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
375
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
376
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z 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.37 type=http
377
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
378
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
379
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z 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
380
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z 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.37 type=http
381
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
382
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
383
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
384
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z 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
385
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z 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
386
+ 2026-03-14 03:54:01: 2026-03-14T02:54:01Z 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
387
+ 2026-03-14 03:55:45: 2026-03-14T02:55:45Z ERR error="stream 3245 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
388
+ 2026-03-14 03:55:45: 2026-03-14T02:55:45Z ERR Request failed error="stream 3245 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
389
+ 2026-03-14 03:55:48: 2026-03-14T02:55:48Z ERR error="stream 3241 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
390
+ 2026-03-14 03:55:48: 2026-03-14T02:55:48Z ERR Request failed error="stream 3241 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
391
+ 2026-03-14 03:57:34: 2026-03-14T02:57:34Z ERR error="stream 3993 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
392
+ 2026-03-14 03:57:34: 2026-03-14T02:57:34Z ERR Request failed error="stream 3993 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
393
+ 2026-03-14 03:57:39: 2026-03-14T02:57:39Z ERR error="stream 3985 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
394
+ 2026-03-14 03:57:39: 2026-03-14T02:57:39Z ERR Request failed error="stream 3985 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
395
+ 2026-03-14 03:58:30: 2026-03-14T02:58:30Z ERR error="stream 4629 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
396
+ 2026-03-14 03:58:30: 2026-03-14T02:58:30Z ERR Request failed error="stream 4629 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
397
+ 2026-03-14 03:58:36: 2026-03-14T02:58:36Z ERR error="stream 4625 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
398
+ 2026-03-14 03:58:36: 2026-03-14T02:58:36Z ERR Request failed error="stream 4625 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
399
+ 2026-03-14 03:59:17: 2026-03-14T02:59:17Z 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]:62162->[::1]:3100: read: connection reset by peer" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
400
+ 2026-03-14 03:59:17: 2026-03-14T02:59:17Z 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]:62161->[::1]:3100: read: connection reset by peer" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
401
+ 2026-03-14 03:59:17: 2026-03-14T02:59:17Z 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]:62162->[::1]:3100: read: connection reset by peer" connIndex=0 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.37 type=http
402
+ 2026-03-14 03:59:17: 2026-03-14T02:59:17Z 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]:62161->[::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
403
+ 2026-03-14 03:59:17: 2026-03-14T02:59:17Z ERR error="stream 4881 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
404
+ 2026-03-14 03:59:17: 2026-03-14T02:59:17Z ERR Request failed error="stream 4881 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream event=0 ip=198.41.192.167 type=http
405
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
406
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
407
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
408
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
409
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
410
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
411
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
412
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
413
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 event=1 ingressRule=0 originService=http://localhost:3100
414
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
415
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.37 type=http
416
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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.37 type=http
417
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
418
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
419
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 event=1 ingressRule=0 originService=http://localhost:3100
420
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 dest=https://enterprise.agenticmail.io/api/polymarket/engine/status event=0 ip=198.41.192.37 type=http
421
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
422
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
423
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
424
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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.37 type=http
425
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
426
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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/transfers event=0 ip=198.41.192.167 type=http
427
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
428
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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/security-status event=0 ip=198.41.192.167 type=http
429
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
430
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
431
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
432
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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/whitelist event=0 ip=198.41.192.167 type=http
433
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
434
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
435
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 event=1 ingressRule=0 originService=http://localhost:3100
436
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/archive event=0 ip=198.41.192.37 type=http
437
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 event=1 ingressRule=0 originService=http://localhost:3100
438
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/wallet/balance event=0 ip=198.41.192.37 type=http
439
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 event=1 ingressRule=0 originService=http://localhost:3100
440
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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=0 dest=https://enterprise.agenticmail.io/api/polymarket/67ba24f1-c8af-40b4-9df5-c05b81fc1e7a/transfers event=0 ip=198.41.192.37 type=http
441
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
442
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
443
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
444
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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/security-status event=0 ip=198.41.192.167 type=http
445
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
446
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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/whitelist event=0 ip=198.41.192.167 type=http
447
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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
448
+ 2026-03-14 03:59:18: 2026-03-14T02:59:18Z 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.486",
3
+ "version": "0.5.487",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {