@tavora/sdk / LIMITS
Variable: LIMITS
constLIMITS:object
Defined in: packages/sdk/src/protocol.ts:1213
Type Declaration
aiUsageMinReadMs
readonlyaiUsageMinReadMs:60000=60_000
How often Tavora reads one AI account at most, for every module together; asking sooner gives the last reading.
aiUsageTimeoutMs
readonlyaiUsageTimeoutMs:40000=40_000
How long one aiUsage.read may take; the Codex command line can be slow to start.
discordTimeoutMs
readonlydiscordTimeoutMs:15000=15_000
How long one discord.command may take; a slower answer is no-answer.
maxBlobBytes
readonlymaxBlobBytes:number
One stored file (see Blobs).
maxBlobsBytes
readonlymaxBlobsBytes:number
All stored files of one module in one workspace.
maxClipboardImageBytes
readonlymaxClipboardImageBytes:number
A PNG a module puts on the clipboard.
maxContentIdLength
readonlymaxContentIdLength:200=200
A panel content's id (panel.setContent); its title has maxTitleLength.
maxDiscordAnswerBytes
readonlymaxDiscordAnswerBytes:number
Largest Discord answer or event passed on, as JSON; a larger one is no-answer (or dropped, for an event).
maxDiscordSubscriptions
readonlymaxDiscordSubscriptions:32=32
Discord events one panel may subscribe to at once.
maxDocumentBytes
readonlymaxDocumentBytes:number
One document's data.
maxDocuments
readonlymaxDocuments:1000=1000
maxDocumentsBytes
readonlymaxDocumentsBytes:number
All documents of one module in one workspace.
maxGameOverlays
readonlymaxGameOverlays:8=8
Game overlays (overlay.showOverGame) one game may have at once.
maxHotkeyLabel
readonlymaxHotkeyLabel:60=60
Characters of the label hotkeys.set shows for its target.
maxHotkeys
readonlymaxHotkeys:100=100
Hotkeys one module may have in one workspace.
maxInFlight
readonlymaxInFlight:64=64
Requests a module may have waiting at once.
maxKeyLength
readonlymaxKeyLength:256=256
maxLeaderboardResults
readonlymaxLeaderboardResults:50=50
Results one leaderboards.submit may send.
maxLeaderboardRows
readonlymaxLeaderboardRows:100=100
Lines one leaderboards.top gives at most.
maxMenuEntries
readonlymaxMenuEntries:100=100
Entries in one menu, submenus included.
maxMenuHint
readonlymaxMenuHint:30=30
Characters of the hint on the right of a menu item, such as a shortcut.
maxMenuLabel
readonlymaxMenuLabel:80=80
Characters of a menu label or heading.
maxMessageBytes
readonlymaxMessageBytes:number
Largest serialized request the host accepts.
maxNetworkInFlight
readonlymaxNetworkInFlight:6=6
network.fetch calls one panel may have running at once; more fail with BAD_REQUEST.
maxNetworkRedirects
readonlymaxNetworkRedirects:5=5
Redirects one network.fetch follows; each must go to a granted host.
maxNetworkResponseBytes
readonlymaxNetworkResponseBytes:number
The body of one network.fetch answer, before any base64. A longer answer fails with QUOTA_EXCEEDED.
maxOverlays
readonlymaxOverlays:200=200
Overlays one module may have in one workspace; publishing more fails with QUOTA_EXCEEDED.
maxOverlaySourceName
readonlymaxOverlaySourceName:100=100
Characters of the name of one of them.
maxOverlaySources
readonlymaxOverlaySources:64=64
Entries in one panel's overlay.setSources list.
maxOverlayStateBytes
readonlymaxOverlayStateBytes:number
What one overlay shows (overlay.publish), as JSON.
maxPanelStateBytes
readonlymaxPanelStateBytes:number
UI state for one panel.
maxStoreBytes
readonlymaxStoreBytes:number
Settings storage per module and workspace.
maxTitleLength
readonlymaxTitleLength:200=200
navigateTimeoutMs
readonlynavigateTimeoutMs:5000=5_000
How long a panel has to save and switch after a panel.navigate event before Tavora counts it as failed.
networkTimeoutMs
readonlynetworkTimeoutMs:15000=15_000
How long one network.fetch may take, redirects included.
pageTimeoutMs
readonlypageTimeoutMs:30000=30_000
Deadline for an isolated page import, including cleanup.