minivibe 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 +1 -1
- package/package.json +1 -1
- package/vibe.js +1 -12
package/README.md
CHANGED
|
@@ -150,7 +150,7 @@ vibe "Explain this code" # With prompt
|
|
|
150
150
|
| Command | Description |
|
|
151
151
|
|---------|-------------|
|
|
152
152
|
| `/name <name>` | Rename the current session |
|
|
153
|
-
|
|
|
153
|
+
| `/path` + Enter | If not a vibe command, forwards to Claude |
|
|
154
154
|
| `Escape` | Cancel command mode, forward to Claude |
|
|
155
155
|
| `Ctrl+C` | Cancel command mode, forward to Claude |
|
|
156
156
|
|
package/package.json
CHANGED
package/vibe.js
CHANGED
|
@@ -413,7 +413,7 @@ Options:
|
|
|
413
413
|
|
|
414
414
|
In-Session Commands:
|
|
415
415
|
/name <name> Rename the current session
|
|
416
|
-
|
|
416
|
+
/anything + Enter If not a vibe command, forwards to Claude
|
|
417
417
|
|
|
418
418
|
Authentication:
|
|
419
419
|
Use --login to sign in via browser, or get token from MiniVibe iOS app.
|
|
@@ -1622,17 +1622,6 @@ function setupTerminalInput() {
|
|
|
1622
1622
|
|
|
1623
1623
|
// In command mode - buffer the character
|
|
1624
1624
|
if (inCommandMode) {
|
|
1625
|
-
// Check for '//' escape - send literal '/' to Claude
|
|
1626
|
-
if (char === '/' && commandBuffer === '/') {
|
|
1627
|
-
// User typed '//' - exit command mode and send '/' to Claude
|
|
1628
|
-
process.stdout.write('\b \b'); // Erase the first '/'
|
|
1629
|
-
inCommandMode = false;
|
|
1630
|
-
commandBuffer = '';
|
|
1631
|
-
if (claudeProcess && isRunning && claudeProcess.stdin && claudeProcess.stdin.writable) {
|
|
1632
|
-
claudeProcess.stdin.write('/');
|
|
1633
|
-
}
|
|
1634
|
-
continue;
|
|
1635
|
-
}
|
|
1636
1625
|
commandBuffer += char;
|
|
1637
1626
|
// Echo to terminal
|
|
1638
1627
|
process.stdout.write(char);
|