@antfly/embedded 0.3.0-rc.6 → 0.3.0-rc.8
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/README.md +1 -1
- package/dist/{chunk-6JXCRQ6H.js → chunk-4KIXT2VQ.js} +1 -1
- package/dist/{database-D9gL3wnT.d.cts → database-BT18eJuO.d.cts} +1 -1
- package/dist/{database-D9gL3wnT.d.ts → database-BT18eJuO.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/kysely.d.cts +1 -1
- package/dist/kysely.d.ts +1 -1
- package/dist/kysely.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -182,7 +182,7 @@ try {
|
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
For decision question types and examples, see the
|
|
185
|
-
[typed decision guide](../../../docs/
|
|
185
|
+
[typed decision guide](../../../docs/reference/decisions.md).
|
|
186
186
|
|
|
187
187
|
- **Calls**: `embed`, `rerank`, `chunk`, `generate`, `generateBatch`,
|
|
188
188
|
`rewrite`, `decide`, `extract`, `read` (OCR), `transcribe`, `listModels` -- each with
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_tsx@4.22.4_typescript@5.9.3_yaml@2.9.1/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import path from "path";
|
|
3
3
|
import { fileURLToPath } from "url";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -115,7 +115,7 @@ interface OpenOptions {
|
|
|
115
115
|
generatedEnrichmentReplay?: boolean;
|
|
116
116
|
mapSize?: Uint64Like;
|
|
117
117
|
ttlCleanup?: TTLCleanupOptions;
|
|
118
|
-
/** Milliseconds to retry while another
|
|
118
|
+
/** Milliseconds to retry Lite admission while another process holds the writer lease or advances the allocator checkpoint (ANTFLY_BUSY), like sqlite3_busy_timeout. Mutation bodies are never replayed by this admission retry. 0 (default) fails immediately. */
|
|
119
119
|
busyTimeoutMs?: Uint64Like;
|
|
120
120
|
inferenceHostBudgetMb?: number;
|
|
121
121
|
inferenceBackendBudgetMb?: number;
|
|
@@ -115,7 +115,7 @@ interface OpenOptions {
|
|
|
115
115
|
generatedEnrichmentReplay?: boolean;
|
|
116
116
|
mapSize?: Uint64Like;
|
|
117
117
|
ttlCleanup?: TTLCleanupOptions;
|
|
118
|
-
/** Milliseconds to retry while another
|
|
118
|
+
/** Milliseconds to retry Lite admission while another process holds the writer lease or advances the allocator checkpoint (ANTFLY_BUSY), like sqlite3_busy_timeout. Mutation bodies are never replayed by this admission retry. 0 (default) fails immediately. */
|
|
119
119
|
busyTimeoutMs?: Uint64Like;
|
|
120
120
|
inferenceHostBudgetMb?: number;
|
|
121
121
|
inferenceBackendBudgetMb?: number;
|
package/dist/index.cjs
CHANGED
|
@@ -87,7 +87,7 @@ __export(index_exports, {
|
|
|
87
87
|
});
|
|
88
88
|
module.exports = __toCommonJS(index_exports);
|
|
89
89
|
|
|
90
|
-
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.
|
|
90
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_tsx@4.22.4_typescript@5.9.3_yaml@2.9.1/node_modules/tsup/assets/cjs_shims.js
|
|
91
91
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
|
|
92
92
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
93
93
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CheckReport, S as StableSnapshotReport, R as RestoreOptions, N as NativeLibrary, I as InferenceOptions, J as JsonInput, P as PullProgress, D as Database, U as Uint64Like } from './database-
|
|
2
|
-
export { a as Capabilities, b as CompactReport, G as GraphDirection, c as InferenceMode, d as InferenceStatus, L as LibraryNotFoundError, e as LibrarySource, f as MIN_THREAD_STACK_SIZE, M as MemoryAdmissionStats, O as OpenMode, g as OpenOptions, h as PendingWorkStatus, i as Profile, j as ReplayGeneratedEnrichmentsResult, k as ResolvedLibrary, l as SUPPORTED_ABI_VERSION, m as Status, n as Storage, o as StorageStatus, T as THREADING_SERIALIZED, p as TTLCleanupOptions, q as TxnStatus, r as UnsupportedPlatformError, V as VacuumReport, W as WriteIntent, s as create, t as createHosted, u as createWithOptions, v as embeddedPlatformPackageName, w as open, x as openHosted, y as openReadonly, z as openStatusOnly, A as openWithOptions, B as platformLibraryFileName, E as resolveLibrary } from './database-
|
|
1
|
+
import { C as CheckReport, S as StableSnapshotReport, R as RestoreOptions, N as NativeLibrary, I as InferenceOptions, J as JsonInput, P as PullProgress, D as Database, U as Uint64Like } from './database-BT18eJuO.cjs';
|
|
2
|
+
export { a as Capabilities, b as CompactReport, G as GraphDirection, c as InferenceMode, d as InferenceStatus, L as LibraryNotFoundError, e as LibrarySource, f as MIN_THREAD_STACK_SIZE, M as MemoryAdmissionStats, O as OpenMode, g as OpenOptions, h as PendingWorkStatus, i as Profile, j as ReplayGeneratedEnrichmentsResult, k as ResolvedLibrary, l as SUPPORTED_ABI_VERSION, m as Status, n as Storage, o as StorageStatus, T as THREADING_SERIALIZED, p as TTLCleanupOptions, q as TxnStatus, r as UnsupportedPlatformError, V as VacuumReport, W as WriteIntent, s as create, t as createHosted, u as createWithOptions, v as embeddedPlatformPackageName, w as open, x as openHosted, y as openReadonly, z as openStatusOnly, A as openWithOptions, B as platformLibraryFileName, E as resolveLibrary } from './database-BT18eJuO.cjs';
|
|
3
3
|
import 'koffi';
|
|
4
4
|
|
|
5
5
|
/** Thrown by validateAbi() when the loaded libantfly does not match the header this binding was written against. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CheckReport, S as StableSnapshotReport, R as RestoreOptions, N as NativeLibrary, I as InferenceOptions, J as JsonInput, P as PullProgress, D as Database, U as Uint64Like } from './database-
|
|
2
|
-
export { a as Capabilities, b as CompactReport, G as GraphDirection, c as InferenceMode, d as InferenceStatus, L as LibraryNotFoundError, e as LibrarySource, f as MIN_THREAD_STACK_SIZE, M as MemoryAdmissionStats, O as OpenMode, g as OpenOptions, h as PendingWorkStatus, i as Profile, j as ReplayGeneratedEnrichmentsResult, k as ResolvedLibrary, l as SUPPORTED_ABI_VERSION, m as Status, n as Storage, o as StorageStatus, T as THREADING_SERIALIZED, p as TTLCleanupOptions, q as TxnStatus, r as UnsupportedPlatformError, V as VacuumReport, W as WriteIntent, s as create, t as createHosted, u as createWithOptions, v as embeddedPlatformPackageName, w as open, x as openHosted, y as openReadonly, z as openStatusOnly, A as openWithOptions, B as platformLibraryFileName, E as resolveLibrary } from './database-
|
|
1
|
+
import { C as CheckReport, S as StableSnapshotReport, R as RestoreOptions, N as NativeLibrary, I as InferenceOptions, J as JsonInput, P as PullProgress, D as Database, U as Uint64Like } from './database-BT18eJuO.js';
|
|
2
|
+
export { a as Capabilities, b as CompactReport, G as GraphDirection, c as InferenceMode, d as InferenceStatus, L as LibraryNotFoundError, e as LibrarySource, f as MIN_THREAD_STACK_SIZE, M as MemoryAdmissionStats, O as OpenMode, g as OpenOptions, h as PendingWorkStatus, i as Profile, j as ReplayGeneratedEnrichmentsResult, k as ResolvedLibrary, l as SUPPORTED_ABI_VERSION, m as Status, n as Storage, o as StorageStatus, T as THREADING_SERIALIZED, p as TTLCleanupOptions, q as TxnStatus, r as UnsupportedPlatformError, V as VacuumReport, W as WriteIntent, s as create, t as createHosted, u as createWithOptions, v as embeddedPlatformPackageName, w as open, x as openHosted, y as openReadonly, z as openStatusOnly, A as openWithOptions, B as platformLibraryFileName, E as resolveLibrary } from './database-BT18eJuO.js';
|
|
3
3
|
import 'koffi';
|
|
4
4
|
|
|
5
5
|
/** Thrown by validateAbi() when the loaded libantfly does not match the header this binding was written against. */
|
package/dist/index.js
CHANGED
package/dist/kysely.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dialect, Driver, PostgresQueryCompiler, PostgresAdapter, Kysely, MigrationLockOptions, DatabaseIntrospector } from 'kysely';
|
|
2
|
-
import { D as Database } from './database-
|
|
2
|
+
import { D as Database } from './database-BT18eJuO.cjs';
|
|
3
3
|
import 'koffi';
|
|
4
4
|
|
|
5
5
|
declare class AntflyAdapter extends PostgresAdapter {
|
package/dist/kysely.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dialect, Driver, PostgresQueryCompiler, PostgresAdapter, Kysely, MigrationLockOptions, DatabaseIntrospector } from 'kysely';
|
|
2
|
-
import { D as Database } from './database-
|
|
2
|
+
import { D as Database } from './database-BT18eJuO.js';
|
|
3
3
|
import 'koffi';
|
|
4
4
|
|
|
5
5
|
declare class AntflyAdapter extends PostgresAdapter {
|
package/dist/kysely.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antfly/embedded",
|
|
3
|
-
"version": "0.3.0-rc.
|
|
3
|
+
"version": "0.3.0-rc.8",
|
|
4
4
|
"description": "TypeScript/Node binding for local Antfly databases and inference (libantfly C ABI)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"win32"
|
|
76
76
|
],
|
|
77
77
|
"optionalDependencies": {
|
|
78
|
-
"@antfly/embedded-darwin-arm64": "0.3.0-rc.
|
|
79
|
-
"@antfly/embedded-linux-arm64": "0.3.0-rc.
|
|
80
|
-
"@antfly/embedded-linux-x64": "0.3.0-rc.
|
|
78
|
+
"@antfly/embedded-darwin-arm64": "0.3.0-rc.8",
|
|
79
|
+
"@antfly/embedded-linux-arm64": "0.3.0-rc.8",
|
|
80
|
+
"@antfly/embedded-linux-x64": "0.3.0-rc.8"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"kysely": "^0.29.6"
|