@deeplake/hivemind 0.7.76 → 0.7.78

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.
@@ -1828,7 +1828,7 @@ function extractLatestVersion(body) {
1828
1828
  return typeof v === "string" && v.length > 0 ? v : null;
1829
1829
  }
1830
1830
  function getInstalledVersion() {
1831
- return "0.7.76".length > 0 ? "0.7.76" : null;
1831
+ return "0.7.78".length > 0 ? "0.7.78" : null;
1832
1832
  }
1833
1833
  function isNewer(latest, current) {
1834
1834
  const parse = (v) => v.replace(/-.*$/, "").split(".").map(Number);
@@ -54,5 +54,5 @@
54
54
  }
55
55
  }
56
56
  },
57
- "version": "0.7.76"
57
+ "version": "0.7.78"
58
58
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hivemind",
3
- "version": "0.7.76",
3
+ "version": "0.7.78",
4
4
  "type": "module",
5
5
  "description": "Hivemind — cloud-backed persistent shared memory for AI agents, powered by DeepLake",
6
6
  "license": "Apache-2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeplake/hivemind",
3
- "version": "0.7.76",
3
+ "version": "0.7.78",
4
4
  "description": "Cloud-backed persistent shared memory for AI agents powered by Deeplake",
5
5
  "type": "module",
6
6
  "repository": {
@@ -61,6 +61,7 @@
61
61
  "deeplake": "^0.3.30",
62
62
  "js-yaml": "^4.1.1",
63
63
  "just-bash": "^2.14.0",
64
+ "tree-sitter-python": "^0.21.0",
64
65
  "yargs-parser": "^22.0.0",
65
66
  "zod": "^4.3.6"
66
67
  },
@@ -17,7 +17,7 @@ import { createRequire } from 'node:module';
17
17
 
18
18
  const ROOT = process.cwd();
19
19
  const require = createRequire(`${ROOT}/`);
20
- const PKGS = ['tree-sitter', 'tree-sitter-typescript'];
20
+ const PKGS = ['tree-sitter', 'tree-sitter-typescript', 'tree-sitter-python'];
21
21
 
22
22
  function bindingsLoad() {
23
23
  try {
@@ -26,6 +26,11 @@ function bindingsLoad() {
26
26
  const parser = new Parser();
27
27
  parser.setLanguage(TS);
28
28
  parser.parse('const x = 1;');
29
+ // B6: also verify the Python grammar loads on this platform / Node ABI.
30
+ const Py = require('tree-sitter-python');
31
+ const pyParser = new Parser();
32
+ pyParser.setLanguage(Py);
33
+ pyParser.parse('x = 1\n');
29
34
  return true;
30
35
  } catch {
31
36
  return false;