connect to worker's kv with cli - #3613
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the Puter CLI鈥檚 puter kv connect command to support connecting to a worker鈥檚 key-value store (by worker name or worker URL), by resolving the worker to its backing sandbox app KV store. It also updates the docs/README and CLI help text to reflect the broader identifier support, and bumps the CLI version for the new capability.
Changes:
- Add worker (name/URL) resolution to
puter kv connect, including clearer connection banners/prompts that disambiguate app vs worker. - Update CLI documentation to describe connecting to worker KV stores and clarify identifier precedence (apps win ambiguous names; worker URL forces worker lookup).
- Bump CLI package version to
0.3.0.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/docs/src/cli.md | Documentation updates describing puter kv connect supporting worker names/URLs and explaining ambiguity rules. |
| src/cli/src/commands/kv.js | Implements resolving <identifier> as app uid, app name, worker name, or worker URL; improves output/prompt labeling. |
| src/cli/README.md | README updates describing worker KV connectivity and examples (one placeholder remains inconsistent鈥攃omment left). |
| src/cli/package.json | Version bump from 0.2.0 to 0.3.0. |
| src/cli/bin/puter.js | Updates commander help text/argument name for the broadened kv connect identifier. |
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.