@fortemi/core 2026.6.6 → 2026.6.7
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/index.d.ts +121 -31
- package/dist/index.js +423 -55
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -902,6 +902,7 @@ interface ShardNoteFull {
|
|
|
902
902
|
note: ShardReaderNote;
|
|
903
903
|
links: ShardLink[];
|
|
904
904
|
concepts: ShardSkosConcept[];
|
|
905
|
+
provenance: ShardProvenanceEdge[];
|
|
905
906
|
}
|
|
906
907
|
/**
|
|
907
908
|
* Opt-in semantic search over static files. The reader stays text/facets-only
|
|
@@ -944,6 +945,8 @@ interface ShardReader {
|
|
|
944
945
|
search(query: string, options?: ShardSearchOptions): Promise<ShardSearchResult>;
|
|
945
946
|
linksOf(id: string): Promise<ShardLink[]>;
|
|
946
947
|
conceptsOf(id: string): Promise<ShardSkosConcept[]>;
|
|
948
|
+
relationsOf(conceptId: string): Promise<ShardSkosRelation[]>;
|
|
949
|
+
provenanceOf(id: string): Promise<ShardProvenanceEdge[]>;
|
|
947
950
|
getNoteFull(id: string): Promise<ShardNoteFull | null>;
|
|
948
951
|
semantic(query: string, k?: number): Promise<Array<{
|
|
949
952
|
note: ShardReaderNote;
|
|
@@ -967,11 +970,9 @@ declare function openShard(source: ShardReaderSource, options?: OpenShardOptions
|
|
|
967
970
|
* that provides them.
|
|
968
971
|
*
|
|
969
972
|
* The seam sits one level above SQL: every adapter exposes the same read
|
|
970
|
-
* operations (and optional write
|
|
971
|
-
* whether the data lives in a queryable PGlite instance
|
|
972
|
-
* files fetched over HTTP
|
|
973
|
-
* this same interface — deliberately deferred. See
|
|
974
|
-
* `.aiwg/architecture/adr-backend-seam.md`.
|
|
973
|
+
* operations (and optional relationship, write, semantic, and full-content ops)
|
|
974
|
+
* regardless of whether the data lives in a queryable PGlite instance, a set of
|
|
975
|
+
* static shard files fetched over HTTP, or the Fortemi server tier.
|
|
975
976
|
*/
|
|
976
977
|
|
|
977
978
|
/**
|
|
@@ -980,7 +981,7 @@ declare function openShard(source: ShardReaderSource, options?: OpenShardOptions
|
|
|
980
981
|
* - `cosine-small` — brute-force cosine over a small static vector set (#189)
|
|
981
982
|
* - `ann-full` — prebuilt/queryable approximate-nearest-neighbour over the full
|
|
982
983
|
* corpus (PGlite + pgvector, or a prebuilt ANN snapshot)
|
|
983
|
-
* - `server` — delegated to
|
|
984
|
+
* - `server` — delegated to the remote Fortemi server backend
|
|
984
985
|
*/
|
|
985
986
|
type BackendSemanticTier = 'none' | 'cosine-small' | 'ann-full' | 'server';
|
|
986
987
|
/** Relative startup cost of bringing a backend online. */
|
|
@@ -1018,6 +1019,37 @@ interface BackendNote {
|
|
|
1018
1019
|
/** A note plus its current rendered content. */
|
|
1019
1020
|
interface BackendNoteFull extends BackendNote {
|
|
1020
1021
|
content: string;
|
|
1022
|
+
links?: BackendLink[];
|
|
1023
|
+
concepts?: BackendConcept[];
|
|
1024
|
+
provenance?: BackendProvenanceEdge[];
|
|
1025
|
+
}
|
|
1026
|
+
interface BackendLink {
|
|
1027
|
+
id: string;
|
|
1028
|
+
fromNoteId: string;
|
|
1029
|
+
toNoteId: string;
|
|
1030
|
+
kind: string;
|
|
1031
|
+
score: number | null;
|
|
1032
|
+
createdAt: string;
|
|
1033
|
+
metadata?: Record<string, unknown>;
|
|
1034
|
+
}
|
|
1035
|
+
interface BackendConcept {
|
|
1036
|
+
id: string;
|
|
1037
|
+
schemeId: string;
|
|
1038
|
+
prefLabel: string;
|
|
1039
|
+
altLabels: string[];
|
|
1040
|
+
definition: string | null;
|
|
1041
|
+
createdAt: string;
|
|
1042
|
+
updatedAt: string;
|
|
1043
|
+
}
|
|
1044
|
+
interface BackendProvenanceEdge {
|
|
1045
|
+
id: string;
|
|
1046
|
+
entityType: string;
|
|
1047
|
+
entityId: string;
|
|
1048
|
+
activity: string;
|
|
1049
|
+
agent: string;
|
|
1050
|
+
startedAt: string;
|
|
1051
|
+
endedAt: string | null;
|
|
1052
|
+
attributes: Record<string, unknown> | null;
|
|
1021
1053
|
}
|
|
1022
1054
|
/** One search hit — note plus optional rank/snippet when the backend ranks. */
|
|
1023
1055
|
interface BackendSearchHit {
|
|
@@ -1060,6 +1092,12 @@ interface DataBackend {
|
|
|
1060
1092
|
search(query: string, options?: BackendSearchQueryOptions): Promise<BackendSearchResult>;
|
|
1061
1093
|
/** Lazy full content (present when capabilities.read). */
|
|
1062
1094
|
getNoteFull?(id: string): Promise<BackendNoteFull | null>;
|
|
1095
|
+
/** Note links (present when capabilities.read). */
|
|
1096
|
+
linksOf?(id: string): Promise<BackendLink[]>;
|
|
1097
|
+
/** SKOS concepts assigned to a note (present when capabilities.read). */
|
|
1098
|
+
conceptsOf?(id: string): Promise<BackendConcept[]>;
|
|
1099
|
+
/** W3C PROV edges for a note (present when capabilities.read). */
|
|
1100
|
+
provenanceOf?(id: string): Promise<BackendProvenanceEdge[]>;
|
|
1063
1101
|
/** Vector search (present when capabilities.semantic !== 'none'). */
|
|
1064
1102
|
semantic?(query: string, k?: number): Promise<BackendSearchHit[]>;
|
|
1065
1103
|
/** Write op (present when capabilities.write). */
|
|
@@ -1106,6 +1144,25 @@ interface PGliteBackendOptions {
|
|
|
1106
1144
|
* read+write+merge with `ann-full` semantic when embeddings are present.
|
|
1107
1145
|
*/
|
|
1108
1146
|
declare function createPGliteBackend(db: DatabaseClient, options?: PGliteBackendOptions): DataBackend;
|
|
1147
|
+
interface RemoteBackendPaths {
|
|
1148
|
+
notes: string;
|
|
1149
|
+
note: string;
|
|
1150
|
+
search: string;
|
|
1151
|
+
links: string;
|
|
1152
|
+
concepts: string;
|
|
1153
|
+
provenance: string;
|
|
1154
|
+
manageNote: string;
|
|
1155
|
+
semantic: string;
|
|
1156
|
+
}
|
|
1157
|
+
interface RemoteBackendConfig {
|
|
1158
|
+
baseUrl: string;
|
|
1159
|
+
id?: string;
|
|
1160
|
+
fetchImpl?: typeof fetch;
|
|
1161
|
+
headers?: HeadersInit | (() => HeadersInit | Promise<HeadersInit>);
|
|
1162
|
+
authToken?: string;
|
|
1163
|
+
paths?: Partial<RemoteBackendPaths>;
|
|
1164
|
+
}
|
|
1165
|
+
declare function createRemoteBackend(config: RemoteBackendConfig): DataBackend;
|
|
1109
1166
|
interface ShardBackendOptions {
|
|
1110
1167
|
id?: string;
|
|
1111
1168
|
/** Declared semantic tier this shard provides (default `none`). Set to `cosine-small` when the reader has a vector provider. */
|
|
@@ -2185,6 +2242,12 @@ interface SkosRelation {
|
|
|
2185
2242
|
relation_type: string;
|
|
2186
2243
|
created_at: Date;
|
|
2187
2244
|
}
|
|
2245
|
+
interface NoteSkosTag {
|
|
2246
|
+
id: string;
|
|
2247
|
+
note_id: string;
|
|
2248
|
+
concept_id: string;
|
|
2249
|
+
created_at: Date;
|
|
2250
|
+
}
|
|
2188
2251
|
declare class SkosRepository {
|
|
2189
2252
|
private db;
|
|
2190
2253
|
constructor(db: DatabaseClient);
|
|
@@ -2199,6 +2262,33 @@ declare class SkosRepository {
|
|
|
2199
2262
|
deleteConcept(id: string): Promise<void>;
|
|
2200
2263
|
createRelation(sourceConceptId: string, targetConceptId: string, relationType: 'broader' | 'narrower' | 'related'): Promise<SkosRelation>;
|
|
2201
2264
|
getRelations(conceptId: string): Promise<SkosRelation[]>;
|
|
2265
|
+
tagNote(noteId: string, conceptId: string): Promise<NoteSkosTag>;
|
|
2266
|
+
untagNote(noteId: string, conceptId: string): Promise<void>;
|
|
2267
|
+
conceptsForNote(noteId: string): Promise<SkosConcept[]>;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
interface ProvenanceEdge {
|
|
2271
|
+
id: string;
|
|
2272
|
+
entity_type: string;
|
|
2273
|
+
entity_id: string;
|
|
2274
|
+
activity: string;
|
|
2275
|
+
agent: string;
|
|
2276
|
+
started_at: Date;
|
|
2277
|
+
ended_at: Date | null;
|
|
2278
|
+
attributes: Record<string, unknown> | null;
|
|
2279
|
+
}
|
|
2280
|
+
interface RecordProvenanceInput {
|
|
2281
|
+
activity: string;
|
|
2282
|
+
agent: string;
|
|
2283
|
+
startedAt?: Date | string;
|
|
2284
|
+
endedAt?: Date | string | null;
|
|
2285
|
+
attributes?: Record<string, unknown> | null;
|
|
2286
|
+
}
|
|
2287
|
+
declare class ProvenanceRepository {
|
|
2288
|
+
private db;
|
|
2289
|
+
constructor(db: DatabaseClient);
|
|
2290
|
+
recordProvenance(entityType: string, entityId: string, input: RecordProvenanceInput): Promise<ProvenanceEdge>;
|
|
2291
|
+
forEntity(entityType: string, entityId: string): Promise<ProvenanceEdge[]>;
|
|
2202
2292
|
}
|
|
2203
2293
|
|
|
2204
2294
|
/**
|
|
@@ -2274,19 +2364,19 @@ declare const CaptureKnowledgeInputSchema: z.ZodObject<{
|
|
|
2274
2364
|
}, {
|
|
2275
2365
|
content: string;
|
|
2276
2366
|
title?: string | undefined;
|
|
2277
|
-
tags?: string[] | undefined;
|
|
2278
2367
|
format?: "markdown" | "plain" | "html" | undefined;
|
|
2368
|
+
tags?: string[] | undefined;
|
|
2279
2369
|
}>, "many">>;
|
|
2280
2370
|
template: z.ZodOptional<z.ZodString>;
|
|
2281
2371
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2282
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2283
2373
|
source: string;
|
|
2284
2374
|
format: "markdown" | "plain" | "html";
|
|
2285
|
-
visibility: "private" | "
|
|
2375
|
+
visibility: "private" | "shared" | "public";
|
|
2286
2376
|
action: "create" | "bulk_create" | "from_template";
|
|
2287
2377
|
title?: string | undefined;
|
|
2288
|
-
tags?: string[] | undefined;
|
|
2289
2378
|
archive_id?: string | undefined;
|
|
2379
|
+
tags?: string[] | undefined;
|
|
2290
2380
|
content?: string | undefined;
|
|
2291
2381
|
notes?: {
|
|
2292
2382
|
format: "markdown" | "plain" | "html";
|
|
@@ -2300,16 +2390,16 @@ declare const CaptureKnowledgeInputSchema: z.ZodObject<{
|
|
|
2300
2390
|
action: "create" | "bulk_create" | "from_template";
|
|
2301
2391
|
source?: string | undefined;
|
|
2302
2392
|
title?: string | undefined;
|
|
2303
|
-
tags?: string[] | undefined;
|
|
2304
2393
|
archive_id?: string | undefined;
|
|
2305
2394
|
format?: "markdown" | "plain" | "html" | undefined;
|
|
2306
|
-
visibility?: "private" | "
|
|
2395
|
+
visibility?: "private" | "shared" | "public" | undefined;
|
|
2396
|
+
tags?: string[] | undefined;
|
|
2307
2397
|
content?: string | undefined;
|
|
2308
2398
|
notes?: {
|
|
2309
2399
|
content: string;
|
|
2310
2400
|
title?: string | undefined;
|
|
2311
|
-
tags?: string[] | undefined;
|
|
2312
2401
|
format?: "markdown" | "plain" | "html" | undefined;
|
|
2402
|
+
tags?: string[] | undefined;
|
|
2313
2403
|
}[] | undefined;
|
|
2314
2404
|
template?: string | undefined;
|
|
2315
2405
|
variables?: Record<string, string> | undefined;
|
|
@@ -2354,30 +2444,30 @@ declare const SearchInputSchema: z.ZodObject<{
|
|
|
2354
2444
|
visibility: z.ZodOptional<z.ZodEnum<["private", "shared", "public"]>>;
|
|
2355
2445
|
include_facets: z.ZodDefault<z.ZodBoolean>;
|
|
2356
2446
|
}, "strip", z.ZodTypeAny, {
|
|
2357
|
-
query: string;
|
|
2358
|
-
offset: number;
|
|
2359
2447
|
limit: number;
|
|
2448
|
+
offset: number;
|
|
2360
2449
|
include_facets: boolean;
|
|
2361
2450
|
mode: "text" | "semantic" | "hybrid";
|
|
2451
|
+
query: string;
|
|
2362
2452
|
source?: string | undefined;
|
|
2363
|
-
tags?: string[] | undefined;
|
|
2364
2453
|
format?: "markdown" | "plain" | "html" | undefined;
|
|
2365
|
-
visibility?: "private" | "
|
|
2454
|
+
visibility?: "private" | "shared" | "public" | undefined;
|
|
2366
2455
|
is_starred?: boolean | undefined;
|
|
2367
2456
|
is_archived?: boolean | undefined;
|
|
2457
|
+
tags?: string[] | undefined;
|
|
2368
2458
|
collection_id?: string | undefined;
|
|
2369
2459
|
date_from?: Date | undefined;
|
|
2370
2460
|
date_to?: Date | undefined;
|
|
2371
2461
|
}, {
|
|
2372
2462
|
query: string;
|
|
2373
2463
|
source?: string | undefined;
|
|
2374
|
-
tags?: string[] | undefined;
|
|
2375
|
-
offset?: number | undefined;
|
|
2376
2464
|
format?: "markdown" | "plain" | "html" | undefined;
|
|
2377
|
-
visibility?: "private" | "
|
|
2465
|
+
visibility?: "private" | "shared" | "public" | undefined;
|
|
2378
2466
|
is_starred?: boolean | undefined;
|
|
2379
2467
|
is_archived?: boolean | undefined;
|
|
2468
|
+
tags?: string[] | undefined;
|
|
2380
2469
|
limit?: number | undefined;
|
|
2470
|
+
offset?: number | undefined;
|
|
2381
2471
|
collection_id?: string | undefined;
|
|
2382
2472
|
date_from?: Date | undefined;
|
|
2383
2473
|
date_to?: Date | undefined;
|
|
@@ -2460,22 +2550,22 @@ declare const ListNotesInputSchema: z.ZodObject<{
|
|
|
2460
2550
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
2461
2551
|
include_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
2462
2552
|
}, "strip", z.ZodTypeAny, {
|
|
2463
|
-
sort: "
|
|
2464
|
-
offset: number;
|
|
2553
|
+
sort: "created_at" | "updated_at" | "title";
|
|
2465
2554
|
limit: number;
|
|
2555
|
+
offset: number;
|
|
2466
2556
|
order: "asc" | "desc";
|
|
2467
|
-
tags?: string[] | undefined;
|
|
2468
2557
|
is_starred?: boolean | undefined;
|
|
2469
2558
|
is_archived?: boolean | undefined;
|
|
2559
|
+
tags?: string[] | undefined;
|
|
2470
2560
|
include_deleted?: boolean | undefined;
|
|
2471
2561
|
collection_id?: string | undefined;
|
|
2472
2562
|
}, {
|
|
2473
|
-
|
|
2474
|
-
sort?: "title" | "updated_at" | "created_at" | undefined;
|
|
2475
|
-
offset?: number | undefined;
|
|
2563
|
+
sort?: "created_at" | "updated_at" | "title" | undefined;
|
|
2476
2564
|
is_starred?: boolean | undefined;
|
|
2477
2565
|
is_archived?: boolean | undefined;
|
|
2566
|
+
tags?: string[] | undefined;
|
|
2478
2567
|
limit?: number | undefined;
|
|
2568
|
+
offset?: number | undefined;
|
|
2479
2569
|
order?: "asc" | "desc" | undefined;
|
|
2480
2570
|
include_deleted?: boolean | undefined;
|
|
2481
2571
|
collection_id?: string | undefined;
|
|
@@ -2489,12 +2579,12 @@ declare const ManageTagsInputSchema: z.ZodObject<{
|
|
|
2489
2579
|
tag: z.ZodOptional<z.ZodString>;
|
|
2490
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2491
2581
|
action: "add" | "remove" | "list_for_note" | "list_all";
|
|
2492
|
-
tag?: string | undefined;
|
|
2493
2582
|
note_id?: string | undefined;
|
|
2583
|
+
tag?: string | undefined;
|
|
2494
2584
|
}, {
|
|
2495
2585
|
action: "add" | "remove" | "list_for_note" | "list_all";
|
|
2496
|
-
tag?: string | undefined;
|
|
2497
2586
|
note_id?: string | undefined;
|
|
2587
|
+
tag?: string | undefined;
|
|
2498
2588
|
}>;
|
|
2499
2589
|
type ManageTagsInput = z.infer<typeof ManageTagsInputSchema>;
|
|
2500
2590
|
interface ManageTagsResult {
|
|
@@ -2516,16 +2606,16 @@ declare const ManageCollectionsInputSchema: z.ZodObject<{
|
|
|
2516
2606
|
note_id: z.ZodOptional<z.ZodString>;
|
|
2517
2607
|
}, "strip", z.ZodTypeAny, {
|
|
2518
2608
|
action: "create" | "delete" | "list" | "assign" | "unassign" | "list_tree";
|
|
2519
|
-
name?: string | undefined;
|
|
2520
2609
|
collection_id?: string | undefined;
|
|
2521
2610
|
note_id?: string | undefined;
|
|
2611
|
+
name?: string | undefined;
|
|
2522
2612
|
description?: string | undefined;
|
|
2523
2613
|
parent_id?: string | undefined;
|
|
2524
2614
|
}, {
|
|
2525
2615
|
action: "create" | "delete" | "list" | "assign" | "unassign" | "list_tree";
|
|
2526
|
-
name?: string | undefined;
|
|
2527
2616
|
collection_id?: string | undefined;
|
|
2528
2617
|
note_id?: string | undefined;
|
|
2618
|
+
name?: string | undefined;
|
|
2529
2619
|
description?: string | undefined;
|
|
2530
2620
|
parent_id?: string | undefined;
|
|
2531
2621
|
}>;
|
|
@@ -3687,6 +3777,6 @@ declare function getPrefetchedSha256(url: string): string | undefined;
|
|
|
3687
3777
|
*/
|
|
3688
3778
|
declare function clearPrefetchedShard(url?: string): void;
|
|
3689
3779
|
|
|
3690
|
-
declare const VERSION = "2026.6.
|
|
3780
|
+
declare const VERSION = "2026.6.7";
|
|
3691
3781
|
|
|
3692
|
-
export { type ArchiveInfo, ArchiveManager, type AttachInput, type AttachmentBlobRow, type AttachmentRow, AttachmentsRepository, type BackendCandidate, type BackendCapabilities, type BackendListOptions, type BackendNote, type BackendNoteFull, type BackendRequest, type BackendSearchHit, type BackendSearchQueryOptions, type BackendSearchResult, type BackendSelection, type BackendSemanticTier, type BackendStartupCost, type BlobStore, type BridgeCapability, type BridgeProviderInfo, type BrowserNoteExport, CURRENT_MIGRATION_HEAD, CURRENT_SHARD_VERSION, type CapabilityInfo, CapabilityManager, type CapabilityName, type CapabilityState, type CaptureKnowledgeInput, CaptureKnowledgeInputSchema, type CaptureKnowledgeResult, type CollectionCreateInput, type CollectionRow, CollectionsRepository, CommunitiesRepository, type CommunityAssignmentView, type CommunityCreateInput, type CommunityFilterDefinition, type CommunityGraph, type CommunityOptions, type CommunitySourceDescriptor, type CommunitySourceType, type CommunitySummary, type CompletionRequest, type CompletionResponse, type ConditionResult, type ConflictStrategy, type CooldownConfig, type CooldownEvent, type CosineSemanticProviderOptions, type CreatePGliteOptions, type CspDirectiveName, type CspDirectives, type CspViolationReport, DB_SNAPSHOT_SCHEMA_VERSION, type DataBackend, type DatabaseClient, type DbSnapshot, type DbSnapshotCompat, type DbSnapshotCompression, type DbSnapshotExpectations, type DbSnapshotMeta, type DbSnapshotSource, DbSnapshotVersionError, type DiscoveredProvider, type DiscoveryOptions, type DumpDbSnapshotOptions, type DumpableDb, EMBED_REQUEST_KIND, EMBED_RESPONSE_KIND, type EmbedFunction, type EmbedRequest, type EmbedRequestMessage, type EmbedResponse, type EmbedResponseMessage, type EmbedTransportPort, type EmbedWorkerOptions, type EmbeddingCompatibilityPolicy, type EmbeddingSetCreateInput, type EmbeddingSetCriteria, type EmbeddingSetDescriptor, type EmbeddingSetEmbeddingInput, type EmbeddingSetFreshness, type EmbeddingSetKind, type EmbeddingSetMode, type EmbeddingSetRow, type EmbeddingSetSelector, EmbeddingSetsRepository, type EnqueueJobInput, type ErrorCategory, type EventMap, type ExportOptions, type FallbackEvent, FallbackRouter, type FallbackRouterConfig, type FortemiBridge, type FortemiBridgeCapabilities, type FortemiBridgeHost, type FortemiConfig, type FortemiCore, type FortemiInferenceRouter, type FortemiSecretStore, type FortemiToolDefinition, FortemiToolManifest, type GetNoteInput, GetNoteInputSchema, type GpuCapabilities, type GraphCommunity, type GraphEdge, type GraphNode, GraphRepository, type IDisposable, type ImportCounts, type ImportOptions, type ImportProgress, type ImportProgressPhase, type ImportResult, type InferenceCapabilities, type InferenceProvider, JOB_CAPABILITIES, JOB_PRIORITIES, type JobQueueOptions, JobQueueWorker, type JobStatus, type JobType, LOCAL_ENDPOINTS, type LinkRow, LinksRepository, type ListNotesInput, ListNotesInputSchema, type LlmCapabilityOptions, type LlmCompleteFn, type LoadedPluginScript, type LocalEndpoint, type ManageArchiveInput, ManageArchiveInputSchema, type ManageArchiveResult, type ManageAttachmentsInput, ManageAttachmentsInputSchema, type ManageAttachmentsResult, type ManageCapabilitiesInput, ManageCapabilitiesInputSchema, type ManageCapabilitiesResult, type ManageCollectionsInput, ManageCollectionsInputSchema, type ManageCollectionsResult, type ManageLinksInput, ManageLinksInputSchema, type ManageLinksResult, type ManageNoteInput, ManageNoteInputSchema, type ManageNoteResult, type ManageTagsInput, ManageTagsInputSchema, type ManageTagsResult, MemoryBlobStore, type Migration, MigrationRunner, type ModelCategory, type ModelFitResult, type ModelInfo, type NoteCreateInput, type NoteFull, type NoteListOptions, type NoteRevision, type NoteSummary, type NoteUpdateInput, NotesRepository, OpenAICompatibleProvider, type OpenAIProviderConfig, type OpenShardOptions, type PGliteBackendOptions, PGliteStorageBackend, PGliteStorageBackendFactory, PGliteWorkerClient, PGliteWorkerStorageBackend, PGliteWorkerStorageBackendFactory, type PGliteWorkerStorageBackendFactoryOptions, type PaginatedResult, type PersistenceMode, type PluginCspOptions, type PluginScriptDescriptor, type PluginScriptPolicy, type PrefetchOptions, type PrefetchResult, type ProbeResult, type ProbeStatus, type ProviderCapabilities, ProviderRegistry, type ProviderTier, type QueryExecutor, type QueryResult, type RecommendedTier, type ResolvedEmbeddingRow, type ResolvedEmbeddingSet, type RestoreDbSnapshotOptions, type RouteHandler, SHARD_FORMAT, SUPPORTED_PGLITE_VERSION, type SWRegistrationResult, type SearchFacets, type SearchInput, SearchInputSchema, type SearchOptions, SearchRepository, type SearchResponse, type SearchResult, type ShardBackendOptions, type ShardClusterRef, type ShardCollection, type ShardComponent, type ShardComponentStore, type ShardEmbedding, type ShardEmbeddingSet, type ShardEmbeddingSetMember, type ShardLayout, type ShardLink, type ShardListOptions, type ShardManifest, type ShardNote, type ShardNoteFull, type ShardNoteSkosTag, type ShardProvenanceEdge, type ShardReader, type ShardReaderNote, type ShardReaderSource, type ShardSearchOptions, type ShardSearchRankedNote, type ShardSearchResult, type ShardSearchWeights, type ShardSkosConcept, type ShardSkosRelation, type ShardSkosScheme, type ShardTag, type SimilarityGraphCacheKey, type SimilarityGraphOptions, type SimilarityGraphRequest, type SimilarityGraphResult, type SkosConcept, type SkosRelation, SkosRepository, type SkosScheme, type StaticSemanticProvider, type StorageBackend, type StorageBackendFactory, type StorageOpenRequest, type StorageTopology, type StreamChunk, TagsRepository, TransactionProxy, TypedEventBus, VERSION, type VectorEntry, type VirtualEmbeddingSetDefinition, type VirtualEmbeddingSetSource, type VirtualEmbeddingSetValidationError, type VirtualMaterializationPolicy, type VramTier, type WorkerRequest, type WorkerResponse, aiRevisionHandler, allMigrations, appendPluginScript, buildNoteConditions, buildPluginCsp, captureKnowledge, chunkText, classifyError, classifyModel, clearPrefetchedShard, collectionFromShard, collectionToShard, computeHash, computeSri, conceptTaggingHandler, cosineSimilarity, createBlobStore, createCosineSemanticProvider, createCspReportHandler, createFortemi, createLegacyProvider, createPGliteBackend, createPGliteInstance, createRoutes, createShardBackend, createWorkerEmbedFunction, defaultStorageBackendFactory, detectCommunities, detectGpuCapabilities, detectInferenceCapabilities, discoverLocalProviders, dumpDbSnapshot, embeddingFromShard, embeddingGenerationHandler, embeddingSetFromShard, embeddingSetMemberToShard, embeddingSetToShard, embeddingToShard, enqueueFullWorkflow, enqueueJob, enqueueNoteCreationJobs, estimateModelFit, estimateVramMB, estimateVramTier, exportShard, fetchPluginScript, fortemiManifest, fromPrefetched, generateId, getEmbedFunction, getFortemiBridge, getFortemiSecretStore, getJobQueueStatus, getLlmFunction, getNote, getPrefetchedSha256, handleEmbedRequests, hasFortemiSecureSecrets, importShard, isPluginScriptAllowed, isShardPrefetched, linkFromShard, linkToShard, linkingHandler, listNotes, manageArchive, manageAttachments, manageCapabilities, manageCollections, manageLinks, manageNote, manageTags, matchRoute, noteFromShard, noteSkosTagToShard, noteToShard, openShard, packTarGz, parseCspReport, prefetchShard, provenanceEdgeToShard, registerLlmCapability, registerSemanticCapability, registerSemanticCapabilityWorker, registerServiceWorker, restoreDbSnapshot, searchTool, selectBackend, selectLlmModel, setEmbedFunction, setLlmFunction, sha256Hex, skosConceptToShard, skosRelationToShard, skosSchemeToShard, suggestTags, tagsFromShard, tagsToShard, titleGenerationHandler, unpackTarGz, unregisterLlmCapability, unregisterSemanticCapability, validateChecksums, verifyDbSnapshotMeta, verifySri };
|
|
3782
|
+
export { type ArchiveInfo, ArchiveManager, type AttachInput, type AttachmentBlobRow, type AttachmentRow, AttachmentsRepository, type BackendCandidate, type BackendCapabilities, type BackendConcept, type BackendLink, type BackendListOptions, type BackendNote, type BackendNoteFull, type BackendProvenanceEdge, type BackendRequest, type BackendSearchHit, type BackendSearchQueryOptions, type BackendSearchResult, type BackendSelection, type BackendSemanticTier, type BackendStartupCost, type BlobStore, type BridgeCapability, type BridgeProviderInfo, type BrowserNoteExport, CURRENT_MIGRATION_HEAD, CURRENT_SHARD_VERSION, type CapabilityInfo, CapabilityManager, type CapabilityName, type CapabilityState, type CaptureKnowledgeInput, CaptureKnowledgeInputSchema, type CaptureKnowledgeResult, type CollectionCreateInput, type CollectionRow, CollectionsRepository, CommunitiesRepository, type CommunityAssignmentView, type CommunityCreateInput, type CommunityFilterDefinition, type CommunityGraph, type CommunityOptions, type CommunitySourceDescriptor, type CommunitySourceType, type CommunitySummary, type CompletionRequest, type CompletionResponse, type ConditionResult, type ConflictStrategy, type CooldownConfig, type CooldownEvent, type CosineSemanticProviderOptions, type CreatePGliteOptions, type CspDirectiveName, type CspDirectives, type CspViolationReport, DB_SNAPSHOT_SCHEMA_VERSION, type DataBackend, type DatabaseClient, type DbSnapshot, type DbSnapshotCompat, type DbSnapshotCompression, type DbSnapshotExpectations, type DbSnapshotMeta, type DbSnapshotSource, DbSnapshotVersionError, type DiscoveredProvider, type DiscoveryOptions, type DumpDbSnapshotOptions, type DumpableDb, EMBED_REQUEST_KIND, EMBED_RESPONSE_KIND, type EmbedFunction, type EmbedRequest, type EmbedRequestMessage, type EmbedResponse, type EmbedResponseMessage, type EmbedTransportPort, type EmbedWorkerOptions, type EmbeddingCompatibilityPolicy, type EmbeddingSetCreateInput, type EmbeddingSetCriteria, type EmbeddingSetDescriptor, type EmbeddingSetEmbeddingInput, type EmbeddingSetFreshness, type EmbeddingSetKind, type EmbeddingSetMode, type EmbeddingSetRow, type EmbeddingSetSelector, EmbeddingSetsRepository, type EnqueueJobInput, type ErrorCategory, type EventMap, type ExportOptions, type FallbackEvent, FallbackRouter, type FallbackRouterConfig, type FortemiBridge, type FortemiBridgeCapabilities, type FortemiBridgeHost, type FortemiConfig, type FortemiCore, type FortemiInferenceRouter, type FortemiSecretStore, type FortemiToolDefinition, FortemiToolManifest, type GetNoteInput, GetNoteInputSchema, type GpuCapabilities, type GraphCommunity, type GraphEdge, type GraphNode, GraphRepository, type IDisposable, type ImportCounts, type ImportOptions, type ImportProgress, type ImportProgressPhase, type ImportResult, type InferenceCapabilities, type InferenceProvider, JOB_CAPABILITIES, JOB_PRIORITIES, type JobQueueOptions, JobQueueWorker, type JobStatus, type JobType, LOCAL_ENDPOINTS, type LinkRow, LinksRepository, type ListNotesInput, ListNotesInputSchema, type LlmCapabilityOptions, type LlmCompleteFn, type LoadedPluginScript, type LocalEndpoint, type ManageArchiveInput, ManageArchiveInputSchema, type ManageArchiveResult, type ManageAttachmentsInput, ManageAttachmentsInputSchema, type ManageAttachmentsResult, type ManageCapabilitiesInput, ManageCapabilitiesInputSchema, type ManageCapabilitiesResult, type ManageCollectionsInput, ManageCollectionsInputSchema, type ManageCollectionsResult, type ManageLinksInput, ManageLinksInputSchema, type ManageLinksResult, type ManageNoteInput, ManageNoteInputSchema, type ManageNoteResult, type ManageTagsInput, ManageTagsInputSchema, type ManageTagsResult, MemoryBlobStore, type Migration, MigrationRunner, type ModelCategory, type ModelFitResult, type ModelInfo, type NoteCreateInput, type NoteFull, type NoteListOptions, type NoteRevision, type NoteSkosTag, type NoteSummary, type NoteUpdateInput, NotesRepository, OpenAICompatibleProvider, type OpenAIProviderConfig, type OpenShardOptions, type PGliteBackendOptions, PGliteStorageBackend, PGliteStorageBackendFactory, PGliteWorkerClient, PGliteWorkerStorageBackend, PGliteWorkerStorageBackendFactory, type PGliteWorkerStorageBackendFactoryOptions, type PaginatedResult, type PersistenceMode, type PluginCspOptions, type PluginScriptDescriptor, type PluginScriptPolicy, type PrefetchOptions, type PrefetchResult, type ProbeResult, type ProbeStatus, type ProvenanceEdge, ProvenanceRepository, type ProviderCapabilities, ProviderRegistry, type ProviderTier, type QueryExecutor, type QueryResult, type RecommendedTier, type RecordProvenanceInput, type RemoteBackendConfig, type RemoteBackendPaths, type ResolvedEmbeddingRow, type ResolvedEmbeddingSet, type RestoreDbSnapshotOptions, type RouteHandler, SHARD_FORMAT, SUPPORTED_PGLITE_VERSION, type SWRegistrationResult, type SearchFacets, type SearchInput, SearchInputSchema, type SearchOptions, SearchRepository, type SearchResponse, type SearchResult, type ShardBackendOptions, type ShardClusterRef, type ShardCollection, type ShardComponent, type ShardComponentStore, type ShardEmbedding, type ShardEmbeddingSet, type ShardEmbeddingSetMember, type ShardLayout, type ShardLink, type ShardListOptions, type ShardManifest, type ShardNote, type ShardNoteFull, type ShardNoteSkosTag, type ShardProvenanceEdge, type ShardReader, type ShardReaderNote, type ShardReaderSource, type ShardSearchOptions, type ShardSearchRankedNote, type ShardSearchResult, type ShardSearchWeights, type ShardSkosConcept, type ShardSkosRelation, type ShardSkosScheme, type ShardTag, type SimilarityGraphCacheKey, type SimilarityGraphOptions, type SimilarityGraphRequest, type SimilarityGraphResult, type SkosConcept, type SkosRelation, SkosRepository, type SkosScheme, type StaticSemanticProvider, type StorageBackend, type StorageBackendFactory, type StorageOpenRequest, type StorageTopology, type StreamChunk, TagsRepository, TransactionProxy, TypedEventBus, VERSION, type VectorEntry, type VirtualEmbeddingSetDefinition, type VirtualEmbeddingSetSource, type VirtualEmbeddingSetValidationError, type VirtualMaterializationPolicy, type VramTier, type WorkerRequest, type WorkerResponse, aiRevisionHandler, allMigrations, appendPluginScript, buildNoteConditions, buildPluginCsp, captureKnowledge, chunkText, classifyError, classifyModel, clearPrefetchedShard, collectionFromShard, collectionToShard, computeHash, computeSri, conceptTaggingHandler, cosineSimilarity, createBlobStore, createCosineSemanticProvider, createCspReportHandler, createFortemi, createLegacyProvider, createPGliteBackend, createPGliteInstance, createRemoteBackend, createRoutes, createShardBackend, createWorkerEmbedFunction, defaultStorageBackendFactory, detectCommunities, detectGpuCapabilities, detectInferenceCapabilities, discoverLocalProviders, dumpDbSnapshot, embeddingFromShard, embeddingGenerationHandler, embeddingSetFromShard, embeddingSetMemberToShard, embeddingSetToShard, embeddingToShard, enqueueFullWorkflow, enqueueJob, enqueueNoteCreationJobs, estimateModelFit, estimateVramMB, estimateVramTier, exportShard, fetchPluginScript, fortemiManifest, fromPrefetched, generateId, getEmbedFunction, getFortemiBridge, getFortemiSecretStore, getJobQueueStatus, getLlmFunction, getNote, getPrefetchedSha256, handleEmbedRequests, hasFortemiSecureSecrets, importShard, isPluginScriptAllowed, isShardPrefetched, linkFromShard, linkToShard, linkingHandler, listNotes, manageArchive, manageAttachments, manageCapabilities, manageCollections, manageLinks, manageNote, manageTags, matchRoute, noteFromShard, noteSkosTagToShard, noteToShard, openShard, packTarGz, parseCspReport, prefetchShard, provenanceEdgeToShard, registerLlmCapability, registerSemanticCapability, registerSemanticCapabilityWorker, registerServiceWorker, restoreDbSnapshot, searchTool, selectBackend, selectLlmModel, setEmbedFunction, setLlmFunction, sha256Hex, skosConceptToShard, skosRelationToShard, skosSchemeToShard, suggestTags, tagsFromShard, tagsToShard, titleGenerationHandler, unpackTarGz, unregisterLlmCapability, unregisterSemanticCapability, validateChecksums, verifyDbSnapshotMeta, verifySri };
|