autopilot-ai 1.4.0 → 1.6.0

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 CHANGED
@@ -1,3 +1,7 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/sinameraji/autopilot/main/docs/logo.png" alt="Autopilot logo" width="160">
3
+ </p>
4
+
1
5
  <h1 align="center">autopilot <sub>(formerly kimiflare)</sub></h1>
2
6
 
3
7
  <p align="center">
@@ -142,6 +146,27 @@ The same pair can be persisted in `~/.config/kimiflare/config.json` as `baseUrl`
142
146
  - Model ids pass through in the request body unchanged; your endpoint owns provider dispatch.
143
147
  - Cost is the local estimate only — your endpoint does its own metering.
144
148
 
149
+ ### Requesty (optional)
150
+
151
+ [Requesty](https://requesty.ai) is another OpenAI-compatible gateway you can use with your own key
152
+ instead of OpenRouter. It is opt-in: it is only used when no OpenRouter key and no custom endpoint
153
+ are configured, so an existing setup never changes.
154
+
155
+ ```sh
156
+ export REQUESTY_API_KEY="<your key>" # from https://app.requesty.ai/api-keys
157
+ autopilot # or: autopilot auth requesty (checks and saves the key)
158
+ autopilot -p "..." -m openai/gpt-4o-mini
159
+ ```
160
+
161
+ - The key can also live in `~/.config/kimiflare/config.json` as `requestyApiKey` (the env var wins).
162
+ - `REQUESTY_BASE_URL` picks a region, e.g. `https://router.eu.requesty.ai/v1` for the EU. Only https URLs on Requesty's hosts (`router.requesty.ai`, `router.eu.requesty.ai`, `router.us.requesty.ai`, `router.ap.requesty.ai`) are accepted, so the key is never sent anywhere else.
163
+ - `/model` lists Requesty's managed policies first (short ids such as `kimi-k2.6` or
164
+ `claude-sonnet-4-5`), then its full `vendor/model` catalog. Both kinds of id work.
165
+ - Defaults on Requesty: `kimi-k2.6` for the main model, `deepseek-v4-flash` for side calls, and
166
+ `openai/text-embedding-3-small` for memory embeddings.
167
+ - Cost per turn is the one Requesty reports inline. `/key` shows whether the key is valid; OpenRouter
168
+ only features (browser sign in, `/key set`, the billed cost lookup) are not available.
169
+
145
170
  ### One-shot mode
146
171
 
147
172
  ```sh
@@ -201,6 +226,9 @@ OpenRouter key is required. Resolved in this priority order:
201
226
  2. **Environment variables**: `OPENROUTER_API_KEY` / `KIMIFLARE_OPENROUTER_KEY`
202
227
  3. **Config file**: `~/.config/kimiflare/config.json`
203
228
 
229
+ A [Requesty](#requesty-optional) key (`requestyApiKey` in `config`, or `REQUESTY_API_KEY`) also works
230
+ when no OpenRouter key is set; pass a Requesty model id such as `openai/gpt-4o-mini` as `model`.
231
+
204
232
  Pass `provider` in `createAgentSession` options to set OpenRouter provider-routing preferences for that session.
205
233
 
206
234
  **For Electron / desktop apps**, we recommend storing the key in the OS keychain (e.g. Electron `safeStorage` or `keytar`) and passing it explicitly: