@probelabs/probe 0.6.0-rc206 → 0.6.0-rc208
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/bin/binaries/{probe-v0.6.0-rc206-aarch64-apple-darwin.tar.gz → probe-v0.6.0-rc208-aarch64-apple-darwin.tar.gz} +0 -0
- package/bin/binaries/probe-v0.6.0-rc208-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc208-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc208-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc208-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/ProbeAgent.js +144 -2
- package/build/agent/bashPermissions.js +88 -7
- package/build/agent/index.js +450 -18
- package/build/agent/mcp/client.js +234 -4
- package/build/agent/mcp/config.js +87 -0
- package/build/agent/mcp/xmlBridge.js +15 -5
- package/build/agent/simpleTelemetry.js +26 -0
- package/build/tools/bash.js +5 -3
- package/build/tools/common.js +31 -0
- package/cjs/agent/ProbeAgent.cjs +428 -18
- package/cjs/agent/simpleTelemetry.cjs +22 -0
- package/cjs/index.cjs +450 -18
- package/package.json +1 -1
- package/src/agent/ProbeAgent.js +144 -2
- package/src/agent/bashPermissions.js +88 -7
- package/src/agent/mcp/client.js +234 -4
- package/src/agent/mcp/config.js +87 -0
- package/src/agent/mcp/xmlBridge.js +15 -5
- package/src/agent/simpleTelemetry.js +26 -0
- package/src/tools/bash.js +5 -3
- package/src/tools/common.js +31 -0
- package/bin/binaries/probe-v0.6.0-rc206-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc206-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc206-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc206-x86_64-unknown-linux-musl.tar.gz +0 -0
|
@@ -215,6 +215,28 @@ var SimpleAppTracer = class {
|
|
|
215
215
|
...data
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* Record MCP (Model Context Protocol) events
|
|
220
|
+
* Tracks server connections, tool discovery, method filtering, and tool execution
|
|
221
|
+
*/
|
|
222
|
+
recordMcpEvent(eventType, data = {}) {
|
|
223
|
+
if (!this.isEnabled()) return;
|
|
224
|
+
this.addEvent(`mcp.${eventType}`, {
|
|
225
|
+
"session.id": this.sessionId,
|
|
226
|
+
...data
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Record bash tool events
|
|
231
|
+
* Tracks command permission checks, allowed/denied commands, and execution
|
|
232
|
+
*/
|
|
233
|
+
recordBashEvent(eventType, data = {}) {
|
|
234
|
+
if (!this.isEnabled()) return;
|
|
235
|
+
this.addEvent(`bash.${eventType}`, {
|
|
236
|
+
"session.id": this.sessionId,
|
|
237
|
+
...data
|
|
238
|
+
});
|
|
239
|
+
}
|
|
218
240
|
setAttributes(attributes) {
|
|
219
241
|
if (this.telemetry && this.telemetry.enableConsole) {
|
|
220
242
|
console.log("[Attributes]", attributes);
|