Skip to content

Add tsconfig path aliases and clean up imports#58

Merged
dylanjha merged 3 commits intomainfrom
dj/followups
Mar 6, 2026
Merged

Add tsconfig path aliases and clean up imports#58
dylanjha merged 3 commits intomainfrom
dj/followups

Conversation

@dylanjha
Copy link
Contributor

@dylanjha dylanjha commented Mar 6, 2026

Summary

  • Add @/* path alias in tsconfig.json mapping to ./src/*
  • Replace all deep relative imports (../../lib/, ../../../lib/) with @/lib/ across command files

🤖 Generated with Claude Code


Note

Medium Risk
Mostly mechanical import-path refactor, but it changes module resolution assumptions across the CLI and may break builds/runtime if the @/* alias isn’t supported consistently by the execution environment/tooling.

Overview
Adds a @/* path alias in tsconfig.json mapping to ./src/*.

Refactors internal imports across command modules (and a test) from deep relative paths (e.g., ../../lib/...) to the new @/lib/... alias, with a small UX tweak in webhooks listen to print Connecting... instead of the full stream URL.

Written by Cursor Bugbot for commit c5f661c. This will update automatically on new commits. Configure here.

dylanjha and others added 2 commits March 6, 2026 11:35
Add `@/*` path alias mapping to `./src/*` in tsconfig.json, replacing
deep relative imports (../../lib/, ../../../lib/) with cleaner @/lib/
references across all command files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dylanjha dylanjha merged commit d51e745 into main Mar 6, 2026
8 checks passed
@dylanjha dylanjha deleted the dj/followups branch March 6, 2026 20:21
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