Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0] - 2025-12-12

Transformer-dependent features now load Hugging Face models lazily, with enclave-vm fixing its scorer import path and vectoriadb requiring explicit opt-in for transformer embeddings.

### Updated Libraries

- **enclave-vm** v1.0.2 - LocalLlmScorer lazily imports @huggingface/transformers and treats it as an optional peer dependency.
- **vectoriadb** v2.0.0 - EmbeddingService now loads transformers dynamically, adds injection hooks, and requires you to install the optional peer when using transformer embeddings.

## [1.1.0] - 2025-12-11

Hardened ast-guard’s AgentScript preset with additional browser primitive blocks and dynamic import enforcement.
Expand Down
6 changes: 6 additions & 0 deletions docs/draft/docs/libraries/enclave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ const enclave = new Enclave({

Leverage the Local LLM scorer to gate executions with on-disk models.

**Note:** `LocalLlmScorer` loads the optional `@huggingface/transformers` peer dependency on demand. Install it before enabling local scoring:

```bash
npm install @huggingface/transformers
```

```typescript
import { LocalLlmScorer } from 'enclave-vm/scoring';

Expand Down
6 changes: 6 additions & 0 deletions docs/live/docs/libraries/enclave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ const enclave = new Enclave({

Use the built-in AI scoring gate to evaluate executions with a local model.

**Note:** `LocalLlmScorer` loads the optional `@huggingface/transformers` peer dependency on demand. Install it before enabling local scoring:

```bash
npm install @huggingface/transformers
```

```typescript
import { LocalLlmScorer } from 'enclave-vm/scoring';

Expand Down
10 changes: 10 additions & 0 deletions libs/enclave-vm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.2] - 2025-12-12

### Changed

- Declared @huggingface/transformers as an optional peer dependency so it is only required when local scoring is enabled.

### Fixed

- LocalLlmScorer now imports @huggingface/transformers via a dynamic Function() call, preventing TypeScript and bundler failures when the optional dependency is absent.

### Changed

- Updated the documented cache directory default for `LocalLlmConfig` to `~/.enclave/models`
Expand Down
2 changes: 1 addition & 1 deletion libs/enclave-vm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enclave-vm",
"version": "1.0.1",
"version": "1.0.2",
"description": "Sandbox runtime for secure JavaScript code execution",
"author": "AgentFront <info@agentfront.dev>",
"homepage": "https://github.com/agentfront/enclave",
Expand Down
11 changes: 11 additions & 0 deletions libs/vectoriadb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0] - 2025-12-12

### Added

- Added EmbeddingService.setTransformersModule() and clearTransformersModule() to allow injecting custom transformer pipelines (primarily for testing).

### Changed

- Transformer embeddings now lazy-load @huggingface/transformers and emit a ConfigurationError with installation guidance when the package is not installed.
- @huggingface/transformers is now distributed as an optional peer dependency and must be added explicitly when using transformer embeddings.

## [1.0.0] - 2025-11-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion libs/vectoriadb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vectoriadb",
"version": "1.0.0",
"version": "2.0.0",
"description": "VectoriaDB - A lightweight, production-ready in-memory vector database for semantic search",
"author": "AgentFront <info@agentfront.dev>",
"homepage": "https://github.com/agentfront/frontmcp/tree/main/libs/vectoriadb",
Expand Down
Loading
Loading