feat: CLI, cursor style, and dependency cleanup - #16
Merged
Conversation
added 16 commits
March 25, 2026 14:50
…elated documentation
- Introduced the create-live-spec skill for generating SPEC documents. - Defined the workflow for creating a new SPEC, including gathering intent, deriving short titles, and generating the SPEC file. - Added a SPEC template to standardize the format of new SPEC documents, including placeholders for title, author, description, features, and status.
There was a problem hiding this comment.
Pull request overview
Adds a cursor-style feature and modernizes the CLI while cleaning up dependencies and updating docs to match the new behavior/config.
Changes:
- Introduces
cursorStyle/cursorStyleBlinkconfig keys and serves them viaGET /api/config; client applies DECSCUSR cursor-shape sequences at runtime. - Replaces
commanderwith a small manual CLI dispatcher and renamesat→go(with aliases). - Updates specs/ADRs/README and adds new docs/assets (including an “awesome web” guide and branding assets).
Reviewed changes
Copilot reviewed 17 out of 22 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/server/routes.ts | Updates /api/config response to expose cursor style defaults to the browser. |
| src/config.ts | Replaces cursorBlink with cursorStyle + cursorStyleBlink in config schema/defaults/merge logic. |
| src/config.test.ts | Updates config tests for renamed cursor blink key (partial coverage). |
| src/client/index.ts | Passes new cursor config into ghostty-web Terminal and hooks DECSCUSR intercept into WS stream. |
| src/client/cursor.ts | Adds DECSCUSR parsing/intercept to apply cursor style/blink dynamically. |
| src/cli/index.ts | Replaces commander with a hand-rolled dispatcher; introduces go aliases and help output. |
| src/cli/commands.ts | Refactors CLI commands into direct functions (cmdGo, cmdList, etc.). |
| src/cli/commands.test.ts | Updates CLI tests for new command name/behavior and error messaging. |
| skills-lock.json | Updates local skill source path. |
| package.json | Adds MIT license metadata and removes commander dependency. |
| docs/specs/config.md | Documents new cursor config keys and runtime override behavior. |
| docs/specs/client.md | Updates client spec to reflect new config keys and cursor intercept feature. |
| docs/specs/cli.md | Updates CLI spec for go command naming and no-arg behavior. |
| docs/skills/create-live-spec/assets/spec-template.md | Adds a spec template asset for the new skill. |
| docs/skills/create-live-spec/SKILL.md | Adds a skill definition for generating SPEC docs. |
| docs/awesome-web.md | Adds a browser-first “living guide” document. |
| docs/assets/social-preview.png | Adds social preview image asset. |
| docs/assets/icon.svg | Adds icon asset. |
| docs/adrs/013.client.cursor-style.md | Adds ADR describing DECSCUSR cursor-style intercept approach. |
| bun.lock | Removes commander from lockfile. |
| README.md | Updates badges/usage examples and asset path; links to motivation doc. |
| LICENSE | Adds MIT license text file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added 5 commits
March 25, 2026 23:18
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 20 out of 25 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
atcommand togowith aliasesa,run,attach,opencursorStyle/cursorStyleBlinkconfig keyscommanderdependency, replace with hand-rolled arg dispatch (~60 lines)docs/awesome-web.md— browser-first living guide