@cline/shared 0.0.81 → 0.0.82-nightly.1788402687

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/agent.d.ts CHANGED
@@ -187,9 +187,12 @@ export type AgentModelFinishReason = "stop" | "tool-calls" | "max-tokens" | "abo
187
187
  * Coarse classification of a provider error, derived from the raw provider
188
188
  * error object before it is flattened into a display string. Shared by the
189
189
  * runtime's recovery policy and telemetry (`error_class`). Extend with new
190
- * classes (auth, rate_limit, billing, ...) as consumers need them.
190
+ * classes (rate_limit, billing, ...) as consumers need them.
191
+ *
192
+ * `auth`: the provider rejected the request's credentials (HTTP 401/403) —
193
+ * hosts should point the user at their API key configuration.
191
194
  */
192
- export type ProviderErrorClass = "context_window_exceeded" | "unknown";
195
+ export type ProviderErrorClass = "context_window_exceeded" | "auth" | "unknown";
193
196
  export type AgentModelEvent = {
194
197
  type: "text-delta";
195
198
  text: string;