@triflux/core 10.86.0 → 10.86.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.
@@ -41,11 +41,12 @@ import {
41
41
 
42
42
  // window_minutes 기반 5h/1w 슬롯 분류
43
43
  // 5h: ≤360min (300min 표준, ±20% 허용)
44
- // weekly: ≥7000min (10080min 표준, ~5d 이상만 허용 — 24h/48h 등 중간 버킷 도입 시 silent 오분류 방지)
44
+ // weekly: 7000~14400min (10080min 표준). 30일(43200min) 창이 1w 칸을 덮지 않게 위쪽도 막는다.
45
45
  export function classifyBucket(bucket) {
46
46
  if (!bucket?.window_minutes) return null;
47
47
  if (bucket.window_minutes <= 360) return "five_hour";
48
- if (bucket.window_minutes >= 7000) return "weekly";
48
+ if (bucket.window_minutes >= 7000 && bucket.window_minutes <= 14400)
49
+ return "weekly";
49
50
  return null;
50
51
  }
51
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triflux/core",
3
- "version": "10.86.0",
3
+ "version": "10.86.1",
4
4
  "description": "triflux core — CLI routing, adapters. Zero native dependencies.",
5
5
  "type": "module",
6
6
  "main": "hub/index.mjs",