修复跨平台操作 #19

Merged
jiangtx merged 4 commits from jtx_branch into master 2026-07-07 09:14:03 +08:00

4 Commits

Author SHA1 Message Date
蒋天翔 3dbcef1b34 Merge origin/master into jtx_branch
CI / Build, Lint, Test (pull_request) Failing after 2m23s Details
冲突解决策略:9 个冲突文件均以 master 为准(master 的 shortcut 集是
jtx_branch 的超集——notification/pm/export/wiki/capability 等已独立实现
且更完整,含 P0 show/demo/--web/--demo + i18n + 覆盖率门禁)。

jtx_branch 的独有贡献(master 没有的)通过 merge 自动合入:
- shortcuts/notification/notification_test.go

冲突文件(全选 master 版本):
.devops/ci.yml(jtx_branch 删 / master 加覆盖率门禁 → 保留 master)
.devops/gitlink-cli.yml, cmd/{alias,auth,root}.go, internal/client/client.go,
shortcuts/{register,register_test,repo/repo}.go
2026-07-07 09:10:45 +08:00
蒋天翔 7e7e2ccb47 feat: 添加通知管理、标签克隆、仓库文件操作等 8 项功能
CI / Build, Lint, Test (pull_request) Failing after 2m22s Details
新增功能:
- notification: list/read/read-all/watch 快捷命令
- repo: raw/activity/compare/create-file/update-file 快捷命令
- label: clone 快捷命令(从其他仓库克隆标签)
- alias: +list/+set/+delete/+expand 子命令

修复:
- auth.go: 修复 Windows 下 syscall.Stdin 类型兼容问题
- register_test: 更新分组计数以包含 notify

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 20:45:15 +08:00
蒋天翔 0fd9d0f6d7 feat: 添加 Dockerfile 和建木 DevOps 流水线配置
- 多阶段 Docker 构建(golang:1.26-alpine + alpine:3.20)
- 流水线:push 到 master 自动测试、构建、部署到 ECS

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 20:34:30 +08:00
蒋天翔 ad906e212c fix: handle XML declaration in detectHTMLResponse and remove .devops/ci.yml
- Strip <?xml...?> declaration before checking HTML prefixes
- Remove .devops/ci.yml containing personal DevCloud config

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 08:13:33 +08:00