signetai 0.194.0 → 0.195.0
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 +59 -3
- package/native-manifest.json +14 -14
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -40702,6 +40702,40 @@ function up125(db) {
|
|
|
40702
40702
|
scannedAt
|
|
40703
40703
|
});
|
|
40704
40704
|
}
|
|
40705
|
+
function up126(db) {
|
|
40706
|
+
const table = db.prepare("SELECT sql FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_attention'").get();
|
|
40707
|
+
if (!table)
|
|
40708
|
+
return;
|
|
40709
|
+
if (table.sql?.includes("'surprisal'"))
|
|
40710
|
+
return;
|
|
40711
|
+
db.exec(`
|
|
40712
|
+
DROP INDEX IF EXISTS idx_dreaming_attention_pending;
|
|
40713
|
+
ALTER TABLE dreaming_attention RENAME TO dreaming_attention_legacy_126;
|
|
40714
|
+
CREATE TABLE dreaming_attention (
|
|
40715
|
+
id TEXT PRIMARY KEY,
|
|
40716
|
+
agent_id TEXT NOT NULL,
|
|
40717
|
+
kind TEXT NOT NULL CHECK (kind IN ('review_due', 'hygiene', 'contested_claim', 'evidence_requeue', 'surprisal')),
|
|
40718
|
+
subject_ref TEXT NOT NULL,
|
|
40719
|
+
details_json TEXT NOT NULL DEFAULT '{}',
|
|
40720
|
+
priority INTEGER NOT NULL DEFAULT 0 CHECK (priority >= 0 AND priority <= 100),
|
|
40721
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
40722
|
+
generation INTEGER NOT NULL DEFAULT 0,
|
|
40723
|
+
resolved_at TEXT,
|
|
40724
|
+
resolved_by_pass_id TEXT,
|
|
40725
|
+
UNIQUE(agent_id, kind, subject_ref)
|
|
40726
|
+
);
|
|
40727
|
+
INSERT INTO dreaming_attention (
|
|
40728
|
+
id, agent_id, kind, subject_ref, details_json, priority, created_at,
|
|
40729
|
+
generation, resolved_at, resolved_by_pass_id
|
|
40730
|
+
)
|
|
40731
|
+
SELECT id, agent_id, kind, subject_ref, details_json, priority, created_at,
|
|
40732
|
+
generation, resolved_at, resolved_by_pass_id
|
|
40733
|
+
FROM dreaming_attention_legacy_126;
|
|
40734
|
+
DROP TABLE dreaming_attention_legacy_126;
|
|
40735
|
+
CREATE INDEX idx_dreaming_attention_pending
|
|
40736
|
+
ON dreaming_attention (agent_id, resolved_at, priority DESC, created_at ASC);
|
|
40737
|
+
`);
|
|
40738
|
+
}
|
|
40705
40739
|
var MIGRATIONS = [
|
|
40706
40740
|
{
|
|
40707
40741
|
version: 1,
|
|
@@ -41716,6 +41750,12 @@ var MIGRATIONS = [
|
|
|
41716
41750
|
name: "memory-content-safety",
|
|
41717
41751
|
up: up125,
|
|
41718
41752
|
artifacts: { tables: ["memory_content_safety"] }
|
|
41753
|
+
},
|
|
41754
|
+
{
|
|
41755
|
+
version: 126,
|
|
41756
|
+
name: "dreaming-surprisal-attention",
|
|
41757
|
+
up: up126,
|
|
41758
|
+
artifacts: { tables: ["dreaming_attention"] }
|
|
41719
41759
|
}
|
|
41720
41760
|
];
|
|
41721
41761
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -42706,13 +42746,23 @@ function detectLocalTimeZone() {
|
|
|
42706
42746
|
return "UTC";
|
|
42707
42747
|
}
|
|
42708
42748
|
}
|
|
42749
|
+
var DEFAULT_DREAMING_SURPRISAL = {
|
|
42750
|
+
enabled: false,
|
|
42751
|
+
sampleSize: 128,
|
|
42752
|
+
maxCandidates: 5,
|
|
42753
|
+
minObservations: 20,
|
|
42754
|
+
neighborCount: 5,
|
|
42755
|
+
treeLeafSize: 10,
|
|
42756
|
+
minScore: 0.75
|
|
42757
|
+
};
|
|
42709
42758
|
var DEFAULT_DREAMING = {
|
|
42710
42759
|
tokenThreshold: 1e5,
|
|
42711
42760
|
maxInterval: 6 * 60 * 60 * 1000,
|
|
42712
42761
|
timeout: 20 * 60 * 1000,
|
|
42713
42762
|
maxInputTokens: 128000,
|
|
42714
42763
|
maxOutputTokens: 16000,
|
|
42715
|
-
backfillOnFirstRun: true
|
|
42764
|
+
backfillOnFirstRun: true,
|
|
42765
|
+
surprisal: DEFAULT_DREAMING_SURPRISAL
|
|
42716
42766
|
};
|
|
42717
42767
|
var DEFAULT_PIPELINE_V2 = {
|
|
42718
42768
|
enabled: true,
|
|
@@ -43411,7 +43461,13 @@ var integerKeyPattern = new RegExp("^(?:0|[1-9][0-9]*)$");
|
|
|
43411
43461
|
var NumericKeyPattern = new RegExp(IntegerKey);
|
|
43412
43462
|
// ../../platform/daemon/src/pipeline/dreaming-attention.ts
|
|
43413
43463
|
import { randomUUID } from "node:crypto";
|
|
43414
|
-
var DREAMING_ATTENTION_KINDS = [
|
|
43464
|
+
var DREAMING_ATTENTION_KINDS = [
|
|
43465
|
+
"review_due",
|
|
43466
|
+
"hygiene",
|
|
43467
|
+
"contested_claim",
|
|
43468
|
+
"evidence_requeue",
|
|
43469
|
+
"surprisal"
|
|
43470
|
+
];
|
|
43415
43471
|
function parseDetails(value) {
|
|
43416
43472
|
try {
|
|
43417
43473
|
const parsed = JSON.parse(value);
|
|
@@ -48006,7 +48062,7 @@ function createDreamingCapabilities(params) {
|
|
|
48006
48062
|
}
|
|
48007
48063
|
return { ok: true, passId: params.passId };
|
|
48008
48064
|
}),
|
|
48009
|
-
capability("attention_list", "List attention", "List attention records by kind and resolution status. Use kind hygiene for
|
|
48065
|
+
capability("attention_list", "List attention", "List attention records by kind and resolution status. Use kind hygiene for structural queue work, kind surprisal for bounded exploration hints, or review_due for expired and approaching temporal claims. Omit agentId to see the whole install; pass agentId to narrow to one scope.", true, exports_external.object({
|
|
48010
48066
|
agentId: exports_external.string().optional(),
|
|
48011
48067
|
kind: exports_external.string().optional(),
|
|
48012
48068
|
status: exports_external.enum(["pending", "resolved"]).optional(),
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.195.0",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "0793f4f6948e6993fe1d3799cde0992cbd1a897a5fc008e762edc732dfc649b2",
|
|
9
|
+
"size": 124937632
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "56af5d5a7b3b8ec28b3501c7b41fd41bb9fccaf6a6980db1d3f5bf951ccaf011",
|
|
15
|
+
"size": 129911360
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "6ebf1c5810d80e9d69cebc4700810f509c1b5774f9214a929b358fbd646a19e1",
|
|
21
|
+
"size": 169479267
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "63a79235ca9ca1bbb8e086a07d428c562442b7161ac3557bfa070554dbe90d36",
|
|
27
|
+
"size": 171853849
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "e1a11a9d6b1ed01dd29fbe0fc2da0b1a94cc4f3c97fed4b5efeaa9486480a281",
|
|
33
|
+
"size": 179980288
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.195.0.tar.gz",
|
|
39
|
+
"sha256": "262c498cc27ed0466f436e6a3ed882da246880819e34ecfba3cb8c5eaa20afe7",
|
|
40
|
+
"size": 21671
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.195.0",
|
|
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.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.195.0/signetai-darwin-arm64-0.195.0.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.195.0/signetai-darwin-x64-0.195.0.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.195.0/signetai-linux-arm64-0.195.0.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.195.0/signetai-linux-x64-0.195.0.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.195.0/signetai-win32-x64-0.195.0.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|