codesift-mcp 0.2.5 → 0.2.7
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/README.md +8 -8
- package/dist/cli/commands.d.ts.map +1 -1
- package/dist/cli/commands.js +5 -1
- package/dist/cli/commands.js.map +1 -1
- package/dist/cli/help.d.ts +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +14 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/hooks.d.ts +1 -0
- package/dist/cli/hooks.d.ts.map +1 -1
- package/dist/cli/hooks.js +170 -61
- package/dist/cli/hooks.js.map +1 -1
- package/dist/cli/platform.d.ts +12 -0
- package/dist/cli/platform.d.ts.map +1 -0
- package/dist/cli/platform.js +36 -0
- package/dist/cli/platform.js.map +1 -0
- package/dist/cli/setup.d.ts +6 -0
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +161 -121
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/shell-templates.d.ts +4 -0
- package/dist/cli/shell-templates.d.ts.map +1 -0
- package/dist/cli/shell-templates.js +86 -0
- package/dist/cli/shell-templates.js.map +1 -0
- package/dist/instructions.d.ts +1 -1
- package/dist/instructions.d.ts.map +1 -1
- package/dist/instructions.js +4 -4
- package/dist/register-tools.d.ts.map +1 -1
- package/dist/register-tools.js +68 -42
- package/dist/register-tools.js.map +1 -1
- package/dist/server-helpers.d.ts.map +1 -1
- package/dist/server-helpers.js +13 -1
- package/dist/server-helpers.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +17 -0
- package/dist/server.js.map +1 -1
- package/dist/tools/project-tools.d.ts +107 -0
- package/dist/tools/project-tools.d.ts.map +1 -0
- package/dist/tools/project-tools.js +535 -0
- package/dist/tools/project-tools.js.map +1 -0
- package/package.json +2 -2
- package/rules/codesift.md +24 -13
- package/rules/codesift.mdc +10 -12
- package/rules/codex.md +10 -12
- package/rules/gemini.md +10 -12
package/rules/codesift.mdc
CHANGED
|
@@ -9,23 +9,21 @@ alwaysApply: true
|
|
|
9
9
|
|
|
10
10
|
## Setup
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
2. If the repo is missing: `index_folder(path=<root>)` once to index it.
|
|
16
|
-
3. Use `"local/<folder-name>"` as the `repo` parameter for all tool calls.
|
|
12
|
+
The `repo` parameter auto-resolves from the current working directory — no need to call `list_repos`.
|
|
13
|
+
If the repo is not yet indexed, run `index_folder(path=<root>)` once.
|
|
14
|
+
For multi-repo sessions, call `list_repos()` to discover available repos.
|
|
17
15
|
|
|
18
16
|
## Tool Discovery
|
|
19
17
|
|
|
20
|
-
**
|
|
18
|
+
**66 MCP tools total** (14 core + 52 discoverable).
|
|
21
19
|
|
|
22
|
-
Only
|
|
20
|
+
Only 14 core tools appear in ListTools. Hidden tools are discovered on demand:
|
|
23
21
|
|
|
24
|
-
- `discover_tools(query="dead code")` — keyword search across all
|
|
22
|
+
- `discover_tools(query="dead code")` — keyword search across all 66 tools
|
|
25
23
|
- `describe_tools(names=["find_dead_code"])` — get full parameter schema
|
|
26
24
|
- `describe_tools(names=["find_dead_code"], reveal=true)` — also reveal in ListTools
|
|
27
25
|
|
|
28
|
-
Core tools always visible: `search_text`, `
|
|
26
|
+
Core tools always visible: `search_text`, `codebase_retrieval`, `get_file_outline`, `search_symbols`, `list_repos`, `get_file_tree`, `index_file`, `get_symbol`, `index_conversations`, `search_patterns`, `index_folder`, `discover_tools`, `get_session_snapshot`, `describe_tools`.
|
|
29
27
|
|
|
30
28
|
## Tool Mapping
|
|
31
29
|
|
|
@@ -136,7 +134,7 @@ The server appends hint codes to responses to guide tool usage. Act on them imme
|
|
|
136
134
|
|------|---------|--------|
|
|
137
135
|
| `H1(n)` | n matches returned | Add `group_by_file=true` |
|
|
138
136
|
| `H2(n,tool)` | n consecutive identical calls | Batch into one `tool` call |
|
|
139
|
-
| `H3(n)` | `list_repos` called n times |
|
|
137
|
+
| `H3(n)` | `list_repos` called n times | Repo auto-resolves from CWD, no need to call |
|
|
140
138
|
| `H4` | `include_source` without `file_pattern` | Add `file_pattern` |
|
|
141
139
|
| `H5(path)` | Duplicate `get_file_tree` | Use cached result |
|
|
142
140
|
| `H6(n)` | n results without `detail_level` | Add `detail_level='compact'` |
|
|
@@ -158,8 +156,8 @@ The server appends hint codes to responses to guide tool usage. Act on them imme
|
|
|
158
156
|
|
|
159
157
|
## NEVER
|
|
160
158
|
|
|
161
|
-
- Call `index_folder` if repo already
|
|
162
|
-
- Call `list_repos`
|
|
159
|
+
- Call `index_folder` if repo is already indexed — file watcher auto-updates
|
|
160
|
+
- Call `list_repos` in single-repo sessions — repo auto-resolves from CWD
|
|
163
161
|
- Use manual Edit on multiple files for rename — use `rename_symbol`
|
|
164
162
|
- Read entire file just to get a return type — use `get_type_info`
|
|
165
163
|
- Index worktrees — use the main repo index
|
package/rules/codex.md
CHANGED
|
@@ -4,23 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
## Setup
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
2. If the repo is missing: `index_folder(path=<root>)` once to index it.
|
|
11
|
-
3. Use `"local/<folder-name>"` as the `repo` parameter for all tool calls.
|
|
7
|
+
The `repo` parameter auto-resolves from the current working directory — no need to call `list_repos`.
|
|
8
|
+
If the repo is not yet indexed, run `index_folder(path=<root>)` once.
|
|
9
|
+
For multi-repo sessions, call `list_repos()` to discover available repos.
|
|
12
10
|
|
|
13
11
|
## Tool Discovery
|
|
14
12
|
|
|
15
|
-
**
|
|
13
|
+
**66 MCP tools total** (14 core + 52 discoverable).
|
|
16
14
|
|
|
17
|
-
Only
|
|
15
|
+
Only 14 core tools appear in ListTools. Hidden tools are discovered on demand:
|
|
18
16
|
|
|
19
|
-
- `discover_tools(query="dead code")` — keyword search across all
|
|
17
|
+
- `discover_tools(query="dead code")` — keyword search across all 66 tools
|
|
20
18
|
- `describe_tools(names=["find_dead_code"])` — get full parameter schema
|
|
21
19
|
- `describe_tools(names=["find_dead_code"], reveal=true)` — also reveal in ListTools
|
|
22
20
|
|
|
23
|
-
Core tools always visible: `search_text`, `
|
|
21
|
+
Core tools always visible: `search_text`, `codebase_retrieval`, `get_file_outline`, `search_symbols`, `list_repos`, `get_file_tree`, `index_file`, `get_symbol`, `index_conversations`, `search_patterns`, `index_folder`, `discover_tools`, `get_session_snapshot`, `describe_tools`.
|
|
24
22
|
|
|
25
23
|
## Tool Mapping
|
|
26
24
|
|
|
@@ -131,7 +129,7 @@ The server appends hint codes to responses to guide tool usage. Act on them imme
|
|
|
131
129
|
|------|---------|--------|
|
|
132
130
|
| `H1(n)` | n matches returned | Add `group_by_file=true` |
|
|
133
131
|
| `H2(n,tool)` | n consecutive identical calls | Batch into one `tool` call |
|
|
134
|
-
| `H3(n)` | `list_repos` called n times |
|
|
132
|
+
| `H3(n)` | `list_repos` called n times | Repo auto-resolves from CWD, no need to call |
|
|
135
133
|
| `H4` | `include_source` without `file_pattern` | Add `file_pattern` |
|
|
136
134
|
| `H5(path)` | Duplicate `get_file_tree` | Use cached result |
|
|
137
135
|
| `H6(n)` | n results without `detail_level` | Add `detail_level='compact'` |
|
|
@@ -153,8 +151,8 @@ The server appends hint codes to responses to guide tool usage. Act on them imme
|
|
|
153
151
|
|
|
154
152
|
## NEVER
|
|
155
153
|
|
|
156
|
-
- Call `index_folder` if repo already
|
|
157
|
-
- Call `list_repos`
|
|
154
|
+
- Call `index_folder` if repo is already indexed — file watcher auto-updates
|
|
155
|
+
- Call `list_repos` in single-repo sessions — repo auto-resolves from CWD
|
|
158
156
|
- Use manual Edit on multiple files for rename — use `rename_symbol`
|
|
159
157
|
- Read entire file just to get a return type — use `get_type_info`
|
|
160
158
|
- Index worktrees — use the main repo index
|
package/rules/gemini.md
CHANGED
|
@@ -4,23 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
## Setup
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
2. If the repo is missing: `index_folder(path=<root>)` once to index it.
|
|
11
|
-
3. Use `"local/<folder-name>"` as the `repo` parameter for all tool calls.
|
|
7
|
+
The `repo` parameter auto-resolves from the current working directory — no need to call `list_repos`.
|
|
8
|
+
If the repo is not yet indexed, run `index_folder(path=<root>)` once.
|
|
9
|
+
For multi-repo sessions, call `list_repos()` to discover available repos.
|
|
12
10
|
|
|
13
11
|
## Tool Discovery
|
|
14
12
|
|
|
15
|
-
**
|
|
13
|
+
**66 MCP tools total** (14 core + 52 discoverable).
|
|
16
14
|
|
|
17
|
-
Only
|
|
15
|
+
Only 14 core tools appear in ListTools. Hidden tools are discovered on demand:
|
|
18
16
|
|
|
19
|
-
- `discover_tools(query="dead code")` — keyword search across all
|
|
17
|
+
- `discover_tools(query="dead code")` — keyword search across all 66 tools
|
|
20
18
|
- `describe_tools(names=["find_dead_code"])` — get full parameter schema
|
|
21
19
|
- `describe_tools(names=["find_dead_code"], reveal=true)` — also reveal in ListTools
|
|
22
20
|
|
|
23
|
-
Core tools always visible: `search_text`, `
|
|
21
|
+
Core tools always visible: `search_text`, `codebase_retrieval`, `get_file_outline`, `search_symbols`, `list_repos`, `get_file_tree`, `index_file`, `get_symbol`, `index_conversations`, `search_patterns`, `index_folder`, `discover_tools`, `get_session_snapshot`, `describe_tools`.
|
|
24
22
|
|
|
25
23
|
## Tool Mapping
|
|
26
24
|
|
|
@@ -131,7 +129,7 @@ The server appends hint codes to responses to guide tool usage. Act on them imme
|
|
|
131
129
|
|------|---------|--------|
|
|
132
130
|
| `H1(n)` | n matches returned | Add `group_by_file=true` |
|
|
133
131
|
| `H2(n,tool)` | n consecutive identical calls | Batch into one `tool` call |
|
|
134
|
-
| `H3(n)` | `list_repos` called n times |
|
|
132
|
+
| `H3(n)` | `list_repos` called n times | Repo auto-resolves from CWD, no need to call |
|
|
135
133
|
| `H4` | `include_source` without `file_pattern` | Add `file_pattern` |
|
|
136
134
|
| `H5(path)` | Duplicate `get_file_tree` | Use cached result |
|
|
137
135
|
| `H6(n)` | n results without `detail_level` | Add `detail_level='compact'` |
|
|
@@ -153,8 +151,8 @@ The server appends hint codes to responses to guide tool usage. Act on them imme
|
|
|
153
151
|
|
|
154
152
|
## NEVER
|
|
155
153
|
|
|
156
|
-
- Call `index_folder` if repo already
|
|
157
|
-
- Call `list_repos`
|
|
154
|
+
- Call `index_folder` if repo is already indexed — file watcher auto-updates
|
|
155
|
+
- Call `list_repos` in single-repo sessions — repo auto-resolves from CWD
|
|
158
156
|
- Use manual Edit on multiple files for rename — use `rename_symbol`
|
|
159
157
|
- Read entire file just to get a return type — use `get_type_info`
|
|
160
158
|
- Index worktrees — use the main repo index
|