@cline/core 0.0.52-nightly.1782444026 → 0.0.53
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/account/cline-account-service.d.ts +4 -1
- package/dist/account/index.d.ts +1 -1
- package/dist/account/types.d.ts +13 -0
- package/dist/hub/daemon/entry.js +211 -199
- package/dist/hub/index.js +208 -196
- package/dist/index.d.ts +7 -1
- package/dist/index.js +210 -198
- package/dist/services/marketplace.d.ts +41 -0
- package/dist/services/mcp-install.d.ts +26 -0
- package/dist/services/plugin-install.d.ts +52 -0
- package/dist/settings/types.d.ts +2 -0
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ClineAccountBalance, ClineAccountOrganization, ClineAccountOrganizationBalance, ClineAccountOrganizationUsageTransaction, ClineAccountPaymentTransaction, ClineAccountUsageTransaction, ClineAccountUser, ClineOrganization, FeaturebaseTokenResponse, UserRemoteConfigResponse } from "./types";
|
|
1
|
+
import type { ClineAccountBalance, ClineAccountOrganization, ClineAccountOrganizationBalance, ClineAccountOrganizationUsageTransaction, ClineAccountPaymentTransaction, ClineAccountUsageTransaction, ClineAccountUser, ClineOrganization, ClineSubscriptionPlan, FeaturebaseTokenResponse, UserRemoteConfigResponse } from "./types";
|
|
2
2
|
export interface ClineAccountServiceOptions {
|
|
3
3
|
apiBaseUrl: string;
|
|
4
4
|
getAuthToken: () => Promise<string | undefined | null>;
|
|
@@ -24,6 +24,9 @@ export declare class ClineAccountService {
|
|
|
24
24
|
fetchUsageTransactions(userId?: string): Promise<ClineAccountUsageTransaction[]>;
|
|
25
25
|
fetchPaymentTransactions(userId?: string): Promise<ClineAccountPaymentTransaction[]>;
|
|
26
26
|
fetchUserOrganizations(): Promise<ClineAccountOrganization[]>;
|
|
27
|
+
fetchAvailableSubscriptionPlans(input?: {
|
|
28
|
+
type?: "individual" | "teams";
|
|
29
|
+
}): Promise<ClineSubscriptionPlan[]>;
|
|
27
30
|
fetchOrganization(organizationId: string): Promise<ClineOrganization>;
|
|
28
31
|
fetchOrganizationBalance(organizationId: string): Promise<ClineAccountOrganizationBalance>;
|
|
29
32
|
fetchOrganizationUsageTransactions(input: {
|
package/dist/account/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { ClineAccountService, type ClineAccountServiceOptions, } from "./cline-account-service";
|
|
2
2
|
export { type ClineAccountOperations, executeClineAccountAction, isClineAccountActionRequest, type ProviderActionExecutor, RpcClineAccountService, } from "./rpc";
|
|
3
|
-
export type { ClineAccountBalance, ClineAccountOrganization, ClineAccountOrganizationBalance, ClineAccountOrganizationUsageTransaction, ClineAccountPaymentTransaction, ClineAccountUsageTransaction, ClineAccountUser, ClineOrganization, FeaturebaseTokenResponse, UserRemoteConfigOrganization, UserRemoteConfigResponse, } from "./types";
|
|
3
|
+
export type { ClineAccountBalance, ClineAccountOrganization, ClineAccountOrganizationBalance, ClineAccountOrganizationUsageTransaction, ClineAccountPaymentTransaction, ClineAccountUsageTransaction, ClineAccountUser, ClineOrganization, ClineSubscriptionPlan, FeaturebaseTokenResponse, UserRemoteConfigOrganization, UserRemoteConfigResponse, } from "./types";
|
package/dist/account/types.d.ts
CHANGED
|
@@ -73,6 +73,19 @@ export interface ClineAccountOrganizationBalance {
|
|
|
73
73
|
export interface FeaturebaseTokenResponse {
|
|
74
74
|
featurebaseJwt: string;
|
|
75
75
|
}
|
|
76
|
+
export interface ClineSubscriptionPlan {
|
|
77
|
+
displayName?: string;
|
|
78
|
+
features?: {
|
|
79
|
+
included?: string[];
|
|
80
|
+
[key: string]: unknown;
|
|
81
|
+
};
|
|
82
|
+
id?: string;
|
|
83
|
+
interval?: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
pricePerSeatCents?: number;
|
|
86
|
+
type?: string;
|
|
87
|
+
[key: string]: unknown;
|
|
88
|
+
}
|
|
76
89
|
export interface ClineAccountOrganizationUsageTransaction {
|
|
77
90
|
aiInferenceProviderName: string;
|
|
78
91
|
aiModelName: string;
|