@principles/host-runtime 0.15.0 → 0.15.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.
|
@@ -107,6 +107,7 @@ const BUDGET_CAPACITY_SOURCES = new Set([
|
|
|
107
107
|
'operator_declared',
|
|
108
108
|
'host_effective_window',
|
|
109
109
|
'pi_catalog_exact',
|
|
110
|
+
'pi_catalog_model_id',
|
|
110
111
|
'legacy_fallback',
|
|
111
112
|
]);
|
|
112
113
|
const BUDGET_CAPACITY_STATUSES = new Set(['confirmed', 'unknown']);
|
|
@@ -181,8 +182,9 @@ function narrowObservation(parsed, workspaceDir, nowMs) {
|
|
|
181
182
|
// PRI-1020: operator_declared joins the confirmed set — a declared window
|
|
182
183
|
// is a real window (the Owner's explicit cap), so its observations carry
|
|
183
184
|
// the window and the exact formula budget like the other confirmed
|
|
184
|
-
// sources.
|
|
185
|
-
|
|
185
|
+
// sources. v0.3: pi_catalog_model_id is the weaker name-only catalog tier
|
|
186
|
+
// (still a real window claim, own source label).
|
|
187
|
+
if (rawSource !== 'operator_declared' && rawSource !== 'host_effective_window' && rawSource !== 'pi_catalog_exact' && rawSource !== 'pi_catalog_model_id')
|
|
186
188
|
return null;
|
|
187
189
|
if (!isValidContextWindowTokens(rawWindow))
|
|
188
190
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/host-runtime",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Shared host-neutral orchestration for Principles Disciple MVP-Core hook paths.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lint": "eslint \"src/**/*.ts\""
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@principles/core": "^2.1.
|
|
34
|
+
"@principles/core": "^2.1.1",
|
|
35
35
|
"@principles/install-layout": "^0.4.0",
|
|
36
36
|
"better-sqlite3": "^13.0.3",
|
|
37
37
|
"js-yaml": "^5.4.3"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"url": "git+https://github.com/csuzngjh/principles.git"
|
|
50
50
|
},
|
|
51
51
|
"license": "Apache-2.0",
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "32312b70d5b4f8a661949680fe765e91077e5c16"
|
|
53
53
|
}
|