release-note 0.0.10 → 0.0.11
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 +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/{dist-BxXUyPZ_.cjs → dist-C-uNE1fV.cjs} +1 -1
- package/dist/{dist-AHkiGHXL.mjs → dist-CJ4JvLiO.mjs} +1 -1
- package/dist/{generate-DZ0OZMmA.mjs → generate-BKA_YEI4.mjs} +4 -2
- package/dist/{generate-DqvDvd7k.cjs → generate-DpBCJM0i.cjs} +4 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -1
- package/dist/{token-RHOML3h4.cjs → token-BwdSCPuK.cjs} +1 -1
- package/dist/{token-Bs_vmcSy.mjs → token-CdhaRTqG.mjs} +1 -1
- package/package.json +1 -1
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-
|
|
3
|
+
const require_generate = require("./generate-DpBCJM0i.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-
|
|
2
|
+
import { C as resolveConfig, t as generateReleaseNote } from "./generate-BKA_YEI4.mjs";
|
|
3
3
|
import { EventEmitter } from "node:events";
|
|
4
4
|
import childProcess from "node:child_process";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.cjs");
|
|
2
|
-
const require_generate = require("./generate-
|
|
2
|
+
const require_generate = require("./generate-DpBCJM0i.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());
|
|
@@ -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-
|
|
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-BKA_YEI4.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());
|
|
@@ -13999,6 +13999,7 @@ const generateConfigSchema = object$1({
|
|
|
13999
13999
|
temperature: number$1().min(0).max(1).optional(),
|
|
14000
14000
|
topP: number$1().min(0).max(1).optional(),
|
|
14001
14001
|
topK: number$1().optional(),
|
|
14002
|
+
timeout: number$1().int().min(0).optional(),
|
|
14002
14003
|
maxRetries: number$1().int().min(0).optional(),
|
|
14003
14004
|
maxOutputTokens: number$1().int().min(1).optional(),
|
|
14004
14005
|
toolChoice: _enum([
|
|
@@ -14058,7 +14059,7 @@ async function resolveProvider(provider, options) {
|
|
|
14058
14059
|
if (provider === "@ai-sdk/openai-compatible") {
|
|
14059
14060
|
if (!providerOptions.baseURL) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
|
|
14060
14061
|
if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
|
|
14061
|
-
const { createOpenAICompatible } = await import("./dist-
|
|
14062
|
+
const { createOpenAICompatible } = await import("./dist-CJ4JvLiO.mjs");
|
|
14062
14063
|
return createOpenAICompatible({
|
|
14063
14064
|
name: provider,
|
|
14064
14065
|
...providerOptions,
|
|
@@ -19948,7 +19949,7 @@ var require_get_vercel_oidc_token = /* @__PURE__ */ __commonJSMin(((exports, mod
|
|
|
19948
19949
|
err = error;
|
|
19949
19950
|
}
|
|
19950
19951
|
try {
|
|
19951
|
-
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ __toESM(require_token_util())), await import("./token-
|
|
19952
|
+
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ __toESM(require_token_util())), await import("./token-CdhaRTqG.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))]);
|
|
19952
19953
|
if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
|
|
19953
19954
|
await refreshToken(options);
|
|
19954
19955
|
token = getVercelOidcTokenSync();
|
|
@@ -30952,6 +30953,7 @@ async function generateReleaseNote(cwd, options) {
|
|
|
30952
30953
|
topK: options.topK,
|
|
30953
30954
|
maxRetries: options.maxRetries,
|
|
30954
30955
|
maxOutputTokens: options.maxOutputTokens,
|
|
30956
|
+
timeout: options.timeout,
|
|
30955
30957
|
toolChoice: options.toolChoice,
|
|
30956
30958
|
tools: generateTools(git, options.logger),
|
|
30957
30959
|
stopWhen: stepCountIs(steps),
|
|
@@ -14004,6 +14004,7 @@ const generateConfigSchema = object$1({
|
|
|
14004
14004
|
temperature: number$1().min(0).max(1).optional(),
|
|
14005
14005
|
topP: number$1().min(0).max(1).optional(),
|
|
14006
14006
|
topK: number$1().optional(),
|
|
14007
|
+
timeout: number$1().int().min(0).optional(),
|
|
14007
14008
|
maxRetries: number$1().int().min(0).optional(),
|
|
14008
14009
|
maxOutputTokens: number$1().int().min(1).optional(),
|
|
14009
14010
|
toolChoice: _enum([
|
|
@@ -14063,7 +14064,7 @@ async function resolveProvider(provider, options) {
|
|
|
14063
14064
|
if (provider === "@ai-sdk/openai-compatible") {
|
|
14064
14065
|
if (!providerOptions.baseURL) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
|
|
14065
14066
|
if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
|
|
14066
|
-
const { createOpenAICompatible } = await Promise.resolve().then(() => require("./dist-
|
|
14067
|
+
const { createOpenAICompatible } = await Promise.resolve().then(() => require("./dist-C-uNE1fV.cjs"));
|
|
14067
14068
|
return createOpenAICompatible({
|
|
14068
14069
|
name: provider,
|
|
14069
14070
|
...providerOptions,
|
|
@@ -19953,7 +19954,7 @@ var require_get_vercel_oidc_token = /* @__PURE__ */ require_chunk.__commonJSMin(
|
|
|
19953
19954
|
err = error;
|
|
19954
19955
|
}
|
|
19955
19956
|
try {
|
|
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-
|
|
19957
|
+
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-BwdSCPuK.cjs").default))]);
|
|
19957
19958
|
if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
|
|
19958
19959
|
await refreshToken(options);
|
|
19959
19960
|
token = getVercelOidcTokenSync();
|
|
@@ -30957,6 +30958,7 @@ async function generateReleaseNote(cwd, options) {
|
|
|
30957
30958
|
topK: options.topK,
|
|
30958
30959
|
maxRetries: options.maxRetries,
|
|
30959
30960
|
maxOutputTokens: options.maxOutputTokens,
|
|
30961
|
+
timeout: options.timeout,
|
|
30960
30962
|
toolChoice: options.toolChoice,
|
|
30961
30963
|
tools: generateTools(git, options.logger),
|
|
30962
30964
|
stopWhen: stepCountIs(steps),
|
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-
|
|
6
|
+
const require_generate = require("./generate-DpBCJM0i.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
|
@@ -6486,6 +6486,7 @@ declare const generateConfigSchema: ZodObject<{
|
|
|
6486
6486
|
temperature: ZodOptional<ZodNumber>;
|
|
6487
6487
|
topP: ZodOptional<ZodNumber>;
|
|
6488
6488
|
topK: ZodOptional<ZodNumber>;
|
|
6489
|
+
timeout: ZodOptional<ZodNumber>;
|
|
6489
6490
|
maxRetries: ZodOptional<ZodNumber>;
|
|
6490
6491
|
maxOutputTokens: ZodOptional<ZodNumber>;
|
|
6491
6492
|
toolChoice: ZodOptional<ZodEnum<{
|
package/dist/index.d.mts
CHANGED
|
@@ -6486,6 +6486,7 @@ declare const generateConfigSchema: ZodObject<{
|
|
|
6486
6486
|
temperature: ZodOptional<ZodNumber>;
|
|
6487
6487
|
topP: ZodOptional<ZodNumber>;
|
|
6488
6488
|
topK: ZodOptional<ZodNumber>;
|
|
6489
|
+
timeout: ZodOptional<ZodNumber>;
|
|
6489
6490
|
maxRetries: ZodOptional<ZodNumber>;
|
|
6490
6491
|
maxOutputTokens: ZodOptional<ZodNumber>;
|
|
6491
6492
|
toolChoice: ZodOptional<ZodEnum<{
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.cjs");
|
|
2
|
-
const require_generate = require("./generate-
|
|
2
|
+
const require_generate = require("./generate-DpBCJM0i.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;
|
|
@@ -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-
|
|
2
|
+
import { n as require_token_util, r as require_token_error } from "./generate-BKA_YEI4.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;
|