@deveco-test/deveco-code 0.2.0-1.1 → 0.2.0-1.3
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/CHANGELOG.md +30 -0
- package/package.json +5 -5
- package/postinstall.mjs +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.1.4 (2026-07-24)
|
|
4
|
+
|
|
5
|
+
### DevEco Code 核心
|
|
6
|
+
|
|
7
|
+
#### 新特性
|
|
8
|
+
|
|
9
|
+
- 新增崩溃检测与日志自动上传,上传前对敏感信息做脱敏处理(`a7d9157`、`17e1bc4`、`99dafcc`、`3722c14`)
|
|
10
|
+
- 新增 TUI 使用遥测与会话级 AI 追踪打点(`0e9ff88`、`ab5d917`、`5f0ec58`)
|
|
11
|
+
- 同步会话级调试能力,增强 debug 命令的会话诊断(`2e41d04`)
|
|
12
|
+
|
|
13
|
+
#### 优化
|
|
14
|
+
|
|
15
|
+
- 清理冗余 `.ts` 技能脚本源文件(`af8bf56`)
|
|
16
|
+
- 修复斜杠命令需额外空格才能退出搜索模式的问题(`8754402`)
|
|
17
|
+
- 技能默认资源新增 `customize-deveco`,修复 `deveco-create-project` 的 codeCheck 校验规则(`89f9fd0`、`21a76ef`)
|
|
18
|
+
- 0-1 技能新增 `AGENTS.md` 配置引导,修复 goal 模式 `plan.md` 未指定 v2 状态管理(`845fa8d`、`7cd45ac`)
|
|
19
|
+
|
|
20
|
+
### TUI 终端界面
|
|
21
|
+
|
|
22
|
+
#### 新特性
|
|
23
|
+
|
|
24
|
+
- 新增 `/btw` 浮层,支持会话中随时提追问(`3902edf`)
|
|
25
|
+
- 智能 Esc 中断:单击中断生成,再按确认取消对话(`510cbca`)
|
|
26
|
+
- 登录页展示错误信息,未通过时即时反馈原因(`29afa10`)
|
|
27
|
+
|
|
28
|
+
#### 缺陷修复
|
|
29
|
+
|
|
30
|
+
- 修复 JetBrains Terminal 下鼠标悬停异常(`806bd0a`)
|
|
31
|
+
- 修复反复 `Ctrl+C` 重启后终端黑屏(`cefa9a8`)
|
|
32
|
+
|
|
3
33
|
## v0.1.3 (2026-07-17)
|
|
4
34
|
|
|
5
35
|
### DevEco Code 核心
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.2.0-1.
|
|
9
|
+
"version": "0.2.0-1.3",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"files": [
|
|
12
12
|
"bin/**/*",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"CHANGELOG.md"
|
|
17
17
|
],
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@deveco-test/deveco-code-windows-x64": "0.2.0-1.
|
|
20
|
-
"@deveco-test/deveco-code-darwin-x64": "0.2.0-1.
|
|
21
|
-
"@deveco-test/deveco-code-darwin-arm64": "0.2.0-1.
|
|
22
|
-
"@deveco-test/deveco-code-windows-x64-baseline": "0.2.0-1.
|
|
19
|
+
"@deveco-test/deveco-code-windows-x64": "0.2.0-1.3",
|
|
20
|
+
"@deveco-test/deveco-code-darwin-x64": "0.2.0-1.3",
|
|
21
|
+
"@deveco-test/deveco-code-darwin-arm64": "0.2.0-1.3",
|
|
22
|
+
"@deveco-test/deveco-code-windows-x64-baseline": "0.2.0-1.3"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -136,6 +136,9 @@ function copyDir(src, dst) {
|
|
|
136
136
|
copyDir(srcPath, dstPath)
|
|
137
137
|
} else {
|
|
138
138
|
fs.copyFileSync(srcPath, dstPath)
|
|
139
|
+
if (process.platform !== "win32") {
|
|
140
|
+
fs.chmodSync(dstPath, fs.statSync(srcPath).mode)
|
|
141
|
+
}
|
|
139
142
|
}
|
|
140
143
|
}
|
|
141
144
|
}
|
|
@@ -145,7 +148,24 @@ function copyVendor(packageDir) {
|
|
|
145
148
|
const vendorDst = path.join(__dirname, "vendor")
|
|
146
149
|
if (fs.existsSync(vendorSrc)) {
|
|
147
150
|
copyDir(vendorSrc, vendorDst)
|
|
151
|
+
restoreDevecoCliDeps(path.join(vendorDst, "deveco-cli"))
|
|
152
|
+
restoreDevecoCliDeps(path.join(packageDir, "vendor", "deveco-cli"))
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function restoreDevecoCliDeps(cliDir) {
|
|
157
|
+
const tarPath = path.join(cliDir, "deps.tar.gz")
|
|
158
|
+
if (!fs.existsSync(tarPath)) return
|
|
159
|
+
const result = childProcess.spawnSync("tar", ["-xzf", tarPath, "-C", cliDir], {
|
|
160
|
+
stdio: "inherit",
|
|
161
|
+
windowsHide: true,
|
|
162
|
+
shell: true,
|
|
163
|
+
})
|
|
164
|
+
if (result.status !== 0) {
|
|
165
|
+
console.warn("Warning: failed to restore deveco-cli dependencies")
|
|
166
|
+
return
|
|
148
167
|
}
|
|
168
|
+
fs.unlinkSync(tarPath)
|
|
149
169
|
}
|
|
150
170
|
|
|
151
171
|
function installPackage(name) {
|