@meetkai/mka1 0.48.39 → 0.48.40
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/bin/mcp-server.js +30 -10
- package/bin/mcp-server.js.map +20 -20
- package/dist/commonjs/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsList.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsList.js +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.js +4 -0
- package/dist/commonjs/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.js +4 -0
- package/dist/commonjs/models/operations/getorgbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.js +4 -0
- package/dist/commonjs/models/operations/listbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.js +4 -0
- package/dist/commonjs/models/operations/setapikeybudget.js.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.js +4 -0
- package/dist/commonjs/models/operations/setorgbudget.js.map +1 -1
- package/dist/commonjs/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/commonjs/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsGetApiKey.js +2 -2
- package/dist/commonjs/react-query/budgetsList.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsList.js +2 -2
- package/dist/commonjs/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/sdk/budgets.d.ts +5 -5
- package/dist/commonjs/sdk/budgets.js +5 -5
- package/dist/esm/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/esm/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.js +1 -1
- package/dist/esm/funcs/budgetsList.d.ts +1 -1
- package/dist/esm/funcs/budgetsList.js +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.d.ts +2 -0
- package/dist/esm/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.js +4 -0
- package/dist/esm/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/esm/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.js +4 -0
- package/dist/esm/models/operations/getorgbudgets.js.map +1 -1
- package/dist/esm/models/operations/listbudgets.d.ts +2 -0
- package/dist/esm/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/listbudgets.js +4 -0
- package/dist/esm/models/operations/listbudgets.js.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/esm/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.js +4 -0
- package/dist/esm/models/operations/setapikeybudget.js.map +1 -1
- package/dist/esm/models/operations/setorgbudget.d.ts +2 -0
- package/dist/esm/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setorgbudget.js +4 -0
- package/dist/esm/models/operations/setorgbudget.js.map +1 -1
- package/dist/esm/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/esm/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/esm/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/esm/react-query/budgetsGetApiKey.js +2 -2
- package/dist/esm/react-query/budgetsList.d.ts +2 -2
- package/dist/esm/react-query/budgetsList.js +2 -2
- package/dist/esm/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsSetApiKey.js +1 -1
- package/dist/esm/sdk/budgets.d.ts +5 -5
- package/dist/esm/sdk/budgets.js +5 -5
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/budgetsApiKeyEvents.ts +1 -1
- package/src/funcs/budgetsDeleteApiKey.ts +1 -1
- package/src/funcs/budgetsGetApiKey.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsSetApiKey.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/budgetsApiKeyEvents.ts +1 -1
- package/src/mcp-server/tools/budgetsDeleteApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsGetApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsList.ts +1 -1
- package/src/mcp-server/tools/budgetsSetApiKey.ts +1 -1
- package/src/models/operations/getapikeybudgets.ts +6 -0
- package/src/models/operations/getorgbudgets.ts +6 -0
- package/src/models/operations/listbudgets.ts +6 -0
- package/src/models/operations/setapikeybudget.ts +6 -0
- package/src/models/operations/setorgbudget.ts +6 -0
- package/src/react-query/budgetsApiKeyEvents.ts +2 -2
- package/src/react-query/budgetsDeleteApiKey.ts +1 -1
- package/src/react-query/budgetsGetApiKey.ts +2 -2
- package/src/react-query/budgetsList.ts +2 -2
- package/src/react-query/budgetsSetApiKey.ts +1 -1
- package/src/sdk/budgets.ts +5 -5
package/bin/mcp-server.js
CHANGED
|
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
|
|
|
52876
52876
|
SDK_METADATA = {
|
|
52877
52877
|
language: "typescript",
|
|
52878
52878
|
openapiDocVersion: "1.1.0",
|
|
52879
|
-
sdkVersion: "0.48.
|
|
52879
|
+
sdkVersion: "0.48.40",
|
|
52880
52880
|
genVersion: "2.916.2",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.48.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.48.40 2.916.2 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -89036,6 +89036,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89036
89036
|
id: stringType(),
|
|
89037
89037
|
scope: GetApiKeyBudgetsScope$inboundSchema,
|
|
89038
89038
|
scope_id: stringType(),
|
|
89039
|
+
scope_org_id: nullableType(stringType()),
|
|
89039
89040
|
owner: GetApiKeyBudgetsOwner$inboundSchema,
|
|
89040
89041
|
period: GetApiKeyBudgetsPeriod$inboundSchema,
|
|
89041
89042
|
limit: numberType(),
|
|
@@ -89045,6 +89046,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89045
89046
|
}).transform((v2) => {
|
|
89046
89047
|
return remap(v2, {
|
|
89047
89048
|
scope_id: "scopeId",
|
|
89049
|
+
scope_org_id: "scopeOrgId",
|
|
89048
89050
|
alert_webhook_url: "alertWebhookUrl"
|
|
89049
89051
|
});
|
|
89050
89052
|
});
|
|
@@ -89052,6 +89054,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89052
89054
|
id: stringType(),
|
|
89053
89055
|
scope: GetApiKeyBudgetsScope$outboundSchema,
|
|
89054
89056
|
scopeId: stringType(),
|
|
89057
|
+
scopeOrgId: nullableType(stringType()),
|
|
89055
89058
|
owner: GetApiKeyBudgetsOwner$outboundSchema,
|
|
89056
89059
|
period: GetApiKeyBudgetsPeriod$outboundSchema,
|
|
89057
89060
|
limit: numberType(),
|
|
@@ -89061,6 +89064,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89061
89064
|
}).transform((v2) => {
|
|
89062
89065
|
return remap(v2, {
|
|
89063
89066
|
scopeId: "scope_id",
|
|
89067
|
+
scopeOrgId: "scope_org_id",
|
|
89064
89068
|
alertWebhookUrl: "alert_webhook_url"
|
|
89065
89069
|
});
|
|
89066
89070
|
});
|
|
@@ -91391,6 +91395,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91391
91395
|
id: stringType(),
|
|
91392
91396
|
scope: GetOrgBudgetsScope$inboundSchema,
|
|
91393
91397
|
scope_id: stringType(),
|
|
91398
|
+
scope_org_id: nullableType(stringType()),
|
|
91394
91399
|
owner: GetOrgBudgetsOwner$inboundSchema,
|
|
91395
91400
|
period: GetOrgBudgetsPeriod$inboundSchema,
|
|
91396
91401
|
limit: numberType(),
|
|
@@ -91400,6 +91405,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91400
91405
|
}).transform((v2) => {
|
|
91401
91406
|
return remap(v2, {
|
|
91402
91407
|
scope_id: "scopeId",
|
|
91408
|
+
scope_org_id: "scopeOrgId",
|
|
91403
91409
|
alert_webhook_url: "alertWebhookUrl"
|
|
91404
91410
|
});
|
|
91405
91411
|
});
|
|
@@ -91407,6 +91413,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91407
91413
|
id: stringType(),
|
|
91408
91414
|
scope: GetOrgBudgetsScope$outboundSchema,
|
|
91409
91415
|
scopeId: stringType(),
|
|
91416
|
+
scopeOrgId: nullableType(stringType()),
|
|
91410
91417
|
owner: GetOrgBudgetsOwner$outboundSchema,
|
|
91411
91418
|
period: GetOrgBudgetsPeriod$outboundSchema,
|
|
91412
91419
|
limit: numberType(),
|
|
@@ -91416,6 +91423,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91416
91423
|
}).transform((v2) => {
|
|
91417
91424
|
return remap(v2, {
|
|
91418
91425
|
scopeId: "scope_id",
|
|
91426
|
+
scopeOrgId: "scope_org_id",
|
|
91419
91427
|
alertWebhookUrl: "alert_webhook_url"
|
|
91420
91428
|
});
|
|
91421
91429
|
});
|
|
@@ -92987,6 +92995,7 @@ var init_listbudgets = __esm(() => {
|
|
|
92987
92995
|
id: stringType(),
|
|
92988
92996
|
scope: ListBudgetsScope$inboundSchema,
|
|
92989
92997
|
scope_id: stringType(),
|
|
92998
|
+
scope_org_id: nullableType(stringType()),
|
|
92990
92999
|
owner: ListBudgetsOwner$inboundSchema,
|
|
92991
93000
|
period: ListBudgetsPeriod$inboundSchema,
|
|
92992
93001
|
limit: numberType(),
|
|
@@ -92996,6 +93005,7 @@ var init_listbudgets = __esm(() => {
|
|
|
92996
93005
|
}).transform((v2) => {
|
|
92997
93006
|
return remap(v2, {
|
|
92998
93007
|
scope_id: "scopeId",
|
|
93008
|
+
scope_org_id: "scopeOrgId",
|
|
92999
93009
|
alert_webhook_url: "alertWebhookUrl"
|
|
93000
93010
|
});
|
|
93001
93011
|
});
|
|
@@ -93003,6 +93013,7 @@ var init_listbudgets = __esm(() => {
|
|
|
93003
93013
|
id: stringType(),
|
|
93004
93014
|
scope: ListBudgetsScope$outboundSchema,
|
|
93005
93015
|
scopeId: stringType(),
|
|
93016
|
+
scopeOrgId: nullableType(stringType()),
|
|
93006
93017
|
owner: ListBudgetsOwner$outboundSchema,
|
|
93007
93018
|
period: ListBudgetsPeriod$outboundSchema,
|
|
93008
93019
|
limit: numberType(),
|
|
@@ -93012,6 +93023,7 @@ var init_listbudgets = __esm(() => {
|
|
|
93012
93023
|
}).transform((v2) => {
|
|
93013
93024
|
return remap(v2, {
|
|
93014
93025
|
scopeId: "scope_id",
|
|
93026
|
+
scopeOrgId: "scope_org_id",
|
|
93015
93027
|
alertWebhookUrl: "alert_webhook_url"
|
|
93016
93028
|
});
|
|
93017
93029
|
});
|
|
@@ -97140,6 +97152,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97140
97152
|
id: stringType(),
|
|
97141
97153
|
scope: SetApiKeyBudgetScope$inboundSchema,
|
|
97142
97154
|
scope_id: stringType(),
|
|
97155
|
+
scope_org_id: nullableType(stringType()),
|
|
97143
97156
|
owner: SetApiKeyBudgetBudgetsOwner$inboundSchema,
|
|
97144
97157
|
period: SetApiKeyBudgetBudgetsPeriod$inboundSchema,
|
|
97145
97158
|
limit: numberType(),
|
|
@@ -97149,6 +97162,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97149
97162
|
}).transform((v2) => {
|
|
97150
97163
|
return remap(v2, {
|
|
97151
97164
|
scope_id: "scopeId",
|
|
97165
|
+
scope_org_id: "scopeOrgId",
|
|
97152
97166
|
alert_webhook_url: "alertWebhookUrl"
|
|
97153
97167
|
});
|
|
97154
97168
|
});
|
|
@@ -97156,6 +97170,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97156
97170
|
id: stringType(),
|
|
97157
97171
|
scope: SetApiKeyBudgetScope$outboundSchema,
|
|
97158
97172
|
scopeId: stringType(),
|
|
97173
|
+
scopeOrgId: nullableType(stringType()),
|
|
97159
97174
|
owner: SetApiKeyBudgetBudgetsOwner$outboundSchema,
|
|
97160
97175
|
period: SetApiKeyBudgetBudgetsPeriod$outboundSchema,
|
|
97161
97176
|
limit: numberType(),
|
|
@@ -97165,6 +97180,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97165
97180
|
}).transform((v2) => {
|
|
97166
97181
|
return remap(v2, {
|
|
97167
97182
|
scopeId: "scope_id",
|
|
97183
|
+
scopeOrgId: "scope_org_id",
|
|
97168
97184
|
alertWebhookUrl: "alert_webhook_url"
|
|
97169
97185
|
});
|
|
97170
97186
|
});
|
|
@@ -97327,6 +97343,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97327
97343
|
id: stringType(),
|
|
97328
97344
|
scope: Scope$inboundSchema2,
|
|
97329
97345
|
scope_id: stringType(),
|
|
97346
|
+
scope_org_id: nullableType(stringType()),
|
|
97330
97347
|
owner: SetOrgBudgetOwner$inboundSchema,
|
|
97331
97348
|
period: SetOrgBudgetPeriod$inboundSchema,
|
|
97332
97349
|
limit: numberType(),
|
|
@@ -97336,6 +97353,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97336
97353
|
}).transform((v2) => {
|
|
97337
97354
|
return remap(v2, {
|
|
97338
97355
|
scope_id: "scopeId",
|
|
97356
|
+
scope_org_id: "scopeOrgId",
|
|
97339
97357
|
alert_webhook_url: "alertWebhookUrl"
|
|
97340
97358
|
});
|
|
97341
97359
|
});
|
|
@@ -97343,6 +97361,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97343
97361
|
id: stringType(),
|
|
97344
97362
|
scope: Scope$outboundSchema2,
|
|
97345
97363
|
scopeId: stringType(),
|
|
97364
|
+
scopeOrgId: nullableType(stringType()),
|
|
97346
97365
|
owner: SetOrgBudgetOwner$outboundSchema,
|
|
97347
97366
|
period: SetOrgBudgetPeriod$outboundSchema,
|
|
97348
97367
|
limit: numberType(),
|
|
@@ -97352,6 +97371,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97352
97371
|
}).transform((v2) => {
|
|
97353
97372
|
return remap(v2, {
|
|
97354
97373
|
scopeId: "scope_id",
|
|
97374
|
+
scopeOrgId: "scope_org_id",
|
|
97355
97375
|
alertWebhookUrl: "alert_webhook_url"
|
|
97356
97376
|
});
|
|
97357
97377
|
});
|
|
@@ -106638,7 +106658,7 @@ var init_budgetsApiKeyEvents2 = __esm(() => {
|
|
|
106638
106658
|
name: "budgets-api-key-events",
|
|
106639
106659
|
description: `List apikey budget events
|
|
106640
106660
|
|
|
106641
|
-
Returns recent threshold-alert and block events for the scope's budgets.`,
|
|
106661
|
+
Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
106642
106662
|
args: args58,
|
|
106643
106663
|
tool: async (client, args59, ctx) => {
|
|
106644
106664
|
const [result, apiCall] = await budgetsApiKeyEvents(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -106756,7 +106776,7 @@ var init_budgetsDeleteApiKey2 = __esm(() => {
|
|
|
106756
106776
|
name: "budgets-delete-api-key",
|
|
106757
106777
|
description: `Delete a apikey budget
|
|
106758
106778
|
|
|
106759
|
-
Removes the apikey's budget for the given owner; enforcement and alerts stop.`,
|
|
106779
|
+
Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
106760
106780
|
args: args59,
|
|
106761
106781
|
tool: async (client, args60, ctx) => {
|
|
106762
106782
|
const [result, apiCall] = await budgetsDeleteApiKey(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -106988,7 +107008,7 @@ var init_budgetsGetApiKey2 = __esm(() => {
|
|
|
106988
107008
|
name: "budgets-get-api-key",
|
|
106989
107009
|
description: `List apikey budgets
|
|
106990
107010
|
|
|
106991
|
-
Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.`,
|
|
107011
|
+
Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
106992
107012
|
args: args61,
|
|
106993
107013
|
tool: async (client, args62, ctx) => {
|
|
106994
107014
|
const [result, apiCall] = await budgetsGetApiKey(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -107289,7 +107309,7 @@ var init_budgetsList2 = __esm(() => {
|
|
|
107289
107309
|
name: "budgets-list",
|
|
107290
107310
|
description: `List budgets
|
|
107291
107311
|
|
|
107292
|
-
Cluster admins see all budgets; org admins see their org's budgets.`,
|
|
107312
|
+
Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.`,
|
|
107293
107313
|
tool: async (client, ctx) => {
|
|
107294
107314
|
const [result, apiCall] = await budgetsList(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
107295
107315
|
if (!result.ok) {
|
|
@@ -107517,7 +107537,7 @@ var init_budgetsSetApiKey2 = __esm(() => {
|
|
|
107517
107537
|
name: "budgets-set-api-key",
|
|
107518
107538
|
description: `Set a apikey budget
|
|
107519
107539
|
|
|
107520
|
-
Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.`,
|
|
107540
|
+
Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
107521
107541
|
args: args64,
|
|
107522
107542
|
tool: async (client, args65, ctx) => {
|
|
107523
107543
|
const [result, apiCall] = await budgetsSetApiKey(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -139014,7 +139034,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
139014
139034
|
function createMCPServer(deps) {
|
|
139015
139035
|
const server = new McpServer({
|
|
139016
139036
|
name: "SDK",
|
|
139017
|
-
version: "0.48.
|
|
139037
|
+
version: "0.48.40"
|
|
139018
139038
|
});
|
|
139019
139039
|
const client = new SDKCore({
|
|
139020
139040
|
bearerAuth: deps.bearerAuth,
|
|
@@ -140878,7 +140898,7 @@ var routes = rn({
|
|
|
140878
140898
|
var app = Ve(routes, {
|
|
140879
140899
|
name: "mcp",
|
|
140880
140900
|
versionInfo: {
|
|
140881
|
-
currentVersion: "0.48.
|
|
140901
|
+
currentVersion: "0.48.40"
|
|
140882
140902
|
}
|
|
140883
140903
|
});
|
|
140884
140904
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -140886,5 +140906,5 @@ export {
|
|
|
140886
140906
|
app
|
|
140887
140907
|
};
|
|
140888
140908
|
|
|
140889
|
-
//# debugId=
|
|
140909
|
+
//# debugId=7727CD425E1A16C964756E2164756E21
|
|
140890
140910
|
//# sourceMappingURL=mcp-server.js.map
|