-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 5.1 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 5.1 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@senad-d/observme",
"version": "0.1.9",
"type": "module",
"description": "ObservMe: a Pi extension that instruments Pi agent sessions and exports OpenTelemetry traces, metrics, and logs to an external observability stack (OTel Collector, Grafana Tempo/Loki/Prometheus).",
"license": "MIT",
"author": "Senad Dizdarević <112484166+senad-d@users.noreply.github.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/senad-d/ObservMe.git"
},
"exports": {
".": "./src/extension.ts",
"./integration": "./src/integration.ts"
},
"bugs": {
"url": "https://github.com/senad-d/ObservMe/issues"
},
"homepage": "https://github.com/senad-d/ObservMe#readme",
"keywords": [
"pi-package",
"pi-extension",
"pi-coding-agent",
"cli",
"terminal",
"typescript",
"coding-agent",
"observability",
"opentelemetry"
],
"engines": {
"node": ">=22.19.0"
},
"files": [
".env.example",
"README.md",
"LICENSE",
"SECURITY.md",
"CHANGELOG.md",
"docs/**/*.md",
"skills/**/*.md",
"dashboards/**/*.json",
"dashboards/**/*.yaml",
"examples/**/*.md",
"examples/**/*.ts",
"examples/**/*.yaml",
"img/*",
"src/**/*.ts",
"src/config/anchored-exclusive-create-helper.mjs",
"tsconfig.json"
],
"scripts": {
"dev": "pi --no-extensions -e .",
"typecheck": "tsc --noEmit",
"typecheck:test": "tsc --project tsconfig.test.json --noEmit",
"lint": "npm run typecheck && npm run typecheck:test && npm run lint:eslint && npm run format:check && npm run check",
"lint:eslint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",
"format:check": "node scripts/check-format.mjs",
"test": "node --test test/*.test.mjs test/*.test.ts",
"test:active-agent-lease:contracts": "node --test test/active-agent-lease.test.ts test/alerts.test.mjs test/cardinality.test.ts test/config-defaults.test.mjs test/config-loader.test.mjs test/config-validation.test.mjs test/dashboards.test.mjs test/metrics.test.ts test/pi-handlers.test.mjs test/semconv-metrics.test.mjs",
"test:integration:collector": "node --test test/integration/collector-debug.test.mjs",
"test:integration:active-agent-lease": "node --test test/integration/active-agent-lease.test.mjs",
"test:integration:grafana-stack": "node --test test/integration/grafana-stack.test.mjs",
"test:coverage": "node scripts/test-coverage.mjs",
"smoke:discover": "node scripts/smoke-observability.mjs",
"smoke:packaged": "node scripts/smoke-packaged-install.mjs",
"smoke:handlers": "node scripts/smoke-handler-execution.mjs",
"smoke:pi-lifecycle": "node scripts/smoke-pi-lifecycle.mjs",
"smoke:pi-runtime": "node scripts/smoke-pi-runtime.mjs",
"validate:pi-compatibility": "npm run typecheck && npm run typecheck:test && node --test test/pi-compatibility.test.ts test/event-mapping.test.ts test/template.test.mjs && npm run smoke:packaged && npm run smoke:handlers && npm run smoke:pi-lifecycle && npm run smoke:pi-runtime",
"validate:grafana-obs": "node scripts/validate-grafana-obs-flow.mjs",
"check": "node --check scripts/check-package-contents.mjs && node --check scripts/test-coverage.mjs && node --check scripts/smoke-observability.mjs && node --check scripts/smoke-packaged-install.mjs && node --check scripts/smoke-handler-execution.mjs && node --check scripts/smoke-pi-lifecycle.mjs && node --check scripts/smoke-pi-runtime.mjs && node --check scripts/validate-grafana-obs-flow.mjs",
"pack:dry-run": "npm pack --dry-run --json",
"check:pack": "node scripts/check-package-contents.mjs",
"validate": "npm run lint && npm run test && npm run check:pack && npm run smoke:packaged && npm run smoke:handlers && npm run smoke:pi-lifecycle && npm run smoke:pi-runtime"
},
"observmeCompatibility": {
"pi": {
"earliestTestedVersion": "0.80.5",
"releaseTestedVersion": "0.82.0",
"runtimePolicy": "required-api-capabilities"
}
},
"pi": {
"extensions": [
"./src/extension.ts"
],
"skills": [
"./skills"
],
"image": "https://raw.githubusercontent.com/senad-d/ObservMe/main/img/demo.gif"
},
"peerDependencies": {
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-coding-agent": "*",
"typebox": "*"
},
"devDependencies": {
"@earendil-works/pi-ai": "0.82.0",
"@earendil-works/pi-coding-agent": "0.82.0",
"@eslint/js": "^10.0.1",
"@types/node": "^26.1.1",
"c8": "^11.0.0",
"eslint": "^10.6.0",
"globals": "^17.7.0",
"monocart-coverage-reports": "^2.12.12",
"typebox": "^1.3.6",
"typescript": "6.0.3",
"typescript-eslint": "8.65.0"
},
"dependencies": {
"@opentelemetry/api": "1.9.1",
"@opentelemetry/api-logs": "0.220.0",
"@opentelemetry/exporter-logs-otlp-proto": "0.220.0",
"@opentelemetry/exporter-metrics-otlp-proto": "0.220.0",
"@opentelemetry/exporter-trace-otlp-proto": "0.220.0",
"@opentelemetry/resources": "2.9.0",
"@opentelemetry/sdk-logs": "0.220.0",
"@opentelemetry/sdk-metrics": "2.9.0",
"@opentelemetry/sdk-trace-base": "2.9.0",
"@opentelemetry/sdk-trace-node": "2.9.0"
}
}