Skip to content

Easy Code v1.1.16

Latest

Choose a tag to compare

@JerryliDe JerryliDe released this 11 Jun 11:10

New Features

Default Resume Last Session

When launching the Easy Code CLI, you no longer need to manually add the -c parameter. By default, it automatically restores the last conversation session in the current directory, continuing seamlessly with the existing context.
To start a brand-new session, add --no-continue.

/goal — Goal-Driven Mode (Independent Reviewer)

In /goal mode, an independent review mechanism is introduced. Instead of having the current model decide whether the task is complete, a separate supervisor model (deepseek-v4-flash) objectively verifies completion against the “pass criteria”/success characteristics.
If the review passes, the goal is officially marked as completed. Otherwise, it provides detailed reasons for what’s not yet met and continues to move forward.

/loop — Watchdog Command

A new /loop command is added to start a session-level watchdog in the current conversation, continuously monitoring task execution status.
Supports --expires to customize the watchdog lifetime (default: 30 minutes).
The VSCode plugin UI has also been updated to display watchdog status.

Stability Improvements

SubAgent Timeout & Memory Protection

  • Per-round timeout: If a single streaming response exceeds 5 minutes, it will be automatically interrupted and return the partially collected results to prevent infinite waiting.

  • Tool completion timeout: Reduced from 10 minutes to 3 minutes to reduce the perceived “stuck” time.

  • Overall hard timeout: A 30-minute hard limit is added at the TaskTool layer. When it times out, it is force-canceled and returns partial results.

  • Memory protection: executionLog is automatically truncated when it exceeds 200 entries. If conversation history compression fails, a hard cutoff fallback is enabled (keeps the system instructions + the last 25 rounds) to prevent OOM.

  • Resource leak fixes: The tool completion timeout timer now properly clears with normal completion, preventing timer leaks.

Internationalization

SubAgent UI Text i18n

All SubAgent status texts in both the CLI and the VSCode plugin (e.g., “thinking and executing”, “tool calling”, “execution time”, “token usage”, “rounds”, etc.) have been fully internationalized. Switching between Chinese and English is now smooth.

Bug Fixes

  • Fixed a bug in /goal mode where the supervisor model’s feedback could incorrectly overwrite the main model’s systemInstruction. This is resolved by correctly isolating systemInstruction in runForkedAgent.
  • Fixed a TypeScript syntax error in the VSCode plugin test files’ Lexical mock class property declarations (:=).

Build Optimization

In the core package, tsconfig.json now excludes src/**/*.test.ts. Production builds are no longer affected by test file types, significantly improving build speed.