Closed
Conversation
caol64
added a commit
that referenced
this pull request
Apr 21, 2026
- 新增 uploadImageFile() 将本地图片上传到服务器 - 新增 requestServerPublishImage() 调用服务器 /publish-image 端点 - 新增 publishImageTextToServer() 编排完整的小绿书 server 模式发布流程 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3c5efd5 to
c8e3cfe
Compare
Author
|
上游已在 c74cd86 中用不同方式实现了小绿书 server 模式(通过 image_list frontmatter + 复用现有 renderAndPublishToServer 流程),本 PR 不再需要。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uploadImageFile()/requestServerPublishImage()客户端函数,用于将本地图片上传到服务器并请求发布小绿书publishImageTextToServer()编排函数,完成 health check → 上传图片 → 请求发布的完整 server 模式流程Test plan
pnpm typecheck通过wenyan publish -f post.md --type newspic --server <url>命令进行端到端测试