Skip to content

Commit

Permalink
Prepare for open source
Browse files Browse the repository at this point in the history
  • Loading branch information
unixzii committed Mar 23, 2023
1 parent 2bffacd commit a864c56
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 - Present CodeCursor Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,21 @@ Click on it to reopen the generated result at any time.

## Known Issues

- Code generation may be interrupted unexpectedly, this is still being investigated. Generally, a retry will fix it.
- When users modified the document before accepting a change, the replacing range is incorrect.
- [ ] Code generation may be interrupted unexpectedly, this is still being investigated. Generally, a retry will fix it.
- [x] When users modified the document before accepting a change, the replacing range is incorrect.

To track all issues / file a new issue please go to the Github repo.

## Security Consideration

The extension **DOES NOT** collect your code, environment data, or any information that could be used to track you. Additionally, we ensure that the Cursor server will not receive those data either. Only the document you perform code generation against will be uploaded to the Cursor server, and they are responsible for preventing any leaks of your code.

## Contributing

To develop the extension, clone the repository and open it in Visual Studio Code. There are two launch targets: "Run Extension" and "Run Extension (Without Rust)". if you only want to debug or work on the UI parts, then you can select "Run Extension (Without Rust)" for faster build speed.

You are welcome to open Pull Requests at any time. But it's still better to start a discussion before making some epic changes.

## License

MIT
6 changes: 0 additions & 6 deletions crates/cursor-core/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# `cursor-core`

A crate to interact with Cursor server and process the model result.

## Wait, where is the source code?

Currently, there is no plans to open-source this crate.

Since Cursor doesn't provide any public API for other apps, this crate could potentially expose their server to misuse or abuse. You can still build and contribute to other parts of the extension, without the source code of this crate.

0 comments on commit a864c56

Please sign in to comment.