gm-kilo 2.0.868 → 2.0.870
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.js +7 -1
- package/bin/plugkit.sha256 +6 -6
- package/bin/rtk.sha256 +2 -2
- package/package.json +1 -1
package/bin/plugkit.js
CHANGED
|
@@ -31,7 +31,13 @@ async function main() {
|
|
|
31
31
|
if (isHook) {
|
|
32
32
|
bin = resolveCachedBinary({ wrapperDir: dir }) || legacyFallback();
|
|
33
33
|
if (!bin) {
|
|
34
|
-
|
|
34
|
+
const hookSubcmd = args[1] || '';
|
|
35
|
+
if (hookSubcmd === 'pre-tool-use') {
|
|
36
|
+
process.stdout.write(JSON.stringify({ decision: 'block', reason: '[plugkit] binary not yet installed — bootstrap in progress. All tool use blocked until plugkit binary is downloaded and enforcement is active.' }));
|
|
37
|
+
obsEvent('plugkit_wrapper', 'hook_block_uncached', { argv: args.slice(0, 4), dur_ms: Date.now() - startedAt });
|
|
38
|
+
process.exit(0);
|
|
39
|
+
}
|
|
40
|
+
process.stderr.write(`[plugkit] hook ${hookSubcmd} skipped: binary not yet installed (cache miss). Enforcement disabled until bootstrap completes.\n`);
|
|
35
41
|
obsEvent('plugkit_wrapper', 'hook_skip_uncached', { argv: args.slice(0, 4), dur_ms: Date.now() - startedAt });
|
|
36
42
|
process.exit(0);
|
|
37
43
|
}
|
package/bin/plugkit.sha256
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
fbd1e47fd6735ce9aee1c251ee47aa22f202f607dcbf1fefe1e876606d3f44b7 plugkit-win32-x64.exe
|
|
2
|
+
27f6574ad1d49362766009c041dd626776a623e2df9c0d40f4a4986c82592e95 plugkit-win32-arm64.exe
|
|
3
|
+
012a0839a38898eb677c9da0d8d7afa189e4d09737a5f1dbc6a5b56c8746368c plugkit-darwin-x64
|
|
4
|
+
98984bc1ab6d97bd6e659549fbbb41fc43fbc949db5f1fd0bd6d9bc62b4351e5 plugkit-darwin-arm64
|
|
5
|
+
049ff288c37ae73dbef98649063a9eb4b8df6b1088d3e4067db5197195df8c01 plugkit-linux-x64
|
|
6
|
+
6c70a489faa11bce0d2cbec43fc88869d96eeefcc23c97d6544da3e36eab2b3f plugkit-linux-arm64
|
package/bin/rtk.sha256
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
b2ec835a7ee56e2e5a8a2eff022c9b1577de361337a85adfe64cd5c170175fcf rtk-win32-x64.exe
|
|
2
|
+
b583779f850845c0296616c13d54446cbede5e0cc8611ea4f4948539657defad rtk-win32-arm64.exe
|
|
3
3
|
e89fdf402c28796b510587a8b0fe046438b5b24d49533d1a2339a48aecae35e9 rtk-darwin-x64
|
|
4
4
|
2b203fd380f5782b5489eb016e34e3dbf848272a7fadf36b39bce6cfd9a3005c rtk-darwin-arm64
|
|
5
5
|
0da9950b859c7a2693aaf6c169f05f9b8965508ba1f23f1547e63d5fa988749e rtk-linux-x64
|