@absolutejs/ai 0.0.8 → 0.0.9

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/types/ai.d.ts +13 -3
  2. package/package.json +3 -1
@@ -886,10 +886,20 @@ export type RAGPostgresNativeDiagnostics = {
886
886
  };
887
887
  };
888
888
  export type RAGVectorStoreStatus = {
889
- backend: "in_memory" | "sqlite" | "postgres";
890
- vectorMode: "in_memory" | "json_fallback" | "native_vec0" | "native_pgvector";
889
+ backend: "in_memory";
890
+ vectorMode: "in_memory";
891
891
  dimensions?: number;
892
- native?: RAGSQLiteNativeDiagnostics | RAGPostgresNativeDiagnostics;
892
+ native?: undefined;
893
+ } | {
894
+ backend: "sqlite";
895
+ vectorMode: "json_fallback" | "native_vec0";
896
+ dimensions?: number;
897
+ native?: RAGSQLiteNativeDiagnostics;
898
+ } | {
899
+ backend: "postgres";
900
+ vectorMode: "native_pgvector";
901
+ dimensions?: number;
902
+ native?: RAGPostgresNativeDiagnostics;
893
903
  };
894
904
  export type RAGVectorCountInput = {
895
905
  filter?: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/ai",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "AI runtime, providers, streaming, and framework adapters extracted from AbsoluteJS",
5
5
  "license": "BSL-1.1",
6
6
  "type": "module",
@@ -89,6 +89,7 @@
89
89
  }
90
90
  },
91
91
  "devDependencies": {
92
+ "@absolutejs/absolute": "^0.19.0-beta.1051",
92
93
  "@angular/core": "^21.0.0",
93
94
  "@types/bun": "1.3.9",
94
95
  "@types/react": "19.2.0",
@@ -107,6 +108,7 @@
107
108
  },
108
109
  "scripts": {
109
110
  "build": "bun run scripts/build.ts",
111
+ "config": "absolute config",
110
112
  "typecheck": "tsc --noEmit --project tsconfig.json",
111
113
  "lint": "eslint . --max-warnings 0",
112
114
  "format": "prettier --write .",