release-note 0.0.7 → 0.0.9

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/bin.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  const require_chunk = require("./chunk-Cek0wNdY.cjs");
3
- const require_generate = require("./generate-Co3HP4o3.cjs");
3
+ const require_generate = require("./generate-DqvDvd7k.cjs");
4
4
  let node_events = require("node:events");
5
5
  let node_child_process = require("node:child_process");
6
6
  node_child_process = require_chunk.__toESM(node_child_process, 1);
package/dist/bin.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { C as resolveConfig, t as generateReleaseNote } from "./generate-DrcKRdlK.mjs";
2
+ import { C as resolveConfig, t as generateReleaseNote } from "./generate-DZ0OZMmA.mjs";
3
3
  import { EventEmitter } from "node:events";
4
4
  import childProcess from "node:child_process";
5
5
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { A as number, D as boolean, E as array, M as record, N as string, O as literal, P as union, S as UnsupportedFunctionalityError, T as any, _ as withUserAgentSuffix, a as convertBase64ToUint8Array, b as InvalidResponseDataError, c as createEventSourceResponseHandler, d as downloadBlob, f as generateId, g as postJsonToApi, h as postFormDataToApi, i as combineHeaders, j as object, k as looseObject, l as createJsonErrorResponseHandler, m as parseProviderOptions, o as convertToBase64, p as isParsableJson, s as convertToFormData, u as createJsonResponseHandler, v as withoutTrailingSlash, w as _enum, x as TooManyEmbeddingValuesForCallError, y as InvalidPromptError } from "./generate-DrcKRdlK.mjs";
1
+ import { A as number, D as boolean, E as array, M as record, N as string, O as literal, P as union, S as UnsupportedFunctionalityError, T as any, _ as withUserAgentSuffix, a as convertBase64ToUint8Array, b as InvalidResponseDataError, c as createEventSourceResponseHandler, d as downloadBlob, f as generateId, g as postJsonToApi, h as postFormDataToApi, i as combineHeaders, j as object, k as looseObject, l as createJsonErrorResponseHandler, m as parseProviderOptions, o as convertToBase64, p as isParsableJson, s as convertToFormData, u as createJsonResponseHandler, v as withoutTrailingSlash, w as _enum, x as TooManyEmbeddingValuesForCallError, y as InvalidPromptError } from "./generate-DZ0OZMmA.mjs";
2
2
  //#region node_modules/.pnpm/@ai-sdk+openai-compatible@2.0.48_zod@4.4.3/node_modules/@ai-sdk/openai-compatible/dist/index.mjs
3
3
  function toCamelCase(str) {
4
4
  return str.replace(/[_-]([a-z])/g, (g) => g[1].toUpperCase());
@@ -1,5 +1,5 @@
1
1
  require("./chunk-Cek0wNdY.cjs");
2
- const require_generate = require("./generate-Co3HP4o3.cjs");
2
+ const require_generate = require("./generate-DqvDvd7k.cjs");
3
3
  //#region node_modules/.pnpm/@ai-sdk+openai-compatible@2.0.48_zod@4.4.3/node_modules/@ai-sdk/openai-compatible/dist/index.mjs
4
4
  function toCamelCase(str) {
5
5
  return str.replace(/[_-]([a-z])/g, (g) => g[1].toUpperCase());
@@ -431,7 +431,18 @@ const SUPPORTED_PROVIDERS = {
431
431
  "@ai-sdk/perplexity": { create: "createPerplexity" },
432
432
  "@ai-sdk/luma": { create: "createLuma" },
433
433
  "@ai-sdk/baseten": { create: "createBaseten" },
434
- "@openrouter/ai-sdk-provider": { create: "createOpenRouter" }
434
+ "@openrouter/ai-sdk-provider": { create: "createOpenRouter" },
435
+ "ollama-ai-provider-v2": { create: "createOllama" },
436
+ "ai-sdk-ollama": { create: "createOllama" },
437
+ "vercel-minimax-ai-provider": { create: "createMinimax" },
438
+ "@aihubmix/ai-sdk-provider": { create: "createAihubmix" },
439
+ "ai-gateway-provider": { create: "createAiGateway" },
440
+ "workers-ai-provider": { create: "createWorkersAI" },
441
+ "@friendliai/ai-provider": { create: "createFriendli" },
442
+ "@helicone/ai-sdk-provider": { create: "createHelicone" },
443
+ "ai-sdk-provider-opencode-sdk": { create: "createOpencode" },
444
+ "sambanova-ai-provider": { create: "createSambaNova" },
445
+ "zhipu-ai-provider": { create: "createZhipu" }
435
446
  };
436
447
  //#endregion
437
448
  //#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
@@ -13972,18 +13983,32 @@ const gitCommitTargetSchema = union([tagSchema, object$1({
13972
13983
  prev: union([tagSchema, commitSchema]),
13973
13984
  current: union([tagSchema, commitSchema])
13974
13985
  })]);
13975
- const providerOptionsSchema = object$1({
13986
+ const providerPackageSchema = union([_enum(Object.keys(SUPPORTED_PROVIDERS)), object$1({
13987
+ npm: string$1(),
13988
+ import: string$1()
13989
+ })]);
13990
+ const generateConfigSchema = object$1({
13976
13991
  apiUrl: string$1().optional(),
13977
13992
  apiKeyEnv: union([string$1(), array$1(string$1())]).optional(),
13978
- provider: _enum(Object.keys(SUPPORTED_PROVIDERS)).default("@ai-sdk/openai-compatible"),
13993
+ provider: providerPackageSchema.default("@ai-sdk/openai-compatible"),
13979
13994
  headers: record(string$1(), string$1()).optional(),
13980
13995
  options: record(string$1(), unknown()).optional()
13981
- });
13982
- const generateConfigSchema = object$1({
13996
+ }).extend({
13983
13997
  target: gitCommitTargetSchema.default({ tag: ".*" }),
13984
13998
  model: string$1().min(1),
13985
- steps: number$1().int().min(5).max(500).optional()
13986
- }).extend(providerOptionsSchema.shape);
13999
+ temperature: number$1().min(0).max(1).optional(),
14000
+ topP: number$1().min(0).max(1).optional(),
14001
+ topK: number$1().optional(),
14002
+ maxRetries: number$1().int().min(0).optional(),
14003
+ maxOutputTokens: number$1().int().min(1).optional(),
14004
+ toolChoice: _enum([
14005
+ "auto",
14006
+ "none",
14007
+ "required"
14008
+ ]).optional(),
14009
+ steps: number$1().int().min(5).max(500).optional(),
14010
+ instructions: string$1().optional()
14011
+ });
13987
14012
  //#endregion
13988
14013
  //#region src/config/resolve-config.ts
13989
14014
  const CONFIG_PATHS = [
@@ -14022,28 +14047,30 @@ function resolveApiKey(vars) {
14022
14047
  }
14023
14048
  return resolvedApiKey;
14024
14049
  }
14025
- async function resolveProvider(name, options) {
14050
+ async function resolveProvider(provider, options) {
14026
14051
  const resolvedApiKey = resolveApiKey(options.apiKeyEnv);
14027
- if (name === "@ai-sdk/openai-compatible") {
14028
- if (!options.apiUrl) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
14029
- if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
14030
- const { createOpenAICompatible } = await import("./dist-CeBX9H5m.mjs");
14031
- return createOpenAICompatible({
14032
- name,
14033
- apiKey: resolvedApiKey,
14034
- baseURL: options?.apiUrl,
14035
- headers: options?.headers,
14036
- ...options?.options
14037
- });
14038
- }
14039
- const provider = PROVIDERS_FACTORY[name];
14040
- if (provider) return (await import(name))[provider.create]({
14052
+ const providerOptions = {
14041
14053
  apiKey: resolvedApiKey,
14042
14054
  baseURL: options?.apiUrl,
14043
14055
  headers: options?.headers,
14044
14056
  ...options?.options
14045
- });
14046
- return null;
14057
+ };
14058
+ if (provider === "@ai-sdk/openai-compatible") {
14059
+ if (!providerOptions.baseURL) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
14060
+ if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
14061
+ const { createOpenAICompatible } = await import("./dist-AHkiGHXL.mjs");
14062
+ return createOpenAICompatible({
14063
+ name: provider,
14064
+ ...providerOptions,
14065
+ baseURL: providerOptions.baseURL
14066
+ });
14067
+ }
14068
+ if (typeof provider === "string") {
14069
+ const providerConfig = PROVIDERS_FACTORY[provider];
14070
+ if (!providerConfig) throw new Error(`Unsupported provider: ${provider}. Supported providers are: ${Object.keys(PROVIDERS_FACTORY).join(", ")}.`);
14071
+ return (await import(provider))[providerConfig.create](providerOptions);
14072
+ }
14073
+ return (await import(provider.npm))[provider.import](providerOptions);
14047
14074
  }
14048
14075
  //#endregion
14049
14076
  //#region node_modules/.pnpm/daily-code@1.1.16/node_modules/daily-code/dist/index.mjs
@@ -19921,7 +19948,7 @@ var require_get_vercel_oidc_token = /* @__PURE__ */ __commonJSMin(((exports, mod
19921
19948
  err = error;
19922
19949
  }
19923
19950
  try {
19924
- const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ __toESM(require_token_util())), await import("./token-BhSAhkpE.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))]);
19951
+ const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ __toESM(require_token_util())), await import("./token-Bs_vmcSy.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))]);
19925
19952
  if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
19926
19953
  await refreshToken(options);
19927
19954
  token = getVercelOidcTokenSync();
@@ -30920,16 +30947,29 @@ async function generateReleaseNote(cwd, options) {
30920
30947
  options.logger?.(`Generating with "${options.provider}" using "${options.model}" in ${steps} steps...`);
30921
30948
  const result = await generateText({
30922
30949
  model: provider(options.model),
30950
+ temperature: options.temperature,
30951
+ topP: options.topP,
30952
+ topK: options.topK,
30953
+ maxRetries: options.maxRetries,
30954
+ maxOutputTokens: options.maxOutputTokens,
30955
+ toolChoice: options.toolChoice,
30923
30956
  tools: generateTools(git, options.logger),
30924
30957
  stopWhen: stepCountIs(steps),
30925
30958
  system: buildSystemPrompt(Math.floor(steps / 1.5)),
30926
- messages: [{
30927
- role: "user",
30928
- content: "Here are the commits related to the release:"
30929
- }, {
30930
- role: "user",
30931
- content: commitsMarkdown.trim()
30932
- }]
30959
+ messages: [
30960
+ {
30961
+ role: "user",
30962
+ content: "Here are the commits related to the release:"
30963
+ },
30964
+ {
30965
+ role: "user",
30966
+ content: commitsMarkdown.trim()
30967
+ },
30968
+ ...options.instructions ? [{
30969
+ role: "user",
30970
+ content: options.instructions
30971
+ }] : []
30972
+ ]
30933
30973
  });
30934
30974
  return {
30935
30975
  commits,
@@ -436,7 +436,18 @@ const SUPPORTED_PROVIDERS = {
436
436
  "@ai-sdk/perplexity": { create: "createPerplexity" },
437
437
  "@ai-sdk/luma": { create: "createLuma" },
438
438
  "@ai-sdk/baseten": { create: "createBaseten" },
439
- "@openrouter/ai-sdk-provider": { create: "createOpenRouter" }
439
+ "@openrouter/ai-sdk-provider": { create: "createOpenRouter" },
440
+ "ollama-ai-provider-v2": { create: "createOllama" },
441
+ "ai-sdk-ollama": { create: "createOllama" },
442
+ "vercel-minimax-ai-provider": { create: "createMinimax" },
443
+ "@aihubmix/ai-sdk-provider": { create: "createAihubmix" },
444
+ "ai-gateway-provider": { create: "createAiGateway" },
445
+ "workers-ai-provider": { create: "createWorkersAI" },
446
+ "@friendliai/ai-provider": { create: "createFriendli" },
447
+ "@helicone/ai-sdk-provider": { create: "createHelicone" },
448
+ "ai-sdk-provider-opencode-sdk": { create: "createOpencode" },
449
+ "sambanova-ai-provider": { create: "createSambaNova" },
450
+ "zhipu-ai-provider": { create: "createZhipu" }
440
451
  };
441
452
  //#endregion
442
453
  //#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
@@ -13977,18 +13988,32 @@ const gitCommitTargetSchema = union([tagSchema, object$1({
13977
13988
  prev: union([tagSchema, commitSchema]),
13978
13989
  current: union([tagSchema, commitSchema])
13979
13990
  })]);
13980
- const providerOptionsSchema = object$1({
13991
+ const providerPackageSchema = union([_enum(Object.keys(SUPPORTED_PROVIDERS)), object$1({
13992
+ npm: string$1(),
13993
+ import: string$1()
13994
+ })]);
13995
+ const generateConfigSchema = object$1({
13981
13996
  apiUrl: string$1().optional(),
13982
13997
  apiKeyEnv: union([string$1(), array$1(string$1())]).optional(),
13983
- provider: _enum(Object.keys(SUPPORTED_PROVIDERS)).default("@ai-sdk/openai-compatible"),
13998
+ provider: providerPackageSchema.default("@ai-sdk/openai-compatible"),
13984
13999
  headers: record(string$1(), string$1()).optional(),
13985
14000
  options: record(string$1(), unknown()).optional()
13986
- });
13987
- const generateConfigSchema = object$1({
14001
+ }).extend({
13988
14002
  target: gitCommitTargetSchema.default({ tag: ".*" }),
13989
14003
  model: string$1().min(1),
13990
- steps: number$1().int().min(5).max(500).optional()
13991
- }).extend(providerOptionsSchema.shape);
14004
+ temperature: number$1().min(0).max(1).optional(),
14005
+ topP: number$1().min(0).max(1).optional(),
14006
+ topK: number$1().optional(),
14007
+ maxRetries: number$1().int().min(0).optional(),
14008
+ maxOutputTokens: number$1().int().min(1).optional(),
14009
+ toolChoice: _enum([
14010
+ "auto",
14011
+ "none",
14012
+ "required"
14013
+ ]).optional(),
14014
+ steps: number$1().int().min(5).max(500).optional(),
14015
+ instructions: string$1().optional()
14016
+ });
13992
14017
  //#endregion
13993
14018
  //#region src/config/resolve-config.ts
13994
14019
  const CONFIG_PATHS = [
@@ -14027,28 +14052,30 @@ function resolveApiKey(vars) {
14027
14052
  }
14028
14053
  return resolvedApiKey;
14029
14054
  }
14030
- async function resolveProvider(name, options) {
14055
+ async function resolveProvider(provider, options) {
14031
14056
  const resolvedApiKey = resolveApiKey(options.apiKeyEnv);
14032
- if (name === "@ai-sdk/openai-compatible") {
14033
- if (!options.apiUrl) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
14034
- if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
14035
- const { createOpenAICompatible } = await Promise.resolve().then(() => require("./dist-DS4okU_S.cjs"));
14036
- return createOpenAICompatible({
14037
- name,
14038
- apiKey: resolvedApiKey,
14039
- baseURL: options?.apiUrl,
14040
- headers: options?.headers,
14041
- ...options?.options
14042
- });
14043
- }
14044
- const provider = PROVIDERS_FACTORY[name];
14045
- if (provider) return (await import(name))[provider.create]({
14057
+ const providerOptions = {
14046
14058
  apiKey: resolvedApiKey,
14047
14059
  baseURL: options?.apiUrl,
14048
14060
  headers: options?.headers,
14049
14061
  ...options?.options
14050
- });
14051
- return null;
14062
+ };
14063
+ if (provider === "@ai-sdk/openai-compatible") {
14064
+ if (!providerOptions.baseURL) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
14065
+ if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
14066
+ const { createOpenAICompatible } = await Promise.resolve().then(() => require("./dist-BxXUyPZ_.cjs"));
14067
+ return createOpenAICompatible({
14068
+ name: provider,
14069
+ ...providerOptions,
14070
+ baseURL: providerOptions.baseURL
14071
+ });
14072
+ }
14073
+ if (typeof provider === "string") {
14074
+ const providerConfig = PROVIDERS_FACTORY[provider];
14075
+ if (!providerConfig) throw new Error(`Unsupported provider: ${provider}. Supported providers are: ${Object.keys(PROVIDERS_FACTORY).join(", ")}.`);
14076
+ return (await import(provider))[providerConfig.create](providerOptions);
14077
+ }
14078
+ return (await import(provider.npm))[provider.import](providerOptions);
14052
14079
  }
14053
14080
  //#endregion
14054
14081
  //#region node_modules/.pnpm/daily-code@1.1.16/node_modules/daily-code/dist/index.mjs
@@ -19926,7 +19953,7 @@ var require_get_vercel_oidc_token = /* @__PURE__ */ require_chunk.__commonJSMin(
19926
19953
  err = error;
19927
19954
  }
19928
19955
  try {
19929
- const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require_token_util())), await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./token-Cv3WAUe2.cjs").default))]);
19956
+ const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require_token_util())), await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./token-RHOML3h4.cjs").default))]);
19930
19957
  if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
19931
19958
  await refreshToken(options);
19932
19959
  token = getVercelOidcTokenSync();
@@ -30925,16 +30952,29 @@ async function generateReleaseNote(cwd, options) {
30925
30952
  options.logger?.(`Generating with "${options.provider}" using "${options.model}" in ${steps} steps...`);
30926
30953
  const result = await generateText({
30927
30954
  model: provider(options.model),
30955
+ temperature: options.temperature,
30956
+ topP: options.topP,
30957
+ topK: options.topK,
30958
+ maxRetries: options.maxRetries,
30959
+ maxOutputTokens: options.maxOutputTokens,
30960
+ toolChoice: options.toolChoice,
30928
30961
  tools: generateTools(git, options.logger),
30929
30962
  stopWhen: stepCountIs(steps),
30930
30963
  system: buildSystemPrompt(Math.floor(steps / 1.5)),
30931
- messages: [{
30932
- role: "user",
30933
- content: "Here are the commits related to the release:"
30934
- }, {
30935
- role: "user",
30936
- content: commitsMarkdown.trim()
30937
- }]
30964
+ messages: [
30965
+ {
30966
+ role: "user",
30967
+ content: "Here are the commits related to the release:"
30968
+ },
30969
+ {
30970
+ role: "user",
30971
+ content: commitsMarkdown.trim()
30972
+ },
30973
+ ...options.instructions ? [{
30974
+ role: "user",
30975
+ content: options.instructions
30976
+ }] : []
30977
+ ]
30938
30978
  });
30939
30979
  return {
30940
30980
  commits,
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("./chunk-Cek0wNdY.cjs");
6
- const require_generate = require("./generate-Co3HP4o3.cjs");
6
+ const require_generate = require("./generate-DqvDvd7k.cjs");
7
7
  //#region src/index.ts
8
8
  var src_default = require_generate.generateReleaseNote;
9
9
  const releaseNote = require_generate.generateReleaseNote;
package/dist/index.d.cts CHANGED
@@ -6424,28 +6424,9 @@ declare global {
6424
6424
  //#endregion
6425
6425
  //#region src/config/config-schema.d.ts
6426
6426
  declare const generateConfigSchema: ZodObject<{
6427
- target: ZodDefault<ZodUnion<readonly [ZodObject<{
6428
- tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6429
- offset: ZodOptional<ZodNumber>;
6430
- }, $strip>, ZodObject<{
6431
- prev: ZodUnion<readonly [ZodObject<{
6432
- tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6433
- offset: ZodOptional<ZodNumber>;
6434
- }, $strip>, ZodObject<{
6435
- commit: ZodString;
6436
- }, $strip>]>;
6437
- current: ZodUnion<readonly [ZodObject<{
6438
- tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6439
- offset: ZodOptional<ZodNumber>;
6440
- }, $strip>, ZodObject<{
6441
- commit: ZodString;
6442
- }, $strip>]>;
6443
- }, $strip>]>>;
6444
- model: ZodString;
6445
- steps: ZodOptional<ZodNumber>;
6446
6427
  apiUrl: ZodOptional<ZodString>;
6447
6428
  apiKeyEnv: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
6448
- provider: ZodDefault<ZodEnum<{
6429
+ provider: ZodDefault<ZodUnion<readonly [ZodEnum<{
6449
6430
  "@ai-sdk/openai": "@ai-sdk/openai";
6450
6431
  "@ai-sdk/openai-compatible": "@ai-sdk/openai-compatible";
6451
6432
  "@ai-sdk/anthropic": "@ai-sdk/anthropic";
@@ -6467,9 +6448,53 @@ declare const generateConfigSchema: ZodObject<{
6467
6448
  "@ai-sdk/luma": "@ai-sdk/luma";
6468
6449
  "@ai-sdk/baseten": "@ai-sdk/baseten";
6469
6450
  "@openrouter/ai-sdk-provider": "@openrouter/ai-sdk-provider";
6470
- }>>;
6451
+ "ollama-ai-provider-v2": "ollama-ai-provider-v2";
6452
+ "ai-sdk-ollama": "ai-sdk-ollama";
6453
+ "vercel-minimax-ai-provider": "vercel-minimax-ai-provider";
6454
+ "@aihubmix/ai-sdk-provider": "@aihubmix/ai-sdk-provider";
6455
+ "ai-gateway-provider": "ai-gateway-provider";
6456
+ "workers-ai-provider": "workers-ai-provider";
6457
+ "@friendliai/ai-provider": "@friendliai/ai-provider";
6458
+ "@helicone/ai-sdk-provider": "@helicone/ai-sdk-provider";
6459
+ "ai-sdk-provider-opencode-sdk": "ai-sdk-provider-opencode-sdk";
6460
+ "sambanova-ai-provider": "sambanova-ai-provider";
6461
+ "zhipu-ai-provider": "zhipu-ai-provider";
6462
+ }>, ZodObject<{
6463
+ npm: ZodString;
6464
+ import: ZodString;
6465
+ }, $strip>]>>;
6471
6466
  headers: ZodOptional<ZodRecord<ZodString, ZodString>>;
6472
6467
  options: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
6468
+ target: ZodDefault<ZodUnion<readonly [ZodObject<{
6469
+ tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6470
+ offset: ZodOptional<ZodNumber>;
6471
+ }, $strip>, ZodObject<{
6472
+ prev: ZodUnion<readonly [ZodObject<{
6473
+ tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6474
+ offset: ZodOptional<ZodNumber>;
6475
+ }, $strip>, ZodObject<{
6476
+ commit: ZodString;
6477
+ }, $strip>]>;
6478
+ current: ZodUnion<readonly [ZodObject<{
6479
+ tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6480
+ offset: ZodOptional<ZodNumber>;
6481
+ }, $strip>, ZodObject<{
6482
+ commit: ZodString;
6483
+ }, $strip>]>;
6484
+ }, $strip>]>>;
6485
+ model: ZodString;
6486
+ temperature: ZodOptional<ZodNumber>;
6487
+ topP: ZodOptional<ZodNumber>;
6488
+ topK: ZodOptional<ZodNumber>;
6489
+ maxRetries: ZodOptional<ZodNumber>;
6490
+ maxOutputTokens: ZodOptional<ZodNumber>;
6491
+ toolChoice: ZodOptional<ZodEnum<{
6492
+ auto: "auto";
6493
+ none: "none";
6494
+ required: "required";
6495
+ }>>;
6496
+ steps: ZodOptional<ZodNumber>;
6497
+ instructions: ZodOptional<ZodString>;
6473
6498
  }, $strip>;
6474
6499
  //#endregion
6475
6500
  //#region src/generate/index.d.ts
package/dist/index.d.mts CHANGED
@@ -6424,28 +6424,9 @@ declare global {
6424
6424
  //#endregion
6425
6425
  //#region src/config/config-schema.d.ts
6426
6426
  declare const generateConfigSchema: ZodObject<{
6427
- target: ZodDefault<ZodUnion<readonly [ZodObject<{
6428
- tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6429
- offset: ZodOptional<ZodNumber>;
6430
- }, $strip>, ZodObject<{
6431
- prev: ZodUnion<readonly [ZodObject<{
6432
- tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6433
- offset: ZodOptional<ZodNumber>;
6434
- }, $strip>, ZodObject<{
6435
- commit: ZodString;
6436
- }, $strip>]>;
6437
- current: ZodUnion<readonly [ZodObject<{
6438
- tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6439
- offset: ZodOptional<ZodNumber>;
6440
- }, $strip>, ZodObject<{
6441
- commit: ZodString;
6442
- }, $strip>]>;
6443
- }, $strip>]>>;
6444
- model: ZodString;
6445
- steps: ZodOptional<ZodNumber>;
6446
6427
  apiUrl: ZodOptional<ZodString>;
6447
6428
  apiKeyEnv: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
6448
- provider: ZodDefault<ZodEnum<{
6429
+ provider: ZodDefault<ZodUnion<readonly [ZodEnum<{
6449
6430
  "@ai-sdk/openai": "@ai-sdk/openai";
6450
6431
  "@ai-sdk/openai-compatible": "@ai-sdk/openai-compatible";
6451
6432
  "@ai-sdk/anthropic": "@ai-sdk/anthropic";
@@ -6467,9 +6448,53 @@ declare const generateConfigSchema: ZodObject<{
6467
6448
  "@ai-sdk/luma": "@ai-sdk/luma";
6468
6449
  "@ai-sdk/baseten": "@ai-sdk/baseten";
6469
6450
  "@openrouter/ai-sdk-provider": "@openrouter/ai-sdk-provider";
6470
- }>>;
6451
+ "ollama-ai-provider-v2": "ollama-ai-provider-v2";
6452
+ "ai-sdk-ollama": "ai-sdk-ollama";
6453
+ "vercel-minimax-ai-provider": "vercel-minimax-ai-provider";
6454
+ "@aihubmix/ai-sdk-provider": "@aihubmix/ai-sdk-provider";
6455
+ "ai-gateway-provider": "ai-gateway-provider";
6456
+ "workers-ai-provider": "workers-ai-provider";
6457
+ "@friendliai/ai-provider": "@friendliai/ai-provider";
6458
+ "@helicone/ai-sdk-provider": "@helicone/ai-sdk-provider";
6459
+ "ai-sdk-provider-opencode-sdk": "ai-sdk-provider-opencode-sdk";
6460
+ "sambanova-ai-provider": "sambanova-ai-provider";
6461
+ "zhipu-ai-provider": "zhipu-ai-provider";
6462
+ }>, ZodObject<{
6463
+ npm: ZodString;
6464
+ import: ZodString;
6465
+ }, $strip>]>>;
6471
6466
  headers: ZodOptional<ZodRecord<ZodString, ZodString>>;
6472
6467
  options: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
6468
+ target: ZodDefault<ZodUnion<readonly [ZodObject<{
6469
+ tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6470
+ offset: ZodOptional<ZodNumber>;
6471
+ }, $strip>, ZodObject<{
6472
+ prev: ZodUnion<readonly [ZodObject<{
6473
+ tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6474
+ offset: ZodOptional<ZodNumber>;
6475
+ }, $strip>, ZodObject<{
6476
+ commit: ZodString;
6477
+ }, $strip>]>;
6478
+ current: ZodUnion<readonly [ZodObject<{
6479
+ tag: ZodUnion<[ZodString, ZodCustom<RegExp, RegExp>]>;
6480
+ offset: ZodOptional<ZodNumber>;
6481
+ }, $strip>, ZodObject<{
6482
+ commit: ZodString;
6483
+ }, $strip>]>;
6484
+ }, $strip>]>>;
6485
+ model: ZodString;
6486
+ temperature: ZodOptional<ZodNumber>;
6487
+ topP: ZodOptional<ZodNumber>;
6488
+ topK: ZodOptional<ZodNumber>;
6489
+ maxRetries: ZodOptional<ZodNumber>;
6490
+ maxOutputTokens: ZodOptional<ZodNumber>;
6491
+ toolChoice: ZodOptional<ZodEnum<{
6492
+ auto: "auto";
6493
+ none: "none";
6494
+ required: "required";
6495
+ }>>;
6496
+ steps: ZodOptional<ZodNumber>;
6497
+ instructions: ZodOptional<ZodString>;
6473
6498
  }, $strip>;
6474
6499
  //#endregion
6475
6500
  //#region src/generate/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as generateReleaseNote } from "./generate-DrcKRdlK.mjs";
1
+ import { t as generateReleaseNote } from "./generate-DZ0OZMmA.mjs";
2
2
  //#region src/index.ts
3
3
  var src_default = generateReleaseNote;
4
4
  const releaseNote = generateReleaseNote;
@@ -1,5 +1,5 @@
1
1
  import { t as __commonJSMin } from "./chunk-CNf5ZN-e.mjs";
2
- import { n as require_token_util, r as require_token_error } from "./generate-DrcKRdlK.mjs";
2
+ import { n as require_token_util, r as require_token_error } from "./generate-DZ0OZMmA.mjs";
3
3
  //#region node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
4
4
  var require_token = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
5
  var __defProp = Object.defineProperty;
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-Cek0wNdY.cjs");
2
- const require_generate = require("./generate-Co3HP4o3.cjs");
2
+ const require_generate = require("./generate-DqvDvd7k.cjs");
3
3
  //#region node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
4
4
  var require_token = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
5
5
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-note",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "scripts": {
5
5
  "lint": "eslint .",
6
6
  "lint:fix": "eslint . --fix",