@punkcode/cli 0.1.2 → 0.1.3

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,11 @@ 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
+ ## Updating
42
42
 
43
- - Node 18+
44
- - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI installed
43
+ ```bash
44
+ npm update -g @punkcode/cli
45
+ ```
45
46
 
46
47
  ## License
47
48
 
package/dist/cli.js CHANGED
@@ -1021,7 +1021,7 @@ function logout() {
1021
1021
 
1022
1022
  // src/commands/index.ts
1023
1023
  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);
1024
+ 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
1025
  program2.command("login").description("Log in with your email and password").action(login);
1026
1026
  program2.command("logout").description("Log out and clear stored credentials").action(logout);
1027
1027
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punkcode/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Control Claude Code from your phone",
5
5
  "type": "module",
6
6
  "bin": {