shortcutxl 0.3.45 → 0.3.46

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 (77) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +3 -1
  3. package/dist/app/auth/auth-storage.d.ts +5 -1
  4. package/dist/app/prompts/mog-api-reference.json +11454 -11454
  5. package/dist/app/prompts/spreadjs-api-reference.json +552 -552
  6. package/dist/app/providers/register-shortcut-provider.d.ts +2 -0
  7. package/dist/app/providers/shortcut-auth-recovery.d.ts +10 -0
  8. package/dist/app/providers/shortcut-invoke.d.ts +2 -1
  9. package/dist/app/providers/shortcut-stream.d.ts +2 -1
  10. package/dist/app/session/forked-agent.d.ts +3 -0
  11. package/dist/cli.js +974 -973
  12. package/dist/shell/export-html/template.js +1796 -1796
  13. package/dist/shell/export-html/vendor/highlight.min.js +7725 -7725
  14. package/dist/shell/export-html/vendor/marked.min.js +1803 -1803
  15. package/dist/shell/interactive/interactive-actions.d.ts +1 -0
  16. package/dist/shell/interactive/interactive-mode.d.ts +1 -0
  17. package/dist/shell/keybindings.d.ts +1 -1
  18. package/dist/shell/theme/dark.json +88 -88
  19. package/dist/shell/theme/light.json +88 -88
  20. package/dist/shell/theme/theme-schema.json +340 -340
  21. package/dist/startup/subagent-bootstrap.d.ts +1 -0
  22. package/dist/tui/autocomplete.d.ts +78 -78
  23. package/dist/tui/autocomplete.js +616 -616
  24. package/dist/tui/components/box.d.ts +22 -22
  25. package/dist/tui/components/box.js +108 -108
  26. package/dist/tui/components/cancellable-loader.d.ts +22 -22
  27. package/dist/tui/components/cancellable-loader.js +35 -35
  28. package/dist/tui/components/editor.d.ts +205 -205
  29. package/dist/tui/components/editor.js +1733 -1733
  30. package/dist/tui/components/image.d.ts +34 -34
  31. package/dist/tui/components/image.js +73 -73
  32. package/dist/tui/components/input.d.ts +37 -37
  33. package/dist/tui/components/input.js +465 -465
  34. package/dist/tui/components/loader.d.ts +26 -26
  35. package/dist/tui/components/loader.js +49 -49
  36. package/dist/tui/components/markdown.d.ts +101 -101
  37. package/dist/tui/components/markdown.js +624 -624
  38. package/dist/tui/components/select-list.d.ts +32 -32
  39. package/dist/tui/components/select-list.js +158 -158
  40. package/dist/tui/components/settings-list.d.ts +57 -57
  41. package/dist/tui/components/settings-list.js +200 -200
  42. package/dist/tui/components/spacer.d.ts +12 -12
  43. package/dist/tui/components/spacer.js +23 -23
  44. package/dist/tui/components/text.d.ts +24 -24
  45. package/dist/tui/components/text.js +92 -92
  46. package/dist/tui/components/truncated-text.d.ts +13 -13
  47. package/dist/tui/components/truncated-text.js +51 -51
  48. package/dist/tui/editor-component.d.ts +39 -39
  49. package/dist/tui/editor-component.js +2 -2
  50. package/dist/tui/fuzzy.d.ts +20 -20
  51. package/dist/tui/fuzzy.js +105 -105
  52. package/dist/tui/get-east-asian-width/index.js +28 -28
  53. package/dist/tui/get-east-asian-width/lookup.js +406 -406
  54. package/dist/tui/index.d.ts +85 -85
  55. package/dist/tui/index.js +64 -64
  56. package/dist/tui/keybindings.d.ts +76 -76
  57. package/dist/tui/keybindings.js +111 -111
  58. package/dist/tui/keys.d.ts +263 -263
  59. package/dist/tui/keys.js +947 -947
  60. package/dist/tui/kill-ring.d.ts +31 -31
  61. package/dist/tui/kill-ring.js +42 -42
  62. package/dist/tui/skill-autocomplete.js +30 -30
  63. package/dist/tui/stdin-buffer.d.ts +48 -48
  64. package/dist/tui/stdin-buffer.js +312 -312
  65. package/dist/tui/terminal-image.d.ts +89 -89
  66. package/dist/tui/terminal-image.js +274 -274
  67. package/dist/tui/terminal.d.ts +78 -78
  68. package/dist/tui/terminal.js +242 -242
  69. package/dist/tui/tui.d.ts +230 -230
  70. package/dist/tui/tui.js +952 -952
  71. package/dist/tui/undo-stack.d.ts +17 -17
  72. package/dist/tui/undo-stack.js +25 -25
  73. package/dist/tui/utils.d.ts +106 -106
  74. package/dist/tui/utils.js +773 -773
  75. package/package.json +1 -1
  76. package/user-docs/dist/index.html +2 -2
  77. package/user-docs/dist/shortcutxl-docs.pdf +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.46]
4
+
5
+ - **`alt+m` to cycle modes** — New keyboard shortcut to cycle between Ask, Plan, and Action modes.
6
+ - **Automatic session recovery** — ShortcutXL now silently refreshes your token and retries when the session expires mid-run, instead of surfacing a "Session expired" error.
7
+
3
8
  ## [0.3.45]
4
9
 
5
10
  - **Preserve Excel calculation mode** — ShortcutXL no longer overrides Excel's calculation mode during code execution. If you have manual calculation enabled, it stays manual while Shortcut runs your code.
package/README.md CHANGED
@@ -7,9 +7,11 @@ An AI agent that lives on your computer and has Excel superpowers. Made by the [
7
7
  ### 1. Open Command Prompt or PowerShell and install Node.js
8
8
 
9
9
  ```bash
10
- winget install OpenJS.NodeJS.LTS
10
+ winget install OpenJS.NodeJS.LTS --source winget
11
11
  ```
12
12
 
13
+ Then close and reopen your terminal.
14
+
13
15
  ### 2. Install ShortcutXL
14
16
 
15
17
  ```bash
@@ -15,6 +15,10 @@ type LockResult<T> = {
15
15
  result: T;
16
16
  next?: string;
17
17
  };
18
+ export type GetApiKeyOptions = {
19
+ forceRefresh?: boolean;
20
+ rejectedApiKey?: string;
21
+ };
18
22
  export interface AuthStorageOptions {
19
23
  authPath?: string;
20
24
  externalCredentialStores?: ExternalAuthCredentialStore[];
@@ -165,7 +169,7 @@ export declare class AuthStorage {
165
169
  * 3. Environment variable
166
170
  * 4. Fallback resolver (models.json custom providers)
167
171
  */
168
- getApiKey(providerId: string): Promise<string | undefined>;
172
+ getApiKey(providerId: string, options?: GetApiKeyOptions): Promise<string | undefined>;
169
173
  }
170
174
  export {};
171
175
  //# sourceMappingURL=auth-storage.d.ts.map