@displaydev/cli 0.10.0 → 0.11.0

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.
@@ -198,7 +198,9 @@ function okResponse(result) {
198
198
  /**
199
199
  * Starts an MCP server over stdin/stdout.
200
200
  * Tools call the display.dev REST API via the ApiClient.
201
- */ export function startMcpServer(_0) {
201
+ */ var AUTHENTICATED_INSTRUCTIONS = 'display.dev publishes HTML or Markdown artifacts to permanent URLs gated by company authentication — ideal for sharing AI-generated reports, dashboards, or explainers with the user\'s team.';
202
+ var PUBLIC_INSTRUCTIONS = 'display.dev publishes anonymous HTML or Markdown artifacts. Returns a preview URL (anyone can view) plus a one-shot claim URL the user visits to move the artifact into a display.dev organization.';
203
+ export function startMcpServer(_0) {
202
204
  return _async_to_generator(function(apiClient) {
203
205
  var options, _options_mode, _options_transport, mode, server, transport;
204
206
  var _arguments = arguments;
@@ -210,6 +212,8 @@ function okResponse(result) {
210
212
  server = new McpServer({
211
213
  name: 'display',
212
214
  version: '1.0.0'
215
+ }, {
216
+ instructions: mode === 'public' ? PUBLIC_INSTRUCTIONS : AUTHENTICATED_INSTRUCTIONS
213
217
  });
214
218
  if (mode === 'public') {
215
219
  registerPublicTools(server, apiClient);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@displaydev/cli",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "dsp": "dist/main.js"