latticesql 4.0.0 → 4.0.1

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/dist/cli.js CHANGED
@@ -54615,8 +54615,8 @@ function isNewer(latest, current) {
54615
54615
  }
54616
54616
  async function checkForUpdate(pkgName, currentVersion, opts = {}) {
54617
54617
  const ttlMs = opts.ttlMs ?? ONE_DAY_MS;
54618
- const cacheDir = join12(homedir2(), `.${pkgName}`);
54619
- const cachePath = join12(cacheDir, "update-check.json");
54618
+ const cacheDir = join12(homedir2(), ".lattice");
54619
+ const cachePath = join12(cacheDir, `update-check-${pkgName}.json`);
54620
54620
  try {
54621
54621
  if (!opts.force && existsSync13(cachePath)) {
54622
54622
  const cached = JSON.parse(readFileSync9(cachePath, "utf-8"));
@@ -71973,7 +71973,7 @@ function printHelp() {
71973
71973
  );
71974
71974
  }
71975
71975
  function getVersion() {
71976
- if (true) return "4.0.0";
71976
+ if (true) return "4.0.1";
71977
71977
  try {
71978
71978
  const pkgPath = new URL("../package.json", import.meta.url).pathname;
71979
71979
  const pkg = JSON.parse(readFileSync23(pkgPath, "utf-8"));
package/dist/index.cjs CHANGED
@@ -67958,8 +67958,8 @@ function isNewer2(latest, current) {
67958
67958
  }
67959
67959
  async function checkForUpdate(pkgName, currentVersion, opts = {}) {
67960
67960
  const ttlMs = opts.ttlMs ?? ONE_DAY_MS;
67961
- const cacheDir = (0, import_node_path32.join)((0, import_node_os8.homedir)(), `.${pkgName}`);
67962
- const cachePath = (0, import_node_path32.join)(cacheDir, "update-check.json");
67961
+ const cacheDir = (0, import_node_path32.join)((0, import_node_os8.homedir)(), ".lattice");
67962
+ const cachePath = (0, import_node_path32.join)(cacheDir, `update-check-${pkgName}.json`);
67963
67963
  try {
67964
67964
  if (!opts.force && (0, import_node_fs30.existsSync)(cachePath)) {
67965
67965
  const cached = JSON.parse((0, import_node_fs30.readFileSync)(cachePath, "utf-8"));
package/dist/index.js CHANGED
@@ -67782,8 +67782,8 @@ function isNewer2(latest, current) {
67782
67782
  }
67783
67783
  async function checkForUpdate(pkgName, currentVersion, opts = {}) {
67784
67784
  const ttlMs = opts.ttlMs ?? ONE_DAY_MS;
67785
- const cacheDir = join24(homedir5(), `.${pkgName}`);
67786
- const cachePath = join24(cacheDir, "update-check.json");
67785
+ const cacheDir = join24(homedir5(), ".lattice");
67786
+ const cachePath = join24(cacheDir, `update-check-${pkgName}.json`);
67787
67787
  try {
67788
67788
  if (!opts.force && existsSync20(cachePath)) {
67789
67789
  const cached = JSON.parse(readFileSync17(cachePath, "utf-8"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "latticesql",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Persistent structured memory for AI agent systems — pluggable SQLite or Postgres backend, LLM context bridge",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",