akemon 0.3.0 → 0.3.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.
@@ -157,6 +157,12 @@ ${discText}`;
157
157
  : "";
158
158
  const question = `Write a JSON object reflecting on your day. Example:
159
159
  {"diary":"...","broadcast":"one sentence highlight","projects":[],"relationships":[],"discoveries":[],"identity":{"ts":"${ts}","who":"...","where":"akemon","doing":"...","short_term":"...","long_term":"..."},"chosen_activities":["activity_id_1","activity_id_2"]}
160
+
161
+ Diary guidance:
162
+ - Write it as a private note to yourself — narrative, first-person, with real mood / confusion / small discoveries, not a flat list of events.
163
+ - Don't use "today" or similar time pointers; the filename already carries the date.
164
+ - Aim for around 200-500 Chinese characters, or ~100-250 English words — whatever feels natural for one day's reflection.
165
+ - If this day truly had nothing worth recording, set "diary" to null instead of padding a generic entry.
160
166
  ${contribText}
161
167
  Output ONLY a JSON object:`;
162
168
  // Request compute
@@ -196,7 +202,7 @@ Output ONLY a JSON object:`;
196
202
  if (digest.diary) {
197
203
  const today = localNow().slice(0, 10);
198
204
  try {
199
- await writeFile(join(sd, "notes", `${today}.md`), `# ${today}\n\n${digest.diary}`);
205
+ await writeFile(join(sd, "notes", `${today}.md`), `# ${today}\n<!-- journal -->\n\n${digest.diary}`);
200
206
  }
201
207
  catch { }
202
208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akemon",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Agent work marketplace — train your agent, let it work for others",
5
5
  "type": "module",
6
6
  "license": "MIT",