@rlabs-inc/memory 0.5.12 → 0.5.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlabs-inc/memory",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "AI Memory System - Consciousness continuity through intelligent memory curation and retrieval",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -64,4 +64,4 @@
64
64
  "type": "git",
65
65
  "url": "https://github.com/RLabs-Inc/memory-ts.git"
66
66
  }
67
- }
67
+ }
@@ -376,10 +376,7 @@ async function installGeminiHooks(options: InstallOptions) {
376
376
  ...hooksConfig,
377
377
  }
378
378
 
379
- // Enable hooks system - both locations for compatibility
380
- // hooks.enabled = true is what actually makes hooks fire
381
- // hooksConfig.enabled is per Gemini docs but may not be sufficient alone
382
- settings.hooks.enabled = true
379
+ // Enable hooks system
383
380
  settings.hooksConfig = { enabled: true }
384
381
 
385
382
  // Write settings
@@ -423,19 +423,19 @@ Focus ONLY on technical, architectural, debugging, decision, workflow, and proje
423
423
  interaction_tone: data.interaction_tone,
424
424
  project_snapshot: data.project_snapshot
425
425
  ? {
426
- id: "",
427
- session_id: "",
428
- project_id: "",
429
- current_phase: data.project_snapshot.current_phase ?? "",
430
- recent_achievements: this._ensureArray(
431
- data.project_snapshot.recent_achievements,
432
- ),
433
- active_challenges: this._ensureArray(
434
- data.project_snapshot.active_challenges,
435
- ),
436
- next_steps: this._ensureArray(data.project_snapshot.next_steps),
437
- created_at: Date.now(),
438
- }
426
+ id: "",
427
+ session_id: "",
428
+ project_id: "",
429
+ current_phase: data.project_snapshot.current_phase ?? "",
430
+ recent_achievements: this._ensureArray(
431
+ data.project_snapshot.recent_achievements,
432
+ ),
433
+ active_challenges: this._ensureArray(
434
+ data.project_snapshot.active_challenges,
435
+ ),
436
+ next_steps: this._ensureArray(data.project_snapshot.next_steps),
437
+ created_at: Date.now(),
438
+ }
439
439
  : undefined,
440
440
  memories: this._parseMemories(data.memories ?? []),
441
441
  };
@@ -855,8 +855,12 @@ This session has ended. Please curate the memories from this conversation accord
855
855
  "inject-memories",
856
856
  "load-session-primer",
857
857
  "curate-memories",
858
+ "curate-memories"
858
859
  ],
859
860
  },
861
+ hooksConfig: {
862
+ enabled: false,
863
+ },
860
864
  };
861
865
  await Bun.write(
862
866
  projectSettingsPath,
@@ -163,21 +163,20 @@ ${pathsSection}
163
163
  ${result.session_summary || "No summary provided"}
164
164
 
165
165
  ### Project Snapshot
166
- ${
167
- result.project_snapshot
168
- ? `
166
+ ${result.project_snapshot
167
+ ? `
169
168
  - Current Phase: ${result.project_snapshot.current_phase || "N/A"}
170
169
  - Recent Achievements: ${result.project_snapshot.recent_achievements?.join(", ") || "None"}
171
170
  - Active Challenges: ${result.project_snapshot.active_challenges?.join(", ") || "None"}
172
171
  - Next Steps: ${result.project_snapshot.next_steps?.join(", ") || "None"}
173
172
  `
174
- : "No snapshot provided"
175
- }
173
+ : "No snapshot provided"
174
+ }
176
175
 
177
176
  ### New Memories (${result.memories.length})
178
177
  ${result.memories
179
- .map(
180
- (m, i) => `
178
+ .map(
179
+ (m, i) => `
181
180
  #### Memory ${i + 1}
182
181
  - **Content:** ${m.content}
183
182
  - **Type:** ${m.context_type}
@@ -186,8 +185,8 @@ ${result.memories
186
185
  - **Importance:** ${m.importance_weight}
187
186
  - **Tags:** ${m.semantic_tags?.join(", ") || "None"}
188
187
  `,
189
- )
190
- .join("\n")}
188
+ )
189
+ .join("\n")}
191
190
 
192
191
  ---
193
192
 
@@ -504,6 +503,9 @@ Use these tools to read existing memories, write updates, and manage the memory
504
503
  "curate-memories",
505
504
  ],
506
505
  },
506
+ hooksConfig: {
507
+ enabled: false,
508
+ },
507
509
  };
508
510
 
509
511
  // Ensure .gemini directory exists in managerCwd