@co-engram/core 0.1.6 → 0.2.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.
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +11 -7
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/zh.d.ts +3 -3
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +11 -7
- package/dist/i18n/zh.js.map +1 -1
- package/dist/merge-driver.cjs +1 -1
- package/dist/retrieval/orchestrator.d.ts +34 -7
- package/dist/retrieval/orchestrator.d.ts.map +1 -1
- package/dist/retrieval/orchestrator.js +75 -40
- package/dist/retrieval/orchestrator.js.map +1 -1
- package/dist/tools/audit-query-tool.d.ts +36 -11
- package/dist/tools/audit-query-tool.d.ts.map +1 -1
- package/dist/tools/audit-query-tool.js +47 -14
- package/dist/tools/audit-query-tool.js.map +1 -1
- package/dist/tools/doctor-tools.d.ts.map +1 -1
- package/dist/tools/doctor-tools.js +5 -0
- package/dist/tools/doctor-tools.js.map +1 -1
- package/dist/tools/engram-tools.d.ts +2 -6
- package/dist/tools/engram-tools.d.ts.map +1 -1
- package/dist/tools/engram-tools.js +48 -11
- package/dist/tools/engram-tools.js.map +1 -1
- package/dist/tools/proposal-tools.d.ts +2 -33
- package/dist/tools/proposal-tools.d.ts.map +1 -1
- package/dist/tools/proposal-tools.js +63 -3
- package/dist/tools/proposal-tools.js.map +1 -1
- package/dist/tools/schemas.d.ts +146 -74
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +24 -5
- package/dist/tools/schemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposal-tools.d.ts","sourceRoot":"","sources":["../../src/tools/proposal-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"proposal-tools.d.ts","sourceRoot":"","sources":["../../src/tools/proposal-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,WAAW,CAAC;AAEnD,OAAO,EAIL,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EACnC,MAAM,cAAc,CAAC;AAkEtB,eAAO,MAAM,uBAAuB,EAAE,IAAI,CACxC,4BAA4B,EAC5B,6BAA6B,CAyG9B,CAAC;AAMF,eAAO,MAAM,wBAAwB,EAAE,IAAI,CACzC,6BAA6B,EAC7B;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,UAAU,CAAA;CAAE,CAuC3D,CAAC;AAMF,eAAO,MAAM,yBAAyB,EAAE,IAAI,CAC1C,8BAA8B,EAC9B;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,CA4BlE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,SAAS,IAAI,EAI7C,CAAC"}
|
|
@@ -18,12 +18,57 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { validateInput } from "./tool.js";
|
|
20
20
|
import { EngramListProposalsInputSchema, EngramAcceptProposalInputSchema, EngramDismissProposalInputSchema, } from "./schemas.js";
|
|
21
|
+
function proposalSortKey(p) {
|
|
22
|
+
return [p.createdAt, p.entityId];
|
|
23
|
+
}
|
|
24
|
+
function encodeProposalCursor(key) {
|
|
25
|
+
return Buffer.from(JSON.stringify(key), "utf8").toString("base64url");
|
|
26
|
+
}
|
|
27
|
+
function decodeProposalCursor(cursor) {
|
|
28
|
+
let json;
|
|
29
|
+
try {
|
|
30
|
+
json = Buffer.from(cursor, "base64url").toString("utf8");
|
|
31
|
+
}
|
|
32
|
+
catch {
|
|
33
|
+
throw new Error("invalid proposal cursor: base64 decode failed");
|
|
34
|
+
}
|
|
35
|
+
let arr;
|
|
36
|
+
try {
|
|
37
|
+
arr = JSON.parse(json);
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
throw new Error("invalid proposal cursor: JSON parse failed");
|
|
41
|
+
}
|
|
42
|
+
if (!Array.isArray(arr) ||
|
|
43
|
+
arr.length !== 2 ||
|
|
44
|
+
typeof arr[0] !== "string" ||
|
|
45
|
+
typeof arr[1] !== "string") {
|
|
46
|
+
throw new Error("invalid proposal cursor: shape mismatch");
|
|
47
|
+
}
|
|
48
|
+
return [arr[0], arr[1]];
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 比较 proposal sort key。
|
|
52
|
+
*
|
|
53
|
+
* 返回 -1 表示 a 排在 b 前面,1 表示 a 排在 b 后面,0 表示相等。
|
|
54
|
+
* 顺序:createdAt 大→小(最新优先);同 createdAt 时 entityId 字典序升序(稳定)。
|
|
55
|
+
*
|
|
56
|
+
* 用于 cursor 分页:`compareProposalKey(item, cursor) > 0` 的项是 cursor 之后
|
|
57
|
+
* 的项(应包含在下一页);`<= 0` 的项是 cursor 之前或等于的(跳过)。
|
|
58
|
+
*/
|
|
59
|
+
function compareProposalKey(a, b) {
|
|
60
|
+
if (a[0] !== b[0])
|
|
61
|
+
return a[0] > b[0] ? -1 : 1;
|
|
62
|
+
if (a[1] !== b[1])
|
|
63
|
+
return a[1] < b[1] ? -1 : 1;
|
|
64
|
+
return 0;
|
|
65
|
+
}
|
|
21
66
|
// ============================================================
|
|
22
67
|
// engram_list_proposals
|
|
23
68
|
// ============================================================
|
|
24
69
|
export const engramListProposalsTool = {
|
|
25
70
|
name: "engram_list_proposals",
|
|
26
|
-
description: "
|
|
71
|
+
description: "列出主题候选提案(cursor 分页)。当某主题在对话中被多次提及但无匹配 engram 时,系统会生成 pending 提案等待确认。默认只返回 pending;传 includeAll=true 可查看历史 accepted/dismissed。每条提案带 source 字段(conversation=对话流聚类 / auto-memory=Claude Code auto-memory 文件);auto-memory 来源还带 proposedTitle/proposedContent/proposedDomainTags 等预填字段,可直接 accept 无需重复填表。limit 必填(1-500),翻页把 nextCursor 原样回传到下一页的 cursor 参数。",
|
|
27
72
|
inputSchema: EngramListProposalsInputSchema,
|
|
28
73
|
execute(input, ctx) {
|
|
29
74
|
const parsed = validateInput(EngramListProposalsInputSchema, input);
|
|
@@ -33,8 +78,23 @@ export const engramListProposalsTool = {
|
|
|
33
78
|
const all = parsed.includeAll
|
|
34
79
|
? ctx.proposalEngine.listAll()
|
|
35
80
|
: ctx.proposalEngine.listPending();
|
|
81
|
+
// 稳定排序:createdAt DESC + entityId ASC
|
|
82
|
+
const sorted = [...all].sort((a, b) => compareProposalKey(proposalSortKey(a), proposalSortKey(b)));
|
|
83
|
+
// cursor 过滤:跳过 cursor 之前/等于的项
|
|
84
|
+
let startIdx = 0;
|
|
85
|
+
if (parsed.cursor) {
|
|
86
|
+
const ck = decodeProposalCursor(parsed.cursor);
|
|
87
|
+
startIdx = sorted.findIndex((p) => compareProposalKey(proposalSortKey(p), ck) > 0);
|
|
88
|
+
if (startIdx === -1)
|
|
89
|
+
startIdx = sorted.length;
|
|
90
|
+
}
|
|
91
|
+
const slice = sorted.slice(startIdx, startIdx + parsed.limit);
|
|
92
|
+
const hasMore = startIdx + parsed.limit < sorted.length && slice.length > 0;
|
|
93
|
+
const nextCursor = hasMore && slice.length > 0
|
|
94
|
+
? encodeProposalCursor(proposalSortKey(slice[slice.length - 1]))
|
|
95
|
+
: null;
|
|
36
96
|
return {
|
|
37
|
-
|
|
97
|
+
items: slice.map((p) => {
|
|
38
98
|
const base = {
|
|
39
99
|
entityId: p.entityId,
|
|
40
100
|
occurrences: p.occurrences,
|
|
@@ -83,7 +143,7 @@ export const engramListProposalsTool = {
|
|
|
83
143
|
}
|
|
84
144
|
return base;
|
|
85
145
|
}),
|
|
86
|
-
|
|
146
|
+
nextCursor,
|
|
87
147
|
};
|
|
88
148
|
},
|
|
89
149
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposal-tools.js","sourceRoot":"","sources":["../../src/tools/proposal-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,gCAAgC,
|
|
1
|
+
{"version":3,"file":"proposal-tools.js","sourceRoot":"","sources":["../../src/tools/proposal-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,gCAAgC,GAKjC,MAAM,cAAc,CAAC;AAetB,SAAS,eAAe,CAAC,CAAW;IAClC,OAAO,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,oBAAoB,CAAC,GAAoB;IAChD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACxE,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAc;IAC1C,IAAI,IAAY,CAAC;IACjB,IAAI,CAAC;QACH,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;IACnE,CAAC;IACD,IAAI,GAAY,CAAC;IACjB,IAAI,CAAC;QACH,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;IAChE,CAAC;IACD,I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ZodObject<{
|
|
|
34
34
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
35
35
|
dedupe: z.ZodDefault<z.ZodBoolean>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
kind: "observation" | "fact" | "pattern" | "procedure" | "hypothesis";
|
|
38
37
|
content: string;
|
|
38
|
+
kind: "observation" | "fact" | "pattern" | "procedure" | "hypothesis";
|
|
39
39
|
title: string;
|
|
40
40
|
domainTags: string[];
|
|
41
41
|
dedupe: boolean;
|
|
42
|
-
createdBy?: string | undefined;
|
|
43
|
-
importance?: number | undefined;
|
|
44
42
|
confidence?: number | undefined;
|
|
45
|
-
|
|
43
|
+
importance?: number | undefined;
|
|
46
44
|
summary?: string | undefined;
|
|
45
|
+
kinds?: ("observation" | "fact" | "pattern" | "procedure" | "hypothesis")[] | undefined;
|
|
47
46
|
contextTags?: string[] | undefined;
|
|
47
|
+
encodingContext?: string | undefined;
|
|
48
|
+
createdBy?: string | undefined;
|
|
48
49
|
emotionalValence?: "positive" | "negative" | "neutral" | undefined;
|
|
49
50
|
sourceType?: "firsthand" | "secondhand" | "inferred" | undefined;
|
|
50
51
|
decayHalfLifeDays?: number | null | undefined;
|
|
51
|
-
encodingContext?: string | undefined;
|
|
52
52
|
visibility?: "public" | "team" | "private" | "restricted" | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
kind: "observation" | "fact" | "pattern" | "procedure" | "hypothesis";
|
|
55
54
|
content: string;
|
|
55
|
+
kind: "observation" | "fact" | "pattern" | "procedure" | "hypothesis";
|
|
56
56
|
title: string;
|
|
57
57
|
domainTags: string[];
|
|
58
|
-
createdBy?: string | undefined;
|
|
59
|
-
importance?: number | undefined;
|
|
60
58
|
confidence?: number | undefined;
|
|
61
|
-
|
|
59
|
+
importance?: number | undefined;
|
|
62
60
|
summary?: string | undefined;
|
|
61
|
+
kinds?: ("observation" | "fact" | "pattern" | "procedure" | "hypothesis")[] | undefined;
|
|
63
62
|
contextTags?: string[] | undefined;
|
|
63
|
+
encodingContext?: string | undefined;
|
|
64
|
+
createdBy?: string | undefined;
|
|
64
65
|
emotionalValence?: "positive" | "negative" | "neutral" | undefined;
|
|
65
66
|
sourceType?: "firsthand" | "secondhand" | "inferred" | undefined;
|
|
66
67
|
decayHalfLifeDays?: number | null | undefined;
|
|
67
|
-
encodingContext?: string | undefined;
|
|
68
68
|
visibility?: "public" | "team" | "private" | "restricted" | undefined;
|
|
69
69
|
dedupe?: boolean | undefined;
|
|
70
70
|
}>;
|
|
@@ -128,32 +128,32 @@ export declare const EngramUpdateInputSchema: z.ZodObject<{
|
|
|
128
128
|
}, "strip", z.ZodTypeAny, {
|
|
129
129
|
id: string;
|
|
130
130
|
updatedBy: string;
|
|
131
|
-
importance?: number | undefined;
|
|
132
131
|
confidence?: number | undefined;
|
|
133
132
|
content?: string | undefined;
|
|
133
|
+
importance?: number | undefined;
|
|
134
134
|
title?: string | undefined;
|
|
135
|
-
kinds?: ("observation" | "fact" | "pattern" | "procedure" | "hypothesis")[] | undefined;
|
|
136
|
-
summary?: string | undefined;
|
|
137
135
|
domainTags?: string[] | undefined;
|
|
136
|
+
summary?: string | undefined;
|
|
137
|
+
kinds?: ("observation" | "fact" | "pattern" | "procedure" | "hypothesis")[] | undefined;
|
|
138
138
|
contextTags?: string[] | undefined;
|
|
139
|
+
encodingContext?: string | undefined;
|
|
139
140
|
emotionalValence?: "positive" | "negative" | "neutral" | undefined;
|
|
140
141
|
decayHalfLifeDays?: number | null | undefined;
|
|
141
|
-
encodingContext?: string | undefined;
|
|
142
142
|
visibility?: "public" | "team" | "private" | "restricted" | undefined;
|
|
143
143
|
}, {
|
|
144
144
|
id: string;
|
|
145
145
|
updatedBy: string;
|
|
146
|
-
importance?: number | undefined;
|
|
147
146
|
confidence?: number | undefined;
|
|
148
147
|
content?: string | undefined;
|
|
148
|
+
importance?: number | undefined;
|
|
149
149
|
title?: string | undefined;
|
|
150
|
-
kinds?: ("observation" | "fact" | "pattern" | "procedure" | "hypothesis")[] | undefined;
|
|
151
|
-
summary?: string | undefined;
|
|
152
150
|
domainTags?: string[] | undefined;
|
|
151
|
+
summary?: string | undefined;
|
|
152
|
+
kinds?: ("observation" | "fact" | "pattern" | "procedure" | "hypothesis")[] | undefined;
|
|
153
153
|
contextTags?: string[] | undefined;
|
|
154
|
+
encodingContext?: string | undefined;
|
|
154
155
|
emotionalValence?: "positive" | "negative" | "neutral" | undefined;
|
|
155
156
|
decayHalfLifeDays?: number | null | undefined;
|
|
156
|
-
encodingContext?: string | undefined;
|
|
157
157
|
visibility?: "public" | "team" | "private" | "restricted" | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
export declare const EngramDeleteInputSchema: z.ZodObject<{
|
|
@@ -170,8 +170,8 @@ export declare const EngramReinforceInputSchema: z.ZodObject<{
|
|
|
170
170
|
/** 可选:有效性说明(供审计) */
|
|
171
171
|
note: z.ZodOptional<z.ZodString>;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
effectiveness: number;
|
|
174
173
|
id: string;
|
|
174
|
+
effectiveness: number;
|
|
175
175
|
note?: string | undefined;
|
|
176
176
|
}, {
|
|
177
177
|
id: string;
|
|
@@ -185,12 +185,12 @@ export declare const EngramReportFailureInputSchema: z.ZodObject<{
|
|
|
185
185
|
/** 可选:失败上下文 */
|
|
186
186
|
context: z.ZodOptional<z.ZodString>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
reason: string;
|
|
189
188
|
id: string;
|
|
189
|
+
reason: string;
|
|
190
190
|
context?: string | undefined;
|
|
191
191
|
}, {
|
|
192
|
-
reason: string;
|
|
193
192
|
id: string;
|
|
193
|
+
reason: string;
|
|
194
194
|
context?: string | undefined;
|
|
195
195
|
}>;
|
|
196
196
|
export declare const EngramArchiveInputSchema: z.ZodObject<{
|
|
@@ -220,11 +220,11 @@ export declare const EngramForgetInputSchema: z.ZodObject<{
|
|
|
220
220
|
/** 必填:遗忘原因(不可逆操作,需说明) */
|
|
221
221
|
reason: z.ZodString;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
reason: string;
|
|
224
223
|
id: string;
|
|
225
|
-
}, {
|
|
226
224
|
reason: string;
|
|
225
|
+
}, {
|
|
227
226
|
id: string;
|
|
227
|
+
reason: string;
|
|
228
228
|
}>;
|
|
229
229
|
export declare const SearchFilterSchema: z.ZodObject<{
|
|
230
230
|
domainTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -238,23 +238,23 @@ export declare const SearchFilterSchema: z.ZodObject<{
|
|
|
238
238
|
minImportance: z.ZodOptional<z.ZodNumber>;
|
|
239
239
|
contextTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
240
240
|
}, "strict", z.ZodTypeAny, {
|
|
241
|
-
createdBy?: string[] | undefined;
|
|
242
|
-
status?: string[] | undefined;
|
|
243
|
-
kinds?: string[] | undefined;
|
|
244
241
|
domainTags?: string[] | undefined;
|
|
242
|
+
kinds?: string[] | undefined;
|
|
245
243
|
contextTags?: string[] | undefined;
|
|
244
|
+
createdBy?: string[] | undefined;
|
|
246
245
|
emotionalValence?: string[] | undefined;
|
|
246
|
+
status?: string[] | undefined;
|
|
247
247
|
freshness?: string[] | undefined;
|
|
248
248
|
createdAfter?: string | undefined;
|
|
249
249
|
createdBefore?: string | undefined;
|
|
250
250
|
minImportance?: number | undefined;
|
|
251
251
|
}, {
|
|
252
|
-
createdBy?: string[] | undefined;
|
|
253
|
-
status?: string[] | undefined;
|
|
254
|
-
kinds?: string[] | undefined;
|
|
255
252
|
domainTags?: string[] | undefined;
|
|
253
|
+
kinds?: string[] | undefined;
|
|
256
254
|
contextTags?: string[] | undefined;
|
|
255
|
+
createdBy?: string[] | undefined;
|
|
257
256
|
emotionalValence?: string[] | undefined;
|
|
257
|
+
status?: string[] | undefined;
|
|
258
258
|
freshness?: string[] | undefined;
|
|
259
259
|
createdAfter?: string | undefined;
|
|
260
260
|
createdBefore?: string | undefined;
|
|
@@ -310,17 +310,17 @@ export declare const ContradictionResolveInputSchema: z.ZodObject<{
|
|
|
310
310
|
/** 裁决者 */
|
|
311
311
|
resolvedBy: z.ZodString;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
synapseId: string;
|
|
314
|
-
fromId: string;
|
|
315
313
|
verdict: "keep_new" | "keep_old" | "merge" | "archive";
|
|
316
314
|
rationale: string;
|
|
317
315
|
resolvedBy: string;
|
|
318
|
-
}, {
|
|
319
|
-
synapseId: string;
|
|
320
316
|
fromId: string;
|
|
317
|
+
synapseId: string;
|
|
318
|
+
}, {
|
|
321
319
|
verdict: "keep_new" | "keep_old" | "merge" | "archive";
|
|
322
320
|
rationale: string;
|
|
323
321
|
resolvedBy: string;
|
|
322
|
+
fromId: string;
|
|
323
|
+
synapseId: string;
|
|
324
324
|
}>;
|
|
325
325
|
export declare const LearningOutcomeSchema: z.ZodEnum<["success", "failure", "partial"]>;
|
|
326
326
|
export declare const CloseLearningLoopInputSchema: z.ZodObject<{
|
|
@@ -407,23 +407,23 @@ export declare const EngramSearchInputSchema: z.ZodObject<{
|
|
|
407
407
|
minImportance: z.ZodOptional<z.ZodNumber>;
|
|
408
408
|
contextTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
409
409
|
}, "strict", z.ZodTypeAny, {
|
|
410
|
-
createdBy?: string[] | undefined;
|
|
411
|
-
status?: string[] | undefined;
|
|
412
|
-
kinds?: string[] | undefined;
|
|
413
410
|
domainTags?: string[] | undefined;
|
|
411
|
+
kinds?: string[] | undefined;
|
|
414
412
|
contextTags?: string[] | undefined;
|
|
413
|
+
createdBy?: string[] | undefined;
|
|
415
414
|
emotionalValence?: string[] | undefined;
|
|
415
|
+
status?: string[] | undefined;
|
|
416
416
|
freshness?: string[] | undefined;
|
|
417
417
|
createdAfter?: string | undefined;
|
|
418
418
|
createdBefore?: string | undefined;
|
|
419
419
|
minImportance?: number | undefined;
|
|
420
420
|
}, {
|
|
421
|
-
createdBy?: string[] | undefined;
|
|
422
|
-
status?: string[] | undefined;
|
|
423
|
-
kinds?: string[] | undefined;
|
|
424
421
|
domainTags?: string[] | undefined;
|
|
422
|
+
kinds?: string[] | undefined;
|
|
425
423
|
contextTags?: string[] | undefined;
|
|
424
|
+
createdBy?: string[] | undefined;
|
|
426
425
|
emotionalValence?: string[] | undefined;
|
|
426
|
+
status?: string[] | undefined;
|
|
427
427
|
freshness?: string[] | undefined;
|
|
428
428
|
createdAfter?: string | undefined;
|
|
429
429
|
createdBefore?: string | undefined;
|
|
@@ -434,12 +434,12 @@ export declare const EngramSearchInputSchema: z.ZodObject<{
|
|
|
434
434
|
query: string;
|
|
435
435
|
limit: number;
|
|
436
436
|
filter?: {
|
|
437
|
-
createdBy?: string[] | undefined;
|
|
438
|
-
status?: string[] | undefined;
|
|
439
|
-
kinds?: string[] | undefined;
|
|
440
437
|
domainTags?: string[] | undefined;
|
|
438
|
+
kinds?: string[] | undefined;
|
|
441
439
|
contextTags?: string[] | undefined;
|
|
440
|
+
createdBy?: string[] | undefined;
|
|
442
441
|
emotionalValence?: string[] | undefined;
|
|
442
|
+
status?: string[] | undefined;
|
|
443
443
|
freshness?: string[] | undefined;
|
|
444
444
|
createdAfter?: string | undefined;
|
|
445
445
|
createdBefore?: string | undefined;
|
|
@@ -448,12 +448,12 @@ export declare const EngramSearchInputSchema: z.ZodObject<{
|
|
|
448
448
|
}, {
|
|
449
449
|
query: string;
|
|
450
450
|
filter?: {
|
|
451
|
-
createdBy?: string[] | undefined;
|
|
452
|
-
status?: string[] | undefined;
|
|
453
|
-
kinds?: string[] | undefined;
|
|
454
451
|
domainTags?: string[] | undefined;
|
|
452
|
+
kinds?: string[] | undefined;
|
|
455
453
|
contextTags?: string[] | undefined;
|
|
454
|
+
createdBy?: string[] | undefined;
|
|
456
455
|
emotionalValence?: string[] | undefined;
|
|
456
|
+
status?: string[] | undefined;
|
|
457
457
|
freshness?: string[] | undefined;
|
|
458
458
|
createdAfter?: string | undefined;
|
|
459
459
|
createdBefore?: string | undefined;
|
|
@@ -474,58 +474,78 @@ export declare const EngramListInputSchema: z.ZodObject<{
|
|
|
474
474
|
minImportance: z.ZodOptional<z.ZodNumber>;
|
|
475
475
|
contextTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
476
476
|
}, "strict", z.ZodTypeAny, {
|
|
477
|
-
createdBy?: string[] | undefined;
|
|
478
|
-
status?: string[] | undefined;
|
|
479
|
-
kinds?: string[] | undefined;
|
|
480
477
|
domainTags?: string[] | undefined;
|
|
478
|
+
kinds?: string[] | undefined;
|
|
481
479
|
contextTags?: string[] | undefined;
|
|
480
|
+
createdBy?: string[] | undefined;
|
|
482
481
|
emotionalValence?: string[] | undefined;
|
|
482
|
+
status?: string[] | undefined;
|
|
483
483
|
freshness?: string[] | undefined;
|
|
484
484
|
createdAfter?: string | undefined;
|
|
485
485
|
createdBefore?: string | undefined;
|
|
486
486
|
minImportance?: number | undefined;
|
|
487
487
|
}, {
|
|
488
|
-
createdBy?: string[] | undefined;
|
|
489
|
-
status?: string[] | undefined;
|
|
490
|
-
kinds?: string[] | undefined;
|
|
491
488
|
domainTags?: string[] | undefined;
|
|
489
|
+
kinds?: string[] | undefined;
|
|
492
490
|
contextTags?: string[] | undefined;
|
|
491
|
+
createdBy?: string[] | undefined;
|
|
493
492
|
emotionalValence?: string[] | undefined;
|
|
493
|
+
status?: string[] | undefined;
|
|
494
494
|
freshness?: string[] | undefined;
|
|
495
495
|
createdAfter?: string | undefined;
|
|
496
496
|
createdBefore?: string | undefined;
|
|
497
497
|
minImportance?: number | undefined;
|
|
498
498
|
}>>;
|
|
499
|
-
limit: z.
|
|
500
|
-
|
|
499
|
+
limit: z.ZodNumber;
|
|
500
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
|
+
}, "strict", z.ZodTypeAny, {
|
|
501
502
|
limit: number;
|
|
502
503
|
filter?: {
|
|
503
|
-
createdBy?: string[] | undefined;
|
|
504
|
-
status?: string[] | undefined;
|
|
505
|
-
kinds?: string[] | undefined;
|
|
506
504
|
domainTags?: string[] | undefined;
|
|
505
|
+
kinds?: string[] | undefined;
|
|
507
506
|
contextTags?: string[] | undefined;
|
|
507
|
+
createdBy?: string[] | undefined;
|
|
508
508
|
emotionalValence?: string[] | undefined;
|
|
509
|
+
status?: string[] | undefined;
|
|
509
510
|
freshness?: string[] | undefined;
|
|
510
511
|
createdAfter?: string | undefined;
|
|
511
512
|
createdBefore?: string | undefined;
|
|
512
513
|
minImportance?: number | undefined;
|
|
513
514
|
} | undefined;
|
|
515
|
+
cursor?: string | null | undefined;
|
|
514
516
|
}, {
|
|
517
|
+
limit: number;
|
|
515
518
|
filter?: {
|
|
516
|
-
createdBy?: string[] | undefined;
|
|
517
|
-
status?: string[] | undefined;
|
|
518
|
-
kinds?: string[] | undefined;
|
|
519
519
|
domainTags?: string[] | undefined;
|
|
520
|
+
kinds?: string[] | undefined;
|
|
520
521
|
contextTags?: string[] | undefined;
|
|
522
|
+
createdBy?: string[] | undefined;
|
|
521
523
|
emotionalValence?: string[] | undefined;
|
|
524
|
+
status?: string[] | undefined;
|
|
522
525
|
freshness?: string[] | undefined;
|
|
523
526
|
createdAfter?: string | undefined;
|
|
524
527
|
createdBefore?: string | undefined;
|
|
525
528
|
minImportance?: number | undefined;
|
|
526
529
|
} | undefined;
|
|
527
|
-
|
|
530
|
+
cursor?: string | null | undefined;
|
|
528
531
|
}>;
|
|
532
|
+
/**
|
|
533
|
+
* engram_list 工具返回 shape(BREAKING,Phase 3 PR3)。
|
|
534
|
+
*
|
|
535
|
+
* - items: 当前页的 Catalog Entry 列表(已按 importance DESC / updatedAt DESC / id ASC 排序)
|
|
536
|
+
* - nextCursor: 下一页的 opaque token;null 表示已是最后一页
|
|
537
|
+
*
|
|
538
|
+
* 调用方翻页:把上一次返回的 nextCursor 原样作为下一次 input.cursor 传入。
|
|
539
|
+
*/
|
|
540
|
+
export interface EngramListToolResult {
|
|
541
|
+
items: Array<{
|
|
542
|
+
id: string;
|
|
543
|
+
title: string;
|
|
544
|
+
kind: string;
|
|
545
|
+
domainTags: readonly string[];
|
|
546
|
+
}>;
|
|
547
|
+
nextCursor: string | null;
|
|
548
|
+
}
|
|
529
549
|
export declare const SynapseEvidenceInputSchema: z.ZodObject<{
|
|
530
550
|
description: z.ZodString;
|
|
531
551
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -569,10 +589,10 @@ export declare const SynapseCreateInputSchema: z.ZodObject<{
|
|
|
569
589
|
targetSemantic: z.ZodOptional<z.ZodString>;
|
|
570
590
|
}, "strip", z.ZodTypeAny, {
|
|
571
591
|
kind: "extends" | "part_of" | "similar_to" | "depends_on" | "causes" | "follows" | "derives_from" | "contradicts" | "exemplifies" | "supersedes" | "consolidates" | "contextualizes";
|
|
572
|
-
direction: "directional" | "bidirectional";
|
|
573
592
|
weight: number;
|
|
574
593
|
from: string;
|
|
575
594
|
to: string;
|
|
595
|
+
direction: "directional" | "bidirectional";
|
|
576
596
|
createdBy?: string | undefined;
|
|
577
597
|
evidence?: {
|
|
578
598
|
description: string;
|
|
@@ -587,7 +607,6 @@ export declare const SynapseCreateInputSchema: z.ZodObject<{
|
|
|
587
607
|
from: string;
|
|
588
608
|
to: string;
|
|
589
609
|
createdBy?: string | undefined;
|
|
590
|
-
direction?: "directional" | "bidirectional" | undefined;
|
|
591
610
|
weight?: number | undefined;
|
|
592
611
|
evidence?: {
|
|
593
612
|
description: string;
|
|
@@ -595,6 +614,7 @@ export declare const SynapseCreateInputSchema: z.ZodObject<{
|
|
|
595
614
|
source?: string | undefined;
|
|
596
615
|
confidence?: number | undefined;
|
|
597
616
|
}[] | undefined;
|
|
617
|
+
direction?: "directional" | "bidirectional" | undefined;
|
|
598
618
|
sourceSemantic?: string | undefined;
|
|
599
619
|
targetSemantic?: string | undefined;
|
|
600
620
|
}>;
|
|
@@ -602,28 +622,28 @@ export declare const SynapseGetInputSchema: z.ZodObject<{
|
|
|
602
622
|
from: z.ZodString;
|
|
603
623
|
synapseId: z.ZodString;
|
|
604
624
|
}, "strip", z.ZodTypeAny, {
|
|
605
|
-
synapseId: string;
|
|
606
625
|
from: string;
|
|
607
|
-
}, {
|
|
608
626
|
synapseId: string;
|
|
627
|
+
}, {
|
|
609
628
|
from: string;
|
|
629
|
+
synapseId: string;
|
|
610
630
|
}>;
|
|
611
631
|
export declare const SynapseDeleteInputSchema: z.ZodObject<{
|
|
612
632
|
from: z.ZodString;
|
|
613
633
|
synapseId: z.ZodString;
|
|
614
634
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
synapseId: string;
|
|
616
635
|
from: string;
|
|
617
|
-
}, {
|
|
618
636
|
synapseId: string;
|
|
637
|
+
}, {
|
|
619
638
|
from: string;
|
|
639
|
+
synapseId: string;
|
|
620
640
|
}>;
|
|
621
641
|
export declare const SynapseListInputSchema: z.ZodObject<{
|
|
622
642
|
engramId: z.ZodString;
|
|
623
643
|
direction: z.ZodDefault<z.ZodEnum<["outgoing", "incoming", "both"]>>;
|
|
624
644
|
}, "strip", z.ZodTypeAny, {
|
|
625
|
-
engramId: string;
|
|
626
645
|
direction: "outgoing" | "incoming" | "both";
|
|
646
|
+
engramId: string;
|
|
627
647
|
}, {
|
|
628
648
|
engramId: string;
|
|
629
649
|
direction?: "outgoing" | "incoming" | "both" | undefined;
|
|
@@ -648,11 +668,63 @@ export declare const SkillInvokeInputSchema: z.ZodObject<{
|
|
|
648
668
|
export declare const EngramListProposalsInputSchema: z.ZodObject<{
|
|
649
669
|
/** 是否包含已 accepted/dismissed 的提案(默认 false,只列 pending) */
|
|
650
670
|
includeAll: z.ZodDefault<z.ZodBoolean>;
|
|
651
|
-
|
|
671
|
+
/**
|
|
672
|
+
* 返回上限(必填,1-500)。与 cursor 配合做翻页。
|
|
673
|
+
*
|
|
674
|
+
* 提案列表通常远小于 engram 列表(典型 <100),但保留 cursor 分页保持
|
|
675
|
+
* API 形态一致性,也覆盖 proposal-engine 候选量随观察窗口增长的场景。
|
|
676
|
+
*/
|
|
677
|
+
limit: z.ZodNumber;
|
|
678
|
+
/**
|
|
679
|
+
* 分页 cursor(上一页返回的 nextCursor)。
|
|
680
|
+
*
|
|
681
|
+
* 编码上一页最后一条的 sort key(createdAt + entityId)。
|
|
682
|
+
* 下一页返回排序更靠后的提案。
|
|
683
|
+
*/
|
|
684
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
685
|
+
}, "strict", z.ZodTypeAny, {
|
|
686
|
+
limit: number;
|
|
652
687
|
includeAll: boolean;
|
|
688
|
+
cursor?: string | null | undefined;
|
|
653
689
|
}, {
|
|
690
|
+
limit: number;
|
|
691
|
+
cursor?: string | null | undefined;
|
|
654
692
|
includeAll?: boolean | undefined;
|
|
655
693
|
}>;
|
|
694
|
+
/**
|
|
695
|
+
* engram_list_proposals 工具的返回 shape(Task 3.5 cursor 分页)。
|
|
696
|
+
*/
|
|
697
|
+
export interface EngramListProposalsToolResult {
|
|
698
|
+
readonly items: ReadonlyArray<{
|
|
699
|
+
entityId: string;
|
|
700
|
+
occurrences: number;
|
|
701
|
+
sampleQuotes: readonly string[];
|
|
702
|
+
centroidExcerpt: string;
|
|
703
|
+
firstSeenAt: string;
|
|
704
|
+
lastSeenAt: string;
|
|
705
|
+
createdAt: string;
|
|
706
|
+
status: "pending" | "accepted" | "dismissed";
|
|
707
|
+
source: "conversation" | "auto-memory" | "external-markdown";
|
|
708
|
+
slug?: string;
|
|
709
|
+
proposedTitle?: string;
|
|
710
|
+
proposedSummary?: string;
|
|
711
|
+
proposedKind?: string;
|
|
712
|
+
proposedDomainTags?: readonly string[];
|
|
713
|
+
proposedContextTags?: readonly string[];
|
|
714
|
+
proposedImportance?: number;
|
|
715
|
+
proposedVisibility?: string;
|
|
716
|
+
proposedEncodingContext?: string;
|
|
717
|
+
proposedSourceType?: string;
|
|
718
|
+
proposedDecayHalfLifeDays?: number | null;
|
|
719
|
+
proposedCreatedBy?: string;
|
|
720
|
+
suggestedTitle?: string;
|
|
721
|
+
necessityReason?: string;
|
|
722
|
+
necessityRule?: string;
|
|
723
|
+
acceptedEngramId?: string;
|
|
724
|
+
sourcePath?: string;
|
|
725
|
+
}>;
|
|
726
|
+
readonly nextCursor: string | null;
|
|
727
|
+
}
|
|
656
728
|
export declare const EngramAcceptProposalInputSchema: z.ZodObject<{
|
|
657
729
|
/** 簇 id(= proposal.entityId;auto-memory 来源形如 `am:<slug>`) */
|
|
658
730
|
entityId: z.ZodString;
|
|
@@ -696,19 +768,19 @@ export declare const EngramAcceptProposalInputSchema: z.ZodObject<{
|
|
|
696
768
|
visibility: z.ZodOptional<z.ZodEnum<["public", "team", "private", "restricted"]>>;
|
|
697
769
|
}, "strip", z.ZodTypeAny, {
|
|
698
770
|
entityId: string;
|
|
699
|
-
createdBy?: string | undefined;
|
|
700
|
-
kind?: "observation" | "fact" | "pattern" | "procedure" | "hypothesis" | undefined;
|
|
701
771
|
content?: string | undefined;
|
|
772
|
+
kind?: "observation" | "fact" | "pattern" | "procedure" | "hypothesis" | undefined;
|
|
702
773
|
title?: string | undefined;
|
|
703
774
|
domainTags?: string[] | undefined;
|
|
775
|
+
createdBy?: string | undefined;
|
|
704
776
|
visibility?: "public" | "team" | "private" | "restricted" | undefined;
|
|
705
777
|
}, {
|
|
706
778
|
entityId: string;
|
|
707
|
-
createdBy?: string | undefined;
|
|
708
|
-
kind?: "observation" | "fact" | "pattern" | "procedure" | "hypothesis" | undefined;
|
|
709
779
|
content?: string | undefined;
|
|
780
|
+
kind?: "observation" | "fact" | "pattern" | "procedure" | "hypothesis" | undefined;
|
|
710
781
|
title?: string | undefined;
|
|
711
782
|
domainTags?: string[] | undefined;
|
|
783
|
+
createdBy?: string | undefined;
|
|
712
784
|
visibility?: "public" | "team" | "private" | "restricted" | undefined;
|
|
713
785
|
}>;
|
|
714
786
|
export declare const EngramDismissProposalInputSchema: z.ZodObject<{
|
|
@@ -757,14 +829,14 @@ export declare const EngramSynthesizeInputSchema: z.ZodObject<{
|
|
|
757
829
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
758
830
|
}, "strip", z.ZodTypeAny, {
|
|
759
831
|
ids: string[];
|
|
760
|
-
createdBy?: string | undefined;
|
|
761
832
|
domainTags?: string[] | undefined;
|
|
833
|
+
createdBy?: string | undefined;
|
|
762
834
|
synthesisHints?: string | undefined;
|
|
763
835
|
dryRun?: boolean | undefined;
|
|
764
836
|
}, {
|
|
765
837
|
ids: string[];
|
|
766
|
-
createdBy?: string | undefined;
|
|
767
838
|
domainTags?: string[] | undefined;
|
|
839
|
+
createdBy?: string | undefined;
|
|
768
840
|
synthesisHints?: string | undefined;
|
|
769
841
|
dryRun?: boolean | undefined;
|
|
770
842
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/tools/schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,eAAO,MAAM,gBAAgB,0EAM3B,CAAC;AAEH,eAAO,MAAM,kBAAkB,yDAK7B,CAAC;AAEH,eAAO,MAAM,qBAAqB,qDAKhC,CAAC;AAEH,eAAO,MAAM,sBAAsB,gDAIjC,CAAC;AAEH,eAAO,MAAM,sBAAsB,oDAIjC,CAAC;AAEH,eAAO,MAAM,sBAAsB,wDAKjC,CAAC;AAEH,eAAO,MAAM,oBAAoB,iEAM/B,CAAC;AAEH,eAAO,MAAM,iBAAiB,kLAa5B,CAAC;AAEH,eAAO,MAAM,sBAAsB,6CAA2C,CAAC;AAM/E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBlC,CAAC;AAMH;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,yEAO9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;IAG/B,0CAA0C;;;;;;;;;;;IAO1C,yCAAyC;;;;;;;;;;;;;;;;;;EAEzC,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