@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.
@@ -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 {
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cline/shared",
3
- "version": "0.0.95-nightly.1792463334",
3
+ "version": "0.2.0",
4
4
  "description": "Shared utilities, types, and schemas for Cline packages",
5
5
  "repository": {
6
6
  "type": "git",