@signetai/connector-kimi 0.237.10 → 0.237.11

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.
Files changed (2) hide show
  1. package/dist/index.js +46 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15892,6 +15892,17 @@ function up168(db) {
15892
15892
  DROP TABLE retired_source_paragraphs;
15893
15893
  `);
15894
15894
  }
15895
+ function up169(db) {
15896
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
15897
+ return;
15898
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
15899
+ if (!columns.some((column) => column.name === "cursor_basis")) {
15900
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
15901
+ }
15902
+ if (!columns.some((column) => column.name === "stalled_passes")) {
15903
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
15904
+ }
15905
+ }
15895
15906
  var MIGRATIONS = [
15896
15907
  {
15897
15908
  version: 1,
@@ -17245,6 +17256,17 @@ var MIGRATIONS = [
17245
17256
  version: 168,
17246
17257
  name: "retire-source-paragraph-claims",
17247
17258
  up: up168
17259
+ },
17260
+ {
17261
+ version: 169,
17262
+ name: "dreaming-evidence-review-cursor",
17263
+ up: up169,
17264
+ artifacts: {
17265
+ columns: [
17266
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
17267
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
17268
+ ]
17269
+ }
17248
17270
  }
17249
17271
  ];
17250
17272
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -28208,7 +28230,7 @@ var DAEMON_DERIVED_MEMORY_SOURCE_TYPES2 = [
28208
28230
  "checkpoint",
28209
28231
  "dreaming"
28210
28232
  ];
28211
- function up169(db) {
28233
+ function up170(db) {
28212
28234
  const hasColumn = (table, column) => {
28213
28235
  const statement = db.prepare(`SELECT 1 FROM pragma_table_info('${table}') WHERE name = ?`);
28214
28236
  try {
@@ -33712,6 +33734,17 @@ function up1682(db) {
33712
33734
  DROP TABLE retired_source_paragraphs;
33713
33735
  `);
33714
33736
  }
33737
+ function up1692(db) {
33738
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
33739
+ return;
33740
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
33741
+ if (!columns.some((column) => column.name === "cursor_basis")) {
33742
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
33743
+ }
33744
+ if (!columns.some((column) => column.name === "stalled_passes")) {
33745
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
33746
+ }
33747
+ }
33715
33748
  var MIGRATIONS2 = [
33716
33749
  {
33717
33750
  version: 1,
@@ -34915,7 +34948,7 @@ var MIGRATIONS2 = [
34915
34948
  {
34916
34949
  version: 151,
34917
34950
  name: "transcript-import-bytes",
34918
- up: up169,
34951
+ up: up170,
34919
34952
  artifacts: {
34920
34953
  tables: [
34921
34954
  "source_import_chunks",
@@ -35065,6 +35098,17 @@ var MIGRATIONS2 = [
35065
35098
  version: 168,
35066
35099
  name: "retire-source-paragraph-claims",
35067
35100
  up: up1682
35101
+ },
35102
+ {
35103
+ version: 169,
35104
+ name: "dreaming-evidence-review-cursor",
35105
+ up: up1692,
35106
+ artifacts: {
35107
+ columns: [
35108
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
35109
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
35110
+ ]
35111
+ }
35068
35112
  }
35069
35113
  ];
35070
35114
  var LATEST_SCHEMA_VERSION2 = MIGRATIONS2[MIGRATIONS2.length - 1]?.version ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-kimi",
3
- "version": "0.237.10",
3
+ "version": "0.237.11",
4
4
  "description": "Signet connector for Kimi CLI / Kimi Code",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "typecheck": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {
27
- "@signetai/connector-base": "0.237.10",
28
- "@signetai/core": "0.237.10"
27
+ "@signetai/connector-base": "0.237.11",
28
+ "@signetai/core": "0.237.11"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",