command-code 0.9.5 → 0.9.7-rc.0

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
@@ -46,6 +46,8 @@ Taste learning is **enabled by default**. Learnings are automatically stored in
46
46
 
47
47
  Available during chat sessions:
48
48
 
49
+ - `/login` - Authenticate with CommandCode via browser (zero-copy auth)
50
+ - `/logout` - Sign out from CommandCode
49
51
  - `/taste` - Toggle taste learning on or off
50
52
  - `/share` - Create a shareable link for the conversation
51
53
  - `/unshare` - Stop sharing the conversation
@@ -53,6 +55,17 @@ Available during chat sessions:
53
55
  - `/memory` - Manage project memory (persistent context)
54
56
  - `/clear` - Clear the conversation history
55
57
 
58
+ ## Authentication
59
+
60
+ CommandCode uses browser-based authentication for a secure, seamless login experience:
61
+
62
+ 1. Run `/login` in the CLI
63
+ 2. Your browser opens automatically to CommandCode Studio
64
+ 3. Click "Approve" to authorize the CLI
65
+ 4. You're authenticated! The CLI receives your credentials automatically
66
+
67
+ No need to copy-paste API keys - authentication happens securely in the background.
68
+
56
69
  ## Try These Examples
57
70
 
58
71
  - Build a chrome extension to snooze a tab for 5s, 1min, and 10mins.