@adhdev/mesh-shared 1.0.60-rc.50 → 1.0.60-rc.52
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/dist/brain-routing.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/brain-routing.ts +2 -2
package/package.json
CHANGED
package/src/brain-routing.ts
CHANGED
|
@@ -112,7 +112,7 @@ export function normalizeDifficultyBrainMap(raw: unknown): DifficultyBrainMap {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
115
|
-
// Node capability slots (
|
|
115
|
+
// Node capability slots (node capability slots design, 2026-07-09)
|
|
116
116
|
//
|
|
117
117
|
// A node's "Preferred AI tools" list is redefined as an ordered array of
|
|
118
118
|
// capability slots. Each slot bundles what used to be scattered across
|
|
@@ -252,7 +252,7 @@ export function deriveSlotsFromLegacy(input: {
|
|
|
252
252
|
* The reverse direction of deriveSlotsFromLegacy: derive the legacy
|
|
253
253
|
* `providerPriority` order from capability slots — each slot's provider, in
|
|
254
254
|
* first-appearance order, de-duplicated. Slot order = preference is the settled
|
|
255
|
-
* slots semantics (
|
|
255
|
+
* slots semantics (node capability slots design, 2026-07-09), so this is what readers of the
|
|
256
256
|
* legacy `policy.providerPriority` field must fall back to when a node declares
|
|
257
257
|
* slots but no explicit providerPriority (otherwise such a node reads as
|
|
258
258
|
* unlaunchable even though its slots fully determine the preference order).
|