codesift-mcp 0.2.6 → 0.2.8

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.
Files changed (44) hide show
  1. package/dist/cli/commands.d.ts.map +1 -1
  2. package/dist/cli/commands.js +5 -1
  3. package/dist/cli/commands.js.map +1 -1
  4. package/dist/cli/help.d.ts +1 -1
  5. package/dist/cli/help.d.ts.map +1 -1
  6. package/dist/cli/help.js +14 -0
  7. package/dist/cli/help.js.map +1 -1
  8. package/dist/cli/hooks.d.ts +1 -0
  9. package/dist/cli/hooks.d.ts.map +1 -1
  10. package/dist/cli/hooks.js +170 -61
  11. package/dist/cli/hooks.js.map +1 -1
  12. package/dist/cli/platform.d.ts +12 -0
  13. package/dist/cli/platform.d.ts.map +1 -0
  14. package/dist/cli/platform.js +36 -0
  15. package/dist/cli/platform.js.map +1 -0
  16. package/dist/cli/setup.d.ts +6 -0
  17. package/dist/cli/setup.d.ts.map +1 -1
  18. package/dist/cli/setup.js +161 -121
  19. package/dist/cli/setup.js.map +1 -1
  20. package/dist/cli/shell-templates.d.ts +4 -0
  21. package/dist/cli/shell-templates.d.ts.map +1 -0
  22. package/dist/cli/shell-templates.js +86 -0
  23. package/dist/cli/shell-templates.js.map +1 -0
  24. package/dist/instructions.d.ts +1 -1
  25. package/dist/instructions.d.ts.map +1 -1
  26. package/dist/instructions.js +4 -4
  27. package/dist/register-tools.d.ts.map +1 -1
  28. package/dist/register-tools.js +68 -42
  29. package/dist/register-tools.js.map +1 -1
  30. package/dist/server-helpers.d.ts.map +1 -1
  31. package/dist/server-helpers.js +13 -1
  32. package/dist/server-helpers.js.map +1 -1
  33. package/dist/server.d.ts.map +1 -1
  34. package/dist/server.js +17 -0
  35. package/dist/server.js.map +1 -1
  36. package/dist/tools/project-tools.d.ts +107 -0
  37. package/dist/tools/project-tools.d.ts.map +1 -0
  38. package/dist/tools/project-tools.js +535 -0
  39. package/dist/tools/project-tools.js.map +1 -0
  40. package/package.json +1 -1
  41. package/rules/codesift.md +7 -9
  42. package/rules/codesift.mdc +6 -8
  43. package/rules/codex.md +6 -8
  44. package/rules/gemini.md +6 -8
package/rules/codex.md CHANGED
@@ -4,11 +4,9 @@
4
4
 
5
5
  ## Setup
6
6
 
7
- Run once per session:
8
-
9
- 1. `list_repos()` — get the repo identifier (e.g. `local/codesift-mcp`). **Never call again** — cache the result.
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
 
@@ -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 | Reuse cached value |
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 in `list_repos` — file watcher auto-updates
157
- - Call `list_repos` more than once per session
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,11 +4,9 @@
4
4
 
5
5
  ## Setup
6
6
 
7
- Run once per session:
8
-
9
- 1. `list_repos()` — get the repo identifier (e.g. `local/codesift-mcp`). **Never call again** — cache the result.
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
 
@@ -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 | Reuse cached value |
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 in `list_repos` — file watcher auto-updates
157
- - Call `list_repos` more than once per session
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