@sellable/mcp 0.1.482 → 0.1.483
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.
|
@@ -209,6 +209,7 @@ function sanitizeToolInput(value) {
|
|
|
209
209
|
return {};
|
|
210
210
|
return {
|
|
211
211
|
senderId: stringValue(value.senderId),
|
|
212
|
+
actionType: allowedActionType(value.actionType),
|
|
212
213
|
campaignId: stringValue(value.campaignId),
|
|
213
214
|
tableId: stringValue(value.tableId),
|
|
214
215
|
columnId: stringValue(value.columnId) ?? null,
|
|
@@ -279,6 +280,7 @@ function sanitizeStructuredAction(action, selectedBySender, mode, rank) {
|
|
|
279
280
|
return {
|
|
280
281
|
rank,
|
|
281
282
|
type: action.type,
|
|
283
|
+
actionType: allowedActionType(action.actionType),
|
|
282
284
|
toolName: stringValue(action.toolName) ?? null,
|
|
283
285
|
sideEffectClass: stringValue(action.sideEffectClass),
|
|
284
286
|
ids,
|