Skip to content

Conversation

@bunasQ
Copy link
Member

@bunasQ bunasQ commented Jan 29, 2026

No description provided.

caffeinum and others added 2 commits January 16, 2026 17:49
- Add shell script to open 1Code from terminal with directory argument
- Parse directory from process.argv and expose via tRPC
- Add menu item to install/uninstall '1code' command in PATH
- Uses osascript for admin privileges when symlinking to /usr/local/bin

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements the missing renderer-side logic to automatically load and select
a project when the app is launched via CLI (e.g., `1code .`).

Changes:
- Add tRPC query to check for launch directory on app startup
- Create/select project automatically when launch directory is detected
- Update projects list cache to prevent validation failures
- Handle both new and existing projects seamlessly

This completes the CLI command support feature, making all checklist items pass:
✓ Binary is installed
✓ Opens 1Code
✓ Loads and adds the specified repo

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

3 participants