ai-launcher 0.1.4 → 0.1.5

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 CHANGED
@@ -44,6 +44,7 @@ It reads and writes the same config as the bash `ai` (providers file, failover o
44
44
  | `e` | edit the selected account |
45
45
  | `d` | delete the selected account |
46
46
  | `shift-up` `shift-down` / `K` `J` | change the order (top is tried first) |
47
+ | `*` | make the account the default (opens on start, marked `★`); again to clear |
47
48
  | `space` | turn the account's failover on / off (or click its `● on` / `○ off` switch); an off account is skipped when a limit hits |
48
49
  | `f` | failover on / off |
49
50
  | `w` | switch between failover and weighted round-robin |
@@ -157,6 +158,19 @@ ai # pick an agent and start it here
157
158
  ai --resume # extra arguments go to the agent
158
159
  ```
159
160
 
161
+ ### Default account
162
+
163
+ Set a default and `ai` starts it straight away, skipping the picker:
164
+
165
+ ```bash
166
+ ai default claude/work # a Claude account, or any name from `ai ls`
167
+ ai default # show it
168
+ ai default - # clear it
169
+ ai pick # show the picker anyway
170
+ ```
171
+
172
+ In the TUI, press `*` on a row to make it the default (press again to clear); it is marked `★` and opens in a tab when the TUI starts. Both read the same file, `<failover file>.default`. A default that no longer exists is ignored.
173
+
160
174
  ![bash picker showing Claude accounts and Codex with usage bars, plus Gemini and OpenCode](docs/screenshot.png)
161
175
 
162
176
  When a newer version is on npm, the picker shows an `update X available` line. It reads the same once-a-day cache as the TUI (refreshed in the background with `npm view`, only when npm exists). Set `AI_LAUNCHER_NO_UPDATE_CHECK=1` to turn it off.
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-launcher",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Launcher for AI coding CLIs",
5
5
  "license": "MIT",
6
6
  "repository": {