signetai 0.147.13 → 0.147.19
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/mcp-stdio.js +30 -15
- package/native-manifest.json +12 -12
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -39120,6 +39120,11 @@ function normalizeRememberTags(tags) {
|
|
|
39120
39120
|
}
|
|
39121
39121
|
return;
|
|
39122
39122
|
}
|
|
39123
|
+
function normalizeRecallLimit(limit) {
|
|
39124
|
+
if (typeof limit !== "number" || !Number.isFinite(limit))
|
|
39125
|
+
return 10;
|
|
39126
|
+
return Math.min(100, Math.max(1, Math.trunc(limit)));
|
|
39127
|
+
}
|
|
39123
39128
|
function partitionRecallRows(rows) {
|
|
39124
39129
|
return {
|
|
39125
39130
|
primary: rows.filter((row) => row.supplementary !== true),
|
|
@@ -39241,7 +39246,11 @@ function formatRecallText(raw) {
|
|
|
39241
39246
|
if (parsed.meta.temporal?.mode === "timeline")
|
|
39242
39247
|
return formatTemporalRecallText(primary, parsed.meta.temporal);
|
|
39243
39248
|
const noun = parsed.meta.totalReturned === 1 ? "memory" : "memories";
|
|
39244
|
-
const parts =
|
|
39249
|
+
const parts = payload.aggregate?.partial === true && typeof payload.aggregate.message === "string" ? [
|
|
39250
|
+
payload.aggregate.message,
|
|
39251
|
+
"",
|
|
39252
|
+
`Found ${parsed.meta.totalReturned} ${noun}${parsed.method ? ` (${parsed.method})` : ""}.`
|
|
39253
|
+
] : [`Found ${parsed.meta.totalReturned} ${noun}${parsed.method ? ` (${parsed.method})` : ""}.`];
|
|
39245
39254
|
if (primary.length > 0) {
|
|
39246
39255
|
parts.push("", "Primary matches:", ...primary.map((row) => formatRecallRow(row)));
|
|
39247
39256
|
}
|
|
@@ -39255,7 +39264,7 @@ function buildRecallRequestBody(query, options = {}) {
|
|
|
39255
39264
|
return withDefined({
|
|
39256
39265
|
query,
|
|
39257
39266
|
keywordQuery: options.keywordQuery ?? options.keyword_query,
|
|
39258
|
-
limit: options.limit,
|
|
39267
|
+
limit: normalizeRecallLimit(options.limit),
|
|
39259
39268
|
project: options.project,
|
|
39260
39269
|
type: options.type,
|
|
39261
39270
|
tags: options.tags,
|
|
@@ -39266,11 +39275,11 @@ function buildRecallRequestBody(query, options = {}) {
|
|
|
39266
39275
|
until: options.until,
|
|
39267
39276
|
time: options.time,
|
|
39268
39277
|
expand: options.expand === true ? true : undefined,
|
|
39269
|
-
agentId: options.agentId,
|
|
39270
|
-
sessionKey: options.sessionKey,
|
|
39271
|
-
includeRecalled: options.includeRecalled === true ? true : undefined,
|
|
39278
|
+
agentId: options.agentId ?? options.agent_id ?? options.contextAgentId,
|
|
39279
|
+
sessionKey: options.sessionKey ?? options.session_key,
|
|
39280
|
+
includeRecalled: options.includeRecalled === true || options.include_recalled === true ? true : undefined,
|
|
39272
39281
|
scope: options.scope,
|
|
39273
|
-
sourceOnly: options.sourceOnly === true ? true : undefined,
|
|
39282
|
+
sourceOnly: options.sourceOnly === true || options.source_only === true ? true : undefined,
|
|
39274
39283
|
aggregate: options.aggregate === true ? true : undefined,
|
|
39275
39284
|
aggregateBudget: options.aggregateBudget ?? options.aggregate_budget,
|
|
39276
39285
|
saveAggregate: options.saveAggregate === false || options.save_aggregate === false ? false : options.saveAggregate === true || options.save_aggregate === true ? true : undefined
|
|
@@ -42019,7 +42028,8 @@ async function createMcpServer(opts) {
|
|
|
42019
42028
|
save_aggregate: exports_external.boolean().optional().describe("Save the aggregate answer as a memory"),
|
|
42020
42029
|
session_key: exports_external.string().optional().describe("Session key for per-context recall dedupe"),
|
|
42021
42030
|
agent_id: exports_external.string().optional().describe("Agent ID for scoped recall"),
|
|
42022
|
-
include_recalled: exports_external.boolean().optional().describe("Include rows already recalled in this context")
|
|
42031
|
+
include_recalled: exports_external.boolean().optional().describe("Include rows already recalled in this context"),
|
|
42032
|
+
scope: exports_external.enum(["global", "agent", "session"]).optional().describe("Recall scope constraint")
|
|
42023
42033
|
})
|
|
42024
42034
|
}, async ({
|
|
42025
42035
|
query,
|
|
@@ -42041,13 +42051,14 @@ async function createMcpServer(opts) {
|
|
|
42041
42051
|
save_aggregate,
|
|
42042
42052
|
session_key,
|
|
42043
42053
|
agent_id,
|
|
42044
|
-
include_recalled
|
|
42054
|
+
include_recalled,
|
|
42055
|
+
scope
|
|
42045
42056
|
}) => {
|
|
42046
42057
|
const result = await fetchDaemon(baseUrl, "/api/memory/recall", {
|
|
42047
42058
|
method: "POST",
|
|
42048
42059
|
body: buildRecallRequestBody(query, {
|
|
42049
42060
|
keyword_query,
|
|
42050
|
-
limit
|
|
42061
|
+
limit,
|
|
42051
42062
|
project,
|
|
42052
42063
|
type,
|
|
42053
42064
|
tags,
|
|
@@ -42062,7 +42073,8 @@ async function createMcpServer(opts) {
|
|
|
42062
42073
|
save_aggregate,
|
|
42063
42074
|
sessionKey: session_key,
|
|
42064
42075
|
agentId: agent_id,
|
|
42065
|
-
includeRecalled: include_recalled
|
|
42076
|
+
includeRecalled: include_recalled,
|
|
42077
|
+
scope
|
|
42066
42078
|
})
|
|
42067
42079
|
});
|
|
42068
42080
|
if (!result.ok) {
|
|
@@ -42095,7 +42107,8 @@ async function createMcpServer(opts) {
|
|
|
42095
42107
|
save_aggregate: exports_external.boolean().optional().describe("Save the aggregate answer as a memory"),
|
|
42096
42108
|
session_key: exports_external.string().optional().describe("Session key for per-context recall dedupe"),
|
|
42097
42109
|
agent_id: exports_external.string().optional().describe("Agent ID for scoped recall"),
|
|
42098
|
-
include_recalled: exports_external.boolean().optional().describe("Include rows already recalled in this context")
|
|
42110
|
+
include_recalled: exports_external.boolean().optional().describe("Include rows already recalled in this context"),
|
|
42111
|
+
scope: exports_external.enum(["global", "agent", "session"]).optional().describe("Recall scope constraint")
|
|
42099
42112
|
})
|
|
42100
42113
|
}, async ({
|
|
42101
42114
|
query,
|
|
@@ -42114,13 +42127,14 @@ async function createMcpServer(opts) {
|
|
|
42114
42127
|
save_aggregate,
|
|
42115
42128
|
session_key,
|
|
42116
42129
|
agent_id,
|
|
42117
|
-
include_recalled
|
|
42130
|
+
include_recalled,
|
|
42131
|
+
scope
|
|
42118
42132
|
}) => {
|
|
42119
42133
|
const result = await fetchDaemon(baseUrl, "/api/memory/recall", {
|
|
42120
42134
|
method: "POST",
|
|
42121
42135
|
body: buildRecallRequestBody(query, {
|
|
42122
42136
|
keyword_query,
|
|
42123
|
-
limit
|
|
42137
|
+
limit,
|
|
42124
42138
|
project,
|
|
42125
42139
|
type,
|
|
42126
42140
|
tags,
|
|
@@ -42133,7 +42147,8 @@ async function createMcpServer(opts) {
|
|
|
42133
42147
|
save_aggregate,
|
|
42134
42148
|
sessionKey: session_key,
|
|
42135
42149
|
agentId: agent_id,
|
|
42136
|
-
includeRecalled: include_recalled
|
|
42150
|
+
includeRecalled: include_recalled,
|
|
42151
|
+
scope
|
|
42137
42152
|
})
|
|
42138
42153
|
});
|
|
42139
42154
|
if (!result.ok)
|
|
@@ -42156,7 +42171,7 @@ async function createMcpServer(opts) {
|
|
|
42156
42171
|
method: "POST",
|
|
42157
42172
|
body: {
|
|
42158
42173
|
...buildRecallRequestBody(query, {
|
|
42159
|
-
limit
|
|
42174
|
+
limit,
|
|
42160
42175
|
project,
|
|
42161
42176
|
sessionKey: session_key,
|
|
42162
42177
|
agentId: agent_id,
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.147.
|
|
3
|
+
"version": "0.147.19",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "e85fc11c059b2d0a213fcc3f48207dfac84f3f628619553f3a325fc60c6bc738",
|
|
9
9
|
"size": 113131552
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
14
|
+
"sha256": "7d35417f597c827f7b8d47fab486f27da794777e5ee952ac15dd6f0ce4309b1a",
|
|
15
15
|
"size": 117787200
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "047ca3856ef2287818c8c481c736a17deed8bfb0a95a92087ea000c8b3bd8c82",
|
|
21
|
+
"size": 150408212
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "7f236fb2fbda4dbe553c7a46eb25b1e652d5832b22da93263eef38f6489a041d",
|
|
27
|
+
"size": 150967215
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "beb5045db8cba19ee50ce992298a93ce511f57c9d6b793d08294e724d2c220d4",
|
|
33
|
+
"size": 167100416
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.147.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.147.19.tar.gz",
|
|
39
|
+
"sha256": "c9305618e2cc4937fae4a7fa3371f2375ef2213c41d01b1d38f4ac6f2289b660",
|
|
40
|
+
"size": 15110
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.147.
|
|
3
|
+
"version": "0.147.19",
|
|
4
4
|
"description": "Signet native CLI installer wrapper",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.19/signetai-darwin-arm64-0.147.19.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.19/signetai-darwin-x64-0.147.19.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.19/signetai-linux-arm64-0.147.19.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.19/signetai-linux-x64-0.147.19.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.19/signetai-win32-x64-0.147.19.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|