@signetai/connector-base 0.192.2 → 0.193.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.
Files changed (2) hide show
  1. package/dist/index.js +26 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10910,6 +10910,24 @@ function up123(db) {
10910
10910
  ON embedding_index_failures(source_type, source_id);
10911
10911
  `);
10912
10912
  }
10913
+ function up124(db) {
10914
+ db.exec(`
10915
+ CREATE TABLE IF NOT EXISTS imported_source_lifecycle (
10916
+ id TEXT PRIMARY KEY,
10917
+ source_id TEXT NOT NULL,
10918
+ agent_id TEXT NOT NULL,
10919
+ status TEXT NOT NULL CHECK(status IN ('unsupported', 'reviewed')),
10920
+ reason TEXT NOT NULL,
10921
+ removed_at TEXT NOT NULL,
10922
+ reviewed_at TEXT,
10923
+ created_at TEXT NOT NULL,
10924
+ updated_at TEXT NOT NULL,
10925
+ UNIQUE(source_id, agent_id)
10926
+ );
10927
+ CREATE INDEX IF NOT EXISTS idx_imported_source_lifecycle_agent
10928
+ ON imported_source_lifecycle(agent_id, status, updated_at DESC);
10929
+ `);
10930
+ }
10913
10931
  var MIGRATIONS = [
10914
10932
  {
10915
10933
  version: 1,
@@ -11910,6 +11928,14 @@ var MIGRATIONS = [
11910
11928
  name: "embedding-index-failures",
11911
11929
  up: up123,
11912
11930
  artifacts: { tables: ["embedding_index_failures"] }
11931
+ },
11932
+ {
11933
+ version: 124,
11934
+ name: "import-derived-lifecycle",
11935
+ up: up124,
11936
+ artifacts: {
11937
+ tables: ["imported_source_lifecycle"]
11938
+ }
11913
11939
  }
11914
11940
  ];
11915
11941
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-base",
3
- "version": "0.192.2",
3
+ "version": "0.193.0",
4
4
  "description": "Base class for Signet harness connectors",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "typecheck": "tsc --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@signetai/core": "0.192.2",
29
+ "@signetai/core": "0.193.0",
30
30
  "json5": "^2.2.3",
31
31
  "jsonc-parser": "3.3.1"
32
32
  },