File size: 4,476 Bytes
f76c374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
export { hasAnsi, sanitizeAnsiForRender, stripAnsi } from './ansi'
export { backendScopeKey, backendScopePrefix, LOCAL_CONNECTION_ID, registryBackendScopeKey } from './backend-scope'
export {
  BILLING_REFUSAL_POLICY,
  type BillingRecovery,
  type BillingRefusalPolicy,
  refusalPolicy
} from './billing-policy'
export type {
  BillingAutoReload,
  BillingCardInfo,
  BillingChargeResponse,
  BillingChargeStatusResponse,
  BillingErrorPayload,
  BillingMonthlyCap,
  BillingMutationResponse,
  BillingPaymentMethod,
  BillingRefusalCode,
  BillingStateResponse,
  ChargeFailureReason,
  KnownBillingRefusalCode,
  KnownChargeFailureReason,
  SubscriptionPreviewResponse,
  SubscriptionStateResponse,
  SubscriptionTierOption,
  SubscriptionUpgradeResponse,
  UsageBarData,
  UsageModelData
} from './billing-types'
export {
  driveChargeSettlement,
  SETTLEMENT_MAX_RETRY_AFTER_MS,
  SETTLEMENT_POLL_CAP_MS,
  SETTLEMENT_POLL_INTERVAL_MS,
  type SettlementDeps,
  type SettlementOutcome
} from './charge-settlement'
export {
  contrastRatio,
  darken,
  ensureContrast,
  lighten,
  mix,
  parseColor,
  readableOn,
  relativeLuminance,
  type Rgb,
  toHex
} from './color'
export {
  createCronTriggerController,
  type CronTriggerController,
  type CronTriggerRunResult
} from './cron-trigger-controller'
export {
  clampDataUrlReadMaxMb,
  DATA_URL_READ_DEFAULT_MAX_MB,
  DATA_URL_READ_MAX_MAX_MB,
  DATA_URL_READ_MIN_MAX_MB
} from './data-url-read-max'
export { compactNumber } from './format'
export { type FuzzyMatch, fuzzyRank, fuzzyScore, fuzzyScoreMulti, type RankedItem } from './fuzzy'
export * from './gateway-events'
export {
  applyDocumentLocale,
  type EndonymLocale,
  isRecord,
  LOCALE_ENDONYMS,
  mergeTranslations,
  RTL_LOCALES,
  type TranslationOverride
} from './i18n'
export {
  DEFAULT_HEARTBEAT_DEADLINE_MS,
  DEFAULT_HEARTBEAT_INTERVAL_MS,
  type GatewayRequestId,
  JSON_RPC_METHOD_NOT_FOUND,
  jsonRpcErrorFromFrame,
  type JsonRpcErrorPayload,
  type JsonRpcFrame,
  JsonRpcGatewayError,
  JsonRpcRequestChannel,
  type JsonRpcRequestChannelOptions,
  type JsonRpcTransport,
  type ServerRequest,
  type ServerRequestHandler,
  type ServerRequestParams,
  wireFrameText
} from './json-rpc-channel'
export {
  type ConnectionState,
  type GatewayClientOptions,
  GatewayEventHub,
  isGatewayWebSocketUrl,
  JsonRpcGatewayClient,
  type WebSocketLike
} from './json-rpc-gateway'
export { modelSearchText } from './model-search-text'
export {
  DEFAULT_REASONING_EFFORT,
  isReasoningEffort,
  REASONING_EFFORT_VALUES,
  REASONING_EFFORTS,
  type ReasoningEffort,
  type ReasoningEffortValue
} from './reasoning-effort'
export { reconnectBackoffDelayMs, type ReconnectBackoffOptions } from './reconnect-backoff'
export { skillInvocationText } from './skill-scaffold'
export {
  type HermesSkin,
  SKIN_BRANDING_TOKENS,
  SKIN_COLOR_TOKENS,
  type SkinBranding,
  type SkinBrandingToken,
  type SkinColors,
  type SkinColorToken
} from './skin'
export {
  type AliasCommandDispatchResponse,
  type CommandDispatchResponse,
  type ExecCommandDispatchResponse,
  looksLikeSlashCommand,
  parseCommandDispatch,
  type ParsedSlashCommand,
  parseSlashCommand,
  type PrefillCommandDispatchResponse,
  type SendCommandDispatchResponse,
  type SkillCommandDispatchResponse,
  SLASH_COMMAND_RE
} from './slash'
export {
  THEME_PRESET_PALETTES,
  type ThemePresetColors,
  type ThemePresetName,
  type ThemePresetPalette
} from './theme-presets'
export {
  backgroundMaterialFor,
  clampIntensity,
  DEFAULT_GLASS_MATERIAL,
  DEFAULT_GLASS_SCOPE,
  GLASS_MATERIALS,
  GLASS_SCOPES,
  glassActive,
  type GlassMaterial,
  glassMaterialForPicker,
  glassMaterialsFor,
  type GlassScope,
  glassSupportedOn,
  glassSurfaceKeep,
  normalizeMaterial,
  normalizeMode,
  normalizeScope,
  normalizeState,
  TRANSLUCENCY_CURVE,
  TRANSLUCENCY_MAX,
  TRANSLUCENCY_MIN,
  TRANSLUCENCY_OPACITY_FLOOR,
  TRANSLUCENCY_STEP,
  type TranslucencyMode,
  type TranslucencyState,
  translucencySupportedOn,
  vibrancyFor,
  windowOpacityFor,
  WINDOWS_BACKGROUND_MATERIALS,
  WINDOWS_GLASS_MIN_BUILD,
  type WindowsBackgroundMaterial
} from './translucency'
export {
  buildHermesWebSocketUrl,
  type GatewayAuthMode,
  GatewayReauthRequiredError,
  type GatewayWsConnection,
  type GatewayWsUrlResult,
  type HermesWebSocketUrlOptions,
  isGatewayReauthRequired,
  resolveGatewayWsUrl,
  type ResolveGatewayWsUrlDeps,
  type WebSocketAuthParam
} from './websocket-url'