@yesod/observer 0.0.1 → 0.0.2
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/README.md +24 -0
- package/package.json +5 -3
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @yesod/observer
|
|
2
|
+
|
|
3
|
+
Observability layer for [Yesod](https://github.com/eryv-ai/yesod) — orchestration toolkit that makes AI agents delegate better and lets humans see why.
|
|
4
|
+
|
|
5
|
+
Subscribes to the event bus and provides structured logging, cost aggregation, and replay capabilities.
|
|
6
|
+
|
|
7
|
+
## Components
|
|
8
|
+
|
|
9
|
+
- **EventLogger** — persists orchestration events to storage
|
|
10
|
+
- **CostAggregator** — tracks token usage and cost per-step and per-workflow
|
|
11
|
+
- **ReplayEngine** — re-run workflows from stored event history
|
|
12
|
+
- **SQLiteStorageAdapter** — persistent storage backend
|
|
13
|
+
|
|
14
|
+
## Status
|
|
15
|
+
|
|
16
|
+
Pre-alpha. EventLogger, CostAggregator, and SQLiteStorageAdapter have working implementations.
|
|
17
|
+
|
|
18
|
+
## Links
|
|
19
|
+
|
|
20
|
+
- [GitHub](https://github.com/eryv-ai/yesod)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
|
|
24
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yesod/observer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/eryv-ai/yesod.git",
|
|
@@ -16,14 +16,16 @@
|
|
|
16
16
|
"main": "./dist/index.cjs",
|
|
17
17
|
"module": "./dist/index.js",
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
|
-
"files": [
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
20
22
|
"publishConfig": {
|
|
21
23
|
"access": "public"
|
|
22
24
|
},
|
|
23
25
|
"scripts": {
|
|
24
26
|
"build": "tsup",
|
|
25
27
|
"dev": "tsup --watch",
|
|
26
|
-
"test": "vitest run",
|
|
28
|
+
"test": "vitest run --passWithNoTests",
|
|
27
29
|
"clean": "rm -rf dist"
|
|
28
30
|
},
|
|
29
31
|
"dependencies": {
|