@acarmisc/backstage-plugin-litellm 0.16.0 → 0.18.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/dist/components/TeamUsage.d.ts +3 -0
- package/dist/index.cjs.js +282 -167
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.esm.js +292 -177
- package/dist/index.esm.js.map +3 -3
- package/dist/types.d.ts +3 -2
- package/package.json +4 -1
package/dist/types.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface TeamInfo {
|
|
|
26
26
|
team_id: string;
|
|
27
27
|
team_alias?: string;
|
|
28
28
|
max_budget?: number;
|
|
29
|
+
budget_duration?: string;
|
|
29
30
|
spend: number;
|
|
30
31
|
members_with_roles?: TeamMember[];
|
|
31
32
|
models?: string[];
|
|
@@ -164,8 +165,8 @@ export interface LiteLlmConfig {
|
|
|
164
165
|
teamManagement?: {
|
|
165
166
|
/** True only when the permission framework is enabled AND an admin group is configured. */
|
|
166
167
|
enabled: boolean;
|
|
167
|
-
/** USD ceiling an admin may set as a team budget
|
|
168
|
-
maxBudgetCeiling: number
|
|
168
|
+
/** USD ceiling an admin may set as a team budget (defaults to 1000). */
|
|
169
|
+
maxBudgetCeiling: number;
|
|
169
170
|
/** Whether an admin may create a team with no budget cap. */
|
|
170
171
|
allowUnlimitedBudget: boolean;
|
|
171
172
|
/** Whether knowledge-base / MCP management routes are enabled (opt-in). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acarmisc/backstage-plugin-litellm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "litellm",
|
|
@@ -40,9 +40,11 @@
|
|
|
40
40
|
"postpack": ""
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
+
"@backstage/catalog-model": "^1.9.0",
|
|
43
44
|
"@backstage/core-components": "^0.18.10",
|
|
44
45
|
"@backstage/core-plugin-api": "^1.12.6",
|
|
45
46
|
"@backstage/frontend-plugin-api": "^0.17.0",
|
|
47
|
+
"@backstage/plugin-catalog-react": "^3.1.0",
|
|
46
48
|
"@backstage/plugin-permission-common": "^0.9.9",
|
|
47
49
|
"@backstage/plugin-permission-react": "^0.5.3",
|
|
48
50
|
"@backstage/theme": "^0.6.0",
|
|
@@ -57,6 +59,7 @@
|
|
|
57
59
|
"zod": "^3.22.4"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
|
62
|
+
"@backstage/catalog-client": "^1.16.1",
|
|
60
63
|
"@backstage/cli": "^0.36.2",
|
|
61
64
|
"@backstage/frontend-defaults": "^0.5.3",
|
|
62
65
|
"@backstage/frontend-test-utils": "^0.6.0",
|