gm-kilo 2.0.945 → 2.0.947
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 +5 -5
- package/package.json +1 -1
package/bin/plugkit.sha256
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
52abe9d7b2504176458d29f628efcfa57acfc7a17af2fce9b5b0bf90df2ef351 plugkit-win32-x64.exe
|
|
2
|
+
dde8c3cf9645fc3f0e94b46869e5055ffed5cae41085edfd936a5cc842831dfc plugkit-win32-arm64.exe
|
|
3
|
+
d11f54611c4cb80e4dca4a3f2580df0837b789cda130202a5b72f7dd82ab4270 plugkit-darwin-x64
|
|
4
|
+
9a063d8351543d186b0d5d3bcec11480ab26c2928ec12880634a1d4c91070ecc plugkit-darwin-arm64
|
|
5
|
+
d9548de1dc99f62522aeff4277f2ebe1f39346f7e1a772011a8d4613ef5b35e5 plugkit-linux-x64
|
|
6
|
+
879a1ea25f95dee154234f0d6d27c537734922d02f61c9771b271fce9f228152 plugkit-linux-arm64
|
package/bin/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.321
|
package/bin/rtk.sha256
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
e8d9386158f162738b432361e2badf1e71a5d3041234abb392bf705461b553c7 rtk-win32-x64.exe
|
|
2
|
+
5304d743bca21fef05230b62f73365c5d69d17c7811116d1de63883450c11978 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
|
@@ -126,7 +126,7 @@ export async function GmPlugin({ directory }) {
|
|
|
126
126
|
const textPart = msg.parts && msg.parts.find(p => p.type === 'text' && p.text && p.text.trim());
|
|
127
127
|
const prompt = textPart ? textPart.text.trim() : '';
|
|
128
128
|
const parts = [];
|
|
129
|
-
parts.push('Invoke the `gm` skill to begin. DO NOT use EnterPlanMode. Treat the `exec:` preamble as authoritative; host auto-detection is fallback only. Raw JIT code can also be written to `.gm/exec-spool/in/<lang>/<N>.<ext>` (
|
|
129
|
+
parts.push('Invoke the `gm` skill to begin. DO NOT use EnterPlanMode. Treat the `exec:` preamble as authoritative; host auto-detection is fallback only. Raw JIT code can also be written to `.gm/exec-spool/in/<lang>/<N>.<ext>` (e.g. in/nodejs/42.js) — the spool watcher executes it and writes out/<N>.json. Keep stale running tasks in view and prefer the latest task reminder over starting duplicate work.');
|
|
130
130
|
const insight = runPlugkit(['codeinsight', directory]);
|
|
131
131
|
if (insight && !insight.startsWith('Error')) parts.push('=== codeinsight ===\n'+insight);
|
|
132
132
|
if (prompt) {
|
|
@@ -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>\n\nFor raw JIT execution, write code to `.gm/exec-spool/in/<lang>/<N>.<ext>` (
|
|
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/<lang>/<N>.<ext>` (e.g. in/nodejs/42.js); the spool watcher executes it and writes out/<N>.json.');
|
|
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>\n\nFor raw JIT execution, write code to `.gm/exec-spool/in/<lang>/<N>.<ext>` (
|
|
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/<lang>/<N>.<ext>` (e.g. in/nodejs/42.js); the spool watcher executes it and writes out/<N>.json.');
|
|
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"). Raw JIT execution can also bypass Bash entirely: write to `.gm/exec-spool/in/<lang>/<N>.<ext>` (
|
|
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 bypass Bash entirely: write to `.gm/exec-spool/in/<lang>/<N>.<ext>` (e.g. in/nodejs/42.js) and the spool watcher executes it and writes `.gm/exec-spool/out/<N>.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. For raw JIT execution, write code to `.gm/exec-spool/in/<lang>/<N>.<ext>` (
|
|
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/<lang>/<N>.<ext>` (e.g. in/nodejs/42.js); the spool watcher executes it and writes out/<N>.json.');
|
|
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) };
|