Repository navigation
fix: 用量账本按块读取、save_blob 接受只给哈希的句柄、新装 World 后提示激活 - #292
Merged
Merged
Conversation
- 根因:readDisk 把整份 usage.jsonl 读成一个字符串再切行,账本超过 V8 字符串上限(约 512MB)时抛 ERR_STRING_TOO_LONG,用量页显示账目存储异常 - 在换行字节处切分,UTF-8 多字节字符内不会出现这个字节;新测试用跨多个读取块、块边界落在汉字中间的账本挡这条回归 - 本机 239MB 的真实账本新旧读法结果一致,1980ms→1162ms Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 根因:参数说明写「8 位以上十六进制前缀就够」,有的模型据此只传哈希;LogBlobStore 只认带 log: 的句柄,于是报没有这份二进制 - 说明改成带 log: 的写法并给示例;测试加了只传哈希也能存的用例 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 扩展模板的 World 默认 enabled:false,装完重启后不会自己挂载;提示只在首次安装、包类别为 world 时出现,更新不出 - 11 种语言,用词对齐各语言的 World 总览页名与「激活」 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
log:的哈希时按log:句柄解析,参数说明改成带log:的写法。见 桌宠存图失败 Coopanion#277pnpm test(5005 通过)与pnpm run typecheck本地全绿。🤖 Generated with Claude Code