feat: complete SHD MCP plugin workflows and widget
Validate SHD MCP plugin / validate (push) Has been cancelled
Validate SHD MCP plugin / validate (push) Has been cancelled
This commit is contained in:
@@ -18,7 +18,11 @@ description: Use when the user asks for all active SHD projects, project deadlin
|
||||
|
||||
`Проект | Дата завершения | Статус`
|
||||
|
||||
6. Preserve the server's project name/code and status. If a deadline is a
|
||||
6. If the user is in a UI-capable MCP host, call `shd_render_projects_widget`
|
||||
after the data call, passing the returned `data` array as `projects` and the
|
||||
returned `meta` object as `meta`. The widget is optional; the plain table
|
||||
remains the fallback for hosts without MCP Apps UI.
|
||||
7. Preserve the server's project name/code and status. If a deadline is a
|
||||
datetime, format it with its returned timezone when available; otherwise
|
||||
keep the value unmodified and state that timezone data was unavailable.
|
||||
|
||||
@@ -31,3 +35,5 @@ description: Use when the user asks for all active SHD projects, project deadlin
|
||||
- If the server indicates more records than the tool can return, report that
|
||||
the current tool limit was reached; do not claim a complete list.
|
||||
- This workflow is read-only and must not update, archive or delete projects.
|
||||
|
||||
See `references/project-widget.md` for the data/render boundary.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
interface:
|
||||
display_name: Active SHD projects
|
||||
short_description: Project deadlines and statuses
|
||||
policy:
|
||||
allow_implicit_invocation: false
|
||||
@@ -0,0 +1,5 @@
|
||||
# Project widget contract
|
||||
|
||||
Call the data tool first. Pass only the returned project array and metadata to
|
||||
the render tool. The widget is a presentation layer: it must not invent dates,
|
||||
statuses or project rows and must keep the plain structured table as fallback.
|
||||
Reference in New Issue
Block a user