@aiiware/aii 0.30.14 → 0.30.16

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 (3) hide show
  1. package/README.md +3 -0
  2. package/bin/aii +1162 -1148
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -248,6 +248,7 @@ Supported providers include Anthropic, OpenAI, Google, and more. No key yet? Jus
248
248
 
249
249
  ```bash
250
250
  aii login # Sign into Aii Cloud
251
+ aii cloud logout # Sign out of Aii Cloud and revoke this computer's key (--yes skips the question)
251
252
  aii connect # Choose ChatGPT or Grok
252
253
  aii connect chatgpt # Connect a ChatGPT subscription
253
254
  aii connect grok # Connect a Grok subscription
@@ -554,6 +555,8 @@ Selecting a session rechecks its saved state and folder before launch, then swit
554
555
 
555
556
  For an exact session or a script, use the full ID. **Exact-ID commands still require you to run from the saved workspace.** From another folder, `aii -C <saved folder> resume <full-id>` runs Aii there and leaves your shell where it is. Aii keeps this terminal's environment variables. Older versions of aii do not have `-C`; if `aii --help` does not list it, update first. The Sessions board still copies `cd <saved folder> && aii resume <full-id>`, which also loads that folder's direnv or mise environment in zsh and fish. The picker requires an interactive terminal; `aii sessions list` works offline and shows full IDs, workspaces, inference backends and recovery status without displaying prompts.
556
557
 
558
+ **Sessions board in a session.** Press **←** on an empty prompt (or type `/sessions`) to see every saved conversation; **→** or **Esc** returns. Press **Enter** on another conversation to save this one, close it as `/exit` does, and open the selected one in this terminal, in its own folder. Your shell gets the opened conversation's exit code, as if you had typed `aii resume <id>`. Permissions granted at start (`--yolo`, `--auto`, `-y`, `--trust-source`, remote control) are not carried into the opened conversation; restrictions and display options are. Keys typed while it opens are ignored. Hooks or MCP servers you have not approved stay off, with a line that says so. **Opening here needs Node 26.1 or newer.** When Aii cannot open the conversation here (an older Node, `NODE_OPTIONS` set, a folder with its own direnv or mise setup, and a few other cases), Enter shows the `cd … && aii resume <id>` command, with one line that says why. If anything is still running or unsent, Enter says "Finish current work before switching." and nothing changes. If the switch cannot finish once this conversation has started closing, you see the usual `/exit` output, then `Did not open “<title>”: <reason>.` and the command that opens it.
559
+
557
560
  ```bash
558
561
  aii resume # Browse workspaces, then conversations (terminal only)
559
562
  aii sessions list # Browse saved conversations on this computer