@bunizao/contracts 0.26.0 → 0.27.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/dist/desk.d.ts +7 -0
- package/package.json +1 -1
package/dist/desk.d.ts
CHANGED
|
@@ -58,12 +58,19 @@ export interface DeskWeather {
|
|
|
58
58
|
/** Daylight at the place right now. */
|
|
59
59
|
day: boolean;
|
|
60
60
|
}
|
|
61
|
+
/** The owner's AI coding, as the public tokens.ci profile counts it. */
|
|
62
|
+
export interface DeskTokens {
|
|
63
|
+
/** Tokens through Claude Code and Codex over the last seven UTC days, today's so far included; cache reads count. */
|
|
64
|
+
week: number;
|
|
65
|
+
}
|
|
61
66
|
/** Response of GET DESK_PATH. Fields are only ever added. */
|
|
62
67
|
export interface DeskNow {
|
|
63
68
|
presence: DeskPresence;
|
|
64
69
|
place: DeskPlace;
|
|
65
70
|
/** Null when the weather source is unavailable. */
|
|
66
71
|
weather: DeskWeather | null;
|
|
72
|
+
/** Null when tokens.ci is unavailable. */
|
|
73
|
+
tokens: DeskTokens | null;
|
|
67
74
|
}
|
|
68
75
|
/** Close code the live socket uses when it is full; poll instead. */
|
|
69
76
|
export declare const DESK_LIVE_FULL_CLOSE_CODE = 1013;
|