@plasius/ai-router 0.1.8 → 0.1.9
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 +16 -0
- package/README.md +9 -2
- package/docs/adrs/adr-0003-hosted-oidc-package-publication.md +4 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,21 @@ 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
|
+
- Restored exact branch and main validation on explicit GitHub-hosted runners with package-manager caching disabled and public-package integrity enforced.
|
|
17
|
+
- (placeholder)
|
|
18
|
+
|
|
19
|
+
- **Security**
|
|
20
|
+
- (placeholder)
|
|
21
|
+
|
|
22
|
+
## [0.1.9] - 2026-08-31
|
|
23
|
+
|
|
9
24
|
- **Added**
|
|
10
25
|
- (placeholder)
|
|
11
26
|
|
|
@@ -139,3 +154,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
139
154
|
[0.1.6]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.6
|
|
140
155
|
[0.1.7]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.7
|
|
141
156
|
[0.1.8]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.8
|
|
157
|
+
[0.1.9]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.9
|
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @plasius/ai-router
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@plasius/ai-router)
|
|
4
|
+
[](https://github.com/Plasius-LTD/ai-router/actions/workflows/ci.yml)
|
|
5
|
+
[](https://codecov.io/gh/Plasius-LTD/ai-router)
|
|
6
|
+
[](./LICENSE)
|
|
7
|
+
[](./CODE_OF_CONDUCT.md)
|
|
8
|
+
[](./SECURITY.md)
|
|
9
|
+
[](./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.
|
|
3
|
+
"version": "0.1.9",
|
|
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.
|
|
57
|
+
"@plasius/ai-providers": "^0.1.9"
|
|
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.
|
|
70
|
-
"@types/node": "^26.0
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
72
|
-
"@typescript-eslint/parser": "^8.
|
|
73
|
-
"@vitest/coverage-v8": "^4.1.
|
|
74
|
-
"eslint": "^10.
|
|
75
|
-
"globals": "^17.
|
|
69
|
+
"@plasius/ai-config": "^0.1.9",
|
|
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.
|
|
79
|
+
"vitest": "^4.1.11"
|
|
80
80
|
},
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|