gm-kilo 2.0.912 → 2.0.914
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/bin/plugkit.sha256 +6 -6
- package/bin/plugkit.version +1 -1
- package/bin/rtk.sha256 +2 -2
- package/gm-kilo.mjs +4 -4
- package/package.json +1 -1
package/bin/plugkit.sha256
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
9c46777530e9df85cfc15eeb6cce7c3a2f13bdecaed00ff15e817c9a81372f1a plugkit-win32-x64.exe
|
|
2
|
+
0da1c93cf427f475ab62af5088f2bcb29f549e129ac7c22ec56f4085582cd3c3 plugkit-win32-arm64.exe
|
|
3
|
+
d0a856481ae188649bc0a8f03d15f233b830032dfb4193a23fa9c68f93b674cc plugkit-darwin-x64
|
|
4
|
+
7d23a9900b5a18e9bb4bc52f481dafabcc67b72e16bc60e23ba9e480367e15c0 plugkit-darwin-arm64
|
|
5
|
+
c18231b6e1b0ededd4873a8d144774261fb5ba937816f05b25bedff9ee44dca2 plugkit-linux-x64
|
|
6
|
+
9719b1c085ed15e4fc77c1e618b96bdc8f9641b8a5a485e1274cc1cc81f91350 plugkit-linux-arm64
|
package/bin/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.304
|
package/bin/rtk.sha256
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
e2263219a73fb115659558c7a1634048a477cf8cf54d3a94d184b38bc5c5f361 rtk-win32-x64.exe
|
|
2
|
+
09435369bdf20136a3ffd71b6c1c06a34448ef4c6f54c7fd0e5f3392a0fb208a 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
|
@@ -181,12 +181,12 @@ export async function GmPlugin({ directory }) {
|
|
|
181
181
|
throw new Error('Plan mode is disabled. Use the gm skill (PLAN→EXECUTE→EMIT→VERIFY→COMPLETE state machine) instead.');
|
|
182
182
|
}
|
|
183
183
|
if (input.tool === 'Task' && input.args?.subagent_type === 'Explore') {
|
|
184
|
-
throw new Error('The Explore agent is blocked. Use exec:codesearch in the Bash tool instead.\n\nexec:codesearch\n<natural language description of what to find
|
|
184
|
+
throw new Error('The Explore agent is blocked. Use exec:codesearch in the Bash tool instead.\n\nexec:codesearch\n<natural language description of what to find>\n\nFor raw JIT execution, write code to `.gm/exec-spool/in/<task>.json` and let the spool watcher execute it.');
|
|
185
185
|
}
|
|
186
186
|
if (input.tool === 'Skill') {
|
|
187
187
|
const skill = ((input.args && input.args.skill) || '').toLowerCase().replace(/^gm:/,'');
|
|
188
188
|
if (skill === 'explore' || skill === 'search') {
|
|
189
|
-
throw new Error('The search/explore skill is blocked. Use exec:codesearch instead.\n\nexec:codesearch\n<natural language description
|
|
189
|
+
throw new Error('The search/explore skill is blocked. Use exec:codesearch instead.\n\nexec:codesearch\n<natural language description>\n\nFor raw JIT execution, write code to `.gm/exec-spool/in/<task>.json` and let the spool watcher execute it.');
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
if (input.tool === 'write' || input.tool === 'Write' || input.tool === 'edit' || input.tool === 'Edit') {
|
|
@@ -205,12 +205,12 @@ export async function GmPlugin({ directory }) {
|
|
|
205
205
|
if (/^\s*git(?:\s|$)/.test(cmd)) return;
|
|
206
206
|
const m = cmd.match(/^exec(?::(\S+))?\n([\s\S]+)$/);
|
|
207
207
|
if (!m) {
|
|
208
|
-
throw new Error('Use exec: prefix for Bash. The command must start with `exec` or `exec:<lang>` on its own line, then the body on the next line. Examples:\n\nexec\nls -la\n\nexec:nodejs\nconsole.log("hello")\n\nexec:bash\ngit status\n\nLanguages: nodejs (default), bash, python, typescript, go, rust, deno, cmd. File I/O via exec:nodejs + require("fs"). Codebase search: exec:codesearch on its own line, then a two-word query.');
|
|
208
|
+
throw new Error('Use exec: prefix for Bash. The command must start with `exec` or `exec:<lang>` on its own line, then the body on the next line. Examples:\n\nexec\nls -la\n\nexec:nodejs\nconsole.log("hello")\n\nexec:bash\ngit status\n\nLanguages: nodejs (default), bash, python, typescript, go, rust, deno, cmd. File I/O via exec:nodejs + require("fs"). Raw JIT execution can also use `.gm/exec-spool/in/<task>.json`; the spool watcher executes it and writes `.gm/exec-spool/out/<task>.json`. Codebase search: exec:codesearch on its own line, then a two-word query.');
|
|
209
209
|
}
|
|
210
210
|
const rawLang = (m[1]||'').toLowerCase();
|
|
211
211
|
if (rawLang === 'bash' || rawLang === 'sh' || rawLang === '') {
|
|
212
212
|
const banned = bashBannedTool(m[2]);
|
|
213
|
-
if (banned) throw new Error('`'+banned+'` is blocked in exec:bash. Use exec:codesearch instead.');
|
|
213
|
+
if (banned) throw new Error('`'+banned+'` is blocked in exec:bash. Use exec:codesearch instead. For raw JIT execution, write code to `.gm/exec-spool/in/<task>.json` and let the spool watcher execute it.');
|
|
214
214
|
}
|
|
215
215
|
const result = runExecSync(m[1]||'', m[2], output.args.workdir || directory);
|
|
216
216
|
output.args = { ...output.args, command: safePrintf('exec:'+(m[1]||'nodejs')+' output:\n\n'+result) };
|