Skip to content

Cli client#5

Open
deathbyknowledge wants to merge 2 commits intomasterfrom
cli-client
Open

Cli client#5
deathbyknowledge wants to merge 2 commits intomasterfrom
cli-client

Conversation

@deathbyknowledge
Copy link
Owner

No description provided.

YSTP Bot and others added 2 commits January 14, 2026 17:35
    - 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'
@hellocomputer-bot
Copy link

HelloComputer

Click below to explore this PR with OpenCode:

Open Sandbox

The sandbox will automatically:

  • Clone this repository
  • Check out branch cli-client
  • Start OpenCode for AI-assisted exploration

Commands

You can also interact with me by commenting:

Command Description
@hellocomputer {question} Ask a question about this PR
@hellocomputer docs Generate documentation
@hellocomputer review Get a code review
@hellocomputer help Show all commands

You'll need to sign in with GitHub to access the sandbox.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

2 similar comments
@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

@opencode-ai/sdk is required for OpenCode integration. Install it with: npm install @opencode-ai/sdk

Please try again or open the sandbox for more details.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

Request with a GET or HEAD method cannot have a body.

Please try again or open the sandbox for more details.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

Failed to post comment: 422 {"message":"Validation Failed","errors":[{"resource":"IssueComment","code":"unprocessable","field":"data","message":"Body cannot be blank"}],"documentation_url":"https://docs.github.com/rest/issues/comments#create-an-issue-comment","status":"422"}

Please try again or open the sandbox for more details.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@hellocomputer-bot
Copy link

I received your request but didn't generate a response. This might be a temporary issue - please try again.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

OpenCode failed:
�[0m▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ �[0m█▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ �[0m█░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ �[0m▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀

Commands:
opencode completion generate shell completion script
opencode acp start ACP (Agent Client Protocol) server
opencode mcp manage MCP (Model Context Protocol) servers
opencode [project] start opencode tui [default]
opencode attach attach

Please try again or open the sandbox for more details.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] what's in this pr?

@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

Durable Object reset because its code was updated.

Please try again or open the sandbox for more details.

1 similar comment
@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

Durable Object reset because its code was updated.

Please try again or open the sandbox for more details.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] whats in this pr?

@hellocomputer-bot
Copy link

HelloComputer Error

I encountered an issue while processing your request:

OpenCode failed: �[91m�[1mError: �[0mUnexpected error, check log file at /home/user/.local/share/opencode/log/2026-01-27T141401.log for more details

model.split is not a function. (In 'model.split("/")', 'model.split' is undefined)

Please try again or open the sandbox for more details.

@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] whats in this pr?

1 similar comment
@deathbyknowledge
Copy link
Owner Author

@hellocomputer[bot] whats in this pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant