@savvy-web/mcp 1.5.0 → 1.6.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/runtime.js +13 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/mcp",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
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",
@@ -36,9 +36,9 @@
36
36
  "@effect/rpc": "^0.75.1",
37
37
  "@effect/sql": "^0.51.1",
38
38
  "@modelcontextprotocol/sdk": "^1.29.0",
39
- "@savvy-web/silk-effects": "1.6.0",
39
+ "@savvy-web/silk-effects": "2.0.0",
40
40
  "effect": "^3.21.4",
41
- "workspaces-effect": "^1.2.0",
41
+ "workspaces-effect": "^2.0.0",
42
42
  "zod": "^4.4.3"
43
43
  }
44
44
  }
package/runtime.js CHANGED
@@ -1,6 +1,6 @@
1
- import { ChangesetConfigReaderLive, Changesets, SilkWorkspaceAnalyzerLive, TagStrategyLive, ToolDiscoveryLive, Turbo, VersioningStrategyLive } from "@savvy-web/silk-effects";
1
+ import { ChangesetConfigLive, ChangesetConfigReaderLive, Changesets, SilkWorkspaceAnalyzerLive, TagStrategyLive, ToolDiscoveryLive, Turbo, VersioningStrategyLive } from "@savvy-web/silk-effects";
2
2
  import { Layer } from "effect";
3
- import { WorkspaceRootLive, WorkspacesLive } from "workspaces-effect";
3
+ import { PointInTimeWorkspaceLive, WorkspaceRootLive, WorkspacesLive } from "workspaces-effect";
4
4
 
5
5
  //#region src/runtime.ts
6
6
  /**
@@ -28,19 +28,20 @@ const InspectorAndAnalyzerLive = Changesets.BranchAnalyzerLive.pipe(Layer.provid
28
28
  * orchestration service), fully composed except for the services supplied by
29
29
  * {@link DepsLive} / the host platform layer.
30
30
  *
31
- * `DepsRegenLive` requires `WorkspaceSnapshotReader | ConfigInspector |
32
- * WorkspaceDiscovery | CatalogResolver | PublishabilityDetector`. Here
31
+ * `DepsRegenLive` requires `PointInTimeWorkspace | ConfigInspector |
32
+ * WorkspaceDiscovery | PublishabilityDetector | ChangesetConfig`. Here
33
33
  * `ConfigInspector` is provided via the shared {@link InspectorAndAnalyzerLive}
34
34
  * reference (so Effect memoizes the single `ConfigInspector` instance already
35
- * merged into the runtime), and `WorkspaceSnapshotReader` via the
36
- * dependency-free {@link Changesets.WorkspaceSnapshotReaderLive}. The remaining
37
- * three `WorkspaceDiscovery`, `CatalogResolver`, `PublishabilityDetector`
38
- * are left open and satisfied by `WorkspacesLive` inside {@link DepsLive}
39
- * (unlike the CLI, whose minimal workspace trio has to compose
40
- * `CatalogResolverLive`/`PublishabilityDetectorLive` by hand). `FileSystem` /
41
- * `Path` / `CommandExecutor` flow up to the host `NodeContext.layer`.
35
+ * merged into the runtime), and `PointInTimeWorkspace` via
36
+ * `PointInTimeWorkspaceLive` (whose `WorkspaceRoot`/`WorkspaceDiscovery` come
37
+ * from `WorkspacesLive` inside {@link DepsLive}). `ChangesetConfig` is provided
38
+ * its own `ChangesetConfigReaderLive` (already present in {@link DepsLive}, but
39
+ * `Layer.mergeAll` does not cross-feed sibling layers). The remaining two
40
+ * `WorkspaceDiscovery`, `PublishabilityDetector` are left open and satisfied
41
+ * by `WorkspacesLive` inside {@link DepsLive}. `FileSystem` / `Path` /
42
+ * `CommandExecutor` flow up to the host `NodeContext.layer`.
42
43
  */
43
- const DepsRegenGroupLive = Changesets.DepsRegenLive.pipe(Layer.provide(InspectorAndAnalyzerLive), Layer.provide(Changesets.WorkspaceSnapshotReaderLive));
44
+ const DepsRegenGroupLive = Changesets.DepsRegenLive.pipe(Layer.provide(InspectorAndAnalyzerLive), Layer.provide(PointInTimeWorkspaceLive), Layer.provide(ChangesetConfigLive.pipe(Layer.provide(ChangesetConfigReaderLive))));
44
45
  /**
45
46
  * The MCP runtime layer. Provides `SilkWorkspaceAnalyzer`, `WorkspaceRoot`,
46
47
  * `Turbo.TurboInspector`, `Changesets.BranchAnalyzer`,