Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Bug]: Desktop 0.1.35 rejects /goal although goal implementation is bundled

未關閉
#101 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@aliarain 已經在處理了。

開始於 2026年9月24日。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
62/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
javascript
領域
desktop

研究方向

Reproduce the missing /goal behavior in Desktop 0.1.35, then inspect the slash-command handling around out/renderer/assets/workspace-screen-*.js and the bundled @commandcode/harness implementation in node_modules/@commandcode/harness/dist/index.js. Compare the behavior with the related /usage issue #70; done means /goal appears in the picker and /goal <objective> starts the goal workflow instead of returning Unknown command.

由索引模型根據 Issue 內容生成。

描述

bug
GUI version

0.1.35

Operating system

macOS (Apple silicon)

Reproduction steps
  1. Open Command Code Desktop 0.1.35.
  2. Open any project/session.
  3. Type / and search for goal.
  4. Observe that /goal is not present in the slash-command picker.
  5. Manually enter /goal test goal and submit it.
  6. Desktop returns Unknown command: /goal.
Expected behavior

/goal should be available as a built-in slash command and /goal <objective> should start the goal workflow.

The Command Code slash-command documentation lists /goal <objective>|clear|status.

Actual behavior

/goal is not shown in the Desktop slash-command picker.

Entering it manually results in:

Unknown command: /goal

This reproduces on Desktop 0.1.35 on Apple Silicon macOS.

Screenshots, recordings, or sanitized logs
Image

Additional read-only diagnostics:

  • Command Code Desktop: 0.1.35
  • macOS: 27.0 (26A428)
  • Architecture: arm64
  • @commandcode/harness: 0.1.0
  • No custom /goal command exists at user or project level.
  • External Command Code CLI version: 1.58.1

The shipped Desktop bundle contains /goal-related implementation:

GOAL_CODE_FOUND=YES
Renderer JS files containing /goal: 1
Harness contains /goal: True
'goal clear': True
'maxTurns': True
'max-turns': True
'activeGoal': True

USER_CUSTOM_GOAL=NO
PROJECT_CUSTOM_GOAL=NO

Relevant bundled files:
out/renderer/assets/workspace-screen-*.js
node_modules/@commandcode/harness/dist/index.js

This suggests that goal support is included in the packaged Desktop application, but /goal is not being exposed or recognized by the Desktop slash-command layer.

Possibly related to #70, where another built-in slash command (/usage) is missing/broken in Desktop.

Safety check
  • I removed credentials and private project information from this report.
主要語言
Shell
星號
89
分支
7
平均合併
2 小時 46 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。