@bobfrankston/mailx-types 0.1.6 → 0.1.8

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 (2) hide show
  1. package/index.d.ts +9 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -249,6 +249,15 @@ export interface AutocompleteSettings {
249
249
  translateEnabled?: boolean;
250
250
  proofreadEnabled?: boolean;
251
251
  }
252
+ /** AI provider API keys. Lives at the top of `accounts.jsonc` alongside
253
+ * `accounts:` so all secrets are co-located in one cloud-synced file. The
254
+ * keys field replaces `preferences.jsonc.autocomplete.cloudApiKey` (which
255
+ * was tied to the *active* provider) so a user can set both Anthropic and
256
+ * OpenAI keys once and switch providers without re-entering anything. */
257
+ export interface AiKeys {
258
+ anthropic?: string;
259
+ openai?: string;
260
+ }
252
261
  export interface AutocompleteRequest {
253
262
  subject: string;
254
263
  to: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-types",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",