gm-copilot-cli 2.0.59 → 2.0.60

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gm
3
- version: 2.0.59
3
+ version: 2.0.60
4
4
  description: State machine agent with hooks, skills, and automated git enforcement
5
5
  author: AnEntrypoint
6
6
  repository: https://github.com/AnEntrypoint/gm-copilot-cli
@@ -6,8 +6,8 @@ const path = require('path');
6
6
  const isGemini = process.env.GEMINI_PROJECT_DIR !== undefined;
7
7
 
8
8
  const writeTools = ['Write', 'write_file'];
9
- const searchTools = ['Glob', 'Grep', 'glob', 'search_file_content', 'Search', 'search'];
10
- const forbiddenTools = ['find', 'Find'];
9
+ const searchTools = ['glob', 'search_file_content', 'Search', 'search'];
10
+ const forbiddenTools = ['find', 'Find', 'Glob', 'Grep'];
11
11
 
12
12
  const run = () => {
13
13
  try {
@@ -18,7 +18,7 @@ const run = () => {
18
18
  if (!tool_name) return { allow: true };
19
19
 
20
20
  if (forbiddenTools.includes(tool_name)) {
21
- return { block: true, reason: 'Use gm:code-search for semantic codebase search instead of filesystem find' };
21
+ return { block: true, reason: 'Use the code-search skill for codebase exploration instead of Grep/Glob/find. Describe what you need in plain language — it understands intent, not just patterns.' };
22
22
  }
23
23
 
24
24
  if (writeTools.includes(tool_name)) {
package/manifest.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: gm
2
- version: 2.0.59
2
+ version: 2.0.60
3
3
  description: State machine agent with hooks, skills, and automated git enforcement
4
4
  author: AnEntrypoint
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-copilot-cli",
3
- "version": "2.0.59",
3
+ "version": "2.0.60",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/tools.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.59",
3
+ "version": "2.0.60",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "tools": [
6
6
  {