gm-kilo 2.0.932 → 2.0.934
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
|
+
2f008909f0fe9783acedc685470eab681002d43be40eae977017187539925986 plugkit-win32-x64.exe
|
|
2
|
+
f246d023148a1f65f7a7bde08e9dccc83841c068a5b1dd34f46e37d766d8a236 plugkit-win32-arm64.exe
|
|
3
|
+
07a2d3b3e95b0ac17261c0dfa6866f003e45d570fddbcba39ac863c57f311b39 plugkit-darwin-x64
|
|
4
|
+
a00b35762b2fbfca1cca4e4c3eae40ec211a801bb7d996eb1946383f25316941 plugkit-darwin-arm64
|
|
5
|
+
278234afe8d11822b2d87e900b34c0a574951820fbeacf27d576ebadc396fa7c plugkit-linux-x64
|
|
6
|
+
b268c52275223d119f0b9d5f85671b98d3c24c222f53515604e14db16d1fb509 plugkit-linux-arm64
|
package/bin/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.313
|
package/bin/rtk.sha256
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
f81c23c123617c67e9a4f61b98bfccf5604c19b9daca2f6a7eaae2d8b50bb7ae rtk-win32-x64.exe
|
|
2
|
+
67a5d550e1e3259b6d4a857a80bbe319e92a4ee1b2f9aaca4925ad5265e6a153 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
|
|
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>` (preferred, e.g. in/nodejs/42.js) — the spool watcher executes it and writes out/<N>.json. The `.gm/exec-spool/in/<N>.json` form remains as back-compat. 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/<
|
|
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>` (preferred, e.g. in/nodejs/42.js); the spool watcher executes it and writes out/<N>.json. JSON form `.gm/exec-spool/in/<N>.json` still works as back-compat.');
|
|
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/<
|
|
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>` (preferred, 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
|
|
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>` (preferred, e.g. in/nodejs/42.js) and the spool watcher executes it and writes `.gm/exec-spool/out/<N>.json`. JSON form `.gm/exec-spool/in/<N>.json` still works as back-compat. 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/<
|
|
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>` (preferred, 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) };
|