substrai-costsentinel 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/README.md +22 -0
- package/index.d.ts +11 -0
- package/index.js +27 -0
- package/package.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# substrai-costsentinel
|
|
2
|
+
|
|
3
|
+
**Real-time GenAI cost governance framework — budget enforcement, model routing, and attribution for LLM API calls.**
|
|
4
|
+
|
|
5
|
+
> Primary implementation is in Python. TypeScript SDK coming soon.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install substrai-costsentinel # Python (primary)
|
|
11
|
+
npm install substrai-costsentinel # npm (placeholder)
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Links
|
|
15
|
+
|
|
16
|
+
- **GitHub**: [github.com/substrai/costsentinel](https://github.com/substrai/costsentinel)
|
|
17
|
+
- **PyPI**: [pypi.org/project/substrai-costsentinel](https://pypi.org/project/substrai-costsentinel/)
|
|
18
|
+
- **Website**: [substrai.dev](https://substrai.dev)
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
MIT
|
package/index.d.ts
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CostSentinel - Real-time GenAI cost governance framework
|
|
3
|
+
*
|
|
4
|
+
* This is the npm placeholder package for CostSentinel.
|
|
5
|
+
* The primary implementation is in Python: pip install substrai-costsentinel
|
|
6
|
+
*
|
|
7
|
+
* TypeScript SDK coming soon.
|
|
8
|
+
*
|
|
9
|
+
* @see https://github.com/substrai/costsentinel
|
|
10
|
+
* @see https://pypi.org/project/substrai-costsentinel/
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
"use strict";
|
|
14
|
+
|
|
15
|
+
const VERSION = "0.1.0";
|
|
16
|
+
|
|
17
|
+
module.exports = {
|
|
18
|
+
VERSION,
|
|
19
|
+
info: () => ({
|
|
20
|
+
name: "substrai-costsentinel",
|
|
21
|
+
version: VERSION,
|
|
22
|
+
description: "Real-time GenAI cost governance framework",
|
|
23
|
+
python_package: "pip install substrai-costsentinel",
|
|
24
|
+
repository: "https://github.com/substrai/costsentinel",
|
|
25
|
+
documentation: "https://docs.substrai.dev/costsentinel",
|
|
26
|
+
}),
|
|
27
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "substrai-costsentinel",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Real-time GenAI cost governance framework — budget enforcement, model routing, and attribution for LLM API calls",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"llm",
|
|
9
|
+
"cost",
|
|
10
|
+
"governance",
|
|
11
|
+
"budget",
|
|
12
|
+
"genai",
|
|
13
|
+
"serverless",
|
|
14
|
+
"aws",
|
|
15
|
+
"lambda",
|
|
16
|
+
"middleware",
|
|
17
|
+
"finops"
|
|
18
|
+
],
|
|
19
|
+
"author": "Gaurav Kumar Sinha <gaurav@substrai.dev>",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"homepage": "https://substrai.dev",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/substrai/costsentinel"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/substrai/costsentinel/issues"
|
|
28
|
+
}
|
|
29
|
+
}
|