@furongjun1999/dsh-memory 0.9.9 → 0.9.12
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.
- package/README.md +181 -150
- package/lib/hooks.d.ts +16 -1
- package/lib/hooks.js +53 -2
- package/lib/index.d.ts +3 -0
- package/lib/index.js +9 -1
- package/lib/tools.d.ts +8 -0
- package/lib/tools.js +32 -5
- package/md_cg/config_registry_bulk.py +488 -483
- package/md_cg/config_validate.py +5 -0
- package/md_cg/mcp_server.py +5446 -5324
- package/md_cg/mdcg.py +62 -4
- package/md_cg/mdcos.py +7259 -7159
- package/md_cg/refindex.py +11 -4
- package/md_cg/test_c3_transient_read_negative.py +797 -797
- package/md_cg/test_c8_search_rrf_gates.py +511 -502
- package/md_cg/test_domain_granularity.py +68 -0
- package/md_cg/test_exact_text_cache.py +194 -194
- package/md_cg/test_hotcache_tool.py +121 -121
- package/md_cg/test_index_snapshot_fastpath.py +72 -0
- package/md_cg/test_issue274_read_node_id_none.py +364 -364
- package/md_cg/test_issue623_fullwidth_symmetry.py +66 -0
- package/md_cg/test_p28_refcheck.py +7 -7
- package/md_cg/test_p3_legacy_closure.py +441 -441
- package/md_cg/test_retr_gates_prodpath.py +11 -1
- package/md_cg/test_search_async.py +84 -0
- package/md_cg/test_search_bm25_default.py +60 -60
- package/md_cg/test_search_prefilter.py +85 -0
- package/md_cg/test_untrusted_audit.py +55 -55
- package/md_cg/test_untrusted_classifier.py +42 -42
- package/md_cg/test_untrusted_enforcement.py +66 -66
- package/md_cg/tokens.py +5 -1
- package/md_cg/untrusted.py +45 -45
- package/md_cg/untrusted_audit.py +87 -87
- package/package.json +113 -113
- package/scripts/workspace_index.py +2 -0
- package/src/hooks.ts +1043 -986
- package/src/index.ts +12 -1
- package/src/tools.ts +37 -6
package/md_cg/config_validate.py
CHANGED
|
@@ -57,6 +57,8 @@ RULES = {
|
|
|
57
57
|
'MDCG_NEG_SIM': {'max': 1.0, 'min': 0.0, 'type': 'float'},
|
|
58
58
|
'MDCG_PLAIN_CACHE_MAX': {'type': 'str'},
|
|
59
59
|
'MDCG_POOLING': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
60
|
+
'MDCG_PREFILTER': {'type': 'str'},
|
|
61
|
+
'MDCG_PREFILTER_MIN': {'type': 'str'},
|
|
60
62
|
'MDCG_PROPOSAL_EMOTION': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
61
63
|
'MDCG_QMD_SYS': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
62
64
|
'MDCG_REACH': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
@@ -64,6 +66,8 @@ RULES = {
|
|
|
64
66
|
'MDCG_REACH_TTL': {'min': 0.0, 'type': 'float'},
|
|
65
67
|
'MDCG_READ_CACHE': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
66
68
|
'MDCG_RECONCILE': {'bool_like': True, 'type': 'bool'},
|
|
69
|
+
'MDCG_RECONCILE_BG': {'type': 'str'},
|
|
70
|
+
'MDCG_RELOAD_MIN_INTERVAL': {'type': 'str'},
|
|
67
71
|
'MDCG_RETRIEVAL_PIPELINE': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
68
72
|
'MDCG_S7_FRESHNESS': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
69
73
|
'MDCG_SCORE_MODE': {'enum': ['legacy', 'jaccard'], 'type': 'str'},
|
|
@@ -86,6 +90,7 @@ RULES = {
|
|
|
86
90
|
'MDCG_TENANT': {'type': 'str'},
|
|
87
91
|
'MDCG_TOOL_FACE': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
88
92
|
'MDCG_UNIFY_QUERY': {'bool_like': True, 'true_literals': ['1'], 'type': 'bool'},
|
|
93
|
+
'MDCG_WARM_SEARCH': {'type': 'str'},
|
|
89
94
|
'MDCG_WRITELIMIT': {'bool_like': True, 'type': 'bool'},
|
|
90
95
|
'MDCG_WRITE_ATTEMPT_LEDGER': {'bool_like': True, 'type': 'bool'},
|
|
91
96
|
'MDCG_WRITE_ATTEMPT_ROTATE_BYTES': {'type': 'str'},
|