@plasius/ai-router 0.1.8 → 0.1.10

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/CHANGELOG.md CHANGED
@@ -6,6 +6,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ - **Added**
10
+ - (placeholder)
11
+
12
+ - **Changed**
13
+ - (placeholder)
14
+
15
+ - **Fixed**
16
+ - (placeholder)
17
+
18
+ - **Security**
19
+ - (placeholder)
20
+
21
+ ## [0.1.10] - 2026-09-28
22
+
23
+ - Refresh npm dependency lockfile to current supported stable versions (weekly maintenance, 2026-09-28). Refresh published Plasius package baselines after upstream releases.
24
+
25
+ - **Added**
26
+ - (placeholder)
27
+
28
+ - **Changed**
29
+ - (placeholder)
30
+
31
+ - **Fixed**
32
+ - Restored exact branch and main validation on explicit GitHub-hosted runners with package-manager caching disabled and public-package integrity enforced.
33
+ - (placeholder)
34
+
35
+ - **Security**
36
+ - (placeholder)
37
+
38
+ ## [0.1.9] - 2026-08-31
39
+
9
40
  - **Added**
10
41
  - (placeholder)
11
42
 
@@ -139,3 +170,5 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
139
170
  [0.1.6]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.6
140
171
  [0.1.7]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.7
141
172
  [0.1.8]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.8
173
+ [0.1.9]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.9
174
+ [0.1.10]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.10
package/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @plasius/ai-router
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@plasius/ai-router.svg)](https://www.npmjs.com/package/@plasius/ai-router)
4
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/Plasius-LTD/ai-router/ci.yml?branch=main&label=build&style=flat)](https://github.com/Plasius-LTD/ai-router/actions/workflows/ci.yml)
5
+ [![coverage](https://img.shields.io/codecov/c/github/Plasius-LTD/ai-router)](https://codecov.io/gh/Plasius-LTD/ai-router)
6
+ [![License](https://img.shields.io/github/license/Plasius-LTD/ai-router)](./LICENSE)
7
+ [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-yes-blue.svg)](./CODE_OF_CONDUCT.md)
8
+ [![Security Policy](https://img.shields.io/badge/security%20policy-yes-orange.svg)](./SECURITY.md)
9
+ [![Changelog](https://img.shields.io/badge/changelog-md-blue.svg)](./CHANGELOG.md)
10
+
3
11
  Cost-aware AI task routing, budget, confidence, and SLO policy for Plasius agentic AI workloads.
4
12
 
5
13
  ## Scope
@@ -74,8 +82,7 @@ protected `main`. The job verifies that the prepared commit is still the
74
82
  current main commit and has an exact successful `ci.yml` push result before it
75
83
  mutates release state. Public package CI runs on GitHub-hosted capacity so it
76
84
  cannot execute on company-managed runners. npm publication runs on
77
- GitHub-hosted Node.js 24 with
78
- npm 11.5.1 or newer, uses the protected `production` environment and
85
+ GitHub-hosted Node.js 24 with pinned npm 11.6.2, uses the protected `production` environment and
79
86
  short-lived npm OIDC with provenance, and has no long-lived npm write-token
80
87
  fallback. Rollback disables CD; it never rewrites published package history.
81
88
  <!-- END PLASIUS RELEASE INTEGRITY -->
@@ -20,6 +20,10 @@ checks. No product capability is introduced.
20
20
 
21
21
  Publication is phase-isolated: dependency installation, package validation, SBOM generation, and immutable tarball packing run in `validate_and_pack` without the `production` environment or OIDC permission. The final hosted `publish` job downloads only that sealed artifact, explicitly installs npm 11.6.2, runs no repository dependency code, and publishes the tarball with lifecycle scripts disabled. It re-fetches current `main` immediately before the first release mutation and again immediately before npm publication. `.npmrc` contains no registry-auth placeholder, and release preparation returns the reviewed current `main` HEAD rather than package-file history.
22
22
 
23
+ Reviewed CI runs on explicit GitHub-hosted capacity with package-manager caching
24
+ disabled. Fork pull-request code is rejected before package validation, and the
25
+ same exact workflow can be dispatched manually for branch-head verification.
26
+
23
27
  The final npm publication job in `.github/workflows/cd.yml`:
24
28
 
25
29
  1. runs on the literal `ubuntu-latest` GitHub-hosted runner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/ai-router",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Cost-aware AI task routing, budget, confidence, and SLO policy for Plasius agentic AI workloads.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -54,7 +54,7 @@
54
54
  "author": "Plasius LTD <development@plasius.co.uk>",
55
55
  "license": "Apache-2.0",
56
56
  "dependencies": {
57
- "@plasius/ai-providers": "^0.1.8"
57
+ "@plasius/ai-providers": "^0.1.10"
58
58
  },
59
59
  "repository": {
60
60
  "type": "git",
@@ -66,17 +66,17 @@
66
66
  "homepage": "https://github.com/Plasius-LTD/ai-router#readme",
67
67
  "devDependencies": {
68
68
  "@eslint/js": "^10.0.1",
69
- "@plasius/ai-config": "^0.1.7",
70
- "@types/node": "^26.0.1",
71
- "@typescript-eslint/eslint-plugin": "^8.62.0",
72
- "@typescript-eslint/parser": "^8.62.0",
73
- "@vitest/coverage-v8": "^4.1.9",
74
- "eslint": "^10.6.0",
75
- "globals": "^17.7.0",
69
+ "@plasius/ai-config": "^0.1.10",
70
+ "@types/node": "^26.4.0",
71
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
72
+ "@typescript-eslint/parser": "^8.69.0",
73
+ "@vitest/coverage-v8": "^4.1.11",
74
+ "eslint": "^10.9.1",
75
+ "globals": "^17.11.0",
76
76
  "rimraf": "^6.1.3",
77
77
  "tsup": "^8.5.1",
78
78
  "typescript": "^6.0.3",
79
- "vitest": "^4.1.9"
79
+ "vitest": "^4.1.11"
80
80
  },
81
81
  "publishConfig": {
82
82
  "access": "public"