likec4 1.37.0 → 1.38.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/README.md +25 -1
- package/__app__/src/main.js +161 -197
- package/__app__/src/style.css +1 -1
- package/dist/cli/index.mjs +709 -690
- package/dist/index.d.mts +26 -10
- package/dist/index.mjs +2 -2
- package/dist/shared/{likec4.cqC6tNHO.d.mts → likec4.CRYZWScz.d.mts} +674 -530
- package/dist/shared/likec4.D6zjV21i.mjs +257 -0
- package/dist/shared/likec4.enfOs0BB.mjs +4204 -0
- package/dist/vite-plugin/index.d.mts +2 -2
- package/dist/vite-plugin/index.mjs +2 -2
- package/package.json +17 -17
- package/react/index.d.mts +2 -1
- package/react/index.mjs +39 -35
- package/dist/shared/likec4.B6V1NOky.mjs +0 -258
- package/dist/shared/likec4.BKp9_9LQ.mjs +0 -2268
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# LikeC4
|
|
2
2
|
|
|
3
3
|
<a href="https://www.npmjs.com/package/likec4" target="_blank"></a>
|
|
4
|
-
<a href="https://www.npmjs.com/package/likec4" target="_blank"></a>
|
|
5
5
|
|
|
6
6
|
`likec4` package is a composition of language services, react components, vite plugin and CLI.
|
|
7
7
|
|
|
@@ -127,6 +127,30 @@ likec4 codegen plantuml
|
|
|
127
127
|
|
|
128
128
|
[📖 Read documentation](https://likec4.dev/tooling/cli/) for other CLI usage
|
|
129
129
|
|
|
130
|
+
### MCP Server
|
|
131
|
+
|
|
132
|
+
Start MCP server with `stdio` transpor:
|
|
133
|
+
|
|
134
|
+
```sh
|
|
135
|
+
likec4 mcp
|
|
136
|
+
# or
|
|
137
|
+
likec4 mcp --stdio
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Start MCP server with `http` transport on port 33335:
|
|
141
|
+
|
|
142
|
+
```sh
|
|
143
|
+
likec4 mcp --http
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Start MCP server with `http` transport on port 1234:
|
|
147
|
+
|
|
148
|
+
```sh
|
|
149
|
+
likec4 mcp -p 1234
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
[📖 Read documentation](https://likec4.dev/tooling/mcp/) for MCP usage
|
|
153
|
+
|
|
130
154
|
## Vite Plugin
|
|
131
155
|
|
|
132
156
|
LikeC4 Vite Plugin allows you to embed views from your LikeC4 model into your Vite-based application.\
|