@aiiware/aii 0.30.13 → 0.30.15

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 +5 -1
  2. package/bin/aii +1220 -1200
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -552,13 +552,16 @@ Choose a workspace, press **→** or **Enter** to open its Sessions pane, then u
552
552
 
553
553
  Selecting a session rechecks its saved state and folder before launch, then switches **only the Aii process** into the saved folder. Your parent shell stays in its launch folder. Running, unavailable or recovery-required sessions explain why they cannot resume. Resume requires an intact, safely stopped session; interrupted work with an uncertain outcome is not automatically replayed.
554
554
 
555
- For an exact session or a script, use the full ID. **Exact-ID commands still require you to run from the saved workspace.** The picker requires an interactive terminal; `aii sessions list` works offline and shows full IDs, workspaces, inference backends and recovery status without displaying prompts.
555
+ 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
+ **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.
556
558
 
557
559
  ```bash
558
560
  aii resume # Browse workspaces, then conversations (terminal only)
559
561
  aii sessions list # Browse saved conversations on this computer
560
562
  aii sessions info <full-id> # Check status and resume instructions
561
563
  aii resume <full-id> # Run from the saved workspace
564
+ aii -C ~/work/qalamar-commerce resume <full-id> # From any folder
562
565
  aii resume <full-id> --remote-control # Enable control from AiiCloud
563
566
  ```
564
567
 
@@ -652,6 +655,7 @@ See the [Privacy Policy](https://aiiware.com/privacy#cli-usage-analytics) for ex
652
655
  | `aii --remote-control` | Enable AiiCloud continuation and new web conversations |
653
656
  | `aii resume` | Browse All/Current workspaces and resume in the selected session's folder |
654
657
  | `aii resume <session-id>` | Restore an exact saved conversation in its original workspace |
658
+ | `aii -C <folder> <command>` | Run any command as if started in `<folder>` |
655
659
  | `aii cloud <action>` | AiiCloud sign-in, status and workspace management |
656
660
  | `aii config <action>` | Configuration management |
657
661
  | `aii mcp <action>` | MCP server management |