@punkcode/cli 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,10 +38,15 @@ Your machine will appear in the punk app — you can now send prompts to Claude
38
38
  | `punk connect` | Connect this machine to punk |
39
39
  | `punk logout` | Log out and clear stored credentials |
40
40
 
41
- ## Requirements
41
+ ## Cloud Deployment
42
42
 
43
- - Node 18+
44
- - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI installed
43
+ Run Punk on a cloud server with Ollama cloud models (no Anthropic API key required). See the [Cloud Deployment Guide](docs/cloud-deployment.md).
44
+
45
+ ## Updating
46
+
47
+ ```bash
48
+ npm update -g @punkcode/cli
49
+ ```
45
50
 
46
51
  ## License
47
52
 
package/dist/cli.js CHANGED
@@ -43,6 +43,7 @@ function runClaude(options, callbacks) {
43
43
  prompt: options.images?.length ? promptWithImages(options.prompt, options.images, options.sessionId || "") : options.prompt,
44
44
  options: {
45
45
  permissionMode: opts.permissionMode || "default",
46
+ settingSources: ["user", "project"],
46
47
  ...isBypass && { allowDangerouslySkipPermissions: true },
47
48
  ...opts.model && { model: opts.model },
48
49
  ...opts.allowedTools && { allowedTools: opts.allowedTools },
@@ -1021,7 +1022,7 @@ function logout() {
1021
1022
 
1022
1023
  // src/commands/index.ts
1023
1024
  function registerCommands(program2) {
1024
- program2.command("connect <server>").description("Connect to backend server").option("-t, --token <token>", "Authentication token").option("-d, --device-id <deviceId>", "Device identifier (defaults to hostname)").action(connect);
1025
+ program2.command("connect").argument("[server]", "Backend server URL", "https://api.punkcode.dev").description("Connect to backend server").option("-t, --token <token>", "Authentication token").option("-d, --device-id <deviceId>", "Device identifier (defaults to hostname)").action(connect);
1025
1026
  program2.command("login").description("Log in with your email and password").action(login);
1026
1027
  program2.command("logout").description("Log out and clear stored credentials").action(logout);
1027
1028
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punkcode/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Control Claude Code from your phone",
5
5
  "type": "module",
6
6
  "bin": {