@cline/shared 0.0.95-nightly.1792463334 → 0.2.0
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 +22 -1
- package/dist/hub.d.ts +3 -2
- package/dist/index.browser.js +2 -2
- package/dist/index.js +22 -22
- package/dist/rpc/runtime.d.ts +3 -0
- package/dist/tools/create.d.ts +2 -0
- package/package.json +1 -1
package/dist/rpc/runtime.d.ts
CHANGED
|
@@ -377,6 +377,9 @@ export type ClineAccountActionRequest = {
|
|
|
377
377
|
} | {
|
|
378
378
|
action: "clineAccount";
|
|
379
379
|
operation: "fetchFeaturebaseToken";
|
|
380
|
+
} | {
|
|
381
|
+
action: "clineAccount";
|
|
382
|
+
operation: "fetchCurrentUserPlan";
|
|
380
383
|
};
|
|
381
384
|
export type ProviderActionRequest = ProviderSettingsActionRequest | ClineAccountActionRequest;
|
|
382
385
|
export interface ProviderOAuthLoginResponse {
|
package/dist/tools/create.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare function createTool<TInput, TOutput>(config: {
|
|
|
6
6
|
description: string;
|
|
7
7
|
inputSchema: Record<string, unknown>;
|
|
8
8
|
execute: (input: TInput, context: AgentToolContext) => Promise<TOutput>;
|
|
9
|
+
successContext?: string;
|
|
9
10
|
lifecycle?: AgentTool<TInput, TOutput>["lifecycle"];
|
|
10
11
|
executionMode?: AgentTool["executionMode"];
|
|
11
12
|
timeoutMs?: number;
|
|
@@ -18,6 +19,7 @@ export declare function createTool<TSchema extends z.ZodTypeAny, TOutput>(config
|
|
|
18
19
|
description: string;
|
|
19
20
|
inputSchema: TSchema;
|
|
20
21
|
execute: (input: z.infer<TSchema>, context: AgentToolContext) => Promise<TOutput>;
|
|
22
|
+
successContext?: string;
|
|
21
23
|
lifecycle?: AgentTool<z.infer<TSchema>, TOutput>["lifecycle"];
|
|
22
24
|
executionMode?: AgentTool["executionMode"];
|
|
23
25
|
timeoutMs?: number;
|