Back to issues

#5

Closed
innate-executable #5

Fix: First Run button click does not execute command in terminal

qdriven
Created May 2, 2026
Closed May 2, 2026
Labels
task

Bug Description

第一次执行教程内容的时候不会在terminal中执行命令

Requirements

  1. 第一次执行教程内容的时候必须在terminal中执行命令
  2. 每次点击Run按钮都必须执行命令
  3. 增加验证机制,确保命令能够正常执行

Affected Files

  • playground/apps/desktop/src/store/useAppStore.ts
  • playground/apps/desktop/src/components/terminal-panel.tsx
  • playground/apps/desktop/src/components/tutorial/run-button.tsx
  • playground/apps/desktop/src/components/tutorial/runnable-code-block.tsx

Task Reference

  • tasks/issues/2-start-cc.md Task 10