@north-light/crouter 0.3.286 → 0.3.288

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.
@@ -140,7 +140,10 @@ export function probeRouteAvailability(candidate, registry, now = Date.now()) {
140
140
  const cooling = pool.length > 0 && pool.every((entry) => (entry.rateLimitedUntil || 0) > now);
141
141
  return {
142
142
  registered: true,
143
- authenticated: pool.length > 0,
143
+ // A populated pool always short-circuits (unaffected by the credential check below).
144
+ // With an empty pool, a hand-written non-pool credential (e.g. an api_key in auth.json)
145
+ // still authenticates the managed provider — PoolCredentialStore.read() already serves it.
146
+ authenticated: pool.length > 0 || registry.hasConfiguredAuth(model),
144
147
  ...(cooling ? { coolingUntil: Math.min(...pool.map((entry) => entry.rateLimitedUntil || 0)) } : {}),
145
148
  };
146
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/crouter",
3
- "version": "0.3.286",
3
+ "version": "0.3.288",
4
4
  "description": "crtr — agent runtime with memory, plugins, and marketplaces",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/runtime.lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@north-light/crouter",
3
- "version": "0.3.286",
3
+ "version": "0.3.288",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@north-light/crouter",
9
- "version": "0.3.286",
9
+ "version": "0.3.288",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "workspaces": [
@@ -4244,17 +4244,17 @@
4244
4244
  },
4245
4245
  "packages/crouter-api": {
4246
4246
  "name": "@north-light/crouter-api",
4247
- "version": "0.3.286",
4247
+ "version": "0.3.288",
4248
4248
  "license": "UNLICENSED"
4249
4249
  },
4250
4250
  "packages/crouter-env-docker": {
4251
4251
  "name": "@north-light/crouter-env-docker",
4252
- "version": "0.3.286",
4252
+ "version": "0.3.288",
4253
4253
  "license": "UNLICENSED"
4254
4254
  },
4255
4255
  "packages/crouter-sdk": {
4256
4256
  "name": "@north-light/crouter-sdk",
4257
- "version": "0.3.286",
4257
+ "version": "0.3.288",
4258
4258
  "license": "UNLICENSED",
4259
4259
  "dependencies": {
4260
4260
  "@north-light/crouter-api": "*"