Repository navigation
feat: publish HTML customer links and custom names in CLI 3.0 - #225
Merged
Merged
Conversation
Nicky-Chu
marked this pull request as ready for review
November 17, 2026 17:31
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.
HTML 上传目前只返回组织内文档,运营无法把网页直接交给客户。此改动让
html-documents +upload默认请求公开分享并返回服务端share_url;--private保留组织内访问,+share/+unshare管理已有文档的公开链接。上传和分享都可指定
--share-slug manus-proposal,得到类似museon.ai/share/manus-proposal的短地址。+share不带链接选项时保留现有名字,--random-link清空名字切回随机链接;结构化输入的share_slug: null同义。私有上传也能预留名字且不会公开。撤销分享保留自定义名字,重新分享可恢复;改名后的旧名字停止访问且服务端保留归属,避免被其他文档接管。服务端保留名、名称占用及格式错误均显示明确错误,不静默重试或另取名字。兼容性与发布:上传默认可见性改变,版本准备为 3.0.0;旧脚本上传内部资料时必须加
--private,已有文档和内置指南保持私密。CHANGELOG、固定安装链接、lockfile、生成契约与指南已同步。必须等 Museon HTML-sharing API 生产部署验证成功后才能创建 v3.0.0 发布 tag;本 PR 合并本身不会触发 CLI Release。验证:最终版本的 HTML 专项、组织隔离请求扫描及输出契约共 98 passed。Ruff、command docs / contract / task-index 一致性、3.0.0 wheel 构建、public artifact 检查、干净安装与自更新 smoke 均通过。此前全套为 1964 passed / 1 failed,唯一 optional private 缺省问题已修复并包含在上述定向复测中;最终 head 交由 CI 重跑全部版本与平台。未执行生产写入或替换全局 CLI。