signetai 0.211.8 → 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 +8 -9
- package/native-manifest.json +11 -11
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -25749,7 +25749,7 @@ function getDbAccessor() {
|
|
|
25749
25749
|
}
|
|
25750
25750
|
return accessor;
|
|
25751
25751
|
}
|
|
25752
|
-
var isBun, require3, Database, accessor = null,
|
|
25752
|
+
var isBun, require3, Database, accessor = null, migrationBackupDeps;
|
|
25753
25753
|
var init_db_accessor = __esm(() => {
|
|
25754
25754
|
init_dist();
|
|
25755
25755
|
init_db_vacuum();
|
|
@@ -25765,7 +25765,6 @@ var init_db_accessor = __esm(() => {
|
|
|
25765
25765
|
} else {
|
|
25766
25766
|
Database = require3("better-sqlite3");
|
|
25767
25767
|
}
|
|
25768
|
-
MAX_ZERO_FREE_SPACE_PROBE_BYTES = 1024 * 1024;
|
|
25769
25768
|
migrationBackupDeps = {
|
|
25770
25769
|
copyFileSync,
|
|
25771
25770
|
readdirSync: readdirSync3,
|
|
@@ -55086,6 +55085,12 @@ async function curateMemoryHead(input) {
|
|
|
55086
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);
|
|
55087
55086
|
for (const entry of input.entries)
|
|
55088
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");
|
|
55089
55094
|
writeProjection(projected.file, input.agentId);
|
|
55090
55095
|
});
|
|
55091
55096
|
} catch (error51) {
|
|
@@ -55599,13 +55604,7 @@ function createDreamingCapabilities(params) {
|
|
|
55599
55604
|
}), async (input) => {
|
|
55600
55605
|
if (!params.passId || input.passId !== params.passId)
|
|
55601
55606
|
return { ok: false, error: "Head curation requires the active Dreaming pass" };
|
|
55602
|
-
|
|
55603
|
-
if (result.ok) {
|
|
55604
|
-
if (!params.accessor.withWriteTxAsync)
|
|
55605
|
-
throw new Error("Head curation requires the async write transaction accessor to record its pass manifest");
|
|
55606
|
-
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));
|
|
55607
|
-
}
|
|
55608
|
-
return result;
|
|
55607
|
+
return await curateMemoryHead(input);
|
|
55609
55608
|
})
|
|
55610
55609
|
]
|
|
55611
55610
|
];
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.211.
|
|
3
|
+
"version": "0.211.10",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "8c53e3e4daa3e18839583c36beeb2298ac5949091c210969809dc9a63b8c7696",
|
|
9
9
|
"size": 161429152
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
14
|
+
"sha256": "415c3011225812fb3f20937313b2a7fb3df12269d2f536d8af4b4564234bc9a6",
|
|
15
15
|
"size": 166169152
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "bd4759d23ea8447167c250fef0879dfb1eb28da5722844a0f7e1f213d76f9559",
|
|
21
|
+
"size": 208732387
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "00c5578eda10f44dd1b4532d269dce5b814247749ab4bf4e43cc15a047b4e2de",
|
|
27
|
+
"size": 211521138
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
32
|
+
"sha256": "d8ef6eaf45090f284ebb8b4791eb4a3093d5731ad2d189d52cf8e0a33f140657",
|
|
33
33
|
"size": 218007040
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.211.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.211.10.tar.gz",
|
|
39
|
+
"sha256": "71795b02d0d738c8761c0279c7550cd1b8e533712dea948d29dbe63a61f1a264",
|
|
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.211.
|
|
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.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.211.
|
|
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
|
}
|