@agent-beam/beam 0.2.30 → 0.2.33
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/README.md +74 -4
- package/Skills/agentbeam-app-monitoring/SKILL.md +5 -4
- package/dist/cli.js +110 -1
- package/dist/cli.js.map +1 -1
- package/dist/cve.js +1 -1
- package/dist/cve.js.map +1 -1
- package/dist/monitor-client.d.ts +45 -1
- package/dist/monitor-client.js +3 -3
- package/dist/monitor-client.js.map +1 -1
- package/dist/monitor-pipeline.d.ts +60 -9
- package/dist/monitor-pipeline.js +325 -5
- package/dist/monitor-pipeline.js.map +1 -1
- package/dist/monitor-rules.d.ts +58 -0
- package/dist/monitor-rules.js +130 -1
- package/dist/monitor-rules.js.map +1 -1
- package/dist/monitor-signals.d.ts +63 -0
- package/dist/monitor-signals.js +125 -0
- package/dist/monitor-signals.js.map +1 -0
- package/dist/monitor-stacks.d.ts +41 -0
- package/dist/monitor-stacks.js +129 -0
- package/dist/monitor-stacks.js.map +1 -0
- package/dist/monitor.d.ts +2 -0
- package/dist/monitor.js +12 -4
- package/dist/monitor.js.map +1 -1
- package/dist/package-risk-rules.d.ts +27 -0
- package/dist/package-risk-rules.js +137 -0
- package/dist/package-risk-rules.js.map +1 -0
- package/dist/package-scan.d.ts +50 -0
- package/dist/package-scan.js +279 -0
- package/dist/package-scan.js.map +1 -0
- package/dist/packages.d.ts +43 -0
- package/dist/packages.js +228 -0
- package/dist/packages.js.map +1 -0
- package/dist/sdk.d.ts +61 -1
- package/dist/sdk.js +93 -8
- package/dist/sdk.js.map +1 -1
- package/dist/share-cli.d.ts +2 -0
- package/dist/share-cli.js +185 -0
- package/dist/share-cli.js.map +1 -0
- package/dist/share.d.ts +138 -0
- package/dist/share.js +384 -0
- package/dist/share.js.map +1 -0
- package/dist/stack-detect.d.ts +3 -0
- package/dist/stack-detect.js +62 -0
- package/dist/stack-detect.js.map +1 -0
- package/package.json +3 -1
- package/stress-report.json +78 -38
package/stress-report.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"package": "@agent-beam/beam",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"generatedAt": "2026-10-
|
|
4
|
+
"version": "0.2.33",
|
|
5
|
+
"generatedAt": "2026-10-24T14:08:44.637Z",
|
|
6
6
|
"passed": true,
|
|
7
7
|
"environment": {
|
|
8
|
-
"node": "
|
|
8
|
+
"node": "v25.5.0",
|
|
9
9
|
"platform": "darwin arm64",
|
|
10
10
|
"cpu": "Apple M3 Pro",
|
|
11
11
|
"cores": 11,
|
|
@@ -16,42 +16,75 @@
|
|
|
16
16
|
"id": "hostile-input",
|
|
17
17
|
"title": "Hostile input",
|
|
18
18
|
"passed": true,
|
|
19
|
-
"summary": "41 attack shapes at 16 KB; the slowest took
|
|
19
|
+
"summary": "41 attack shapes at 16 KB; the slowest took 8.23 ms (unicode tags)",
|
|
20
20
|
"measured": {
|
|
21
|
-
"worstMs":
|
|
21
|
+
"worstMs": 8.23,
|
|
22
22
|
"cases": 41,
|
|
23
23
|
"slowest": [
|
|
24
24
|
{
|
|
25
25
|
"input": "unicode tags",
|
|
26
|
-
"ms":
|
|
26
|
+
"ms": 8.23
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"input": "curl|",
|
|
30
|
-
"ms":
|
|
30
|
+
"ms": 8.22
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"input": "",
|
|
53
|
+
"measured": {
|
|
54
|
+
"worstMs": 175.3,
|
|
55
|
+
"cases": 17,
|
|
56
|
+
"slowest": [
|
|
57
|
+
{
|
|
58
|
+
"input": "curl ",
|
|
59
|
+
"ms": 175.3
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"input": "short lines",
|
|
63
|
+
"ms": 150.9
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"input": "ngrok",
|
|
67
|
+
"ms": 103.7
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"input": "webhook",
|
|
71
|
+
"ms": 82.4
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"input": "one long line",
|
|
75
|
+
"ms": 74.4
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"limit": "under 1 s for any single 3 MB file"
|
|
80
|
+
},
|
|
48
81
|
{
|
|
49
82
|
"id": "throughput",
|
|
50
83
|
"title": "Log throughput",
|
|
51
84
|
"passed": true,
|
|
52
|
-
"summary": "
|
|
85
|
+
"summary": "39,822 log lines per second on one core, attacks included",
|
|
53
86
|
"measured": {
|
|
54
|
-
"linesPerSecond":
|
|
87
|
+
"linesPerSecond": 39822,
|
|
55
88
|
"lines": 300000
|
|
56
89
|
},
|
|
57
90
|
"limit": "over 10,000 lines per second"
|
|
@@ -60,10 +93,10 @@
|
|
|
60
93
|
"id": "per-call",
|
|
61
94
|
"title": "Cost per call in your app",
|
|
62
95
|
"passed": true,
|
|
63
|
-
"summary": "request()
|
|
96
|
+
"summary": "request() 26.1 µs, prompt() 14.5 µs on a short message",
|
|
64
97
|
"measured": {
|
|
65
|
-
"requestMicros":
|
|
66
|
-
"promptMicros":
|
|
98
|
+
"requestMicros": 26.1,
|
|
99
|
+
"promptMicros": 14.5
|
|
67
100
|
},
|
|
68
101
|
"limit": "request() under 100 µs and prompt() under 200 µs"
|
|
69
102
|
},
|
|
@@ -71,24 +104,31 @@
|
|
|
71
104
|
"id": "memory-cli",
|
|
72
105
|
"title": "Memory under load (beam monitor)",
|
|
73
106
|
"passed": true,
|
|
74
|
-
"summary": "
|
|
107
|
+
"summary": "9.7 MB at start; 13, 13.1, 13, 13, 12.2, 11.7 MB after each 500,000 lines; -1.4 MB from 1M to 3M lines",
|
|
75
108
|
"measured": {
|
|
76
109
|
"heapMb": [
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
110
|
+
13,
|
|
111
|
+
13.1,
|
|
112
|
+
13,
|
|
113
|
+
13,
|
|
114
|
+
12.2,
|
|
115
|
+
11.7
|
|
83
116
|
],
|
|
84
|
-
"startMb":
|
|
85
|
-
"growthMb": -
|
|
117
|
+
"startMb": 9.7,
|
|
118
|
+
"growthMb": -1.4,
|
|
86
119
|
"footprint": {
|
|
87
120
|
"seen": 200,
|
|
88
121
|
"queue": 1000,
|
|
89
122
|
"queued": 0,
|
|
90
123
|
"authFailures": 0,
|
|
91
|
-
"llmCalls": 2550
|
|
124
|
+
"llmCalls": 2550,
|
|
125
|
+
"rollups": 0,
|
|
126
|
+
"misses": 0,
|
|
127
|
+
"errors": 0,
|
|
128
|
+
"walks": 2000,
|
|
129
|
+
"loginFailures": 0,
|
|
130
|
+
"tokens": 0,
|
|
131
|
+
"hosts": 0
|
|
92
132
|
}
|
|
93
133
|
},
|
|
94
134
|
"limit": "under 20 MB growth from 1M to 3M lines"
|
|
@@ -97,13 +137,13 @@
|
|
|
97
137
|
"id": "memory-sdk",
|
|
98
138
|
"title": "Memory in your app while AgentBeam is down",
|
|
99
139
|
"passed": true,
|
|
100
|
-
"summary": "8.
|
|
140
|
+
"summary": "8.3, 8.3, 8.3, 8.3 MB after each 250,000 requests and prompts",
|
|
101
141
|
"measured": {
|
|
102
142
|
"heapMb": [
|
|
103
|
-
8.
|
|
104
|
-
8.
|
|
105
|
-
8.
|
|
106
|
-
8.
|
|
143
|
+
8.3,
|
|
144
|
+
8.3,
|
|
145
|
+
8.3,
|
|
146
|
+
8.3
|
|
107
147
|
],
|
|
108
148
|
"growthMb": 0
|
|
109
149
|
},
|
|
@@ -113,12 +153,12 @@
|
|
|
113
153
|
"id": "outage",
|
|
114
154
|
"title": "AgentBeam down or slow",
|
|
115
155
|
"passed": true,
|
|
116
|
-
"summary": "request() stayed at
|
|
156
|
+
"summary": "request() stayed at 20.8 µs; 1 send attempt, then none while backing off; a hung connection was dropped after 5.0 s, off the request path",
|
|
117
157
|
"measured": {
|
|
118
|
-
"requestMicros":
|
|
158
|
+
"requestMicros": 20.8,
|
|
119
159
|
"attemptsBeforeBackoff": 1,
|
|
120
160
|
"attemptsDuringBackoff": 0,
|
|
121
|
-
"hungFlushMs":
|
|
161
|
+
"hungFlushMs": 5002
|
|
122
162
|
},
|
|
123
163
|
"limit": "no slowdown, no retries during backoff, hung sends dropped within 7 s"
|
|
124
164
|
},
|
|
@@ -126,13 +166,13 @@
|
|
|
126
166
|
"id": "cpu-budget",
|
|
127
167
|
"title": "CPU cap",
|
|
128
168
|
"passed": true,
|
|
129
|
-
"summary": "with a 1% cap (600 ms a minute), a flood of 200 KB documents got
|
|
169
|
+
"summary": "with a 1% cap (600 ms a minute), a flood of 200 KB documents got 638 ms of checking (61 documents); the rest were skipped, flagged as skipped, at 0.11 µs each",
|
|
130
170
|
"measured": {
|
|
131
171
|
"capMs": 600,
|
|
132
|
-
"spentMs":
|
|
133
|
-
"checked":
|
|
172
|
+
"spentMs": 638,
|
|
173
|
+
"checked": 61,
|
|
134
174
|
"skipped": 100000,
|
|
135
|
-
"skippedCallMicros": 0.
|
|
175
|
+
"skippedCallMicros": 0.11
|
|
136
176
|
},
|
|
137
177
|
"limit": "under twice the cap (one check can finish after the cap is reached)"
|
|
138
178
|
}
|