@likec4/language-server 1.28.0 → 1.29.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/dist/LikeC4LanguageServices.d.ts +6 -1
- package/dist/LikeC4LanguageServices.js +18 -1
- package/dist/bundled.mjs +2447 -2174
- package/dist/generated/ast.d.ts +2 -2
- package/dist/generated/ast.js +2 -2
- package/dist/generated/grammar.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -1
- package/dist/lsp/SemanticTokenProvider.js +5 -28
- package/dist/mcp/LikeC4MCPServerFactory.d.ts +16 -0
- package/dist/mcp/LikeC4MCPServerFactory.js +86 -0
- package/dist/mcp/LikeC4MCPTools.d.ts +96 -0
- package/dist/mcp/LikeC4MCPTools.js +288 -0
- package/dist/mcp/sseserver/SSELikeC4MCPServer.d.ts +13 -0
- package/dist/mcp/sseserver/SSELikeC4MCPServer.js +74 -0
- package/dist/mcp/sseserver/with-mcp-server.d.ts +7 -0
- package/dist/mcp/sseserver/with-mcp-server.js +28 -0
- package/dist/mcp/utils.d.ts +34 -0
- package/dist/mcp/utils.js +104 -0
- package/dist/model/parser/ViewsParser.js +1 -1
- package/dist/model-change/changeElementStyle.js +9 -7
- package/dist/module.d.ts +7 -0
- package/dist/module.js +7 -0
- package/dist/views/likec4-views.d.ts +1 -0
- package/dist/views/likec4-views.js +23 -4
- package/package.json +17 -11
package/dist/generated/ast.d.ts
CHANGED
|
@@ -573,7 +573,7 @@ export interface GlobalStyle extends AstNode {
|
|
|
573
573
|
readonly $type: 'GlobalStyle';
|
|
574
574
|
id: GlobalStyleId;
|
|
575
575
|
props: Array<NotationProperty | StyleProperty>;
|
|
576
|
-
|
|
576
|
+
targets: FqnExpressions;
|
|
577
577
|
}
|
|
578
578
|
export declare const GlobalStyle = "GlobalStyle";
|
|
579
579
|
export declare function isGlobalStyle(item: unknown): item is GlobalStyle;
|
|
@@ -1012,7 +1012,7 @@ export interface ViewRuleStyle extends AstNode {
|
|
|
1012
1012
|
readonly $container: DynamicViewBody | ElementViewBody | GlobalStyleGroup | ModelViews;
|
|
1013
1013
|
readonly $type: 'ViewRuleStyle';
|
|
1014
1014
|
props: Array<NotationProperty | StyleProperty>;
|
|
1015
|
-
|
|
1015
|
+
targets: FqnExpressions;
|
|
1016
1016
|
}
|
|
1017
1017
|
export declare const ViewRuleStyle = "ViewRuleStyle";
|
|
1018
1018
|
export declare function isViewRuleStyle(item: unknown): item is ViewRuleStyle;
|
package/dist/generated/ast.js
CHANGED
|
@@ -1363,7 +1363,7 @@ export class LikeC4AstReflection extends AbstractAstReflection {
|
|
|
1363
1363
|
properties: [
|
|
1364
1364
|
{ name: "id" },
|
|
1365
1365
|
{ name: "props", defaultValue: [] },
|
|
1366
|
-
{ name: "
|
|
1366
|
+
{ name: "targets" }
|
|
1367
1367
|
]
|
|
1368
1368
|
};
|
|
1369
1369
|
}
|
|
@@ -1857,7 +1857,7 @@ export class LikeC4AstReflection extends AbstractAstReflection {
|
|
|
1857
1857
|
name: ViewRuleStyle,
|
|
1858
1858
|
properties: [
|
|
1859
1859
|
{ name: "props", defaultValue: [] },
|
|
1860
|
-
{ name: "
|
|
1860
|
+
{ name: "targets" }
|
|
1861
1861
|
]
|
|
1862
1862
|
};
|
|
1863
1863
|
}
|