dsh-memory-bond 0.3.0-beta.0 → 1.0.0

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 (145) hide show
  1. package/CHANGELOG.md +6 -7
  2. package/README.md +125 -91
  3. package/README.zh-CN.md +122 -92
  4. package/SECURITY.md +29 -0
  5. package/dist/audit.js +155 -80
  6. package/dist/automatic.js +10 -2
  7. package/dist/client.js +2035 -0
  8. package/dist/command-scope.js +4 -4
  9. package/dist/commands.js +15 -9
  10. package/dist/consolidation-store.js +87 -20
  11. package/dist/consolidation.js +2 -6
  12. package/dist/domain.js +8 -4
  13. package/dist/encoder.js +46 -5
  14. package/dist/file-import-store.js +120 -0
  15. package/dist/file-import.js +265 -0
  16. package/dist/foreground-attempts.js +91 -0
  17. package/dist/guidance.js +133 -92
  18. package/dist/host.js +13 -0
  19. package/dist/index-policy.js +91 -48
  20. package/dist/index.js +102 -40
  21. package/dist/knowledge-hooks.js +70 -27
  22. package/dist/knowledge.js +2 -3
  23. package/dist/maintenance-store.js +38 -4
  24. package/dist/maintenance.js +29 -5
  25. package/dist/personal.js +37 -0
  26. package/dist/policy.js +45 -47
  27. package/dist/prompt-copy.js +93 -0
  28. package/dist/proposal-receipts.js +70 -0
  29. package/dist/proposal-review.js +656 -0
  30. package/dist/propose-contract.js +32 -36
  31. package/dist/question-answers.js +86 -29
  32. package/dist/retrieval.js +25 -8
  33. package/dist/scope-narrowing.js +49 -0
  34. package/dist/search-index.js +93 -13
  35. package/dist/semantic.js +69 -207
  36. package/dist/service.js +633 -204
  37. package/dist/sharing.js +7 -13
  38. package/dist/sources.js +28 -3
  39. package/dist/store.js +432 -96
  40. package/dist/tool-experience.js +87 -0
  41. package/dist/turn-review-store.js +83 -16
  42. package/dist/turn-review.js +155 -59
  43. package/dist/ui.js +128 -26
  44. package/dist/vector-index.js +69 -33
  45. package/docs/architecture.zh-CN.md +52 -0
  46. package/docs/benchmark.zh-CN.md +60 -0
  47. package/docs/benchmarks/repository-tasks.json +5355 -0
  48. package/docs/images/bond-memory-principle-en.svg +644 -0
  49. package/docs/images/bond-memory-principle-zh.svg +644 -0
  50. package/docs/images/bond-memory-principle.drawio +644 -0
  51. package/docs/images/memory-settings-en.png +0 -0
  52. package/docs/images/memory-settings-zh.png +0 -0
  53. package/docs/images/memory-turn-recalled-en.png +0 -0
  54. package/docs/images/memory-turn-recalled-zh.png +0 -0
  55. package/docs/images/memory-turn-saved-en.png +0 -0
  56. package/docs/images/memory-turn-saved-zh.png +0 -0
  57. package/docs/media/memory-bond-name-en.gif +0 -0
  58. package/docs/media/memory-bond-name-en.mp4 +0 -0
  59. package/docs/media/memory-bond-name-zh.gif +0 -0
  60. package/docs/media/memory-bond-name-zh.mp4 +0 -0
  61. package/locale/detail.en.md +5 -1
  62. package/locale/detail.zh.md +5 -1
  63. package/locale/en.json +338 -0
  64. package/locale/zh.json +338 -0
  65. package/native/embeddings/NOTICE.md +2 -2
  66. package/package.json +39 -19
  67. package/scripts/benchmark-bond.mjs +72 -0
  68. package/scripts/benchmark-conditions.mjs +144 -0
  69. package/scripts/benchmark-example.mjs +37 -0
  70. package/scripts/benchmark-scale.mjs +119 -0
  71. package/scripts/benchmark-scenarios.mjs +57 -0
  72. package/scripts/benchmark-tasks.mjs +244 -0
  73. package/src/audit.ts +144 -85
  74. package/src/automatic.ts +12 -2
  75. package/src/command-scope.ts +4 -4
  76. package/src/commands.ts +12 -8
  77. package/src/consolidation-store.ts +80 -18
  78. package/src/consolidation.ts +2 -6
  79. package/src/domain.ts +9 -4
  80. package/src/encoder.ts +46 -6
  81. package/src/file-import-store.ts +139 -0
  82. package/src/file-import.ts +256 -0
  83. package/src/foreground-attempts.ts +97 -0
  84. package/src/guidance.ts +138 -102
  85. package/src/host.ts +22 -2
  86. package/src/index-policy.ts +93 -46
  87. package/src/index.ts +87 -43
  88. package/src/knowledge-hooks.ts +71 -29
  89. package/src/knowledge.ts +2 -3
  90. package/src/maintenance-store.ts +37 -4
  91. package/src/maintenance.ts +25 -5
  92. package/src/personal.ts +36 -0
  93. package/src/policy.ts +55 -52
  94. package/src/prompt-copy.ts +99 -0
  95. package/src/proposal-receipts.ts +59 -0
  96. package/src/proposal-review.ts +614 -0
  97. package/src/propose-contract.ts +31 -35
  98. package/src/question-answers.ts +99 -29
  99. package/src/retrieval.ts +26 -9
  100. package/src/scope-narrowing.ts +58 -0
  101. package/src/search-index.ts +94 -14
  102. package/src/semantic.ts +67 -188
  103. package/src/service.ts +595 -210
  104. package/src/sharing.ts +7 -14
  105. package/src/sources.ts +26 -4
  106. package/src/store.ts +434 -97
  107. package/src/tool-experience.ts +93 -0
  108. package/src/turn-review-store.ts +86 -15
  109. package/src/turn-review.ts +142 -60
  110. package/src/ui.ts +122 -27
  111. package/src/vector-index.ts +57 -29
  112. package/client/index.js +0 -1186
  113. package/design/dsh-memory-plugin-design.md +0 -46
  114. package/design/dsh-memory-plugin-evaluation.md +0 -135
  115. package/design/evaluations/locomo-conv-26-2026-12-03.json +0 -252
  116. package/design/evaluations/locomo-conv-26-paired-2026-12-03.json +0 -549
  117. package/design/evaluations/locomo-conv-26-write-replay-2026-12-03.json +0 -289
  118. package/design/evaluations/project-memory-tasks-2026-12-03.json +0 -1059
  119. package/design/memory-lifecycle-consolidation.excalidraw +0 -1212
  120. package/design/memory-lifecycle-consolidation.mobile.excalidraw +0 -1083
  121. package/design/memory-lifecycle-consolidation.mobile.svg +0 -2
  122. package/design/memory-lifecycle-consolidation.mobile.zh-CN.excalidraw +0 -1083
  123. package/design/memory-lifecycle-consolidation.mobile.zh-CN.svg +0 -94
  124. package/design/memory-lifecycle-consolidation.svg +0 -2
  125. package/design/memory-lifecycle-consolidation.zh-CN.excalidraw +0 -1212
  126. package/design/memory-lifecycle-consolidation.zh-CN.svg +0 -94
  127. package/design/memory-lifecycle.excalidraw +0 -2105
  128. package/design/memory-lifecycle.mobile.excalidraw +0 -1896
  129. package/design/memory-lifecycle.mobile.svg +0 -95
  130. package/design/memory-lifecycle.mobile.zh-CN.excalidraw +0 -1896
  131. package/design/memory-lifecycle.mobile.zh-CN.svg +0 -97
  132. package/design/memory-lifecycle.svg +0 -95
  133. package/design/memory-lifecycle.zh-CN.excalidraw +0 -2105
  134. package/design/memory-lifecycle.zh-CN.svg +0 -97
  135. package/native/embeddings/LICENSE +0 -21
  136. package/native/embeddings/en/model.onnx +0 -4
  137. package/native/embeddings/en/vocab.txt +0 -30522
  138. package/native/embeddings/runtime/LICENSE +0 -21
  139. package/native/embeddings/runtime/ThirdPartyNotices.txt +0 -6156
  140. package/native/embeddings/runtime/ort-wasm-simd-threaded.mjs +0 -70
  141. package/native/embeddings/runtime/ort-wasm-simd-threaded.wasm +0 -0
  142. package/native/embeddings/runtime/ort.wasm.min.mjs +0 -7
  143. package/native/embeddings/worker.mjs +0 -97
  144. package/native/embeddings/zh/model.onnx +0 -0
  145. package/native/embeddings/zh/vocab.txt +0 -21128
@@ -1,1212 +0,0 @@
1
- {
2
- "type": "excalidraw",
3
- "version": 2,
4
- "source": "https://excalidraw.com",
5
- "elements": [
6
- {
7
- "id": "surface",
8
- "type": "rectangle",
9
- "x": 0,
10
- "y": 0,
11
- "width": 820,
12
- "height": 432,
13
- "angle": 0,
14
- "strokeColor": "#c6d3d2",
15
- "backgroundColor": "#f7f9f8",
16
- "fillStyle": "solid",
17
- "strokeWidth": 1,
18
- "strokeStyle": "solid",
19
- "roughness": 0,
20
- "opacity": 100,
21
- "groupIds": [],
22
- "frameId": null,
23
- "index": "a0",
24
- "roundness": null,
25
- "seed": 9346,
26
- "version": 2,
27
- "versionNonce": 577092069,
28
- "isDeleted": false,
29
- "boundElements": [],
30
- "updated": 1796278378724,
31
- "link": null,
32
- "locked": false
33
- },
34
- {
35
- "id": "title",
36
- "type": "text",
37
- "x": 26,
38
- "y": 17,
39
- "width": 203,
40
- "height": 33.349999999999994,
41
- "angle": 0,
42
- "strokeColor": "#172d33",
43
- "backgroundColor": "transparent",
44
- "fillStyle": "solid",
45
- "strokeWidth": 1,
46
- "strokeStyle": "solid",
47
- "roughness": 0,
48
- "opacity": 100,
49
- "groupIds": [],
50
- "frameId": null,
51
- "index": "a1",
52
- "roundness": null,
53
- "seed": 13263,
54
- "version": 2,
55
- "versionNonce": 1800864491,
56
- "isDeleted": false,
57
- "boundElements": [],
58
- "updated": 1796278378724,
59
- "link": null,
60
- "locked": false,
61
- "text": "跨会话定期整理",
62
- "fontSize": 29,
63
- "fontFamily": 2,
64
- "textAlign": "left",
65
- "verticalAlign": "top",
66
- "containerId": null,
67
- "originalText": "跨会话定期整理",
68
- "autoResize": true,
69
- "lineHeight": 1.15
70
- },
71
- {
72
- "id": "switch",
73
- "type": "rectangle",
74
- "x": 656,
75
- "y": 22,
76
- "width": 138,
77
- "height": 32,
78
- "angle": 0,
79
- "strokeColor": "#b8c9c3",
80
- "backgroundColor": "#e9f1ee",
81
- "fillStyle": "solid",
82
- "strokeWidth": 1,
83
- "strokeStyle": "solid",
84
- "roughness": 0,
85
- "opacity": 100,
86
- "groupIds": [
87
- "setting"
88
- ],
89
- "frameId": null,
90
- "index": "a2",
91
- "roundness": null,
92
- "seed": 17180,
93
- "version": 2,
94
- "versionNonce": 1539257669,
95
- "isDeleted": false,
96
- "boundElements": [],
97
- "updated": 1796278378724,
98
- "link": null,
99
- "locked": false
100
- },
101
- {
102
- "id": "switch-label",
103
- "type": "text",
104
- "x": 672,
105
- "y": 28,
106
- "width": 64,
107
- "height": 18.4,
108
- "angle": 0,
109
- "strokeColor": "#465c62",
110
- "backgroundColor": "transparent",
111
- "fillStyle": "solid",
112
- "strokeWidth": 1,
113
- "strokeStyle": "solid",
114
- "roughness": 0,
115
- "opacity": 100,
116
- "groupIds": [
117
- "setting"
118
- ],
119
- "frameId": null,
120
- "index": "a3",
121
- "roundness": null,
122
- "seed": 21097,
123
- "version": 2,
124
- "versionNonce": 720203147,
125
- "isDeleted": false,
126
- "boundElements": [],
127
- "updated": 1796278378724,
128
- "link": null,
129
- "locked": false,
130
- "text": "默认关闭",
131
- "fontSize": 16,
132
- "fontFamily": 2,
133
- "textAlign": "left",
134
- "verticalAlign": "top",
135
- "containerId": null,
136
- "originalText": "默认关闭",
137
- "autoResize": true,
138
- "lineHeight": 1.15
139
- },
140
- {
141
- "id": "header-rule",
142
- "type": "line",
143
- "x": 26,
144
- "y": 71,
145
- "width": 768,
146
- "height": 0,
147
- "angle": 0,
148
- "strokeColor": "#c6d3d2",
149
- "backgroundColor": "transparent",
150
- "fillStyle": "solid",
151
- "strokeWidth": 1.5,
152
- "strokeStyle": "solid",
153
- "roughness": 0,
154
- "opacity": 100,
155
- "groupIds": [],
156
- "frameId": null,
157
- "index": "a4",
158
- "roundness": null,
159
- "seed": 25014,
160
- "version": 2,
161
- "versionNonce": 1460815013,
162
- "isDeleted": false,
163
- "boundElements": [],
164
- "updated": 1796278378724,
165
- "link": null,
166
- "locked": false,
167
- "points": [
168
- [
169
- 0,
170
- 0
171
- ],
172
- [
173
- 768,
174
- 0
175
- ]
176
- ],
177
- "lastCommittedPoint": null,
178
- "startBinding": null,
179
- "endBinding": null,
180
- "startArrowhead": null,
181
- "endArrowhead": null
182
- },
183
- {
184
- "id": "hourly-loop",
185
- "type": "arrow",
186
- "x": 534,
187
- "y": 142.5,
188
- "width": 405,
189
- "height": 25.5,
190
- "angle": 0,
191
- "strokeColor": "#08665a",
192
- "backgroundColor": "transparent",
193
- "fillStyle": "solid",
194
- "strokeWidth": 2,
195
- "strokeStyle": "solid",
196
- "roughness": 0,
197
- "opacity": 100,
198
- "groupIds": [
199
- "hourly-recheck"
200
- ],
201
- "frameId": null,
202
- "index": "a5",
203
- "roundness": null,
204
- "seed": 28931,
205
- "version": 2,
206
- "versionNonce": 228426795,
207
- "isDeleted": false,
208
- "boundElements": [],
209
- "updated": 1796278378724,
210
- "link": null,
211
- "locked": false,
212
- "points": [
213
- [
214
- 0,
215
- 0
216
- ],
217
- [
218
- 0,
219
- -25.5
220
- ],
221
- [
222
- -405,
223
- -25.5
224
- ],
225
- [
226
- -405,
227
- -1
228
- ]
229
- ],
230
- "lastCommittedPoint": null,
231
- "startBinding": {
232
- "elementId": "scan-box",
233
- "focus": 0,
234
- "gap": 8,
235
- "fixedPoint": [
236
- 0.45,
237
- 0
238
- ]
239
- },
240
- "endBinding": {
241
- "elementId": "idle-box",
242
- "focus": 0,
243
- "gap": 8,
244
- "fixedPoint": [
245
- 0.46,
246
- 0
247
- ]
248
- },
249
- "startArrowhead": null,
250
- "endArrowhead": "arrow",
251
- "elbowed": false
252
- },
253
- {
254
- "id": "hourly-label",
255
- "type": "text",
256
- "x": 187,
257
- "y": 86,
258
- "width": 272,
259
- "height": 19.549999999999997,
260
- "angle": 0,
261
- "strokeColor": "#08665a",
262
- "backgroundColor": "transparent",
263
- "fillStyle": "solid",
264
- "strokeWidth": 1,
265
- "strokeStyle": "solid",
266
- "roughness": 0,
267
- "opacity": 100,
268
- "groupIds": [
269
- "hourly-recheck"
270
- ],
271
- "frameId": null,
272
- "index": "a6",
273
- "roundness": null,
274
- "seed": 32848,
275
- "version": 2,
276
- "versionNonce": 1208772613,
277
- "isDeleted": false,
278
- "boundElements": [],
279
- "updated": 1796278378724,
280
- "link": null,
281
- "locked": false,
282
- "text": "会话持续空闲,约一小时后再次检查",
283
- "fontSize": 17,
284
- "fontFamily": 2,
285
- "textAlign": "left",
286
- "verticalAlign": "top",
287
- "containerId": null,
288
- "originalText": "会话持续空闲,约一小时后再次检查",
289
- "autoResize": true,
290
- "lineHeight": 1.15
291
- },
292
- {
293
- "id": "idle-box",
294
- "type": "rectangle",
295
- "x": 26,
296
- "y": 150,
297
- "width": 222,
298
- "height": 108,
299
- "angle": 0,
300
- "strokeColor": "#b6c9c2",
301
- "backgroundColor": "#e9f1ee",
302
- "fillStyle": "solid",
303
- "strokeWidth": 1,
304
- "strokeStyle": "solid",
305
- "roughness": 0,
306
- "opacity": 100,
307
- "groupIds": [
308
- "idle-session"
309
- ],
310
- "frameId": null,
311
- "index": "a7",
312
- "roundness": null,
313
- "seed": 36765,
314
- "version": 2,
315
- "versionNonce": 1532085963,
316
- "isDeleted": false,
317
- "boundElements": [
318
- {
319
- "id": "enter-scan",
320
- "type": "arrow"
321
- },
322
- {
323
- "id": "hourly-loop",
324
- "type": "arrow"
325
- }
326
- ],
327
- "updated": 1796278378724,
328
- "link": null,
329
- "locked": false
330
- },
331
- {
332
- "id": "idle-title",
333
- "type": "text",
334
- "x": 39,
335
- "y": 158,
336
- "width": 171,
337
- "height": 21.849999999999998,
338
- "angle": 0,
339
- "strokeColor": "#172d33",
340
- "backgroundColor": "transparent",
341
- "fillStyle": "solid",
342
- "strokeWidth": 1,
343
- "strokeStyle": "solid",
344
- "roughness": 0,
345
- "opacity": 100,
346
- "groupIds": [
347
- "idle-session"
348
- ],
349
- "frameId": null,
350
- "index": "a8",
351
- "roundness": null,
352
- "seed": 40682,
353
- "version": 2,
354
- "versionNonce": 279650149,
355
- "isDeleted": false,
356
- "boundElements": [],
357
- "updated": 1796278378724,
358
- "link": null,
359
- "locked": false,
360
- "text": "项目主会话进入空闲",
361
- "fontSize": 19,
362
- "fontFamily": 2,
363
- "textAlign": "left",
364
- "verticalAlign": "top",
365
- "containerId": null,
366
- "originalText": "项目主会话进入空闲",
367
- "autoResize": true,
368
- "lineHeight": 1.15
369
- },
370
- {
371
- "id": "idle-detail",
372
- "type": "text",
373
- "x": 39,
374
- "y": 187,
375
- "width": 170.5,
376
- "height": 53.474999999999994,
377
- "angle": 0,
378
- "strokeColor": "#465c62",
379
- "backgroundColor": "transparent",
380
- "fillStyle": "solid",
381
- "strokeWidth": 1,
382
- "strokeStyle": "solid",
383
- "roughness": 0,
384
- "opacity": 100,
385
- "groupIds": [
386
- "idle-session"
387
- ],
388
- "frameId": null,
389
- "index": "a9",
390
- "roundness": null,
391
- "seed": 44599,
392
- "version": 2,
393
- "versionNonce": 2057614699,
394
- "isDeleted": false,
395
- "boundElements": [],
396
- "updated": 1796278378724,
397
- "link": null,
398
- "locked": false,
399
- "text": "一轮结束后,首次空闲\n约 1.5 秒即可检查。\n新一轮开始时暂停整理。",
400
- "fontSize": 15.5,
401
- "fontFamily": 2,
402
- "textAlign": "left",
403
- "verticalAlign": "top",
404
- "containerId": null,
405
- "originalText": "一轮结束后,首次空闲\n约 1.5 秒即可检查。\n新一轮开始时暂停整理。",
406
- "autoResize": true,
407
- "lineHeight": 1.15
408
- },
409
- {
410
- "id": "enter-scan",
411
- "type": "arrow",
412
- "x": 256.5,
413
- "y": 203,
414
- "width": 55,
415
- "height": 0,
416
- "angle": 0,
417
- "strokeColor": "#08665a",
418
- "backgroundColor": "transparent",
419
- "fillStyle": "solid",
420
- "strokeWidth": 2,
421
- "strokeStyle": "solid",
422
- "roughness": 0,
423
- "opacity": 100,
424
- "groupIds": [],
425
- "frameId": null,
426
- "index": "aA",
427
- "roundness": null,
428
- "seed": 48516,
429
- "version": 2,
430
- "versionNonce": 2000415429,
431
- "isDeleted": false,
432
- "boundElements": [],
433
- "updated": 1796278378724,
434
- "link": null,
435
- "locked": false,
436
- "points": [
437
- [
438
- 0,
439
- 0
440
- ],
441
- [
442
- 55,
443
- 0
444
- ]
445
- ],
446
- "lastCommittedPoint": null,
447
- "startBinding": {
448
- "elementId": "idle-box",
449
- "focus": 0,
450
- "gap": 8,
451
- "fixedPoint": [
452
- 1,
453
- 0.49
454
- ]
455
- },
456
- "endBinding": {
457
- "elementId": "scan-box",
458
- "focus": 0,
459
- "gap": 8,
460
- "fixedPoint": [
461
- 0,
462
- 0.49
463
- ]
464
- },
465
- "startArrowhead": null,
466
- "endArrowhead": "arrow",
467
- "elbowed": false
468
- },
469
- {
470
- "id": "scan-box",
471
- "type": "rectangle",
472
- "x": 320,
473
- "y": 150,
474
- "width": 474,
475
- "height": 108,
476
- "angle": 0,
477
- "strokeColor": "#123c3b",
478
- "backgroundColor": "#123c3b",
479
- "fillStyle": "solid",
480
- "strokeWidth": 1,
481
- "strokeStyle": "solid",
482
- "roughness": 0,
483
- "opacity": 100,
484
- "groupIds": [
485
- "local-scan"
486
- ],
487
- "frameId": null,
488
- "index": "aB",
489
- "roundness": null,
490
- "seed": 52433,
491
- "version": 2,
492
- "versionNonce": 450940939,
493
- "isDeleted": false,
494
- "boundElements": [
495
- {
496
- "id": "enter-scan",
497
- "type": "arrow"
498
- },
499
- {
500
- "id": "hourly-loop",
501
- "type": "arrow"
502
- }
503
- ],
504
- "updated": 1796278378724,
505
- "link": null,
506
- "locked": false
507
- },
508
- {
509
- "id": "scan-title",
510
- "type": "text",
511
- "x": 336,
512
- "y": 159,
513
- "width": 154.0341796875,
514
- "height": 24.15,
515
- "angle": 0,
516
- "strokeColor": "#ffffff",
517
- "backgroundColor": "transparent",
518
- "fillStyle": "solid",
519
- "strokeWidth": 1,
520
- "strokeStyle": "solid",
521
- "roughness": 0,
522
- "opacity": 100,
523
- "groupIds": [
524
- "local-scan"
525
- ],
526
- "frameId": null,
527
- "index": "aC",
528
- "roundness": null,
529
- "seed": 56350,
530
- "version": 2,
531
- "versionNonce": 475810341,
532
- "isDeleted": false,
533
- "boundElements": [],
534
- "updated": 1796278378724,
535
- "link": null,
536
- "locked": false,
537
- "text": "SQLite 本地筛选",
538
- "fontSize": 21,
539
- "fontFamily": 2,
540
- "textAlign": "left",
541
- "verticalAlign": "top",
542
- "containerId": null,
543
- "originalText": "SQLite 本地筛选",
544
- "autoResize": true,
545
- "lineHeight": 1.15
546
- },
547
- {
548
- "id": "scan-first",
549
- "type": "text",
550
- "x": 336,
551
- "y": 189,
552
- "width": 224,
553
- "height": 18.4,
554
- "angle": 0,
555
- "strokeColor": "#9ce9cb",
556
- "backgroundColor": "transparent",
557
- "fillStyle": "solid",
558
- "strokeWidth": 1,
559
- "strokeStyle": "solid",
560
- "roughness": 0,
561
- "opacity": 100,
562
- "groupIds": [
563
- "local-scan"
564
- ],
565
- "frameId": null,
566
- "index": "aD",
567
- "roundness": null,
568
- "seed": 60267,
569
- "version": 2,
570
- "versionNonce": 503355051,
571
- "isDeleted": false,
572
- "boundElements": [],
573
- "updated": 1796278378724,
574
- "link": null,
575
- "locked": false,
576
- "text": "首次分批扫描已有的项目记忆。",
577
- "fontSize": 16,
578
- "fontFamily": 2,
579
- "textAlign": "left",
580
- "verticalAlign": "top",
581
- "containerId": null,
582
- "originalText": "首次分批扫描已有的项目记忆。",
583
- "autoResize": true,
584
- "lineHeight": 1.15
585
- },
586
- {
587
- "id": "scan-next",
588
- "type": "text",
589
- "x": 336,
590
- "y": 214,
591
- "width": 304,
592
- "height": 36.8,
593
- "angle": 0,
594
- "strokeColor": "#d3eae6",
595
- "backgroundColor": "transparent",
596
- "fillStyle": "solid",
597
- "strokeWidth": 1,
598
- "strokeStyle": "solid",
599
- "roughness": 0,
600
- "opacity": 100,
601
- "groupIds": [
602
- "local-scan"
603
- ],
604
- "frameId": null,
605
- "index": "aE",
606
- "roundness": null,
607
- "seed": 64184,
608
- "version": 2,
609
- "versionNonce": 821673349,
610
- "isDeleted": false,
611
- "boundElements": [],
612
- "updated": 1796278378724,
613
- "link": null,
614
- "locked": false,
615
- "text": "随后按游标增量检查,将新增或修订的记忆\n与其他会话中同一主体的旧记录匹配。",
616
- "fontSize": 16,
617
- "fontFamily": 2,
618
- "textAlign": "left",
619
- "verticalAlign": "top",
620
- "containerId": null,
621
- "originalText": "随后按游标增量检查,将新增或修订的记忆\n与其他会话中同一主体的旧记录匹配。",
622
- "autoResize": true,
623
- "lineHeight": 1.15
624
- },
625
- {
626
- "id": "scan-exit",
627
- "type": "line",
628
- "x": 409,
629
- "y": 266,
630
- "width": 0,
631
- "height": 25,
632
- "angle": 0,
633
- "strokeColor": "#53696f",
634
- "backgroundColor": "transparent",
635
- "fillStyle": "solid",
636
- "strokeWidth": 1.7,
637
- "strokeStyle": "solid",
638
- "roughness": 0,
639
- "opacity": 100,
640
- "groupIds": [
641
- "skip-model"
642
- ],
643
- "frameId": null,
644
- "index": "aF",
645
- "roundness": null,
646
- "seed": 68101,
647
- "version": 2,
648
- "versionNonce": 1118734667,
649
- "isDeleted": false,
650
- "boundElements": [],
651
- "updated": 1796278378724,
652
- "link": null,
653
- "locked": false,
654
- "points": [
655
- [
656
- 0,
657
- 0
658
- ],
659
- [
660
- 0,
661
- 25
662
- ]
663
- ],
664
- "lastCommittedPoint": null,
665
- "startBinding": null,
666
- "endBinding": null,
667
- "startArrowhead": null,
668
- "endArrowhead": null
669
- },
670
- {
671
- "id": "outcome-fork",
672
- "type": "ellipse",
673
- "x": 406,
674
- "y": 288,
675
- "width": 6,
676
- "height": 6,
677
- "angle": 0,
678
- "strokeColor": "#53696f",
679
- "backgroundColor": "#53696f",
680
- "fillStyle": "solid",
681
- "strokeWidth": 1.8,
682
- "strokeStyle": "solid",
683
- "roughness": 0,
684
- "opacity": 100,
685
- "groupIds": [
686
- "skip-model"
687
- ],
688
- "frameId": null,
689
- "index": "aG",
690
- "roundness": null,
691
- "seed": 72018,
692
- "version": 2,
693
- "versionNonce": 1817298149,
694
- "isDeleted": false,
695
- "boundElements": [],
696
- "updated": 1796278378724,
697
- "link": null,
698
- "locked": false
699
- },
700
- {
701
- "id": "empty-path",
702
- "type": "arrow",
703
- "x": 405,
704
- "y": 291.5,
705
- "width": 282,
706
- "height": 24.5,
707
- "angle": 0,
708
- "strokeColor": "#53696f",
709
- "backgroundColor": "transparent",
710
- "fillStyle": "solid",
711
- "strokeWidth": 1.7,
712
- "strokeStyle": "solid",
713
- "roughness": 0,
714
- "opacity": 100,
715
- "groupIds": [],
716
- "frameId": null,
717
- "index": "aH",
718
- "roundness": null,
719
- "seed": 75935,
720
- "version": 2,
721
- "versionNonce": 239413227,
722
- "isDeleted": false,
723
- "boundElements": [],
724
- "updated": 1796278378724,
725
- "link": null,
726
- "locked": false,
727
- "points": [
728
- [
729
- 0,
730
- 0
731
- ],
732
- [
733
- -282,
734
- -0.5
735
- ],
736
- [
737
- -282,
738
- 24
739
- ]
740
- ],
741
- "lastCommittedPoint": null,
742
- "startBinding": null,
743
- "endBinding": {
744
- "elementId": "empty-box",
745
- "focus": 0,
746
- "gap": 8,
747
- "fixedPoint": [
748
- 0.495,
749
- 0
750
- ]
751
- },
752
- "startArrowhead": null,
753
- "endArrowhead": "arrow",
754
- "elbowed": false
755
- },
756
- {
757
- "id": "take-pair",
758
- "type": "arrow",
759
- "x": 409,
760
- "y": 295.5,
761
- "width": 0,
762
- "height": 20,
763
- "angle": 0,
764
- "strokeColor": "#08665a",
765
- "backgroundColor": "transparent",
766
- "fillStyle": "solid",
767
- "strokeWidth": 1.9,
768
- "strokeStyle": "solid",
769
- "roughness": 0,
770
- "opacity": 100,
771
- "groupIds": [],
772
- "frameId": null,
773
- "index": "aI",
774
- "roundness": null,
775
- "seed": 79852,
776
- "version": 2,
777
- "versionNonce": 1106370629,
778
- "isDeleted": false,
779
- "boundElements": [],
780
- "updated": 1796278378724,
781
- "link": null,
782
- "locked": false,
783
- "points": [
784
- [
785
- 0,
786
- 0
787
- ],
788
- [
789
- 0,
790
- 20
791
- ]
792
- ],
793
- "lastCommittedPoint": null,
794
- "startBinding": null,
795
- "endBinding": {
796
- "elementId": "compare-box",
797
- "focus": 0,
798
- "gap": 8,
799
- "fixedPoint": [
800
- 0.5,
801
- 0
802
- ]
803
- },
804
- "startArrowhead": null,
805
- "endArrowhead": "arrow",
806
- "elbowed": false
807
- },
808
- {
809
- "id": "empty-box",
810
- "type": "rectangle",
811
- "x": 26,
812
- "y": 324,
813
- "width": 196,
814
- "height": 86,
815
- "angle": 0,
816
- "strokeColor": "#c6d3d2",
817
- "backgroundColor": "#f7f9f8",
818
- "fillStyle": "solid",
819
- "strokeWidth": 1,
820
- "strokeStyle": "solid",
821
- "roughness": 0,
822
- "opacity": 100,
823
- "groupIds": [
824
- "skip-model"
825
- ],
826
- "frameId": null,
827
- "index": "aJ",
828
- "roundness": null,
829
- "seed": 83769,
830
- "version": 2,
831
- "versionNonce": 1993273995,
832
- "isDeleted": false,
833
- "boundElements": [
834
- {
835
- "id": "empty-path",
836
- "type": "arrow"
837
- }
838
- ],
839
- "updated": 1796278378724,
840
- "link": null,
841
- "locked": false
842
- },
843
- {
844
- "id": "empty-condition",
845
- "type": "text",
846
- "x": 39,
847
- "y": 335,
848
- "width": 112,
849
- "height": 18.4,
850
- "angle": 0,
851
- "strokeColor": "#465c62",
852
- "backgroundColor": "transparent",
853
- "fillStyle": "solid",
854
- "strokeWidth": 1,
855
- "strokeStyle": "solid",
856
- "roughness": 0,
857
- "opacity": 100,
858
- "groupIds": [
859
- "skip-model"
860
- ],
861
- "frameId": null,
862
- "index": "aK",
863
- "roundness": null,
864
- "seed": 87686,
865
- "version": 2,
866
- "versionNonce": 1471647653,
867
- "isDeleted": false,
868
- "boundElements": [],
869
- "updated": 1796278378724,
870
- "link": null,
871
- "locked": false,
872
- "text": "没有合适的候选",
873
- "fontSize": 16,
874
- "fontFamily": 2,
875
- "textAlign": "left",
876
- "verticalAlign": "top",
877
- "containerId": null,
878
- "originalText": "没有合适的候选",
879
- "autoResize": true,
880
- "lineHeight": 1.15
881
- },
882
- {
883
- "id": "empty-outcome",
884
- "type": "text",
885
- "x": 39,
886
- "y": 365,
887
- "width": 128.34765625,
888
- "height": 25.299999999999997,
889
- "angle": 0,
890
- "strokeColor": "#172d33",
891
- "backgroundColor": "transparent",
892
- "fillStyle": "solid",
893
- "strokeWidth": 1,
894
- "strokeStyle": "solid",
895
- "roughness": 0,
896
- "opacity": 100,
897
- "groupIds": [
898
- "skip-model"
899
- ],
900
- "frameId": null,
901
- "index": "aL",
902
- "roundness": null,
903
- "seed": 91603,
904
- "version": 2,
905
- "versionNonce": 1292265771,
906
- "isDeleted": false,
907
- "boundElements": [],
908
- "updated": 1796278378724,
909
- "link": null,
910
- "locked": false,
911
- "text": "0 次模型调用",
912
- "fontSize": 22,
913
- "fontFamily": 2,
914
- "textAlign": "left",
915
- "verticalAlign": "top",
916
- "containerId": null,
917
- "originalText": "0 次模型调用",
918
- "autoResize": true,
919
- "lineHeight": 1.15
920
- },
921
- {
922
- "id": "compare-box",
923
- "type": "rectangle",
924
- "x": 276,
925
- "y": 324,
926
- "width": 266,
927
- "height": 86,
928
- "angle": 0,
929
- "strokeColor": "#a8c0b6",
930
- "backgroundColor": "#e9f1ee",
931
- "fillStyle": "solid",
932
- "strokeWidth": 1,
933
- "strokeStyle": "solid",
934
- "roughness": 0,
935
- "opacity": 100,
936
- "groupIds": [
937
- "model-comparison"
938
- ],
939
- "frameId": null,
940
- "index": "aM",
941
- "roundness": null,
942
- "seed": 95520,
943
- "version": 2,
944
- "versionNonce": 1003508485,
945
- "isDeleted": false,
946
- "boundElements": [
947
- {
948
- "id": "take-pair",
949
- "type": "arrow"
950
- },
951
- {
952
- "id": "review-path",
953
- "type": "arrow"
954
- }
955
- ],
956
- "updated": 1796278378724,
957
- "link": null,
958
- "locked": false
959
- },
960
- {
961
- "id": "pair-condition",
962
- "type": "text",
963
- "x": 289,
964
- "y": 329,
965
- "width": 93,
966
- "height": 17.825,
967
- "angle": 0,
968
- "strokeColor": "#465c62",
969
- "backgroundColor": "transparent",
970
- "fillStyle": "solid",
971
- "strokeWidth": 1,
972
- "strokeStyle": "solid",
973
- "roughness": 0,
974
- "opacity": 100,
975
- "groupIds": [
976
- "model-comparison"
977
- ],
978
- "frameId": null,
979
- "index": "aN",
980
- "roundness": null,
981
- "seed": 99437,
982
- "version": 2,
983
- "versionNonce": 1716915147,
984
- "isDeleted": false,
985
- "boundElements": [],
986
- "updated": 1796278378724,
987
- "link": null,
988
- "locked": false,
989
- "text": "有合适的候选",
990
- "fontSize": 15.5,
991
- "fontFamily": 2,
992
- "textAlign": "left",
993
- "verticalAlign": "top",
994
- "containerId": null,
995
- "originalText": "有合适的候选",
996
- "autoResize": true,
997
- "lineHeight": 1.15
998
- },
999
- {
1000
- "id": "pair-action",
1001
- "type": "text",
1002
- "x": 289,
1003
- "y": 351,
1004
- "width": 160,
1005
- "height": 23,
1006
- "angle": 0,
1007
- "strokeColor": "#172d33",
1008
- "backgroundColor": "transparent",
1009
- "fillStyle": "solid",
1010
- "strokeWidth": 1,
1011
- "strokeStyle": "solid",
1012
- "roughness": 0,
1013
- "opacity": 100,
1014
- "groupIds": [
1015
- "model-comparison"
1016
- ],
1017
- "frameId": null,
1018
- "index": "aO",
1019
- "roundness": null,
1020
- "seed": 103354,
1021
- "version": 2,
1022
- "versionNonce": 1522117221,
1023
- "isDeleted": false,
1024
- "boundElements": [],
1025
- "updated": 1796278378724,
1026
- "link": null,
1027
- "locked": false,
1028
- "text": "模型比较两条摘要",
1029
- "fontSize": 20,
1030
- "fontFamily": 2,
1031
- "textAlign": "left",
1032
- "verticalAlign": "top",
1033
- "containerId": null,
1034
- "originalText": "模型比较两条摘要",
1035
- "autoResize": true,
1036
- "lineHeight": 1.15
1037
- },
1038
- {
1039
- "id": "review-path",
1040
- "type": "arrow",
1041
- "x": 550.5,
1042
- "y": 365,
1043
- "width": 34,
1044
- "height": 0,
1045
- "angle": 0,
1046
- "strokeColor": "#08665a",
1047
- "backgroundColor": "transparent",
1048
- "fillStyle": "solid",
1049
- "strokeWidth": 1.9,
1050
- "strokeStyle": "solid",
1051
- "roughness": 0,
1052
- "opacity": 100,
1053
- "groupIds": [],
1054
- "frameId": null,
1055
- "index": "aP",
1056
- "roundness": null,
1057
- "seed": 107271,
1058
- "version": 2,
1059
- "versionNonce": 114842219,
1060
- "isDeleted": false,
1061
- "boundElements": [],
1062
- "updated": 1796278378724,
1063
- "link": null,
1064
- "locked": false,
1065
- "points": [
1066
- [
1067
- 0,
1068
- 0
1069
- ],
1070
- [
1071
- 34,
1072
- 0
1073
- ]
1074
- ],
1075
- "lastCommittedPoint": null,
1076
- "startBinding": {
1077
- "elementId": "compare-box",
1078
- "focus": 0,
1079
- "gap": 8,
1080
- "fixedPoint": [
1081
- 1,
1082
- 0.48
1083
- ]
1084
- },
1085
- "endBinding": null,
1086
- "startArrowhead": null,
1087
- "endArrowhead": "arrow",
1088
- "elbowed": false
1089
- },
1090
- {
1091
- "id": "review-title",
1092
- "type": "text",
1093
- "x": 598,
1094
- "y": 327,
1095
- "width": 162,
1096
- "height": 20.7,
1097
- "angle": 0,
1098
- "strokeColor": "#172d33",
1099
- "backgroundColor": "transparent",
1100
- "fillStyle": "solid",
1101
- "strokeWidth": 1,
1102
- "strokeStyle": "solid",
1103
- "roughness": 0,
1104
- "opacity": 100,
1105
- "groupIds": [
1106
- "user-choice"
1107
- ],
1108
- "frameId": null,
1109
- "index": "aQ",
1110
- "roundness": null,
1111
- "seed": 111188,
1112
- "version": 2,
1113
- "versionNonce": 893457861,
1114
- "isDeleted": false,
1115
- "boundElements": [],
1116
- "updated": 1796278378724,
1117
- "link": null,
1118
- "locked": false,
1119
- "text": "疑似重复,由你确认",
1120
- "fontSize": 18,
1121
- "fontFamily": 2,
1122
- "textAlign": "left",
1123
- "verticalAlign": "top",
1124
- "containerId": null,
1125
- "originalText": "疑似重复,由你确认",
1126
- "autoResize": true,
1127
- "lineHeight": 1.15
1128
- },
1129
- {
1130
- "id": "review-detail",
1131
- "type": "text",
1132
- "x": 598,
1133
- "y": 359,
1134
- "width": 128,
1135
- "height": 36.8,
1136
- "angle": 0,
1137
- "strokeColor": "#465c62",
1138
- "backgroundColor": "transparent",
1139
- "fillStyle": "solid",
1140
- "strokeWidth": 1,
1141
- "strokeStyle": "solid",
1142
- "roughness": 0,
1143
- "opacity": 100,
1144
- "groupIds": [
1145
- "user-choice"
1146
- ],
1147
- "frameId": null,
1148
- "index": "aR",
1149
- "roundness": null,
1150
- "seed": 115105,
1151
- "version": 2,
1152
- "versionNonce": 190305547,
1153
- "isDeleted": false,
1154
- "boundElements": [],
1155
- "updated": 1796278378724,
1156
- "link": null,
1157
- "locked": false,
1158
- "text": "保留两条,或撤回\n其中一条。",
1159
- "fontSize": 16,
1160
- "fontFamily": 2,
1161
- "textAlign": "left",
1162
- "verticalAlign": "top",
1163
- "containerId": null,
1164
- "originalText": "保留两条,或撤回\n其中一条。",
1165
- "autoResize": true,
1166
- "lineHeight": 1.15
1167
- },
1168
- {
1169
- "id": "hourly-limit",
1170
- "type": "text",
1171
- "x": 289,
1172
- "y": 381,
1173
- "width": 201.5,
1174
- "height": 17.825,
1175
- "angle": 0,
1176
- "strokeColor": "#465c62",
1177
- "backgroundColor": "transparent",
1178
- "fillStyle": "solid",
1179
- "strokeWidth": 1,
1180
- "strokeStyle": "solid",
1181
- "roughness": 0,
1182
- "opacity": 100,
1183
- "groupIds": [
1184
- "model-comparison"
1185
- ],
1186
- "frameId": null,
1187
- "index": "aS",
1188
- "roundness": null,
1189
- "seed": 119022,
1190
- "version": 2,
1191
- "versionNonce": 1451496741,
1192
- "isDeleted": false,
1193
- "boundElements": [],
1194
- "updated": 1796278378724,
1195
- "link": null,
1196
- "locked": false,
1197
- "text": "每个项目每小时最多比较一对",
1198
- "fontSize": 15.5,
1199
- "fontFamily": 2,
1200
- "textAlign": "left",
1201
- "verticalAlign": "top",
1202
- "containerId": null,
1203
- "originalText": "每个项目每小时最多比较一对",
1204
- "autoResize": true,
1205
- "lineHeight": 1.15
1206
- }
1207
- ],
1208
- "appState": {
1209
- "viewBackgroundColor": "#f7f9f8"
1210
- },
1211
- "files": {}
1212
- }