Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#101 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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
星标
80
派生
2
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。