Check upstream versions and label article-driven components
This commit is contained in:
@@ -11,6 +11,7 @@ use App\Content\DesignLibrary;
|
||||
use App\Content\PageDraft;
|
||||
use App\Content\PageTemplates;
|
||||
use App\Content\Repository;
|
||||
use App\Content\Updates;
|
||||
use App\Content\View;
|
||||
use PDOException;
|
||||
use RuntimeException;
|
||||
@@ -67,7 +68,7 @@ final class McpController
|
||||
return match ($method) {
|
||||
'initialize' => $this->result($id, [
|
||||
'protocolVersion' => in_array($params['protocolVersion'] ?? null, self::PROTOCOLS, true) ? $params['protocolVersion'] : self::PROTOCOLS[0],
|
||||
'capabilities' => ['tools' => (object) []], 'serverInfo' => ['name' => 'laysite', 'version' => trim(file_get_contents(dirname(__DIR__, 2) . '/VERSION'))],
|
||||
'capabilities' => ['tools' => (object) []], 'serverInfo' => ['name' => 'laysite', 'version' => Updates::current()],
|
||||
'instructions' => 'Create or revise draft pages. A human can open the editor URL to review, refine and publish.',
|
||||
]),
|
||||
'ping' => $this->result($id, (object) []),
|
||||
|
||||
Reference in New Issue
Block a user