@fonlan/dsh-gitmemo 0.5.2 → 0.5.5

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 +10 -1
  2. package/package.json +21 -21
package/lib/index.js CHANGED
@@ -423,8 +423,17 @@ function registerMemTools(ctx, config) {
423
423
  gated: {
424
424
  type: "object",
425
425
  additionalProperties: false,
426
- description: "Present only when the System-one recall gate ran: how many candidates it judged (and how many past the cap it left untouched), how many it kept, the short hashes it dropped, and whether it had to fail open.",
426
+ description: "Present only when the System-one recall gate ran: which policy ran (rerank or filter), how many candidates it judged (and how many past the cap it left untouched), how many it kept, the short hashes it dropped, and whether it had to fail open.",
427
427
  properties: {
428
+ policy: {
429
+ type: "string",
430
+ required: true,
431
+ description: "Policy that ran: `rerank` kept every judged candidate and ordered the page by the judge's value; `filter` dropped those below the threshold, bounded by `maxDropFraction`."
432
+ },
433
+ bounded: {
434
+ type: "boolean",
435
+ description: "Present (true) only when `maxDropFraction` restored candidates a `filter` threshold would have removed."
436
+ },
428
437
  mode: { type: "string", required: true, description: "Question type used: noul or score." },
429
438
  model: { type: "string", required: true, description: "System-one model the request named." },
430
439
  candidates: { type: "number", required: true, description: "Size of the candidate page the gate was handed." },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonlan/dsh-gitmemo",
3
- "version": "0.5.2",
3
+ "version": "0.5.5",
4
4
  "description": "Git-backed long-term memory for DeepSeek Harness: a local .mem git repo (single main branch, immutable entries, structured commit messages) with mem_search / mem_read / mem_write / mem_delete / mem_replace tools and fully automatic legacy migration (no CLI needed; the CLI remains for explicit control), auto-managed by the root agent with zero manual steps.",
5
5
  "author": "fonlan",
6
6
  "publishConfig": {
@@ -43,18 +43,18 @@
43
43
  "README.zh.md"
44
44
  ],
45
45
  "devDependencies": {
46
- "@deepseek-ai/cordis": "4.0.5-alpha.1",
47
- "@deepseek-ai/dsh-api-gateway": "0.2.1-alpha.1",
48
- "@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.1",
49
- "@deepseek-ai/dsh-api-settings-controller": "0.2.1-alpha.1",
50
- "@deepseek-ai/dsh-client-locale": "0.2.1-alpha.1",
51
- "@deepseek-ai/dsh-client-store": "0.2.1-alpha.1",
52
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.1",
53
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.1",
54
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-alpha.1",
55
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.1",
56
- "@deepseek-ai/dsh-tools": "0.2.1-alpha.1",
57
- "@deepseek-ai/schemastery": "3.18.5-alpha.1",
46
+ "@deepseek-ai/cordis": "4.0.5",
47
+ "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.3",
48
+ "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.3",
49
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.1-rc.3",
50
+ "@deepseek-ai/dsh-client-locale": "0.2.1-rc.3",
51
+ "@deepseek-ai/dsh-client-store": "0.2.1-rc.3",
52
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.3",
53
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.3",
54
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.3",
55
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.3",
56
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.3",
57
+ "@deepseek-ai/schemastery": "3.18.5",
58
58
  "@types/node": "^26.2.0",
59
59
  "@types/react": "~18.3.1",
60
60
  "react": "^18.2.0",
@@ -88,14 +88,14 @@
88
88
  "license": "MIT",
89
89
  "peerDependencies": {
90
90
  "@deepseek-ai/cordis": "^4.0.2",
91
- "@deepseek-ai/dsh-api-remotes": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
92
- "@deepseek-ai/dsh-api-settings-controller": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
93
- "@deepseek-ai/dsh-client-locale": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
94
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
95
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
96
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
97
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
98
- "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1",
91
+ "@deepseek-ai/dsh-api-remotes": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
92
+ "@deepseek-ai/dsh-api-settings-controller": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
93
+ "@deepseek-ai/dsh-client-locale": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
94
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
95
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
96
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
97
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
98
+ "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 || ^0.2.1-rc.2 || ^0.2.1-rc.3",
99
99
  "@deepseek-ai/schemastery": "^3.18.2"
100
100
  },
101
101
  "scripts": {