Conversation
- Add ws package as dev dependency for WebSocket client
- Create cli/ystp.js with full CLI support:
* ystp send <file> - sends a file and returns shareable code
* ystp receive <code> [--output filename] - receives a file using code
- Features:
* Configurable host/port with defaults (localhost:8787)
* Progress display during transfers
* Proper WebSocket protocol handling (64KB chunks, JSON metadata, EOF marker, LET_IT_RIP approval)
* Error handling and connection management
- Add bin entry point to package.json for global ystp command usage
- CLI can be used via 'node cli/ystp.js' or after npm link as 'ystp'
HelloComputerClick below to explore this PR with OpenCode: The sandbox will automatically:
CommandsYou can also interact with me by commenting:
You'll need to sign in with GitHub to access the sandbox. |
|
@hellocomputer[bot] what's in this pr? |
2 similar comments
|
@hellocomputer[bot] what's in this pr? |
|
@hellocomputer[bot] what's in this pr? |
HelloComputer ErrorI encountered an issue while processing your request:
Please try again or open the sandbox for more details. |
|
@hellocomputer[bot] what's in this pr? |
HelloComputer ErrorI encountered an issue while processing your request:
Please try again or open the sandbox for more details. |
|
@hellocomputer[bot] what's in this pr? |
HelloComputer ErrorI encountered an issue while processing your request:
Please try again or open the sandbox for more details. |
|
@hellocomputer[bot] what's in this pr? |
|
I received your request but didn't generate a response. This might be a temporary issue - please try again. |
|
@hellocomputer[bot] what's in this pr? |
HelloComputer ErrorI encountered an issue while processing your request:
Commands: Please try again or open the sandbox for more details. |
|
@hellocomputer[bot] what's in this pr? |
HelloComputer ErrorI encountered an issue while processing your request:
Please try again or open the sandbox for more details. |
1 similar comment
HelloComputer ErrorI encountered an issue while processing your request:
Please try again or open the sandbox for more details. |
|
@hellocomputer[bot] whats in this pr? |
HelloComputer ErrorI encountered an issue while processing your request:
model.split is not a function. (In 'model.split("/")', 'model.split' is undefined) Please try again or open the sandbox for more details. |
|
@hellocomputer[bot] whats in this pr? |
1 similar comment
|
@hellocomputer[bot] whats in this pr? |
No description provided.