@spaceflow/scripts 0.17.0 → 0.18.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/CHANGELOG.md +31 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.0](https://github.com/Lydanne/spaceflow/compare/@spaceflow/scripts@0.16.0...@spaceflow/scripts@0.17.0) (2026-02-27)
|
|
4
|
+
|
|
5
|
+
### 新特性
|
|
6
|
+
|
|
7
|
+
* **shared:** 新增 findProjectRoot 函数用于查找项目根目录 ([7135262](https://github.com/Lydanne/spaceflow/commit/71352621f13e17a192821363e655607cfc097307))
|
|
8
|
+
|
|
9
|
+
### 修复BUG
|
|
10
|
+
|
|
11
|
+
* **cli:** 为扩展动态导入添加错误处理,防止单个扩展加载失败导致整体崩溃 ([09230dd](https://github.com/Lydanne/spaceflow/commit/09230ddf88568286b1f65c389976cb9a1a2fc880))
|
|
12
|
+
* **cli:** 修复 connectProjectMcpClient 函数中工作目录解析问题 ([94a927c](https://github.com/Lydanne/spaceflow/commit/94a927c8850b0b754459e0d8833be70721bc38d1))
|
|
13
|
+
|
|
14
|
+
### 代码重构
|
|
15
|
+
|
|
16
|
+
* **cli:** 分离工作目录和项目根目录概念,修复 .spaceflow 目录定位逻辑 ([5b7daab](https://github.com/Lydanne/spaceflow/commit/5b7daab2a3965fbd298ff85ad210d45028ff9d3d))
|
|
17
|
+
* **cli:** 重构工作目录和 .spaceflow 目录获取逻辑 ([a9708da](https://github.com/Lydanne/spaceflow/commit/a9708da6ea5b4315f802a0709125e24fe42bb10f))
|
|
18
|
+
* **core:** 优化 ExtensionLoader 访问器,简化 MCP 服务上下文获取 ([c1ac91f](https://github.com/Lydanne/spaceflow/commit/c1ac91f1990b565dbbc449e8349561e65fae368f))
|
|
19
|
+
* **core:** 简化 MCP 架构,移除 McpServerDefinition 层级 ([0d963a8](https://github.com/Lydanne/spaceflow/commit/0d963a874d03df50a140c57707b5363407e6b37d))
|
|
20
|
+
* **core:** 统一工作目录管理,优化 MCP 服务上下文 ([efe7244](https://github.com/Lydanne/spaceflow/commit/efe72444ff6207077a503200c629373a97e47a2c))
|
|
21
|
+
* **review:** 简化 MCP 工具的输入参数,统一从上下文获取工作目录 ([104893b](https://github.com/Lydanne/spaceflow/commit/104893b689bf32444850b06a2f4566292a1f8eba))
|
|
22
|
+
|
|
23
|
+
### 其他修改
|
|
24
|
+
|
|
25
|
+
* **.spaceflow:** 初始化 Spaceflow 扩展的包结构和依赖 ([5ac8d70](https://github.com/Lydanne/spaceflow/commit/5ac8d7008edcb96168a15ffc04973d154ca9f955))
|
|
26
|
+
* **cli:** released version 0.37.0 [no ci] ([a260a9a](https://github.com/Lydanne/spaceflow/commit/a260a9a13f1f7d8457ea036e40f5562548b4513e))
|
|
27
|
+
* **core:** released version 0.15.0 [no ci] ([e44cd0a](https://github.com/Lydanne/spaceflow/commit/e44cd0af8caadf1f2b89179d1ea44ecc0d018966))
|
|
28
|
+
* **publish:** released version 0.39.0 [no ci] ([f4db046](https://github.com/Lydanne/spaceflow/commit/f4db04635eab83ad44f8f3b935aa66ecfd02feff))
|
|
29
|
+
* **review-summary:** released version 0.17.0 [no ci] ([e00f17d](https://github.com/Lydanne/spaceflow/commit/e00f17dc2ade751ff4de7b45b4d9671b25271f7c))
|
|
30
|
+
* **review:** released version 0.47.0 [no ci] ([994893e](https://github.com/Lydanne/spaceflow/commit/994893edb3355ecf7f0c9f3e8bec6090511f987c))
|
|
31
|
+
* **shared:** released version 0.6.0 [no ci] ([fcfdf75](https://github.com/Lydanne/spaceflow/commit/fcfdf75efa2146b5ed91e5c7f273a4f938c032b8))
|
|
32
|
+
* **shell:** released version 0.16.0 [no ci] ([538e157](https://github.com/Lydanne/spaceflow/commit/538e15783ed4482a25faf251a1513eae0dfb33ad))
|
|
33
|
+
|
|
3
34
|
## [0.16.0](https://github.com/Lydanne/spaceflow/compare/@spaceflow/scripts@0.15.0...@spaceflow/scripts@0.16.0) (2026-02-27)
|
|
4
35
|
|
|
5
36
|
### 新特性
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spaceflow/scripts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Spaceflow 脚本插件,用于在分支锁定/解锁之间执行 JS 语句",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Lydanne",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^22.15.0",
|
|
19
|
-
"@spaceflow/cli": "0.
|
|
19
|
+
"@spaceflow/cli": "0.38.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@spaceflow/core": "0.
|
|
22
|
+
"@spaceflow/core": "0.16.0"
|
|
23
23
|
},
|
|
24
24
|
"spaceflow": {
|
|
25
25
|
"type": "flow",
|