DevEco Code 0.1.3 & DevEco CLI 1.2.0 Released: Goal Mode Upgrades, ArkTS Accuracy Boost, New CLI Commands
Huawei releases DevEco Code 0.1.3 and DevEco CLI 1.2.0 with enhanced ArkTS code generation, new static analysis tools, Goal mode improvements, and comprehensive CLI commands for HarmonyOS app development including build, run, emulator management, and MCP services.
DevEco Code 0.1.3 Release Highlights
DevEco Code 0.1.3 focuses on improving AI-assisted development for HarmonyOS applications with updates to the ArkTS knowledge base, new static checking capabilities, and enhanced runtime performance.
New Features
ArkTS Knowledge Base & Skills Update: Comprehensive refresh of ArkTS knowledge base and Skills, expanding ArkUI component references and API guardrails to improve code generation accuracy.
ArkTS Static Analysis Tool: New static checking tool that runs before project builds, replacing the previous check_ets_files validation.
Reasoning Model Thinking Parameter: Enabled thinking parameter for the built-in reasoning model, supporting output of reasoning processes.
Background Subagent Runtime: Default-enabled background subagent runtime switch improves parallel task processing capability.
Auto Workspace Switching: After creating a new project, the session working directory automatically switches to the generated project root.
Windows Baseline Package: New Windows baseline version package released for compatibility with CPUs that do not support AVX2 instruction sets.
Bilingual Support: Chinese and English support across command menus, permission prompts, /init, /review and other interaction points, with runtime language switching.
UI Enhancements: Interactive burst animation on logo click, @ panel "type-to-filter" hint, double-click word selection in TUI, two-stage confirmation for Ctrl+C / Ctrl+D exit, offline release notes viewer in TUI after login.
Optimizations
Goal Mode Plan.md: Engineering structure output now supports ArkUI best practices.
Goal Mode Requirement Clarification: Strengthened clarification ability, with implementation carried by dedicated subagent during task execution.
Feedback Redirect: /feedback now points to GitCode issues page.
Session Scrollbar: Enabled by default for improved long-session browsing.
Onboarding Unification: Login and DEVECO_HOME detection migrated to TUI onboarding for unified entry.
Onboarding UX: Improved spacing and scrollbar visibility for long content.
AI Prompt Icons: Replaced warning icons and completed i18n copy.
API Version Format: Adapted sdkVersion format for API >= 26, ensuring metadata consistency with build chain.
Bug Fixes
Authentication Hardening: Improved token refresh error handling; refresh now synchronously updates in-memory token state to prevent session interruption due to token expiry.
ArkTS Static Check False Positives: Fixed false alarms for $$ / $ binding syntax sugar.
Plan Mode Scope Detection: Review now detects requirement scope changes and forces rollback.
Skills Loading: Fixed built-in Skills extraction and development mode loading failures.
PowerShell Chinese Output: Resolved garbled Chinese output in Windows terminals.
DevEco CLI 1.2.0 Release Highlights
DevEco CLI 1.2.0 introduces a full suite of command-line tools for HarmonyOS project lifecycle management, from scaffolding to debugging, with MCP (Model Context Protocol) integration for AI-assisted development.
New Commands
toolchain: Auto-locates DevEco Studio (Windows registry query, macOS ~/Applications and /Applications), validates executable signatures; supports DEVECO_CLI_SKIP_VERSION_CHECK, DEVECO_CLI_DEBUG, and HTTP/HTTPS proxy via global-agent.
build: Produces .hap, .hsp, .har, .app artifacts; supports --product, --modules ( module@target), --build-mode; lock mechanism serializes concurrent builds on same directory.
build clean: Cleans build artifacts.
run: Builds, installs, and launches app; supports --module, --device, --product, --build-mode, --ability, --uninstall, --skip-build; multi-package run, compatible with online signing.
create: Scaffolds HarmonyOS project from Empty Ability template; supports --app-name, --project-path, --bundle-name, --api-level (dynamically fetched and validated from SDK); cross-platform copies real image assets from DevEco Studio.
device: device list queries physical devices and running emulators; device view shows device details; --target selects by name or serial; filters unauthorized devices.
emulator: Instance management ( list/start/stop/create/delete), image management ( image list/download/remove), license management ( license view/accept); start uses snapshot for fast boot.
skills: Skill market management ( list/find/add/remove); multi-tag query, --project project-level and --path arbitrary-path install; download verification and install performance optimization.
emulator license: Interactive license view and acceptance.
init: Configures deveco-cli skills or MCP services into agent; --skill and --mcp mutually exclusive; supports project-level and user-level MCP.
serve mcp: Launches built-in MCP service providing LSP-based ArkTS/C++ syntax checking; supports project-level MCP config.
docs: Local HarmonyOS documentation search ( search/read/catalog); title keyword match priority; --limit positive integer.
log: Views hilog normal and crash logs; supports --level, --bundle-name, --keyword, --tail, --from/--to time window, --follow real-time streaming.
update: Upgrades to latest version, skipping version check.
Bug Fixes
MCP/LSP: Dynamic LSP startup heap calculation prevents large-project parsing stalls or OOM.
toolchain: Added Windows WOW6432Node\Uninstall registry path for DevEco Studio detection; fixed DEVECO_CLI_SKIP_VERSION_CHECK ineffectiveness.
create: Fixed Windows .gitignore rename failure and missing .gitignore in project template.
Installation
DevEco Code: npm install -g @deveco/deveco-code DevEco CLI: npm install -g @deveco/deveco-cli Documentation available at Huawei Developer portal for both tools.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
HarmonyOS Developer Technology
HarmonyOS developers provide key technology analysis, version updates, Codelabs practice, and event information for HarmonyOS. Welcome developers to join the HarmonyOS ecosystem and create infinite possibilities together!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
