anomalyco / anomalyco/opencode
Typo in LayoutRoute tag: "dir-new-sesssion" should be "dir-new-session"
Open
@Hona is already working on this.
Since Aug 4, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The LayoutRoute discriminated union in packages/app/src/context/layout.tsx uses a misspelled route tag: dir-new-sesssion (triple "s"). It should be dir-new-session.
The tag represents navigating to /<dir>/session without a session id (a new session about to be created in that directory). It is derived from the URL via currentRoute() on every render and is never persisted, so renaming the tag is safe.
Occurrences:
packages/app/src/context/layout.tsx:95(type definition) and:156(constructor)packages/app/src/components/titlebar.tsx:89packages/app/src/components/settings-v2/dialog-settings-v2.tsx:31
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.