Skip to content

无法往群/会话发文件:message send 无文件 flag + init_conversation_file_upload 预签名上传 URL 的 bucket 标签重复(dws v1.0.32) #384

@stevenzhangxb

Description

@stevenzhangxb

dws 没有任何可用的"往群/会话发文件"路径——dws chat message send 实际 binary 只有 text/title/group/user/at-* flag(chat.md 文档里的 --dentry-id/--media-id/--file-name 在 v1.0.32 不存在,文档超前于实现);唯一的文件入口 canonical 对 chat.init_conversation_file_upload+commit_conversation_file_uploadcli_path=null,只能 dws mcp chat <name> 调)中,init 返回的预签名 OSS 上传地址把 bucket 标签重复拼了两遍(<bucket>.<bucket>.oss-accelerate.aliyuncs.com),既导致 host DNS 解析不了(*.oss-accelerate 通配只匹配一级标签),且签名也是按重复 bucket 算的——修正 host 后 OSS 用正确 bucket 重算 StringToSign 即报 SignatureDoesNotMatch,服务端 URL 生成 bug,客户端无解。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions