pi-otel 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,76 @@
1
+ {
2
+ "name": "pi-otel",
3
+ "version": "0.1.0",
4
+ "description": "OpenTelemetry traces for pi-coding-agent — per-prompt span tree (interaction → llm_request, tool.<name>) exported via OTLP. Aspire-dashboard ready.",
5
+ "type": "module",
6
+ "keywords": [
7
+ "pi-package",
8
+ "pi-extension",
9
+ "opentelemetry",
10
+ "otel",
11
+ "observability",
12
+ "tracing",
13
+ "gen_ai"
14
+ ],
15
+ "license": "Apache-2.0",
16
+ "author": "nikiforovall",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/nikiforovall/pi-otel.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/nikiforovall/pi-otel/issues"
23
+ },
24
+ "homepage": "https://github.com/nikiforovall/pi-otel#readme",
25
+ "engines": {
26
+ "node": ">=20.0.0"
27
+ },
28
+ "main": "./dist/index.js",
29
+ "exports": {
30
+ ".": "./dist/index.js"
31
+ },
32
+ "files": [
33
+ "dist",
34
+ "LICENSE",
35
+ "README.md"
36
+ ],
37
+ "pi": {
38
+ "extensions": [
39
+ "./dist/index.js"
40
+ ],
41
+ "image": "https://raw.githubusercontent.com/nikiforovall/pi-otel/master/assets/pi-otel-poster.png",
42
+ "video": "https://raw.githubusercontent.com/NikiforovAll/pi-otel/master/assets/demo.mp4"
43
+ },
44
+ "scripts": {
45
+ "build": "tsc -p tsconfig.json",
46
+ "dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
47
+ "typecheck": "tsc -p tsconfig.json --noEmit",
48
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
49
+ "check": "biome check .",
50
+ "format": "biome format --write .",
51
+ "prepare": "husky",
52
+ "docs:dev": "vitepress dev docs",
53
+ "docs:build": "vitepress build docs",
54
+ "docs:preview": "vitepress preview docs"
55
+ },
56
+ "peerDependencies": {
57
+ "@earendil-works/pi-coding-agent": "*"
58
+ },
59
+ "dependencies": {
60
+ "@opentelemetry/api": "^1.9.0",
61
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.57.0",
62
+ "@opentelemetry/exporter-trace-otlp-http": "^0.57.0",
63
+ "@opentelemetry/exporter-trace-otlp-proto": "^0.57.0",
64
+ "@opentelemetry/resources": "^1.30.0",
65
+ "@opentelemetry/sdk-node": "^0.57.0",
66
+ "@opentelemetry/sdk-trace-base": "^1.30.0",
67
+ "@opentelemetry/semantic-conventions": "^1.28.0"
68
+ },
69
+ "devDependencies": {
70
+ "@biomejs/biome": "^2.4.15",
71
+ "@types/node": "^22.0.0",
72
+ "husky": "^9.1.7",
73
+ "typescript": "^5.6.0",
74
+ "vitepress": "^1.6.3"
75
+ }
76
+ }