signetai 0.167.0 → 0.169.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 CHANGED
@@ -47370,6 +47370,36 @@ function up106(db) {
47370
47370
  }
47371
47371
  db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
47372
47372
  }
47373
+ function hasColumn18(db, table, column) {
47374
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
47375
+ }
47376
+ var TOKEN_COLUMNS = [
47377
+ ["tokens_input", "INTEGER"],
47378
+ ["tokens_output", "INTEGER"],
47379
+ ["tokens_cache_read", "INTEGER"],
47380
+ ["tokens_cache_write", "INTEGER"],
47381
+ ["tokens_cost", "REAL"]
47382
+ ];
47383
+ function up107(db) {
47384
+ for (const [column, type] of TOKEN_COLUMNS) {
47385
+ if (!hasColumn18(db, "dreaming_passes", column)) {
47386
+ db.exec(`ALTER TABLE dreaming_passes ADD COLUMN ${column} ${type};`);
47387
+ }
47388
+ }
47389
+ }
47390
+ function up108(db) {
47391
+ db.exec(`
47392
+ CREATE TABLE IF NOT EXISTS embedding_usage (
47393
+ day TEXT NOT NULL,
47394
+ agent_id TEXT NOT NULL DEFAULT '',
47395
+ source_kind TEXT NOT NULL,
47396
+ provider TEXT NOT NULL,
47397
+ requests INTEGER NOT NULL DEFAULT 0,
47398
+ tokens INTEGER NOT NULL DEFAULT 0,
47399
+ PRIMARY KEY (day, agent_id, source_kind, provider)
47400
+ );
47401
+ `);
47402
+ }
47373
47403
  var MIGRATIONS = [
47374
47404
  {
47375
47405
  version: 1,
@@ -48210,6 +48240,28 @@ var MIGRATIONS = [
48210
48240
  artifacts: {
48211
48241
  columns: [{ table: "memories", column: "review_after" }]
48212
48242
  }
48243
+ },
48244
+ {
48245
+ version: 107,
48246
+ name: "dreaming-pass-usage",
48247
+ up: up107,
48248
+ artifacts: {
48249
+ columns: [
48250
+ { table: "dreaming_passes", column: "tokens_input" },
48251
+ { table: "dreaming_passes", column: "tokens_output" },
48252
+ { table: "dreaming_passes", column: "tokens_cache_read" },
48253
+ { table: "dreaming_passes", column: "tokens_cache_write" },
48254
+ { table: "dreaming_passes", column: "tokens_cost" }
48255
+ ]
48256
+ }
48257
+ },
48258
+ {
48259
+ version: 108,
48260
+ name: "embedding-usage",
48261
+ up: up108,
48262
+ artifacts: {
48263
+ tables: ["embedding_usage"]
48264
+ }
48213
48265
  }
48214
48266
  ];
48215
48267
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -1,43 +1,43 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.167.0",
3
+ "version": "0.169.0",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "9873f32416ca55b9759d8470cfe5a074f4d91084bdd927f71be47f6c442611ba",
9
- "size": 116962336
8
+ "sha256": "46f8dcfb58b443b521341a307a05505e6fd0ede8fbee2dfe738b22a33d26282f",
9
+ "size": 117011872
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "1d48388b93a7c87d042176c0671240b7e0782e54e98c9c0eed1301e55c0e94c8",
15
- "size": 121588288
14
+ "sha256": "bfed825fbc933d4edd28287b3617083658fa702f2de44fbec6394bf368ae581e",
15
+ "size": 121637440
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "5b226210a175550fa16f929e1cd488563460092e1799e90d8a2cfec19478dfc1",
21
- "size": 154208710
20
+ "sha256": "22546b936a1680e928fc5d9ac4204dcbbc665bcde244e7ef4e6df79b60c79139",
21
+ "size": 154250725
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "fde3e639c5c5e2a8c4b059d1792641ab9853a4d76340a24f9b391a1bf194abf4",
27
- "size": 154767695
26
+ "sha256": "682e8a482d9b37888d8cc4953d2b7053bb732ae1a7d8300a0539c3b908d7fda0",
27
+ "size": 154809710
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "1b29614c6ab3f35cb0c5d8b582a68d7da15ce9371b93a0c1b796d41e48d6f616",
33
- "size": 170900992
32
+ "sha256": "6ee580dddd89056477853a30a48071030856773a9113c18d12015b142fd0d479",
33
+ "size": 170942976
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.167.0.tar.gz",
39
- "sha256": "ad0d2bba53e73dde4705fb5150ccc87a8b75bcdf8f71ab19bad2db45f373cdf9",
40
- "size": 16250
38
+ "url": "signet-connectors-0.169.0.tar.gz",
39
+ "sha256": "4b85caccd2fdb3c20456b8d09e31f273c9419aee3d5a38c4ddf01c4aff1c0a43",
40
+ "size": 16244
41
41
  }
42
42
  }
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signetai",
3
- "version": "0.167.0",
3
+ "version": "0.169.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.167.0/signetai-darwin-arm64-0.167.0.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.167.0/signetai-darwin-x64-0.167.0.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.167.0/signetai-linux-arm64-0.167.0.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.167.0/signetai-linux-x64-0.167.0.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.167.0/signetai-win32-x64-0.167.0.tgz"
68
+ "signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.169.0/signetai-darwin-arm64-0.169.0.tgz",
69
+ "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.169.0/signetai-darwin-x64-0.169.0.tgz",
70
+ "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.169.0/signetai-linux-arm64-0.169.0.tgz",
71
+ "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.169.0/signetai-linux-x64-0.169.0.tgz",
72
+ "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.169.0/signetai-win32-x64-0.169.0.tgz"
73
73
  }
74
74
  }