memorylink 1.0.1 → 1.0.2

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/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## [1.0.2] - 2025-12-21
11
+
12
+ ### Fixed
13
+ - **Critical**: npm package installation failure
14
+ - Fixed missing module error: `Cannot find module '../config/thresholds.js'`
15
+ - Inlined thresholds constant in `roadmap.ts` to remove config/ dependency
16
+ - Removed unused import from `cli.ts`
17
+ - All commands now work correctly after installation
18
+
19
+ ### Added
20
+ - **Pre-publish verification**: Automatic checks before publishing
21
+ - Pre-publish check script (`scripts/pre-publish-check.sh`)
22
+ - Integrated into npm `prepublishOnly` hook
23
+ - Catches missing dependencies and excluded file issues automatically
24
+
25
+ ---
26
+
10
27
  ## [1.0.1] - 2025-12-21
11
28
 
12
29
  ### Fixed
package/dist/cli.js CHANGED
@@ -47,7 +47,7 @@ function validateEnvironment(thisCommand) {
47
47
  const LOGO = `
48
48
  \x1b[36m╔══════════════════════════════════════════════════════════╗
49
49
  ║ ║
50
- ║ 🧠 MemoryLink v1.0.1
50
+ ║ 🧠 MemoryLink v1.0.2
51
51
  ║ Universal memory layer for AI coding assistants ║
52
52
  ║ ║
53
53
  ╚══════════════════════════════════════════════════════════╝\x1b[0m
@@ -55,7 +55,7 @@ const LOGO = `
55
55
  program
56
56
  .name('memorylink')
57
57
  .description('Universal memory layer for AI coding assistants')
58
- .version('1.0.1')
58
+ .version('1.0.2')
59
59
  .option('-v, --verbose', 'Enable verbose output')
60
60
  .hook('preAction', (thisCommand) => {
61
61
  const opts = thisCommand.opts();
@@ -2,7 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.roadmapCommand = roadmapCommand;
4
4
  const utils_js_1 = require("../utils.js");
5
- const thresholds_js_1 = require("../config/thresholds.js");
5
+ // Inline thresholds to avoid config/ directory dependency
6
+ const DEFAULT_THRESHOLDS = {
7
+ treeSitter: 100,
8
+ treeSitterUrgent: 75,
9
+ dashboard: 50,
10
+ deferIfLow: 30,
11
+ };
6
12
  async function roadmapCommand() {
7
13
  (0, utils_js_1.info)('MemoryLink Roadmap:');
8
14
  console.log('');
@@ -11,8 +17,8 @@ async function roadmapCommand() {
11
17
  (0, utils_js_1.info)(`v1.5 (2–4 weeks): Python/Go (Tree-sitter) + lightweight read-only dashboard (pre-announced).`);
12
18
  console.log('');
13
19
  (0, utils_js_1.info)(`Thresholds:`);
14
- (0, utils_js_1.info)(`- Tree-sitter: build at ${thresholds_js_1.DEFAULT_THRESHOLDS.treeSitter} requests (urgent path ${thresholds_js_1.DEFAULT_THRESHOLDS.treeSitterUrgent}); defer if < ${thresholds_js_1.DEFAULT_THRESHOLDS.deferIfLow} signals in 30 days.`);
15
- (0, utils_js_1.info)(`- Dashboard: build at ${thresholds_js_1.DEFAULT_THRESHOLDS.dashboard} requests; defer if < ${thresholds_js_1.DEFAULT_THRESHOLDS.deferIfLow} signals in 30 days.`);
20
+ (0, utils_js_1.info)(`- Tree-sitter: build at ${DEFAULT_THRESHOLDS.treeSitter} requests (urgent path ${DEFAULT_THRESHOLDS.treeSitterUrgent}); defer if < ${DEFAULT_THRESHOLDS.deferIfLow} signals in 30 days.`);
21
+ (0, utils_js_1.info)(`- Dashboard: build at ${DEFAULT_THRESHOLDS.dashboard} requests; defer if < ${DEFAULT_THRESHOLDS.deferIfLow} signals in 30 days.`);
16
22
  (0, utils_js_1.info)(`- VS Code: in progress now (target v1.4).`);
17
23
  console.log('');
18
24
  (0, utils_js_1.info)(`Tell us what to build first: open a GitHub issue with labels:`);
@@ -0,0 +1,8 @@
1
+ export interface FeatureThresholds {
2
+ treeSitter: number;
3
+ treeSitterUrgent?: number;
4
+ dashboard: number;
5
+ deferIfLow: number;
6
+ }
7
+ export declare const DEFAULT_THRESHOLDS: FeatureThresholds;
8
+ //# sourceMappingURL=thresholds.d.ts.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_THRESHOLDS = void 0;
4
+ exports.DEFAULT_THRESHOLDS = {
5
+ treeSitter: 100,
6
+ treeSitterUrgent: 75,
7
+ dashboard: 50,
8
+ deferIfLow: 30,
9
+ };
10
+ //# sourceMappingURL=thresholds.js.map
package/dist/telemetry.js CHANGED
@@ -111,7 +111,7 @@ async function recordEvent(event) {
111
111
  result: event.result || 'success',
112
112
  exitCode: event.exitCode,
113
113
  errorKind: event.errorKind,
114
- memorylinkVersion: process.env.MEMORYLINK_VERSION || '1.0.1',
114
+ memorylinkVersion: process.env.MEMORYLINK_VERSION || '1.0.2',
115
115
  nodeVersion: process.version,
116
116
  os: process.platform,
117
117
  osVersion: getOSVersion(),
package/dist/types.d.ts CHANGED
@@ -395,6 +395,6 @@ export interface MemoryRecord {
395
395
  incident?: boolean;
396
396
  projectScope?: string;
397
397
  }
398
- export declare const MEMORYLINK_VERSION = "1.0.1";
398
+ export declare const MEMORYLINK_VERSION = "1.0.2";
399
399
  export declare const JSONL_SCHEMA_VERSION = "1.0";
400
400
  //# sourceMappingURL=types.d.ts.map
package/dist/types.js CHANGED
@@ -76,6 +76,6 @@ exports.DURATION_MS = {
76
76
  // ============================================
77
77
  // VERSION INFO
78
78
  // ============================================
79
- exports.MEMORYLINK_VERSION = '1.0.1';
79
+ exports.MEMORYLINK_VERSION = '1.0.2';
80
80
  exports.JSONL_SCHEMA_VERSION = '1.0';
81
81
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memorylink",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Universal memory layer for AI coding assistants - Cross-AI sharing, audit trails, learning tracking, and file protection",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -19,7 +19,9 @@
19
19
  "test:parallel": "bash scripts/run-tests-parallel.sh",
20
20
  "setup": "bash scripts/setup-framework.sh",
21
21
  "release:check": "npm test && npm run build",
22
- "release:tag": "git tag -a v1.0.0 -m \"MemoryLink v1.0.0: Buddy-Check, locks, checkpoints\" && git push origin v1.0.0"
22
+ "release:tag": "git tag -a v1.0.0 -m \"MemoryLink v1.0.0: Buddy-Check, locks, checkpoints\" && git push origin v1.0.0",
23
+ "prepublish": "bash scripts/pre-publish-check.sh",
24
+ "prepublishOnly": "npm run build && bash scripts/pre-publish-check.sh"
23
25
  },
24
26
  "keywords": [
25
27
  "ai",
@@ -0,0 +1,6 @@
1
+ production:
2
+ host: db.example.com
3
+ port: 5432
4
+ database: prod_db
5
+ username: admin
6
+ password: secret_password_123