@cline/shared 0.0.81 → 0.0.82-nightly.1788488915
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 +5 -2
- package/dist/automation/index.js +38 -46
- package/dist/db/index.js +10 -10
- package/dist/feature-flags.d.ts +2 -0
- package/dist/hub.d.ts +21 -1
- package/dist/index.browser.d.ts +3 -3
- package/dist/index.browser.js +21 -21
- package/dist/index.d.ts +3 -3
- package/dist/index.js +80 -88
- package/dist/llms/model-info.d.ts +10 -0
- package/dist/llms/tools.d.ts +14 -0
- package/dist/prompt/format.d.ts +4 -0
- package/dist/remote-config/index.js +45 -53
- package/dist/rpc/runtime.d.ts +8 -0
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/storage/paths.d.ts +41 -0
- package/dist/team/schema.d.ts +37 -37
- package/package.json +1 -1
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 (
|
|
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;
|