@bytesbrains/cruise-worker 0.13.1 → 0.14.1

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
@@ -1,9 +1,24 @@
1
+ <p align="center"><img src="https://gitlab.com/cruise-oss/cruise/-/raw/main/src/brand/cruise-logo-240.png" alt="Cruise" width="240"></p>
2
+
1
3
  # @bytesbrains/cruise-worker
2
4
 
3
- The [Cruise](https://gitlab.com/bytesbrains-oss/cruise) Worker, built and ready to deploy to
5
+ [![npm](https://img.shields.io/npm/v/@bytesbrains/cruise-worker)](https://www.npmjs.com/package/@bytesbrains/cruise-worker) [![license](https://img.shields.io/npm/l/@bytesbrains/cruise-worker)](https://gitlab.com/cruise-oss/cruise/-/blob/main/LICENSE) [![pipeline](https://gitlab.com/cruise-oss/cruise/badges/main/pipeline.svg)](https://gitlab.com/cruise-oss/cruise/-/pipelines)
6
+
7
+ The [Cruise](https://gitlab.com/cruise-oss/cruise) Worker, built and ready to deploy to
4
8
  your own Cloudflare account: one OpenAI-compatible endpoint in front of every model provider,
5
9
  with per-project keys, budgets that stop, and a cost ledger for every request.
6
10
 
11
+ ## What Cruise does
12
+
13
+ - **Budgets that actually stop.** A cap is enforced in one SQL statement, so concurrent
14
+ requests cannot all pass a check none of them has paid for.
15
+ - **A ledger for every request.** Who called, which model served, and what it cost.
16
+ - **Lanes instead of pinned models.** Ask for a job, such as `bb/extraction`, and Cruise picks
17
+ a measured model per request.
18
+ - **Measured before routable.** A model only receives traffic once a conformance run has seen
19
+ it serve.
20
+ - **Tenants, projects and keys**, isolated by the schema.
21
+
7
22
  This is the deployable artifact, not a library. It holds:
8
23
 
9
24
  | | |
@@ -35,4 +50,13 @@ Docker image. Both run this same bundle.
35
50
  import { mainModule, workerDir, migrationsDir, compatibilityDate, bindings } from "@bytesbrains/cruise-worker";
36
51
  ```
37
52
 
53
+ ## Links
54
+
55
+ - [Source and issues](https://gitlab.com/cruise-oss/cruise) on GitLab
56
+ - [Changelog](https://gitlab.com/cruise-oss/cruise/-/blob/main/CHANGELOG.md)
57
+ - [Self-hosting](https://gitlab.com/cruise-oss/cruise/-/blob/main/docs/self-hosting.md): Docker and your own Cloudflare account
58
+ - [Deploying from a configuration repository](https://gitlab.com/cruise-oss/cruise/-/blob/main/docs/deploying.md)
59
+ - [Verifying a release](https://gitlab.com/cruise-oss/cruise/-/blob/main/docs/releasing.md): the image's signature and the packages' provenance
60
+ - [The hosted service](https://cruise.bytesbrains.net/docs)
61
+
38
62
  Apache-2.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytesbrains/cruise-worker",
3
- "version": "0.13.1",
3
+ "version": "0.14.1",
4
4
  "description": "The Cruise Worker, built and ready to deploy: one OpenAI-compatible endpoint in front of every model provider, with budgets that stop.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -26,15 +26,34 @@
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "git+https://gitlab.com/bytesbrains-oss/cruise.git",
29
+ "url": "git+https://gitlab.com/cruise-oss/cruise.git",
30
30
  "directory": "packages/worker"
31
31
  },
32
- "homepage": "https://gitlab.com/bytesbrains-oss/cruise",
32
+ "homepage": "https://gitlab.com/cruise-oss/cruise/-/tree/main/packages/worker#readme",
33
+ "bugs": {
34
+ "url": "https://gitlab.com/cruise-oss/cruise/-/issues"
35
+ },
36
+ "author": {
37
+ "name": "BytesBrains",
38
+ "url": "https://cruise.bytesbrains.net"
39
+ },
33
40
  "keywords": [
34
41
  "llm",
42
+ "llm-gateway",
43
+ "ai-gateway",
35
44
  "openai",
36
- "gateway",
45
+ "openai-compatible",
46
+ "anthropic",
47
+ "gemini",
48
+ "proxy",
49
+ "budget",
50
+ "cost-tracking",
51
+ "rate-limiting",
52
+ "api-keys",
53
+ "multi-tenant",
54
+ "cloudflare",
37
55
  "cloudflare-workers",
38
- "budget"
56
+ "d1",
57
+ "wrangler"
39
58
  ]
40
59
  }
package/worker/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.1+3c339cea
1
+ 0.14.1+81955629