@hed-hog/core 0.0.384 → 0.0.385
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/auth/auth.controller.d.ts +2 -2
- package/dist/auth/auth.service.d.ts +7 -7
- package/dist/notification/notification.controller.d.ts +12 -12
- package/dist/notification/notification.service.d.ts +12 -12
- package/dist/session/session.controller.d.ts +1 -1
- package/dist/session/session.service.d.ts +3 -3
- package/dist/user/user.controller.d.ts +1 -1
- package/dist/user/user.service.d.ts +3 -3
- package/hedhog/frontend/app/roles/page.tsx.ejs +13 -12
- package/hedhog/frontend/messages/en.json +2 -1
- package/hedhog/frontend/messages/pt.json +2 -1
- package/package.json +3 -3
- package/src/mcp/decorators/allow-mcp-token.decorator.ts +7 -7
|
@@ -81,10 +81,10 @@ export declare class AuthController {
|
|
|
81
81
|
created_at: Date;
|
|
82
82
|
updated_at: Date;
|
|
83
83
|
hash: string;
|
|
84
|
-
browser_id: string | null;
|
|
85
84
|
ip_address: string;
|
|
86
85
|
revoked_at: Date | null;
|
|
87
86
|
expires_at: Date;
|
|
87
|
+
browser_id: string | null;
|
|
88
88
|
}[];
|
|
89
89
|
id: number;
|
|
90
90
|
created_at: Date;
|
|
@@ -200,10 +200,10 @@ export declare class AuthController {
|
|
|
200
200
|
created_at: Date;
|
|
201
201
|
updated_at: Date;
|
|
202
202
|
hash: string;
|
|
203
|
-
browser_id: string | null;
|
|
204
203
|
ip_address: string;
|
|
205
204
|
revoked_at: Date | null;
|
|
206
205
|
expires_at: Date;
|
|
206
|
+
browser_id: string | null;
|
|
207
207
|
};
|
|
208
208
|
}>;
|
|
209
209
|
}
|
|
@@ -29,10 +29,10 @@ export declare class AuthService {
|
|
|
29
29
|
created_at: Date;
|
|
30
30
|
updated_at: Date;
|
|
31
31
|
hash: string;
|
|
32
|
-
browser_id: string | null;
|
|
33
32
|
ip_address: string;
|
|
34
33
|
revoked_at: Date | null;
|
|
35
34
|
expires_at: Date;
|
|
35
|
+
browser_id: string | null;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
38
|
issueDesktopToken(locale: string, userId: number, ipAddress: string, userAgent: string): Promise<{
|
|
@@ -148,10 +148,10 @@ export declare class AuthService {
|
|
|
148
148
|
created_at: Date;
|
|
149
149
|
updated_at: Date;
|
|
150
150
|
hash: string;
|
|
151
|
-
browser_id: string | null;
|
|
152
151
|
ip_address: string;
|
|
153
152
|
revoked_at: Date | null;
|
|
154
153
|
expires_at: Date;
|
|
154
|
+
browser_id: string | null;
|
|
155
155
|
}[];
|
|
156
156
|
id: number;
|
|
157
157
|
created_at: Date;
|
|
@@ -173,10 +173,10 @@ export declare class AuthService {
|
|
|
173
173
|
created_at: Date;
|
|
174
174
|
updated_at: Date;
|
|
175
175
|
hash: string;
|
|
176
|
-
browser_id: string | null;
|
|
177
176
|
ip_address: string;
|
|
178
177
|
revoked_at: Date | null;
|
|
179
178
|
expires_at: Date;
|
|
179
|
+
browser_id: string | null;
|
|
180
180
|
};
|
|
181
181
|
}>;
|
|
182
182
|
forgotPassword(locale: string, { email, app }: ForgetDTO): Promise<{
|
|
@@ -195,10 +195,10 @@ export declare class AuthService {
|
|
|
195
195
|
created_at: Date;
|
|
196
196
|
updated_at: Date;
|
|
197
197
|
hash: string;
|
|
198
|
-
browser_id: string | null;
|
|
199
198
|
ip_address: string;
|
|
200
199
|
revoked_at: Date | null;
|
|
201
200
|
expires_at: Date;
|
|
201
|
+
browser_id: string | null;
|
|
202
202
|
};
|
|
203
203
|
}>;
|
|
204
204
|
verifyMfaCode(locale: string, mfaToken: string, code: string, ipAddress: string, userAgent: string, methodType?: 'totp' | 'email' | 'recovery', browserId?: string | null): Promise<{
|
|
@@ -211,10 +211,10 @@ export declare class AuthService {
|
|
|
211
211
|
created_at: Date;
|
|
212
212
|
updated_at: Date;
|
|
213
213
|
hash: string;
|
|
214
|
-
browser_id: string | null;
|
|
215
214
|
ip_address: string;
|
|
216
215
|
revoked_at: Date | null;
|
|
217
216
|
expires_at: Date;
|
|
217
|
+
browser_id: string | null;
|
|
218
218
|
};
|
|
219
219
|
requiresPasswordReset: boolean;
|
|
220
220
|
}>;
|
|
@@ -228,10 +228,10 @@ export declare class AuthService {
|
|
|
228
228
|
created_at: Date;
|
|
229
229
|
updated_at: Date;
|
|
230
230
|
hash: string;
|
|
231
|
-
browser_id: string | null;
|
|
232
231
|
ip_address: string;
|
|
233
232
|
revoked_at: Date | null;
|
|
234
233
|
expires_at: Date;
|
|
234
|
+
browser_id: string | null;
|
|
235
235
|
};
|
|
236
236
|
requiresPasswordReset: boolean;
|
|
237
237
|
}>;
|
|
@@ -250,10 +250,10 @@ export declare class AuthService {
|
|
|
250
250
|
created_at: Date;
|
|
251
251
|
updated_at: Date;
|
|
252
252
|
hash: string;
|
|
253
|
-
browser_id: string | null;
|
|
254
253
|
ip_address: string;
|
|
255
254
|
revoked_at: Date | null;
|
|
256
255
|
expires_at: Date;
|
|
256
|
+
browser_id: string | null;
|
|
257
257
|
};
|
|
258
258
|
requiresPasswordReset: boolean;
|
|
259
259
|
}>;
|
|
@@ -34,13 +34,13 @@ export declare class NotificationController {
|
|
|
34
34
|
user_id: number;
|
|
35
35
|
created_at: Date;
|
|
36
36
|
updated_at: Date;
|
|
37
|
-
type: import("@prisma/client").$Enums.
|
|
37
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
38
38
|
body: string | null;
|
|
39
|
-
status: import("@prisma/client").$Enums.
|
|
39
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
40
40
|
icon: string | null;
|
|
41
41
|
title: string;
|
|
42
42
|
progress: number | null;
|
|
43
|
-
action_type: import("@prisma/client").$Enums.
|
|
43
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
44
44
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
45
45
|
action_url: string | null;
|
|
46
46
|
auto_remove: boolean;
|
|
@@ -54,13 +54,13 @@ export declare class NotificationController {
|
|
|
54
54
|
user_id: number;
|
|
55
55
|
created_at: Date;
|
|
56
56
|
updated_at: Date;
|
|
57
|
-
type: import("@prisma/client").$Enums.
|
|
57
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
58
58
|
body: string | null;
|
|
59
|
-
status: import("@prisma/client").$Enums.
|
|
59
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
60
60
|
icon: string | null;
|
|
61
61
|
title: string;
|
|
62
62
|
progress: number | null;
|
|
63
|
-
action_type: import("@prisma/client").$Enums.
|
|
63
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
64
64
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
65
65
|
action_url: string | null;
|
|
66
66
|
auto_remove: boolean;
|
|
@@ -77,13 +77,13 @@ export declare class NotificationController {
|
|
|
77
77
|
user_id: number;
|
|
78
78
|
created_at: Date;
|
|
79
79
|
updated_at: Date;
|
|
80
|
-
type: import("@prisma/client").$Enums.
|
|
80
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
81
81
|
body: string | null;
|
|
82
|
-
status: import("@prisma/client").$Enums.
|
|
82
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
83
83
|
icon: string | null;
|
|
84
84
|
title: string;
|
|
85
85
|
progress: number | null;
|
|
86
|
-
action_type: import("@prisma/client").$Enums.
|
|
86
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
87
87
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
88
88
|
action_url: string | null;
|
|
89
89
|
auto_remove: boolean;
|
|
@@ -95,13 +95,13 @@ export declare class NotificationController {
|
|
|
95
95
|
user_id: number;
|
|
96
96
|
created_at: Date;
|
|
97
97
|
updated_at: Date;
|
|
98
|
-
type: import("@prisma/client").$Enums.
|
|
98
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
99
99
|
body: string | null;
|
|
100
|
-
status: import("@prisma/client").$Enums.
|
|
100
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
101
101
|
icon: string | null;
|
|
102
102
|
title: string;
|
|
103
103
|
progress: number | null;
|
|
104
|
-
action_type: import("@prisma/client").$Enums.
|
|
104
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
105
105
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
106
106
|
action_url: string | null;
|
|
107
107
|
auto_remove: boolean;
|
|
@@ -36,13 +36,13 @@ export declare class NotificationService implements OnModuleInit, OnModuleDestro
|
|
|
36
36
|
user_id: number;
|
|
37
37
|
created_at: Date;
|
|
38
38
|
updated_at: Date;
|
|
39
|
-
type: import("@prisma/client").$Enums.
|
|
39
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
40
40
|
body: string | null;
|
|
41
|
-
status: import("@prisma/client").$Enums.
|
|
41
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
42
42
|
icon: string | null;
|
|
43
43
|
title: string;
|
|
44
44
|
progress: number | null;
|
|
45
|
-
action_type: import("@prisma/client").$Enums.
|
|
45
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
46
46
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
47
47
|
action_url: string | null;
|
|
48
48
|
auto_remove: boolean;
|
|
@@ -55,13 +55,13 @@ export declare class NotificationService implements OnModuleInit, OnModuleDestro
|
|
|
55
55
|
user_id: number;
|
|
56
56
|
created_at: Date;
|
|
57
57
|
updated_at: Date;
|
|
58
|
-
type: import("@prisma/client").$Enums.
|
|
58
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
59
59
|
body: string | null;
|
|
60
|
-
status: import("@prisma/client").$Enums.
|
|
60
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
61
61
|
icon: string | null;
|
|
62
62
|
title: string;
|
|
63
63
|
progress: number | null;
|
|
64
|
-
action_type: import("@prisma/client").$Enums.
|
|
64
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
65
65
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
66
66
|
action_url: string | null;
|
|
67
67
|
auto_remove: boolean;
|
|
@@ -74,13 +74,13 @@ export declare class NotificationService implements OnModuleInit, OnModuleDestro
|
|
|
74
74
|
user_id: number;
|
|
75
75
|
created_at: Date;
|
|
76
76
|
updated_at: Date;
|
|
77
|
-
type: import("@prisma/client").$Enums.
|
|
77
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
78
78
|
body: string | null;
|
|
79
|
-
status: import("@prisma/client").$Enums.
|
|
79
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
80
80
|
icon: string | null;
|
|
81
81
|
title: string;
|
|
82
82
|
progress: number | null;
|
|
83
|
-
action_type: import("@prisma/client").$Enums.
|
|
83
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
84
84
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
85
85
|
action_url: string | null;
|
|
86
86
|
auto_remove: boolean;
|
|
@@ -92,13 +92,13 @@ export declare class NotificationService implements OnModuleInit, OnModuleDestro
|
|
|
92
92
|
user_id: number;
|
|
93
93
|
created_at: Date;
|
|
94
94
|
updated_at: Date;
|
|
95
|
-
type: import("@prisma/client").$Enums.
|
|
95
|
+
type: import("@prisma/client").$Enums.notification_type_enum;
|
|
96
96
|
body: string | null;
|
|
97
|
-
status: import("@prisma/client").$Enums.
|
|
97
|
+
status: import("@prisma/client").$Enums.notification_status_enum;
|
|
98
98
|
icon: string | null;
|
|
99
99
|
title: string;
|
|
100
100
|
progress: number | null;
|
|
101
|
-
action_type: import("@prisma/client").$Enums.
|
|
101
|
+
action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
|
|
102
102
|
action_data: import("@prisma/client/runtime/library").JsonValue | null;
|
|
103
103
|
action_url: string | null;
|
|
104
104
|
auto_remove: boolean;
|
|
@@ -36,10 +36,10 @@ export declare class SessionController {
|
|
|
36
36
|
created_at: Date;
|
|
37
37
|
updated_at: Date;
|
|
38
38
|
hash: string;
|
|
39
|
-
browser_id: string | null;
|
|
40
39
|
ip_address: string;
|
|
41
40
|
revoked_at: Date | null;
|
|
42
41
|
expires_at: Date;
|
|
42
|
+
browser_id: string | null;
|
|
43
43
|
}>;
|
|
44
44
|
}
|
|
45
45
|
//# sourceMappingURL=session.controller.d.ts.map
|
|
@@ -24,10 +24,10 @@ export declare class SessionService {
|
|
|
24
24
|
created_at: Date;
|
|
25
25
|
updated_at: Date;
|
|
26
26
|
hash: string;
|
|
27
|
-
browser_id: string | null;
|
|
28
27
|
ip_address: string;
|
|
29
28
|
revoked_at: Date | null;
|
|
30
29
|
expires_at: Date;
|
|
30
|
+
browser_id: string | null;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
refresh(locale: string, refreshToken: string, ipAddress: string, userAgent: string, browserId?: string | null): Promise<{
|
|
@@ -39,10 +39,10 @@ export declare class SessionService {
|
|
|
39
39
|
created_at: Date;
|
|
40
40
|
updated_at: Date;
|
|
41
41
|
hash: string;
|
|
42
|
-
browser_id: string | null;
|
|
43
42
|
ip_address: string;
|
|
44
43
|
revoked_at: Date | null;
|
|
45
44
|
expires_at: Date;
|
|
45
|
+
browser_id: string | null;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
48
|
deleteRefreshTokenCookie(res: any, refreshToken: string): Promise<{
|
|
@@ -74,10 +74,10 @@ export declare class SessionService {
|
|
|
74
74
|
created_at: Date;
|
|
75
75
|
updated_at: Date;
|
|
76
76
|
hash: string;
|
|
77
|
-
browser_id: string | null;
|
|
78
77
|
ip_address: string;
|
|
79
78
|
revoked_at: Date | null;
|
|
80
79
|
expires_at: Date;
|
|
80
|
+
browser_id: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
/**
|
|
83
83
|
* Enforce maximum concurrent sessions limit for a user.
|
|
@@ -83,10 +83,10 @@ export declare class UserController {
|
|
|
83
83
|
created_at: Date;
|
|
84
84
|
updated_at: Date;
|
|
85
85
|
hash: string;
|
|
86
|
-
browser_id: string | null;
|
|
87
86
|
ip_address: string;
|
|
88
87
|
revoked_at: Date | null;
|
|
89
88
|
expires_at: Date;
|
|
89
|
+
browser_id: string | null;
|
|
90
90
|
}[];
|
|
91
91
|
} & {
|
|
92
92
|
id: number;
|
|
@@ -108,10 +108,10 @@ export declare class UserService {
|
|
|
108
108
|
created_at: Date;
|
|
109
109
|
updated_at: Date;
|
|
110
110
|
hash: string;
|
|
111
|
-
browser_id: string | null;
|
|
112
111
|
ip_address: string;
|
|
113
112
|
revoked_at: Date | null;
|
|
114
113
|
expires_at: Date;
|
|
114
|
+
browser_id: string | null;
|
|
115
115
|
}[];
|
|
116
116
|
} & {
|
|
117
117
|
id: number;
|
|
@@ -223,10 +223,10 @@ export declare class UserService {
|
|
|
223
223
|
created_at: Date;
|
|
224
224
|
updated_at: Date;
|
|
225
225
|
hash: string;
|
|
226
|
-
browser_id: string | null;
|
|
227
226
|
ip_address: string;
|
|
228
227
|
revoked_at: Date | null;
|
|
229
228
|
expires_at: Date;
|
|
229
|
+
browser_id: string | null;
|
|
230
230
|
}[];
|
|
231
231
|
} & {
|
|
232
232
|
id: number;
|
|
@@ -268,10 +268,10 @@ export declare class UserService {
|
|
|
268
268
|
created_at: Date;
|
|
269
269
|
updated_at: Date;
|
|
270
270
|
hash: string;
|
|
271
|
-
browser_id: string | null;
|
|
272
271
|
ip_address: string;
|
|
273
272
|
revoked_at: Date | null;
|
|
274
273
|
expires_at: Date;
|
|
274
|
+
browser_id: string | null;
|
|
275
275
|
}[];
|
|
276
276
|
} & {
|
|
277
277
|
id: number;
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
PageHeader,
|
|
7
7
|
PaginationFooter,
|
|
8
8
|
SearchBar,
|
|
9
|
-
StatsCards,
|
|
10
9
|
} from '@/components/entity-list';
|
|
11
10
|
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';
|
|
12
11
|
import {
|
|
@@ -36,6 +35,7 @@ import {
|
|
|
36
35
|
FormMessage,
|
|
37
36
|
} from '@/components/ui/form';
|
|
38
37
|
import { Input } from '@/components/ui/input';
|
|
38
|
+
import { KpiCardsGrid, type KpiCardItem } from '@/components/ui/kpi-cards-grid';
|
|
39
39
|
import {
|
|
40
40
|
Select,
|
|
41
41
|
SelectContent,
|
|
@@ -594,17 +594,18 @@ export default function RolePage() {
|
|
|
594
594
|
description={t('description')}
|
|
595
595
|
/>
|
|
596
596
|
|
|
597
|
-
<
|
|
598
|
-
className="
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
597
|
+
<KpiCardsGrid
|
|
598
|
+
className="grid-cols-1 md:grid-cols-1 xl:grid-cols-1"
|
|
599
|
+
items={
|
|
600
|
+
[
|
|
601
|
+
{
|
|
602
|
+
key: 'totalRoles',
|
|
603
|
+
title: t('totalRoles'),
|
|
604
|
+
value: stats.totalRoles,
|
|
605
|
+
icon: ShieldCheck,
|
|
606
|
+
},
|
|
607
|
+
] satisfies KpiCardItem[]
|
|
608
|
+
}
|
|
608
609
|
/>
|
|
609
610
|
|
|
610
611
|
<SearchBar
|
|
@@ -2138,7 +2138,8 @@
|
|
|
2138
2138
|
"breadcrumbDashboard": "Dashboard",
|
|
2139
2139
|
"breadcrumbManagement": "Management",
|
|
2140
2140
|
"breadcrumbCurrent": "MCP Chat",
|
|
2141
|
-
"mcpDisabled": "MCP Server is disabled. Enable it in Settings → MCP."
|
|
2141
|
+
"mcpDisabled": "MCP Server is disabled. Enable it in Settings → MCP.",
|
|
2142
|
+
"resizePanel": "Resize panel"
|
|
2142
2143
|
},
|
|
2143
2144
|
"McpTokens": {
|
|
2144
2145
|
"title": "MCP API Keys",
|
|
@@ -2193,7 +2193,8 @@
|
|
|
2193
2193
|
"breadcrumbDashboard": "Painel",
|
|
2194
2194
|
"breadcrumbManagement": "Gerenciamento",
|
|
2195
2195
|
"breadcrumbCurrent": "Chat MCP",
|
|
2196
|
-
"mcpDisabled": "O Servidor MCP está desabilitado. Habilite-o em Configurações → MCP."
|
|
2196
|
+
"mcpDisabled": "O Servidor MCP está desabilitado. Habilite-o em Configurações → MCP.",
|
|
2197
|
+
"resizePanel": "Redimensionar painel"
|
|
2197
2198
|
},
|
|
2198
2199
|
"McpTokens": {
|
|
2199
2200
|
"title": "Chaves de API MCP",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.385",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"ua-parser-js": "^2.0.10",
|
|
43
43
|
"uuid": "^11.1.0",
|
|
44
44
|
"@hed-hog/api-prisma": "0.0.6",
|
|
45
|
-
"@hed-hog/api-mail": "0.0.9",
|
|
46
45
|
"@hed-hog/api-locale": "0.0.14",
|
|
47
|
-
"@hed-hog/api": "0.0.8",
|
|
48
46
|
"@hed-hog/api-types": "0.0.1",
|
|
47
|
+
"@hed-hog/api": "0.0.8",
|
|
48
|
+
"@hed-hog/api-mail": "0.0.9",
|
|
49
49
|
"@hed-hog/api-pagination": "0.0.7"
|
|
50
50
|
},
|
|
51
51
|
"exports": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SetMetadata } from '@nestjs/common';
|
|
2
|
-
|
|
3
|
-
export const ALLOW_MCP_TOKEN = 'allowMcpToken';
|
|
4
|
-
|
|
5
|
-
export function AllowMcpToken() {
|
|
6
|
-
return SetMetadata(ALLOW_MCP_TOKEN, true);
|
|
7
|
-
}
|
|
1
|
+
import { SetMetadata } from '@nestjs/common';
|
|
2
|
+
|
|
3
|
+
export const ALLOW_MCP_TOKEN = 'allowMcpToken';
|
|
4
|
+
|
|
5
|
+
export function AllowMcpToken() {
|
|
6
|
+
return SetMetadata(ALLOW_MCP_TOKEN, true);
|
|
7
|
+
}
|