turno-cli 0.1.0 → 0.1.1

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,14 @@
1
1
  # turno-cli
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d28b959: `turno upgrade` recognizes a Homebrew install and runs `brew update` and `brew upgrade turno`
8
+ instead of `npm install --global`.
9
+ - ce52d03: The repository moved to `github.com/wimo-dev/turno`. turno-browser is listed in the MCP
10
+ Registry as `io.github.wimo-dev/turno-browser`.
11
+
3
12
  ## 0.1.0
4
13
 
5
14
  First public release.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p align="center">
2
2
  <picture>
3
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/william-monroy/turno/main/docs/assets/logo-dark.svg">
4
- <img src="https://raw.githubusercontent.com/william-monroy/turno/main/docs/assets/logo-light.svg" alt="turno" width="168" height="56">
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wimo-dev/turno/main/docs/assets/logo-dark.svg">
4
+ <img src="https://raw.githubusercontent.com/wimo-dev/turno/main/docs/assets/logo-light.svg" alt="turno" width="168" height="56">
5
5
  </picture>
6
6
  </p>
7
7
 
@@ -11,29 +11,30 @@
11
11
 
12
12
  <p align="center">
13
13
  <a href="https://www.npmjs.com/package/turno-cli"><img alt="npm" src="https://img.shields.io/npm/v/turno-cli?color=2457F5"></a>
14
- <a href="https://github.com/william-monroy/turno/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/william-monroy/turno/actions/workflows/ci.yml/badge.svg"></a>
15
- <a href="https://github.com/william-monroy/turno/blob/main/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
16
- <a href="https://scorecard.dev/viewer/?uri=github.com/william-monroy/turno"><img alt="OpenSSF Scorecard" src="https://api.scorecard.dev/projects/github.com/william-monroy/turno/badge"></a>
14
+ <a href="https://github.com/wimo-dev/turno/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/wimo-dev/turno/actions/workflows/ci.yml/badge.svg"></a>
15
+ <a href="https://github.com/wimo-dev/turno/blob/main/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
16
+ <a href="https://scorecard.dev/viewer/?uri=github.com/wimo-dev/turno"><img alt="OpenSSF Scorecard" src="https://api.scorecard.dev/projects/github.com/wimo-dev/turno/badge"></a>
17
17
  </p>
18
18
 
19
19
  <p align="center">
20
- English · <a href="https://github.com/william-monroy/turno/blob/main/README.es.md">Español</a>
20
+ English · <a href="https://github.com/wimo-dev/turno/blob/main/README.es.md">Español</a>
21
21
  </p>
22
22
 
23
23
  Every coding-agent session starts its own copy of every MCP server. Eight sessions with six
24
24
  common servers is **3,163 MiB in 56 processes**. turno starts each server once,
25
25
  only when a tool is called, behind one local gateway that every session of every agent shares:
26
26
  **847 MiB while all six run, 103 MiB while they sit idle**
27
- ([benchmark](https://github.com/william-monroy/turno/blob/main/BENCHMARKS.md)). It also gives each folder its own account, so work repositories
27
+ ([benchmark](https://github.com/wimo-dev/turno/blob/main/BENCHMARKS.md)). It also gives each folder its own account, so work repositories
28
28
  open with your work login and everything else with your personal one.
29
29
 
30
- ![turno: profiles for two agents, one gateway, the status line](https://raw.githubusercontent.com/william-monroy/turno/main/docs/assets/demo.gif)
30
+ ![turno: profiles for two agents, one gateway, the status line](https://raw.githubusercontent.com/wimo-dev/turno/main/docs/assets/demo.gif)
31
31
 
32
32
  ## Install
33
33
 
34
34
  ```sh
35
35
  npx turno-cli@latest doctor # try it without installing: checks your agents and config
36
36
  npm install --global turno-cli # macOS or Linux, Node 22.11+
37
+ brew tap wimo-dev/turno && brew trust wimo-dev/turno && brew install turno # or Homebrew
37
38
  ```
38
39
 
39
40
  The npm package is `turno-cli`; the command it installs is `turno`.
@@ -68,7 +69,7 @@ Nothing leaves your machine: no account, no telemetry, no proxy for model traffi
68
69
  | Cursor CLI | `~/.cursor-<p>`, `cursor-agent-<p>` | `~/.cursor/mcp.json`, routed by environment | `cursor-agent-work` |
69
70
 
70
71
  opencode, Gemini CLI, Goose, Crush, Droid and Kiro can use the gateway too:
71
- `turno mcp config --agent <name>` prints their entries. See [docs/agents.md](https://github.com/william-monroy/turno/blob/main/docs/agents.md).
72
+ `turno mcp config --agent <name>` prints their entries. See [docs/agents.md](https://github.com/wimo-dev/turno/blob/main/docs/agents.md).
72
73
  - **A status line** for Claude Code with the account, its 5 h and weekly usage, context, branch
73
74
  and cost, with Nerd Font icons it installs for you (or Unicode where there is none).
74
75
  - **A browser with real profiles** (optional `turno-browser`): an MCP server that drives your
@@ -103,7 +104,7 @@ memory of every process involved, Apple M3 with 16 GB, Node 26, 2026-11-16:
103
104
 
104
105
  Started the way most server READMEs suggest (`npx -y <package>`), 4 sessions take
105
106
  3,123 MiB in 52 processes. Reproduce it with `node bench/mcp-ram.mjs --sessions 8`;
106
- method and caveats in [BENCHMARKS.md](https://github.com/william-monroy/turno/blob/main/BENCHMARKS.md).
107
+ method and caveats in [BENCHMARKS.md](https://github.com/wimo-dev/turno/blob/main/BENCHMARKS.md).
107
108
 
108
109
  ## How it compares
109
110
 
@@ -216,7 +217,7 @@ url = "https://docs.example.com/mcp" # remote, written straight into each profil
216
217
  ```
217
218
 
218
219
  Each variant per profile runs separately, so two profiles can reach two accounts of the same
219
- service. Details: [docs/mcp.md](https://github.com/william-monroy/turno/blob/main/docs/mcp.md).
220
+ service. Details: [docs/mcp.md](https://github.com/wimo-dev/turno/blob/main/docs/mcp.md).
220
221
 
221
222
  ### Browser with real profiles
222
223
 
@@ -227,7 +228,7 @@ turno identity login browser:school # sign in by hand once; cookies persist
227
228
  ```
228
229
 
229
230
  It drives the installed Google Chrome, headed, with a persistent profile per identity and no
230
- injected scripts ([ADR 0005](https://github.com/william-monroy/turno/blob/main/docs/decisions/0005-stealth-browser-defaults.md)).
231
+ injected scripts ([ADR 0005](https://github.com/wimo-dev/turno/blob/main/docs/decisions/0005-stealth-browser-defaults.md)).
231
232
 
232
233
  **Acceptable use.** Use it with your own accounts, on sites whose terms allow automated access
233
234
  by you, and at a human pace. Do not use it to get around access controls, paywalls, CAPTCHAs or
@@ -242,7 +243,7 @@ profile is signed into. Write tasks need your confirmation, and every call goes
242
243
 
243
244
  ### Status line
244
245
 
245
- ![The turno status line with Nerd Font icons and with Unicode icons](https://raw.githubusercontent.com/william-monroy/turno/main/docs/assets/statusline.png)
246
+ ![The turno status line with Nerd Font icons and with Unicode icons](https://raw.githubusercontent.com/wimo-dev/turno/main/docs/assets/statusline.png)
246
247
 
247
248
  ```sh
248
249
  turno ui install # font + statusLine in the shared settings.json
@@ -252,7 +253,7 @@ turno ui install --terminal current # also set the font in this terminal
252
253
  Row 1: profile and plan, 5 h and weekly usage of that account with time to reset, context, and
253
254
  a warning when the folder belongs to another profile. Row 2: project and worktree, branch, lines
254
255
  changed, model and effort, and the API-equivalent cost of the conversation including subagents.
255
- Details: [docs/ui.md](https://github.com/william-monroy/turno/blob/main/docs/ui.md).
256
+ Details: [docs/ui.md](https://github.com/wimo-dev/turno/blob/main/docs/ui.md).
256
257
 
257
258
  ### Claude Code plugin
258
259
 
@@ -260,7 +261,7 @@ Details: [docs/ui.md](https://github.com/william-monroy/turno/blob/main/docs/ui.
260
261
  reaches its usage limit, so `turno status` can show it:
261
262
 
262
263
  ```
263
- /plugin marketplace add william-monroy/turno
264
+ /plugin marketplace add wimo-dev/turno
264
265
  /plugin install turno@turno
265
266
  ```
266
267
 
@@ -314,22 +315,22 @@ terminal. turno sends no other data anywhere.
314
315
 
315
316
  ## Contributing
316
317
 
317
- Issues labeled [good first issue](https://github.com/william-monroy/turno/labels/good%20first%20issue)
318
- are a good start. Read [CONTRIBUTING.md](https://github.com/william-monroy/turno/blob/main/CONTRIBUTING.md), the
319
- [Code of Conduct](https://github.com/william-monroy/turno/blob/main/CODE_OF_CONDUCT.md) and the [AI policy](https://github.com/william-monroy/turno/blob/main/AI_POLICY.md). Questions and ideas go
320
- to [Discussions](https://github.com/william-monroy/turno/discussions) (there is an Español
321
- category). Security issues: [SECURITY.md](https://github.com/william-monroy/turno/blob/main/SECURITY.md).
318
+ Issues labeled [good first issue](https://github.com/wimo-dev/turno/labels/good%20first%20issue)
319
+ are a good start. Read [CONTRIBUTING.md](https://github.com/wimo-dev/turno/blob/main/CONTRIBUTING.md), the
320
+ [Code of Conduct](https://github.com/wimo-dev/turno/blob/main/CODE_OF_CONDUCT.md) and the [AI policy](https://github.com/wimo-dev/turno/blob/main/AI_POLICY.md). Questions and ideas go
321
+ to [Discussions](https://github.com/wimo-dev/turno/discussions) (there is an Español
322
+ category). Security issues: [SECURITY.md](https://github.com/wimo-dev/turno/blob/main/SECURITY.md).
322
323
 
323
324
  ```sh
324
325
  pnpm install && pnpm build
325
326
  pnpm check # typecheck, tests (sandboxed HOME), repository text rules, licenses
326
327
  ```
327
328
 
328
- Design: [docs/design](https://github.com/william-monroy/turno/blob/main/docs/design/2026-11-12-claudio-ecosystem-design.md). Decisions:
329
- [docs/decisions](https://github.com/william-monroy/turno/blob/main/docs/decisions/). Progress: [docs/STATUS.md](https://github.com/william-monroy/turno/blob/main/docs/STATUS.md).
329
+ Design: [docs/design](https://github.com/wimo-dev/turno/blob/main/docs/design/2026-11-12-claudio-ecosystem-design.md). Decisions:
330
+ [docs/decisions](https://github.com/wimo-dev/turno/blob/main/docs/decisions/). Progress: [docs/STATUS.md](https://github.com/wimo-dev/turno/blob/main/docs/STATUS.md).
330
331
 
331
332
  ## License
332
333
 
333
- Apache License 2.0 ([LICENSE](https://github.com/william-monroy/turno/blob/main/LICENSE), [NOTICE](https://github.com/william-monroy/turno/blob/main/NOTICE)). The bundled fonts keep their own
334
- licenses ([packages/fonts/LICENSE.txt](https://github.com/william-monroy/turno/blob/main/packages/fonts/LICENSE.txt)); dependencies are listed in
335
- [THIRD_PARTY_NOTICES.md](https://github.com/william-monroy/turno/blob/main/THIRD_PARTY_NOTICES.md). Made in Monterrey, Mexico.
334
+ Apache License 2.0 ([LICENSE](https://github.com/wimo-dev/turno/blob/main/LICENSE), [NOTICE](https://github.com/wimo-dev/turno/blob/main/NOTICE)). The bundled fonts keep their own
335
+ licenses ([packages/fonts/LICENSE.txt](https://github.com/wimo-dev/turno/blob/main/packages/fonts/LICENSE.txt)); dependencies are listed in
336
+ [THIRD_PARTY_NOTICES.md](https://github.com/wimo-dev/turno/blob/main/THIRD_PARTY_NOTICES.md). Made in Monterrey, Mexico.
@@ -21,6 +21,9 @@ export function detectInstall(root = packageInfo().root) {
21
21
  /* keep it */
22
22
  }
23
23
  const parts = real.split(sep);
24
+ // Homebrew keeps the npm package under Cellar/<formula>/<version>/libexec: brew owns it.
25
+ if (parts.includes("Cellar") && parts.includes("node_modules"))
26
+ return { method: "brew", root: real };
24
27
  if (parts.includes("node_modules")) {
25
28
  const method = real.includes(`${sep}.volta${sep}`)
26
29
  ? "volta"
@@ -53,6 +56,9 @@ export function upgradeCommand(install, name, spec) {
53
56
  return [["bun", "add", "--global", target]];
54
57
  case "volta":
55
58
  return [["volta", "install", target]];
59
+ case "brew":
60
+ // The formula follows the newest release; brew cannot install an arbitrary version.
61
+ return [["brew", "update"], ["brew", "upgrade", "turno"]];
56
62
  case "source":
57
63
  return [
58
64
  ["git", "-C", install.repo, "pull", "--ff-only"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turno-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "One MCP gateway and per-folder accounts for Claude Code, Codex, Copilot CLI and Cursor CLI.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -19,14 +19,14 @@
19
19
  ],
20
20
  "license": "Apache-2.0",
21
21
  "author": "William Frank Monroy Mamani (https://github.com/william-monroy)",
22
- "homepage": "https://github.com/william-monroy/turno#readme",
22
+ "homepage": "https://github.com/wimo-dev/turno#readme",
23
23
  "repository": {
24
24
  "type": "git",
25
- "url": "git+https://github.com/william-monroy/turno.git",
25
+ "url": "git+https://github.com/wimo-dev/turno.git",
26
26
  "directory": "packages/turno"
27
27
  },
28
28
  "bugs": {
29
- "url": "https://github.com/william-monroy/turno/issues"
29
+ "url": "https://github.com/wimo-dev/turno/issues"
30
30
  },
31
31
  "type": "module",
32
32
  "engines": {
@@ -48,8 +48,8 @@
48
48
  "smol-toml": "1.9.1"
49
49
  },
50
50
  "optionalDependencies": {
51
- "turno-browser": "^0.1.0",
52
- "turno-fonts": "^0.1.0"
51
+ "turno-browser": "^0.1.1",
52
+ "turno-fonts": "^0.1.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^26.6.6",