修复子任务一中部分展示bug #21

Merged
zzx-coder merged 1 commits from zzx_branch into master 2026-07-01 14:25:49 +08:00
Owner
No description provided.
zzx-coder added 1 commit 2026-07-01 14:24:35 +08:00
b1bf96141c feat: add repo batch-delete, unify api error envelope, harden wiki handling
- repo: 新增 `+batch-delete` shortcut(--names / --from CSV / --dry-run),
  补齐 batch-create / batch-update / batch-delete 三件套
- api: 新增 `--body-file` 解决 PowerShell 调用 .exe 时剥离内嵌引号的问题;
  JSON 解析、参数冲突、读文件失败、网络错误统一按 envelope 输出,
  便于 --format json + jq 自动化解析
- wiki: unwrapGatewayResponse 接受全部 HTTP 2xx(修复 DELETE 返回 204 被误判失败);
  错误改返回 *clierrors.CLIError 让 envelope 输出生效;fetchPageContent 自动重试
  ".-" 后缀(GitLink 后端给 sub_url 加后缀导致 GET 404);outputWithDecodedContent
  解码 base64 字段为明文提升 agent 可读性;wiki +delete 先解析实际 pageName 再
  DELETE,删除后强制 GET 验证并返回结构化结果

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
zzx-coder merged commit 3a761d20c9 into master 2026-07-01 14:25:49 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: zzx-coder/gitlink-cli#21
No description provided.