turno-cli 0.5.1 → 0.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # turno-cli
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0c723fc: `turno-browser init` sets turno-browser up step by step: it names and creates an identity (or
8
+ uses one that is there), opens Chrome to sign in by hand on a first site, finds the agents
9
+ installed here and runs the agent's `mcp add` command only on a yes. Without a terminal it needs
10
+ `--identity` and `--agent`, skips the sign-in and prints the command instead. `turno-browser`
11
+ with no command now points to it.
12
+
13
+ The first steps say more of what happened:
14
+
15
+ - `login` opens a page that says what to do instead of a blank tab, and on close names the sites
16
+ that were opened, or says that nothing new was signed in.
17
+ - `show` has a "last sign-in" line, local times and a hint to turn on the health check;
18
+ `doctor` says when an identity was never signed in by hand.
19
+ - `list`, `show` and `doctor` say "not in use" instead of "free".
20
+ - `do <id> end` says that Chrome stays open in the background server and how to close it now.
21
+ - `do` errors no longer start with "Error: Error:", and a stale ref or text where a ref goes gets
22
+ a hint (`snapshot`, `find`).
23
+ - `setup claude` suggests `claude-code`.
24
+ - `add` prints its next steps with each explanation on its own line, so the commands paste into
25
+ zsh as they are.
26
+
3
27
  ## 0.5.1
4
28
 
5
29
  ### Patch Changes
package/README.md CHANGED
@@ -49,7 +49,8 @@ whole story, with a small working picture of each part.
49
49
  ## Install
50
50
 
51
51
  ```sh
52
- npx turno-cli demo # try it first, in a throwaway HOME; your own setup is not touched
52
+ # try it first, in a throwaway HOME; your own setup is not touched
53
+ npx turno-cli demo
53
54
  ```
54
55
 
55
56
  Then install it with the package manager you already use (macOS or Linux, Node 22.11+):
@@ -58,7 +59,8 @@ Then install it with the package manager you already use (macOS or Linux, Node 2
58
59
  npm install --global turno-cli
59
60
  pnpm add --global turno-cli
60
61
  bun add --global turno-cli
61
- yarn global add turno-cli # yarn 1 (classic); yarn 2 and later have no global installs
62
+ # yarn 1 (classic); yarn 2 and later have no global installs
63
+ yarn global add turno-cli
62
64
  brew tap wimo-dev/turno && brew trust wimo-dev/turno && brew install turno
63
65
  ```
64
66
 
@@ -122,11 +124,15 @@ Linux. Nothing leaves your machine: no account, no telemetry, no proxy for model
122
124
  ## Quick start
123
125
 
124
126
  ```sh
125
- turno init # finds your agents, profiles, folders and MCP servers, shows the diff,
126
- # then starts the gateway and points every profile at it
127
- claude-work # sign in once per profile (/login)
128
- cd ~/code/acme && turno auto # Claude Code, with this folder's account
129
- turno # where you stand: this folder, accounts, gateway, what to do next
127
+ # finds your agents, profiles, folders and MCP servers, shows the diff,
128
+ # then starts the gateway and points every profile at it
129
+ turno init
130
+ # sign in once per profile (/login)
131
+ claude-work
132
+ # Claude Code, with this folder's account
133
+ cd ~/code/acme && turno auto
134
+ # where you stand: this folder, accounts, gateway, what to do next
135
+ turno
130
136
  ```
131
137
 
132
138
  `turno init` asks before it adopts anything and writes everything as one change, so one
@@ -135,14 +141,21 @@ systemd --user on Linux); `turno init --no-start` leaves it for later (`turno mc
135
141
  then `turno mcp sync`). Step by step instead:
136
142
 
137
143
  ```sh
138
- turno profile add work --color violet # ~/.claude-work and the claude-work command
144
+ # ~/.claude-work and the claude-work command
145
+ turno profile add work --color violet
139
146
  turno profile add personal
140
- claude-work # sign in once per profile (/login)
141
- turno profile assign ~/code/acme work # this folder and everything under it
142
- turno config set default personal # folders without a rule
143
- turno mcp import --move-secrets --write # mcp.toml from the servers you already have
144
- turno mcp daemon start && turno mcp sync # the gateway, and every profile pointed at it
145
- cd ~/code/acme && turno auto # Claude Code, signed in as work
147
+ # sign in once per profile (/login)
148
+ claude-work
149
+ # this folder and everything under it
150
+ turno profile assign ~/code/acme work
151
+ # folders without a rule
152
+ turno config set default personal
153
+ # mcp.toml from the servers you already have
154
+ turno mcp import --move-secrets --write
155
+ # the gateway, and every profile pointed at it
156
+ turno mcp daemon start && turno mcp sync
157
+ # Claude Code, signed in as work
158
+ cd ~/code/acme && turno auto
146
159
  ```
147
160
 
148
161
  Codex, Copilot and Cursor profiles are the same with `--agent codex|copilot|cursor`. Point your
@@ -344,9 +357,12 @@ then npx runs it, with a warning in the server's log. Details: [docs/mcp.md](htt
344
357
  ### Browser with real profiles
345
358
 
346
359
  ```sh
347
- npm install --global turno-browser # separate package, not installed with turno
348
- turno identity add browser:school # an identity and its mcp.toml entry
349
- turno identity login browser:school # sign in by hand once; cookies persist
360
+ # separate package, not installed with turno
361
+ npm install --global turno-browser
362
+ # an identity and its mcp.toml entry
363
+ turno identity add browser:school
364
+ # sign in by hand once; cookies persist
365
+ turno identity login browser:school
350
366
  ```
351
367
 
352
368
  `turno-browser` is its own MCP server. It drives the installed Google Chrome, headed, with a
@@ -394,8 +410,10 @@ go to a hash-chained audit log (`turno identity log`, `--verify` checks the chai
394
410
  ![The turno status line with Nerd Font icons and with Unicode icons](https://raw.githubusercontent.com/wimo-dev/turno/main/docs/assets/statusline.png)
395
411
 
396
412
  ```sh
397
- turno ui install # font + statusLine in the shared settings.json
398
- turno ui install --terminal current # also set the font in this terminal
413
+ # font + statusLine in the shared settings.json
414
+ turno ui install
415
+ # also set the font in this terminal
416
+ turno ui install --terminal current
399
417
  ```
400
418
 
401
419
  Row 1: profile and plan, 5 h and weekly usage of that account with time to reset, context, and
@@ -477,8 +495,10 @@ category). Security issues: [SECURITY.md](https://github.com/wimo-dev/turno/blob
477
495
 
478
496
  ```sh
479
497
  pnpm install && pnpm build
480
- pnpm check # typecheck, lint (Biome, knip), tests (sandboxed HOME), text rules, licenses
481
- pnpm test:e2e # also the end-to-end test that needs the network (Cursor)
498
+ # typecheck, lint (Biome, knip), tests (sandboxed HOME), text rules, licenses
499
+ pnpm check
500
+ # also the end-to-end test that needs the network (Cursor)
501
+ pnpm test:e2e
482
502
  ```
483
503
 
484
504
  ## License
@@ -8,7 +8,7 @@ import { defaultDoDeps, mcpdTransport } from "./browser-do.js";
8
8
  * The API version this turno was built against. Typed by the package's own constant, so a
9
9
  * change of its API_VERSION in the workspace fails the typecheck until this line follows.
10
10
  */
11
- export const BROWSER_API = { major: 1, minor: 12 };
11
+ export const BROWSER_API = { major: 1, minor: 13 };
12
12
  export const INSTALL_HINT = OPTIONAL.browser.install;
13
13
  export const NOT_INSTALLED = notInstalled(OPTIONAL.browser);
14
14
  /** The summary in `turno help` (registry.ts HELP_SUMMARY). */
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "turno-cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "turno-cli",
9
- "version": "0.5.1",
9
+ "version": "0.5.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@modelcontextprotocol/sdk": "1.32.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turno-cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Switch accounts in your coding agents and keep the conversation, the MCP sign-ins and the browser session.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^26.6.6",
54
- "turno-browser": "0.6.0",
54
+ "turno-browser": "0.7.0",
55
55
  "turno-fonts": "0.1.2",
56
56
  "typescript": "^7.0.2",
57
57
  "vitest": "^5.1.0"