sideby 0.23.1 → 0.25.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/schemas/try.json CHANGED
@@ -15,6 +15,10 @@
15
15
  "account": {
16
16
  "type": "string"
17
17
  },
18
+ "model": {
19
+ "type": "string",
20
+ "description": "The model `--model` chose, when given."
21
+ },
18
22
  "confirmed": {
19
23
  "type": "boolean"
20
24
  },
@@ -2,7 +2,7 @@
2
2
  name: sideby
3
3
  description: Use when the user runs, or wants to run, several AI coding accounts (Claude Code, Codex, Grok Build, pi) side by side. Covers installing sideby and setting up a new account ("install sideby", "set up another Claude account", "add cc008", "配置一个 cc00x", "再加一个 Codex 账号"), explaining what accounts share and what stays separate ("what do my accounts share?", "这些账号共享了什么"), showing which account a session is ("show [cc001] in the status line", "加上账号标识"), finding a past session of any account ("找一下我上周改登录页的那个会话"), seeing accounts, quota and usage, moving on when one hits its 5-hour or weekly limit, moving the current task to another account ("用 cc008 继续", "交回 cc008"), adding a short command (alias) or a pick command that starts whichever account has the most quota ("加个 cc"), adding an API account from a vendor's docs ("加一个 DeepSeek API 账号"), supporting a new tool, and repairing drifted account directories (skills, hooks, rules or settings not shared, wrong symlinks, credential file permissions). Drives the `sideby` CLI with `--json`; the agent does every step except browser sign-in, filling in secrets and starting interactive sessions, which it hands to the user as one command (inside an Auto Handoff session, `sideby handoff ready --to` moves the task itself).
4
4
  metadata:
5
- version: "0.23.1"
5
+ version: "0.25.0"
6
6
  requires:
7
7
  bins: [sideby, node]
8
8
  cliHelp: sideby --help
@@ -66,7 +66,7 @@ Account refs are `<family>:<name>`; a bare `<name>` works only when it is unique
66
66
  | Short commands say "command not found" in a new terminal ("cc 用不了", "短命令不生效") | `sideby shell-init setup --json` (exit 10 first) | `references/setup.md` |
67
67
  | Do something in sideby as an AI Task (the first message came from sideby or the Panel's "Let AI do it") | follow the task it names | `references/ai-tasks.md` |
68
68
  | A Portal starts AI Tasks through sideby, or one of its tasks failed (`spec-version`, `bad-cwd`, "which account would it use?") | `sideby ask --choices --json`, `sideby ask --spec - --print --json` (read only) | `references/ai-tasks.md` |
69
- | Add an API account from a vendor's address or docs link, enter its key, check it works | `sideby new <family> --next --api --json`, then the user runs `sideby key <ref>`; `sideby try <ref> --json` (exit 10 first) | `references/ai-tasks.md` |
69
+ | Add an API account from a vendor's address or docs link, enter its key, check it works (also with a given model: "用 glm-5.3 试一下 pi") | `sideby new <family> --next --api --json`, then the user runs `sideby key <ref>`; `sideby try <ref|short command> [--model <m>] --json` (exit 10 first) | `references/ai-tasks.md` |
70
70
  | Support a tool sideby does not list yet, or write a plugin | `sideby plugins new <id> --json`, `sideby plugins check <id> --json` | `references/ai-tasks.md` |
71
71
  | Choose the terminal the Panel opens for AI Tasks and sign-in | `sideby terminal --json`, `sideby terminal --set <id> --json` | — |
72
72
  | Tune the auto-compact threshold ("which compaction setting costs the fewest tokens"), use the suggestion or undo it | `sideby tune --json`, `sideby tune apply` (exit 10 first), `sideby tune undo` | `references/diagnose.md` |
@@ -61,6 +61,7 @@ sideby ships no list of vendors, addresses or model names. Take every fact from
61
61
  3. Set every variable except the key: show the user the lines you will add to `proxy.env` and add them after they agree. Do not read the file's other lines, and never write a key into it.
62
62
  4. Tell the user to run `sideby key <ref>` in their own terminal (or click **Enter key** in the Panel). Add `--var <NAME>` when the key belongs in a variable other than the Family's default. Wait until they say it is done.
63
63
  5. Offer `sideby try <ref> --json`: it exits 10 and says which command it runs and that it costs a few tokens. After they agree, run it with `--yes`. Exit 0 means the Host answered. On 1, read the Host's message it shows and check the mistakes below.
64
+ - To check one model, add `--model <model>` (for pi `provider/id`, optionally `:<thinking>`). It replaces the model the account's settings choose, this once, and writes nothing. To check a short command the user made (such as one with its own model), pass the short command instead of the ref: its arguments apply as in `sideby run`. Do not run the Host by hand to test a model.
64
65
 
65
66
  Common mistakes:
66
67
 
@@ -1,14 +1,14 @@
1
1
  # Themes: the Panel's colors
2
2
 
3
- A Theme is a named set of Panel colors, one version for light and one for dark (spec §3.34, ADR-0050). sideby has two Built-in Themes: `sky` (default: light blue) and `leaf` (light green with green quota bars, from Radix Colors). The user can pick one, give their own accent color, or keep a Theme File of their own. Light, dark or system is a separate setting (`panel.theme`).
3
+ A Theme is a named set of Panel colors, one version for light and one for dark (spec §3.34, ADR-0050). sideby has five Built-in Themes, one per interface accent on the same cool-gray base: `teal` (default), `leaf` (green), `celeste` (light blue), `claude` (orange) and `codex` (black and white). The old name `sky` still works and means `celeste`. The user can pick one, give their own accent color, or keep a Theme File of their own. Light, dark or system is a separate setting (`panel.theme`).
4
4
 
5
5
  ## See and switch
6
6
 
7
7
  ```sh
8
8
  sideby theme --json # every Theme: id, name, source (builtin|file), active, problems
9
- sideby theme use leaf --json # switch; the Panel shows it on its next refresh
9
+ sideby theme use codex --json # switch; the Panel shows it on its next refresh
10
10
  sideby theme use --undo --json # back to the Theme before the last switch
11
- sideby theme use default --json # no Theme chosen: Sky, or inside a Portal the Portal's colors
11
+ sideby theme use default --json # no Theme chosen: Teal, or inside a Portal the Portal's colors
12
12
  ```
13
13
 
14
14
  `use` changes only config `panel.colorTheme`, nothing else; it needs no `--yes`, because undo is one command. Tell the user they can also click **Settings › Theme** in the Panel.
@@ -18,11 +18,11 @@ sideby theme use default --json # no Theme chosen: Sky, or inside a Portal the
18
18
  A Theme File is JSON in `~/.config/sideby/themes/<name>.json` (the folder `sideby theme --json` prints as `folder`). It holds colors only, never code:
19
19
 
20
20
  ```json
21
- { "schemaVersion": 1, "name": "Calm green", "base": "leaf", "accent": "#4f9d69",
21
+ { "schemaVersion": 1, "name": "Calm green", "base": "teal", "accent": "#4f9d69",
22
22
  "light": { "bg": "#fafaf7" }, "dark": {} }
23
23
  ```
24
24
 
25
- - `base`: the Built-in Theme to start from (default `sky`).
25
+ - `base`: the Built-in Theme to start from (default `teal`).
26
26
  - `accent`: one `#rrggbb` color; sideby makes the main button, links, selection, focus and the normal quota bar from it. Neutrals and warning colors stay the base's. Usually `base` plus `accent` is enough.
27
27
  - `light` / `dark`: single tokens to change, by the names `sideby theme export sky` prints. Unknown keys are ignored with a warning.
28
28
  - The file name is the Theme's name: lowercase letters, digits and hyphens.
@@ -40,7 +40,7 @@ Keep warnings and errors readable: do not set `warn`, `fail`, `warnBar` or `fail
40
40
  ## Other commands
41
41
 
42
42
  ```sh
43
- sideby theme export sky --out my-theme.json # a full copy to edit (refuses to overwrite a file)
43
+ sideby theme export teal --out my-theme.json # a full copy to edit (refuses to overwrite a file)
44
44
  sideby theme remove <name> --yes --json # delete a Theme File; the Panel goes back to sky if it was in use
45
45
  ```
46
46