signetai 0.211.9 → 0.211.10

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
@@ -55085,6 +55085,12 @@ async function curateMemoryHead(input) {
55085
55085
  db.prepare(`UPDATE memory_md_heads SET content = ?, content_hash = ?, revision = ?, updated_at = ?, lease_token = NULL, lease_owner = NULL, lease_expires_at = NULL WHERE agent_id = ? AND lease_token = ?`).run(projected.body, hash3, next, new Date().toISOString(), input.agentId, lease.row.token);
55086
55086
  for (const entry of input.entries)
55087
55087
  db.prepare(`INSERT INTO memory_head_revisions (id, agent_id, revision, content, content_hash, rendered_token_count, pass_id, base_revision, base_hash, created_at, entry_id, entry_text, operation, source_refs_json, supporting_quotes_json) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`).run(randomUUID3(), input.agentId, next, input.content.trim(), hash3, countTokens(input.content.trim()), input.passId, input.baseRevision, input.baseHash, new Date().toISOString(), entry.id, entry.text, entry.operation, JSON.stringify(entry.sourceRefs), JSON.stringify(entry.supportingQuotes));
55088
+ const manifestUpdate = db.prepare(`UPDATE dreaming_passes
55089
+ SET head_revision = ?, head_hash = ?, head_added = ?, head_updated = ?,
55090
+ head_removed = ?, head_deferred = ?, head_no_op = ?
55091
+ WHERE id = ? AND agent_id = ?`).run(next, hash3, input.entries.filter((entry) => entry.operation === "added").length, input.entries.filter((entry) => entry.operation === "updated").length, input.entries.filter((entry) => entry.operation === "removed").length, input.entries.filter((entry) => entry.operation === "deferred").length, input.entries.filter((entry) => entry.operation === "no-op").length, input.passId, input.agentId);
55092
+ if (manifestUpdate.changes !== 1)
55093
+ throw new Error("Dreaming pass manifest row is missing");
55088
55094
  writeProjection(projected.file, input.agentId);
55089
55095
  });
55090
55096
  } catch (error51) {
@@ -55598,13 +55604,7 @@ function createDreamingCapabilities(params) {
55598
55604
  }), async (input) => {
55599
55605
  if (!params.passId || input.passId !== params.passId)
55600
55606
  return { ok: false, error: "Head curation requires the active Dreaming pass" };
55601
- const result = await curateMemoryHead(input);
55602
- if (result.ok) {
55603
- if (!params.accessor.withWriteTxAsync)
55604
- throw new Error("Head curation requires the async write transaction accessor to record its pass manifest");
55605
- await params.accessor.withWriteTxAsync((db) => db.prepare(`UPDATE dreaming_passes SET head_revision = ?, head_hash = ?, head_added = ?, head_updated = ?, head_removed = ?, head_deferred = ?, head_no_op = ? WHERE id = ? AND agent_id = ?`).run(result.revision, result.hash, input.entries.filter((entry) => entry.operation === "added").length, input.entries.filter((entry) => entry.operation === "updated").length, input.entries.filter((entry) => entry.operation === "removed").length, input.entries.filter((entry) => entry.operation === "deferred").length, input.entries.filter((entry) => entry.operation === "no-op").length, input.passId, input.agentId));
55606
- }
55607
- return result;
55607
+ return await curateMemoryHead(input);
55608
55608
  })
55609
55609
  ]
55610
55610
  ];
@@ -1,42 +1,42 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.211.9",
3
+ "version": "0.211.10",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "c18a847c805b965fd9fa962538de87b2ebe8d8db040ab0aa5d8fd240acb9dffb",
8
+ "sha256": "8c53e3e4daa3e18839583c36beeb2298ac5949091c210969809dc9a63b8c7696",
9
9
  "size": 161429152
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "0f445dc6450f5ab528c975d526cd679fff545c02054cd74d038357a81b48738e",
14
+ "sha256": "415c3011225812fb3f20937313b2a7fb3df12269d2f536d8af4b4564234bc9a6",
15
15
  "size": 166169152
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "68e010e22b56d66cf1375d38ca10e94abc57627fcab9f7cea5a1f645c6e4e470",
21
- "size": 208732540
20
+ "sha256": "bd4759d23ea8447167c250fef0879dfb1eb28da5722844a0f7e1f213d76f9559",
21
+ "size": 208732387
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "7f600ad9ccc5c628add7c2ff77ca2d4c135281a30c13736dc95e108a45c8ae5d",
27
- "size": 211521291
26
+ "sha256": "00c5578eda10f44dd1b4532d269dce5b814247749ab4bf4e43cc15a047b4e2de",
27
+ "size": 211521138
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "f635da2f461aa0f3f317e3a6ae1b2df82b65b3b1e5ff901b92f78078abec5b2e",
33
- "size": 218007552
32
+ "sha256": "d8ef6eaf45090f284ebb8b4791eb4a3093d5731ad2d189d52cf8e0a33f140657",
33
+ "size": 218007040
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.211.9.tar.gz",
39
- "sha256": "3d3e968fd44ec1ff71d1e5b3e40c836be8a8f3f47f2cf8354db2be580d17d5a0",
38
+ "url": "signet-connectors-0.211.10.tar.gz",
39
+ "sha256": "71795b02d0d738c8761c0279c7550cd1b8e533712dea948d29dbe63a61f1a264",
40
40
  "size": 21945
41
41
  }
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signetai",
3
- "version": "0.211.9",
3
+ "version": "0.211.10",
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.211.9/signetai-darwin-arm64-0.211.9.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.9/signetai-darwin-x64-0.211.9.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.9/signetai-linux-arm64-0.211.9.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.9/signetai-linux-x64-0.211.9.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.9/signetai-win32-x64-0.211.9.tgz"
68
+ "signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.10/signetai-darwin-arm64-0.211.10.tgz",
69
+ "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.10/signetai-darwin-x64-0.211.10.tgz",
70
+ "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.10/signetai-linux-arm64-0.211.10.tgz",
71
+ "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.10/signetai-linux-x64-0.211.10.tgz",
72
+ "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.10/signetai-win32-x64-0.211.10.tgz"
73
73
  }
74
74
  }