@likec4/language-server 1.56.0 → 1.58.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/_chunks/LikeC4FileSystem.mjs +2 -2
- package/dist/_chunks/module.d.mts +448 -435
- package/dist/_chunks/module.mjs +34 -19
- package/dist/_chunks/protocol.d.mts +3 -1
- package/dist/_chunks/utils.mjs +1 -1
- package/dist/browser/index.d.mts +2 -2
- package/dist/browser/index.mjs +1 -1
- package/dist/filesystem/index.d.mts +1 -1
- package/dist/filesystem/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/module.d.mts +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +28 -26
- package/src/test/testServices.ts +3 -2
|
@@ -2,6 +2,7 @@ import { ColorLiteral, ComputedLikeC4ModelData, DeploymentFqn, DiagramView, Fqn,
|
|
|
2
2
|
import { DiagnosticSeverity, DocumentUri, Location, Position, Range, URI } from "vscode-languageserver-types";
|
|
3
3
|
import { LikeC4ProjectJsonConfig } from "@likec4/config";
|
|
4
4
|
import { NotificationType, NotificationType0, RequestType, RequestType0 } from "vscode-jsonrpc";
|
|
5
|
+
import { AILayoutHints } from "@likec4/layouts/ai";
|
|
5
6
|
|
|
6
7
|
//#region src/protocol.d.ts
|
|
7
8
|
declare namespace DidChangeModelNotification {
|
|
@@ -101,7 +102,8 @@ declare namespace LayoutView {
|
|
|
101
102
|
type Params = {
|
|
102
103
|
viewId: ViewId;
|
|
103
104
|
projectId?: string | undefined;
|
|
104
|
-
layoutType?: 'auto' | 'manual' | undefined;
|
|
105
|
+
layoutType?: 'auto' | 'manual' | undefined; /** Optional AI-generated layout hints to enhance the layout */
|
|
106
|
+
hints?: AILayoutHints | undefined;
|
|
105
107
|
};
|
|
106
108
|
type Res = {
|
|
107
109
|
result: {
|