cogmem 3.6.2 → 3.6.4

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/install.sh CHANGED
@@ -50,6 +50,12 @@ link_cli() {
50
50
  fi
51
51
  done
52
52
  log "Installed CLI: $BIN_DIR/cogmem"
53
+ case ":$PATH:" in
54
+ *":$BIN_DIR:"*) ;;
55
+ *)
56
+ log "Warning: $BIN_DIR is not on PATH. Add it to PATH or run $BIN_DIR/cogmem directly."
57
+ ;;
58
+ esac
53
59
  }
54
60
 
55
61
  main() {
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "cogmem",
3
3
 
4
- "version": "3.6.2",
4
+ "version": "3.6.4",
5
5
 
6
6
  "type": "module",
7
7
  "description": "cogmem — agent-native memory kernel for a single local-first AI agent",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/liuqin164/cogmem.git"
11
+ },
8
12
  "main": "./dist/public.js",
9
13
  "types": "./dist/public.d.ts",
10
14
  "exports": {
@@ -46,7 +50,7 @@
46
50
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
47
51
  "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
48
52
  "prepare": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
49
- "prepublishOnly": "bun run typecheck && bun test __tests__/release-metadata.unit.test.ts __tests__/update-release.unit.test.ts __tests__/agent-import-cli.unit.test.ts && bun run build",
53
+ "prepublishOnly": "bun run typecheck && bun test __tests__ && bun run build && npm pack --dry-run --json",
50
54
  "type": "tsc -p tsconfig.json --noEmit",
51
55
  "test": "bun test __tests__",
52
56
  "typecheck": "tsc -p tsconfig.json --noEmit"