@cullit/core 1.10.1 → 1.11.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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EnrichmentType, OutputFormat, AIConfig, RepoSource, CullConfig } from '@cullit/config';
2
- export { AIConfig, AIProvider, Audience, BitbucketConfig, ConfluenceConfig, CullConfig, EnrichmentType, GitLabConfig, JiraConfig, LinearConfig, NotionConfig, OpenClawConfig, OutputFormat, PublishTarget, PublisherType, RepoSource, SourceConfig, TemplateConfig, TemplateProfile, Tone } from '@cullit/config';
2
+ export { AIConfig, AIProvider, Audience, BitbucketConfig, ConfluenceConfig, CullConfig, EnrichmentType, GitLabConfig, JiraConfig, LinearConfig, NotionConfig, OutputFormat, PublishTarget, PublisherType, RepoSource, SourceConfig, TemplateConfig, TemplateProfile, Tone } from '@cullit/config';
3
3
 
4
4
  interface GitCommit {
5
5
  hash: string;
@@ -71,10 +71,10 @@ interface PipelineResult {
71
71
  duration: number;
72
72
  }
73
73
 
74
- declare const VERSION = "1.10.1";
74
+ declare const VERSION = "1.11.1";
75
75
  declare const DEFAULT_CATEGORIES: string[];
76
76
  declare const DEFAULT_MODELS: Record<string, string>;
77
- declare const AI_PROVIDERS: readonly ["anthropic", "openai", "gemini", "ollama", "openclaw", "none"];
77
+ declare const AI_PROVIDERS: readonly ["anthropic", "openai", "gemini", "ollama", "none"];
78
78
  declare const OUTPUT_FORMATS: readonly ["markdown", "html", "html-dark", "html-minimal", "html-edgy", "json"];
79
79
  declare const PUBLISHER_TYPES: readonly ["stdout", "file", "slack", "discord", "github-release", "teams", "confluence", "notion", "gitlab-release", "changelog"];
80
80
  declare const ENRICHMENT_TYPES: readonly ["jira", "linear"];
package/dist/index.js CHANGED
@@ -1,14 +1,13 @@
1
1
  // src/constants.ts
2
- var VERSION = "1.10.1";
2
+ var VERSION = "1.11.1";
3
3
  var DEFAULT_CATEGORIES = ["features", "fixes", "breaking", "improvements", "chores"];
4
4
  var DEFAULT_MODELS = {
5
5
  anthropic: "claude-sonnet-4-20250514",
6
6
  openai: "gpt-4o",
7
- gemini: "gemini-2.0-flash",
8
- ollama: "llama3.1",
9
- openclaw: "anthropic/claude-sonnet-4-6"
7
+ gemini: "gemini-2.5-flash",
8
+ ollama: "llama3.2:3b"
10
9
  };
11
- var AI_PROVIDERS = ["anthropic", "openai", "gemini", "ollama", "openclaw", "none"];
10
+ var AI_PROVIDERS = ["anthropic", "openai", "gemini", "ollama", "none"];
12
11
  var OUTPUT_FORMATS = ["markdown", "html", "html-dark", "html-minimal", "html-edgy", "json"];
13
12
  var PUBLISHER_TYPES = ["stdout", "file", "slack", "discord", "github-release", "teams", "confluence", "notion", "gitlab-release", "changelog"];
14
13
  var ENRICHMENT_TYPES = ["jira", "linear"];
@@ -1027,7 +1026,6 @@ async function runPipeline(from, to, config, options = {}) {
1027
1026
  openai: "OpenAI",
1028
1027
  gemini: "Gemini",
1029
1028
  ollama: "Ollama",
1030
- openclaw: "OpenClaw",
1031
1029
  none: "Template"
1032
1030
  };
1033
1031
  const providerName = providerNames[config.ai.provider] || config.ai.provider;
@@ -1039,12 +1037,7 @@ async function runPipeline(from, to, config, options = {}) {
1039
1037
  `AI provider "${config.ai.provider}" is not available. ` + (config.ai.provider !== "none" ? "Install @cullit/licensed (private distribution) to use AI providers." : "")
1040
1038
  );
1041
1039
  }
1042
- let generator;
1043
- if (config.ai.provider === "none") {
1044
- generator = generatorFactory();
1045
- } else {
1046
- generator = generatorFactory(config.openclaw);
1047
- }
1040
+ const generator = generatorFactory();
1048
1041
  const notes = await generator.generate(context, config.ai);
1049
1042
  log.info(`\xBB Generated ${notes.changes.length} change entries`);
1050
1043
  const selectedTemplateName = options.templateProfile || config.template?.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullit/core",
3
- "version": "1.10.1",
3
+ "version": "1.11.1",
4
4
  "type": "module",
5
5
  "description": "Core engine for Cullit — AI-powered release note generation.",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@cullit/config": "1.10.1"
41
+ "@cullit/config": "1.11.1"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsup src/index.ts --format esm --dts --clean",