signetai 0.200.28 → 0.202.3

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
@@ -40925,6 +40925,12 @@ function up131(db) {
40925
40925
  ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
40926
40926
  `);
40927
40927
  }
40928
+ function up132(db) {
40929
+ db.exec(`
40930
+ CREATE INDEX IF NOT EXISTS idx_epistemic_assertions_observer_entity
40931
+ ON epistemic_assertions(agent_id, subject_entity_id, status, asserted_at DESC, created_at DESC);
40932
+ `);
40933
+ }
40928
40934
  var MIGRATIONS = [
40929
40935
  {
40930
40936
  version: 1,
@@ -41973,6 +41979,12 @@ var MIGRATIONS = [
41973
41979
  name: "dreaming-evidence-consumption",
41974
41980
  up: up131,
41975
41981
  artifacts: { tables: ["dreaming_evidence_consumption"] }
41982
+ },
41983
+ {
41984
+ version: 132,
41985
+ name: "observer-scoped-epistemic-assertions",
41986
+ up: up132,
41987
+ artifacts: { tables: ["epistemic_assertions"] }
41976
41988
  }
41977
41989
  ];
41978
41990
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -43595,7 +43607,7 @@ function findEpisodicSourceAgentIds(db, from) {
43595
43607
  }
43596
43608
  function searchEpisodicSources(db, params) {
43597
43609
  const query = params.query.trim();
43598
- const limit = Math.max(1, Math.min(Math.floor(params.limit ?? 20), 50));
43610
+ const limit = params.limit === null ? null : Math.max(1, Math.min(Math.floor(params.limit ?? 20), 50));
43599
43611
  const like = `%${query}%`;
43600
43612
  const sinceArgs = params.since !== undefined ? [params.since, EPISODIC_CAPTURED_AT_FLOOR] : [];
43601
43613
  const beforeArgs = params.before !== undefined ? [params.before] : [];
@@ -43677,7 +43689,7 @@ UNION ALL
43677
43689
  ${union3}
43678
43690
  )
43679
43691
  ORDER BY julianday(captured_at) DESC, kind ASC, id ASC
43680
- LIMIT ?`).all(...branches.flatMap((branch) => branch.args), limit);
43692
+ LIMIT ${limit === null ? -1 : "?"}`).all(...branches.flatMap((branch) => branch.args), ...limit === null ? [] : [limit]);
43681
43693
  return rows.map((row) => readEpisodicSource(db, { agentId: params.agentId, from: `${row.kind}:${row.id}` })).filter((source) => source !== null);
43682
43694
  }
43683
43695
 
@@ -46034,6 +46046,9 @@ function validateSource(db, agentId, sourceKind, sourceId) {
46034
46046
  throw new Error(`Derived memory provenance source kind is not supported: ${sourceKind}`);
46035
46047
  }
46036
46048
  }
46049
+ function validateDerivedMemorySourceInTx(db, input) {
46050
+ validateSource(db, input.agentId, input.sourceKind, input.sourceId);
46051
+ }
46037
46052
  function required4(value, field) {
46038
46053
  const normalized = value.trim();
46039
46054
  if (!normalized)
@@ -46055,7 +46070,7 @@ function linkDerivedMemorySourcesInTx(db, input) {
46055
46070
  if (seen.has(key))
46056
46071
  continue;
46057
46072
  seen.add(key);
46058
- validateSource(db, agentId, sourceKind, sourceId);
46073
+ validateDerivedMemorySourceInTx(db, { agentId, sourceKind, sourceId });
46059
46074
  insert.run(derivedMemoryId, sourceKind, sourceId, source.sourcePath?.trim() || null, agentId, createdAt);
46060
46075
  }
46061
46076
  }
@@ -1,43 +1,43 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.200.28",
3
+ "version": "0.202.3",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "94b9bda9d76d6a2008311e22cb0bc5f79d7277dfefd07d4c6034fd41b40f9c36",
9
- "size": 126836512
8
+ "sha256": "f14054968cd3fe91bae72abe84b73ffac30e9c4eda22c75e33cbe9ffbe073ba2",
9
+ "size": 127711648
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "a3a09c0edab75940adf29e8ea7b29bdf3661b982b0c38af65ecda658410cbeab",
15
- "size": 131795520
14
+ "sha256": "7942ced31d01dcef7db246265164125f01c4be44b572370542666eb0b2286ba5",
15
+ "size": 132663872
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "966016e6285d1a479a410294167719b7a8304aec9ab59d62ef232a2875ea1c42",
21
- "size": 171358286
20
+ "sha256": "a228a73355dbf8e2590d722fa43178ab54861fa7e21cce55c4df53660a17f01b",
21
+ "size": 172235606
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "47ab1922926adddd7e3b91afb86671183b7cd9e040b05cafe6407eed0acceff9",
27
- "size": 173732868
26
+ "sha256": "35ee02d44778c549bd380d378c1199c9fc121653fabd4e68bfc44f2c66366a2a",
27
+ "size": 174610188
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "5f1495b81299b2e9d90434f442ab1960e29e8fb9c097aee8345b410acf76e5bf",
33
- "size": 181857280
32
+ "sha256": "baa508f4e9ab82a117df1ad8f437f91b978518f1c68e972d63f176115442b513",
33
+ "size": 182733312
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.200.28.tar.gz",
39
- "sha256": "0b18d467fbe1db2aa6af117bb9bb64efcbd5098d94221148e04abf126d9096cb",
40
- "size": 21946
38
+ "url": "signet-connectors-0.202.3.tar.gz",
39
+ "sha256": "48c30dde3d5cd0e814040fef201541557e3b9f9cc55c9ca7cf00a349a52940cd",
40
+ "size": 21945
41
41
  }
42
42
  }
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signetai",
3
- "version": "0.200.28",
3
+ "version": "0.202.3",
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.200.28/signetai-darwin-arm64-0.200.28.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.200.28/signetai-darwin-x64-0.200.28.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.200.28/signetai-linux-arm64-0.200.28.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.200.28/signetai-linux-x64-0.200.28.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.200.28/signetai-win32-x64-0.200.28.tgz"
68
+ "signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.202.3/signetai-darwin-arm64-0.202.3.tgz",
69
+ "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.202.3/signetai-darwin-x64-0.202.3.tgz",
70
+ "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.202.3/signetai-linux-arm64-0.202.3.tgz",
71
+ "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.202.3/signetai-linux-x64-0.202.3.tgz",
72
+ "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.202.3/signetai-win32-x64-0.202.3.tgz"
73
73
  }
74
74
  }