citeclaw 2.0.5 → 2.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "citeclaw",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Citation and bibliography toolkit for DOI, URL, arXiv, PDF, Zotero, and MCP workflows.",
5
5
  "homepage": "https://github.com/trotsky1997/citeclaw",
6
6
  "license": "Apache-2.0",
@@ -612,6 +612,7 @@ function ensureDefaultZoteroSource() {
612
612
  throw new Error( 'git is required to update bundled zotero source' );
613
613
  }
614
614
  runCommandOrThrow( 'git', [ '-C', zoteroDir, 'pull', '--ff-only' ] );
615
+ runCommandOrThrow( 'git', [ '-C', zoteroDir, 'submodule', 'update', '--init', '--recursive' ] );
615
616
  }
616
617
  return;
617
618
  }
@@ -621,7 +622,7 @@ function ensureDefaultZoteroSource() {
621
622
  );
622
623
  }
623
624
  fs.mkdirSync( path.dirname( zoteroDir ), { recursive: true } );
624
- runCommandOrThrow( 'git', [ 'clone', '--depth', '1', defaultZoteroGitSource, zoteroDir ] );
625
+ runCommandOrThrow( 'git', [ 'clone', '--depth', '1', '--recurse-submodules', defaultZoteroGitSource, zoteroDir ] );
625
626
  }
626
627
 
627
628
  function bootstrapLocalEnvironment() {