fix(clean): correct project-tech field references and add sync vs clean disambiguation

- Fix Step 4.3: project.features → project.development_index,
  project.statistics → project._metadata
- Add project-guidelines.json learnings cleanup on session deletion
- Add sync vs clean disambiguation table explaining write vs reclaim
This commit is contained in:
catlog22
2026-02-25 22:34:15 +08:00
parent f96febe09a
commit c92754505a
9 changed files with 139 additions and 23 deletions

View File

@@ -1,6 +1,10 @@
{
"title": "CLI Execution History",
"description": "View and manage your CLI execution history",
"tabs": {
"executions": "Executions",
"observability": "Session Audit"
},
"searchPlaceholder": "Search executions...",
"filterAllTools": "All Tools",
"deleteOptions": "Delete Options",
@@ -9,10 +13,14 @@
"deleteAll": "Delete All History",
"actions": {
"view": "View Details",
"viewNative": "View Native Session",
"delete": "Delete",
"copyId": "Copy ID",
"copied": "Copied!"
},
"badge": {
"native": "native"
},
"dialog": {
"deleteTitle": "Confirm Delete",
"deleteAllTitle": "Delete All History",

View File

@@ -41,6 +41,7 @@ import cliViewer from './cli-viewer.json';
import team from './team.json';
import terminalDashboard from './terminal-dashboard.json';
import skillHub from './skill-hub.json';
import nativeSession from './native-session.json';
/**
* Flattens nested JSON object to dot-separated keys
@@ -105,4 +106,5 @@ export default {
...flattenMessages(team, 'team'),
...flattenMessages(terminalDashboard, 'terminalDashboard'),
...flattenMessages(skillHub, 'skillHub'),
...flattenMessages(nativeSession, 'nativeSession'),
} as Record<string, string>;

View File

@@ -0,0 +1,33 @@
{
"title": "Native Session",
"tokens": {
"total": "Total tokens",
"input": "Input tokens",
"output": "Output tokens",
"cached": "Cached tokens"
},
"turn": {
"latest": "Latest",
"thoughts": "Thoughts",
"toolCalls": "Tool Calls"
},
"toolCall": {
"input": "Input",
"output": "Output"
},
"meta": {
"startTime": "Start time",
"workingDir": "Working directory",
"projectHash": "Project hash",
"turns": "turns"
},
"tokenSummary": "Total Tokens",
"loading": "Loading session...",
"error": "Failed to load session",
"empty": "No session data available",
"footer": {
"copied": "Copied!",
"copySessionId": "Copy Session ID",
"exportJson": "Export JSON"
}
}

View File

@@ -1,6 +1,10 @@
{
"title": "CLI 执行历史",
"description": "查看和管理 CLI 执行历史",
"tabs": {
"executions": "执行历史",
"observability": "会话审计"
},
"searchPlaceholder": "搜索执行记录...",
"filterAllTools": "全部工具",
"deleteOptions": "删除选项",
@@ -9,10 +13,14 @@
"deleteAll": "删除全部历史",
"actions": {
"view": "查看详情",
"viewNative": "查看原生会话",
"delete": "删除",
"copyId": "复制 ID",
"copied": "已复制!"
},
"badge": {
"native": "原生"
},
"dialog": {
"deleteTitle": "确认删除",
"deleteAllTitle": "删除全部历史",

View File

@@ -41,6 +41,7 @@ import cliViewer from './cli-viewer.json';
import team from './team.json';
import terminalDashboard from './terminal-dashboard.json';
import skillHub from './skill-hub.json';
import nativeSession from './native-session.json';
/**
* Flattens nested JSON object to dot-separated keys
@@ -105,4 +106,5 @@ export default {
...flattenMessages(team, 'team'),
...flattenMessages(terminalDashboard, 'terminalDashboard'),
...flattenMessages(skillHub, 'skillHub'),
...flattenMessages(nativeSession, 'nativeSession'),
} as Record<string, string>;

View File

@@ -0,0 +1,33 @@
{
"title": "原生会话",
"tokens": {
"total": "总 Token 数",
"input": "输入 Token",
"output": "输出 Token",
"cached": "缓存 Token"
},
"turn": {
"latest": "最新",
"thoughts": "思考过程",
"toolCalls": "工具调用"
},
"toolCall": {
"input": "输入",
"output": "输出"
},
"meta": {
"startTime": "开始时间",
"workingDir": "工作目录",
"projectHash": "项目哈希",
"turns": "轮次"
},
"tokenSummary": "总 Token",
"loading": "加载会话中...",
"error": "加载会话失败",
"empty": "无会话数据",
"footer": {
"copied": "已复制!",
"copySessionId": "复制会话 ID",
"exportJson": "导出 JSON"
}
}