Skip to content

feat: publish HTML customer links and custom names in CLI 3.0 - #225

Merged
Nicky-Chu merged 3 commits into
mainfrom
codex/html-public-sharing
Nov 17, 2026
Merged

Nicky-Chu merged 3 commits into
mainfrom
codex/html-public-sharing

Conversation

@Nicky-Chu

@Nicky-Chu Nicky-Chu commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

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。

@Nicky-Chu Nicky-Chu changed the title feat: publish HTML uploads with customer share links feat: upload HTML with customer links and custom share names Nov 17, 2026
@Nicky-Chu
Nicky-Chu marked this pull request as ready for review November 17, 2026 17:31
@Nicky-Chu Nicky-Chu changed the title feat: upload HTML with customer links and custom share names feat: publish HTML customer links and custom names in CLI 3.0 Nov 17, 2026
@Nicky-Chu
Nicky-Chu merged commit 181fd46 into main Nov 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant