memory: 新增 lang() 文字类型判定;分类按消息语言 - #73
Merged
Merged
Conversation
- memory·lang(msg):判消息文字类型(假名 > 谚文 > 汉字 > 拉丁, 都不命中则默认中文) - classify 注释同步:类别名与消息语言相同 - 其余为跟进 kvlang 新规则:kv·* → kvspace·*、/tmp/esc·* → /tmp/esc/*、 map 字面量补显式 langtype(noenv / a) Co-Authored-By: Claude Code <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.
变更
lib/byteseek/memory.kv:新增lang(msg)—— 判消息文字类型(假名 > 谚文 > 汉字 > 拉丁,都不命中则默认中文),并同步classify的语义:类别名与消息语言相同(lang 判定)。(其余
kv·*→kvspace·*、/tmp/esc/、map langtype 等适配改动已随 #71 合入,本 PR 只含增量。)🤖 Generated with Claude Code