diff --git a/.changeset/eleven-bananas-vanish.md b/.changeset/eleven-bananas-vanish.md deleted file mode 100644 index b943242e..00000000 --- a/.changeset/eleven-bananas-vanish.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@promptx/mcp-workspace": patch -"@promptx/mcp-office": patch -"@promptx/mcp-server": patch -"@promptx/resource": patch -"@agentxjs/runtime": patch -"@promptx/config": patch -"@promptx/logger": patch -"@promptx/core": patch -"@promptx/desktop": patch -"@promptx/cli": patch ---- - -## Bug Fixes - -- **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 -- **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace - -## New Features - -- **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 diff --git a/.changeset/red-kings-hear.md b/.changeset/red-kings-hear.md deleted file mode 100644 index b6af6094..00000000 --- a/.changeset/red-kings-hear.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -"@promptx/mcp-workspace": minor -"@promptx/mcp-server": minor -"@promptx/resource": minor -"@promptx/core": minor -"@promptx/desktop": minor ---- - -## v2.3.0 - -### 新功能 - -- **飞书接入**:支持通过飞书机器人与 PromptX 交互,使用 WebSocket 长连接模式无需公网 IP,实现类似 OpenClaw 的多平台接入能力 -- **工作区功能**:新增工作区侧边栏,支持项目文件浏览、拖拽文件到对话输入、文件读写管理 -- **DeepSeek 预配置**:AgentX 配置新增 DeepSeek 预设,开箱即用 -- **Windows Git 检测**:首页添加 Git 安装状态检测与引导提示 -- **MCP Workspace 服务**:新增内置 MCP 工作区服务,支持文件操作和配置管理 - -### 优化 - -- **RoleX 全面优化**:修复组织操作相关的 bug,拆分 action 工具为 4 个领域工具以减少 LLM 调用失败 -- **资源去重**:修复资源页面重复 key 警告,V2 角色正确覆盖 V1 同名角色 -- **通知中心**:新增 v2.3.0 版本更新通知 - -### 修复 - -- 修复工作区文件夹自动展开导致的性能问题 -- 修复 Windows 平台 Git 检测与路径问题 -- 清理调试日志输出 diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index 5adad91c..1eaf6226 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -1,5 +1,23 @@ # @promptx/cli +## 2.4.0 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + +- Updated dependencies [[`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d), [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d)]: + - @promptx/mcp-server@2.4.0 + - @promptx/logger@2.4.0 + - @promptx/core@2.4.0 + ## 2.3.0 ### Patch Changes diff --git a/apps/cli/package.json b/apps/cli/package.json index 5fe23610..dd0ddbca 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/cli", - "version": "2.3.0", + "version": "2.4.0", "description": "PromptX CLI - Command-line interface for the DPML-powered AI prompt framework", "type": "module", "files": [ diff --git a/apps/desktop/CHANGELOG.md b/apps/desktop/CHANGELOG.md index 5a2dfe8a..725d8175 100644 --- a/apps/desktop/CHANGELOG.md +++ b/apps/desktop/CHANGELOG.md @@ -1,5 +1,50 @@ # @promptx/$(basename $pkg) +## 2.4.0 + +### Minor Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## v2.3.0 + + ### 新功能 + + - **飞书接入**:支持通过飞书机器人与 PromptX 交互,使用 WebSocket 长连接模式无需公网 IP,实现类似 OpenClaw 的多平台接入能力 + - **工作区功能**:新增工作区侧边栏,支持项目文件浏览、拖拽文件到对话输入、文件读写管理 + - **DeepSeek 预配置**:AgentX 配置新增 DeepSeek 预设,开箱即用 + - **Windows Git 检测**:首页添加 Git 安装状态检测与引导提示 + - **MCP Workspace 服务**:新增内置 MCP 工作区服务,支持文件操作和配置管理 + + ### 优化 + + - **RoleX 全面优化**:修复组织操作相关的 bug,拆分 action 工具为 4 个领域工具以减少 LLM 调用失败 + - **资源去重**:修复资源页面重复 key 警告,V2 角色正确覆盖 V1 同名角色 + - **通知中心**:新增 v2.3.0 版本更新通知 + + ### 修复 + + - 修复工作区文件夹自动展开导致的性能问题 + - 修复 Windows 平台 Git 检测与路径问题 + - 清理调试日志输出 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + +- Updated dependencies [[`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d), [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d)]: + - @promptx/mcp-workspace@2.4.0 + - @promptx/mcp-office@2.4.0 + - @promptx/mcp-server@2.4.0 + - @agentxjs/runtime@2.0.1 + - @promptx/config@2.4.0 + - @promptx/core@2.4.0 + ## 2.3.0 ### Minor Changes diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 95bb14fc..68523f70 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/desktop", - "version": "2.3.0", + "version": "2.4.0", "description": "PromptX Desktop - Local AI prompt management application", "author": { "name": "Deepractice", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 31b9a12e..4404aa7c 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,18 @@ # @promptx/config Changelog +## 2.4.0 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + ## 2.3.0 ## 2.2.1 diff --git a/packages/config/package.json b/packages/config/package.json index 8dd0c2a3..317ad99a 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/config", - "version": "2.3.0", + "version": "2.4.0", "description": "Configuration management for PromptX", "type": "module", "main": "./dist/index.js", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 6278f067..f6b4c1f9 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,46 @@ # @promptx/$(basename $pkg) +## 2.4.0 + +### Minor Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## v2.3.0 + + ### 新功能 + + - **飞书接入**:支持通过飞书机器人与 PromptX 交互,使用 WebSocket 长连接模式无需公网 IP,实现类似 OpenClaw 的多平台接入能力 + - **工作区功能**:新增工作区侧边栏,支持项目文件浏览、拖拽文件到对话输入、文件读写管理 + - **DeepSeek 预配置**:AgentX 配置新增 DeepSeek 预设,开箱即用 + - **Windows Git 检测**:首页添加 Git 安装状态检测与引导提示 + - **MCP Workspace 服务**:新增内置 MCP 工作区服务,支持文件操作和配置管理 + + ### 优化 + + - **RoleX 全面优化**:修复组织操作相关的 bug,拆分 action 工具为 4 个领域工具以减少 LLM 调用失败 + - **资源去重**:修复资源页面重复 key 警告,V2 角色正确覆盖 V1 同名角色 + - **通知中心**:新增 v2.3.0 版本更新通知 + + ### 修复 + + - 修复工作区文件夹自动展开导致的性能问题 + - 修复 Windows 平台 Git 检测与路径问题 + - 清理调试日志输出 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + +- Updated dependencies [[`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d), [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d)]: + - @promptx/resource@2.4.0 + - @promptx/logger@2.4.0 + ## 2.3.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index efb7311c..488f4e26 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/core", - "version": "2.3.0", + "version": "2.4.0", "description": "Core library for PromptX - DPML-powered AI prompt framework", "main": "dist/index.js", "type": "commonjs", diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index c1708f2a..31b888f3 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -1,5 +1,18 @@ # @promptx/logger +## 2.4.0 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + ## 2.3.0 ## 2.2.1 diff --git a/packages/logger/package.json b/packages/logger/package.json index bec7be0f..88b82bef 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/logger", - "version": "2.3.0", + "version": "2.4.0", "description": "Unified logging system for PromptX", "type": "module", "main": "./dist/index.js", diff --git a/packages/mcp-office/CHANGELOG.md b/packages/mcp-office/CHANGELOG.md index 315ad57e..c1a85321 100644 --- a/packages/mcp-office/CHANGELOG.md +++ b/packages/mcp-office/CHANGELOG.md @@ -1,5 +1,18 @@ # @promptx/mcp-office +## 2.4.0 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + ## 2.3.0 ## 2.2.1 diff --git a/packages/mcp-office/package.json b/packages/mcp-office/package.json index 12bedb5d..6c14c97f 100644 --- a/packages/mcp-office/package.json +++ b/packages/mcp-office/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/mcp-office", - "version": "2.3.0", + "version": "2.4.0", "description": "MCP server for reading Office documents (docx, xlsx, pptx)", "main": "./dist/index.js", "bin": { diff --git a/packages/mcp-server/CHANGELOG.md b/packages/mcp-server/CHANGELOG.md index 3d2597e0..b7ff98aa 100644 --- a/packages/mcp-server/CHANGELOG.md +++ b/packages/mcp-server/CHANGELOG.md @@ -1,5 +1,47 @@ # @promptx/$(basename $pkg) +## 2.4.0 + +### Minor Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## v2.3.0 + + ### 新功能 + + - **飞书接入**:支持通过飞书机器人与 PromptX 交互,使用 WebSocket 长连接模式无需公网 IP,实现类似 OpenClaw 的多平台接入能力 + - **工作区功能**:新增工作区侧边栏,支持项目文件浏览、拖拽文件到对话输入、文件读写管理 + - **DeepSeek 预配置**:AgentX 配置新增 DeepSeek 预设,开箱即用 + - **Windows Git 检测**:首页添加 Git 安装状态检测与引导提示 + - **MCP Workspace 服务**:新增内置 MCP 工作区服务,支持文件操作和配置管理 + + ### 优化 + + - **RoleX 全面优化**:修复组织操作相关的 bug,拆分 action 工具为 4 个领域工具以减少 LLM 调用失败 + - **资源去重**:修复资源页面重复 key 警告,V2 角色正确覆盖 V1 同名角色 + - **通知中心**:新增 v2.3.0 版本更新通知 + + ### 修复 + + - 修复工作区文件夹自动展开导致的性能问题 + - 修复 Windows 平台 Git 检测与路径问题 + - 清理调试日志输出 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + +- Updated dependencies [[`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d), [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d)]: + - @promptx/config@2.4.0 + - @promptx/logger@2.4.0 + - @promptx/core@2.4.0 + ## 2.3.0 ### Minor Changes diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index d4a5ceea..8b5575e2 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/mcp-server", - "version": "2.3.0", + "version": "2.4.0", "description": "MCP Server implementation for PromptX", "type": "module", "main": "./dist/index.js", diff --git a/packages/mcp-workspace/CHANGELOG.md b/packages/mcp-workspace/CHANGELOG.md index 04ba3305..f83a3d57 100644 --- a/packages/mcp-workspace/CHANGELOG.md +++ b/packages/mcp-workspace/CHANGELOG.md @@ -1,5 +1,45 @@ # @promptx/mcp-workspace +## 2.4.0 + +### Minor Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## v2.3.0 + + ### 新功能 + + - **飞书接入**:支持通过飞书机器人与 PromptX 交互,使用 WebSocket 长连接模式无需公网 IP,实现类似 OpenClaw 的多平台接入能力 + - **工作区功能**:新增工作区侧边栏,支持项目文件浏览、拖拽文件到对话输入、文件读写管理 + - **DeepSeek 预配置**:AgentX 配置新增 DeepSeek 预设,开箱即用 + - **Windows Git 检测**:首页添加 Git 安装状态检测与引导提示 + - **MCP Workspace 服务**:新增内置 MCP 工作区服务,支持文件操作和配置管理 + + ### 优化 + + - **RoleX 全面优化**:修复组织操作相关的 bug,拆分 action 工具为 4 个领域工具以减少 LLM 调用失败 + - **资源去重**:修复资源页面重复 key 警告,V2 角色正确覆盖 V1 同名角色 + - **通知中心**:新增 v2.3.0 版本更新通知 + + ### 修复 + + - 修复工作区文件夹自动展开导致的性能问题 + - 修复 Windows 平台 Git 检测与路径问题 + - 清理调试日志输出 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + +- Updated dependencies [[`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d)]: + - @promptx/logger@2.4.0 + ## 2.3.0 ### Minor Changes diff --git a/packages/mcp-workspace/package.json b/packages/mcp-workspace/package.json index df18fe76..1b0c027a 100644 --- a/packages/mcp-workspace/package.json +++ b/packages/mcp-workspace/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/mcp-workspace", - "version": "2.3.0", + "version": "2.4.0", "description": "MCP server for managing workspace files and directories", "type": "module", "main": "dist/index.js", diff --git a/packages/resource/CHANGELOG.md b/packages/resource/CHANGELOG.md index e4fa6bd8..162e3c08 100644 --- a/packages/resource/CHANGELOG.md +++ b/packages/resource/CHANGELOG.md @@ -1,5 +1,45 @@ # @promptx/$(basename $pkg) +## 2.4.0 + +### Minor Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## v2.3.0 + + ### 新功能 + + - **飞书接入**:支持通过飞书机器人与 PromptX 交互,使用 WebSocket 长连接模式无需公网 IP,实现类似 OpenClaw 的多平台接入能力 + - **工作区功能**:新增工作区侧边栏,支持项目文件浏览、拖拽文件到对话输入、文件读写管理 + - **DeepSeek 预配置**:AgentX 配置新增 DeepSeek 预设,开箱即用 + - **Windows Git 检测**:首页添加 Git 安装状态检测与引导提示 + - **MCP Workspace 服务**:新增内置 MCP 工作区服务,支持文件操作和配置管理 + + ### 优化 + + - **RoleX 全面优化**:修复组织操作相关的 bug,拆分 action 工具为 4 个领域工具以减少 LLM 调用失败 + - **资源去重**:修复资源页面重复 key 警告,V2 角色正确覆盖 V1 同名角色 + - **通知中心**:新增 v2.3.0 版本更新通知 + + ### 修复 + + - 修复工作区文件夹自动展开导致的性能问题 + - 修复 Windows 平台 Git 检测与路径问题 + - 清理调试日志输出 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + +- Updated dependencies [[`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d)]: + - @promptx/logger@2.4.0 + ## 2.3.0 ### Minor Changes diff --git a/packages/resource/package.json b/packages/resource/package.json index 3b5e2163..635f39d8 100644 --- a/packages/resource/package.json +++ b/packages/resource/package.json @@ -1,6 +1,6 @@ { "name": "@promptx/resource", - "version": "2.3.0", + "version": "2.4.0", "description": "PromptX resource templates and prompt definitions", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index 5fb99c74..bb5f1bae 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,18 @@ # @agentxjs/runtime +## 2.0.1 + +### Patch Changes + +- [#565](https://github.com/Deepractice/PromptX/pull/565) [`51bd52f`](https://github.com/Deepractice/PromptX/commit/51bd52f042c47af8c1ed75a8c4cbb3e3441efb9d) Thanks [@dfwgj](https://github.com/dfwgj)! - ## Bug Fixes + + - **runtime**: 修复对话超时误触发问题 — 将绝对超时改为空闲超时(`timeout({ each: 600000 })`),每次 AI 输出都会重置计时器,只有真正超过 600 秒无任何响应才触发超时 + - **mcp-workspace**: 修复生产环境打包缺失问题 — 将 `external` 改为 `noExternal`,确保 `@promptx/logger` 和 `@modelcontextprotocol/sdk` 被打包进产物;同时在 `electron-builder.yml` 补充 `extraResources` 配置,生产包中正确包含 mcp-workspace + + ## New Features + + - **desktop**: 设置页新增「接入其他平台」Tab,提供 Trae 及 Claude/Cursor 等 AI 工具的一键复制 MCP 配置 + ## 1.9.0 ### Minor Changes @@ -7,15 +20,18 @@ - 8f84a87: Add SDK warmup and UI hook tests **Runtime Package**: + - Add `warmup()` method to `SDKQueryLifecycle` for pre-initializing Claude SDK - Add `warmup()` method to `ClaudeEffector` and `ClaudeEnvironment` - RuntimeAgent now calls warmup() on construction (fire-and-forget) - Reduces first message latency by starting SDK subprocess early **Types Package**: + - Add optional `warmup()` method to `Environment` interface **UI Package**: + - Add happy-dom test setup for React hook testing in Bun - Add useAgent hook tests for event filtering (imageId matching) @@ -63,12 +79,14 @@ - 51eab14: fix(runtime): resolve memory leak and timeout issues in ClaudeEffector (#196) **Memory Leak Fix:** + - Fix `resetState()` to properly terminate Claude subprocess by calling `promptSubject.complete()` and `claudeQuery.interrupt()` before resetting state - Fix `dispose()` to call `claudeQuery.interrupt()` before cleanup to ensure subprocess termination - Fix error handling to always call `resetState()` on any error (not just abort errors) to prevent stale state - Add `AGENTX_ENVIRONMENT=true` environment variable to mark AgentX-spawned processes for debugging **Timeout Mechanism Fix:** + - Refactor timeout handling to use RxJS `timeout()` operator for request-response correlation - Add `pendingRequest$` Subject to track active requests and auto-cancel timeout when result is received - Replace manual `setTimeout/clearTimeout` with RxJS-managed timeout that properly fires even after `send()` returns @@ -79,6 +97,7 @@ - 51eab14: feat(portagent): add PromptX MCP server as default agent **Portagent:** + - Add `defaultAgent.ts` with PromptX MCP server configuration - Integrate default agent into server startup - Add `ENABLE_PROMPTX` environment variable to control (default: enabled) @@ -86,16 +105,19 @@ - Add multi-stage Dockerfile with `--target local` for development builds **Runtime:** + - Increase default request timeout from 30s to 10 minutes (600000ms) - Better support for long-running tool executions and code generation - 51eab14: refactor(runtime): extract SDKQueryLifecycle from ClaudeEffector Extract SDK lifecycle management into a dedicated `SDKQueryLifecycle` class: + - `SDKQueryLifecycle`: Handles SDK query initialization, background listener, interrupt, reset, and dispose - `ClaudeEffector`: Now focuses on event coordination and timeout management, delegates SDK operations to lifecycle This separation improves: + - Single responsibility: Each class has a clear purpose - Testability: SDK lifecycle can be tested independently - Maintainability: Smaller, focused classes are easier to understand and modify @@ -111,6 +133,7 @@ - cf039bb: feat(persistence): add Node.js 22+ compatibility for SQLite driver The SQLite driver now automatically detects the runtime environment: + - Bun: uses `bun:sqlite` (built-in) - Node.js 22+: uses `node:sqlite` (built-in) @@ -242,6 +265,7 @@ ### Patch Changes - 38217f0: Add multimodal content support (images and files/PDFs) + - Add ImageBlock and FileBlock components for displaying attachments - Add MessageContent component for rendering multimodal messages - Update InputPane with attachment support (paste, drag & drop, file picker) @@ -309,18 +333,21 @@ - 5749112: refactor(ui): unify assistant message lifecycle with single component **Major Changes:** + - Consolidated `ThinkingMessage` and `StreamingMessage` into a single `AssistantMessage` component that handles all lifecycle states - Added message-level status types: `UserMessageStatus` and `AssistantMessageStatus` - Implemented complete status flow: `queued → thinking → responding → success` - Created comprehensive Stories for `AssistantMessage` and `ToolMessage` components **Technical Improvements:** + - Applied single responsibility principle - one component manages all assistant message states - Added `useAgent` hook to manage assistant message status transitions automatically - Improved Chat component with unified message rendering logic - Fixed `RuntimeOperations.getImageMessages` type signature to use proper `Message[]` type **UI Enhancements:** + - `queued` state: "Queue..." with animated dots - `thinking` state: "Thinking..." with animated dots - `responding` state: Streaming text with cursor animation diff --git a/packages/runtime/package.json b/packages/runtime/package.json index c4ff9692..b6af0012 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@agentxjs/runtime", - "version": "2.0.0", + "version": "2.0.1", "description": "Runtime for AI Agents - Agent execution, SystemBus, Environment, and Repository", "license": "MIT", "engines": {