修复远程终端识别本地操作系统问题并完善工作流配置 #7

Merged
shizi merged 12 commits from fix-bug into main 2026-01-14 08:05:13 +00:00
Owner

主要修复与优化

src/remote-container.ts: 重构终端命令构建逻辑,通过shell路径检测本地系统环境

改进了buildOpenProjectCommand函数,更准确地检测本地系统

增强了对不同shell环境的兼容性

package.json: 版本从0.4.3升级到0.5.3

新增trae协议支持: 修复Trae连接相关的问题

{"protocol": "trae", "path": "/openProject"} - 解决特定环境下的项目打开问题

Gitea工作流配置:

.gitea/workflows/devstar-vscode-release.yaml: 实现PR合并时自动递增版本号

简化版本发布流程,减少手动操作

其他调整

代码清理:

src/utils.ts: 移除未使用的代码,保持代码库简洁

提升项目维护性

# 主要修复与优化 ## src/remote-container.ts: 重构终端命令构建逻辑,通过shell路径检测本地系统环境 改进了buildOpenProjectCommand函数,更准确地检测本地系统 增强了对不同shell环境的兼容性 ## package.json: 版本从0.4.3升级到0.5.3 新增trae协议支持: 修复Trae连接相关的问题 {"protocol": "trae", "path": "/openProject"} - 解决特定环境下的项目打开问题 ## Gitea工作流配置: .gitea/workflows/devstar-vscode-release.yaml: 实现PR合并时自动递增版本号 简化版本发布流程,减少手动操作 # 其他调整 ## 代码清理: src/utils.ts: 移除未使用的代码,保持代码库简洁 提升项目维护性
yinxue5211 added 7 commits 2026-01-14 02:13:44 +00:00
yinxue5211 added 4 commits 2026-01-14 03:56:47 +00:00
mengning added 1 commit 2026-01-14 05:57:41 +00:00
更新 .gitea/workflows/devstar-vscode-release.yaml
Some checks failed
CI/CD Pipeline for DevStar Extension / build (pull_request) Failing after 10s
872df0fd65
Owner

PR #7 Review

Changes Overview

  • src/remote-container.ts: Refactor terminal command construction, detect local system via shell path
  • .gitea/workflows/devstar-vscode-release.yaml: Auto-increment version on PR
  • package.json: Version 0.4.3→0.5.3, added trae protocol
  • .eslintrc.json: Disabled semi and eqeqeq rules
  • src/utils.ts: Removed unused code

Suggestions

1. .eslintrc.json - Disabling quality rules

- "@typescript-eslint/semi": "warn",
+ "@typescript-eslint/semi": "off",
- "eqeqeq": "warn",
+ "eqeqeq": "off",
  • This change is unrelated to the PR title "fix-bug"
  • Disabling quality rules affects the entire project, consider a separate PR with explanation

2. package.json - trae protocol change

{"protocol": "trae", "path": "/openProject"}
  • If related to Trae connection issues, please add context to the PR description

Other

  • buildOpenProjectCommand refactoring is clear, detecting local system via shell path is a reasonable approach
  • Auto-increment version workflow looks good

Comments for reference only.

## PR #7 Review ### Changes Overview - `src/remote-container.ts`: Refactor terminal command construction, detect local system via shell path - `.gitea/workflows/devstar-vscode-release.yaml`: Auto-increment version on PR - `package.json`: Version 0.4.3→0.5.3, added trae protocol - `.eslintrc.json`: Disabled semi and eqeqeq rules - `src/utils.ts`: Removed unused code --- ### Suggestions **1. `.eslintrc.json` - Disabling quality rules** ```diff - "@typescript-eslint/semi": "warn", + "@typescript-eslint/semi": "off", - "eqeqeq": "warn", + "eqeqeq": "off", ``` - This change is unrelated to the PR title "fix-bug" - Disabling quality rules affects the entire project, consider a separate PR with explanation **2. `package.json` - trae protocol change** ```json {"protocol": "trae", "path": "/openProject"} ``` - If related to Trae connection issues, please add context to the PR description --- ### Other - `buildOpenProjectCommand` refactoring is clear, detecting local system via shell path is a reasonable approach - Auto-increment version workflow looks good Comments for reference only.
yinxue5211 changed title from fix-bug to 修复远程终端识别本地操作系统问题并完善工作流配置 2026-01-14 07:53:37 +00:00
Owner

LGTM

LGTM
shizi merged commit 4c661ec06a into main 2026-01-14 08:05:13 +00:00
shizi deleted branch fix-bug 2026-01-14 08:05:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devstar/devstar-vscode#7
No description provided.