signetai 0.147.13 → 0.147.18

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 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 = [`Found ${parsed.meta.totalReturned} ${noun}${parsed.method ? ` (${parsed.method})` : ""}.`];
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: limit ?? 10,
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: limit ?? 10,
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: limit ?? 10,
42174
+ limit,
42160
42175
  project,
42161
42176
  sessionKey: session_key,
42162
42177
  agentId: agent_id,
@@ -1,43 +1,43 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.147.13",
3
+ "version": "0.147.18",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "eaf94ae1fb4272e22ae39f2ad222a34b86cb3ad5a1bf753c689db519f51da089",
9
- "size": 113131552
8
+ "sha256": "97995003e35d8426f02c20f18be9939ef75b8c6b3d1a5d2b5328aaf4a3909f7c",
9
+ "size": 113148064
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "e3b3408a762e2fc57682198caa02f878b3848b07c4a75e8336249a57656f1967",
15
- "size": 117787200
14
+ "sha256": "5c8eaf4558ffbd7daa633719d9fd2ce386e456ad881d50e459396885fd043109",
15
+ "size": 117803584
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "238530a8c58f7841ecd3c7c9e1931c1619df98e6883f15a99c394151c49a3be4",
21
- "size": 150397154
20
+ "sha256": "35207c46bdaa3a55a4a85478decf90273710dff9e1badd4385f1eb42e71a806c",
21
+ "size": 150408946
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "6b8379f08573725e68fdb8e264604c8c0427f201751c479050a7a89fad7c7f41",
27
- "size": 150956153
26
+ "sha256": "5a13669bd73689e770f8f7215db7c32fa0addff039e2c2b4bd61f3451278575d",
27
+ "size": 150967949
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "a88c566a0433b2c2056a856cb81748768b562487db61ee4b4d041005d08b6dec",
33
- "size": 167089152
32
+ "sha256": "5c72da363ddcf23587ab1eb85faff3aa9a31fa3781ec2a5deb7453fa00f0fc71",
33
+ "size": 167100928
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.147.13.tar.gz",
39
- "sha256": "c655806b16a0d1011b74ed533bcfb716864bf03b22a47adc62f1208aa4843d83",
40
- "size": 15376
38
+ "url": "signet-connectors-0.147.18.tar.gz",
39
+ "sha256": "62c2045360cae2e58a3bb52f15fb6fbbe7722619f6f9630890e811e993cef719",
40
+ "size": 15108
41
41
  }
42
42
  }
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signetai",
3
- "version": "0.147.13",
3
+ "version": "0.147.18",
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.13/signetai-darwin-arm64-0.147.13.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.13/signetai-darwin-x64-0.147.13.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.13/signetai-linux-arm64-0.147.13.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.13/signetai-linux-x64-0.147.13.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.13/signetai-win32-x64-0.147.13.tgz"
68
+ "signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.18/signetai-darwin-arm64-0.147.18.tgz",
69
+ "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.18/signetai-darwin-x64-0.147.18.tgz",
70
+ "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.18/signetai-linux-arm64-0.147.18.tgz",
71
+ "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.18/signetai-linux-x64-0.147.18.tgz",
72
+ "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.147.18/signetai-win32-x64-0.147.18.tgz"
73
73
  }
74
74
  }