Skip to content

Commit a28d011

Browse files
committed
feat(feishu): resume last session on /feishu start; force-fallback CardKit; rebrand to Easy Code
- feishu: persist & restore AI client history across turns so /feishu start resumes the last conversation; fix SessionManager not registering feishu sessions (auto-create metadata.json, derive UI history for getLastActiveSession) - feishu: short-circuit CardKit 2.0 to legacy card via isCardKitV2Enabled() (unstable in prod); opt-in with EASYCODE_FEISHU_CARDKIT_V2=1 - feishu: card titles & /status version line DeepV Code -> Easy Code - rebrand: license headers, .md docs, build/webview logs and core system prompts DeepV Code -> Easy Code (GitHub repo URLs kept) - tests: add session round-trip / derive / short-circuit coverage; sync init prompt assertions
1 parent 94ea2f6 commit a28d011

479 files changed

Lines changed: 1200 additions & 746 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.llm-wiki/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LLM Wiki Index
22

3-
> Auto-maintained by DeepV Code. Do not edit manually.
3+
> Auto-maintained by Easy Code. Do not edit manually.
44
55
## Sources
66

.llm-wiki/log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
## [2026-05-29] feat | Release Process Guide
4444

4545
### Pages Added
46-
- `wiki/release-process.md` — 详细记录了 DeepV Code 项目的规范化发布流程和核心校验规则。
46+
- `wiki/release-process.md` — 详细记录了 Easy Code 项目的规范化发布流程和核心校验规则。
4747
- 核心限制:已推送的提交禁止 Amend 机制。
4848
- 核心红线:`package.json` 中的版本号必须严格低于 release tag 里的版本号,否则 CI/CD 编译发布必将失败。
4949
- 检索最新 Tag:使用 `git tag -l "cli-release-v*" --sort=-v:refname` 查询最新 tag 并以此计算递增下一个版本号。

.llm-wiki/wiki/GeminiClient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sources: [raw/02-core-module.md, raw/01-architecture.md]
1111
1212
## Overview
1313

14-
`GeminiClient`DeepV Code 的核心编排器,管理聊天会话、上下文压缩、循环检测和 token 限制。每个会话最多 100 轮对话。
14+
`GeminiClient`Easy Code 的核心编排器,管理聊天会话、上下文压缩、循环检测和 token 限制。每个会话最多 100 轮对话。
1515

1616
## Key Responsibilities
1717

.llm-wiki/wiki/ProxyAuthManager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sources: [raw/01-architecture.md, raw/02-core-module.md]
1111
1212
## Overview
1313

14-
`ProxyAuthManager` 以单例模式管理通过 DeepV Lab 服务器的 JWT 认证。是 DeepV Code 的主要认证机制(proxy-first auth)。
14+
`ProxyAuthManager` 以单例模式管理通过 DeepV Lab 服务器的 JWT 认证。是 Easy Code 的主要认证机制(proxy-first auth)。
1515

1616
## Pattern
1717

.llm-wiki/wiki/adaptive-thinking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sources: [packages/core/src/core/customModelAdapter.ts, packages/cli/src/ui/comm
77

88
# Adaptive Thinking Mode & Reasoning
99

10-
DeepV Code features an advanced Adaptive Thinking Mode that provides a unified, highly optimized interface for managing LLM reasoning capabilities (such as Anthropic's Claude Thinking Budget, OpenAI's reasoning effort, and Google's Gemini thinking budget parameters).
10+
Easy Code features an advanced Adaptive Thinking Mode that provides a unified, highly optimized interface for managing LLM reasoning capabilities (such as Anthropic's Claude Thinking Budget, OpenAI's reasoning effort, and Google's Gemini thinking budget parameters).
1111

1212
## The Core Concept
1313

@@ -16,7 +16,7 @@ Modern frontier models support "thinking/reasoning" before outputting their fina
1616
- **Google Gemini**: Uses `thinking_budget` configuration.
1717
- **Anthropic Claude**: Uses `thinking` with explicit `max_tokens` budgets.
1818

19-
DeepV Code maps these distinct specifications into a unified **Thinking Effort Selector** that works across all supported models.
19+
Easy Code maps these distinct specifications into a unified **Thinking Effort Selector** that works across all supported models.
2020

2121
```
2222
User Selection (Thinking / Effort level)
@@ -27,7 +27,7 @@ User Selection (Thinking / Effort level)
2727

2828
## UI & UX Implementations
2929

30-
Reasoning tokens can bloat the chat screen. DeepV Code renders reasoning beautifully:
30+
Reasoning tokens can bloat the chat screen. Easy Code renders reasoning beautifully:
3131
1. **Terminal / CLI UI**:
3232
- Displays a custom `🧠` Brain icon in front of the active model's name in the footer.
3333
- Collapses live thinking thoughts into an elegant, styled inline markdown block (`ReasoningDisplay.tsx`).

.llm-wiki/wiki/adding-builtin-tool-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Why this breaks:
5252

5353
```ts
5454
const DESC =
55-
'Returns the current wall-clock local time of the machine running DeepV Code.\n\n' +
55+
'Returns the current wall-clock local time of the machine running Easy Code.\n\n' +
5656
'Use this tool to:\n' +
5757
'- Determine the current real-world time.\n' +
5858
'- Record a "start time" at the beginning of a long task.';

.llm-wiki/wiki/background-tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ sources: [packages/core/src/services/backgroundTaskManager.ts, packages/cli/src/
77

88
# Background Task Management
99

10-
The Background Task system allows DeepV Code to run persistent, long-running shell commands (such as local servers or compilation watchers) in the background while keeping the primary terminal chat interactive and responsive.
10+
The Background Task system allows Easy Code to run persistent, long-running shell commands (such as local servers or compilation watchers) in the background while keeping the primary terminal chat interactive and responsive.
1111

1212
## Why Background Tasks Exist
1313

14-
In traditional AI CLI architectures, running a command like `npm run dev` blocks the CLI thread indefinitely. DeepV Code introduced background tasks to:
14+
In traditional AI CLI architectures, running a command like `npm run dev` blocks the CLI thread indefinitely. Easy Code introduced background tasks to:
1515
1. **Prevent Blocking**: Launch persistent server commands and allow the AI and user to continue chatting instantly.
1616
2. **Resource Observability**: Track output streams, exit codes, and process IDs (PIDs) directly from the terminal UI.
1717
3. **Control**: Empower the AI agent to list active background tasks and terminate them as needed without requiring the user to exit.

.llm-wiki/wiki/build-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sources: [raw/06-build-and-scripts.md]
1111
1212
## Overview
1313

14-
DeepV Code 使用两条构建管道:NPM 发布路径使用 `tsc` 逐包编译到 `dist/`,Bundle 路径使用 `esbuild` 打包为单一 `bundle/dvcode.js` 文件。
14+
Easy Code 使用两条构建管道:NPM 发布路径使用 `tsc` 逐包编译到 `dist/`,Bundle 路径使用 `esbuild` 打包为单一 `bundle/dvcode.js` 文件。
1515

1616
## Pipelines
1717

.llm-wiki/wiki/cli-module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ sources: [raw/01-architecture.md, raw/03-cli-module.md]
77

88
# CLI Module
99

10-
> `packages/cli` — The terminal frontend of DeepV Code.
10+
> `packages/cli` — The terminal frontend of Easy Code.
1111
1212
## Overview
1313

14-
CLI 是 DeepV Code 的终端前端包(NPM 名 `deepv-code-cli`),使用 Ink/React 构建交互式终端 UI,提供流式 AI 响应、50+ 斜杠命令、主题系统和工具确认界面。
14+
CLI 是 Easy Code 的终端前端包(NPM 名 `deepv-code-cli`),使用 Ink/React 构建交互式终端 UI,提供流式 AI 响应、50+ 斜杠命令、主题系统和工具确认界面。
1515

1616
## Package Info
1717

.llm-wiki/wiki/context-compression.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sources: [packages/core/src/services/compressionService.ts, packages/core/src/se
77

88
# Context Compression & Restoration
99

10-
Context Compression is DeepV Code's automated, high-reliability memory pruning mechanism. It prevents large LLM sessions from exceeding their Context Window limit while preserving crucial state and reasoning context.
10+
Context Compression is Easy Code's automated, high-reliability memory pruning mechanism. It prevents large LLM sessions from exceeding their Context Window limit while preserving crucial state and reasoning context.
1111

1212
## The Challenge of Context Bloat
1313

@@ -18,7 +18,7 @@ As the AI agent calls tools, processes code files, and receives linter messages,
1818

1919
## Architectural Mechanisms
2020

21-
DeepV Code features a dual-layer compression pipeline consisting of **CompressionService** and **MicroCompactService**:
21+
Easy Code features a dual-layer compression pipeline consisting of **CompressionService** and **MicroCompactService**:
2222

2323
```
2424
Token Threshold Tripped (or >6m) → MicroCompactService

0 commit comments

Comments
 (0)