@standardagents/cli 0.45.9 → 0.45.11
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 +47 -1
- package/chat/vite/favicon.svg +10 -2
- package/dist/index.js +2255 -824
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -676,7 +676,7 @@ users of the machine can read a token that is passed as an argument.
|
|
|
676
676
|
|
|
677
677
|
### Every Command
|
|
678
678
|
|
|
679
|
-
The [CLI reference](https://
|
|
679
|
+
The [CLI reference](https://standardagents.ai/docs/user-interfaces/cli) lists
|
|
680
680
|
every command and flag, the exit codes, the commands to run without a
|
|
681
681
|
terminal, where credentials are stored, and what to do when a build fails.
|
|
682
682
|
|
|
@@ -703,6 +703,52 @@ terminal, where credentials are stored, and what to do when a build fails.
|
|
|
703
703
|
| `diag` | Diagnose a running instance |
|
|
704
704
|
| `terms` | Read and accept the Standard Agents terms |
|
|
705
705
|
|
|
706
|
+
## Full-Screen App
|
|
707
|
+
|
|
708
|
+
On an interactive terminal, `agents` with no command, `agents init`, and `agents login` run as one full-screen app. The app uses the alternate screen of the terminal, so your scrollback is unchanged while it runs.
|
|
709
|
+
|
|
710
|
+
- The top bar shows the CLI version, the signed-in account, and the current directory.
|
|
711
|
+
- The body shows the steps of the run with their state, and one main region for the active step: the sign-in URL, the output of the clone and the install, or the log of the dev server.
|
|
712
|
+
- The bottom bar shows what happens now, the elapsed or remaining time, and the keys that work.
|
|
713
|
+
|
|
714
|
+
| Screen | Keys |
|
|
715
|
+
| --- | --- |
|
|
716
|
+
| Home | `↑` `↓` or `j` `k` to move, `Enter` to run the command, `q` to quit |
|
|
717
|
+
| Sign-in | `o` to open the browser again, `c` to copy the sign-in URL, `Ctrl-C` to cancel |
|
|
718
|
+
| Clone, install | `PgUp` `PgDn` to scroll the output, `Ctrl-C` to cancel |
|
|
719
|
+
| Dev server | `o` to open the Builder, `PgUp` `PgDn` to scroll the log, `q` or `Ctrl-C` to stop the server and quit |
|
|
720
|
+
| Failure, confirmation | `Enter` to close |
|
|
721
|
+
|
|
722
|
+
The home screen lists the commands that work in the current directory. For each one it shows what the command does and the command line that runs it. `init` and `login` stay in the app. Every other command runs in line mode after the app closes.
|
|
723
|
+
|
|
724
|
+
When the app closes, it prints the record of the run in the normal screen: one line per finished step, then the summary or the failure with its next steps. A cancelled run prints the same messages as line mode, and the exit codes are the same.
|
|
725
|
+
|
|
726
|
+
The app follows the size of the terminal while it runs:
|
|
727
|
+
|
|
728
|
+
| Terminal size | Layout |
|
|
729
|
+
| --- | --- |
|
|
730
|
+
| 140 columns or more | Step list in a left column of 36 cells. The main region is at most 100 cells wide. |
|
|
731
|
+
| 100 to 139 columns | Step list in a left column of 30 cells. |
|
|
732
|
+
| 80 to 99 columns | One column. The step list is one line, for example `Step 3 of 6 · Clone`. |
|
|
733
|
+
| 60 to 79 columns, or fewer than 20 rows | One column, a top bar with the name and version only, and short key hints. |
|
|
734
|
+
|
|
735
|
+
A long URL or path is shortened with an ellipsis and stays in its own region. The output of a command keeps at least three rows.
|
|
736
|
+
|
|
737
|
+
### Line Mode
|
|
738
|
+
|
|
739
|
+
Line mode prints each step as a line and draws no screen. The CLI uses line mode in each of these cases:
|
|
740
|
+
|
|
741
|
+
- You pass `--no-tui`, or the `NO_TUI` environment variable is set to a value other than `0`.
|
|
742
|
+
- The standard input or the standard output is not a terminal.
|
|
743
|
+
- The `CI` environment variable is set, or `TERM` is `dumb`.
|
|
744
|
+
- The terminal is smaller than 60 columns by 12 rows.
|
|
745
|
+
- The command runs with `--json`.
|
|
746
|
+
|
|
747
|
+
```bash
|
|
748
|
+
agents init --no-tui
|
|
749
|
+
NO_TUI=1 agents login
|
|
750
|
+
```
|
|
751
|
+
|
|
706
752
|
## Machine-Readable Output
|
|
707
753
|
|
|
708
754
|
Errors and warnings from every command go to stderr. Status lines and results
|
package/chat/vite/favicon.svg
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
2
|
-
<
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<style>
|
|
3
|
+
/* Adaptive favicon: dark mark on light UI, light mark on dark UI.
|
|
4
|
+
Browsers evaluate prefers-color-scheme inside SVG favicons. */
|
|
5
|
+
.mark { fill: rgb(31, 41, 55); }
|
|
6
|
+
@media (prefers-color-scheme: dark) {
|
|
7
|
+
.mark { fill: rgb(229, 231, 235); }
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<path class="mark" d="M10,0V10H0V32H22V22H32V0H10ZM4.333,27.668C0.595,23.931 3.132,16.284 10,10.324V22H21.68C15.72,28.869 8.073,31.41 4.33,27.668ZM22,21.682V10H10.322C16.284,3.132 23.926,0.59 27.668,4.333C31.415,8.075 28.873,15.722 22,21.682Z" />
|
|
3
11
|
</svg>
|