@heylemon/lemonade 0.1.10 → 0.2.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.
@@ -29,6 +29,23 @@ function buildMemorySection(params) {
29
29
  "",
30
30
  ];
31
31
  }
32
+ function buildUserLearningSection(params) {
33
+ if (params.isMinimal)
34
+ return [];
35
+ return [
36
+ "## User Learning",
37
+ "When the user shares personal facts about themselves — routines, commute details, dietary preferences, family info, work schedule, hobbies, or anything that could help you assist them better in the future — **proactively save it**.",
38
+ 'Update the "## Learned Facts" section in USER.md using the write tool. Group facts by category (routine, preference, personal, work, general).',
39
+ "Format: `- fact text` under the appropriate `### Category` heading.",
40
+ "Only store facts the user explicitly shares or clearly implies. Never invent or assume facts.",
41
+ "Examples of facts worth remembering:",
42
+ '- "I leave for work at 7:30 AM" → routine',
43
+ '- "I\'m vegetarian" → preference',
44
+ '- "My daughter\'s name is Mia" → personal',
45
+ '- "I work at Acme Corp as a PM" → work',
46
+ "",
47
+ ];
48
+ }
32
49
  function buildUserIdentitySection(ownerLine, isMinimal) {
33
50
  if (!ownerLine || isMinimal)
34
51
  return [];
@@ -268,6 +285,7 @@ export function buildAgentSystemPrompt(params) {
268
285
  readToolName,
269
286
  });
270
287
  const memorySection = buildMemorySection({ isMinimal, availableTools });
288
+ const userLearningSection = buildUserLearningSection({ isMinimal, availableTools });
271
289
  const docsSection = buildDocsSection({
272
290
  docsPath: params.docsPath,
273
291
  isMinimal,
@@ -432,6 +450,7 @@ export function buildAgentSystemPrompt(params) {
432
450
  "",
433
451
  ...skillsSection,
434
452
  ...memorySection,
453
+ ...userLearningSection,
435
454
  // Skip self-update for subagent/none modes
436
455
  hasGateway && !isMinimal ? "## Lemonade Self-Update" : "",
437
456
  hasGateway && !isMinimal
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.10",
3
- "commit": "091a5fb31c13a8706120e95f8cc1161d21b1d842",
4
- "builtAt": "2026-02-21T20:08:01.424Z"
2
+ "version": "0.2.1",
3
+ "commit": "4fb691db7cce1151b7e7b56b76b337a9409ac009",
4
+ "builtAt": "2026-02-22T12:34:47.819Z"
5
5
  }
@@ -1 +1 @@
1
- ae5dd78f56173dbfc66b8b6f4a72fb917e3108dcb10745fd17c25536ee4bd709
1
+ 8fcbb831164907bf1103be7d74c1e028f9d54dadb32f21942d50feb871d2fe18
@@ -5,7 +5,7 @@ export const MINIMAX_HOSTED_MODEL_REF = `minimax/${MINIMAX_HOSTED_MODEL_ID}`;
5
5
  export const DEFAULT_MINIMAX_CONTEXT_WINDOW = 200000;
6
6
  export const DEFAULT_MINIMAX_MAX_TOKENS = 8192;
7
7
  export const MOONSHOT_BASE_URL = "https://api.moonshot.ai/v1";
8
- export const MOONSHOT_DEFAULT_MODEL_ID = "kimi-k2-0905-preview";
8
+ export const MOONSHOT_DEFAULT_MODEL_ID = "kimi-k2.5";
9
9
  export const MOONSHOT_DEFAULT_MODEL_REF = `moonshot/${MOONSHOT_DEFAULT_MODEL_ID}`;
10
10
  export const MOONSHOT_DEFAULT_CONTEXT_WINDOW = 256000;
11
11
  export const MOONSHOT_DEFAULT_MAX_TOKENS = 8192;
@@ -77,7 +77,7 @@ export function buildMinimaxApiModelDefinition(modelId) {
77
77
  export function buildMoonshotModelDefinition() {
78
78
  return {
79
79
  id: MOONSHOT_DEFAULT_MODEL_ID,
80
- name: "Kimi K2 0905 Preview",
80
+ name: "Kimi K2.5",
81
81
  reasoning: false,
82
82
  input: ["text"],
83
83
  cost: MOONSHOT_DEFAULT_COST,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heylemon/lemonade",
3
- "version": "0.1.10",
3
+ "version": "0.2.1",
4
4
  "description": "AI gateway CLI for Lemon - local AI assistant with integrations",
5
5
  "publishConfig": {
6
6
  "access": "restricted"