Skip to content

connect to worker's kv with cli - #3613

Merged
reynaldichernando merged 1 commit into
HeyPuter:mainfrom
reynaldichernando:kv-cli-worker
Aug 20, 2026
Merged

connect to worker's kv with cli#3613
reynaldichernando merged 1 commit into
HeyPuter:mainfrom
reynaldichernando:kv-cli-worker

Conversation

@reynaldichernando

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/cli/README.md
@reynaldichernando
reynaldichernando merged commit 53b792c into HeyPuter:main Aug 20, 2026
2 checks passed
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.

2 participants