Agents and IDEs
Cursor
The agent on your computer can send a file once the key is in your home directory. A cloud agent needs that key in its own environment.
On your computer
- 01Open the Cursor terminal in the project.
- 02Run login with the key from the account page. That saves it in your home directory, not in the repo.
- 03Ask the agent to send a file with Pink Jeepney. It should run the CLI and give you the link.
node pink-jeepney.mjs login --token pj_your_key
node pink-jeepney.mjs whoami
node public/cli/pink-jeepney.mjs send ./movie.mp4 --note "The movie"A cloud agent
The home directory on your laptop is not the cloud agent’s machine. Set PINK_JEEPNEY_TOKEN in that agent’s environment secrets. Then it can run the same send command. Do not commit the key.
If it writes code instead
Point it at the API. Create POST /api/v1/transfers, PUT each part URL, then POST /api/v1/transfers/{id}/finish. The key still comes from the environment, as Authorization: Bearer.