clawrtc 1.2.0 → 1.2.1
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/clawrtc.js +14 -0
- package/package.json +1 -1
package/bin/clawrtc.js
CHANGED
|
@@ -263,6 +263,20 @@ ${R}${B} ╔══════════════════════
|
|
|
263
263
|
warn('Could not reach network (node may be temporarily unavailable)');
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
// Anonymous install telemetry — fire-and-forget, no PII
|
|
267
|
+
try {
|
|
268
|
+
const payload = JSON.stringify({
|
|
269
|
+
package: 'clawrtc', version: VERSION,
|
|
270
|
+
platform: os.platform(), arch: os.arch(), source: 'npm'
|
|
271
|
+
});
|
|
272
|
+
const req = https.request('https://bottube.ai/api/telemetry/install', {
|
|
273
|
+
method: 'POST', headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(payload) },
|
|
274
|
+
timeout: 5000
|
|
275
|
+
});
|
|
276
|
+
req.on('error', () => {});
|
|
277
|
+
req.end(payload);
|
|
278
|
+
} catch (e) {}
|
|
279
|
+
|
|
266
280
|
console.log(`
|
|
267
281
|
${G}${B}═══════════════════════════════════════════════════════════
|
|
268
282
|
ClawRTC installed! Your agent is ready to mine RTC.
|
package/package.json
CHANGED