@snap-agent/analytics 0.1.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.
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@snap-agent/analytics",
3
+ "version": "0.1.0",
4
+ "description": "Comprehensive analytics plugin for SnapAgent SDK - Performance, RAG, Cost, Conversation, and Error metrics",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean --external mongodb",
22
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch --external mongodb",
23
+ "test": "vitest run",
24
+ "test:watch": "vitest",
25
+ "prepublishOnly": "npm run build"
26
+ },
27
+ "keywords": [
28
+ "snap-agent",
29
+ "analytics",
30
+ "metrics",
31
+ "observability",
32
+ "performance",
33
+ "monitoring",
34
+ "ai",
35
+ "llm",
36
+ "rag",
37
+ "plugin"
38
+ ],
39
+ "author": "ViloTech",
40
+ "license": "MIT",
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "peerDependencies": {
45
+ "@snap-agent/core": "^0.1.0",
46
+ "mongodb": "^6.0.0 || ^7.0.0"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "mongodb": {
50
+ "optional": true
51
+ }
52
+ },
53
+ "devDependencies": {
54
+ "@types/node": "^24.0.0",
55
+ "mongodb": "^7.0.0",
56
+ "tsup": "^8.0.0",
57
+ "typescript": "^5.8.0",
58
+ "vitest": "^3.2.4"
59
+ },
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "git+https://github.com/vilo-hq/snap-agent.git",
63
+ "directory": "plugins/analytics/core"
64
+ },
65
+ "homepage": "https://github.com/vilo-hq/snap-agent/tree/main/plugins/analytics/core",
66
+ "bugs": {
67
+ "url": "https://github.com/vilo-hq/snap-agent/issues"
68
+ }
69
+ }
70
+