@cullit/core 2.1.0 → 2.2.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 +2 -2
- package/dist/index.js +5 -2
- package/package.json +2 -2
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.
|
|
74
|
+
declare const VERSION = "2.2.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"];
|
|
@@ -284,7 +284,7 @@ declare function getTierLimits(tier: string): UsageLimits;
|
|
|
284
284
|
* Use when the plan is known (API context); use getTierLimits when only tier is known (CLI).
|
|
285
285
|
*/
|
|
286
286
|
declare function getPlanLimits(plan: string, tier: string): UsageLimits;
|
|
287
|
-
type TeamFeature = 'drafts' | 'approvals' | 'shared_history' | 'project_templates' | 'hosted_changelog' | 'branded_widget' | 'team_publishers' | 'org_settings' | 'audit_logs' | 'sso';
|
|
287
|
+
type TeamFeature = 'drafts' | 'approvals' | 'shared_history' | 'project_templates' | 'hosted_changelog' | 'branded_widget' | 'team_publishers' | 'org_settings' | 'audit_logs' | 'team_analytics' | 'sso';
|
|
288
288
|
/**
|
|
289
289
|
* Check whether a license tier grants access to a Team/Enterprise feature.
|
|
290
290
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
|
-
var VERSION = "2.
|
|
2
|
+
var VERSION = "2.2.0";
|
|
3
3
|
var DEFAULT_CATEGORIES = ["features", "fixes", "breaking", "improvements", "chores"];
|
|
4
4
|
var DEFAULT_MODELS = {
|
|
5
5
|
anthropic: "claude-sonnet-4-20250514",
|
|
@@ -880,12 +880,15 @@ var FEATURE_TIERS = {
|
|
|
880
880
|
org_settings: /* @__PURE__ */ new Set(["team", "enterprise"]),
|
|
881
881
|
audit_logs: /* @__PURE__ */ new Set(["enterprise"]),
|
|
882
882
|
// plan-gated: team-25 via PLAN_FEATURES
|
|
883
|
+
team_analytics: /* @__PURE__ */ new Set(["enterprise"]),
|
|
884
|
+
// plan-gated: team-25 via PLAN_FEATURES
|
|
883
885
|
sso: /* @__PURE__ */ new Set(["enterprise"])
|
|
884
886
|
};
|
|
885
887
|
var PLAN_FEATURES = {
|
|
886
888
|
branded_widget: /* @__PURE__ */ new Set(["team-25"]),
|
|
887
889
|
project_templates: /* @__PURE__ */ new Set(["team-25"]),
|
|
888
|
-
audit_logs: /* @__PURE__ */ new Set(["team-25"])
|
|
890
|
+
audit_logs: /* @__PURE__ */ new Set(["team-25"]),
|
|
891
|
+
team_analytics: /* @__PURE__ */ new Set(["team-25"])
|
|
889
892
|
};
|
|
890
893
|
function isFeatureAllowed(feature, tier, valid = true) {
|
|
891
894
|
if (!valid) return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cullit/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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.
|
|
41
|
+
"@cullit/config": "2.2.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup src/index.ts --format esm --dts --clean",
|