gm-plugkit 2.0.1872 → 2.0.1873

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.
Files changed (2) hide show
  1. package/bootstrap.js +2 -1
  2. package/package.json +1 -1
package/bootstrap.js CHANGED
@@ -931,11 +931,12 @@ async function probeSelfStaleness(timeoutMs) {
931
931
  async function ensureReady(opts) {
932
932
  opts = opts || {};
933
933
  const offline = opts.offline === true;
934
+ const skipSelfStaleCheck = offline || process.env.GM_PLUGKIT_SKIP_SELF_STALE_CHECK === '1';
934
935
 
935
936
  try { ensureNextStepWiring(process.env.CLAUDE_PROJECT_DIR || process.cwd()); } catch (_) {}
936
937
  try { ensureInstructionsBundle(process.env.CLAUDE_PROJECT_DIR || process.cwd()); } catch (_) {}
937
938
 
938
- if (!offline) {
939
+ if (!skipSelfStaleCheck) {
939
940
  try {
940
941
  const selfStale = await probeSelfStaleness(2500);
941
942
  if (selfStale && selfStale.stale) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1872",
3
+ "version": "2.0.1873",
4
4
  "description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
5
5
  "main": "index.js",
6
6
  "bin": {