tabby-agentdeck 1.2.3 → 1.2.4

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 CHANGED
@@ -5,6 +5,16 @@ The tag points at the commit that first introduced that version, and `test/tags.
5
5
 
6
6
  Korean release notes for the current version are at the top of [`docs/REFERENCE.ko.md`](docs/REFERENCE.ko.md).
7
7
 
8
+ ## 1.2.4 — 2026-09-30
9
+
10
+ - Stop launching Codex every minute for account checks. Refresh credentials only
11
+ near expiry and stop automatic checks after five minutes of failures until a
12
+ successful new login, for both Codex and Claude.
13
+ - Block Git network access in the temporary Codex authentication helper to avoid
14
+ repeated marketplace downloads and disk consumption.
15
+ - Bound mailbox hook execution time so stalled or trickling responses cannot
16
+ hold up the agent's tool hooks.
17
+
8
18
  ## 1.2.3 — 2026-09-30
9
19
 
10
20
  - Keep sidebar click targets alive during status updates so mouse tab switching
@@ -0,0 +1,13 @@
1
+ export declare const REFRESH_WINDOW_MS: number;
2
+ export declare const REFRESH_RETRY_MS = 60000;
3
+ export interface AccountRefreshState {
4
+ generation: string;
5
+ firstFailureAt?: number;
6
+ nextAttemptAt?: number;
7
+ blocked?: boolean;
8
+ }
9
+ export declare function accountRefreshState(home: string, now?: number): AccountRefreshState;
10
+ export declare function recordRefreshFailure(home: string, generation: string, now?: number): AccountRefreshState;
11
+ export declare function recordRefreshSuccess(home: string, generation: string): void;
12
+ /** Only a completed, identity-verified login resets a disabled account. */
13
+ export declare function resetAccountRefreshAfterLogin(home: string): void;
@@ -8,6 +8,7 @@ export interface QuotaSnapshot {
8
8
  export declare function registerAccountSource(account: SavedAccount, home?: string): void;
9
9
  /** Select only identity-checked credentials. A newer live CLI token wins over an old private copy. */
10
10
  export declare function synchronizeClaudeAuth(account: SavedAccount): string;
11
+ export declare function codexRefreshDeadline(auth: any): number;
11
12
  export declare function ensureAccountSession(account: SavedAccount, forceRefresh?: boolean): Promise<void>;
12
13
  export declare function cachedAccountQuotas(account: SavedAccount): QuotaSnapshot | null;
13
14
  export declare function recordAccountUsage(account: SavedAccount, meta: MetaInput & {
@@ -48,7 +48,7 @@ export declare function accountCliRoots(): string[];
48
48
  export declare function parseQuotas(provider: AccountProvider, body: any): AccountQuota[];
49
49
  /** The app-server snapshot omits model_usage, which currently reports Astra availability, not a percentage. */
50
50
  export declare function parseCodexUsage(body: any): AccountQuota[];
51
- export declare function authenticateAccount(account: SavedAccount): Promise<void>;
51
+ export declare function authenticateAccount(account: SavedAccount, refreshToken?: boolean): Promise<void>;
52
52
  export declare function fetchAccountQuotas(account: SavedAccount): Promise<AccountQuota[]>;
53
53
  export type LoginBrowser = (url: string, account: SavedAccount, cancel: () => void) => Promise<() => void>;
54
54
  /** First login is completed by the user; the saved authentication is reused afterwards. */