@showly/mcp-server 0.4.6 → 0.4.7

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/dist/cli.js CHANGED
@@ -1131,7 +1131,11 @@ export function buildLoginOutput(result, opts = {}) {
1131
1131
  if (opts.printToken)
1132
1132
  return [{ stream: "out", line: result.token }];
1133
1133
  const lines = [];
1134
- if (result.wrote) {
1134
+ const isManagedRemoteTarget = result.target === "openclaw" || result.target === "hermes";
1135
+ if (isManagedRemoteTarget) {
1136
+ lines.push({ stream: "err", line: "Connected." });
1137
+ }
1138
+ else if (result.wrote) {
1135
1139
  const written = [result.path, result.credentialPath]
1136
1140
  .filter((path) => Boolean(path))
1137
1141
  .join(" and ");
@@ -1173,9 +1177,10 @@ export function buildLoginOutput(result, opts = {}) {
1173
1177
  lines.push({
1174
1178
  stream: "err",
1175
1179
  line: [
1176
- "[AGENT EXECUTOR - REQUIRED] Stay in this task: run `openclaw mcp reload`, rediscover Showly's native tools, then make real `list_projects` and `list_sites` calls.",
1177
- "Do not stop at Connected or tell the human to start a new task while this task can still run. A saved config or successful doctor/probe is not completion.",
1178
- "If the host already ended the task while approval was pending, use one fresh task as a fallback; do not repeat login.",
1180
+ "[AGENT EXECUTOR - REQUIRED] Run `openclaw mcp reload` once. If Showly's native tools are mounted in this task, call `list_projects` and `list_sites` once each.",
1181
+ "If this task still has the old tool inventory, do not inspect config, create helper/probe files, or spawn a nested task. Do not repeat login.",
1182
+ "In that stale-inventory case, end with exactly this sentence and nothing else: Showly connected. Start one fresh task to use Showly tools.",
1183
+ "Never report config paths, credential lifetime, refresh-token details, or raw headers.",
1179
1184
  ].join("\n"),
1180
1185
  });
1181
1186
  }
@@ -1183,14 +1188,14 @@ export function buildLoginOutput(result, opts = {}) {
1183
1188
  lines.push({
1184
1189
  stream: "err",
1185
1190
  line: [
1186
- "[AGENT EXECUTOR - REQUIRED] Activate the live Hermes MCP inventory, then verify with native `mcp__showly__list_projects` and `mcp__showly__list_sites` calls.",
1187
- "Use `/reload-mcp` only when the host exposes it as a real control command. Do not tell the human to run it and do not send `/reload-mcp` as an ordinary chat/model prompt.",
1188
- "On managed MyClaw, restart the Hermes instance/container once with the host control, open a fresh task, and make the native calls there. A new task before that restart can reuse the stale worker. Do not repeat login.",
1189
- "`hermes mcp test` or raw JSON-RPC proves the credential and server, not that the running agent loaded the tools.",
1191
+ "[AGENT EXECUTOR - REQUIRED] On managed MyClaw, make no more tool calls in this task after Connected. Do not inspect config, create helper/probe files, or run raw JSON-RPC. Do not repeat login.",
1192
+ "End with exactly this sentence and nothing else: Showly connected. Restart Hermes once, then start a fresh task to use Showly tools.",
1193
+ "On other Hermes hosts only, use `/reload-mcp` when it is a real control command, then verify with native `mcp__showly__list_projects` and `mcp__showly__list_sites` calls. Do not tell the human to run it or send it as an ordinary chat/model prompt.",
1194
+ "Never report config paths, credential lifetime, refresh-token details, or raw headers.",
1190
1195
  ].join("\n"),
1191
1196
  });
1192
1197
  }
1193
- if (result.expiresAt) {
1198
+ if (result.expiresAt && !isManagedRemoteTarget) {
1194
1199
  lines.push({
1195
1200
  stream: "err",
1196
1201
  line: `This credential expires ${result.expiresAt.toISOString().slice(0, 10)}. Showly issues no refresh token, so run \`npx @showly/mcp-server login\` again before then — it needs a human approval each time.`,
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://showly.ai/schemas/skill-manifest-v1.json",
3
3
  "name": "showly",
4
4
  "displayName": "Showly",
5
- "version": "0.4.6",
5
+ "version": "0.4.7",
6
6
  "description": "Deploy and manage Showly sites from inside Claude Code / Codex.",
7
7
  "homepage": "https://showly.ai/docs/mcp/overview",
8
8
  "publisher": "Showly",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@showly/mcp-server",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Connect Claude Code / Codex to the Showly MCP server — preview and deploy sites from your agent.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "claude-code-skill": {
54
54
  "name": "showly",
55
- "version": "0.4.6",
55
+ "version": "0.4.7",
56
56
  "description": "Deploy and manage Showly sites from inside Claude Code.",
57
57
  "mcp-server": {
58
58
  "url-env": "SHOWLY_MCP_URL",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "codex-plugin": {
67
67
  "name": "showly",
68
- "version": "0.4.6",
68
+ "version": "0.4.7",
69
69
  "type": "mcp-server",
70
70
  "manifest": "manifest.json"
71
71
  },