drafted 1.19.53 → 1.19.54
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/mcp/server.mjs +2 -2
- package/package.json +1 -1
package/mcp/server.mjs
CHANGED
|
@@ -2878,8 +2878,8 @@ tool('tour', {
|
|
|
2878
2878
|
// re-pointed at content the human never read. See SECURITY.md.
|
|
2879
2879
|
tool('action', {
|
|
2880
2880
|
action: z.enum(['propose', 'list', 'read']).describe('propose: ask a human to authorise one outward effect, or a chain of them approved together. list: your org\'s pending proposals. read: one chain with every payload as the approver will see it.'),
|
|
2881
|
-
type: z.string().optional().describe('[propose] One of: share_project, share_frame, change_share_role, create_public_frame_link, create_public_lane_link, comment_mention. Anything else is refused — the list is fixed in source, not data.'),
|
|
2882
|
-
payload: z.string().optional().describe('[propose] JSON object for this type. share_project {projectId,email,role}; share_frame {frameId,email,role}; change_share_role {shareId,role}; create_public_frame_link {frameId}; create_public_lane_link {projectId,layer,lane}; comment_mention {frameId,body,email}. Optional expiresInHours on the share types.'),
|
|
2881
|
+
type: z.string().optional().describe('[propose] One of: share_project, share_frame, change_share_role, create_public_frame_link, create_public_lane_link, comment_mention, send_email. Anything else is refused — the list is fixed in source, not data.'),
|
|
2882
|
+
payload: z.string().optional().describe('[propose] JSON object for this type. share_project {projectId,email,role}; share_frame {frameId,email,role}; change_share_role {shareId,role}; create_public_frame_link {frameId}; create_public_lane_link {projectId,layer,lane}; comment_mention {frameId,body,email}; send_email {from,to,subject,body} (plain text, sent AS you from your own Gmail connected in this workspace; `from` is that address; only you can approve it). Optional expiresInHours on the share types.'),
|
|
2883
2883
|
actions: z.string().optional().describe('[propose] JSON array of {type,payload} to approve TOGETHER as one chain — e.g. share with three people, then comment tagging them. One screen, one decision. Execution is sequential and stops at the first failure; a sent email cannot be rolled back, so it is never all-or-nothing.'),
|
|
2884
2884
|
groupId: z.string().optional().describe('[read] The chain to read.'),
|
|
2885
2885
|
reason: z.string().optional().describe('[propose] One line telling the approver WHY. They see it next to what the action does.'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drafted",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.54",
|
|
4
4
|
"description": "Drafted — visual thinking surface for humans and AI agents. Renders HTML, markdown, images, and code as frames on a zoomable canvas, with MCP tools for AI agents and real-time sync for humans.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|