feat(skills): curator 面板加 pinned 计数 + 运行时输出技能名日志
- get_curator_status 的 agent_created_skills 增加 pinned 计数,与 active/stale/archived 正交;前端技能进化面板同步展示「被钉住」一项 (curator/types.ts、skill-evolution-panel.tsx、zh-CN/en-US/types i18n)。 - run_curator_review 每次运行时把涉及的技能名输出到日志:新增 _log_scanned_skills(扫描到的技能名)与 _candidate_skill_names (候选技能名),logger 与 curator_log 双写。 新增 test_curator_status_counts.py、test_curator_skill_logging.py。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
4aee413680
commit
f80a00e211
8 files changed
+179
-2
No files matched your search
@@ -177,6 +177,9 @@ function StatusCard() {
|
||||
<span>
|
||||
{tt.archived}: {status.agent_created_skills.archived}
|
||||
</span>
|
||||
<span>
|
||||
{tt.pinned}: {status.agent_created_skills.pinned}
|
||||
</span>
|
||||
</span>
|
||||
</StatRow>
|
||||
<StatRow label={tt.lastActions} className="sm:col-span-2">
|
||||
|
||||
@@ -47,6 +47,8 @@ export interface CuratorStatus {
|
||||
active: number;
|
||||
stale: number;
|
||||
archived: number;
|
||||
/** 被 pin 的数量;与 active/stale/archived 正交。 */
|
||||
pinned: number;
|
||||
};
|
||||
/** 上次运行 LLM 自述的建议(它"说"要做什么)。 */
|
||||
last_consolidation_suggestions: CuratorSuggestions;
|
||||
|
||||
@@ -546,6 +546,7 @@ export const enUS: Translations = {
|
||||
stale: "Stale",
|
||||
archived: "Archived",
|
||||
total: "Total",
|
||||
pinned: "Pinned",
|
||||
runNow: "Run now",
|
||||
runStarted: "Background run started",
|
||||
runBlockedEvolutionDisabled:
|
||||
|
||||
@@ -474,6 +474,7 @@ export interface Translations {
|
||||
stale: string;
|
||||
archived: string;
|
||||
total: string;
|
||||
pinned: string;
|
||||
runNow: string;
|
||||
runStarted: string;
|
||||
runBlockedEvolutionDisabled: string;
|
||||
|
||||
@@ -522,6 +522,7 @@ export const zhCN: Translations = {
|
||||
stale: "陈旧",
|
||||
archived: "已归档",
|
||||
total: "合计",
|
||||
pinned: "被钉住",
|
||||
runNow: "立即执行",
|
||||
runStarted: "已触发后台执行",
|
||||
runBlockedEvolutionDisabled: "自我进化未开启 —— 请先在下方打开开关。",
|
||||
|
||||
Reference in new issue
Block a user