@opensearch-project/agent-health 0.0.1 → 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 CHANGED
@@ -1,22 +1,153 @@
1
1
  {
2
2
  "name": "@opensearch-project/agent-health",
3
- "version": "0.0.1",
4
- "description": "",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Agent Evaluation and Observability Framework",
6
+ "license": "Apache-2.0",
9
7
  "repository": {
10
8
  "type": "git",
11
- "url": "git+https://github.com/your-username/your-repo-name.git"
9
+ "url": "https://github.com/opensearch-project/agent-health.git"
12
10
  },
13
- "keywords": [],
14
- "license": "Apache-2.0",
11
+ "homepage": "https://github.com/opensearch-project/agent-health#readme",
15
12
  "bugs": {
16
- "url": "https://github.com/your-username/your-repo-name/issues"
13
+ "url": "https://github.com/opensearch-project/agent-health/issues"
17
14
  },
18
- "homepage": "https://github.com/your-username/your-repo-name#readme",
15
+ "keywords": [
16
+ "opensearch",
17
+ "observability",
18
+ "agent",
19
+ "evaluation",
20
+ "rca",
21
+ "root-cause-analysis",
22
+ "llm",
23
+ "traces"
24
+ ],
19
25
  "engines": {
20
26
  "node": ">=18.0.0"
27
+ },
28
+ "bin": {
29
+ "agent-health": "./bin/cli.js"
30
+ },
31
+ "main": "./lib/dist/index.js",
32
+ "exports": {
33
+ ".": {
34
+ "import": "./lib/dist/index.js"
35
+ }
36
+ },
37
+ "files": [
38
+ "bin/",
39
+ "cli/dist/",
40
+ "server/dist/",
41
+ "lib/dist/",
42
+ "dist/"
43
+ ],
44
+ "scripts": {
45
+ "dev": "vite",
46
+ "dev:server": "npm run build:server && node server/dist/index.js",
47
+ "build": "tsc && vite build",
48
+ "build:server": "esbuild server/index.ts server/app.ts --bundle --platform=node --format=esm --outdir=server/dist --packages=external",
49
+ "server": "npm run build && npm run build:server && node server/dist/index.js",
50
+ "preview": "vite preview",
51
+ "eval": "ts-node src/eval_framework/cli.ts",
52
+ "eval:text-to-ppl": "ts-node src/eval_framework/cli.ts run --benchmark benchmarks/text_to_ppl/test_cases.json",
53
+ "migrate:labels": "ts-node scripts/migrate-to-labels.ts",
54
+ "migrate:labels:dry-run": "ts-node scripts/migrate-to-labels.ts --dry-run --verbose",
55
+ "migrate:labels:cleanup": "ts-node scripts/migrate-to-labels.ts --cleanup",
56
+ "test": "jest",
57
+ "test:unit": "jest --testPathPatterns='__tests__|.test.ts' --testPathIgnorePatterns='tests/integration|tests/e2e'",
58
+ "test:integration": "jest --testPathPatterns='tests/integration'",
59
+ "test:integration:experimentRunner": "jest --testPathPatterns=experimentRunner",
60
+ "test:integration:tracePoller": "jest --testPathPatterns=tracePoller",
61
+ "test:e2e": "playwright test",
62
+ "test:e2e:ui": "playwright test --ui",
63
+ "test:e2e:report": "playwright show-report",
64
+ "test:all": "npm run test:unit && npm run test:integration && npm run test:e2e",
65
+ "build:cli": "esbuild cli/index.ts --bundle --platform=node --format=esm --outdir=cli/dist --packages=external --external:inquirer",
66
+ "build:lib": "esbuild lib/index.ts lib/config/index.ts --bundle --platform=node --format=esm --outdir=lib/dist --packages=external",
67
+ "build:all": "npm run build && npm run build:server && npm run build:cli && npm run build:lib",
68
+ "demo": "npm run build:all && node cli/dist/index.js",
69
+ "prepublishOnly": "npm run build:all"
70
+ },
71
+ "dependencies": {
72
+ "@ag-ui/core": "^0.0.41",
73
+ "@aws-sdk/client-bedrock-runtime": "^3.936.0",
74
+ "@aws-sdk/credential-providers": "^3.936.0",
75
+ "@opensearch-project/opensearch": "^3.5.1",
76
+ "@opentelemetry/semantic-conventions": "^1.38.0",
77
+ "@radix-ui/react-alert-dialog": "^1.1.15",
78
+ "@radix-ui/react-checkbox": "^1.3.3",
79
+ "@radix-ui/react-collapsible": "^1.1.12",
80
+ "@radix-ui/react-dialog": "^1.1.15",
81
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
82
+ "@radix-ui/react-label": "^2.1.8",
83
+ "@radix-ui/react-progress": "^1.1.8",
84
+ "@radix-ui/react-scroll-area": "^1.2.10",
85
+ "@radix-ui/react-select": "^2.2.6",
86
+ "@radix-ui/react-separator": "^1.1.8",
87
+ "@radix-ui/react-slot": "^1.2.4",
88
+ "@radix-ui/react-switch": "^1.2.6",
89
+ "@radix-ui/react-tabs": "^1.1.13",
90
+ "@radix-ui/react-tooltip": "^1.2.8",
91
+ "@xyflow/react": "^12.0.0",
92
+ "chalk": "^5.3.0",
93
+ "class-variance-authority": "^0.7.1",
94
+ "cli-table3": "^0.6.5",
95
+ "clsx": "^2.1.1",
96
+ "commander": "^12.1.0",
97
+ "cors": "^2.8.5",
98
+ "dagre": "^0.8.5",
99
+ "dotenv": "^17.2.3",
100
+ "echarts": "^6.0.0",
101
+ "execa": "^9.5.2",
102
+ "express": "^5.1.0",
103
+ "inquirer": "^12.4.2",
104
+ "js-yaml": "^4.1.1",
105
+ "lucide-react": "^0.554.0",
106
+ "open": "^10.1.0",
107
+ "ora": "^8.1.1",
108
+ "react": "^19.2.0",
109
+ "react-dom": "^19.2.0",
110
+ "react-is": "^19.2.4",
111
+ "react-markdown": "^10.1.0",
112
+ "react-resizable-panels": "^3.0.6",
113
+ "react-router-dom": "^7.12.0",
114
+ "recharts": "^3.4.1",
115
+ "remark-gfm": "^4.0.1",
116
+ "tailwind-merge": "^3.4.0",
117
+ "tailwindcss-animate": "^1.0.7",
118
+ "uuid": "^10.0.0",
119
+ "zod": "^3.24.0"
120
+ },
121
+ "devDependencies": {
122
+ "@playwright/test": "^1.57.0",
123
+ "@tailwindcss/typography": "^0.5.19",
124
+ "@testing-library/react": "^16.3.2",
125
+ "@types/cors": "^2.8.19",
126
+ "@types/dagre": "^0.7.52",
127
+ "@types/express": "^4.17.21",
128
+ "@types/jest": "^30.0.0",
129
+ "@types/js-yaml": "^4.0.9",
130
+ "@types/node": "^24.10.1",
131
+ "@types/react": "^19.2.0",
132
+ "@types/react-dom": "^19.2.0",
133
+ "@types/uuid": "^10.0.0",
134
+ "@vitejs/plugin-react": "^4.2.1",
135
+ "autoprefixer": "^10.4.16",
136
+ "esbuild": "^0.27.2",
137
+ "husky": "^9.1.7",
138
+ "jest": "^30.2.0",
139
+ "jest-environment-jsdom": "^30.2.0",
140
+ "postcss": "^8.4.32",
141
+ "shadcn": "^3.5.1",
142
+ "tailwindcss": "^3.4.0",
143
+ "ts-jest": "^29.4.6",
144
+ "ts-node": "^10.9.2",
145
+ "tsc-alias": "^1.8.16",
146
+ "tsx": "^4.19.0",
147
+ "typescript": "^5.3.3",
148
+ "vite": "^7.3.1"
149
+ },
150
+ "overrides": {
151
+ "minimatch": "^10.2.1"
21
152
  }
22
153
  }