cli-setu 0.2.8 → 0.3.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.
Files changed (2) hide show
  1. package/bin/setu.js +10 -1
  2. package/package.json +1 -1
package/bin/setu.js CHANGED
@@ -49,8 +49,16 @@ async function main() {
49
49
  if (isSubcommand) {
50
50
  switch (firstArg) {
51
51
  case 'pair': {
52
+ // Real product ask (PM report): a first-time user had to run
53
+ // `cli-setu pair` then separately `cli-setu` to actually start a
54
+ // session - two commands where one would do, and the phone had
55
+ // nothing to show (no session yet) right after pairing. Matches
56
+ // bare `cli-setu`'s own already-correct behavior below: pair (if
57
+ // needed), then immediately start watching THIS folder as a
58
+ // session, same single-step flow either way now.
52
59
  const { pair } = require('../src/pair');
53
60
  await pair(AUTH_SERVER, AUTH_SERVER_PUBLIC);
61
+ require('../src/supervisor');
54
62
  return;
55
63
  }
56
64
  case 'status': {
@@ -104,7 +112,8 @@ Usage:
104
112
  cli-setu --cli <name> Same, but run a specific CLI inside the bridged
105
113
  session instead of the default plain shell
106
114
  (e.g. --cli claude, --cli codex)
107
- cli-setu pair Pair this computer with your phone, nothing else
115
+ cli-setu pair Pair this computer with your phone, then watch
116
+ this folder as a session (same as bare cli-setu)
108
117
  cli-setu status Show pairing status and any sessions running now
109
118
  cli-setu stop Stop every session running on this computer
110
119
  cli-setu stop <sessionId> Stop just one session (see \`cli-setu status\`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cli-setu",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "Bridge your terminal to your phone — run and approve Claude Code, Codex CLI and other AI coding agents from anywhere.",
5
5
  "type": "commonjs",
6
6
  "bin": {