@showly/mcp-server 0.4.1 → 0.4.2
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.d.ts +2 -2
- package/dist/cli.js +5 -3
- package/manifest.json +1 -1
- package/package.json +3 -3
package/dist/cli.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export type Target = "claude-code" | "codex" | "stdout";
|
|
|
6
6
|
* `--to` describes where this CLI writes the credential; `--agent` describes
|
|
7
7
|
* which host will use it. They are the same for the two hosts we can write
|
|
8
8
|
* directly, but intentionally separate for `--print-token`, where another
|
|
9
|
-
* agent (OpenClaw / Cursor / Cline) receives the value after this process
|
|
9
|
+
* agent (OpenClaw / Cursor / Hermes / Cline) receives the value after this process
|
|
10
10
|
* exits.
|
|
11
11
|
*/
|
|
12
|
-
export declare const LOGIN_AGENTS: readonly ["claude-code", "codex", "cursor", "openclaw", "cline"];
|
|
12
|
+
export declare const LOGIN_AGENTS: readonly ["claude-code", "codex", "cursor", "openclaw", "hermes", "cline"];
|
|
13
13
|
export type LoginAgent = (typeof LOGIN_AGENTS)[number];
|
|
14
14
|
/**
|
|
15
15
|
* The version of THIS copy of the package, read from the manifest that ships
|
package/dist/cli.js
CHANGED
|
@@ -42,7 +42,7 @@ import { SHOWLY_HOSTING_SKILL_DIRECTORY, SHOWLY_HOSTING_SKILL_NAME, SHOWLY_LEGAC
|
|
|
42
42
|
* `--to` describes where this CLI writes the credential; `--agent` describes
|
|
43
43
|
* which host will use it. They are the same for the two hosts we can write
|
|
44
44
|
* directly, but intentionally separate for `--print-token`, where another
|
|
45
|
-
* agent (OpenClaw / Cursor / Cline) receives the value after this process
|
|
45
|
+
* agent (OpenClaw / Cursor / Hermes / Cline) receives the value after this process
|
|
46
46
|
* exits.
|
|
47
47
|
*/
|
|
48
48
|
export const LOGIN_AGENTS = [
|
|
@@ -50,6 +50,7 @@ export const LOGIN_AGENTS = [
|
|
|
50
50
|
"codex",
|
|
51
51
|
"cursor",
|
|
52
52
|
"openclaw",
|
|
53
|
+
"hermes",
|
|
53
54
|
"cline",
|
|
54
55
|
];
|
|
55
56
|
/**
|
|
@@ -92,7 +93,7 @@ function usage() {
|
|
|
92
93
|
"so login also prints the export line that sets it. --print-token writes",
|
|
93
94
|
"ONLY the token to stdout (everything else goes to stderr) so CI can",
|
|
94
95
|
"capture it without it touching a file. When that token is for another",
|
|
95
|
-
"host, pass --agent <cursor|openclaw|cline> so My Agents can name it.",
|
|
96
|
+
"host, pass --agent <cursor|openclaw|hermes|cline> so My Agents can name it.",
|
|
96
97
|
"",
|
|
97
98
|
"Environment overrides:",
|
|
98
99
|
" SHOWLY_MCP_URL full URL to your MCP endpoint (default https://mcp.showly.ai)",
|
|
@@ -352,6 +353,7 @@ export const LOGIN_AGENT_CLIENT_IDS = {
|
|
|
352
353
|
codex: `${LOGIN_CLIENT_ID}/codex`,
|
|
353
354
|
cursor: `${LOGIN_CLIENT_ID}/cursor`,
|
|
354
355
|
openclaw: `${LOGIN_CLIENT_ID}/openclaw`,
|
|
356
|
+
hermes: `${LOGIN_CLIENT_ID}/hermes`,
|
|
355
357
|
cline: `${LOGIN_CLIENT_ID}/cline`,
|
|
356
358
|
};
|
|
357
359
|
export function loginClientId(target, agent) {
|
|
@@ -1103,7 +1105,7 @@ export async function runCli(argv, io = consoleIo, env = process.env) {
|
|
|
1103
1105
|
}
|
|
1104
1106
|
const agent = parseLoginAgent(parsed);
|
|
1105
1107
|
if (agent === null) {
|
|
1106
|
-
io.err("login: --agent must be claude-code, codex, cursor, openclaw or cline");
|
|
1108
|
+
io.err("login: --agent must be claude-code, codex, cursor, openclaw, hermes or cline");
|
|
1107
1109
|
return 2;
|
|
1108
1110
|
}
|
|
1109
1111
|
if (target !== "stdout" && agent !== undefined && agent !== target) {
|
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.
|
|
5
|
+
"version": "0.4.2",
|
|
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.
|
|
3
|
+
"version": "0.4.2",
|
|
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.
|
|
55
|
+
"version": "0.4.2",
|
|
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.
|
|
68
|
+
"version": "0.4.2",
|
|
69
69
|
"type": "mcp-server",
|
|
70
70
|
"manifest": "manifest.json"
|
|
71
71
|
},
|