I have not been able to get indexing or @codebase to give useful answers. It always asks for more files rather than using the embeddings (in the chat).
Here’s the output from “Cursor indexing and retrival”. The output includes another warning in addition to the error at the top.
Also it usually says uploaded 0 files, but here you can see it did upload 1.
The repo is a fresh vite install w/ the vanillajs template. And I added 1 js file to it.
I also details all this in another comment w/ some other details about testing this, if that’s useful: Codebase does not add any files to my context - #15 by humanperson
2024-10-20 12:30:28.690 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-10-20 12:30:28.690 [error] Error: Command failed: git config --get remote.origin.url
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:338:12)
2024-10-20 12:30:28.690 [info] Creating merkle client.
2024-10-20 12:30:28.691 [info] Done creating merkle client.
2024-10-20 12:30:28.691 [info] Doing a startup handshake.
2024-10-20 12:30:28.764 [info] Finished initializing merkle tree in 13.61478800000009 ms.
2024-10-20 12:30:28.767 [info] Doing the initial handshake with hash: 25db2a761e11a265d686fbdcd9b279e5dda318044505557c5bd80d9c244b3ce4
2024-10-20 12:30:28.769 [info] Handshake start
2024-10-20 12:30:28.776 [warning] Error reading high level folder description. Ignoring. Error: ENOENT: no such file or directory, open '/Users/[username]/Library/Application Support/Cursor/User/workspaceStorage/724e6c47abefaff49bca78a5a3012ff5/anysphere.cursor-retrieval/high_level_folder_description.txt'
2024-10-20 12:30:29.092 [info] Handshake timing: 324.6735450000001
2024-10-20 12:30:29.093 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"7e7979af-9285-4b05-8e2c-6c54a76fa5dc"}
2024-10-20 12:30:29.093 [info] Starting fast remote sync.
2024-10-20 12:30:29.093 [info] Total num embeddable files: 1
2024-10-20 12:30:29.094 [info] Root hash: 25db2a761e11a265d686fbdcd9b279e5dda318044505557c5bd80d9c244b3ce4
2024-10-20 12:30:29.094 [info] Starting repository upload from scratch.
2024-10-20 12:30:29.096 [info] Uploading 1 files.
2024-10-20 12:30:29.739 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-10-20 12:30:29.741 [info] Creating merkle client.
2024-10-20 12:30:29.741 [info] Done creating merkle client.
2024-10-20 12:30:29.741 [info] Doing a startup handshake.
2024-10-20 12:30:29.742 [info] Indexing job successfully done or aborted.
2024-10-20 12:30:29.754 [info] Finished initializing merkle tree in 5.77579199999991 ms.
2024-10-20 12:30:29.755 [info] Doing the initial handshake with hash: 25db2a761e11a265d686fbdcd9b279e5dda318044505557c5bd80d9c244b3ce4
2024-10-20 12:30:29.756 [info] Handshake start
2024-10-20 12:30:30.070 [info] Handshake timing: 315.09382300000016
2024-10-20 12:30:30.070 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"7e7979af-9285-4b05-8e2c-6c54a76fa5dc"}
2024-10-20 12:30:30.070 [info] Starting fast remote sync.
2024-10-20 12:30:30.071 [info] Total num embeddable files: 1
2024-10-20 12:30:30.072 [info] Root hash: 25db2a761e11a265d686fbdcd9b279e5dda318044505557c5bd80d9c244b3ce4
2024-10-20 12:30:30.072 [info] Starting repository upload from scratch.
2024-10-20 12:30:30.072 [info] Uploading 1 files.
2024-10-20 12:30:30.315 [info] Finished indexing repository.
2024-10-20 12:30:30.315 [info] Indexing job successfully done or aborted.
2024-10-20 12:31:04.115 [info] Setting indexing intent to should-index
2024-10-20 12:31:04.117 [info] Creating merkle client.
2024-10-20 12:31:04.117 [info] Done creating merkle client.
2024-10-20 12:31:04.117 [info] Doing a startup handshake.
2024-10-20 12:31:04.134 [info] Finished initializing merkle tree in 6.020991999997932 ms.
2024-10-20 12:31:04.135 [info] Doing the initial handshake with hash: 25db2a761e11a265d686fbdcd9b279e5dda318044505557c5bd80d9c244b3ce4
2024-10-20 12:31:04.136 [info] Handshake start
2024-10-20 12:31:04.311 [info] Handshake timing: 176.3109239999976
2024-10-20 12:31:04.311 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"7e7979af-9285-4b05-8e2c-6c54a76fa5dc"}
2024-10-20 12:31:04.313 [info] Starting fast remote sync.
2024-10-20 12:31:04.313 [info] Total num embeddable files: 1
2024-10-20 12:31:04.314 [info] Root hash: 25db2a761e11a265d686fbdcd9b279e5dda318044505557c5bd80d9c244b3ce4
2024-10-20 12:31:04.314 [info] Starting repository upload from scratch.
2024-10-20 12:31:04.314 [info] Uploading 1 files.
2024-10-20 12:31:05.489 [info] Finished indexing repository.
2024-10-20 12:31:05.489 [info] Indexing job successfully done or aborted.
2024-10-20 12:31:11.369 [info] Search by message took 29.908487000000605ms for query ""
2024-10-20 12:31:11.373 [info] Search by sha took 32.51627699999517ms for query ""
2024-10-20 12:31:26.309 [info] Search by sha took 20.126069000005373ms for query "co"
2024-10-20 12:31:26.309 [info] Search by message took 21.74463800000376ms for query "co"
2024-10-20 12:31:27.211 [info] Search by message took 20.196632999999565ms for query ""
2024-10-20 12:31:27.211 [info] Search by sha took 19.09991599999921ms for query ""
2024-10-20 12:32:04.408 [info] Search by message took 19.931125000002794ms for query ""
2024-10-20 12:32:04.408 [info] Search by sha took 19.141732000003685ms for query ""
2024-10-20 12:32:04.428 [info] Search by message took 17.961441999999806ms for query ""
2024-10-20 12:32:04.429 [info] Search by sha took 17.25774500000989ms for query ""