Files
oh-my-pi/packages/agent/package.json
T
can1357 4679789cf1 feat(agent): added OTEL spans for agent invoke/chat/tool flows
- Added opt-in telemetry configuration to Agent and session APIs, including Agent#setTelemetry mutator.
- Implemented OpenTelemetry spans for invoke_agent, chat, execute_tool, and handoff paths with metadata and step tracking.
- Added a telemetry helper module, OpenTelemetry request/usage types, and dependency wiring with no-op behavior when tracer SDK is absent.
- Added OTEL end-to-end tests and fixed coding-agent OutputSink realignment and artifact-link newline output issues.
2026-05-15 14:46:53 +02:00

68 lines
1.5 KiB
JSON

{
"type": "module",
"name": "@oh-my-pi/pi-agent-core",
"version": "15.0.2",
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
"homepage": "https://omp.sh",
"author": "Can Boluk",
"contributors": [
"Mario Zechner"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/agent"
},
"bugs": {
"url": "https://github.com/can1357/oh-my-pi/issues"
},
"keywords": [
"ai",
"agent",
"llm",
"transport",
"state-management"
],
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
"dependencies": {
"@oh-my-pi/pi-ai": "catalog:",
"@oh-my-pi/pi-natives": "catalog:",
"@oh-my-pi/pi-utils": "catalog:",
"@opentelemetry/api": "catalog:"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "catalog:",
"@opentelemetry/sdk-trace-base": "catalog:",
"@sinclair/typebox": "catalog:",
"@types/bun": "catalog:"
},
"engines": {
"bun": ">=1.3.14"
},
"files": [
"src",
"README.md",
"CHANGELOG.md"
],
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
}
}
}