Commit Graph

62 Commits

Author SHA1 Message Date
mengcheng f3ab651a7b Merge pull request 'fix:统一错误提示优化+Issue标签ID动态获取' (#9) from mc_branch into master 2026-06-04 10:54:00 +08:00
camelliamc 89afa968fd fix:统一错误提示优化+Issue标签ID动态获取 2026-06-04 10:36:41 +08:00
zzx-coder 297a2ccbbe Merge pull request '修改webhook功能中的相关代码,完善其功能' (#7) from zzx_branch into master 2026-06-03 23:21:30 +08:00
狗gogo 5fd2ad0c6d Update webhook functionality and fix authentication issues
- Updated webhook shortcuts with enhanced functionality
- Fixed authentication issues in login.go and auth.go
- Improved repo context resolution
- Added npm package configuration
- Updated binary build

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 23:19:43 +08:00
狗gogo 813cd9a285 测试webhook触发 2026-06-03 22:15:50 +08:00
zzx-coder eee47cde57 Merge pull request '解决issue16~18' (#6) from zzx_branch into master 2026-06-02 11:36:25 +08:00
狗gogo 789c32cc64 Add webhook and wiki management features
- Added webhook shortcuts and skill
- Added wiki management shortcuts and skill
- Updated workflow examples and references
- Enhanced skills documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 10:17:47 +08:00
狗gogo 50c6882a60 fix: 添加缺失的tagIDs和parseLabel定义到batch.go 2026-06-02 07:19:37 +08:00
mengcheng 863e3e512a Merge pull request '更新文档' (#5) from mc_branch into master 2026-06-01 21:41:06 +08:00
camelliamc a3b6b1c11c 更新文档 2026-06-01 21:31:17 +08:00
zzx-coder 58853aea80 refactor: .devops/gitlink-cli-autodeploy.yml 2026-06-01 19:55:04 +08:00
zzx-coder e11478e392 feat: .devops/gitlink-cli-autodeploy.yml 2026-06-01 18:46:05 +08:00
zzx-coder 599914b2b3 refactor: delete .devops/gitlink_cli.yml 2026-06-01 18:29:30 +08:00
zzx-coder 4981ca0869 refactor: .devops/gitlink_cli.yml 2026-06-01 17:24:55 +08:00
zzx-coder 2e4c6f7a6e refactor: .devops/gitlink_cli.yml 2026-05-29 08:55:59 +08:00
zzx-coder 59d2244cb4 feat: .devops/gitlink_cli.yml 2026-05-29 08:50:27 +08:00
zzx-coder 27c3a9b1ad refactor: delete .devops/未命名项目.yml 2026-05-29 08:50:26 +08:00
zzx-coder df490c84ad refactor: .devops/未命名项目.yml 2026-05-29 08:49:48 +08:00
zzx-coder 9377d596cf feat: .devops/未命名项目.yml 2026-05-29 08:49:42 +08:00
mengcheng f256000fdb Merge pull request 'fix:增加相关test.go文件' (#4) from mc_branch into master 2026-05-28 17:01:06 +08:00
camelliamc e9b4362683 fix:增加相关test.go文件 2026-05-28 16:59:32 +08:00
mengcheng b722211d02 Merge pull request 'feat:批量仓库管理' (#3) from mc_branch into master 2026-05-28 16:11:01 +08:00
camelliamc bb0950d082 feat:批量仓库管理 2026-05-28 16:04:37 +08:00
mengcheng f5227e5e22 Merge pull request '新增issue批量操作' (#2) from mc_branch into master 2026-05-23 16:45:18 +08:00
camelliamc 59c5f8f43c 新增issue批量操作 2026-05-23 16:38:20 +08:00
mengcheng 0e36f58327 Merge pull request '新增wiki管理的shortcut' (#1) from mc_branch into master 2026-05-23 08:44:14 +08:00
camelliamc 5702ce9959 增加wiki管理的shortcut 2026-05-23 08:30:29 +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
wbavon 7516ea8de9
Merge pull request #4 from ccfos/docs/fork-based-pr-workflow
docs(skills): add Fork-based PR workflow guidelines
2026-04-18 17:13:56 +08:00
wbtiger 2aad9a00d4 fix: require Fork even for admin/owner, unless user explicitly says otherwise 2026-04-18 17:07:32 +08:00
wbtiger 445e548f49 docs(skills): add Fork-based PR workflow guidelines
- gitlink-shared: add 'PR Collaboration Workflow' section with Fork flow,
  correct/incorrect examples, and self-owned repo exception
- gitlink-pr: replace single-path PR creation with two sections:
  1. Fork flow for contributing to others' repos (mandatory)
  2. Direct branch flow for self-owned repos (allowed)

Ensures AI agents follow standard open-source collaboration practices
instead of pushing branches directly to upstream repositories.
2026-04-18 16:56:55 +08:00