@sisu-ai/mw-usage-tracker 9.0.2 → 9.0.4
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 +76 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @sisu-ai/mw-usage-tracker
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Measure token usage and estimated cost across your pipeline with minimal setup.
|
|
4
4
|
|
|
5
5
|
[](https://github.com/finger-gun/sisu/actions/workflows/tests.yml)
|
|
6
6
|
[](https://github.com/finger-gun/sisu/actions/workflows/github-code-scanning/codeql)
|
|
@@ -62,3 +62,78 @@ Discover what you can do through examples or documentation. Check it out at http
|
|
|
62
62
|
- [License](https://github.com/finger-gun/sisu/blob/main/LICENSE)
|
|
63
63
|
- [Report a Bug](https://github.com/finger-gun/sisu/issues/new?template=bug_report.md)
|
|
64
64
|
- [Request a Feature](https://github.com/finger-gun/sisu/issues/new?template=feature_request.md)
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Documentation
|
|
69
|
+
|
|
70
|
+
**Core** — [Package docs](packages/core/README.md) · [Error types](packages/core/ERROR_TYPES.md)
|
|
71
|
+
|
|
72
|
+
**Adapters** — [OpenAI](packages/adapters/openai/README.md) · [Anthropic](packages/adapters/anthropic/README.md) · [Ollama](packages/adapters/ollama/README.md)
|
|
73
|
+
|
|
74
|
+
<details>
|
|
75
|
+
<summary>All middleware packages</summary>
|
|
76
|
+
|
|
77
|
+
- [@sisu-ai/mw-agent-run-api](packages/middleware/agent-run-api/README.md)
|
|
78
|
+
- [@sisu-ai/mw-context-compressor](packages/middleware/context-compressor/README.md)
|
|
79
|
+
- [@sisu-ai/mw-control-flow](packages/middleware/control-flow/README.md)
|
|
80
|
+
- [@sisu-ai/mw-conversation-buffer](packages/middleware/conversation-buffer/README.md)
|
|
81
|
+
- [@sisu-ai/mw-cors](packages/middleware/cors/README.md)
|
|
82
|
+
- [@sisu-ai/mw-error-boundary](packages/middleware/error-boundary/README.md)
|
|
83
|
+
- [@sisu-ai/mw-guardrails](packages/middleware/guardrails/README.md)
|
|
84
|
+
- [@sisu-ai/mw-invariants](packages/middleware/invariants/README.md)
|
|
85
|
+
- [@sisu-ai/mw-orchestration](packages/middleware/orchestration/README.md)
|
|
86
|
+
- [@sisu-ai/mw-rag](packages/middleware/rag/README.md)
|
|
87
|
+
- [@sisu-ai/mw-react-parser](packages/middleware/react-parser/README.md)
|
|
88
|
+
- [@sisu-ai/mw-register-tools](packages/middleware/register-tools/README.md)
|
|
89
|
+
- [@sisu-ai/mw-tool-calling](packages/middleware/tool-calling/README.md)
|
|
90
|
+
- [@sisu-ai/mw-trace-viewer](packages/middleware/trace-viewer/README.md)
|
|
91
|
+
- [@sisu-ai/mw-usage-tracker](packages/middleware/usage-tracker/README.md)
|
|
92
|
+
</details>
|
|
93
|
+
|
|
94
|
+
<details>
|
|
95
|
+
<summary>All tool packages</summary>
|
|
96
|
+
|
|
97
|
+
- [@sisu-ai/tool-aws-s3](packages/tools/aws-s3/README.md)
|
|
98
|
+
- [@sisu-ai/tool-azure-blob](packages/tools/azure-blob/README.md)
|
|
99
|
+
- [@sisu-ai/tool-extract-urls](packages/tools/extract-urls/README.md)
|
|
100
|
+
- [@sisu-ai/tool-github-projects](packages/tools/github-projects/README.md)
|
|
101
|
+
- [@sisu-ai/tool-summarize-text](packages/tools/summarize-text/README.md)
|
|
102
|
+
- [@sisu-ai/tool-terminal](packages/tools/terminal/README.md)
|
|
103
|
+
- [@sisu-ai/tool-vec-chroma](packages/tools/vec-chroma/README.md)
|
|
104
|
+
- [@sisu-ai/tool-web-fetch](packages/tools/web-fetch/README.md)
|
|
105
|
+
- [@sisu-ai/tool-web-search-duckduckgo](packages/tools/web-search-duckduckgo/README.md)
|
|
106
|
+
- [@sisu-ai/tool-web-search-google](packages/tools/web-search-google/README.md)
|
|
107
|
+
- [@sisu-ai/tool-web-search-openai](packages/tools/web-search-openai/README.md)
|
|
108
|
+
- [@sisu-ai/tool-wikipedia](packages/tools/wikipedia/README.md)
|
|
109
|
+
</details>
|
|
110
|
+
|
|
111
|
+
<details>
|
|
112
|
+
<summary>All examples</summary>
|
|
113
|
+
|
|
114
|
+
**Anthropic** — [hello](examples/anthropic-hello/README.md) · [control-flow](examples/anthropic-control-flow/README.md) · [stream](examples/anthropic-stream/README.md) · [weather](examples/anthropic-weather/README.md)
|
|
115
|
+
|
|
116
|
+
**Ollama** — [hello](examples/ollama-hello/README.md) · [stream](examples/ollama-stream/README.md) · [vision](examples/ollama-vision/README.md) · [weather](examples/ollama-weather/README.md) · [web-search](examples/ollama-web-search/README.md)
|
|
117
|
+
|
|
118
|
+
**OpenAI** — [hello](examples/openai-hello/README.md) · [weather](examples/openai-weather/README.md) · [stream](examples/openai-stream/README.md) · [vision](examples/openai-vision/README.md) · [reasoning](examples/openai-reasoning/README.md) · [react](examples/openai-react/README.md) · [control-flow](examples/openai-control-flow/README.md) · [branch](examples/openai-branch/README.md) · [parallel](examples/openai-parallel/README.md) · [graph](examples/openai-graph/README.md) · [orchestration](examples/openai-orchestration/README.md) · [orchestration-adaptive](examples/openai-orchestration-adaptive/README.md) · [guardrails](examples/openai-guardrails/README.md) · [error-handling](examples/openai-error-handling/README.md) · [rag-chroma](examples/openai-rag-chroma/README.md) · [web-search](examples/openai-web-search/README.md) · [web-fetch](examples/openai-web-fetch/README.md) · [wikipedia](examples/openai-wikipedia/README.md) · [terminal](examples/openai-terminal/README.md) · [github-projects](examples/openai-github-projects/README.md) · [server](examples/openai-server/README.md) · [aws-s3](examples/openai-aws-s3/README.md) · [azure-blob](examples/openai-azure-blob/README.md)
|
|
119
|
+
</details>
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Contributing
|
|
124
|
+
|
|
125
|
+
We build Sisu in the open. Contributions welcome.
|
|
126
|
+
|
|
127
|
+
[Contributing Guide](CONTRIBUTING.md) · [Report a Bug](https://github.com/finger-gun/sisu/issues/new?template=bug_report.md) · [Request a Feature](https://github.com/finger-gun/sisu/issues/new?template=feature_request.md) · [Code of Conduct](CODE_OF_CONDUCT.md)
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
<div align="center">
|
|
132
|
+
|
|
133
|
+
**[Star on GitHub](https://github.com/finger-gun/sisu)** if Sisu helps you build better agents.
|
|
134
|
+
|
|
135
|
+
*Quiet, determined, relentlessly useful.*
|
|
136
|
+
|
|
137
|
+
[Apache 2.0 License](LICENSE)
|
|
138
|
+
|
|
139
|
+
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisu-ai/mw-usage-tracker",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@sisu-ai/core": "^2.3.
|
|
15
|
+
"@sisu-ai/core": "^2.3.3"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|