airlok 0.8.0 → 0.8.1
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/CHANGELOG.md +12 -0
- package/README.md +7 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to airlok. The format follows Keep a Changelog; versions follow SemVer.
|
|
4
4
|
|
|
5
|
+
## [0.8.1] - 2026-09-12
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `/model` with no id opens a picker: the models airlok knows here, with arrows, type to filter, Enter to take one and Esc to leave everything alone. The list is the model in use, any named in `[models."<id>"]`, the ones used earlier in the run, and the ones saved sessions used on this provider. `/provider` with no name picks the same way, and `/model <id>` still switches directly.
|
|
10
|
+
- Tab completes a slash command's argument, not only its name. Commands say what their arguments could be, and `/model` and `/provider` are the first two.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Switching to a model id airlok has not seen says so, names the nearest ids it knows, and asks whether to use the typed one anyway. An exact match is still taken as given, and the typed id is always offered first, so pressing Enter never quietly selects a near match. Before this, an unknown id was accepted and the provider rejected it a turn later.
|
|
15
|
+
- A provider that refuses a request is reported as one sentence naming the likely cause and what to change, for a missing model or deployment, a rejected key, rate limiting, and a request longer than the model's context. The raw body moved to the debug log, where `-v` shows it, and the session stays open as before.
|
|
16
|
+
|
|
5
17
|
## [0.8.0] - 2026-09-12
|
|
6
18
|
|
|
7
19
|
### Changed
|
package/README.md
CHANGED
|
@@ -52,13 +52,17 @@ While a turn runs, a status line below the output shows a spinner, what airlok i
|
|
|
52
52
|
|---|---|
|
|
53
53
|
| Enter | send the line |
|
|
54
54
|
| Alt+Enter | start a new line in the same message. Shift+Enter does the same in terminals that send Esc then Enter for it; most send a plain Enter |
|
|
55
|
-
| Tab | take the first `/` command
|
|
55
|
+
| Tab | take the first `/` command, `@` path, or command argument on offer; Tab again cycles through the rest |
|
|
56
56
|
| Right arrow | take the rest of the `/` command shown after the cursor |
|
|
57
57
|
| Esc or Ctrl-C | during a turn, cancel it |
|
|
58
58
|
| Ctrl-C | at the prompt, clear the line; on an empty line it does nothing |
|
|
59
59
|
| Ctrl-D | save and quit |
|
|
60
60
|
| Ctrl-R | search this run's history; Up and Down step through it |
|
|
61
61
|
|
|
62
|
+
The models airlok offers are the one in use, any named in `[models."<id>"]`, the ones used earlier in this run, and the ones saved sessions here used on this provider. Tab completes from that list after `/model `, and from the two provider names after `/provider `. Switching to an id from that list is taken as given; anything else is read back with the nearest known ids and a question, since a model id that only fails on the next turn is a poor way to learn it was a typo.
|
|
63
|
+
|
|
64
|
+
A provider that refuses a request is reported as a sentence naming the likely cause: a model or deployment that does not exist, a key the provider rejected, rate limiting, or a request longer than the model's context. The raw body goes to the debug log, so `-v` still has it, and the session stays open either way.
|
|
65
|
+
|
|
62
66
|
A cancelled turn keeps the text streamed so far in the history, marked as interrupted; tool calls that had not run are dropped, and you get the prompt back. Keys typed while a turn runs are kept and start the next prompt.
|
|
63
67
|
|
|
64
68
|
| Input | What it does |
|
|
@@ -71,11 +75,11 @@ A cancelled turn keeps the text streamed so far in the history, marked as interr
|
|
|
71
75
|
| Command | What it does |
|
|
72
76
|
|---|---|
|
|
73
77
|
| `/help` | list the commands |
|
|
74
|
-
| `/model [<id>]` |
|
|
78
|
+
| `/model [<id>]` | with no id, pick from the models airlok knows here: arrows, type to filter, Enter, Esc. With an id, switch to it; an id airlok has not seen is questioned rather than taken |
|
|
75
79
|
| `/mcp` | list the MCP servers and their tools; `/mcp <name>` enables a disabled one for this session |
|
|
76
80
|
| `/plan` | turn plan mode on or off |
|
|
77
81
|
| `/go` | carry out the plan from plan mode, back in normal mode |
|
|
78
|
-
| `/provider [<name>]` |
|
|
82
|
+
| `/provider [<name>]` | with no name, pick between `anthropic` and `openai`; with one, switch if a key is available for it, and say which key is missing otherwise |
|
|
79
83
|
| `/cost` | tokens used so far, and whether they are estimates |
|
|
80
84
|
| `/compact` | summarise older turns to free context |
|
|
81
85
|
| `/config` | the effective configuration |
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT OR Apache-2.0",
|
|
21
21
|
"name": "airlok",
|
|
22
|
-
"version": "0.8.
|
|
22
|
+
"version": "0.8.1"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.8.
|
|
51
|
+
"version": "0.8.1"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/airlok-dev/airlok/releases/download/v0.8.
|
|
3
|
+
"https://github.com/airlok-dev/airlok/releases/download/v0.8.1"
|
|
4
4
|
],
|
|
5
5
|
"bin": {
|
|
6
6
|
"airlok": "run-airlok.js"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"zipExt": ".tar.xz"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"version": "0.8.
|
|
63
|
+
"version": "0.8.1",
|
|
64
64
|
"volta": {
|
|
65
65
|
"node": "18.14.1",
|
|
66
66
|
"npm": "9.5.0"
|