@enhance-eng/enhance 0.1.33 → 0.1.38
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-output-identity.lib-CWNAXho4.mjs → cli-output-identity.lib-C3i0q8cd.mjs} +2002 -867
- package/dist/main.mjs +535 -246
- package/dist/{mcp-invocation.adapter-DHdF8-MP.mjs → mcp-invocation.adapter-taWD_Gn7.mjs} +23 -14
- package/dist/mcp-main.mjs +7 -7
- package/dist/{mcp-server.adapter-B0Kn0e7m.mjs → mcp-server.adapter-bUMHR5ct.mjs} +2 -1
- package/dist/mcp.mjs +2 -2
- package/dist/{mutation-key.adapter-A1d27TVY.mjs → mutation-key.adapter-BVKXAugo.mjs} +4103 -145
- package/dist/remote-mcp-main.mjs +5 -5
- package/package.json +7 -7
package/dist/remote-mcp-main.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { M as canvasAssetImportInputSchema, N as canvasAssetImportOutputSchema, Ut as foldPrototypeArtifactPath, Xt as MCP_AUTH_SCOPE, Yt as getMeOutputSchema, b as canvasPrototypeIntentSchema, f as createCapabilityCatalogAdapter, jt as CliError, qt as prototypeArtifactPathSchema, x as canvasPrototypeOutputSchema } from "./cli-output-identity.lib-
|
|
3
|
-
import { a as readRemoteMcpEnvironment, c as createPrototypeArtifactAdapter, l as createPublishCanvasPrototypeComposite, n as createHttpRemoteAdapter, t as createMutationKeyAdapter, u as createImportCanvasAssetComposite } from "./mutation-key.adapter-
|
|
4
|
-
import { n as createMcpCanvasProfileAdapter, t as createMcpInvocationAdapter } from "./mcp-invocation.adapter-
|
|
5
|
-
import { a as createMcpResultAdapter, o as createMcpClientContextAdapter, t as createMcpServerAdapter } from "./mcp-server.adapter-
|
|
2
|
+
import { M as canvasAssetImportInputSchema, N as canvasAssetImportOutputSchema, Ut as foldPrototypeArtifactPath, Xt as MCP_AUTH_SCOPE, Yt as getMeOutputSchema, b as canvasPrototypeIntentSchema, f as createCapabilityCatalogAdapter, jt as CliError, qt as prototypeArtifactPathSchema, x as canvasPrototypeOutputSchema } from "./cli-output-identity.lib-C3i0q8cd.mjs";
|
|
3
|
+
import { a as readRemoteMcpEnvironment, c as createPrototypeArtifactAdapter, l as createPublishCanvasPrototypeComposite, n as createHttpRemoteAdapter, t as createMutationKeyAdapter, u as createImportCanvasAssetComposite } from "./mutation-key.adapter-BVKXAugo.mjs";
|
|
4
|
+
import { n as createMcpCanvasProfileAdapter, t as createMcpInvocationAdapter } from "./mcp-invocation.adapter-taWD_Gn7.mjs";
|
|
5
|
+
import { a as createMcpResultAdapter, o as createMcpClientContextAdapter, t as createMcpServerAdapter } from "./mcp-server.adapter-bUMHR5ct.mjs";
|
|
6
6
|
import process from "node:process";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import os, { tmpdir } from "node:os";
|
|
@@ -729,7 +729,7 @@ const server = await createRemoteMcpHttpAdapter({
|
|
|
729
729
|
fileOrigins: config.MCP_FILE_ORIGINS.split(",").map((value) => value.trim()).filter(Boolean),
|
|
730
730
|
allowedHosts: config.MCP_ALLOWED_HOSTS.split(",").map((value) => value.trim()),
|
|
731
731
|
allowedOrigins: config.MCP_ALLOWED_ORIGINS.split(",").map((value) => value.trim()),
|
|
732
|
-
version: "0.1.
|
|
732
|
+
version: "0.1.38",
|
|
733
733
|
...config.MCP_UI_URL !== void 0 && { uiUrl: config.MCP_UI_URL },
|
|
734
734
|
onerror: (error) => process.stderr.write(`${error.message}\n`)
|
|
735
735
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enhance-eng/enhance",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Agent-first command-line interface for Enhance.",
|
|
6
6
|
"keywords": [
|
|
@@ -33,9 +33,11 @@
|
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "pnpm --filter @enhance-eng/sdk build && tsdown",
|
|
35
35
|
"build:desktop": "ENHANCE3_DESKTOP_RUNTIME=1 tsdown",
|
|
36
|
+
"lint": "pnpm --workspace-root exec eslint apps/cli --max-warnings 0",
|
|
36
37
|
"prepack": "pnpm run build",
|
|
37
|
-
"test": "
|
|
38
|
-
"test:
|
|
38
|
+
"test": "vitest run --config vitest.config.ts",
|
|
39
|
+
"test:changed": "vitest run --config vitest.config.ts --passWithNoTests --changed origin/main",
|
|
40
|
+
"test:e2e": "pnpm run build && vitest run --config vitest.e2e.config.ts",
|
|
39
41
|
"test:e2e:browser": "pnpm run build && playwright test",
|
|
40
42
|
"test:unit": "vitest run --config vitest.config.ts",
|
|
41
43
|
"typecheck": "pnpm --filter @enhance-eng/sdk build && tsc --noEmit"
|
|
@@ -56,10 +58,11 @@
|
|
|
56
58
|
"zod": "^4.4.3"
|
|
57
59
|
},
|
|
58
60
|
"devDependencies": {
|
|
59
|
-
"@bcoe/v8-coverage": "1.0.2",
|
|
60
61
|
"@enhance-eng/sdk": "workspace:*",
|
|
61
62
|
"@enhance3/api": "workspace:*",
|
|
63
|
+
"@enhance3/canvas-document": "workspace:*",
|
|
62
64
|
"@enhance3/contract": "workspace:*",
|
|
65
|
+
"@enhance3/eslint-config": "workspace:*",
|
|
63
66
|
"@enhance3/tsconfig": "workspace:*",
|
|
64
67
|
"@modelcontextprotocol/client": "2.0.0",
|
|
65
68
|
"@playwright/test": "^1.62.0",
|
|
@@ -67,9 +70,6 @@
|
|
|
67
70
|
"@types/yauzl": "3.4.0",
|
|
68
71
|
"@types/yazl": "3.3.1",
|
|
69
72
|
"@vitest/coverage-v8": "catalog:",
|
|
70
|
-
"acorn": "8.17.0",
|
|
71
|
-
"ast-v8-to-istanbul": "1.0.5",
|
|
72
|
-
"istanbul-lib-coverage": "3.2.2",
|
|
73
73
|
"tsdown": "^0.22.14",
|
|
74
74
|
"tsx": "^4.23.1",
|
|
75
75
|
"vitest": "catalog:"
|