@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.
- package/package.json +3 -3
- package/runtime.js +13 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/mcp",
|
|
3
|
-
"version": "1.
|
|
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": "
|
|
39
|
+
"@savvy-web/silk-effects": "2.0.0",
|
|
40
40
|
"effect": "^3.21.4",
|
|
41
|
-
"workspaces-effect": "^
|
|
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 `
|
|
32
|
-
* WorkspaceDiscovery |
|
|
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 `
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* `
|
|
41
|
-
*
|
|
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(
|
|
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`,
|