Skip to content

Add node-llama-cpp provider integration#629

Merged
sroussey merged 1 commit into
mainfrom
claude/libs-workflow-xai-check-q4y1w6
Jul 10, 2026
Merged

Add node-llama-cpp provider integration#629
sroussey merged 1 commit into
mainfrom
claude/libs-workflow-xai-check-q4y1w6

Conversation

@sroussey

Copy link
Copy Markdown
Collaborator

Adds support for the node-llama-cpp provider to the workglow monorepo, following the established pattern for vendor provider packages.

Changes

  • Export paths: Added ./node-llama and ./node-llama/runtime conditional exports in package.json, mirroring the pattern used by other AI providers (anthropic, openai, etc.)
  • New modules: Created src/node-llama.ts and src/node-llama-runtime.ts that re-export from @workglow/node-llama-cpp/ai and @workglow/node-llama-cpp/ai-runtime respectively
  • Workspace dependency: Added @workglow/node-llama-cpp to the workglow package dependencies
  • TypeScript config: Registered the node-llama-cpp provider path in tsconfig.json for proper monorepo resolution

This follows the vendor provider pattern established in the codebase (e.g., anthropic, openai, google-gemini) where each provider exposes ./ai and ./ai-runtime sub-paths through the main workglow meta-package.

https://claude.ai/code/session_013kpj2QQrsPAtUQBxL3aEYx

Expose @workglow/node-llama-cpp through the workglow meta-package under
the `workglow/node-llama` and `workglow/node-llama/runtime` subpaths,
mirroring the single-target pattern used for tf-mediapipe.

- src/node-llama.ts re-exports @workglow/node-llama-cpp/ai
- src/node-llama-runtime.ts re-exports @workglow/node-llama-cpp/ai-runtime
- package.json: add the two subpath exports and the workspace dependency
- tsconfig.json: add the provider project reference

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kpj2QQrsPAtUQBxL3aEYx
@sroussey sroussey merged commit 62f260a into main Jul 10, 2026
11 of 12 checks passed
@sroussey sroussey deleted the claude/libs-workflow-xai-check-q4y1w6 branch July 10, 2026 16:56
sroussey added a commit that referenced this pull request Jul 10, 2026
## @workglow/ai

### Features

#### providers

- add xAI (Grok) AI provider(#622)

## workglow

### Features

- add node-llama-cpp provider to workglow meta-package (#629)
- add OpenRouter provider for @workglow/ai (#626)

#### providers

- add xAI (Grok) AI provider(#622)

## @workglow/storage

### Bug Fixes

#### storage

- genuine CAS for updateWhere on IndexedDb + HttpTabularProxy (#628)

## @workglow/test

### Features

- add OpenRouter provider for @workglow/ai (#626)

#### providers

- add xAI (Grok) AI provider(#622)

### Bug Fixes

#### storage

- genuine CAS for updateWhere on IndexedDb + HttpTabularProxy (#628)

## @workglow/indexeddb

### Bug Fixes

#### storage

- genuine CAS for updateWhere on IndexedDb + HttpTabularProxy (#628)

## @workglow/xai

### Features

#### providers

- add xAI (Grok) AI provider(#622)

## @workglow/openrouter

### Features

- add OpenRouter provider for @workglow/ai (#626)

## @workglow/cli

### Features

#### providers

- add xAI (Grok) AI provider(#622)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants