Skip to content

Package the model companion for npm and HTTPS gateways - #36

Merged
bebraw merged 2 commits into
mainfrom
feat/npm-model-companion
Nov 18, 2026
Merged

bebraw merged 2 commits into
mainfrom
feat/npm-model-companion

Conversation

@bebraw

@bebraw bebraw commented Nov 18, 2026

Copy link
Copy Markdown
Owner

What changed

  • Package the OpenAI-compatible companion as a standalone npm executable and document setup for the Aalto VPN and local models.
  • Let the companion forward to one configured HTTPS gateway and model. Keep the gateway API key in the local process and authenticate browser requests with a separate tab-scoped token.
  • Use the configured model ID in Kirjolab without requiring gateway model discovery.

Verification

  • Ran the local fast quality gate and affected companion mutation checks.
  • Installed the npm tarball outside the checkout and tested model discovery and forwarding against a mock HTTPS gateway.
  • Added browser coverage for discovery with a companion token and tab-scoped token persistence.

This PR is the release source for kirjolab-model-companion@0.1.0.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
kirjolab 04acaae Nov 18 2026, 11:22 AM

@bebraw
bebraw merged commit 821bc9c into main Nov 18, 2026
4 checks passed
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.

1 participant