-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1641 from codestoryai/features/fix-relative-file-…
…paths-problem [sidecar] fix absolute path issues
- Loading branch information
Showing
3 changed files
with
34 additions
and
284 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import subprocess | ||
import sys | ||
|
||
def main(): | ||
# Try to list available tools in zed | ||
try: | ||
result = subprocess.run(['cargo', 'run', '--bin', 'sidecar', '--', 'tools', 'list'], | ||
cwd='sidecar', | ||
capture_output=True, | ||
text=True) | ||
print("Current tools available:") | ||
print(result.stdout) | ||
print("\nError output:") | ||
print(result.stderr) | ||
except Exception as e: | ||
print(f"Error running sidecar: {e}") | ||
|
||
if __name__ == "__main__": | ||
main() |
This file contains 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
This file contains 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