·
6 commits
to main
since this release
Added
AgentType.DEMO, the agent type the one-command demo registers (#431).
Fixed
- NetworkMonitor ss parser read the columns of
ss -tpnwhile running
ss -tpn state established, so the Linux monitor never reported an
established connection. Under thestate establishedfilter ss omits the
Statecolumn, shifting every field left by one: the peer address was read
as the local address and theusers:(...)process field as the peer, so
remotePortparsed toNaNand no reported connection ever carried the
real destination — and because the garbage list was non-empty,
getConnections()never fell through to the correct/proc/net/tcp
fallback either. The parser now picks the address columns from the header
line (Statepresent or not) instead of a fixed index, and no longer drops
the non-root shape where ss cannot name the owning process and the data
lines end at the peer column.
Known issues
Both reproduce on 1.3.0 and are unchanged by this release; scheduled for 1.3.2.
- The README's Express and Fastify examples answer 401 and never contact AIM unless
AIM_AGENT_ID,AIM_PRIVATE_KEY,AIM_PUBLIC_KEYandAIM_ORGANIZATION_IDare all set;
the middleware options carry no way to pass credentials
(#449). aimErrorHandlerpasses an upstream 5xx to Express's default handler, which renders a
stack trace with local paths outsideNODE_ENV=production; the Fastify plugin answers the
same case as JSON (#450).