mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-10-22 14:40:19 +00:00
Media name preservation already ships: the REST schemas expose a name on image and video content, and kap-server reads imageUrl.name and videoUrl.name when projecting messages and prompt content. The kosong part types never declared the field, so it survived only because object literals keep excess properties through an assignment. Consumers that read these types directly cannot see the name at all. Declare it where the other optional part fields live. No runtime change; the existing media name projection tests continue to cover the behavior. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| CHANGELOG.md | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.type-negative.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||