gm-kilo 2.0.907 → 2.0.909

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
- fbf2f95fb21e8afba51481253d54cb68e331fbc4583401ec99e3d2800ab8c014 plugkit-win32-x64.exe
2
- e3e8d640a0a9acde6f9bb828724be01b2012704190e93decf82aa5566f88becc plugkit-win32-arm64.exe
3
- 65cad349ec9c71094332e4dff62410addfa12119d8db260caa17ad42d0017082 plugkit-darwin-x64
4
- b523c96b89c13d60c9555f79c5f2c0c04b6897d4d71d9bbf37627861b0e7125c plugkit-darwin-arm64
5
- bfbe7c73e8b96f2984d053331a50b31d3d8ea17af0da078461da90024b52ea02 plugkit-linux-x64
6
- 36d0b78dba6b3867814c750fead387a662b5e88dfaba7b3e34df942afd82d5f5 plugkit-linux-arm64
1
+ 1b1c80c084456f122cf5fe835b2826d5580d5ae3f2012a4754123cd237437fbf plugkit-win32-x64.exe
2
+ ff3087da72ad983f87724c4a6f5314b48186106975865e7ae767689a2163a81b plugkit-win32-arm64.exe
3
+ 0ff31d934a406c4d2ba96c04cb95fa3ac34fd702d45d7009f0c884a4431f7a97 plugkit-darwin-x64
4
+ 6fbeb9c986d01c82c117f24ee19d8573553224a3d00e6b3b4cceaa6026c6c525 plugkit-darwin-arm64
5
+ a97855d46edbf8f4cf4ca8a51ecd82d06abdbbd6309d5d1c4178b5e5961ddafa plugkit-linux-x64
6
+ 584da5f1236237bad7148fd3cbfce905c722befe13c30cb8742bf4fd0d7ffb7e plugkit-linux-arm64
@@ -1 +1 @@
1
- 0.1.302
1
+ 0.1.303
package/bin/rtk.sha256 CHANGED
@@ -1,5 +1,5 @@
1
- 7365c2492cad72fcb3a5f4639cfd093737270b6220bb8cd231d1c54173ccb290 rtk-win32-x64.exe
2
- e5ac45b9385b56595be84a6b93d665fd7777dc42c1bc8c173af5a40b66726882 rtk-win32-arm64.exe
1
+ 3ce35a35b0df1e42e6e0550dd55297ca7e19c535cf06c13ab2974b7eeffa7924 rtk-win32-x64.exe
2
+ 92c2e961e01ef751b3520fba1b500112e085d1cbc0c7ebc7807ace217a774e7c rtk-win32-arm64.exe
3
3
  1b1e792767ed0e1e6ca0e2f0a8de02e77b06dea2f5ae667278b94baf239fcdc3 rtk-darwin-x64
4
4
  9717978d9d6216ea50c94444e00e359479b6315a17bd48c16064b267c8b0b60d rtk-darwin-arm64
5
5
  a100d3defac54194144e5723aec57e6f286b42298c67145c8428815246c9ee56 rtk-linux-x64
package/gm-kilo.mjs CHANGED
@@ -6,7 +6,7 @@ import { tmpdir } from 'os';
6
6
 
7
7
  const __dirname = dirname(fileURLToPath(import.meta.url));
8
8
  const LANG_ALIASES = { js:'nodejs',javascript:'nodejs',ts:'typescript',node:'nodejs',py:'python',sh:'bash',shell:'bash',zsh:'bash' };
9
- const FORBIDDEN_TOOLS = new Set(['glob','Glob','grep','Grep','search_file_content','Find','find']);
9
+ const FORBIDDEN_TOOLS = new Set(['glob','Glob','fs.glob','grep','Grep','search_file_content','Find','find']);
10
10
  const FORBIDDEN_FILE_RE = [/\.(test|spec)\.(js|ts|jsx|tsx|mjs|cjs)$/, /^(jest|vitest|mocha|ava|jasmine|tap)\.(config|setup)/, /\.(snap|stub|mock|fixture)\.(js|ts|json)$/];
11
11
  const FORBIDDEN_PATH_RE = ['/__tests__/','/test/','/tests/','/fixtures/','/test-data/',"/__mocks__/"];
12
12
  const DOC_BLOCK_RE = /\.(md|txt)$/;
@@ -147,6 +147,9 @@ export async function GmPlugin({ directory }) {
147
147
  const tool = input.tool || '';
148
148
  const args = (input.args || (output && output.args) || {});
149
149
  const skillName = (args.skill || args.name || '').toString();
150
+ if (FORBIDDEN_TOOLS.has(input.tool)) {
151
+ throw new Error('Use the code-search skill for codebase exploration instead of '+input.tool+'. Describe what you need in plain language.');
152
+ }
150
153
  if (tool === 'Skill' || tool === 'skill') {
151
154
  try {
152
155
  if (!existsSync(gmDir)) { try { require('fs').mkdirSync(gmDir, { recursive: true }); } catch(e) {} }
@@ -174,9 +177,6 @@ export async function GmPlugin({ directory }) {
174
177
  }
175
178
  }
176
179
  }
177
- if (FORBIDDEN_TOOLS.has(input.tool)) {
178
- throw new Error('Use the code-search skill for codebase exploration instead of '+input.tool+'. Describe what you need in plain language.');
179
- }
180
180
  if (input.tool === 'EnterPlanMode') {
181
181
  throw new Error('Plan mode is disabled. Use the gm skill (PLAN→EXECUTE→EMIT→VERIFY→COMPLETE state machine) instead.');
182
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-kilo",
3
- "version": "2.0.907",
3
+ "version": "2.0.909",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",