@faable/faable 4.23.0 → 4.23.1
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/mcp/tools.js +9 -0
- package/package.json +1 -1
package/dist/mcp/tools.js
CHANGED
|
@@ -1020,6 +1020,9 @@ const TOOLS = [
|
|
|
1020
1020
|
...auth_scope(a)
|
|
1021
1021
|
],
|
|
1022
1022
|
write: true,
|
|
1023
|
+
// Role writes hand permissions to end users: never on the hosted
|
|
1024
|
+
// server, whose token only reads roles (api tenant_access.ts).
|
|
1025
|
+
local_only: true,
|
|
1023
1026
|
annotations: { ...AUTH_WRITE, idempotentHint: false },
|
|
1024
1027
|
example: { name: 'support', description: 'Support staff' }
|
|
1025
1028
|
},
|
|
@@ -1047,6 +1050,9 @@ const TOOLS = [
|
|
|
1047
1050
|
...auth_scope(a)
|
|
1048
1051
|
],
|
|
1049
1052
|
write: true,
|
|
1053
|
+
// Role writes hand permissions to end users: never on the hosted
|
|
1054
|
+
// server, whose token only reads roles (api tenant_access.ts).
|
|
1055
|
+
local_only: true,
|
|
1050
1056
|
shape: (rows) => (Array.isArray(rows) ? rows : []).map((p) => ({
|
|
1051
1057
|
value: p.value,
|
|
1052
1058
|
api: p.api_identifier
|
|
@@ -1081,6 +1087,9 @@ const TOOLS = [
|
|
|
1081
1087
|
...auth_scope(a)
|
|
1082
1088
|
],
|
|
1083
1089
|
write: true,
|
|
1090
|
+
// Role writes hand permissions to end users: never on the hosted
|
|
1091
|
+
// server, whose token only reads roles (api tenant_access.ts).
|
|
1092
|
+
local_only: true,
|
|
1084
1093
|
shape: (rows) => (Array.isArray(rows) ? rows : []).map((r) => ({
|
|
1085
1094
|
id: r.id,
|
|
1086
1095
|
name: r.name
|