Skip to content

feat: CLI, cursor style, and dependency cleanup - #16

Merged
jesse23 merged 23 commits into
mainfrom
feat/go-command-cursor-deps-cleanup
Mar 26, 2026
Merged

feat: CLI, cursor style, and dependency cleanup#16
jesse23 merged 23 commits into
mainfrom
feat/go-command-cursor-deps-cleanup

Conversation

@jesse23

@jesse23 jesse23 commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rename at command to go with aliases a, run, attach, open
  • Add DECSCUSR cursor style intercept — bar default, apps switch dynamically at runtime
  • Add cursorStyle / cursorStyleBlink config keys
  • Remove commander dependency, replace with hand-rolled arg dispatch (~60 lines)
  • Update README — badges, bunx/npx usage, motivation link
  • Add docs/awesome-web.md — browser-first living guide
  • Update specs and ADRs to reflect all changes

jesse23 added 16 commits March 25, 2026 14:50
- 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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 / cursorStyleBlink config keys and serves them via GET /api/config; client applies DECSCUSR cursor-shape sequences at runtime.
  • Replaces commander with a small manual CLI dispatcher and renames atgo (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.

Comment thread docs/specs/config.md
Comment thread src/config.ts Outdated
Comment thread docs/adrs/013.client.cursor-style.md Outdated
Comment thread src/cli/commands.ts Outdated
Comment thread src/cli/index.ts Outdated
Comment thread src/config.test.ts
Comment thread src/config.test.ts
Comment thread docs/adrs/013.client.cursor-style.md Outdated
Comment thread src/cli/index.ts Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/client/cursor.ts Outdated
Comment thread docs/awesome-web.md Outdated
@jesse23
jesse23 merged commit e576532 into main Mar 26, 2026
3 checks passed
@jesse23
jesse23 deleted the feat/go-command-cursor-deps-cleanup branch March 26, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants