agentix-cli 0.49.0 → 0.50.0

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.
Files changed (46) hide show
  1. package/README.md +17 -0
  2. package/dist/{agent-J7SLJYQ6.js → agent-RY7Z3IYY.js} +2 -2
  3. package/dist/{board-dashboard-LG3ECH7C.js → board-dashboard-RUOASCSQ.js} +3 -3
  4. package/dist/board-dashboard-RUOASCSQ.js.map +1 -0
  5. package/dist/{chunk-DLKRPK5M.js → chunk-4BNQSUWV.js} +7 -2
  6. package/dist/{chunk-DLKRPK5M.js.map → chunk-4BNQSUWV.js.map} +1 -1
  7. package/dist/{chunk-DVNIFP7S.js → chunk-6VKCUMCN.js} +2 -2
  8. package/dist/{chunk-GCHUE3TN.js → chunk-7WDJW37G.js} +2 -2
  9. package/dist/{chunk-HGT4AKOH.js → chunk-BYD55JXH.js} +3 -3
  10. package/dist/{chunk-DTJKN5VT.js → chunk-EMI3VJLH.js} +2 -2
  11. package/dist/chunk-HRBKSZ34.js +2 -0
  12. package/dist/chunk-HRBKSZ34.js.map +1 -0
  13. package/dist/{chunk-3L2FKVR6.js → chunk-N2XXKFJ6.js} +2 -2
  14. package/dist/{chunk-HVQJIROJ.js → chunk-TTL37CS5.js} +4 -4
  15. package/dist/{chunk-RKAJR37K.js → chunk-TUNQFPVA.js} +2 -2
  16. package/dist/{chunk-MWUJOAAW.js → chunk-WQLBJ2O5.js} +2 -2
  17. package/dist/{chunk-FM2GGPSD.js → chunk-Y6I3BYWV.js} +5 -5
  18. package/dist/{chunk-FM2GGPSD.js.map → chunk-Y6I3BYWV.js.map} +1 -1
  19. package/dist/cli.js +1 -1
  20. package/dist/{compaction-U5SAYTX6.js → compaction-PIZINFHR.js} +2 -2
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/memory-extract-OWTI6MN5.js +2 -0
  24. package/dist/processes-KUJJ7XE7.js +2 -0
  25. package/dist/{program-3CDFUJVE.js → program-KY5ZYPFN.js} +2 -2
  26. package/dist/{registry-722GXALE.js → registry-LLAFJJN4.js} +2 -2
  27. package/package.json +1 -1
  28. package/dist/board-dashboard-LG3ECH7C.js.map +0 -1
  29. package/dist/chunk-7DXE264B.js +0 -2
  30. package/dist/chunk-7DXE264B.js.map +0 -1
  31. package/dist/memory-extract-YZI2QZVR.js +0 -2
  32. package/dist/processes-XWRGOLMT.js +0 -2
  33. /package/dist/{agent-J7SLJYQ6.js.map → agent-RY7Z3IYY.js.map} +0 -0
  34. /package/dist/{chunk-DVNIFP7S.js.map → chunk-6VKCUMCN.js.map} +0 -0
  35. /package/dist/{chunk-GCHUE3TN.js.map → chunk-7WDJW37G.js.map} +0 -0
  36. /package/dist/{chunk-HGT4AKOH.js.map → chunk-BYD55JXH.js.map} +0 -0
  37. /package/dist/{chunk-DTJKN5VT.js.map → chunk-EMI3VJLH.js.map} +0 -0
  38. /package/dist/{chunk-3L2FKVR6.js.map → chunk-N2XXKFJ6.js.map} +0 -0
  39. /package/dist/{chunk-HVQJIROJ.js.map → chunk-TTL37CS5.js.map} +0 -0
  40. /package/dist/{chunk-RKAJR37K.js.map → chunk-TUNQFPVA.js.map} +0 -0
  41. /package/dist/{chunk-MWUJOAAW.js.map → chunk-WQLBJ2O5.js.map} +0 -0
  42. /package/dist/{compaction-U5SAYTX6.js.map → compaction-PIZINFHR.js.map} +0 -0
  43. /package/dist/{memory-extract-YZI2QZVR.js.map → memory-extract-OWTI6MN5.js.map} +0 -0
  44. /package/dist/{processes-XWRGOLMT.js.map → processes-KUJJ7XE7.js.map} +0 -0
  45. /package/dist/{program-3CDFUJVE.js.map → program-KY5ZYPFN.js.map} +0 -0
  46. /package/dist/{registry-722GXALE.js.map → registry-LLAFJJN4.js.map} +0 -0
package/README.md CHANGED
@@ -111,6 +111,13 @@ Telegram and WhatsApp have pairing flows. GitLab, GitHub, and generic webhooks c
111
111
 
112
112
  Real agents need a configured model. An API provider needs a key; Claude Code, Codex CLI, and OpenCode need their CLI installed and authenticated on the host. Model-provider charges or subscription terms depend on your chosen provider.
113
113
 
114
+ ## Integrations
115
+
116
+ - **Channels:** Telegram, WhatsApp, GitLab, GitHub, and generic webhooks. [Channel reference](docs/reference/channels.md).
117
+ - **Models:** API providers, plus the Claude Code, Codex CLI, and OpenCode CLIs.
118
+ - **Other programs:** the local daemon accepts tasks over HTTP, and `agentx a2a` serves the A2A protocol. [Agent-to-agent reference](docs/reference/a2a.md).
119
+ - **Raycast:** ask your agents and list them from Raycast. [Install from this checkout](integrations/raycast/README.md); not in the Raycast Store yet.
120
+
114
121
  ## Help test and improve AgentX
115
122
 
116
123
  The most valuable contribution right now is **trying AgentX and reporting what happens**. You do not need to write code to help.
@@ -123,6 +130,16 @@ The most valuable contribution right now is **trying AgentX and reporting what h
123
130
 
124
131
  See [Contributing](CONTRIBUTING.md) for testing, issue triage, and development instructions.
125
132
 
133
+ ## Sponsors
134
+
135
+ We are grateful for the support of our sponsors, who help make AgentX possible.
136
+
137
+ <p align="center">
138
+ <a href="https://noqta.tn"><img src="docs/public/sponsors/noqta.svg" alt="Noqta" height="48" /></a>
139
+ </p>
140
+
141
+ Want to sponsor AgentX? [Start a discussion](https://github.com/anis-marrouchi/agentx/discussions) and we will add you here.
142
+
126
143
  ## Help and development
127
144
 
128
145
  - [Start here](docs/index.md) · [Troubleshooting](docs/help/its-not-answering.md) · [CLI reference](docs/reference/cli.md)
@@ -1,2 +1,2 @@
1
- import{A as a,B as b,C as c}from"./chunk-MWUJOAAW.js";import"./chunk-SFQUP3BP.js";import"./chunk-QOYAX2FT.js";import"./chunk-LCIREYTD.js";import"./chunk-L2WSPY6S.js";import"./chunk-VDMYBPYB.js";import"./chunk-DSYKYZMT.js";import"./chunk-FIOB3MEX.js";export{a as createAgentContext,b as generate,c as generateStream};
2
- //# sourceMappingURL=agent-J7SLJYQ6.js.map
1
+ import{A as a,B as b,C as c}from"./chunk-WQLBJ2O5.js";import"./chunk-SFQUP3BP.js";import"./chunk-QOYAX2FT.js";import"./chunk-LCIREYTD.js";import"./chunk-L2WSPY6S.js";import"./chunk-VDMYBPYB.js";import"./chunk-DSYKYZMT.js";import"./chunk-FIOB3MEX.js";export{a as createAgentContext,b as generate,c as generateStream};
2
+ //# sourceMappingURL=agent-RY7Z3IYY.js.map
@@ -1,4 +1,4 @@
1
- import{a as Qt}from"./chunk-GCHUE3TN.js";import{a as C,b as Zt,c as ea,d as ta,e as aa,f as ae,g as be,h as Ve,i as Le,j as na,k as ra,l as sa,m as ia,n as la}from"./chunk-RKAJR37K.js";import{a as oa}from"./chunk-Z3IP66SL.js";import{a as he,c as $,d as P,i as Ie,j as $e,k as J,l as q,m as je,n as Jt,o as Vt,p as Yt}from"./chunk-DLKRPK5M.js";import{C as Ft,E as me,F as Se,G as Te,H as Ce,I as Ae,J as Ut,K as Wt,L as Gt,M as Me,O as Xt,R as Kt,a as jt,c as Ee,d as Je,e as Lt,i as Rt,u as Ot,v as Ht,w as Nt,x as Bt}from"./chunk-DTJKN5VT.js";import{g as It,h as $t}from"./chunk-PZCTCCC5.js";import{a as zt,b as qt}from"./chunk-LQRBGQIR.js";import{o as Pt,r as Dt}from"./chunk-FULEQYM6.js";import"./chunk-OHA3J5ZV.js";import"./chunk-3SCPRYJB.js";import"./chunk-AQASR6KR.js";import{a as Tt,c as Xe,d as Ke,h as Ct,i as At,j as Mt}from"./chunk-3L2FKVR6.js";import"./chunk-N6EWZGIX.js";import"./chunk-Q7C3X3R6.js";import"./chunk-DP7RTNDM.js";import"./chunk-5XQCGPQJ.js";import"./chunk-B5XHX44Y.js";import"./chunk-AFRHKA7B.js";import"./chunk-NLZD2QKF.js";import"./chunk-7DXE264B.js";import"./chunk-IXUEJBHD.js";import{b as St}from"./chunk-JVNFRS26.js";import"./chunk-PNWNVOEZ.js";import"./chunk-64P4QHSZ.js";import"./chunk-AJ5RMU7X.js";import"./chunk-2GIDVZ4H.js";import"./chunk-4NBWF4TL.js";import"./chunk-F4HZTZHW.js";import"./chunk-AJONZWLT.js";import"./chunk-ZTEU5JVQ.js";import"./chunk-QOYAX2FT.js";import"./chunk-LCIREYTD.js";import"./chunk-L2WSPY6S.js";import{a as _t,b as Et,c as Xn,m as K,p as Ge}from"./chunk-P2ZYT5D6.js";import"./chunk-BH3GTCZ6.js";import"./chunk-FIOB3MEX.js";function Ye(t,e,a=Date.now()){let n=Math.max(0,a-(t.updatedAt||a)),r=t.clientId?e[t.clientId]:void 0;if(!r)return{score:n/864e5,ageMs:n,rising:!1,overdue:!1};let o=n/(r*6e4);return{score:1e3+o,ageMs:n,rising:!0,overdue:o>=1}}function da(t,e,a=Date.now()){return t.map((n,r)=>({i:r,s:Ye(n,e,a).score})).sort((n,r)=>r.s-n.s||n.i-r.i).map(n=>n.i)}var V={refresh:'<path d="M21 2v6h-6"/><path d="M3 12a9 9 0 0 1 15-6.7L21 8"/><path d="M3 22v-6h6"/><path d="M21 12a9 9 0 0 1-15 6.7L3 16"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',alert:'<path d="M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z"/><path d="M12 9v4"/><path d="M12 17h.01"/>',gavel:'<path d="M12 3 6 9"/><path d="m9 6 6 6"/><path d="M15 9 9 15"/><path d="m12 12 6 6"/><path d="M4 21h10"/>',loop:'<path d="M17 2l4 4-4 4"/><path d="M3 11V9a4 4 0 0 1 4-4h14"/><path d="M7 22l-4-4 4-4"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/>',broom:'<path d="M3 21h18"/><path d="M12 3v9"/><path d="m7 12 5-3 5 3-1.5 6h-7Z"/>',server:'<rect x="2" y="3" width="20" height="7" rx="2"/><rect x="2" y="14" width="20" height="7" rx="2"/><path d="M6 6.5h.01"/><path d="M6 17.5h.01"/>',inbox:'<path d="M21 12h-6l-2 3h-2l-2-3H3"/><path d="M5 5h14l2 7v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Z"/>',cross:'<circle cx="12" cy="12" r="9"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/>',file:'<path d="M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z"/><path d="M14 2v5h5"/>',search:'<circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/>',chev:'<path d="m6 9 6 6 6-6"/>',chevr:'<path d="m9 6 6 6-6 6"/>',ext:'<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>',pulse:'<path d="M3 12h4l3-8 4 16 3-8h4"/>',plug:'<path d="M9 2v6"/><path d="M15 2v6"/><path d="M6 8h12v3a6 6 0 0 1-12 0Z"/><path d="M12 17v5"/>',check:'<path d="M20 6 9 17l-5-5"/>',route:'<circle cx="6" cy="19" r="3"/><circle cx="18" cy="5" r="3"/><path d="M9 19h6a4 4 0 0 0 0-8H9a4 4 0 0 1 0-8h6"/>',branch:'<circle cx="6" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="8" r="3"/><path d="M18 11v1a3 3 0 0 1-3 3H9"/><path d="M6 9v6"/>',send:'<path d="M22 2 11 13"/><path d="M22 2l-7 20-4-9-9-4Z"/>',msg:'<path d="M21 11.5a8.4 8.4 0 0 1-12.9 7.5L3 21l2-5.1A8.4 8.4 0 1 1 21 11.5Z"/>',code:'<path d="m9 18-6-6 6-6"/><path d="m15 6 6 6-6 6"/>',hash:'<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 3 8 21"/><path d="M16 3l-2 18"/>',x:'<path d="M18 6 6 18"/><path d="m6 6 12 12"/>',trace:'<path d="M4 4v16h16"/><path d="m7 15 4-4 3 3 5-6"/>'},ce=(t,e=14)=>'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="'+e+'" height="'+e+'" aria-hidden="true">'+t+"</svg>",Re=(t,e,a,n="")=>'<div class="ax-sec-label"><h3>'+ce(t,13)+e+(a?'<span class="ax-sec-label__n" id="'+a+'"></span>':"")+"</h3>"+n+"</div>";function ca(t={}){return $({title:"AgentX \xB7 Monitor",activeTab:"monitor",subtitle:"Monitor",peers:t.peers,body:`<div class="bf">
1
+ import{a as Qt}from"./chunk-7WDJW37G.js";import{a as C,b as Zt,c as ea,d as ta,e as aa,f as ae,g as be,h as Ve,i as Le,j as na,k as ra,l as sa,m as ia,n as la}from"./chunk-TUNQFPVA.js";import{a as oa}from"./chunk-Z3IP66SL.js";import{a as he,c as $,d as P,i as Ie,j as $e,k as J,l as q,m as je,n as Jt,o as Vt,p as Yt}from"./chunk-4BNQSUWV.js";import{C as Ft,E as me,F as Se,G as Te,H as Ce,I as Ae,J as Ut,K as Wt,L as Gt,M as Me,O as Xt,R as Kt,a as jt,c as Ee,d as Je,e as Lt,i as Rt,u as Ot,v as Ht,w as Nt,x as Bt}from"./chunk-EMI3VJLH.js";import{g as It,h as $t}from"./chunk-PZCTCCC5.js";import{a as zt,b as qt}from"./chunk-LQRBGQIR.js";import{o as Pt,r as Dt}from"./chunk-FULEQYM6.js";import"./chunk-OHA3J5ZV.js";import"./chunk-3SCPRYJB.js";import"./chunk-AQASR6KR.js";import{a as Tt,c as Xe,d as Ke,h as Ct,i as At,j as Mt}from"./chunk-N2XXKFJ6.js";import"./chunk-N6EWZGIX.js";import"./chunk-Q7C3X3R6.js";import"./chunk-DP7RTNDM.js";import"./chunk-5XQCGPQJ.js";import"./chunk-B5XHX44Y.js";import"./chunk-AFRHKA7B.js";import"./chunk-NLZD2QKF.js";import"./chunk-HRBKSZ34.js";import"./chunk-IXUEJBHD.js";import{b as St}from"./chunk-JVNFRS26.js";import"./chunk-PNWNVOEZ.js";import"./chunk-64P4QHSZ.js";import"./chunk-AJ5RMU7X.js";import"./chunk-2GIDVZ4H.js";import"./chunk-4NBWF4TL.js";import"./chunk-F4HZTZHW.js";import"./chunk-AJONZWLT.js";import"./chunk-ZTEU5JVQ.js";import"./chunk-QOYAX2FT.js";import"./chunk-LCIREYTD.js";import"./chunk-L2WSPY6S.js";import{a as _t,b as Et,c as Xn,m as K,p as Ge}from"./chunk-P2ZYT5D6.js";import"./chunk-BH3GTCZ6.js";import"./chunk-FIOB3MEX.js";function Ye(t,e,a=Date.now()){let n=Math.max(0,a-(t.updatedAt||a)),r=t.clientId?e[t.clientId]:void 0;if(!r)return{score:n/864e5,ageMs:n,rising:!1,overdue:!1};let o=n/(r*6e4);return{score:1e3+o,ageMs:n,rising:!0,overdue:o>=1}}function da(t,e,a=Date.now()){return t.map((n,r)=>({i:r,s:Ye(n,e,a).score})).sort((n,r)=>r.s-n.s||n.i-r.i).map(n=>n.i)}var V={refresh:'<path d="M21 2v6h-6"/><path d="M3 12a9 9 0 0 1 15-6.7L21 8"/><path d="M3 22v-6h6"/><path d="M21 12a9 9 0 0 1-15 6.7L3 16"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',alert:'<path d="M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z"/><path d="M12 9v4"/><path d="M12 17h.01"/>',gavel:'<path d="M12 3 6 9"/><path d="m9 6 6 6"/><path d="M15 9 9 15"/><path d="m12 12 6 6"/><path d="M4 21h10"/>',loop:'<path d="M17 2l4 4-4 4"/><path d="M3 11V9a4 4 0 0 1 4-4h14"/><path d="M7 22l-4-4 4-4"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/>',broom:'<path d="M3 21h18"/><path d="M12 3v9"/><path d="m7 12 5-3 5 3-1.5 6h-7Z"/>',server:'<rect x="2" y="3" width="20" height="7" rx="2"/><rect x="2" y="14" width="20" height="7" rx="2"/><path d="M6 6.5h.01"/><path d="M6 17.5h.01"/>',inbox:'<path d="M21 12h-6l-2 3h-2l-2-3H3"/><path d="M5 5h14l2 7v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Z"/>',cross:'<circle cx="12" cy="12" r="9"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/>',file:'<path d="M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z"/><path d="M14 2v5h5"/>',search:'<circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/>',chev:'<path d="m6 9 6 6 6-6"/>',chevr:'<path d="m9 6 6 6-6 6"/>',ext:'<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>',pulse:'<path d="M3 12h4l3-8 4 16 3-8h4"/>',plug:'<path d="M9 2v6"/><path d="M15 2v6"/><path d="M6 8h12v3a6 6 0 0 1-12 0Z"/><path d="M12 17v5"/>',check:'<path d="M20 6 9 17l-5-5"/>',route:'<circle cx="6" cy="19" r="3"/><circle cx="18" cy="5" r="3"/><path d="M9 19h6a4 4 0 0 0 0-8H9a4 4 0 0 1 0-8h6"/>',branch:'<circle cx="6" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="8" r="3"/><path d="M18 11v1a3 3 0 0 1-3 3H9"/><path d="M6 9v6"/>',send:'<path d="M22 2 11 13"/><path d="M22 2l-7 20-4-9-9-4Z"/>',msg:'<path d="M21 11.5a8.4 8.4 0 0 1-12.9 7.5L3 21l2-5.1A8.4 8.4 0 1 1 21 11.5Z"/>',code:'<path d="m9 18-6-6 6-6"/><path d="m15 6 6 6-6 6"/>',hash:'<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 3 8 21"/><path d="M16 3l-2 18"/>',x:'<path d="M18 6 6 18"/><path d="m6 6 12 12"/>',trace:'<path d="M4 4v16h16"/><path d="m7 15 4-4 3 3 5-6"/>'},ce=(t,e=14)=>'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="'+e+'" height="'+e+'" aria-hidden="true">'+t+"</svg>",Re=(t,e,a,n="")=>'<div class="ax-sec-label"><h3>'+ce(t,13)+e+(a?'<span class="ax-sec-label__n" id="'+a+'"></span>':"")+"</h3>"+n+"</div>";function ca(t={}){return $({title:"AgentX \xB7 Monitor",activeTab:"monitor",subtitle:"Monitor",peers:t.peers,body:`<div class="bf">
2
2
 
3
3
  <div class="bf-head">
4
4
  <div>
@@ -2057,7 +2057,7 @@ function renderWebhooks() {
2057
2057
  '<div class="ax-name">' + escapeHtml(w.id) + ' ' + statusPill + '</div>' +
2058
2058
  '<div class="ax-sub">' +
2059
2059
  escapeHtml(meta.label) + ' \xB7 routes to <b>' + escapeHtml(w.agentId) + '</b>' +
2060
- (w.secretEnv ? ' \xB7 secret: <code> + escapeHtml(w.secretEnv) + </code>' : '') +
2060
+ (w.secretEnv ? ' \xB7 secret: <code>\${' + escapeHtml(w.secretEnv) + '}</code>' : '') +
2061
2061
  (w.description ? ' \xB7 ' + escapeHtml(w.description) : '') +
2062
2062
  '</div>' +
2063
2063
  '</div>' +
@@ -15063,4 +15063,4 @@ data: ${_.replace(/\n/g," ")}
15063
15063
  `)}catch{}}};s.stdout?.on("data",l),s.stderr?.on("data",l);let c=setInterval(()=>{try{e.write(`: hb
15064
15064
 
15065
15065
  `)}catch{}},15e3),p=()=>{clearInterval(c);try{s.kill()}catch{}try{e.end()}catch{}};t.on("close",p),s.on("exit",p),s.on("error",p)}async function zn(t,e,a,n){let r=a.url+n,o=(t.method||"GET").toUpperCase(),i=o!=="GET"&&o!=="HEAD"?await new Promise((m,h)=>{let _=[];t.on("data",S=>_.push(S)),t.on("end",()=>m(Buffer.concat(_))),t.on("error",h)}):void 0,l={},c=t.headers["content-type"];c&&(l["Content-Type"]=Array.isArray(c)?c[0]:c);let p=t.headers["x-requested-with"];p&&(l["X-Requested-With"]=Array.isArray(p)?p[0]:p),a.token&&(l.Authorization=`Bearer ${a.token}`),l["X-Agentx-Peer"]="primary";try{let m=await fetch(r,{method:o,headers:l,body:i&&i.length>0?i:void 0}),h=Buffer.from(await m.arrayBuffer());e.writeHead(m.status,{"Content-Type":m.headers.get("content-type")||"application/json","Cache-Control":"no-store"}),e.end(h)}catch(m){v(e,502,{error:`proxy to peer failed: ${m?.message||m}`,target:r})}}function wt(t,e){let a=t.replace(/\/+$/,""),n=(e.dashboard?.daemons||[]).find(r=>r.url.replace(/\/+$/,"")===a);return n?{url:Fn(n),token:n.dashboardToken||n.token}:null}export{Vc as startBoardDashboard};
15066
- //# sourceMappingURL=board-dashboard-LG3ECH7C.js.map
15066
+ //# sourceMappingURL=board-dashboard-RUOASCSQ.js.map