@mosvera/mcp 0.1.3 → 0.1.4
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/README.md +2 -2
- package/dist/context.d.ts +1 -1
- package/dist/context.js +1 -1
- package/dist/tools/aesthetic.js +4 -1
- package/mcpb/manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ deterministic provider payloads that other tools can consume.
|
|
|
18
18
|
|
|
19
19
|
The easiest path for non-command-line users is the Mosvera MCP Bundle:
|
|
20
20
|
|
|
21
|
-
1. Download `mosvera-mcp-0.1.
|
|
21
|
+
1. Download `mosvera-mcp-0.1.4.mcpb` from the latest
|
|
22
22
|
[GitHub release](https://github.com/mosvera/mcp/releases).
|
|
23
23
|
2. Double-click the file, drag it into Claude Desktop, or install it from
|
|
24
24
|
Claude Desktop Settings → Extensions → Advanced settings → Install
|
|
@@ -176,7 +176,7 @@ npm run mcpb:inspect
|
|
|
176
176
|
The MCPB pack step creates:
|
|
177
177
|
|
|
178
178
|
```text
|
|
179
|
-
build/mosvera/mosvera-mcp-0.1.
|
|
179
|
+
build/mosvera/mosvera-mcp-0.1.4.mcpb
|
|
180
180
|
```
|
|
181
181
|
|
|
182
182
|
## Package Boundaries
|
package/dist/context.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type LoadedProject, type RegistryDiagnostic, type Validator } from "@mosvera/runtime";
|
|
2
2
|
import type { ToolContext } from "./types.ts";
|
|
3
|
-
export declare const SERVER_VERSION = "0.1.
|
|
3
|
+
export declare const SERVER_VERSION = "0.1.4";
|
|
4
4
|
export interface CliOptions {
|
|
5
5
|
registryDir?: string;
|
|
6
6
|
readOnlyMode: boolean;
|
package/dist/context.js
CHANGED
|
@@ -12,7 +12,7 @@ import { loadProject, RegistryProjectError } from "@mosvera/runtime/node";
|
|
|
12
12
|
import { fluxAdapter } from "@mosvera/provider-flux";
|
|
13
13
|
import { openaiAdapter } from "@mosvera/provider-openai";
|
|
14
14
|
import { sdxlAdapter } from "@mosvera/provider-sdxl";
|
|
15
|
-
export const SERVER_VERSION = "0.1.
|
|
15
|
+
export const SERVER_VERSION = "0.1.4";
|
|
16
16
|
function flagValue(argv, name) {
|
|
17
17
|
const direct = argv.find((arg) => arg.startsWith(`${name}=`));
|
|
18
18
|
if (direct !== undefined)
|
package/dist/tools/aesthetic.js
CHANGED
|
@@ -184,7 +184,10 @@ export function runServerStatus(ctx) {
|
|
|
184
184
|
}
|
|
185
185
|
export function runListAesthetics(ctx) {
|
|
186
186
|
const aesthetics = listRegistryEntries(ctx.project.registry, "composition");
|
|
187
|
-
|
|
187
|
+
const label = aesthetics.length === 1 ? "aesthetic" : "aesthetics";
|
|
188
|
+
const summary = aesthetics.length === 0 ? "Found 0 aesthetics." :
|
|
189
|
+
`Found ${aesthetics.length} ${label}:\n${aesthetics.map((entry) => `- ${entry.id}${entry.base !== undefined ? ` (base: ${entry.base})` : ""}`).join("\n")}`;
|
|
190
|
+
return ok(summary, { aesthetics });
|
|
188
191
|
}
|
|
189
192
|
export function runGetRegistryDocument(ctx, args) {
|
|
190
193
|
if (args.kind === "capability-manifest") {
|
package/mcpb/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "mosvera-mcp",
|
|
4
4
|
"display_name": "Mosvera",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.4",
|
|
6
6
|
"description": "Resolve, compile, and save local Mosvera aesthetics from Claude Desktop.",
|
|
7
7
|
"long_description": "Mosvera runs locally against your own aesthetic registry. It lets Claude list named aesthetics, resolve them to canonical Mosvera models, compile portable design tokens and CSS variables, and save registry documents without sending provider requests or storing secrets.",
|
|
8
8
|
"author": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mosvera/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Run Mosvera as local MCP tools for agents, editors, and Claude Desktop.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"ci": "npm run build && npm run typecheck && npm test",
|
|
42
42
|
"clean": "rm -rf dist",
|
|
43
43
|
"mcpb:stage": "npm run build && node scripts/stage-mcpb.mjs",
|
|
44
|
-
"mcpb:pack": "npm run mcpb:stage && mcpb pack build/mcpb/mosvera build/mosvera/mosvera-mcp-0.1.
|
|
45
|
-
"mcpb:inspect": "node scripts/inspect-mcpb.mjs build/mosvera/mosvera-mcp-0.1.
|
|
44
|
+
"mcpb:pack": "npm run mcpb:stage && mcpb pack build/mcpb/mosvera build/mosvera/mosvera-mcp-0.1.4.mcpb",
|
|
45
|
+
"mcpb:inspect": "node scripts/inspect-mcpb.mjs build/mosvera/mosvera-mcp-0.1.4.mcpb",
|
|
46
46
|
"prepublishOnly": "npm run build && npm run typecheck && npm test",
|
|
47
47
|
"start": "tsx src/server.ts",
|
|
48
48
|
"test": "vitest run",
|