@likec4/language-server 1.48.0 → 1.49.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/browser/package.json +2 -2
- package/browser-worker/package.json +2 -2
- package/dist/THIRD-PARTY-LICENSES.md +178 -0
- package/dist/_chunks/ConfigurableLayouter.mjs +1 -1956
- package/dist/_chunks/LikeC4FileSystem.mjs +3 -0
- package/dist/_chunks/LikeC4Views.mjs +34 -0
- package/dist/_chunks/ProjectsManager.mjs +1 -0
- package/dist/_chunks/WithMCPServer.mjs +481 -0
- package/dist/_chunks/icons.mjs +2 -5211
- package/dist/_chunks/{LikeC4LanguageServices.d.mts → index.d.mts} +1836 -707
- package/dist/_chunks/libs/@msgpack/msgpack.mjs +1 -805
- package/dist/_chunks/libs/eventemitter3.mjs +1 -243
- package/dist/_chunks/libs/fast-equals.mjs +1 -446
- package/dist/_chunks/libs/p-queue.mjs +1 -449
- package/dist/_chunks/libs/parse-ms.mjs +1 -36
- package/dist/_chunks/libs/picomatch.mjs +1 -1673
- package/dist/_chunks/libs/pretty-ms.mjs +1 -80
- package/dist/_chunks/libs/remeda.mjs +1 -482
- package/dist/_chunks/libs/strip-indent.mjs +1 -15
- package/dist/_chunks/libs/ufo.mjs +1 -166
- package/dist/_chunks/logger.mjs +1 -0
- package/dist/_chunks/rolldown-runtime.mjs +1 -42
- package/dist/_chunks/utils.mjs +1 -0
- package/dist/browser/index.d.mts +10 -0
- package/dist/browser/index.mjs +1 -0
- package/dist/browser/worker.mjs +1 -0
- package/dist/bundled.d.mts +2 -3
- package/dist/bundled.mjs +1 -51
- package/dist/filesystem/index.d.mts +2 -4
- package/dist/filesystem/index.mjs +1 -3
- package/dist/index.d.mts +38 -3
- package/dist/index.mjs +1 -48
- package/dist/likec4lib.d.mts +10 -3
- package/dist/likec4lib.mjs +1 -4
- package/dist/mcp/index.d.mts +2 -4
- package/dist/mcp/index.mjs +1 -3
- package/dist/module.d.mts +126 -4
- package/dist/module.mjs +1 -3
- package/dist/protocol.d.mts +314 -1
- package/dist/protocol.mjs +1 -3
- package/filesystem/package.json +4 -0
- package/mcp/package.json +4 -0
- package/module/package.json +4 -0
- package/package.json +79 -56
- package/LICENSE +0 -21
- package/dist/LikeC4LanguageServices.d.mts +0 -4
- package/dist/LikeC4LanguageServices.mjs +0 -3
- package/dist/_chunks/LikeC4LanguageServices.mjs +0 -725
- package/dist/_chunks/ast.d.mts +0 -1444
- package/dist/_chunks/ast.mjs +0 -2375
- package/dist/_chunks/ast2.mjs +0 -176
- package/dist/_chunks/common-exports.mjs +0 -0
- package/dist/_chunks/filesystem.mjs +0 -58
- package/dist/_chunks/grammar.mjs +0 -8
- package/dist/_chunks/libs/@hono/node-server.mjs +0 -436
- package/dist/_chunks/libs/hono.mjs +0 -1829
- package/dist/_chunks/likec4lib.mjs +0 -9
- package/dist/_chunks/mcp.mjs +0 -33
- package/dist/_chunks/module.mjs +0 -28
- package/dist/_chunks/module2.mjs +0 -6576
- package/dist/_chunks/protocol.d.mts +0 -311
- package/dist/_chunks/protocol.mjs +0 -78
- package/dist/ast.d.mts +0 -4
- package/dist/ast.mjs +0 -4
- package/dist/browser-worker.mjs +0 -6
- package/dist/browser.d.mts +0 -11
- package/dist/browser.mjs +0 -27
- package/dist/common-exports.d.mts +0 -4
- package/dist/common-exports.mjs +0 -5
- package/dist/generated/ast.d.mts +0 -2
- package/dist/generated/ast.mjs +0 -3
- package/dist/generated/grammar.d.mts +0 -6
- package/dist/generated/grammar.mjs +0 -3
- package/dist/generated/module.d.mts +0 -14
- package/dist/generated/module.mjs +0 -3
- package/dist/generated-lib/icons.d.mts +0 -4
- package/dist/generated-lib/icons.mjs +0 -3
- /package/dist/{browser-worker.d.mts → browser/worker.d.mts} +0 -0
package/dist/_chunks/mcp.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//#region src/mcp/noop.ts
|
|
2
|
-
var NoopLikeC4MCPServer = class {
|
|
3
|
-
get mcp() {
|
|
4
|
-
throw new Error("NoopLikeC4MCPServer does not have a McpServer");
|
|
5
|
-
}
|
|
6
|
-
get isStarted() {
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
get port() {
|
|
10
|
-
return NaN;
|
|
11
|
-
}
|
|
12
|
-
start() {
|
|
13
|
-
return Promise.resolve();
|
|
14
|
-
}
|
|
15
|
-
stop() {
|
|
16
|
-
return Promise.resolve();
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
var NoopLikeC4MCPServerFactory = class {
|
|
20
|
-
create(_options) {
|
|
21
|
-
throw new Error("NoopLikeC4MCPServerFactory");
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/mcp/index.ts
|
|
27
|
-
const NoMCPServer = {
|
|
28
|
-
mcpServer: () => new NoopLikeC4MCPServer(),
|
|
29
|
-
mcpServerFactory: () => new NoopLikeC4MCPServerFactory()
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
//#endregion
|
|
33
|
-
export { NoMCPServer as t };
|
package/dist/_chunks/module.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { At as LikeC4AstReflection } from "./ast.mjs";
|
|
2
|
-
import { t as LikeC4Grammar } from "./grammar.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/generated/module.ts
|
|
5
|
-
const LikeC4LanguageMetaData = {
|
|
6
|
-
languageId: "likec4",
|
|
7
|
-
fileExtensions: [
|
|
8
|
-
".c4",
|
|
9
|
-
".likec4",
|
|
10
|
-
".like-c4"
|
|
11
|
-
],
|
|
12
|
-
caseInsensitive: false,
|
|
13
|
-
mode: "production"
|
|
14
|
-
};
|
|
15
|
-
const parserConfig = {
|
|
16
|
-
skipValidations: true,
|
|
17
|
-
recoveryEnabled: true,
|
|
18
|
-
nodeLocationTracking: "full"
|
|
19
|
-
};
|
|
20
|
-
const LikeC4GeneratedSharedModule = { AstReflection: () => new LikeC4AstReflection() };
|
|
21
|
-
const LikeC4GeneratedModule = {
|
|
22
|
-
Grammar: () => LikeC4Grammar(),
|
|
23
|
-
LanguageMetaData: () => LikeC4LanguageMetaData,
|
|
24
|
-
parser: { ParserConfig: () => parserConfig }
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { parserConfig as i, LikeC4GeneratedSharedModule as n, LikeC4LanguageMetaData as r, LikeC4GeneratedModule as t };
|