@cline/shared 0.0.82 → 0.0.83
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 +8 -0
- package/dist/agents/types.d.ts +12 -0
- package/dist/automation/index.js +40 -35
- package/dist/db/index.js +7 -7
- package/dist/extensions/context.d.ts +3 -1
- package/dist/feature-flags.d.ts +2 -0
- package/dist/hub.d.ts +10 -0
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +31 -26
- package/dist/index.d.ts +3 -3
- package/dist/index.js +78 -68
- package/dist/llms/gateway.d.ts +2 -0
- package/dist/llms/model-info.d.ts +12 -0
- package/dist/parse/shell.d.ts +9 -0
- package/dist/prompt/system/act.d.ts +1 -0
- package/dist/prompt/{system.d.ts → system/index.d.ts} +4 -1
- package/dist/prompt/system/yolo.d.ts +1 -0
- package/dist/remote-config/index.js +47 -42
- package/dist/rpc/runtime.d.ts +3 -1
- package/dist/services/telemetry.d.ts +21 -0
- package/dist/storage/index.js +1 -1
- package/dist/storage/paths.d.ts +5 -4
- package/package.json +1 -1
package/dist/agent.d.ts
CHANGED
|
@@ -234,6 +234,14 @@ export type AgentModelEvent = {
|
|
|
234
234
|
reason: AgentModelFinishReason;
|
|
235
235
|
error?: string;
|
|
236
236
|
errorClass?: ProviderErrorClass;
|
|
237
|
+
/**
|
|
238
|
+
* Whether the underlying provider error was transient and worth
|
|
239
|
+
* retrying, decided at the model boundary from the AI SDK's typed
|
|
240
|
+
* `isRetryable` flag while the structured error is still in hand
|
|
241
|
+
* (`error` is a flattened string, so the agent loop cannot re-derive
|
|
242
|
+
* this). When absent, the agent loop classifies from the message.
|
|
243
|
+
*/
|
|
244
|
+
errorRetryable?: boolean;
|
|
237
245
|
/**
|
|
238
246
|
* The model layer already recorded `sdk.error` telemetry for this
|
|
239
247
|
* failure at its own error boundary. `error` is a flattened string,
|
package/dist/agents/types.d.ts
CHANGED
|
@@ -662,6 +662,12 @@ export declare const AgentResultSchema: z.ZodObject<{
|
|
|
662
662
|
family: z.ZodOptional<z.ZodString>;
|
|
663
663
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
664
664
|
reasoningDefaultOn: z.ZodOptional<z.ZodBoolean>;
|
|
665
|
+
apiProtocol: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
"openai-responses": "openai-responses";
|
|
667
|
+
"openai-chat": "openai-chat";
|
|
668
|
+
anthropic: "anthropic";
|
|
669
|
+
gemini: "gemini";
|
|
670
|
+
}>>;
|
|
665
671
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
666
672
|
}, z.core.$strip>>;
|
|
667
673
|
}, z.core.$strip>;
|
|
@@ -967,6 +973,12 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
967
973
|
family: z.ZodOptional<z.ZodString>;
|
|
968
974
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
969
975
|
reasoningDefaultOn: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
apiProtocol: z.ZodOptional<z.ZodEnum<{
|
|
977
|
+
"openai-responses": "openai-responses";
|
|
978
|
+
"openai-chat": "openai-chat";
|
|
979
|
+
anthropic: "anthropic";
|
|
980
|
+
gemini: "gemini";
|
|
981
|
+
}>>;
|
|
970
982
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
971
983
|
}, z.core.$strip>>>;
|
|
972
984
|
providerConfig: z.ZodOptional<z.ZodUnknown>;
|