@meetkai/mka1 0.54.103 → 0.54.104
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 +7 -7
- package/bin/mcp-server.js.map +9 -9
- package/dist/commonjs/funcs/guardrailsGetClusterDefaultGuardrails.d.ts +1 -1
- package/dist/commonjs/funcs/guardrailsGetClusterDefaultGuardrails.js +1 -1
- package/dist/commonjs/funcs/guardrailsResetClusterDefaultGuardrails.d.ts +1 -1
- package/dist/commonjs/funcs/guardrailsResetClusterDefaultGuardrails.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/guardrailsGetClusterDefaultGuardrails.js +1 -1
- package/dist/commonjs/mcp-server/tools/guardrailsGetClusterDefaultGuardrails.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.js +1 -1
- package/dist/commonjs/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.js.map +1 -1
- package/dist/commonjs/models/components/clusterdefaultguardrailsresponse.d.ts +2 -2
- package/dist/commonjs/react-query/guardrailsGetClusterDefaultGuardrails.d.ts +2 -2
- package/dist/commonjs/react-query/guardrailsGetClusterDefaultGuardrails.js +2 -2
- package/dist/commonjs/react-query/guardrailsResetClusterDefaultGuardrails.d.ts +1 -1
- package/dist/commonjs/react-query/guardrailsResetClusterDefaultGuardrails.js +1 -1
- package/dist/commonjs/sdk/guardrails.d.ts +2 -2
- package/dist/commonjs/sdk/guardrails.js +2 -2
- package/dist/esm/funcs/guardrailsGetClusterDefaultGuardrails.d.ts +1 -1
- package/dist/esm/funcs/guardrailsGetClusterDefaultGuardrails.js +1 -1
- package/dist/esm/funcs/guardrailsResetClusterDefaultGuardrails.d.ts +1 -1
- package/dist/esm/funcs/guardrailsResetClusterDefaultGuardrails.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/guardrailsGetClusterDefaultGuardrails.js +1 -1
- package/dist/esm/mcp-server/tools/guardrailsGetClusterDefaultGuardrails.js.map +1 -1
- package/dist/esm/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.js +1 -1
- package/dist/esm/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.js.map +1 -1
- package/dist/esm/models/components/clusterdefaultguardrailsresponse.d.ts +2 -2
- package/dist/esm/react-query/guardrailsGetClusterDefaultGuardrails.d.ts +2 -2
- package/dist/esm/react-query/guardrailsGetClusterDefaultGuardrails.js +2 -2
- package/dist/esm/react-query/guardrailsResetClusterDefaultGuardrails.d.ts +1 -1
- package/dist/esm/react-query/guardrailsResetClusterDefaultGuardrails.js +1 -1
- package/dist/esm/sdk/guardrails.d.ts +2 -2
- package/dist/esm/sdk/guardrails.js +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/guardrailsGetClusterDefaultGuardrails.ts +1 -1
- package/src/funcs/guardrailsResetClusterDefaultGuardrails.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/guardrailsGetClusterDefaultGuardrails.ts +1 -1
- package/src/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.ts +1 -1
- package/src/models/components/clusterdefaultguardrailsresponse.ts +2 -2
- package/src/react-query/guardrailsGetClusterDefaultGuardrails.ts +2 -2
- package/src/react-query/guardrailsResetClusterDefaultGuardrails.ts +1 -1
- package/src/sdk/guardrails.ts +2 -2
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Get the cluster default guardrails
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
14
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
15
15
|
*
|
|
16
16
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
17
17
|
*/
|
|
@@ -48,7 +48,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
48
48
|
* Get the cluster default guardrails
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
51
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
52
52
|
*
|
|
53
53
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
54
54
|
*/
|
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Reset the cluster default guardrails
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
14
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
15
15
|
*
|
|
16
16
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
17
17
|
*/
|
|
@@ -48,7 +48,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
48
48
|
* Reset the cluster default guardrails
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
51
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
52
52
|
*
|
|
53
53
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
54
54
|
*/
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.54.
|
|
34
|
+
readonly sdkVersion: "0.54.104";
|
|
35
35
|
readonly genVersion: "2.948.4";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.54.104 2.948.4 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "1.1.0",
|
|
38
|
-
sdkVersion: "0.54.
|
|
38
|
+
sdkVersion: "0.54.104",
|
|
39
39
|
genVersion: "2.948.4",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.54.104 2.948.4 1.1.0 @meetkai/mka1",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.54.
|
|
25
|
+
currentVersion: "0.54.104",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -487,7 +487,7 @@ const usageSandbox_js_1 = require("./tools/usageSandbox.js");
|
|
|
487
487
|
function createMCPServer(deps) {
|
|
488
488
|
const server = new mcp_js_1.McpServer({
|
|
489
489
|
name: "SDK",
|
|
490
|
-
version: "0.54.
|
|
490
|
+
version: "0.54.104",
|
|
491
491
|
});
|
|
492
492
|
const client = new core_js_1.SDKCore({
|
|
493
493
|
bearerAuth: deps.bearerAuth,
|
|
@@ -10,7 +10,7 @@ exports.tool$guardrailsGetClusterDefaultGuardrails = {
|
|
|
10
10
|
name: "guardrails-get-cluster-default-guardrails",
|
|
11
11
|
description: `Get the cluster default guardrails
|
|
12
12
|
|
|
13
|
-
Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
13
|
+
Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.`,
|
|
14
14
|
tool: async (client, ctx) => {
|
|
15
15
|
const [result, apiCall] = await (0, guardrailsGetClusterDefaultGuardrails_js_1.guardrailsGetClusterDefaultGuardrails)(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
16
16
|
if (!result.ok) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guardrailsGetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsGetClusterDefaultGuardrails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,mHAA6G;AAC7G,0CAA2D;AAE9C,QAAA,0CAA0C,GAAmB;IACxE,IAAI,EAAE,2CAA2C;IACjD,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"guardrailsGetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsGetClusterDefaultGuardrails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,mHAA6G;AAC7G,0CAA2D;AAE9C,QAAA,0CAA0C,GAAmB;IACxE,IAAI,EAAE,2CAA2C;IACjD,WAAW,EAAE;;+OAEgO;IAC7O,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,gFAAqC,EACnE,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -10,7 +10,7 @@ exports.tool$guardrailsResetClusterDefaultGuardrails = {
|
|
|
10
10
|
name: "guardrails-reset-cluster-default-guardrails",
|
|
11
11
|
description: `Reset the cluster default guardrails
|
|
12
12
|
|
|
13
|
-
Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
13
|
+
Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.`,
|
|
14
14
|
tool: async (client, ctx) => {
|
|
15
15
|
const [result, apiCall] = await (0, guardrailsResetClusterDefaultGuardrails_js_1.guardrailsResetClusterDefaultGuardrails)(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
16
16
|
if (!result.ok) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guardrailsResetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uHAAiH;AACjH,0CAA2D;AAE9C,QAAA,4CAA4C,GAAmB;IAC1E,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"guardrailsResetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uHAAiH;AACjH,0CAA2D;AAE9C,QAAA,4CAA4C,GAAmB;IAC1E,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE;;8MAE+L;IAC5M,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,oFAAuC,EACrE,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -13,11 +13,11 @@ export type ClusterDefaultGuardrailsResponse = {
|
|
|
13
13
|
*/
|
|
14
14
|
guardrails: Array<GuardrailConfig>;
|
|
15
15
|
/**
|
|
16
|
-
* True while the cluster runs the built-in default (
|
|
16
|
+
* True while the cluster runs the built-in default (switched on, with no rules) because no operator has saved one
|
|
17
17
|
*/
|
|
18
18
|
builtIn: boolean;
|
|
19
19
|
/**
|
|
20
|
-
* True when
|
|
20
|
+
* True when some saved cluster default rules cannot be read: only the rules shown here are enforced. Saving this state back drops the unreadable rules, so do not unless that is intended
|
|
21
21
|
*/
|
|
22
22
|
settingsUnreadable: boolean;
|
|
23
23
|
/**
|
|
@@ -11,14 +11,14 @@ export type GuardrailsGetClusterDefaultGuardrailsQueryError = SDKError | Respons
|
|
|
11
11
|
* Get the cluster default guardrails
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
14
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
15
15
|
*/
|
|
16
16
|
export declare function useGuardrailsGetClusterDefaultGuardrails(options?: QueryHookOptions<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>): UseQueryResult<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>;
|
|
17
17
|
/**
|
|
18
18
|
* Get the cluster default guardrails
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
21
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useGuardrailsGetClusterDefaultGuardrailsSuspense(options?: SuspenseQueryHookOptions<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>): UseSuspenseQueryResult<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>;
|
|
24
24
|
export declare function setGuardrailsGetClusterDefaultGuardrailsData(client: QueryClient, data: GuardrailsGetClusterDefaultGuardrailsQueryData): GuardrailsGetClusterDefaultGuardrailsQueryData | undefined;
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "queryKeyGuardrailsGetClusterDefaultGuardrails",
|
|
|
18
18
|
* Get the cluster default guardrails
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
21
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
22
22
|
*/
|
|
23
23
|
function useGuardrailsGetClusterDefaultGuardrails(options) {
|
|
24
24
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -31,7 +31,7 @@ function useGuardrailsGetClusterDefaultGuardrails(options) {
|
|
|
31
31
|
* Get the cluster default guardrails
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
34
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
35
35
|
*/
|
|
36
36
|
function useGuardrailsGetClusterDefaultGuardrailsSuspense(options) {
|
|
37
37
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -16,7 +16,7 @@ export type GuardrailsResetClusterDefaultGuardrailsMutationError = SDKError | Re
|
|
|
16
16
|
* Reset the cluster default guardrails
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
19
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useGuardrailsResetClusterDefaultGuardrailsMutation(options?: MutationHookOptions<GuardrailsResetClusterDefaultGuardrailsMutationData, GuardrailsResetClusterDefaultGuardrailsMutationError, GuardrailsResetClusterDefaultGuardrailsMutationVariables>): UseMutationResult<GuardrailsResetClusterDefaultGuardrailsMutationData, GuardrailsResetClusterDefaultGuardrailsMutationError, GuardrailsResetClusterDefaultGuardrailsMutationVariables>;
|
|
22
22
|
export declare function mutationKeyGuardrailsResetClusterDefaultGuardrails(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Reset the cluster default guardrails
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
18
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
19
19
|
*/
|
|
20
20
|
function useGuardrailsResetClusterDefaultGuardrailsMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -41,7 +41,7 @@ export declare class Guardrails extends ClientSDK {
|
|
|
41
41
|
* Get the cluster default guardrails
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
44
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
45
45
|
*/
|
|
46
46
|
getClusterDefaultGuardrails(options?: RequestOptions): Promise<components.ClusterDefaultGuardrailsResponse>;
|
|
47
47
|
/**
|
|
@@ -55,7 +55,7 @@ export declare class Guardrails extends ClientSDK {
|
|
|
55
55
|
* Reset the cluster default guardrails
|
|
56
56
|
*
|
|
57
57
|
* @remarks
|
|
58
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
58
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
59
59
|
*/
|
|
60
60
|
resetClusterDefaultGuardrails(options?: RequestOptions): Promise<components.ClusterDefaultGuardrailsResponse>;
|
|
61
61
|
/**
|
|
@@ -66,7 +66,7 @@ class Guardrails extends sdks_js_1.ClientSDK {
|
|
|
66
66
|
* Get the cluster default guardrails
|
|
67
67
|
*
|
|
68
68
|
* @remarks
|
|
69
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
69
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
70
70
|
*/
|
|
71
71
|
async getClusterDefaultGuardrails(options) {
|
|
72
72
|
return (0, fp_js_1.unwrapAsync)((0, guardrailsGetClusterDefaultGuardrails_js_1.guardrailsGetClusterDefaultGuardrails)(this, options));
|
|
@@ -84,7 +84,7 @@ class Guardrails extends sdks_js_1.ClientSDK {
|
|
|
84
84
|
* Reset the cluster default guardrails
|
|
85
85
|
*
|
|
86
86
|
* @remarks
|
|
87
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
87
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
88
88
|
*/
|
|
89
89
|
async resetClusterDefaultGuardrails(options) {
|
|
90
90
|
return (0, fp_js_1.unwrapAsync)((0, guardrailsResetClusterDefaultGuardrails_js_1.guardrailsResetClusterDefaultGuardrails)(this, options));
|
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Get the cluster default guardrails
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
14
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
15
15
|
*
|
|
16
16
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
17
17
|
*/
|
|
@@ -12,7 +12,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
12
12
|
* Get the cluster default guardrails
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
15
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Reset the cluster default guardrails
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
14
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
15
15
|
*
|
|
16
16
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
17
17
|
*/
|
|
@@ -12,7 +12,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
12
12
|
* Reset the cluster default guardrails
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
15
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.54.
|
|
34
|
+
readonly sdkVersion: "0.54.104";
|
|
35
35
|
readonly genVersion: "2.948.4";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.54.104 2.948.4 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "1.1.0",
|
|
34
|
-
sdkVersion: "0.54.
|
|
34
|
+
sdkVersion: "0.54.104",
|
|
35
35
|
genVersion: "2.948.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.54.104 2.948.4 1.1.0 @meetkai/mka1",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -484,7 +484,7 @@ import { tool$usageSandbox } from "./tools/usageSandbox.js";
|
|
|
484
484
|
export function createMCPServer(deps) {
|
|
485
485
|
const server = new McpServer({
|
|
486
486
|
name: "SDK",
|
|
487
|
-
version: "0.54.
|
|
487
|
+
version: "0.54.104",
|
|
488
488
|
});
|
|
489
489
|
const client = new SDKCore({
|
|
490
490
|
bearerAuth: deps.bearerAuth,
|
|
@@ -7,7 +7,7 @@ export const tool$guardrailsGetClusterDefaultGuardrails = {
|
|
|
7
7
|
name: "guardrails-get-cluster-default-guardrails",
|
|
8
8
|
description: `Get the cluster default guardrails
|
|
9
9
|
|
|
10
|
-
Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
10
|
+
Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.`,
|
|
11
11
|
tool: async (client, ctx) => {
|
|
12
12
|
const [result, apiCall] = await guardrailsGetClusterDefaultGuardrails(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
13
13
|
if (!result.ok) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guardrailsGetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsGetClusterDefaultGuardrails.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,0CAA0C,GAAmB;IACxE,IAAI,EAAE,2CAA2C;IACjD,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"guardrailsGetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsGetClusterDefaultGuardrails.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,0CAA0C,GAAmB;IACxE,IAAI,EAAE,2CAA2C;IACjD,WAAW,EAAE;;+OAEgO;IAC7O,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,qCAAqC,CACnE,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -7,7 +7,7 @@ export const tool$guardrailsResetClusterDefaultGuardrails = {
|
|
|
7
7
|
name: "guardrails-reset-cluster-default-guardrails",
|
|
8
8
|
description: `Reset the cluster default guardrails
|
|
9
9
|
|
|
10
|
-
Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
10
|
+
Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.`,
|
|
11
11
|
tool: async (client, ctx) => {
|
|
12
12
|
const [result, apiCall] = await guardrailsResetClusterDefaultGuardrails(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
13
13
|
if (!result.ok) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guardrailsResetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uCAAuC,EAAE,MAAM,wDAAwD,CAAC;AACjH,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,4CAA4C,GAAmB;IAC1E,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"guardrailsResetClusterDefaultGuardrails.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/guardrailsResetClusterDefaultGuardrails.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uCAAuC,EAAE,MAAM,wDAAwD,CAAC;AACjH,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,4CAA4C,GAAmB;IAC1E,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE;;8MAE+L;IAC5M,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,uCAAuC,CACrE,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -13,11 +13,11 @@ export type ClusterDefaultGuardrailsResponse = {
|
|
|
13
13
|
*/
|
|
14
14
|
guardrails: Array<GuardrailConfig>;
|
|
15
15
|
/**
|
|
16
|
-
* True while the cluster runs the built-in default (
|
|
16
|
+
* True while the cluster runs the built-in default (switched on, with no rules) because no operator has saved one
|
|
17
17
|
*/
|
|
18
18
|
builtIn: boolean;
|
|
19
19
|
/**
|
|
20
|
-
* True when
|
|
20
|
+
* True when some saved cluster default rules cannot be read: only the rules shown here are enforced. Saving this state back drops the unreadable rules, so do not unless that is intended
|
|
21
21
|
*/
|
|
22
22
|
settingsUnreadable: boolean;
|
|
23
23
|
/**
|
|
@@ -11,14 +11,14 @@ export type GuardrailsGetClusterDefaultGuardrailsQueryError = SDKError | Respons
|
|
|
11
11
|
* Get the cluster default guardrails
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
14
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
15
15
|
*/
|
|
16
16
|
export declare function useGuardrailsGetClusterDefaultGuardrails(options?: QueryHookOptions<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>): UseQueryResult<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>;
|
|
17
17
|
/**
|
|
18
18
|
* Get the cluster default guardrails
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
21
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useGuardrailsGetClusterDefaultGuardrailsSuspense(options?: SuspenseQueryHookOptions<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>): UseSuspenseQueryResult<GuardrailsGetClusterDefaultGuardrailsQueryData, GuardrailsGetClusterDefaultGuardrailsQueryError>;
|
|
24
24
|
export declare function setGuardrailsGetClusterDefaultGuardrailsData(client: QueryClient, data: GuardrailsGetClusterDefaultGuardrailsQueryData): GuardrailsGetClusterDefaultGuardrailsQueryData | undefined;
|
|
@@ -9,7 +9,7 @@ export { buildGuardrailsGetClusterDefaultGuardrailsQuery, prefetchGuardrailsGetC
|
|
|
9
9
|
* Get the cluster default guardrails
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
12
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
13
13
|
*/
|
|
14
14
|
export function useGuardrailsGetClusterDefaultGuardrails(options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useGuardrailsGetClusterDefaultGuardrails(options) {
|
|
|
22
22
|
* Get the cluster default guardrails
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
25
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
26
26
|
*/
|
|
27
27
|
export function useGuardrailsGetClusterDefaultGuardrailsSuspense(options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -16,7 +16,7 @@ export type GuardrailsResetClusterDefaultGuardrailsMutationError = SDKError | Re
|
|
|
16
16
|
* Reset the cluster default guardrails
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
19
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useGuardrailsResetClusterDefaultGuardrailsMutation(options?: MutationHookOptions<GuardrailsResetClusterDefaultGuardrailsMutationData, GuardrailsResetClusterDefaultGuardrailsMutationError, GuardrailsResetClusterDefaultGuardrailsMutationVariables>): UseMutationResult<GuardrailsResetClusterDefaultGuardrailsMutationData, GuardrailsResetClusterDefaultGuardrailsMutationError, GuardrailsResetClusterDefaultGuardrailsMutationVariables>;
|
|
22
22
|
export declare function mutationKeyGuardrailsResetClusterDefaultGuardrails(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Reset the cluster default guardrails
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
13
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
14
14
|
*/
|
|
15
15
|
export function useGuardrailsResetClusterDefaultGuardrailsMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -41,7 +41,7 @@ export declare class Guardrails extends ClientSDK {
|
|
|
41
41
|
* Get the cluster default guardrails
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
44
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
45
45
|
*/
|
|
46
46
|
getClusterDefaultGuardrails(options?: RequestOptions): Promise<components.ClusterDefaultGuardrailsResponse>;
|
|
47
47
|
/**
|
|
@@ -55,7 +55,7 @@ export declare class Guardrails extends ClientSDK {
|
|
|
55
55
|
* Reset the cluster default guardrails
|
|
56
56
|
*
|
|
57
57
|
* @remarks
|
|
58
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
58
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
59
59
|
*/
|
|
60
60
|
resetClusterDefaultGuardrails(options?: RequestOptions): Promise<components.ClusterDefaultGuardrailsResponse>;
|
|
61
61
|
/**
|
|
@@ -63,7 +63,7 @@ export class Guardrails extends ClientSDK {
|
|
|
63
63
|
* Get the cluster default guardrails
|
|
64
64
|
*
|
|
65
65
|
* @remarks
|
|
66
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
66
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
67
67
|
*/
|
|
68
68
|
async getClusterDefaultGuardrails(options) {
|
|
69
69
|
return unwrapAsync(guardrailsGetClusterDefaultGuardrails(this, options));
|
|
@@ -81,7 +81,7 @@ export class Guardrails extends ClientSDK {
|
|
|
81
81
|
* Reset the cluster default guardrails
|
|
82
82
|
*
|
|
83
83
|
* @remarks
|
|
84
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
84
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
85
85
|
*/
|
|
86
86
|
async resetClusterDefaultGuardrails(options) {
|
|
87
87
|
return unwrapAsync(guardrailsResetClusterDefaultGuardrails(this, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ import { Result } from "../types/fp.js";
|
|
|
27
27
|
* Get the cluster default guardrails
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
30
|
+
* Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.
|
|
31
31
|
*
|
|
32
32
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
33
33
|
*/
|
|
@@ -27,7 +27,7 @@ import { Result } from "../types/fp.js";
|
|
|
27
27
|
* Reset the cluster default guardrails
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
30
|
+
* Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.
|
|
31
31
|
*
|
|
32
32
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
33
33
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.104",
|
|
69
69
|
genVersion: "2.948.4",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.104 2.948.4 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -9,7 +9,7 @@ export const tool$guardrailsGetClusterDefaultGuardrails: ToolDefinition = {
|
|
|
9
9
|
name: "guardrails-get-cluster-default-guardrails",
|
|
10
10
|
description: `Get the cluster default guardrails
|
|
11
11
|
|
|
12
|
-
Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with
|
|
12
|
+
Cluster operator view of the default guardrails enforced beneath the org-wide and team policies of every enrolled organization. Until an operator saves one, the built-in default applies: switched on, with no rules, so nothing is enforced.`,
|
|
13
13
|
tool: async (client, ctx) => {
|
|
14
14
|
const [result, apiCall] = await guardrailsGetClusterDefaultGuardrails(
|
|
15
15
|
client,
|
|
@@ -9,7 +9,7 @@ export const tool$guardrailsResetClusterDefaultGuardrails: ToolDefinition = {
|
|
|
9
9
|
name: "guardrails-reset-cluster-default-guardrails",
|
|
10
10
|
description: `Reset the cluster default guardrails
|
|
11
11
|
|
|
12
|
-
Delete the saved cluster default so the built-in default applies again: switched on, with
|
|
12
|
+
Delete the saved cluster default so the built-in default applies again: switched on, with no rules, so nothing is enforced. To stop enforcing a cluster default, update it with enabled set to false instead.`,
|
|
13
13
|
tool: async (client, ctx) => {
|
|
14
14
|
const [result, apiCall] = await guardrailsResetClusterDefaultGuardrails(
|
|
15
15
|
client,
|
|
@@ -25,11 +25,11 @@ export type ClusterDefaultGuardrailsResponse = {
|
|
|
25
25
|
*/
|
|
26
26
|
guardrails: Array<GuardrailConfig>;
|
|
27
27
|
/**
|
|
28
|
-
* True while the cluster runs the built-in default (
|
|
28
|
+
* True while the cluster runs the built-in default (switched on, with no rules) because no operator has saved one
|
|
29
29
|
*/
|
|
30
30
|
builtIn: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* True when
|
|
32
|
+
* True when some saved cluster default rules cannot be read: only the rules shown here are enforced. Saving this state back drops the unreadable rules, so do not unless that is intended
|
|
33
33
|
*/
|
|
34
34
|
settingsUnreadable: boolean;
|
|
35
35
|
/**
|