@aiiware/aii 0.28.17 → 0.28.19
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 +33 -4
- package/bin/aii +1139 -1126
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,6 +87,14 @@ aii
|
|
|
87
87
|
|
|
88
88
|
You get a rich terminal UI with streaming responses, syntax highlighting, diff previews, and autocomplete for slash commands.
|
|
89
89
|
|
|
90
|
+
### Resume a saved conversation
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
aii resume
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Browse **All workspaces**, choose a folder, then choose a conversation to continue. Aii validates the saved session and switches into its folder; your parent shell stays in its launch folder. See [Saved Conversations](#saved-conversations) for keyboard controls, search and exact-ID commands.
|
|
97
|
+
|
|
90
98
|
### Continue in AiiCloud
|
|
91
99
|
|
|
92
100
|
```bash
|
|
@@ -101,12 +109,12 @@ The link appears in terminal history after the welcome banner, followed by `Type
|
|
|
101
109
|
`--remote-control` controls browser access. `--inference server` uses your configured Aii Server, whether local or remote; `--inference cloud` uses AiiCloud inference. Signing in for remote control does not change your inference preference. Omit `--inference` to use your saved preference, or the original conversation's settings when resuming.
|
|
102
110
|
|
|
103
111
|
```bash
|
|
104
|
-
aii sessions list
|
|
105
|
-
aii sessions info <full-id>
|
|
106
112
|
aii resume <full-id> --remote-control
|
|
107
113
|
```
|
|
108
114
|
|
|
109
|
-
Run this from the
|
|
115
|
+
Run this exact-ID command from the saved workspace on the computer holding the session to restore its context and AiiCloud conversation. To browse saved workspaces and conversations, see [Saved Conversations](#saved-conversations).
|
|
116
|
+
|
|
117
|
+
`/remote off` disables remote control during a session; `/remote on` enables it again. Enabling control does not copy earlier private messages into AiiCloud. Cloud inference keeps its ordinary configured history independently of remote control.
|
|
110
118
|
|
|
111
119
|
Manage directories offered for new web conversations with `aii cloud workspace list`, `add <path>` or `remove <label|path>`, then restart the hosting Aii process to apply the change.
|
|
112
120
|
|
|
@@ -512,15 +520,35 @@ MCP servers connect in the background during session start. If a server drops, `
|
|
|
512
520
|
|
|
513
521
|
### Saved Conversations
|
|
514
522
|
|
|
515
|
-
|
|
523
|
+
Run `aii resume` from any folder to browse conversations saved on this computer, including sessions controlled through AiiCloud. The picker starts in **All** workspaces; **Current** limits it to the folder where you launched Aii. Type to search by first message, full session ID or workspace path.
|
|
524
|
+
|
|
525
|
+
Choose a workspace, press **→** or **Enter** to open its Sessions pane, then use **↑/↓** and **Enter** to resume a conversation. The active pane has a highlighted selection, and the selected full workspace path and session ID appear below the lists. On narrow terminals, the panes stack vertically.
|
|
526
|
+
|
|
527
|
+
| Key | Picker action |
|
|
528
|
+
| --- | --- |
|
|
529
|
+
| ↑ / ↓ | Move through folders or sessions in the active pane |
|
|
530
|
+
| → or Enter in Workspaces | Open the selected workspace's sessions |
|
|
531
|
+
| Enter in Sessions | Validate and resume the selected conversation |
|
|
532
|
+
| ← in Sessions | Return to Workspaces |
|
|
533
|
+
| Tab / Shift+Tab | Cycle focus through Workspaces, Sessions and Scope |
|
|
534
|
+
| ← / → with Scope focused | Select All / Current, then return to Workspaces |
|
|
535
|
+
| Esc | Return to Workspaces, or cancel from Workspaces |
|
|
536
|
+
| Ctrl+C | Exit the picker |
|
|
537
|
+
|
|
538
|
+
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.
|
|
539
|
+
|
|
540
|
+
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.
|
|
516
541
|
|
|
517
542
|
```bash
|
|
543
|
+
aii resume # Browse workspaces, then conversations (terminal only)
|
|
518
544
|
aii sessions list # Browse saved conversations on this computer
|
|
519
545
|
aii sessions info <full-id> # Check status and resume instructions
|
|
520
546
|
aii resume <full-id> # Run from the saved workspace
|
|
521
547
|
aii resume <full-id> --remote-control # Enable control from AiiCloud
|
|
522
548
|
```
|
|
523
549
|
|
|
550
|
+
After a saved interactive session ends cleanly with `/exit` or Ctrl+D, the summary's **Resume** section includes the full resume command and picker label. Commands too long for the frame remain complete below it. Ctrl+C leaves plain resume guidance. If the latest save is unconfirmed or needs recovery, the guidance points to session details instead.
|
|
551
|
+
|
|
524
552
|
Inside a conversation, `/sessions` and `/sessions info <full-id>` show the same saved catalog. An open session must finish or close before another process can resume it. Hosted conversations continue in AiiCloud with their computer connected; unresolved execution requires recovery before resuming.
|
|
525
553
|
|
|
526
554
|
For conversations managed by the separate Aii Server Session API, use `aii sessions server list` or `aii sessions server resume <id>`. These commands use your configured Aii Server regardless of your inference preference.
|
|
@@ -607,6 +635,7 @@ See the [Privacy Policy](https://aiiware.com/privacy#cli-usage-analytics) for ex
|
|
|
607
635
|
| `aii run git commit [-y]` | AI-powered git commit |
|
|
608
636
|
| `aii loop [query] [--flags]` | Autonomous agent loop |
|
|
609
637
|
| `aii --remote-control` | Enable AiiCloud continuation and new web conversations |
|
|
638
|
+
| `aii resume` | Browse All/Current workspaces and resume in the selected session's folder |
|
|
610
639
|
| `aii resume <session-id>` | Restore an exact saved conversation in its original workspace |
|
|
611
640
|
| `aii cloud <action>` | AiiCloud sign-in, status and workspace management |
|
|
612
641
|
| `aii config <action>` | Configuration management |
|