Commit Graph

7 Commits

Author SHA1 Message Date
蒋天翔 87767f5482 feat: P0 新增 show/demo/--web/--demo 命令与离线演示能力
CI / Build, Lint, Test (push) Failing after 2m27s Details
- internal/web: URL Builder (16 模式) + 跨平台浏览器(单一 URL 来源)
- cmd/show: 12 子命令打印 GitLink 网页 URL(投影友好 + --format json)
- cmd/demo: +run showcase 离线演示脚本(自动 GITLINK_DEMO=1)
- internal/demo: Mock Transport + 20 fixtures + --demo flag(无网无 Token)
- shortcuts/common/web_post.go: --web 全局后处理(命令执行后打开网页)
- shortcuts/capability: +check 支持 --format 结构化输出
- scripts/verify.sh: 7 段分段验证脚本(编译/覆盖率/注册/E2E/联动)
- doc/: 验证报告 + 演示脚本 + 设计文档
- .gitignore: 排除验证临时产物与课程材料
2026-07-07 08:51:14 +08:00
wyxfzgg b887e5053d feat: 新增安装脚本 + CI 配置 + 命令帮助文档 + 跨平台验证报告
CI / Build, Lint, Test (pull_request) Failing after 2m6s Details
- 新增 scripts/install.sh: Linux/macOS 一键安装脚本
- 新增 scripts/install.ps1: Windows PowerShell 安装脚本
- 修改 .devops/ci.yml: 更新 CI 支持 wyx_branch 分支
- 新增 doc/commands/pm.md: pm 模块命令参考手册
- 新增 doc/commands/wiki.md: wiki 模块命令参考手册
- 新增 doc/commands/alias-browse-status.md: alias/browse/status 命令参考手册
- 新增 doc/commands/export.md: export 模块命令参考手册
- 新增 doc/commands/cross-platform.md: 跨平台兼容性验证报告

关联 Issue: #16
2026-06-03 12:07:13 +08:00
wbtiger f7263cc466 chore: add golangci-lint config and fix lint issues
- Add .golangci.yml with 8 essential linters (errcheck, govet,
  ineffassign, staticcheck, unused, errorlint, gosec, misspell)
- Fix real bugs: errors.As, %w wrapping, nil map check, dead code,
  unnecessary conversion, unused parameters
- Add `make lint` target, include it in `make check` pipeline
- Update pre-commit hook to run lint step

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 00:37:45 +08:00
wbtiger 6ded4851cb ci: add local checks (make check, pre-commit hook) and Gitea Actions workflow skeleton 2026-05-29 23:58:51 +08:00
wangyue789 cdca68ff3e fix(npm): improve missing binary diagnostics 2026-05-19 16:56:50 +08:00
wbtiger d5e15c6e71 ci: add GitHub Release workflow with npm publish 2026-05-17 14:49:16 +08:00
wbtiger e892370de8 init gitlink-cli 2026-04-17 10:01:30 +08:00