-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.03 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@loongsuite/opentelemetry-instrumentation-claude",
"version": "0.1.0",
"description": "OpenTelemetry instrumentation for Claude Code — hooks + intercept.js LLM call tracing",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/alibaba/loongsuite-js-plugins.git",
"directory": "opentelemetry-instrumentation-claude"
},
"homepage": "https://github.com/alibaba/loongsuite-js-plugins/tree/main/opentelemetry-instrumentation-claude#readme",
"bugs": {
"url": "https://github.com/alibaba/loongsuite-js-plugins/issues"
},
"keywords": [
"opentelemetry",
"otel",
"claude",
"claude-code",
"ai-agent",
"llm",
"observability",
"tracing",
"instrumentation",
"loongsuite"
],
"main": "src/index.js",
"bin": {
"otel-claude-hook": "bin/otel-claude-hook"
},
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --watch",
"postinstall": "node bin/otel-claude-hook install --user --quiet || true",
"install-hooks": "node bin/otel-claude-hook install --user"
},
"devDependencies": {
"jest": "^29.7.0"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageThreshold": {
"./src/cli.js": {
"lines": 55,
"branches": 40
},
"./src/hooks.js": {
"lines": 70
},
"./src/intercept.js": {
"lines": 45,
"branches": 35
},
"./src/state.js": {
"lines": 80
},
"./src/telemetry.js": {
"lines": 55
}
}
},
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.57.0",
"@opentelemetry/resources": "^1.30.0",
"@opentelemetry/sdk-trace-node": "^1.30.0",
"@opentelemetry/semantic-conventions": "^1.30.0",
"commander": "^12.1.0"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"bin/",
"src/",
"scripts/",
"scripts/install.sh",
"scripts/remote-install.sh",
"README.md"
]
}