chroe
623e065efa
feat: 添加reopen/batch-reopen命令 + 修复assign使用PATCH代替PUT
2026-06-04 09:00:23 +08:00
chroe
1004bddc8d
fix: watch/star 模块 resolveProjectID 兼容 project_id 字段
2026-06-03 22:57:04 +08:00
chroe
ad30d3b233
Merge branch 'master' of https://gitlink.org.cn/chroe/gitlink-cli
2026-06-03 22:45:51 +08:00
chroe
3558a1626c
feat: 成员管理卡片添加按用户名搜索ID功能
2026-06-03 22:45:39 +08:00
chroe
72f1a7d6f5
delete test file
2026-06-03 22:38:48 +08:00
chroe
9ca2ab9530
add test file
2026-06-03 22:38:11 +08:00
chroe
ac78457f9e
fix: 移除index.html多余的花括号导致JS语法错误
2026-06-03 22:37:19 +08:00
chroe
cf9f56feb3
Merge branch 'master' of https://gitlink.org.cn/chroe/gitlink-cli
2026-06-03 21:19:38 +08:00
chroe
c1155c2262
perf: 移除流水线docker build --no-cache + 更新项目状态
2026-06-03 21:18:23 +08:00
Martin
4e4e3fb7c9
fix: Windows credential path follows system convention, remove duplicate install.js
...
Release / release (push) Failing after 1h9m56s
Details
- ConfigDir() uses %AppData%\gitlink-cli on Windows instead of ~/.config/
- credentialPath() reuses config.ConfigDir() for path consistency
- credential path now respects GITLINK_CONFIG_DIR env override
- Remove stale scripts/install.js (npm/scripts/install.js is canonical)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 20:58:35 +08:00
chroe
f627c3d813
merge: 解决 showcase/index.html 合并冲突,保留独立模块卡片+布尔参数修复+null处理优化
2026-06-03 20:24:47 +08:00
yetja
bfd8cb0ba5
修复展示页两个bug:错误提示显示null、pflag bool参数解析错误
2026-06-03 20:20:47 +08:00
chroe
1a5dbe9e8e
fix: showcase布尔参数用下拉框、移除重复owner/repo参数、改善null输出显示、member模块增加ID查找提示
2026-06-03 20:16:44 +08:00
yetja
37264ea7ec
合并批量操作为一个大类,修复错误提示显示null的bug
2026-06-03 20:01:01 +08:00
yetja
fca5e9b821
新增展示页信息
2026-06-03 19:46:16 +08:00
Martin
7cd995dffa
feat: add FreeBSD (amd64/arm64) to build and distribution pipeline
...
- Add freebsd/amd64 and freebsd/arm64 to build-npm.sh PLATFORMS
- Add FreeBSD targets to CI release workflow
- Fix CI Go version mismatch (1.22 -> 1.26 to match go.mod)
- Add freebsd platform mapping in npm postinstall script
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 19:36:58 +08:00
chroe
d072d54995
Merge branch 'master' of https://gitlink.org.cn/chroe/gitlink-cli
2026-06-03 16:54:16 +08:00
chroe
ad215e292d
feat: wiki模块(5命令+sidebar自动清理)、流水线迁移新服务器、showcase参数修复、client.DoRaw
...
- 新增 wiki 模块:list/view/create/update/delete(含 sidebar 死链接自动清理)
- 新增 client.DoRaw() 方法(不带.json后缀,支持 gateway API)
- 修复 showcase 参数截断问题(支持引号包裹多词参数)
- 流水线迁移至新服务器 118.31.4.168
- Dockerfile 添加 GOPROXY=https://goproxy.cn,direct
- 更新 PROJECT_STATUS.md 项目文档
2026-06-03 09:05:53 +08:00
yetja
d6c1a92fe3
增加批量管理仓库、批量邀请成员两个批量操作,优化现有命令的错误提示
2026-06-02 15:39:49 +08:00
Martin
999e721bd8
feat: add file, member, watch, star shortcut modules (15 commands)
...
- file: +list, +tree, +get, +create, +delete (5 commands, 9 tests)
- member: +list, +add, +remove, +update (4 commands, 6 tests)
- watch: +watch, +unwatch, +watchers (3 commands, 3 tests)
- star: +star, +unstar, +stars (3 commands, 3 tests)
Auto-resolve project-id for watch/star. v1 API paths preferred.
All 21 new tests passing.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 08:54:18 +08:00
chroe
a82717bbf3
refactor: .devops/构建部署Showcase.yml
2026-05-28 16:14:04 +08:00
chroe
d63ea089ba
feat: .devops/构建部署Showcase.yml
2026-05-28 16:08:44 +08:00
chroe
74f75a55ca
feat(showcase): add interactive dashboard with Dockerfile and CI/CD pipeline
...
Interactive web dashboard that demonstrates new CLI commands with real
API calls. Includes:
- Go web server with embedded HTML (showcase/main.go)
- Dashboard UI with 4 modules, Chinese descriptions, live execution
- Dockerfile for multi-stage build
- Pipeline config for automated deployment on push
Access at http://121.41.210.165:9090 after deployment
2026-05-28 16:01:01 +08:00
yetja
e29a02a3d0
新增24个测试用例:issue批量操作/CRUD、org/user/pr全命令、各模块view命令。覆盖率达到74.1%
2026-05-28 15:35:17 +08:00
chroe
2f943d9a53
docs(showcase): add feature showcase page and deploy script
...
Dark-themed showcase page displaying:
- Core stats (40+ to 70+ commands, 12 shortcut groups, 36+ tests)
- Team member assignments and architecture diagram
- Live command demo outputs and test results
- Deploy script for Nginx container on ECS
2026-05-28 14:42:34 +08:00
chroe
6042a7ea93
feat(commit): add commit shortcut module with list/view/diff/blame commands
...
Add 4 new commands for commit operations:
- commit list: list commits with sha/page/limit filters
- commit view: view files changed in a commit
- commit diff: show diff for a commit
- commit blame: show line-by-line file blame
Includes 5 unit tests covering all commands.
2026-05-28 14:42:34 +08:00
yetja
60b6ea6f6c
解决issue3:优化 table 输出格式及 batch-close
...
同时新增batch-close: 新增 Duration 字段记录批量操作耗时
2026-05-26 15:14:57 +08:00
yetja
1276744ee2
解决 issue #2: 新增 issue batch-assign、batch-label、batch-milestone 三个批量操作命令
2026-05-25 11:18:57 +08:00
yetja
f024db9878
新增 7 个 Shortcut 命令(search+issues, issue+assign, issue+label, pr+review, release+download, repo+settings, repo+clone)
...
补全 doc/design.md Phase 3 规划的 7 个缺失命令:
- search +issues:跨仓库搜索 Issue,支持关键词/状态/所有者过滤
- issue +assign:将 Issue 指派给指定用户
- issue +label:给 Issue 添加/移除标签(逗号分隔多 ID)
- pr +review:提交 PR Review(approve/comment/request-changes)
- release +download:下载 Release 附件,不指定文件名则列出全部
- repo +settings:查看/修改仓库设置(可见性/默认分支/描述)
- repo +clone:从 GitLink 克隆仓库(支持 URL 和 owner/repo 格式)
包含 27 个新增单元测试,全部 55 个 shortcut 测试通过。
2026-05-22 20:19:18 +08:00
chroe
65f9f49e00
新增里程碑、Webhook 和标签快捷命令(16个命令)
...
新增三个快捷命令分组,覆盖之前只能通过原始 API 访问的 GitLink 平台功能:
- milestone(里程碑):列表、查看、创建、更新、关闭、删除
- webhook(Webhook):列表、创建、查看、更新、删除、测试推送
- label(标签):列表、创建、更新、删除
每个模块均包含 httptest 单元测试,全部 31 个测试通过(新增 17 个 + 原有 14 个)。命令总数从 40+ 增长到 56+。
2026-05-21 17:49:33 +08:00
wbtiger
fde322669a
Merge pull request 'fix(npm): improve missing binary diagnostics' ( #18 ) from wangyue111/gitlink-cli:fix/npm-missing-binary-diagnostics into master
2026-05-19 22:29:30 +08:00
wangyue789
cdca68ff3e
fix(npm): improve missing binary diagnostics
2026-05-19 16:56:50 +08:00
wbtiger
c4ec40ab8b
docs: update README for v0.1.17 — branch skill, npm one-step install, 12 skills
2026-05-17 15:07:57 +08:00
wbtiger
d5e15c6e71
ci: add GitHub Release workflow with npm publish
2026-05-17 14:49:16 +08:00
wbtiger
795d00302e
Revert "Add TUI foundation (Phase 1: Harness Foundation)"
...
This reverts commit 0ae44e9a64 .
2026-05-17 14:14:32 +08:00
wbtiger
0ae44e9a64
Add TUI foundation (Phase 1: Harness Foundation)
...
Core architecture:
- tui/app.go: Root Bubble Tea model with view routing, layout engine,
global keybindings (Ctrl+A/Ctrl+Space/Ctrl+P/?), AI panel toggle
- tui/store/store.go: Central state store with auth detection and
project context resolution (reuses gitlink-cli internal packages)
- tui/navigation/router.go: Stack-based view navigation for back support
- tui/ui/: Theme, keymap, styles, StatusBar, TabBar components
- tui/views/home.go: Dashboard view with onboarding wizard for first run
- main.go: TUI mode dispatch via "gitlink-cli tui"
Entry point: gitlink-cli tui
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 14:08:10 +08:00
wbtiger
f8d9935b98
docs: remove Gitea reference from branch skill
2026-05-17 12:35:34 +08:00
wbtiger
6ff7384f99
fix(branch): URL-encode branch name in unprotect, add +unprotect to Skill
...
- shortcuts/branch/branch.go: unprotect 使用 url.PathEscape 编码分支名(含 / 的分支名)
- skills/gitlink-branch/SKILL.md: 新增 +unprotect 命令(参数、示例、Workflow)
- skills/gitlink-branch/examples/branch-workflow.md: 注意事项补 +unprotect 说明
- 注意:含 / 的分支名 unprotect 受限于 Gitea API 路由,需通过 Web 操作
2026-05-17 12:19:04 +08:00
wbtiger
a3b710268e
feat(skills): add gitlink-branch Skill
...
- 从 gitlink-repo/references/ 提取 branch 命令,整合为独立 Skill
- 覆盖 branch +list/+create/+delete/+protect 四个命令
- 含 examples/branch-workflow.md 端到端工作流
- 更新 skills/README.md 表格补上 branch +delete
2026-05-17 12:03:34 +08:00
wbtiger
a560dfc982
Merge pull request 'feat(pr): add pr +comment shortcut' ( #15 ) from wbtiger/gitlink-cli:feat/pr-comment into master
2026-05-14 14:26:26 +08:00
wbtiger
20c3a4ff62
feat(pr): add pr +comment shortcut
...
Add a convenience command to comment on pull requests directly,
without needing to look up the underlying issue ID first.
Internally resolves the PR's issue ID via pr +view, then posts
to the issues journals API.
2026-05-14 14:23:04 +08:00
wbtiger
800002d710
Merge pull request 'feat(issue): add batch close shortcut with dry-run support' ( #12 ) from wangyue111/gitlink-cli:feat/issue-batch-close into master
2026-05-13 19:27:01 +08:00
wangyue789
b2e840f498
feat(issue): add batch close shortcut with dry-run support
2026-05-13 17:27:50 +08:00
wbtiger
b49cf8ffda
Merge pull request 'fix: Issue 操作切换到 v1 API,统一使用 project_issues_index 替代数据库 ID' ( #11 ) from wbtiger/gitlink-cli:fix/issue-use-v1-index into master
2026-05-12 17:06:29 +08:00
wbtiger
3e1abd8b8a
docs: 补充 Issue status_id 映射表(1=新增, 2=正在解决, 3=已解决, 5=关闭)
2026-05-12 17:05:28 +08:00
wbtiger
44147bd71a
fix: Issue 操作切换到 v1 API,统一使用 project_issues_index 替代数据库 ID
...
改动:
- Issue 所有操作(list/view/create/update/close/comment)从旧版 /api/ 切到 /api/v1/
- flag --id/-i 改为 --number/-n(与网页 URL 中的 Issue 编号一致)
- create 增加 status_id:1(必填,v1 API 要求)
- update/close 的 HTTP 方法从 PUT 改为 PATCH(v1 API 规范)
- comment 的请求字段从 content 改为 notes(v1 API 字段名)
- comment 路径从 /issues/{id}/journals 改为 /v1/{owner}/{repo}/issues/{number}/journals
Fixes #9
2026-05-12 16:55:23 +08:00
wbtiger
00f72bccf7
fix pull request number issue
2026-05-12 14:28:30 +08:00
wbtiger
17abc488a8
fix: 统一使用 pull_request_number 替代 pull_request_id
...
将所有 skill 文档中对 pull_request_id 的引用替换为 pull_request_number,
与用户在网页 URL (/pulls/N) 中看到的序号一致。API 本身支持
pull_request_number,因此无需任何代码改动。
Fixes #7
2026-05-12 14:07:20 +08:00
wbtiger
b446ae419c
Merge pull request 'fix: preserve issue description on updates' ( #7 ) from topshare/gitlink-cli:fix/issue-description-preserve into master
2026-05-12 11:44:14 +08:00
Zhang Jinnan
46aa383d76
fix: preserve issue description on updates
2026-04-28 08:43:51 +08:00