@deveco-codegenie/mcp-win32-x64 1.1.0 → 1.1.1
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 +16 -17
- package/THIRD_PARTY_LICENSES.md +1188 -1188
- package/bin/codegenie-mcp-server.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,7 +89,14 @@ $env:DEVECO_PATH = "C:\Program Files\Huawei\DevEco Studio"
|
|
|
89
89
|
| ------- | ---------- | ----------------------------------------------------- |
|
|
90
90
|
| `files` | `string[]` | 待检查的 C/C++ 文件路径列表,格式为 `["file1.cpp","file2.hpp",...]` |
|
|
91
91
|
|
|
92
|
-
**实现原理:** 服务内嵌 clangd LSP wrapper JS 脚本,通过 Node.js 启动 LSP 代理进程,以 LSP 协议与 clangd
|
|
92
|
+
**实现原理:** 服务内嵌 clangd LSP wrapper JS 脚本,通过 Node.js 启动 LSP 代理进程,以 LSP 协议与 clangd 语言服务通信,收集诊断结果后返回。
|
|
93
|
+
|
|
94
|
+
**初始化流程:** 检查前会自动验证以下条件:
|
|
95
|
+
1. `compile_commands.json` 是否存在于 `.idea/.deveco/cxx/` 目录下
|
|
96
|
+
2. `compile_commands.json` 是否覆盖待检查的文件路径
|
|
97
|
+
3. 项目中是否存在含 C++ 文件的模块
|
|
98
|
+
|
|
99
|
+
若不满足上述条件,服务会自动执行 `compileNative` 生成编译数据库。`compile_commands.json` 会合并所有模块下的编译命令信息。
|
|
93
100
|
|
|
94
101
|
**支持的文件类型:** `.c`, `.cc`, `.cpp`, `.cxx`, `.c++`, `.h`, `.hh`, `.hpp`, `.hxx`, `.h++`, `.ipp`, `.ixx`, `.inl`, `.inc`, `.tpp`
|
|
95
102
|
|
|
@@ -103,22 +110,14 @@ $env:DEVECO_PATH = "C:\Program Files\Huawei\DevEco Studio"
|
|
|
103
110
|
|
|
104
111
|
**参数:**
|
|
105
112
|
|
|
106
|
-
| 参数
|
|
107
|
-
|
|
108
|
-
| `
|
|
109
|
-
| `
|
|
110
|
-
| `
|
|
111
|
-
| `
|
|
112
|
-
| `
|
|
113
|
-
|
|
114
|
-
**构建意图(`BuildIntent`):**
|
|
115
|
-
|
|
116
|
-
| 枚举值 | 说明 |
|
|
117
|
-
| --------------------- | --------------------- |
|
|
118
|
-
| `LogVerification`(默认) | 保留详细运行日志,支持断点调试 |
|
|
119
|
-
| `UIDebug` | 支持获取界面元素与代码位置对应关系 |
|
|
120
|
-
| `PerformanceProfile` | 开启代码优化,保留调试钩子,用于性能调优 |
|
|
121
|
-
| `Release` | 极致压缩混淆,不支持断点调试(包体积最小) |
|
|
113
|
+
| 参数 | 类型 | 必填 | 说明 |
|
|
114
|
+
|------|------|------|------|
|
|
115
|
+
| `module` | `string` | 否 | 指定模块及 Target(如 `entry@default`);省略则构建整个 APP |
|
|
116
|
+
| `product` | `string` | 否 | 指定 Product 名称(仅构建整个 APP 时有效,与 `module` 互斥) |
|
|
117
|
+
| `buildMode` | `string` | 否 | 构建模式,值为 build-profile.json5 中 buildModeSet 定义的模式的 name 字段(如内置的 'debug'、'release',或用户自定义的模式名称),默认为 `debug` |
|
|
118
|
+
| `clean` | `boolean` | 否 | 是否在构建前执行 clean 清理构建产物。如果为 true,则会先执行清理然后再进行构建 |
|
|
119
|
+
| `enable_inspector_source_jump` | `boolean` | 否 | 是否启用 ArkUI Inspector 源码跳转功能(对应底层 debugLine 参数):在构建产物中为系统组件增加源码位置信息,从而支持 ArkUI Inspector 中点击组件跳转到源码位置。不传则使用构建模式默认值 |
|
|
120
|
+
| `logPath` | `string` | 否 | 构建日志保存路径 |
|
|
122
121
|
|
|
123
122
|
构建前会自动执行 `ohpm install` 安装依赖。
|
|
124
123
|
|