Files
clawhdf5/packages/clawhdf5-node/package.json
Omar Sobh 62595d5ac0
CI / test (push) Failing after 14s
chore: Tier 2 quick wins — version skew, docs, cleanup, overflow-safe bounds
- Fix version skew: clawhdf5-py (pyproject.toml 1.93.0 -> 2.1.0) and
  packages/clawhdf5-node (package.json 2.0.0 -> 2.1.0) were both behind
  the actual crate version.
- Correct stale ROADMAP.md claims: the TypeScript bridge already has a
  complete napi-rs package (not "no package.json"); CI/CD is now wired
  up via .gitea/workflows/ci.yml.
- Fix CLAUDE.md: clawhdf5-gpu uses wgpu with hand-written WGSL compute
  shaders, not CubeCL.
- chunked_read.rs: drop 12 unnecessary chunk_dimensions[..rank].to_vec()
  allocations — all three callees already accept &[u32].
- btree_v1.rs: add an overflow-safe ensure_len(data, offset, needed)
  helper (checked_add) and use it at the two plain-arithmetic bounds
  guards, closing a usize-overflow edge case reachable from a crafted
  near-usize::MAX B-tree offset. Add a regression test.
- Clarify that the integrity hashes in clawhdf5-agent/provenance.rs
  (FNV-1a) and clawhdf5-format/provenance.rs (SHA-256) are unkeyed and
  only detect accidental corruption, not tampering — doc-only change.
- README.md: document that the mpi-io feature's read/write paths are
  root-read+broadcast / gather-to-rank-0, not true collective I/O.
2026-08-05 12:02:23 -07:00

56 lines
1.3 KiB
JSON

{
"name": "@redclaw/clawhdf5",
"version": "2.1.0",
"description": "Node.js bindings for clawhdf5 — HDF5-backed agent memory with hippocampal consolidation",
"main": "index.js",
"types": "index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/redclawsystems/clawhdf5"
},
"keywords": [
"agent",
"memory",
"hdf5",
"vector-search",
"embedding",
"openclaw"
],
"napi": {
"name": "clawhdf5",
"triples": {
"defaults": true,
"additional": [
"aarch64-unknown-linux-gnu",
"aarch64-apple-darwin"
]
}
},
"scripts": {
"build": "napi build --platform --release --cargo-cwd ../../crates/clawhdf5-napi",
"build:debug": "napi build --platform --cargo-cwd ../../crates/clawhdf5-napi",
"prepublishOnly": "napi prepublish -t npm",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.0",
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"jest": "^29.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.test.ts"
]
},
"engines": {
"node": ">= 16"
}
}