3a973e7ea82998ffbe26263c6fa5b482d779a6d6
Why: generated deliverables (e.g. meeting-minutes docx) had no reliable download path — the content endpoint set no Content-Disposition, so the filename only survived via the front-end <a download> attribute, and contentTypeOf returned text/plain for any artifact whose MIME column was empty, mangling office/pdf uploads. Evidence: artifactContent now always sets Content-Disposition (inline by default, attachment with ?download=1) with an RFC 5987 filename* for non-ASCII names plus an ASCII fallback; contentTypeOf consults an explicit office-format extension table then mime.TypeByExtension before the kind fallbacks. New tests cover disposition on both modes, the encoded Chinese filename, and the extension/mime precedence chain; go test ./... green. Impact: front-ends can link direct download URLs and browsers receive correct file types for docx/xlsx/pptx/pdf/csv/md regardless of the stored MIME value. Refs: task feature/chat-order-artifact-files.
Agent-System-Backend
对话系统后端:Go 模块化单体,默认构建为单二进制(go:embed 内嵌前端与嵌入式 SQLite 存储)。组合 Agent-Native / Agent-Squad / Agent-Intent 生态,依赖 agent-system-core 契约。
契约与架构见 Agent-System-Documents 设计方案与架构文档;开发规范见 development-guidelines(Dev 仓 development/guidelines)。本仓为 Agent-System 多仓组合的组成部分。
Description
对话系统后端:会话与流式管道、智能体运行时与画像、工具/上下文/文档解析/检索/设置管理、插件宿主(组合 Agent-Native/Squad/Intent);依赖 Agent-System-Core 契约,默认单二进制非容器部署。
26 MiB
Languages
Go
98.5%
Python
1.4%