You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Creates a new Supabase project. Always ask the user which organization to create the project in. The project can take a few minutes to initialize - use `get_project` to check the status.',
140
+
'Creates a new Supabase project. Always ask the user which organization to create the project in. If there is a cost involved, the user will be asked to confirm before creation. The project can take a few minutes to initialize - use `get_project` to check the status.',
'Cost confirmation ID does not match the expected cost of creating a project.'
165
-
);
162
+
163
+
// Only request confirmation if there's a cost AND server supports elicitation
164
+
if(cost.amount>0&&context?.server?.elicitInput){
165
+
constcostMessage=`$${cost.amount} per ${cost.recurrence}`;
166
+
167
+
constresult=awaitcontext.server.elicitInput({
168
+
message: `You are about to create project "${name}" in region ${region}.\n\n💰 Cost: ${costMessage}\n\nDo you want to proceed with this billable project?`,
169
+
requestedSchema: {
170
+
type: 'object',
171
+
properties: {
172
+
confirm: {
173
+
type: 'boolean',
174
+
title: 'Confirm billable project creation',
175
+
description: `I understand this will cost ${costMessage} and want to proceed`,
0 commit comments