shortcutxl 0.3.46 → 0.3.47
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 +5 -0
- package/dist/app/credits/credit-gate.d.ts +9 -0
- package/dist/cli.js +724 -724
- package/dist/shell/interactive/interactive-mode.d.ts +2 -0
- package/dist/shell/print-mode.d.ts +6 -0
- package/package.json +4 -1
- package/user-docs/dist/index.html +1 -1
- 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.47]
|
|
4
|
+
|
|
5
|
+
- **GPT-5.5** — Upgraded the OpenAI reasoning model from GPT-5.4 to GPT-5.5 (400K context window, stronger reasoning).
|
|
6
|
+
- **Out-of-credits message** — When your credit balance runs out, ShortcutXL now shows a clear message instead of silently failing.
|
|
7
|
+
|
|
3
8
|
## [0.3.46]
|
|
4
9
|
|
|
5
10
|
- **`alt+m` to cycle modes** — New keyboard shortcut to cycle between Ask, Plan, and Action modes.
|
|
@@ -9,6 +9,7 @@ export interface CreditCheckResult {
|
|
|
9
9
|
hasCredits: boolean;
|
|
10
10
|
creditsRemaining: number;
|
|
11
11
|
isUnlimited: boolean;
|
|
12
|
+
hasTeamBilling: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare class CreditGate {
|
|
14
15
|
private cachedResult;
|
|
@@ -16,6 +17,14 @@ export declare class CreditGate {
|
|
|
16
17
|
private readonly ttlMs;
|
|
17
18
|
constructor(ttlMs?: number);
|
|
18
19
|
check(accessToken: string): Promise<CreditCheckResult>;
|
|
20
|
+
/** Returns the cached result if still within TTL, null otherwise. */
|
|
21
|
+
getCached(): CreditCheckResult | null;
|
|
22
|
+
/** Populate the cache from an already-fetched balance (e.g. from polling). */
|
|
23
|
+
populate(balance: {
|
|
24
|
+
creditsRemaining: number;
|
|
25
|
+
isUnlimited: boolean;
|
|
26
|
+
hasTeamBilling: boolean;
|
|
27
|
+
}): void;
|
|
19
28
|
invalidate(): void;
|
|
20
29
|
}
|
|
21
30
|
//# sourceMappingURL=credit-gate.d.ts.map
|