@savvy-web/mcp 2.6.10 → 2.7.1

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/index.d.ts CHANGED
@@ -48,11 +48,11 @@ interface McpContext {
48
48
  * `Changesets.makeDepsRegenDefault`'s composition ("versionable minus
49
49
  * ignored", identical to the savvy CLI).
50
50
  */
51
- declare const makeSilkRuntimeLayer: (cwd: string) => Layer.Layer<McpServices, never, FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner>;
51
+ export declare const makeSilkRuntimeLayer: (cwd: string) => Layer.Layer<McpServices, never, FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner>;
52
52
  //#endregion
53
53
  //#region src/server.d.ts
54
54
  /** Build the server and connect it over stdio. */
55
- declare function startMcpServer(ctx: McpContext): Promise<void>;
55
+ export declare function startMcpServer(ctx: McpContext): Promise<void>;
56
56
  //#endregion
57
57
  //#region src/version.d.ts
58
58
  /**
@@ -62,7 +62,7 @@ declare function startMcpServer(ctx: McpContext): Promise<void>;
62
62
  *
63
63
  * @packageDocumentation
64
64
  */
65
- declare const CURRENT_MCP_VERSION = "0.0.0";
65
+ export declare const CURRENT_MCP_VERSION = "0.0.0";
66
66
  //#endregion
67
- export { CURRENT_MCP_VERSION, type McpContext, type McpServices, makeSilkRuntimeLayer, startMcpServer };
67
+ export type { McpContext, McpServices };
68
68
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/mcp",
3
- "version": "2.6.10",
3
+ "version": "2.7.1",
4
4
  "private": false,
5
5
  "description": "The savvy MCP server — Silk Suite tooling and library knowledge for coding agents",
6
6
  "homepage": "https://github.com/savvy-web/systems/tree/main/packages/mcp",
@@ -31,13 +31,13 @@
31
31
  "savvy-mcp": "bin/savvy-mcp.js"
32
32
  },
33
33
  "dependencies": {
34
- "@effect/platform-node": "4.0.0-rc.109",
35
- "@effected/commands": "^0.5.0",
36
- "@effected/git": "^0.10.0",
37
- "@effected/workspaces": "^0.18.3",
34
+ "@effect/platform-node": "4.0.0-rc.112",
35
+ "@effected/commands": "^0.6.0",
36
+ "@effected/git": "^0.11.0",
37
+ "@effected/workspaces": "^0.20.0",
38
38
  "@modelcontextprotocol/sdk": "^1.30.0",
39
- "@savvy-web/silk-effects": "7.3.2",
40
- "effect": "4.0.0-rc.109",
39
+ "@savvy-web/silk-effects": "7.5.0",
40
+ "effect": "4.0.0-rc.112",
41
41
  "zod": "^4.5.4"
42
42
  }
43
43
  }
@@ -77,7 +77,7 @@ const renderMarkdown = (data) => {
77
77
  `## Packages`
78
78
  ];
79
79
  for (const p of r.packages) {
80
- lines.push(`### ${mdInline(p.name)} (${mdInline(p.version)})`, `- dir: ${mdInline(p.workspaceDir)}`);
80
+ lines.push(p.version === void 0 ? `### ${mdInline(p.name)}` : `### ${mdInline(p.name)} (${mdInline(p.version)})`, `- dir: ${mdInline(p.workspaceDir)}`);
81
81
  if (p.additionalScopes.length > 0) lines.push(`- additionalScopes: ${p.additionalScopes.map(mdInline).join(", ")}`);
82
82
  if (p.versionFiles.length > 0) lines.push(`- versionFiles: ${p.versionFiles.map((v) => mdInline(v.glob)).join(", ")}`);
83
83
  }
@@ -6,7 +6,8 @@ import { Effect, Schema, SchemaGetter } from "effect";
6
6
  /** A flattened, non-recursive summary of one analyzed workspace. */
7
7
  const WorkspaceSummary = Schema.Struct({
8
8
  name: Schema.String,
9
- version: Schema.String,
9
+ /** Absent when the manifest declares no `version` — legal for a private package or root. */
10
+ version: Schema.optional(Schema.String),
10
11
  path: Schema.String,
11
12
  root: Schema.Boolean,
12
13
  publishable: Schema.Boolean,
@@ -39,7 +40,7 @@ const WorkspaceInfoResult = Schema.Struct({
39
40
  });
40
41
  const toSummary = (w) => ({
41
42
  name: w.name,
42
- version: w.version.current,
43
+ ...w.version.current !== void 0 ? { version: w.version.current } : {},
43
44
  path: w.path,
44
45
  root: w.root,
45
46
  publishable: w.publishable,
@@ -74,7 +75,7 @@ const formatWorkspaceInfoMarkdown = (data) => {
74
75
  "| name | version | publishable | versioned | tagged | released |",
75
76
  "| --- | --- | --- | --- | --- | --- |"
76
77
  ];
77
- for (const w of data.workspaces) lines.push(`| ${w.name} | ${w.version} | ${w.publishable} | ${w.versioned} | ${w.tagged} | ${w.released} |`);
78
+ for (const w of data.workspaces) lines.push(`| ${w.name} | ${w.version ?? "—"} | ${w.publishable} | ${w.versioned} | ${w.tagged} | ${w.released} |`);
78
79
  return lines.join("\n");
79
80
  };
80
81
  /** One-way transform: result to markdown. Encoding back is forbidden. */