@usefillo/mcp 0.11.2 → 0.11.3
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/README.md +4 -4
- package/dist/index.js +56 -49
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,13 +158,13 @@ Routine, reversible actions run on the credential alone. Two kinds do not:
|
|
|
158
158
|
- **Outward** — unpublishing, starting a third-party destination, adding a
|
|
159
159
|
webhook, releasing or re-sending responses, inviting a member or changing a
|
|
160
160
|
role, a code-sync policy, the allowed origins, or identity verification. These
|
|
161
|
-
take `confirm: true
|
|
162
|
-
|
|
161
|
+
take `confirm: true` when the user authorized the action and target in the
|
|
162
|
+
task or workflow. The agent asks if that authorization is missing.
|
|
163
163
|
Publishing is the exception on this server: `fillo_push_form` and
|
|
164
164
|
`fillo_publish_form` take no `confirm`, because a login token IS the person
|
|
165
165
|
who ran `fillo login` on this machine — the same reason `fillo publish` runs
|
|
166
|
-
without a flag.
|
|
167
|
-
|
|
166
|
+
without a flag. Hosted OAuth connections can publish directly when they
|
|
167
|
+
have the Publish permission and automatic actions enabled.
|
|
168
168
|
- **Destructive** — deleting a form, a response, or a respondent, removing a
|
|
169
169
|
member or an integration account, disconnecting a provider or a Discord
|
|
170
170
|
server, revoking a token, sync token, API key, or MCP grant, turning identity
|
package/dist/index.js
CHANGED
|
@@ -562,7 +562,7 @@ var capabilities_default = {
|
|
|
562
562
|
},
|
|
563
563
|
allowBreaking: {
|
|
564
564
|
type: "boolean",
|
|
565
|
-
description: "Acknowledge removing/re-typing fields used by existing responses.
|
|
565
|
+
description: "Acknowledge removing/re-typing fields used by existing responses. Use true when the user authorized these field removals or type changes; otherwise ask for their decision."
|
|
566
566
|
},
|
|
567
567
|
baseRevision: {
|
|
568
568
|
type: "string",
|
|
@@ -586,7 +586,7 @@ var capabilities_default = {
|
|
|
586
586
|
toolsets: ["build"],
|
|
587
587
|
local: {
|
|
588
588
|
title: "Publish a Fillo form",
|
|
589
|
-
description: "Take a draft form or staged changes live. Needs a login token (FILLO_TOKEN or `npx @usefillo/cli login`); a `pk_` publishable key cannot complete this owner action. The form may be identified by id, slug, or stable push handle. Publishing is idempotent: an already-live form with nothing staged succeeds unchanged. If existing responses use fields the staged schema removes or re-types,
|
|
589
|
+
description: "Take a draft form or staged changes live. Needs a login token (FILLO_TOKEN or `npx @usefillo/cli login`); a `pk_` publishable key cannot complete this owner action. The form may be identified by id, slug, or stable push handle. Publishing is idempotent: an already-live form with nothing staged succeeds unchanged. If existing responses use fields the staged schema removes or re-types, retry with allowBreaking=true when the user authorized those changes; otherwise ask for their decision. File forms must have ready storage before they can go live.",
|
|
590
590
|
inputSchema: {
|
|
591
591
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
592
592
|
type: "object",
|
|
@@ -598,7 +598,7 @@ var capabilities_default = {
|
|
|
598
598
|
description: "Form id, hosted slug, or stable push handle."
|
|
599
599
|
},
|
|
600
600
|
allowBreaking: {
|
|
601
|
-
description: "Acknowledge removing or re-typing fields that existing responses answered.
|
|
601
|
+
description: "Acknowledge removing or re-typing fields that existing responses answered. Use true when the user authorized these field removals or type changes; otherwise ask for their decision.",
|
|
602
602
|
type: "boolean"
|
|
603
603
|
}
|
|
604
604
|
},
|
|
@@ -614,7 +614,7 @@ var capabilities_default = {
|
|
|
614
614
|
},
|
|
615
615
|
hosted: {
|
|
616
616
|
title: "Publish a form",
|
|
617
|
-
description: "Take
|
|
617
|
+
description: "Take staged changes or a draft live. With forms:publish and automatic actions, this call publishes directly. Otherwise it returns a single-use review link valid for 24 hours. The connection owner can allow automatic actions under Settings \u2192 Agents. An already-live form with no staged changes returns success unchanged.",
|
|
618
618
|
inputSchema: {
|
|
619
619
|
type: "object",
|
|
620
620
|
properties: {
|
|
@@ -625,6 +625,13 @@ var capabilities_default = {
|
|
|
625
625
|
allowBreaking: {
|
|
626
626
|
type: "boolean",
|
|
627
627
|
description: "Acknowledge removing/re-typing fields that existing responses answered (direct publish only; the approval page shows them to the human instead)."
|
|
628
|
+
},
|
|
629
|
+
expectedFingerprint: {
|
|
630
|
+
type: "string",
|
|
631
|
+
pattern: "^[a-f0-9]{64}$",
|
|
632
|
+
minLength: 64,
|
|
633
|
+
maxLength: 64,
|
|
634
|
+
description: "The expectedFingerprint returned by a pending publish approval. Pass it when resuming after changing action approvals so only that requested revision can publish."
|
|
628
635
|
}
|
|
629
636
|
},
|
|
630
637
|
required: ["form"],
|
|
@@ -1473,7 +1480,7 @@ var capabilities_default = {
|
|
|
1473
1480
|
toolsets: ["build", "integrations"],
|
|
1474
1481
|
local: {
|
|
1475
1482
|
title: "Take a form offline",
|
|
1476
|
-
description: "Unpublish a live form. The hosted URL stops accepting responses and any embed rendering it goes dark, so this is visible to everyone who can reach the form \u2014
|
|
1483
|
+
description: "Unpublish a live form. The hosted URL stops accepting responses and any embed rendering it goes dark, so this is visible to everyone who can reach the form \u2014 pass confirm=true when the user authorized taking this form offline. Otherwise ask for their decision. Existing responses are kept and the form becomes a draft you can publish again. Already-draft forms succeed unchanged. Needs forms:write.",
|
|
1477
1484
|
inputSchema: {
|
|
1478
1485
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
1479
1486
|
type: "object",
|
|
@@ -1485,7 +1492,7 @@ var capabilities_default = {
|
|
|
1485
1492
|
description: "Form id or hosted slug. A stable push handle also resolves on a login token; a project API key takes the id or slug."
|
|
1486
1493
|
},
|
|
1487
1494
|
confirm: {
|
|
1488
|
-
description: "Set true
|
|
1495
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
1489
1496
|
type: "boolean"
|
|
1490
1497
|
}
|
|
1491
1498
|
},
|
|
@@ -1592,7 +1599,7 @@ var capabilities_default = {
|
|
|
1592
1599
|
type: "string",
|
|
1593
1600
|
minLength: 1,
|
|
1594
1601
|
maxLength: 256,
|
|
1595
|
-
description: "The exact form title, exactly as fillo_pull_form reports its name
|
|
1602
|
+
description: "The exact form title, exactly as fillo_pull_form reports its name for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
1596
1603
|
},
|
|
1597
1604
|
alsoUnpublish: {
|
|
1598
1605
|
description: "Take a live form offline as part of deleting it.",
|
|
@@ -2156,7 +2163,7 @@ var capabilities_default = {
|
|
|
2156
2163
|
toolsets: ["integrations"],
|
|
2157
2164
|
local: {
|
|
2158
2165
|
title: "Start or reconfigure a form's destination",
|
|
2159
|
-
description: "Turn on \u2014 or reconfigure \u2014 where one form's answers go. From the moment this succeeds, every response leaves Fillo for a third-party system the workspace connected, so
|
|
2166
|
+
description: "Turn on \u2014 or reconfigure \u2014 where one form's answers go. From the moment this succeeds, every response leaves Fillo for a third-party system the workspace connected, so pass confirm=true when the user authorized this destination. Otherwise ask for their decision. The provider account must already be connected (see fillo_list_connections). Config keys by provider \u2014 google_sheets: spreadsheetId, sheetTabId (omit both to create a new spreadsheet); notion: titleFieldId (omit to create a new database); slack: slackChannelId (required to start), slackIncludeFieldIds (max 3); hubspot: hubspotEmailFieldId (required), hubspotMappings, hubspotCreateMarketableContact, hubspotCompany, hubspotDeal; discord: enabled, channelId or webhookId, includeFieldIds (max 3), earlySignalLimit (5|10|25|null), roleGrant. Unknown keys are rejected rather than ignored. This tool only turns a destination ON \u2014 to stop one, use fillo_disable_integration. Needs integrations:manage.",
|
|
2160
2167
|
inputSchema: {
|
|
2161
2168
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
2162
2169
|
type: "object",
|
|
@@ -2181,7 +2188,7 @@ var capabilities_default = {
|
|
|
2181
2188
|
additionalProperties: {}
|
|
2182
2189
|
},
|
|
2183
2190
|
confirm: {
|
|
2184
|
-
description: "Set true
|
|
2191
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
2185
2192
|
type: "boolean"
|
|
2186
2193
|
}
|
|
2187
2194
|
},
|
|
@@ -2385,7 +2392,7 @@ var capabilities_default = {
|
|
|
2385
2392
|
toolsets: ["integrations"],
|
|
2386
2393
|
local: {
|
|
2387
2394
|
title: "Disconnect a provider from this project",
|
|
2388
|
-
description: "Detach THIS PROJECT's Notion, Slack, HubSpot, or Discord account: every form in the project that sends to it stops. The workspace account itself stays, and other projects keep using it \u2014 to remove the account everywhere, use fillo_remove_connection_account. Irreversible for this project (the per-form destinations are gone, not paused), so `confirm` must be the provider name typed exactly.
|
|
2395
|
+
description: "Detach THIS PROJECT's Notion, Slack, HubSpot, or Discord account: every form in the project that sends to it stops. The workspace account itself stays, and other projects keep using it \u2014 to remove the account everywhere, use fillo_remove_connection_account. Irreversible for this project (the per-form destinations are gone, not paused), so `confirm` must be the provider name typed exactly. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs integrations:manage.",
|
|
2389
2396
|
inputSchema: {
|
|
2390
2397
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
2391
2398
|
type: "object",
|
|
@@ -2399,7 +2406,7 @@ var capabilities_default = {
|
|
|
2399
2406
|
type: "string",
|
|
2400
2407
|
minLength: 1,
|
|
2401
2408
|
maxLength: 256,
|
|
2402
|
-
description: "The exact provider name
|
|
2409
|
+
description: "The exact provider name for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
2403
2410
|
}
|
|
2404
2411
|
},
|
|
2405
2412
|
required: ["provider", "confirm"]
|
|
@@ -2443,7 +2450,7 @@ var capabilities_default = {
|
|
|
2443
2450
|
toolsets: ["integrations"],
|
|
2444
2451
|
local: {
|
|
2445
2452
|
title: "Remove a connected account from the workspace",
|
|
2446
|
-
description: "Permanently remove one provider account from the WHOLE workspace \u2014 by `connectionId` from fillo_list_connections, or a whole Discord server by `guildId`. Pass exactly one. Every project and form using it loses that destination, stored credentials are deleted, and reconnecting means a fresh OAuth consent (or re-inviting the bot). This cannot be undone from here. `confirm` must be the exact account label from fillo_list_connections, or the Discord server id when removing a server. fillo_list_connections also shows how many forms depend on each.
|
|
2453
|
+
description: "Permanently remove one provider account from the WHOLE workspace \u2014 by `connectionId` from fillo_list_connections, or a whole Discord server by `guildId`. Pass exactly one. Every project and form using it loses that destination, stored credentials are deleted, and reconnecting means a fresh OAuth consent (or re-inviting the bot). This cannot be undone from here. `confirm` must be the exact account label from fillo_list_connections, or the Discord server id when removing a server. fillo_list_connections also shows how many forms depend on each. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs integrations:manage.",
|
|
2447
2454
|
inputSchema: {
|
|
2448
2455
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
2449
2456
|
type: "object",
|
|
@@ -2462,7 +2469,7 @@ var capabilities_default = {
|
|
|
2462
2469
|
type: "string",
|
|
2463
2470
|
minLength: 1,
|
|
2464
2471
|
maxLength: 256,
|
|
2465
|
-
description: "The exact account label, or the Discord server id for a guildId removal
|
|
2472
|
+
description: "The exact account label, or the Discord server id for a guildId removal for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
2466
2473
|
}
|
|
2467
2474
|
},
|
|
2468
2475
|
required: ["confirm"]
|
|
@@ -2780,7 +2787,7 @@ var capabilities_default = {
|
|
|
2780
2787
|
toolsets: ["responses"],
|
|
2781
2788
|
local: {
|
|
2782
2789
|
title: "Release held responses",
|
|
2783
|
-
description: "Release responses the form's trust policy quarantined, so they enter the responses grid AND are delivered to every destination and webhook the form has \u2014 email, Sheets, Slack, whatever is wired up. That send cannot be recalled, so
|
|
2790
|
+
description: "Release responses the form's trust policy quarantined, so they enter the responses grid AND are delivered to every destination and webhook the form has \u2014 email, Sheets, Slack, whatever is wired up. That send cannot be recalled, so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. Read the held rows first with fillo_list_responses (held=true) so you can tell them what they are approving. Pass responseIds for specific rows or all=true for every held row on the form. Needs responses:manage.",
|
|
2784
2791
|
inputSchema: {
|
|
2785
2792
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
2786
2793
|
type: "object",
|
|
@@ -2807,7 +2814,7 @@ var capabilities_default = {
|
|
|
2807
2814
|
const: true
|
|
2808
2815
|
},
|
|
2809
2816
|
confirm: {
|
|
2810
|
-
description: "Set true
|
|
2817
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
2811
2818
|
type: "boolean"
|
|
2812
2819
|
}
|
|
2813
2820
|
},
|
|
@@ -2860,7 +2867,7 @@ var capabilities_default = {
|
|
|
2860
2867
|
toolsets: ["responses"],
|
|
2861
2868
|
local: {
|
|
2862
2869
|
title: "Delete a response",
|
|
2863
|
-
description: "Permanently delete one response and any files uploaded with it. This cannot be undone and does not recall anything already delivered to a destination. `confirm` must be the response id, typed exactly.
|
|
2870
|
+
description: "Permanently delete one response and any files uploaded with it. This cannot be undone and does not recall anything already delivered to a destination. `confirm` must be the response id, typed exactly. Use the user's explicit authorization to delete this response. Ask if it is missing. Needs a LOGIN TOKEN (FILLO_TOKEN or `npx @usefillo/cli login`): the typed confirmation is only real when the server compares it, and the project-API-key route takes no confirmation of its own.",
|
|
2864
2871
|
inputSchema: {
|
|
2865
2872
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
2866
2873
|
type: "object",
|
|
@@ -2881,7 +2888,7 @@ var capabilities_default = {
|
|
|
2881
2888
|
type: "string",
|
|
2882
2889
|
minLength: 1,
|
|
2883
2890
|
maxLength: 256,
|
|
2884
|
-
description: "The exact response id
|
|
2891
|
+
description: "The exact response id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
2885
2892
|
}
|
|
2886
2893
|
},
|
|
2887
2894
|
required: ["form", "id", "confirm"]
|
|
@@ -3081,7 +3088,7 @@ var capabilities_default = {
|
|
|
3081
3088
|
toolsets: ["responses"],
|
|
3082
3089
|
local: {
|
|
3083
3090
|
title: "Send responses to their destinations again",
|
|
3084
|
-
description: "Re-send responses that ALREADY delivered successfully. Unlike fillo_retry_deliveries this creates duplicates on purpose \u2014 a second row in the spreadsheet, a second Slack message, a second webhook call \u2014 so the receiving side sees them twice. Use it only to repair something lost downstream,
|
|
3091
|
+
description: "Re-send responses that ALREADY delivered successfully. Unlike fillo_retry_deliveries this creates duplicates on purpose \u2014 a second row in the spreadsheet, a second Slack message, a second webhook call \u2014 so the receiving side sees them twice. Use it only to repair something lost downstream, pass confirm=true when the user authorized the duplicate send. Otherwise ask for their decision. Held responses are never redelivered. Needs responses:manage.",
|
|
3085
3092
|
inputSchema: {
|
|
3086
3093
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
3087
3094
|
type: "object",
|
|
@@ -3104,7 +3111,7 @@ var capabilities_default = {
|
|
|
3104
3111
|
description: "Response ids to send again (1\u2013200)."
|
|
3105
3112
|
},
|
|
3106
3113
|
confirm: {
|
|
3107
|
-
description: "Set true
|
|
3114
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
3108
3115
|
type: "boolean"
|
|
3109
3116
|
}
|
|
3110
3117
|
},
|
|
@@ -3419,7 +3426,7 @@ var capabilities_default = {
|
|
|
3419
3426
|
type: "string",
|
|
3420
3427
|
minLength: 1,
|
|
3421
3428
|
maxLength: 256,
|
|
3422
|
-
description: "The exact respondent external id
|
|
3429
|
+
description: "The exact respondent external id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
3423
3430
|
}
|
|
3424
3431
|
},
|
|
3425
3432
|
required: ["respondent", "confirm"]
|
|
@@ -3516,7 +3523,7 @@ var capabilities_default = {
|
|
|
3516
3523
|
toolsets: ["responses"],
|
|
3517
3524
|
local: {
|
|
3518
3525
|
title: "Add a webhook to a form",
|
|
3519
|
-
description: "Post this form's responses to an HTTPS endpoint. From the moment this succeeds every respondent answer leaves Fillo for a server Fillo does not control, so
|
|
3526
|
+
description: "Post this form's responses to an HTTPS endpoint. From the moment this succeeds every respondent answer leaves Fillo for a server Fillo does not control, so pass confirm=true when the user authorized this exact destination. Otherwise ask for their decision. Fillo signs every call, and the signing secret comes back in THIS RESPONSE ONLY; hand it to the human to store in a secret manager or environment variable and never commit it. Set includeAbandoned to also receive draft.abandoned events. Private and loopback addresses are refused. Needs webhooks:manage.",
|
|
3520
3527
|
inputSchema: {
|
|
3521
3528
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
3522
3529
|
type: "object",
|
|
@@ -3553,7 +3560,7 @@ var capabilities_default = {
|
|
|
3553
3560
|
required: ["type"]
|
|
3554
3561
|
},
|
|
3555
3562
|
confirm: {
|
|
3556
|
-
description: "Set true
|
|
3563
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
3557
3564
|
type: "boolean"
|
|
3558
3565
|
}
|
|
3559
3566
|
},
|
|
@@ -4009,7 +4016,7 @@ var capabilities_default = {
|
|
|
4009
4016
|
toolsets: ["admin"],
|
|
4010
4017
|
local: {
|
|
4011
4018
|
title: "Invite someone to the workspace",
|
|
4012
|
-
description: "Send a workspace invitation. Fillo emails the address, and accepting gives that person access to every form, response, and setting in the workspace at the role you pick. That is mail leaving Fillo to a person, and access changing \u2014
|
|
4019
|
+
description: "Send a workspace invitation. Fillo emails the address, and accepting gives that person access to every form, response, and setting in the workspace at the role you pick. That is mail leaving Fillo to a person, and access changing \u2014 pass confirm=true when the user authorized this address and role. Otherwise ask for their decision. You can never grant a role above the acting person's own. Needs members:manage.",
|
|
4013
4020
|
inputSchema: {
|
|
4014
4021
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4015
4022
|
type: "object",
|
|
@@ -4026,7 +4033,7 @@ var capabilities_default = {
|
|
|
4026
4033
|
enum: ["member", "admin", "owner"]
|
|
4027
4034
|
},
|
|
4028
4035
|
confirm: {
|
|
4029
|
-
description: "Set true
|
|
4036
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
4030
4037
|
type: "boolean"
|
|
4031
4038
|
}
|
|
4032
4039
|
},
|
|
@@ -4072,7 +4079,7 @@ var capabilities_default = {
|
|
|
4072
4079
|
toolsets: ["admin"],
|
|
4073
4080
|
local: {
|
|
4074
4081
|
title: "Change a member's role",
|
|
4075
|
-
description: "Change what someone may do in this workspace. Owners and admins can manage forms, responses, integrations, and credentials; members cannot. This changes who has authority over everything in here, so
|
|
4082
|
+
description: "Change what someone may do in this workspace. Owners and admins can manage forms, responses, integrations, and credentials; members cannot. This changes who has authority over everything in here, so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. You can never grant a role above the acting person's own. Identify the member by id or email from fillo_list_members. Needs members:manage.",
|
|
4076
4083
|
inputSchema: {
|
|
4077
4084
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4078
4085
|
type: "object",
|
|
@@ -4088,7 +4095,7 @@ var capabilities_default = {
|
|
|
4088
4095
|
description: "The new role."
|
|
4089
4096
|
},
|
|
4090
4097
|
confirm: {
|
|
4091
|
-
description: "Set true
|
|
4098
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
4092
4099
|
type: "boolean"
|
|
4093
4100
|
}
|
|
4094
4101
|
},
|
|
@@ -4134,7 +4141,7 @@ var capabilities_default = {
|
|
|
4134
4141
|
toolsets: ["admin"],
|
|
4135
4142
|
local: {
|
|
4136
4143
|
title: "Remove a workspace member",
|
|
4137
|
-
description: "Remove someone from the workspace. They immediately lose access to every form, response, and setting in it, and getting back in means a fresh invitation. `confirm` must be their EMAIL exactly as fillo_list_members shows it \u2014 not their member id.
|
|
4144
|
+
description: "Remove someone from the workspace. They immediately lose access to every form, response, and setting in it, and getting back in means a fresh invitation. `confirm` must be their EMAIL exactly as fillo_list_members shows it \u2014 not their member id. Set confirm to that exact email when the user authorized removing this person; otherwise ask for their decision. Needs members:manage.",
|
|
4138
4145
|
inputSchema: {
|
|
4139
4146
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4140
4147
|
type: "object",
|
|
@@ -4148,7 +4155,7 @@ var capabilities_default = {
|
|
|
4148
4155
|
type: "string",
|
|
4149
4156
|
minLength: 1,
|
|
4150
4157
|
maxLength: 256,
|
|
4151
|
-
description: "The exact member email address
|
|
4158
|
+
description: "The exact member email address for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
4152
4159
|
}
|
|
4153
4160
|
},
|
|
4154
4161
|
required: ["member", "confirm"]
|
|
@@ -4228,7 +4235,7 @@ var capabilities_default = {
|
|
|
4228
4235
|
toolsets: ["admin"],
|
|
4229
4236
|
local: {
|
|
4230
4237
|
title: "Revoke a connector token",
|
|
4231
|
-
description: "Kill a CLI/connector token. Whatever is using it stops working immediately and it cannot be restored \u2014 including, possibly, the credential this MCP server is running on. `confirm` must be the token id exactly.
|
|
4238
|
+
description: "Kill a CLI/connector token. Whatever is using it stops working immediately and it cannot be restored \u2014 including, possibly, the credential this MCP server is running on. `confirm` must be the token id exactly. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
|
|
4232
4239
|
inputSchema: {
|
|
4233
4240
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4234
4241
|
type: "object",
|
|
@@ -4242,7 +4249,7 @@ var capabilities_default = {
|
|
|
4242
4249
|
type: "string",
|
|
4243
4250
|
minLength: 1,
|
|
4244
4251
|
maxLength: 256,
|
|
4245
|
-
description: "The exact token id
|
|
4252
|
+
description: "The exact token id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
4246
4253
|
}
|
|
4247
4254
|
},
|
|
4248
4255
|
required: ["id", "confirm"]
|
|
@@ -4370,7 +4377,7 @@ var capabilities_default = {
|
|
|
4370
4377
|
toolsets: ["admin"],
|
|
4371
4378
|
local: {
|
|
4372
4379
|
title: "Revoke a form sync token",
|
|
4373
|
-
description: "Kill an `fsync_` token. Any build or CI job using it stops being able to sync schemas immediately, and it cannot be restored \u2014 mint a new one and update the secret. `confirm` must be the token id exactly.
|
|
4380
|
+
description: "Kill an `fsync_` token. Any build or CI job using it stops being able to sync schemas immediately, and it cannot be restored \u2014 mint a new one and update the secret. `confirm` must be the token id exactly. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
|
|
4374
4381
|
inputSchema: {
|
|
4375
4382
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4376
4383
|
type: "object",
|
|
@@ -4384,7 +4391,7 @@ var capabilities_default = {
|
|
|
4384
4391
|
type: "string",
|
|
4385
4392
|
minLength: 1,
|
|
4386
4393
|
maxLength: 256,
|
|
4387
|
-
description: "The exact sync token id
|
|
4394
|
+
description: "The exact sync token id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
4388
4395
|
}
|
|
4389
4396
|
},
|
|
4390
4397
|
required: ["id", "confirm"]
|
|
@@ -4463,7 +4470,7 @@ var capabilities_default = {
|
|
|
4463
4470
|
toolsets: ["admin"],
|
|
4464
4471
|
local: {
|
|
4465
4472
|
title: "Set the code-sync policy",
|
|
4466
|
-
description: 'Choose what may sync code-defined form schemas into this project. "publishable_key" lets the browser-safe `pk_` key sync, which is convenient in development; "trusted_only" requires an `fsync_` token, which is what a production project should use. Changing this changes who may alter live form schemas, so
|
|
4473
|
+
description: 'Choose what may sync code-defined form schemas into this project. "publishable_key" lets the browser-safe `pk_` key sync, which is convenient in development; "trusted_only" requires an `fsync_` token, which is what a production project should use. Changing this changes who may alter live form schemas, so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. Needs workspace:manage.',
|
|
4467
4474
|
inputSchema: {
|
|
4468
4475
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4469
4476
|
type: "object",
|
|
@@ -4474,7 +4481,7 @@ var capabilities_default = {
|
|
|
4474
4481
|
description: "publishable_key (permissive) or trusted_only (production)."
|
|
4475
4482
|
},
|
|
4476
4483
|
confirm: {
|
|
4477
|
-
description: "Set true
|
|
4484
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
4478
4485
|
type: "boolean"
|
|
4479
4486
|
}
|
|
4480
4487
|
},
|
|
@@ -4552,7 +4559,7 @@ var capabilities_default = {
|
|
|
4552
4559
|
toolsets: ["admin"],
|
|
4553
4560
|
local: {
|
|
4554
4561
|
title: "Set the allowed embed origins",
|
|
4555
|
-
description: "REPLACE the list of origins allowed to render this project's forms with a publishable key. The list is not merged: anything you leave out stops being allowed, so a live embed can go dark. Read the current list with fillo_get_origins,
|
|
4562
|
+
description: "REPLACE the list of origins allowed to render this project's forms with a publishable key. The list is not merged: anything you leave out stops being allowed, so a live embed can go dark. Read the current list with fillo_get_origins, pass confirm=true when the user authorized this replacement list. Otherwise ask for their decision. An empty array means any origin. Entries must be bare http(s) origins with no path. Needs workspace:manage.",
|
|
4556
4563
|
inputSchema: {
|
|
4557
4564
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4558
4565
|
type: "object",
|
|
@@ -4567,7 +4574,7 @@ var capabilities_default = {
|
|
|
4567
4574
|
description: 'The complete new list, e.g. ["https://app.example.com"]. [] means any origin.'
|
|
4568
4575
|
},
|
|
4569
4576
|
confirm: {
|
|
4570
|
-
description: "Set true
|
|
4577
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
4571
4578
|
type: "boolean"
|
|
4572
4579
|
}
|
|
4573
4580
|
},
|
|
@@ -4648,13 +4655,13 @@ var capabilities_default = {
|
|
|
4648
4655
|
toolsets: ["admin"],
|
|
4649
4656
|
local: {
|
|
4650
4657
|
title: "Turn on identity verification",
|
|
4651
|
-
description: "Turn on signed respondent identities for this project and mint the signing secret. Once any form requires verification, your app must sign every respondent with this secret or those people cannot submit \u2014 so
|
|
4658
|
+
description: "Turn on signed respondent identities for this project and mint the signing secret. Once any form requires verification, your app must sign every respondent with this secret or those people cannot submit \u2014 so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. The secret comes back in THIS RESPONSE ONLY; hand it to the human for their secret store. Calling it again when verification is already on returns minted:false and NO secret \u2014 enabling twice can never read an existing secret back. Needs workspace:manage.",
|
|
4652
4659
|
inputSchema: {
|
|
4653
4660
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4654
4661
|
type: "object",
|
|
4655
4662
|
properties: {
|
|
4656
4663
|
confirm: {
|
|
4657
|
-
description: "Set true
|
|
4664
|
+
description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
|
|
4658
4665
|
type: "boolean"
|
|
4659
4666
|
}
|
|
4660
4667
|
}
|
|
@@ -4689,7 +4696,7 @@ var capabilities_default = {
|
|
|
4689
4696
|
toolsets: ["admin"],
|
|
4690
4697
|
local: {
|
|
4691
4698
|
title: "Turn off identity verification",
|
|
4692
|
-
description: "Turn off signed respondent identities and DESTROY the signing secret. Anything still signing with it breaks, and turning verification back on mints a different secret you would have to redeploy. Refused while any form still requires a verified respondent. `confirm` must be the project's slug (from fillo_whoami); the server compares it.
|
|
4699
|
+
description: "Turn off signed respondent identities and DESTROY the signing secret. Anything still signing with it breaks, and turning verification back on mints a different secret you would have to redeploy. Refused while any form still requires a verified respondent. `confirm` must be the project's slug (from fillo_whoami); the server compares it. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
|
|
4693
4700
|
inputSchema: {
|
|
4694
4701
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4695
4702
|
type: "object",
|
|
@@ -4698,7 +4705,7 @@ var capabilities_default = {
|
|
|
4698
4705
|
type: "string",
|
|
4699
4706
|
minLength: 1,
|
|
4700
4707
|
maxLength: 256,
|
|
4701
|
-
description: "The exact project slug
|
|
4708
|
+
description: "The exact project slug for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
4702
4709
|
}
|
|
4703
4710
|
},
|
|
4704
4711
|
required: ["confirm"]
|
|
@@ -4772,7 +4779,7 @@ var capabilities_default = {
|
|
|
4772
4779
|
toolsets: ["admin"],
|
|
4773
4780
|
local: {
|
|
4774
4781
|
title: "Revoke an MCP client's access",
|
|
4775
|
-
description: "Cut off a connected MCP client. It loses access immediately and reconnecting means a fresh consent screen in a browser. `confirm` must be the grant id exactly \u2014 the `id` from fillo_list_agents, not the client's label.
|
|
4782
|
+
description: "Cut off a connected MCP client. It loses access immediately and reconnecting means a fresh consent screen in a browser. `confirm` must be the grant id exactly \u2014 the `id` from fillo_list_agents, not the client's label. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
|
|
4776
4783
|
inputSchema: {
|
|
4777
4784
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4778
4785
|
type: "object",
|
|
@@ -4786,7 +4793,7 @@ var capabilities_default = {
|
|
|
4786
4793
|
type: "string",
|
|
4787
4794
|
minLength: 1,
|
|
4788
4795
|
maxLength: 256,
|
|
4789
|
-
description: "The exact grant id
|
|
4796
|
+
description: "The exact grant id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
4790
4797
|
}
|
|
4791
4798
|
},
|
|
4792
4799
|
required: ["id", "confirm"]
|
|
@@ -4865,7 +4872,7 @@ var capabilities_default = {
|
|
|
4865
4872
|
toolsets: ["admin"],
|
|
4866
4873
|
local: {
|
|
4867
4874
|
title: "Revoke a project API key",
|
|
4868
|
-
description: "Kill an `fsk_` project API key. Anything using it \u2014 a script, a CI job, another agent \u2014 stops immediately and it cannot be restored; mint a new key and update the consumer. `confirm` must be the key id exactly, from fillo_list_api_keys.
|
|
4875
|
+
description: "Kill an `fsk_` project API key. Anything using it \u2014 a script, a CI job, another agent \u2014 stops immediately and it cannot be restored; mint a new key and update the consumer. `confirm` must be the key id exactly, from fillo_list_api_keys. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs a LOGIN TOKEN, so a leaked key can never revoke the workspace's other keys.",
|
|
4869
4876
|
inputSchema: {
|
|
4870
4877
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
4871
4878
|
type: "object",
|
|
@@ -4879,7 +4886,7 @@ var capabilities_default = {
|
|
|
4879
4886
|
type: "string",
|
|
4880
4887
|
minLength: 1,
|
|
4881
4888
|
maxLength: 256,
|
|
4882
|
-
description: "The exact API key id
|
|
4889
|
+
description: "The exact API key id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
|
|
4883
4890
|
}
|
|
4884
4891
|
},
|
|
4885
4892
|
required: ["id", "confirm"]
|
|
@@ -5160,17 +5167,17 @@ import { z as z4 } from "zod";
|
|
|
5160
5167
|
// src/tools/confirm.ts
|
|
5161
5168
|
import { z as z2 } from "zod";
|
|
5162
5169
|
var OUTWARD_CONFIRM = z2.boolean().optional().describe(
|
|
5163
|
-
"Set true
|
|
5170
|
+
"Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing."
|
|
5164
5171
|
);
|
|
5165
5172
|
function blockOutward(confirm, action) {
|
|
5166
5173
|
if (confirm === true) return void 0;
|
|
5167
5174
|
return fail(
|
|
5168
|
-
`${action}
|
|
5175
|
+
`${action} requires the user's authorization. If the human already requested this action on this target, call again with confirm=true. Otherwise explain the action and ask for their decision. Nothing has changed.`
|
|
5169
5176
|
);
|
|
5170
5177
|
}
|
|
5171
5178
|
function typedConfirm(target) {
|
|
5172
5179
|
return z2.string().trim().min(1).max(256).describe(
|
|
5173
|
-
`The exact ${target}
|
|
5180
|
+
`The exact ${target} for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision.`
|
|
5174
5181
|
);
|
|
5175
5182
|
}
|
|
5176
5183
|
function mismatch(confirm, expected, target) {
|
|
@@ -6574,7 +6581,7 @@ function registerPublishForm(server) {
|
|
|
6574
6581
|
inputSchema: {
|
|
6575
6582
|
form: z12.string().trim().min(1).max(200).describe("Form id, hosted slug, or stable push handle."),
|
|
6576
6583
|
allowBreaking: z12.boolean().optional().describe(
|
|
6577
|
-
"Acknowledge removing or re-typing fields that existing responses answered.
|
|
6584
|
+
"Acknowledge removing or re-typing fields that existing responses answered. Use true when the user authorized these field removals or type changes; otherwise ask for their decision."
|
|
6578
6585
|
)
|
|
6579
6586
|
},
|
|
6580
6587
|
annotations: localCapability("fillo_publish_form").annotations
|
|
@@ -6601,7 +6608,7 @@ function registerPublishForm(server) {
|
|
|
6601
6608
|
const breaking = res.json?.code === "breaking_changes";
|
|
6602
6609
|
const message = apiErrorMessage(res, "Couldn't publish the form");
|
|
6603
6610
|
return fail(
|
|
6604
|
-
message + (warningUrl ? ` Fix it here: ${warningUrl}` : "") + (breaking ? " Re-run fillo_publish_form with allowBreaking=true
|
|
6611
|
+
message + (warningUrl ? ` Fix it here: ${warningUrl}` : "") + (breaking ? " Re-run fillo_publish_form with allowBreaking=true if the user authorized these field removals or type changes. Otherwise ask for their decision." : ""),
|
|
6605
6612
|
{
|
|
6606
6613
|
...typeof res.json?.code === "string" ? { code: res.json.code } : {},
|
|
6607
6614
|
...typeof res.json?.warningCode === "string" ? { warningCode: res.json.warningCode } : {},
|
package/package.json
CHANGED