@teambit/cli-mcp-server 0.0.42 → 0.0.44
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/cli-mcp-server.main.runtime.d.ts +1 -1
- package/dist/cli-mcp-server.main.runtime.js +12 -59
- package/dist/cli-mcp-server.main.runtime.js.map +1 -1
- package/dist/{preview-1752574266256.js → preview-1752691461588.js} +1 -1
- package/package.json +5 -4
- package/bit-rules-consumer-template.md +0 -11
- package/bit-rules-template.md +0 -115
- package/dist/bit-rules-consumer-template.md +0 -11
- package/dist/bit-rules-template.md +0 -115
- package/dist/setup-utils.d.ts +0 -122
- package/dist/setup-utils.js +0 -613
- package/dist/setup-utils.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/cli-mcp-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/mcp/cli-mcp-server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.mcp",
|
|
8
8
|
"name": "cli-mcp-server",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.44"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"comment-json": "4.2.5",
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
"lodash": "4.17.21",
|
|
19
19
|
"chalk": "4.1.2",
|
|
20
20
|
"@teambit/harmony": "0.4.7",
|
|
21
|
-
"@teambit/cli": "0.0.
|
|
21
|
+
"@teambit/cli": "0.0.1229",
|
|
22
22
|
"@teambit/legacy.constants": "0.0.12",
|
|
23
|
-
"@teambit/logger": "0.0.
|
|
23
|
+
"@teambit/logger": "0.0.1322",
|
|
24
|
+
"@teambit/mcp.mcp-config-writer": "0.0.1",
|
|
24
25
|
"@teambit/scope.network": "0.0.55"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
applyTo: '**'
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## How to Install and Use Bit Components
|
|
6
|
-
|
|
7
|
-
- Bit Components are reusable pieces of code in the form of node packages.
|
|
8
|
-
- Search for Bit Components using `bit_remote_search` tool.
|
|
9
|
-
- Use `bit_remote_component_details` only on Bit Components to get information like package name (to use when installing, e.g. `npm install <package-name>`), APIs and documentation (to use when using in code).
|
|
10
|
-
- If a user is requesting functionality, you can search if there are available components that implement it using `bit_remote_search`.
|
|
11
|
-
- Filter my search with my account name "ACCOUNT" to find components you have created or are a maintainer of.
|
package/bit-rules-template.md
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
applyTo: '**'
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Bit MCP Agent Instructions
|
|
6
|
-
|
|
7
|
-
## Core Objectives
|
|
8
|
-
|
|
9
|
-
- Your goal is to efficiently automate Bit workflows and help users manage and reuse components.
|
|
10
|
-
- You will achieve this by using the provided MCP tools and adhering strictly to the following rules and workflows.
|
|
11
|
-
|
|
12
|
-
## Core Philosophy for Building with Bit
|
|
13
|
-
|
|
14
|
-
- **Deconstruct to Compose:** Build applications by composing independent and reusable components, with each component being developed, tested, and versioned in isolation.
|
|
15
|
-
- **Autonomous Components:** Use the Bit MCP to make these components truly autonomous, allowing them to be managed and shared from any codebase without being coupled to a specific project's architecture.
|
|
16
|
-
- **Scalable Collaboration:** The ultimate goal is to create a shared "component economy" where teams can collaborate, accelerate development, and ensure consistency by assembling applications from this distributed system of components.
|
|
17
|
-
|
|
18
|
-
## Critical Rules of Engagement - do these steps before any tool or command execution!!!
|
|
19
|
-
|
|
20
|
-
1. **Use Up-to-Date Information(MANDATORY):** ALWAYS start any task by using `bit_workspace_info` to understand the current state of the workspace (list components, templates, dependencies, etc).
|
|
21
|
-
2. **MCP Tools First:** You MUST use the provided MCP tools to interact with Bit. Do NOT run commands directly in a terminal shell, with a few specific exceptions.
|
|
22
|
-
3. **Do not rely on cached knowledge:** Always run `bit_commands_list` and `bit_command_help` for command details.
|
|
23
|
-
4. **Prefer using Bit:** Every time you want to operate in this project (editing code, creating new code, etc), consider using any of the Bit MCP tools or Bit CLI commands to do so.
|
|
24
|
-
|
|
25
|
-
## Core Principles of Building with Bit
|
|
26
|
-
|
|
27
|
-
- **Reuse Before Creating or Modifying(MANDATORY):** Before creating _any_ new component or modify _any_ file, you MUST first search for existing components.
|
|
28
|
-
- Use `bit_workspace_info` to check for local and existing components.
|
|
29
|
-
- Use `bit_remote_search` to find components on the remote scope.
|
|
30
|
-
- Present findings to the user, even if you think creating a new component is simpler.
|
|
31
|
-
- **No Relative Imports To Components:** Always import a component using the package name, so it is used through `node_modules`.
|
|
32
|
-
- You should always aim to code APIs in the dependent component and use them in the dependency (e.g. in React, aim to have prop-types instead of always passing children to be rendered in a dependency).
|
|
33
|
-
|
|
34
|
-
## Tooling & Command Execution Hierarchy
|
|
35
|
-
|
|
36
|
-
This is the decision-making process for executing any Bit operation.
|
|
37
|
-
|
|
38
|
-
### Step 1: Choose the Correct Generic Execution Tool
|
|
39
|
-
|
|
40
|
-
- If no dedicated tool exists, you must use one of the generic execution tools. Use the `bit_commands_list` output to help you decide:
|
|
41
|
-
- **For Read-Only Operations, use `bit_query`**: Use this for operations that inspect state but do not change the workspace.
|
|
42
|
-
- **For Write Operations, use `bit_execute`**: Use this for operations that modify the workspace, components, or dependencies.
|
|
43
|
-
|
|
44
|
-
### Step 2: Check for Terminal Exceptions
|
|
45
|
-
|
|
46
|
-
- The following commands have rich, interactive, or streaming output and should be run directly in the user's terminal. You should construct the command and advise the user to run it.
|
|
47
|
-
- `bit test`
|
|
48
|
-
- `bit build`
|
|
49
|
-
- `bit start` (long-running processes)
|
|
50
|
-
- `bit watch` (long-running processes)
|
|
51
|
-
- `bit lint`
|
|
52
|
-
- `bit check-types`
|
|
53
|
-
- `bit run` (long-running processes)
|
|
54
|
-
- any command when `--build` flag is used. (build can take long)
|
|
55
|
-
|
|
56
|
-
## Core Workflows
|
|
57
|
-
|
|
58
|
-
### Workflow: Error Diagnosis in a Bit Workspace
|
|
59
|
-
|
|
60
|
-
- `bit_workspace_info` with the "warnings" option to detect errors. Output includes possible solutions, follow them.
|
|
61
|
-
- Rerun `bit_workspace_info` to validate fixes. If error persists, use `bit_component_details` on relevant component(s) for more information.
|
|
62
|
-
|
|
63
|
-
### Workflow: In-Component Code Issues
|
|
64
|
-
|
|
65
|
-
- For code issues (compile, lint, test, type checking), run the relevant terminal command and pass the component ID (e.g. `bit test COMPONENT_ID`).
|
|
66
|
-
- To get complete report for code issues on all components, do not provide component ID (e.g. `bit test`).
|
|
67
|
-
- Adding `--log` CLI option gives more details on errors.
|
|
68
|
-
|
|
69
|
-
### Workflow: Generating New Components, Feature or Apps
|
|
70
|
-
|
|
71
|
-
- **Follow Core Principle #1 Reuse Before Creating or Modifying.**
|
|
72
|
-
- `bit_workspace_info` lists templates for new components.
|
|
73
|
-
- If a new component is necessary, clarify the TEMPLATE and combination of NAMESPACE(s) (optional) and NAME with the user.
|
|
74
|
-
- Run `bit_component_details` on new components gives information on them, this is useful for making code changes or composing the component into another (as a dependency).
|
|
75
|
-
- After generating a new component or app, ask the user what they want to be implemented in the new component or app.
|
|
76
|
-
|
|
77
|
-
### Workflow: Adding Functionality (feature, page, module, function, etc) to Bit Components and Apps
|
|
78
|
-
|
|
79
|
-
- **Follow Critical Principle #1 Reuse Before Creating or Modifying.**
|
|
80
|
-
- If a potentially reusable component is found, use it as a dependency in the component you want to modify.
|
|
81
|
-
**Hint:** use `bit_component_details` to get API references and documentation.
|
|
82
|
-
**Follow Critical Principle #2 No Relative Imports Between Components**.
|
|
83
|
-
- After modifying component implementation, always consider updating the following component files `*.composition.*`, `*.docs.mdx`, `*.spec.*`.
|
|
84
|
-
|
|
85
|
-
### Workflow: USE or DEVELOP a Component
|
|
86
|
-
|
|
87
|
-
- Use `bit_component_details` to get the component location.
|
|
88
|
-
- If the component is not in the workspace, and you want to USE it as a dependency, you must first install it (then you can infer to it by its package name).
|
|
89
|
-
- If the component is not in the workspace, and you want to DEVELOP it (modify its source), you must first import it.
|
|
90
|
-
|
|
91
|
-
### Workflow: Collaboration, Change Management and Version Control
|
|
92
|
-
|
|
93
|
-
- Bit uses a concept called "Lanes" to manage changes across components, this is similar to Git branches.
|
|
94
|
-
- Use `bit_workspace_info` to identify the current active lane.
|
|
95
|
-
- You must not snap or export components directly to the `main` lane.
|
|
96
|
-
- Use `bit_execute` for "Bit Lane" commands.
|
|
97
|
-
- If not already on a suitable development lane, suggest a name for the new lane to be created and validate with the user.
|
|
98
|
-
- The workspace automatically switches to a new lane once created.
|
|
99
|
-
- It is good practice to validate code before taking a snapshot (`bit lint`, `bit test`, `bit check-types`).
|
|
100
|
-
- Take a snapshot of all components with a relevant message (similar to `git commit`).
|
|
101
|
-
- Export the snap to the remote scope for review and collaboration (similar to `git push`).
|
|
102
|
-
|
|
103
|
-
## Glossary
|
|
104
|
-
|
|
105
|
-
- **Bit Component:** An extensible, portable software container. Bit Component can be anything from basic UI component, utility, feature, page or an app. Bit Component may depend on other Bit components or packages to form more complex functionality.
|
|
106
|
-
- **Workspace:** A Bit-initialized directory containing components.
|
|
107
|
-
- **Scope:** A collaboration server for components that defines ownership.
|
|
108
|
-
- **Application (App):** A Bit Component with its own runtime. It is usually composed from various features and components.
|
|
109
|
-
- **Development Environment (Env):** A component that bundles development tools (compiler, tester, etc.).
|
|
110
|
-
- **Lane:** A mechanism for managing and releasing modifications across components. `main` is the default lane. Lane is similar in concept to a Git Branch.
|
|
111
|
-
|
|
112
|
-
## Pointers to remember:
|
|
113
|
-
|
|
114
|
-
- For generating ESlint or TypeScript configuration files execute the command `bit ws-config write --clean`
|
|
115
|
-
- User may use different terms to describe components. Be flexible and understand that users may refer to components as "features", "apps", "modules", "pages" or "services".
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
applyTo: '**'
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## How to Install and Use Bit Components
|
|
6
|
-
|
|
7
|
-
- Bit Components are reusable pieces of code in the form of node packages.
|
|
8
|
-
- Search for Bit Components using `bit_remote_search` tool.
|
|
9
|
-
- Use `bit_remote_component_details` only on Bit Components to get information like package name (to use when installing, e.g. `npm install <package-name>`), APIs and documentation (to use when using in code).
|
|
10
|
-
- If a user is requesting functionality, you can search if there are available components that implement it using `bit_remote_search`.
|
|
11
|
-
- Filter my search with my account name "ACCOUNT" to find components you have created or are a maintainer of.
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
applyTo: '**'
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Bit MCP Agent Instructions
|
|
6
|
-
|
|
7
|
-
## Core Objectives
|
|
8
|
-
|
|
9
|
-
- Your goal is to efficiently automate Bit workflows and help users manage and reuse components.
|
|
10
|
-
- You will achieve this by using the provided MCP tools and adhering strictly to the following rules and workflows.
|
|
11
|
-
|
|
12
|
-
## Core Philosophy for Building with Bit
|
|
13
|
-
|
|
14
|
-
- **Deconstruct to Compose:** Build applications by composing independent and reusable components, with each component being developed, tested, and versioned in isolation.
|
|
15
|
-
- **Autonomous Components:** Use the Bit MCP to make these components truly autonomous, allowing them to be managed and shared from any codebase without being coupled to a specific project's architecture.
|
|
16
|
-
- **Scalable Collaboration:** The ultimate goal is to create a shared "component economy" where teams can collaborate, accelerate development, and ensure consistency by assembling applications from this distributed system of components.
|
|
17
|
-
|
|
18
|
-
## Critical Rules of Engagement - do these steps before any tool or command execution!!!
|
|
19
|
-
|
|
20
|
-
1. **Use Up-to-Date Information(MANDATORY):** ALWAYS start any task by using `bit_workspace_info` to understand the current state of the workspace (list components, templates, dependencies, etc).
|
|
21
|
-
2. **MCP Tools First:** You MUST use the provided MCP tools to interact with Bit. Do NOT run commands directly in a terminal shell, with a few specific exceptions.
|
|
22
|
-
3. **Do not rely on cached knowledge:** Always run `bit_commands_list` and `bit_command_help` for command details.
|
|
23
|
-
4. **Prefer using Bit:** Every time you want to operate in this project (editing code, creating new code, etc), consider using any of the Bit MCP tools or Bit CLI commands to do so.
|
|
24
|
-
|
|
25
|
-
## Core Principles of Building with Bit
|
|
26
|
-
|
|
27
|
-
- **Reuse Before Creating or Modifying(MANDATORY):** Before creating _any_ new component or modify _any_ file, you MUST first search for existing components.
|
|
28
|
-
- Use `bit_workspace_info` to check for local and existing components.
|
|
29
|
-
- Use `bit_remote_search` to find components on the remote scope.
|
|
30
|
-
- Present findings to the user, even if you think creating a new component is simpler.
|
|
31
|
-
- **No Relative Imports To Components:** Always import a component using the package name, so it is used through `node_modules`.
|
|
32
|
-
- You should always aim to code APIs in the dependent component and use them in the dependency (e.g. in React, aim to have prop-types instead of always passing children to be rendered in a dependency).
|
|
33
|
-
|
|
34
|
-
## Tooling & Command Execution Hierarchy
|
|
35
|
-
|
|
36
|
-
This is the decision-making process for executing any Bit operation.
|
|
37
|
-
|
|
38
|
-
### Step 1: Choose the Correct Generic Execution Tool
|
|
39
|
-
|
|
40
|
-
- If no dedicated tool exists, you must use one of the generic execution tools. Use the `bit_commands_list` output to help you decide:
|
|
41
|
-
- **For Read-Only Operations, use `bit_query`**: Use this for operations that inspect state but do not change the workspace.
|
|
42
|
-
- **For Write Operations, use `bit_execute`**: Use this for operations that modify the workspace, components, or dependencies.
|
|
43
|
-
|
|
44
|
-
### Step 2: Check for Terminal Exceptions
|
|
45
|
-
|
|
46
|
-
- The following commands have rich, interactive, or streaming output and should be run directly in the user's terminal. You should construct the command and advise the user to run it.
|
|
47
|
-
- `bit test`
|
|
48
|
-
- `bit build`
|
|
49
|
-
- `bit start` (long-running processes)
|
|
50
|
-
- `bit watch` (long-running processes)
|
|
51
|
-
- `bit lint`
|
|
52
|
-
- `bit check-types`
|
|
53
|
-
- `bit run` (long-running processes)
|
|
54
|
-
- any command when `--build` flag is used. (build can take long)
|
|
55
|
-
|
|
56
|
-
## Core Workflows
|
|
57
|
-
|
|
58
|
-
### Workflow: Error Diagnosis in a Bit Workspace
|
|
59
|
-
|
|
60
|
-
- `bit_workspace_info` with the "warnings" option to detect errors. Output includes possible solutions, follow them.
|
|
61
|
-
- Rerun `bit_workspace_info` to validate fixes. If error persists, use `bit_component_details` on relevant component(s) for more information.
|
|
62
|
-
|
|
63
|
-
### Workflow: In-Component Code Issues
|
|
64
|
-
|
|
65
|
-
- For code issues (compile, lint, test, type checking), run the relevant terminal command and pass the component ID (e.g. `bit test COMPONENT_ID`).
|
|
66
|
-
- To get complete report for code issues on all components, do not provide component ID (e.g. `bit test`).
|
|
67
|
-
- Adding `--log` CLI option gives more details on errors.
|
|
68
|
-
|
|
69
|
-
### Workflow: Generating New Components, Feature or Apps
|
|
70
|
-
|
|
71
|
-
- **Follow Core Principle #1 Reuse Before Creating or Modifying.**
|
|
72
|
-
- `bit_workspace_info` lists templates for new components.
|
|
73
|
-
- If a new component is necessary, clarify the TEMPLATE and combination of NAMESPACE(s) (optional) and NAME with the user.
|
|
74
|
-
- Run `bit_component_details` on new components gives information on them, this is useful for making code changes or composing the component into another (as a dependency).
|
|
75
|
-
- After generating a new component or app, ask the user what they want to be implemented in the new component or app.
|
|
76
|
-
|
|
77
|
-
### Workflow: Adding Functionality (feature, page, module, function, etc) to Bit Components and Apps
|
|
78
|
-
|
|
79
|
-
- **Follow Critical Principle #1 Reuse Before Creating or Modifying.**
|
|
80
|
-
- If a potentially reusable component is found, use it as a dependency in the component you want to modify.
|
|
81
|
-
**Hint:** use `bit_component_details` to get API references and documentation.
|
|
82
|
-
**Follow Critical Principle #2 No Relative Imports Between Components**.
|
|
83
|
-
- After modifying component implementation, always consider updating the following component files `*.composition.*`, `*.docs.mdx`, `*.spec.*`.
|
|
84
|
-
|
|
85
|
-
### Workflow: USE or DEVELOP a Component
|
|
86
|
-
|
|
87
|
-
- Use `bit_component_details` to get the component location.
|
|
88
|
-
- If the component is not in the workspace, and you want to USE it as a dependency, you must first install it (then you can infer to it by its package name).
|
|
89
|
-
- If the component is not in the workspace, and you want to DEVELOP it (modify its source), you must first import it.
|
|
90
|
-
|
|
91
|
-
### Workflow: Collaboration, Change Management and Version Control
|
|
92
|
-
|
|
93
|
-
- Bit uses a concept called "Lanes" to manage changes across components, this is similar to Git branches.
|
|
94
|
-
- Use `bit_workspace_info` to identify the current active lane.
|
|
95
|
-
- You must not snap or export components directly to the `main` lane.
|
|
96
|
-
- Use `bit_execute` for "Bit Lane" commands.
|
|
97
|
-
- If not already on a suitable development lane, suggest a name for the new lane to be created and validate with the user.
|
|
98
|
-
- The workspace automatically switches to a new lane once created.
|
|
99
|
-
- It is good practice to validate code before taking a snapshot (`bit lint`, `bit test`, `bit check-types`).
|
|
100
|
-
- Take a snapshot of all components with a relevant message (similar to `git commit`).
|
|
101
|
-
- Export the snap to the remote scope for review and collaboration (similar to `git push`).
|
|
102
|
-
|
|
103
|
-
## Glossary
|
|
104
|
-
|
|
105
|
-
- **Bit Component:** An extensible, portable software container. Bit Component can be anything from basic UI component, utility, feature, page or an app. Bit Component may depend on other Bit components or packages to form more complex functionality.
|
|
106
|
-
- **Workspace:** A Bit-initialized directory containing components.
|
|
107
|
-
- **Scope:** A collaboration server for components that defines ownership.
|
|
108
|
-
- **Application (App):** A Bit Component with its own runtime. It is usually composed from various features and components.
|
|
109
|
-
- **Development Environment (Env):** A component that bundles development tools (compiler, tester, etc.).
|
|
110
|
-
- **Lane:** A mechanism for managing and releasing modifications across components. `main` is the default lane. Lane is similar in concept to a Git Branch.
|
|
111
|
-
|
|
112
|
-
## Pointers to remember:
|
|
113
|
-
|
|
114
|
-
- For generating ESlint or TypeScript configuration files execute the command `bit ws-config write --clean`
|
|
115
|
-
- User may use different terms to describe components. Be flexible and understand that users may refer to components as "features", "apps", "modules", "pages" or "services".
|
package/dist/setup-utils.d.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Options for setting up MCP server configuration
|
|
3
|
-
*/
|
|
4
|
-
export interface SetupOptions {
|
|
5
|
-
consumerProject?: boolean;
|
|
6
|
-
includeAdditional?: string;
|
|
7
|
-
isGlobal: boolean;
|
|
8
|
-
workspaceDir?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Options for writing rules/instructions files
|
|
12
|
-
*/
|
|
13
|
-
export interface RulesOptions {
|
|
14
|
-
isGlobal: boolean;
|
|
15
|
-
workspaceDir?: string;
|
|
16
|
-
consumerProject?: boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Utility class for setting up MCP server configurations across different editors
|
|
20
|
-
*/
|
|
21
|
-
export declare class McpSetupUtils {
|
|
22
|
-
/**
|
|
23
|
-
* Build MCP server arguments based on provided options
|
|
24
|
-
*/
|
|
25
|
-
static buildMcpServerArgs(options: SetupOptions): string[];
|
|
26
|
-
/**
|
|
27
|
-
* Read and parse a JSON file, returning empty object if file doesn't exist
|
|
28
|
-
*/
|
|
29
|
-
static readJsonFile(filePath: string): Promise<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Get display name for an editor
|
|
32
|
-
*/
|
|
33
|
-
static getEditorDisplayName(editor: string): string;
|
|
34
|
-
/**
|
|
35
|
-
* Get VS Code settings.json path based on global/workspace scope
|
|
36
|
-
*/
|
|
37
|
-
static getVSCodeSettingsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
38
|
-
/**
|
|
39
|
-
* Get VS Code mcp.json path for workspace configuration
|
|
40
|
-
*/
|
|
41
|
-
static getVSCodeMcpConfigPath(workspaceDir?: string): string;
|
|
42
|
-
/**
|
|
43
|
-
* Setup VS Code MCP integration
|
|
44
|
-
*/
|
|
45
|
-
static setupVSCode(options: SetupOptions): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Get Cursor mcp.json path based on global/workspace scope
|
|
48
|
-
*/
|
|
49
|
-
static getCursorSettingsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* Setup Cursor MCP integration
|
|
52
|
-
*/
|
|
53
|
-
static setupCursor(options: SetupOptions): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Get Windsurf mcp.json path based on global/workspace scope
|
|
56
|
-
*/
|
|
57
|
-
static getWindsurfSettingsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
58
|
-
/**
|
|
59
|
-
* Setup Windsurf MCP integration
|
|
60
|
-
*/
|
|
61
|
-
static setupWindsurf(options: SetupOptions): Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
* Get VS Code prompts path based on global/workspace scope
|
|
64
|
-
*/
|
|
65
|
-
static getVSCodePromptsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
66
|
-
/**
|
|
67
|
-
* Get Cursor prompts path based on global/workspace scope
|
|
68
|
-
*/
|
|
69
|
-
static getCursorPromptsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
70
|
-
/**
|
|
71
|
-
* Get Roo Code prompts path based on global/workspace scope
|
|
72
|
-
*/
|
|
73
|
-
static getRooCodePromptsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
74
|
-
/**
|
|
75
|
-
* Get default Bit MCP rules content from template file
|
|
76
|
-
*/
|
|
77
|
-
static getDefaultRulesContent(consumerProject?: boolean): Promise<string>;
|
|
78
|
-
/**
|
|
79
|
-
* Write Bit MCP rules file for VS Code
|
|
80
|
-
*/
|
|
81
|
-
static writeVSCodeRules(options: RulesOptions): Promise<void>;
|
|
82
|
-
/**
|
|
83
|
-
* Write Bit MCP rules file for Cursor
|
|
84
|
-
*/
|
|
85
|
-
static writeCursorRules(options: RulesOptions): Promise<void>;
|
|
86
|
-
/**
|
|
87
|
-
* Write Bit MCP rules file for Roo Code
|
|
88
|
-
*/
|
|
89
|
-
static writeRooCodeRules(options: RulesOptions): Promise<void>;
|
|
90
|
-
/**
|
|
91
|
-
* Write Bit MCP rules file for Cline
|
|
92
|
-
*/
|
|
93
|
-
static writeClineRules(options: RulesOptions): Promise<void>;
|
|
94
|
-
/**
|
|
95
|
-
* Get Roo Code mcp.json path based on global/workspace scope
|
|
96
|
-
*/
|
|
97
|
-
static getRooCodeSettingsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
98
|
-
/**
|
|
99
|
-
* Setup Roo Code MCP integration
|
|
100
|
-
*/
|
|
101
|
-
static setupRooCode(options: SetupOptions): Promise<void>;
|
|
102
|
-
/**
|
|
103
|
-
* Get Cline prompts path based on global/workspace scope
|
|
104
|
-
*/
|
|
105
|
-
static getClinePromptsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
106
|
-
/**
|
|
107
|
-
* Get Claude Code mcp.json path based on global/workspace scope
|
|
108
|
-
*/
|
|
109
|
-
static getClaudeCodeSettingsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
110
|
-
/**
|
|
111
|
-
* Setup Claude Code MCP integration
|
|
112
|
-
*/
|
|
113
|
-
static setupClaudeCode(options: SetupOptions): Promise<void>;
|
|
114
|
-
/**
|
|
115
|
-
* Get Claude Code prompts path based on global/workspace scope
|
|
116
|
-
*/
|
|
117
|
-
static getClaudeCodePromptsPath(isGlobal: boolean, workspaceDir?: string): string;
|
|
118
|
-
/**
|
|
119
|
-
* Write Bit MCP rules file for Claude Code
|
|
120
|
-
*/
|
|
121
|
-
static writeClaudeCodeRules(options: RulesOptions): Promise<void>;
|
|
122
|
-
}
|