@cullit/core 2.4.0 → 2.5.0

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/index.d.ts CHANGED
@@ -71,7 +71,7 @@ interface PipelineResult {
71
71
  duration: number;
72
72
  }
73
73
 
74
- declare const VERSION = "2.4.0";
74
+ declare const VERSION = "2.5.0";
75
75
  declare const DEFAULT_CATEGORIES: string[];
76
76
  declare const DEFAULT_MODELS: Record<string, string>;
77
77
  declare const AI_PROVIDERS: readonly ["anthropic", "openai", "gemini", "ollama", "none"];
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/constants.ts
2
- var VERSION = "2.4.0";
2
+ var VERSION = "2.5.0";
3
3
  var DEFAULT_CATEGORIES = ["features", "fixes", "breaking", "improvements", "chores"];
4
4
  var DEFAULT_MODELS = {
5
5
  anthropic: "claude-sonnet-4-20250514",
@@ -1056,8 +1056,10 @@ var RedisRateLimiter = class {
1056
1056
  body: JSON.stringify([
1057
1057
  ["ZREMRANGEBYSCORE", redisKey, "0", String(windowStart)],
1058
1058
  ["ZCARD", redisKey],
1059
+ ["MULTI"],
1059
1060
  ["ZADD", redisKey, String(now), `${now}-${Math.random().toString(36).slice(2, 8)}`],
1060
- ["PEXPIRE", redisKey, String(this.windowMs)]
1061
+ ["PEXPIRE", redisKey, String(this.windowMs)],
1062
+ ["EXEC"]
1061
1063
  ]),
1062
1064
  signal: AbortSignal.timeout(3e3)
1063
1065
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullit/core",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "type": "module",
5
5
  "description": "Core engine for Cullit — AI-powered release note generation.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -38,7 +38,7 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@cullit/config": "2.4.0"
41
+ "@cullit/config": "2.5.0"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsup src/index.ts --format esm --dts --clean",