@jacklika/dsh-memory-curator 0.1.0-alpha.1 → 0.1.0-alpha.3

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +4 -3
package/lib/index.js CHANGED
@@ -11,6 +11,7 @@ import { randomUUID } from 'node:crypto';
11
11
  import z from '@deepseek-ai/schemastery';
12
12
  import { ToolCallId } from '@deepseek-ai/dsh-llm';
13
13
  import { defineTool } from '@deepseek-ai/dsh-tools';
14
+ import { formatBeijingTime } from '@jacklika/dsh-memory-time';
14
15
  import yaml from 'js-yaml';
15
16
  /** Cordis plugin name used by loader diagnostics. */
16
17
  export const name = 'memory-curator';
@@ -210,7 +211,7 @@ export function apply(ctx, config) {
210
211
  };
211
212
  }
212
213
  }
213
- const now = new Date().toISOString();
214
+ const now = formatBeijingTime(new Date());
214
215
  const detailsText = args.details ? `\n\n## Details\n\n${args.details}` : '';
215
216
  const appendContent = `${args.summary}${detailsText}\n`;
216
217
  const frontmatter = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jacklika/dsh-memory-curator",
3
3
  "description": "Curator tools for the DSH memory vault: memory_recall before acting and memory_capture after significant work, with conflict detection and optional user approval.",
4
- "version": "0.1.0-alpha.1",
4
+ "version": "0.1.0-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,7 +32,8 @@
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
34
  "@deepseek-ai/schemastery": "3.18.4",
35
- "js-yaml": "^4.2.0"
35
+ "js-yaml": "^4.2.0",
36
+ "@jacklika/dsh-memory-time": "^0.1.0-alpha.0"
36
37
  },
37
38
  "peerDependencies": {
38
39
  "@deepseek-ai/cordis": "4.0.4",
@@ -43,6 +44,6 @@
43
44
  "@deepseek-ai/dsh-util-values": ">=0.1.7-rc.1 <0.3.0-0"
44
45
  },
45
46
  "devDependencies": {
46
- "@jacklika/dsh-tool-memory-filesystem": "0.1.3-alpha.2"
47
+ "@jacklika/dsh-tool-memory-filesystem": "^0.1.3-alpha.4"
47
48
  }
48
49
  }