@fortemi/core 2026.5.1 → 2026.5.3

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 CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  # @fortemi/core
4
4
 
5
- **Headless browser knowledge-management core powered by PGlite, typed repositories, and agent tool helpers**
5
+ **Headless browser knowledge-management core powered by PGlite, typed repositories, semantic retrieval, and agent tool helpers**
6
6
 
7
- Local PostgreSQL-compatible storage, migrations, note/search repositories, capability orchestration, Knowledge Shards, and bridge-ready tool metadata for browser applications.
7
+ Build local-first knowledge apps with PostgreSQL-compatible storage in the browser, production-ready repositories, search primitives, Knowledge Shard portability, optional local AI wiring, and bridge-ready tool metadata.
8
8
 
9
9
  ```bash
10
10
  pnpm add @fortemi/core
@@ -16,7 +16,7 @@ pnpm add @fortemi/core
16
16
  [![Node Version](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen?style=flat-square&logo=node.js)](https://nodejs.org)
17
17
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue?style=flat-square&logo=typescript)](https://www.typescriptlang.org)
18
18
 
19
- [**Install**](#installation) · [**Quick Start**](#quick-start) · [**Surface**](#what-you-get) · [**Tools**](#tool-surface) · [**Docs**](#documentation) · [**License**](#license)
19
+ [**Install**](#installation) · [**Why Fortemi**](#why-fortemi-core) · [**Quick Start**](#quick-start) · [**Surface**](#what-you-get) · [**Tools**](#tool-surface) · [**Docs**](#documentation) · [**License**](#license)
20
20
 
21
21
  </div>
22
22
 
@@ -24,9 +24,36 @@ pnpm add @fortemi/core
24
24
 
25
25
  ## What @fortemi/core Is
26
26
 
27
- `@fortemi/core` is the headless Fortemi runtime for browser applications. It provides a PGlite-backed archive, repository classes, migrations, eventing, capability management, Knowledge Shard import/export, and tool helpers that can be called from UI code or bridge adapters.
27
+ `@fortemi/core` is the headless Fortemi runtime for browser applications. It gives your app a durable local archive backed by PGlite, typed repository classes, migrations, eventing, capability management, Knowledge Shard import/export, and tool helpers that can be called from UI code or bridge adapters.
28
28
 
29
- Use `@fortemi/core` directly when you are building your own UI, integrating Fortemi into a non-React host, or wiring agent/tool calls against an existing browser database context.
29
+ Use it when you want the browser to own the user's working knowledge: notes, links, tags, collections, SKOS concepts, attachments, search history, revisions, generated metadata, and portable exports. No application server is required for the core archive path, and the same package can power React, non-React, extension, or embedded host integrations.
30
+
31
+ ## Why Fortemi Core
32
+
33
+ Most browser note and knowledge apps choose between a thin IndexedDB wrapper, a hosted database, or a custom sync protocol. Fortemi starts from a different premise: the browser can run a real PostgreSQL-compatible archive locally, then expose that archive through stable typed APIs and agent-readable tools.
34
+
35
+ | Need | What Fortemi provides |
36
+ |---|---|
37
+ | Local-first persistence | PGlite storage through OPFS, IndexedDB, or memory modes |
38
+ | Queryable knowledge | SQL-backed repositories for notes, links, tags, collections, SKOS concepts, jobs, and search |
39
+ | Retrieval quality | Full-text search, pgvector-backed semantic search, hybrid ranking, snippets, facets, and filters |
40
+ | AI-ready workflows | Optional embeddings, local LLM capability discovery, job provenance, and fallback routing |
41
+ | Portable archives | Knowledge Shard tar.gz import/export with checksums and JSON format parity |
42
+ | Agent integration | Manifest-backed tools and direct helper functions for bridge adapters and automation |
43
+ | UI freedom | A headless package you can use from React, another framework, a browser extension, or a custom host |
44
+
45
+ ### What You Can Build
46
+
47
+ - Local-first notebooks, research workspaces, and personal knowledge bases
48
+ - Browser-only semantic search over user-owned notes and imported knowledge
49
+ - AI memory layers for agents that need structured retrieval, provenance, and portable state
50
+ - Web apps that can run from static hosting while still offering durable local storage
51
+ - Import/export pipelines using Knowledge Shards instead of app-specific backup formats
52
+ - Custom React, Svelte, Vue, extension, or embedded UIs on top of the same archive model
53
+
54
+ ### Architecture at a Glance
55
+
56
+ `ArchiveManager` opens a PGlite database, applies migrations, and scopes storage by archive name. Repository classes provide the canonical data-access layer. `TypedEventBus` keeps UI and background jobs in sync. Capability services track optional AI/runtime features. Tool helpers expose the same data model to bridges, local automations, and agent hosts.
30
57
 
31
58
  ## Installation
32
59
 
@@ -80,16 +107,22 @@ await registerServiceWorker()
80
107
  | Surface | Description |
81
108
  |---|---|
82
109
  | PGlite archive | `opfs`, `idb`, and `memory` persistence modes with migrations on open |
83
- | Repositories | Notes, search, tags, collections, links, SKOS concepts, and attachments |
110
+ | Repositories | Notes, search, tags, collections, links, SKOS concepts, attachments, jobs, and provenance |
84
111
  | Event bus | Typed subscriptions for note, job, archive, and capability events |
85
112
  | Capability system | Embeddings, local LLM, GPU detection, local-provider discovery, fallback routing |
86
113
  | Job queue | Server-compatible background workflow for revisions, titles, embeddings, concepts, and links |
87
114
  | Knowledge Shards | Tar.gz import/export with checksums and JSON format parity |
88
115
  | Service-worker helpers | Route registration primitives for standalone browser integration |
89
116
 
117
+ ## Search and Knowledge Model
118
+
119
+ Fortemi's archive is more than note CRUD. The schema includes note bodies, generated titles, revision history, tags, collections, inter-note links, SKOS concept schemes, attachments, job provenance, and query history. Search can combine PostgreSQL full-text ranking with pgvector embeddings, then fuse scores for hybrid results.
120
+
121
+ That gives product teams a foundation for features users already expect from serious knowledge software: fast recall, related-note discovery, semantic retrieval, explainable provenance, import/export, and structured taxonomy support.
122
+
90
123
  ## Tool Surface
91
124
 
92
- `FortemiToolManifest` registers 10 bridge-visible Mnemos tools:
125
+ `FortemiToolManifest` registers 10 bridge-visible Fortemi tools:
93
126
 
94
127
  `capture_knowledge`, `manage_note`, `search`, `get_note`, `list_notes`, `manage_tags`, `manage_collections`, `manage_links`, `manage_archive`, `manage_capabilities`.
95
128
 
@@ -98,9 +131,11 @@ The package also exports 11 direct helper functions from `@fortemi/core`, includ
98
131
  ```ts
99
132
  import { fortemiManifest } from '@fortemi/core'
100
133
 
101
- const capabilities = fortemiManifest.toPlinyCapabilities()
134
+ const capabilities = fortemiManifest.toBridgeCapabilities()
102
135
  ```
103
136
 
137
+ Use the manifest when a host needs to advertise Fortemi operations to an agent runtime. Use the direct helper functions when your own code needs the same validated operations without going through a bridge layer.
138
+
104
139
  ## Browser Storage
105
140
 
106
141
  | Mode | Storage | Best for |
@@ -109,6 +144,8 @@ const capabilities = fortemiManifest.toPlinyCapabilities()
109
144
  | `idb` | IndexedDB-backed PGlite data directory | Firefox and broad compatibility |
110
145
  | `memory` | In-memory database | Tests, demos, restricted browser contexts |
111
146
 
147
+ Data stays in the selected browser storage mode unless your application explicitly exports it, imports it, or wires external providers. Optional AI capabilities are opt-in and can be routed to local WASM, local provider servers, or host-provided integrations depending on your product requirements.
148
+
112
149
  ## React Bindings
113
150
 
114
151
  For React applications, install `@fortemi/react`. It wraps `@fortemi/core` with `FortemiProvider`, context access, and 21 hooks.
package/dist/index.d.ts CHANGED
@@ -1080,7 +1080,7 @@ declare function searchTool(db: DatabaseClient, rawInput: unknown): Promise<Sear
1080
1080
  /**
1081
1081
  * Zod schemas for tool function inputs.
1082
1082
  *
1083
- * These schemas are the contract between callers (e.g. Plinyverse bridge) and
1083
+ * These schemas are the contract between callers (e.g. host platform bridge) and
1084
1084
  * the tool functions. All inputs are validated at the tool boundary so that
1085
1085
  * repository methods only receive well-typed data.
1086
1086
  */
@@ -1220,13 +1220,13 @@ declare const SearchInputSchema: z.ZodObject<{
1220
1220
  type SearchInput = z.infer<typeof SearchInputSchema>;
1221
1221
 
1222
1222
  /**
1223
- * FortemiToolManifest — registry of all Mnemos tool definitions.
1223
+ * FortemiToolManifest — registry of all Fortemi tool definitions.
1224
1224
  *
1225
- * Defines the full set of tool schemas and provides PlinyCapability
1225
+ * Defines the full set of tool schemas and provides BridgeCapability
1226
1226
  * projection for bridge registration. Each tool definition follows the
1227
1227
  * WHEN/WHAT/HOW/OUT description pattern so consumers understand call sites.
1228
1228
  *
1229
- * The 10 tools defined here are the initial subset covering core Mnemos
1229
+ * The 10 tools defined here are the initial subset covering core Fortemi
1230
1230
  * operations. Additional tools will be added incrementally as repositories
1231
1231
  * are implemented.
1232
1232
  */
@@ -1241,7 +1241,7 @@ interface FortemiToolDefinition {
1241
1241
  sideEffects: boolean;
1242
1242
  requiredCapability?: string;
1243
1243
  }
1244
- interface PlinyCapability {
1244
+ interface BridgeCapability {
1245
1245
  id: string;
1246
1246
  name: string;
1247
1247
  description: string;
@@ -1265,8 +1265,8 @@ declare class FortemiToolManifest {
1265
1265
  * Case-insensitive.
1266
1266
  */
1267
1267
  search(query: string): FortemiToolDefinition[];
1268
- /** Project all tools as PlinyCapability entries for bridge registration. */
1269
- toPlinyCapabilities(): PlinyCapability[];
1268
+ /** Project all tools as BridgeCapability entries for bridge registration. */
1269
+ toBridgeCapabilities(): BridgeCapability[];
1270
1270
  /** Return the count of tools in each category. */
1271
1271
  getCategoryCounts(): Record<string, number>;
1272
1272
  }
@@ -2370,6 +2370,6 @@ declare function exportShard(db: DatabaseClient, options?: ExportOptions): Promi
2370
2370
  */
2371
2371
  declare function importShard(db: DatabaseClient, data: Uint8Array | ArrayBuffer, options?: ImportOptions): Promise<ImportResult>;
2372
2372
 
2373
- declare const VERSION = "2026.5.1";
2373
+ declare const VERSION = "2026.5.3";
2374
2374
 
2375
- export { type ArchiveInfo, ArchiveManager, type AttachInput, type AttachmentBlobRow, type AttachmentRow, AttachmentsRepository, type BlobStore, type BrowserNoteExport, CURRENT_SHARD_VERSION, type CapabilityInfo, CapabilityManager, type CapabilityName, type CapabilityState, type CaptureKnowledgeInput, CaptureKnowledgeInputSchema, type CaptureKnowledgeResult, type CollectionCreateInput, type CollectionRow, CollectionsRepository, type CompletionRequest, type CompletionResponse, type ConditionResult, type ConflictStrategy, type CooldownConfig, type CooldownEvent, type CspDirectiveName, type CspDirectives, type CspViolationReport, type DatabaseClient, type DiscoveredProvider, type DiscoveryOptions, type EmbedFunction, type EmbedRequest, type EmbedResponse, type EnqueueJobInput, type ErrorCategory, type EventMap, type ExportOptions, type FallbackEvent, FallbackRouter, type FallbackRouterConfig, type FortemiConfig, type FortemiCore, type FortemiToolDefinition, FortemiToolManifest, type GetNoteInput, GetNoteInputSchema, type GpuCapabilities, type IDisposable, type ImportCounts, type ImportOptions, 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, PGliteStorageBackend, PGliteStorageBackendFactory, PGliteWorkerClient, type PaginatedResult, type PersistenceMode, type PlinyCapability, type PluginCspOptions, type PluginScriptDescriptor, type PluginScriptPolicy, type ProbeResult, type ProbeStatus, type ProviderCapabilities, ProviderRegistry, type ProviderTier, type QueryExecutor, type QueryResult, type RecommendedTier, type RouteHandler, SHARD_FORMAT, type SWRegistrationResult, type SearchFacets, type SearchInput, SearchInputSchema, type SearchOptions, SearchRepository, type SearchResponse, type SearchResult, type ShardCollection, type ShardComponent, type ShardEmbedding, type ShardEmbeddingSet, type ShardEmbeddingSetMember, type ShardLink, type ShardManifest, type ShardNote, type ShardTag, type SkosConcept, type SkosRelation, SkosRepository, type SkosScheme, type StorageBackend, type StorageBackendFactory, type StorageOpenRequest, type StorageTopology, type StreamChunk, TagsRepository, TransactionProxy, TypedEventBus, VERSION, type VramTier, type WorkerRequest, type WorkerResponse, aiRevisionHandler, allMigrations, appendPluginScript, buildNoteConditions, buildPluginCsp, captureKnowledge, chunkText, classifyError, classifyModel, collectionFromShard, collectionToShard, computeHash, computeSri, conceptTaggingHandler, cosineSimilarity, createBlobStore, createCspReportHandler, createFortemi, createLegacyProvider, createPGliteInstance, createRoutes, defaultStorageBackendFactory, detectGpuCapabilities, detectInferenceCapabilities, discoverLocalProviders, embeddingFromShard, embeddingGenerationHandler, embeddingSetFromShard, embeddingSetMemberToShard, embeddingSetToShard, embeddingToShard, enqueueFullWorkflow, enqueueJob, enqueueNoteCreationJobs, estimateModelFit, estimateVramMB, estimateVramTier, exportShard, fetchPluginScript, fortemiManifest, generateId, getEmbedFunction, getJobQueueStatus, getLlmFunction, getNote, importShard, isPluginScriptAllowed, linkFromShard, linkToShard, linkingHandler, listNotes, manageArchive, manageAttachments, manageCapabilities, manageCollections, manageLinks, manageNote, manageTags, matchRoute, noteFromShard, noteToShard, packTarGz, parseCspReport, registerLlmCapability, registerSemanticCapability, registerServiceWorker, searchTool, selectLlmModel, setEmbedFunction, setLlmFunction, sha256Hex, suggestTags, tagsFromShard, tagsToShard, titleGenerationHandler, unpackTarGz, unregisterLlmCapability, unregisterSemanticCapability, validateChecksums, verifySri };
2375
+ export { type ArchiveInfo, ArchiveManager, type AttachInput, type AttachmentBlobRow, type AttachmentRow, AttachmentsRepository, type BlobStore, type BridgeCapability, type BrowserNoteExport, CURRENT_SHARD_VERSION, type CapabilityInfo, CapabilityManager, type CapabilityName, type CapabilityState, type CaptureKnowledgeInput, CaptureKnowledgeInputSchema, type CaptureKnowledgeResult, type CollectionCreateInput, type CollectionRow, CollectionsRepository, type CompletionRequest, type CompletionResponse, type ConditionResult, type ConflictStrategy, type CooldownConfig, type CooldownEvent, type CspDirectiveName, type CspDirectives, type CspViolationReport, type DatabaseClient, type DiscoveredProvider, type DiscoveryOptions, type EmbedFunction, type EmbedRequest, type EmbedResponse, type EnqueueJobInput, type ErrorCategory, type EventMap, type ExportOptions, type FallbackEvent, FallbackRouter, type FallbackRouterConfig, type FortemiConfig, type FortemiCore, type FortemiToolDefinition, FortemiToolManifest, type GetNoteInput, GetNoteInputSchema, type GpuCapabilities, type IDisposable, type ImportCounts, type ImportOptions, 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, PGliteStorageBackend, PGliteStorageBackendFactory, PGliteWorkerClient, type PaginatedResult, type PersistenceMode, type PluginCspOptions, type PluginScriptDescriptor, type PluginScriptPolicy, type ProbeResult, type ProbeStatus, type ProviderCapabilities, ProviderRegistry, type ProviderTier, type QueryExecutor, type QueryResult, type RecommendedTier, type RouteHandler, SHARD_FORMAT, type SWRegistrationResult, type SearchFacets, type SearchInput, SearchInputSchema, type SearchOptions, SearchRepository, type SearchResponse, type SearchResult, type ShardCollection, type ShardComponent, type ShardEmbedding, type ShardEmbeddingSet, type ShardEmbeddingSetMember, type ShardLink, type ShardManifest, type ShardNote, type ShardTag, type SkosConcept, type SkosRelation, SkosRepository, type SkosScheme, type StorageBackend, type StorageBackendFactory, type StorageOpenRequest, type StorageTopology, type StreamChunk, TagsRepository, TransactionProxy, TypedEventBus, VERSION, type VramTier, type WorkerRequest, type WorkerResponse, aiRevisionHandler, allMigrations, appendPluginScript, buildNoteConditions, buildPluginCsp, captureKnowledge, chunkText, classifyError, classifyModel, collectionFromShard, collectionToShard, computeHash, computeSri, conceptTaggingHandler, cosineSimilarity, createBlobStore, createCspReportHandler, createFortemi, createLegacyProvider, createPGliteInstance, createRoutes, defaultStorageBackendFactory, detectGpuCapabilities, detectInferenceCapabilities, discoverLocalProviders, embeddingFromShard, embeddingGenerationHandler, embeddingSetFromShard, embeddingSetMemberToShard, embeddingSetToShard, embeddingToShard, enqueueFullWorkflow, enqueueJob, enqueueNoteCreationJobs, estimateModelFit, estimateVramMB, estimateVramTier, exportShard, fetchPluginScript, fortemiManifest, generateId, getEmbedFunction, getJobQueueStatus, getLlmFunction, getNote, importShard, isPluginScriptAllowed, linkFromShard, linkToShard, linkingHandler, listNotes, manageArchive, manageAttachments, manageCapabilities, manageCollections, manageLinks, manageNote, manageTags, matchRoute, noteFromShard, noteToShard, packTarGz, parseCspReport, registerLlmCapability, registerSemanticCapability, registerServiceWorker, searchTool, selectLlmModel, setEmbedFunction, setLlmFunction, sha256Hex, suggestTags, tagsFromShard, tagsToShard, titleGenerationHandler, unpackTarGz, unregisterLlmCapability, unregisterSemanticCapability, validateChecksums, verifySri };
package/dist/index.js CHANGED
@@ -2740,7 +2740,7 @@ function resolvePropertySchema(value) {
2740
2740
  }
2741
2741
  var TOOL_DEFINITIONS = [
2742
2742
  {
2743
- id: "mnemos.capture_knowledge",
2743
+ id: "fortemi.capture_knowledge",
2744
2744
  name: "Capture Knowledge",
2745
2745
  description: "WHEN you have text, ideas, or information to save. WHAT creates one or more notes in Fortemi. HOW accepts content, optional title/tags, supports create/bulk_create/from_template. OUT returns the created note(s) with full metadata.",
2746
2746
  category: "capture",
@@ -2749,7 +2749,7 @@ var TOOL_DEFINITIONS = [
2749
2749
  sideEffects: true
2750
2750
  },
2751
2751
  {
2752
- id: "mnemos.manage_note",
2752
+ id: "fortemi.manage_note",
2753
2753
  name: "Manage Note",
2754
2754
  description: "WHEN you need to modify an existing note. WHAT updates, deletes, restores, archives, or stars a note. HOW accepts note_id and action (update/delete/restore/archive/star). OUT returns the updated note.",
2755
2755
  category: "manage",
@@ -2758,7 +2758,7 @@ var TOOL_DEFINITIONS = [
2758
2758
  sideEffects: true
2759
2759
  },
2760
2760
  {
2761
- id: "mnemos.search",
2761
+ id: "fortemi.search",
2762
2762
  name: "Search Notes",
2763
2763
  description: "WHEN you need to find notes by content or metadata. WHAT performs full-text search across all notes. HOW accepts query string with optional tag/collection filters. OUT returns ranked results with highlighted snippets.",
2764
2764
  category: "search",
@@ -2767,7 +2767,7 @@ var TOOL_DEFINITIONS = [
2767
2767
  sideEffects: false
2768
2768
  },
2769
2769
  {
2770
- id: "mnemos.get_note",
2770
+ id: "fortemi.get_note",
2771
2771
  name: "Get Note",
2772
2772
  description: "WHEN you need the full content of a specific note. WHAT retrieves a single note by ID. HOW accepts note_id. OUT returns complete note with content, metadata, tags, and revision info.",
2773
2773
  category: "manage",
@@ -2776,7 +2776,7 @@ var TOOL_DEFINITIONS = [
2776
2776
  sideEffects: false
2777
2777
  },
2778
2778
  {
2779
- id: "mnemos.list_notes",
2779
+ id: "fortemi.list_notes",
2780
2780
  name: "List Notes",
2781
2781
  description: "WHEN you need to browse or filter notes. WHAT lists notes with pagination and filtering. HOW accepts optional filters (starred, archived, tags, collection). OUT returns paginated note summaries.",
2782
2782
  category: "manage",
@@ -2794,7 +2794,7 @@ var TOOL_DEFINITIONS = [
2794
2794
  sideEffects: false
2795
2795
  },
2796
2796
  {
2797
- id: "mnemos.manage_tags",
2797
+ id: "fortemi.manage_tags",
2798
2798
  name: "Manage Tags",
2799
2799
  description: "WHEN you need to organize notes with tags. WHAT adds or removes tags from notes. HOW accepts note_id, action (add/remove), and tag string. OUT confirms the tag operation.",
2800
2800
  category: "organize",
@@ -2807,7 +2807,7 @@ var TOOL_DEFINITIONS = [
2807
2807
  sideEffects: true
2808
2808
  },
2809
2809
  {
2810
- id: "mnemos.manage_collections",
2810
+ id: "fortemi.manage_collections",
2811
2811
  name: "Manage Collections",
2812
2812
  description: "WHEN you need to organize notes into folders. WHAT creates, updates, or manages collections. HOW accepts collection operations (create/list/assign/delete). OUT returns collection data.",
2813
2813
  category: "organize",
@@ -2821,7 +2821,7 @@ var TOOL_DEFINITIONS = [
2821
2821
  sideEffects: true
2822
2822
  },
2823
2823
  {
2824
- id: "mnemos.manage_links",
2824
+ id: "fortemi.manage_links",
2825
2825
  name: "Manage Links",
2826
2826
  description: "WHEN you need to connect related notes. WHAT creates bidirectional links between notes. HOW accepts source/target note IDs and link type. OUT returns the link data.",
2827
2827
  category: "organize",
@@ -2836,7 +2836,7 @@ var TOOL_DEFINITIONS = [
2836
2836
  sideEffects: true
2837
2837
  },
2838
2838
  {
2839
- id: "mnemos.manage_archive",
2839
+ id: "fortemi.manage_archive",
2840
2840
  name: "Manage Archive",
2841
2841
  description: "WHEN you need to switch between or manage knowledge archives. WHAT creates, lists, switches, or deletes archives. HOW accepts archive name and operation. OUT returns archive info.",
2842
2842
  category: "system",
@@ -2848,7 +2848,7 @@ var TOOL_DEFINITIONS = [
2848
2848
  sideEffects: true
2849
2849
  },
2850
2850
  {
2851
- id: "mnemos.manage_capabilities",
2851
+ id: "fortemi.manage_capabilities",
2852
2852
  name: "Manage Capabilities",
2853
2853
  description: "WHEN you need to enable optional features like vector search or LLM. WHAT enables, disables, or queries WASM capability modules. HOW accepts capability name and action. OUT returns capability status.",
2854
2854
  category: "system",
@@ -2894,8 +2894,8 @@ var FortemiToolManifest = class {
2894
2894
  (t) => t.name.toLowerCase().includes(q) || t.description.toLowerCase().includes(q) || t.tags.some((tag) => tag.includes(q))
2895
2895
  );
2896
2896
  }
2897
- /** Project all tools as PlinyCapability entries for bridge registration. */
2898
- toPlinyCapabilities() {
2897
+ /** Project all tools as BridgeCapability entries for bridge registration. */
2898
+ toBridgeCapabilities() {
2899
2899
  return this.list().map((tool) => ({
2900
2900
  id: tool.id,
2901
2901
  name: tool.name,
@@ -5131,7 +5131,7 @@ function parseJsonArray(data) {
5131
5131
  }
5132
5132
 
5133
5133
  // src/index.ts
5134
- var VERSION = "2026.5.1";
5134
+ var VERSION = "2026.5.3";
5135
5135
 
5136
5136
  export { ArchiveManager, AttachmentsRepository, CURRENT_SHARD_VERSION, CapabilityManager, CaptureKnowledgeInputSchema, CollectionsRepository, FallbackRouter, FortemiToolManifest, GetNoteInputSchema, JOB_CAPABILITIES, JOB_PRIORITIES, JobQueueWorker, LOCAL_ENDPOINTS, LinksRepository, ListNotesInputSchema, ManageArchiveInputSchema, ManageAttachmentsInputSchema, ManageCapabilitiesInputSchema, ManageCollectionsInputSchema, ManageLinksInputSchema, ManageNoteInputSchema, ManageTagsInputSchema, MemoryBlobStore, MigrationRunner, NotesRepository, OpenAICompatibleProvider, PGliteStorageBackend, PGliteStorageBackendFactory, PGliteWorkerClient, ProviderRegistry, SHARD_FORMAT, SearchInputSchema, SearchRepository, SkosRepository, TagsRepository, TransactionProxy, TypedEventBus, VERSION, aiRevisionHandler, allMigrations, appendPluginScript, buildNoteConditions, buildPluginCsp, captureKnowledge, chunkText, classifyError, classifyModel, collectionFromShard, collectionToShard, computeHash, computeSri, conceptTaggingHandler, cosineSimilarity, createBlobStore, createCspReportHandler, createFortemi, createLegacyProvider, createPGliteInstance, createRoutes, defaultStorageBackendFactory, detectGpuCapabilities, detectInferenceCapabilities, discoverLocalProviders, embeddingFromShard, embeddingGenerationHandler, embeddingSetFromShard, embeddingSetMemberToShard, embeddingSetToShard, embeddingToShard, enqueueFullWorkflow, enqueueJob, enqueueNoteCreationJobs, estimateModelFit, estimateVramMB, estimateVramTier, exportShard, fetchPluginScript, fortemiManifest, generateId, getEmbedFunction, getJobQueueStatus, getLlmFunction, getNote, importShard, isPluginScriptAllowed, linkFromShard, linkToShard, linkingHandler, listNotes, manageArchive, manageAttachments, manageCapabilities, manageCollections, manageLinks, manageNote, manageTags, matchRoute, noteFromShard, noteToShard, packTarGz, parseCspReport, registerLlmCapability, registerSemanticCapability, registerServiceWorker, searchTool, selectLlmModel, setEmbedFunction, setLlmFunction, sha256Hex, suggestTags, tagsFromShard, tagsToShard, titleGenerationHandler, unpackTarGz, unregisterLlmCapability, unregisterSemanticCapability, validateChecksums, verifySri };
5137
5137
  //# sourceMappingURL=index.js.map