# NousResearch/hermes-agent · Desktop build TypeScript errors in slash completions

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #57653: fix(desktop): surface slash command aliases on exact input match

A TypeScript type error (TS2411) in use-slash-completions.ts broke desktop builds, with related fixes addressing SlashItemMetadata typing and slash command alias behavior. Some reports also note that an incomplete install or update deleted the existing app.

## TL;DR

- 7 member(s): 0 open issue(s), 3 closed issue(s), 1 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #39334. Verify it addresses your case.
- **Recommended:** read PR #39334 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.24`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #39332: \[Bug\]: Mac Install Failure
- #39404: Desktop build fails on main (TS2411 in use-slash-completions.ts); failed update also deletes the existing app
- #39940: \[Bug\]: Desktop App Build Failure: Type error in use-slash-completions.ts

## Prior & competing PRs

- **#39334: fix(desktop): satisfy slash metadata typecheck**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts`
  - fix hunks:
  - `apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts`

    ```diff
    @@ -16,7 +16,7 @@ interface SlashItemMetadata extends Record<string, string> {
       command: string
       display: string
       meta: string
    -  rawText?: string
    +  rawText: string
     }
     
     function textValue(value: unknown, fallback = ''): string {
    ```
- **#39338: fix: resolve TS2411 in use-slash-completions**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#39634: fix(desktop): make rawText required in SlashItemMetadata**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `d29caf382868f8f5fb5e0c09f632f70f27e6e64e`, `#39334`
- **#57653: fix(desktop): surface slash command aliases on exact input match**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`
  - files: `apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts`, `apps/desktop/src/lib/desktop-slash-commands.test.ts`, `apps/desktop/src/lib/desktop-slash-commands.ts`

## Fix status

- Merged to main in PR #39334 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-04`.
- Subsystem: `apps/desktop`
