diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..f753849f3d7a0bf5531e61260def53c6b3489db5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts @@ -0,0 +1,3 @@ +export type JsonSchema7AnyType = {}; +export declare function parseAnyDef(): JsonSchema7AnyType; +//# sourceMappingURL=any.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..aa68968603485b834fe9a6a98697114c7b7b3ebb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"any.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/any.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,wBAAgB,WAAW,IAAI,kBAAkB,CAEhD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..587884c2f537f0f2d29072cc01432f82268a4ab8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts @@ -0,0 +1,3 @@ +export type JsonSchema7AnyType = {}; +export declare function parseAnyDef(): JsonSchema7AnyType; +//# sourceMappingURL=any.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..dcd23347c39aaa6fa4c933e48d6aca844b32969c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/any.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,wBAAgB,WAAW,IAAI,kBAAkB,CAEhD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js new file mode 100644 index 0000000000000000000000000000000000000000..b4d78a62363c032d35a7fcad50c1d6bfc4fd7789 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseAnyDef = parseAnyDef; +function parseAnyDef() { + return {}; +} +//# sourceMappingURL=any.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js.map new file mode 100644 index 0000000000000000000000000000000000000000..9dbc775ebc547805b72e5dca77ad954a3e1da7ff --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js.map @@ -0,0 +1 @@ +{"version":3,"file":"any.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/any.ts"],"names":[],"mappings":";;AAEA,kCAEC;AAFD,SAAgB,WAAW;IACzB,OAAO,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.mjs new file mode 100644 index 0000000000000000000000000000000000000000..082dc766151c6ead291696b645ad283d86c132af --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.mjs @@ -0,0 +1,4 @@ +export function parseAnyDef() { + return {}; +} +//# sourceMappingURL=any.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..4f0715d32c16129f4f88d97bb7f6cecf275137e8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"any.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/any.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,WAAW;IACzB,OAAO,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..efaaea3c58013b042d28b7ee29d90b47363f92d8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts @@ -0,0 +1,13 @@ +import { ZodArrayDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.mjs"; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7ArrayType = { + type: 'array'; + items?: JsonSchema7Type | undefined; + minItems?: number; + maxItems?: number; + errorMessages?: ErrorMessages; +}; +export declare function parseArrayDef(def: ZodArrayDef, refs: Refs): JsonSchema7ArrayType; +//# sourceMappingURL=array.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..7ee980461b695396489e4351ae81fe595fe40be2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"array.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/array.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAyB,MAAM,KAAK;OACjD,EAAE,aAAa,EAA6B;OAC5C,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;CAC9D,CAAC;AAEF,wBAAgB,aAAa,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,wBAsBzD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..af38f20486a58104bdeb54845cbdf5bd972aa83f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts @@ -0,0 +1,13 @@ +import { ZodArrayDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.js"; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export type JsonSchema7ArrayType = { + type: 'array'; + items?: JsonSchema7Type | undefined; + minItems?: number; + maxItems?: number; + errorMessages?: ErrorMessages; +}; +export declare function parseArrayDef(def: ZodArrayDef, refs: Refs): JsonSchema7ArrayType; +//# sourceMappingURL=array.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..68731b6eabaaf5932401eb09405a51688a3ade3e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/array.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAyB,MAAM,KAAK;OACjD,EAAE,aAAa,EAA6B;OAC5C,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;CAC9D,CAAC;AAEF,wBAAgB,aAAa,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,wBAsBzD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js new file mode 100644 index 0000000000000000000000000000000000000000..8d6cd25d04464fa3138b228236b5646b95c8bf2c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseArrayDef = parseArrayDef; +const zod_1 = require("zod"); +const errorMessages_1 = require("../errorMessages.js"); +const parseDef_1 = require("../parseDef.js"); +function parseArrayDef(def, refs) { + const res = { + type: 'array', + }; + if (def.type?._def?.typeName !== zod_1.ZodFirstPartyTypeKind.ZodAny) { + res.items = (0, parseDef_1.parseDef)(def.type._def, { + ...refs, + currentPath: [...refs.currentPath, 'items'], + }); + } + if (def.minLength) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minItems', def.minLength.value, def.minLength.message, refs); + } + if (def.maxLength) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maxItems', def.maxLength.value, def.maxLength.message, refs); + } + if (def.exactLength) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minItems', def.exactLength.value, def.exactLength.message, refs); + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maxItems', def.exactLength.value, def.exactLength.message, refs); + } + return res; +} +//# sourceMappingURL=array.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js.map new file mode 100644 index 0000000000000000000000000000000000000000..828753c4dcfe9b8801498510e93013e4716be2af --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js.map @@ -0,0 +1 @@ +{"version":3,"file":"array.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/array.ts"],"names":[],"mappings":";;AAaA,sCAsBC;AAnCD,6BAAyD;AACzD,uDAA4E;AAC5E,6CAAwD;AAWxD,SAAgB,aAAa,CAAC,GAAgB,EAAE,IAAU;IACxD,MAAM,GAAG,GAAyB;QAChC,IAAI,EAAE,OAAO;KACd,CAAC;IACF,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,KAAK,2BAAqB,CAAC,MAAM,EAAE,CAAC;QAC9D,GAAG,CAAC,KAAK,GAAG,IAAA,mBAAQ,EAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;YAClC,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;SAC5C,CAAC,CAAC;IACL,CAAC;IAED,IAAI,GAAG,CAAC,SAAS,EAAE,CAAC;QAClB,IAAA,yCAAyB,EAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;IACD,IAAI,GAAG,CAAC,SAAS,EAAE,CAAC;QAClB,IAAA,yCAAyB,EAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;IACD,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC;QACpB,IAAA,yCAAyB,EAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACjG,IAAA,yCAAyB,EAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACnG,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.mjs new file mode 100644 index 0000000000000000000000000000000000000000..599a1ab543d0e2768e6e6e08324f746fef37796c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.mjs @@ -0,0 +1,26 @@ +import { ZodFirstPartyTypeKind } from 'zod'; +import { setResponseValueAndErrors } from "../errorMessages.mjs"; +import { parseDef } from "../parseDef.mjs"; +export function parseArrayDef(def, refs) { + const res = { + type: 'array', + }; + if (def.type?._def?.typeName !== ZodFirstPartyTypeKind.ZodAny) { + res.items = parseDef(def.type._def, { + ...refs, + currentPath: [...refs.currentPath, 'items'], + }); + } + if (def.minLength) { + setResponseValueAndErrors(res, 'minItems', def.minLength.value, def.minLength.message, refs); + } + if (def.maxLength) { + setResponseValueAndErrors(res, 'maxItems', def.maxLength.value, def.maxLength.message, refs); + } + if (def.exactLength) { + setResponseValueAndErrors(res, 'minItems', def.exactLength.value, def.exactLength.message, refs); + setResponseValueAndErrors(res, 'maxItems', def.exactLength.value, def.exactLength.message, refs); + } + return res; +} +//# sourceMappingURL=array.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c112d0bf2a6c579d2ccdec619e697b9a4284c60d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"array.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/array.ts"],"names":[],"mappings":"OAAO,EAAe,qBAAqB,EAAE,MAAM,KAAK;OACjD,EAAiB,yBAAyB,EAAE;OAC5C,EAAmB,QAAQ,EAAE;AAWpC,MAAM,UAAU,aAAa,CAAC,GAAgB,EAAE,IAAU;IACxD,MAAM,GAAG,GAAyB;QAChC,IAAI,EAAE,OAAO;KACd,CAAC;IACF,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,KAAK,qBAAqB,CAAC,MAAM,EAAE,CAAC;QAC9D,GAAG,CAAC,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;YAClC,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;SAC5C,CAAC,CAAC;IACL,CAAC;IAED,IAAI,GAAG,CAAC,SAAS,EAAE,CAAC;QAClB,yBAAyB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;IACD,IAAI,GAAG,CAAC,SAAS,EAAE,CAAC;QAClB,yBAAyB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;IACD,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC;QACpB,yBAAyB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACjG,yBAAyB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACnG,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..17cd0fe5104115bf7815941c87dc3e31fd72eb8a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts @@ -0,0 +1,15 @@ +import { ZodBigIntDef } from 'zod'; +import { Refs } from "../Refs.mjs"; +import { ErrorMessages } from "../errorMessages.mjs"; +export type JsonSchema7BigintType = { + type: 'integer'; + format: 'int64'; + minimum?: BigInt; + exclusiveMinimum?: BigInt; + maximum?: BigInt; + exclusiveMaximum?: BigInt; + multipleOf?: BigInt; + errorMessage?: ErrorMessages; +}; +export declare function parseBigintDef(def: ZodBigIntDef, refs: Refs): JsonSchema7BigintType; +//# sourceMappingURL=bigint.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..9bf3424ff01a7e929ead6dd4aa0ad8d477334f83 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"bigint.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/bigint.ts"],"names":[],"mappings":"OAAO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAE,IAAI,EAAE;OACR,EAAE,aAAa,EAA6B;AAEnD,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CACrD,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CA4CnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a029808e6516ff4332859d811ffbf3a9e916b0b7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts @@ -0,0 +1,15 @@ +import { ZodBigIntDef } from 'zod'; +import { Refs } from "../Refs.js"; +import { ErrorMessages } from "../errorMessages.js"; +export type JsonSchema7BigintType = { + type: 'integer'; + format: 'int64'; + minimum?: BigInt; + exclusiveMinimum?: BigInt; + maximum?: BigInt; + exclusiveMaximum?: BigInt; + multipleOf?: BigInt; + errorMessage?: ErrorMessages; +}; +export declare function parseBigintDef(def: ZodBigIntDef, refs: Refs): JsonSchema7BigintType; +//# sourceMappingURL=bigint.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..007b306ecbd9760aac505f48221481efea2966e3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bigint.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/bigint.ts"],"names":[],"mappings":"OAAO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAE,IAAI,EAAE;OACR,EAAE,aAAa,EAA6B;AAEnD,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CACrD,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CA4CnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js new file mode 100644 index 0000000000000000000000000000000000000000..ce53d22bb1d5e0f73b7ec98088d5c05665da327c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js @@ -0,0 +1,53 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseBigintDef = parseBigintDef; +const errorMessages_1 = require("../errorMessages.js"); +function parseBigintDef(def, refs) { + const res = { + type: 'integer', + format: 'int64', + }; + if (!def.checks) + return res; + for (const check of def.checks) { + switch (check.kind) { + case 'min': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minimum', check.value, check.message, refs); + } + else { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'exclusiveMinimum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMinimum = true; + } + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minimum', check.value, check.message, refs); + } + break; + case 'max': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maximum', check.value, check.message, refs); + } + else { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'exclusiveMaximum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMaximum = true; + } + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maximum', check.value, check.message, refs); + } + break; + case 'multipleOf': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'multipleOf', check.value, check.message, refs); + break; + } + } + return res; +} +//# sourceMappingURL=bigint.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js.map new file mode 100644 index 0000000000000000000000000000000000000000..cf1fabedefc4292382d5c9567695516cd7b40c4e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bigint.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/bigint.ts"],"names":[],"mappings":";;AAeA,wCA4CC;AAzDD,uDAA4E;AAa5E,SAAgB,cAAc,CAAC,GAAiB,EAAE,IAAU;IAC1D,MAAM,GAAG,GAA0B;QACjC,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,OAAO;KAChB,CAAC;IAEF,IAAI,CAAC,GAAG,CAAC,MAAM;QAAE,OAAO,GAAG,CAAC;IAE5B,KAAK,MAAM,KAAK,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QAC/B,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,KAAK;gBACR,IAAI,IAAI,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;oBAClC,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;wBACpB,IAAA,yCAAyB,EAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;yBAAM,CAAC;wBACN,IAAA,yCAAyB,EAAC,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBACvF,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;wBACrB,GAAG,CAAC,gBAAgB,GAAG,IAAW,CAAC;oBACrC,CAAC;oBACD,IAAA,yCAAyB,EAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC9E,CAAC;gBACD,MAAM;YACR,KAAK,KAAK;gBACR,IAAI,IAAI,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;oBAClC,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;wBACpB,IAAA,yCAAyB,EAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;yBAAM,CAAC;wBACN,IAAA,yCAAyB,EAAC,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBACvF,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;wBACrB,GAAG,CAAC,gBAAgB,GAAG,IAAW,CAAC;oBACrC,CAAC;oBACD,IAAA,yCAAyB,EAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC9E,CAAC;gBACD,MAAM;YACR,KAAK,YAAY;gBACf,IAAA,yCAAyB,EAAC,GAAG,EAAE,YAAY,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC/E,MAAM;QACV,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.mjs new file mode 100644 index 0000000000000000000000000000000000000000..1275b3dc1c29c280d2203e64f21adb19b53cc8ec --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.mjs @@ -0,0 +1,50 @@ +import { setResponseValueAndErrors } from "../errorMessages.mjs"; +export function parseBigintDef(def, refs) { + const res = { + type: 'integer', + format: 'int64', + }; + if (!def.checks) + return res; + for (const check of def.checks) { + switch (check.kind) { + case 'min': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + setResponseValueAndErrors(res, 'minimum', check.value, check.message, refs); + } + else { + setResponseValueAndErrors(res, 'exclusiveMinimum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMinimum = true; + } + setResponseValueAndErrors(res, 'minimum', check.value, check.message, refs); + } + break; + case 'max': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + setResponseValueAndErrors(res, 'maximum', check.value, check.message, refs); + } + else { + setResponseValueAndErrors(res, 'exclusiveMaximum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMaximum = true; + } + setResponseValueAndErrors(res, 'maximum', check.value, check.message, refs); + } + break; + case 'multipleOf': + setResponseValueAndErrors(res, 'multipleOf', check.value, check.message, refs); + break; + } + } + return res; +} +//# sourceMappingURL=bigint.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..0e5cbfdaf737fca9e30dd3ebdbadfd5539ff36aa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.mjs.map @@ -0,0 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AAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;yBAAM,CAAC;wBACN,yBAAyB,CAAC,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBACvF,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;wBACrB,GAAG,CAAC,gBAAgB,GAAG,IAAW,CAAC;oBACrC,CAAC;oBACD,yBAAyB,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC9E,CAAC;gBACD,MAAM;YACR,KAAK,YAAY;gBACf,yBAAyB,CAAC,GAAG,EAAE,YAAY,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC/E,MAAM;QACV,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..76c60658a50dcf4164ed95dfd70ba13af0d7dd85 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts @@ -0,0 +1,5 @@ +export type JsonSchema7BooleanType = { + type: 'boolean'; +}; +export declare function parseBooleanDef(): JsonSchema7BooleanType; +//# sourceMappingURL=boolean.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0ed153fc48156ac9cb7f884a13ca635834f51eef --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"boolean.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/boolean.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,wBAAgB,eAAe,IAAI,sBAAsB,CAIxD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7de6510ebb0b6252df42d932a1a9c4ac77d39aad --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts @@ -0,0 +1,5 @@ +export type JsonSchema7BooleanType = { + type: 'boolean'; +}; +export declare function parseBooleanDef(): JsonSchema7BooleanType; +//# sourceMappingURL=boolean.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ac0a8f2d9bcc3c684280dec67144ba888590b473 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"boolean.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/boolean.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,wBAAgB,eAAe,IAAI,sBAAsB,CAIxD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js new file mode 100644 index 0000000000000000000000000000000000000000..a00ee7988e7e79bd324d187e8226516a87cd7c6c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseBooleanDef = parseBooleanDef; +function parseBooleanDef() { + return { + type: 'boolean', + }; +} +//# sourceMappingURL=boolean.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0966bc61862b37447401b317514b6e4a5b4453c7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js.map @@ -0,0 +1 @@ +{"version":3,"file":"boolean.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/boolean.ts"],"names":[],"mappings":";;AAIA,0CAIC;AAJD,SAAgB,eAAe;IAC7B,OAAO;QACL,IAAI,EAAE,SAAS;KAChB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.mjs new file mode 100644 index 0000000000000000000000000000000000000000..3f3ee5a039ee06e2554e0ce488da17009ba543ee --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.mjs @@ -0,0 +1,6 @@ +export function parseBooleanDef() { + return { + type: 'boolean', + }; +} +//# sourceMappingURL=boolean.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..574a99afde81ff05316694a6824fb30e0c9e6773 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"boolean.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/boolean.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,eAAe;IAC7B,OAAO;QACL,IAAI,EAAE,SAAS;KAChB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d4c68de9927a5e72ce5aa285e9e17f585a4068bd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts @@ -0,0 +1,4 @@ +import { ZodBrandedDef } from 'zod'; +import { Refs } from "../Refs.mjs"; +export declare function parseBrandedDef(_def: ZodBrandedDef, refs: Refs): import("../parseDef").JsonSchema7Type | undefined; +//# sourceMappingURL=branded.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..85b570f758c5941dea0b15efc5647601bfc6883d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"branded.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/branded.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAE5B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,qDAEnE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..298ebc5778b8a322982445bd8ac1a8028a27285c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts @@ -0,0 +1,4 @@ +import { ZodBrandedDef } from 'zod'; +import { Refs } from "../Refs.js"; +export declare function parseBrandedDef(_def: ZodBrandedDef, refs: Refs): import("../parseDef").JsonSchema7Type | undefined; +//# sourceMappingURL=branded.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f10f3f1d13e49ac072673015d0f3c8ab8eeb2cb0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"branded.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/branded.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAE5B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,qDAEnE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js new file mode 100644 index 0000000000000000000000000000000000000000..915aed64521fec051ac1ab91c55ffd87179c18e7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseBrandedDef = parseBrandedDef; +const parseDef_1 = require("../parseDef.js"); +function parseBrandedDef(_def, refs) { + return (0, parseDef_1.parseDef)(_def.type._def, refs); +} +//# sourceMappingURL=branded.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js.map new file mode 100644 index 0000000000000000000000000000000000000000..6de373d1ca4511558b72a83f038193ca86c5fb9f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js.map @@ -0,0 +1 @@ +{"version":3,"file":"branded.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/branded.ts"],"names":[],"mappings":";;AAIA,0CAEC;AALD,6CAAuC;AAGvC,SAAgB,eAAe,CAAC,IAAwB,EAAE,IAAU;IAClE,OAAO,IAAA,mBAAQ,EAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.mjs new file mode 100644 index 0000000000000000000000000000000000000000..fcd6d3e2f5631c09544f27cdaf36816e94ba0c78 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.mjs @@ -0,0 +1,5 @@ +import { parseDef } from "../parseDef.mjs"; +export function parseBrandedDef(_def, refs) { + return parseDef(_def.type._def, refs); +} +//# sourceMappingURL=branded.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..4520f5f5fbc4ef0c43de7c3c85e3e0d1840cfd1d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"branded.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/branded.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,EAAE;AAGnB,MAAM,UAAU,eAAe,CAAC,IAAwB,EAAE,IAAU;IAClE,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d2e3169ff6fa310a508b6910b03393f3042424a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts @@ -0,0 +1,4 @@ +import { ZodCatchDef } from 'zod'; +import { Refs } from "../Refs.mjs"; +export declare const parseCatchDef: (def: ZodCatchDef, refs: Refs) => import("../parseDef").JsonSchema7Type | undefined; +//# sourceMappingURL=catch.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..2a429a5e38e3c6245e05fd58da0e3159fd4800cd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"catch.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/catch.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,KAAK;OAE1B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,aAAa,GAAI,KAAK,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,IAAI,sDAE9D,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..055b593e188b23376453456a2f35c657325d300d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts @@ -0,0 +1,4 @@ +import { ZodCatchDef } from 'zod'; +import { Refs } from "../Refs.js"; +export declare const parseCatchDef: (def: ZodCatchDef, refs: Refs) => import("../parseDef").JsonSchema7Type | undefined; +//# sourceMappingURL=catch.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..8dec830b376d800e0758fee4617314c9c2abd1ce --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/catch.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,KAAK;OAE1B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,aAAa,GAAI,KAAK,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,IAAI,sDAE9D,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js new file mode 100644 index 0000000000000000000000000000000000000000..79aa9baa2c03106e49775709512622b60402079d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseCatchDef = void 0; +const parseDef_1 = require("../parseDef.js"); +const parseCatchDef = (def, refs) => { + return (0, parseDef_1.parseDef)(def.innerType._def, refs); +}; +exports.parseCatchDef = parseCatchDef; +//# sourceMappingURL=catch.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js.map new file mode 100644 index 0000000000000000000000000000000000000000..680a799cf1ea5b376578b6600893bc7b64a067c1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"catch.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/catch.ts"],"names":[],"mappings":";;;AACA,6CAAuC;AAGhC,MAAM,aAAa,GAAG,CAAC,GAAqB,EAAE,IAAU,EAAE,EAAE;IACjE,OAAO,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC;AAFW,QAAA,aAAa,iBAExB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ac7abd582a9fb30c4d619beaa48da94ac70a795c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.mjs @@ -0,0 +1,5 @@ +import { parseDef } from "../parseDef.mjs"; +export const parseCatchDef = (def, refs) => { + return parseDef(def.innerType._def, refs); +}; +//# sourceMappingURL=catch.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..381272034e32d60e126c87601432f8a67616c00d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"catch.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/catch.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,EAAE;AAGnB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAqB,EAAE,IAAU,EAAE,EAAE;IACjE,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a63bd055e35146cf24296ffcbe2af535c4378681 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts @@ -0,0 +1,16 @@ +import { ZodDateDef } from 'zod'; +import { Refs } from "../Refs.mjs"; +import { ErrorMessages } from "../errorMessages.mjs"; +import { JsonSchema7NumberType } from "./number.mjs"; +import { DateStrategy } from "../Options.mjs"; +export type JsonSchema7DateType = { + type: 'integer' | 'string'; + format: 'unix-time' | 'date-time' | 'date'; + minimum?: number; + maximum?: number; + errorMessage?: ErrorMessages; +} | { + anyOf: JsonSchema7DateType[]; +}; +export declare function parseDateDef(def: ZodDateDef, refs: Refs, overrideDateStrategy?: DateStrategy): JsonSchema7DateType; +//# sourceMappingURL=date.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..2091248f17313b1a9e9ee7196d64b96d5a8da58d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"date.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/date.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,KAAK;OACzB,EAAE,IAAI,EAAE;OACR,EAAE,aAAa,EAA6B;OAC5C,EAAE,qBAAqB,EAAE;OACzB,EAAE,YAAY,EAAE;AAEvB,MAAM,MAAM,mBAAmB,GAC3B;IACE,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC3B,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CACrD,GACD;IACE,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B,CAAC;AAEN,wBAAgB,YAAY,CAC1B,GAAG,EAAE,UAAU,EACf,IAAI,EAAE,IAAI,EACV,oBAAoB,CAAC,EAAE,YAAY,GAClC,mBAAmB,CAwBrB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1361f22148cc8766d68558c77ebe74608b8d9db5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts @@ -0,0 +1,16 @@ +import { ZodDateDef } from 'zod'; +import { Refs } from "../Refs.js"; +import { ErrorMessages } from "../errorMessages.js"; +import { JsonSchema7NumberType } from "./number.js"; +import { DateStrategy } from "../Options.js"; +export type JsonSchema7DateType = { + type: 'integer' | 'string'; + format: 'unix-time' | 'date-time' | 'date'; + minimum?: number; + maximum?: number; + errorMessage?: ErrorMessages; +} | { + anyOf: JsonSchema7DateType[]; +}; +export declare function parseDateDef(def: ZodDateDef, refs: Refs, overrideDateStrategy?: DateStrategy): JsonSchema7DateType; +//# sourceMappingURL=date.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..13622f96ebe82850de26dc6cd74322ce7896f487 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/date.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,KAAK;OACzB,EAAE,IAAI,EAAE;OACR,EAAE,aAAa,EAA6B;OAC5C,EAAE,qBAAqB,EAAE;OACzB,EAAE,YAAY,EAAE;AAEvB,MAAM,MAAM,mBAAmB,GAC3B;IACE,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC3B,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CACrD,GACD;IACE,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B,CAAC;AAEN,wBAAgB,YAAY,CAC1B,GAAG,EAAE,UAAU,EACf,IAAI,EAAE,IAAI,EACV,oBAAoB,CAAC,EAAE,YAAY,GAClC,mBAAmB,CAwBrB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js new file mode 100644 index 0000000000000000000000000000000000000000..dbd21c29b0ec7e9cf2bcccfb07de5e2e52fedbdb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js @@ -0,0 +1,50 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseDateDef = parseDateDef; +const errorMessages_1 = require("../errorMessages.js"); +function parseDateDef(def, refs, overrideDateStrategy) { + const strategy = overrideDateStrategy ?? refs.dateStrategy; + if (Array.isArray(strategy)) { + return { + anyOf: strategy.map((item, i) => parseDateDef(def, refs, item)), + }; + } + switch (strategy) { + case 'string': + case 'format:date-time': + return { + type: 'string', + format: 'date-time', + }; + case 'format:date': + return { + type: 'string', + format: 'date', + }; + case 'integer': + return integerDateParser(def, refs); + } +} +const integerDateParser = (def, refs) => { + const res = { + type: 'integer', + format: 'unix-time', + }; + if (refs.target === 'openApi3') { + return res; + } + for (const check of def.checks) { + switch (check.kind) { + case 'min': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minimum', check.value, // This is in milliseconds + check.message, refs); + break; + case 'max': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maximum', check.value, // This is in milliseconds + check.message, refs); + break; + } + } + return res; +}; +//# sourceMappingURL=date.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js.map new file mode 100644 index 0000000000000000000000000000000000000000..3b7d22c2a39d3b1ba2967c6d6e7642fd2f39e9f8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js.map @@ -0,0 +1 @@ +{"version":3,"file":"date.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/date.ts"],"names":[],"mappings":";;AAkBA,oCA4BC;AA5CD,uDAA4E;AAgB5E,SAAgB,YAAY,CAC1B,GAAe,EACf,IAAU,EACV,oBAAmC;IAEnC,MAAM,QAAQ,GAAG,oBAAoB,IAAI,IAAI,CAAC,YAAY,CAAC;IAE3D,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC5B,OAAO;YACL,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;SAChE,CAAC;IACJ,CAAC;IAED,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,QAAQ,CAAC;QACd,KAAK,kBAAkB;YACrB,OAAO;gBACL,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,WAAW;aACpB,CAAC;QACJ,KAAK,aAAa;YAChB,OAAO;gBACL,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,MAAM;aACf,CAAC;QACJ,KAAK,SAAS;YACZ,OAAO,iBAAiB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;AACH,CAAC;AAED,MAAM,iBAAiB,GAAG,CAAC,GAAe,EAAE,IAAU,EAAE,EAAE;IACxD,MAAM,GAAG,GAAwB;QAC/B,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,WAAW;KACpB,CAAC;IAEF,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAC/B,OAAO,GAAG,CAAC;IACb,CAAC;IAED,KAAK,MAAM,KAAK,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QAC/B,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,KAAK;gBACR,IAAA,yCAAyB,EACvB,GAAG,EACH,SAAS,EACT,KAAK,CAAC,KAAK,EAAE,0BAA0B;gBACvC,KAAK,CAAC,OAAO,EACb,IAAI,CACL,CAAC;gBACF,MAAM;YACR,KAAK,KAAK;gBACR,IAAA,yCAAyB,EACvB,GAAG,EACH,SAAS,EACT,KAAK,CAAC,KAAK,EAAE,0BAA0B;gBACvC,KAAK,CAAC,OAAO,EACb,IAAI,CACL,CAAC;gBACF,MAAM;QACV,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.mjs new file mode 100644 index 0000000000000000000000000000000000000000..640bb004873d9b75c7909b45a8e186755ea13416 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.mjs @@ -0,0 +1,47 @@ +import { setResponseValueAndErrors } from "../errorMessages.mjs"; +export function parseDateDef(def, refs, overrideDateStrategy) { + const strategy = overrideDateStrategy ?? refs.dateStrategy; + if (Array.isArray(strategy)) { + return { + anyOf: strategy.map((item, i) => parseDateDef(def, refs, item)), + }; + } + switch (strategy) { + case 'string': + case 'format:date-time': + return { + type: 'string', + format: 'date-time', + }; + case 'format:date': + return { + type: 'string', + format: 'date', + }; + case 'integer': + return integerDateParser(def, refs); + } +} +const integerDateParser = (def, refs) => { + const res = { + type: 'integer', + format: 'unix-time', + }; + if (refs.target === 'openApi3') { + return res; + } + for (const check of def.checks) { + switch (check.kind) { + case 'min': + setResponseValueAndErrors(res, 'minimum', check.value, // This is in milliseconds + check.message, refs); + break; + case 'max': + setResponseValueAndErrors(res, 'maximum', check.value, // This is in milliseconds + check.message, refs); + break; + } + } + return res; +}; +//# sourceMappingURL=date.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..3e9eec4b82714ba99049e27ad6bc03435c9bed73 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"date.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/date.ts"],"names":[],"mappings":"OAEO,EAAiB,yBAAyB,EAAE;AAgBnD,MAAM,UAAU,YAAY,CAC1B,GAAe,EACf,IAAU,EACV,oBAAmC;IAEnC,MAAM,QAAQ,GAAG,oBAAoB,IAAI,IAAI,CAAC,YAAY,CAAC;IAE3D,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC5B,OAAO;YAC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eth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..e31d86917ffa7ccf2eeb985795bdc8760afe0e4d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts @@ -0,0 +1,7 @@ +import { ZodDefaultDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export declare function parseDefaultDef(_def: ZodDefaultDef, refs: Refs): JsonSchema7Type & { + default: any; +}; +//# sourceMappingURL=default.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c0ce84c33fa4a581824b1ef7c915e44fa69f0c9c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"default.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/default.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,eAAe,GAAG;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,CAKnG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b572a7b961de2442ffd0129a91082ffdae1ed45f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts @@ -0,0 +1,7 @@ +import { ZodDefaultDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export declare function parseDefaultDef(_def: ZodDefaultDef, refs: Refs): JsonSchema7Type & { + default: any; +}; +//# sourceMappingURL=default.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3615815f51d5dba1d00611901caf35b80752a16b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/default.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,eAAe,GAAG;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,CAKnG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js new file mode 100644 index 0000000000000000000000000000000000000000..f03447e35ae100e0fcc1c1017aaedce154fa670f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseDefaultDef = parseDefaultDef; +const parseDef_1 = require("../parseDef.js"); +function parseDefaultDef(_def, refs) { + return { + ...(0, parseDef_1.parseDef)(_def.innerType._def, refs), + default: _def.defaultValue(), + }; +} +//# sourceMappingURL=default.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js.map new file mode 100644 index 0000000000000000000000000000000000000000..57c54b3ddad04ba87cfa53aae0a33a21c4333136 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js.map @@ -0,0 +1 @@ +{"version":3,"file":"default.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/default.ts"],"names":[],"mappings":";;AAIA,0CAKC;AARD,6CAAwD;AAGxD,SAAgB,eAAe,CAAC,IAAmB,EAAE,IAAU;IAC7D,OAAO;QACL,GAAG,IAAA,mBAAQ,EAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;QACtC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE;KAC7B,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.mjs new file mode 100644 index 0000000000000000000000000000000000000000..446639deb5757e71811678f1862033fba4b27c60 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.mjs @@ -0,0 +1,8 @@ +import { parseDef } from "../parseDef.mjs"; +export function parseDefaultDef(_def, refs) { + return { + ...parseDef(_def.innerType._def, refs), + default: _def.defaultValue(), + }; +} +//# sourceMappingURL=default.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..6b0a172b70fba58e06cb4ee7695f3f320eadee56 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"default.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/default.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAGpC,MAAM,UAAU,eAAe,CAAC,IAAmB,EAAE,IAAU;IAC7D,OAAO;QACL,GAAG,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;QACtC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE;KAC7B,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..4b4c0b2c97769567b4ddb5eb496b64f28a9f4249 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts @@ -0,0 +1,5 @@ +import { ZodEffectsDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export declare function parseEffectsDef(_def: ZodEffectsDef, refs: Refs, forceResolution: boolean): JsonSchema7Type | undefined; +//# sourceMappingURL=effects.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..85e43b292319f93bc44613013632545175e9b3d3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"effects.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/effects.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAC7B,IAAI,EAAE,aAAa,EACnB,IAAI,EAAE,IAAI,EACV,eAAe,EAAE,OAAO,GACvB,eAAe,GAAG,SAAS,CAE7B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7b319703a032cf1cef0356bedce95af767536eb0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts @@ -0,0 +1,5 @@ +import { ZodEffectsDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export declare function parseEffectsDef(_def: ZodEffectsDef, refs: Refs, forceResolution: boolean): JsonSchema7Type | undefined; +//# sourceMappingURL=effects.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6e18ab185ad778319a7da1f97da9785db195214a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/effects.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAC7B,IAAI,EAAE,aAAa,EACnB,IAAI,EAAE,IAAI,EACV,eAAe,EAAE,OAAO,GACvB,eAAe,GAAG,SAAS,CAE7B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js new file mode 100644 index 0000000000000000000000000000000000000000..14687e886c35065bbc36973d5a8fe7f60e8d068a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseEffectsDef = parseEffectsDef; +const parseDef_1 = require("../parseDef.js"); +function parseEffectsDef(_def, refs, forceResolution) { + return refs.effectStrategy === 'input' ? (0, parseDef_1.parseDef)(_def.schema._def, refs, forceResolution) : {}; +} +//# sourceMappingURL=effects.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js.map new file mode 100644 index 0000000000000000000000000000000000000000..e6629e82d368d1477ac7e7cfa7b523b8bf0ca80d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js.map @@ -0,0 +1 @@ +{"version":3,"file":"effects.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/effects.ts"],"names":[],"mappings":";;AAIA,0CAMC;AATD,6CAAwD;AAGxD,SAAgB,eAAe,CAC7B,IAAmB,EACnB,IAAU,EACV,eAAwB;IAExB,OAAO,IAAI,CAAC,cAAc,KAAK,OAAO,CAAC,CAAC,CAAC,IAAA,mBAAQ,EAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAClG,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.mjs new file mode 100644 index 0000000000000000000000000000000000000000..fdff42c0df7c460c677ae406a7d848fe0c47c05b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.mjs @@ -0,0 +1,5 @@ +import { parseDef } from "../parseDef.mjs"; +export function parseEffectsDef(_def, refs, forceResolution) { + return refs.effectStrategy === 'input' ? parseDef(_def.schema._def, refs, forceResolution) : {}; +} +//# sourceMappingURL=effects.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..56fa6bbd711dfd2d164309aee6a04bc1747bf180 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"effects.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/effects.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAGpC,MAAM,UAAU,eAAe,CAC7B,IAAmB,EACnB,IAAU,EACV,eAAwB;IAExB,OAAO,IAAI,CAAC,cAAc,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAClG,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..e67e6149ef7c5295267cb4ac25fed882a960b97e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts @@ -0,0 +1,7 @@ +import { ZodEnumDef } from 'zod'; +export type JsonSchema7EnumType = { + type: 'string'; + enum: string[]; +}; +export declare function parseEnumDef(def: ZodEnumDef): JsonSchema7EnumType; +//# sourceMappingURL=enum.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..26c3120e51717190059b541a309e1ba34c482f00 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"enum.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/enum.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,KAAK;AAEhC,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,mBAAmB,CAKjE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2a9f4f8bd459ba828139c440b22149eb604603cb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts @@ -0,0 +1,7 @@ +import { ZodEnumDef } from 'zod'; +export type JsonSchema7EnumType = { + type: 'string'; + enum: string[]; +}; +export declare function parseEnumDef(def: ZodEnumDef): JsonSchema7EnumType; +//# sourceMappingURL=enum.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..aabfb27158ad618759d6bde2f047436bf8c0a97b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/enum.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,KAAK;AAEhC,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,mBAAmB,CAKjE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js new file mode 100644 index 0000000000000000000000000000000000000000..45050bfa3fa00756733115c3b2d6bf925f6da132 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseEnumDef = parseEnumDef; +function parseEnumDef(def) { + return { + type: 'string', + enum: [...def.values], + }; +} +//# sourceMappingURL=enum.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js.map new file mode 100644 index 0000000000000000000000000000000000000000..76ea8963d72488fa3fc9e755ffe513f8e6a1346c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js.map @@ -0,0 +1 @@ +{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/enum.ts"],"names":[],"mappings":";;AAOA,oCAKC;AALD,SAAgB,YAAY,CAAC,GAAe;IAC1C,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;KACtB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.mjs new file mode 100644 index 0000000000000000000000000000000000000000..7c4dd29c50b4258b24d85abe3966b19688abb33e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.mjs @@ -0,0 +1,7 @@ +export function parseEnumDef(def) { + return { + type: 'string', + enum: [...def.values], + }; +} +//# sourceMappingURL=enum.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c0387056f891bde984b3ffd58a1b4cdc8cc1a898 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"enum.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/enum.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,YAAY,CAAC,GAAe;IAC1C,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;KACtB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..0fd3a84c489f03121349b946cd37826f02021631 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts @@ -0,0 +1,9 @@ +import { ZodIntersectionDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7AllOfType = { + allOf: JsonSchema7Type[]; + unevaluatedProperties?: boolean; +}; +export declare function parseIntersectionDef(def: ZodIntersectionDef, refs: Refs): JsonSchema7AllOfType | JsonSchema7Type | undefined; +//# sourceMappingURL=intersection.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8e2042d461d97f99c67850c7a692168933e9cd7c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"intersection.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/intersection.ts"],"names":[],"mappings":"OAAO,EAAE,kBAAkB,EAAE,MAAM,KAAK;OACjC,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAGf,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AASF,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,kBAAkB,EACvB,IAAI,EAAE,IAAI,GACT,oBAAoB,GAAG,eAAe,GAAG,SAAS,CA2CpD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b7be6199c0fc8e5dd6f1c71e946f2d33ab3624ff --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts @@ -0,0 +1,9 @@ +import { ZodIntersectionDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export type JsonSchema7AllOfType = { + allOf: JsonSchema7Type[]; + unevaluatedProperties?: boolean; +}; +export declare function parseIntersectionDef(def: ZodIntersectionDef, refs: Refs): JsonSchema7AllOfType | JsonSchema7Type | undefined; +//# sourceMappingURL=intersection.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d05ae0f1dcadb165a13ad22e90d8ef5b4c8b69f4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"intersection.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/intersection.ts"],"names":[],"mappings":"OAAO,EAAE,kBAAkB,EAAE,MAAM,KAAK;OACjC,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAGf,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AASF,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,kBAAkB,EACvB,IAAI,EAAE,IAAI,GACT,oBAAoB,GAAG,eAAe,GAAG,SAAS,CA2CpD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js new file mode 100644 index 0000000000000000000000000000000000000000..7bfa6792f92b7343bf78d9d375bd80ce22037693 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js @@ -0,0 +1,53 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseIntersectionDef = parseIntersectionDef; +const parseDef_1 = require("../parseDef.js"); +const isJsonSchema7AllOfType = (type) => { + if ('type' in type && type.type === 'string') + return false; + return 'allOf' in type; +}; +function parseIntersectionDef(def, refs) { + const allOf = [ + (0, parseDef_1.parseDef)(def.left._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', '0'], + }), + (0, parseDef_1.parseDef)(def.right._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', '1'], + }), + ].filter((x) => !!x); + let unevaluatedProperties = refs.target === 'jsonSchema2019-09' ? { unevaluatedProperties: false } : undefined; + const mergedAllOf = []; + // If either of the schemas is an allOf, merge them into a single allOf + allOf.forEach((schema) => { + if (isJsonSchema7AllOfType(schema)) { + mergedAllOf.push(...schema.allOf); + if (schema.unevaluatedProperties === undefined) { + // If one of the schemas has no unevaluatedProperties set, + // the merged schema should also have no unevaluatedProperties set + unevaluatedProperties = undefined; + } + } + else { + let nestedSchema = schema; + if ('additionalProperties' in schema && schema.additionalProperties === false) { + const { additionalProperties, ...rest } = schema; + nestedSchema = rest; + } + else { + // As soon as one of the schemas has additionalProperties set not to false, we allow unevaluatedProperties + unevaluatedProperties = undefined; + } + mergedAllOf.push(nestedSchema); + } + }); + return mergedAllOf.length ? + { + allOf: mergedAllOf, + ...unevaluatedProperties, + } + : undefined; +} +//# sourceMappingURL=intersection.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js.map new file mode 100644 index 0000000000000000000000000000000000000000..40b04eeb152b3a2fe962bc67f4dd100c1b5c81c4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js.map @@ -0,0 +1 @@ +{"version":3,"file":"intersection.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/intersection.ts"],"names":[],"mappings":";;AAiBA,oDA8CC;AA9DD,6CAAwD;AASxD,MAAM,sBAAsB,GAAG,CAC7B,IAA6C,EACf,EAAE;IAChC,IAAI,MAAM,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC3D,OAAO,OAAO,IAAI,IAAI,CAAC;AACzB,CAAC,CAAC;AAEF,SAAgB,oBAAoB,CAClC,GAAuB,EACvB,IAAU;IAEV,MAAM,KAAK,GAAG;QACZ,IAAA,mBAAQ,EAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;YACtB,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;SACjD,CAAC;QACF,IAAA,mBAAQ,EAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YACvB,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,E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/zod-to-json-schema/parsers/intersection.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.mjs new file mode 100644 index 0000000000000000000000000000000000000000..c11f8390327067d312510e4f2c6652fb57556b0c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.mjs @@ -0,0 +1,50 @@ +import { parseDef } from "../parseDef.mjs"; +const isJsonSchema7AllOfType = (type) => { + if ('type' in type && type.type === 'string') + return false; + return 'allOf' in type; +}; +export function parseIntersectionDef(def, refs) { + const allOf = [ + parseDef(def.left._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', '0'], + }), + parseDef(def.right._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', '1'], + }), + ].filter((x) => !!x); + let unevaluatedProperties = refs.target === 'jsonSchema2019-09' ? { unevaluatedProperties: false } : undefined; + const mergedAllOf = []; + // If either of the schemas is an allOf, merge them into a single allOf + allOf.forEach((schema) => { + if (isJsonSchema7AllOfType(schema)) { + mergedAllOf.push(...schema.allOf); + if (schema.unevaluatedProperties === undefined) { + // If one of the schemas has no unevaluatedProperties set, + // the merged schema should also have no unevaluatedProperties set + unevaluatedProperties = undefined; + } + } + else { + let nestedSchema = schema; + if ('additionalProperties' in schema && schema.additionalProperties === false) { + const { additionalProperties, ...rest } = schema; + nestedSchema = rest; + } + else { + // As soon as one of the schemas has additionalProperties set not to false, we allow unevaluatedProperties + unevaluatedProperties = undefined; + } + mergedAllOf.push(nestedSchema); + } + }); + return mergedAllOf.length ? + { + allOf: mergedAllOf, + ...unevaluatedProperties, + } + : undefined; +} +//# sourceMappingURL=intersection.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..b2586b1ce616bf9285d2c18cf33bd6cffba87573 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"intersection.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/intersection.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AASpC,MAAM,sBAAsB,GAAG,CAC7B,IAA6C,EACf,EAAE;IAChC,IAAI,MAAM,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC3D,OAAO,OAAO,IAAI,IAAI,CAAC;AACzB,CAAC,CAAC;AAEF,MAAM,UAAU,oBAAoB,CAClC,GAAuB,EACvB,IAAU;IAEV,MAAM,KAAK,GAAG;QACZ,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;YACtB,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;SACjD,CAAC;QACF,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YACvB,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;SACjD,CAAC;KACH,CAAC,MAAM,CAAC,CAAC,CAAC,EAAwB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE3C,IAAI,qBAAqB,GACvB,IAAI,CAAC,MAAM,KAAK,mBAAmB,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAErF,MAAM,WAAW,GAAsB,EAAE,CAAC;IAC1C,uEAAuE;IACvE,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;QACvB,IAAI,sBAAsB,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,WAAW,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAClC,IAAI,MAAM,CAAC,qBAAqB,KAAK,SAAS,EAAE,CAAC;gBAC/C,0DAA0D;gBAC1D,kEAAkE;gBAClE,qBAAqB,GAAG,SAAS,CAAC;YACpC,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,YAAY,GAAoB,MAAM,CAAC;YAC3C,IAAI,sBAAsB,IAAI,MAAM,IAAI,MAAM,CAAC,oBAAoB,KAAK,KAAK,EAAE,CAAC;gBAC9E,MAAM,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;gBACjD,YAAY,GAAG,IAAI,CAAC;YACtB,CAAC;iBAAM,CAAC;gBACN,0GAA0G;gBAC1G,qBAAqB,GAAG,SAAS,CAAC;YACpC,CAAC;YACD,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjC,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;QACvB;YACE,KAAK,EAAE,WAAW;YAClB,GAAG,qBAAqB;SACzB;QACH,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..70ee430a6c93641e7ec095795bb2bdbfaaff1cff --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts @@ -0,0 +1,10 @@ +import { ZodLiteralDef } from 'zod'; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7LiteralType = { + type: 'string' | 'number' | 'integer' | 'boolean'; + const: string | number | boolean; +} | { + type: 'object' | 'array'; +}; +export declare function parseLiteralDef(def: ZodLiteralDef, refs: Refs): JsonSchema7LiteralType; +//# sourceMappingURL=literal.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..793c0f544544943dc497633824253a8a1c174ddd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"literal.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/literal.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,sBAAsB,GAC9B;IACE,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAClD,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CAClC,GACD;IACE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEN,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,sBAAsB,CAwBtF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..36b539e5bb9caf466aef3623ec57eec4f2f86a13 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts @@ -0,0 +1,10 @@ +import { ZodLiteralDef } from 'zod'; +import { Refs } from "../Refs.js"; +export type JsonSchema7LiteralType = { + type: 'string' | 'number' | 'integer' | 'boolean'; + const: string | number | boolean; +} | { + type: 'object' | 'array'; +}; +export declare function parseLiteralDef(def: ZodLiteralDef, refs: Refs): JsonSchema7LiteralType; +//# sourceMappingURL=literal.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6a2ada4116b884daa393b7ad4dcccb71447b1d92 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"literal.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/literal.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,sBAAsB,GAC9B;IACE,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAClD,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CAClC,GACD;IACE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEN,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,sBAAsB,CAwBtF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js new file mode 100644 index 0000000000000000000000000000000000000000..4c9139d5dc849485959c9b130a833477bbbf9a58 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js @@ -0,0 +1,25 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseLiteralDef = parseLiteralDef; +function parseLiteralDef(def, refs) { + const parsedType = typeof def.value; + if (parsedType !== 'bigint' && + parsedType !== 'number' && + parsedType !== 'boolean' && + parsedType !== 'string') { + return { + type: Array.isArray(def.value) ? 'array' : 'object', + }; + } + if (refs.target === 'openApi3') { + return { + type: parsedType === 'bigint' ? 'integer' : parsedType, + enum: [def.value], + }; + } + return { + type: parsedType === 'bigint' ? 'integer' : parsedType, + const: def.value, + }; +} +//# sourceMappingURL=literal.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js.map new file mode 100644 index 0000000000000000000000000000000000000000..4e2ed712a7cd8f22c6fd024aa9df3ccaeb523e2d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js.map @@ -0,0 +1 @@ +{"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/literal.ts"],"names":[],"mappings":";;AAYA,0CAwBC;AAxBD,SAAgB,eAAe,CAAC,GAAkB,EAAE,IAAU;IAC5D,MAAM,UAAU,GAAG,OAAO,GAAG,CAAC,KAAK,CAAC;IACpC,IACE,UAAU,KAAK,QAAQ;QACvB,UAAU,KAAK,QAAQ;QACvB,UAAU,KAAK,SAAS;QACxB,UAAU,KAAK,QAAQ,EACvB,CAAC;QACD,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;SACpD,CAAC;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAC/B,OAAO;YACL,IAAI,EAAE,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;YACtD,IAAI,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC;SACX,CAAC;IACX,CAAC;IAED,OAAO;QACL,IAAI,EAAE,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;QACtD,KAAK,EAAE,GAAG,CAAC,KAAK;KACjB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a8519728b35a07c8cdaf9cb46ddc1ae300c2f1f0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.mjs @@ -0,0 +1,22 @@ +export function parseLiteralDef(def, refs) { + const parsedType = typeof def.value; + if (parsedType !== 'bigint' && + parsedType !== 'number' && + parsedType !== 'boolean' && + parsedType !== 'string') { + return { + type: Array.isArray(def.value) ? 'array' : 'object', + }; + } + if (refs.target === 'openApi3') { + return { + type: parsedType === 'bigint' ? 'integer' : parsedType, + enum: [def.value], + }; + } + return { + type: parsedType === 'bigint' ? 'integer' : parsedType, + const: def.value, + }; +} +//# sourceMappingURL=literal.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..7d4f4f5266701fe3ad3ef0f84f98c0c3bf995347 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"literal.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/literal.ts"],"names":[],"mappings":"AAYA,MAAM,UAAU,eAAe,CAAC,GAAkB,EAAE,IAAU;IAC5D,MAAM,UAAU,GAAG,OAAO,GAAG,CAAC,KAAK,CAAC;IACpC,IACE,UAAU,KAAK,QAAQ;QACvB,UAAU,KAAK,QAAQ;QACvB,UAAU,KAAK,SAAS;QACxB,UAAU,KAAK,QAAQ,EACvB,CAAC;QACD,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;SACpD,CAAC;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAC/B,OAAO;YACL,IAAI,EAAE,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;YACtD,IAAI,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC;SACX,CAAC;IACX,CAAC;IAED,OAAO;QACL,IAAI,EAAE,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;QACtD,KAAK,EAAE,GAAG,CAAC,KAAK;KACjB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..272f293e548ccc546b2a8ac8b049f998a19bc939 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts @@ -0,0 +1,16 @@ +import { ZodMapDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +import { JsonSchema7RecordType } from "./record.mjs"; +export type JsonSchema7MapType = { + type: 'array'; + maxItems: 125; + items: { + type: 'array'; + items: [JsonSchema7Type, JsonSchema7Type]; + minItems: 2; + maxItems: 2; + }; +}; +export declare function parseMapDef(def: ZodMapDef, refs: Refs): JsonSchema7MapType | JsonSchema7RecordType; +//# sourceMappingURL=map.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..3176b4762db939eaafec9ad70521a9dceca1c428 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"map.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/map.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,KAAK;OACxB,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,qBAAqB,EAAkB;AAEhD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE,OAAO,CAAC;QACd,KAAK,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;QAC1C,QAAQ,EAAE,CAAC,CAAC;QACZ,QAAQ,EAAE,CAAC,CAAC;KACb,CAAC;CACH,CAAC;AAEF,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAG,kBAAkB,GAAG,qBAAqB,CAyBlG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3016f892d1b76edc40347824097d81f98704f9a4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts @@ -0,0 +1,16 @@ +import { ZodMapDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +import { JsonSchema7RecordType } from "./record.js"; +export type JsonSchema7MapType = { + type: 'array'; + maxItems: 125; + items: { + type: 'array'; + items: [JsonSchema7Type, JsonSchema7Type]; + minItems: 2; + maxItems: 2; + }; +}; +export declare function parseMapDef(def: ZodMapDef, refs: Refs): JsonSchema7MapType | JsonSchema7RecordType; +//# sourceMappingURL=map.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..1bf2b0b70e7704be03cc04ef32c6187e70915104 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/map.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,KAAK;OACxB,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,qBAAqB,EAAkB;AAEhD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE,OAAO,CAAC;QACd,KAAK,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;QAC1C,QAAQ,EAAE,CAAC,CAAC;QACZ,QAAQ,EAAE,CAAC,CAAC;KACb,CAAC;CACH,CAAC;AAEF,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAG,kBAAkB,GAAG,qBAAqB,CAyBlG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js new file mode 100644 index 0000000000000000000000000000000000000000..9e29637fe2a68690c1ce4cf046cbc9c3c5686eec --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseMapDef = parseMapDef; +const parseDef_1 = require("../parseDef.js"); +const record_1 = require("./record.js"); +function parseMapDef(def, refs) { + if (refs.mapStrategy === 'record') { + return (0, record_1.parseRecordDef)(def, refs); + } + const keys = (0, parseDef_1.parseDef)(def.keyType._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', 'items', '0'], + }) || {}; + const values = (0, parseDef_1.parseDef)(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', 'items', '1'], + }) || {}; + return { + type: 'array', + maxItems: 125, + items: { + type: 'array', + items: [keys, values], + minItems: 2, + maxItems: 2, + }, + }; +} +//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js.map new file mode 100644 index 0000000000000000000000000000000000000000..6dbba062fbce6211a441208c83846ab445f6f514 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js.map @@ -0,0 +1 @@ +{"version":3,"file":"map.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/map.ts"],"names":[],"mappings":";;AAgBA,kCAyBC;AAxCD,6CAAwD;AAExD,wCAAiE;AAajE,SAAgB,WAAW,CAAC,GAAc,EAAE,IAAU;IACpD,IAAI,IAAI,CAAC,WAAW,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAA,uBAAc,EAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,IAAI,GACR,IAAA,mBAAQ,EAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;QACzB,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC;KAC1D,CAAC,IAAI,EAAE,CAAC;IACX,MAAM,MAAM,GACV,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QAC3B,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC;KAC1D,CAAC,IAAI,EAAE,CAAC;IACX,OAAO;QACL,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,GAAG;QACb,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;YACrB,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;SACZ;KACF,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.mjs new file mode 100644 index 0000000000000000000000000000000000000000..428849e5849079bbd4355fd754d9aa613fe30670 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.mjs @@ -0,0 +1,26 @@ +import { parseDef } from "../parseDef.mjs"; +import { parseRecordDef } from "./record.mjs"; +export function parseMapDef(def, refs) { + if (refs.mapStrategy === 'record') { + return parseRecordDef(def, refs); + } + const keys = parseDef(def.keyType._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', 'items', '0'], + }) || {}; + const values = parseDef(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', 'items', '1'], + }) || {}; + return { + type: 'array', + maxItems: 125, + items: { + type: 'array', + items: [keys, values], + minItems: 2, + maxItems: 2, + }, + }; +} +//# sourceMappingURL=map.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..a613e7d76bde51ae9904fdb4c2768d1b23d86b77 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"map.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/map.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;OAE7B,EAAyB,cAAc,EAAE;AAahD,MAAM,UAAU,WAAW,CAAC,GAAc,EAAE,IAAU;IACpD,IAAI,IAAI,CAAC,WAAW,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,IAAI,GACR,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;QACzB,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC;KAC1D,CAAC,IAAI,EAAE,CAAC;IACX,MAAM,MAAM,GACV,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QAC3B,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC;KAC1D,CAAC,IAAI,EAAE,CAAC;IACX,OAAO;QACL,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,GAAG;QACb,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;YACrB,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;SACZ;KACF,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..5c83d3c442ddb6c1e179a29464cb49c53f18ebdf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts @@ -0,0 +1,7 @@ +import { ZodNativeEnumDef } from 'zod'; +export type JsonSchema7NativeEnumType = { + type: 'string' | 'number' | ['string', 'number']; + enum: (string | number)[]; +}; +export declare function parseNativeEnumDef(def: ZodNativeEnumDef): JsonSchema7NativeEnumType; +//# sourceMappingURL=nativeEnum.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..6d04fb0b343441c88946ae23afcb3158e50d80b7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"nativeEnum.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts"],"names":[],"mappings":"OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK;AAEtC,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACjD,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,gBAAgB,GAAG,yBAAyB,CAmBnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..43cf2e2f32f6137dff6990dc73f6678701537061 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts @@ -0,0 +1,7 @@ +import { ZodNativeEnumDef } from 'zod'; +export type JsonSchema7NativeEnumType = { + type: 'string' | 'number' | ['string', 'number']; + enum: (string | number)[]; +}; +export declare function parseNativeEnumDef(def: ZodNativeEnumDef): JsonSchema7NativeEnumType; +//# sourceMappingURL=nativeEnum.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..48dd6585bd81f4d8a784a50af64105615a51359e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"nativeEnum.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts"],"names":[],"mappings":"OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK;AAEtC,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACjD,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,gBAAgB,GAAG,yBAAyB,CAmBnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js new file mode 100644 index 0000000000000000000000000000000000000000..b9041708bf22260433a654254485d3c9a968546c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseNativeEnumDef = parseNativeEnumDef; +function parseNativeEnumDef(def) { + const object = def.values; + const actualKeys = Object.keys(def.values).filter((key) => { + return typeof object[object[key]] !== 'number'; + }); + const actualValues = actualKeys.map((key) => object[key]); + const parsedTypes = Array.from(new Set(actualValues.map((values) => typeof values))); + return { + type: parsedTypes.length === 1 ? + parsedTypes[0] === 'string' ? + 'string' + : 'number' + : ['string', 'number'], + enum: actualValues, + }; +} +//# sourceMappingURL=nativeEnum.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js.map new file mode 100644 index 0000000000000000000000000000000000000000..069631d58fe4f3053da3ebfcfbccbc0dc0429df7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nativeEnum.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts"],"names":[],"mappings":";;AAOA,gDAmBC;AAnBD,SAAgB,kBAAkB,CAAC,GAAqB;IACtD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;IAC1B,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,GAAW,EAAE,EAAE;QAChE,OAAO,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,CAAE,CAAC,KAAK,QAAQ,CAAC;IAClD,CAAC,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAE,CAAC,CAAC;IAEnE,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,MAAuB,EAAE,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;IAEtG,OAAO;QACL,IAAI,EACF,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;YACxB,WAAW,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC;gBAC3B,QAAQ;gBACV,CAAC,CAAC,QAAQ;YACZ,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC;QACxB,IAAI,EAAE,YAAY;KACnB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.mjs new file mode 100644 index 0000000000000000000000000000000000000000..6e1a0acb01197fa90cbbc711806ab320070502ec --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.mjs @@ -0,0 +1,17 @@ +export function parseNativeEnumDef(def) { + const object = def.values; + const actualKeys = Object.keys(def.values).filter((key) => { + return typeof object[object[key]] !== 'number'; + }); + const actualValues = actualKeys.map((key) => object[key]); + const parsedTypes = Array.from(new Set(actualValues.map((values) => typeof values))); + return { + type: parsedTypes.length === 1 ? + parsedTypes[0] === 'string' ? + 'string' + : 'number' + : ['string', 'number'], + enum: actualValues, + }; +} +//# sourceMappingURL=nativeEnum.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..34d5262d00c701281c05984ac9d8c85164cb5835 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"nativeEnum.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,kBAAkB,CAAC,GAAqB;IACtD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;IAC1B,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,GAAW,EAAE,EAAE;QAChE,OAAO,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,CAAE,CAAC,KAAK,QAAQ,CAAC;IAClD,CAAC,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAE,CAAC,CAAC;IAEnE,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,MAAuB,EAAE,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;IAEtG,OAAO;QACL,IAAI,EACF,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;YACxB,WAAW,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC;gBAC3B,QAAQ;gBACV,CAAC,CAAC,QAAQ;YACZ,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC;QACxB,IAAI,EAAE,YAAY;KACnB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..215eebf5b0a899205e26be1f5a13474166f69aa8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts @@ -0,0 +1,5 @@ +export type JsonSchema7NeverType = { + not: {}; +}; +export declare function parseNeverDef(): JsonSchema7NeverType; +//# sourceMappingURL=never.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..98671e8fc860b6f61683004303f837a4d1218988 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"never.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/never.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,GAAG,EAAE,EAAE,CAAC;CACT,CAAC;AAEF,wBAAgB,aAAa,IAAI,oBAAoB,CAIpD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d56edd087a97e7ba8b8c442c2fde8129b6c07d40 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts @@ -0,0 +1,5 @@ +export type JsonSchema7NeverType = { + not: {}; +}; +export declare function parseNeverDef(): JsonSchema7NeverType; +//# sourceMappingURL=never.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0bc5ba2d7321ec5d1ae8d2b846f82b328341aac7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"never.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/never.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,GAAG,EAAE,EAAE,CAAC;CACT,CAAC;AAEF,wBAAgB,aAAa,IAAI,oBAAoB,CAIpD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js new file mode 100644 index 0000000000000000000000000000000000000000..5c95153bce6607eabcad89606ea04491396e6813 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseNeverDef = parseNeverDef; +function parseNeverDef() { + return { + not: {}, + }; +} +//# sourceMappingURL=never.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js.map new file mode 100644 index 0000000000000000000000000000000000000000..84488c9e7bac1f91fbf8d549aa7ba54610806173 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js.map @@ -0,0 +1 @@ +{"version":3,"file":"never.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/never.ts"],"names":[],"mappings":";;AAIA,sCAIC;AAJD,SAAgB,aAAa;IAC3B,OAAO;QACL,GAAG,EAAE,EAAE;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.mjs new file mode 100644 index 0000000000000000000000000000000000000000..dd877d7f7c447e9f312423ddb6244bb7c0257ad1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.mjs @@ -0,0 +1,6 @@ +export function parseNeverDef() { + return { + not: {}, + }; +} +//# sourceMappingURL=never.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2a7ca45740575823876e2c2bdfcf8be7c9ff9dd7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"never.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/never.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,aAAa;IAC3B,OAAO;QACL,GAAG,EAAE,EAAE;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..9a84b681a3edc749ede5671b475c2cc5aeea3899 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts @@ -0,0 +1,6 @@ +import { Refs } from "../Refs.mjs"; +export type JsonSchema7NullType = { + type: 'null'; +}; +export declare function parseNullDef(refs: Refs): JsonSchema7NullType; +//# sourceMappingURL=null.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..b35b37ff96647f43e8cbf65dda3ba1bd52781b7d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"null.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/null.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,mBAAmB,CAS5D"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b2b993deacb54db898eb465bef711786861c8753 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts @@ -0,0 +1,6 @@ +import { Refs } from "../Refs.js"; +export type JsonSchema7NullType = { + type: 'null'; +}; +export declare function parseNullDef(refs: Refs): JsonSchema7NullType; +//# sourceMappingURL=null.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..849537ec9e35bcceba3078cd50d389a8e6100380 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"null.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/null.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,mBAAmB,CAS5D"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js new file mode 100644 index 0000000000000000000000000000000000000000..156354fce32c5cab501c4acb82b2c8bbc8674be8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseNullDef = parseNullDef; +function parseNullDef(refs) { + return refs.target === 'openApi3' ? + { + enum: ['null'], + nullable: true, + } + : { + type: 'null', + }; +} +//# sourceMappingURL=null.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js.map new file mode 100644 index 0000000000000000000000000000000000000000..96e1ebb3b56ed8b9c12b36a96c60b0528b343217 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js.map @@ -0,0 +1 @@ +{"version":3,"file":"null.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/null.ts"],"names":[],"mappings":";;AAMA,oCASC;AATD,SAAgB,YAAY,CAAC,IAAU;IACrC,OAAO,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC;QAC9B;YACC,IAAI,EAAE,CAAC,MAAM,CAAC;YACd,QAAQ,EAAE,IAAI;SACP;QACX,CAAC,CAAC;YACE,IAAI,EAAE,MAAM;SACb,CAAC;AACR,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.mjs new file mode 100644 index 0000000000000000000000000000000000000000..cd8ce3b91abdeb50ba3d7a6461ebbd0404d14205 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.mjs @@ -0,0 +1,11 @@ +export function parseNullDef(refs) { + return refs.target === 'openApi3' ? + { + enum: ['null'], + nullable: true, + } + : { + type: 'null', + }; +} +//# sourceMappingURL=null.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..d67be9c9f0ec355b885ac8a39e7ba1d846ca934d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"null.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/null.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,YAAY,CAAC,IAAU;IACrC,OAAO,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC;QAC9B;YACC,IAAI,EAAE,CAAC,MAAM,CAAC;YACd,QAAQ,EAAE,IAAI;SACP;QACX,CAAC,CAAC;YACE,IAAI,EAAE,MAAM;SACb,CAAC;AACR,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..1bc1b939a0666773418aff8a250848fc022cd242 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts @@ -0,0 +1,11 @@ +import { ZodNullableDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +import { JsonSchema7NullType } from "./null.mjs"; +export type JsonSchema7NullableType = { + anyOf: [JsonSchema7Type, JsonSchema7NullType]; +} | { + type: [string, 'null']; +}; +export declare function parseNullableDef(def: ZodNullableDef, refs: Refs): JsonSchema7NullableType | undefined; +//# sourceMappingURL=nullable.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..085cd2b85b4a630e08c1248a42cb5e44eed46fb9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"nullable.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nullable.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAC7B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,mBAAmB,EAAE;AAG9B,MAAM,MAAM,uBAAuB,GAC/B;IACE,KAAK,EAAE,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;CAC/C,GACD;IACE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxB,CAAC;AAEN,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,GAAG,uBAAuB,GAAG,SAAS,CAkCrG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..40292b852347a96df7e8da28c303500032f98558 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts @@ -0,0 +1,11 @@ +import { ZodNullableDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +import { JsonSchema7NullType } from "./null.js"; +export type JsonSchema7NullableType = { + anyOf: [JsonSchema7Type, JsonSchema7NullType]; +} | { + type: [string, 'null']; +}; +export declare function parseNullableDef(def: ZodNullableDef, refs: Refs): JsonSchema7NullableType | undefined; +//# sourceMappingURL=nullable.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..338eb493aeb79e7c4333b89bfe921cdc5365f8f2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"nullable.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nullable.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAC7B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,mBAAmB,EAAE;AAG9B,MAAM,MAAM,uBAAuB,GAC/B;IACE,KAAK,EAAE,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;CAC/C,GACD;IACE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxB,CAAC;AAEN,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,GAAG,uBAAuB,GAAG,SAAS,CAkCrG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js new file mode 100644 index 0000000000000000000000000000000000000000..d84f6f6d6e264dcf87ffd1a4f14c6f88f5d7c2ff --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseNullableDef = parseNullableDef; +const parseDef_1 = require("../parseDef.js"); +const union_1 = require("./union.js"); +function parseNullableDef(def, refs) { + if (['ZodString', 'ZodNumber', 'ZodBigInt', 'ZodBoolean', 'ZodNull'].includes(def.innerType._def.typeName) && + (!def.innerType._def.checks || !def.innerType._def.checks.length)) { + if (refs.target === 'openApi3' || refs.nullableStrategy === 'property') { + return { + type: union_1.primitiveMappings[def.innerType._def.typeName], + nullable: true, + }; + } + return { + type: [union_1.primitiveMappings[def.innerType._def.typeName], 'null'], + }; + } + if (refs.target === 'openApi3') { + const base = (0, parseDef_1.parseDef)(def.innerType._def, { + ...refs, + currentPath: [...refs.currentPath], + }); + if (base && '$ref' in base) + return { allOf: [base], nullable: true }; + return base && { ...base, nullable: true }; + } + const base = (0, parseDef_1.parseDef)(def.innerType._def, { + ...refs, + currentPath: [...refs.currentPath, 'anyOf', '0'], + }); + return base && { anyOf: [base, { type: 'null' }] }; +} +//# sourceMappingURL=nullable.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js.map new file mode 100644 index 0000000000000000000000000000000000000000..bd855d3e187a126f53ee78a032fc89972f216c20 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nullable.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nullable.ts"],"names":[],"mappings":";;AAcA,4CAkCC;AA/CD,6CAAwD;AAGxD,sCAA4C;AAU5C,SAAgB,gBAAgB,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ACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;KACjD,CAAC,CAAC;IAEH,OAAO,IAAI,IAAI,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.mjs new file mode 100644 index 0000000000000000000000000000000000000000..057ad3376cbb97d3c114c1ee903f152f80a0e296 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.mjs @@ -0,0 +1,31 @@ +import { parseDef } from "../parseDef.mjs"; +import { primitiveMappings } from "./union.mjs"; +export function parseNullableDef(def, refs) { + if (['ZodString', 'ZodNumber', 'ZodBigInt', 'ZodBoolean', 'ZodNull'].includes(def.innerType._def.typeName) && + (!def.innerType._def.checks || !def.innerType._def.checks.length)) { + if (refs.target === 'openApi3' || refs.nullableStrategy === 'property') { + return { + type: primitiveMappings[def.innerType._def.typeName], + nullable: true, + }; + } + return { + type: [primitiveMappings[def.innerType._def.typeName], 'null'], + }; + } + if (refs.target === 'openApi3') { + const base = parseDef(def.innerType._def, { + ...refs, + currentPath: [...refs.currentPath], + }); + if (base && '$ref' in base) + return { allOf: [base], nullable: true }; + return base && { ...base, nullable: true }; + } + const base = parseDef(def.innerType._def, { + ...refs, + currentPath: [...refs.currentPath, 'anyOf', '0'], + }); + return base && { anyOf: [base, { type: 'null' }] }; +} +//# sourceMappingURL=nullable.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..14ac37faac35ebbf63800aa3911106e1a800d957 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"nullable.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/nullable.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;OAG7B,EAAE,iBAAiB,EAAE;AAU5B,MAAM,UAAU,gBAAgB,CAAC,GAAmB,EAAE,IAAU;IAC9D,IACE,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;QACtG,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EACjE,CAAC;QACD,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,IAAI,IAAI,CAAC,gBAAgB,KAAK,UAAU,EAAE,CAAC;YACvE,OAAO;gBACL,IAAI,EAAE,iBAAiB,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,QAA0C,CAAC;gBACtF,QAAQ,EAAE,IAAI;aACR,CAAC;QACX,CAAC;QAED,OAAO;YACL,IAAI,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,QAA0C,CAAC,EAAE,MAAM,CAAC;SACjG,CAAC;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAC/B,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;YACxC,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SACnC,CAAC,CAAC;QAEH,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI;YAAE,OAAO,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAS,CAAC;QAE5E,OAAO,IAAI,IAAK,EAAE,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAU,CAAC;IACtD,CAAC;IAED,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QACxC,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;KACjD,CAAC,CAAC;IAEH,OAAO,IAAI,IAAI,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..e06b80e2cbe4970e7dcd31acc5cd0c304729fd69 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts @@ -0,0 +1,14 @@ +import { ZodNumberDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.mjs"; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7NumberType = { + type: 'number' | 'integer'; + minimum?: number; + exclusiveMinimum?: number; + maximum?: number; + exclusiveMaximum?: number; + multipleOf?: number; + errorMessage?: ErrorMessages; +}; +export declare function parseNumberDef(def: ZodNumberDef, refs: Refs): JsonSchema7NumberType; +//# sourceMappingURL=number.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8577d5f5605616e4d70f997b40c4895dc3e62d0a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"number.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/number.ts"],"names":[],"mappings":"OAAO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAmB,aAAa,EAA6B;OAC7D,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CACrD,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CA+CnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..364b0ed1bb3dafc59c4a5399951add04090d1fdc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts @@ -0,0 +1,14 @@ +import { ZodNumberDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.js"; +import { Refs } from "../Refs.js"; +export type JsonSchema7NumberType = { + type: 'number' | 'integer'; + minimum?: number; + exclusiveMinimum?: number; + maximum?: number; + exclusiveMaximum?: number; + multipleOf?: number; + errorMessage?: ErrorMessages; +}; +export declare function parseNumberDef(def: ZodNumberDef, refs: Refs): JsonSchema7NumberType; +//# sourceMappingURL=number.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b2bc56e48047d6209501d5e1410f0b62fffd8534 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/number.ts"],"names":[],"mappings":"OAAO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAmB,aAAa,EAA6B;OAC7D,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CACrD,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CA+CnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js new file mode 100644 index 0000000000000000000000000000000000000000..bb2ab643c3e7d1e587026db487fc5a8044858273 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseNumberDef = parseNumberDef; +const errorMessages_1 = require("../errorMessages.js"); +function parseNumberDef(def, refs) { + const res = { + type: 'number', + }; + if (!def.checks) + return res; + for (const check of def.checks) { + switch (check.kind) { + case 'int': + res.type = 'integer'; + (0, errorMessages_1.addErrorMessage)(res, 'type', check.message, refs); + break; + case 'min': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minimum', check.value, check.message, refs); + } + else { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'exclusiveMinimum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMinimum = true; + } + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minimum', check.value, check.message, refs); + } + break; + case 'max': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maximum', check.value, check.message, refs); + } + else { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'exclusiveMaximum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMaximum = true; + } + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maximum', check.value, check.message, refs); + } + break; + case 'multipleOf': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'multipleOf', check.value, check.message, refs); + break; + } + } + return res; +} +//# sourceMappingURL=number.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7014714147f4ce9e83998d96f4d65c5d9063307e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js.map @@ -0,0 +1 @@ +{"version":3,"file":"number.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/number.ts"],"names":[],"mappings":";;AAcA,wCA+CC;AA5DD,uDAA6F;AAa7F,SAAgB,cAAc,CAAC,GAAiB,EAAE,IAAU;IAC1D,MAAM,GAAG,GAA0B;QACjC,IAAI,EAAE,QAAQ;KACf,CAAC;IAEF,IAAI,CAAC,GAAG,CAAC,MAAM;QAAE,OAAO,GAAG,CAAC;IAE5B,KAAK,MAAM,KAAK,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QAC/B,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,KAAK;gBACR,GAAG,CAAC,IAAI,GAAG,SAAS,CAAC;gBACrB,IAAA,+BAAe,EAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAClD,MAAM;YACR,KAAK,KAAK;gBACR,IAAI,IAAI,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;oBAClC,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;wBACpB,IAAA,yCAAyB,EAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;yBAAM,CAAC;wBACN,IAAA,yCAAyB,EAAC,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,C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/zod-to-json-schema/parsers/number.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.mjs new file mode 100644 index 0000000000000000000000000000000000000000..1560b0021534eafa68a8c554e9fa9553e1ddbacc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.mjs @@ -0,0 +1,53 @@ +import { addErrorMessage, setResponseValueAndErrors } from "../errorMessages.mjs"; +export function parseNumberDef(def, refs) { + const res = { + type: 'number', + }; + if (!def.checks) + return res; + for (const check of def.checks) { + switch (check.kind) { + case 'int': + res.type = 'integer'; + addErrorMessage(res, 'type', check.message, refs); + break; + case 'min': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + setResponseValueAndErrors(res, 'minimum', check.value, check.message, refs); + } + else { + setResponseValueAndErrors(res, 'exclusiveMinimum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMinimum = true; + } + setResponseValueAndErrors(res, 'minimum', check.value, check.message, refs); + } + break; + case 'max': + if (refs.target === 'jsonSchema7') { + if (check.inclusive) { + setResponseValueAndErrors(res, 'maximum', check.value, check.message, refs); + } + else { + setResponseValueAndErrors(res, 'exclusiveMaximum', check.value, check.message, refs); + } + } + else { + if (!check.inclusive) { + res.exclusiveMaximum = true; + } + setResponseValueAndErrors(res, 'maximum', check.value, check.message, refs); + } + break; + case 'multipleOf': + setResponseValueAndErrors(res, 'multipleOf', check.value, check.message, refs); + break; + } + } + return res; +} +//# sourceMappingURL=number.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..65d1d8908f412ad4d8101fbbd41f97840251f769 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"number.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/number.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAiB,yBAAyB,EAAE;AAapE,MAAM,UAAU,cAAc,CAAC,GAAiB,EAAE,IAAU;IAC1D,MAAM,GAAG,GAA0B;QACjC,IAAI,EAAE,QAAQ;KACf,CAAC;IAEF,IAAI,CAAC,GAAG,CAAC,MAAM;QAAE,OAAO,GAAG,CAAC;IAE5B,KAAK,MAAM,KAAK,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QAC/B,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,KAAK;gBACR,GAAG,CAAC,IAAI,GAAG,SAAS,CAAC;gBACrB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAClD,MAAM;YACR,KAAK,KAAK;gBACR,IAAI,IAAI,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;oBAClC,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;wBACpB,yBAAyB,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;yBAAM,CAAC;wBACN,yBAAyB,CAAC,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBACvF,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;wBACrB,GAAG,CAAC,gBAAgB,GAAG,IAAW,CAAC;oBACrC,CAAC;oBACD,yBAAyB,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC9E,CAAC;gBACD,MAAM;YACR,KAAK,KAAK;gBACR,IAAI,IAAI,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;oBAClC,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;wBACpB,yBAAyB,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;yBAAM,CAAC;wBACN,yBAAyB,CAAC,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;oBACvF,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;wBACrB,GAAG,CAAC,gBAAgB,GAAG,IAAW,CAAC;oBACrC,CAAC;oBACD,yBAAyB,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC9E,CAAC;gBACD,MAAM;YACR,KAAK,YAAY;gBACf,yBAAyB,CAAC,GAAG,EAAE,YAAY,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC/E,MAAM;QACV,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..6bf575449c6eee12eb99a328307c4a7fb2c4577c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts @@ -0,0 +1,11 @@ +import { ZodObjectDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7ObjectType = { + type: 'object'; + properties: Record; + additionalProperties: boolean | JsonSchema7Type; + required?: string[]; +}; +export declare function parseObjectDef(def: ZodObjectDef, refs: Refs): JsonSchema7ObjectType; +//# sourceMappingURL=object.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..6e44b76001ce4ba03509e51f509e914999d5d8dd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"object.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/object.ts"],"names":[],"mappings":"OAAO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAoBf,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,oBAAoB,EAAE,OAAO,GAAG,eAAe,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,yBA8C3D"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9dc95e1b280a1e2984f46ee353d02b95e59a5255 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts @@ -0,0 +1,11 @@ +import { ZodObjectDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export type JsonSchema7ObjectType = { + type: 'object'; + properties: Record; + additionalProperties: boolean | JsonSchema7Type; + required?: string[]; +}; +export declare function parseObjectDef(def: ZodObjectDef, refs: Refs): JsonSchema7ObjectType; +//# sourceMappingURL=object.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f3dcf61ed86e42b850c52af81a47b43d12745afa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/object.ts"],"names":[],"mappings":"OAAO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAoBf,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,oBAAoB,EAAE,OAAO,GAAG,eAAe,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,yBA8C3D"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js new file mode 100644 index 0000000000000000000000000000000000000000..be930c28f1c4bde0ef6a25b3914955cd94c37cd2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js @@ -0,0 +1,57 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseObjectDef = parseObjectDef; +const parseDef_1 = require("../parseDef.js"); +function decideAdditionalProperties(def, refs) { + if (refs.removeAdditionalStrategy === 'strict') { + return def.catchall._def.typeName === 'ZodNever' ? + def.unknownKeys !== 'strict' + : (0, parseDef_1.parseDef)(def.catchall._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalProperties'], + }) ?? true; + } + else { + return def.catchall._def.typeName === 'ZodNever' ? + def.unknownKeys === 'passthrough' + : (0, parseDef_1.parseDef)(def.catchall._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalProperties'], + }) ?? true; + } +} +function parseObjectDef(def, refs) { + const result = { + type: 'object', + ...Object.entries(def.shape()).reduce((acc, [propName, propDef]) => { + if (propDef === undefined || propDef._def === undefined) + return acc; + const propertyPath = [...refs.currentPath, 'properties', propName]; + const parsedDef = (0, parseDef_1.parseDef)(propDef._def, { + ...refs, + currentPath: propertyPath, + propertyPath, + }); + if (parsedDef === undefined) + return acc; + if (refs.openaiStrictMode && + propDef.isOptional() && + !propDef.isNullable() && + typeof propDef._def?.defaultValue === 'undefined') { + throw new Error(`Zod field at \`${propertyPath.join('/')}\` uses \`.optional()\` without \`.nullable()\` which is not supported by the API. See: https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses#all-fields-must-be-required`); + } + return { + properties: { + ...acc.properties, + [propName]: parsedDef, + }, + required: propDef.isOptional() && !refs.openaiStrictMode ? acc.required : [...acc.required, propName], + }; + }, { properties: {}, required: [] }), + additionalProperties: decideAdditionalProperties(def, refs), + }; + if (!result.required.length) + delete result.required; + return result; +} +//# sourceMappingURL=object.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js.map new file mode 100644 index 0000000000000000000000000000000000000000..febff2b9d28d98d49aa8e9c4a61452e5b4d66e32 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js.map @@ -0,0 +1 @@ +{"version":3,"file":"object.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/object.ts"],"names":[],"mappings":";;AA6BA,wCA8CC;AA1ED,6CAAwD;AAGxD,SAAS,0BAA0B,CAAC,GAAiB,EAAE,IAAU;IAC/D,IAAI,IAAI,CAAC,wBAAwB,KAAK,QAAQ,EAAE,CAAC;QAC/C,OAAO,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC;YAC9C,GAAG,CAAC,WAAW,KAAK,QAAQ;YAC9B,CAAC,CAAC,IAAA,mBAAQ,EAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE;gBAC1B,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,sBAAsB,CAAC;aAC3D,CAAC,IAAI,IAAI,CAAC;IACjB,CAAC;SAAM,CAAC;QACN,OAAO,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC;YAC9C,GAAG,CAAC,WAAW,KAAK,aAAa;YACnC,CAAC,CAAC,IAAA,mBAAQ,EAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE;gBAC1B,GAAG,IAAI;gBACP,WAA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AC,CAAC,GAAG,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC;aAC9F,CAAC;QACJ,CAAC,EACD,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjC;QACD,oBAAoB,EAAE,0BAA0B,CAAC,GAAG,EAAE,IAAI,CAAC;KAC5D,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,QAAS,CAAC,MAAM;QAAE,OAAO,MAAM,CAAC,QAAQ,CAAC;IACrD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a13d0938f5c63bcf91fa984894186b3141f1a10e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.mjs @@ -0,0 +1,54 @@ +import { parseDef } from "../parseDef.mjs"; +function decideAdditionalProperties(def, refs) { + if (refs.removeAdditionalStrategy === 'strict') { + return def.catchall._def.typeName === 'ZodNever' ? + def.unknownKeys !== 'strict' + : parseDef(def.catchall._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalProperties'], + }) ?? true; + } + else { + return def.catchall._def.typeName === 'ZodNever' ? + def.unknownKeys === 'passthrough' + : parseDef(def.catchall._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalProperties'], + }) ?? true; + } +} +export function parseObjectDef(def, refs) { + const result = { + type: 'object', + ...Object.entries(def.shape()).reduce((acc, [propName, propDef]) => { + if (propDef === undefined || propDef._def === undefined) + return acc; + const propertyPath = [...refs.currentPath, 'properties', propName]; + const parsedDef = parseDef(propDef._def, { + ...refs, + currentPath: propertyPath, + propertyPath, + }); + if (parsedDef === undefined) + return acc; + if (refs.openaiStrictMode && + propDef.isOptional() && + !propDef.isNullable() && + typeof propDef._def?.defaultValue === 'undefined') { + throw new Error(`Zod field at \`${propertyPath.join('/')}\` uses \`.optional()\` without \`.nullable()\` which is not supported by the API. See: https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses#all-fields-must-be-required`); + } + return { + properties: { + ...acc.properties, + [propName]: parsedDef, + }, + required: propDef.isOptional() && !refs.openaiStrictMode ? acc.required : [...acc.required, propName], + }; + }, { properties: {}, required: [] }), + additionalProperties: decideAdditionalProperties(def, refs), + }; + if (!result.required.length) + delete result.required; + return result; +} +//# sourceMappingURL=object.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..4508e8cd900532e8f9f282c39330da39ea5e4cc6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"object.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/object.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAGpC,SAAS,0BAA0B,CAAC,GAAiB,EAAE,IAAU;IAC/D,IAAI,IAAI,CAAC,wBAAwB,KAAK,QAAQ,EAAE,CAAC;QAC/C,OAAO,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC;YAC9C,GAAG,CAAC,WAAW,KAAK,QAAQ;YAC9B,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE;gBAC1B,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,sBAAsB,CAAC;aAC3D,CAAC,IAAI,IAAI,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YACJ,CAAC;YACD,OAAO;gBACL,UAAU,EAAE;oBACV,GAAG,GAAG,CAAC,UAAU;oBACjB,CAAC,QAAQ,CAAC,EAAE,SAAS;iBACtB;gBACD,QAAQ,EACN,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC;aAC9F,CAAC;QACJ,CAAC,EACD,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjC;QACD,oBAAoB,EAAE,0BAA0B,CAAC,GAAG,EAAE,IAAI,CAAC;KAC5D,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,QAAS,CAAC,MAAM;QAAE,OAAO,MAAM,CAAC,QAAQ,CAAC;IACrD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..9d19a3fd7f3cd158e291f6f1ca6bde092503d17d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts @@ -0,0 +1,5 @@ +import { ZodOptionalDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export declare const parseOptionalDef: (def: ZodOptionalDef, refs: Refs) => JsonSchema7Type | undefined; +//# sourceMappingURL=optional.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..2d7bd3c7c17ae16cafe0f665dc93af5367c293c8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"optional.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/optional.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAC7B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,gBAAgB,GAAI,KAAK,cAAc,EAAE,MAAM,IAAI,KAAG,eAAe,GAAG,SAuBpF,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6160c994ec5abbc2618c3ec9dfa2dd086787f093 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts @@ -0,0 +1,5 @@ +import { ZodOptionalDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export declare const parseOptionalDef: (def: ZodOptionalDef, refs: Refs) => JsonSchema7Type | undefined; +//# sourceMappingURL=optional.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..2a2531884adad16796df69f2b64062608580f9b3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"optional.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/optional.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAC7B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,gBAAgB,GAAI,KAAK,cAAc,EAAE,MAAM,IAAI,KAAG,eAAe,GAAG,SAuBpF,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js new file mode 100644 index 0000000000000000000000000000000000000000..a2cae117be5212e8079ac05c5b0e33029da281ea --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js @@ -0,0 +1,26 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseOptionalDef = void 0; +const parseDef_1 = require("../parseDef.js"); +const parseOptionalDef = (def, refs) => { + if (refs.propertyPath && + refs.currentPath.slice(0, refs.propertyPath.length).toString() === refs.propertyPath.toString()) { + return (0, parseDef_1.parseDef)(def.innerType._def, { ...refs, currentPath: refs.currentPath }); + } + const innerSchema = (0, parseDef_1.parseDef)(def.innerType._def, { + ...refs, + currentPath: [...refs.currentPath, 'anyOf', '1'], + }); + return innerSchema ? + { + anyOf: [ + { + not: {}, + }, + innerSchema, + ], + } + : {}; +}; +exports.parseOptionalDef = parseOptionalDef; +//# sourceMappingURL=optional.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7edda9292ada7046384d44b268e9bf74dc2d9e6e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js.map @@ -0,0 +1 @@ +{"version":3,"file":"optional.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/optional.ts"],"names":[],"mappings":";;;AACA,6CAAwD;AAGjD,MAAM,gBAAgB,GAAG,CAAC,GAAmB,EAAE,IAAU,EAA+B,EAAE;IAC/F,IACE,IAAI,CAAC,YAAY;QACjB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,EAC/F,CAAC;QACD,OAAO,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,MAAM,WAAW,GAAG,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QAC/C,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;KACjD,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,CAAC;QAChB;YACE,KAAK,EAAE;gBACL;oBACE,GAAG,EAAE,EAAE;iBACR;gBACD,WAAW;aACZ;SACF;QACH,CAAC,CAAC,EAAE,CAAC;AACT,CAAC,CAAC;AAvBW,QAAA,gBAAgB,oBAuB3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.mjs new file mode 100644 index 0000000000000000000000000000000000000000..98d86b4d608d3a8638eecad2cf5b03c169bd17da --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.mjs @@ -0,0 +1,22 @@ +import { parseDef } from "../parseDef.mjs"; +export const parseOptionalDef = (def, refs) => { + if (refs.propertyPath && + refs.currentPath.slice(0, refs.propertyPath.length).toString() === refs.propertyPath.toString()) { + return parseDef(def.innerType._def, { ...refs, currentPath: refs.currentPath }); + } + const innerSchema = parseDef(def.innerType._def, { + ...refs, + currentPath: [...refs.currentPath, 'anyOf', '1'], + }); + return innerSchema ? + { + anyOf: [ + { + not: {}, + }, + innerSchema, + ], + } + : {}; +}; +//# sourceMappingURL=optional.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..3c3e0e5bbb1e4a40083cb1e83d629e15d1698f9e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"optional.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/optional.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAGpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAmB,EAAE,IAAU,EAA+B,EAAE;IAC/F,IACE,IAAI,CAAC,YAAY;QACjB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,EAC/F,CAAC;QACD,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QAC/C,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;KACjD,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,CAAC;QAChB;YACE,KAAK,EAAE;gBACL;oBACE,GAAG,EAAE,EAAE;iBACR;gBACD,WAAW;aACZ;SACF;QACH,CAAC,CAAC,EAAE,CAAC;AACT,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..80e22d5375e2ea4eed21ea65c7d0e27965225b55 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts @@ -0,0 +1,6 @@ +import { ZodPipelineDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +import { JsonSchema7AllOfType } from "./intersection.mjs"; +export declare const parsePipelineDef: (def: ZodPipelineDef, refs: Refs) => JsonSchema7AllOfType | JsonSchema7Type | undefined; +//# sourceMappingURL=pipeline.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c22f8254a567314010863ac5a1b1beaa96685e15 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"pipeline.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/pipeline.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAC7B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,oBAAoB,EAAE;AAE/B,eAAO,MAAM,gBAAgB,GAC3B,KAAK,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,EAC7B,MAAM,IAAI,KACT,oBAAoB,GAAG,eAAe,GAAG,SAmB3C,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4fe9b1ba5e989a707293360a40fba1cc0fcebadc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts @@ -0,0 +1,6 @@ +import { ZodPipelineDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +import { JsonSchema7AllOfType } from "./intersection.js"; +export declare const parsePipelineDef: (def: ZodPipelineDef, refs: Refs) => JsonSchema7AllOfType | JsonSchema7Type | undefined; +//# sourceMappingURL=pipeline.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..528f825b8c3fdfcfbad0950348554f9fbb58d13c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/pipeline.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAC7B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,oBAAoB,EAAE;AAE/B,eAAO,MAAM,gBAAgB,GAC3B,KAAK,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,EAC7B,MAAM,IAAI,KACT,oBAAoB,GAAG,eAAe,GAAG,SAmB3C,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js new file mode 100644 index 0000000000000000000000000000000000000000..34a23372751536fb5d3aa174a0e3516360cff8fe --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js @@ -0,0 +1,25 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parsePipelineDef = void 0; +const parseDef_1 = require("../parseDef.js"); +const parsePipelineDef = (def, refs) => { + if (refs.pipeStrategy === 'input') { + return (0, parseDef_1.parseDef)(def.in._def, refs); + } + else if (refs.pipeStrategy === 'output') { + return (0, parseDef_1.parseDef)(def.out._def, refs); + } + const a = (0, parseDef_1.parseDef)(def.in._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', '0'], + }); + const b = (0, parseDef_1.parseDef)(def.out._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', a ? '1' : '0'], + }); + return { + allOf: [a, b].filter((x) => x !== undefined), + }; +}; +exports.parsePipelineDef = parsePipelineDef; +//# sourceMappingURL=pipeline.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7cee2ac0fbe814cb019250f668aada363b01c3e3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/pipeline.ts"],"names":[],"mappings":";;;AACA,6CAAwD;AAIjD,MAAM,gBAAgB,GAAG,CAC9B,GAA6B,EAC7B,IAAU,EAC0C,EAAE;IACtD,IAAI,IAAI,CAAC,YAAY,KAAK,OAAO,EAAE,CAAC;QAClC,OAAO,IAAA,mBAAQ,EAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;SAAM,IAAI,IAAI,CAAC,YAAY,KAAK,QAAQ,EAAE,CAAC;QAC1C,OAAO,IAAA,mBAAQ,EAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAQ,EAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE;QAC9B,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;KACjD,CAAC,CAAC;IACH,MAAM,CAAC,GAAG,IAAA,mBAAQ,EAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE;QAC/B,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;KAC3D,CAAC,CAAC;IAEH,OAAO;QACL,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAwB,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC;KACnE,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,gBAAgB,oBAsB3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.mjs new file mode 100644 index 0000000000000000000000000000000000000000..540d15a754d457ae53fbdb11bef3fe9bdc6cb4ff --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.mjs @@ -0,0 +1,21 @@ +import { parseDef } from "../parseDef.mjs"; +export const parsePipelineDef = (def, refs) => { + if (refs.pipeStrategy === 'input') { + return parseDef(def.in._def, refs); + } + else if (refs.pipeStrategy === 'output') { + return parseDef(def.out._def, refs); + } + const a = parseDef(def.in._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', '0'], + }); + const b = parseDef(def.out._def, { + ...refs, + currentPath: [...refs.currentPath, 'allOf', a ? '1' : '0'], + }); + return { + allOf: [a, b].filter((x) => x !== undefined), + }; +}; +//# sourceMappingURL=pipeline.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..16008d72c5c1ba0ef61dd5d965474e697f3cc5a3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"pipeline.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/pipeline.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAIpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,GAA6B,EAC7B,IAAU,EAC0C,EAAE;IACtD,IAAI,IAAI,CAAC,YAAY,KAAK,OAAO,EAAE,CAAC;QAClC,OAAO,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;SAAM,IAAI,IAAI,CAAC,YAAY,KAAK,QAAQ,EAAE,CAAC;QAC1C,OAAO,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE;QAC9B,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC;KACjD,CAAC,CAAC;IACH,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE;QAC/B,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;KAC3D,CAAC,CAAC;IAEH,OAAO;QACL,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAwB,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC;KACnE,CAAC;AACJ,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..3b5e5ff88f3bbf777c1248d3fbd9b68156caf3a2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts @@ -0,0 +1,5 @@ +import { ZodPromiseDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export declare function parsePromiseDef(def: ZodPromiseDef, refs: Refs): JsonSchema7Type | undefined; +//# sourceMappingURL=promise.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..37ab3f68659686f8f3c94664bfdbcd9d7b9c64d7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"promise.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/promise.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,eAAe,GAAG,SAAS,CAE3F"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5182c7a0cdb83ea18b92219bd3c8e4b890d24f2b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts @@ -0,0 +1,5 @@ +import { ZodPromiseDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export declare function parsePromiseDef(def: ZodPromiseDef, refs: Refs): JsonSchema7Type | undefined; +//# sourceMappingURL=promise.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a765e144e21cac0a857dcd60af22e80e1868ebbd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"promise.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/promise.ts"],"names":[],"mappings":"OAAO,EAAE,aAAa,EAAE,MAAM,KAAK;OAC5B,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,eAAe,GAAG,SAAS,CAE3F"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js new file mode 100644 index 0000000000000000000000000000000000000000..a073bbcdfe21e9804cce3a46d2a89db63ae5d298 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parsePromiseDef = parsePromiseDef; +const parseDef_1 = require("../parseDef.js"); +function parsePromiseDef(def, refs) { + return (0, parseDef_1.parseDef)(def.type._def, refs); +} +//# sourceMappingURL=promise.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js.map new file mode 100644 index 0000000000000000000000000000000000000000..60d386c394f11da90ce4dcdc2f21bdb370dd9d5e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"promise.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/promise.ts"],"names":[],"mappings":";;AAIA,0CAEC;AALD,6CAAwD;AAGxD,SAAgB,eAAe,CAAC,GAAkB,EAAE,IAAU;IAC5D,OAAO,IAAA,mBAAQ,EAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.mjs new file mode 100644 index 0000000000000000000000000000000000000000..cfe6b738a4ab570490e547ce7402089c63808364 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.mjs @@ -0,0 +1,5 @@ +import { parseDef } from "../parseDef.mjs"; +export function parsePromiseDef(def, refs) { + return parseDef(def.type._def, refs); +} +//# sourceMappingURL=promise.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2cee9b05ef1e64850fdb0cf56f7decfd4abf741f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"promise.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/promise.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAGpC,MAAM,UAAU,eAAe,CAAC,GAAkB,EAAE,IAAU;IAC5D,OAAO,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..77bdac1a8d0481abc38f354f995d65d96783cbae --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts @@ -0,0 +1,4 @@ +import { ZodReadonlyDef } from 'zod'; +import { Refs } from "../Refs.mjs"; +export declare const parseReadonlyDef: (def: ZodReadonlyDef, refs: Refs) => import("../parseDef").JsonSchema7Type | undefined; +//# sourceMappingURL=readonly.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..9c3bb9de99c30f029c57883bead4b3db247fc648 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"readonly.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/readonly.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAE7B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,gBAAgB,GAAI,KAAK,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,IAAI,sDAEpE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..abcd39cac8121dc0dab1bdd26f82e9f66850fa9c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts @@ -0,0 +1,4 @@ +import { ZodReadonlyDef } from 'zod'; +import { Refs } from "../Refs.js"; +export declare const parseReadonlyDef: (def: ZodReadonlyDef, refs: Refs) => import("../parseDef").JsonSchema7Type | undefined; +//# sourceMappingURL=readonly.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..36541599c29dfcc994aa0a5e72e2937159f109ad --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"readonly.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/readonly.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,KAAK;OAE7B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,gBAAgB,GAAI,KAAK,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,IAAI,sDAEpE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js new file mode 100644 index 0000000000000000000000000000000000000000..e3f91c462b6c8f7d3c2e36950efa1f97d9ee22ad --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseReadonlyDef = void 0; +const parseDef_1 = require("../parseDef.js"); +const parseReadonlyDef = (def, refs) => { + return (0, parseDef_1.parseDef)(def.innerType._def, refs); +}; +exports.parseReadonlyDef = parseReadonlyDef; +//# sourceMappingURL=readonly.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0d4d60dc22532b9bf9d33bdb617376691a76ca12 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js.map @@ -0,0 +1 @@ +{"version":3,"file":"readonly.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/readonly.ts"],"names":[],"mappings":";;;AACA,6CAAuC;AAGhC,MAAM,gBAAgB,GAAG,CAAC,GAAwB,EAAE,IAAU,EAAE,EAAE;IACvE,OAAO,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.mjs new file mode 100644 index 0000000000000000000000000000000000000000..852288ab545c88ceb4762d1416c0409ed06a838d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.mjs @@ -0,0 +1,5 @@ +import { parseDef } from "../parseDef.mjs"; +export const parseReadonlyDef = (def, refs) => { + return parseDef(def.innerType._def, refs); +}; +//# sourceMappingURL=readonly.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..64dfbc707d2e795d25aea11fef492541f33f67fc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"readonly.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/readonly.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,EAAE;AAGnB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAwB,EAAE,IAAU,EAAE,EAAE;IACvE,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..90477d105ef9382d06452b2aa3136a12a5b1efe1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts @@ -0,0 +1,14 @@ +import { ZodMapDef, ZodRecordDef, ZodTypeAny } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +import { JsonSchema7EnumType } from "./enum.mjs"; +import { JsonSchema7StringType } from "./string.mjs"; +type JsonSchema7RecordPropertyNamesType = Omit | Omit; +export type JsonSchema7RecordType = { + type: 'object'; + additionalProperties: JsonSchema7Type; + propertyNames?: JsonSchema7RecordPropertyNamesType; +}; +export declare function parseRecordDef(def: ZodRecordDef | ZodMapDef, refs: Refs): JsonSchema7RecordType; +export {}; +//# sourceMappingURL=record.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8f062b2d0a5019c16cbf9ac14571aa9d9d3ad204 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"record.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/record.ts"],"names":[],"mappings":"OAAO,EAAyB,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,KAAK;OACzE,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,mBAAmB,EAAE;OAEvB,EAAE,qBAAqB,EAAkB;AAEhD,KAAK,kCAAkC,GACnC,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GACnC,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,oBAAoB,EAAE,eAAe,CAAC;IACtC,aAAa,CAAC,EAAE,kCAAkC,CAAC;CACpD,CAAC;AAEF,wBAAgB,cAAc,CAC5B,GAAG,EAAE,YAAY,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,SAAS,EACrD,IAAI,EAAE,IAAI,GACT,qBAAqB,CAoDvB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7a5d5b66b1eeb6db7d7207c81cdcd9fab5891c67 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts @@ -0,0 +1,14 @@ +import { ZodMapDef, ZodRecordDef, ZodTypeAny } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +import { JsonSchema7EnumType } from "./enum.js"; +import { JsonSchema7StringType } from "./string.js"; +type JsonSchema7RecordPropertyNamesType = Omit | Omit; +export type JsonSchema7RecordType = { + type: 'object'; + additionalProperties: JsonSchema7Type; + propertyNames?: JsonSchema7RecordPropertyNamesType; +}; +export declare function parseRecordDef(def: ZodRecordDef | ZodMapDef, refs: Refs): JsonSchema7RecordType; +export {}; +//# sourceMappingURL=record.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e2c0b964e9f1a1cf6e70e6da317479ba85d994a2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/record.ts"],"names":[],"mappings":"OAAO,EAAyB,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,KAAK;OACzE,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;OACR,EAAE,mBAAmB,EAAE;OAEvB,EAAE,qBAAqB,EAAkB;AAEhD,KAAK,kCAAkC,GACnC,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GACnC,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,oBAAoB,EAAE,eAAe,CAAC;IACtC,aAAa,CAAC,EAAE,kCAAkC,CAAC;CACpD,CAAC;AAEF,wBAAgB,cAAc,CAC5B,GAAG,EAAE,YAAY,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,SAAS,EACrD,IAAI,EAAE,IAAI,GACT,qBAAqB,CAoDvB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js new file mode 100644 index 0000000000000000000000000000000000000000..3ee48e052a916c31f436399bdb16bd4c11d9f379 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js @@ -0,0 +1,49 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseRecordDef = parseRecordDef; +const zod_1 = require("zod"); +const parseDef_1 = require("../parseDef.js"); +const string_1 = require("./string.js"); +function parseRecordDef(def, refs) { + if (refs.target === 'openApi3' && def.keyType?._def.typeName === zod_1.ZodFirstPartyTypeKind.ZodEnum) { + return { + type: 'object', + required: def.keyType._def.values, + properties: def.keyType._def.values.reduce((acc, key) => ({ + ...acc, + [key]: (0, parseDef_1.parseDef)(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'properties', key], + }) ?? {}, + }), {}), + additionalProperties: false, + }; + } + const schema = { + type: 'object', + additionalProperties: (0, parseDef_1.parseDef)(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalProperties'], + }) ?? {}, + }; + if (refs.target === 'openApi3') { + return schema; + } + if (def.keyType?._def.typeName === zod_1.ZodFirstPartyTypeKind.ZodString && def.keyType._def.checks?.length) { + const keyType = Object.entries((0, string_1.parseStringDef)(def.keyType._def, refs)).reduce((acc, [key, value]) => (key === 'type' ? acc : { ...acc, [key]: value }), {}); + return { + ...schema, + propertyNames: keyType, + }; + } + else if (def.keyType?._def.typeName === zod_1.ZodFirstPartyTypeKind.ZodEnum) { + return { + ...schema, + propertyNames: { + enum: def.keyType._def.values, + }, + }; + } + return schema; +} +//# sourceMappingURL=record.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f014fe5d749aec6df5cba62a4824d64dd7e5b652 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js.map @@ -0,0 +1 @@ +{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/record.ts"],"names":[],"mappings":";;AAiBA,wCAuDC;AAxED,6BAAiF;AACjF,6CAAwD;AAIxD,wCAAiE;AAYjE,SAAgB,cAAc,CAC5B,GAAqD,EACrD,IAAU;IAEV,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,IAAI,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,KAAK,2BAAqB,CAAC,OAAO,EAAE,CAAC;QAC/F,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM;YACjC,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CACxC,CAAC,GAAoC,EAAE,GAAW,EAAE,EAAE,CAAC,CAAC;gBACtD,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EACH,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;oBAC3B,GAAG,IAAI;oBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,EAAE,GAAG,CAAC;iBACtD,CAAC,IAAI,EAAE;aACX,CAAC,EACF,EAAE,CACH;YACD,oBAAoB,EAAE,KAAK;SACW,CAAC;IAC3C,CAAC;IAED,MAAM,MAAM,GAA0B;QACpC,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAClB,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;YAC3B,GAAG,IAAI;YACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,sBAAsB,CAAC;SAC3D,CAAC,IAAI,EAAE;KACX,CAAC;IAEF,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAC/B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,KAAK,2BAAqB,CAAC,SAAS,IAAI,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;QACtG,MAAM,OAAO,GAAuC,MAAM,CAAC,OAAO,CAChE,IAAA,uBAAc,EAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CACvC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QAEvF,OAAO;YACL,GAAG,MAAM;YACT,aAAa,EAAE,OAAO;SACvB,CAAC;IACJ,CAAC;SAAM,IAAI,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,KAAK,2BAAqB,CAAC,OAAO,EAAE,CAAC;QACxE,OAAO;YACL,GAAG,MAAM;YACT,aAAa,EAAE;gBACb,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM;aAC9B;SACF,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.mjs new file mode 100644 index 0000000000000000000000000000000000000000..5ac62ea02ed38c5fa14721c006df7a4623eee8e9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.mjs @@ -0,0 +1,46 @@ +import { ZodFirstPartyTypeKind } from 'zod'; +import { parseDef } from "../parseDef.mjs"; +import { parseStringDef } from "./string.mjs"; +export function parseRecordDef(def, refs) { + if (refs.target === 'openApi3' && def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodEnum) { + return { + type: 'object', + required: def.keyType._def.values, + properties: def.keyType._def.values.reduce((acc, key) => ({ + ...acc, + [key]: parseDef(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'properties', key], + }) ?? {}, + }), {}), + additionalProperties: false, + }; + } + const schema = { + type: 'object', + additionalProperties: parseDef(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalProperties'], + }) ?? {}, + }; + if (refs.target === 'openApi3') { + return schema; + } + if (def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodString && def.keyType._def.checks?.length) { + const keyType = Object.entries(parseStringDef(def.keyType._def, refs)).reduce((acc, [key, value]) => (key === 'type' ? acc : { ...acc, [key]: value }), {}); + return { + ...schema, + propertyNames: keyType, + }; + } + else if (def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodEnum) { + return { + ...schema, + propertyNames: { + enum: def.keyType._def.values, + }, + }; + } + return schema; +} +//# sourceMappingURL=record.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..652162764e406959176b8628c407576b40654cd7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"record.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema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AS,IAAI,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;QACtG,MAAM,OAAO,GAAuC,MAAM,CAAC,OAAO,CAChE,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CACvC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QAEvF,OAAO;YACL,GAAG,MAAM;YACT,aAAa,EAAE,OAAO;SACvB,CAAC;IACJ,CAAC;SAAM,IAAI,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,KAAK,qBAAqB,CAAC,OAAO,EAAE,CAAC;QACxE,OAAO;YACL,GAAG,MAAM;YACT,aAAa,EAAE;gBACb,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM;aAC9B;SACF,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..3416269d17bc1141f1b96a2fbb7790d94118cafc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts @@ -0,0 +1,14 @@ +import { ZodSetDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.mjs"; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7SetType = { + type: 'array'; + uniqueItems: true; + items?: JsonSchema7Type | undefined; + minItems?: number; + maxItems?: number; + errorMessage?: ErrorMessages; +}; +export declare function parseSetDef(def: ZodSetDef, refs: Refs): JsonSchema7SetType; +//# sourceMappingURL=set.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..741031e09beeb8f18d0f91997ad1f2fd206b3d09 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"set.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/set.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,KAAK;OACxB,EAAE,aAAa,EAA6B;OAC5C,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,IAAI,CAAC;IAClB,KAAK,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAClD,CAAC;AAEF,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAG,kBAAkB,CAqB1E"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b0dbb90d7cdc8281a23b8a2e567619e7fd5eda84 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts @@ -0,0 +1,14 @@ +import { ZodSetDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.js"; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export type JsonSchema7SetType = { + type: 'array'; + uniqueItems: true; + items?: JsonSchema7Type | undefined; + minItems?: number; + maxItems?: number; + errorMessage?: ErrorMessages; +}; +export declare function parseSetDef(def: ZodSetDef, refs: Refs): JsonSchema7SetType; +//# sourceMappingURL=set.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3537978950218dca732bf62cae0f298509f8d5c8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/set.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,KAAK;OACxB,EAAE,aAAa,EAA6B;OAC5C,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,IAAI,CAAC;IAClB,KAAK,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAClD,CAAC;AAEF,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAG,kBAAkB,CAqB1E"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js new file mode 100644 index 0000000000000000000000000000000000000000..a3e8545276b553a3169abd0c4dfa232bab0e5e75 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js @@ -0,0 +1,24 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseSetDef = parseSetDef; +const errorMessages_1 = require("../errorMessages.js"); +const parseDef_1 = require("../parseDef.js"); +function parseSetDef(def, refs) { + const items = (0, parseDef_1.parseDef)(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'items'], + }); + const schema = { + type: 'array', + uniqueItems: true, + items, + }; + if (def.minSize) { + (0, errorMessages_1.setResponseValueAndErrors)(schema, 'minItems', def.minSize.value, def.minSize.message, refs); + } + if (def.maxSize) { + (0, errorMessages_1.setResponseValueAndErrors)(schema, 'maxItems', def.maxSize.value, def.maxSize.message, refs); + } + return schema; +} +//# sourceMappingURL=set.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8bbd1f7e526bfaddc629bdcd8fb3b61fbca469ee --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js.map @@ -0,0 +1 @@ +{"version":3,"file":"set.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/set.ts"],"names":[],"mappings":";;AAcA,kCAqBC;AAlCD,uDAA4E;AAC5E,6CAAwD;AAYxD,SAAgB,WAAW,CAAC,GAAc,EAAE,IAAU;IACpD,MAAM,KAAK,GAAG,IAAA,mBAAQ,EAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QACzC,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;KAC5C,CAAC,CAAC;IAEH,MAAM,MAAM,GAAuB;QACjC,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,IAAI;QACjB,KAAK;KACN,CAAC;IAEF,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,IAAA,yCAAyB,EAAC,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9F,CAAC;IAED,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,IAAA,yCAAyB,EAAC,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9F,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a235277f78702433448c9d0b46066964aeec8b8a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.mjs @@ -0,0 +1,21 @@ +import { setResponseValueAndErrors } from "../errorMessages.mjs"; +import { parseDef } from "../parseDef.mjs"; +export function parseSetDef(def, refs) { + const items = parseDef(def.valueType._def, { + ...refs, + currentPath: [...refs.currentPath, 'items'], + }); + const schema = { + type: 'array', + uniqueItems: true, + items, + }; + if (def.minSize) { + setResponseValueAndErrors(schema, 'minItems', def.minSize.value, def.minSize.message, refs); + } + if (def.maxSize) { + setResponseValueAndErrors(schema, 'maxItems', def.maxSize.value, def.maxSize.message, refs); + } + return schema; +} +//# sourceMappingURL=set.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..3c6b4ad21b6500fe8c4029e6de0953efdab0e335 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"set.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/set.ts"],"names":[],"mappings":"OACO,EAAiB,yBAAyB,EAAE;OAC5C,EAAmB,QAAQ,EAAE;AAYpC,MAAM,UAAU,WAAW,CAAC,GAAc,EAAE,IAAU;IACpD,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE;QACzC,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;KAC5C,CAAC,CAAC;IAEH,MAAM,MAAM,GAAuB;QACjC,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,IAAI;QACjB,KAAK;KACN,CAAC;IAEF,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,yBAAyB,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9F,CAAC;IAED,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,yBAAyB,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9F,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..5baec722e092d5bc2b3391b5587a695941c0132e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts @@ -0,0 +1,70 @@ +import { ZodStringDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.mjs"; +import { Refs } from "../Refs.mjs"; +/** + * Generated from the regular expressions found here as of 2024-05-22: + * https://github.com/colinhacks/zod/blob/master/src/types.ts. + * + * Expressions with /i flag have been changed accordingly. + */ +export declare const zodPatterns: { + /** + * `c` was changed to `[cC]` to replicate /i flag + */ + readonly cuid: RegExp; + readonly cuid2: RegExp; + readonly ulid: RegExp; + /** + * `a-z` was added to replicate /i flag + */ + readonly email: RegExp; + /** + * Constructed a valid Unicode RegExp + * + * Lazily instantiate since this type of regex isn't supported + * in all envs (e.g. React Native). + * + * See: + * https://github.com/colinhacks/zod/issues/2433 + * Fix in Zod: + * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b + */ + readonly emoji: () => RegExp; + /** + * Unused + */ + readonly uuid: RegExp; + /** + * Unused + */ + readonly ipv4: RegExp; + /** + * Unused + */ + readonly ipv6: RegExp; + readonly base64: RegExp; + readonly nanoid: RegExp; +}; +export type JsonSchema7StringType = { + type: 'string'; + minLength?: number; + maxLength?: number; + format?: 'email' | 'idn-email' | 'uri' | 'uuid' | 'date-time' | 'ipv4' | 'ipv6' | 'date' | 'time' | 'duration'; + pattern?: string; + allOf?: { + pattern: string; + errorMessage?: ErrorMessages<{ + pattern: string; + }>; + }[]; + anyOf?: { + format: string; + errorMessage?: ErrorMessages<{ + format: string; + }>; + }[]; + errorMessage?: ErrorMessages; + contentEncoding?: string; +}; +export declare function parseStringDef(def: ZodStringDef, refs: Refs): JsonSchema7StringType; +//# sourceMappingURL=string.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..cd1e699b1a6125ae1bd917ab554a899c2bc2ce3e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"string.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/string.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAE,aAAa,EAA6B;OAC5C,EAAE,IAAI,EAAE;AAIf;;;;;GAKG;AACH,eAAO,MAAM,WAAW;IACtB;;OAEG;;;;IAIH;;OAEG;;IAEH;;;;;;;;;;OAUG;;IAOH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;CAIK,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EACH,OAAO,GACP,WAAW,GACX,KAAK,GACL,MAAM,GACN,WAAW,GACX,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,UAAU,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KACnD,EAAE,CAAC;IACJ,KAAK,CAAC,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,aAAa,CAAC;YAAE,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAClD,EAAE,CAAC;IACJ,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;IACpD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CAoJnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ce2e2c8eed5a072f65502ec82bb22e4974883ac9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts @@ -0,0 +1,70 @@ +import { ZodStringDef } from 'zod'; +import { ErrorMessages } from "../errorMessages.js"; +import { Refs } from "../Refs.js"; +/** + * Generated from the regular expressions found here as of 2024-05-22: + * https://github.com/colinhacks/zod/blob/master/src/types.ts. + * + * Expressions with /i flag have been changed accordingly. + */ +export declare const zodPatterns: { + /** + * `c` was changed to `[cC]` to replicate /i flag + */ + readonly cuid: RegExp; + readonly cuid2: RegExp; + readonly ulid: RegExp; + /** + * `a-z` was added to replicate /i flag + */ + readonly email: RegExp; + /** + * Constructed a valid Unicode RegExp + * + * Lazily instantiate since this type of regex isn't supported + * in all envs (e.g. React Native). + * + * See: + * https://github.com/colinhacks/zod/issues/2433 + * Fix in Zod: + * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b + */ + readonly emoji: () => RegExp; + /** + * Unused + */ + readonly uuid: RegExp; + /** + * Unused + */ + readonly ipv4: RegExp; + /** + * Unused + */ + readonly ipv6: RegExp; + readonly base64: RegExp; + readonly nanoid: RegExp; +}; +export type JsonSchema7StringType = { + type: 'string'; + minLength?: number; + maxLength?: number; + format?: 'email' | 'idn-email' | 'uri' | 'uuid' | 'date-time' | 'ipv4' | 'ipv6' | 'date' | 'time' | 'duration'; + pattern?: string; + allOf?: { + pattern: string; + errorMessage?: ErrorMessages<{ + pattern: string; + }>; + }[]; + anyOf?: { + format: string; + errorMessage?: ErrorMessages<{ + format: string; + }>; + }[]; + errorMessage?: ErrorMessages; + contentEncoding?: string; +}; +export declare function parseStringDef(def: ZodStringDef, refs: Refs): JsonSchema7StringType; +//# sourceMappingURL=string.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..00c2eeb3347c42a5358c1c5ca6c7713760e5da86 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/string.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE,MAAM,KAAK;OAC3B,EAAE,aAAa,EAA6B;OAC5C,EAAE,IAAI,EAAE;AAIf;;;;;GAKG;AACH,eAAO,MAAM,WAAW;IACtB;;OAEG;;;;IAIH;;OAEG;;IAEH;;;;;;;;;;OAUG;;IAOH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;CAIK,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EACH,OAAO,GACP,WAAW,GACX,KAAK,GACL,MAAM,GACN,WAAW,GACX,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,UAAU,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KACnD,EAAE,CAAC;IACJ,KAAK,CAAC,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,aAAa,CAAC;YAAE,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAClD,EAAE,CAAC;IACJ,YAAY,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;IACpD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CAoJnF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js new file mode 100644 index 0000000000000000000000000000000000000000..54bf1582757c613702e5a7d756a1be302c2c1068 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js @@ -0,0 +1,316 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.zodPatterns = void 0; +exports.parseStringDef = parseStringDef; +const errorMessages_1 = require("../errorMessages.js"); +let emojiRegex; +/** + * Generated from the regular expressions found here as of 2024-05-22: + * https://github.com/colinhacks/zod/blob/master/src/types.ts. + * + * Expressions with /i flag have been changed accordingly. + */ +exports.zodPatterns = { + /** + * `c` was changed to `[cC]` to replicate /i flag + */ + cuid: /^[cC][^\s-]{8,}$/, + cuid2: /^[0-9a-z]+$/, + ulid: /^[0-9A-HJKMNP-TV-Z]{26}$/, + /** + * `a-z` was added to replicate /i flag + */ + email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/, + /** + * Constructed a valid Unicode RegExp + * + * Lazily instantiate since this type of regex isn't supported + * in all envs (e.g. React Native). + * + * See: + * https://github.com/colinhacks/zod/issues/2433 + * Fix in Zod: + * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b + */ + emoji: () => { + if (emojiRegex === undefined) { + emojiRegex = RegExp('^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$', 'u'); + } + return emojiRegex; + }, + /** + * Unused + */ + uuid: /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/, + /** + * Unused + */ + ipv4: /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, + /** + * Unused + */ + ipv6: /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, + base64: /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, + nanoid: /^[a-zA-Z0-9_-]{21}$/, +}; +function parseStringDef(def, refs) { + const res = { + type: 'string', + }; + function processPattern(value) { + return refs.patternStrategy === 'escape' ? escapeNonAlphaNumeric(value) : value; + } + if (def.checks) { + for (const check of def.checks) { + switch (check.kind) { + case 'min': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minLength', typeof res.minLength === 'number' ? Math.max(res.minLength, check.value) : check.value, check.message, refs); + break; + case 'max': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maxLength', typeof res.maxLength === 'number' ? Math.min(res.maxLength, check.value) : check.value, check.message, refs); + break; + case 'email': + switch (refs.emailStrategy) { + case 'format:email': + addFormat(res, 'email', check.message, refs); + break; + case 'format:idn-email': + addFormat(res, 'idn-email', check.message, refs); + break; + case 'pattern:zod': + addPattern(res, exports.zodPatterns.email, check.message, refs); + break; + } + break; + case 'url': + addFormat(res, 'uri', check.message, refs); + break; + case 'uuid': + addFormat(res, 'uuid', check.message, refs); + break; + case 'regex': + addPattern(res, check.regex, check.message, refs); + break; + case 'cuid': + addPattern(res, exports.zodPatterns.cuid, check.message, refs); + break; + case 'cuid2': + addPattern(res, exports.zodPatterns.cuid2, check.message, refs); + break; + case 'startsWith': + addPattern(res, RegExp(`^${processPattern(check.value)}`), check.message, refs); + break; + case 'endsWith': + addPattern(res, RegExp(`${processPattern(check.value)}$`), check.message, refs); + break; + case 'datetime': + addFormat(res, 'date-time', check.message, refs); + break; + case 'date': + addFormat(res, 'date', check.message, refs); + break; + case 'time': + addFormat(res, 'time', check.message, refs); + break; + case 'duration': + addFormat(res, 'duration', check.message, refs); + break; + case 'length': + (0, errorMessages_1.setResponseValueAndErrors)(res, 'minLength', typeof res.minLength === 'number' ? Math.max(res.minLength, check.value) : check.value, check.message, refs); + (0, errorMessages_1.setResponseValueAndErrors)(res, 'maxLength', typeof res.maxLength === 'number' ? Math.min(res.maxLength, check.value) : check.value, check.message, refs); + break; + case 'includes': { + addPattern(res, RegExp(processPattern(check.value)), check.message, refs); + break; + } + case 'ip': { + if (check.version !== 'v6') { + addFormat(res, 'ipv4', check.message, refs); + } + if (check.version !== 'v4') { + addFormat(res, 'ipv6', check.message, refs); + } + break; + } + case 'emoji': + addPattern(res, exports.zodPatterns.emoji, check.message, refs); + break; + case 'ulid': { + addPattern(res, exports.zodPatterns.ulid, check.message, refs); + break; + } + case 'base64': { + switch (refs.base64Strategy) { + case 'format:binary': { + addFormat(res, 'binary', check.message, refs); + break; + } + case 'contentEncoding:base64': { + (0, errorMessages_1.setResponseValueAndErrors)(res, 'contentEncoding', 'base64', check.message, refs); + break; + } + case 'pattern:zod': { + addPattern(res, exports.zodPatterns.base64, check.message, refs); + break; + } + } + break; + } + case 'nanoid': { + addPattern(res, exports.zodPatterns.nanoid, check.message, refs); + } + case 'toLowerCase': + case 'toUpperCase': + case 'trim': + break; + default: + ((_) => { })(check); + } + } + } + return res; +} +const escapeNonAlphaNumeric = (value) => Array.from(value) + .map((c) => (/[a-zA-Z0-9]/.test(c) ? c : `\\${c}`)) + .join(''); +const addFormat = (schema, value, message, refs) => { + if (schema.format || schema.anyOf?.some((x) => x.format)) { + if (!schema.anyOf) { + schema.anyOf = []; + } + if (schema.format) { + schema.anyOf.push({ + format: schema.format, + ...(schema.errorMessage && + refs.errorMessages && { + errorMessage: { format: schema.errorMessage.format }, + }), + }); + delete schema.format; + if (schema.errorMessage) { + delete schema.errorMessage.format; + if (Object.keys(schema.errorMessage).length === 0) { + delete schema.errorMessage; + } + } + } + schema.anyOf.push({ + format: value, + ...(message && refs.errorMessages && { errorMessage: { format: message } }), + }); + } + else { + (0, errorMessages_1.setResponseValueAndErrors)(schema, 'format', value, message, refs); + } +}; +const addPattern = (schema, regex, message, refs) => { + if (schema.pattern || schema.allOf?.some((x) => x.pattern)) { + if (!schema.allOf) { + schema.allOf = []; + } + if (schema.pattern) { + schema.allOf.push({ + pattern: schema.pattern, + ...(schema.errorMessage && + refs.errorMessages && { + errorMessage: { pattern: schema.errorMessage.pattern }, + }), + }); + delete schema.pattern; + if (schema.errorMessage) { + delete schema.errorMessage.pattern; + if (Object.keys(schema.errorMessage).length === 0) { + delete schema.errorMessage; + } + } + } + schema.allOf.push({ + pattern: processRegExp(regex, refs), + ...(message && refs.errorMessages && { errorMessage: { pattern: message } }), + }); + } + else { + (0, errorMessages_1.setResponseValueAndErrors)(schema, 'pattern', processRegExp(regex, refs), message, refs); + } +}; +// Mutate z.string.regex() in a best attempt to accommodate for regex flags when applyRegexFlags is true +const processRegExp = (regexOrFunction, refs) => { + const regex = typeof regexOrFunction === 'function' ? regexOrFunction() : regexOrFunction; + if (!refs.applyRegexFlags || !regex.flags) + return regex.source; + // Currently handled flags + const flags = { + i: regex.flags.includes('i'), // Case-insensitive + m: regex.flags.includes('m'), // `^` and `$` matches adjacent to newline characters + s: regex.flags.includes('s'), // `.` matches newlines + }; + // The general principle here is to step through each character, one at a time, applying mutations as flags require. We keep track when the current character is escaped, and when it's inside a group /like [this]/ or (also) a range like /[a-z]/. The following is fairly brittle imperative code; edit at your peril! + const source = flags.i ? regex.source.toLowerCase() : regex.source; + let pattern = ''; + let isEscaped = false; + let inCharGroup = false; + let inCharRange = false; + for (let i = 0; i < source.length; i++) { + if (isEscaped) { + pattern += source[i]; + isEscaped = false; + continue; + } + if (flags.i) { + if (inCharGroup) { + if (source[i].match(/[a-z]/)) { + if (inCharRange) { + pattern += source[i]; + pattern += `${source[i - 2]}-${source[i]}`.toUpperCase(); + inCharRange = false; + } + else if (source[i + 1] === '-' && source[i + 2]?.match(/[a-z]/)) { + pattern += source[i]; + inCharRange = true; + } + else { + pattern += `${source[i]}${source[i].toUpperCase()}`; + } + continue; + } + } + else if (source[i].match(/[a-z]/)) { + pattern += `[${source[i]}${source[i].toUpperCase()}]`; + continue; + } + } + if (flags.m) { + if (source[i] === '^') { + pattern += `(^|(?<=[\r\n]))`; + continue; + } + else if (source[i] === '$') { + pattern += `($|(?=[\r\n]))`; + continue; + } + } + if (flags.s && source[i] === '.') { + pattern += inCharGroup ? `${source[i]}\r\n` : `[${source[i]}\r\n]`; + continue; + } + pattern += source[i]; + if (source[i] === '\\') { + isEscaped = true; + } + else if (inCharGroup && source[i] === ']') { + inCharGroup = false; + } + else if (!inCharGroup && source[i] === '[') { + inCharGroup = true; + } + } + try { + const regexTest = new RegExp(pattern); + } + catch { + console.warn(`Could not convert regex pattern at ${refs.currentPath.join('/')} to a flag-independent form! Falling back to the flag-ignorant source`); + return regex.source; + } + return pattern; +}; +//# sourceMappingURL=string.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js.map new file mode 100644 index 0000000000000000000000000000000000000000..857d1f39d2f2d5dbf073be2bb45054ada62369c6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js.map @@ -0,0 +1 @@ +{"version":3,"file":"string.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/string.ts"],"names":[],"mappings":";;;AAqFA,wCAoJC;AAvOD,uDAA4E;AAG5E,IAAI,UAA8B,CAAC;AAEnC;;;;;GAKG;AACU,QAAA,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AAC;QACH,CAAC;QAED,IAAI,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YACjC,OAAO,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;YACnE,SAAS;QACX,CAAC;QAED,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC;QACrB,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;YACvB,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC;aAAM,IAAI,WAAW,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YAC5C,WAAW,GAAG,KAAK,CAAC;QACtB,CAAC;aAAM,IAAI,CAAC,WAAW,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YAC7C,WAAW,GAAG,IAAI,CAAC;QACrB,CAAC;IACH,CAAC;IAED,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,CAAC,IAAI,CACV,sCAAsC,IAAI,CAAC,WAAW,CAAC,IAAI,CACzD,GAAG,CACJ,uEAAuE,CACzE,CAAC;QACF,OAAO,KAAK,CAAC,MAAM,CAAC;IACtB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.mjs new file mode 100644 index 0000000000000000000000000000000000000000..0eb601495a8fa95c3f44dc40c2b957967945b28e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.mjs @@ -0,0 +1,312 @@ +import { setResponseValueAndErrors } from "../errorMessages.mjs"; +let emojiRegex; +/** + * Generated from the regular expressions found here as of 2024-05-22: + * https://github.com/colinhacks/zod/blob/master/src/types.ts. + * + * Expressions with /i flag have been changed accordingly. + */ +export const zodPatterns = { + /** + * `c` was changed to `[cC]` to replicate /i flag + */ + cuid: /^[cC][^\s-]{8,}$/, + cuid2: /^[0-9a-z]+$/, + ulid: /^[0-9A-HJKMNP-TV-Z]{26}$/, + /** + * `a-z` was added to replicate /i flag + */ + email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/, + /** + * Constructed a valid Unicode RegExp + * + * Lazily instantiate since this type of regex isn't supported + * in all envs (e.g. React Native). + * + * See: + * https://github.com/colinhacks/zod/issues/2433 + * Fix in Zod: + * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b + */ + emoji: () => { + if (emojiRegex === undefined) { + emojiRegex = RegExp('^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$', 'u'); + } + return emojiRegex; + }, + /** + * Unused + */ + uuid: /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/, + /** + * Unused + */ + ipv4: /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, + /** + * Unused + */ + ipv6: /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, + base64: /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, + nanoid: /^[a-zA-Z0-9_-]{21}$/, +}; +export function parseStringDef(def, refs) { + const res = { + type: 'string', + }; + function processPattern(value) { + return refs.patternStrategy === 'escape' ? escapeNonAlphaNumeric(value) : value; + } + if (def.checks) { + for (const check of def.checks) { + switch (check.kind) { + case 'min': + setResponseValueAndErrors(res, 'minLength', typeof res.minLength === 'number' ? Math.max(res.minLength, check.value) : check.value, check.message, refs); + break; + case 'max': + setResponseValueAndErrors(res, 'maxLength', typeof res.maxLength === 'number' ? Math.min(res.maxLength, check.value) : check.value, check.message, refs); + break; + case 'email': + switch (refs.emailStrategy) { + case 'format:email': + addFormat(res, 'email', check.message, refs); + break; + case 'format:idn-email': + addFormat(res, 'idn-email', check.message, refs); + break; + case 'pattern:zod': + addPattern(res, zodPatterns.email, check.message, refs); + break; + } + break; + case 'url': + addFormat(res, 'uri', check.message, refs); + break; + case 'uuid': + addFormat(res, 'uuid', check.message, refs); + break; + case 'regex': + addPattern(res, check.regex, check.message, refs); + break; + case 'cuid': + addPattern(res, zodPatterns.cuid, check.message, refs); + break; + case 'cuid2': + addPattern(res, zodPatterns.cuid2, check.message, refs); + break; + case 'startsWith': + addPattern(res, RegExp(`^${processPattern(check.value)}`), check.message, refs); + break; + case 'endsWith': + addPattern(res, RegExp(`${processPattern(check.value)}$`), check.message, refs); + break; + case 'datetime': + addFormat(res, 'date-time', check.message, refs); + break; + case 'date': + addFormat(res, 'date', check.message, refs); + break; + case 'time': + addFormat(res, 'time', check.message, refs); + break; + case 'duration': + addFormat(res, 'duration', check.message, refs); + break; + case 'length': + setResponseValueAndErrors(res, 'minLength', typeof res.minLength === 'number' ? Math.max(res.minLength, check.value) : check.value, check.message, refs); + setResponseValueAndErrors(res, 'maxLength', typeof res.maxLength === 'number' ? Math.min(res.maxLength, check.value) : check.value, check.message, refs); + break; + case 'includes': { + addPattern(res, RegExp(processPattern(check.value)), check.message, refs); + break; + } + case 'ip': { + if (check.version !== 'v6') { + addFormat(res, 'ipv4', check.message, refs); + } + if (check.version !== 'v4') { + addFormat(res, 'ipv6', check.message, refs); + } + break; + } + case 'emoji': + addPattern(res, zodPatterns.emoji, check.message, refs); + break; + case 'ulid': { + addPattern(res, zodPatterns.ulid, check.message, refs); + break; + } + case 'base64': { + switch (refs.base64Strategy) { + case 'format:binary': { + addFormat(res, 'binary', check.message, refs); + break; + } + case 'contentEncoding:base64': { + setResponseValueAndErrors(res, 'contentEncoding', 'base64', check.message, refs); + break; + } + case 'pattern:zod': { + addPattern(res, zodPatterns.base64, check.message, refs); + break; + } + } + break; + } + case 'nanoid': { + addPattern(res, zodPatterns.nanoid, check.message, refs); + } + case 'toLowerCase': + case 'toUpperCase': + case 'trim': + break; + default: + ((_) => { })(check); + } + } + } + return res; +} +const escapeNonAlphaNumeric = (value) => Array.from(value) + .map((c) => (/[a-zA-Z0-9]/.test(c) ? c : `\\${c}`)) + .join(''); +const addFormat = (schema, value, message, refs) => { + if (schema.format || schema.anyOf?.some((x) => x.format)) { + if (!schema.anyOf) { + schema.anyOf = []; + } + if (schema.format) { + schema.anyOf.push({ + format: schema.format, + ...(schema.errorMessage && + refs.errorMessages && { + errorMessage: { format: schema.errorMessage.format }, + }), + }); + delete schema.format; + if (schema.errorMessage) { + delete schema.errorMessage.format; + if (Object.keys(schema.errorMessage).length === 0) { + delete schema.errorMessage; + } + } + } + schema.anyOf.push({ + format: value, + ...(message && refs.errorMessages && { errorMessage: { format: message } }), + }); + } + else { + setResponseValueAndErrors(schema, 'format', value, message, refs); + } +}; +const addPattern = (schema, regex, message, refs) => { + if (schema.pattern || schema.allOf?.some((x) => x.pattern)) { + if (!schema.allOf) { + schema.allOf = []; + } + if (schema.pattern) { + schema.allOf.push({ + pattern: schema.pattern, + ...(schema.errorMessage && + refs.errorMessages && { + errorMessage: { pattern: schema.errorMessage.pattern }, + }), + }); + delete schema.pattern; + if (schema.errorMessage) { + delete schema.errorMessage.pattern; + if (Object.keys(schema.errorMessage).length === 0) { + delete schema.errorMessage; + } + } + } + schema.allOf.push({ + pattern: processRegExp(regex, refs), + ...(message && refs.errorMessages && { errorMessage: { pattern: message } }), + }); + } + else { + setResponseValueAndErrors(schema, 'pattern', processRegExp(regex, refs), message, refs); + } +}; +// Mutate z.string.regex() in a best attempt to accommodate for regex flags when applyRegexFlags is true +const processRegExp = (regexOrFunction, refs) => { + const regex = typeof regexOrFunction === 'function' ? regexOrFunction() : regexOrFunction; + if (!refs.applyRegexFlags || !regex.flags) + return regex.source; + // Currently handled flags + const flags = { + i: regex.flags.includes('i'), // Case-insensitive + m: regex.flags.includes('m'), // `^` and `$` matches adjacent to newline characters + s: regex.flags.includes('s'), // `.` matches newlines + }; + // The general principle here is to step through each character, one at a time, applying mutations as flags require. We keep track when the current character is escaped, and when it's inside a group /like [this]/ or (also) a range like /[a-z]/. The following is fairly brittle imperative code; edit at your peril! + const source = flags.i ? regex.source.toLowerCase() : regex.source; + let pattern = ''; + let isEscaped = false; + let inCharGroup = false; + let inCharRange = false; + for (let i = 0; i < source.length; i++) { + if (isEscaped) { + pattern += source[i]; + isEscaped = false; + continue; + } + if (flags.i) { + if (inCharGroup) { + if (source[i].match(/[a-z]/)) { + if (inCharRange) { + pattern += source[i]; + pattern += `${source[i - 2]}-${source[i]}`.toUpperCase(); + inCharRange = false; + } + else if (source[i + 1] === '-' && source[i + 2]?.match(/[a-z]/)) { + pattern += source[i]; + inCharRange = true; + } + else { + pattern += `${source[i]}${source[i].toUpperCase()}`; + } + continue; + } + } + else if (source[i].match(/[a-z]/)) { + pattern += `[${source[i]}${source[i].toUpperCase()}]`; + continue; + } + } + if (flags.m) { + if (source[i] === '^') { + pattern += `(^|(?<=[\r\n]))`; + continue; + } + else if (source[i] === '$') { + pattern += `($|(?=[\r\n]))`; + continue; + } + } + if (flags.s && source[i] === '.') { + pattern += inCharGroup ? `${source[i]}\r\n` : `[${source[i]}\r\n]`; + continue; + } + pattern += source[i]; + if (source[i] === '\\') { + isEscaped = true; + } + else if (inCharGroup && source[i] === ']') { + inCharGroup = false; + } + else if (!inCharGroup && source[i] === '[') { + inCharGroup = true; + } + } + try { + const regexTest = new RegExp(pattern); + } + catch { + console.warn(`Could not convert regex pattern at ${refs.currentPath.join('/')} to a flag-independent form! Falling back to the flag-ignorant source`); + return regex.source; + } + return pattern; +}; +//# sourceMappingURL=string.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..a5f058c41d3e705e99e56e41ec63fcfddb0dac27 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"string.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/string.ts"],"names":[],"mappings":"OAEO,EAAiB,yBAAyB,EAAE;AAGnD,IAAI,UAA8B,CAAC;AAEnC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,0BAA0B;IAChC;;OAEG;IACH,KAAK,EAAE,kGAAkG;IACzG;;;;;;;;;;OAUG;IACH,KAAK,EAAE,GAAG,EAAE;QACV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E,SAAS;QACX,CAAC;QAED,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC;QACrB,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;YACvB,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC;aAAM,IAAI,WAAW,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YAC5C,WAAW,GAAG,KAAK,CAAC;QACtB,CAAC;aAAM,IAAI,CAAC,WAAW,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YAC7C,WAAW,GAAG,IAAI,CAAC;QACrB,CAAC;IACH,CAAC;IAED,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,CAAC,IAAI,CACV,sCAAsC,IAAI,CAAC,WAAW,CAAC,IAAI,CACzD,GAAG,CACJ,uEAAuE,CACzE,CAAC;QACF,OAAO,KAAK,CAAC,MAAM,CAAC;IACtB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..9eecf3c33659defcf2b30ca86cf4742912954294 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts @@ -0,0 +1,14 @@ +import { ZodTupleDef, ZodTupleItems, ZodTypeAny } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export type JsonSchema7TupleType = { + type: 'array'; + minItems: number; + items: JsonSchema7Type[]; +} & ({ + maxItems: number; +} | { + additionalItems?: JsonSchema7Type | undefined; +}); +export declare function parseTupleDef(def: ZodTupleDef, refs: Refs): JsonSchema7TupleType; +//# sourceMappingURL=tuple.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..edff208d45d4d279366988d3b5a75beac4b69a34 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"tuple.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/tuple.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,KAAK;OACrD,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B,GAAG,CACA;IACE,QAAQ,EAAE,MAAM,CAAC;CAClB,GACD;IACE,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CAC/C,CACJ,CAAC;AAEF,wBAAgB,aAAa,CAC3B,GAAG,EAAE,WAAW,CAAC,aAAa,GAAG,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC,EACvD,IAAI,EAAE,IAAI,GACT,oBAAoB,CAiCtB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..06cb1b7343ef13408d32d1412fd1ed4d02b60ca3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts @@ -0,0 +1,14 @@ +import { ZodTupleDef, ZodTupleItems, ZodTypeAny } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export type JsonSchema7TupleType = { + type: 'array'; + minItems: number; + items: JsonSchema7Type[]; +} & ({ + maxItems: number; +} | { + additionalItems?: JsonSchema7Type | undefined; +}); +export declare function parseTupleDef(def: ZodTupleDef, refs: Refs): JsonSchema7TupleType; +//# sourceMappingURL=tuple.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e7cab4ac5885d415825ca11b01af2c5d26de713c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"tuple.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/tuple.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,KAAK;OACrD,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B,GAAG,CACA;IACE,QAAQ,EAAE,MAAM,CAAC;CAClB,GACD;IACE,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CAC/C,CACJ,CAAC;AAEF,wBAAgB,aAAa,CAC3B,GAAG,EAAE,WAAW,CAAC,aAAa,GAAG,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC,EACvD,IAAI,EAAE,IAAI,GACT,oBAAoB,CAiCtB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js new file mode 100644 index 0000000000000000000000000000000000000000..35980cb96c3d764258e36db690e268e55279b5f8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js @@ -0,0 +1,36 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseTupleDef = parseTupleDef; +const parseDef_1 = require("../parseDef.js"); +function parseTupleDef(def, refs) { + if (def.rest) { + return { + type: 'array', + minItems: def.items.length, + items: def.items + .map((x, i) => (0, parseDef_1.parseDef)(x._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', `${i}`], + })) + .reduce((acc, x) => (x === undefined ? acc : [...acc, x]), []), + additionalItems: (0, parseDef_1.parseDef)(def.rest._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalItems'], + }), + }; + } + else { + return { + type: 'array', + minItems: def.items.length, + maxItems: def.items.length, + items: def.items + .map((x, i) => (0, parseDef_1.parseDef)(x._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', `${i}`], + })) + .reduce((acc, x) => (x === undefined ? acc : [...acc, x]), []), + }; + } +} +//# sourceMappingURL=tuple.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ce7994ef854fa0765133c72311e0ed3fd600f0c3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js.map @@ -0,0 +1 @@ +{"version":3,"file":"tuple.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/tuple.ts"],"names":[],"mappings":";;AAiBA,sCAoCC;AApDD,6CAAwD;AAgBxD,SAAgB,aAAa,CAC3B,GAAuD,EACvD,IAAU;IAEV,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;QACb,OAAO;YACL,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;YAC1B,KAAK,EAAE,GAAG,CAAC,KAAK;iBACb,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACZ,IAAA,mBAAQ,EAAC,CAAC,CAAC,IAAI,EAAE;gBACf,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;aACpD,CAAC,CACH;iBACA,MAAM,CAAC,CAAC,GAAsB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;YACnF,eAAe,EAAE,IAAA,mBAAQ,EAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;gBACvC,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,iBAAiB,CAAC;aACtD,CAAC;SACH,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;YAC1B,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;YAC1B,KAAK,EAAE,GAAG,CAAC,KAAK;iBACb,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACZ,IAAA,mBAAQ,EAAC,CAAC,CAAC,IAAI,EAAE;gBACf,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;aACpD,CAAC,CACH;iBACA,MAAM,CAAC,CAAC,GAAsB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;SACpF,CAAC;IACJ,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.mjs new file mode 100644 index 0000000000000000000000000000000000000000..0acec70c10734838de224e1f7377e0ad428e2e06 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.mjs @@ -0,0 +1,33 @@ +import { parseDef } from "../parseDef.mjs"; +export function parseTupleDef(def, refs) { + if (def.rest) { + return { + type: 'array', + minItems: def.items.length, + items: def.items + .map((x, i) => parseDef(x._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', `${i}`], + })) + .reduce((acc, x) => (x === undefined ? acc : [...acc, x]), []), + additionalItems: parseDef(def.rest._def, { + ...refs, + currentPath: [...refs.currentPath, 'additionalItems'], + }), + }; + } + else { + return { + type: 'array', + minItems: def.items.length, + maxItems: def.items.length, + items: def.items + .map((x, i) => parseDef(x._def, { + ...refs, + currentPath: [...refs.currentPath, 'items', `${i}`], + })) + .reduce((acc, x) => (x === undefined ? acc : [...acc, x]), []), + }; + } +} +//# sourceMappingURL=tuple.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..8d9f7d5f0c29b8f153d36cb38fb800f5c0cde7a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"tuple.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/tuple.ts"],"names":[],"mappings":"OACO,EAAmB,QAAQ,EAAE;AAgBpC,MAAM,UAAU,aAAa,CAC3B,GAAuD,EACvD,IAAU;IAEV,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;QACb,OAAO;YACL,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;YAC1B,KAAK,EAAE,GAAG,CAAC,KAAK;iBACb,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACZ,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE;gBACf,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;aACpD,CAAC,CACH;iBACA,MAAM,CAAC,CAAC,GAAsB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;YACnF,eAAe,EAAE,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;gBACvC,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,iBAAiB,CAAC;aACtD,CAAC;SACH,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;YAC1B,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;YAC1B,KAAK,EAAE,GAAG,CAAC,KAAK;iBACb,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACZ,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE;gBACf,GAAG,IAAI;gBACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;aACpD,CAAC,CACH;iBACA,MAAM,CAAC,CAAC,GAAsB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;SACpF,CAAC;IACJ,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..22c235b99f3981a58d02725311c5f96d0a1f1d83 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts @@ -0,0 +1,5 @@ +export type JsonSchema7UndefinedType = { + not: {}; +}; +export declare function parseUndefinedDef(): JsonSchema7UndefinedType; +//# sourceMappingURL=undefined.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..909455c3cc613faee5aa76e1a5cacc9029a63383 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"undefined.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/undefined.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,EAAE,CAAC;CACT,CAAC;AAEF,wBAAgB,iBAAiB,IAAI,wBAAwB,CAI5D"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..95df6013494589ee146afc31e379878b64a11269 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts @@ -0,0 +1,5 @@ +export type JsonSchema7UndefinedType = { + not: {}; +}; +export declare function parseUndefinedDef(): JsonSchema7UndefinedType; +//# sourceMappingURL=undefined.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f1358a0a2965081fd49ca271a95fef64c2940bd5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"undefined.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/undefined.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,EAAE,CAAC;CACT,CAAC;AAEF,wBAAgB,iBAAiB,IAAI,wBAAwB,CAI5D"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js new file mode 100644 index 0000000000000000000000000000000000000000..40ea4929320200d08376152078a02b792746b1be --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseUndefinedDef = parseUndefinedDef; +function parseUndefinedDef() { + return { + not: {}, + }; +} +//# sourceMappingURL=undefined.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js.map new file mode 100644 index 0000000000000000000000000000000000000000..3fc44dca31ba11f78a3da9f31077c9ba2dd26f94 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js.map @@ -0,0 +1 @@ +{"version":3,"file":"undefined.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/undefined.ts"],"names":[],"mappings":";;AAIA,8CAIC;AAJD,SAAgB,iBAAiB;IAC/B,OAAO;QACL,GAAG,EAAE,EAAE;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.mjs new file mode 100644 index 0000000000000000000000000000000000000000..32ecd26ea94d0af2f2000bd6cfcfcbe899a45413 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.mjs @@ -0,0 +1,6 @@ +export function parseUndefinedDef() { + return { + not: {}, + }; +} +//# sourceMappingURL=undefined.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..01706a8ac241c955a56f163032e45e5091bdc74e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"undefined.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/undefined.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,iBAAiB;IAC/B,OAAO;QACL,GAAG,EAAE,EAAE;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..3d9a91f8c6c0e10305141a530b96db90b4298d73 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts @@ -0,0 +1,24 @@ +import { ZodDiscriminatedUnionDef, ZodUnionDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.mjs"; +import { Refs } from "../Refs.mjs"; +export declare const primitiveMappings: { + readonly ZodString: "string"; + readonly ZodNumber: "number"; + readonly ZodBigInt: "integer"; + readonly ZodBoolean: "boolean"; + readonly ZodNull: "null"; +}; +type JsonSchema7Primitive = (typeof primitiveMappings)[keyof typeof primitiveMappings]; +export type JsonSchema7UnionType = JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType; +type JsonSchema7PrimitiveUnionType = { + type: JsonSchema7Primitive | JsonSchema7Primitive[]; +} | { + type: JsonSchema7Primitive | JsonSchema7Primitive[]; + enum: (string | number | bigint | boolean | null)[]; +}; +type JsonSchema7AnyOfType = { + anyOf: JsonSchema7Type[]; +}; +export declare function parseUnionDef(def: ZodUnionDef | ZodDiscriminatedUnionDef, refs: Refs): JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType | undefined; +export {}; +//# sourceMappingURL=union.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0be57676d99c9ba1f066388d59e44436a639d17f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"union.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/union.ts"],"names":[],"mappings":"OAAO,EAAE,wBAAwB,EAA6B,WAAW,EAAE,MAAM,KAAK;OAC/E,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,iBAAiB;;;;;;CAMpB,CAAC;AAEX,KAAK,oBAAoB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,GAAG,oBAAoB,CAAC;AAExF,KAAK,6BAA6B,GAC9B;IACE,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CACrD,GACD;IACE,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;IACpD,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC;CACrD,CAAC;AAEN,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,aAAa,CAC3B,GAAG,EAAE,WAAW,GAAG,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EACrD,IAAI,EAAE,IAAI,GACT,6BAA6B,GAAG,oBAAoB,GAAG,SAAS,CAmElE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..64178d4d12b98d292c9e6c89c1bcd41db9b8bd10 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts @@ -0,0 +1,24 @@ +import { ZodDiscriminatedUnionDef, ZodUnionDef } from 'zod'; +import { JsonSchema7Type } from "../parseDef.js"; +import { Refs } from "../Refs.js"; +export declare const primitiveMappings: { + readonly ZodString: "string"; + readonly ZodNumber: "number"; + readonly ZodBigInt: "integer"; + readonly ZodBoolean: "boolean"; + readonly ZodNull: "null"; +}; +type JsonSchema7Primitive = (typeof primitiveMappings)[keyof typeof primitiveMappings]; +export type JsonSchema7UnionType = JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType; +type JsonSchema7PrimitiveUnionType = { + type: JsonSchema7Primitive | JsonSchema7Primitive[]; +} | { + type: JsonSchema7Primitive | JsonSchema7Primitive[]; + enum: (string | number | bigint | boolean | null)[]; +}; +type JsonSchema7AnyOfType = { + anyOf: JsonSchema7Type[]; +}; +export declare function parseUnionDef(def: ZodUnionDef | ZodDiscriminatedUnionDef, refs: Refs): JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType | undefined; +export {}; +//# sourceMappingURL=union.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e77a820548a33b772c0003d8ef0bdcd7f1ed73f4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"union.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/union.ts"],"names":[],"mappings":"OAAO,EAAE,wBAAwB,EAA6B,WAAW,EAAE,MAAM,KAAK;OAC/E,EAAE,eAAe,EAAY;OAC7B,EAAE,IAAI,EAAE;AAEf,eAAO,MAAM,iBAAiB;;;;;;CAMpB,CAAC;AAEX,KAAK,oBAAoB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,GAAG,oBAAoB,CAAC;AAExF,KAAK,6BAA6B,GAC9B;IACE,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CACrD,GACD;IACE,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;IACpD,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC;CACrD,CAAC;AAEN,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,aAAa,CAC3B,GAAG,EAAE,WAAW,GAAG,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EACrD,IAAI,EAAE,IAAI,GACT,6BAA6B,GAAG,oBAAoB,GAAG,SAAS,CAmElE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js new file mode 100644 index 0000000000000000000000000000000000000000..4dd242a0d6995b24ff6a1563c06aa1a6d74ccda0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js @@ -0,0 +1,77 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.primitiveMappings = void 0; +exports.parseUnionDef = parseUnionDef; +const parseDef_1 = require("../parseDef.js"); +exports.primitiveMappings = { + ZodString: 'string', + ZodNumber: 'number', + ZodBigInt: 'integer', + ZodBoolean: 'boolean', + ZodNull: 'null', +}; +function parseUnionDef(def, refs) { + if (refs.target === 'openApi3') + return asAnyOf(def, refs); + const options = def.options instanceof Map ? Array.from(def.options.values()) : def.options; + // This blocks tries to look ahead a bit to produce nicer looking schemas with type array instead of anyOf. + if (options.every((x) => x._def.typeName in exports.primitiveMappings && (!x._def.checks || !x._def.checks.length))) { + // all types in union are primitive and lack checks, so might as well squash into {type: [...]} + const types = options.reduce((types, x) => { + const type = exports.primitiveMappings[x._def.typeName]; //Can be safely casted due to row 43 + return type && !types.includes(type) ? [...types, type] : types; + }, []); + return { + type: types.length > 1 ? types : types[0], + }; + } + else if (options.every((x) => x._def.typeName === 'ZodLiteral' && !x.description)) { + // all options literals + const types = options.reduce((acc, x) => { + const type = typeof x._def.value; + switch (type) { + case 'string': + case 'number': + case 'boolean': + return [...acc, type]; + case 'bigint': + return [...acc, 'integer']; + case 'object': + if (x._def.value === null) + return [...acc, 'null']; + case 'symbol': + case 'undefined': + case 'function': + default: + return acc; + } + }, []); + if (types.length === options.length) { + // all the literals are primitive, as far as null can be considered primitive + const uniqueTypes = types.filter((x, i, a) => a.indexOf(x) === i); + return { + type: uniqueTypes.length > 1 ? uniqueTypes : uniqueTypes[0], + enum: options.reduce((acc, x) => { + return acc.includes(x._def.value) ? acc : [...acc, x._def.value]; + }, []), + }; + } + } + else if (options.every((x) => x._def.typeName === 'ZodEnum')) { + return { + type: 'string', + enum: options.reduce((acc, x) => [...acc, ...x._def.values.filter((x) => !acc.includes(x))], []), + }; + } + return asAnyOf(def, refs); +} +const asAnyOf = (def, refs) => { + const anyOf = (def.options instanceof Map ? Array.from(def.options.values()) : def.options) + .map((x, i) => (0, parseDef_1.parseDef)(x._def, { + ...refs, + currentPath: [...refs.currentPath, 'anyOf', `${i}`], + })) + .filter((x) => !!x && (!refs.strictUnions || (typeof x === 'object' && Object.keys(x).length > 0))); + return anyOf.length ? { anyOf } : undefined; +}; +//# sourceMappingURL=union.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5c5aca8f08101c9be9312deba8945c6ecc4d2edf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js.map @@ -0,0 +1 @@ +{"version":3,"file":"union.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-sch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,IAAA,mBAAQ,EAAC,CAAC,CAAC,IAAI,EAAE;QACf,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;KACpD,CAAC,CACH;SACA,MAAM,CACL,CAAC,CAAC,EAAwB,EAAE,CAC1B,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CACtF,CAAC;IAEJ,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.mjs new file mode 100644 index 0000000000000000000000000000000000000000..c87356cbdc8e12849c90682dd1ad0c709fa03796 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.mjs @@ -0,0 +1,73 @@ +import { parseDef } from "../parseDef.mjs"; +export const primitiveMappings = { + ZodString: 'string', + ZodNumber: 'number', + ZodBigInt: 'integer', + ZodBoolean: 'boolean', + ZodNull: 'null', +}; +export function parseUnionDef(def, refs) { + if (refs.target === 'openApi3') + return asAnyOf(def, refs); + const options = def.options instanceof Map ? Array.from(def.options.values()) : def.options; + // This blocks tries to look ahead a bit to produce nicer looking schemas with type array instead of anyOf. + if (options.every((x) => x._def.typeName in primitiveMappings && (!x._def.checks || !x._def.checks.length))) { + // all types in union are primitive and lack checks, so might as well squash into {type: [...]} + const types = options.reduce((types, x) => { + const type = primitiveMappings[x._def.typeName]; //Can be safely casted due to row 43 + return type && !types.includes(type) ? [...types, type] : types; + }, []); + return { + type: types.length > 1 ? types : types[0], + }; + } + else if (options.every((x) => x._def.typeName === 'ZodLiteral' && !x.description)) { + // all options literals + const types = options.reduce((acc, x) => { + const type = typeof x._def.value; + switch (type) { + case 'string': + case 'number': + case 'boolean': + return [...acc, type]; + case 'bigint': + return [...acc, 'integer']; + case 'object': + if (x._def.value === null) + return [...acc, 'null']; + case 'symbol': + case 'undefined': + case 'function': + default: + return acc; + } + }, []); + if (types.length === options.length) { + // all the literals are primitive, as far as null can be considered primitive + const uniqueTypes = types.filter((x, i, a) => a.indexOf(x) === i); + return { + type: uniqueTypes.length > 1 ? uniqueTypes : uniqueTypes[0], + enum: options.reduce((acc, x) => { + return acc.includes(x._def.value) ? acc : [...acc, x._def.value]; + }, []), + }; + } + } + else if (options.every((x) => x._def.typeName === 'ZodEnum')) { + return { + type: 'string', + enum: options.reduce((acc, x) => [...acc, ...x._def.values.filter((x) => !acc.includes(x))], []), + }; + } + return asAnyOf(def, refs); +} +const asAnyOf = (def, refs) => { + const anyOf = (def.options instanceof Map ? Array.from(def.options.values()) : def.options) + .map((x, i) => parseDef(x._def, { + ...refs, + currentPath: [...refs.currentPath, 'anyOf', `${i}`], + })) + .filter((x) => !!x && (!refs.strictUnions || (typeof x === 'object' && Object.keys(x).length > 0))); + return anyOf.length ? { anyOf } : undefined; +}; +//# sourceMappingURL=union.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..b2d1071f5fec915181b510f8b3570f3a2b73b70c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.mjs.map @@ -0,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AAC,OAAO,CAAW;SACnG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACZ,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE;QACf,GAAG,IAAI;QACP,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;KACpD,CAAC,CACH;SACA,MAAM,CACL,CAAC,CAAC,EAAwB,EAAE,CAC1B,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CACtF,CAAC;IAEJ,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..67b2020d2495d114001b5c3676afe5c0ff326350 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts @@ -0,0 +1,3 @@ +export type JsonSchema7UnknownType = {}; +export declare function parseUnknownDef(): JsonSchema7UnknownType; +//# sourceMappingURL=unknown.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..cd17cd4cd36b1379881e144714225660ab049e54 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"unknown.d.mts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/unknown.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAExC,wBAAgB,eAAe,IAAI,sBAAsB,CAExD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0afe52fc8dd50f67e9ee52f437eb03faa48f4b94 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts @@ -0,0 +1,3 @@ +export type JsonSchema7UnknownType = {}; +export declare function parseUnknownDef(): JsonSchema7UnknownType; +//# sourceMappingURL=unknown.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..80253f3f86a4678f1299d3d0323bf630a9f41d87 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"unknown.d.ts","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/unknown.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAExC,wBAAgB,eAAe,IAAI,sBAAsB,CAExD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js new file mode 100644 index 0000000000000000000000000000000000000000..bc21055a8b7644f9f25545b77ff4b349ca41cd75 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseUnknownDef = parseUnknownDef; +function parseUnknownDef() { + return {}; +} +//# sourceMappingURL=unknown.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js.map new file mode 100644 index 0000000000000000000000000000000000000000..cbfe7f49393b911dcc56298e805f49a418d415cf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js.map @@ -0,0 +1 @@ +{"version":3,"file":"unknown.js","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/unknown.ts"],"names":[],"mappings":";;AAEA,0CAEC;AAFD,SAAgB,eAAe;IAC7B,OAAO,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.mjs new file mode 100644 index 0000000000000000000000000000000000000000..6146dee23a89e66e7e420de9e3b72f7da7136f97 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.mjs @@ -0,0 +1,4 @@ +export function parseUnknownDef() { + return {}; +} +//# sourceMappingURL=unknown.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..557e5fabb2ff4f8d6eeea9020e5649ad14536a10 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"unknown.mjs","sourceRoot":"","sources":["../../../src/_vendor/zod-to-json-schema/parsers/unknown.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,eAAe;IAC7B,OAAO,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..3005f0897e2e93428687db30944c5e2812c0ac18 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.d.mts @@ -0,0 +1,4 @@ +import type { ZodSchema, ZodTypeDef } from 'zod'; +export declare const zodDef: (zodSchema: ZodSchema | ZodTypeDef) => ZodTypeDef; +export declare function isEmptyObj(obj: Object | null | undefined): boolean; +//# sourceMappingURL=util.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..623966f96c4524e25d250ed79226c4690a927147 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/_vendor/zod-to-json-schema/util.ts"],"names":[],"mappings":"OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,KAAK;AAEhD,eAAO,MAAM,MAAM,GAAI,WAAW,SAAS,GAAG,UAAU,KAAG,UAE1D,CAAC;AAEF,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAIlE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.js new file mode 100644 index 0000000000000000000000000000000000000000..208d3d688d338f9eb8d658110ca1bd8729ba248a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.zodDef = void 0; +exports.isEmptyObj = isEmptyObj; +const zodDef = (zodSchema) => { + return '_def' in zodSchema ? zodSchema._def : zodSchema; +}; +exports.zodDef = zodDef; +function isEmptyObj(obj) { + if (!obj) + return true; + for (const _k in obj) + return false; + return true; +} +//# sourceMappingURL=util.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.js.map new file mode 100644 index 0000000000000000000000000000000000000000..177075dfe2020bf9a8e949ddd740058734005933 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.js.map @@ -0,0 +1 @@ +{"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/_vendor/zod-to-json-schema/util.ts"],"names":[],"mappings":";;;AAMA,gCAIC;AARM,MAAM,MAAM,GAAG,CAAC,SAAiC,EAAc,EAAE;IACtE,OAAO,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1D,CAAC,CAAC;AAFW,QAAA,MAAM,UAEjB;AAEF,SAAgB,UAAU,CAAC,GAA8B;IACvD,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IACtB,KAAK,MAAM,EAAE,IAAI,GAAG;QAAE,OAAO,KAAK,CAAC;IACnC,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.mjs new file mode 100644 index 0000000000000000000000000000000000000000..4e6ef567e60fbd610a87fa84a88a1b1d7e12b7ca --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.mjs @@ -0,0 +1,11 @@ +export const zodDef = (zodSchema) => { + return '_def' in zodSchema ? zodSchema._def : zodSchema; +}; +export function isEmptyObj(obj) { + if (!obj) + return true; + for (const _k in obj) + return false; + return true; +} +//# sourceMappingURL=util.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..16c49e1042c00cc7525fc06b6436906c596c8660 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/util.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"util.mjs","sourceRoot":"","sources":["../../src/_vendor/zod-to-json-schema/util.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,SAAiC,EAAc,EAAE;IACtE,OAAO,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1D,CAAC,CAAC;AAEF,MAAM,UAAU,UAAU,CAAC,GAA8B;IACvD,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IACtB,KAAK,MAAM,EAAE,IAAI,GAAG;QAAE,OAAO,KAAK,CAAC;IACnC,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..6469a206957aaa099b67544cbc66590d3009cbb7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts @@ -0,0 +1,11 @@ +import { ZodSchema } from 'zod'; +import { Options, Targets } from "./Options.mjs"; +import { JsonSchema7Type } from "./parseDef.mjs"; +declare const zodToJsonSchema: (schema: ZodSchema, options?: Partial> | string) => (Target extends "jsonSchema7" ? JsonSchema7Type : object) & { + $schema?: string; + definitions?: { + [key: string]: Target extends "jsonSchema7" ? JsonSchema7Type : Target extends "jsonSchema2019-09" ? JsonSchema7Type : object; + }; +}; +export { zodToJsonSchema }; +//# sourceMappingURL=zodToJsonSchema.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c6098f7bc3a3f5f070dea7f3e7e61e4ebecacf58 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"zodToJsonSchema.d.mts","sourceRoot":"","sources":["../../src/_vendor/zod-to-json-schema/zodToJsonSchema.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,KAAK;OACxB,EAAE,OAAO,EAAE,OAAO,EAAE;OACpB,EAAE,eAAe,EAAY;AAIpC,QAAA,MAAM,eAAe,GAAI,MAAM,SAAS,OAAO,GAAG,aAAa,EAC7D,QAAQ,SAAS,CAAC,GAAG,CAAC,EACtB,UAAU,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,KAC1C,CAAC,MAAM,SAAS,aAAa,GAAG,eAAe,GAAG,MAAM,CAAC,GAAG;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE;QACZ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,SAAS,aAAa,GAAG,eAAe,GAC3D,MAAM,SAAS,mBAAmB,GAAG,eAAe,GACpD,MAAM,CAAC;KACV,CAAC;CAsGH,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f89bf62a9af30525414db3fb2642eed756e6e2e0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts @@ -0,0 +1,11 @@ +import { ZodSchema } from 'zod'; +import { Options, Targets } from "./Options.js"; +import { JsonSchema7Type } from "./parseDef.js"; +declare const zodToJsonSchema: (schema: ZodSchema, options?: Partial> | string) => (Target extends "jsonSchema7" ? JsonSchema7Type : object) & { + $schema?: string; + definitions?: { + [key: string]: Target extends "jsonSchema7" ? JsonSchema7Type : Target extends "jsonSchema2019-09" ? JsonSchema7Type : object; + }; +}; +export { zodToJsonSchema }; +//# sourceMappingURL=zodToJsonSchema.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..155ad103a260d36ddd3aac7426f7ec3b4e67b305 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"zodToJsonSchema.d.ts","sourceRoot":"","sources":["../../src/_vendor/zod-to-json-schema/zodToJsonSchema.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,KAAK;OACxB,EAAE,OAAO,EAAE,OAAO,EAAE;OACpB,EAAE,eAAe,EAAY;AAIpC,QAAA,MAAM,eAAe,GAAI,MAAM,SAAS,OAAO,GAAG,aAAa,EAC7D,QAAQ,SAAS,CAAC,GAAG,CAAC,EACtB,UAAU,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,KAC1C,CAAC,MAAM,SAAS,aAAa,GAAG,eAAe,GAAG,MAAM,CAAC,GAAG;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE;QACZ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,SAAS,aAAa,GAAG,eAAe,GAC3D,MAAM,SAAS,mBAAmB,GAAG,eAAe,GACpD,MAAM,CAAC;KACV,CAAC;CAsGH,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..7a48a54422bd192636d1af0e2f859a1d61ea4923 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"zodToJsonSchema.mjs","sourceRoot":"","sources":["../../src/_vendor/zod-to-json-schema/zodToJsonSchema.ts"],"names":[],"mappings":"OAEO,EAAmB,QAAQ,EAAE;OAC7B,EAAE,OAAO,EAAE;OACX,EAAE,MAAM,EAAE,UAAU,EAAE;AAE7B,MAAM,eAAe,GAAG,CACtB,MAAsB,EACtB,OAA2C,EAQ3C,EAAE;IACF,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAE9B,MAAM,IAAI,GACR,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO;QACrC,CAAC,CAAC,OAAO,EAAE,YAAY,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS;YAC/C,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC;IAElB,MAAM,IAAI,GACR,QAAQ,CACN,MAAM,CAAC,IAAI,EACX,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC1B;QACE,GAAG,IAAI;QACP,WAAW,EAAE,CAAC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AE,CAAC;QAClC,QAAQ,CAAC,OAAO,GAAG,yCAAyC,CAAC;IAC/D,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,KAAK,mBAAmB,EAAE,CAAC;QAC/C,QAAQ,CAAC,OAAO,GAAG,+CAA+C,CAAC;IACrE,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..ba1a62f8634587be177afcb9f4f396bb8d88e422 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.mts @@ -0,0 +1,2 @@ +export { OpenAIRealtimeError } from "./internal-base.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..45e40006dd824b9cce66166b9fac050c8e4d15f6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/beta/realtime/index.ts"],"names":[],"mappings":"OAAO,EAAE,mBAAmB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e9ecd9d60b1492dacd21345be1a3e6034275db2e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.ts @@ -0,0 +1,2 @@ +export { OpenAIRealtimeError } from "./internal-base.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..829e8fecfb8df35ceb9aa0d2f26e4bc39ce73163 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/beta/realtime/index.ts"],"names":[],"mappings":"OAAO,EAAE,mBAAmB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.js new file mode 100644 index 0000000000000000000000000000000000000000..28be6cc80a0a0992fa714e5c1b73835621755f0d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OpenAIRealtimeError = void 0; +var internal_base_1 = require("./internal-base.js"); +Object.defineProperty(exports, "OpenAIRealtimeError", { enumerable: true, get: function () { return internal_base_1.OpenAIRealtimeError; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..4939ba2d886f4182c2e7a555051e9c5d64c2165f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/beta/realtime/index.ts"],"names":[],"mappings":";;;AAAA,oDAAsD;AAA7C,oHAAA,mBAAmB,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..6e7f5c297c82e80ff9d62c1690ff46969556e5a4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.mjs @@ -0,0 +1,2 @@ +export { OpenAIRealtimeError } from "./internal-base.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..921762852d4db8c9e079332b017281c4fad0d31e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/beta/realtime/index.ts"],"names":[],"mappings":"OAAO,EAAE,mBAAmB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..494d3decc5056cb4a3027bbcebd7691568ccc767 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.mts @@ -0,0 +1,45 @@ +import { RealtimeClientEvent, RealtimeServerEvent, ErrorEvent } from "../../resources/beta/realtime/realtime.mjs"; +import { EventEmitter } from "../../lib/EventEmitter.mjs"; +import { OpenAIError } from "../../error.mjs"; +import OpenAI, { AzureOpenAI } from "../../index.mjs"; +export declare class OpenAIRealtimeError extends OpenAIError { + /** + * The error data that the API sent back in an `error` event. + */ + error?: ErrorEvent.Error | undefined; + /** + * The unique ID of the server event. + */ + event_id?: string | undefined; + constructor(message: string, event: ErrorEvent | null); +} +type Simplify = { + [KeyType in keyof T]: T[KeyType]; +} & {}; +type RealtimeEvents = Simplify<{ + event: (event: RealtimeServerEvent) => void; + error: (error: OpenAIRealtimeError) => void; +} & { + [EventType in Exclude]: (event: Extract) => unknown; +}>; +export declare abstract class OpenAIRealtimeEmitter extends EventEmitter { + /** + * Send an event to the API. + */ + abstract send(event: RealtimeClientEvent): void; + /** + * Close the websocket connection. + */ + abstract close(props?: { + code: number; + reason: string; + }): void; + protected _onError(event: null, message: string, cause: any): void; + protected _onError(event: ErrorEvent, message?: string | undefined): void; +} +export declare function isAzure(client: Pick): client is AzureOpenAI; +export declare function buildRealtimeURL(client: Pick, model: string): URL; +export {}; +//# sourceMappingURL=internal-base.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..443e9a497e206e4a325b93a8c4870a13160f28a9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-base.d.mts","sourceRoot":"","sources":["../../src/beta/realtime/internal-base.ts"],"names":[],"mappings":"OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,UAAU,EAAE;OACxD,EAAE,YAAY,EAAE;OAChB,EAAE,WAAW,EAAE;OACf,MAAM,EAAE,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AI;CAyB1E;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC,GAAG,MAAM,IAAI,WAAW,CAEzF;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,GAAG,CAY/F"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d4879ef7a3af401962c7d70900e00c22d8969ef8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.ts @@ -0,0 +1,45 @@ +import { RealtimeClientEvent, RealtimeServerEvent, ErrorEvent } from "../../resources/beta/realtime/realtime.js"; +import { EventEmitter } from "../../lib/EventEmitter.js"; +import { OpenAIError } from "../../error.js"; +import OpenAI, { AzureOpenAI } from "../../index.js"; +export declare class OpenAIRealtimeError extends OpenAIError { + /** + * The error data that the API sent back in an `error` event. + */ + error?: ErrorEvent.Error | undefined; + /** + * The unique ID of the server event. + */ + event_id?: string | undefined; + constructor(message: string, event: ErrorEvent | null); +} +type Simplify = { + [KeyType in keyof T]: T[KeyType]; +} & {}; +type RealtimeEvents = Simplify<{ + event: (event: RealtimeServerEvent) => void; + error: (error: OpenAIRealtimeError) => void; +} & { + [EventType in Exclude]: (event: Extract) => unknown; +}>; +export declare abstract class OpenAIRealtimeEmitter extends EventEmitter { + /** + * Send an event to the API. + */ + abstract send(event: RealtimeClientEvent): void; + /** + * Close the websocket connection. + */ + abstract close(props?: { + code: number; + reason: string; + }): void; + protected _onError(event: null, message: string, cause: any): void; + protected _onError(event: ErrorEvent, message?: string | undefined): void; +} +export declare function isAzure(client: Pick): client is AzureOpenAI; +export declare function buildRealtimeURL(client: Pick, model: string): URL; +export {}; +//# sourceMappingURL=internal-base.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..028428ec3e57b213c94034534a62a7897f2717c1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-base.d.ts","sourceRoot":"","sources":["../../src/beta/realtime/internal-base.ts"],"names":[],"mappings":"OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,UAAU,EAAE;OACxD,EAAE,YAAY,EAAE;OAChB,EAAE,WAAW,EAAE;OACf,MAAM,EAAE,EAAE,WAAW,EAAE;AAE9B,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,KAAK,GAAG,SAAS,CAAC;IAErC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAElB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;CAMtD;AAED,KAAK,QAAQ,CAAC,CAAC,IAAI;KAAG,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;CAAE,GAAG,EAAE,CAAC;AAE7D,KAAK,cAAc,GAAG,QAAQ,CAC5B;IACE,KAAK,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5C,KAAK,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAC7C,GAAG;KACD,SAAS,IAAI,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,CAC5D,KAAK,EAAE,OAAO,CAAC,mBAAmB,EAAE;QAAE,IAAI,EAAE,SAAS,CAAA;KAAE,CAAC,KACrD,OAAO;CACb,CACF,CAAC;AAEF,8BAAsB,qBAAsB,SAAQ,YAAY,CAAC,cAAc,CAAC;IAC9E;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;IAE/C;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAE9D,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAClE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;CAyB1E;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC,GAAG,MAAM,IAAI,WAAW,CAEzF;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,GAAG,CAY/F"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.js new file mode 100644 index 0000000000000000000000000000000000000000..48c53a9256312dffb770faf0798842df505c1bcc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.js @@ -0,0 +1,55 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OpenAIRealtimeEmitter = exports.OpenAIRealtimeError = void 0; +exports.isAzure = isAzure; +exports.buildRealtimeURL = buildRealtimeURL; +const EventEmitter_1 = require("../../lib/EventEmitter.js"); +const error_1 = require("../../error.js"); +const index_1 = require("../../index.js"); +class OpenAIRealtimeError extends error_1.OpenAIError { + constructor(message, event) { + super(message); + this.error = event?.error; + this.event_id = event?.event_id; + } +} +exports.OpenAIRealtimeError = OpenAIRealtimeError; +class OpenAIRealtimeEmitter extends EventEmitter_1.EventEmitter { + _onError(event, message, cause) { + message = + event?.error ? + `${event.error.message} code=${event.error.code} param=${event.error.param} type=${event.error.type} event_id=${event.error.event_id}` + : message ?? 'unknown error'; + if (!this._hasListener('error')) { + const error = new OpenAIRealtimeError(message + + `\n\nTo resolve these unhandled rejection errors you should bind an \`error\` callback, e.g. \`rt.on('error', (error) => ...)\` `, event); + // @ts-ignore + error.cause = cause; + Promise.reject(error); + return; + } + const error = new OpenAIRealtimeError(message, event); + // @ts-ignore + error.cause = cause; + this._emit('error', error); + } +} +exports.OpenAIRealtimeEmitter = OpenAIRealtimeEmitter; +function isAzure(client) { + return client instanceof index_1.AzureOpenAI; +} +function buildRealtimeURL(client, model) { + const path = '/realtime'; + const baseURL = client.baseURL; + const url = new URL(baseURL + (baseURL.endsWith('/') ? path.slice(1) : path)); + url.protocol = 'wss'; + if (isAzure(client)) { + url.searchParams.set('api-version', client.apiVersion); + url.searchParams.set('deployment', model); + } + else { + url.searchParams.set('model', model); + } + return url; +} +//# sourceMappingURL=internal-base.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.js.map new file mode 100644 index 0000000000000000000000000000000000000000..655ab3c3f2a9e9223df9351bf568fc6d07618ae4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-base.js","sourceRoot":"","sources":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;AAED,SAAgB,OAAO,CAAC,MAA0C;IAChE,OAAO,MAAM,YAAY,mBAAW,CAAC;AACvC,CAAC;AAED,SAAgB,gBAAgB,CAAC,MAA0C,EAAE,KAAa;IACxF,MAAM,IAAI,GAAG,WAAW,CAAC;IACzB,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;IAC/B,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9E,GAAG,CAAC,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACpB,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;QACvD,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;SAAM,CAAC;QACN,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.mjs new file mode 100644 index 0000000000000000000000000000000000000000..5cdc787aded13e2eabdf5541f69ed9d83c647f1a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.mjs @@ -0,0 +1,48 @@ +import { EventEmitter } from "../../lib/EventEmitter.mjs"; +import { OpenAIError } from "../../error.mjs"; +import { AzureOpenAI } from "../../index.mjs"; +export class OpenAIRealtimeError extends OpenAIError { + constructor(message, event) { + super(message); + this.error = event?.error; + this.event_id = event?.event_id; + } +} +export class OpenAIRealtimeEmitter extends EventEmitter { + _onError(event, message, cause) { + message = + event?.error ? + `${event.error.message} code=${event.error.code} param=${event.error.param} type=${event.error.type} event_id=${event.error.event_id}` + : message ?? 'unknown error'; + if (!this._hasListener('error')) { + const error = new OpenAIRealtimeError(message + + `\n\nTo resolve these unhandled rejection errors you should bind an \`error\` callback, e.g. \`rt.on('error', (error) => ...)\` `, event); + // @ts-ignore + error.cause = cause; + Promise.reject(error); + return; + } + const error = new OpenAIRealtimeError(message, event); + // @ts-ignore + error.cause = cause; + this._emit('error', error); + } +} +export function isAzure(client) { + return client instanceof AzureOpenAI; +} +export function buildRealtimeURL(client, model) { + const path = '/realtime'; + const baseURL = client.baseURL; + const url = new URL(baseURL + (baseURL.endsWith('/') ? path.slice(1) : path)); + url.protocol = 'wss'; + if (isAzure(client)) { + url.searchParams.set('api-version', client.apiVersion); + url.searchParams.set('deployment', model); + } + else { + url.searchParams.set('model', model); + } + return url; +} +//# sourceMappingURL=internal-base.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..e701fbf86d97a4aa48db6c55750ae43d06825540 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/internal-base.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-base.mjs","sourceRoot":"","sources":["../../src/beta/realtime/internal-base.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE;OAChB,EAAE,WAAW,EAAE;OACP,EAAE,WAAW,EAAE;AAE9B,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAWlD,YAAY,OAAe,EAAE,KAAwB;QACnD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CA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,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9E,GAAG,CAAC,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACpB,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;QACvD,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;SAAM,CAAC;QACN,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..ea3547f08d3154c6ac034417c2859c4b5f61d94a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.mts @@ -0,0 +1,30 @@ +import { AzureOpenAI, OpenAI } from "../../index.mjs"; +import type { RealtimeClientEvent } from "../../resources/beta/realtime/realtime.mjs"; +import { OpenAIRealtimeEmitter } from "./internal-base.mjs"; +type _WebSocket = typeof globalThis extends ({ + WebSocket: infer ws extends abstract new (...args: any) => any; +}) ? InstanceType : any; +export declare class OpenAIRealtimeWebSocket extends OpenAIRealtimeEmitter { + url: URL; + socket: _WebSocket; + constructor(props: { + model: string; + dangerouslyAllowBrowser?: boolean; + /** + * Callback to mutate the URL, needed for Azure. + * @internal + */ + onURL?: (url: URL) => void; + }, client?: Pick); + static azure(client: Pick, options?: { + deploymentName?: string; + dangerouslyAllowBrowser?: boolean; + }): Promise; + send(event: RealtimeClientEvent): void; + close(props?: { + code: number; + reason: string; + }): void; +} +export {}; +//# sourceMappingURL=websocket.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8cce7ca6a40dbb37dbf69e35221f790d5d45d951 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"websocket.d.mts","sourceRoot":"","sources":["../../src/beta/realtime/websocket.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,EAAE;OAEvB,KAAK,EAAE,mBAAmB,EAAuB;OACjD,EAAE,qBAAqB,EAA6B;AAO3D,KAAK,UAAU,GACb,OAAO,UAAU,SAAS,CACxB;IACE,SAAS,EAAE,MAAM,EAAE,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAChE,CACF,GAEC,YAAY,CAAC,EAAE,CAAC,GAChB,GAAG,CAAC;AAER,qBAAa,uBAAwB,SAAQ,qBAAqB;IAChE,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,UAAU,CAAC;gBAGjB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC;;;WAGG;QACH,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;KAC5B,EACD,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;WA8DhC,KAAK,CAChB,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,kBAAkB,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAAC,EACtG,OAAO,GAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,uBAAuB,CAAC,EAAE,OAAO,CAAA;KAAO,GAC3E,OAAO,CAAC,uBAAuB,CAAC;IA4BnC,IAAI,CAAC,KAAK,EAAE,mBAAmB;IAQ/B,KAAK,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;CAO/C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..46c75ea3979332fd41598347c9f4f14352984b79 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.ts @@ -0,0 +1,30 @@ +import { AzureOpenAI, OpenAI } from "../../index.js"; +import type { RealtimeClientEvent } from "../../resources/beta/realtime/realtime.js"; +import { OpenAIRealtimeEmitter } from "./internal-base.js"; +type _WebSocket = typeof globalThis extends ({ + WebSocket: infer ws extends abstract new (...args: any) => any; +}) ? InstanceType : any; +export declare class OpenAIRealtimeWebSocket extends OpenAIRealtimeEmitter { + url: URL; + socket: _WebSocket; + constructor(props: { + model: string; + dangerouslyAllowBrowser?: boolean; + /** + * Callback to mutate the URL, needed for Azure. + * @internal + */ + onURL?: (url: URL) => void; + }, client?: Pick); + static azure(client: Pick, options?: { + deploymentName?: string; + dangerouslyAllowBrowser?: boolean; + }): Promise; + send(event: RealtimeClientEvent): void; + close(props?: { + code: number; + reason: string; + }): void; +} +export {}; +//# sourceMappingURL=websocket.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0a9519dc69381e81e889ff043a089857ded8f5b8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../src/beta/realtime/websocket.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,EAAE;OAEvB,KAAK,EAAE,mBAAmB,EAAuB;OACjD,EAAE,qBAAqB,EAA6B;AAO3D,KAAK,UAAU,GACb,OAAO,UAAU,SAAS,CACxB;IACE,SAAS,EAAE,MAAM,EAAE,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAChE,CACF,GAEC,YAAY,CAAC,EAAE,CAAC,GAChB,GAAG,CAAC;AAER,qBAAa,uBAAwB,SAAQ,qBAAqB;IAChE,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,UAAU,CAAC;gBAGjB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC;;;WAGG;QACH,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;KAC5B,EACD,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;WA8DhC,KAAK,CAChB,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,kBAAkB,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAAC,EACtG,OAAO,GAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,uBAAuB,CAAC,EAAE,OAAO,CAAA;KAAO,GAC3E,OAAO,CAAC,uBAAuB,CAAC;IA4BnC,IAAI,CAAC,KAAK,EAAE,mBAAmB;IAQ/B,KAAK,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;CAO/C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.js new file mode 100644 index 0000000000000000000000000000000000000000..477d4709a74e231b4c721f1a0b102f3ec5983be4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.js @@ -0,0 +1,103 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OpenAIRealtimeWebSocket = void 0; +const index_1 = require("../../index.js"); +const error_1 = require("../../error.js"); +const internal_base_1 = require("./internal-base.js"); +const detect_platform_1 = require("../../internal/detect-platform.js"); +class OpenAIRealtimeWebSocket extends internal_base_1.OpenAIRealtimeEmitter { + constructor(props, client) { + super(); + const dangerouslyAllowBrowser = props.dangerouslyAllowBrowser ?? + client?._options?.dangerouslyAllowBrowser ?? + (client?.apiKey.startsWith('ek_') ? true : null); + if (!dangerouslyAllowBrowser && (0, detect_platform_1.isRunningInBrowser)()) { + throw new error_1.OpenAIError("It looks like you're running in a browser-like environment.\n\nThis is disabled by default, as it risks exposing your secret API credentials to attackers.\n\nYou can avoid this error by creating an ephemeral session token:\nhttps://platform.openai.com/docs/api-reference/realtime-sessions\n"); + } + client ?? (client = new index_1.OpenAI({ dangerouslyAllowBrowser })); + this.url = (0, internal_base_1.buildRealtimeURL)(client, props.model); + props.onURL?.(this.url); + // @ts-ignore + this.socket = new WebSocket(this.url.toString(), [ + 'realtime', + ...((0, internal_base_1.isAzure)(client) ? [] : [`openai-insecure-api-key.${client.apiKey}`]), + 'openai-beta.realtime-v1', + ]); + this.socket.addEventListener('message', (websocketEvent) => { + const event = (() => { + try { + return JSON.parse(websocketEvent.data.toString()); + } + catch (err) { + this._onError(null, 'could not parse websocket event', err); + return null; + } + })(); + if (event) { + this._emit('event', event); + if (event.type === 'error') { + this._onError(event); + } + else { + // @ts-expect-error TS isn't smart enough to get the relationship right here + this._emit(event.type, event); + } + } + }); + this.socket.addEventListener('error', (event) => { + this._onError(null, event.message, null); + }); + if ((0, internal_base_1.isAzure)(client)) { + if (this.url.searchParams.get('Authorization') !== null) { + this.url.searchParams.set('Authorization', ''); + } + else { + this.url.searchParams.set('api-key', ''); + } + } + } + static async azure(client, options = {}) { + const token = await client._getAzureADToken(); + function onURL(url) { + if (client.apiKey !== '') { + url.searchParams.set('api-key', client.apiKey); + } + else { + if (token) { + url.searchParams.set('Authorization', `Bearer ${token}`); + } + else { + throw new Error('AzureOpenAI is not instantiated correctly. No API key or token provided.'); + } + } + } + const deploymentName = options.deploymentName ?? client.deploymentName; + if (!deploymentName) { + throw new Error('No deployment name provided'); + } + const { dangerouslyAllowBrowser } = options; + return new OpenAIRealtimeWebSocket({ + model: deploymentName, + onURL, + ...(dangerouslyAllowBrowser ? { dangerouslyAllowBrowser } : {}), + }, client); + } + send(event) { + try { + this.socket.send(JSON.stringify(event)); + } + catch (err) { + this._onError(null, 'could not send data', err); + } + } + close(props) { + try { + this.socket.close(props?.code ?? 1000, props?.reason ?? 'OK'); + } + catch (err) { + this._onError(null, 'could not close the connection', err); + } + } +} +exports.OpenAIRealtimeWebSocket = OpenAIRealtimeWebSocket; +//# sourceMappingURL=websocket.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.js.map new file mode 100644 index 0000000000000000000000000000000000000000..60e404995fd3279e40392c40697ebe8e95a97b55 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.js.map @@ -0,0 +1 @@ +{"version":3,"file":"websocket.js","sourceRoot":"","sources":["../../src/beta/realtime/websocket.ts"],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AC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,EAAE,MAAM,IAAI,IAAI,CAAC,CAAC;QAChE,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,gCAAgC,EAAE,GAAG,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;CACF;AA1HD,0DA0HC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ebcfab1d47e9259c8f8c2d1091a7cd489938d9d1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.mjs @@ -0,0 +1,99 @@ +import { OpenAI } from "../../index.mjs"; +import { OpenAIError } from "../../error.mjs"; +import { OpenAIRealtimeEmitter, buildRealtimeURL, isAzure } from "./internal-base.mjs"; +import { isRunningInBrowser } from "../../internal/detect-platform.mjs"; +export class OpenAIRealtimeWebSocket extends OpenAIRealtimeEmitter { + constructor(props, client) { + super(); + const dangerouslyAllowBrowser = props.dangerouslyAllowBrowser ?? + client?._options?.dangerouslyAllowBrowser ?? + (client?.apiKey.startsWith('ek_') ? true : null); + if (!dangerouslyAllowBrowser && isRunningInBrowser()) { + throw new OpenAIError("It looks like you're running in a browser-like environment.\n\nThis is disabled by default, as it risks exposing your secret API credentials to attackers.\n\nYou can avoid this error by creating an ephemeral session token:\nhttps://platform.openai.com/docs/api-reference/realtime-sessions\n"); + } + client ?? (client = new OpenAI({ dangerouslyAllowBrowser })); + this.url = buildRealtimeURL(client, props.model); + props.onURL?.(this.url); + // @ts-ignore + this.socket = new WebSocket(this.url.toString(), [ + 'realtime', + ...(isAzure(client) ? [] : [`openai-insecure-api-key.${client.apiKey}`]), + 'openai-beta.realtime-v1', + ]); + this.socket.addEventListener('message', (websocketEvent) => { + const event = (() => { + try { + return JSON.parse(websocketEvent.data.toString()); + } + catch (err) { + this._onError(null, 'could not parse websocket event', err); + return null; + } + })(); + if (event) { + this._emit('event', event); + if (event.type === 'error') { + this._onError(event); + } + else { + // @ts-expect-error TS isn't smart enough to get the relationship right here + this._emit(event.type, event); + } + } + }); + this.socket.addEventListener('error', (event) => { + this._onError(null, event.message, null); + }); + if (isAzure(client)) { + if (this.url.searchParams.get('Authorization') !== null) { + this.url.searchParams.set('Authorization', ''); + } + else { + this.url.searchParams.set('api-key', ''); + } + } + } + static async azure(client, options = {}) { + const token = await client._getAzureADToken(); + function onURL(url) { + if (client.apiKey !== '') { + url.searchParams.set('api-key', client.apiKey); + } + else { + if (token) { + url.searchParams.set('Authorization', `Bearer ${token}`); + } + else { + throw new Error('AzureOpenAI is not instantiated correctly. No API key or token provided.'); + } + } + } + const deploymentName = options.deploymentName ?? client.deploymentName; + if (!deploymentName) { + throw new Error('No deployment name provided'); + } + const { dangerouslyAllowBrowser } = options; + return new OpenAIRealtimeWebSocket({ + model: deploymentName, + onURL, + ...(dangerouslyAllowBrowser ? { dangerouslyAllowBrowser } : {}), + }, client); + } + send(event) { + try { + this.socket.send(JSON.stringify(event)); + } + catch (err) { + this._onError(null, 'could not send data', err); + } + } + close(props) { + try { + this.socket.close(props?.code ?? 1000, props?.reason ?? 'OK'); + } + catch (err) { + this._onError(null, 'could not close the connection', err); + } + } +} +//# sourceMappingURL=websocket.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..469a11c3187c0f685f5a93b1c35fb95ffe9ff1f3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/websocket.mjs.map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AAI,EAAE,qBAAqB,EAAE,GAAG,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IAED,KAAK,CAAC,KAAwC;QAC5C,IAAI,CAAC;YACH,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,EAAE,MAAM,IAAI,IAAI,CAAC,CAAC;QAChE,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,gCAAgC,EAAE,GAAG,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..21ca1c4035f855d2fc384ac4f0047866fa3a3d8a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.mts @@ -0,0 +1,22 @@ +import * as WS from 'ws'; +import { AzureOpenAI, OpenAI } from "../../index.mjs"; +import type { RealtimeClientEvent } from "../../resources/beta/realtime/realtime.mjs"; +import { OpenAIRealtimeEmitter } from "./internal-base.mjs"; +export declare class OpenAIRealtimeWS extends OpenAIRealtimeEmitter { + url: URL; + socket: WS.WebSocket; + constructor(props: { + model: string; + options?: WS.ClientOptions | undefined; + }, client?: Pick); + static azure(client: Pick, options?: { + deploymentName?: string; + options?: WS.ClientOptions | undefined; + }): Promise; + send(event: RealtimeClientEvent): void; + close(props?: { + code: number; + reason: string; + }): void; +} +//# sourceMappingURL=ws.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0712ff403d184f00ce21ea48b4c8dcdcf7f231a2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"ws.d.mts","sourceRoot":"","sources":["../../src/beta/realtime/ws.ts"],"names":[],"mappings":"OAAO,KAAK,EAAE,MAAM,IAAI;OACjB,EAAE,WAAW,EAAE,MAAM,EAAE;OACvB,KAAK,EAAE,mBAAmB,EAAuB;OACjD,EAAE,qBAAqB,EAA6B;AAE3D,qBAAa,gBAAiB,SAAQ,qBAAqB;IACzD,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC;gBAGnB,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,EAAE,CAAC,aAAa,GAAG,SAAS,CAAA;KAAE,EAChE,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;WA0ChC,KAAK,CAChB,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,kBAAkB,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAAC,EACtG,OAAO,GAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,EAAE,CAAC,aAAa,GAAG,SAAS,CAAA;KAAO,GAChF,OAAO,CAAC,gBAAgB,CAAC;IAW5B,IAAI,CAAC,KAAK,EAAE,mBAAmB;IAQ/B,KAAK,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;CAO/C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..879aaa0b1e86e7affc8ec8c88bcf760877996058 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.ts @@ -0,0 +1,22 @@ +import * as WS from 'ws'; +import { AzureOpenAI, OpenAI } from "../../index.js"; +import type { RealtimeClientEvent } from "../../resources/beta/realtime/realtime.js"; +import { OpenAIRealtimeEmitter } from "./internal-base.js"; +export declare class OpenAIRealtimeWS extends OpenAIRealtimeEmitter { + url: URL; + socket: WS.WebSocket; + constructor(props: { + model: string; + options?: WS.ClientOptions | undefined; + }, client?: Pick); + static azure(client: Pick, options?: { + deploymentName?: string; + options?: WS.ClientOptions | undefined; + }): Promise; + send(event: RealtimeClientEvent): void; + close(props?: { + code: number; + reason: string; + }): void; +} +//# sourceMappingURL=ws.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f4e9d0d3056b04b9b877895424790847641293ee --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../../src/beta/realtime/ws.ts"],"names":[],"mappings":"OAAO,KAAK,EAAE,MAAM,IAAI;OACjB,EAAE,WAAW,EAAE,MAAM,EAAE;OACvB,KAAK,EAAE,mBAAmB,EAAuB;OACjD,EAAE,qBAAqB,EAA6B;AAE3D,qBAAa,gBAAiB,SAAQ,qBAAqB;IACzD,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC;gBAGnB,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,EAAE,CAAC,aAAa,GAAG,SAAS,CAAA;KAAE,EAChE,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;WA0ChC,KAAK,CAChB,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,kBAAkB,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAAC,EACtG,OAAO,GAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,EAAE,CAAC,aAAa,GAAG,SAAS,CAAA;KAAO,GAChF,OAAO,CAAC,gBAAgB,CAAC;IAW5B,IAAI,CAAC,KAAK,EAAE,mBAAmB;IAQ/B,KAAK,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;CAO/C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.js new file mode 100644 index 0000000000000000000000000000000000000000..36f6b02421b8dbc4276f67c4e35d45b72e22d72a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.js @@ -0,0 +1,85 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OpenAIRealtimeWS = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const WS = tslib_1.__importStar(require("ws")); +const index_1 = require("../../index.js"); +const internal_base_1 = require("./internal-base.js"); +class OpenAIRealtimeWS extends internal_base_1.OpenAIRealtimeEmitter { + constructor(props, client) { + super(); + client ?? (client = new index_1.OpenAI()); + this.url = (0, internal_base_1.buildRealtimeURL)(client, props.model); + this.socket = new WS.WebSocket(this.url, { + ...props.options, + headers: { + ...props.options?.headers, + ...((0, internal_base_1.isAzure)(client) ? {} : { Authorization: `Bearer ${client.apiKey}` }), + 'OpenAI-Beta': 'realtime=v1', + }, + }); + this.socket.on('message', (wsEvent) => { + const event = (() => { + try { + return JSON.parse(wsEvent.toString()); + } + catch (err) { + this._onError(null, 'could not parse websocket event', err); + return null; + } + })(); + if (event) { + this._emit('event', event); + if (event.type === 'error') { + this._onError(event); + } + else { + // @ts-expect-error TS isn't smart enough to get the relationship right here + this._emit(event.type, event); + } + } + }); + this.socket.on('error', (err) => { + this._onError(null, err.message, err); + }); + } + static async azure(client, options = {}) { + const deploymentName = options.deploymentName ?? client.deploymentName; + if (!deploymentName) { + throw new Error('No deployment name provided'); + } + return new OpenAIRealtimeWS({ model: deploymentName, options: { headers: await getAzureHeaders(client) } }, client); + } + send(event) { + try { + this.socket.send(JSON.stringify(event)); + } + catch (err) { + this._onError(null, 'could not send data', err); + } + } + close(props) { + try { + this.socket.close(props?.code ?? 1000, props?.reason ?? 'OK'); + } + catch (err) { + this._onError(null, 'could not close the connection', err); + } + } +} +exports.OpenAIRealtimeWS = OpenAIRealtimeWS; +async function getAzureHeaders(client) { + if (client.apiKey !== '') { + return { 'api-key': client.apiKey }; + } + else { + const token = await client._getAzureADToken(); + if (token) { + return { Authorization: `Bearer ${token}` }; + } + else { + throw new Error('AzureOpenAI is not instantiated correctly. No API key or token provided.'); + } + } +} +//# sourceMappingURL=ws.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.js.map new file mode 100644 index 0000000000000000000000000000000000000000..06554f4bfba7ecce5ee1851ac19aa718d801c5b3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ws.js","sourceRoot":"","sources":["../../src/beta/realtime/ws.ts"],"names":[],"mappings":";;;;AAAA,+CAAyB;AACzB,0CAAkD;AAElD,sDAAmF;AAEnF,MAAa,gBAAiB,SAAQ,qCAAqB;IAIzD,YACE,KAAg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EAAE,GAAG,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;CACF;AA7ED,4CA6EC;AAED,KAAK,UAAU,eAAe,CAAC,MAAwD;IACrF,IAAI,MAAM,CAAC,MAAM,KAAK,eAAe,EAAE,CAAC;QACtC,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,gBAAgB,EAAE,CAAC;QAC9C,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,EAAE,aAAa,EAAE,UAAU,KAAK,EAAE,EAAE,CAAC;QAC9C,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,0EAA0E,CAAC,CAAC;QAC9F,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.mjs new file mode 100644 index 0000000000000000000000000000000000000000..773a51ac72a77d00178692c79907d93af7f06dd0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.mjs @@ -0,0 +1,80 @@ +import * as WS from 'ws'; +import { OpenAI } from "../../index.mjs"; +import { OpenAIRealtimeEmitter, buildRealtimeURL, isAzure } from "./internal-base.mjs"; +export class OpenAIRealtimeWS extends OpenAIRealtimeEmitter { + constructor(props, client) { + super(); + client ?? (client = new OpenAI()); + this.url = buildRealtimeURL(client, props.model); + this.socket = new WS.WebSocket(this.url, { + ...props.options, + headers: { + ...props.options?.headers, + ...(isAzure(client) ? {} : { Authorization: `Bearer ${client.apiKey}` }), + 'OpenAI-Beta': 'realtime=v1', + }, + }); + this.socket.on('message', (wsEvent) => { + const event = (() => { + try { + return JSON.parse(wsEvent.toString()); + } + catch (err) { + this._onError(null, 'could not parse websocket event', err); + return null; + } + })(); + if (event) { + this._emit('event', event); + if (event.type === 'error') { + this._onError(event); + } + else { + // @ts-expect-error TS isn't smart enough to get the relationship right here + this._emit(event.type, event); + } + } + }); + this.socket.on('error', (err) => { + this._onError(null, err.message, err); + }); + } + static async azure(client, options = {}) { + const deploymentName = options.deploymentName ?? client.deploymentName; + if (!deploymentName) { + throw new Error('No deployment name provided'); + } + return new OpenAIRealtimeWS({ model: deploymentName, options: { headers: await getAzureHeaders(client) } }, client); + } + send(event) { + try { + this.socket.send(JSON.stringify(event)); + } + catch (err) { + this._onError(null, 'could not send data', err); + } + } + close(props) { + try { + this.socket.close(props?.code ?? 1000, props?.reason ?? 'OK'); + } + catch (err) { + this._onError(null, 'could not close the connection', err); + } + } +} +async function getAzureHeaders(client) { + if (client.apiKey !== '') { + return { 'api-key': client.apiKey }; + } + else { + const token = await client._getAzureADToken(); + if (token) { + return { Authorization: `Bearer ${token}` }; + } + else { + throw new Error('AzureOpenAI is not instantiated correctly. No API key or token provided.'); + } + } +} +//# sourceMappingURL=ws.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..b3cfd083d6eb7401d72c9d6aba1b84b606cfacda --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/beta/realtime/ws.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"ws.mjs","sourceRoot":"","sources":["../../src/beta/realtime/ws.ts"],"names":[],"mappings":"OAAO,KAAK,EAAE,MAAM,IAAI;OACjB,EAAe,MAAM,EAAE;OAEvB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,OAAO,EAAE;AAE3D,MAAM,OAAO,gBAAiB,SAAQ,qBAAqB;IAIzD,YACE,KAAgE,EAChE,MAA2C;QAE3C,KAAK,EAAE,CAAC;QACR,MAA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,UAAU,eAAe,CAAC,MAAwD;IACrF,IAAI,MAAM,CAAC,MAAM,KAAK,eAAe,EAAE,CAAC;QACtC,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,gBAAgB,EAAE,CAAC;QAC9C,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,EAAE,aAAa,EAAE,UAAU,KAAK,EAAE,EAAE,CAAC;QAC9C,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,0EAA0E,CAAC,CAAC;QAC9F,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..0fb40d95fd425d85eff7dfb64aaa05918621f6f7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.mts @@ -0,0 +1,17 @@ +export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined; +/** + * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally + * reading lines from text. + * + * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258 + */ +export declare class LineDecoder { + #private; + static NEWLINE_CHARS: Set; + static NEWLINE_REGEXP: RegExp; + constructor(); + decode(chunk: Bytes): string[]; + flush(): string[]; +} +export declare function findDoubleNewlineIndex(buffer: Uint8Array): number; +//# sourceMappingURL=line.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..5d3352d2c422fd9a60f8137b1c3f460df51d79c0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"line.d.mts","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzE;;;;;GAKG;AACH,qBAAa,WAAW;;IAEtB,MAAM,CAAC,aAAa,cAAyB;IAC7C,MAAM,CAAC,cAAc,SAAkB;;IAUvC,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE;IA6C9B,KAAK,IAAI,MAAM,EAAE;CAMlB;AA+BD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6BjE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bd39367a83e236d19fd1eb681822d9a0945aa355 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.ts @@ -0,0 +1,17 @@ +export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined; +/** + * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally + * reading lines from text. + * + * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258 + */ +export declare class LineDecoder { + #private; + static NEWLINE_CHARS: Set; + static NEWLINE_REGEXP: RegExp; + constructor(); + decode(chunk: Bytes): string[]; + flush(): string[]; +} +export declare function findDoubleNewlineIndex(buffer: Uint8Array): number; +//# sourceMappingURL=line.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ccf562926431eb83b777043965e95e9cd96415a4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzE;;;;;GAKG;AACH,qBAAa,WAAW;;IAEtB,MAAM,CAAC,aAAa,cAAyB;IAC7C,MAAM,CAAC,cAAc,SAAkB;;IAUvC,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE;IA6C9B,KAAK,IAAI,MAAM,EAAE;CAMlB;AA+BD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6BjE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.js new file mode 100644 index 0000000000000000000000000000000000000000..949664f3c52dba341d94429f66fc3a81653e5d43 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.js @@ -0,0 +1,113 @@ +"use strict"; +var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.LineDecoder = void 0; +exports.findDoubleNewlineIndex = findDoubleNewlineIndex; +const tslib_1 = require("../tslib.js"); +const bytes_1 = require("../utils/bytes.js"); +/** + * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally + * reading lines from text. + * + * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258 + */ +class LineDecoder { + constructor() { + _LineDecoder_buffer.set(this, void 0); + _LineDecoder_carriageReturnIndex.set(this, void 0); + tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, new Uint8Array(), "f"); + tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f"); + } + decode(chunk) { + if (chunk == null) { + return []; + } + const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk) + : typeof chunk === 'string' ? (0, bytes_1.encodeUTF8)(chunk) + : chunk; + tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, (0, bytes_1.concatBytes)([tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), binaryChunk]), "f"); + const lines = []; + let patternIndex; + while ((patternIndex = findNewlineIndex(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f"))) != null) { + if (patternIndex.carriage && tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") == null) { + // skip until we either get a corresponding `\n`, a new `\r` or nothing + tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, patternIndex.index, "f"); + continue; + } + // we got double \r or \rtext\n + if (tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") != null && + (patternIndex.index !== tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") + 1 || patternIndex.carriage)) { + lines.push((0, bytes_1.decodeUTF8)(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") - 1))); + tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f")), "f"); + tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f"); + continue; + } + const endIndex = tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") !== null ? patternIndex.preceding - 1 : patternIndex.preceding; + const line = (0, bytes_1.decodeUTF8)(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, endIndex)); + lines.push(line); + tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(patternIndex.index), "f"); + tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f"); + } + return lines; + } + flush() { + if (!tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").length) { + return []; + } + return this.decode('\n'); + } +} +exports.LineDecoder = LineDecoder; +_LineDecoder_buffer = new WeakMap(), _LineDecoder_carriageReturnIndex = new WeakMap(); +// prettier-ignore +LineDecoder.NEWLINE_CHARS = new Set(['\n', '\r']); +LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g; +/** + * This function searches the buffer for the end patterns, (\r or \n) + * and returns an object with the index preceding the matched newline and the + * index after the newline char. `null` is returned if no new line is found. + * + * ```ts + * findNewLineIndex('abc\ndef') -> { preceding: 2, index: 3 } + * ``` + */ +function findNewlineIndex(buffer, startIndex) { + const newline = 0x0a; // \n + const carriage = 0x0d; // \r + for (let i = startIndex ?? 0; i < buffer.length; i++) { + if (buffer[i] === newline) { + return { preceding: i, index: i + 1, carriage: false }; + } + if (buffer[i] === carriage) { + return { preceding: i, index: i + 1, carriage: true }; + } + } + return null; +} +function findDoubleNewlineIndex(buffer) { + // This function searches the buffer for the end patterns (\r\r, \n\n, \r\n\r\n) + // and returns the index right after the first occurrence of any pattern, + // or -1 if none of the patterns are found. + const newline = 0x0a; // \n + const carriage = 0x0d; // \r + for (let i = 0; i < buffer.length - 1; i++) { + if (buffer[i] === newline && buffer[i + 1] === newline) { + // \n\n + return i + 2; + } + if (buffer[i] === carriage && buffer[i + 1] === carriage) { + // \r\r + return i + 2; + } + if (buffer[i] === carriage && + buffer[i + 1] === newline && + i + 3 < buffer.length && + buffer[i + 2] === carriage && + buffer[i + 3] === newline) { + // \r\n\r\n + return i + 4; + } + } + return -1; +} +//# sourceMappingURL=line.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.js.map new file mode 100644 index 0000000000000000000000000000000000000000..724edf3c3c2462015d4dc17a254502ce15eae5da --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.js.map @@ -0,0 +1 @@ +{"version":3,"file":"line.js","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":";;;;AAyGA,wDA6BC;;AAtID,6CAAqE;AAIrE;;;;;GAKG;AACH,MAAa,WAAW;IAQtB;QAHA,sCAAoB;QACpB,mDAAoC;QAGlC,+BAAA,IAAI,uBAAW,IAAI,UAAU,EAAE,MAAA,CAAC;QAChC,+BAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAY;QACjB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,WAAW,GACf,KAAK,YAAY,WAAW,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC;YACpD,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,kBAAU,EAAC,KAAK,CAAC;gBAC/C,CAAC,CAAC,KAAK,CAAC;QAEV,+BAAA,IAAI,uBAAW,IAAA,mBAAW,EAAC,CAAC,+BAAA,IAAI,2BAAQ,EAAE,WAAW,CAAC,CAAC,MAAA,CAAC;QAExD,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,IAAI,YAAY,CAAC;QACjB,OAAO,CAAC,YAAY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C,CAAC,KAAK;IAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,KAAK;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;YACvD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;YACzD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IACE,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ;YACtB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO;YACzB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM;YACrB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ;YAC1B,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EACzB,CAAC;YACD,WAAW;YACX,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.mjs new file mode 100644 index 0000000000000000000000000000000000000000..3e1207c0883f85ed285902ea8516b0a4a3b30520 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.mjs @@ -0,0 +1,108 @@ +var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex; +import { __classPrivateFieldGet, __classPrivateFieldSet } from "../tslib.mjs"; +import { concatBytes, decodeUTF8, encodeUTF8 } from "../utils/bytes.mjs"; +/** + * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally + * reading lines from text. + * + * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258 + */ +export class LineDecoder { + constructor() { + _LineDecoder_buffer.set(this, void 0); + _LineDecoder_carriageReturnIndex.set(this, void 0); + __classPrivateFieldSet(this, _LineDecoder_buffer, new Uint8Array(), "f"); + __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f"); + } + decode(chunk) { + if (chunk == null) { + return []; + } + const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk) + : typeof chunk === 'string' ? encodeUTF8(chunk) + : chunk; + __classPrivateFieldSet(this, _LineDecoder_buffer, concatBytes([__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), binaryChunk]), "f"); + const lines = []; + let patternIndex; + while ((patternIndex = findNewlineIndex(__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f"))) != null) { + if (patternIndex.carriage && __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") == null) { + // skip until we either get a corresponding `\n`, a new `\r` or nothing + __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, patternIndex.index, "f"); + continue; + } + // we got double \r or \rtext\n + if (__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") != null && + (patternIndex.index !== __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") + 1 || patternIndex.carriage)) { + lines.push(decodeUTF8(__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") - 1))); + __classPrivateFieldSet(this, _LineDecoder_buffer, __classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f")), "f"); + __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f"); + continue; + } + const endIndex = __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") !== null ? patternIndex.preceding - 1 : patternIndex.preceding; + const line = decodeUTF8(__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, endIndex)); + lines.push(line); + __classPrivateFieldSet(this, _LineDecoder_buffer, __classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(patternIndex.index), "f"); + __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f"); + } + return lines; + } + flush() { + if (!__classPrivateFieldGet(this, _LineDecoder_buffer, "f").length) { + return []; + } + return this.decode('\n'); + } +} +_LineDecoder_buffer = new WeakMap(), _LineDecoder_carriageReturnIndex = new WeakMap(); +// prettier-ignore +LineDecoder.NEWLINE_CHARS = new Set(['\n', '\r']); +LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g; +/** + * This function searches the buffer for the end patterns, (\r or \n) + * and returns an object with the index preceding the matched newline and the + * index after the newline char. `null` is returned if no new line is found. + * + * ```ts + * findNewLineIndex('abc\ndef') -> { preceding: 2, index: 3 } + * ``` + */ +function findNewlineIndex(buffer, startIndex) { + const newline = 0x0a; // \n + const carriage = 0x0d; // \r + for (let i = startIndex ?? 0; i < buffer.length; i++) { + if (buffer[i] === newline) { + return { preceding: i, index: i + 1, carriage: false }; + } + if (buffer[i] === carriage) { + return { preceding: i, index: i + 1, carriage: true }; + } + } + return null; +} +export function findDoubleNewlineIndex(buffer) { + // This function searches the buffer for the end patterns (\r\r, \n\n, \r\n\r\n) + // and returns the index right after the first occurrence of any pattern, + // or -1 if none of the patterns are found. + const newline = 0x0a; // \n + const carriage = 0x0d; // \r + for (let i = 0; i < buffer.length - 1; i++) { + if (buffer[i] === newline && buffer[i + 1] === newline) { + // \n\n + return i + 2; + } + if (buffer[i] === carriage && buffer[i + 1] === carriage) { + // \r\r + return i + 2; + } + if (buffer[i] === carriage && + buffer[i + 1] === newline && + i + 3 < buffer.length && + buffer[i + 2] === carriage && + buffer[i + 3] === newline) { + // \r\n\r\n + return i + 4; + } + } + return -1; +} +//# sourceMappingURL=line.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2ef413a960a9d7e5c8774c5ad3e81ad35d32e2a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/decoders/line.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"line.mjs","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":";;OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE;AAI9C;;;;;GAKG;AACH,MAAM,OAAO,WAAW;IAQtB;QAHA,sCAAoB;QACpB,mDAAoC;QAGlC,uBAAA,IAAI,uBAAW,IAAI,UAAU,EAAE,MAAA,CAAC;QAChC,uBAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAY;QACjB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,WAAW,GACf,KAAK,YAAY,WAAW,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC;YACpD,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC;gBAC/C,CAAC,CAAC,KAAK,CAAC;QAEV,uBAAA,IAAI,uBAAW,WAAW,CAAC,CAAC,uBAAA,IAAI,2BAAQ,EAAE,WAAW,CAAC,CAAC,MAAA,CAAC;QAExD,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,IAAI,YAAY,CAAC;QACjB,OAA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K;IAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,KAAK;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;YACvD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;YACzD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IACE,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ;YACtB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO;YACzB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM;YACrB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ;YAC1B,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EACzB,CAAC;YACD,WAAW;YACX,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..ded39ad610f00d2762d4a14ba85233823d001e1f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.mts @@ -0,0 +1,7 @@ +import type { Format } from "./types.mjs"; +export declare const default_format: Format; +export declare const default_formatter: (v: PropertyKey) => string; +export declare const formatters: Record string>; +export declare const RFC1738 = "RFC1738"; +export declare const RFC3986 = "RFC3986"; +//# sourceMappingURL=formats.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0d05113b1f867525407d7ba7faec706f3599b11d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"formats.d.mts","sourceRoot":"","sources":["../../src/internal/qs/formats.ts"],"names":[],"mappings":"OAAO,KAAK,EAAE,MAAM,EAAE;AAEtB,eAAO,MAAM,cAAc,EAAE,MAAkB,CAAC;AAChD,eAAO,MAAM,iBAAiB,GAAI,GAAG,WAAW,WAAc,CAAC;AAC/D,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,MAAM,CAGnE,CAAC;AACF,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,OAAO,YAAY,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..69664ebb3df77dae486a6a42e4e21fe844d29101 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.ts @@ -0,0 +1,7 @@ +import type { Format } from "./types.js"; +export declare const default_format: Format; +export declare const default_formatter: (v: PropertyKey) => string; +export declare const formatters: Record string>; +export declare const RFC1738 = "RFC1738"; +export declare const RFC3986 = "RFC3986"; +//# sourceMappingURL=formats.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..212adf04347eddac84fb989a1372c0e9e1587cb1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"formats.d.ts","sourceRoot":"","sources":["../../src/internal/qs/formats.ts"],"names":[],"mappings":"OAAO,KAAK,EAAE,MAAM,EAAE;AAEtB,eAAO,MAAM,cAAc,EAAE,MAAkB,CAAC;AAChD,eAAO,MAAM,iBAAiB,GAAI,GAAG,WAAW,WAAc,CAAC;AAC/D,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,MAAM,CAGnE,CAAC;AACF,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,OAAO,YAAY,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.js new file mode 100644 index 0000000000000000000000000000000000000000..a0fe0a2c9c5b69cd6587e8f4e8055d3e51b64112 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.js @@ -0,0 +1,13 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RFC3986 = exports.RFC1738 = exports.formatters = exports.default_formatter = exports.default_format = void 0; +exports.default_format = 'RFC3986'; +const default_formatter = (v) => String(v); +exports.default_formatter = default_formatter; +exports.formatters = { + RFC1738: (v) => String(v).replace(/%20/g, '+'), + RFC3986: exports.default_formatter, +}; +exports.RFC1738 = 'RFC1738'; +exports.RFC3986 = 'RFC3986'; +//# sourceMappingURL=formats.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.js.map new file mode 100644 index 0000000000000000000000000000000000000000..21884ecf60a058bf809322fbcd9f9b02d72e2d98 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.js.map @@ -0,0 +1 @@ +{"version":3,"file":"formats.js","sourceRoot":"","sources":["../../src/internal/qs/formats.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAW,SAAS,CAAC;AACzC,MAAM,iBAAiB,GAAG,CAAC,CAAc,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAAlD,QAAA,iBAAiB,qBAAiC;AAClD,QAAA,UAAU,GAAiD;IACtE,OAAO,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;IAC3D,OAAO,EAAE,yBAAiB;CAC3B,CAAC;AACW,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,OAAO,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.mjs new file mode 100644 index 0000000000000000000000000000000000000000..456c60558852918a8b47247111efba673900d129 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.mjs @@ -0,0 +1,9 @@ +export const default_format = 'RFC3986'; +export const default_formatter = (v) => String(v); +export const formatters = { + RFC1738: (v) => String(v).replace(/%20/g, '+'), + RFC3986: default_formatter, +}; +export const RFC1738 = 'RFC1738'; +export const RFC3986 = 'RFC3986'; +//# sourceMappingURL=formats.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..0a71f2627ba36ef399a5730c085693918f1e191f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/formats.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"formats.mjs","sourceRoot":"","sources":["../../src/internal/qs/formats.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAW,SAAS,CAAC;AAChD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAc,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC/D,MAAM,CAAC,MAAM,UAAU,GAAiD;IACtE,OAAO,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;IAC3D,OAAO,EAAE,iBAAiB;CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..c2c050f6c24e761df8b8bcd99c6bb9f7ff0f2eea --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.mts @@ -0,0 +1,10 @@ +declare const formats: { + formatters: Record string>; + RFC1738: string; + RFC3986: string; + default: import("./types").Format; +}; +export { stringify } from "./stringify.mjs"; +export { formats }; +export type { DefaultDecoder, DefaultEncoder, Format, ParseOptions, StringifyOptions } from "./types.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..afa9dc1393185f50afbabd7ffa76a7e9d3e90890 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/internal/qs/index.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO;;;;;CAKZ,CAAC;OAEK,EAAE,SAAS,EAAE;AACpB,OAAO,EAAE,OAAO,EAAE,CAAC;YAEP,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..843de7a349475ba48220cf8c28a8885e70294cbb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.ts @@ -0,0 +1,10 @@ +declare const formats: { + formatters: Record string>; + RFC1738: string; + RFC3986: string; + default: import("./types").Format; +}; +export { stringify } from "./stringify.js"; +export { formats }; +export type { DefaultDecoder, DefaultEncoder, Format, ParseOptions, StringifyOptions } from "./types.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..dea8c97eed13da8ff30acda87d9370cf08bd45a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/internal/qs/index.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO;;;;;CAKZ,CAAC;OAEK,EAAE,SAAS,EAAE;AACpB,OAAO,EAAE,OAAO,EAAE,CAAC;YAEP,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..292aed61d16b811d47da52199a851e4fd4479a22 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.formats = exports.stringify = void 0; +const formats_1 = require("./formats.js"); +const formats = { + formatters: formats_1.formatters, + RFC1738: formats_1.RFC1738, + RFC3986: formats_1.RFC3986, + default: formats_1.default_format, +}; +exports.formats = formats; +var stringify_1 = require("./stringify.js"); +Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return stringify_1.stringify; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..fc1c8d47f568f09a167a3fed691077069cd18a49 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/internal/qs/index.ts"],"names":[],"mappings":";;;AAAA,0CAAyE;AAEzE,MAAM,OAAO,GAAG;IACd,UAAU,EAAV,oBAAU;IACV,OAAO,EAAP,iBAAO;IACP,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,wBAAc;CACxB,CAAC;AAGO,0BAAO;AADhB,4CAAwC;AAA/B,sGAAA,SAAS,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..166b754ddd92cefa3fc0ca87dae578f316ebd5ef --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.mjs @@ -0,0 +1,10 @@ +import { default_format, formatters, RFC1738, RFC3986 } from "./formats.mjs"; +const formats = { + formatters, + RFC1738, + RFC3986, + default: default_format, +}; +export { stringify } from "./stringify.mjs"; +export { formats }; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..1d63c5a85d28987fae205a3a6d051e270b4653e8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/internal/qs/index.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE;AAEvD,MAAM,OAAO,GAAG;IACd,UAAU;IACV,OAAO;IACP,OAAO;IACP,OAAO,EAAE,cAAc;CACxB,CAAC;OAEK,EAAE,SAAS,EAAE;AACpB,OAAO,EAAE,OAAO,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..4cffe8d382adc508fa18b317f3bec17fdd9555eb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.mts @@ -0,0 +1,3 @@ +import type { StringifyOptions } from "./types.mjs"; +export declare function stringify(object: any, opts?: StringifyOptions): string; +//# sourceMappingURL=stringify.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..7236721ea9556e2083e76dfa877be64cc3780613 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"stringify.d.mts","sourceRoot":"","sources":["../../src/internal/qs/stringify.ts"],"names":[],"mappings":"OAEO,KAAK,EAAyB,gBAAgB,EAAE;AA+SvD,wBAAgB,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,GAAE,gBAAqB,UA+EjE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ab8d8b0b30406ec4c97efe87fa7adbf4488d25e0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.ts @@ -0,0 +1,3 @@ +import type { StringifyOptions } from "./types.js"; +export declare function stringify(object: any, opts?: StringifyOptions): string; +//# sourceMappingURL=stringify.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..5b74a5496b17f5282bf2b70f28c2ab00cefe3201 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../src/internal/qs/stringify.ts"],"names":[],"mappings":"OAEO,KAAK,EAAyB,gBAAgB,EAAE;AA+SvD,wBAAgB,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,GAAE,gBAAqB,UA+EjE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.js new file mode 100644 index 0000000000000000000000000000000000000000..1e77922ad1a5cdcc8c9007df4a15a05531a5b219 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.js @@ -0,0 +1,277 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.stringify = stringify; +const utils_1 = require("./utils.js"); +const formats_1 = require("./formats.js"); +const values_1 = require("../utils/values.js"); +const array_prefix_generators = { + brackets(prefix) { + return String(prefix) + '[]'; + }, + comma: 'comma', + indices(prefix, key) { + return String(prefix) + '[' + key + ']'; + }, + repeat(prefix) { + return String(prefix); + }, +}; +const push_to_array = function (arr, value_or_array) { + Array.prototype.push.apply(arr, (0, values_1.isArray)(value_or_array) ? value_or_array : [value_or_array]); +}; +let toISOString; +const defaults = { + addQueryPrefix: false, + allowDots: false, + allowEmptyArrays: false, + arrayFormat: 'indices', + charset: 'utf-8', + charsetSentinel: false, + delimiter: '&', + encode: true, + encodeDotInKeys: false, + encoder: utils_1.encode, + encodeValuesOnly: false, + format: formats_1.default_format, + formatter: formats_1.default_formatter, + /** @deprecated */ + indices: false, + serializeDate(date) { + return (toISOString ?? (toISOString = Function.prototype.call.bind(Date.prototype.toISOString)))(date); + }, + skipNulls: false, + strictNullHandling: false, +}; +function is_non_nullish_primitive(v) { + return (typeof v === 'string' || + typeof v === 'number' || + typeof v === 'boolean' || + typeof v === 'symbol' || + typeof v === 'bigint'); +} +const sentinel = {}; +function inner_stringify(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) { + let obj = object; + let tmp_sc = sideChannel; + let step = 0; + let find_flag = false; + while ((tmp_sc = tmp_sc.get(sentinel)) !== void undefined && !find_flag) { + // Where object last appeared in the ref tree + const pos = tmp_sc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } + else { + find_flag = true; // Break while + } + } + if (typeof tmp_sc.get(sentinel) === 'undefined') { + step = 0; + } + } + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } + else if (obj instanceof Date) { + obj = serializeDate?.(obj); + } + else if (generateArrayPrefix === 'comma' && (0, values_1.isArray)(obj)) { + obj = (0, utils_1.maybe_map)(obj, function (value) { + if (value instanceof Date) { + return serializeDate?.(value); + } + return value; + }); + } + if (obj === null) { + if (strictNullHandling) { + return encoder && !encodeValuesOnly ? + // @ts-expect-error + encoder(prefix, defaults.encoder, charset, 'key', format) + : prefix; + } + obj = ''; + } + if (is_non_nullish_primitive(obj) || (0, utils_1.is_buffer)(obj)) { + if (encoder) { + const key_value = encodeValuesOnly ? prefix + // @ts-expect-error + : encoder(prefix, defaults.encoder, charset, 'key', format); + return [ + formatter?.(key_value) + + '=' + + // @ts-expect-error + formatter?.(encoder(obj, defaults.encoder, charset, 'value', format)), + ]; + } + return [formatter?.(prefix) + '=' + formatter?.(String(obj))]; + } + const values = []; + if (typeof obj === 'undefined') { + return values; + } + let obj_keys; + if (generateArrayPrefix === 'comma' && (0, values_1.isArray)(obj)) { + // we need to join elements in + if (encodeValuesOnly && encoder) { + // @ts-expect-error values only + obj = (0, utils_1.maybe_map)(obj, encoder); + } + obj_keys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; + } + else if ((0, values_1.isArray)(filter)) { + obj_keys = filter; + } + else { + const keys = Object.keys(obj); + obj_keys = sort ? keys.sort(sort) : keys; + } + const encoded_prefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix); + const adjusted_prefix = commaRoundTrip && (0, values_1.isArray)(obj) && obj.length === 1 ? encoded_prefix + '[]' : encoded_prefix; + if (allowEmptyArrays && (0, values_1.isArray)(obj) && obj.length === 0) { + return adjusted_prefix + '[]'; + } + for (let j = 0; j < obj_keys.length; ++j) { + const key = obj_keys[j]; + const value = + // @ts-ignore + typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; + if (skipNulls && value === null) { + continue; + } + // @ts-ignore + const encoded_key = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key; + const key_prefix = (0, values_1.isArray)(obj) ? + typeof generateArrayPrefix === 'function' ? + generateArrayPrefix(adjusted_prefix, encoded_key) + : adjusted_prefix + : adjusted_prefix + (allowDots ? '.' + encoded_key : '[' + encoded_key + ']'); + sideChannel.set(object, step); + const valueSideChannel = new WeakMap(); + valueSideChannel.set(sentinel, sideChannel); + push_to_array(values, inner_stringify(value, key_prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, + // @ts-ignore + generateArrayPrefix === 'comma' && encodeValuesOnly && (0, values_1.isArray)(obj) ? null : encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, valueSideChannel)); + } + return values; +} +function normalize_stringify_options(opts = defaults) { + if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') { + throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided'); + } + if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') { + throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided'); + } + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + const charset = opts.charset || defaults.charset; + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + let format = formats_1.default_format; + if (typeof opts.format !== 'undefined') { + if (!(0, utils_1.has)(formats_1.formatters, opts.format)) { + throw new TypeError('Unknown format option provided.'); + } + format = opts.format; + } + const formatter = formats_1.formatters[format]; + let filter = defaults.filter; + if (typeof opts.filter === 'function' || (0, values_1.isArray)(opts.filter)) { + filter = opts.filter; + } + let arrayFormat; + if (opts.arrayFormat && opts.arrayFormat in array_prefix_generators) { + arrayFormat = opts.arrayFormat; + } + else if ('indices' in opts) { + arrayFormat = opts.indices ? 'indices' : 'repeat'; + } + else { + arrayFormat = defaults.arrayFormat; + } + if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + const allowDots = typeof opts.allowDots === 'undefined' ? + !!opts.encodeDotInKeys === true ? + true + : defaults.allowDots + : !!opts.allowDots; + return { + addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, + // @ts-ignore + allowDots: allowDots, + allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays, + arrayFormat: arrayFormat, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + commaRoundTrip: !!opts.commaRoundTrip, + delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, + encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, + encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys, + encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, + encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, + filter: filter, + format: format, + formatter: formatter, + serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, + skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, + // @ts-ignore + sort: typeof opts.sort === 'function' ? opts.sort : null, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling, + }; +} +function stringify(object, opts = {}) { + let obj = object; + const options = normalize_stringify_options(opts); + let obj_keys; + let filter; + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } + else if ((0, values_1.isArray)(options.filter)) { + filter = options.filter; + obj_keys = filter; + } + const keys = []; + if (typeof obj !== 'object' || obj === null) { + return ''; + } + const generateArrayPrefix = array_prefix_generators[options.arrayFormat]; + const commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip; + if (!obj_keys) { + obj_keys = Object.keys(obj); + } + if (options.sort) { + obj_keys.sort(options.sort); + } + const sideChannel = new WeakMap(); + for (let i = 0; i < obj_keys.length; ++i) { + const key = obj_keys[i]; + if (options.skipNulls && obj[key] === null) { + continue; + } + push_to_array(keys, inner_stringify(obj[key], key, + // @ts-expect-error + generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null, options.filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel)); + } + const joined = keys.join(options.delimiter); + let prefix = options.addQueryPrefix === true ? '?' : ''; + if (options.charsetSentinel) { + if (options.charset === 'iso-8859-1') { + // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark + prefix += 'utf8=%26%2310003%3B&'; + } + else { + // encodeURIComponent('✓') + prefix += 'utf8=%E2%9C%93&'; + } + } + return joined.length > 0 ? prefix + joined : ''; +} +//# sourceMappingURL=stringify.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.js.map new file mode 100644 index 0000000000000000000000000000000000000000..4cb80acf497fb7543a2bc04741a2e1190028887b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stringify.js","sourceRoot":"","sources":["../../src/internal/qs/stringify.ts"],"names":[],"mappings":";;AAiTA,8BA+EC;AAhYD,sCAA4D;AAC5D,0CAA0E;AAE1E,+CAA0C;AAE1C,MAAM,uBAAuB,GAAG;IAC9B,QAAQ,CAAC,MAAmB;QAC1B,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC/B,CAAC;IACD,KAAK,EAAE,OAAO;IACd,OAAO,CAAC,MAAmB,EAAE,GAAW;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC1C,CAAC;IACD,MAAM,CAAC,MAAmB;QACxB,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;CACF,CAAC;AAEF,MAAM,aAAa,GAAG,UAAU,GAAU,EAAE,cAAmB;IAC7D,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,IAAA,gBAAO,EAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC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CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAExD,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;QAC5B,IAAI,OAAO,CAAC,OAAO,KAAK,YAAY,EAAE,CAAC;YACrC,qFAAqF;YACrF,MAAM,IAAI,sBAAsB,CAAC;QACnC,CAAC;aAAM,CAAC;YACN,0BAA0B;YAC1B,MAAM,IAAI,iBAAiB,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAClD,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.mjs new file mode 100644 index 0000000000000000000000000000000000000000..fc17994335883deb15e970d30a411bb077b00858 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.mjs @@ -0,0 +1,274 @@ +import { encode, is_buffer, maybe_map, has } from "./utils.mjs"; +import { default_format, default_formatter, formatters } from "./formats.mjs"; +import { isArray } from "../utils/values.mjs"; +const array_prefix_generators = { + brackets(prefix) { + return String(prefix) + '[]'; + }, + comma: 'comma', + indices(prefix, key) { + return String(prefix) + '[' + key + ']'; + }, + repeat(prefix) { + return String(prefix); + }, +}; +const push_to_array = function (arr, value_or_array) { + Array.prototype.push.apply(arr, isArray(value_or_array) ? value_or_array : [value_or_array]); +}; +let toISOString; +const defaults = { + addQueryPrefix: false, + allowDots: false, + allowEmptyArrays: false, + arrayFormat: 'indices', + charset: 'utf-8', + charsetSentinel: false, + delimiter: '&', + encode: true, + encodeDotInKeys: false, + encoder: encode, + encodeValuesOnly: false, + format: default_format, + formatter: default_formatter, + /** @deprecated */ + indices: false, + serializeDate(date) { + return (toISOString ?? (toISOString = Function.prototype.call.bind(Date.prototype.toISOString)))(date); + }, + skipNulls: false, + strictNullHandling: false, +}; +function is_non_nullish_primitive(v) { + return (typeof v === 'string' || + typeof v === 'number' || + typeof v === 'boolean' || + typeof v === 'symbol' || + typeof v === 'bigint'); +} +const sentinel = {}; +function inner_stringify(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) { + let obj = object; + let tmp_sc = sideChannel; + let step = 0; + let find_flag = false; + while ((tmp_sc = tmp_sc.get(sentinel)) !== void undefined && !find_flag) { + // Where object last appeared in the ref tree + const pos = tmp_sc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } + else { + find_flag = true; // Break while + } + } + if (typeof tmp_sc.get(sentinel) === 'undefined') { + step = 0; + } + } + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } + else if (obj instanceof Date) { + obj = serializeDate?.(obj); + } + else if (generateArrayPrefix === 'comma' && isArray(obj)) { + obj = maybe_map(obj, function (value) { + if (value instanceof Date) { + return serializeDate?.(value); + } + return value; + }); + } + if (obj === null) { + if (strictNullHandling) { + return encoder && !encodeValuesOnly ? + // @ts-expect-error + encoder(prefix, defaults.encoder, charset, 'key', format) + : prefix; + } + obj = ''; + } + if (is_non_nullish_primitive(obj) || is_buffer(obj)) { + if (encoder) { + const key_value = encodeValuesOnly ? prefix + // @ts-expect-error + : encoder(prefix, defaults.encoder, charset, 'key', format); + return [ + formatter?.(key_value) + + '=' + + // @ts-expect-error + formatter?.(encoder(obj, defaults.encoder, charset, 'value', format)), + ]; + } + return [formatter?.(prefix) + '=' + formatter?.(String(obj))]; + } + const values = []; + if (typeof obj === 'undefined') { + return values; + } + let obj_keys; + if (generateArrayPrefix === 'comma' && isArray(obj)) { + // we need to join elements in + if (encodeValuesOnly && encoder) { + // @ts-expect-error values only + obj = maybe_map(obj, encoder); + } + obj_keys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; + } + else if (isArray(filter)) { + obj_keys = filter; + } + else { + const keys = Object.keys(obj); + obj_keys = sort ? keys.sort(sort) : keys; + } + const encoded_prefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix); + const adjusted_prefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encoded_prefix + '[]' : encoded_prefix; + if (allowEmptyArrays && isArray(obj) && obj.length === 0) { + return adjusted_prefix + '[]'; + } + for (let j = 0; j < obj_keys.length; ++j) { + const key = obj_keys[j]; + const value = + // @ts-ignore + typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; + if (skipNulls && value === null) { + continue; + } + // @ts-ignore + const encoded_key = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key; + const key_prefix = isArray(obj) ? + typeof generateArrayPrefix === 'function' ? + generateArrayPrefix(adjusted_prefix, encoded_key) + : adjusted_prefix + : adjusted_prefix + (allowDots ? '.' + encoded_key : '[' + encoded_key + ']'); + sideChannel.set(object, step); + const valueSideChannel = new WeakMap(); + valueSideChannel.set(sentinel, sideChannel); + push_to_array(values, inner_stringify(value, key_prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, + // @ts-ignore + generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, valueSideChannel)); + } + return values; +} +function normalize_stringify_options(opts = defaults) { + if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') { + throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided'); + } + if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') { + throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided'); + } + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + const charset = opts.charset || defaults.charset; + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + let format = default_format; + if (typeof opts.format !== 'undefined') { + if (!has(formatters, opts.format)) { + throw new TypeError('Unknown format option provided.'); + } + format = opts.format; + } + const formatter = formatters[format]; + let filter = defaults.filter; + if (typeof opts.filter === 'function' || isArray(opts.filter)) { + filter = opts.filter; + } + let arrayFormat; + if (opts.arrayFormat && opts.arrayFormat in array_prefix_generators) { + arrayFormat = opts.arrayFormat; + } + else if ('indices' in opts) { + arrayFormat = opts.indices ? 'indices' : 'repeat'; + } + else { + arrayFormat = defaults.arrayFormat; + } + if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + const allowDots = typeof opts.allowDots === 'undefined' ? + !!opts.encodeDotInKeys === true ? + true + : defaults.allowDots + : !!opts.allowDots; + return { + addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, + // @ts-ignore + allowDots: allowDots, + allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays, + arrayFormat: arrayFormat, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + commaRoundTrip: !!opts.commaRoundTrip, + delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, + encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, + encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys, + encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, + encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, + filter: filter, + format: format, + formatter: formatter, + serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, + skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, + // @ts-ignore + sort: typeof opts.sort === 'function' ? opts.sort : null, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling, + }; +} +export function stringify(object, opts = {}) { + let obj = object; + const options = normalize_stringify_options(opts); + let obj_keys; + let filter; + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } + else if (isArray(options.filter)) { + filter = options.filter; + obj_keys = filter; + } + const keys = []; + if (typeof obj !== 'object' || obj === null) { + return ''; + } + const generateArrayPrefix = array_prefix_generators[options.arrayFormat]; + const commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip; + if (!obj_keys) { + obj_keys = Object.keys(obj); + } + if (options.sort) { + obj_keys.sort(options.sort); + } + const sideChannel = new WeakMap(); + for (let i = 0; i < obj_keys.length; ++i) { + const key = obj_keys[i]; + if (options.skipNulls && obj[key] === null) { + continue; + } + push_to_array(keys, inner_stringify(obj[key], key, + // @ts-expect-error + generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null, options.filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel)); + } + const joined = keys.join(options.delimiter); + let prefix = options.addQueryPrefix === true ? '?' : ''; + if (options.charsetSentinel) { + if (options.charset === 'iso-8859-1') { + // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark + prefix += 'utf8=%26%2310003%3B&'; + } + else { + // encodeURIComponent('✓') + prefix += 'utf8=%E2%9C%93&'; + } + } + return joined.length > 0 ? prefix + joined : ''; +} +//# sourceMappingURL=stringify.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c83d1253e9cdf13b235eeaee236662120d9ac095 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/stringify.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"stringify.mjs","sourceRoot":"","sources":["../../src/internal/qs/stringify.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE;OACrC,EAAE,cAAc,EAAE,iBAAiB,EAAE,UAAU,EAAE;OAEjD,EAAE,OAAO,EAAE;AAElB,MAAM,uBAAuB,GAAG;IAC9B,QAAQ,CAAC,MAAmB;QAC1B,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC/B,CAAC;IACD,KAAK,EAAE,OAAO;IACd,OAAO,CAAC,MAAmB,EAAE,GAAW;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC1C,CAAC;IACD,MAAM,CAAC,MAAmB;QACxB,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;CACF,CAAC;AAEF,MAAM,aAAa,GAAG,UAAU,GAAU,EAAE,cAAmB;IAC7D,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC;AAEF,IAAI,WAAW,CAAC;AAEhB,MAAM,QAAQ,GAAG;IACf,cAAc,EAAE,KAAK;IACrB,SAAS,EAAE,KAAK;IAChB,gBAAgB,EAAE,KAAK;IACvB,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,OAAO;IAChB,eAAe,EAAE,KAAK;IACtB,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,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAClD,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d870760b55576979514889e9f39f705d316617b9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.mts @@ -0,0 +1,57 @@ +export type Format = 'RFC1738' | 'RFC3986'; +export type DefaultEncoder = (str: any, defaultEncoder?: any, charset?: string) => string; +export type DefaultDecoder = (str: string, decoder?: any, charset?: string) => string; +export type BooleanOptional = boolean | undefined; +export type StringifyBaseOptions = { + delimiter?: string; + allowDots?: boolean; + encodeDotInKeys?: boolean; + strictNullHandling?: boolean; + skipNulls?: boolean; + encode?: boolean; + encoder?: (str: any, defaultEncoder: DefaultEncoder, charset: string, type: 'key' | 'value', format?: Format) => string; + filter?: Array | ((prefix: PropertyKey, value: any) => any); + arrayFormat?: 'indices' | 'brackets' | 'repeat' | 'comma'; + indices?: boolean; + sort?: ((a: PropertyKey, b: PropertyKey) => number) | null; + serializeDate?: (d: Date) => string; + format?: 'RFC1738' | 'RFC3986'; + formatter?: (str: PropertyKey) => string; + encodeValuesOnly?: boolean; + addQueryPrefix?: boolean; + charset?: 'utf-8' | 'iso-8859-1'; + charsetSentinel?: boolean; + allowEmptyArrays?: boolean; + commaRoundTrip?: boolean; +}; +export type StringifyOptions = StringifyBaseOptions; +export type ParseBaseOptions = { + comma?: boolean; + delimiter?: string | RegExp; + depth?: number | false; + decoder?: (str: string, defaultDecoder: DefaultDecoder, charset: string, type: 'key' | 'value') => any; + arrayLimit?: number; + parseArrays?: boolean; + plainObjects?: boolean; + allowPrototypes?: boolean; + allowSparse?: boolean; + parameterLimit?: number; + strictDepth?: boolean; + strictNullHandling?: boolean; + ignoreQueryPrefix?: boolean; + charset?: 'utf-8' | 'iso-8859-1'; + charsetSentinel?: boolean; + interpretNumericEntities?: boolean; + allowEmptyArrays?: boolean; + duplicates?: 'combine' | 'first' | 'last'; + allowDots?: boolean; + decodeDotInKeys?: boolean; +}; +export type ParseOptions = ParseBaseOptions; +export type ParsedQs = { + [key: string]: undefined | string | string[] | ParsedQs | ParsedQs[]; +}; +export type NonNullableProperties = { + [K in keyof T]-?: Exclude; +}; +//# sourceMappingURL=types.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..54bb0bdb93826ca4c44f9f8598fcd91bbd460309 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/internal/qs/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,cAAc,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAC1F,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAEtF,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAk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git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..989a959a1cf0fb16940c37240128a268ebdc2e30 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.ts @@ -0,0 +1,57 @@ +export type Format = 'RFC1738' | 'RFC3986'; +export type DefaultEncoder = (str: any, defaultEncoder?: any, charset?: string) => string; +export type DefaultDecoder = (str: string, decoder?: any, charset?: string) => string; +export type BooleanOptional = boolean | undefined; +export type StringifyBaseOptions = { + delimiter?: string; + allowDots?: boolean; + encodeDotInKeys?: boolean; + strictNullHandling?: boolean; + skipNulls?: boolean; + encode?: boolean; + encoder?: (str: any, defaultEncoder: DefaultEncoder, charset: string, type: 'key' | 'value', format?: Format) => string; + filter?: Array | ((prefix: PropertyKey, value: any) => any); + arrayFormat?: 'indices' | 'brackets' | 'repeat' | 'comma'; + indices?: boolean; + sort?: ((a: PropertyKey, b: PropertyKey) => number) | null; + serializeDate?: (d: Date) => string; + format?: 'RFC1738' | 'RFC3986'; + formatter?: (str: PropertyKey) => string; + encodeValuesOnly?: boolean; + addQueryPrefix?: boolean; + charset?: 'utf-8' | 'iso-8859-1'; + charsetSentinel?: boolean; + allowEmptyArrays?: boolean; + commaRoundTrip?: boolean; +}; +export type StringifyOptions = StringifyBaseOptions; +export type ParseBaseOptions = { + comma?: boolean; + delimiter?: string | RegExp; + depth?: number | false; + decoder?: (str: string, defaultDecoder: DefaultDecoder, charset: string, type: 'key' | 'value') => any; + arrayLimit?: number; + parseArrays?: boolean; + plainObjects?: boolean; + allowPrototypes?: boolean; + allowSparse?: boolean; + parameterLimit?: number; + strictDepth?: boolean; + strictNullHandling?: boolean; + ignoreQueryPrefix?: boolean; + charset?: 'utf-8' | 'iso-8859-1'; + charsetSentinel?: boolean; + interpretNumericEntities?: boolean; + allowEmptyArrays?: boolean; + duplicates?: 'combine' | 'first' | 'last'; + allowDots?: boolean; + decodeDotInKeys?: boolean; +}; +export type ParseOptions = ParseBaseOptions; +export type ParsedQs = { + [key: string]: undefined | string | string[] | ParsedQs | ParsedQs[]; +}; +export type NonNullableProperties = { + [K in keyof T]-?: Exclude; +}; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..83608b9ad4a40fe35740977a2ad7c5edd05781bb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/internal/qs/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,cAAc,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAC1F,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAEtF,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACj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E,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,KAAK,GAAG,CAAC;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAE5C,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,QAAQ,GAAG,QAAQ,EAAE,CAAC;CACtE,CAAC;AAGF,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI;KACpC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAClD,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.js new file mode 100644 index 0000000000000000000000000000000000000000..11e638d1ee44ae0dcb1feb5aef676ea74a7d4df3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.js.map new file mode 100644 index 0000000000000000000000000000000000000000..3f947ace6cec18c95342845e0ab76c51552de9fa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/internal/qs/types.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ce3aaacc9b65f971207c7833c2825c31e165c600 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.mjs @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=types.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..e64a9c6af7cbc47e7e1d6c026c90628e3ca56569 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/types.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"types.mjs","sourceRoot":"","sources":["../../src/internal/qs/types.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..282e02bfaeb05623e4550d7bd30c4bd113768389 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.mts @@ -0,0 +1,15 @@ +import type { DefaultEncoder, Format } from "./types.mjs"; +export declare let has: (obj: object, key: PropertyKey) => boolean; +export declare function merge(target: any, source: any, options?: { + plainObjects?: boolean; + allowPrototypes?: boolean; +}): any; +export declare function assign_single_source(target: any, source: any): any; +export declare function decode(str: string, _: any, charset: string): string; +export declare const encode: (str: any, defaultEncoder: DefaultEncoder, charset: string, type: 'key' | 'value', format: Format) => string; +export declare function compact(value: any): any; +export declare function is_regexp(obj: any): boolean; +export declare function is_buffer(obj: any): boolean; +export declare function combine(a: any, b: any): never[]; +export declare function maybe_map(val: T[], fn: (v: T) => T): T | T[]; +//# sourceMappingURL=utils.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..3a1dfaba8d2e3fef03f6a449fcfbff822acadbf9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.mts","sourceRoot":"","sources":["../../src/internal/qs/utils.ts"],"names":[],"mappings":"OACO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE;AAGtC,eAAO,IAAI,GAAG,GAAI,KAAK,MAAM,EAAE,KAAK,WAAW,KAAG,OAGjD,CAAC;AA4CF,wBAAgB,KAAK,CACnB,MAAM,EAAE,GAAG,EACX,MAAM,EAAE,GAAG,EACX,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAC;IAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,OAwDpE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAK5D;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,UAY1D;AAID,eAAO,MAAM,MAAM,EAAE,CACnB,GAAG,EAAE,GAAG,EACR,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,KAAK,GAAG,OAAO,EACrB,MAAM,EAAE,MAAM,KACX,MAuEJ,CAAC;AAEF,wBAAgB,OAAO,CAAC,KAAK,EAAE,GAAG,OAuBjC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,WAEjC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,WAMjC;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,WAErC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,WASrD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fa73204b5f621293589202f5b75cf901d7e3bb36 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.ts @@ -0,0 +1,15 @@ +import type { DefaultEncoder, Format } from "./types.js"; +export declare let has: (obj: object, key: PropertyKey) => boolean; +export declare function merge(target: any, source: any, options?: { + plainObjects?: boolean; + allowPrototypes?: boolean; +}): any; +export declare function assign_single_source(target: any, source: any): any; +export declare function decode(str: string, _: any, charset: string): string; +export declare const encode: (str: any, defaultEncoder: DefaultEncoder, charset: string, type: 'key' | 'value', format: Format) => string; +export declare function compact(value: any): any; +export declare function is_regexp(obj: any): boolean; +export declare function is_buffer(obj: any): boolean; +export declare function combine(a: any, b: any): never[]; +export declare function maybe_map(val: T[], fn: (v: T) => T): T | T[]; +//# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..38c96676820ca6bed54d31d638ae4e0972b4121d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/internal/qs/utils.ts"],"names":[],"mappings":"OACO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE;AAGtC,eAAO,IAAI,GAAG,GAAI,KAAK,MAAM,EAAE,KAAK,WAAW,KAAG,OAGjD,CAAC;AA4CF,wBAAgB,KAAK,CACnB,MAAM,EAAE,GAAG,EACX,MAAM,EAAE,GAAG,EACX,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAC;IAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,OAwDpE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAK5D;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,UAY1D;AAID,eAAO,MAAM,MAAM,EAAE,CACnB,GAAG,EAAE,GAAG,EACR,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,KAAK,GAAG,OAAO,EACrB,MAAM,EAAE,MAAM,KACX,MAuEJ,CAAC;AAEF,wBAAgB,OAAO,CAAC,KAAK,EAAE,GAAG,OAuBjC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,WAEjC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,WAMjC;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,WAErC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,WASrD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.js new file mode 100644 index 0000000000000000000000000000000000000000..a08c610ef00eaed3d5fea370daae010462e63233 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.js @@ -0,0 +1,230 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.encode = exports.has = void 0; +exports.merge = merge; +exports.assign_single_source = assign_single_source; +exports.decode = decode; +exports.compact = compact; +exports.is_regexp = is_regexp; +exports.is_buffer = is_buffer; +exports.combine = combine; +exports.maybe_map = maybe_map; +const formats_1 = require("./formats.js"); +const values_1 = require("../utils/values.js"); +let has = (obj, key) => ((exports.has = Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty)), + (0, exports.has)(obj, key)); +exports.has = has; +const hex_table = /* @__PURE__ */ (() => { + const array = []; + for (let i = 0; i < 256; ++i) { + array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); + } + return array; +})(); +function compact_queue(queue) { + while (queue.length > 1) { + const item = queue.pop(); + if (!item) + continue; + const obj = item.obj[item.prop]; + if ((0, values_1.isArray)(obj)) { + const compacted = []; + for (let j = 0; j < obj.length; ++j) { + if (typeof obj[j] !== 'undefined') { + compacted.push(obj[j]); + } + } + // @ts-ignore + item.obj[item.prop] = compacted; + } + } +} +function array_to_object(source, options) { + const obj = options && options.plainObjects ? Object.create(null) : {}; + for (let i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + return obj; +} +function merge(target, source, options = {}) { + if (!source) { + return target; + } + if (typeof source !== 'object') { + if ((0, values_1.isArray)(target)) { + target.push(source); + } + else if (target && typeof target === 'object') { + if ((options && (options.plainObjects || options.allowPrototypes)) || !(0, exports.has)(Object.prototype, source)) { + target[source] = true; + } + } + else { + return [target, source]; + } + return target; + } + if (!target || typeof target !== 'object') { + return [target].concat(source); + } + let mergeTarget = target; + if ((0, values_1.isArray)(target) && !(0, values_1.isArray)(source)) { + // @ts-ignore + mergeTarget = array_to_object(target, options); + } + if ((0, values_1.isArray)(target) && (0, values_1.isArray)(source)) { + source.forEach(function (item, i) { + if ((0, exports.has)(target, i)) { + const targetItem = target[i]; + if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { + target[i] = merge(targetItem, item, options); + } + else { + target.push(item); + } + } + else { + target[i] = item; + } + }); + return target; + } + return Object.keys(source).reduce(function (acc, key) { + const value = source[key]; + if ((0, exports.has)(acc, key)) { + acc[key] = merge(acc[key], value, options); + } + else { + acc[key] = value; + } + return acc; + }, mergeTarget); +} +function assign_single_source(target, source) { + return Object.keys(source).reduce(function (acc, key) { + acc[key] = source[key]; + return acc; + }, target); +} +function decode(str, _, charset) { + const strWithoutPlus = str.replace(/\+/g, ' '); + if (charset === 'iso-8859-1') { + // unescape never throws, no try...catch needed: + return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); + } + // utf-8 + try { + return decodeURIComponent(strWithoutPlus); + } + catch (e) { + return strWithoutPlus; + } +} +const limit = 1024; +const encode = (str, _defaultEncoder, charset, _kind, format) => { + // This code was originally written by Brian White for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + let string = str; + if (typeof str === 'symbol') { + string = Symbol.prototype.toString.call(str); + } + else if (typeof str !== 'string') { + string = String(str); + } + if (charset === 'iso-8859-1') { + return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { + return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; + }); + } + let out = ''; + for (let j = 0; j < string.length; j += limit) { + const segment = string.length >= limit ? string.slice(j, j + limit) : string; + const arr = []; + for (let i = 0; i < segment.length; ++i) { + let c = segment.charCodeAt(i); + if (c === 0x2d || // - + c === 0x2e || // . + c === 0x5f || // _ + c === 0x7e || // ~ + (c >= 0x30 && c <= 0x39) || // 0-9 + (c >= 0x41 && c <= 0x5a) || // a-z + (c >= 0x61 && c <= 0x7a) || // A-Z + (format === formats_1.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) + ) { + arr[arr.length] = segment.charAt(i); + continue; + } + if (c < 0x80) { + arr[arr.length] = hex_table[c]; + continue; + } + if (c < 0x800) { + arr[arr.length] = hex_table[0xc0 | (c >> 6)] + hex_table[0x80 | (c & 0x3f)]; + continue; + } + if (c < 0xd800 || c >= 0xe000) { + arr[arr.length] = + hex_table[0xe0 | (c >> 12)] + hex_table[0x80 | ((c >> 6) & 0x3f)] + hex_table[0x80 | (c & 0x3f)]; + continue; + } + i += 1; + c = 0x10000 + (((c & 0x3ff) << 10) | (segment.charCodeAt(i) & 0x3ff)); + arr[arr.length] = + hex_table[0xf0 | (c >> 18)] + + hex_table[0x80 | ((c >> 12) & 0x3f)] + + hex_table[0x80 | ((c >> 6) & 0x3f)] + + hex_table[0x80 | (c & 0x3f)]; + } + out += arr.join(''); + } + return out; +}; +exports.encode = encode; +function compact(value) { + const queue = [{ obj: { o: value }, prop: 'o' }]; + const refs = []; + for (let i = 0; i < queue.length; ++i) { + const item = queue[i]; + // @ts-ignore + const obj = item.obj[item.prop]; + const keys = Object.keys(obj); + for (let j = 0; j < keys.length; ++j) { + const key = keys[j]; + const val = obj[key]; + if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { + queue.push({ obj: obj, prop: key }); + refs.push(val); + } + } + } + compact_queue(queue); + return value; +} +function is_regexp(obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; +} +function is_buffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); +} +function combine(a, b) { + return [].concat(a, b); +} +function maybe_map(val, fn) { + if ((0, values_1.isArray)(val)) { + const mapped = []; + for (let i = 0; i < val.length; i += 1) { + mapped.push(fn(val[i])); + } + return mapped; + } + return fn(val); +} +//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.js.map new file mode 100644 index 0000000000000000000000000000000000000000..3ebc3bdba287781d00bb47a681fc32039572a5b4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/qs/utils.ts"],"names":[],"mappings":";;;AAmDA,sBA2DC;AAED,oDAKC;AAED,wBAYC;AAmFD,0BAuBC;AAED,8BAEC;AAED,8BAMC;AAED,0BAEC;AAED,8BASC;AAxQD,0CAAoC;AAEpC,+CAA0C;AAEnC,IAAI,GAAG,GAAG,CAAC,GAAW,EAAE,GAAgB,EAAW,EAAE,CAAC,CAC3D,CAAC,WAAG,GAAI,MAAc,CAAC,MAAM,IAAI,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC/F,IAAA,WAAG,EAAC,GAAG,EAAE,GAAG,CAAC,CACd,CAAC;AAHS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,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YACvC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC;QAC3B,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.mjs new file mode 100644 index 0000000000000000000000000000000000000000..9bc5a0ba000de71a36eb5568807fc30380d18d58 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.mjs @@ -0,0 +1,217 @@ +import { RFC1738 } from "./formats.mjs"; +import { isArray } from "../utils/values.mjs"; +export let has = (obj, key) => ((has = Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty)), + has(obj, key)); +const hex_table = /* @__PURE__ */ (() => { + const array = []; + for (let i = 0; i < 256; ++i) { + array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); + } + return array; +})(); +function compact_queue(queue) { + while (queue.length > 1) { + const item = queue.pop(); + if (!item) + continue; + const obj = item.obj[item.prop]; + if (isArray(obj)) { + const compacted = []; + for (let j = 0; j < obj.length; ++j) { + if (typeof obj[j] !== 'undefined') { + compacted.push(obj[j]); + } + } + // @ts-ignore + item.obj[item.prop] = compacted; + } + } +} +function array_to_object(source, options) { + const obj = options && options.plainObjects ? Object.create(null) : {}; + for (let i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + return obj; +} +export function merge(target, source, options = {}) { + if (!source) { + return target; + } + if (typeof source !== 'object') { + if (isArray(target)) { + target.push(source); + } + else if (target && typeof target === 'object') { + if ((options && (options.plainObjects || options.allowPrototypes)) || !has(Object.prototype, source)) { + target[source] = true; + } + } + else { + return [target, source]; + } + return target; + } + if (!target || typeof target !== 'object') { + return [target].concat(source); + } + let mergeTarget = target; + if (isArray(target) && !isArray(source)) { + // @ts-ignore + mergeTarget = array_to_object(target, options); + } + if (isArray(target) && isArray(source)) { + source.forEach(function (item, i) { + if (has(target, i)) { + const targetItem = target[i]; + if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { + target[i] = merge(targetItem, item, options); + } + else { + target.push(item); + } + } + else { + target[i] = item; + } + }); + return target; + } + return Object.keys(source).reduce(function (acc, key) { + const value = source[key]; + if (has(acc, key)) { + acc[key] = merge(acc[key], value, options); + } + else { + acc[key] = value; + } + return acc; + }, mergeTarget); +} +export function assign_single_source(target, source) { + return Object.keys(source).reduce(function (acc, key) { + acc[key] = source[key]; + return acc; + }, target); +} +export function decode(str, _, charset) { + const strWithoutPlus = str.replace(/\+/g, ' '); + if (charset === 'iso-8859-1') { + // unescape never throws, no try...catch needed: + return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); + } + // utf-8 + try { + return decodeURIComponent(strWithoutPlus); + } + catch (e) { + return strWithoutPlus; + } +} +const limit = 1024; +export const encode = (str, _defaultEncoder, charset, _kind, format) => { + // This code was originally written by Brian White for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + let string = str; + if (typeof str === 'symbol') { + string = Symbol.prototype.toString.call(str); + } + else if (typeof str !== 'string') { + string = String(str); + } + if (charset === 'iso-8859-1') { + return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { + return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; + }); + } + let out = ''; + for (let j = 0; j < string.length; j += limit) { + const segment = string.length >= limit ? string.slice(j, j + limit) : string; + const arr = []; + for (let i = 0; i < segment.length; ++i) { + let c = segment.charCodeAt(i); + if (c === 0x2d || // - + c === 0x2e || // . + c === 0x5f || // _ + c === 0x7e || // ~ + (c >= 0x30 && c <= 0x39) || // 0-9 + (c >= 0x41 && c <= 0x5a) || // a-z + (c >= 0x61 && c <= 0x7a) || // A-Z + (format === RFC1738 && (c === 0x28 || c === 0x29)) // ( ) + ) { + arr[arr.length] = segment.charAt(i); + continue; + } + if (c < 0x80) { + arr[arr.length] = hex_table[c]; + continue; + } + if (c < 0x800) { + arr[arr.length] = hex_table[0xc0 | (c >> 6)] + hex_table[0x80 | (c & 0x3f)]; + continue; + } + if (c < 0xd800 || c >= 0xe000) { + arr[arr.length] = + hex_table[0xe0 | (c >> 12)] + hex_table[0x80 | ((c >> 6) & 0x3f)] + hex_table[0x80 | (c & 0x3f)]; + continue; + } + i += 1; + c = 0x10000 + (((c & 0x3ff) << 10) | (segment.charCodeAt(i) & 0x3ff)); + arr[arr.length] = + hex_table[0xf0 | (c >> 18)] + + hex_table[0x80 | ((c >> 12) & 0x3f)] + + hex_table[0x80 | ((c >> 6) & 0x3f)] + + hex_table[0x80 | (c & 0x3f)]; + } + out += arr.join(''); + } + return out; +}; +export function compact(value) { + const queue = [{ obj: { o: value }, prop: 'o' }]; + const refs = []; + for (let i = 0; i < queue.length; ++i) { + const item = queue[i]; + // @ts-ignore + const obj = item.obj[item.prop]; + const keys = Object.keys(obj); + for (let j = 0; j < keys.length; ++j) { + const key = keys[j]; + const val = obj[key]; + if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { + queue.push({ obj: obj, prop: key }); + refs.push(val); + } + } + } + compact_queue(queue); + return value; +} +export function is_regexp(obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; +} +export function is_buffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); +} +export function combine(a, b) { + return [].concat(a, b); +} +export function maybe_map(val, fn) { + if (isArray(val)) { + const mapped = []; + for (let i = 0; i < val.length; i += 1) { + mapped.push(fn(val[i])); + } + return mapped; + } + return fn(val); +} +//# sourceMappingURL=utils.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..ee04c2ab6b0ae0f443d3932222b0ea792928a42e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/qs/utils.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.mjs","sourceRoot":"","sources":["../../src/internal/qs/utils.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE;OAEX,EAAE,OAAO,EAAE;AAElB,MAAM,CAAC,IAAI,GAAG,GAAG,CAAC,GAAW,EAAE,GAAgB,EAAW,EAAE,CAAC,CAC3D,CAAC,GAAG,GAAI,MAAc,CAAC,MAAM,IAAI,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC/F,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CACd,CAAC;AAEF,MAAM,SAAS,GAAG,eAAe,CAAC,CAAC,GAAG,EAAE;IACtC,MAAM,KAAK,GAAG,EAAE,CAAC;IACjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC;QAC7B,KAAK,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC,EAAE,CAAC;AAEL,SAAS,aAAa,CAAgC,KAAsC;IAC1F,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,MAAM,IAAI,G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AED,MAAM,UAAU,SAAS,CAAC,GAAQ;IAChC,IAAI,CAAC,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,WAAW,CAAC,QAAQ,IAAI,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1F,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,CAAM,EAAE,CAAM;IACpC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACzB,CAAC;AAED,MAAM,UAAU,SAAS,CAAI,GAAQ,EAAE,EAAe;IACpD,IAAI,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACjB,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YACvC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC;QAC3B,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..62ba63fbd1bdab5f7b7e359087648dd08a664f58 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.mts @@ -0,0 +1,9 @@ +export declare const toBase64: (data: string | Uint8Array | null | undefined) => string; +export declare const fromBase64: (str: string) => Uint8Array; +/** + * Converts a Base64 encoded string to a Float32Array. + * @param base64Str - The Base64 encoded string. + * @returns An Array of numbers interpreted as Float32 values. + */ +export declare const toFloat32Array: (base64Str: string) => Array; +//# sourceMappingURL=base64.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..844a859849ac8d2b87626cd9e51c7ed499adb8aa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"base64.d.mts","sourceRoot":"","sources":["../../src/internal/utils/base64.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,KAAG,MAgBvE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,KAAG,UAgBxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,KAAG,KAAK,CAAC,MAAM,CAiB9D,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e9ad9acaef9cf120562b51073b5705b2a89b34d0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.ts @@ -0,0 +1,9 @@ +export declare const toBase64: (data: string | Uint8Array | null | undefined) => string; +export declare const fromBase64: (str: string) => Uint8Array; +/** + * Converts a Base64 encoded string to a Float32Array. + * @param base64Str - The Base64 encoded string. + * @returns An Array of numbers interpreted as Float32 values. + */ +export declare const toFloat32Array: (base64Str: string) => Array; +//# sourceMappingURL=base64.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d9e4537569b56766856ecaa0fda610dfc1c94191 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"base64.d.ts","sourceRoot":"","sources":["../../src/internal/utils/base64.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,KAAG,MAgBvE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,KAAG,UAgBxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,KAAG,KAAK,CAAC,MAAM,CAiB9D,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.js new file mode 100644 index 0000000000000000000000000000000000000000..49c8eea1b79e78bd3cfc282d851570da99d44250 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.js @@ -0,0 +1,61 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.toFloat32Array = exports.fromBase64 = exports.toBase64 = void 0; +const error_1 = require("../../core/error.js"); +const bytes_1 = require("./bytes.js"); +const toBase64 = (data) => { + if (!data) + return ''; + if (typeof globalThis.Buffer !== 'undefined') { + return globalThis.Buffer.from(data).toString('base64'); + } + if (typeof data === 'string') { + data = (0, bytes_1.encodeUTF8)(data); + } + if (typeof btoa !== 'undefined') { + return btoa(String.fromCharCode.apply(null, data)); + } + throw new error_1.OpenAIError('Cannot generate base64 string; Expected `Buffer` or `btoa` to be defined'); +}; +exports.toBase64 = toBase64; +const fromBase64 = (str) => { + if (typeof globalThis.Buffer !== 'undefined') { + const buf = globalThis.Buffer.from(str, 'base64'); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength); + } + if (typeof atob !== 'undefined') { + const bstr = atob(str); + const buf = new Uint8Array(bstr.length); + for (let i = 0; i < bstr.length; i++) { + buf[i] = bstr.charCodeAt(i); + } + return buf; + } + throw new error_1.OpenAIError('Cannot decode base64 string; Expected `Buffer` or `atob` to be defined'); +}; +exports.fromBase64 = fromBase64; +/** + * Converts a Base64 encoded string to a Float32Array. + * @param base64Str - The Base64 encoded string. + * @returns An Array of numbers interpreted as Float32 values. + */ +const toFloat32Array = (base64Str) => { + if (typeof Buffer !== 'undefined') { + // for Node.js environment + const buf = Buffer.from(base64Str, 'base64'); + return Array.from(new Float32Array(buf.buffer, buf.byteOffset, buf.length / Float32Array.BYTES_PER_ELEMENT)); + } + else { + // for legacy web platform APIs + const binaryStr = atob(base64Str); + const len = binaryStr.length; + const bytes = new Uint8Array(len); + for (let i = 0; i < len; i++) { + bytes[i] = binaryStr.charCodeAt(i); + } + return Array.from(new Float32Array(bytes.buffer)); + } +}; +exports.toFloat32Array = toFloat32Array; +//# sourceMappingURL=base64.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.js.map new file mode 100644 index 0000000000000000000000000000000000000000..634a8c0a1eec42cddfad082103807d43dc947838 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.js.map @@ -0,0 +1 @@ +{"version":3,"file":"base64.js","sourceRoot":"","sources":["../../src/internal/utils/base64.ts"],"names":[],"m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-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.mjs new file mode 100644 index 0000000000000000000000000000000000000000..7557305208c46836316266c0e7758c9aa4ee0690 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.mjs @@ -0,0 +1,55 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { OpenAIError } from "../../core/error.mjs"; +import { encodeUTF8 } from "./bytes.mjs"; +export const toBase64 = (data) => { + if (!data) + return ''; + if (typeof globalThis.Buffer !== 'undefined') { + return globalThis.Buffer.from(data).toString('base64'); + } + if (typeof data === 'string') { + data = encodeUTF8(data); + } + if (typeof btoa !== 'undefined') { + return btoa(String.fromCharCode.apply(null, data)); + } + throw new OpenAIError('Cannot generate base64 string; Expected `Buffer` or `btoa` to be defined'); +}; +export const fromBase64 = (str) => { + if (typeof globalThis.Buffer !== 'undefined') { + const buf = globalThis.Buffer.from(str, 'base64'); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength); + } + if (typeof atob !== 'undefined') { + const bstr = atob(str); + const buf = new Uint8Array(bstr.length); + for (let i = 0; i < bstr.length; i++) { + buf[i] = bstr.charCodeAt(i); + } + return buf; + } + throw new OpenAIError('Cannot decode base64 string; Expected `Buffer` or `atob` to be defined'); +}; +/** + * Converts a Base64 encoded string to a Float32Array. + * @param base64Str - The Base64 encoded string. + * @returns An Array of numbers interpreted as Float32 values. + */ +export const toFloat32Array = (base64Str) => { + if (typeof Buffer !== 'undefined') { + // for Node.js environment + const buf = Buffer.from(base64Str, 'base64'); + return Array.from(new Float32Array(buf.buffer, buf.byteOffset, buf.length / Float32Array.BYTES_PER_ELEMENT)); + } + else { + // for legacy web platform APIs + const binaryStr = atob(base64Str); + const len = binaryStr.length; + const bytes = new Uint8Array(len); + for (let i = 0; i < len; i++) { + bytes[i] = binaryStr.charCodeAt(i); + } + return Array.from(new Float32Array(bytes.buffer)); + } +}; +//# sourceMappingURL=base64.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..50ac140d54292c8d6041076a4ce39c230a082479 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/base64.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"base64.mjs","sourceRoot":"","sources":["../../src/internal/utils/base64.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAA4C,EAAU,EAAE;IAC/E,IAAI,CAAC,IAAI;QAAE,OAAO,EAAE,CAAC;IAErB,IAAI,OAAQ,UAAkB,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;QACtD,OAAQ,UAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAClE,CAAC;IAED,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,IAAW,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,MAAM,IAAI,WAAW,CAAC,0EAA0E,CAAC,CAAC;AACpG,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAW,EAAc,EAAE;IACpD,IAAI,OAAQ,UAAkB,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;QACt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AAI,UAAU,CAAC,GAAG,CAAC,CAAC;QAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAC7B,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QACrC,CAAC;QACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;AACH,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a6219ca298e2e1f1e6545fda6eab3b468ad4a69a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.mts @@ -0,0 +1,4 @@ +export declare function concatBytes(buffers: Uint8Array[]): Uint8Array; +export declare function encodeUTF8(str: string): Uint8Array; +export declare function decodeUTF8(bytes: Uint8Array): string; +//# sourceMappingURL=bytes.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..f554eb726da2af580822569424a03f5b1a3ec9c0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes.d.mts","sourceRoot":"","sources":["../../src/internal/utils/bytes.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAa7D;AAGD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,+BAMrC;AAGD,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,UAM3C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b1dba564586b510100dba533c1b45a28a183821b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.ts @@ -0,0 +1,4 @@ +export declare function concatBytes(buffers: Uint8Array[]): Uint8Array; +export declare function encodeUTF8(str: string): Uint8Array; +export declare function decodeUTF8(bytes: Uint8Array): string; +//# sourceMappingURL=bytes.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..07fb5f776d332d4e33268b5b9300644579744463 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes.d.ts","sourceRoot":"","sources":["../../src/internal/utils/bytes.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAa7D;AAGD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,+BAMrC;AAGD,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,UAM3C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.js new file mode 100644 index 0000000000000000000000000000000000000000..80b5263a4b627a3108616759f00111a469a29730 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.concatBytes = concatBytes; +exports.encodeUTF8 = encodeUTF8; +exports.decodeUTF8 = decodeUTF8; +function concatBytes(buffers) { + let length = 0; + for (const buffer of buffers) { + length += buffer.length; + } + const output = new Uint8Array(length); + let index = 0; + for (const buffer of buffers) { + output.set(buffer, index); + index += buffer.length; + } + return output; +} +let encodeUTF8_; +function encodeUTF8(str) { + let encoder; + return (encodeUTF8_ ?? + ((encoder = new globalThis.TextEncoder()), (encodeUTF8_ = encoder.encode.bind(encoder))))(str); +} +let decodeUTF8_; +function decodeUTF8(bytes) { + let decoder; + return (decodeUTF8_ ?? + ((decoder = new globalThis.TextDecoder()), (decodeUTF8_ = decoder.decode.bind(decoder))))(bytes); +} +//# sourceMappingURL=bytes.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a80632e1d1e4028918a1adeb5f35ddace5676d41 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes.js","sourceRoot":"","sources":["../../src/internal/utils/bytes.ts"],"names":[],"mappings":";;AAAA,kCAaC;AAGD,gCAMC;AAGD,gCAMC;AA/BD,SAAgB,WAAW,CAAC,OAAqB;IAC/C,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC;IAC1B,CAAC;IACD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACtC,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAC1B,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC;IACzB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,IAAI,WAAwC,CAAC;AAC7C,SAAgB,UAAU,CAAC,GAAW;IACpC,IAAI,OAAO,CAAC;IACZ,OAAO,CACL,WAAW;QACX,CAAC,CAAC,OAAO,GAAG,IAAK,UAAkB,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAClG,CAAC,GAAG,CAAC,CAAC;AACT,CAAC;AAED,IAAI,WAA0C,CAAC;AAC/C,SAAgB,UAAU,CAAC,KAAiB;IAC1C,IAAI,OAAO,CAAC;IACZ,OAAO,CACL,WAAW;QACX,CAAC,CAAC,OAAO,GAAG,IAAK,UAAkB,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAClG,CAAC,KAAK,CAAC,CAAC;AACX,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.mjs new file mode 100644 index 0000000000000000000000000000000000000000..5b9bb3896291322ed54c5c514c1ac31b731e493f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.mjs @@ -0,0 +1,26 @@ +export function concatBytes(buffers) { + let length = 0; + for (const buffer of buffers) { + length += buffer.length; + } + const output = new Uint8Array(length); + let index = 0; + for (const buffer of buffers) { + output.set(buffer, index); + index += buffer.length; + } + return output; +} +let encodeUTF8_; +export function encodeUTF8(str) { + let encoder; + return (encodeUTF8_ ?? + ((encoder = new globalThis.TextEncoder()), (encodeUTF8_ = encoder.encode.bind(encoder))))(str); +} +let decodeUTF8_; +export function decodeUTF8(bytes) { + let decoder; + return (decodeUTF8_ ?? + ((decoder = new globalThis.TextDecoder()), (decodeUTF8_ = decoder.decode.bind(decoder))))(bytes); +} +//# sourceMappingURL=bytes.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..cd5fa7541bb03aa1b567176fb37afb745f21d624 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/bytes.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes.mjs","sourceRoot":"","sources":["../../src/internal/utils/bytes.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,WAAW,CAAC,OAAqB;IAC/C,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC;IAC1B,CAAC;IACD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACtC,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAC1B,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC;IACzB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,IAAI,WAAwC,CAAC;AAC7C,MAAM,UAAU,UAAU,CAAC,GAAW;IACpC,IAAI,OAAO,CAAC;IACZ,OAAO,CACL,WAAW;QACX,CAAC,CAAC,OAAO,GAAG,IAAK,UAAkB,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAClG,CAAC,GAAG,CAAC,CAAC;AACT,CAAC;AAED,IAAI,WAA0C,CAAC;AAC/C,MAAM,UAAU,UAAU,CAAC,KAAiB;IAC1C,IAAI,OAAO,CAAC;IACZ,OAAO,CACL,WAAW;QACX,CAAC,CAAC,OAAO,GAAG,IAAK,UAAkB,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAClG,CAAC,KAAK,CAAC,CAAC;AACX,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..1238d47ba51a6c4db33d01c724063d57d66083ea --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.mts @@ -0,0 +1,9 @@ +/** + * Read an environment variable. + * + * Trims beginning and trailing whitespace. + * + * Will return undefined if the environment variable doesn't exist or cannot be accessed. + */ +export declare const readEnv: (env: string) => string | undefined; +//# sourceMappingURL=env.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..58fa7dc2923016bed1bb050ba780eaab632decc0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"env.d.mts","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,SAQ9C,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..62c298576dd95f848ed9436305d08da00f53baef --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.ts @@ -0,0 +1,9 @@ +/** + * Read an environment variable. + * + * Trims beginning and trailing whitespace. + * + * Will return undefined if the environment variable doesn't exist or cannot be accessed. + */ +export declare const readEnv: (env: string) => string | undefined; +//# sourceMappingURL=env.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d28ad528547253e4605dc72b2adf8f9d0e299b39 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,SAQ9C,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.js new file mode 100644 index 0000000000000000000000000000000000000000..8d454732ae90c144f7f340146a6d04f28c26b90f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.js @@ -0,0 +1,22 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.readEnv = void 0; +/** + * Read an environment variable. + * + * Trims beginning and trailing whitespace. + * + * Will return undefined if the environment variable doesn't exist or cannot be accessed. + */ +const readEnv = (env) => { + if (typeof globalThis.process !== 'undefined') { + return globalThis.process.env?.[env]?.trim() ?? undefined; + } + if (typeof globalThis.Deno !== 'undefined') { + return globalThis.Deno.env?.get?.(env)?.trim(); + } + return undefined; +}; +exports.readEnv = readEnv; +//# sourceMappingURL=env.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ad559cac5a7d643304b728ca5340dd7302d39580 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.js.map @@ -0,0 +1 @@ +{"version":3,"file":"env.js","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF;;;;;;GAMG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACrE,CAAC;IACD,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QACpD,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.mjs new file mode 100644 index 0000000000000000000000000000000000000000..58ddfda1938916d13b3ec4c7672fdcfd34592f4d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.mjs @@ -0,0 +1,18 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +/** + * Read an environment variable. + * + * Trims beginning and trailing whitespace. + * + * Will return undefined if the environment variable doesn't exist or cannot be accessed. + */ +export const readEnv = (env) => { + if (typeof globalThis.process !== 'undefined') { + return globalThis.process.env?.[env]?.trim() ?? undefined; + } + if (typeof globalThis.Deno !== 'undefined') { + return globalThis.Deno.env?.get?.(env)?.trim(); + } + return undefined; +}; +//# sourceMappingURL=env.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..ed884ae90fc201d242412a88aab177a7e2514633 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/env.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"env.mjs","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACrE,CAAC;IACD,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QACpD,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..5df12bccebbdb586af6375469bc05037c7e8dd91 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.mts @@ -0,0 +1,37 @@ +import { type OpenAI } from "../../client.mjs"; +import { RequestOptions } from "../request-options.mjs"; +type LogFn = (message: string, ...rest: unknown[]) => void; +export type Logger = { + error: LogFn; + warn: LogFn; + info: LogFn; + debug: LogFn; +}; +export type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug'; +export declare const parseLogLevel: (maybeLevel: string | undefined, sourceName: string, client: OpenAI) => LogLevel | undefined; +export declare function loggerFor(client: OpenAI): Logger; +export declare const formatRequestDetails: (details: { + options?: RequestOptions | undefined; + headers?: Headers | Record | undefined; + retryOfRequestLogID?: string | undefined; + retryOf?: string | undefined; + url?: string | undefined; + status?: number | undefined; + method?: string | undefined; + durationMs?: number | undefined; + message?: unknown; + body?: unknown; +}) => { + options?: RequestOptions | undefined; + headers?: Headers | Record | undefined; + retryOfRequestLogID?: string | undefined; + retryOf?: string | undefined; + url?: string | undefined; + status?: number | undefined; + method?: string | undefined; + durationMs?: number | undefined; + message?: unknown; + body?: unknown; +}; +export {}; +//# sourceMappingURL=log.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..e5986c22dde32bc00f3bc6a77bf91352768b1c77 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"log.d.mts","sourceRoot":"","sources":["../../src/internal/utils/log.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,MAAM,EAAE;OACf,EAAE,cAAc,EAAE;AAEzB,KAAK,KAAK,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;AAC3D,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAUnE,eAAO,MAAM,aAAa,GACxB,YAAY,MAAM,GAAG,SAAS,EAC9B,YAAY,MAAM,EAClB,QAAQ,MAAM,KACb,QAAQ,GAAG,SAab,CAAC;AAsBF,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAsBhD;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAS;IAC5C,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACvD,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;cAVW,cAAc,GAAG,SAAS;cAC1B,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS;0BAChC,MAAM,GAAG,SAAS;cAC9B,MAAM,GAAG,SAAS;UACtB,MAAM,GAAG,SAAS;aACf,MAAM,GAAG,SAAS;aAClB,MAAM,GAAG,SAAS;iBACd,MAAM,GAAG,SAAS;cACrB,OAAO;WACV,OAAO;CA6Bf,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6da941ade874a548d070e6decf4107957351f3cc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.ts @@ -0,0 +1,37 @@ +import { type OpenAI } from "../../client.js"; +import { RequestOptions } from "../request-options.js"; +type LogFn = (message: string, ...rest: unknown[]) => void; +export type Logger = { + error: LogFn; + warn: LogFn; + info: LogFn; + debug: LogFn; +}; +export type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug'; +export declare const parseLogLevel: (maybeLevel: string | undefined, sourceName: string, client: OpenAI) => LogLevel | undefined; +export declare function loggerFor(client: OpenAI): Logger; +export declare const formatRequestDetails: (details: { + options?: RequestOptions | undefined; + headers?: Headers | Record | undefined; + retryOfRequestLogID?: string | undefined; + retryOf?: string | undefined; + url?: string | undefined; + status?: number | undefined; + method?: string | undefined; + durationMs?: number | undefined; + message?: unknown; + body?: unknown; +}) => { + options?: RequestOptions | undefined; + headers?: Headers | Record | undefined; + retryOfRequestLogID?: string | undefined; + retryOf?: string | undefined; + url?: string | undefined; + status?: number | undefined; + method?: string | undefined; + durationMs?: number | undefined; + message?: unknown; + body?: unknown; +}; +export {}; +//# sourceMappingURL=log.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c8ce4fc46d958940d94de8d17c8d36af6f08d5aa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/internal/utils/log.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,MAAM,EAAE;OACf,EAAE,cAAc,EAAE;AAEzB,KAAK,KAAK,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;AAC3D,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAUnE,eAAO,MAAM,aAAa,GACxB,YAAY,MAAM,GAAG,SAAS,EAC9B,YAAY,MAAM,EAClB,QAAQ,MAAM,KACb,QAAQ,GAAG,SAab,CAAC;AAsBF,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAsBhD;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAS;IAC5C,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACvD,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;cAVW,cAAc,GAAG,SAAS;cAC1B,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS;0BAChC,MAAM,GAAG,SAAS;cAC9B,MAAM,GAAG,SAAS;UACtB,MAAM,GAAG,SAAS;aACf,MAAM,GAAG,SAAS;aAClB,MAAM,GAAG,SAAS;iBACd,MAAM,GAAG,SAAS;cACrB,OAAO;WACV,OAAO;CA6Bf,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.js new file mode 100644 index 0000000000000000000000000000000000000000..b0d020c7319a0361ae79c0da7d577744b7e60991 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.js @@ -0,0 +1,85 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.formatRequestDetails = exports.parseLogLevel = void 0; +exports.loggerFor = loggerFor; +const values_1 = require("./values.js"); +const levelNumbers = { + off: 0, + error: 200, + warn: 300, + info: 400, + debug: 500, +}; +const parseLogLevel = (maybeLevel, sourceName, client) => { + if (!maybeLevel) { + return undefined; + } + if ((0, values_1.hasOwn)(levelNumbers, maybeLevel)) { + return maybeLevel; + } + loggerFor(client).warn(`${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify(Object.keys(levelNumbers))}`); + return undefined; +}; +exports.parseLogLevel = parseLogLevel; +function noop() { } +function makeLogFn(fnLevel, logger, logLevel) { + if (!logger || levelNumbers[fnLevel] > levelNumbers[logLevel]) { + return noop; + } + else { + // Don't wrap logger functions, we want the stacktrace intact! + return logger[fnLevel].bind(logger); + } +} +const noopLogger = { + error: noop, + warn: noop, + info: noop, + debug: noop, +}; +let cachedLoggers = /* @__PURE__ */ new WeakMap(); +function loggerFor(client) { + const logger = client.logger; + const logLevel = client.logLevel ?? 'off'; + if (!logger) { + return noopLogger; + } + const cachedLogger = cachedLoggers.get(logger); + if (cachedLogger && cachedLogger[0] === logLevel) { + return cachedLogger[1]; + } + const levelLogger = { + error: makeLogFn('error', logger, logLevel), + warn: makeLogFn('warn', logger, logLevel), + info: makeLogFn('info', logger, logLevel), + debug: makeLogFn('debug', logger, logLevel), + }; + cachedLoggers.set(logger, [logLevel, levelLogger]); + return levelLogger; +} +const formatRequestDetails = (details) => { + if (details.options) { + details.options = { ...details.options }; + delete details.options['headers']; // redundant + leaks internals + } + if (details.headers) { + details.headers = Object.fromEntries((details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map(([name, value]) => [ + name, + (name.toLowerCase() === 'authorization' || + name.toLowerCase() === 'cookie' || + name.toLowerCase() === 'set-cookie') ? + '***' + : value, + ])); + } + if ('retryOfRequestLogID' in details) { + if (details.retryOfRequestLogID) { + details.retryOf = details.retryOfRequestLogID; + } + delete details.retryOfRequestLogID; + } + return details; +}; +exports.formatRequestDetails = formatRequestDetails; +//# sourceMappingURL=log.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5b6bc610f87de13ccca601a564be6ca0a8893258 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.js.map @@ -0,0 +1 @@ +{"version":3,"file":"log.js","sourceRoot":"","sources":["../../src/internal/utils/log.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AA8DtF,8BAsBC;AAlFD,wCAAkC;AAalC,MAAM,YAAY,GAAG;IACnB,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,GAAG;IACV,IAAI,EAAE,GAAG;IACT,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,GAAG;CACX,CAAC;AAEK,MAAM,aAAa,GAAG,CAC3B,UAA8B,EAC9B,UAAkB,EAClB,MAAc,EACQ,EAAE;IACxB,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,IAAI,IAAA,eAAM,EAAC,YAAY,EAAE,UAAU,CAAC,EAAE,CAAC;QACrC,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,CACpB,GAAG,UAAU,eAAe,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,qBAAqB,IAAI,CAAC,SAAS,CACvF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAC1B,EAAE,CACJ,CAAC;IACF,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAjBW,QAAA,aAAa,iBAiBxB;AAEF,SAAS,IAAI,KAAI,CAAC;AAElB,SAAS,SAAS,CAAC,OAAqB,EAAE,MAA0B,EAAE,QAAkB;IACtF,IAAI,CAAC,MAAM,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC9D,OAAO,IAAI,CAAC;IACd,CAAC;SAAM,CAAC;QACN,8DAA8D;QAC9D,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,IA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,EAAE,CAAC;QACzC,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,8BAA8B;IACnE,CAAC;IACD,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QACpB,OAAO,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAClC,CAAC,OAAO,CAAC,OAAO,YAAY,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAC/F,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;YACjB,IAAI;YACJ,CACE,IAAI,CAAC,WAAW,EAAE,KAAK,eAAe;gBACtC,IAAI,CAAC,WAAW,EAAE,KAAK,QAAQ;gBAC/B,IAAI,CAAC,WAAW,EAAE,KAAK,YAAY,CACpC,CAAC,CAAC;gBACD,KAAK;gBACP,CAAC,CAAC,KAAK;SACR,CACF,CACF,CAAC;IACJ,CAAC;IACD,IAAI,qBAAqB,IAAI,OAAO,EAAE,CAAC;QACrC,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;YAChC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,mBAAmB,CAAC;QAChD,CAAC;QACD,OAAO,OAAO,CAAC,mBAAmB,CAAC;IACrC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAvCW,QAAA,oBAAoB,wBAuC/B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.mjs new file mode 100644 index 0000000000000000000000000000000000000000..fa92925943da4ac2dee1f000e142a9986b5ef6e4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.mjs @@ -0,0 +1,79 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { hasOwn } from "./values.mjs"; +const levelNumbers = { + off: 0, + error: 200, + warn: 300, + info: 400, + debug: 500, +}; +export const parseLogLevel = (maybeLevel, sourceName, client) => { + if (!maybeLevel) { + return undefined; + } + if (hasOwn(levelNumbers, maybeLevel)) { + return maybeLevel; + } + loggerFor(client).warn(`${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify(Object.keys(levelNumbers))}`); + return undefined; +}; +function noop() { } +function makeLogFn(fnLevel, logger, logLevel) { + if (!logger || levelNumbers[fnLevel] > levelNumbers[logLevel]) { + return noop; + } + else { + // Don't wrap logger functions, we want the stacktrace intact! + return logger[fnLevel].bind(logger); + } +} +const noopLogger = { + error: noop, + warn: noop, + info: noop, + debug: noop, +}; +let cachedLoggers = /* @__PURE__ */ new WeakMap(); +export function loggerFor(client) { + const logger = client.logger; + const logLevel = client.logLevel ?? 'off'; + if (!logger) { + return noopLogger; + } + const cachedLogger = cachedLoggers.get(logger); + if (cachedLogger && cachedLogger[0] === logLevel) { + return cachedLogger[1]; + } + const levelLogger = { + error: makeLogFn('error', logger, logLevel), + warn: makeLogFn('warn', logger, logLevel), + info: makeLogFn('info', logger, logLevel), + debug: makeLogFn('debug', logger, logLevel), + }; + cachedLoggers.set(logger, [logLevel, levelLogger]); + return levelLogger; +} +export const formatRequestDetails = (details) => { + if (details.options) { + details.options = { ...details.options }; + delete details.options['headers']; // redundant + leaks internals + } + if (details.headers) { + details.headers = Object.fromEntries((details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map(([name, value]) => [ + name, + (name.toLowerCase() === 'authorization' || + name.toLowerCase() === 'cookie' || + name.toLowerCase() === 'set-cookie') ? + '***' + : value, + ])); + } + if ('retryOfRequestLogID' in details) { + if (details.retryOfRequestLogID) { + details.retryOf = details.retryOfRequestLogID; + } + delete details.retryOfRequestLogID; + } + return details; +}; +//# sourceMappingURL=log.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..dcbc679a678ab182ead61f58e2e2ff534e109bb4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/log.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"log.mjs","sourceRoot":"","sources":["../../src/internal/utils/log.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAE;AAajB,MAAM,YAAY,GAAG;IACnB,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,GAAG;IACV,IAAI,EAAE,GAAG;IACT,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,GAAG;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,UAA8B,EAC9B,UAAkB,EAClB,MAAc,EACQ,EAAE;IACxB,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,IAAI,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,EAAE,CAAC;QACrC,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,CACpB,GAAG,UAAU,eAAe,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,qBAAqB,IAAI,CAAC,SAAS,CACvF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAC1B,EAAE,CACJ,CAAC;IACF,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,SAAS,IAAI,KAAI,CAAC;AAElB,SAAS,SAAS,CAAC,OAAqB,EAAE,MAA0B,EAAE,QAAkB;IACtF,IAAI,CAAC,MAAM,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC9D,OAAO,IAAI,C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E;IACH,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QACpB,OAAO,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;QACzC,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,8BAA8B;IACnE,CAAC;IACD,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QACpB,OAAO,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAClC,CAAC,OAAO,CAAC,OAAO,YAAY,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAC/F,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;YACjB,IAAI;YACJ,CACE,IAAI,CAAC,WAAW,EAAE,KAAK,eAAe;gBACtC,IAAI,CAAC,WAAW,EAAE,KAAK,QAAQ;gBAC/B,IAAI,CAAC,WAAW,EAAE,KAAK,YAAY,CACpC,CAAC,CAAC;gBACD,KAAK;gBACP,CAAC,CAAC,KAAK;SACR,CACF,CACF,CAAC;IACJ,CAAC;IACD,IAAI,qBAAqB,IAAI,OAAO,EAAE,CAAC;QACrC,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;YAChC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,mBAAmB,CAAC;QAChD,CAAC;QACD,OAAO,OAAO,CAAC,mBAAmB,CAAC;IACrC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a2482e912233e5b18b8a0ba25e5d646926425b69 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.mts @@ -0,0 +1,15 @@ +/** + * Percent-encode everything that isn't safe to have in a path without encoding safe chars. + * + * Taken from https://datatracker.ietf.org/doc/html/rfc3986#section-3.3: + * > unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" + * > sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" + * > pchar = unreserved / pct-encoded / sub-delims / ":" / "@" + */ +export declare function encodeURIPath(str: string): string; +export declare const createPathTagFunction: (pathEncoder?: typeof encodeURIPath) => (statics: readonly string[], ...params: readonly unknown[]) => string; +/** + * URI-encodes path params and ensures no unsafe /./ or /../ path segments are introduced. + */ +export declare const path: (statics: readonly string[], ...params: readonly unknown[]) => string; +//# sourceMappingURL=path.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..af5f12e58c380f4a5f23bf66bc1e3fb370f9feb9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"path.d.mts","sourceRoot":"","sources":["../../src/internal/utils/path.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,UAExC;AAID,eAAO,MAAM,qBAAqB,GAAI,kCAA2B,MACjD,SAAS,SAAS,MAAM,EAAE,EAAE,GAAG,QAAQ,SAAS,OAAO,EAAE,KAAG,MAiEzE,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,IAAI,YAtEQ,SAAS,MAAM,EAAE,aAAa,SAAS,OAAO,EAAE,KAAG,MAsEJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..66ddc52b5d63f26ed9752afb6d209a67e202d5a3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.ts @@ -0,0 +1,15 @@ +/** + * Percent-encode everything that isn't safe to have in a path without encoding safe chars. + * + * Taken from https://datatracker.ietf.org/doc/html/rfc3986#section-3.3: + * > unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" + * > sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" + * > pchar = unreserved / pct-encoded / sub-delims / ":" / "@" + */ +export declare function encodeURIPath(str: string): string; +export declare const createPathTagFunction: (pathEncoder?: typeof encodeURIPath) => (statics: readonly string[], ...params: readonly unknown[]) => string; +/** + * URI-encodes path params and ensures no unsafe /./ or /../ path segments are introduced. + */ +export declare const path: (statics: readonly string[], ...params: readonly unknown[]) => string; +//# sourceMappingURL=path.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6a41d75bf4a8865dc08bd7afea1ae260e3d17ed0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../src/internal/utils/path.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,UAExC;AAID,eAAO,MAAM,qBAAqB,GAAI,kCAA2B,MACjD,SAAS,SAAS,MAAM,EAAE,EAAE,GAAG,QAAQ,SAAS,OAAO,EAAE,KAAG,MAiEzE,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,IAAI,YAtEQ,SAAS,MAAM,EAAE,aAAa,SAAS,OAAO,EAAE,KAAG,MAsEJ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.js new file mode 100644 index 0000000000000000000000000000000000000000..3d19f0f800e55fd684d1d6bc5cb52e3df6199cc0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.js @@ -0,0 +1,79 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.path = exports.createPathTagFunction = void 0; +exports.encodeURIPath = encodeURIPath; +const error_1 = require("../../core/error.js"); +/** + * Percent-encode everything that isn't safe to have in a path without encoding safe chars. + * + * Taken from https://datatracker.ietf.org/doc/html/rfc3986#section-3.3: + * > unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" + * > sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" + * > pchar = unreserved / pct-encoded / sub-delims / ":" / "@" + */ +function encodeURIPath(str) { + return str.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g, encodeURIComponent); +} +const EMPTY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.create(null)); +const createPathTagFunction = (pathEncoder = encodeURIPath) => function path(statics, ...params) { + // If there are no params, no processing is needed. + if (statics.length === 1) + return statics[0]; + let postPath = false; + const invalidSegments = []; + const path = statics.reduce((previousValue, currentValue, index) => { + if (/[?#]/.test(currentValue)) { + postPath = true; + } + const value = params[index]; + let encoded = (postPath ? encodeURIComponent : pathEncoder)('' + value); + if (index !== params.length && + (value == null || + (typeof value === 'object' && + // handle values from other realms + value.toString === + Object.getPrototypeOf(Object.getPrototypeOf(value.hasOwnProperty ?? EMPTY) ?? EMPTY) + ?.toString))) { + encoded = value + ''; + invalidSegments.push({ + start: previousValue.length + currentValue.length, + length: encoded.length, + error: `Value of type ${Object.prototype.toString + .call(value) + .slice(8, -1)} is not a valid path parameter`, + }); + } + return previousValue + currentValue + (index === params.length ? '' : encoded); + }, ''); + const pathOnly = path.split(/[?#]/, 1)[0]; + const invalidSegmentPattern = /(?<=^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi; + let match; + // Find all invalid segments + while ((match = invalidSegmentPattern.exec(pathOnly)) !== null) { + invalidSegments.push({ + start: match.index, + length: match[0].length, + error: `Value "${match[0]}" can\'t be safely passed as a path parameter`, + }); + } + invalidSegments.sort((a, b) => a.start - b.start); + if (invalidSegments.length > 0) { + let lastEnd = 0; + const underline = invalidSegments.reduce((acc, segment) => { + const spaces = ' '.repeat(segment.start - lastEnd); + const arrows = '^'.repeat(segment.length); + lastEnd = segment.start + segment.length; + return acc + spaces + arrows; + }, ''); + throw new error_1.OpenAIError(`Path parameters result in path with invalid segments:\n${invalidSegments + .map((e) => e.error) + .join('\n')}\n${path}\n${underline}`); + } + return path; +}; +exports.createPathTagFunction = createPathTagFunction; +/** + * URI-encodes path params and ensures no unsafe /./ or /../ path segments are introduced. + */ +exports.path = (0, exports.createPathTagFunction)(encodeURIPath); +//# sourceMappingURL=path.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ad50688d4ecdcd9543143962957fb3a8b3106b02 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.js.map @@ -0,0 +1 @@ +{"version":3,"file":"path.js","sourceRoot":"","sources":["../../src/internal/utils/path.ts"],"names":[],"mappings":";;;AAUA,sCAEC;AAZD,+CAA+C;AAE/C;;;;;;;GAOG;AACH,SAAgB,aAAa,CAAC,GAAW;IACvC,OAAO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AE,EAAE;YACxD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC1C,OAAO,GAAG,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC;YACzC,OAAO,GAAG,GAAG,MAAM,GAAG,MAAM,CAAC;QAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,MAAM,IAAI,mBAAW,CACnB,0DAA0D,eAAe;aACtE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;aACnB,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,KAAK,SAAS,EAAE,CACvC,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAlES,QAAA,qBAAqB,yBAkE9B;AAEJ;;GAEG;AACU,QAAA,IAAI,GAAmB,IAAA,6BAAqB,EAAC,aAAa,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d0f74622344b2ed0a5745ef568c755f07e904eff --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.mjs @@ -0,0 +1,74 @@ +import { OpenAIError } from "../../core/error.mjs"; +/** + * Percent-encode everything that isn't safe to have in a path without encoding safe chars. + * + * Taken from https://datatracker.ietf.org/doc/html/rfc3986#section-3.3: + * > unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" + * > sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" + * > pchar = unreserved / pct-encoded / sub-delims / ":" / "@" + */ +export function encodeURIPath(str) { + return str.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g, encodeURIComponent); +} +const EMPTY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.create(null)); +export const createPathTagFunction = (pathEncoder = encodeURIPath) => function path(statics, ...params) { + // If there are no params, no processing is needed. + if (statics.length === 1) + return statics[0]; + let postPath = false; + const invalidSegments = []; + const path = statics.reduce((previousValue, currentValue, index) => { + if (/[?#]/.test(currentValue)) { + postPath = true; + } + const value = params[index]; + let encoded = (postPath ? encodeURIComponent : pathEncoder)('' + value); + if (index !== params.length && + (value == null || + (typeof value === 'object' && + // handle values from other realms + value.toString === + Object.getPrototypeOf(Object.getPrototypeOf(value.hasOwnProperty ?? EMPTY) ?? EMPTY) + ?.toString))) { + encoded = value + ''; + invalidSegments.push({ + start: previousValue.length + currentValue.length, + length: encoded.length, + error: `Value of type ${Object.prototype.toString + .call(value) + .slice(8, -1)} is not a valid path parameter`, + }); + } + return previousValue + currentValue + (index === params.length ? '' : encoded); + }, ''); + const pathOnly = path.split(/[?#]/, 1)[0]; + const invalidSegmentPattern = /(?<=^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi; + let match; + // Find all invalid segments + while ((match = invalidSegmentPattern.exec(pathOnly)) !== null) { + invalidSegments.push({ + start: match.index, + length: match[0].length, + error: `Value "${match[0]}" can\'t be safely passed as a path parameter`, + }); + } + invalidSegments.sort((a, b) => a.start - b.start); + if (invalidSegments.length > 0) { + let lastEnd = 0; + const underline = invalidSegments.reduce((acc, segment) => { + const spaces = ' '.repeat(segment.start - lastEnd); + const arrows = '^'.repeat(segment.length); + lastEnd = segment.start + segment.length; + return acc + spaces + arrows; + }, ''); + throw new OpenAIError(`Path parameters result in path with invalid segments:\n${invalidSegments + .map((e) => e.error) + .join('\n')}\n${path}\n${underline}`); + } + return path; +}; +/** + * URI-encodes path params and ensures no unsafe /./ or /../ path segments are introduced. + */ +export const path = /* @__PURE__ */ createPathTagFunction(encodeURIPath); +//# sourceMappingURL=path.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..f5a10453e5cc520c6d6e103c1f6f3963c1693b05 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/path.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"path.mjs","sourceRoot":"","sources":["../../src/internal/utils/path.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAEtB;;;;;;;GAOG;AACH,MAAM,UAAU,aAAa,CAAC,GAAW;IACvC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AAEjF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,WAAW,GAAG,aAAa,EAAE,EAAE,CACnE,SAAS,IAAI,CAAC,OAA0B,EAAE,GAAG,MAA0B;IACrE,mDAAmD;IACnD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,OAAO,CAAC,CAAC,CAAE,CAAC;IAE7C,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,MAAM,eAAe,GAAG,EAAE,CAAC;IAC3B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,aAAa,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE;QACjE,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YAC9B,QAAQ,GAAG,IAAI,CAAC;QAClB,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5B,IAAI,OAAO,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AAI,CAAC;YACnB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM;YACvB,KAAK,EAAE,UAAU,KAAK,CAAC,CAAC,CAAC,+CAA+C;SACzE,CAAC,CAAC;IACL,CAAC;IAED,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;IAElD,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,IAAI,OAAO,GAAG,CAAC,CAAC;QAChB,MAAM,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;YACxD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC1C,OAAO,GAAG,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC;YACzC,OAAO,GAAG,GAAG,MAAM,GAAG,MAAM,CAAC;QAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,MAAM,IAAI,WAAW,CACnB,0DAA0D,eAAe;aACtE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;aACnB,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,KAAK,SAAS,EAAE,CACvC,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEJ;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..80b349379906ba00a2cac60607d10f11a4a56e02 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.mts @@ -0,0 +1,2 @@ +export declare const sleep: (ms: number) => Promise; +//# sourceMappingURL=sleep.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c2eff131c1d7113774122aacccbf4698aa1dc6c2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"sleep.d.mts","sourceRoot":"","sources":["../../src/internal/utils/sleep.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,kBAA4D,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5471d72a685cfd0dd0bcbf0b1fbd6b726b460ab1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.ts @@ -0,0 +1,2 @@ +export declare const sleep: (ms: number) => Promise; +//# sourceMappingURL=sleep.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..80a85904367cb71bc3767bf8536fdc2dcfdef2a9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sleep.d.ts","sourceRoot":"","sources":["../../src/internal/utils/sleep.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,kBAA4D,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.js new file mode 100644 index 0000000000000000000000000000000000000000..45d1e13c88cc9295254524e40089846a6e9597c1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.js @@ -0,0 +1,7 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.sleep = void 0; +const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); +exports.sleep = sleep; +//# sourceMappingURL=sleep.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a6890374140ba63405ea17684dc21e50ed98b12d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sleep.js","sourceRoot":"","sources":["../../src/internal/utils/sleep.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAE/E,MAAM,KAAK,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAAhF,QAAA,KAAK,SAA2E"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.mjs new file mode 100644 index 0000000000000000000000000000000000000000..784954ac4e075f7a720282ac5b371ab965255d14 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); +//# sourceMappingURL=sleep.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..abf0f4ae4234985dc95bad7a5d22f55d57e8284e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/sleep.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"sleep.mjs","sourceRoot":"","sources":["../../src/internal/utils/sleep.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..80438fd395fa6907e3e682aebe4e20e26b3248c0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.mts @@ -0,0 +1,5 @@ +/** + * https://stackoverflow.com/a/2117523 + */ +export declare let uuid4: () => any; +//# sourceMappingURL=uuid.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..6076b266b3730026e0dac24f333fd0d2d0dcf977 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"uuid.d.mts","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,IAAI,KAAK,WAWf,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8939aa147508aab81aba6d46fd9e9dd8186263af --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.ts @@ -0,0 +1,5 @@ +/** + * https://stackoverflow.com/a/2117523 + */ +export declare let uuid4: () => any; +//# sourceMappingURL=uuid.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..32e5d3930980ccbb0e291a17f331dc2247491ba4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,IAAI,KAAK,WAWf,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.js new file mode 100644 index 0000000000000000000000000000000000000000..b3a8468efeaaaea80192025f091a38261b06a68e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.js @@ -0,0 +1,19 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.uuid4 = void 0; +/** + * https://stackoverflow.com/a/2117523 + */ +let uuid4 = function () { + const { crypto } = globalThis; + if (crypto?.randomUUID) { + exports.uuid4 = crypto.randomUUID.bind(crypto); + return crypto.randomUUID(); + } + const u8 = new Uint8Array(1); + const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => (Math.random() * 0xff) & 0xff; + return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16)); +}; +exports.uuid4 = uuid4; +//# sourceMappingURL=uuid.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.js.map new file mode 100644 index 0000000000000000000000000000000000000000..1342b7741707d6a657b89deb5a833d0a5101fa7a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.js.map @@ -0,0 +1 @@ +{"version":3,"file":"uuid.js","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF;;GAEG;AACI,IAAI,KAAK,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,GAAG,UAAiB,CAAC;IACrC,IAAI,MAAM,EAAE,UAAU,EAAE,CAAC;QACvB,aAAK,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IACD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IAC7B,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IACvG,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CACpE,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC,CAAC;AAXS,QAAA,KAAK,SAWd"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.mjs new file mode 100644 index 0000000000000000000000000000000000000000..4fe2cb2569e73445dde44bbf67db6b7d0783e149 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.mjs @@ -0,0 +1,15 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +/** + * https://stackoverflow.com/a/2117523 + */ +export let uuid4 = function () { + const { crypto } = globalThis; + if (crypto?.randomUUID) { + uuid4 = crypto.randomUUID.bind(crypto); + return crypto.randomUUID(); + } + const u8 = new Uint8Array(1); + const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => (Math.random() * 0xff) & 0xff; + return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16)); +}; +//# sourceMappingURL=uuid.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..695815f4cc4173c521ec3d982cb12825436ffd64 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/uuid.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"uuid.mjs","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;GAEG;AACH,MAAM,CAAC,IAAI,KAAK,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,GAAG,UAAiB,CAAC;IACrC,IAAI,MAAM,EAAE,UAAU,EAAE,CAAC;QACvB,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IACD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IAC7B,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IACvG,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CACpE,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..682de3a35fc54a18958491c6be008cfc1ea7169e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.mts @@ -0,0 +1,18 @@ +export declare const isAbsoluteURL: (url: string) => boolean; +export declare let isArray: (val: unknown) => val is unknown[]; +export declare let isReadonlyArray: (val: unknown) => val is readonly unknown[]; +/** Returns an object if the given value isn't an object, otherwise returns as-is */ +export declare function maybeObj(x: unknown): object; +export declare function isEmptyObj(obj: Object | null | undefined): boolean; +export declare function hasOwn(obj: T, key: PropertyKey): key is keyof T; +export declare function isObj(obj: unknown): obj is Record; +export declare const ensurePresent: (value: T | null | undefined) => T; +export declare const validatePositiveInteger: (name: string, n: unknown) => number; +export declare const coerceInteger: (value: unknown) => number; +export declare const coerceFloat: (value: unknown) => number; +export declare const coerceBoolean: (value: unknown) => boolean; +export declare const maybeCoerceInteger: (value: unknown) => number | undefined; +export declare const maybeCoerceFloat: (value: unknown) => number | undefined; +export declare const maybeCoerceBoolean: (value: unknown) => boolean | undefined; +export declare const safeJSON: (text: string) => any; +//# sourceMappingURL=values.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..099d330cfe6750c482ae62fa7b2556f928bcad6b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"values.d.mts","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,OAE3C,CAAC;AAEF,eAAO,IAAI,OAAO,GAAI,KAAK,OAAO,KAAG,GAAG,IAAI,OAAO,EAA+C,CAAC;AACnG,eAAO,IAAI,eAAe,EAAc,CAAC,GAAG,EAAE,OAAO,KAAK,GAAG,IAAI,SAAS,OAAO,EAAE,CAAC;AAEpF,oFAAoF;AACpF,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAM3C;AAGD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAIlE;AAGD,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,GAAG,GAAG,IAAI,MAAM,CAAC,CAE1F;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAElE;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,KAAG,CAM9D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,EAAE,GAAG,OAAO,KAAG,MAQlE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,MAK9C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,MAK5C,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,OAI9C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAK5D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAK1D,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,OAAO,GAAG,SAK7D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,QAMpC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2d51d002d811352aca53663a14ec65b48b671afe --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.ts @@ -0,0 +1,18 @@ +export declare const isAbsoluteURL: (url: string) => boolean; +export declare let isArray: (val: unknown) => val is unknown[]; +export declare let isReadonlyArray: (val: unknown) => val is readonly unknown[]; +/** Returns an object if the given value isn't an object, otherwise returns as-is */ +export declare function maybeObj(x: unknown): object; +export declare function isEmptyObj(obj: Object | null | undefined): boolean; +export declare function hasOwn(obj: T, key: PropertyKey): key is keyof T; +export declare function isObj(obj: unknown): obj is Record; +export declare const ensurePresent: (value: T | null | undefined) => T; +export declare const validatePositiveInteger: (name: string, n: unknown) => number; +export declare const coerceInteger: (value: unknown) => number; +export declare const coerceFloat: (value: unknown) => number; +export declare const coerceBoolean: (value: unknown) => boolean; +export declare const maybeCoerceInteger: (value: unknown) => number | undefined; +export declare const maybeCoerceFloat: (value: unknown) => number | undefined; +export declare const maybeCoerceBoolean: (value: unknown) => boolean | undefined; +export declare const safeJSON: (text: string) => any; +//# sourceMappingURL=values.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..478d9e2a8210150382c163fa610b155c3905cd38 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"values.d.ts","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,OAE3C,CAAC;AAEF,eAAO,IAAI,OAAO,GAAI,KAAK,OAAO,KAAG,GAAG,IAAI,OAAO,EAA+C,CAAC;AACnG,eAAO,IAAI,eAAe,EAAc,CAAC,GAAG,EAAE,OAAO,KAAK,GAAG,IAAI,SAAS,OAAO,EAAE,CAAC;AAEpF,oFAAoF;AACpF,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAM3C;AAGD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAIlE;AAGD,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,GAAG,GAAG,IAAI,MAAM,CAAC,CAE1F;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAElE;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,KAAG,CAM9D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,EAAE,GAAG,OAAO,KAAG,MAQlE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,MAK9C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,MAK5C,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,OAI9C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAK5D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAK1D,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,OAAO,GAAG,SAK7D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,QAMpC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.js new file mode 100644 index 0000000000000000000000000000000000000000..8ff704155a863e75ccd8e3d52609d2f86a913e6d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.js @@ -0,0 +1,112 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.safeJSON = exports.maybeCoerceBoolean = exports.maybeCoerceFloat = exports.maybeCoerceInteger = exports.coerceBoolean = exports.coerceFloat = exports.coerceInteger = exports.validatePositiveInteger = exports.ensurePresent = exports.isReadonlyArray = exports.isArray = exports.isAbsoluteURL = void 0; +exports.maybeObj = maybeObj; +exports.isEmptyObj = isEmptyObj; +exports.hasOwn = hasOwn; +exports.isObj = isObj; +const error_1 = require("../../core/error.js"); +// https://url.spec.whatwg.org/#url-scheme-string +const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i; +const isAbsoluteURL = (url) => { + return startsWithSchemeRegexp.test(url); +}; +exports.isAbsoluteURL = isAbsoluteURL; +let isArray = (val) => ((exports.isArray = Array.isArray), (0, exports.isArray)(val)); +exports.isArray = isArray; +exports.isReadonlyArray = exports.isArray; +/** Returns an object if the given value isn't an object, otherwise returns as-is */ +function maybeObj(x) { + if (typeof x !== 'object') { + return {}; + } + return x ?? {}; +} +// https://stackoverflow.com/a/34491287 +function isEmptyObj(obj) { + if (!obj) + return true; + for (const _k in obj) + return false; + return true; +} +// https://eslint.org/docs/latest/rules/no-prototype-builtins +function hasOwn(obj, key) { + return Object.prototype.hasOwnProperty.call(obj, key); +} +function isObj(obj) { + return obj != null && typeof obj === 'object' && !Array.isArray(obj); +} +const ensurePresent = (value) => { + if (value == null) { + throw new error_1.OpenAIError(`Expected a value to be given but received ${value} instead.`); + } + return value; +}; +exports.ensurePresent = ensurePresent; +const validatePositiveInteger = (name, n) => { + if (typeof n !== 'number' || !Number.isInteger(n)) { + throw new error_1.OpenAIError(`${name} must be an integer`); + } + if (n < 0) { + throw new error_1.OpenAIError(`${name} must be a positive integer`); + } + return n; +}; +exports.validatePositiveInteger = validatePositiveInteger; +const coerceInteger = (value) => { + if (typeof value === 'number') + return Math.round(value); + if (typeof value === 'string') + return parseInt(value, 10); + throw new error_1.OpenAIError(`Could not coerce ${value} (type: ${typeof value}) into a number`); +}; +exports.coerceInteger = coerceInteger; +const coerceFloat = (value) => { + if (typeof value === 'number') + return value; + if (typeof value === 'string') + return parseFloat(value); + throw new error_1.OpenAIError(`Could not coerce ${value} (type: ${typeof value}) into a number`); +}; +exports.coerceFloat = coerceFloat; +const coerceBoolean = (value) => { + if (typeof value === 'boolean') + return value; + if (typeof value === 'string') + return value === 'true'; + return Boolean(value); +}; +exports.coerceBoolean = coerceBoolean; +const maybeCoerceInteger = (value) => { + if (value === undefined) { + return undefined; + } + return (0, exports.coerceInteger)(value); +}; +exports.maybeCoerceInteger = maybeCoerceInteger; +const maybeCoerceFloat = (value) => { + if (value === undefined) { + return undefined; + } + return (0, exports.coerceFloat)(value); +}; +exports.maybeCoerceFloat = maybeCoerceFloat; +const maybeCoerceBoolean = (value) => { + if (value === undefined) { + return undefined; + } + return (0, exports.coerceBoolean)(value); +}; +exports.maybeCoerceBoolean = maybeCoerceBoolean; +const safeJSON = (text) => { + try { + return JSON.parse(text); + } + catch (err) { + return undefined; + } +}; +exports.safeJSON = safeJSON; +//# sourceMappingURL=values.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.js.map new file mode 100644 index 0000000000000000000000000000000000000000..d50526b8d6adff028ae9e0c823b4d952ab86f1a0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.js.map @@ -0,0 +1 @@ +{"version":3,"file":"values.js","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAetF,4BAMC;AAGD,gCAIC;AAGD,wBAEC;AAED,sBAEC;AAnCD,+CAA+C;AAE/C,iDAAiD;AACjD,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAE/C,MAAM,aAAa,GAAG,CAAC,GAAW,EAAW,EAAE;IACpD,OAAO,sBAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC1C,CAAC,CAAC;AAFW,QAAA,aAAa,iBAExB;AAEK,IAAI,OAAO,GAAG,CAAC,GAAY,EAAoB,EAAE,CAAC,CAAC,CAAC,eAAO,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,IAAA,eAAO,EAAC,GAAG,CAAC,CAAC,CAAC;AAAxF,QAAA,OAAO,WAAiF;AACxF,QAAA,eAAe,GAAG,eAAsD,CAAC;AAEpF,oFAAoF;AACpF,SAAgB,QAAQ,CAAC,CAAU;IACjC,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC1B,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,CAAC,IAAI,EAAE,CAAC;AACjB,CAAC;AAED,uCAAuC;AACvC,SAAgB,UAAU,CAAC,GAA8B;IACvD,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IACtB,KAAK,MAAM,EAAE,IAAI,GAAG;QAA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c,EAAuB,EAAE;IACxE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AALW,QAAA,kBAAkB,sBAK7B;AAEK,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC,CAAC;AANW,QAAA,QAAQ,YAMnB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.mjs new file mode 100644 index 0000000000000000000000000000000000000000..00cf3ebbd68e606a7081ca4786570f8640bd6c28 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.mjs @@ -0,0 +1,94 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { OpenAIError } from "../../core/error.mjs"; +// https://url.spec.whatwg.org/#url-scheme-string +const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i; +export const isAbsoluteURL = (url) => { + return startsWithSchemeRegexp.test(url); +}; +export let isArray = (val) => ((isArray = Array.isArray), isArray(val)); +export let isReadonlyArray = isArray; +/** Returns an object if the given value isn't an object, otherwise returns as-is */ +export function maybeObj(x) { + if (typeof x !== 'object') { + return {}; + } + return x ?? {}; +} +// https://stackoverflow.com/a/34491287 +export function isEmptyObj(obj) { + if (!obj) + return true; + for (const _k in obj) + return false; + return true; +} +// https://eslint.org/docs/latest/rules/no-prototype-builtins +export function hasOwn(obj, key) { + return Object.prototype.hasOwnProperty.call(obj, key); +} +export function isObj(obj) { + return obj != null && typeof obj === 'object' && !Array.isArray(obj); +} +export const ensurePresent = (value) => { + if (value == null) { + throw new OpenAIError(`Expected a value to be given but received ${value} instead.`); + } + return value; +}; +export const validatePositiveInteger = (name, n) => { + if (typeof n !== 'number' || !Number.isInteger(n)) { + throw new OpenAIError(`${name} must be an integer`); + } + if (n < 0) { + throw new OpenAIError(`${name} must be a positive integer`); + } + return n; +}; +export const coerceInteger = (value) => { + if (typeof value === 'number') + return Math.round(value); + if (typeof value === 'string') + return parseInt(value, 10); + throw new OpenAIError(`Could not coerce ${value} (type: ${typeof value}) into a number`); +}; +export const coerceFloat = (value) => { + if (typeof value === 'number') + return value; + if (typeof value === 'string') + return parseFloat(value); + throw new OpenAIError(`Could not coerce ${value} (type: ${typeof value}) into a number`); +}; +export const coerceBoolean = (value) => { + if (typeof value === 'boolean') + return value; + if (typeof value === 'string') + return value === 'true'; + return Boolean(value); +}; +export const maybeCoerceInteger = (value) => { + if (value === undefined) { + return undefined; + } + return coerceInteger(value); +}; +export const maybeCoerceFloat = (value) => { + if (value === undefined) { + return undefined; + } + return coerceFloat(value); +}; +export const maybeCoerceBoolean = (value) => { + if (value === undefined) { + return undefined; + } + return coerceBoolean(value); +}; +export const safeJSON = (text) => { + try { + return JSON.parse(text); + } + catch (err) { + return undefined; + } +}; +//# sourceMappingURL=values.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..e83421dfd3a5b39bcae9beaf18e0fecd13127f99 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/internal/utils/values.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"values.mjs","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;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K,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC7C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,KAAK,MAAM,CAAC;IACvD,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;AACxB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAsB,EAAE;IACvE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAsB,EAAE;IACrE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAuB,EAAE;IACxE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..68b3e09e33ab57eb20206da71d153f61c30bd045 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.mts @@ -0,0 +1,9 @@ +import { ResponseAudioDeltaEvent, ResponseAudioDoneEvent, ResponseAudioTranscriptDeltaEvent, ResponseAudioTranscriptDoneEvent, ResponseCodeInterpreterCallCodeDeltaEvent, ResponseCodeInterpreterCallCodeDoneEvent, ResponseCodeInterpreterCallCompletedEvent, ResponseCodeInterpreterCallInProgressEvent, ResponseCodeInterpreterCallInterpretingEvent, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseContentPartDoneEvent, ResponseCreatedEvent, ResponseErrorEvent, ResponseFailedEvent, ResponseFileSearchCallCompletedEvent, ResponseFileSearchCallInProgressEvent, ResponseFileSearchCallSearchingEvent, ResponseFunctionCallArgumentsDeltaEvent as RawResponseFunctionCallArgumentsDeltaEvent, ResponseFunctionCallArgumentsDoneEvent, ResponseInProgressEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseRefusalDeltaEvent, ResponseRefusalDoneEvent, ResponseTextDeltaEvent as RawResponseTextDeltaEvent, ResponseTextDoneEvent, ResponseIncompleteEvent, ResponseWebSearchCallCompletedEvent, ResponseWebSearchCallInProgressEvent, ResponseWebSearchCallSearchingEvent } from "../../resources/responses/responses.mjs"; +export type ResponseFunctionCallArgumentsDeltaEvent = RawResponseFunctionCallArgumentsDeltaEvent & { + snapshot: string; +}; +export type ResponseTextDeltaEvent = RawResponseTextDeltaEvent & { + snapshot: string; +}; +export type ParsedResponseStreamEvent = ResponseAudioDeltaEvent | ResponseAudioDoneEvent | ResponseAudioTranscriptDeltaEvent | ResponseAudioTranscriptDoneEvent | ResponseCodeInterpreterCallCodeDeltaEvent | ResponseCodeInterpreterCallCodeDoneEvent | ResponseCodeInterpreterCallCompletedEvent | ResponseCodeInterpreterCallInProgressEvent | ResponseCodeInterpreterCallInterpretingEvent | ResponseCompletedEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseCreatedEvent | ResponseErrorEvent | ResponseFileSearchCallCompletedEvent | ResponseFileSearchCallInProgressEvent | ResponseFileSearchCallSearchingEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseInProgressEvent | ResponseFailedEvent | ResponseIncompleteEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseRefusalDeltaEvent | ResponseRefusalDoneEvent | ResponseTextDeltaEvent | ResponseTextDoneEvent | ResponseWebSearchCallCompletedEvent | ResponseWebSearchCallInProgressEvent | ResponseWebSearchCallSearchingEvent; +//# sourceMappingURL=EventTypes.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..e62d82bf954a0aed69528efd984d6383d7b56e69 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"EventTypes.d.mts","sourceRoot":"","sources":["../../src/lib/responses/EventTypes.ts"],"names":[],"mappings":"OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,iCAAiC,EACjC,gCAAgC,EAChC,yCAAyC,EACzC,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,EAC1C,4CAA4C,EAC5C,sBAAsB,EACtB,6BAA6B,EAC7B,4BAA4B,EAC5B,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,oCAAoC,EACpC,qCAAqC,EACrC,oCAAoC,EACpC,uCAAuC,IAAI,0CAA0C,EACrF,sCAAsC,EACtC,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,IAAI,yBAAyB,EACnD,qBAAqB,EACrB,uBAAuB,EACvB,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACpC;AAED,MAAM,MAAM,uCAAuC,GAAG,0CAA0C,GAAG;IACjG,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,yBAAyB,GAAG;IAC/D,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GACjC,uBAAuB,GACvB,sBAAsB,GACtB,iCAAiC,GACjC,gCAAgC,GAChC,yCAAyC,GACzC,wCAAwC,GACxC,yCAAyC,GACzC,0CAA0C,GAC1C,4CAA4C,GAC5C,sBAAsB,GACtB,6BAA6B,GAC7B,4BAA4B,GAC5B,oBAAoB,GACpB,kBAAkB,GAClB,oCAAoC,GACpC,qCAAqC,GACrC,oCAAoC,GACpC,uCAAuC,GACvC,sCAAsC,GACtC,uBAAuB,GACvB,mBAAmB,GACnB,uBAAuB,GACvB,4BAA4B,GAC5B,2BAA2B,GAC3B,yBAAyB,GACzB,wBAAwB,GACxB,sBAAsB,GACtB,qBAAqB,GACrB,mCAAmC,GACnC,oCAAoC,GACpC,mCAAmC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8ed3fbb0255802759d92ecd7938e0344c457b43c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.ts @@ -0,0 +1,9 @@ +import { ResponseAudioDeltaEvent, ResponseAudioDoneEvent, ResponseAudioTranscriptDeltaEvent, ResponseAudioTranscriptDoneEvent, ResponseCodeInterpreterCallCodeDeltaEvent, ResponseCodeInterpreterCallCodeDoneEvent, ResponseCodeInterpreterCallCompletedEvent, ResponseCodeInterpreterCallInProgressEvent, ResponseCodeInterpreterCallInterpretingEvent, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseContentPartDoneEvent, ResponseCreatedEvent, ResponseErrorEvent, ResponseFailedEvent, ResponseFileSearchCallCompletedEvent, ResponseFileSearchCallInProgressEvent, ResponseFileSearchCallSearchingEvent, ResponseFunctionCallArgumentsDeltaEvent as RawResponseFunctionCallArgumentsDeltaEvent, ResponseFunctionCallArgumentsDoneEvent, ResponseInProgressEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseRefusalDeltaEvent, ResponseRefusalDoneEvent, ResponseTextDeltaEvent as RawResponseTextDeltaEvent, ResponseTextDoneEvent, ResponseIncompleteEvent, ResponseWebSearchCallCompletedEvent, ResponseWebSearchCallInProgressEvent, ResponseWebSearchCallSearchingEvent } from "../../resources/responses/responses.js"; +export type ResponseFunctionCallArgumentsDeltaEvent = RawResponseFunctionCallArgumentsDeltaEvent & { + snapshot: string; +}; +export type ResponseTextDeltaEvent = RawResponseTextDeltaEvent & { + snapshot: string; +}; +export type ParsedResponseStreamEvent = ResponseAudioDeltaEvent | ResponseAudioDoneEvent | ResponseAudioTranscriptDeltaEvent | ResponseAudioTranscriptDoneEvent | ResponseCodeInterpreterCallCodeDeltaEvent | ResponseCodeInterpreterCallCodeDoneEvent | ResponseCodeInterpreterCallCompletedEvent | ResponseCodeInterpreterCallInProgressEvent | ResponseCodeInterpreterCallInterpretingEvent | ResponseCompletedEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseCreatedEvent | ResponseErrorEvent | ResponseFileSearchCallCompletedEvent | ResponseFileSearchCallInProgressEvent | ResponseFileSearchCallSearchingEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseInProgressEvent | ResponseFailedEvent | ResponseIncompleteEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseRefusalDeltaEvent | ResponseRefusalDoneEvent | ResponseTextDeltaEvent | ResponseTextDoneEvent | ResponseWebSearchCallCompletedEvent | ResponseWebSearchCallInProgressEvent | ResponseWebSearchCallSearchingEvent; +//# sourceMappingURL=EventTypes.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..2f79b588b5eeffdb6ac60e8bb05396597fad32af --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"EventTypes.d.ts","sourceRoot":"","sources":["../../src/lib/responses/EventTypes.ts"],"names":[],"mappings":"OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,iCAAiC,EACjC,gCAAgC,EAChC,yCAAyC,EACzC,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,EAC1C,4CAA4C,EAC5C,sBAAsB,EACtB,6BAA6B,EAC7B,4BAA4B,EAC5B,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,oCAAoC,EACpC,qCAAqC,EACrC,oCAAoC,EACpC,uCAAuC,IAAI,0CAA0C,EACrF,sCAAsC,EACtC,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,IAAI,yBAAyB,EACnD,qBAAqB,EACrB,uBAAuB,EACvB,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACpC;AAED,MAAM,MAAM,uCAAuC,GAAG,0CAA0C,GAAG;IACjG,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,yBAAyB,GAAG;IAC/D,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GACjC,uBAAuB,GACvB,sBAAsB,GACtB,iCAAiC,GACjC,gCAAgC,GAChC,yCAAyC,GACzC,wCAAwC,GACxC,yCAAyC,GACzC,0CAA0C,GAC1C,4CAA4C,GAC5C,sBAAsB,GACtB,6BAA6B,GAC7B,4BAA4B,GAC5B,oBAAoB,GACpB,kBAAkB,GAClB,oCAAoC,GACpC,qCAAqC,GACrC,oCAAoC,GACpC,uCAAuC,GACvC,sCAAsC,GACtC,uBAAuB,GACvB,mBAAmB,GACnB,uBAAuB,GACvB,4BAA4B,GAC5B,2BAA2B,GAC3B,yBAAyB,GACzB,wBAAwB,GACxB,sBAAsB,GACtB,qBAAqB,GACrB,mCAAmC,GACnC,oCAAoC,GACpC,mCAAmC,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.js new file mode 100644 index 0000000000000000000000000000000000000000..42d8b1bf918e85d50b66422fd998cef88cc7e444 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=EventTypes.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.js.map new file mode 100644 index 0000000000000000000000000000000000000000..aff625e09764de1ff5a3594be48d7f7b51993e6d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"EventTypes.js","sourceRoot":"","sources":["../../src/lib/responses/EventTypes.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.mjs new file mode 100644 index 0000000000000000000000000000000000000000..69ea4d704426afb46a3eae0d57a3c3dae324d19c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.mjs @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=EventTypes.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9cd5996e8da570b301922b5e69c5d346fda5c7ce --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/EventTypes.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"EventTypes.mjs","sourceRoot":"","sources":["../../src/lib/responses/EventTypes.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..fd73f5a1d397e06a85ef0133573b20b31750fd65 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.mts @@ -0,0 +1,59 @@ +import { ResponseTextConfig, type ParsedResponse, type ResponseCreateParamsBase, type ResponseStreamEvent } from "../../resources/responses/responses.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +import OpenAI from "../../index.mjs"; +import { type BaseEvents, EventStream } from "../EventStream.mjs"; +import { type ResponseFunctionCallArgumentsDeltaEvent, type ResponseTextDeltaEvent } from "./EventTypes.mjs"; +import { ParseableToolsParams } from "../ResponsesParser.mjs"; +export type ResponseStreamParams = ResponseCreateAndStreamParams | ResponseStreamByIdParams; +export type ResponseCreateAndStreamParams = Omit & { + stream?: true; +}; +export type ResponseStreamByIdParams = { + /** + * The ID of the response to stream. + */ + response_id: string; + /** + * If provided, the stream will start after the event with the given sequence number. + */ + starting_after?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: ResponseTextConfig; + /** + * An array of tools the model may call while generating a response. When continuing a stream, provide + * the same tools as the original request. + */ + tools?: ParseableToolsParams; +}; +type ResponseEvents = BaseEvents & Omit<{ + [K in ResponseStreamEvent['type']]: (event: Extract) => void; +}, 'response.output_text.delta' | 'response.function_call_arguments.delta'> & { + event: (event: ResponseStreamEvent) => void; + 'response.output_text.delta': (event: ResponseTextDeltaEvent) => void; + 'response.function_call_arguments.delta': (event: ResponseFunctionCallArgumentsDeltaEvent) => void; +}; +export type ResponseStreamingParams = Omit & { + stream?: true; +}; +export declare class ResponseStream extends EventStream implements AsyncIterable { + #private; + constructor(params: ResponseStreamingParams | null); + static createResponse(client: OpenAI, params: ResponseStreamParams, options?: RequestOptions): ResponseStream; + protected _createOrRetrieveResponse(client: OpenAI, params: ResponseStreamParams, options?: RequestOptions): Promise>; + [Symbol.asyncIterator](this: ResponseStream): AsyncIterator; + /** + * @returns a promise that resolves with the final Response, or rejects + * if an error occurred or the stream ended prematurely without producing a REsponse. + */ + finalResponse(): Promise>; +} +export {}; +//# sourceMappingURL=ResponseStream.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..df07a0622d40e36dab2523d0dd0f14bfd8e10623 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"ResponseStream.d.mts","sourceRoot":"","sources":["../../src/lib/responses/ResponseStream.ts"],"names":[],"mappings":"OAAO,EACL,kBAAkB,EAClB,KAAK,cAAc,EAEnB,KAAK,wBAAwB,EAE7B,KAAK,mBAAmB,EACzB;OACM,EAAE,cAAc,EAAE;OAElB,MAAM;OACN,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OAChC,EAAE,KAAK,uCAAuC,EAAE,KAAK,sBAAsB,EAAE;OAC7E,EAAsB,oBAAoB,EAAE;AAGnD,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,GAAG,wBAAwB,CAAC;AAE5F,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,GAAG;IACrF,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAE1B;;;OAGG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF,KAAK,cAAc,GAAG,UAAU,GAC9B,IAAI,CACF;KACG,CAAC,IAAI,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,KAAK,IAAI;CAC/F,EACD,4BAA4B,GAAG,wCAAwC,CACxE,GAAG;IACF,KAAK,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5C,4BAA4B,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACtE,wCAAwC,EAAE,CAAC,KAAK,EAAE,uCAAuC,KAAK,IAAI,CAAC;CACpG,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,GAAG;IAC/E,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,qBAAa,cAAc,CAAC,OAAO,GAAG,IAAI,CACxC,SAAQ,WAAW,CAAC,cAAc,CAClC,YAAW,aAAa,CAAC,mBAAmB,CAAC;;gBAMjC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAKlD,MAAM,CAAC,cAAc,CAAC,OAAO,EAC3B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,cAAc,CAAC,OAAO,CAAC;cAoFV,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAiGnC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,mBAAmB,CAAC;IA6DzF;;;OAGG;IACG,aAAa,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;CAMxD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0b846ddcb201938b7a579ece69c1f6c7dee60298 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.ts @@ -0,0 +1,59 @@ +import { ResponseTextConfig, type ParsedResponse, type ResponseCreateParamsBase, type ResponseStreamEvent } from "../../resources/responses/responses.js"; +import { RequestOptions } from "../../internal/request-options.js"; +import OpenAI from "../../index.js"; +import { type BaseEvents, EventStream } from "../EventStream.js"; +import { type ResponseFunctionCallArgumentsDeltaEvent, type ResponseTextDeltaEvent } from "./EventTypes.js"; +import { ParseableToolsParams } from "../ResponsesParser.js"; +export type ResponseStreamParams = ResponseCreateAndStreamParams | ResponseStreamByIdParams; +export type ResponseCreateAndStreamParams = Omit & { + stream?: true; +}; +export type ResponseStreamByIdParams = { + /** + * The ID of the response to stream. + */ + response_id: string; + /** + * If provided, the stream will start after the event with the given sequence number. + */ + starting_after?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: ResponseTextConfig; + /** + * An array of tools the model may call while generating a response. When continuing a stream, provide + * the same tools as the original request. + */ + tools?: ParseableToolsParams; +}; +type ResponseEvents = BaseEvents & Omit<{ + [K in ResponseStreamEvent['type']]: (event: Extract) => void; +}, 'response.output_text.delta' | 'response.function_call_arguments.delta'> & { + event: (event: ResponseStreamEvent) => void; + 'response.output_text.delta': (event: ResponseTextDeltaEvent) => void; + 'response.function_call_arguments.delta': (event: ResponseFunctionCallArgumentsDeltaEvent) => void; +}; +export type ResponseStreamingParams = Omit & { + stream?: true; +}; +export declare class ResponseStream extends EventStream implements AsyncIterable { + #private; + constructor(params: ResponseStreamingParams | null); + static createResponse(client: OpenAI, params: ResponseStreamParams, options?: RequestOptions): ResponseStream; + protected _createOrRetrieveResponse(client: OpenAI, params: ResponseStreamParams, options?: RequestOptions): Promise>; + [Symbol.asyncIterator](this: ResponseStream): AsyncIterator; + /** + * @returns a promise that resolves with the final Response, or rejects + * if an error occurred or the stream ended prematurely without producing a REsponse. + */ + finalResponse(): Promise>; +} +export {}; +//# sourceMappingURL=ResponseStream.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c4dd2236582f99c95f3c7f38cde3feaf5b2fc6dd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ResponseStream.d.ts","sourceRoot":"","sources":["../../src/lib/responses/ResponseStream.ts"],"names":[],"mappings":"OAAO,EACL,kBAAkB,EAClB,KAAK,cAAc,EAEnB,KAAK,wBAAwB,EAE7B,KAAK,mBAAmB,EACzB;OACM,EAAE,cAAc,EAAE;OAElB,MAAM;OACN,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OAChC,EAAE,KAAK,uCAAuC,EAAE,KAAK,sBAAsB,EAAE;OAC7E,EAAsB,oBAAoB,EAAE;AAGnD,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,GAAG,wBAAwB,CAAC;AAE5F,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,GAAG;IACrF,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAE1B;;;OAGG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF,KAAK,cAAc,GAAG,UAAU,GAC9B,IAAI,CACF;KACG,CAAC,IAAI,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,KAAK,IAAI;CAC/F,EACD,4BAA4B,GAAG,wCAAwC,CACxE,GAAG;IACF,KAAK,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5C,4BAA4B,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACtE,wCAAwC,EAAE,CAAC,KAAK,EAAE,uCAAuC,KAAK,IAAI,CAAC;CACpG,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,GAAG;IAC/E,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,qBAAa,cAAc,CAAC,OAAO,GAAG,IAAI,CACxC,SAAQ,WAAW,CAAC,cAAc,CAClC,YAAW,aAAa,CAAC,mBAAmB,CAAC;;gBAMjC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAKlD,MAAM,CAAC,cAAc,CAAC,OAAO,EAC3B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,cAAc,CAAC,OAAO,CAAC;cAoFV,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAiGnC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,mBAAmB,CAAC;IA6DzF;;;OAGG;IACG,aAAa,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;CAMxD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.js new file mode 100644 index 0000000000000000000000000000000000000000..0c9e6541438294c024b2308c80d0a5afc2614127 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.js @@ -0,0 +1,240 @@ +"use strict"; +var _ResponseStream_instances, _ResponseStream_params, _ResponseStream_currentResponseSnapshot, _ResponseStream_finalResponse, _ResponseStream_beginRequest, _ResponseStream_addEvent, _ResponseStream_endRequest, _ResponseStream_accumulateResponse; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ResponseStream = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const error_1 = require("../../error.js"); +const EventStream_1 = require("../EventStream.js"); +const ResponsesParser_1 = require("../ResponsesParser.js"); +class ResponseStream extends EventStream_1.EventStream { + constructor(params) { + super(); + _ResponseStream_instances.add(this); + _ResponseStream_params.set(this, void 0); + _ResponseStream_currentResponseSnapshot.set(this, void 0); + _ResponseStream_finalResponse.set(this, void 0); + tslib_1.__classPrivateFieldSet(this, _ResponseStream_params, params, "f"); + } + static createResponse(client, params, options) { + const runner = new ResponseStream(params); + runner._run(() => runner._createOrRetrieveResponse(client, params, { + ...options, + headers: { ...options?.headers, 'X-Stainless-Helper-Method': 'stream' }, + })); + return runner; + } + async _createOrRetrieveResponse(client, params, options) { + const signal = options?.signal; + if (signal) { + if (signal.aborted) + this.controller.abort(); + signal.addEventListener('abort', () => this.controller.abort()); + } + tslib_1.__classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_beginRequest).call(this); + let stream; + let starting_after = null; + if ('response_id' in params) { + stream = await client.responses.retrieve(params.response_id, { stream: true }, { ...options, signal: this.controller.signal, stream: true }); + starting_after = params.starting_after ?? null; + } + else { + stream = await client.responses.create({ ...params, stream: true }, { ...options, signal: this.controller.signal }); + } + this._connected(); + for await (const event of stream) { + tslib_1.__classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_addEvent).call(this, event, starting_after); + } + if (stream.controller.signal?.aborted) { + throw new error_1.APIUserAbortError(); + } + return tslib_1.__classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_endRequest).call(this); + } + [(_ResponseStream_params = new WeakMap(), _ResponseStream_currentResponseSnapshot = new WeakMap(), _ResponseStream_finalResponse = new WeakMap(), _ResponseStream_instances = new WeakSet(), _ResponseStream_beginRequest = function _ResponseStream_beginRequest() { + if (this.ended) + return; + tslib_1.__classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, undefined, "f"); + }, _ResponseStream_addEvent = function _ResponseStream_addEvent(event, starting_after) { + if (this.ended) + return; + const maybeEmit = (name, event) => { + if (starting_after == null || event.sequence_number > starting_after) { + this._emit(name, event); + } + }; + const response = tslib_1.__classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_accumulateResponse).call(this, event); + maybeEmit('event', event); + switch (event.type) { + case 'response.output_text.delta': { + const output = response.output[event.output_index]; + if (!output) { + throw new error_1.OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'message') { + const content = output.content[event.content_index]; + if (!content) { + throw new error_1.OpenAIError(`missing content at index ${event.content_index}`); + } + if (content.type !== 'output_text') { + throw new error_1.OpenAIError(`expected content to be 'output_text', got ${content.type}`); + } + maybeEmit('response.output_text.delta', { + ...event, + snapshot: content.text, + }); + } + break; + } + case 'response.function_call_arguments.delta': { + const output = response.output[event.output_index]; + if (!output) { + throw new error_1.OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'function_call') { + maybeEmit('response.function_call_arguments.delta', { + ...event, + snapshot: output.arguments, + }); + } + break; + } + default: + maybeEmit(event.type, event); + break; + } + }, _ResponseStream_endRequest = function _ResponseStream_endRequest() { + if (this.ended) { + throw new error_1.OpenAIError(`stream has ended, this shouldn't happen`); + } + const snapshot = tslib_1.__classPrivateFieldGet(this, _ResponseStream_currentResponseSnapshot, "f"); + if (!snapshot) { + throw new error_1.OpenAIError(`request ended without sending any events`); + } + tslib_1.__classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, undefined, "f"); + const parsedResponse = finalizeResponse(snapshot, tslib_1.__classPrivateFieldGet(this, _ResponseStream_params, "f")); + tslib_1.__classPrivateFieldSet(this, _ResponseStream_finalResponse, parsedResponse, "f"); + return parsedResponse; + }, _ResponseStream_accumulateResponse = function _ResponseStream_accumulateResponse(event) { + let snapshot = tslib_1.__classPrivateFieldGet(this, _ResponseStream_currentResponseSnapshot, "f"); + if (!snapshot) { + if (event.type !== 'response.created') { + throw new error_1.OpenAIError(`When snapshot hasn't been set yet, expected 'response.created' event, got ${event.type}`); + } + snapshot = tslib_1.__classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, event.response, "f"); + return snapshot; + } + switch (event.type) { + case 'response.output_item.added': { + snapshot.output.push(event.item); + break; + } + case 'response.content_part.added': { + const output = snapshot.output[event.output_index]; + if (!output) { + throw new error_1.OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'message') { + output.content.push(event.part); + } + break; + } + case 'response.output_text.delta': { + const output = snapshot.output[event.output_index]; + if (!output) { + throw new error_1.OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'message') { + const content = output.content[event.content_index]; + if (!content) { + throw new error_1.OpenAIError(`missing content at index ${event.content_index}`); + } + if (content.type !== 'output_text') { + throw new error_1.OpenAIError(`expected content to be 'output_text', got ${content.type}`); + } + content.text += event.delta; + } + break; + } + case 'response.function_call_arguments.delta': { + const output = snapshot.output[event.output_index]; + if (!output) { + throw new error_1.OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'function_call') { + output.arguments += event.delta; + } + break; + } + case 'response.completed': { + tslib_1.__classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, event.response, "f"); + break; + } + } + return snapshot; + }, Symbol.asyncIterator)]() { + const pushQueue = []; + const readQueue = []; + let done = false; + this.on('event', (event) => { + const reader = readQueue.shift(); + if (reader) { + reader.resolve(event); + } + else { + pushQueue.push(event); + } + }); + this.on('end', () => { + done = true; + for (const reader of readQueue) { + reader.resolve(undefined); + } + readQueue.length = 0; + }); + this.on('abort', (err) => { + done = true; + for (const reader of readQueue) { + reader.reject(err); + } + readQueue.length = 0; + }); + this.on('error', (err) => { + done = true; + for (const reader of readQueue) { + reader.reject(err); + } + readQueue.length = 0; + }); + return { + next: async () => { + if (!pushQueue.length) { + if (done) { + return { value: undefined, done: true }; + } + return new Promise((resolve, reject) => readQueue.push({ resolve, reject })).then((event) => (event ? { value: event, done: false } : { value: undefined, done: true })); + } + const event = pushQueue.shift(); + return { value: event, done: false }; + }, + return: async () => { + this.abort(); + return { value: undefined, done: true }; + }, + }; + } + /** + * @returns a promise that resolves with the final Response, or rejects + * if an error occurred or the stream ended prematurely without producing a REsponse. + */ + async finalResponse() { + await this.done(); + const response = tslib_1.__classPrivateFieldGet(this, _ResponseStream_finalResponse, "f"); + if (!response) + throw new error_1.OpenAIError('stream ended without producing a ChatCompletion'); + return response; + } +} +exports.ResponseStream = ResponseStream; +function finalizeResponse(snapshot, params) { + return (0, ResponsesParser_1.maybeParseResponse)(snapshot, params); +} +//# sourceMappingURL=ResponseStream.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.js.map new file mode 100644 index 0000000000000000000000000000000000000000..58bec0781519571c632089aa3284179dd3278523 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ResponseStream.js","sourceRoot":"","sources":["../../src/lib/responses/ResponseStream.ts"],"names":[],"mappings":";;;;;AASA,0CAA6D;AAE7D,mDAA8D;AAE9D,2DAA8E;AAkD9E,MAAa,cACX,SAAQ,yBAA2B;IAOnC,YAAY,MAAsC;QAChD,KAAK,EAAE,CAAC;;QALV,yCAAwC;QACxC,0DAA+C;QAC/C,gDAAoD;QAIlD,+BAAA,IAAI,0BAAW,MAAM,MAAA,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,cAAc,CACnB,MAAc,EACd,MAA4B,EAC5B,OAAwB;QAExB,MAAM,MAAM,GAAG,IAAI,cAAc,CAAU,M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ACrC,IAAI,CAAC,QAAQ;YAAE,MAAM,IAAI,mBAAW,CAAC,iDAAiD,CAAC,CAAC;QACxF,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAjRD,wCAiRC;AAED,SAAS,gBAAgB,CACvB,QAAkB,EAClB,MAAsC;IAEtC,OAAO,IAAA,oCAAkB,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.mjs new file mode 100644 index 0000000000000000000000000000000000000000..dbcf5c890e41645eae1b428fa354c9f789ab6f93 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.mjs @@ -0,0 +1,236 @@ +var _ResponseStream_instances, _ResponseStream_params, _ResponseStream_currentResponseSnapshot, _ResponseStream_finalResponse, _ResponseStream_beginRequest, _ResponseStream_addEvent, _ResponseStream_endRequest, _ResponseStream_accumulateResponse; +import { __classPrivateFieldGet, __classPrivateFieldSet } from "../../internal/tslib.mjs"; +import { APIUserAbortError, OpenAIError } from "../../error.mjs"; +import { EventStream } from "../EventStream.mjs"; +import { maybeParseResponse } from "../ResponsesParser.mjs"; +export class ResponseStream extends EventStream { + constructor(params) { + super(); + _ResponseStream_instances.add(this); + _ResponseStream_params.set(this, void 0); + _ResponseStream_currentResponseSnapshot.set(this, void 0); + _ResponseStream_finalResponse.set(this, void 0); + __classPrivateFieldSet(this, _ResponseStream_params, params, "f"); + } + static createResponse(client, params, options) { + const runner = new ResponseStream(params); + runner._run(() => runner._createOrRetrieveResponse(client, params, { + ...options, + headers: { ...options?.headers, 'X-Stainless-Helper-Method': 'stream' }, + })); + return runner; + } + async _createOrRetrieveResponse(client, params, options) { + const signal = options?.signal; + if (signal) { + if (signal.aborted) + this.controller.abort(); + signal.addEventListener('abort', () => this.controller.abort()); + } + __classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_beginRequest).call(this); + let stream; + let starting_after = null; + if ('response_id' in params) { + stream = await client.responses.retrieve(params.response_id, { stream: true }, { ...options, signal: this.controller.signal, stream: true }); + starting_after = params.starting_after ?? null; + } + else { + stream = await client.responses.create({ ...params, stream: true }, { ...options, signal: this.controller.signal }); + } + this._connected(); + for await (const event of stream) { + __classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_addEvent).call(this, event, starting_after); + } + if (stream.controller.signal?.aborted) { + throw new APIUserAbortError(); + } + return __classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_endRequest).call(this); + } + [(_ResponseStream_params = new WeakMap(), _ResponseStream_currentResponseSnapshot = new WeakMap(), _ResponseStream_finalResponse = new WeakMap(), _ResponseStream_instances = new WeakSet(), _ResponseStream_beginRequest = function _ResponseStream_beginRequest() { + if (this.ended) + return; + __classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, undefined, "f"); + }, _ResponseStream_addEvent = function _ResponseStream_addEvent(event, starting_after) { + if (this.ended) + return; + const maybeEmit = (name, event) => { + if (starting_after == null || event.sequence_number > starting_after) { + this._emit(name, event); + } + }; + const response = __classPrivateFieldGet(this, _ResponseStream_instances, "m", _ResponseStream_accumulateResponse).call(this, event); + maybeEmit('event', event); + switch (event.type) { + case 'response.output_text.delta': { + const output = response.output[event.output_index]; + if (!output) { + throw new OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'message') { + const content = output.content[event.content_index]; + if (!content) { + throw new OpenAIError(`missing content at index ${event.content_index}`); + } + if (content.type !== 'output_text') { + throw new OpenAIError(`expected content to be 'output_text', got ${content.type}`); + } + maybeEmit('response.output_text.delta', { + ...event, + snapshot: content.text, + }); + } + break; + } + case 'response.function_call_arguments.delta': { + const output = response.output[event.output_index]; + if (!output) { + throw new OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'function_call') { + maybeEmit('response.function_call_arguments.delta', { + ...event, + snapshot: output.arguments, + }); + } + break; + } + default: + maybeEmit(event.type, event); + break; + } + }, _ResponseStream_endRequest = function _ResponseStream_endRequest() { + if (this.ended) { + throw new OpenAIError(`stream has ended, this shouldn't happen`); + } + const snapshot = __classPrivateFieldGet(this, _ResponseStream_currentResponseSnapshot, "f"); + if (!snapshot) { + throw new OpenAIError(`request ended without sending any events`); + } + __classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, undefined, "f"); + const parsedResponse = finalizeResponse(snapshot, __classPrivateFieldGet(this, _ResponseStream_params, "f")); + __classPrivateFieldSet(this, _ResponseStream_finalResponse, parsedResponse, "f"); + return parsedResponse; + }, _ResponseStream_accumulateResponse = function _ResponseStream_accumulateResponse(event) { + let snapshot = __classPrivateFieldGet(this, _ResponseStream_currentResponseSnapshot, "f"); + if (!snapshot) { + if (event.type !== 'response.created') { + throw new OpenAIError(`When snapshot hasn't been set yet, expected 'response.created' event, got ${event.type}`); + } + snapshot = __classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, event.response, "f"); + return snapshot; + } + switch (event.type) { + case 'response.output_item.added': { + snapshot.output.push(event.item); + break; + } + case 'response.content_part.added': { + const output = snapshot.output[event.output_index]; + if (!output) { + throw new OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'message') { + output.content.push(event.part); + } + break; + } + case 'response.output_text.delta': { + const output = snapshot.output[event.output_index]; + if (!output) { + throw new OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'message') { + const content = output.content[event.content_index]; + if (!content) { + throw new OpenAIError(`missing content at index ${event.content_index}`); + } + if (content.type !== 'output_text') { + throw new OpenAIError(`expected content to be 'output_text', got ${content.type}`); + } + content.text += event.delta; + } + break; + } + case 'response.function_call_arguments.delta': { + const output = snapshot.output[event.output_index]; + if (!output) { + throw new OpenAIError(`missing output at index ${event.output_index}`); + } + if (output.type === 'function_call') { + output.arguments += event.delta; + } + break; + } + case 'response.completed': { + __classPrivateFieldSet(this, _ResponseStream_currentResponseSnapshot, event.response, "f"); + break; + } + } + return snapshot; + }, Symbol.asyncIterator)]() { + const pushQueue = []; + const readQueue = []; + let done = false; + this.on('event', (event) => { + const reader = readQueue.shift(); + if (reader) { + reader.resolve(event); + } + else { + pushQueue.push(event); + } + }); + this.on('end', () => { + done = true; + for (const reader of readQueue) { + reader.resolve(undefined); + } + readQueue.length = 0; + }); + this.on('abort', (err) => { + done = true; + for (const reader of readQueue) { + reader.reject(err); + } + readQueue.length = 0; + }); + this.on('error', (err) => { + done = true; + for (const reader of readQueue) { + reader.reject(err); + } + readQueue.length = 0; + }); + return { + next: async () => { + if (!pushQueue.length) { + if (done) { + return { value: undefined, done: true }; + } + return new Promise((resolve, reject) => readQueue.push({ resolve, reject })).then((event) => (event ? { value: event, done: false } : { value: undefined, done: true })); + } + const event = pushQueue.shift(); + return { value: event, done: false }; + }, + return: async () => { + this.abort(); + return { value: undefined, done: true }; + }, + }; + } + /** + * @returns a promise that resolves with the final Response, or rejects + * if an error occurred or the stream ended prematurely without producing a REsponse. + */ + async finalResponse() { + await this.done(); + const response = __classPrivateFieldGet(this, _ResponseStream_finalResponse, "f"); + if (!response) + throw new OpenAIError('stream ended without producing a ChatCompletion'); + return response; + } +} +function finalizeResponse(snapshot, params) { + return maybeParseResponse(snapshot, params); +} +//# sourceMappingURL=ResponseStream.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..bb668361735cffc829e5352b8f53e64ff07366f8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/lib/responses/ResponseStream.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"ResponseStream.mjs","sourceRoot":"","sources":["../../src/lib/responses/ResponseStream.ts"],"names":[],"mapp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,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;YACvC,CAAC;YACD,MAAM,EAAE,KAAK,IAAI,EAAE;gBACjB,IAAI,CAAC,KAAK,EAAE,CAAC;gBACb,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;YAC1C,CAAC;SACF,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,aAAa;QACjB,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,MAAM,QAAQ,GAAG,uBAAA,IAAI,qCAAe,CAAC;QACrC,IAAI,CAAC,QAAQ;YAAE,MAAM,IAAI,WAAW,CAAC,iDAAiD,CAAC,CAAC;QACxF,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAED,SAAS,gBAAgB,CACvB,QAAkB,EAClB,MAAsC;IAEtC,OAAO,kBAAkB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d50942821588c785509538d6709bdc71da042d48 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.mts @@ -0,0 +1,26 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as SpeechAPI from "./speech.mjs"; +import { Speech, SpeechCreateParams, SpeechModel } from "./speech.mjs"; +import * as TranscriptionsAPI from "./transcriptions.mjs"; +import { Transcription, TranscriptionCreateParams, TranscriptionCreateParamsNonStreaming, TranscriptionCreateParamsStreaming, TranscriptionCreateResponse, TranscriptionInclude, TranscriptionSegment, TranscriptionStreamEvent, TranscriptionTextDeltaEvent, TranscriptionTextDoneEvent, TranscriptionVerbose, TranscriptionWord, Transcriptions } from "./transcriptions.mjs"; +import * as TranslationsAPI from "./translations.mjs"; +import { Translation, TranslationCreateParams, TranslationCreateResponse, TranslationVerbose, Translations } from "./translations.mjs"; +export declare class Audio extends APIResource { + transcriptions: TranscriptionsAPI.Transcriptions; + translations: TranslationsAPI.Translations; + speech: SpeechAPI.Speech; +} +export type AudioModel = 'whisper-1' | 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe'; +/** + * The format of the output, in one of these options: `json`, `text`, `srt`, + * `verbose_json`, or `vtt`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, + * the only supported format is `json`. + */ +export type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'; +export declare namespace Audio { + export { type AudioModel as AudioModel, type AudioResponseFormat as AudioResponseFormat }; + export { Transcriptions as Transcriptions, type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, }; + export { Translations as Translations, type Translation as Translation, type TranslationVerbose as TranslationVerbose, type TranslationCreateResponse as TranslationCreateResponse, type TranslationCreateParams as TranslationCreateParams, }; + export { Speech as Speech, type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams }; +} +//# sourceMappingURL=audio.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0e44205a146e21b2bdc8749a6490c9e84f9da267 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"audio.d.mts","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE;OAC3C,KAAK,iBAAiB;OACtB,EACL,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,kCAAkC,EAClC,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACf;OACM,KAAK,eAAe;OACpB,EACL,WAAW,EACX,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACb;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAsD;IACtG,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAED,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,mBAAmB,GAAG,wBAAwB,CAAC;AAEtF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,cAAc,GAAG,KAAK,CAAC;AAMnF,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,UAAU,IAAI,UAAU,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;IAE1F,OAAO,EACL,cAAc,IAAI,cAAc,EAChC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2c0193d765caf953080d226407a27f46fc8c3a8f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.ts @@ -0,0 +1,26 @@ +import { APIResource } from "../../core/resource.js"; +import * as SpeechAPI from "./speech.js"; +import { Speech, SpeechCreateParams, SpeechModel } from "./speech.js"; +import * as TranscriptionsAPI from "./transcriptions.js"; +import { Transcription, TranscriptionCreateParams, TranscriptionCreateParamsNonStreaming, TranscriptionCreateParamsStreaming, TranscriptionCreateResponse, TranscriptionInclude, TranscriptionSegment, TranscriptionStreamEvent, TranscriptionTextDeltaEvent, TranscriptionTextDoneEvent, TranscriptionVerbose, TranscriptionWord, Transcriptions } from "./transcriptions.js"; +import * as TranslationsAPI from "./translations.js"; +import { Translation, TranslationCreateParams, TranslationCreateResponse, TranslationVerbose, Translations } from "./translations.js"; +export declare class Audio extends APIResource { + transcriptions: TranscriptionsAPI.Transcriptions; + translations: TranslationsAPI.Translations; + speech: SpeechAPI.Speech; +} +export type AudioModel = 'whisper-1' | 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe'; +/** + * The format of the output, in one of these options: `json`, `text`, `srt`, + * `verbose_json`, or `vtt`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, + * the only supported format is `json`. + */ +export type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'; +export declare namespace Audio { + export { type AudioModel as AudioModel, type AudioResponseFormat as AudioResponseFormat }; + export { Transcriptions as Transcriptions, type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, }; + export { Translations as Translations, type Translation as Translation, type TranslationVerbose as TranslationVerbose, type TranslationCreateResponse as TranslationCreateResponse, type TranslationCreateParams as TranslationCreateParams, }; + export { Speech as Speech, type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams }; +} +//# sourceMappingURL=audio.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0470be0e12dfb999908869ca72c6928f7e95c7a7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE;OAC3C,KAAK,iBAAiB;OACtB,EACL,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,kCAAkC,EAClC,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACf;OACM,KAAK,eAAe;OACpB,EACL,WAAW,EACX,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACb;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAsD;IACtG,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAED,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,mBAAmB,GAAG,wBAAwB,CAAC;AAEtF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,cAAc,GAAG,KAAK,CAAC;AAMnF,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,UAAU,IAAI,UAAU,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;IAE1F,OAAO,EACL,cAAc,IAAI,cAAc,EAChC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.js new file mode 100644 index 0000000000000000000000000000000000000000..e0791a6b8ee258a533f17a0f8b03fcab8cac479b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.js @@ -0,0 +1,25 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Audio = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const SpeechAPI = tslib_1.__importStar(require("./speech.js")); +const speech_1 = require("./speech.js"); +const TranscriptionsAPI = tslib_1.__importStar(require("./transcriptions.js")); +const transcriptions_1 = require("./transcriptions.js"); +const TranslationsAPI = tslib_1.__importStar(require("./translations.js")); +const translations_1 = require("./translations.js"); +class Audio extends resource_1.APIResource { + constructor() { + super(...arguments); + this.transcriptions = new TranscriptionsAPI.Transcriptions(this._client); + this.translations = new TranslationsAPI.Translations(this._client); + this.speech = new SpeechAPI.Speech(this._client); + } +} +exports.Audio = Audio; +Audio.Transcriptions = transcriptions_1.Transcriptions; +Audio.Translations = translations_1.Translations; +Audio.Speech = speech_1.Speech; +//# sourceMappingURL=audio.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.js.map new file mode 100644 index 0000000000000000000000000000000000000000..befddafc5baeecc6b84c16db209544d48875b77e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.js.map @@ -0,0 +1 @@ +{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAmE;AACnE,+EAAsD;AACtD,wDAc0B;AAC1B,2EAAkD;AAClD,oDAMwB;AAExB,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtG,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAJD,sBAIC;AAWD,KAAK,CAAC,cAAc,GAAG,+BAAc,CAAC;AACtC,KAAK,CAAC,YAAY,GAAG,2BAAY,CAAC;AAClC,KAAK,CAAC,MAAM,GAAG,eAAM,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.mjs new file mode 100644 index 0000000000000000000000000000000000000000..26b5025f609233b8ffe3c2d260db6805a5cc74d7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.mjs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as SpeechAPI from "./speech.mjs"; +import { Speech } from "./speech.mjs"; +import * as TranscriptionsAPI from "./transcriptions.mjs"; +import { Transcriptions, } from "./transcriptions.mjs"; +import * as TranslationsAPI from "./translations.mjs"; +import { Translations, } from "./translations.mjs"; +export class Audio extends APIResource { + constructor() { + super(...arguments); + this.transcriptions = new TranscriptionsAPI.Transcriptions(this._client); + this.translations = new TranslationsAPI.Translations(this._client); + this.speech = new SpeechAPI.Speech(this._client); + } +} +Audio.Transcriptions = Transcriptions; +Audio.Translations = Translations; +Audio.Speech = Speech; +//# sourceMappingURL=audio.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..636994404ab080de2f03f14b86e5a93f7be65fe5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/audio.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"audio.mjs","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAmC;OAC3C,KAAK,iBAAiB;OACtB,EAaL,cAAc,GACf;OACM,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtG,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAWD,KAAK,CAAC,cAAc,GAAG,cAAc,CAAC;AACtC,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;AAClC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..5f20763d17ad575fc2695d4db106dc66907273d1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.mts @@ -0,0 +1,5 @@ +export { Audio, type AudioModel, type AudioResponseFormat } from "./audio.mjs"; +export { Speech, type SpeechModel, type SpeechCreateParams } from "./speech.mjs"; +export { Transcriptions, type Transcription, type TranscriptionInclude, type TranscriptionSegment, type TranscriptionStreamEvent, type TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent, type TranscriptionVerbose, type TranscriptionWord, type TranscriptionCreateResponse, type TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming, } from "./transcriptions.mjs"; +export { Translations, type Translation, type TranslationVerbose, type TranslationCreateResponse, type TranslationCreateParams, } from "./translations.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8c9c4eaadf54a41419784949202693772dc6fcd9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACpD,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE;OACrD,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,GACxC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e9bedd86b919c025fa84f983ad036d79fdc1328d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.ts @@ -0,0 +1,5 @@ +export { Audio, type AudioModel, type AudioResponseFormat } from "./audio.js"; +export { Speech, type SpeechModel, type SpeechCreateParams } from "./speech.js"; +export { Transcriptions, type Transcription, type TranscriptionInclude, type TranscriptionSegment, type TranscriptionStreamEvent, type TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent, type TranscriptionVerbose, type TranscriptionWord, type TranscriptionCreateResponse, type TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming, } from "./transcriptions.js"; +export { Translations, type Translation, type TranslationVerbose, type TranslationCreateResponse, type TranslationCreateParams, } from "./translations.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e59b031c14edc9ebd30ae67bfc84033bf9dfd32f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACpD,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE;OACrD,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,GACxC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.js new file mode 100644 index 0000000000000000000000000000000000000000..1e38c2f2bd86a480901a29c7fc7787142364f066 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.js @@ -0,0 +1,13 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Translations = exports.Transcriptions = exports.Speech = exports.Audio = void 0; +var audio_1 = require("./audio.js"); +Object.defineProperty(exports, "Audio", { enumerable: true, get: function () { return audio_1.Audio; } }); +var speech_1 = require("./speech.js"); +Object.defineProperty(exports, "Speech", { enumerable: true, get: function () { return speech_1.Speech; } }); +var transcriptions_1 = require("./transcriptions.js"); +Object.defineProperty(exports, "Transcriptions", { enumerable: true, get: function () { return transcriptions_1.Transcriptions; } }); +var translations_1 = require("./translations.js"); +Object.defineProperty(exports, "Translations", { enumerable: true, get: function () { return translations_1.Translations; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..37690317034711bf7f4eeb66db8fbc296a9f4c4a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAA2E;AAAlE,8FAAA,KAAK,OAAA;AACd,sCAA6E;AAApE,gGAAA,MAAM,OAAA;AACf,sDAc0B;AAbxB,gHAAA,cAAc,OAAA;AAchB,kDAMwB;AALtB,4GAAA,YAAY,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..1ecb5e46004d50bfff94ef2daf3572e1ea9d5d1c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.mjs @@ -0,0 +1,6 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Audio } from "./audio.mjs"; +export { Speech } from "./speech.mjs"; +export { Transcriptions, } from "./transcriptions.mjs"; +export { Translations, } from "./translations.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..5eee012098988e9a9dfbf876e0f7c47f5754c2cc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAA6C;OACpD,EAAE,MAAM,EAA6C;OACrD,EACL,cAAc,GAaf;OACM,EACL,YAAY,GAKb"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..04aa0c28fc9f5cdede46aaa5eec2d011efadc077 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.mts @@ -0,0 +1,64 @@ +import { APIResource } from "../../core/resource.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Speech extends APIResource { + /** + * Generates audio from the input text. + * + * @example + * ```ts + * const speech = await client.audio.speech.create({ + * input: 'input', + * model: 'string', + * voice: 'ash', + * }); + * + * const content = await speech.blob(); + * console.log(content); + * ``` + */ + create(body: SpeechCreateParams, options?: RequestOptions): APIPromise; +} +export type SpeechModel = 'tts-1' | 'tts-1-hd' | 'gpt-4o-mini-tts'; +export interface SpeechCreateParams { + /** + * The text to generate audio for. The maximum length is 4096 characters. + */ + input: string; + /** + * One of the available [TTS models](https://platform.openai.com/docs/models#tts): + * `tts-1`, `tts-1-hd` or `gpt-4o-mini-tts`. + */ + model: (string & {}) | SpeechModel; + /** + * The voice to use when generating the audio. Supported voices are `alloy`, `ash`, + * `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, and + * `verse`. Previews of the voices are available in the + * [Text to speech guide](https://platform.openai.com/docs/guides/text-to-speech#voice-options). + */ + voice: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; + /** + * Control the voice of your generated audio with additional instructions. Does not + * work with `tts-1` or `tts-1-hd`. + */ + instructions?: string; + /** + * The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, + * `wav`, and `pcm`. + */ + response_format?: 'mp3' | 'opus' | 'aac' | 'flac' | 'wav' | 'pcm'; + /** + * The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is + * the default. + */ + speed?: number; + /** + * The format to stream the audio in. Supported formats are `sse` and `audio`. + * `sse` is not supported for `tts-1` or `tts-1-hd`. + */ + stream_format?: 'sse' | 'audio'; +} +export declare namespace Speech { + export { type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams }; +} +//# sourceMappingURL=speech.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..b90c569e52930875a34a9fe437ed48779a124d96 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"speech.d.mts","sourceRoot":"","sources":["../../src/resources/audio/speech.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAQjF;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,WAAW,CAAC;IAEnC;;;;;OAKG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IAEpG;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;IAElE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC3F"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0abb311cda2beb6317c3e3d0d904f2e09bca621d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.ts @@ -0,0 +1,64 @@ +import { APIResource } from "../../core/resource.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Speech extends APIResource { + /** + * Generates audio from the input text. + * + * @example + * ```ts + * const speech = await client.audio.speech.create({ + * input: 'input', + * model: 'string', + * voice: 'ash', + * }); + * + * const content = await speech.blob(); + * console.log(content); + * ``` + */ + create(body: SpeechCreateParams, options?: RequestOptions): APIPromise; +} +export type SpeechModel = 'tts-1' | 'tts-1-hd' | 'gpt-4o-mini-tts'; +export interface SpeechCreateParams { + /** + * The text to generate audio for. The maximum length is 4096 characters. + */ + input: string; + /** + * One of the available [TTS models](https://platform.openai.com/docs/models#tts): + * `tts-1`, `tts-1-hd` or `gpt-4o-mini-tts`. + */ + model: (string & {}) | SpeechModel; + /** + * The voice to use when generating the audio. Supported voices are `alloy`, `ash`, + * `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, and + * `verse`. Previews of the voices are available in the + * [Text to speech guide](https://platform.openai.com/docs/guides/text-to-speech#voice-options). + */ + voice: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; + /** + * Control the voice of your generated audio with additional instructions. Does not + * work with `tts-1` or `tts-1-hd`. + */ + instructions?: string; + /** + * The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, + * `wav`, and `pcm`. + */ + response_format?: 'mp3' | 'opus' | 'aac' | 'flac' | 'wav' | 'pcm'; + /** + * The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is + * the default. + */ + speed?: number; + /** + * The format to stream the audio in. Supported formats are `sse` and `audio`. + * `sse` is not supported for `tts-1` or `tts-1-hd`. + */ + stream_format?: 'sse' | 'audio'; +} +export declare namespace Speech { + export { type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams }; +} +//# sourceMappingURL=speech.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..edf42199a4442437e961307462831cb55d21b64e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"speech.d.ts","sourceRoot":"","sources":["../../src/resources/audio/speech.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAQjF;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,WAAW,CAAC;IAEnC;;;;;OAKG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IAEpG;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;IAElE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC3F"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.js new file mode 100644 index 0000000000000000000000000000000000000000..1a0a7cdc32081a858721952c3d2c10dc6b57c952 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.js @@ -0,0 +1,33 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Speech = void 0; +const resource_1 = require("../../core/resource.js"); +const headers_1 = require("../../internal/headers.js"); +class Speech extends resource_1.APIResource { + /** + * Generates audio from the input text. + * + * @example + * ```ts + * const speech = await client.audio.speech.create({ + * input: 'input', + * model: 'string', + * voice: 'ash', + * }); + * + * const content = await speech.blob(); + * console.log(content); + * ``` + */ + create(body, options) { + return this._client.post('/audio/speech', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ Accept: 'application/octet-stream' }, options?.headers]), + __binaryResponse: true, + }); + } +} +exports.Speech = Speech; +//# sourceMappingURL=speech.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.js.map new file mode 100644 index 0000000000000000000000000000000000000000..74f71162d6710302e5c0937cbbff067c032d79d7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.js.map @@ -0,0 +1 @@ +{"version":3,"file":"speech.js","sourceRoot":"","sources":["../../src/resources/audio/speech.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAGtD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE;YACxC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAxBD,wBAwBC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.mjs new file mode 100644 index 0000000000000000000000000000000000000000..c1983949eaa7288b0ddfca6816bce946443846a8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.mjs @@ -0,0 +1,29 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +export class Speech extends APIResource { + /** + * Generates audio from the input text. + * + * @example + * ```ts + * const speech = await client.audio.speech.create({ + * input: 'input', + * model: 'string', + * voice: 'ash', + * }); + * + * const content = await speech.blob(); + * console.log(content); + * ``` + */ + create(body, options) { + return this._client.post('/audio/speech', { + body, + ...options, + headers: buildHeaders([{ Accept: 'application/octet-stream' }, options?.headers]), + __binaryResponse: true, + }); + } +} +//# sourceMappingURL=speech.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..72402cf513f204208250237c712c38f550b023ea --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/speech.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"speech.mjs","sourceRoot":"","sources":["../../src/resources/audio/speech.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE;YACxC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..adbc9665dfedb57434834721caea4c48860504fb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.mts @@ -0,0 +1,485 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as TranscriptionsAPI from "./transcriptions.mjs"; +import * as AudioAPI from "./audio.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { Stream } from "../../core/streaming.mjs"; +import { type Uploadable } from "../../core/uploads.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Transcriptions extends APIResource { + /** + * Transcribes audio into the input language. + * + * @example + * ```ts + * const transcription = + * await client.audio.transcriptions.create({ + * file: fs.createReadStream('speech.mp3'), + * model: 'gpt-4o-transcribe', + * }); + * ``` + */ + create(body: TranscriptionCreateParamsNonStreaming<'json' | undefined>, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsNonStreaming<'verbose_json'>, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsNonStreaming<'srt' | 'vtt' | 'text'>, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(body: TranscriptionCreateParamsStreaming, options?: RequestOptions): APIPromise>; +} +/** + * Represents a transcription response returned by model, based on the provided + * input. + */ +export interface Transcription { + /** + * The transcribed text. + */ + text: string; + /** + * The log probabilities of the tokens in the transcription. Only returned with the + * models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added + * to the `include` array. + */ + logprobs?: Array; + /** + * Token usage statistics for the request. + */ + usage?: Transcription.Tokens | Transcription.Duration; +} +export declare namespace Transcription { + interface Logprob { + /** + * The token in the transcription. + */ + token?: string; + /** + * The bytes of the token. + */ + bytes?: Array; + /** + * The log probability of the token. + */ + logprob?: number; + } + /** + * Usage statistics for models billed by token usage. + */ + interface Tokens { + /** + * Number of input tokens billed for this request. + */ + input_tokens: number; + /** + * Number of output tokens generated. + */ + output_tokens: number; + /** + * Total number of tokens used (input + output). + */ + total_tokens: number; + /** + * The type of the usage object. Always `tokens` for this variant. + */ + type: 'tokens'; + /** + * Details about the input tokens billed for this request. + */ + input_token_details?: Tokens.InputTokenDetails; + } + namespace Tokens { + /** + * Details about the input tokens billed for this request. + */ + interface InputTokenDetails { + /** + * Number of audio tokens billed for this request. + */ + audio_tokens?: number; + /** + * Number of text tokens billed for this request. + */ + text_tokens?: number; + } + } + /** + * Usage statistics for models billed by audio input duration. + */ + interface Duration { + /** + * Duration of the input audio in seconds. + */ + seconds: number; + /** + * The type of the usage object. Always `duration` for this variant. + */ + type: 'duration'; + } +} +export type TranscriptionInclude = 'logprobs'; +export interface TranscriptionSegment { + /** + * Unique identifier of the segment. + */ + id: number; + /** + * Average logprob of the segment. If the value is lower than -1, consider the + * logprobs failed. + */ + avg_logprob: number; + /** + * Compression ratio of the segment. If the value is greater than 2.4, consider the + * compression failed. + */ + compression_ratio: number; + /** + * End time of the segment in seconds. + */ + end: number; + /** + * Probability of no speech in the segment. If the value is higher than 1.0 and the + * `avg_logprob` is below -1, consider this segment silent. + */ + no_speech_prob: number; + /** + * Seek offset of the segment. + */ + seek: number; + /** + * Start time of the segment in seconds. + */ + start: number; + /** + * Temperature parameter used for generating the segment. + */ + temperature: number; + /** + * Text content of the segment. + */ + text: string; + /** + * Array of token IDs for the text content. + */ + tokens: Array; +} +/** + * Emitted when there is an additional text delta. This is also the first event + * emitted when the transcription starts. Only emitted when you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `Stream` parameter set to `true`. + */ +export type TranscriptionStreamEvent = TranscriptionTextDeltaEvent | TranscriptionTextDoneEvent; +/** + * Emitted when there is an additional text delta. This is also the first event + * emitted when the transcription starts. Only emitted when you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `Stream` parameter set to `true`. + */ +export interface TranscriptionTextDeltaEvent { + /** + * The text delta that was additionally transcribed. + */ + delta: string; + /** + * The type of the event. Always `transcript.text.delta`. + */ + type: 'transcript.text.delta'; + /** + * The log probabilities of the delta. Only included if you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `include[]` parameter set to `logprobs`. + */ + logprobs?: Array; +} +export declare namespace TranscriptionTextDeltaEvent { + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token?: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes?: Array; + /** + * The log probability of the token. + */ + logprob?: number; + } +} +/** + * Emitted when the transcription is complete. Contains the complete transcription + * text. Only emitted when you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `Stream` parameter set to `true`. + */ +export interface TranscriptionTextDoneEvent { + /** + * The text that was transcribed. + */ + text: string; + /** + * The type of the event. Always `transcript.text.done`. + */ + type: 'transcript.text.done'; + /** + * The log probabilities of the individual tokens in the transcription. Only + * included if you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `include[]` parameter set to `logprobs`. + */ + logprobs?: Array; + /** + * Usage statistics for models billed by token usage. + */ + usage?: TranscriptionTextDoneEvent.Usage; +} +export declare namespace TranscriptionTextDoneEvent { + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token?: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes?: Array; + /** + * The log probability of the token. + */ + logprob?: number; + } + /** + * Usage statistics for models billed by token usage. + */ + interface Usage { + /** + * Number of input tokens billed for this request. + */ + input_tokens: number; + /** + * Number of output tokens generated. + */ + output_tokens: number; + /** + * Total number of tokens used (input + output). + */ + total_tokens: number; + /** + * The type of the usage object. Always `tokens` for this variant. + */ + type: 'tokens'; + /** + * Details about the input tokens billed for this request. + */ + input_token_details?: Usage.InputTokenDetails; + } + namespace Usage { + /** + * Details about the input tokens billed for this request. + */ + interface InputTokenDetails { + /** + * Number of audio tokens billed for this request. + */ + audio_tokens?: number; + /** + * Number of text tokens billed for this request. + */ + text_tokens?: number; + } + } +} +/** + * Represents a verbose json transcription response returned by model, based on the + * provided input. + */ +export interface TranscriptionVerbose { + /** + * The duration of the input audio. + */ + duration: number; + /** + * The language of the input audio. + */ + language: string; + /** + * The transcribed text. + */ + text: string; + /** + * Segments of the transcribed text and their corresponding details. + */ + segments?: Array; + /** + * Usage statistics for models billed by audio input duration. + */ + usage?: TranscriptionVerbose.Usage; + /** + * Extracted words and their corresponding timestamps. + */ + words?: Array; +} +export declare namespace TranscriptionVerbose { + /** + * Usage statistics for models billed by audio input duration. + */ + interface Usage { + /** + * Duration of the input audio in seconds. + */ + seconds: number; + /** + * The type of the usage object. Always `duration` for this variant. + */ + type: 'duration'; + } +} +export interface TranscriptionWord { + /** + * End time of the word in seconds. + */ + end: number; + /** + * Start time of the word in seconds. + */ + start: number; + /** + * The text content of the word. + */ + word: string; +} +/** + * Represents a transcription response returned by model, based on the provided + * input. + */ +export type TranscriptionCreateResponse = Transcription | TranscriptionVerbose; +export type TranscriptionCreateParams = TranscriptionCreateParamsNonStreaming | TranscriptionCreateParamsStreaming; +export interface TranscriptionCreateParamsBase { + /** + * The audio file object (not file name) to transcribe, in one of these formats: + * flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + */ + file: Uploadable; + /** + * ID of the model to use. The options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1` (which is powered by our open source + * Whisper V2 model). + */ + model: (string & {}) | AudioAPI.AudioModel; + /** + * Controls how the audio is cut into chunks. When set to `"auto"`, the server + * first normalizes loudness and then uses voice activity detection (VAD) to choose + * boundaries. `server_vad` object can be provided to tweak VAD detection + * parameters manually. If unset, the audio is transcribed as a single block. + */ + chunking_strategy?: 'auto' | TranscriptionCreateParams.VadConfig | null; + /** + * Additional information to include in the transcription response. `logprobs` will + * return the log probabilities of the tokens in the response to understand the + * model's confidence in the transcription. `logprobs` only works with + * response_format set to `json` and only with the models `gpt-4o-transcribe` and + * `gpt-4o-mini-transcribe`. + */ + include?: Array; + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. The + * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) + * should match the audio language. + */ + prompt?: string; + /** + * The format of the output, in one of these options: `json`, `text`, `srt`, + * `verbose_json`, or `vtt`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, + * the only supported format is `json`. + */ + response_format?: ResponseFormat; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions) + * for more information. + * + * Note: Streaming is not supported for the `whisper-1` model and will be ignored. + */ + stream?: boolean | null; + /** + * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the + * output more random, while lower values like 0.2 will make it more focused and + * deterministic. If set to 0, the model will use + * [log probability](https://en.wikipedia.org/wiki/Log_probability) to + * automatically increase the temperature until certain thresholds are hit. + */ + temperature?: number; + /** + * The timestamp granularities to populate for this transcription. + * `response_format` must be set `verbose_json` to use timestamp granularities. + * Either or both of these options are supported: `word`, or `segment`. Note: There + * is no additional latency for segment timestamps, but generating word timestamps + * incurs additional latency. + */ + timestamp_granularities?: Array<'word' | 'segment'>; +} +export declare namespace TranscriptionCreateParams { + interface VadConfig { + /** + * Must be set to `server_vad` to enable manual chunking using server side VAD. + */ + type: 'server_vad'; + /** + * Amount of audio to include before the VAD detected speech (in milliseconds). + */ + prefix_padding_ms?: number; + /** + * Duration of silence to detect speech stop (in milliseconds). With shorter values + * the model will respond more quickly, but may jump in on short pauses from the + * user. + */ + silence_duration_ms?: number; + /** + * Sensitivity threshold (0.0 to 1.0) for voice activity detection. A higher + * threshold will require louder audio to activate the model, and thus might + * perform better in noisy environments. + */ + threshold?: number; + } + type TranscriptionCreateParamsNonStreaming = TranscriptionsAPI.TranscriptionCreateParamsNonStreaming; + type TranscriptionCreateParamsStreaming = TranscriptionsAPI.TranscriptionCreateParamsStreaming; +} +export interface TranscriptionCreateParamsNonStreaming extends TranscriptionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions) + * for more information. + * + * Note: Streaming is not supported for the `whisper-1` model and will be ignored. + */ + stream?: false | null; +} +export interface TranscriptionCreateParamsStreaming extends TranscriptionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions) + * for more information. + * + * Note: Streaming is not supported for the `whisper-1` model and will be ignored. + */ + stream: true; +} +export declare namespace Transcriptions { + export { type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, }; +} +//# sourceMappingURL=transcriptions.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..a8b4ab60a8d77edabc05fc6bab520dd48c6a71bd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.mts.map @@ -0,0 +1 @@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AAiB,CAAC,kCAAkC,CAAC;CACvG;AAED,MAAM,WAAW,qCAAqC,CACpD,cAAc,SAAS,QAAQ,CAAC,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC,mBAAmB,GAAG,SAAS,CAC1G,SAAQ,6BAA6B,CAAC,cAAc,CAAC;IACrD;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,kCAAmC,SAAQ,6BAA6B;IACvF;;;;;;;;;OASG;IACH,MAAM,EAAE,IAAI,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..814280b65d8edaf6b06b82e1f7d1a8a0d1c370cf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.ts @@ -0,0 +1,485 @@ +import { APIResource } from "../../core/resource.js"; +import * as TranscriptionsAPI from "./transcriptions.js"; +import * as AudioAPI from "./audio.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { Stream } from "../../core/streaming.js"; +import { type Uploadable } from "../../core/uploads.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Transcriptions extends APIResource { + /** + * Transcribes audio into the input language. + * + * @example + * ```ts + * const transcription = + * await client.audio.transcriptions.create({ + * file: fs.createReadStream('speech.mp3'), + * model: 'gpt-4o-transcribe', + * }); + * ``` + */ + create(body: TranscriptionCreateParamsNonStreaming<'json' | undefined>, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsNonStreaming<'verbose_json'>, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsNonStreaming<'srt' | 'vtt' | 'text'>, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(body: TranscriptionCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(body: TranscriptionCreateParamsStreaming, options?: RequestOptions): APIPromise>; +} +/** + * Represents a transcription response returned by model, based on the provided + * input. + */ +export interface Transcription { + /** + * The transcribed text. + */ + text: string; + /** + * The log probabilities of the tokens in the transcription. Only returned with the + * models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added + * to the `include` array. + */ + logprobs?: Array; + /** + * Token usage statistics for the request. + */ + usage?: Transcription.Tokens | Transcription.Duration; +} +export declare namespace Transcription { + interface Logprob { + /** + * The token in the transcription. + */ + token?: string; + /** + * The bytes of the token. + */ + bytes?: Array; + /** + * The log probability of the token. + */ + logprob?: number; + } + /** + * Usage statistics for models billed by token usage. + */ + interface Tokens { + /** + * Number of input tokens billed for this request. + */ + input_tokens: number; + /** + * Number of output tokens generated. + */ + output_tokens: number; + /** + * Total number of tokens used (input + output). + */ + total_tokens: number; + /** + * The type of the usage object. Always `tokens` for this variant. + */ + type: 'tokens'; + /** + * Details about the input tokens billed for this request. + */ + input_token_details?: Tokens.InputTokenDetails; + } + namespace Tokens { + /** + * Details about the input tokens billed for this request. + */ + interface InputTokenDetails { + /** + * Number of audio tokens billed for this request. + */ + audio_tokens?: number; + /** + * Number of text tokens billed for this request. + */ + text_tokens?: number; + } + } + /** + * Usage statistics for models billed by audio input duration. + */ + interface Duration { + /** + * Duration of the input audio in seconds. + */ + seconds: number; + /** + * The type of the usage object. Always `duration` for this variant. + */ + type: 'duration'; + } +} +export type TranscriptionInclude = 'logprobs'; +export interface TranscriptionSegment { + /** + * Unique identifier of the segment. + */ + id: number; + /** + * Average logprob of the segment. If the value is lower than -1, consider the + * logprobs failed. + */ + avg_logprob: number; + /** + * Compression ratio of the segment. If the value is greater than 2.4, consider the + * compression failed. + */ + compression_ratio: number; + /** + * End time of the segment in seconds. + */ + end: number; + /** + * Probability of no speech in the segment. If the value is higher than 1.0 and the + * `avg_logprob` is below -1, consider this segment silent. + */ + no_speech_prob: number; + /** + * Seek offset of the segment. + */ + seek: number; + /** + * Start time of the segment in seconds. + */ + start: number; + /** + * Temperature parameter used for generating the segment. + */ + temperature: number; + /** + * Text content of the segment. + */ + text: string; + /** + * Array of token IDs for the text content. + */ + tokens: Array; +} +/** + * Emitted when there is an additional text delta. This is also the first event + * emitted when the transcription starts. Only emitted when you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `Stream` parameter set to `true`. + */ +export type TranscriptionStreamEvent = TranscriptionTextDeltaEvent | TranscriptionTextDoneEvent; +/** + * Emitted when there is an additional text delta. This is also the first event + * emitted when the transcription starts. Only emitted when you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `Stream` parameter set to `true`. + */ +export interface TranscriptionTextDeltaEvent { + /** + * The text delta that was additionally transcribed. + */ + delta: string; + /** + * The type of the event. Always `transcript.text.delta`. + */ + type: 'transcript.text.delta'; + /** + * The log probabilities of the delta. Only included if you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `include[]` parameter set to `logprobs`. + */ + logprobs?: Array; +} +export declare namespace TranscriptionTextDeltaEvent { + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token?: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes?: Array; + /** + * The log probability of the token. + */ + logprob?: number; + } +} +/** + * Emitted when the transcription is complete. Contains the complete transcription + * text. Only emitted when you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `Stream` parameter set to `true`. + */ +export interface TranscriptionTextDoneEvent { + /** + * The text that was transcribed. + */ + text: string; + /** + * The type of the event. Always `transcript.text.done`. + */ + type: 'transcript.text.done'; + /** + * The log probabilities of the individual tokens in the transcription. Only + * included if you + * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) + * with the `include[]` parameter set to `logprobs`. + */ + logprobs?: Array; + /** + * Usage statistics for models billed by token usage. + */ + usage?: TranscriptionTextDoneEvent.Usage; +} +export declare namespace TranscriptionTextDoneEvent { + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token?: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes?: Array; + /** + * The log probability of the token. + */ + logprob?: number; + } + /** + * Usage statistics for models billed by token usage. + */ + interface Usage { + /** + * Number of input tokens billed for this request. + */ + input_tokens: number; + /** + * Number of output tokens generated. + */ + output_tokens: number; + /** + * Total number of tokens used (input + output). + */ + total_tokens: number; + /** + * The type of the usage object. Always `tokens` for this variant. + */ + type: 'tokens'; + /** + * Details about the input tokens billed for this request. + */ + input_token_details?: Usage.InputTokenDetails; + } + namespace Usage { + /** + * Details about the input tokens billed for this request. + */ + interface InputTokenDetails { + /** + * Number of audio tokens billed for this request. + */ + audio_tokens?: number; + /** + * Number of text tokens billed for this request. + */ + text_tokens?: number; + } + } +} +/** + * Represents a verbose json transcription response returned by model, based on the + * provided input. + */ +export interface TranscriptionVerbose { + /** + * The duration of the input audio. + */ + duration: number; + /** + * The language of the input audio. + */ + language: string; + /** + * The transcribed text. + */ + text: string; + /** + * Segments of the transcribed text and their corresponding details. + */ + segments?: Array; + /** + * Usage statistics for models billed by audio input duration. + */ + usage?: TranscriptionVerbose.Usage; + /** + * Extracted words and their corresponding timestamps. + */ + words?: Array; +} +export declare namespace TranscriptionVerbose { + /** + * Usage statistics for models billed by audio input duration. + */ + interface Usage { + /** + * Duration of the input audio in seconds. + */ + seconds: number; + /** + * The type of the usage object. Always `duration` for this variant. + */ + type: 'duration'; + } +} +export interface TranscriptionWord { + /** + * End time of the word in seconds. + */ + end: number; + /** + * Start time of the word in seconds. + */ + start: number; + /** + * The text content of the word. + */ + word: string; +} +/** + * Represents a transcription response returned by model, based on the provided + * input. + */ +export type TranscriptionCreateResponse = Transcription | TranscriptionVerbose; +export type TranscriptionCreateParams = TranscriptionCreateParamsNonStreaming | TranscriptionCreateParamsStreaming; +export interface TranscriptionCreateParamsBase { + /** + * The audio file object (not file name) to transcribe, in one of these formats: + * flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + */ + file: Uploadable; + /** + * ID of the model to use. The options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1` (which is powered by our open source + * Whisper V2 model). + */ + model: (string & {}) | AudioAPI.AudioModel; + /** + * Controls how the audio is cut into chunks. When set to `"auto"`, the server + * first normalizes loudness and then uses voice activity detection (VAD) to choose + * boundaries. `server_vad` object can be provided to tweak VAD detection + * parameters manually. If unset, the audio is transcribed as a single block. + */ + chunking_strategy?: 'auto' | TranscriptionCreateParams.VadConfig | null; + /** + * Additional information to include in the transcription response. `logprobs` will + * return the log probabilities of the tokens in the response to understand the + * model's confidence in the transcription. `logprobs` only works with + * response_format set to `json` and only with the models `gpt-4o-transcribe` and + * `gpt-4o-mini-transcribe`. + */ + include?: Array; + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. The + * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) + * should match the audio language. + */ + prompt?: string; + /** + * The format of the output, in one of these options: `json`, `text`, `srt`, + * `verbose_json`, or `vtt`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, + * the only supported format is `json`. + */ + response_format?: ResponseFormat; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions) + * for more information. + * + * Note: Streaming is not supported for the `whisper-1` model and will be ignored. + */ + stream?: boolean | null; + /** + * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the + * output more random, while lower values like 0.2 will make it more focused and + * deterministic. If set to 0, the model will use + * [log probability](https://en.wikipedia.org/wiki/Log_probability) to + * automatically increase the temperature until certain thresholds are hit. + */ + temperature?: number; + /** + * The timestamp granularities to populate for this transcription. + * `response_format` must be set `verbose_json` to use timestamp granularities. + * Either or both of these options are supported: `word`, or `segment`. Note: There + * is no additional latency for segment timestamps, but generating word timestamps + * incurs additional latency. + */ + timestamp_granularities?: Array<'word' | 'segment'>; +} +export declare namespace TranscriptionCreateParams { + interface VadConfig { + /** + * Must be set to `server_vad` to enable manual chunking using server side VAD. + */ + type: 'server_vad'; + /** + * Amount of audio to include before the VAD detected speech (in milliseconds). + */ + prefix_padding_ms?: number; + /** + * Duration of silence to detect speech stop (in milliseconds). With shorter values + * the model will respond more quickly, but may jump in on short pauses from the + * user. + */ + silence_duration_ms?: number; + /** + * Sensitivity threshold (0.0 to 1.0) for voice activity detection. A higher + * threshold will require louder audio to activate the model, and thus might + * perform better in noisy environments. + */ + threshold?: number; + } + type TranscriptionCreateParamsNonStreaming = TranscriptionsAPI.TranscriptionCreateParamsNonStreaming; + type TranscriptionCreateParamsStreaming = TranscriptionsAPI.TranscriptionCreateParamsStreaming; +} +export interface TranscriptionCreateParamsNonStreaming extends TranscriptionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions) + * for more information. + * + * Note: Streaming is not supported for the `whisper-1` model and will be ignored. + */ + stream?: false | null; +} +export interface TranscriptionCreateParamsStreaming extends TranscriptionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions) + * for more information. + * + * Note: Streaming is not supported for the `whisper-1` model and will be ignored. + */ + stream: true; +} +export declare namespace Transcriptions { + export { type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, }; +} +//# sourceMappingURL=transcriptions.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..4a13c81549dd49f896ecde637c2a8f1b51907d76 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.d.ts.map @@ -0,0 +1 @@ +{"version":3,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AC,kCAAkC,CAAC;CACvG;AAED,MAAM,WAAW,qCAAqC,CACpD,cAAc,SAAS,QAAQ,CAAC,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC,mBAAmB,GAAG,SAAS,CAC1G,SAAQ,6BAA6B,CAAC,cAAc,CAAC;IACrD;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,kCAAmC,SAAQ,6BAA6B;IACvF;;;;;;;;;OASG;IACH,MAAM,EAAE,IAAI,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.js new file mode 100644 index 0000000000000000000000000000000000000000..95c3011aef17e3a1de4eec067509c5b53a120f0e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.js @@ -0,0 +1,18 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Transcriptions = void 0; +const resource_1 = require("../../core/resource.js"); +const uploads_1 = require("../../internal/uploads.js"); +class Transcriptions extends resource_1.APIResource { + create(body, options) { + return this._client.post('/audio/transcriptions', (0, uploads_1.multipartFormRequestOptions)({ + body, + ...options, + stream: body.stream ?? false, + __metadata: { model: body.model }, + }, this._client)); + } +} +exports.Transcriptions = Transcriptions; +//# sourceMappingURL=transcriptions.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.js.map new file mode 100644 index 0000000000000000000000000000000000000000..b2aeb192bfca244a54f0172d74d8597e566771a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transcriptions.js","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAOlD,uDAAqE;AAErE,MAAa,cAAe,SAAQ,sBAAW;IAkC7C,MAAM,CACJ,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,uBAAuB,EACvB,IAAA,qCAA2B,EACzB;YACE,IAAI;YACJ,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK;YAC5B,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;SAClC,EACD,IAAI,CAAC,OAAO,CACb,CACF,CAAC;IACJ,CAAC;CACF;AAnDD,wCAmDC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a13e6422c8747971a4b0c9ddfad8cd066bc09edd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.mjs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { multipartFormRequestOptions } from "../../internal/uploads.mjs"; +export class Transcriptions extends APIResource { + create(body, options) { + return this._client.post('/audio/transcriptions', multipartFormRequestOptions({ + body, + ...options, + stream: body.stream ?? false, + __metadata: { model: body.model }, + }, this._client)); + } +} +//# sourceMappingURL=transcriptions.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..a89aea3ab240264405b5d31ec75c8b8895c4da2c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/transcriptions.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"transcriptions.mjs","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAOf,EAAE,2BAA2B,EAAE;AAEtC,MAAM,OAAO,cAAe,SAAQ,WAAW;IAkC7C,MAAM,CACJ,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,uBAAuB,EACvB,2BAA2B,CACzB;YACE,IAAI;YACJ,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK;YAC5B,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;SAClC,EACD,IAAI,CAAC,OAAO,CACb,CACF,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..7aa18a5f0d6f77ea2e47eedb0187080436c0eeb2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.mts @@ -0,0 +1,81 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as AudioAPI from "./audio.mjs"; +import * as TranscriptionsAPI from "./transcriptions.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { type Uploadable } from "../../core/uploads.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Translations extends APIResource { + /** + * Translates audio into English. + * + * @example + * ```ts + * const translation = await client.audio.translations.create({ + * file: fs.createReadStream('speech.mp3'), + * model: 'whisper-1', + * }); + * ``` + */ + create(body: TranslationCreateParams<'json' | undefined>, options?: RequestOptions): APIPromise; + create(body: TranslationCreateParams<'verbose_json'>, options?: RequestOptions): APIPromise; + create(body: TranslationCreateParams<'text' | 'srt' | 'vtt'>, options?: RequestOptions): APIPromise; + create(body: TranslationCreateParams, options?: RequestOptions): APIPromise; +} +export interface Translation { + text: string; +} +export interface TranslationVerbose { + /** + * The duration of the input audio. + */ + duration: number; + /** + * The language of the output translation (always `english`). + */ + language: string; + /** + * The translated text. + */ + text: string; + /** + * Segments of the translated text and their corresponding details. + */ + segments?: Array; +} +export type TranslationCreateResponse = Translation | TranslationVerbose; +export interface TranslationCreateParams { + /** + * The audio file object (not file name) translate, in one of these formats: flac, + * mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + */ + file: Uploadable; + /** + * ID of the model to use. Only `whisper-1` (which is powered by our open source + * Whisper V2 model) is currently available. + */ + model: (string & {}) | AudioAPI.AudioModel; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. The + * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) + * should be in English. + */ + prompt?: string; + /** + * The format of the output, in one of these options: `json`, `text`, `srt`, + * `verbose_json`, or `vtt`. + */ + response_format?: 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'; + /** + * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the + * output more random, while lower values like 0.2 will make it more focused and + * deterministic. If set to 0, the model will use + * [log probability](https://en.wikipedia.org/wiki/Log_probability) to + * automatically increase the temperature until certain thresholds are hit. + */ + temperature?: number; +} +export declare namespace Translations { + export { type Translation as Translation, type TranslationVerbose as TranslationVerbose, type TranslationCreateResponse as TranslationCreateResponse, type TranslationCreateParams as TranslationCreateParams, }; +} +//# sourceMappingURL=translations.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..1386aa620c0beff6dc0c2cb8f42727892710f7e3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"translations.d.mts","sourceRoot":"","sources":["../../src/resources/audio/translations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,iBAAiB;OACtB,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,MAAM,GAAG,SAAS,CAAC,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,WAAW,CAAC;IAC1B,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,cAAc,CAAC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IACjC,MAAM,CAAC,IAAI,EAAE,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,uBAAuB,GACxD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8cbc6d352cc26fc59d80bce8d6eaa63977832067 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.ts @@ -0,0 +1,81 @@ +import { APIResource } from "../../core/resource.js"; +import * as AudioAPI from "./audio.js"; +import * as TranscriptionsAPI from "./transcriptions.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { type Uploadable } from "../../core/uploads.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Translations extends APIResource { + /** + * Translates audio into English. + * + * @example + * ```ts + * const translation = await client.audio.translations.create({ + * file: fs.createReadStream('speech.mp3'), + * model: 'whisper-1', + * }); + * ``` + */ + create(body: TranslationCreateParams<'json' | undefined>, options?: RequestOptions): APIPromise; + create(body: TranslationCreateParams<'verbose_json'>, options?: RequestOptions): APIPromise; + create(body: TranslationCreateParams<'text' | 'srt' | 'vtt'>, options?: RequestOptions): APIPromise; + create(body: TranslationCreateParams, options?: RequestOptions): APIPromise; +} +export interface Translation { + text: string; +} +export interface TranslationVerbose { + /** + * The duration of the input audio. + */ + duration: number; + /** + * The language of the output translation (always `english`). + */ + language: string; + /** + * The translated text. + */ + text: string; + /** + * Segments of the translated text and their corresponding details. + */ + segments?: Array; +} +export type TranslationCreateResponse = Translation | TranslationVerbose; +export interface TranslationCreateParams { + /** + * The audio file object (not file name) translate, in one of these formats: flac, + * mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + */ + file: Uploadable; + /** + * ID of the model to use. Only `whisper-1` (which is powered by our open source + * Whisper V2 model) is currently available. + */ + model: (string & {}) | AudioAPI.AudioModel; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. The + * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) + * should be in English. + */ + prompt?: string; + /** + * The format of the output, in one of these options: `json`, `text`, `srt`, + * `verbose_json`, or `vtt`. + */ + response_format?: 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'; + /** + * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the + * output more random, while lower values like 0.2 will make it more focused and + * deterministic. If set to 0, the model will use + * [log probability](https://en.wikipedia.org/wiki/Log_probability) to + * automatically increase the temperature until certain thresholds are hit. + */ + temperature?: number; +} +export declare namespace Translations { + export { type Translation as Translation, type TranslationVerbose as TranslationVerbose, type TranslationCreateResponse as TranslationCreateResponse, type TranslationCreateParams as TranslationCreateParams, }; +} +//# sourceMappingURL=translations.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b228d619b6c5964458d2d2168582c6b49e6931e9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/resources/audio/translations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,iBAAiB;OACtB,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,MAAM,GAAG,SAAS,CAAC,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,WAAW,CAAC;IAC1B,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,cAAc,CAAC,EAC7C,OAAO,CAAC,EAA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kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.js new file mode 100644 index 0000000000000000000000000000000000000000..75db79f95e39ed8bbb5f5d0b182e3a08ef556330 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.js @@ -0,0 +1,13 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Translations = void 0; +const resource_1 = require("../../core/resource.js"); +const uploads_1 = require("../../internal/uploads.js"); +class Translations extends resource_1.APIResource { + create(body, options) { + return this._client.post('/audio/translations', (0, uploads_1.multipartFormRequestOptions)({ body, ...options, __metadata: { model: body.model } }, this._client)); + } +} +exports.Translations = Translations; +//# sourceMappingURL=translations.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.js.map new file mode 100644 index 0000000000000000000000000000000000000000..4e9b97c6ebdcc471825920ac3e54f7bde16bf755 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.js.map @@ -0,0 +1 @@ +{"version":3,"file":"translations.js","sourceRoot":"","sources":["../../src/resources/audio/translations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAMlD,uDAAqE;AAErE,MAAa,YAAa,SAAQ,sBAAW;IAsB3C,MAAM,CACJ,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,qBAAqB,EACrB,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CACnG,CAAC;IACJ,CAAC;CACF;AA/BD,oCA+BC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ef232b6910ed90bfa268b82ff70b03f848683ff1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.mjs @@ -0,0 +1,9 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { multipartFormRequestOptions } from "../../internal/uploads.mjs"; +export class Translations extends APIResource { + create(body, options) { + return this._client.post('/audio/translations', multipartFormRequestOptions({ body, ...options, __metadata: { model: body.model } }, this._client)); + } +} +//# sourceMappingURL=translations.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c81b19c739c1f34776a9d0f0a448fdac70bde6b6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/audio/translations.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"translations.mjs","sourceRoot":"","sources":["../../src/resources/audio/translations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,EAAE,2BAA2B,EAAE;AAEtC,MAAM,OAAO,YAAa,SAAQ,WAAW;IAsB3C,MAAM,CACJ,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,qBAAqB,EACrB,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CACnG,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a3a62149f9e540777726fd47c64e74e7534230ed --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.mts @@ -0,0 +1,1232 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as Shared from "../shared.mjs"; +import * as MessagesAPI from "./threads/messages.mjs"; +import * as ThreadsAPI from "./threads/threads.mjs"; +import * as RunsAPI from "./threads/runs/runs.mjs"; +import * as StepsAPI from "./threads/runs/steps.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +import { AssistantStream } from "../../lib/AssistantStream.mjs"; +export declare class Assistants extends APIResource { + /** + * Create an assistant with a model and instructions. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.create({ + * model: 'gpt-4o', + * }); + * ``` + */ + create(body: AssistantCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.retrieve( + * 'assistant_id', + * ); + * ``` + */ + retrieve(assistantID: string, options?: RequestOptions): APIPromise; + /** + * Modifies an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.update( + * 'assistant_id', + * ); + * ``` + */ + update(assistantID: string, body: AssistantUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of assistants. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const assistant of client.beta.assistants.list()) { + * // ... + * } + * ``` + */ + list(query?: AssistantListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an assistant. + * + * @example + * ```ts + * const assistantDeleted = + * await client.beta.assistants.delete('assistant_id'); + * ``` + */ + delete(assistantID: string, options?: RequestOptions): APIPromise; +} +export type AssistantsPage = CursorPage; +/** + * Represents an `assistant` that can call the model and use tools. + */ +export interface Assistant { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the assistant was created. + */ + created_at: number; + /** + * The description of the assistant. The maximum length is 512 characters. + */ + description: string | null; + /** + * The system instructions that the assistant uses. The maximum length is 256,000 + * characters. + */ + instructions: string | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * ID of the model to use. You can use the + * [List models](https://platform.openai.com/docs/api-reference/models/list) API to + * see all of your available models, or see our + * [Model overview](https://platform.openai.com/docs/models) for descriptions of + * them. + */ + model: string; + /** + * The name of the assistant. The maximum length is 256 characters. + */ + name: string | null; + /** + * The object type, which is always `assistant`. + */ + object: 'assistant'; + /** + * A list of tool enabled on the assistant. There can be a maximum of 128 tools per + * assistant. Tools can be of types `code_interpreter`, `file_search`, or + * `function`. + */ + tools: Array; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: Assistant.ToolResources | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; +} +export declare namespace Assistant { + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter`` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } +} +export interface AssistantDeleted { + id: string; + deleted: boolean; + object: 'assistant.deleted'; +} +/** + * Represents an event emitted when streaming a Run. + * + * Each event in a server-sent events stream has an `event` and `data` property: + * + * ``` + * event: thread.created + * data: {"id": "thread_123", "object": "thread", ...} + * ``` + * + * We emit events whenever a new object is created, transitions to a new state, or + * is being streamed in parts (deltas). For example, we emit `thread.run.created` + * when a new run is created, `thread.run.completed` when a run completes, and so + * on. When an Assistant chooses to create a message during a run, we emit a + * `thread.message.created event`, a `thread.message.in_progress` event, many + * `thread.message.delta` events, and finally a `thread.message.completed` event. + * + * We may add additional events over time, so we recommend handling unknown events + * gracefully in your code. See the + * [Assistants API quickstart](https://platform.openai.com/docs/assistants/overview) + * to learn how to integrate the Assistants API with streaming. + */ +export type AssistantStreamEvent = AssistantStreamEvent.ThreadCreated | AssistantStreamEvent.ThreadRunCreated | AssistantStreamEvent.ThreadRunQueued | AssistantStreamEvent.ThreadRunInProgress | AssistantStreamEvent.ThreadRunRequiresAction | AssistantStreamEvent.ThreadRunCompleted | AssistantStreamEvent.ThreadRunIncomplete | AssistantStreamEvent.ThreadRunFailed | AssistantStreamEvent.ThreadRunCancelling | AssistantStreamEvent.ThreadRunCancelled | AssistantStreamEvent.ThreadRunExpired | AssistantStreamEvent.ThreadRunStepCreated | AssistantStreamEvent.ThreadRunStepInProgress | AssistantStreamEvent.ThreadRunStepDelta | AssistantStreamEvent.ThreadRunStepCompleted | AssistantStreamEvent.ThreadRunStepFailed | AssistantStreamEvent.ThreadRunStepCancelled | AssistantStreamEvent.ThreadRunStepExpired | AssistantStreamEvent.ThreadMessageCreated | AssistantStreamEvent.ThreadMessageInProgress | AssistantStreamEvent.ThreadMessageDelta | AssistantStreamEvent.ThreadMessageCompleted | AssistantStreamEvent.ThreadMessageIncomplete | AssistantStreamEvent.ErrorEvent; +export declare namespace AssistantStreamEvent { + /** + * Occurs when a new + * [thread](https://platform.openai.com/docs/api-reference/threads/object) is + * created. + */ + interface ThreadCreated { + /** + * Represents a thread that contains + * [messages](https://platform.openai.com/docs/api-reference/messages). + */ + data: ThreadsAPI.Thread; + event: 'thread.created'; + /** + * Whether to enable input audio transcription. + */ + enabled?: boolean; + } + /** + * Occurs when a new + * [run](https://platform.openai.com/docs/api-reference/runs/object) is created. + */ + interface ThreadRunCreated { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.created'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `queued` status. + */ + interface ThreadRunQueued { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.queued'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to an `in_progress` status. + */ + interface ThreadRunInProgress { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.in_progress'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `requires_action` status. + */ + interface ThreadRunRequiresAction { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.requires_action'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is completed. + */ + interface ThreadRunCompleted { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.completed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * ends with status `incomplete`. + */ + interface ThreadRunIncomplete { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.incomplete'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * fails. + */ + interface ThreadRunFailed { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.failed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `cancelling` status. + */ + interface ThreadRunCancelling { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelling'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is cancelled. + */ + interface ThreadRunCancelled { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelled'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * expires. + */ + interface ThreadRunExpired { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.expired'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is created. + */ + interface ThreadRunStepCreated { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.created'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * moves to an `in_progress` state. + */ + interface ThreadRunStepInProgress { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.in_progress'; + } + /** + * Occurs when parts of a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * are being streamed. + */ + interface ThreadRunStepDelta { + /** + * Represents a run step delta i.e. any changed fields on a run step during + * streaming. + */ + data: StepsAPI.RunStepDeltaEvent; + event: 'thread.run.step.delta'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is completed. + */ + interface ThreadRunStepCompleted { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.completed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * fails. + */ + interface ThreadRunStepFailed { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.failed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is cancelled. + */ + interface ThreadRunStepCancelled { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.cancelled'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * expires. + */ + interface ThreadRunStepExpired { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.expired'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * created. + */ + interface ThreadMessageCreated { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.created'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) moves + * to an `in_progress` state. + */ + interface ThreadMessageInProgress { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.in_progress'; + } + /** + * Occurs when parts of a + * [Message](https://platform.openai.com/docs/api-reference/messages/object) are + * being streamed. + */ + interface ThreadMessageDelta { + /** + * Represents a message delta i.e. any changed fields on a message during + * streaming. + */ + data: MessagesAPI.MessageDeltaEvent; + event: 'thread.message.delta'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * completed. + */ + interface ThreadMessageCompleted { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.completed'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) ends + * before it is completed. + */ + interface ThreadMessageIncomplete { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.incomplete'; + } + /** + * Occurs when an + * [error](https://platform.openai.com/docs/guides/error-codes#api-errors) occurs. + * This can happen due to an internal server error or a timeout. + */ + interface ErrorEvent { + data: Shared.ErrorObject; + event: 'error'; + } +} +export type AssistantTool = CodeInterpreterTool | FileSearchTool | FunctionTool; +export interface CodeInterpreterTool { + /** + * The type of tool being defined: `code_interpreter` + */ + type: 'code_interpreter'; +} +export interface FileSearchTool { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + /** + * Overrides for the file search tool. + */ + file_search?: FileSearchTool.FileSearch; +} +export declare namespace FileSearchTool { + /** + * Overrides for the file search tool. + */ + interface FileSearch { + /** + * The maximum number of results the file search tool should output. The default is + * 20 for `gpt-4*` models and 5 for `gpt-3.5-turbo`. This number should be between + * 1 and 50 inclusive. + * + * Note that the file search tool may output fewer than `max_num_results` results. + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + max_num_results?: number; + /** + * The ranking options for the file search. If not specified, the file search tool + * will use the `auto` ranker and a score_threshold of 0. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + ranking_options?: FileSearch.RankingOptions; + } + namespace FileSearch { + /** + * The ranking options for the file search. If not specified, the file search tool + * will use the `auto` ranker and a score_threshold of 0. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + interface RankingOptions { + /** + * The score threshold for the file search. All values must be a floating point + * number between 0 and 1. + */ + score_threshold: number; + /** + * The ranker to use for the file search. If not specified will use the `auto` + * ranker. + */ + ranker?: 'auto' | 'default_2024_08_21'; + } + } +} +export interface FunctionTool { + function: Shared.FunctionDefinition; + /** + * The type of tool being defined: `function` + */ + type: 'function'; +} +/** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * created. + */ +export type MessageStreamEvent = MessageStreamEvent.ThreadMessageCreated | MessageStreamEvent.ThreadMessageInProgress | MessageStreamEvent.ThreadMessageDelta | MessageStreamEvent.ThreadMessageCompleted | MessageStreamEvent.ThreadMessageIncomplete; +export declare namespace MessageStreamEvent { + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * created. + */ + interface ThreadMessageCreated { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.created'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) moves + * to an `in_progress` state. + */ + interface ThreadMessageInProgress { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.in_progress'; + } + /** + * Occurs when parts of a + * [Message](https://platform.openai.com/docs/api-reference/messages/object) are + * being streamed. + */ + interface ThreadMessageDelta { + /** + * Represents a message delta i.e. any changed fields on a message during + * streaming. + */ + data: MessagesAPI.MessageDeltaEvent; + event: 'thread.message.delta'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * completed. + */ + interface ThreadMessageCompleted { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.completed'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) ends + * before it is completed. + */ + interface ThreadMessageIncomplete { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.incomplete'; + } +} +/** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is created. + */ +export type RunStepStreamEvent = RunStepStreamEvent.ThreadRunStepCreated | RunStepStreamEvent.ThreadRunStepInProgress | RunStepStreamEvent.ThreadRunStepDelta | RunStepStreamEvent.ThreadRunStepCompleted | RunStepStreamEvent.ThreadRunStepFailed | RunStepStreamEvent.ThreadRunStepCancelled | RunStepStreamEvent.ThreadRunStepExpired; +export declare namespace RunStepStreamEvent { + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is created. + */ + interface ThreadRunStepCreated { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.created'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * moves to an `in_progress` state. + */ + interface ThreadRunStepInProgress { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.in_progress'; + } + /** + * Occurs when parts of a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * are being streamed. + */ + interface ThreadRunStepDelta { + /** + * Represents a run step delta i.e. any changed fields on a run step during + * streaming. + */ + data: StepsAPI.RunStepDeltaEvent; + event: 'thread.run.step.delta'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is completed. + */ + interface ThreadRunStepCompleted { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.completed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * fails. + */ + interface ThreadRunStepFailed { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.failed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is cancelled. + */ + interface ThreadRunStepCancelled { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.cancelled'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * expires. + */ + interface ThreadRunStepExpired { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.expired'; + } +} +/** + * Occurs when a new + * [run](https://platform.openai.com/docs/api-reference/runs/object) is created. + */ +export type RunStreamEvent = RunStreamEvent.ThreadRunCreated | RunStreamEvent.ThreadRunQueued | RunStreamEvent.ThreadRunInProgress | RunStreamEvent.ThreadRunRequiresAction | RunStreamEvent.ThreadRunCompleted | RunStreamEvent.ThreadRunIncomplete | RunStreamEvent.ThreadRunFailed | RunStreamEvent.ThreadRunCancelling | RunStreamEvent.ThreadRunCancelled | RunStreamEvent.ThreadRunExpired; +export declare namespace RunStreamEvent { + /** + * Occurs when a new + * [run](https://platform.openai.com/docs/api-reference/runs/object) is created. + */ + interface ThreadRunCreated { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.created'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `queued` status. + */ + interface ThreadRunQueued { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.queued'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to an `in_progress` status. + */ + interface ThreadRunInProgress { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.in_progress'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `requires_action` status. + */ + interface ThreadRunRequiresAction { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.requires_action'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is completed. + */ + interface ThreadRunCompleted { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.completed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * ends with status `incomplete`. + */ + interface ThreadRunIncomplete { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.incomplete'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * fails. + */ + interface ThreadRunFailed { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.failed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `cancelling` status. + */ + interface ThreadRunCancelling { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelling'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is cancelled. + */ + interface ThreadRunCancelled { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelled'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * expires. + */ + interface ThreadRunExpired { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.expired'; + } +} +/** + * Occurs when a new + * [thread](https://platform.openai.com/docs/api-reference/threads/object) is + * created. + */ +export interface ThreadStreamEvent { + /** + * Represents a thread that contains + * [messages](https://platform.openai.com/docs/api-reference/messages). + */ + data: ThreadsAPI.Thread; + event: 'thread.created'; + /** + * Whether to enable input audio transcription. + */ + enabled?: boolean; +} +export interface AssistantCreateParams { + /** + * ID of the model to use. You can use the + * [List models](https://platform.openai.com/docs/api-reference/models/list) API to + * see all of your available models, or see our + * [Model overview](https://platform.openai.com/docs/models) for descriptions of + * them. + */ + model: (string & {}) | Shared.ChatModel; + /** + * The description of the assistant. The maximum length is 512 characters. + */ + description?: string | null; + /** + * The system instructions that the assistant uses. The maximum length is 256,000 + * characters. + */ + instructions?: string | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the assistant. The maximum length is 256 characters. + */ + name?: string | null; + /** + * Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: AssistantCreateParams.ToolResources | null; + /** + * A list of tool enabled on the assistant. There can be a maximum of 128 tools per + * assistant. Tools can be of types `code_interpreter`, `file_search`, or + * `function`. + */ + tools?: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; +} +export declare namespace AssistantCreateParams { + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this assistant. There can be a maximum of 1 + * vector store attached to the assistant. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. + */ + chunking_strategy?: VectorStore.Auto | VectorStore.Static; + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace VectorStore { + /** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ + interface Auto { + /** + * Always `auto`. + */ + type: 'auto'; + } + interface Static { + static: Static.Static; + /** + * Always `static`. + */ + type: 'static'; + } + namespace Static { + interface Static { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; + } + } + } + } + } +} +export interface AssistantUpdateParams { + /** + * The description of the assistant. The maximum length is 512 characters. + */ + description?: string | null; + /** + * The system instructions that the assistant uses. The maximum length is 256,000 + * characters. + */ + instructions?: string | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * ID of the model to use. You can use the + * [List models](https://platform.openai.com/docs/api-reference/models/list) API to + * see all of your available models, or see our + * [Model overview](https://platform.openai.com/docs/models) for descriptions of + * them. + */ + model?: (string & {}) | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-2025-08-07' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano-2025-08-07' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano-2025-04-14' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o1' | 'o1-2024-12-17' | 'gpt-4o' | 'gpt-4o-2024-11-20' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-05-13' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4.5-preview' | 'gpt-4.5-preview-2025-02-27' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613'; + /** + * The name of the assistant. The maximum length is 256 characters. + */ + name?: string | null; + /** + * Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: AssistantUpdateParams.ToolResources | null; + /** + * A list of tool enabled on the assistant. There can be a maximum of 128 tools per + * assistant. Tools can be of types `code_interpreter`, `file_search`, or + * `function`. + */ + tools?: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; +} +export declare namespace AssistantUpdateParams { + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * Overrides the list of + * [file](https://platform.openai.com/docs/api-reference/files) IDs made available + * to the `code_interpreter` tool. There can be a maximum of 20 files associated + * with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * Overrides the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } +} +export interface AssistantListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Assistants { + export { type Assistant as Assistant, type AssistantDeleted as AssistantDeleted, type AssistantStreamEvent as AssistantStreamEvent, type AssistantTool as AssistantTool, type CodeInterpreterTool as CodeInterpreterTool, type FileSearchTool as FileSearchTool, type FunctionTool as FunctionTool, type MessageStreamEvent as MessageStreamEvent, type RunStepStreamEvent as RunStepStreamEvent, type RunStreamEvent as RunStreamEvent, type ThreadStreamEvent as ThreadStreamEvent, type AssistantsPage as AssistantsPage, type AssistantCreateParams as AssistantCreateParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantListParams as AssistantListParams, }; + export { AssistantStream }; +} +//# sourceMappingURL=assistants.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..aefad493d59e39163c1c11b7bba078c1462de39c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"assistants.d.mts","sourceRoot":"","sources":["../../src/resources/beta/assistants.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,KAAK,UAAU;OACf,KAAK,OAAO;OACZ,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;OAElB,EAAE,eAAe,EAAE;AAE1B,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAQpF;;;;;;;;;OASG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAO9E;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAQzG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,cAAc,EAAE,SAAS,CAAC;IAQzC;;;;;;;;OAQG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAMpF;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,U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SAC1B;QAED,UAAiB,UAAU;YACzB;;;;;eAKG;YACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;SAClC;KACF;CACF;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a5cb2527f2a8fc3dc08317641039ce7767848281 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.ts @@ -0,0 +1,1232 @@ +import { APIResource } from "../../core/resource.js"; +import * as Shared from "../shared.js"; +import * as MessagesAPI from "./threads/messages.js"; +import * as ThreadsAPI from "./threads/threads.js"; +import * as RunsAPI from "./threads/runs/runs.js"; +import * as StepsAPI from "./threads/runs/steps.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +import { AssistantStream } from "../../lib/AssistantStream.js"; +export declare class Assistants extends APIResource { + /** + * Create an assistant with a model and instructions. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.create({ + * model: 'gpt-4o', + * }); + * ``` + */ + create(body: AssistantCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.retrieve( + * 'assistant_id', + * ); + * ``` + */ + retrieve(assistantID: string, options?: RequestOptions): APIPromise; + /** + * Modifies an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.update( + * 'assistant_id', + * ); + * ``` + */ + update(assistantID: string, body: AssistantUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of assistants. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const assistant of client.beta.assistants.list()) { + * // ... + * } + * ``` + */ + list(query?: AssistantListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an assistant. + * + * @example + * ```ts + * const assistantDeleted = + * await client.beta.assistants.delete('assistant_id'); + * ``` + */ + delete(assistantID: string, options?: RequestOptions): APIPromise; +} +export type AssistantsPage = CursorPage; +/** + * Represents an `assistant` that can call the model and use tools. + */ +export interface Assistant { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the assistant was created. + */ + created_at: number; + /** + * The description of the assistant. The maximum length is 512 characters. + */ + description: string | null; + /** + * The system instructions that the assistant uses. The maximum length is 256,000 + * characters. + */ + instructions: string | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * ID of the model to use. You can use the + * [List models](https://platform.openai.com/docs/api-reference/models/list) API to + * see all of your available models, or see our + * [Model overview](https://platform.openai.com/docs/models) for descriptions of + * them. + */ + model: string; + /** + * The name of the assistant. The maximum length is 256 characters. + */ + name: string | null; + /** + * The object type, which is always `assistant`. + */ + object: 'assistant'; + /** + * A list of tool enabled on the assistant. There can be a maximum of 128 tools per + * assistant. Tools can be of types `code_interpreter`, `file_search`, or + * `function`. + */ + tools: Array; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: Assistant.ToolResources | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; +} +export declare namespace Assistant { + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter`` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } +} +export interface AssistantDeleted { + id: string; + deleted: boolean; + object: 'assistant.deleted'; +} +/** + * Represents an event emitted when streaming a Run. + * + * Each event in a server-sent events stream has an `event` and `data` property: + * + * ``` + * event: thread.created + * data: {"id": "thread_123", "object": "thread", ...} + * ``` + * + * We emit events whenever a new object is created, transitions to a new state, or + * is being streamed in parts (deltas). For example, we emit `thread.run.created` + * when a new run is created, `thread.run.completed` when a run completes, and so + * on. When an Assistant chooses to create a message during a run, we emit a + * `thread.message.created event`, a `thread.message.in_progress` event, many + * `thread.message.delta` events, and finally a `thread.message.completed` event. + * + * We may add additional events over time, so we recommend handling unknown events + * gracefully in your code. See the + * [Assistants API quickstart](https://platform.openai.com/docs/assistants/overview) + * to learn how to integrate the Assistants API with streaming. + */ +export type AssistantStreamEvent = AssistantStreamEvent.ThreadCreated | AssistantStreamEvent.ThreadRunCreated | AssistantStreamEvent.ThreadRunQueued | AssistantStreamEvent.ThreadRunInProgress | AssistantStreamEvent.ThreadRunRequiresAction | AssistantStreamEvent.ThreadRunCompleted | AssistantStreamEvent.ThreadRunIncomplete | AssistantStreamEvent.ThreadRunFailed | AssistantStreamEvent.ThreadRunCancelling | AssistantStreamEvent.ThreadRunCancelled | AssistantStreamEvent.ThreadRunExpired | AssistantStreamEvent.ThreadRunStepCreated | AssistantStreamEvent.ThreadRunStepInProgress | AssistantStreamEvent.ThreadRunStepDelta | AssistantStreamEvent.ThreadRunStepCompleted | AssistantStreamEvent.ThreadRunStepFailed | AssistantStreamEvent.ThreadRunStepCancelled | AssistantStreamEvent.ThreadRunStepExpired | AssistantStreamEvent.ThreadMessageCreated | AssistantStreamEvent.ThreadMessageInProgress | AssistantStreamEvent.ThreadMessageDelta | AssistantStreamEvent.ThreadMessageCompleted | AssistantStreamEvent.ThreadMessageIncomplete | AssistantStreamEvent.ErrorEvent; +export declare namespace AssistantStreamEvent { + /** + * Occurs when a new + * [thread](https://platform.openai.com/docs/api-reference/threads/object) is + * created. + */ + interface ThreadCreated { + /** + * Represents a thread that contains + * [messages](https://platform.openai.com/docs/api-reference/messages). + */ + data: ThreadsAPI.Thread; + event: 'thread.created'; + /** + * Whether to enable input audio transcription. + */ + enabled?: boolean; + } + /** + * Occurs when a new + * [run](https://platform.openai.com/docs/api-reference/runs/object) is created. + */ + interface ThreadRunCreated { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.created'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `queued` status. + */ + interface ThreadRunQueued { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.queued'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to an `in_progress` status. + */ + interface ThreadRunInProgress { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.in_progress'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `requires_action` status. + */ + interface ThreadRunRequiresAction { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.requires_action'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is completed. + */ + interface ThreadRunCompleted { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.completed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * ends with status `incomplete`. + */ + interface ThreadRunIncomplete { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.incomplete'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * fails. + */ + interface ThreadRunFailed { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.failed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `cancelling` status. + */ + interface ThreadRunCancelling { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelling'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is cancelled. + */ + interface ThreadRunCancelled { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelled'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * expires. + */ + interface ThreadRunExpired { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.expired'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is created. + */ + interface ThreadRunStepCreated { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.created'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * moves to an `in_progress` state. + */ + interface ThreadRunStepInProgress { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.in_progress'; + } + /** + * Occurs when parts of a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * are being streamed. + */ + interface ThreadRunStepDelta { + /** + * Represents a run step delta i.e. any changed fields on a run step during + * streaming. + */ + data: StepsAPI.RunStepDeltaEvent; + event: 'thread.run.step.delta'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is completed. + */ + interface ThreadRunStepCompleted { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.completed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * fails. + */ + interface ThreadRunStepFailed { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.failed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is cancelled. + */ + interface ThreadRunStepCancelled { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.cancelled'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * expires. + */ + interface ThreadRunStepExpired { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.expired'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * created. + */ + interface ThreadMessageCreated { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.created'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) moves + * to an `in_progress` state. + */ + interface ThreadMessageInProgress { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.in_progress'; + } + /** + * Occurs when parts of a + * [Message](https://platform.openai.com/docs/api-reference/messages/object) are + * being streamed. + */ + interface ThreadMessageDelta { + /** + * Represents a message delta i.e. any changed fields on a message during + * streaming. + */ + data: MessagesAPI.MessageDeltaEvent; + event: 'thread.message.delta'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * completed. + */ + interface ThreadMessageCompleted { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.completed'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) ends + * before it is completed. + */ + interface ThreadMessageIncomplete { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.incomplete'; + } + /** + * Occurs when an + * [error](https://platform.openai.com/docs/guides/error-codes#api-errors) occurs. + * This can happen due to an internal server error or a timeout. + */ + interface ErrorEvent { + data: Shared.ErrorObject; + event: 'error'; + } +} +export type AssistantTool = CodeInterpreterTool | FileSearchTool | FunctionTool; +export interface CodeInterpreterTool { + /** + * The type of tool being defined: `code_interpreter` + */ + type: 'code_interpreter'; +} +export interface FileSearchTool { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + /** + * Overrides for the file search tool. + */ + file_search?: FileSearchTool.FileSearch; +} +export declare namespace FileSearchTool { + /** + * Overrides for the file search tool. + */ + interface FileSearch { + /** + * The maximum number of results the file search tool should output. The default is + * 20 for `gpt-4*` models and 5 for `gpt-3.5-turbo`. This number should be between + * 1 and 50 inclusive. + * + * Note that the file search tool may output fewer than `max_num_results` results. + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + max_num_results?: number; + /** + * The ranking options for the file search. If not specified, the file search tool + * will use the `auto` ranker and a score_threshold of 0. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + ranking_options?: FileSearch.RankingOptions; + } + namespace FileSearch { + /** + * The ranking options for the file search. If not specified, the file search tool + * will use the `auto` ranker and a score_threshold of 0. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + interface RankingOptions { + /** + * The score threshold for the file search. All values must be a floating point + * number between 0 and 1. + */ + score_threshold: number; + /** + * The ranker to use for the file search. If not specified will use the `auto` + * ranker. + */ + ranker?: 'auto' | 'default_2024_08_21'; + } + } +} +export interface FunctionTool { + function: Shared.FunctionDefinition; + /** + * The type of tool being defined: `function` + */ + type: 'function'; +} +/** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * created. + */ +export type MessageStreamEvent = MessageStreamEvent.ThreadMessageCreated | MessageStreamEvent.ThreadMessageInProgress | MessageStreamEvent.ThreadMessageDelta | MessageStreamEvent.ThreadMessageCompleted | MessageStreamEvent.ThreadMessageIncomplete; +export declare namespace MessageStreamEvent { + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * created. + */ + interface ThreadMessageCreated { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.created'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) moves + * to an `in_progress` state. + */ + interface ThreadMessageInProgress { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.in_progress'; + } + /** + * Occurs when parts of a + * [Message](https://platform.openai.com/docs/api-reference/messages/object) are + * being streamed. + */ + interface ThreadMessageDelta { + /** + * Represents a message delta i.e. any changed fields on a message during + * streaming. + */ + data: MessagesAPI.MessageDeltaEvent; + event: 'thread.message.delta'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) is + * completed. + */ + interface ThreadMessageCompleted { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.completed'; + } + /** + * Occurs when a + * [message](https://platform.openai.com/docs/api-reference/messages/object) ends + * before it is completed. + */ + interface ThreadMessageIncomplete { + /** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: MessagesAPI.Message; + event: 'thread.message.incomplete'; + } +} +/** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is created. + */ +export type RunStepStreamEvent = RunStepStreamEvent.ThreadRunStepCreated | RunStepStreamEvent.ThreadRunStepInProgress | RunStepStreamEvent.ThreadRunStepDelta | RunStepStreamEvent.ThreadRunStepCompleted | RunStepStreamEvent.ThreadRunStepFailed | RunStepStreamEvent.ThreadRunStepCancelled | RunStepStreamEvent.ThreadRunStepExpired; +export declare namespace RunStepStreamEvent { + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is created. + */ + interface ThreadRunStepCreated { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.created'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * moves to an `in_progress` state. + */ + interface ThreadRunStepInProgress { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.in_progress'; + } + /** + * Occurs when parts of a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * are being streamed. + */ + interface ThreadRunStepDelta { + /** + * Represents a run step delta i.e. any changed fields on a run step during + * streaming. + */ + data: StepsAPI.RunStepDeltaEvent; + event: 'thread.run.step.delta'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is completed. + */ + interface ThreadRunStepCompleted { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.completed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * fails. + */ + interface ThreadRunStepFailed { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.failed'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * is cancelled. + */ + interface ThreadRunStepCancelled { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.cancelled'; + } + /** + * Occurs when a + * [run step](https://platform.openai.com/docs/api-reference/run-steps/step-object) + * expires. + */ + interface ThreadRunStepExpired { + /** + * Represents a step in execution of a run. + */ + data: StepsAPI.RunStep; + event: 'thread.run.step.expired'; + } +} +/** + * Occurs when a new + * [run](https://platform.openai.com/docs/api-reference/runs/object) is created. + */ +export type RunStreamEvent = RunStreamEvent.ThreadRunCreated | RunStreamEvent.ThreadRunQueued | RunStreamEvent.ThreadRunInProgress | RunStreamEvent.ThreadRunRequiresAction | RunStreamEvent.ThreadRunCompleted | RunStreamEvent.ThreadRunIncomplete | RunStreamEvent.ThreadRunFailed | RunStreamEvent.ThreadRunCancelling | RunStreamEvent.ThreadRunCancelled | RunStreamEvent.ThreadRunExpired; +export declare namespace RunStreamEvent { + /** + * Occurs when a new + * [run](https://platform.openai.com/docs/api-reference/runs/object) is created. + */ + interface ThreadRunCreated { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.created'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `queued` status. + */ + interface ThreadRunQueued { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.queued'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to an `in_progress` status. + */ + interface ThreadRunInProgress { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.in_progress'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `requires_action` status. + */ + interface ThreadRunRequiresAction { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.requires_action'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is completed. + */ + interface ThreadRunCompleted { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.completed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * ends with status `incomplete`. + */ + interface ThreadRunIncomplete { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.incomplete'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * fails. + */ + interface ThreadRunFailed { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.failed'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * moves to a `cancelling` status. + */ + interface ThreadRunCancelling { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelling'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * is cancelled. + */ + interface ThreadRunCancelled { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.cancelled'; + } + /** + * Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) + * expires. + */ + interface ThreadRunExpired { + /** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ + data: RunsAPI.Run; + event: 'thread.run.expired'; + } +} +/** + * Occurs when a new + * [thread](https://platform.openai.com/docs/api-reference/threads/object) is + * created. + */ +export interface ThreadStreamEvent { + /** + * Represents a thread that contains + * [messages](https://platform.openai.com/docs/api-reference/messages). + */ + data: ThreadsAPI.Thread; + event: 'thread.created'; + /** + * Whether to enable input audio transcription. + */ + enabled?: boolean; +} +export interface AssistantCreateParams { + /** + * ID of the model to use. You can use the + * [List models](https://platform.openai.com/docs/api-reference/models/list) API to + * see all of your available models, or see our + * [Model overview](https://platform.openai.com/docs/models) for descriptions of + * them. + */ + model: (string & {}) | Shared.ChatModel; + /** + * The description of the assistant. The maximum length is 512 characters. + */ + description?: string | null; + /** + * The system instructions that the assistant uses. The maximum length is 256,000 + * characters. + */ + instructions?: string | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the assistant. The maximum length is 256 characters. + */ + name?: string | null; + /** + * Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: AssistantCreateParams.ToolResources | null; + /** + * A list of tool enabled on the assistant. There can be a maximum of 128 tools per + * assistant. Tools can be of types `code_interpreter`, `file_search`, or + * `function`. + */ + tools?: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; +} +export declare namespace AssistantCreateParams { + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this assistant. There can be a maximum of 1 + * vector store attached to the assistant. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. + */ + chunking_strategy?: VectorStore.Auto | VectorStore.Static; + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace VectorStore { + /** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ + interface Auto { + /** + * Always `auto`. + */ + type: 'auto'; + } + interface Static { + static: Static.Static; + /** + * Always `static`. + */ + type: 'static'; + } + namespace Static { + interface Static { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; + } + } + } + } + } +} +export interface AssistantUpdateParams { + /** + * The description of the assistant. The maximum length is 512 characters. + */ + description?: string | null; + /** + * The system instructions that the assistant uses. The maximum length is 256,000 + * characters. + */ + instructions?: string | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * ID of the model to use. You can use the + * [List models](https://platform.openai.com/docs/api-reference/models/list) API to + * see all of your available models, or see our + * [Model overview](https://platform.openai.com/docs/models) for descriptions of + * them. + */ + model?: (string & {}) | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-2025-08-07' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano-2025-08-07' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano-2025-04-14' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o1' | 'o1-2024-12-17' | 'gpt-4o' | 'gpt-4o-2024-11-20' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-05-13' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4.5-preview' | 'gpt-4.5-preview-2025-02-27' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613'; + /** + * The name of the assistant. The maximum length is 256 characters. + */ + name?: string | null; + /** + * Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: AssistantUpdateParams.ToolResources | null; + /** + * A list of tool enabled on the assistant. There can be a maximum of 128 tools per + * assistant. Tools can be of types `code_interpreter`, `file_search`, or + * `function`. + */ + tools?: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; +} +export declare namespace AssistantUpdateParams { + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * Overrides the list of + * [file](https://platform.openai.com/docs/api-reference/files) IDs made available + * to the `code_interpreter` tool. There can be a maximum of 20 files associated + * with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * Overrides the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } +} +export interface AssistantListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Assistants { + export { type Assistant as Assistant, type AssistantDeleted as AssistantDeleted, type AssistantStreamEvent as AssistantStreamEvent, type AssistantTool as AssistantTool, type CodeInterpreterTool as CodeInterpreterTool, type FileSearchTool as FileSearchTool, type FunctionTool as FunctionTool, type MessageStreamEvent as MessageStreamEvent, type RunStepStreamEvent as RunStepStreamEvent, type RunStreamEvent as RunStreamEvent, type ThreadStreamEvent as ThreadStreamEvent, type AssistantsPage as AssistantsPage, type AssistantCreateParams as AssistantCreateParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantListParams as AssistantListParams, }; + export { AssistantStream }; +} +//# sourceMappingURL=assistants.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..8efd7868490eb86c2529c0b299e6045ca11791a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"assistants.d.ts","sourceRoot":"","sources":["../../src/resources/beta/assistants.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,KAAK,UAAU;OACf,KAAK,OAAO;OACZ,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;OAElB,EAAE,eAAe,EAAE;AAE1B,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAQpF;;;;;;;;;OASG;IACH,QAAQ,CAAC,WAAW,EAAE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kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.js new file mode 100644 index 0000000000000000000000000000000000000000..fc093cd917fe1c79856212625909d58612f0c58e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.js @@ -0,0 +1,95 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Assistants = void 0; +const resource_1 = require("../../core/resource.js"); +const pagination_1 = require("../../core/pagination.js"); +const headers_1 = require("../../internal/headers.js"); +const path_1 = require("../../internal/utils/path.js"); +class Assistants extends resource_1.APIResource { + /** + * Create an assistant with a model and instructions. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.create({ + * model: 'gpt-4o', + * }); + * ``` + */ + create(body, options) { + return this._client.post('/assistants', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.retrieve( + * 'assistant_id', + * ); + * ``` + */ + retrieve(assistantID, options) { + return this._client.get((0, path_1.path) `/assistants/${assistantID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.update( + * 'assistant_id', + * ); + * ``` + */ + update(assistantID, body, options) { + return this._client.post((0, path_1.path) `/assistants/${assistantID}`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of assistants. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const assistant of client.beta.assistants.list()) { + * // ... + * } + * ``` + */ + list(query = {}, options) { + return this._client.getAPIList('/assistants', (pagination_1.CursorPage), { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete an assistant. + * + * @example + * ```ts + * const assistantDeleted = + * await client.beta.assistants.delete('assistant_id'); + * ``` + */ + delete(assistantID, options) { + return this._client.delete((0, path_1.path) `/assistants/${assistantID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +exports.Assistants = Assistants; +//# sourceMappingURL=assistants.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.js.map new file mode 100644 index 0000000000000000000000000000000000000000..90251aff89402b2b565540c07b7b4b5950d54627 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"assistants.js","sourceRoot":"","sources":["../../src/resources/beta/assistants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAOlD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAGjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO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OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AA3FD,gCA2FC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.mjs new file mode 100644 index 0000000000000000000000000000000000000000..34ca97ed04509d02b014cb18bda535b9831569ec --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.mjs @@ -0,0 +1,91 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { CursorPage } from "../../core/pagination.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Assistants extends APIResource { + /** + * Create an assistant with a model and instructions. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.create({ + * model: 'gpt-4o', + * }); + * ``` + */ + create(body, options) { + return this._client.post('/assistants', { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.retrieve( + * 'assistant_id', + * ); + * ``` + */ + retrieve(assistantID, options) { + return this._client.get(path `/assistants/${assistantID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies an assistant. + * + * @example + * ```ts + * const assistant = await client.beta.assistants.update( + * 'assistant_id', + * ); + * ``` + */ + update(assistantID, body, options) { + return this._client.post(path `/assistants/${assistantID}`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of assistants. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const assistant of client.beta.assistants.list()) { + * // ... + * } + * ``` + */ + list(query = {}, options) { + return this._client.getAPIList('/assistants', (CursorPage), { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete an assistant. + * + * @example + * ```ts + * const assistantDeleted = + * await client.beta.assistants.delete('assistant_id'); + * ``` + */ + delete(assistantID, options) { + return this._client.delete(path `/assistants/${assistantID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +//# sourceMappingURL=assistants.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..8ea6ae34a266317cc73f26d6bb50cd4a697c2032 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/assistants.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"assistants.mjs","sourceRoot":"","sources":["../../src/resources/beta/assistants.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAOf,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAGf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,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,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..04dc3cca78f412fd8e2c9a57f2f3ab48707ec593 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.mts @@ -0,0 +1,18 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as AssistantsAPI from "./assistants.mjs"; +import { Assistant, AssistantCreateParams, AssistantDeleted, AssistantListParams, AssistantStreamEvent, AssistantTool, AssistantUpdateParams, Assistants, AssistantsPage, CodeInterpreterTool, FileSearchTool, FunctionTool, MessageStreamEvent, RunStepStreamEvent, RunStreamEvent, ThreadStreamEvent } from "./assistants.mjs"; +import * as RealtimeAPI from "./realtime/realtime.mjs"; +import { ConversationCreatedEvent, ConversationItem, ConversationItemContent, ConversationItemCreateEvent, ConversationItemCreatedEvent, ConversationItemDeleteEvent, ConversationItemDeletedEvent, ConversationItemInputAudioTranscriptionCompletedEvent, ConversationItemInputAudioTranscriptionDeltaEvent, ConversationItemInputAudioTranscriptionFailedEvent, ConversationItemRetrieveEvent, ConversationItemTruncateEvent, ConversationItemTruncatedEvent, ConversationItemWithReference, ErrorEvent, InputAudioBufferAppendEvent, InputAudioBufferClearEvent, InputAudioBufferClearedEvent, InputAudioBufferCommitEvent, InputAudioBufferCommittedEvent, InputAudioBufferSpeechStartedEvent, InputAudioBufferSpeechStoppedEvent, RateLimitsUpdatedEvent, Realtime, RealtimeClientEvent, RealtimeResponse, RealtimeResponseStatus, RealtimeResponseUsage, RealtimeServerEvent, ResponseAudioDeltaEvent, ResponseAudioDoneEvent, ResponseAudioTranscriptDeltaEvent, ResponseAudioTranscriptDoneEvent, ResponseCancelEvent, ResponseContentPartAddedEvent, ResponseContentPartDoneEvent, ResponseCreateEvent, ResponseCreatedEvent, ResponseDoneEvent, ResponseFunctionCallArgumentsDeltaEvent, ResponseFunctionCallArgumentsDoneEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseTextDeltaEvent, ResponseTextDoneEvent, SessionCreatedEvent, SessionUpdateEvent, SessionUpdatedEvent, TranscriptionSessionUpdate, TranscriptionSessionUpdatedEvent } from "./realtime/realtime.mjs"; +import * as ThreadsAPI from "./threads/threads.mjs"; +import { AssistantResponseFormatOption, AssistantToolChoice, AssistantToolChoiceFunction, AssistantToolChoiceOption, Thread, ThreadCreateAndRunParams, ThreadCreateAndRunParamsNonStreaming, ThreadCreateAndRunParamsStreaming, ThreadCreateAndRunPollParams, ThreadCreateAndRunStreamParams, ThreadCreateParams, ThreadDeleted, ThreadUpdateParams, Threads } from "./threads/threads.mjs"; +export declare class Beta extends APIResource { + realtime: RealtimeAPI.Realtime; + assistants: AssistantsAPI.Assistants; + threads: ThreadsAPI.Threads; +} +export declare namespace Beta { + export { Realtime as Realtime, type ConversationCreatedEvent as ConversationCreatedEvent, type ConversationItem as ConversationItem, type ConversationItemContent as ConversationItemContent, type ConversationItemCreateEvent as ConversationItemCreateEvent, type ConversationItemCreatedEvent as ConversationItemCreatedEvent, type ConversationItemDeleteEvent as ConversationItemDeleteEvent, type ConversationItemDeletedEvent as ConversationItemDeletedEvent, type ConversationItemInputAudioTranscriptionCompletedEvent as ConversationItemInputAudioTranscriptionCompletedEvent, type ConversationItemInputAudioTranscriptionDeltaEvent as ConversationItemInputAudioTranscriptionDeltaEvent, type ConversationItemInputAudioTranscriptionFailedEvent as ConversationItemInputAudioTranscriptionFailedEvent, type ConversationItemRetrieveEvent as ConversationItemRetrieveEvent, type ConversationItemTruncateEvent as ConversationItemTruncateEvent, type ConversationItemTruncatedEvent as ConversationItemTruncatedEvent, type ConversationItemWithReference as ConversationItemWithReference, type ErrorEvent as ErrorEvent, type InputAudioBufferAppendEvent as InputAudioBufferAppendEvent, type InputAudioBufferClearEvent as InputAudioBufferClearEvent, type InputAudioBufferClearedEvent as InputAudioBufferClearedEvent, type InputAudioBufferCommitEvent as InputAudioBufferCommitEvent, type InputAudioBufferCommittedEvent as InputAudioBufferCommittedEvent, type InputAudioBufferSpeechStartedEvent as InputAudioBufferSpeechStartedEvent, type InputAudioBufferSpeechStoppedEvent as InputAudioBufferSpeechStoppedEvent, type RateLimitsUpdatedEvent as RateLimitsUpdatedEvent, type RealtimeClientEvent as RealtimeClientEvent, type RealtimeResponse as RealtimeResponse, type RealtimeResponseStatus as RealtimeResponseStatus, type RealtimeResponseUsage as RealtimeResponseUsage, type RealtimeServerEvent as RealtimeServerEvent, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCancelEvent as ResponseCancelEvent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseCreateEvent as ResponseCreateEvent, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseDoneEvent as ResponseDoneEvent, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type SessionCreatedEvent as SessionCreatedEvent, type SessionUpdateEvent as SessionUpdateEvent, type SessionUpdatedEvent as SessionUpdatedEvent, type TranscriptionSessionUpdate as TranscriptionSessionUpdate, type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent, }; + export { Assistants as Assistants, type Assistant as Assistant, type AssistantDeleted as AssistantDeleted, type AssistantStreamEvent as AssistantStreamEvent, type AssistantTool as AssistantTool, type CodeInterpreterTool as CodeInterpreterTool, type FileSearchTool as FileSearchTool, type FunctionTool as FunctionTool, type MessageStreamEvent as MessageStreamEvent, type RunStepStreamEvent as RunStepStreamEvent, type RunStreamEvent as RunStreamEvent, type ThreadStreamEvent as ThreadStreamEvent, type AssistantsPage as AssistantsPage, type AssistantCreateParams as AssistantCreateParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantListParams as AssistantListParams, }; + export { Threads as Threads, type AssistantResponseFormatOption as AssistantResponseFormatOption, type AssistantToolChoice as AssistantToolChoice, type AssistantToolChoiceFunction as AssistantToolChoiceFunction, type AssistantToolChoiceOption as AssistantToolChoiceOption, type Thread as Thread, type ThreadDeleted as ThreadDeleted, type ThreadCreateParams as ThreadCreateParams, type ThreadUpdateParams as ThreadUpdateParams, type ThreadCreateAndRunParams as ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming as ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming as ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, }; +} +//# sourceMappingURL=beta.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..2671f0ff91f78a7b672f0f14eebfc3ac3cbf16f9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"beta.d.mts","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EACL,SAAS,EACT,qBAAqB,EACrB,gBAAgB,EAChB,mBAAm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OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,GACpC,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..46d2b4c1bb9db0a9cd65cc4fb38e7b07ee43ca25 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.ts @@ -0,0 +1,18 @@ +import { APIResource } from "../../core/resource.js"; +import * as AssistantsAPI from "./assistants.js"; +import { Assistant, AssistantCreateParams, AssistantDeleted, AssistantListParams, AssistantStreamEvent, AssistantTool, AssistantUpdateParams, Assistants, AssistantsPage, CodeInterpreterTool, FileSearchTool, FunctionTool, MessageStreamEvent, RunStepStreamEvent, RunStreamEvent, ThreadStreamEvent } from "./assistants.js"; +import * as RealtimeAPI from "./realtime/realtime.js"; +import { ConversationCreatedEvent, ConversationItem, ConversationItemContent, ConversationItemCreateEvent, ConversationItemCreatedEvent, ConversationItemDeleteEvent, ConversationItemDeletedEvent, ConversationItemInputAudioTranscriptionCompletedEvent, ConversationItemInputAudioTranscriptionDeltaEvent, ConversationItemInputAudioTranscriptionFailedEvent, ConversationItemRetrieveEvent, ConversationItemTruncateEvent, ConversationItemTruncatedEvent, ConversationItemWithReference, ErrorEvent, InputAudioBufferAppendEvent, InputAudioBufferClearEvent, InputAudioBufferClearedEvent, InputAudioBufferCommitEvent, InputAudioBufferCommittedEvent, InputAudioBufferSpeechStartedEvent, InputAudioBufferSpeechStoppedEvent, RateLimitsUpdatedEvent, Realtime, RealtimeClientEvent, RealtimeResponse, RealtimeResponseStatus, RealtimeResponseUsage, RealtimeServerEvent, ResponseAudioDeltaEvent, ResponseAudioDoneEvent, ResponseAudioTranscriptDeltaEvent, ResponseAudioTranscriptDoneEvent, ResponseCancelEvent, ResponseContentPartAddedEvent, ResponseContentPartDoneEvent, ResponseCreateEvent, ResponseCreatedEvent, ResponseDoneEvent, ResponseFunctionCallArgumentsDeltaEvent, ResponseFunctionCallArgumentsDoneEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseTextDeltaEvent, ResponseTextDoneEvent, SessionCreatedEvent, SessionUpdateEvent, SessionUpdatedEvent, TranscriptionSessionUpdate, TranscriptionSessionUpdatedEvent } from "./realtime/realtime.js"; +import * as ThreadsAPI from "./threads/threads.js"; +import { AssistantResponseFormatOption, AssistantToolChoice, AssistantToolChoiceFunction, AssistantToolChoiceOption, Thread, ThreadCreateAndRunParams, ThreadCreateAndRunParamsNonStreaming, ThreadCreateAndRunParamsStreaming, ThreadCreateAndRunPollParams, ThreadCreateAndRunStreamParams, ThreadCreateParams, ThreadDeleted, ThreadUpdateParams, Threads } from "./threads/threads.js"; +export declare class Beta extends APIResource { + realtime: RealtimeAPI.Realtime; + assistants: AssistantsAPI.Assistants; + threads: ThreadsAPI.Threads; +} +export declare namespace Beta { + export { Realtime as Realtime, type ConversationCreatedEvent as ConversationCreatedEvent, type ConversationItem as ConversationItem, type ConversationItemContent as ConversationItemContent, type ConversationItemCreateEvent as ConversationItemCreateEvent, type ConversationItemCreatedEvent as ConversationItemCreatedEvent, type ConversationItemDeleteEvent as ConversationItemDeleteEvent, type ConversationItemDeletedEvent as ConversationItemDeletedEvent, type ConversationItemInputAudioTranscriptionCompletedEvent as ConversationItemInputAudioTranscriptionCompletedEvent, type ConversationItemInputAudioTranscriptionDeltaEvent as ConversationItemInputAudioTranscriptionDeltaEvent, type ConversationItemInputAudioTranscriptionFailedEvent as ConversationItemInputAudioTranscriptionFailedEvent, type ConversationItemRetrieveEvent as ConversationItemRetrieveEvent, type ConversationItemTruncateEvent as ConversationItemTruncateEvent, type ConversationItemTruncatedEvent as ConversationItemTruncatedEvent, type ConversationItemWithReference as ConversationItemWithReference, type ErrorEvent as ErrorEvent, type InputAudioBufferAppendEvent as InputAudioBufferAppendEvent, type InputAudioBufferClearEvent as InputAudioBufferClearEvent, type InputAudioBufferClearedEvent as InputAudioBufferClearedEvent, type InputAudioBufferCommitEvent as InputAudioBufferCommitEvent, type InputAudioBufferCommittedEvent as InputAudioBufferCommittedEvent, type InputAudioBufferSpeechStartedEvent as InputAudioBufferSpeechStartedEvent, type InputAudioBufferSpeechStoppedEvent as InputAudioBufferSpeechStoppedEvent, type RateLimitsUpdatedEvent as RateLimitsUpdatedEvent, type RealtimeClientEvent as RealtimeClientEvent, type RealtimeResponse as RealtimeResponse, type RealtimeResponseStatus as RealtimeResponseStatus, type RealtimeResponseUsage as RealtimeResponseUsage, type RealtimeServerEvent as RealtimeServerEvent, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCancelEvent as ResponseCancelEvent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseCreateEvent as ResponseCreateEvent, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseDoneEvent as ResponseDoneEvent, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type SessionCreatedEvent as SessionCreatedEvent, type SessionUpdateEvent as SessionUpdateEvent, type SessionUpdatedEvent as SessionUpdatedEvent, type TranscriptionSessionUpdate as TranscriptionSessionUpdate, type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent, }; + export { Assistants as Assistants, type Assistant as Assistant, type AssistantDeleted as AssistantDeleted, type AssistantStreamEvent as AssistantStreamEvent, type AssistantTool as AssistantTool, type CodeInterpreterTool as CodeInterpreterTool, type FileSearchTool as FileSearchTool, type FunctionTool as FunctionTool, type MessageStreamEvent as MessageStreamEvent, type RunStepStreamEvent as RunStepStreamEvent, type RunStreamEvent as RunStreamEvent, type ThreadStreamEvent as ThreadStreamEvent, type AssistantsPage as AssistantsPage, type AssistantCreateParams as AssistantCreateParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantListParams as AssistantListParams, }; + export { Threads as Threads, type AssistantResponseFormatOption as AssistantResponseFormatOption, type AssistantToolChoice as AssistantToolChoice, type AssistantToolChoiceFunction as AssistantToolChoiceFunction, type AssistantToolChoiceOption as AssistantToolChoiceOption, type Thread as Thread, type ThreadDeleted as ThreadDeleted, type ThreadCreateParams as ThreadCreateParams, type ThreadUpdateParams as ThreadUpdateParams, type ThreadCreateAndRunParams as ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming as ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming as ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, }; +} +//# sourceMappingURL=beta.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7c4fe51214be9e6a96cbacffc515c87cbeaadbb0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"beta.d.ts","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EACL,SAAS,EACT,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EAClB;OACM,KAAK,WAAW;OAChB,EACL,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,qDAAqD,EACrD,iDAAiD,EACjD,kDAAkD,EAClD,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC7B,UAAU,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,EAC3B,8BAA8B,EAC9B,kCAAkC,EAClC,kCAAkC,EAClC,sBAAsB,EACtB,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,iCAAiC,EACjC,gCAAgC,EAChC,mBAAmB,EACnB,6BAA6B,EAC7B,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,uCAAuC,EACvC,sCAAsC,EACtC,4BAA4B,EAC5B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BAAoB,EACjD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,GACpC,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.js new file mode 100644 index 0000000000000000000000000000000000000000..00103cbbbd902cd71f8865bc825060c5942652e7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.js @@ -0,0 +1,25 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Beta = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const AssistantsAPI = tslib_1.__importStar(require("./assistants.js")); +const assistants_1 = require("./assistants.js"); +const RealtimeAPI = tslib_1.__importStar(require("./realtime/realtime.js")); +const realtime_1 = require("./realtime/realtime.js"); +const ThreadsAPI = tslib_1.__importStar(require("./threads/threads.js")); +const threads_1 = require("./threads/threads.js"); +class Beta extends resource_1.APIResource { + constructor() { + super(...arguments); + this.realtime = new RealtimeAPI.Realtime(this._client); + this.assistants = new AssistantsAPI.Assistants(this._client); + this.threads = new ThreadsAPI.Threads(this._client); + } +} +exports.Beta = Beta; +Beta.Realtime = realtime_1.Realtime; +Beta.Assistants = assistants_1.Assistants; +Beta.Threads = threads_1.Threads; +//# sourceMappingURL=beta.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7658cdd8012a937ab73867a6f9f5b918a2087800 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.js.map @@ -0,0 +1 @@ +{"version":3,"file":"beta.js","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uEAA8C;AAC9C,gDAiBsB;AACtB,4EAAmD;AACnD,qDAmD6B;AAC7B,yEAAgD;AAChD,kDAe2B;AAE3B,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAJD,oBAIC;AAED,IAAI,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACzB,IAAI,CAAC,UAAU,GAAG,uBAAU,CAAC;AAC7B,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a9acc916d58d389ca4ba1d17ce887acfc4fd6ff7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.mjs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as AssistantsAPI from "./assistants.mjs"; +import { Assistants, } from "./assistants.mjs"; +import * as RealtimeAPI from "./realtime/realtime.mjs"; +import { Realtime, } from "./realtime/realtime.mjs"; +import * as ThreadsAPI from "./threads/threads.mjs"; +import { Threads, } from "./threads/threads.mjs"; +export class Beta extends APIResource { + constructor() { + super(...arguments); + this.realtime = new RealtimeAPI.Realtime(this._client); + this.assistants = new AssistantsAPI.Assistants(this._client); + this.threads = new ThreadsAPI.Threads(this._client); + } +} +Beta.Realtime = Realtime; +Beta.Assistants = Assistants; +Beta.Threads = Threads; +//# sourceMappingURL=beta.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..d4ed730434a951d1703235024df497662f46db15 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/beta.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"beta.mjs","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAQL,UAAU,GASX;OACM,KAAK,WAAW;OAChB,EAwBL,QAAQ,GA2BT;OACM,KAAK,UAAU;OACf,EAcL,OAAO,GACR;AAED,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;AAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..9753031028e3ee57ad2ed790d5c0e4d2febee7f2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.mts @@ -0,0 +1,5 @@ +export { Assistants, type Assistant, type AssistantDeleted, type AssistantStreamEvent, type AssistantTool, type CodeInterpreterTool, type FileSearchTool, type FunctionTool, type MessageStreamEvent, type RunStepStreamEvent, type RunStreamEvent, type ThreadStreamEvent, type AssistantCreateParams, type AssistantUpdateParams, type AssistantListParams, type AssistantsPage, } from "./assistants.mjs"; +export { Beta } from "./beta.mjs"; +export { Realtime } from "./realtime/index.mjs"; +export { Threads, type AssistantResponseFormatOption, type AssistantToolChoice, type AssistantToolChoiceFunction, type AssistantToolChoiceOption, type Thread, type ThreadDeleted, type ThreadCreateParams, type ThreadUpdateParams, type ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, } from "./threads/index.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..952c66ffe3ec01843150a23f9a9c6215bfc5e117 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/beta/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB;OACM,EAAE,IAAI,EAAE;OACR,EAAE,QAAQ,EAAE;OACZ,EACL,OAAO,EACP,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,GACpC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b636d846467be845a541aba77dbcec1dd8879803 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.ts @@ -0,0 +1,5 @@ +export { Assistants, type Assistant, type AssistantDeleted, type AssistantStreamEvent, type AssistantTool, type CodeInterpreterTool, type FileSearchTool, type FunctionTool, type MessageStreamEvent, type RunStepStreamEvent, type RunStreamEvent, type ThreadStreamEvent, type AssistantCreateParams, type AssistantUpdateParams, type AssistantListParams, type AssistantsPage, } from "./assistants.js"; +export { Beta } from "./beta.js"; +export { Realtime } from "./realtime/index.js"; +export { Threads, type AssistantResponseFormatOption, type AssistantToolChoice, type AssistantToolChoiceFunction, type AssistantToolChoiceOption, type Thread, type ThreadDeleted, type ThreadCreateParams, type ThreadUpdateParams, type ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, } from "./threads/index.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ab24efb3a6bab8939e87a9506dc2f1172a034296 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/beta/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB;OACM,EAAE,IAAI,EAAE;OACR,EAAE,QAAQ,EAAE;OACZ,EACL,OAAO,EACP,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,GACpC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.js new file mode 100644 index 0000000000000000000000000000000000000000..6ab2d85969e036b411d0728a60fd6d0f97ae38c0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.js @@ -0,0 +1,13 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Threads = exports.Realtime = exports.Beta = exports.Assistants = void 0; +var assistants_1 = require("./assistants.js"); +Object.defineProperty(exports, "Assistants", { enumerable: true, get: function () { return assistants_1.Assistants; } }); +var beta_1 = require("./beta.js"); +Object.defineProperty(exports, "Beta", { enumerable: true, get: function () { return beta_1.Beta; } }); +var index_1 = require("./realtime/index.js"); +Object.defineProperty(exports, "Realtime", { enumerable: true, get: function () { return index_1.Realtime; } }); +var index_2 = require("./threads/index.js"); +Object.defineProperty(exports, "Threads", { enumerable: true, get: function () { return index_2.Threads; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..764765dddc13201e98bc71f8178e814a8f9939f0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/beta/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAiBsB;AAhBpB,wGAAA,UAAU,OAAA;AAiBZ,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,6CAA4C;AAAnC,iGAAA,QAAQ,OAAA;AACjB,4CAeyB;AAdvB,gGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..3949010cbf44d6ddc14bab256637ea56323a85c7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.mjs @@ -0,0 +1,6 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Assistants, } from "./assistants.mjs"; +export { Beta } from "./beta.mjs"; +export { Realtime } from "./realtime/index.mjs"; +export { Threads, } from "./threads/index.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9a013ba034978769ae88e6d05a96c3537737dad0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/beta/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAgBX;OACM,EAAE,IAAI,EAAE;OACR,EAAE,QAAQ,EAAE;OACZ,EACL,OAAO,GAcR"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..e74bd13d8dbc8a9243de922314807db90294bfcd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.mts @@ -0,0 +1,2 @@ +export * from "./realtime/index.mjs"; +//# sourceMappingURL=realtime.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8109d339fdb3a5637ce1801e8d4379f74c421588 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.d.mts","sourceRoot":"","sources":["../../src/resources/beta/realtime.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bcf4f50984a5f7da309057ed0a46ade57b029e18 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.ts @@ -0,0 +1,2 @@ +export * from "./realtime/index.js"; +//# sourceMappingURL=realtime.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9de58ae1d93832ef327fbb67bb2f29a9877029cb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../../src/resources/beta/realtime.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.js new file mode 100644 index 0000000000000000000000000000000000000000..42490aaae0802d86e8e283ad5d534bab232bf968 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./realtime/index.js"), exports); +//# sourceMappingURL=realtime.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7b7093fab40d5c4ee95bb35dd2105e93157e2795 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.js","sourceRoot":"","sources":["../../src/resources/beta/realtime.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e6db7cf10e7dd89996dd10bf58b46ecd7c374863 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./realtime/index.mjs"; +//# sourceMappingURL=realtime.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..4e54f7028970ccb6dce4d9038de84a6e1efbf96c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.mjs","sourceRoot":"","sources":["../../src/resources/beta/realtime.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..3478e252a56f4226f67ddd23ea81554c6caa4229 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.mts @@ -0,0 +1,4 @@ +export { Realtime } from "./realtime.mjs"; +export { Sessions, type Session, type SessionCreateResponse, type SessionCreateParams } from "./sessions.mjs"; +export { TranscriptionSessions, type TranscriptionSession, type TranscriptionSessionCreateParams, } from "./transcription-sessions.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..19ed1cc2624e5310f7027f7093445725cc892c92 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE;OACZ,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OAChF,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,GACtC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a5c8646d990b0a580db7a14d546dd2bc073a8dfd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.ts @@ -0,0 +1,4 @@ +export { Realtime } from "./realtime.js"; +export { Sessions, type Session, type SessionCreateResponse, type SessionCreateParams } from "./sessions.js"; +export { TranscriptionSessions, type TranscriptionSession, type TranscriptionSessionCreateParams, } from "./transcription-sessions.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d28ae71c1efb03cf338dd1dd4beeff572a2422c9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE;OACZ,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OAChF,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,GACtC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.js new file mode 100644 index 0000000000000000000000000000000000000000..94b1194751f465c4e1f3ca1290462bfbda2570fa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.js @@ -0,0 +1,11 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TranscriptionSessions = exports.Sessions = exports.Realtime = void 0; +var realtime_1 = require("./realtime.js"); +Object.defineProperty(exports, "Realtime", { enumerable: true, get: function () { return realtime_1.Realtime; } }); +var sessions_1 = require("./sessions.js"); +Object.defineProperty(exports, "Sessions", { enumerable: true, get: function () { return sessions_1.Sessions; } }); +var transcription_sessions_1 = require("./transcription-sessions.js"); +Object.defineProperty(exports, "TranscriptionSessions", { enumerable: true, get: function () { return transcription_sessions_1.TranscriptionSessions; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..970806e6469b413b23a7a6554731175d2ef8ccac --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,0CAA0G;AAAjG,oGAAA,QAAQ,OAAA;AACjB,sEAIkC;AAHhC,+HAAA,qBAAqB,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..767387328c3dddc231e926bb0da700175427b902 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.mjs @@ -0,0 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Realtime } from "./realtime.mjs"; +export { Sessions } from "./sessions.mjs"; +export { TranscriptionSessions, } from "./transcription-sessions.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..6560be424cb687141b32cda32af301e8e02f98f9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,QAAQ,EAAE;OACZ,EAAE,QAAQ,EAAsE;OAChF,EACL,qBAAqB,GAGtB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..948fea54740aeac22ddf3e9e96f6555923eb8b88 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.mts @@ -0,0 +1,2329 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as RealtimeAPI from "./realtime.mjs"; +import * as Shared from "../../shared.mjs"; +import * as SessionsAPI from "./sessions.mjs"; +import { Session as SessionsAPISession, SessionCreateParams, SessionCreateResponse, Sessions } from "./sessions.mjs"; +import * as TranscriptionSessionsAPI from "./transcription-sessions.mjs"; +import { TranscriptionSession, TranscriptionSessionCreateParams, TranscriptionSessions } from "./transcription-sessions.mjs"; +export declare class Realtime extends APIResource { + sessions: SessionsAPI.Sessions; + transcriptionSessions: TranscriptionSessionsAPI.TranscriptionSessions; +} +/** + * Returned when a conversation is created. Emitted right after session creation. + */ +export interface ConversationCreatedEvent { + /** + * The conversation resource. + */ + conversation: ConversationCreatedEvent.Conversation; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The event type, must be `conversation.created`. + */ + type: 'conversation.created'; +} +export declare namespace ConversationCreatedEvent { + /** + * The conversation resource. + */ + interface Conversation { + /** + * The unique ID of the conversation. + */ + id?: string; + /** + * The object type, must be `realtime.conversation`. + */ + object?: 'realtime.conversation'; + } +} +/** + * The item to add to the conversation. + */ +export interface ConversationItem { + /** + * The unique ID of the item, this can be generated by the client to help manage + * server-side context, but is not required because the server will generate one if + * not provided. + */ + id?: string; + /** + * The arguments of the function call (for `function_call` items). + */ + arguments?: string; + /** + * The ID of the function call (for `function_call` and `function_call_output` + * items). If passed on a `function_call_output` item, the server will check that a + * `function_call` item with the same ID exists in the conversation history. + */ + call_id?: string; + /** + * The content of the message, applicable for `message` items. + * + * - Message items of role `system` support only `input_text` content + * - Message items of role `user` support `input_text` and `input_audio` content + * - Message items of role `assistant` support `text` content. + */ + content?: Array; + /** + * The name of the function being called (for `function_call` items). + */ + name?: string; + /** + * Identifier for the API object being returned - always `realtime.item`. + */ + object?: 'realtime.item'; + /** + * The output of the function call (for `function_call_output` items). + */ + output?: string; + /** + * The role of the message sender (`user`, `assistant`, `system`), only applicable + * for `message` items. + */ + role?: 'user' | 'assistant' | 'system'; + /** + * The status of the item (`completed`, `incomplete`, `in_progress`). These have no + * effect on the conversation, but are accepted for consistency with the + * `conversation.item.created` event. + */ + status?: 'completed' | 'incomplete' | 'in_progress'; + /** + * The type of the item (`message`, `function_call`, `function_call_output`). + */ + type?: 'message' | 'function_call' | 'function_call_output'; +} +export interface ConversationItemContent { + /** + * ID of a previous conversation item to reference (for `item_reference` content + * types in `response.create` events). These can reference both client and server + * created items. + */ + id?: string; + /** + * Base64-encoded audio bytes, used for `input_audio` content type. + */ + audio?: string; + /** + * The text content, used for `input_text` and `text` content types. + */ + text?: string; + /** + * The transcript of the audio, used for `input_audio` and `audio` content types. + */ + transcript?: string; + /** + * The content type (`input_text`, `input_audio`, `item_reference`, `text`, + * `audio`). + */ + type?: 'input_text' | 'input_audio' | 'item_reference' | 'text' | 'audio'; +} +/** + * Add a new Item to the Conversation's context, including messages, function + * calls, and function call responses. This event can be used both to populate a + * "history" of the conversation and to add new items mid-stream, but has the + * current limitation that it cannot populate assistant audio messages. + * + * If successful, the server will respond with a `conversation.item.created` event, + * otherwise an `error` event will be sent. + */ +export interface ConversationItemCreateEvent { + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The event type, must be `conversation.item.create`. + */ + type: 'conversation.item.create'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; + /** + * The ID of the preceding item after which the new item will be inserted. If not + * set, the new item will be appended to the end of the conversation. If set to + * `root`, the new item will be added to the beginning of the conversation. If set + * to an existing ID, it allows an item to be inserted mid-conversation. If the ID + * cannot be found, an error will be returned and the item will not be added. + */ + previous_item_id?: string; +} +/** + * Returned when a conversation item is created. There are several scenarios that + * produce this event: + * + * - The server is generating a Response, which if successful will produce either + * one or two Items, which will be of type `message` (role `assistant`) or type + * `function_call`. + * - The input audio buffer has been committed, either by the client or the server + * (in `server_vad` mode). The server will take the content of the input audio + * buffer and add it to a new user message Item. + * - The client has sent a `conversation.item.create` event to add a new Item to + * the Conversation. + */ +export interface ConversationItemCreatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The event type, must be `conversation.item.created`. + */ + type: 'conversation.item.created'; + /** + * The ID of the preceding item in the Conversation context, allows the client to + * understand the order of the conversation. Can be `null` if the item has no + * predecessor. + */ + previous_item_id?: string | null; +} +/** + * Send this event when you want to remove any item from the conversation history. + * The server will respond with a `conversation.item.deleted` event, unless the + * item does not exist in the conversation history, in which case the server will + * respond with an error. + */ +export interface ConversationItemDeleteEvent { + /** + * The ID of the item to delete. + */ + item_id: string; + /** + * The event type, must be `conversation.item.delete`. + */ + type: 'conversation.item.delete'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when an item in the conversation is deleted by the client with a + * `conversation.item.delete` event. This event is used to synchronize the server's + * understanding of the conversation history with the client's view. + */ +export interface ConversationItemDeletedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item that was deleted. + */ + item_id: string; + /** + * The event type, must be `conversation.item.deleted`. + */ + type: 'conversation.item.deleted'; +} +/** + * This event is the output of audio transcription for user audio written to the + * user audio buffer. Transcription begins when the input audio buffer is committed + * by the client or server (in `server_vad` mode). Transcription runs + * asynchronously with Response creation, so this event may come before or after + * the Response events. + * + * Realtime API models accept audio natively, and thus input transcription is a + * separate process run on a separate ASR (Automatic Speech Recognition) model. The + * transcript may diverge somewhat from the model's interpretation, and should be + * treated as a rough guide. + */ +export interface ConversationItemInputAudioTranscriptionCompletedEvent { + /** + * The index of the content part containing the audio. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item containing the audio. + */ + item_id: string; + /** + * The transcribed text. + */ + transcript: string; + /** + * The event type, must be `conversation.item.input_audio_transcription.completed`. + */ + type: 'conversation.item.input_audio_transcription.completed'; + /** + * Usage statistics for the transcription. + */ + usage: ConversationItemInputAudioTranscriptionCompletedEvent.TranscriptTextUsageTokens | ConversationItemInputAudioTranscriptionCompletedEvent.TranscriptTextUsageDuration; + /** + * The log probabilities of the transcription. + */ + logprobs?: Array | null; +} +export declare namespace ConversationItemInputAudioTranscriptionCompletedEvent { + /** + * Usage statistics for models billed by token usage. + */ + interface TranscriptTextUsageTokens { + /** + * Number of input tokens billed for this request. + */ + input_tokens: number; + /** + * Number of output tokens generated. + */ + output_tokens: number; + /** + * Total number of tokens used (input + output). + */ + total_tokens: number; + /** + * The type of the usage object. Always `tokens` for this variant. + */ + type: 'tokens'; + /** + * Details about the input tokens billed for this request. + */ + input_token_details?: TranscriptTextUsageTokens.InputTokenDetails; + } + namespace TranscriptTextUsageTokens { + /** + * Details about the input tokens billed for this request. + */ + interface InputTokenDetails { + /** + * Number of audio tokens billed for this request. + */ + audio_tokens?: number; + /** + * Number of text tokens billed for this request. + */ + text_tokens?: number; + } + } + /** + * Usage statistics for models billed by audio input duration. + */ + interface TranscriptTextUsageDuration { + /** + * Duration of the input audio in seconds. + */ + seconds: number; + /** + * The type of the usage object. Always `duration` for this variant. + */ + type: 'duration'; + } + /** + * A log probability object. + */ + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes: Array; + /** + * The log probability of the token. + */ + logprob: number; + } +} +/** + * Returned when the text value of an input audio transcription content part is + * updated. + */ +export interface ConversationItemInputAudioTranscriptionDeltaEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The event type, must be `conversation.item.input_audio_transcription.delta`. + */ + type: 'conversation.item.input_audio_transcription.delta'; + /** + * The index of the content part in the item's content array. + */ + content_index?: number; + /** + * The text delta. + */ + delta?: string; + /** + * The log probabilities of the transcription. + */ + logprobs?: Array | null; +} +export declare namespace ConversationItemInputAudioTranscriptionDeltaEvent { + /** + * A log probability object. + */ + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes: Array; + /** + * The log probability of the token. + */ + logprob: number; + } +} +/** + * Returned when input audio transcription is configured, and a transcription + * request for a user message failed. These events are separate from other `error` + * events so that the client can identify the related Item. + */ +export interface ConversationItemInputAudioTranscriptionFailedEvent { + /** + * The index of the content part containing the audio. + */ + content_index: number; + /** + * Details of the transcription error. + */ + error: ConversationItemInputAudioTranscriptionFailedEvent.Error; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item. + */ + item_id: string; + /** + * The event type, must be `conversation.item.input_audio_transcription.failed`. + */ + type: 'conversation.item.input_audio_transcription.failed'; +} +export declare namespace ConversationItemInputAudioTranscriptionFailedEvent { + /** + * Details of the transcription error. + */ + interface Error { + /** + * Error code, if any. + */ + code?: string; + /** + * A human-readable error message. + */ + message?: string; + /** + * Parameter related to the error, if any. + */ + param?: string; + /** + * The type of error. + */ + type?: string; + } +} +/** + * Send this event when you want to retrieve the server's representation of a + * specific item in the conversation history. This is useful, for example, to + * inspect user audio after noise cancellation and VAD. The server will respond + * with a `conversation.item.retrieved` event, unless the item does not exist in + * the conversation history, in which case the server will respond with an error. + */ +export interface ConversationItemRetrieveEvent { + /** + * The ID of the item to retrieve. + */ + item_id: string; + /** + * The event type, must be `conversation.item.retrieve`. + */ + type: 'conversation.item.retrieve'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Send this event to truncate a previous assistant message’s audio. The server + * will produce audio faster than realtime, so this event is useful when the user + * interrupts to truncate audio that has already been sent to the client but not + * yet played. This will synchronize the server's understanding of the audio with + * the client's playback. + * + * Truncating audio will delete the server-side text transcript to ensure there is + * not text in the context that hasn't been heard by the user. + * + * If successful, the server will respond with a `conversation.item.truncated` + * event. + */ +export interface ConversationItemTruncateEvent { + /** + * Inclusive duration up to which audio is truncated, in milliseconds. If the + * audio_end_ms is greater than the actual audio duration, the server will respond + * with an error. + */ + audio_end_ms: number; + /** + * The index of the content part to truncate. Set this to 0. + */ + content_index: number; + /** + * The ID of the assistant message item to truncate. Only assistant message items + * can be truncated. + */ + item_id: string; + /** + * The event type, must be `conversation.item.truncate`. + */ + type: 'conversation.item.truncate'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when an earlier assistant audio message item is truncated by the client + * with a `conversation.item.truncate` event. This event is used to synchronize the + * server's understanding of the audio with the client's playback. + * + * This action will truncate the audio and remove the server-side text transcript + * to ensure there is no text in the context that hasn't been heard by the user. + */ +export interface ConversationItemTruncatedEvent { + /** + * The duration up to which the audio was truncated, in milliseconds. + */ + audio_end_ms: number; + /** + * The index of the content part that was truncated. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the assistant message item that was truncated. + */ + item_id: string; + /** + * The event type, must be `conversation.item.truncated`. + */ + type: 'conversation.item.truncated'; +} +/** + * The item to add to the conversation. + */ +export interface ConversationItemWithReference { + /** + * For an item of type (`message` | `function_call` | `function_call_output`) this + * field allows the client to assign the unique ID of the item. It is not required + * because the server will generate one if not provided. + * + * For an item of type `item_reference`, this field is required and is a reference + * to any item that has previously existed in the conversation. + */ + id?: string; + /** + * The arguments of the function call (for `function_call` items). + */ + arguments?: string; + /** + * The ID of the function call (for `function_call` and `function_call_output` + * items). If passed on a `function_call_output` item, the server will check that a + * `function_call` item with the same ID exists in the conversation history. + */ + call_id?: string; + /** + * The content of the message, applicable for `message` items. + * + * - Message items of role `system` support only `input_text` content + * - Message items of role `user` support `input_text` and `input_audio` content + * - Message items of role `assistant` support `text` content. + */ + content?: Array; + /** + * The name of the function being called (for `function_call` items). + */ + name?: string; + /** + * Identifier for the API object being returned - always `realtime.item`. + */ + object?: 'realtime.item'; + /** + * The output of the function call (for `function_call_output` items). + */ + output?: string; + /** + * The role of the message sender (`user`, `assistant`, `system`), only applicable + * for `message` items. + */ + role?: 'user' | 'assistant' | 'system'; + /** + * The status of the item (`completed`, `incomplete`, `in_progress`). These have no + * effect on the conversation, but are accepted for consistency with the + * `conversation.item.created` event. + */ + status?: 'completed' | 'incomplete' | 'in_progress'; + /** + * The type of the item (`message`, `function_call`, `function_call_output`, + * `item_reference`). + */ + type?: 'message' | 'function_call' | 'function_call_output' | 'item_reference'; +} +export declare namespace ConversationItemWithReference { + interface Content { + /** + * ID of a previous conversation item to reference (for `item_reference` content + * types in `response.create` events). These can reference both client and server + * created items. + */ + id?: string; + /** + * Base64-encoded audio bytes, used for `input_audio` content type. + */ + audio?: string; + /** + * The text content, used for `input_text` and `text` content types. + */ + text?: string; + /** + * The transcript of the audio, used for `input_audio` content type. + */ + transcript?: string; + /** + * The content type (`input_text`, `input_audio`, `item_reference`, `text`). + */ + type?: 'input_text' | 'input_audio' | 'item_reference' | 'text'; + } +} +/** + * Returned when an error occurs, which could be a client problem or a server + * problem. Most errors are recoverable and the session will stay open, we + * recommend to implementors to monitor and log error messages by default. + */ +export interface ErrorEvent { + /** + * Details of the error. + */ + error: ErrorEvent.Error; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The event type, must be `error`. + */ + type: 'error'; +} +export declare namespace ErrorEvent { + /** + * Details of the error. + */ + interface Error { + /** + * A human-readable error message. + */ + message: string; + /** + * The type of error (e.g., "invalid_request_error", "server_error"). + */ + type: string; + /** + * Error code, if any. + */ + code?: string | null; + /** + * The event_id of the client event that caused the error, if applicable. + */ + event_id?: string | null; + /** + * Parameter related to the error, if any. + */ + param?: string | null; + } +} +/** + * Send this event to append audio bytes to the input audio buffer. The audio + * buffer is temporary storage you can write to and later commit. In Server VAD + * mode, the audio buffer is used to detect speech and the server will decide when + * to commit. When Server VAD is disabled, you must commit the audio buffer + * manually. + * + * The client may choose how much audio to place in each event up to a maximum of + * 15 MiB, for example streaming smaller chunks from the client may allow the VAD + * to be more responsive. Unlike made other client events, the server will not send + * a confirmation response to this event. + */ +export interface InputAudioBufferAppendEvent { + /** + * Base64-encoded audio bytes. This must be in the format specified by the + * `input_audio_format` field in the session configuration. + */ + audio: string; + /** + * The event type, must be `input_audio_buffer.append`. + */ + type: 'input_audio_buffer.append'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Send this event to clear the audio bytes in the buffer. The server will respond + * with an `input_audio_buffer.cleared` event. + */ +export interface InputAudioBufferClearEvent { + /** + * The event type, must be `input_audio_buffer.clear`. + */ + type: 'input_audio_buffer.clear'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when the input audio buffer is cleared by the client with a + * `input_audio_buffer.clear` event. + */ +export interface InputAudioBufferClearedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The event type, must be `input_audio_buffer.cleared`. + */ + type: 'input_audio_buffer.cleared'; +} +/** + * Send this event to commit the user input audio buffer, which will create a new + * user message item in the conversation. This event will produce an error if the + * input audio buffer is empty. When in Server VAD mode, the client does not need + * to send this event, the server will commit the audio buffer automatically. + * + * Committing the input audio buffer will trigger input audio transcription (if + * enabled in session configuration), but it will not create a response from the + * model. The server will respond with an `input_audio_buffer.committed` event. + */ +export interface InputAudioBufferCommitEvent { + /** + * The event type, must be `input_audio_buffer.commit`. + */ + type: 'input_audio_buffer.commit'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when an input audio buffer is committed, either by the client or + * automatically in server VAD mode. The `item_id` property is the ID of the user + * message item that will be created, thus a `conversation.item.created` event will + * also be sent to the client. + */ +export interface InputAudioBufferCommittedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item that will be created. + */ + item_id: string; + /** + * The event type, must be `input_audio_buffer.committed`. + */ + type: 'input_audio_buffer.committed'; + /** + * The ID of the preceding item after which the new item will be inserted. Can be + * `null` if the item has no predecessor. + */ + previous_item_id?: string | null; +} +/** + * Sent by the server when in `server_vad` mode to indicate that speech has been + * detected in the audio buffer. This can happen any time audio is added to the + * buffer (unless speech is already detected). The client may want to use this + * event to interrupt audio playback or provide visual feedback to the user. + * + * The client should expect to receive a `input_audio_buffer.speech_stopped` event + * when speech stops. The `item_id` property is the ID of the user message item + * that will be created when speech stops and will also be included in the + * `input_audio_buffer.speech_stopped` event (unless the client manually commits + * the audio buffer during VAD activation). + */ +export interface InputAudioBufferSpeechStartedEvent { + /** + * Milliseconds from the start of all audio written to the buffer during the + * session when speech was first detected. This will correspond to the beginning of + * audio sent to the model, and thus includes the `prefix_padding_ms` configured in + * the Session. + */ + audio_start_ms: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item that will be created when speech stops. + */ + item_id: string; + /** + * The event type, must be `input_audio_buffer.speech_started`. + */ + type: 'input_audio_buffer.speech_started'; +} +/** + * Returned in `server_vad` mode when the server detects the end of speech in the + * audio buffer. The server will also send an `conversation.item.created` event + * with the user message item that is created from the audio buffer. + */ +export interface InputAudioBufferSpeechStoppedEvent { + /** + * Milliseconds since the session started when speech stopped. This will correspond + * to the end of audio sent to the model, and thus includes the + * `min_silence_duration_ms` configured in the Session. + */ + audio_end_ms: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item that will be created. + */ + item_id: string; + /** + * The event type, must be `input_audio_buffer.speech_stopped`. + */ + type: 'input_audio_buffer.speech_stopped'; +} +/** + * Emitted at the beginning of a Response to indicate the updated rate limits. When + * a Response is created some tokens will be "reserved" for the output tokens, the + * rate limits shown here reflect that reservation, which is then adjusted + * accordingly once the Response is completed. + */ +export interface RateLimitsUpdatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * List of rate limit information. + */ + rate_limits: Array; + /** + * The event type, must be `rate_limits.updated`. + */ + type: 'rate_limits.updated'; +} +export declare namespace RateLimitsUpdatedEvent { + interface RateLimit { + /** + * The maximum allowed value for the rate limit. + */ + limit?: number; + /** + * The name of the rate limit (`requests`, `tokens`). + */ + name?: 'requests' | 'tokens'; + /** + * The remaining value before the limit is reached. + */ + remaining?: number; + /** + * Seconds until the rate limit resets. + */ + reset_seconds?: number; + } +} +/** + * A realtime client event. + */ +export type RealtimeClientEvent = ConversationItemCreateEvent | ConversationItemDeleteEvent | ConversationItemRetrieveEvent | ConversationItemTruncateEvent | InputAudioBufferAppendEvent | InputAudioBufferClearEvent | RealtimeClientEvent.OutputAudioBufferClear | InputAudioBufferCommitEvent | ResponseCancelEvent | ResponseCreateEvent | SessionUpdateEvent | TranscriptionSessionUpdate; +export declare namespace RealtimeClientEvent { + /** + * **WebRTC Only:** Emit to cut off the current audio response. This will trigger + * the server to stop generating audio and emit a `output_audio_buffer.cleared` + * event. This event should be preceded by a `response.cancel` client event to stop + * the generation of the current response. + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferClear { + /** + * The event type, must be `output_audio_buffer.clear`. + */ + type: 'output_audio_buffer.clear'; + /** + * The unique ID of the client event used for error handling. + */ + event_id?: string; + } +} +/** + * The response resource. + */ +export interface RealtimeResponse { + /** + * The unique ID of the response. + */ + id?: string; + /** + * Which conversation the response is added to, determined by the `conversation` + * field in the `response.create` event. If `auto`, the response will be added to + * the default conversation and the value of `conversation_id` will be an id like + * `conv_1234`. If `none`, the response will not be added to any conversation and + * the value of `conversation_id` will be `null`. If responses are being triggered + * by server VAD, the response will be added to the default conversation, thus the + * `conversation_id` will be an id like `conv_1234`. + */ + conversation_id?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls, that was used in this response. + */ + max_output_tokens?: number | 'inf'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The set of modalities the model used to respond. If there are multiple + * modalities, the model will pick one, for example if `modalities` is + * `["text", "audio"]`, the model could be responding in either text or audio. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The object type, must be `realtime.response`. + */ + object?: 'realtime.response'; + /** + * The list of output items generated by the response. + */ + output?: Array; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The final status of the response (`completed`, `cancelled`, `failed`, or + * `incomplete`, `in_progress`). + */ + status?: 'completed' | 'cancelled' | 'failed' | 'incomplete' | 'in_progress'; + /** + * Additional details about the status. + */ + status_details?: RealtimeResponseStatus; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. + */ + temperature?: number; + /** + * Usage statistics for the Response, this will correspond to billing. A Realtime + * API session will maintain a conversation context and append new Items to the + * Conversation, thus output from previous turns (text and audio tokens) will + * become the input for later turns. + */ + usage?: RealtimeResponseUsage; + /** + * The voice the model used to respond. Current voice options are `alloy`, `ash`, + * `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +/** + * Additional details about the status. + */ +export interface RealtimeResponseStatus { + /** + * A description of the error that caused the response to fail, populated when the + * `status` is `failed`. + */ + error?: RealtimeResponseStatus.Error; + /** + * The reason the Response did not complete. For a `cancelled` Response, one of + * `turn_detected` (the server VAD detected a new start of speech) or + * `client_cancelled` (the client sent a cancel event). For an `incomplete` + * Response, one of `max_output_tokens` or `content_filter` (the server-side safety + * filter activated and cut off the response). + */ + reason?: 'turn_detected' | 'client_cancelled' | 'max_output_tokens' | 'content_filter'; + /** + * The type of error that caused the response to fail, corresponding with the + * `status` field (`completed`, `cancelled`, `incomplete`, `failed`). + */ + type?: 'completed' | 'cancelled' | 'incomplete' | 'failed'; +} +export declare namespace RealtimeResponseStatus { + /** + * A description of the error that caused the response to fail, populated when the + * `status` is `failed`. + */ + interface Error { + /** + * Error code, if any. + */ + code?: string; + /** + * The type of error. + */ + type?: string; + } +} +/** + * Usage statistics for the Response, this will correspond to billing. A Realtime + * API session will maintain a conversation context and append new Items to the + * Conversation, thus output from previous turns (text and audio tokens) will + * become the input for later turns. + */ +export interface RealtimeResponseUsage { + /** + * Details about the input tokens used in the Response. + */ + input_token_details?: RealtimeResponseUsage.InputTokenDetails; + /** + * The number of input tokens used in the Response, including text and audio + * tokens. + */ + input_tokens?: number; + /** + * Details about the output tokens used in the Response. + */ + output_token_details?: RealtimeResponseUsage.OutputTokenDetails; + /** + * The number of output tokens sent in the Response, including text and audio + * tokens. + */ + output_tokens?: number; + /** + * The total number of tokens in the Response including input and output text and + * audio tokens. + */ + total_tokens?: number; +} +export declare namespace RealtimeResponseUsage { + /** + * Details about the input tokens used in the Response. + */ + interface InputTokenDetails { + /** + * The number of audio tokens used in the Response. + */ + audio_tokens?: number; + /** + * The number of cached tokens used in the Response. + */ + cached_tokens?: number; + /** + * The number of text tokens used in the Response. + */ + text_tokens?: number; + } + /** + * Details about the output tokens used in the Response. + */ + interface OutputTokenDetails { + /** + * The number of audio tokens used in the Response. + */ + audio_tokens?: number; + /** + * The number of text tokens used in the Response. + */ + text_tokens?: number; + } +} +/** + * A realtime server event. + */ +export type RealtimeServerEvent = ConversationCreatedEvent | ConversationItemCreatedEvent | ConversationItemDeletedEvent | ConversationItemInputAudioTranscriptionCompletedEvent | ConversationItemInputAudioTranscriptionDeltaEvent | ConversationItemInputAudioTranscriptionFailedEvent | RealtimeServerEvent.ConversationItemRetrieved | ConversationItemTruncatedEvent | ErrorEvent | InputAudioBufferClearedEvent | InputAudioBufferCommittedEvent | InputAudioBufferSpeechStartedEvent | InputAudioBufferSpeechStoppedEvent | RateLimitsUpdatedEvent | ResponseAudioDeltaEvent | ResponseAudioDoneEvent | ResponseAudioTranscriptDeltaEvent | ResponseAudioTranscriptDoneEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseCreatedEvent | ResponseDoneEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseTextDeltaEvent | ResponseTextDoneEvent | SessionCreatedEvent | SessionUpdatedEvent | TranscriptionSessionUpdatedEvent | RealtimeServerEvent.OutputAudioBufferStarted | RealtimeServerEvent.OutputAudioBufferStopped | RealtimeServerEvent.OutputAudioBufferCleared; +export declare namespace RealtimeServerEvent { + /** + * Returned when a conversation item is retrieved with + * `conversation.item.retrieve`. + */ + interface ConversationItemRetrieved { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: RealtimeAPI.ConversationItem; + /** + * The event type, must be `conversation.item.retrieved`. + */ + type: 'conversation.item.retrieved'; + } + /** + * **WebRTC Only:** Emitted when the server begins streaming audio to the client. + * This event is emitted after an audio content part has been added + * (`response.content_part.added`) to the response. + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferStarted { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The unique ID of the response that produced the audio. + */ + response_id: string; + /** + * The event type, must be `output_audio_buffer.started`. + */ + type: 'output_audio_buffer.started'; + } + /** + * **WebRTC Only:** Emitted when the output audio buffer has been completely + * drained on the server, and no more audio is forthcoming. This event is emitted + * after the full response data has been sent to the client (`response.done`). + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferStopped { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The unique ID of the response that produced the audio. + */ + response_id: string; + /** + * The event type, must be `output_audio_buffer.stopped`. + */ + type: 'output_audio_buffer.stopped'; + } + /** + * **WebRTC Only:** Emitted when the output audio buffer is cleared. This happens + * either in VAD mode when the user has interrupted + * (`input_audio_buffer.speech_started`), or when the client has emitted the + * `output_audio_buffer.clear` event to manually cut off the current audio + * response. + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferCleared { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The unique ID of the response that produced the audio. + */ + response_id: string; + /** + * The event type, must be `output_audio_buffer.cleared`. + */ + type: 'output_audio_buffer.cleared'; + } +} +/** + * Returned when the model-generated audio is updated. + */ +export interface ResponseAudioDeltaEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * Base64-encoded audio data delta. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.audio.delta`. + */ + type: 'response.audio.delta'; +} +/** + * Returned when the model-generated audio is done. Also emitted when a Response is + * interrupted, incomplete, or cancelled. + */ +export interface ResponseAudioDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.audio.done`. + */ + type: 'response.audio.done'; +} +/** + * Returned when the model-generated transcription of audio output is updated. + */ +export interface ResponseAudioTranscriptDeltaEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The transcript delta. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.audio_transcript.delta`. + */ + type: 'response.audio_transcript.delta'; +} +/** + * Returned when the model-generated transcription of audio output is done + * streaming. Also emitted when a Response is interrupted, incomplete, or + * cancelled. + */ +export interface ResponseAudioTranscriptDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The final transcript of the audio. + */ + transcript: string; + /** + * The event type, must be `response.audio_transcript.done`. + */ + type: 'response.audio_transcript.done'; +} +/** + * Send this event to cancel an in-progress response. The server will respond with + * a `response.done` event with a status of `response.status=cancelled`. If there + * is no response to cancel, the server will respond with an error. + */ +export interface ResponseCancelEvent { + /** + * The event type, must be `response.cancel`. + */ + type: 'response.cancel'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; + /** + * A specific response ID to cancel - if not provided, will cancel an in-progress + * response in the default conversation. + */ + response_id?: string; +} +/** + * Returned when a new content part is added to an assistant message item during + * response generation. + */ +export interface ResponseContentPartAddedEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item to which the content part was added. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The content part that was added. + */ + part: ResponseContentPartAddedEvent.Part; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.content_part.added`. + */ + type: 'response.content_part.added'; +} +export declare namespace ResponseContentPartAddedEvent { + /** + * The content part that was added. + */ + interface Part { + /** + * Base64-encoded audio data (if type is "audio"). + */ + audio?: string; + /** + * The text content (if type is "text"). + */ + text?: string; + /** + * The transcript of the audio (if type is "audio"). + */ + transcript?: string; + /** + * The content type ("text", "audio"). + */ + type?: 'text' | 'audio'; + } +} +/** + * Returned when a content part is done streaming in an assistant message item. + * Also emitted when a Response is interrupted, incomplete, or cancelled. + */ +export interface ResponseContentPartDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The content part that is done. + */ + part: ResponseContentPartDoneEvent.Part; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.content_part.done`. + */ + type: 'response.content_part.done'; +} +export declare namespace ResponseContentPartDoneEvent { + /** + * The content part that is done. + */ + interface Part { + /** + * Base64-encoded audio data (if type is "audio"). + */ + audio?: string; + /** + * The text content (if type is "text"). + */ + text?: string; + /** + * The transcript of the audio (if type is "audio"). + */ + transcript?: string; + /** + * The content type ("text", "audio"). + */ + type?: 'text' | 'audio'; + } +} +/** + * This event instructs the server to create a Response, which means triggering + * model inference. When in Server VAD mode, the server will create Responses + * automatically. + * + * A Response will include at least one Item, and may have two, in which case the + * second will be a function call. These Items will be appended to the conversation + * history. + * + * The server will respond with a `response.created` event, events for Items and + * content created, and finally a `response.done` event to indicate the Response is + * complete. + * + * The `response.create` event includes inference configuration like + * `instructions`, and `temperature`. These fields will override the Session's + * configuration for this Response only. + */ +export interface ResponseCreateEvent { + /** + * The event type, must be `response.create`. + */ + type: 'response.create'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; + /** + * Create a new Realtime response with these parameters + */ + response?: ResponseCreateEvent.Response; +} +export declare namespace ResponseCreateEvent { + /** + * Create a new Realtime response with these parameters + */ + interface Response { + /** + * Controls which conversation the response is added to. Currently supports `auto` + * and `none`, with `auto` as the default value. The `auto` value means that the + * contents of the response will be added to the default conversation. Set this to + * `none` to create an out-of-band response which will not add items to default + * conversation. + */ + conversation?: (string & {}) | 'auto' | 'none'; + /** + * Input items to include in the prompt for the model. Using this field creates a + * new context for this Response instead of using the default conversation. An + * empty array `[]` will clear the context for this Response. Note that this can + * include references to items from the default conversation. + */ + input?: Array; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function, like `{"type": "function", "function": {"name": "my_function"}}`. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; + } + namespace Response { + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + } +} +/** + * Returned when a new Response is created. The first event of response creation, + * where the response is in an initial state of `in_progress`. + */ +export interface ResponseCreatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The response resource. + */ + response: RealtimeResponse; + /** + * The event type, must be `response.created`. + */ + type: 'response.created'; +} +/** + * Returned when a Response is done streaming. Always emitted, no matter the final + * state. The Response object included in the `response.done` event will include + * all output Items in the Response but will omit the raw audio data. + */ +export interface ResponseDoneEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The response resource. + */ + response: RealtimeResponse; + /** + * The event type, must be `response.done`. + */ + type: 'response.done'; +} +/** + * Returned when the model-generated function call arguments are updated. + */ +export interface ResponseFunctionCallArgumentsDeltaEvent { + /** + * The ID of the function call. + */ + call_id: string; + /** + * The arguments delta as a JSON string. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the function call item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.function_call_arguments.delta`. + */ + type: 'response.function_call_arguments.delta'; +} +/** + * Returned when the model-generated function call arguments are done streaming. + * Also emitted when a Response is interrupted, incomplete, or cancelled. + */ +export interface ResponseFunctionCallArgumentsDoneEvent { + /** + * The final arguments as a JSON string. + */ + arguments: string; + /** + * The ID of the function call. + */ + call_id: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the function call item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.function_call_arguments.done`. + */ + type: 'response.function_call_arguments.done'; +} +/** + * Returned when a new Item is created during Response generation. + */ +export interface ResponseOutputItemAddedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The index of the output item in the Response. + */ + output_index: number; + /** + * The ID of the Response to which the item belongs. + */ + response_id: string; + /** + * The event type, must be `response.output_item.added`. + */ + type: 'response.output_item.added'; +} +/** + * Returned when an Item is done streaming. Also emitted when a Response is + * interrupted, incomplete, or cancelled. + */ +export interface ResponseOutputItemDoneEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The index of the output item in the Response. + */ + output_index: number; + /** + * The ID of the Response to which the item belongs. + */ + response_id: string; + /** + * The event type, must be `response.output_item.done`. + */ + type: 'response.output_item.done'; +} +/** + * Returned when the text value of a "text" content part is updated. + */ +export interface ResponseTextDeltaEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The text delta. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.text.delta`. + */ + type: 'response.text.delta'; +} +/** + * Returned when the text value of a "text" content part is done streaming. Also + * emitted when a Response is interrupted, incomplete, or cancelled. + */ +export interface ResponseTextDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The final text content. + */ + text: string; + /** + * The event type, must be `response.text.done`. + */ + type: 'response.text.done'; +} +/** + * Returned when a Session is created. Emitted automatically when a new connection + * is established as the first server event. This event will contain the default + * Session configuration. + */ +export interface SessionCreatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * Realtime session object configuration. + */ + session: SessionsAPI.Session; + /** + * The event type, must be `session.created`. + */ + type: 'session.created'; +} +/** + * Send this event to update the session’s default configuration. The client may + * send this event at any time to update any field, except for `voice`. However, + * note that once a session has been initialized with a particular `model`, it + * can’t be changed to another model using `session.update`. + * + * When the server receives a `session.update`, it will respond with a + * `session.updated` event showing the full, effective configuration. Only the + * fields that are present are updated. To clear a field like `instructions`, pass + * an empty string. + */ +export interface SessionUpdateEvent { + /** + * Realtime session object configuration. + */ + session: SessionUpdateEvent.Session; + /** + * The event type, must be `session.update`. + */ + type: 'session.update'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +export declare namespace SessionUpdateEvent { + /** + * Realtime session object configuration. + */ + interface Session { + /** + * Configuration options for the generated client secret. + */ + client_secret?: Session.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: Session.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + input_audio_transcription?: Session.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The Realtime model used for this session. + */ + model?: 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17'; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + * For `pcm16`, output audio is sampled at a rate of 24kHz. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a + * temperature of 0.8 is highly recommended for best performance. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | Session.TracingConfiguration; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: Session.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; + } + namespace Session { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_after?: ClientSecret.ExpiresAfter; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAfter { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } + } +} +/** + * Returned when a session is updated with a `session.update` event, unless there + * is an error. + */ +export interface SessionUpdatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * Realtime session object configuration. + */ + session: SessionsAPI.Session; + /** + * The event type, must be `session.updated`. + */ + type: 'session.updated'; +} +/** + * Send this event to update a transcription session. + */ +export interface TranscriptionSessionUpdate { + /** + * Realtime transcription session object configuration. + */ + session: TranscriptionSessionUpdate.Session; + /** + * The event type, must be `transcription_session.update`. + */ + type: 'transcription_session.update'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +export declare namespace TranscriptionSessionUpdate { + /** + * Realtime transcription session object configuration. + */ + interface Session { + /** + * Configuration options for the generated client secret. + */ + client_secret?: Session.ClientSecret; + /** + * The set of items to include in the transcription. Current available items are: + * + * - `item.input_audio_transcription.logprobs` + */ + include?: Array; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: Session.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + input_audio_transcription?: Session.InputAudioTranscription; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: Session.TurnDetection; + } + namespace Session { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_at?: ClientSecret.ExpiresAt; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAt { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor?: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'whisper-1'; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. Not available for transcription sessions. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. Not available for transcription sessions. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } + } +} +/** + * Returned when a transcription session is updated with a + * `transcription_session.update` event, unless there is an error. + */ +export interface TranscriptionSessionUpdatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * A new Realtime transcription session configuration. + * + * When a session is created on the server via REST API, the session object also + * contains an ephemeral key. Default TTL for keys is 10 minutes. This property is + * not present when a session is updated via the WebSocket API. + */ + session: TranscriptionSessionsAPI.TranscriptionSession; + /** + * The event type, must be `transcription_session.updated`. + */ + type: 'transcription_session.updated'; +} +export declare namespace Realtime { + export { type ConversationCreatedEvent as ConversationCreatedEvent, type ConversationItem as ConversationItem, type ConversationItemContent as ConversationItemContent, type ConversationItemCreateEvent as ConversationItemCreateEvent, type ConversationItemCreatedEvent as ConversationItemCreatedEvent, type ConversationItemDeleteEvent as ConversationItemDeleteEvent, type ConversationItemDeletedEvent as ConversationItemDeletedEvent, type ConversationItemInputAudioTranscriptionCompletedEvent as ConversationItemInputAudioTranscriptionCompletedEvent, type ConversationItemInputAudioTranscriptionDeltaEvent as ConversationItemInputAudioTranscriptionDeltaEvent, type ConversationItemInputAudioTranscriptionFailedEvent as ConversationItemInputAudioTranscriptionFailedEvent, type ConversationItemRetrieveEvent as ConversationItemRetrieveEvent, type ConversationItemTruncateEvent as ConversationItemTruncateEvent, type ConversationItemTruncatedEvent as ConversationItemTruncatedEvent, type ConversationItemWithReference as ConversationItemWithReference, type ErrorEvent as ErrorEvent, type InputAudioBufferAppendEvent as InputAudioBufferAppendEvent, type InputAudioBufferClearEvent as InputAudioBufferClearEvent, type InputAudioBufferClearedEvent as InputAudioBufferClearedEvent, type InputAudioBufferCommitEvent as InputAudioBufferCommitEvent, type InputAudioBufferCommittedEvent as InputAudioBufferCommittedEvent, type InputAudioBufferSpeechStartedEvent as InputAudioBufferSpeechStartedEvent, type InputAudioBufferSpeechStoppedEvent as InputAudioBufferSpeechStoppedEvent, type RateLimitsUpdatedEvent as RateLimitsUpdatedEvent, type RealtimeClientEvent as RealtimeClientEvent, type RealtimeResponse as RealtimeResponse, type RealtimeResponseStatus as RealtimeResponseStatus, type RealtimeResponseUsage as RealtimeResponseUsage, type RealtimeServerEvent as RealtimeServerEvent, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCancelEvent as ResponseCancelEvent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseCreateEvent as ResponseCreateEvent, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseDoneEvent as ResponseDoneEvent, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type SessionCreatedEvent as SessionCreatedEvent, type SessionUpdateEvent as SessionUpdateEvent, type SessionUpdatedEvent as SessionUpdatedEvent, type TranscriptionSessionUpdate as TranscriptionSessionUpdate, type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent, }; + export { Sessions as Sessions, type SessionsAPISession as Session, type SessionCreateResponse as SessionCreateResponse, type SessionCreateParams as SessionCreateParams, }; + export { TranscriptionSessions as TranscriptionSessions, type TranscriptionSession as TranscriptionSession, type TranscriptionSessionCreateParams as TranscriptionSessionCreateParams, }; +} +//# sourceMappingURL=realtime.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0d3844027157afef1a195ff50cc5732d2b03314e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/realtime.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,EACL,OAAO,IAAI,kBAAkB,EAC7B,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT;OACM,KAAK,wBAAwB;OAC7B,EACL,oBAAoB,EACpB,gCAAgC,EAChC,qBAAqB,EACtB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,qBAAqB,EAAE,wBAAwB,CAAC,qBAAqB,CACF;CACpE;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,wBAAwB,CAAC,YAAY,CAAC;IAEpD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,yBAAiB,wBAAwB,CAAC;IACxC;;OAEG;IACH,UAAiB,YAAY;QAC3B;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,MAAM,CAAC,EAAE,uBAAuB,CAAC;KAClC;CACF;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAEzC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAE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EACjD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ea566a561e320a37c81afbe6285d3ffd411af6b0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.ts @@ -0,0 +1,2329 @@ +import { APIResource } from "../../../core/resource.js"; +import * as RealtimeAPI from "./realtime.js"; +import * as Shared from "../../shared.js"; +import * as SessionsAPI from "./sessions.js"; +import { Session as SessionsAPISession, SessionCreateParams, SessionCreateResponse, Sessions } from "./sessions.js"; +import * as TranscriptionSessionsAPI from "./transcription-sessions.js"; +import { TranscriptionSession, TranscriptionSessionCreateParams, TranscriptionSessions } from "./transcription-sessions.js"; +export declare class Realtime extends APIResource { + sessions: SessionsAPI.Sessions; + transcriptionSessions: TranscriptionSessionsAPI.TranscriptionSessions; +} +/** + * Returned when a conversation is created. Emitted right after session creation. + */ +export interface ConversationCreatedEvent { + /** + * The conversation resource. + */ + conversation: ConversationCreatedEvent.Conversation; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The event type, must be `conversation.created`. + */ + type: 'conversation.created'; +} +export declare namespace ConversationCreatedEvent { + /** + * The conversation resource. + */ + interface Conversation { + /** + * The unique ID of the conversation. + */ + id?: string; + /** + * The object type, must be `realtime.conversation`. + */ + object?: 'realtime.conversation'; + } +} +/** + * The item to add to the conversation. + */ +export interface ConversationItem { + /** + * The unique ID of the item, this can be generated by the client to help manage + * server-side context, but is not required because the server will generate one if + * not provided. + */ + id?: string; + /** + * The arguments of the function call (for `function_call` items). + */ + arguments?: string; + /** + * The ID of the function call (for `function_call` and `function_call_output` + * items). If passed on a `function_call_output` item, the server will check that a + * `function_call` item with the same ID exists in the conversation history. + */ + call_id?: string; + /** + * The content of the message, applicable for `message` items. + * + * - Message items of role `system` support only `input_text` content + * - Message items of role `user` support `input_text` and `input_audio` content + * - Message items of role `assistant` support `text` content. + */ + content?: Array; + /** + * The name of the function being called (for `function_call` items). + */ + name?: string; + /** + * Identifier for the API object being returned - always `realtime.item`. + */ + object?: 'realtime.item'; + /** + * The output of the function call (for `function_call_output` items). + */ + output?: string; + /** + * The role of the message sender (`user`, `assistant`, `system`), only applicable + * for `message` items. + */ + role?: 'user' | 'assistant' | 'system'; + /** + * The status of the item (`completed`, `incomplete`, `in_progress`). These have no + * effect on the conversation, but are accepted for consistency with the + * `conversation.item.created` event. + */ + status?: 'completed' | 'incomplete' | 'in_progress'; + /** + * The type of the item (`message`, `function_call`, `function_call_output`). + */ + type?: 'message' | 'function_call' | 'function_call_output'; +} +export interface ConversationItemContent { + /** + * ID of a previous conversation item to reference (for `item_reference` content + * types in `response.create` events). These can reference both client and server + * created items. + */ + id?: string; + /** + * Base64-encoded audio bytes, used for `input_audio` content type. + */ + audio?: string; + /** + * The text content, used for `input_text` and `text` content types. + */ + text?: string; + /** + * The transcript of the audio, used for `input_audio` and `audio` content types. + */ + transcript?: string; + /** + * The content type (`input_text`, `input_audio`, `item_reference`, `text`, + * `audio`). + */ + type?: 'input_text' | 'input_audio' | 'item_reference' | 'text' | 'audio'; +} +/** + * Add a new Item to the Conversation's context, including messages, function + * calls, and function call responses. This event can be used both to populate a + * "history" of the conversation and to add new items mid-stream, but has the + * current limitation that it cannot populate assistant audio messages. + * + * If successful, the server will respond with a `conversation.item.created` event, + * otherwise an `error` event will be sent. + */ +export interface ConversationItemCreateEvent { + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The event type, must be `conversation.item.create`. + */ + type: 'conversation.item.create'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; + /** + * The ID of the preceding item after which the new item will be inserted. If not + * set, the new item will be appended to the end of the conversation. If set to + * `root`, the new item will be added to the beginning of the conversation. If set + * to an existing ID, it allows an item to be inserted mid-conversation. If the ID + * cannot be found, an error will be returned and the item will not be added. + */ + previous_item_id?: string; +} +/** + * Returned when a conversation item is created. There are several scenarios that + * produce this event: + * + * - The server is generating a Response, which if successful will produce either + * one or two Items, which will be of type `message` (role `assistant`) or type + * `function_call`. + * - The input audio buffer has been committed, either by the client or the server + * (in `server_vad` mode). The server will take the content of the input audio + * buffer and add it to a new user message Item. + * - The client has sent a `conversation.item.create` event to add a new Item to + * the Conversation. + */ +export interface ConversationItemCreatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The event type, must be `conversation.item.created`. + */ + type: 'conversation.item.created'; + /** + * The ID of the preceding item in the Conversation context, allows the client to + * understand the order of the conversation. Can be `null` if the item has no + * predecessor. + */ + previous_item_id?: string | null; +} +/** + * Send this event when you want to remove any item from the conversation history. + * The server will respond with a `conversation.item.deleted` event, unless the + * item does not exist in the conversation history, in which case the server will + * respond with an error. + */ +export interface ConversationItemDeleteEvent { + /** + * The ID of the item to delete. + */ + item_id: string; + /** + * The event type, must be `conversation.item.delete`. + */ + type: 'conversation.item.delete'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when an item in the conversation is deleted by the client with a + * `conversation.item.delete` event. This event is used to synchronize the server's + * understanding of the conversation history with the client's view. + */ +export interface ConversationItemDeletedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item that was deleted. + */ + item_id: string; + /** + * The event type, must be `conversation.item.deleted`. + */ + type: 'conversation.item.deleted'; +} +/** + * This event is the output of audio transcription for user audio written to the + * user audio buffer. Transcription begins when the input audio buffer is committed + * by the client or server (in `server_vad` mode). Transcription runs + * asynchronously with Response creation, so this event may come before or after + * the Response events. + * + * Realtime API models accept audio natively, and thus input transcription is a + * separate process run on a separate ASR (Automatic Speech Recognition) model. The + * transcript may diverge somewhat from the model's interpretation, and should be + * treated as a rough guide. + */ +export interface ConversationItemInputAudioTranscriptionCompletedEvent { + /** + * The index of the content part containing the audio. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item containing the audio. + */ + item_id: string; + /** + * The transcribed text. + */ + transcript: string; + /** + * The event type, must be `conversation.item.input_audio_transcription.completed`. + */ + type: 'conversation.item.input_audio_transcription.completed'; + /** + * Usage statistics for the transcription. + */ + usage: ConversationItemInputAudioTranscriptionCompletedEvent.TranscriptTextUsageTokens | ConversationItemInputAudioTranscriptionCompletedEvent.TranscriptTextUsageDuration; + /** + * The log probabilities of the transcription. + */ + logprobs?: Array | null; +} +export declare namespace ConversationItemInputAudioTranscriptionCompletedEvent { + /** + * Usage statistics for models billed by token usage. + */ + interface TranscriptTextUsageTokens { + /** + * Number of input tokens billed for this request. + */ + input_tokens: number; + /** + * Number of output tokens generated. + */ + output_tokens: number; + /** + * Total number of tokens used (input + output). + */ + total_tokens: number; + /** + * The type of the usage object. Always `tokens` for this variant. + */ + type: 'tokens'; + /** + * Details about the input tokens billed for this request. + */ + input_token_details?: TranscriptTextUsageTokens.InputTokenDetails; + } + namespace TranscriptTextUsageTokens { + /** + * Details about the input tokens billed for this request. + */ + interface InputTokenDetails { + /** + * Number of audio tokens billed for this request. + */ + audio_tokens?: number; + /** + * Number of text tokens billed for this request. + */ + text_tokens?: number; + } + } + /** + * Usage statistics for models billed by audio input duration. + */ + interface TranscriptTextUsageDuration { + /** + * Duration of the input audio in seconds. + */ + seconds: number; + /** + * The type of the usage object. Always `duration` for this variant. + */ + type: 'duration'; + } + /** + * A log probability object. + */ + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes: Array; + /** + * The log probability of the token. + */ + logprob: number; + } +} +/** + * Returned when the text value of an input audio transcription content part is + * updated. + */ +export interface ConversationItemInputAudioTranscriptionDeltaEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The event type, must be `conversation.item.input_audio_transcription.delta`. + */ + type: 'conversation.item.input_audio_transcription.delta'; + /** + * The index of the content part in the item's content array. + */ + content_index?: number; + /** + * The text delta. + */ + delta?: string; + /** + * The log probabilities of the transcription. + */ + logprobs?: Array | null; +} +export declare namespace ConversationItemInputAudioTranscriptionDeltaEvent { + /** + * A log probability object. + */ + interface Logprob { + /** + * The token that was used to generate the log probability. + */ + token: string; + /** + * The bytes that were used to generate the log probability. + */ + bytes: Array; + /** + * The log probability of the token. + */ + logprob: number; + } +} +/** + * Returned when input audio transcription is configured, and a transcription + * request for a user message failed. These events are separate from other `error` + * events so that the client can identify the related Item. + */ +export interface ConversationItemInputAudioTranscriptionFailedEvent { + /** + * The index of the content part containing the audio. + */ + content_index: number; + /** + * Details of the transcription error. + */ + error: ConversationItemInputAudioTranscriptionFailedEvent.Error; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item. + */ + item_id: string; + /** + * The event type, must be `conversation.item.input_audio_transcription.failed`. + */ + type: 'conversation.item.input_audio_transcription.failed'; +} +export declare namespace ConversationItemInputAudioTranscriptionFailedEvent { + /** + * Details of the transcription error. + */ + interface Error { + /** + * Error code, if any. + */ + code?: string; + /** + * A human-readable error message. + */ + message?: string; + /** + * Parameter related to the error, if any. + */ + param?: string; + /** + * The type of error. + */ + type?: string; + } +} +/** + * Send this event when you want to retrieve the server's representation of a + * specific item in the conversation history. This is useful, for example, to + * inspect user audio after noise cancellation and VAD. The server will respond + * with a `conversation.item.retrieved` event, unless the item does not exist in + * the conversation history, in which case the server will respond with an error. + */ +export interface ConversationItemRetrieveEvent { + /** + * The ID of the item to retrieve. + */ + item_id: string; + /** + * The event type, must be `conversation.item.retrieve`. + */ + type: 'conversation.item.retrieve'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Send this event to truncate a previous assistant message’s audio. The server + * will produce audio faster than realtime, so this event is useful when the user + * interrupts to truncate audio that has already been sent to the client but not + * yet played. This will synchronize the server's understanding of the audio with + * the client's playback. + * + * Truncating audio will delete the server-side text transcript to ensure there is + * not text in the context that hasn't been heard by the user. + * + * If successful, the server will respond with a `conversation.item.truncated` + * event. + */ +export interface ConversationItemTruncateEvent { + /** + * Inclusive duration up to which audio is truncated, in milliseconds. If the + * audio_end_ms is greater than the actual audio duration, the server will respond + * with an error. + */ + audio_end_ms: number; + /** + * The index of the content part to truncate. Set this to 0. + */ + content_index: number; + /** + * The ID of the assistant message item to truncate. Only assistant message items + * can be truncated. + */ + item_id: string; + /** + * The event type, must be `conversation.item.truncate`. + */ + type: 'conversation.item.truncate'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when an earlier assistant audio message item is truncated by the client + * with a `conversation.item.truncate` event. This event is used to synchronize the + * server's understanding of the audio with the client's playback. + * + * This action will truncate the audio and remove the server-side text transcript + * to ensure there is no text in the context that hasn't been heard by the user. + */ +export interface ConversationItemTruncatedEvent { + /** + * The duration up to which the audio was truncated, in milliseconds. + */ + audio_end_ms: number; + /** + * The index of the content part that was truncated. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the assistant message item that was truncated. + */ + item_id: string; + /** + * The event type, must be `conversation.item.truncated`. + */ + type: 'conversation.item.truncated'; +} +/** + * The item to add to the conversation. + */ +export interface ConversationItemWithReference { + /** + * For an item of type (`message` | `function_call` | `function_call_output`) this + * field allows the client to assign the unique ID of the item. It is not required + * because the server will generate one if not provided. + * + * For an item of type `item_reference`, this field is required and is a reference + * to any item that has previously existed in the conversation. + */ + id?: string; + /** + * The arguments of the function call (for `function_call` items). + */ + arguments?: string; + /** + * The ID of the function call (for `function_call` and `function_call_output` + * items). If passed on a `function_call_output` item, the server will check that a + * `function_call` item with the same ID exists in the conversation history. + */ + call_id?: string; + /** + * The content of the message, applicable for `message` items. + * + * - Message items of role `system` support only `input_text` content + * - Message items of role `user` support `input_text` and `input_audio` content + * - Message items of role `assistant` support `text` content. + */ + content?: Array; + /** + * The name of the function being called (for `function_call` items). + */ + name?: string; + /** + * Identifier for the API object being returned - always `realtime.item`. + */ + object?: 'realtime.item'; + /** + * The output of the function call (for `function_call_output` items). + */ + output?: string; + /** + * The role of the message sender (`user`, `assistant`, `system`), only applicable + * for `message` items. + */ + role?: 'user' | 'assistant' | 'system'; + /** + * The status of the item (`completed`, `incomplete`, `in_progress`). These have no + * effect on the conversation, but are accepted for consistency with the + * `conversation.item.created` event. + */ + status?: 'completed' | 'incomplete' | 'in_progress'; + /** + * The type of the item (`message`, `function_call`, `function_call_output`, + * `item_reference`). + */ + type?: 'message' | 'function_call' | 'function_call_output' | 'item_reference'; +} +export declare namespace ConversationItemWithReference { + interface Content { + /** + * ID of a previous conversation item to reference (for `item_reference` content + * types in `response.create` events). These can reference both client and server + * created items. + */ + id?: string; + /** + * Base64-encoded audio bytes, used for `input_audio` content type. + */ + audio?: string; + /** + * The text content, used for `input_text` and `text` content types. + */ + text?: string; + /** + * The transcript of the audio, used for `input_audio` content type. + */ + transcript?: string; + /** + * The content type (`input_text`, `input_audio`, `item_reference`, `text`). + */ + type?: 'input_text' | 'input_audio' | 'item_reference' | 'text'; + } +} +/** + * Returned when an error occurs, which could be a client problem or a server + * problem. Most errors are recoverable and the session will stay open, we + * recommend to implementors to monitor and log error messages by default. + */ +export interface ErrorEvent { + /** + * Details of the error. + */ + error: ErrorEvent.Error; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The event type, must be `error`. + */ + type: 'error'; +} +export declare namespace ErrorEvent { + /** + * Details of the error. + */ + interface Error { + /** + * A human-readable error message. + */ + message: string; + /** + * The type of error (e.g., "invalid_request_error", "server_error"). + */ + type: string; + /** + * Error code, if any. + */ + code?: string | null; + /** + * The event_id of the client event that caused the error, if applicable. + */ + event_id?: string | null; + /** + * Parameter related to the error, if any. + */ + param?: string | null; + } +} +/** + * Send this event to append audio bytes to the input audio buffer. The audio + * buffer is temporary storage you can write to and later commit. In Server VAD + * mode, the audio buffer is used to detect speech and the server will decide when + * to commit. When Server VAD is disabled, you must commit the audio buffer + * manually. + * + * The client may choose how much audio to place in each event up to a maximum of + * 15 MiB, for example streaming smaller chunks from the client may allow the VAD + * to be more responsive. Unlike made other client events, the server will not send + * a confirmation response to this event. + */ +export interface InputAudioBufferAppendEvent { + /** + * Base64-encoded audio bytes. This must be in the format specified by the + * `input_audio_format` field in the session configuration. + */ + audio: string; + /** + * The event type, must be `input_audio_buffer.append`. + */ + type: 'input_audio_buffer.append'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Send this event to clear the audio bytes in the buffer. The server will respond + * with an `input_audio_buffer.cleared` event. + */ +export interface InputAudioBufferClearEvent { + /** + * The event type, must be `input_audio_buffer.clear`. + */ + type: 'input_audio_buffer.clear'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when the input audio buffer is cleared by the client with a + * `input_audio_buffer.clear` event. + */ +export interface InputAudioBufferClearedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The event type, must be `input_audio_buffer.cleared`. + */ + type: 'input_audio_buffer.cleared'; +} +/** + * Send this event to commit the user input audio buffer, which will create a new + * user message item in the conversation. This event will produce an error if the + * input audio buffer is empty. When in Server VAD mode, the client does not need + * to send this event, the server will commit the audio buffer automatically. + * + * Committing the input audio buffer will trigger input audio transcription (if + * enabled in session configuration), but it will not create a response from the + * model. The server will respond with an `input_audio_buffer.committed` event. + */ +export interface InputAudioBufferCommitEvent { + /** + * The event type, must be `input_audio_buffer.commit`. + */ + type: 'input_audio_buffer.commit'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +/** + * Returned when an input audio buffer is committed, either by the client or + * automatically in server VAD mode. The `item_id` property is the ID of the user + * message item that will be created, thus a `conversation.item.created` event will + * also be sent to the client. + */ +export interface InputAudioBufferCommittedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item that will be created. + */ + item_id: string; + /** + * The event type, must be `input_audio_buffer.committed`. + */ + type: 'input_audio_buffer.committed'; + /** + * The ID of the preceding item after which the new item will be inserted. Can be + * `null` if the item has no predecessor. + */ + previous_item_id?: string | null; +} +/** + * Sent by the server when in `server_vad` mode to indicate that speech has been + * detected in the audio buffer. This can happen any time audio is added to the + * buffer (unless speech is already detected). The client may want to use this + * event to interrupt audio playback or provide visual feedback to the user. + * + * The client should expect to receive a `input_audio_buffer.speech_stopped` event + * when speech stops. The `item_id` property is the ID of the user message item + * that will be created when speech stops and will also be included in the + * `input_audio_buffer.speech_stopped` event (unless the client manually commits + * the audio buffer during VAD activation). + */ +export interface InputAudioBufferSpeechStartedEvent { + /** + * Milliseconds from the start of all audio written to the buffer during the + * session when speech was first detected. This will correspond to the beginning of + * audio sent to the model, and thus includes the `prefix_padding_ms` configured in + * the Session. + */ + audio_start_ms: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item that will be created when speech stops. + */ + item_id: string; + /** + * The event type, must be `input_audio_buffer.speech_started`. + */ + type: 'input_audio_buffer.speech_started'; +} +/** + * Returned in `server_vad` mode when the server detects the end of speech in the + * audio buffer. The server will also send an `conversation.item.created` event + * with the user message item that is created from the audio buffer. + */ +export interface InputAudioBufferSpeechStoppedEvent { + /** + * Milliseconds since the session started when speech stopped. This will correspond + * to the end of audio sent to the model, and thus includes the + * `min_silence_duration_ms` configured in the Session. + */ + audio_end_ms: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the user message item that will be created. + */ + item_id: string; + /** + * The event type, must be `input_audio_buffer.speech_stopped`. + */ + type: 'input_audio_buffer.speech_stopped'; +} +/** + * Emitted at the beginning of a Response to indicate the updated rate limits. When + * a Response is created some tokens will be "reserved" for the output tokens, the + * rate limits shown here reflect that reservation, which is then adjusted + * accordingly once the Response is completed. + */ +export interface RateLimitsUpdatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * List of rate limit information. + */ + rate_limits: Array; + /** + * The event type, must be `rate_limits.updated`. + */ + type: 'rate_limits.updated'; +} +export declare namespace RateLimitsUpdatedEvent { + interface RateLimit { + /** + * The maximum allowed value for the rate limit. + */ + limit?: number; + /** + * The name of the rate limit (`requests`, `tokens`). + */ + name?: 'requests' | 'tokens'; + /** + * The remaining value before the limit is reached. + */ + remaining?: number; + /** + * Seconds until the rate limit resets. + */ + reset_seconds?: number; + } +} +/** + * A realtime client event. + */ +export type RealtimeClientEvent = ConversationItemCreateEvent | ConversationItemDeleteEvent | ConversationItemRetrieveEvent | ConversationItemTruncateEvent | InputAudioBufferAppendEvent | InputAudioBufferClearEvent | RealtimeClientEvent.OutputAudioBufferClear | InputAudioBufferCommitEvent | ResponseCancelEvent | ResponseCreateEvent | SessionUpdateEvent | TranscriptionSessionUpdate; +export declare namespace RealtimeClientEvent { + /** + * **WebRTC Only:** Emit to cut off the current audio response. This will trigger + * the server to stop generating audio and emit a `output_audio_buffer.cleared` + * event. This event should be preceded by a `response.cancel` client event to stop + * the generation of the current response. + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferClear { + /** + * The event type, must be `output_audio_buffer.clear`. + */ + type: 'output_audio_buffer.clear'; + /** + * The unique ID of the client event used for error handling. + */ + event_id?: string; + } +} +/** + * The response resource. + */ +export interface RealtimeResponse { + /** + * The unique ID of the response. + */ + id?: string; + /** + * Which conversation the response is added to, determined by the `conversation` + * field in the `response.create` event. If `auto`, the response will be added to + * the default conversation and the value of `conversation_id` will be an id like + * `conv_1234`. If `none`, the response will not be added to any conversation and + * the value of `conversation_id` will be `null`. If responses are being triggered + * by server VAD, the response will be added to the default conversation, thus the + * `conversation_id` will be an id like `conv_1234`. + */ + conversation_id?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls, that was used in this response. + */ + max_output_tokens?: number | 'inf'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The set of modalities the model used to respond. If there are multiple + * modalities, the model will pick one, for example if `modalities` is + * `["text", "audio"]`, the model could be responding in either text or audio. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The object type, must be `realtime.response`. + */ + object?: 'realtime.response'; + /** + * The list of output items generated by the response. + */ + output?: Array; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The final status of the response (`completed`, `cancelled`, `failed`, or + * `incomplete`, `in_progress`). + */ + status?: 'completed' | 'cancelled' | 'failed' | 'incomplete' | 'in_progress'; + /** + * Additional details about the status. + */ + status_details?: RealtimeResponseStatus; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. + */ + temperature?: number; + /** + * Usage statistics for the Response, this will correspond to billing. A Realtime + * API session will maintain a conversation context and append new Items to the + * Conversation, thus output from previous turns (text and audio tokens) will + * become the input for later turns. + */ + usage?: RealtimeResponseUsage; + /** + * The voice the model used to respond. Current voice options are `alloy`, `ash`, + * `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +/** + * Additional details about the status. + */ +export interface RealtimeResponseStatus { + /** + * A description of the error that caused the response to fail, populated when the + * `status` is `failed`. + */ + error?: RealtimeResponseStatus.Error; + /** + * The reason the Response did not complete. For a `cancelled` Response, one of + * `turn_detected` (the server VAD detected a new start of speech) or + * `client_cancelled` (the client sent a cancel event). For an `incomplete` + * Response, one of `max_output_tokens` or `content_filter` (the server-side safety + * filter activated and cut off the response). + */ + reason?: 'turn_detected' | 'client_cancelled' | 'max_output_tokens' | 'content_filter'; + /** + * The type of error that caused the response to fail, corresponding with the + * `status` field (`completed`, `cancelled`, `incomplete`, `failed`). + */ + type?: 'completed' | 'cancelled' | 'incomplete' | 'failed'; +} +export declare namespace RealtimeResponseStatus { + /** + * A description of the error that caused the response to fail, populated when the + * `status` is `failed`. + */ + interface Error { + /** + * Error code, if any. + */ + code?: string; + /** + * The type of error. + */ + type?: string; + } +} +/** + * Usage statistics for the Response, this will correspond to billing. A Realtime + * API session will maintain a conversation context and append new Items to the + * Conversation, thus output from previous turns (text and audio tokens) will + * become the input for later turns. + */ +export interface RealtimeResponseUsage { + /** + * Details about the input tokens used in the Response. + */ + input_token_details?: RealtimeResponseUsage.InputTokenDetails; + /** + * The number of input tokens used in the Response, including text and audio + * tokens. + */ + input_tokens?: number; + /** + * Details about the output tokens used in the Response. + */ + output_token_details?: RealtimeResponseUsage.OutputTokenDetails; + /** + * The number of output tokens sent in the Response, including text and audio + * tokens. + */ + output_tokens?: number; + /** + * The total number of tokens in the Response including input and output text and + * audio tokens. + */ + total_tokens?: number; +} +export declare namespace RealtimeResponseUsage { + /** + * Details about the input tokens used in the Response. + */ + interface InputTokenDetails { + /** + * The number of audio tokens used in the Response. + */ + audio_tokens?: number; + /** + * The number of cached tokens used in the Response. + */ + cached_tokens?: number; + /** + * The number of text tokens used in the Response. + */ + text_tokens?: number; + } + /** + * Details about the output tokens used in the Response. + */ + interface OutputTokenDetails { + /** + * The number of audio tokens used in the Response. + */ + audio_tokens?: number; + /** + * The number of text tokens used in the Response. + */ + text_tokens?: number; + } +} +/** + * A realtime server event. + */ +export type RealtimeServerEvent = ConversationCreatedEvent | ConversationItemCreatedEvent | ConversationItemDeletedEvent | ConversationItemInputAudioTranscriptionCompletedEvent | ConversationItemInputAudioTranscriptionDeltaEvent | ConversationItemInputAudioTranscriptionFailedEvent | RealtimeServerEvent.ConversationItemRetrieved | ConversationItemTruncatedEvent | ErrorEvent | InputAudioBufferClearedEvent | InputAudioBufferCommittedEvent | InputAudioBufferSpeechStartedEvent | InputAudioBufferSpeechStoppedEvent | RateLimitsUpdatedEvent | ResponseAudioDeltaEvent | ResponseAudioDoneEvent | ResponseAudioTranscriptDeltaEvent | ResponseAudioTranscriptDoneEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseCreatedEvent | ResponseDoneEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseTextDeltaEvent | ResponseTextDoneEvent | SessionCreatedEvent | SessionUpdatedEvent | TranscriptionSessionUpdatedEvent | RealtimeServerEvent.OutputAudioBufferStarted | RealtimeServerEvent.OutputAudioBufferStopped | RealtimeServerEvent.OutputAudioBufferCleared; +export declare namespace RealtimeServerEvent { + /** + * Returned when a conversation item is retrieved with + * `conversation.item.retrieve`. + */ + interface ConversationItemRetrieved { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: RealtimeAPI.ConversationItem; + /** + * The event type, must be `conversation.item.retrieved`. + */ + type: 'conversation.item.retrieved'; + } + /** + * **WebRTC Only:** Emitted when the server begins streaming audio to the client. + * This event is emitted after an audio content part has been added + * (`response.content_part.added`) to the response. + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferStarted { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The unique ID of the response that produced the audio. + */ + response_id: string; + /** + * The event type, must be `output_audio_buffer.started`. + */ + type: 'output_audio_buffer.started'; + } + /** + * **WebRTC Only:** Emitted when the output audio buffer has been completely + * drained on the server, and no more audio is forthcoming. This event is emitted + * after the full response data has been sent to the client (`response.done`). + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferStopped { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The unique ID of the response that produced the audio. + */ + response_id: string; + /** + * The event type, must be `output_audio_buffer.stopped`. + */ + type: 'output_audio_buffer.stopped'; + } + /** + * **WebRTC Only:** Emitted when the output audio buffer is cleared. This happens + * either in VAD mode when the user has interrupted + * (`input_audio_buffer.speech_started`), or when the client has emitted the + * `output_audio_buffer.clear` event to manually cut off the current audio + * response. + * [Learn more](https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc). + */ + interface OutputAudioBufferCleared { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The unique ID of the response that produced the audio. + */ + response_id: string; + /** + * The event type, must be `output_audio_buffer.cleared`. + */ + type: 'output_audio_buffer.cleared'; + } +} +/** + * Returned when the model-generated audio is updated. + */ +export interface ResponseAudioDeltaEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * Base64-encoded audio data delta. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.audio.delta`. + */ + type: 'response.audio.delta'; +} +/** + * Returned when the model-generated audio is done. Also emitted when a Response is + * interrupted, incomplete, or cancelled. + */ +export interface ResponseAudioDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.audio.done`. + */ + type: 'response.audio.done'; +} +/** + * Returned when the model-generated transcription of audio output is updated. + */ +export interface ResponseAudioTranscriptDeltaEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The transcript delta. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.audio_transcript.delta`. + */ + type: 'response.audio_transcript.delta'; +} +/** + * Returned when the model-generated transcription of audio output is done + * streaming. Also emitted when a Response is interrupted, incomplete, or + * cancelled. + */ +export interface ResponseAudioTranscriptDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The final transcript of the audio. + */ + transcript: string; + /** + * The event type, must be `response.audio_transcript.done`. + */ + type: 'response.audio_transcript.done'; +} +/** + * Send this event to cancel an in-progress response. The server will respond with + * a `response.done` event with a status of `response.status=cancelled`. If there + * is no response to cancel, the server will respond with an error. + */ +export interface ResponseCancelEvent { + /** + * The event type, must be `response.cancel`. + */ + type: 'response.cancel'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; + /** + * A specific response ID to cancel - if not provided, will cancel an in-progress + * response in the default conversation. + */ + response_id?: string; +} +/** + * Returned when a new content part is added to an assistant message item during + * response generation. + */ +export interface ResponseContentPartAddedEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item to which the content part was added. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The content part that was added. + */ + part: ResponseContentPartAddedEvent.Part; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.content_part.added`. + */ + type: 'response.content_part.added'; +} +export declare namespace ResponseContentPartAddedEvent { + /** + * The content part that was added. + */ + interface Part { + /** + * Base64-encoded audio data (if type is "audio"). + */ + audio?: string; + /** + * The text content (if type is "text"). + */ + text?: string; + /** + * The transcript of the audio (if type is "audio"). + */ + transcript?: string; + /** + * The content type ("text", "audio"). + */ + type?: 'text' | 'audio'; + } +} +/** + * Returned when a content part is done streaming in an assistant message item. + * Also emitted when a Response is interrupted, incomplete, or cancelled. + */ +export interface ResponseContentPartDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The content part that is done. + */ + part: ResponseContentPartDoneEvent.Part; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.content_part.done`. + */ + type: 'response.content_part.done'; +} +export declare namespace ResponseContentPartDoneEvent { + /** + * The content part that is done. + */ + interface Part { + /** + * Base64-encoded audio data (if type is "audio"). + */ + audio?: string; + /** + * The text content (if type is "text"). + */ + text?: string; + /** + * The transcript of the audio (if type is "audio"). + */ + transcript?: string; + /** + * The content type ("text", "audio"). + */ + type?: 'text' | 'audio'; + } +} +/** + * This event instructs the server to create a Response, which means triggering + * model inference. When in Server VAD mode, the server will create Responses + * automatically. + * + * A Response will include at least one Item, and may have two, in which case the + * second will be a function call. These Items will be appended to the conversation + * history. + * + * The server will respond with a `response.created` event, events for Items and + * content created, and finally a `response.done` event to indicate the Response is + * complete. + * + * The `response.create` event includes inference configuration like + * `instructions`, and `temperature`. These fields will override the Session's + * configuration for this Response only. + */ +export interface ResponseCreateEvent { + /** + * The event type, must be `response.create`. + */ + type: 'response.create'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; + /** + * Create a new Realtime response with these parameters + */ + response?: ResponseCreateEvent.Response; +} +export declare namespace ResponseCreateEvent { + /** + * Create a new Realtime response with these parameters + */ + interface Response { + /** + * Controls which conversation the response is added to. Currently supports `auto` + * and `none`, with `auto` as the default value. The `auto` value means that the + * contents of the response will be added to the default conversation. Set this to + * `none` to create an out-of-band response which will not add items to default + * conversation. + */ + conversation?: (string & {}) | 'auto' | 'none'; + /** + * Input items to include in the prompt for the model. Using this field creates a + * new context for this Response instead of using the default conversation. An + * empty array `[]` will clear the context for this Response. Note that this can + * include references to items from the default conversation. + */ + input?: Array; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function, like `{"type": "function", "function": {"name": "my_function"}}`. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; + } + namespace Response { + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + } +} +/** + * Returned when a new Response is created. The first event of response creation, + * where the response is in an initial state of `in_progress`. + */ +export interface ResponseCreatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The response resource. + */ + response: RealtimeResponse; + /** + * The event type, must be `response.created`. + */ + type: 'response.created'; +} +/** + * Returned when a Response is done streaming. Always emitted, no matter the final + * state. The Response object included in the `response.done` event will include + * all output Items in the Response but will omit the raw audio data. + */ +export interface ResponseDoneEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The response resource. + */ + response: RealtimeResponse; + /** + * The event type, must be `response.done`. + */ + type: 'response.done'; +} +/** + * Returned when the model-generated function call arguments are updated. + */ +export interface ResponseFunctionCallArgumentsDeltaEvent { + /** + * The ID of the function call. + */ + call_id: string; + /** + * The arguments delta as a JSON string. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the function call item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.function_call_arguments.delta`. + */ + type: 'response.function_call_arguments.delta'; +} +/** + * Returned when the model-generated function call arguments are done streaming. + * Also emitted when a Response is interrupted, incomplete, or cancelled. + */ +export interface ResponseFunctionCallArgumentsDoneEvent { + /** + * The final arguments as a JSON string. + */ + arguments: string; + /** + * The ID of the function call. + */ + call_id: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the function call item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.function_call_arguments.done`. + */ + type: 'response.function_call_arguments.done'; +} +/** + * Returned when a new Item is created during Response generation. + */ +export interface ResponseOutputItemAddedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The index of the output item in the Response. + */ + output_index: number; + /** + * The ID of the Response to which the item belongs. + */ + response_id: string; + /** + * The event type, must be `response.output_item.added`. + */ + type: 'response.output_item.added'; +} +/** + * Returned when an Item is done streaming. Also emitted when a Response is + * interrupted, incomplete, or cancelled. + */ +export interface ResponseOutputItemDoneEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The item to add to the conversation. + */ + item: ConversationItem; + /** + * The index of the output item in the Response. + */ + output_index: number; + /** + * The ID of the Response to which the item belongs. + */ + response_id: string; + /** + * The event type, must be `response.output_item.done`. + */ + type: 'response.output_item.done'; +} +/** + * Returned when the text value of a "text" content part is updated. + */ +export interface ResponseTextDeltaEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The text delta. + */ + delta: string; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The event type, must be `response.text.delta`. + */ + type: 'response.text.delta'; +} +/** + * Returned when the text value of a "text" content part is done streaming. Also + * emitted when a Response is interrupted, incomplete, or cancelled. + */ +export interface ResponseTextDoneEvent { + /** + * The index of the content part in the item's content array. + */ + content_index: number; + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item in the response. + */ + output_index: number; + /** + * The ID of the response. + */ + response_id: string; + /** + * The final text content. + */ + text: string; + /** + * The event type, must be `response.text.done`. + */ + type: 'response.text.done'; +} +/** + * Returned when a Session is created. Emitted automatically when a new connection + * is established as the first server event. This event will contain the default + * Session configuration. + */ +export interface SessionCreatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * Realtime session object configuration. + */ + session: SessionsAPI.Session; + /** + * The event type, must be `session.created`. + */ + type: 'session.created'; +} +/** + * Send this event to update the session’s default configuration. The client may + * send this event at any time to update any field, except for `voice`. However, + * note that once a session has been initialized with a particular `model`, it + * can’t be changed to another model using `session.update`. + * + * When the server receives a `session.update`, it will respond with a + * `session.updated` event showing the full, effective configuration. Only the + * fields that are present are updated. To clear a field like `instructions`, pass + * an empty string. + */ +export interface SessionUpdateEvent { + /** + * Realtime session object configuration. + */ + session: SessionUpdateEvent.Session; + /** + * The event type, must be `session.update`. + */ + type: 'session.update'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +export declare namespace SessionUpdateEvent { + /** + * Realtime session object configuration. + */ + interface Session { + /** + * Configuration options for the generated client secret. + */ + client_secret?: Session.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: Session.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + input_audio_transcription?: Session.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The Realtime model used for this session. + */ + model?: 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17'; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + * For `pcm16`, output audio is sampled at a rate of 24kHz. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a + * temperature of 0.8 is highly recommended for best performance. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | Session.TracingConfiguration; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: Session.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; + } + namespace Session { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_after?: ClientSecret.ExpiresAfter; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAfter { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } + } +} +/** + * Returned when a session is updated with a `session.update` event, unless there + * is an error. + */ +export interface SessionUpdatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * Realtime session object configuration. + */ + session: SessionsAPI.Session; + /** + * The event type, must be `session.updated`. + */ + type: 'session.updated'; +} +/** + * Send this event to update a transcription session. + */ +export interface TranscriptionSessionUpdate { + /** + * Realtime transcription session object configuration. + */ + session: TranscriptionSessionUpdate.Session; + /** + * The event type, must be `transcription_session.update`. + */ + type: 'transcription_session.update'; + /** + * Optional client-generated ID used to identify this event. + */ + event_id?: string; +} +export declare namespace TranscriptionSessionUpdate { + /** + * Realtime transcription session object configuration. + */ + interface Session { + /** + * Configuration options for the generated client secret. + */ + client_secret?: Session.ClientSecret; + /** + * The set of items to include in the transcription. Current available items are: + * + * - `item.input_audio_transcription.logprobs` + */ + include?: Array; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: Session.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + input_audio_transcription?: Session.InputAudioTranscription; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: Session.TurnDetection; + } + namespace Session { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_at?: ClientSecret.ExpiresAt; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAt { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor?: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'whisper-1'; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. Not available for transcription sessions. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. Not available for transcription sessions. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } + } +} +/** + * Returned when a transcription session is updated with a + * `transcription_session.update` event, unless there is an error. + */ +export interface TranscriptionSessionUpdatedEvent { + /** + * The unique ID of the server event. + */ + event_id: string; + /** + * A new Realtime transcription session configuration. + * + * When a session is created on the server via REST API, the session object also + * contains an ephemeral key. Default TTL for keys is 10 minutes. This property is + * not present when a session is updated via the WebSocket API. + */ + session: TranscriptionSessionsAPI.TranscriptionSession; + /** + * The event type, must be `transcription_session.updated`. + */ + type: 'transcription_session.updated'; +} +export declare namespace Realtime { + export { type ConversationCreatedEvent as ConversationCreatedEvent, type ConversationItem as ConversationItem, type ConversationItemContent as ConversationItemContent, type ConversationItemCreateEvent as ConversationItemCreateEvent, type ConversationItemCreatedEvent as ConversationItemCreatedEvent, type ConversationItemDeleteEvent as ConversationItemDeleteEvent, type ConversationItemDeletedEvent as ConversationItemDeletedEvent, type ConversationItemInputAudioTranscriptionCompletedEvent as ConversationItemInputAudioTranscriptionCompletedEvent, type ConversationItemInputAudioTranscriptionDeltaEvent as ConversationItemInputAudioTranscriptionDeltaEvent, type ConversationItemInputAudioTranscriptionFailedEvent as ConversationItemInputAudioTranscriptionFailedEvent, type ConversationItemRetrieveEvent as ConversationItemRetrieveEvent, type ConversationItemTruncateEvent as ConversationItemTruncateEvent, type ConversationItemTruncatedEvent as ConversationItemTruncatedEvent, type ConversationItemWithReference as ConversationItemWithReference, type ErrorEvent as ErrorEvent, type InputAudioBufferAppendEvent as InputAudioBufferAppendEvent, type InputAudioBufferClearEvent as InputAudioBufferClearEvent, type InputAudioBufferClearedEvent as InputAudioBufferClearedEvent, type InputAudioBufferCommitEvent as InputAudioBufferCommitEvent, type InputAudioBufferCommittedEvent as InputAudioBufferCommittedEvent, type InputAudioBufferSpeechStartedEvent as InputAudioBufferSpeechStartedEvent, type InputAudioBufferSpeechStoppedEvent as InputAudioBufferSpeechStoppedEvent, type RateLimitsUpdatedEvent as RateLimitsUpdatedEvent, type RealtimeClientEvent as RealtimeClientEvent, type RealtimeResponse as RealtimeResponse, type RealtimeResponseStatus as RealtimeResponseStatus, type RealtimeResponseUsage as RealtimeResponseUsage, type RealtimeServerEvent as RealtimeServerEvent, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCancelEvent as ResponseCancelEvent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseCreateEvent as ResponseCreateEvent, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseDoneEvent as ResponseDoneEvent, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type SessionCreatedEvent as SessionCreatedEvent, type SessionUpdateEvent as SessionUpdateEvent, type SessionUpdatedEvent as SessionUpdatedEvent, type TranscriptionSessionUpdate as TranscriptionSessionUpdate, type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent, }; + export { Sessions as Sessions, type SessionsAPISession as Session, type SessionCreateResponse as SessionCreateResponse, type SessionCreateParams as SessionCreateParams, }; + export { TranscriptionSessions as TranscriptionSessions, type TranscriptionSession as TranscriptionSession, type TranscriptionSessionCreateParams as TranscriptionSessionCreateParams, }; +} +//# sourceMappingURL=realtime.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..1a9119e572f03b8d686a9b71f0fef091a0b2b754 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/realtime.ts"],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AAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,kBAAkB,IAAI,OAAO,EAClC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,qBAAqB,IAAI,qBAAqB,EAC9C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.js new file mode 100644 index 0000000000000000000000000000000000000000..34db26707d40e73c2e941a4b23c5d0a5d4327569 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.js @@ -0,0 +1,21 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Realtime = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const SessionsAPI = tslib_1.__importStar(require("./sessions.js")); +const sessions_1 = require("./sessions.js"); +const TranscriptionSessionsAPI = tslib_1.__importStar(require("./transcription-sessions.js")); +const transcription_sessions_1 = require("./transcription-sessions.js"); +class Realtime extends resource_1.APIResource { + constructor() { + super(...arguments); + this.sessions = new SessionsAPI.Sessions(this._client); + this.transcriptionSessions = new TranscriptionSessionsAPI.TranscriptionSessions(this._client); + } +} +exports.Realtime = Realtime; +Realtime.Sessions = sessions_1.Sessions; +Realtime.TranscriptionSessions = transcription_sessions_1.TranscriptionSessions; +//# sourceMappingURL=realtime.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.js.map new file mode 100644 index 0000000000000000000000000000000000000000..bd4e7dff485c1d95066abc41f94625c2313db071 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.js","sourceRoot":"","sources":["../../../src/resources/beta/realtime/realtime.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAGrD,mEAA0C;AAC1C,4CAKoB;AACpB,8FAAqE;AACrE,wEAIkC;AAElC,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,0BAAqB,GACnB,IAAI,wBAAwB,CAAC,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAJD,4BAIC;AA8qFD,QAAQ,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC7B,QAAQ,CAAC,qBAAqB,GAAG,8CAAqB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.mjs new file mode 100644 index 0000000000000000000000000000000000000000..7c01cf54f23ec5068c217eb3cd2271dd83da3af5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.mjs @@ -0,0 +1,16 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as SessionsAPI from "./sessions.mjs"; +import { Sessions, } from "./sessions.mjs"; +import * as TranscriptionSessionsAPI from "./transcription-sessions.mjs"; +import { TranscriptionSessions, } from "./transcription-sessions.mjs"; +export class Realtime extends APIResource { + constructor() { + super(...arguments); + this.sessions = new SessionsAPI.Sessions(this._client); + this.transcriptionSessions = new TranscriptionSessionsAPI.TranscriptionSessions(this._client); + } +} +Realtime.Sessions = Sessions; +Realtime.TranscriptionSessions = TranscriptionSessions; +//# sourceMappingURL=realtime.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..e53d30b27b7afdd7d88a52817401d630d04d958d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/realtime.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"realtime.mjs","sourceRoot":"","sources":["../../../src/resources/beta/realtime/realtime.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,WAAW;OAChB,EAIL,QAAQ,GACT;OACM,KAAK,wBAAwB;OAC7B,EAGL,qBAAqB,GACtB;AAED,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,0BAAqB,GACnB,IAAI,wBAAwB,CAAC,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AA8qFD,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC7B,QAAQ,CAAC,qBAAqB,GAAG,qBAAqB,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d5d9e5bf5084f375cd6284e5c974857e15efde12 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.mts @@ -0,0 +1,744 @@ +import { APIResource } from "../../../core/resource.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Sessions extends APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API. Can be configured with the same session parameters as the + * `session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const session = + * await client.beta.realtime.sessions.create(); + * ``` + */ + create(body: SessionCreateParams, options?: RequestOptions): APIPromise; +} +/** + * Realtime session object configuration. + */ +export interface Session { + /** + * Unique identifier for the session that looks like `sess_1234567890abcdef`. + */ + id?: string; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: Session.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + input_audio_transcription?: Session.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The Realtime model used for this session. + */ + model?: 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17'; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + * For `pcm16`, output audio is sampled at a rate of 24kHz. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a + * temperature of 0.8 is highly recommended for best performance. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | Session.TracingConfiguration; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: Session.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +export declare namespace Session { + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } +} +/** + * A new Realtime session configuration, with an ephemeral key. Default TTL for + * keys is one minute. + */ +export interface SessionCreateResponse { + /** + * Ephemeral key returned by the API. + */ + client_secret: SessionCreateResponse.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + input_audio_format?: string; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously and should be treated as rough guidance rather than the + * representation understood by the model. + */ + input_audio_transcription?: SessionCreateResponse.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + output_audio_format?: string; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | SessionCreateResponse.TracingConfiguration; + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + turn_detection?: SessionCreateResponse.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +export declare namespace SessionCreateResponse { + /** + * Ephemeral key returned by the API. + */ + interface ClientSecret { + /** + * Timestamp for when the token expires. Currently, all tokens expire after one + * minute. + */ + expires_at: number; + /** + * Ephemeral key usable in client environments to authenticate connections to the + * Realtime API. Use this in client-side environments rather than a standard API + * token, which should only be used server-side. + */ + value: string; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously and should be treated as rough guidance rather than the + * representation understood by the model. + */ + interface InputAudioTranscription { + /** + * The model to use for transcription. + */ + model?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + interface TurnDetection { + /** + * Amount of audio to include before the VAD detected speech (in milliseconds). + * Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. + * With shorter values the model will respond more quickly, but may jump in on + * short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher + * threshold will require louder audio to activate the model, and thus might + * perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection, only `server_vad` is currently supported. + */ + type?: string; + } +} +export interface SessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + client_secret?: SessionCreateParams.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: SessionCreateParams.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + input_audio_transcription?: SessionCreateParams.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The Realtime model used for this session. + */ + model?: 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17'; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + * For `pcm16`, output audio is sampled at a rate of 24kHz. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a + * temperature of 0.8 is highly recommended for best performance. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | SessionCreateParams.TracingConfiguration; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: SessionCreateParams.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +export declare namespace SessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_after?: ClientSecret.ExpiresAfter; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAfter { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } +} +export declare namespace Sessions { + export { type Session as Session, type SessionCreateResponse as SessionCreateResponse, type SessionCreateParams as SessionCreateParams, }; +} +//# sourceMappingURL=sessions.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..0c378ae5ff784d1ca4fca4a01c724fb7ba50fd7f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"sessions.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/sessions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAO/F;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,WAAW,CAAC;IAEzD;;;;;;OAMG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC;IAE/D;;;;;;;;;OASG;IACH,yBAAyB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EG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QAErB;;WAEG;QACH,IAAI,CAAC,EAAE,UAAU,CAAC;KACnB;IAED;;OAEG;IACH,UAAiB,oBAAoB;QACnC;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;;WAGG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;IAED;;;;;;;;;;;OAWG;IACH,UAAiB,aAAa;QAC5B;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAE1B;;;;WAIG;QACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;QAE/C;;;;WAIG;QACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAE7B;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;;WAIG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAE7B;;;;WAIG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KACtC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..51b1bae95308343f42ab89fbb482b352495cfa35 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.ts @@ -0,0 +1,744 @@ +import { APIResource } from "../../../core/resource.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Sessions extends APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API. Can be configured with the same session parameters as the + * `session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const session = + * await client.beta.realtime.sessions.create(); + * ``` + */ + create(body: SessionCreateParams, options?: RequestOptions): APIPromise; +} +/** + * Realtime session object configuration. + */ +export interface Session { + /** + * Unique identifier for the session that looks like `sess_1234567890abcdef`. + */ + id?: string; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: Session.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + input_audio_transcription?: Session.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The Realtime model used for this session. + */ + model?: 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17'; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + * For `pcm16`, output audio is sampled at a rate of 24kHz. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a + * temperature of 0.8 is highly recommended for best performance. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | Session.TracingConfiguration; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: Session.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +export declare namespace Session { + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } +} +/** + * A new Realtime session configuration, with an ephemeral key. Default TTL for + * keys is one minute. + */ +export interface SessionCreateResponse { + /** + * Ephemeral key returned by the API. + */ + client_secret: SessionCreateResponse.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + input_audio_format?: string; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously and should be treated as rough guidance rather than the + * representation understood by the model. + */ + input_audio_transcription?: SessionCreateResponse.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + output_audio_format?: string; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | SessionCreateResponse.TracingConfiguration; + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + turn_detection?: SessionCreateResponse.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +export declare namespace SessionCreateResponse { + /** + * Ephemeral key returned by the API. + */ + interface ClientSecret { + /** + * Timestamp for when the token expires. Currently, all tokens expire after one + * minute. + */ + expires_at: number; + /** + * Ephemeral key usable in client environments to authenticate connections to the + * Realtime API. Use this in client-side environments rather than a standard API + * token, which should only be used server-side. + */ + value: string; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously and should be treated as rough guidance rather than the + * representation understood by the model. + */ + interface InputAudioTranscription { + /** + * The model to use for transcription. + */ + model?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + interface TurnDetection { + /** + * Amount of audio to include before the VAD detected speech (in milliseconds). + * Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. + * With shorter values the model will respond more quickly, but may jump in on + * short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher + * threshold will require louder audio to activate the model, and thus might + * perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection, only `server_vad` is currently supported. + */ + type?: string; + } +} +export interface SessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + client_secret?: SessionCreateParams.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: SessionCreateParams.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + input_audio_transcription?: SessionCreateParams.InputAudioTranscription; + /** + * The default system instructions (i.e. system message) prepended to model calls. + * This field allows the client to guide the model on desired responses. The model + * can be instructed on response content and format, (e.g. "be extremely succinct", + * "act friendly", "here are examples of good responses") and on audio behavior + * (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The + * instructions are not guaranteed to be followed by the model, but they provide + * guidance to the model on the desired behavior. + * + * Note that the server sets default instructions which will be used if this field + * is not set and are visible in the `session.created` event at the start of the + * session. + */ + instructions?: string; + /** + * Maximum number of output tokens for a single assistant response, inclusive of + * tool calls. Provide an integer between 1 and 4096 to limit output tokens, or + * `inf` for the maximum available tokens for a given model. Defaults to `inf`. + */ + max_response_output_tokens?: number | 'inf'; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * The Realtime model used for this session. + */ + model?: 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17'; + /** + * The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + * For `pcm16`, output audio is sampled at a rate of 24kHz. + */ + output_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the + * minimum speed. 1.5 is the maximum speed. This value can only be changed in + * between model turns, not while a response is in progress. + */ + speed?: number; + /** + * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a + * temperature of 0.8 is highly recommended for best performance. + */ + temperature?: number; + /** + * How the model chooses tools. Options are `auto`, `none`, `required`, or specify + * a function. + */ + tool_choice?: string; + /** + * Tools (functions) available to the model. + */ + tools?: Array; + /** + * Configuration options for tracing. Set to null to disable tracing. Once tracing + * is enabled for a session, the configuration cannot be modified. + * + * `auto` will create a trace for the session with default values for the workflow + * name, group id, and metadata. + */ + tracing?: 'auto' | SessionCreateParams.TracingConfiguration; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: SessionCreateParams.TurnDetection; + /** + * The voice the model uses to respond. Voice cannot be changed during the session + * once the model has responded with audio at least once. Current voice options are + * `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`. + */ + voice?: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +export declare namespace SessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_after?: ClientSecret.ExpiresAfter; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAfter { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription, defaults to off and can be set to + * `null` to turn off once on. Input audio transcription is not native to the + * model, since the model consumes audio directly. Transcription runs + * asynchronously through + * [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) + * and should be treated as guidance of input audio content rather than precisely + * what the model heard. The client can optionally set the language and prompt for + * transcription, these offer additional guidance to the transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: string; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + interface Tool { + /** + * The description of the function, including guidance on when and how to call it, + * and guidance about what to tell the user when calling (if anything). + */ + description?: string; + /** + * The name of the function. + */ + name?: string; + /** + * Parameters of the function in JSON Schema. + */ + parameters?: unknown; + /** + * The type of the tool, i.e. `function`. + */ + type?: 'function'; + } + /** + * Granular configuration for tracing. + */ + interface TracingConfiguration { + /** + * The group id to attach to this trace to enable filtering and grouping in the + * traces dashboard. + */ + group_id?: string; + /** + * The arbitrary metadata to attach to this trace to enable filtering in the traces + * dashboard. + */ + metadata?: unknown; + /** + * The name of the workflow to attach to this trace. This is used to name the trace + * in the traces dashboard. + */ + workflow_name?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } +} +export declare namespace Sessions { + export { type Session as Session, type SessionCreateResponse as SessionCreateResponse, type SessionCreateParams as SessionCreateParams, }; +} +//# sourceMappingURL=sessions.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ddd0c9c7a453998f6f832ac563cfa727d498e776 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/sessions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UA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a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.js new file mode 100644 index 0000000000000000000000000000000000000000..192e166480d04151c5a31ae027924ee800a883ac --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.js @@ -0,0 +1,32 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Sessions = void 0; +const resource_1 = require("../../../core/resource.js"); +const headers_1 = require("../../../internal/headers.js"); +class Sessions extends resource_1.APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API. Can be configured with the same session parameters as the + * `session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const session = + * await client.beta.realtime.sessions.create(); + * ``` + */ + create(body, options) { + return this._client.post('/realtime/sessions', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +exports.Sessions = Sessions; +//# sourceMappingURL=sessions.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.js.map new file mode 100644 index 0000000000000000000000000000000000000000..9d1cc8757da50f4487321471eec33e79ac073776 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sessions.js","sourceRoot":"","sources":["../../../src/resources/beta/realtime/sessions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC7C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,4BAuBC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.mjs new file mode 100644 index 0000000000000000000000000000000000000000..beae469e81f3ddaf6103629a895206beef504c7a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.mjs @@ -0,0 +1,28 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { buildHeaders } from "../../../internal/headers.mjs"; +export class Sessions extends APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API. Can be configured with the same session parameters as the + * `session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const session = + * await client.beta.realtime.sessions.create(); + * ``` + */ + create(body, options) { + return this._client.post('/realtime/sessions', { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +//# sourceMappingURL=sessions.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9cf552e6e8c67ba52e1998d107f6b57c38ca0dec --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/sessions.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"sessions.mjs","sourceRoot":"","sources":["../../../src/resources/beta/realtime/sessions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC7C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..c7c4fa46e22787c489f4c3e84476620f273dcb0b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts @@ -0,0 +1,299 @@ +import { APIResource } from "../../../core/resource.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class TranscriptionSessions extends APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API specifically for realtime transcriptions. Can be configured with + * the same session parameters as the `transcription_session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const transcriptionSession = + * await client.beta.realtime.transcriptionSessions.create(); + * ``` + */ + create(body: TranscriptionSessionCreateParams, options?: RequestOptions): APIPromise; +} +/** + * A new Realtime transcription session configuration. + * + * When a session is created on the server via REST API, the session object also + * contains an ephemeral key. Default TTL for keys is 10 minutes. This property is + * not present when a session is updated via the WebSocket API. + */ +export interface TranscriptionSession { + /** + * Ephemeral key returned by the API. Only present when the session is created on + * the server via REST API. + */ + client_secret: TranscriptionSession.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + input_audio_format?: string; + /** + * Configuration of the transcription model. + */ + input_audio_transcription?: TranscriptionSession.InputAudioTranscription; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + turn_detection?: TranscriptionSession.TurnDetection; +} +export declare namespace TranscriptionSession { + /** + * Ephemeral key returned by the API. Only present when the session is created on + * the server via REST API. + */ + interface ClientSecret { + /** + * Timestamp for when the token expires. Currently, all tokens expire after one + * minute. + */ + expires_at: number; + /** + * Ephemeral key usable in client environments to authenticate connections to the + * Realtime API. Use this in client-side environments rather than a standard API + * token, which should only be used server-side. + */ + value: string; + } + /** + * Configuration of the transcription model. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription. Can be `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, or `whisper-1`. + */ + model?: 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'whisper-1'; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. The + * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) + * should match the audio language. + */ + prompt?: string; + } + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + interface TurnDetection { + /** + * Amount of audio to include before the VAD detected speech (in milliseconds). + * Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. + * With shorter values the model will respond more quickly, but may jump in on + * short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher + * threshold will require louder audio to activate the model, and thus might + * perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection, only `server_vad` is currently supported. + */ + type?: string; + } +} +export interface TranscriptionSessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + client_secret?: TranscriptionSessionCreateParams.ClientSecret; + /** + * The set of items to include in the transcription. Current available items are: + * + * - `item.input_audio_transcription.logprobs` + */ + include?: Array; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: TranscriptionSessionCreateParams.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + input_audio_transcription?: TranscriptionSessionCreateParams.InputAudioTranscription; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: TranscriptionSessionCreateParams.TurnDetection; +} +export declare namespace TranscriptionSessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_at?: ClientSecret.ExpiresAt; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAt { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor?: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'whisper-1'; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. Not available for transcription sessions. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. Not available for transcription sessions. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } +} +export declare namespace TranscriptionSessions { + export { type TranscriptionSession as TranscriptionSession, type TranscriptionSessionCreateParams as TranscriptionSessionCreateParams, }; +} +//# sourceMappingURL=transcription-sessions.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..ae19a705788b58b319fcad8500d5f5ec6c5f617a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"transcription-sessions.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/transcription-sessions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,gCAAgC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAO3G;AAED;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,aAAa,EAAE,oBAAoB,CAAC,YAAY,CAAC;IAEjD;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,yBAAyB,CAAC,EAAE,oBAAoB,CAAC,uBAAuB,CAAC;IAEzE;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC;IAErC;;;;OAIG;IACH,cAAc,CAAC,EAAE,oBAAoB,CAAC,aAAa,CAAC;CACrD;AAED,yBAAiB,oBAAoB,CAAC;IACpC;;;OAGG;IACH,UAAiB,YAAY;QAC3B;;;WAGG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;;;WAIG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;IAED;;OAEG;IACH,UAAiB,uBAAuB;QACtC;;;;WAIG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG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,wBAAwB;QACvC;;;;WAIG;QACH,IAAI,CAAC,EAAE,YAAY,GAAG,WAAW,CAAC;KACnC;IAED;;;;OAIG;IACH,UAAiB,uBAAuB;QACtC;;;;WAIG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,KAAK,CAAC,EAAE,mBAAmB,GAAG,wBAAwB,GAAG,WAAW,CAAC;QAErE;;;;;;WAMG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;IAED;;;;;;;;;;;OAWG;IACH,UAAiB,aAAa;QAC5B;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAE1B;;;;WAIG;QACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;QAE/C;;;;WAIG;QACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAE7B;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;;WAIG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAE7B;;;;WAIG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KACtC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..636dbee60f3943a03a7b6a2d2058c52157de30ad --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts @@ -0,0 +1,299 @@ +import { APIResource } from "../../../core/resource.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class TranscriptionSessions extends APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API specifically for realtime transcriptions. Can be configured with + * the same session parameters as the `transcription_session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const transcriptionSession = + * await client.beta.realtime.transcriptionSessions.create(); + * ``` + */ + create(body: TranscriptionSessionCreateParams, options?: RequestOptions): APIPromise; +} +/** + * A new Realtime transcription session configuration. + * + * When a session is created on the server via REST API, the session object also + * contains an ephemeral key. Default TTL for keys is 10 minutes. This property is + * not present when a session is updated via the WebSocket API. + */ +export interface TranscriptionSession { + /** + * Ephemeral key returned by the API. Only present when the session is created on + * the server via REST API. + */ + client_secret: TranscriptionSession.ClientSecret; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. + */ + input_audio_format?: string; + /** + * Configuration of the transcription model. + */ + input_audio_transcription?: TranscriptionSession.InputAudioTranscription; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + turn_detection?: TranscriptionSession.TurnDetection; +} +export declare namespace TranscriptionSession { + /** + * Ephemeral key returned by the API. Only present when the session is created on + * the server via REST API. + */ + interface ClientSecret { + /** + * Timestamp for when the token expires. Currently, all tokens expire after one + * minute. + */ + expires_at: number; + /** + * Ephemeral key usable in client environments to authenticate connections to the + * Realtime API. Use this in client-side environments rather than a standard API + * token, which should only be used server-side. + */ + value: string; + } + /** + * Configuration of the transcription model. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription. Can be `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, or `whisper-1`. + */ + model?: 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'whisper-1'; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. The + * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) + * should match the audio language. + */ + prompt?: string; + } + /** + * Configuration for turn detection. Can be set to `null` to turn off. Server VAD + * means that the model will detect the start and end of speech based on audio + * volume and respond at the end of user speech. + */ + interface TurnDetection { + /** + * Amount of audio to include before the VAD detected speech (in milliseconds). + * Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. + * With shorter values the model will respond more quickly, but may jump in on + * short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher + * threshold will require louder audio to activate the model, and thus might + * perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection, only `server_vad` is currently supported. + */ + type?: string; + } +} +export interface TranscriptionSessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + client_secret?: TranscriptionSessionCreateParams.ClientSecret; + /** + * The set of items to include in the transcription. Current available items are: + * + * - `item.input_audio_transcription.logprobs` + */ + include?: Array; + /** + * The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`. For + * `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel + * (mono), and little-endian byte order. + */ + input_audio_format?: 'pcm16' | 'g711_ulaw' | 'g711_alaw'; + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + input_audio_noise_reduction?: TranscriptionSessionCreateParams.InputAudioNoiseReduction; + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + input_audio_transcription?: TranscriptionSessionCreateParams.InputAudioTranscription; + /** + * The set of modalities the model can respond with. To disable audio, set this to + * ["text"]. + */ + modalities?: Array<'text' | 'audio'>; + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + turn_detection?: TranscriptionSessionCreateParams.TurnDetection; +} +export declare namespace TranscriptionSessionCreateParams { + /** + * Configuration options for the generated client secret. + */ + interface ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + expires_at?: ClientSecret.ExpiresAt; + } + namespace ClientSecret { + /** + * Configuration for the ephemeral token expiration. + */ + interface ExpiresAt { + /** + * The anchor point for the ephemeral token expiration. Only `created_at` is + * currently supported. + */ + anchor?: 'created_at'; + /** + * The number of seconds from the anchor point to the expiration. Select a value + * between `10` and `7200`. + */ + seconds?: number; + } + } + /** + * Configuration for input audio noise reduction. This can be set to `null` to turn + * off. Noise reduction filters audio added to the input audio buffer before it is + * sent to VAD and the model. Filtering the audio can improve VAD and turn + * detection accuracy (reducing false positives) and model performance by improving + * perception of the input audio. + */ + interface InputAudioNoiseReduction { + /** + * Type of noise reduction. `near_field` is for close-talking microphones such as + * headphones, `far_field` is for far-field microphones such as laptop or + * conference room microphones. + */ + type?: 'near_field' | 'far_field'; + } + /** + * Configuration for input audio transcription. The client can optionally set the + * language and prompt for transcription, these offer additional guidance to the + * transcription service. + */ + interface InputAudioTranscription { + /** + * The language of the input audio. Supplying the input language in + * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) + * format will improve accuracy and latency. + */ + language?: string; + /** + * The model to use for transcription, current options are `gpt-4o-transcribe`, + * `gpt-4o-mini-transcribe`, and `whisper-1`. + */ + model?: 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'whisper-1'; + /** + * An optional text to guide the model's style or continue a previous audio + * segment. For `whisper-1`, the + * [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting). + * For `gpt-4o-transcribe` models, the prompt is a free text string, for example + * "expect words related to technology". + */ + prompt?: string; + } + /** + * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be + * set to `null` to turn off, in which case the client must manually trigger model + * response. Server VAD means that the model will detect the start and end of + * speech based on audio volume and respond at the end of user speech. Semantic VAD + * is more advanced and uses a turn detection model (in conjunction with VAD) to + * semantically estimate whether the user has finished speaking, then dynamically + * sets a timeout based on this probability. For example, if user audio trails off + * with "uhhm", the model will score a low probability of turn end and wait longer + * for the user to continue speaking. This can be useful for more natural + * conversations, but may have a higher latency. + */ + interface TurnDetection { + /** + * Whether or not to automatically generate a response when a VAD stop event + * occurs. Not available for transcription sessions. + */ + create_response?: boolean; + /** + * Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` + * will wait longer for the user to continue speaking, `high` will respond more + * quickly. `auto` is the default and is equivalent to `medium`. + */ + eagerness?: 'low' | 'medium' | 'high' | 'auto'; + /** + * Whether or not to automatically interrupt any ongoing response with output to + * the default conversation (i.e. `conversation` of `auto`) when a VAD start event + * occurs. Not available for transcription sessions. + */ + interrupt_response?: boolean; + /** + * Used only for `server_vad` mode. Amount of audio to include before the VAD + * detected speech (in milliseconds). Defaults to 300ms. + */ + prefix_padding_ms?: number; + /** + * Used only for `server_vad` mode. Duration of silence to detect speech stop (in + * milliseconds). Defaults to 500ms. With shorter values the model will respond + * more quickly, but may jump in on short pauses from the user. + */ + silence_duration_ms?: number; + /** + * Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this + * defaults to 0.5. A higher threshold will require louder audio to activate the + * model, and thus might perform better in noisy environments. + */ + threshold?: number; + /** + * Type of turn detection. + */ + type?: 'server_vad' | 'semantic_vad'; + } +} +export declare namespace TranscriptionSessions { + export { type TranscriptionSession as TranscriptionSession, type TranscriptionSessionCreateParams as TranscriptionSessionCreateParams, }; +} +//# sourceMappingURL=transcription-sessions.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f564b345e15a17c18bf5fa2c48578e8494ff378c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transcription-sessions.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/transcription-sessions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,gCAAgC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAO3G;AAED;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,aAAa,EAAE,oBAAoB,CAAC,YAAY,CAAC;IAEjD;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,yBAAyB,CAAC,EAAE,oBAAoB,CAAC,uBAAuB,CAAC;IAEzE;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC;IAErC;;;;OAIG;IACH,cAAc,CAAC,EAAE,oBAAoB,CAAC,aAAa,CAAC;C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B;;WAEG;QACH,UAAU,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;KACrC;IAED,UAAiB,YAAY,CAAC;QAC5B;;WAEG;QACH,UAAiB,SAAS;YACxB;;;eAGG;YACH,MAAM,CAAC,EAAE,YAAY,CAAC;YAEtB;;;eAGG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB;KACF;IAED;;;;;;OAMG;IACH,UAAiB,wBAAwB;QACvC;;;;WAIG;QACH,IAAI,CAAC,EAAE,YAAY,GAAG,WAAW,CAAC;KACnC;IAED;;;;OAIG;IACH,UAAiB,uBAAuB;QACtC;;;;WAIG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,KAAK,CAAC,EAAE,mBAAmB,GAAG,wBAAwB,GAAG,WAAW,CAAC;QAErE;;;;;;WAMG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;IAED;;;;;;;;;;;OAWG;IACH,UAAiB,aAAa;QAC5B;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAE1B;;;;WAIG;QACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;QAE/C;;;;WAIG;QACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAE7B;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;;WAIG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAE7B;;;;WAIG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KACtC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.js new file mode 100644 index 0000000000000000000000000000000000000000..ee81a3d9d0a569625aa2e1f03a1d83400d5e4caf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.js @@ -0,0 +1,32 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TranscriptionSessions = void 0; +const resource_1 = require("../../../core/resource.js"); +const headers_1 = require("../../../internal/headers.js"); +class TranscriptionSessions extends resource_1.APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API specifically for realtime transcriptions. Can be configured with + * the same session parameters as the `transcription_session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const transcriptionSession = + * await client.beta.realtime.transcriptionSessions.create(); + * ``` + */ + create(body, options) { + return this._client.post('/realtime/transcription_sessions', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +exports.TranscriptionSessions = TranscriptionSessions; +//# sourceMappingURL=transcription-sessions.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.js.map new file mode 100644 index 0000000000000000000000000000000000000000..6a416dd558c0cba6c84ca1e18bc9e3e0b54a9d61 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transcription-sessions.js","sourceRoot":"","sources":["../../../src/resources/beta/realtime/transcription-sessions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAsC,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE;YAC3D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,sDAuBC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs new file mode 100644 index 0000000000000000000000000000000000000000..4073313cedb1c06719dff3a65b339461394ee18a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs @@ -0,0 +1,28 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { buildHeaders } from "../../../internal/headers.mjs"; +export class TranscriptionSessions extends APIResource { + /** + * Create an ephemeral API token for use in client-side applications with the + * Realtime API specifically for realtime transcriptions. Can be configured with + * the same session parameters as the `transcription_session.update` client event. + * + * It responds with a session object, plus a `client_secret` key which contains a + * usable ephemeral API token that can be used to authenticate browser clients for + * the Realtime API. + * + * @example + * ```ts + * const transcriptionSession = + * await client.beta.realtime.transcriptionSessions.create(); + * ``` + */ + create(body, options) { + return this._client.post('/realtime/transcription_sessions', { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +//# sourceMappingURL=transcription-sessions.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..86f02c0948c177d11d5ddc30e7f1bec8a549bf91 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"transcription-sessions.mjs","sourceRoot":"","sources":["../../../src/resources/beta/realtime/transcription-sessions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAsC,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE;YAC3D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..93b3795894c5070bbf5e9ab2050e6a448bc17c90 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.mts @@ -0,0 +1,2 @@ +export * from "./threads/index.mjs"; +//# sourceMappingURL=threads.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..a68ab716d6f486b0c10e9904d4de62e50bd8b962 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.d.mts","sourceRoot":"","sources":["../../src/resources/beta/threads.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..887d7b3339992ca725824eaa099a107d7976d02e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.ts @@ -0,0 +1,2 @@ +export * from "./threads/index.js"; +//# sourceMappingURL=threads.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..19669fd5117d670d90856cc924e425555d4ff5de --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../src/resources/beta/threads.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.js new file mode 100644 index 0000000000000000000000000000000000000000..dbb2cbb293ee376d10d9dd076b63fc2799a88cae --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./threads/index.js"), exports); +//# sourceMappingURL=threads.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.js.map new file mode 100644 index 0000000000000000000000000000000000000000..43b83735cf555e00caf74db54f829643b22a733d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.js","sourceRoot":"","sources":["../../src/resources/beta/threads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.mjs new file mode 100644 index 0000000000000000000000000000000000000000..5f8dab43b4a43ff5749ffa559d38ad2127de35ea --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./threads/index.mjs"; +//# sourceMappingURL=threads.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..29a54601dc8044088e2976487d2e0ed65e1e0d14 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.mjs","sourceRoot":"","sources":["../../src/resources/beta/threads.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..0b759ae90643e43f0007b942bbbe8d50dd990243 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.mts @@ -0,0 +1,4 @@ +export { Messages, type Annotation, type AnnotationDelta, type FileCitationAnnotation, type FileCitationDeltaAnnotation, type FilePathAnnotation, type FilePathDeltaAnnotation, type ImageFile, type ImageFileContentBlock, type ImageFileDelta, type ImageFileDeltaBlock, type ImageURL, type ImageURLContentBlock, type ImageURLDelta, type ImageURLDeltaBlock, type Message, type MessageContent, type MessageContentDelta, type MessageContentPartParam, type MessageDeleted, type MessageDelta, type MessageDeltaEvent, type RefusalContentBlock, type RefusalDeltaBlock, type Text, type TextContentBlock, type TextContentBlockParam, type TextDelta, type TextDeltaBlock, type MessageCreateParams, type MessageRetrieveParams, type MessageUpdateParams, type MessageListParams, type MessageDeleteParams, type MessagesPage, } from "./messages.mjs"; +export { Runs, type RequiredActionFunctionToolCall, type Run, type RunStatus, type RunCreateParams, type RunCreateParamsNonStreaming, type RunCreateParamsStreaming, type RunRetrieveParams, type RunUpdateParams, type RunListParams, type RunCancelParams, type RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming, type RunsPage, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, } from "./runs/index.mjs"; +export { Threads, type AssistantResponseFormatOption, type AssistantToolChoice, type AssistantToolChoiceFunction, type AssistantToolChoiceOption, type Thread, type ThreadDeleted, type ThreadCreateParams, type ThreadUpdateParams, type ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, } from "./threads.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c7ff7a5d86b2a5e26c12ddd527b876da23e56e00 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/threads/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,YAAY,GAClB;OACM,EACL,IAAI,EACJ,KAAK,8BAA8B,EACnC,KAAK,GAAG,EACR,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,GACtC;OACM,EACL,OAAO,EACP,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,GACpC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bf262194c28d4b35ad9466c5820b472051e0ee1a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.ts @@ -0,0 +1,4 @@ +export { Messages, type Annotation, type AnnotationDelta, type FileCitationAnnotation, type FileCitationDeltaAnnotation, type FilePathAnnotation, type FilePathDeltaAnnotation, type ImageFile, type ImageFileContentBlock, type ImageFileDelta, type ImageFileDeltaBlock, type ImageURL, type ImageURLContentBlock, type ImageURLDelta, type ImageURLDeltaBlock, type Message, type MessageContent, type MessageContentDelta, type MessageContentPartParam, type MessageDeleted, type MessageDelta, type MessageDeltaEvent, type RefusalContentBlock, type RefusalDeltaBlock, type Text, type TextContentBlock, type TextContentBlockParam, type TextDelta, type TextDeltaBlock, type MessageCreateParams, type MessageRetrieveParams, type MessageUpdateParams, type MessageListParams, type MessageDeleteParams, type MessagesPage, } from "./messages.js"; +export { Runs, type RequiredActionFunctionToolCall, type Run, type RunStatus, type RunCreateParams, type RunCreateParamsNonStreaming, type RunCreateParamsStreaming, type RunRetrieveParams, type RunUpdateParams, type RunListParams, type RunCancelParams, type RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming, type RunsPage, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, } from "./runs/index.js"; +export { Threads, type AssistantResponseFormatOption, type AssistantToolChoice, type AssistantToolChoiceFunction, type AssistantToolChoiceOption, type Thread, type ThreadDeleted, type ThreadCreateParams, type ThreadUpdateParams, type ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, } from "./threads.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..63f1d0023a540d8a3a8082e95e9a35673eaefb81 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/threads/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,UAAU,EACf,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wB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,GACpC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.js new file mode 100644 index 0000000000000000000000000000000000000000..577ff582772648fd27f0ca2ea2ff38e89b38a67f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.js @@ -0,0 +1,11 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Threads = exports.Runs = exports.Messages = void 0; +var messages_1 = require("./messages.js"); +Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } }); +var index_1 = require("./runs/index.js"); +Object.defineProperty(exports, "Runs", { enumerable: true, get: function () { return index_1.Runs; } }); +var threads_1 = require("./threads.js"); +Object.defineProperty(exports, "Threads", { enumerable: true, get: function () { return threads_1.Threads; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ce315c9a632d4251ed90e60f6823684f04196abf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/threads/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAoCoB;AAnClB,oGAAA,QAAQ,OAAA;AAoCV,yCAqBsB;AApBpB,6FAAA,IAAI,OAAA;AAqBN,wCAemB;AAdjB,kGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f7b734002d9a6b09b38591c8655b030175f07646 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.mjs @@ -0,0 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Messages, } from "./messages.mjs"; +export { Runs, } from "./runs/index.mjs"; +export { Threads, } from "./threads.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..20a8ceffb4610a354672d85c92f811fc9412d5b5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/threads/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAmCT;OACM,EACL,IAAI,GAoBL;OACM,EACL,OAAO,GAcR"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..86c423e065f5bea618e74d92d55090ed5f4ae595 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.mts @@ -0,0 +1,594 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as Shared from "../../shared.mjs"; +import * as AssistantsAPI from "../assistants.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Messages extends APIResource { + /** + * Create a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(threadID: string, body: MessageCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieve a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(messageID: string, params: MessageRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Modifies a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(messageID: string, params: MessageUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of messages for a given thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID: string, query?: MessageListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Deletes a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(messageID: string, params: MessageDeleteParams, options?: RequestOptions): APIPromise; +} +export type MessagesPage = CursorPage; +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export type Annotation = FileCitationAnnotation | FilePathAnnotation; +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export type AnnotationDelta = FileCitationDeltaAnnotation | FilePathDeltaAnnotation; +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export interface FileCitationAnnotation { + end_index: number; + file_citation: FileCitationAnnotation.FileCitation; + start_index: number; + /** + * The text in the message content that needs to be replaced. + */ + text: string; + /** + * Always `file_citation`. + */ + type: 'file_citation'; +} +export declare namespace FileCitationAnnotation { + interface FileCitation { + /** + * The ID of the specific File the citation is from. + */ + file_id: string; + } +} +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export interface FileCitationDeltaAnnotation { + /** + * The index of the annotation in the text content part. + */ + index: number; + /** + * Always `file_citation`. + */ + type: 'file_citation'; + end_index?: number; + file_citation?: FileCitationDeltaAnnotation.FileCitation; + start_index?: number; + /** + * The text in the message content that needs to be replaced. + */ + text?: string; +} +export declare namespace FileCitationDeltaAnnotation { + interface FileCitation { + /** + * The ID of the specific File the citation is from. + */ + file_id?: string; + /** + * The specific quote in the file. + */ + quote?: string; + } +} +/** + * A URL for the file that's generated when the assistant used the + * `code_interpreter` tool to generate a file. + */ +export interface FilePathAnnotation { + end_index: number; + file_path: FilePathAnnotation.FilePath; + start_index: number; + /** + * The text in the message content that needs to be replaced. + */ + text: string; + /** + * Always `file_path`. + */ + type: 'file_path'; +} +export declare namespace FilePathAnnotation { + interface FilePath { + /** + * The ID of the file that was generated. + */ + file_id: string; + } +} +/** + * A URL for the file that's generated when the assistant used the + * `code_interpreter` tool to generate a file. + */ +export interface FilePathDeltaAnnotation { + /** + * The index of the annotation in the text content part. + */ + index: number; + /** + * Always `file_path`. + */ + type: 'file_path'; + end_index?: number; + file_path?: FilePathDeltaAnnotation.FilePath; + start_index?: number; + /** + * The text in the message content that needs to be replaced. + */ + text?: string; +} +export declare namespace FilePathDeltaAnnotation { + interface FilePath { + /** + * The ID of the file that was generated. + */ + file_id?: string; + } +} +export interface ImageFile { + /** + * The [File](https://platform.openai.com/docs/api-reference/files) ID of the image + * in the message content. Set `purpose="vision"` when uploading the File if you + * need to later display the file content. + */ + file_id: string; + /** + * Specifies the detail level of the image if specified by the user. `low` uses + * fewer tokens, you can opt in to high resolution using `high`. + */ + detail?: 'auto' | 'low' | 'high'; +} +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export interface ImageFileContentBlock { + image_file: ImageFile; + /** + * Always `image_file`. + */ + type: 'image_file'; +} +export interface ImageFileDelta { + /** + * Specifies the detail level of the image if specified by the user. `low` uses + * fewer tokens, you can opt in to high resolution using `high`. + */ + detail?: 'auto' | 'low' | 'high'; + /** + * The [File](https://platform.openai.com/docs/api-reference/files) ID of the image + * in the message content. Set `purpose="vision"` when uploading the File if you + * need to later display the file content. + */ + file_id?: string; +} +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export interface ImageFileDeltaBlock { + /** + * The index of the content part in the message. + */ + index: number; + /** + * Always `image_file`. + */ + type: 'image_file'; + image_file?: ImageFileDelta; +} +export interface ImageURL { + /** + * The external URL of the image, must be a supported image types: jpeg, jpg, png, + * gif, webp. + */ + url: string; + /** + * Specifies the detail level of the image. `low` uses fewer tokens, you can opt in + * to high resolution using `high`. Default value is `auto` + */ + detail?: 'auto' | 'low' | 'high'; +} +/** + * References an image URL in the content of a message. + */ +export interface ImageURLContentBlock { + image_url: ImageURL; + /** + * The type of the content part. + */ + type: 'image_url'; +} +export interface ImageURLDelta { + /** + * Specifies the detail level of the image. `low` uses fewer tokens, you can opt in + * to high resolution using `high`. + */ + detail?: 'auto' | 'low' | 'high'; + /** + * The URL of the image, must be a supported image types: jpeg, jpg, png, gif, + * webp. + */ + url?: string; +} +/** + * References an image URL in the content of a message. + */ +export interface ImageURLDeltaBlock { + /** + * The index of the content part in the message. + */ + index: number; + /** + * Always `image_url`. + */ + type: 'image_url'; + image_url?: ImageURLDelta; +} +/** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ +export interface Message { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * If applicable, the ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) that + * authored this message. + */ + assistant_id: string | null; + /** + * A list of files attached to the message, and the tools they were added to. + */ + attachments: Array | null; + /** + * The Unix timestamp (in seconds) for when the message was completed. + */ + completed_at: number | null; + /** + * The content of the message in array of text and/or images. + */ + content: Array; + /** + * The Unix timestamp (in seconds) for when the message was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the message was marked as incomplete. + */ + incomplete_at: number | null; + /** + * On an incomplete message, details about why the message is incomplete. + */ + incomplete_details: Message.IncompleteDetails | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The object type, which is always `thread.message`. + */ + object: 'thread.message'; + /** + * The entity that produced the message. One of `user` or `assistant`. + */ + role: 'user' | 'assistant'; + /** + * The ID of the [run](https://platform.openai.com/docs/api-reference/runs) + * associated with the creation of this message. Value is `null` when messages are + * created manually using the create message or create thread endpoints. + */ + run_id: string | null; + /** + * The status of the message, which can be either `in_progress`, `incomplete`, or + * `completed`. + */ + status: 'in_progress' | 'incomplete' | 'completed'; + /** + * The [thread](https://platform.openai.com/docs/api-reference/threads) ID that + * this message belongs to. + */ + thread_id: string; +} +export declare namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface AssistantToolsFileSearchTypeOnly { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + /** + * On an incomplete message, details about why the message is incomplete. + */ + interface IncompleteDetails { + /** + * The reason the message is incomplete. + */ + reason: 'content_filter' | 'max_tokens' | 'run_cancelled' | 'run_expired' | 'run_failed'; + } +} +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export type MessageContent = ImageFileContentBlock | ImageURLContentBlock | TextContentBlock | RefusalContentBlock; +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export type MessageContentDelta = ImageFileDeltaBlock | TextDeltaBlock | RefusalDeltaBlock | ImageURLDeltaBlock; +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export type MessageContentPartParam = ImageFileContentBlock | ImageURLContentBlock | TextContentBlockParam; +export interface MessageDeleted { + id: string; + deleted: boolean; + object: 'thread.message.deleted'; +} +/** + * The delta containing the fields that have changed on the Message. + */ +export interface MessageDelta { + /** + * The content of the message in array of text and/or images. + */ + content?: Array; + /** + * The entity that produced the message. One of `user` or `assistant`. + */ + role?: 'user' | 'assistant'; +} +/** + * Represents a message delta i.e. any changed fields on a message during + * streaming. + */ +export interface MessageDeltaEvent { + /** + * The identifier of the message, which can be referenced in API endpoints. + */ + id: string; + /** + * The delta containing the fields that have changed on the Message. + */ + delta: MessageDelta; + /** + * The object type, which is always `thread.message.delta`. + */ + object: 'thread.message.delta'; +} +/** + * The refusal content generated by the assistant. + */ +export interface RefusalContentBlock { + refusal: string; + /** + * Always `refusal`. + */ + type: 'refusal'; +} +/** + * The refusal content that is part of a message. + */ +export interface RefusalDeltaBlock { + /** + * The index of the refusal part in the message. + */ + index: number; + /** + * Always `refusal`. + */ + type: 'refusal'; + refusal?: string; +} +export interface Text { + annotations: Array; + /** + * The data that makes up the text. + */ + value: string; +} +/** + * The text content that is part of a message. + */ +export interface TextContentBlock { + text: Text; + /** + * Always `text`. + */ + type: 'text'; +} +/** + * The text content that is part of a message. + */ +export interface TextContentBlockParam { + /** + * Text content to be sent to the model + */ + text: string; + /** + * Always `text`. + */ + type: 'text'; +} +export interface TextDelta { + annotations?: Array; + /** + * The data that makes up the text. + */ + value?: string; +} +/** + * The text content that is part of a message. + */ +export interface TextDeltaBlock { + /** + * The index of the content part in the message. + */ + index: number; + /** + * Always `text`. + */ + type: 'text'; + text?: TextDelta; +} +export interface MessageCreateParams { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +export declare namespace MessageCreateParams { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } +} +export interface MessageRetrieveParams { + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * to which this message belongs. + */ + thread_id: string; +} +export interface MessageUpdateParams { + /** + * Path param: The ID of the thread to which this message belongs. + */ + thread_id: string; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +export interface MessageListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; + /** + * Filter messages by the run ID that generated them. + */ + run_id?: string; +} +export interface MessageDeleteParams { + /** + * The ID of the thread to which this message belongs. + */ + thread_id: string; +} +export declare namespace Messages { + export { type Annotation as Annotation, type AnnotationDelta as AnnotationDelta, type FileCitationAnnotation as FileCitationAnnotation, type FileCitationDeltaAnnotation as FileCitationDeltaAnnotation, type FilePathAnnotation as FilePathAnnotation, type FilePathDeltaAnnotation as FilePathDeltaAnnotation, type ImageFile as ImageFile, type ImageFileContentBlock as ImageFileContentBlock, type ImageFileDelta as ImageFileDelta, type ImageFileDeltaBlock as ImageFileDeltaBlock, type ImageURL as ImageURL, type ImageURLContentBlock as ImageURLContentBlock, type ImageURLDelta as ImageURLDelta, type ImageURLDeltaBlock as ImageURLDeltaBlock, type Message as Message, type MessageContent as MessageContent, type MessageContentDelta as MessageContentDelta, type MessageContentPartParam as MessageContentPartParam, type MessageDeleted as MessageDeleted, type MessageDelta as MessageDelta, type MessageDeltaEvent as MessageDeltaEvent, type RefusalContentBlock as RefusalContentBlock, type RefusalDeltaBlock as RefusalDeltaBlock, type Text as Text, type TextContentBlock as TextContentBlock, type TextContentBlockParam as TextContentBlockParam, type TextDelta as TextDelta, type TextDeltaBlock as TextDeltaBlock, type MessagesPage as MessagesPage, type MessageCreateParams as MessageCreateParams, type MessageRetrieveParams as MessageRetrieveParams, type MessageUpdateParams as MessageUpdateParams, type MessageListParams as MessageListParams, type MessageDeleteParams as MessageDeleteParams, }; +} +//# sourceMappingURL=messages.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..42170462569ddc5ffb244b3a5971db62f09d44b2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/threads/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,I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AAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4ec516933e39ab561ec2ef5b70d2c95bb5f05d03 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.ts @@ -0,0 +1,594 @@ +import { APIResource } from "../../../core/resource.js"; +import * as Shared from "../../shared.js"; +import * as AssistantsAPI from "../assistants.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Messages extends APIResource { + /** + * Create a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(threadID: string, body: MessageCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieve a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(messageID: string, params: MessageRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Modifies a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(messageID: string, params: MessageUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of messages for a given thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID: string, query?: MessageListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Deletes a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(messageID: string, params: MessageDeleteParams, options?: RequestOptions): APIPromise; +} +export type MessagesPage = CursorPage; +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export type Annotation = FileCitationAnnotation | FilePathAnnotation; +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export type AnnotationDelta = FileCitationDeltaAnnotation | FilePathDeltaAnnotation; +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export interface FileCitationAnnotation { + end_index: number; + file_citation: FileCitationAnnotation.FileCitation; + start_index: number; + /** + * The text in the message content that needs to be replaced. + */ + text: string; + /** + * Always `file_citation`. + */ + type: 'file_citation'; +} +export declare namespace FileCitationAnnotation { + interface FileCitation { + /** + * The ID of the specific File the citation is from. + */ + file_id: string; + } +} +/** + * A citation within the message that points to a specific quote from a specific + * File associated with the assistant or the message. Generated when the assistant + * uses the "file_search" tool to search files. + */ +export interface FileCitationDeltaAnnotation { + /** + * The index of the annotation in the text content part. + */ + index: number; + /** + * Always `file_citation`. + */ + type: 'file_citation'; + end_index?: number; + file_citation?: FileCitationDeltaAnnotation.FileCitation; + start_index?: number; + /** + * The text in the message content that needs to be replaced. + */ + text?: string; +} +export declare namespace FileCitationDeltaAnnotation { + interface FileCitation { + /** + * The ID of the specific File the citation is from. + */ + file_id?: string; + /** + * The specific quote in the file. + */ + quote?: string; + } +} +/** + * A URL for the file that's generated when the assistant used the + * `code_interpreter` tool to generate a file. + */ +export interface FilePathAnnotation { + end_index: number; + file_path: FilePathAnnotation.FilePath; + start_index: number; + /** + * The text in the message content that needs to be replaced. + */ + text: string; + /** + * Always `file_path`. + */ + type: 'file_path'; +} +export declare namespace FilePathAnnotation { + interface FilePath { + /** + * The ID of the file that was generated. + */ + file_id: string; + } +} +/** + * A URL for the file that's generated when the assistant used the + * `code_interpreter` tool to generate a file. + */ +export interface FilePathDeltaAnnotation { + /** + * The index of the annotation in the text content part. + */ + index: number; + /** + * Always `file_path`. + */ + type: 'file_path'; + end_index?: number; + file_path?: FilePathDeltaAnnotation.FilePath; + start_index?: number; + /** + * The text in the message content that needs to be replaced. + */ + text?: string; +} +export declare namespace FilePathDeltaAnnotation { + interface FilePath { + /** + * The ID of the file that was generated. + */ + file_id?: string; + } +} +export interface ImageFile { + /** + * The [File](https://platform.openai.com/docs/api-reference/files) ID of the image + * in the message content. Set `purpose="vision"` when uploading the File if you + * need to later display the file content. + */ + file_id: string; + /** + * Specifies the detail level of the image if specified by the user. `low` uses + * fewer tokens, you can opt in to high resolution using `high`. + */ + detail?: 'auto' | 'low' | 'high'; +} +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export interface ImageFileContentBlock { + image_file: ImageFile; + /** + * Always `image_file`. + */ + type: 'image_file'; +} +export interface ImageFileDelta { + /** + * Specifies the detail level of the image if specified by the user. `low` uses + * fewer tokens, you can opt in to high resolution using `high`. + */ + detail?: 'auto' | 'low' | 'high'; + /** + * The [File](https://platform.openai.com/docs/api-reference/files) ID of the image + * in the message content. Set `purpose="vision"` when uploading the File if you + * need to later display the file content. + */ + file_id?: string; +} +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export interface ImageFileDeltaBlock { + /** + * The index of the content part in the message. + */ + index: number; + /** + * Always `image_file`. + */ + type: 'image_file'; + image_file?: ImageFileDelta; +} +export interface ImageURL { + /** + * The external URL of the image, must be a supported image types: jpeg, jpg, png, + * gif, webp. + */ + url: string; + /** + * Specifies the detail level of the image. `low` uses fewer tokens, you can opt in + * to high resolution using `high`. Default value is `auto` + */ + detail?: 'auto' | 'low' | 'high'; +} +/** + * References an image URL in the content of a message. + */ +export interface ImageURLContentBlock { + image_url: ImageURL; + /** + * The type of the content part. + */ + type: 'image_url'; +} +export interface ImageURLDelta { + /** + * Specifies the detail level of the image. `low` uses fewer tokens, you can opt in + * to high resolution using `high`. + */ + detail?: 'auto' | 'low' | 'high'; + /** + * The URL of the image, must be a supported image types: jpeg, jpg, png, gif, + * webp. + */ + url?: string; +} +/** + * References an image URL in the content of a message. + */ +export interface ImageURLDeltaBlock { + /** + * The index of the content part in the message. + */ + index: number; + /** + * Always `image_url`. + */ + type: 'image_url'; + image_url?: ImageURLDelta; +} +/** + * Represents a message within a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ +export interface Message { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * If applicable, the ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) that + * authored this message. + */ + assistant_id: string | null; + /** + * A list of files attached to the message, and the tools they were added to. + */ + attachments: Array | null; + /** + * The Unix timestamp (in seconds) for when the message was completed. + */ + completed_at: number | null; + /** + * The content of the message in array of text and/or images. + */ + content: Array; + /** + * The Unix timestamp (in seconds) for when the message was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the message was marked as incomplete. + */ + incomplete_at: number | null; + /** + * On an incomplete message, details about why the message is incomplete. + */ + incomplete_details: Message.IncompleteDetails | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The object type, which is always `thread.message`. + */ + object: 'thread.message'; + /** + * The entity that produced the message. One of `user` or `assistant`. + */ + role: 'user' | 'assistant'; + /** + * The ID of the [run](https://platform.openai.com/docs/api-reference/runs) + * associated with the creation of this message. Value is `null` when messages are + * created manually using the create message or create thread endpoints. + */ + run_id: string | null; + /** + * The status of the message, which can be either `in_progress`, `incomplete`, or + * `completed`. + */ + status: 'in_progress' | 'incomplete' | 'completed'; + /** + * The [thread](https://platform.openai.com/docs/api-reference/threads) ID that + * this message belongs to. + */ + thread_id: string; +} +export declare namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface AssistantToolsFileSearchTypeOnly { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + /** + * On an incomplete message, details about why the message is incomplete. + */ + interface IncompleteDetails { + /** + * The reason the message is incomplete. + */ + reason: 'content_filter' | 'max_tokens' | 'run_cancelled' | 'run_expired' | 'run_failed'; + } +} +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export type MessageContent = ImageFileContentBlock | ImageURLContentBlock | TextContentBlock | RefusalContentBlock; +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export type MessageContentDelta = ImageFileDeltaBlock | TextDeltaBlock | RefusalDeltaBlock | ImageURLDeltaBlock; +/** + * References an image [File](https://platform.openai.com/docs/api-reference/files) + * in the content of a message. + */ +export type MessageContentPartParam = ImageFileContentBlock | ImageURLContentBlock | TextContentBlockParam; +export interface MessageDeleted { + id: string; + deleted: boolean; + object: 'thread.message.deleted'; +} +/** + * The delta containing the fields that have changed on the Message. + */ +export interface MessageDelta { + /** + * The content of the message in array of text and/or images. + */ + content?: Array; + /** + * The entity that produced the message. One of `user` or `assistant`. + */ + role?: 'user' | 'assistant'; +} +/** + * Represents a message delta i.e. any changed fields on a message during + * streaming. + */ +export interface MessageDeltaEvent { + /** + * The identifier of the message, which can be referenced in API endpoints. + */ + id: string; + /** + * The delta containing the fields that have changed on the Message. + */ + delta: MessageDelta; + /** + * The object type, which is always `thread.message.delta`. + */ + object: 'thread.message.delta'; +} +/** + * The refusal content generated by the assistant. + */ +export interface RefusalContentBlock { + refusal: string; + /** + * Always `refusal`. + */ + type: 'refusal'; +} +/** + * The refusal content that is part of a message. + */ +export interface RefusalDeltaBlock { + /** + * The index of the refusal part in the message. + */ + index: number; + /** + * Always `refusal`. + */ + type: 'refusal'; + refusal?: string; +} +export interface Text { + annotations: Array; + /** + * The data that makes up the text. + */ + value: string; +} +/** + * The text content that is part of a message. + */ +export interface TextContentBlock { + text: Text; + /** + * Always `text`. + */ + type: 'text'; +} +/** + * The text content that is part of a message. + */ +export interface TextContentBlockParam { + /** + * Text content to be sent to the model + */ + text: string; + /** + * Always `text`. + */ + type: 'text'; +} +export interface TextDelta { + annotations?: Array; + /** + * The data that makes up the text. + */ + value?: string; +} +/** + * The text content that is part of a message. + */ +export interface TextDeltaBlock { + /** + * The index of the content part in the message. + */ + index: number; + /** + * Always `text`. + */ + type: 'text'; + text?: TextDelta; +} +export interface MessageCreateParams { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +export declare namespace MessageCreateParams { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } +} +export interface MessageRetrieveParams { + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * to which this message belongs. + */ + thread_id: string; +} +export interface MessageUpdateParams { + /** + * Path param: The ID of the thread to which this message belongs. + */ + thread_id: string; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +export interface MessageListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; + /** + * Filter messages by the run ID that generated them. + */ + run_id?: string; +} +export interface MessageDeleteParams { + /** + * The ID of the thread to which this message belongs. + */ + thread_id: string; +} +export declare namespace Messages { + export { type Annotation as Annotation, type AnnotationDelta as AnnotationDelta, type FileCitationAnnotation as FileCitationAnnotation, type FileCitationDeltaAnnotation as FileCitationDeltaAnnotation, type FilePathAnnotation as FilePathAnnotation, type FilePathDeltaAnnotation as FilePathDeltaAnnotation, type ImageFile as ImageFile, type ImageFileContentBlock as ImageFileContentBlock, type ImageFileDelta as ImageFileDelta, type ImageFileDeltaBlock as ImageFileDeltaBlock, type ImageURL as ImageURL, type ImageURLContentBlock as ImageURLContentBlock, type ImageURLDelta as ImageURLDelta, type ImageURLDeltaBlock as ImageURLDeltaBlock, type Message as Message, type MessageContent as MessageContent, type MessageContentDelta as MessageContentDelta, type MessageContentPartParam as MessageContentPartParam, type MessageDeleted as MessageDeleted, type MessageDelta as MessageDelta, type MessageDeltaEvent as MessageDeltaEvent, type RefusalContentBlock as RefusalContentBlock, type RefusalDeltaBlock as RefusalDeltaBlock, type Text as Text, type TextContentBlock as TextContentBlock, type TextContentBlockParam as TextContentBlockParam, type TextDelta as TextDelta, type TextDeltaBlock as TextDeltaBlock, type MessagesPage as MessagesPage, type MessageCreateParams as MessageCreateParams, type MessageRetrieveParams as MessageRetrieveParams, type MessageUpdateParams as MessageUpdateParams, type MessageListParams as MessageListParams, type MessageDeleteParams as MessageDeleteParams, }; +} +//# sourceMappingURL=messages.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e408753ce5c32f9c5b23ff8e215a1b7265ea89e3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/threads/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAQlG;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAQzG;;;;OAIG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IASrG;;;;OAIG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC;IAQrC;;;;OAIG;IAC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A2B,IAAI,2BAA2B,EAC/D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.js new file mode 100644 index 0000000000000000000000000000000000000000..b30ff792b15695ee283da9466fb5f45401de50a1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.js @@ -0,0 +1,76 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Messages = void 0; +const resource_1 = require("../../../core/resource.js"); +const pagination_1 = require("../../../core/pagination.js"); +const headers_1 = require("../../../internal/headers.js"); +const path_1 = require("../../../internal/utils/path.js"); +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +class Messages extends resource_1.APIResource { + /** + * Create a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(threadID, body, options) { + return this._client.post((0, path_1.path) `/threads/${threadID}/messages`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieve a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(messageID, params, options) { + const { thread_id } = params; + return this._client.get((0, path_1.path) `/threads/${thread_id}/messages/${messageID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(messageID, params, options) { + const { thread_id, ...body } = params; + return this._client.post((0, path_1.path) `/threads/${thread_id}/messages/${messageID}`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of messages for a given thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/threads/${threadID}/messages`, (pagination_1.CursorPage), { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Deletes a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(messageID, params, options) { + const { thread_id } = params; + return this._client.delete((0, path_1.path) `/threads/${thread_id}/messages/${messageID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +exports.Messages = Messages; +//# sourceMappingURL=messages.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.js.map new file mode 100644 index 0000000000000000000000000000000000000000..d0d03412a04e63e491e29803098ec1e51729aa71 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.js.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/resources/beta/threads/messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,4DAA0F;AAC1F,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAyB,EAAE,OAAwB;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,WAAW,EAAE;YAC5D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,SAAiB,EAAE,MAA6B,EAAE,OAAwB;QACjF,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,aAAa,SAAS,EAAE,EAA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,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AA1ED,4BA0EC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.mjs new file mode 100644 index 0000000000000000000000000000000000000000..702459f649d760bd364638fabae81691632227a9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.mjs @@ -0,0 +1,72 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { buildHeaders } from "../../../internal/headers.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export class Messages extends APIResource { + /** + * Create a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(threadID, body, options) { + return this._client.post(path `/threads/${threadID}/messages`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieve a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(messageID, params, options) { + const { thread_id } = params; + return this._client.get(path `/threads/${thread_id}/messages/${messageID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(messageID, params, options) { + const { thread_id, ...body } = params; + return this._client.post(path `/threads/${thread_id}/messages/${messageID}`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of messages for a given thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID, query = {}, options) { + return this._client.getAPIList(path `/threads/${threadID}/messages`, (CursorPage), { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Deletes a message. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(messageID, params, options) { + const { thread_id } = params; + return this._client.delete(path `/threads/${thread_id}/messages/${messageID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +//# sourceMappingURL=messages.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..717b3b2f20c39ef1045f56c72fd5d198110a7788 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/messages.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.mjs","sourceRoot":"","sources":["../../../src/resources/beta/threads/messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAyB,EAAE,OAAwB;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,WAAW,EAAE;YAC5D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,SAAiB,EAAE,MAA6B,EAAE,OAAwB;QACj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E;YAC5E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..57b66725a392c4f0e4adf8202808d5e737b33e7c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.mts @@ -0,0 +1,2 @@ +export * from "./runs/index.mjs"; +//# sourceMappingURL=runs.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..adf04464d42cf035cf8a41eb0c9bd36da2764119 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/threads/runs.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d50499c2deb266906ba85f0a239350d9a6827a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.ts @@ -0,0 +1,2 @@ +export * from "./runs/index.js"; +//# sourceMappingURL=runs.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..18e8ed934ebf7b1aeb6342326410f5a3ff241ba7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/threads/runs.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.js new file mode 100644 index 0000000000000000000000000000000000000000..adc63049c0df8648450fc4aa92abf44c8d34dbfd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../../internal/tslib.js"); +tslib_1.__exportStar(require("./runs/index.js"), exports); +//# sourceMappingURL=runs.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.js.map new file mode 100644 index 0000000000000000000000000000000000000000..677a7a73d7c7393b2ff5f35544a728041e008ce4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/resources/beta/threads/runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.mjs new file mode 100644 index 0000000000000000000000000000000000000000..02d03b3d35c7c6d2bd273c88bb7f0a5c82274e9f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./runs/index.mjs"; +//# sourceMappingURL=runs.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..eed6e51f1cab27c634485569a9f1615acb68b7a2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../../src/resources/beta/threads/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..419f0654c99896c6e8ebc90b4715d4dd9260364b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.mts @@ -0,0 +1,3 @@ +export { Runs, type RequiredActionFunctionToolCall, type Run, type RunStatus, type RunCreateParams, type RunCreateParamsNonStreaming, type RunCreateParamsStreaming, type RunRetrieveParams, type RunUpdateParams, type RunListParams, type RunCancelParams, type RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming, type RunsPage, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, } from "./runs.mjs"; +export { Steps, type CodeInterpreterLogs, type CodeInterpreterOutputImage, type CodeInterpreterToolCall, type CodeInterpreterToolCallDelta, type FileSearchToolCall, type FileSearchToolCallDelta, type FunctionToolCall, type FunctionToolCallDelta, type MessageCreationStepDetails, type RunStep, type RunStepInclude, type RunStepDelta, type RunStepDeltaEvent, type RunStepDeltaMessageDelta, type ToolCall, type ToolCallDelta, type ToolCallDeltaObject, type ToolCallsStepDetails, type StepRetrieveParams, type StepListParams, type RunStepsPage, } from "./steps.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..fd3173327f9f701d8c7f61ef33d97969bbeb2837 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,8BAA8B,EACnC,KAAK,GAAG,EACR,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,GACtC;OACM,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,YAAY,GAClB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..89fd05cd979a48251da404e6295abaf29da593ca --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.ts @@ -0,0 +1,3 @@ +export { Runs, type RequiredActionFunctionToolCall, type Run, type RunStatus, type RunCreateParams, type RunCreateParamsNonStreaming, type RunCreateParamsStreaming, type RunRetrieveParams, type RunUpdateParams, type RunListParams, type RunCancelParams, type RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming, type RunsPage, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, } from "./runs.js"; +export { Steps, type CodeInterpreterLogs, type CodeInterpreterOutputImage, type CodeInterpreterToolCall, type CodeInterpreterToolCallDelta, type FileSearchToolCall, type FileSearchToolCallDelta, type FunctionToolCall, type FunctionToolCallDelta, type MessageCreationStepDetails, type RunStep, type RunStepInclude, type RunStepDelta, type RunStepDeltaEvent, type RunStepDeltaMessageDelta, type ToolCall, type ToolCallDelta, type ToolCallDeltaObject, type ToolCallsStepDetails, type StepRetrieveParams, type StepListParams, type RunStepsPage, } from "./steps.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..eeb39aa3a4838909303145f953647df2219d45e6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,8BAA8B,EACnC,KAAK,GAAG,EACR,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,GACtC;OACM,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,YAAY,GAClB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..0f5cbedc03b74ab2c287650c6d4c787e5e1da6d3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Steps = exports.Runs = void 0; +var runs_1 = require("./runs.js"); +Object.defineProperty(exports, "Runs", { enumerable: true, get: function () { return runs_1.Runs; } }); +var steps_1 = require("./steps.js"); +Object.defineProperty(exports, "Steps", { enumerable: true, get: function () { return steps_1.Steps; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..861c55b7bac4546cef5c0dc317ce073505669d89 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAqBgB;AApBd,4FAAA,IAAI,OAAA;AAqBN,oCAuBiB;AAtBf,8FAAA,KAAK,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..546fd7d3c82629daf3c214e78adadef4bf4e2cfb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Runs, } from "./runs.mjs"; +export { Steps, } from "./steps.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9a50d1a86daf5a97889df3374975a03806b8bfb8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,IAAI,GAoBL;OACM,EACL,KAAK,GAsBN"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..7c25e9a10ff417c2f425dc92378238a1cd930247 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.mts @@ -0,0 +1,733 @@ +import { APIResource } from "../../../../core/resource.mjs"; +import * as RunsAPI from "./runs.mjs"; +import * as Shared from "../../../shared.mjs"; +import * as AssistantsAPI from "../../assistants.mjs"; +import * as MessagesAPI from "../messages.mjs"; +import * as ThreadsAPI from "../threads.mjs"; +import * as StepsAPI from "./steps.mjs"; +import { CodeInterpreterLogs, CodeInterpreterOutputImage, CodeInterpreterToolCall, CodeInterpreterToolCallDelta, FileSearchToolCall, FileSearchToolCallDelta, FunctionToolCall, FunctionToolCallDelta, MessageCreationStepDetails, RunStep, RunStepDelta, RunStepDeltaEvent, RunStepDeltaMessageDelta, RunStepInclude, RunStepsPage, StepListParams, StepRetrieveParams, Steps, ToolCall, ToolCallDelta, ToolCallDeltaObject, ToolCallsStepDetails } from "./steps.mjs"; +import { APIPromise } from "../../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../../core/pagination.mjs"; +import { Stream } from "../../../../core/streaming.mjs"; +import { RequestOptions } from "../../../../internal/request-options.mjs"; +import { AssistantStream, RunCreateParamsBaseStream } from "../../../../lib/AssistantStream.mjs"; +import { RunSubmitToolOutputsParamsStream } from "../../../../lib/AssistantStream.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Runs extends APIResource { + steps: StepsAPI.Steps; + /** + * Create a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(threadID: string, params: RunCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(threadID: string, params: RunCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(threadID: string, params: RunCreateParamsBase, options?: RequestOptions): APIPromise | Run>; + /** + * Retrieves a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(runID: string, params: RunRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Modifies a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(runID: string, params: RunUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of runs belonging to a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID: string, query?: RunListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Cancels a run that is `in_progress`. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + cancel(runID: string, params: RunCancelParams, options?: RequestOptions): APIPromise; + /** + * A helper to create a run an poll for a terminal state. More information on Run + * lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + createAndPoll(threadId: string, body: RunCreateParamsNonStreaming, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Create a Run stream + * + * @deprecated use `stream` instead + */ + createAndStream(threadId: string, body: RunCreateParamsBaseStream, options?: RequestOptions): AssistantStream; + /** + * A helper to poll a run status until it reaches a terminal state. More + * information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + poll(runId: string, params: RunRetrieveParams, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Create a Run stream + */ + stream(threadId: string, body: RunCreateParamsBaseStream, options?: RequestOptions): AssistantStream; + /** + * When a run has the `status: "requires_action"` and `required_action.type` is + * `submit_tool_outputs`, this endpoint can be used to submit the outputs from the + * tool calls once they're all completed. All outputs must be submitted in a single + * request. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + submitToolOutputs(runID: string, params: RunSubmitToolOutputsParamsNonStreaming, options?: RequestOptions): APIPromise; + submitToolOutputs(runID: string, params: RunSubmitToolOutputsParamsStreaming, options?: RequestOptions): APIPromise>; + submitToolOutputs(runID: string, params: RunSubmitToolOutputsParamsBase, options?: RequestOptions): APIPromise | Run>; + /** + * A helper to submit a tool output to a run and poll for a terminal run state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + submitToolOutputsAndPoll(runId: string, params: RunSubmitToolOutputsParamsNonStreaming, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Submit the tool outputs from a previous run and stream the run to a terminal + * state. More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + submitToolOutputsStream(runId: string, params: RunSubmitToolOutputsParamsStream, options?: RequestOptions): AssistantStream; +} +export type RunsPage = CursorPage; +/** + * Tool call objects + */ +export interface RequiredActionFunctionToolCall { + /** + * The ID of the tool call. This ID must be referenced when you submit the tool + * outputs in using the + * [Submit tool outputs to run](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) + * endpoint. + */ + id: string; + /** + * The function definition. + */ + function: RequiredActionFunctionToolCall.Function; + /** + * The type of tool call the output is required for. For now, this is always + * `function`. + */ + type: 'function'; +} +export declare namespace RequiredActionFunctionToolCall { + /** + * The function definition. + */ + interface Function { + /** + * The arguments that the model expects you to pass to the function. + */ + arguments: string; + /** + * The name of the function. + */ + name: string; + } +} +/** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ +export interface Run { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * execution of this run. + */ + assistant_id: string; + /** + * The Unix timestamp (in seconds) for when the run was cancelled. + */ + cancelled_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run was completed. + */ + completed_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the run will expire. + */ + expires_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run failed. + */ + failed_at: number | null; + /** + * Details on why the run is incomplete. Will be `null` if the run is not + * incomplete. + */ + incomplete_details: Run.IncompleteDetails | null; + /** + * The instructions that the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * this run. + */ + instructions: string; + /** + * The last error associated with this run. Will be `null` if there are no errors. + */ + last_error: Run.LastError | null; + /** + * The maximum number of completion tokens specified to have been used over the + * course of the run. + */ + max_completion_tokens: number | null; + /** + * The maximum number of prompt tokens specified to have been used over the course + * of the run. + */ + max_prompt_tokens: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * this run. + */ + model: string; + /** + * The object type, which is always `thread.run`. + */ + object: 'thread.run'; + /** + * Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls: boolean; + /** + * Details on the action required to continue the run. Will be `null` if no action + * is required. + */ + required_action: Run.RequiredAction | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * The Unix timestamp (in seconds) for when the run was started. + */ + started_at: number | null; + /** + * The status of the run, which can be either `queued`, `in_progress`, + * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, + * `incomplete`, or `expired`. + */ + status: RunStatus; + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * that was executed on as a part of this run. + */ + thread_id: string; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice: ThreadsAPI.AssistantToolChoiceOption | null; + /** + * The list of tools that the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * this run. + */ + tools: Array; + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + truncation_strategy: Run.TruncationStrategy | null; + /** + * Usage statistics related to the run. This value will be `null` if the run is not + * in a terminal state (i.e. `in_progress`, `queued`, etc.). + */ + usage: Run.Usage | null; + /** + * The sampling temperature used for this run. If not set, defaults to 1. + */ + temperature?: number | null; + /** + * The nucleus sampling value used for this run. If not set, defaults to 1. + */ + top_p?: number | null; +} +export declare namespace Run { + /** + * Details on why the run is incomplete. Will be `null` if the run is not + * incomplete. + */ + interface IncompleteDetails { + /** + * The reason why the run is incomplete. This will point to which specific token + * limit was reached over the course of the run. + */ + reason?: 'max_completion_tokens' | 'max_prompt_tokens'; + } + /** + * The last error associated with this run. Will be `null` if there are no errors. + */ + interface LastError { + /** + * One of `server_error`, `rate_limit_exceeded`, or `invalid_prompt`. + */ + code: 'server_error' | 'rate_limit_exceeded' | 'invalid_prompt'; + /** + * A human-readable description of the error. + */ + message: string; + } + /** + * Details on the action required to continue the run. Will be `null` if no action + * is required. + */ + interface RequiredAction { + /** + * Details on the tool outputs needed for this run to continue. + */ + submit_tool_outputs: RequiredAction.SubmitToolOutputs; + /** + * For now, this is always `submit_tool_outputs`. + */ + type: 'submit_tool_outputs'; + } + namespace RequiredAction { + /** + * Details on the tool outputs needed for this run to continue. + */ + interface SubmitToolOutputs { + /** + * A list of the relevant tool calls. + */ + tool_calls: Array; + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } + /** + * Usage statistics related to the run. This value will be `null` if the run is not + * in a terminal state (i.e. `in_progress`, `queued`, etc.). + */ + interface Usage { + /** + * Number of completion tokens used over the course of the run. + */ + completion_tokens: number; + /** + * Number of prompt tokens used over the course of the run. + */ + prompt_tokens: number; + /** + * Total number of tokens used (prompt + completion). + */ + total_tokens: number; + } +} +/** + * The status of the run, which can be either `queued`, `in_progress`, + * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, + * `incomplete`, or `expired`. + */ +export type RunStatus = 'queued' | 'in_progress' | 'requires_action' | 'cancelling' | 'cancelled' | 'failed' | 'completed' | 'incomplete' | 'expired'; +export type RunCreateParams = RunCreateParamsNonStreaming | RunCreateParamsStreaming; +export interface RunCreateParamsBase { + /** + * Body param: The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to + * execute this run. + */ + assistant_id: string; + /** + * Query param: A list of additional fields to include in the response. Currently + * the only supported value is + * `step_details.tool_calls[*].file_search.results[*].content` to fetch the file + * search result content. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + include?: Array; + /** + * Body param: Appends additional instructions at the end of the instructions for + * the run. This is useful for modifying the behavior on a per-run basis without + * overriding other instructions. + */ + additional_instructions?: string | null; + /** + * Body param: Adds additional messages to the thread before creating the run. + */ + additional_messages?: Array | null; + /** + * Body param: Overrides the + * [instructions](https://platform.openai.com/docs/api-reference/assistants/createAssistant) + * of the assistant. This is useful for modifying the behavior on a per-run basis. + */ + instructions?: string | null; + /** + * Body param: The maximum number of completion tokens that may be used over the + * course of the run. The run will make a best effort to use only the number of + * completion tokens specified, across multiple turns of the run. If the run + * exceeds the number of completion tokens specified, the run will end with status + * `incomplete`. See `incomplete_details` for more info. + */ + max_completion_tokens?: number | null; + /** + * Body param: The maximum number of prompt tokens that may be used over the course + * of the run. The run will make a best effort to use only the number of prompt + * tokens specified, across multiple turns of the run. If the run exceeds the + * number of prompt tokens specified, the run will end with status `incomplete`. + * See `incomplete_details` for more info. + */ + max_prompt_tokens?: number | null; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Body param: The ID of the + * [Model](https://platform.openai.com/docs/api-reference/models) to be used to + * execute this run. If a value is provided here, it will override the model + * associated with the assistant. If not, the model associated with the assistant + * will be used. + */ + model?: (string & {}) | Shared.ChatModel | null; + /** + * Body param: Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls?: boolean; + /** + * Body param: Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Body param: Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: boolean | null; + /** + * Body param: What sampling temperature to use, between 0 and 2. Higher values + * like 0.8 will make the output more random, while lower values like 0.2 will make + * it more focused and deterministic. + */ + temperature?: number | null; + /** + * Body param: Controls which (if any) tool is called by the model. `none` means + * the model will not call any tools and instead generates a message. `auto` is the + * default value and means the model can pick between generating a message or + * calling one or more tools. `required` means the model must call one or more + * tools before responding to the user. Specifying a particular tool like + * `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice?: ThreadsAPI.AssistantToolChoiceOption | null; + /** + * Body param: Override the tools the assistant can use for this run. This is + * useful for modifying the behavior on a per-run basis. + */ + tools?: Array | null; + /** + * Body param: An alternative to sampling with temperature, called nucleus + * sampling, where the model considers the results of the tokens with top_p + * probability mass. So 0.1 means only the tokens comprising the top 10% + * probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; + /** + * Body param: Controls for how a thread will be truncated prior to the run. Use + * this to control the initial context window of the run. + */ + truncation_strategy?: RunCreateParams.TruncationStrategy | null; +} +export declare namespace RunCreateParams { + interface AdditionalMessage { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace AdditionalMessage { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } + type RunCreateParamsNonStreaming = RunsAPI.RunCreateParamsNonStreaming; + type RunCreateParamsStreaming = RunsAPI.RunCreateParamsStreaming; +} +export interface RunCreateParamsNonStreaming extends RunCreateParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: false | null; +} +export interface RunCreateParamsStreaming extends RunCreateParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream: true; +} +export interface RunRetrieveParams { + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * that was run. + */ + thread_id: string; +} +export interface RunUpdateParams { + /** + * Path param: The ID of the + * [thread](https://platform.openai.com/docs/api-reference/threads) that was run. + */ + thread_id: string; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +export interface RunListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface RunCancelParams { + /** + * The ID of the thread to which this run belongs. + */ + thread_id: string; +} +export type RunCreateAndPollParams = ThreadsAPI.ThreadCreateAndRunParamsNonStreaming; +export type RunCreateAndStreamParams = RunCreateParamsBaseStream; +export type RunStreamParams = RunCreateParamsBaseStream; +export type RunSubmitToolOutputsParams = RunSubmitToolOutputsParamsNonStreaming | RunSubmitToolOutputsParamsStreaming; +export interface RunSubmitToolOutputsParamsBase { + /** + * Path param: The ID of the + * [thread](https://platform.openai.com/docs/api-reference/threads) to which this + * run belongs. + */ + thread_id: string; + /** + * Body param: A list of tools for which the outputs are being submitted. + */ + tool_outputs: Array; + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: boolean | null; +} +export declare namespace RunSubmitToolOutputsParams { + interface ToolOutput { + /** + * The output of the tool call to be submitted to continue the run. + */ + output?: string; + /** + * The ID of the tool call in the `required_action` object within the run object + * the output is being submitted for. + */ + tool_call_id?: string; + } + type RunSubmitToolOutputsParamsNonStreaming = RunsAPI.RunSubmitToolOutputsParamsNonStreaming; + type RunSubmitToolOutputsParamsStreaming = RunsAPI.RunSubmitToolOutputsParamsStreaming; +} +export interface RunSubmitToolOutputsParamsNonStreaming extends RunSubmitToolOutputsParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: false | null; +} +export interface RunSubmitToolOutputsParamsStreaming extends RunSubmitToolOutputsParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream: true; +} +export type RunSubmitToolOutputsAndPollParams = RunSubmitToolOutputsParamsNonStreaming; +export type RunSubmitToolOutputsStreamParams = RunSubmitToolOutputsParamsStream; +export declare namespace Runs { + export { type RequiredActionFunctionToolCall as RequiredActionFunctionToolCall, type Run as Run, type RunStatus as RunStatus, type RunsPage as RunsPage, type RunCreateParams as RunCreateParams, type RunCreateParamsNonStreaming as RunCreateParamsNonStreaming, type RunCreateParamsStreaming as RunCreateParamsStreaming, type RunRetrieveParams as RunRetrieveParams, type RunUpdateParams as RunUpdateParams, type RunListParams as RunListParams, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsParams as RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming as RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming as RunSubmitToolOutputsParamsStreaming, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, }; + export { Steps as Steps, type CodeInterpreterLogs as CodeInterpreterLogs, type CodeInterpreterOutputImage as CodeInterpreterOutputImage, type CodeInterpreterToolCall as CodeInterpreterToolCall, type CodeInterpreterToolCallDelta as CodeInterpreterToolCallDelta, type FileSearchToolCall as FileSearchToolCall, type FileSearchToolCallDelta as FileSearchToolCallDelta, type FunctionToolCall as FunctionToolCall, type FunctionToolCallDelta as FunctionToolCallDelta, type MessageCreationStepDetails as MessageCreationStepDetails, type RunStep as RunStep, type RunStepDelta as RunStepDelta, type RunStepDeltaEvent as RunStepDeltaEvent, type RunStepDeltaMessageDelta as RunStepDeltaMessageDelta, type RunStepInclude as RunStepInclude, type ToolCall as ToolCall, type ToolCallDelta as ToolCallDelta, type ToolCallDeltaObject as ToolCallDeltaObject, type ToolCallsStepDetails as ToolCallsStepDetails, type RunStepsPage as RunStepsPage, type StepRetrieveParams as StepRetrieveParams, type StepListParams as StepListParams, }; +} +//# sourceMappingURL=runs.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..68a1c5c7da62330d9f00a4de616d636449147208 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,KAAK,WAAW;OAChB,KAAK,UAAU;OACf,KAAK,QAAQ;OACb,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,kBAAkB,EAClB,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,KAAK,EACL,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACrB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;OAClB,EAAE,eAAe,EAAE,yBAAyB,EAAE;OAE9C,EAAE,gCAAgC,EAAE;AAG3C;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;OAIG;IACH,MAAM,CAAC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,wBAAwB,EACzD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,GACtC,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..976353779e76f2209bb8fb70c15ffa9cebf7455a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.ts @@ -0,0 +1,733 @@ +import { APIResource } from "../../../../core/resource.js"; +import * as RunsAPI from "./runs.js"; +import * as Shared from "../../../shared.js"; +import * as AssistantsAPI from "../../assistants.js"; +import * as MessagesAPI from "../messages.js"; +import * as ThreadsAPI from "../threads.js"; +import * as StepsAPI from "./steps.js"; +import { CodeInterpreterLogs, CodeInterpreterOutputImage, CodeInterpreterToolCall, CodeInterpreterToolCallDelta, FileSearchToolCall, FileSearchToolCallDelta, FunctionToolCall, FunctionToolCallDelta, MessageCreationStepDetails, RunStep, RunStepDelta, RunStepDeltaEvent, RunStepDeltaMessageDelta, RunStepInclude, RunStepsPage, StepListParams, StepRetrieveParams, Steps, ToolCall, ToolCallDelta, ToolCallDeltaObject, ToolCallsStepDetails } from "./steps.js"; +import { APIPromise } from "../../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../../core/pagination.js"; +import { Stream } from "../../../../core/streaming.js"; +import { RequestOptions } from "../../../../internal/request-options.js"; +import { AssistantStream, RunCreateParamsBaseStream } from "../../../../lib/AssistantStream.js"; +import { RunSubmitToolOutputsParamsStream } from "../../../../lib/AssistantStream.js"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Runs extends APIResource { + steps: StepsAPI.Steps; + /** + * Create a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(threadID: string, params: RunCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(threadID: string, params: RunCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(threadID: string, params: RunCreateParamsBase, options?: RequestOptions): APIPromise | Run>; + /** + * Retrieves a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(runID: string, params: RunRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Modifies a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(runID: string, params: RunUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of runs belonging to a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID: string, query?: RunListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Cancels a run that is `in_progress`. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + cancel(runID: string, params: RunCancelParams, options?: RequestOptions): APIPromise; + /** + * A helper to create a run an poll for a terminal state. More information on Run + * lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + createAndPoll(threadId: string, body: RunCreateParamsNonStreaming, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Create a Run stream + * + * @deprecated use `stream` instead + */ + createAndStream(threadId: string, body: RunCreateParamsBaseStream, options?: RequestOptions): AssistantStream; + /** + * A helper to poll a run status until it reaches a terminal state. More + * information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + poll(runId: string, params: RunRetrieveParams, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Create a Run stream + */ + stream(threadId: string, body: RunCreateParamsBaseStream, options?: RequestOptions): AssistantStream; + /** + * When a run has the `status: "requires_action"` and `required_action.type` is + * `submit_tool_outputs`, this endpoint can be used to submit the outputs from the + * tool calls once they're all completed. All outputs must be submitted in a single + * request. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + submitToolOutputs(runID: string, params: RunSubmitToolOutputsParamsNonStreaming, options?: RequestOptions): APIPromise; + submitToolOutputs(runID: string, params: RunSubmitToolOutputsParamsStreaming, options?: RequestOptions): APIPromise>; + submitToolOutputs(runID: string, params: RunSubmitToolOutputsParamsBase, options?: RequestOptions): APIPromise | Run>; + /** + * A helper to submit a tool output to a run and poll for a terminal run state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + submitToolOutputsAndPoll(runId: string, params: RunSubmitToolOutputsParamsNonStreaming, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Submit the tool outputs from a previous run and stream the run to a terminal + * state. More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + submitToolOutputsStream(runId: string, params: RunSubmitToolOutputsParamsStream, options?: RequestOptions): AssistantStream; +} +export type RunsPage = CursorPage; +/** + * Tool call objects + */ +export interface RequiredActionFunctionToolCall { + /** + * The ID of the tool call. This ID must be referenced when you submit the tool + * outputs in using the + * [Submit tool outputs to run](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) + * endpoint. + */ + id: string; + /** + * The function definition. + */ + function: RequiredActionFunctionToolCall.Function; + /** + * The type of tool call the output is required for. For now, this is always + * `function`. + */ + type: 'function'; +} +export declare namespace RequiredActionFunctionToolCall { + /** + * The function definition. + */ + interface Function { + /** + * The arguments that the model expects you to pass to the function. + */ + arguments: string; + /** + * The name of the function. + */ + name: string; + } +} +/** + * Represents an execution run on a + * [thread](https://platform.openai.com/docs/api-reference/threads). + */ +export interface Run { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * execution of this run. + */ + assistant_id: string; + /** + * The Unix timestamp (in seconds) for when the run was cancelled. + */ + cancelled_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run was completed. + */ + completed_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the run will expire. + */ + expires_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run failed. + */ + failed_at: number | null; + /** + * Details on why the run is incomplete. Will be `null` if the run is not + * incomplete. + */ + incomplete_details: Run.IncompleteDetails | null; + /** + * The instructions that the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * this run. + */ + instructions: string; + /** + * The last error associated with this run. Will be `null` if there are no errors. + */ + last_error: Run.LastError | null; + /** + * The maximum number of completion tokens specified to have been used over the + * course of the run. + */ + max_completion_tokens: number | null; + /** + * The maximum number of prompt tokens specified to have been used over the course + * of the run. + */ + max_prompt_tokens: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * this run. + */ + model: string; + /** + * The object type, which is always `thread.run`. + */ + object: 'thread.run'; + /** + * Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls: boolean; + /** + * Details on the action required to continue the run. Will be `null` if no action + * is required. + */ + required_action: Run.RequiredAction | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * The Unix timestamp (in seconds) for when the run was started. + */ + started_at: number | null; + /** + * The status of the run, which can be either `queued`, `in_progress`, + * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, + * `incomplete`, or `expired`. + */ + status: RunStatus; + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * that was executed on as a part of this run. + */ + thread_id: string; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice: ThreadsAPI.AssistantToolChoiceOption | null; + /** + * The list of tools that the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) used for + * this run. + */ + tools: Array; + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + truncation_strategy: Run.TruncationStrategy | null; + /** + * Usage statistics related to the run. This value will be `null` if the run is not + * in a terminal state (i.e. `in_progress`, `queued`, etc.). + */ + usage: Run.Usage | null; + /** + * The sampling temperature used for this run. If not set, defaults to 1. + */ + temperature?: number | null; + /** + * The nucleus sampling value used for this run. If not set, defaults to 1. + */ + top_p?: number | null; +} +export declare namespace Run { + /** + * Details on why the run is incomplete. Will be `null` if the run is not + * incomplete. + */ + interface IncompleteDetails { + /** + * The reason why the run is incomplete. This will point to which specific token + * limit was reached over the course of the run. + */ + reason?: 'max_completion_tokens' | 'max_prompt_tokens'; + } + /** + * The last error associated with this run. Will be `null` if there are no errors. + */ + interface LastError { + /** + * One of `server_error`, `rate_limit_exceeded`, or `invalid_prompt`. + */ + code: 'server_error' | 'rate_limit_exceeded' | 'invalid_prompt'; + /** + * A human-readable description of the error. + */ + message: string; + } + /** + * Details on the action required to continue the run. Will be `null` if no action + * is required. + */ + interface RequiredAction { + /** + * Details on the tool outputs needed for this run to continue. + */ + submit_tool_outputs: RequiredAction.SubmitToolOutputs; + /** + * For now, this is always `submit_tool_outputs`. + */ + type: 'submit_tool_outputs'; + } + namespace RequiredAction { + /** + * Details on the tool outputs needed for this run to continue. + */ + interface SubmitToolOutputs { + /** + * A list of the relevant tool calls. + */ + tool_calls: Array; + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } + /** + * Usage statistics related to the run. This value will be `null` if the run is not + * in a terminal state (i.e. `in_progress`, `queued`, etc.). + */ + interface Usage { + /** + * Number of completion tokens used over the course of the run. + */ + completion_tokens: number; + /** + * Number of prompt tokens used over the course of the run. + */ + prompt_tokens: number; + /** + * Total number of tokens used (prompt + completion). + */ + total_tokens: number; + } +} +/** + * The status of the run, which can be either `queued`, `in_progress`, + * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, + * `incomplete`, or `expired`. + */ +export type RunStatus = 'queued' | 'in_progress' | 'requires_action' | 'cancelling' | 'cancelled' | 'failed' | 'completed' | 'incomplete' | 'expired'; +export type RunCreateParams = RunCreateParamsNonStreaming | RunCreateParamsStreaming; +export interface RunCreateParamsBase { + /** + * Body param: The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to + * execute this run. + */ + assistant_id: string; + /** + * Query param: A list of additional fields to include in the response. Currently + * the only supported value is + * `step_details.tool_calls[*].file_search.results[*].content` to fetch the file + * search result content. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + include?: Array; + /** + * Body param: Appends additional instructions at the end of the instructions for + * the run. This is useful for modifying the behavior on a per-run basis without + * overriding other instructions. + */ + additional_instructions?: string | null; + /** + * Body param: Adds additional messages to the thread before creating the run. + */ + additional_messages?: Array | null; + /** + * Body param: Overrides the + * [instructions](https://platform.openai.com/docs/api-reference/assistants/createAssistant) + * of the assistant. This is useful for modifying the behavior on a per-run basis. + */ + instructions?: string | null; + /** + * Body param: The maximum number of completion tokens that may be used over the + * course of the run. The run will make a best effort to use only the number of + * completion tokens specified, across multiple turns of the run. If the run + * exceeds the number of completion tokens specified, the run will end with status + * `incomplete`. See `incomplete_details` for more info. + */ + max_completion_tokens?: number | null; + /** + * Body param: The maximum number of prompt tokens that may be used over the course + * of the run. The run will make a best effort to use only the number of prompt + * tokens specified, across multiple turns of the run. If the run exceeds the + * number of prompt tokens specified, the run will end with status `incomplete`. + * See `incomplete_details` for more info. + */ + max_prompt_tokens?: number | null; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Body param: The ID of the + * [Model](https://platform.openai.com/docs/api-reference/models) to be used to + * execute this run. If a value is provided here, it will override the model + * associated with the assistant. If not, the model associated with the assistant + * will be used. + */ + model?: (string & {}) | Shared.ChatModel | null; + /** + * Body param: Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls?: boolean; + /** + * Body param: Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Body param: Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: ThreadsAPI.AssistantResponseFormatOption | null; + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: boolean | null; + /** + * Body param: What sampling temperature to use, between 0 and 2. Higher values + * like 0.8 will make the output more random, while lower values like 0.2 will make + * it more focused and deterministic. + */ + temperature?: number | null; + /** + * Body param: Controls which (if any) tool is called by the model. `none` means + * the model will not call any tools and instead generates a message. `auto` is the + * default value and means the model can pick between generating a message or + * calling one or more tools. `required` means the model must call one or more + * tools before responding to the user. Specifying a particular tool like + * `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice?: ThreadsAPI.AssistantToolChoiceOption | null; + /** + * Body param: Override the tools the assistant can use for this run. This is + * useful for modifying the behavior on a per-run basis. + */ + tools?: Array | null; + /** + * Body param: An alternative to sampling with temperature, called nucleus + * sampling, where the model considers the results of the tokens with top_p + * probability mass. So 0.1 means only the tokens comprising the top 10% + * probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; + /** + * Body param: Controls for how a thread will be truncated prior to the run. Use + * this to control the initial context window of the run. + */ + truncation_strategy?: RunCreateParams.TruncationStrategy | null; +} +export declare namespace RunCreateParams { + interface AdditionalMessage { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace AdditionalMessage { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } + type RunCreateParamsNonStreaming = RunsAPI.RunCreateParamsNonStreaming; + type RunCreateParamsStreaming = RunsAPI.RunCreateParamsStreaming; +} +export interface RunCreateParamsNonStreaming extends RunCreateParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: false | null; +} +export interface RunCreateParamsStreaming extends RunCreateParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream: true; +} +export interface RunRetrieveParams { + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * that was run. + */ + thread_id: string; +} +export interface RunUpdateParams { + /** + * Path param: The ID of the + * [thread](https://platform.openai.com/docs/api-reference/threads) that was run. + */ + thread_id: string; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +export interface RunListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface RunCancelParams { + /** + * The ID of the thread to which this run belongs. + */ + thread_id: string; +} +export type RunCreateAndPollParams = ThreadsAPI.ThreadCreateAndRunParamsNonStreaming; +export type RunCreateAndStreamParams = RunCreateParamsBaseStream; +export type RunStreamParams = RunCreateParamsBaseStream; +export type RunSubmitToolOutputsParams = RunSubmitToolOutputsParamsNonStreaming | RunSubmitToolOutputsParamsStreaming; +export interface RunSubmitToolOutputsParamsBase { + /** + * Path param: The ID of the + * [thread](https://platform.openai.com/docs/api-reference/threads) to which this + * run belongs. + */ + thread_id: string; + /** + * Body param: A list of tools for which the outputs are being submitted. + */ + tool_outputs: Array; + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: boolean | null; +} +export declare namespace RunSubmitToolOutputsParams { + interface ToolOutput { + /** + * The output of the tool call to be submitted to continue the run. + */ + output?: string; + /** + * The ID of the tool call in the `required_action` object within the run object + * the output is being submitted for. + */ + tool_call_id?: string; + } + type RunSubmitToolOutputsParamsNonStreaming = RunsAPI.RunSubmitToolOutputsParamsNonStreaming; + type RunSubmitToolOutputsParamsStreaming = RunsAPI.RunSubmitToolOutputsParamsStreaming; +} +export interface RunSubmitToolOutputsParamsNonStreaming extends RunSubmitToolOutputsParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream?: false | null; +} +export interface RunSubmitToolOutputsParamsStreaming extends RunSubmitToolOutputsParamsBase { + /** + * Body param: If `true`, returns a stream of events that happen during the Run as + * server-sent events, terminating when the Run enters a terminal state with a + * `data: [DONE]` message. + */ + stream: true; +} +export type RunSubmitToolOutputsAndPollParams = RunSubmitToolOutputsParamsNonStreaming; +export type RunSubmitToolOutputsStreamParams = RunSubmitToolOutputsParamsStream; +export declare namespace Runs { + export { type RequiredActionFunctionToolCall as RequiredActionFunctionToolCall, type Run as Run, type RunStatus as RunStatus, type RunsPage as RunsPage, type RunCreateParams as RunCreateParams, type RunCreateParamsNonStreaming as RunCreateParamsNonStreaming, type RunCreateParamsStreaming as RunCreateParamsStreaming, type RunRetrieveParams as RunRetrieveParams, type RunUpdateParams as RunUpdateParams, type RunListParams as RunListParams, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsParams as RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming as RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming as RunSubmitToolOutputsParamsStreaming, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, }; + export { Steps as Steps, type CodeInterpreterLogs as CodeInterpreterLogs, type CodeInterpreterOutputImage as CodeInterpreterOutputImage, type CodeInterpreterToolCall as CodeInterpreterToolCall, type CodeInterpreterToolCallDelta as CodeInterpreterToolCallDelta, type FileSearchToolCall as FileSearchToolCall, type FileSearchToolCallDelta as FileSearchToolCallDelta, type FunctionToolCall as FunctionToolCall, type FunctionToolCallDelta as FunctionToolCallDelta, type MessageCreationStepDetails as MessageCreationStepDetails, type RunStep as RunStep, type RunStepDelta as RunStepDelta, type RunStepDeltaEvent as RunStepDeltaEvent, type RunStepDeltaMessageDelta as RunStepDeltaMessageDelta, type RunStepInclude as RunStepInclude, type ToolCall as ToolCall, type ToolCallDelta as ToolCallDelta, type ToolCallDeltaObject as ToolCallDeltaObject, type ToolCallsStepDetails as ToolCallsStepDetails, type RunStepsPage as RunStepsPage, type StepRetrieveParams as StepRetrieveParams, type StepListParams as StepListParams, }; +} +//# sourceMappingURL=runs.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..51ecbab3fb5e71f59d71d78a0b4b182f7cf37f2f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,KAAK,WAAW;OAChB,KAAK,UAAU;OACf,KAAK,QAAQ;OACb,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,kBAAkB,EAClB,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,KAAK,EACL,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACrB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;OAClB,EAAE,eAAe,EAAE,yBAAyB,EAAE;OAE9C,EAAE,gCAAgC,EAAE;AAG3C;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW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beta/threads/runs/runs.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.js new file mode 100644 index 0000000000000000000000000000000000000000..041dbe736b707a78656be3eac9c08ba119ee639e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.js @@ -0,0 +1,182 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Runs = void 0; +const tslib_1 = require("../../../../internal/tslib.js"); +const resource_1 = require("../../../../core/resource.js"); +const StepsAPI = tslib_1.__importStar(require("./steps.js")); +const steps_1 = require("./steps.js"); +const pagination_1 = require("../../../../core/pagination.js"); +const headers_1 = require("../../../../internal/headers.js"); +const AssistantStream_1 = require("../../../../lib/AssistantStream.js"); +const sleep_1 = require("../../../../internal/utils/sleep.js"); +const path_1 = require("../../../../internal/utils/path.js"); +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +class Runs extends resource_1.APIResource { + constructor() { + super(...arguments); + this.steps = new StepsAPI.Steps(this._client); + } + create(threadID, params, options) { + const { include, ...body } = params; + return this._client.post((0, path_1.path) `/threads/${threadID}/runs`, { + query: { include }, + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + stream: params.stream ?? false, + }); + } + /** + * Retrieves a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(runID, params, options) { + const { thread_id } = params; + return this._client.get((0, path_1.path) `/threads/${thread_id}/runs/${runID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(runID, params, options) { + const { thread_id, ...body } = params; + return this._client.post((0, path_1.path) `/threads/${thread_id}/runs/${runID}`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of runs belonging to a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/threads/${threadID}/runs`, (pagination_1.CursorPage), { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Cancels a run that is `in_progress`. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + cancel(runID, params, options) { + const { thread_id } = params; + return this._client.post((0, path_1.path) `/threads/${thread_id}/runs/${runID}/cancel`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * A helper to create a run an poll for a terminal state. More information on Run + * lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async createAndPoll(threadId, body, options) { + const run = await this.create(threadId, body, options); + return await this.poll(run.id, { thread_id: threadId }, options); + } + /** + * Create a Run stream + * + * @deprecated use `stream` instead + */ + createAndStream(threadId, body, options) { + return AssistantStream_1.AssistantStream.createAssistantStream(threadId, this._client.beta.threads.runs, body, options); + } + /** + * A helper to poll a run status until it reaches a terminal state. More + * information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async poll(runId, params, options) { + const headers = (0, headers_1.buildHeaders)([ + options?.headers, + { + 'X-Stainless-Poll-Helper': 'true', + 'X-Stainless-Custom-Poll-Interval': options?.pollIntervalMs?.toString() ?? undefined, + }, + ]); + while (true) { + const { data: run, response } = await this.retrieve(runId, params, { + ...options, + headers: { ...options?.headers, ...headers }, + }).withResponse(); + switch (run.status) { + //If we are in any sort of intermediate state we poll + case 'queued': + case 'in_progress': + case 'cancelling': + let sleepInterval = 5000; + if (options?.pollIntervalMs) { + sleepInterval = options.pollIntervalMs; + } + else { + const headerInterval = response.headers.get('openai-poll-after-ms'); + if (headerInterval) { + const headerIntervalMs = parseInt(headerInterval); + if (!isNaN(headerIntervalMs)) { + sleepInterval = headerIntervalMs; + } + } + } + await (0, sleep_1.sleep)(sleepInterval); + break; + //We return the run in any terminal state. + case 'requires_action': + case 'incomplete': + case 'cancelled': + case 'completed': + case 'failed': + case 'expired': + return run; + } + } + } + /** + * Create a Run stream + */ + stream(threadId, body, options) { + return AssistantStream_1.AssistantStream.createAssistantStream(threadId, this._client.beta.threads.runs, body, options); + } + submitToolOutputs(runID, params, options) { + const { thread_id, ...body } = params; + return this._client.post((0, path_1.path) `/threads/${thread_id}/runs/${runID}/submit_tool_outputs`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + stream: params.stream ?? false, + }); + } + /** + * A helper to submit a tool output to a run and poll for a terminal run state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async submitToolOutputsAndPoll(runId, params, options) { + const run = await this.submitToolOutputs(runId, params, options); + return await this.poll(run.id, params, options); + } + /** + * Submit the tool outputs from a previous run and stream the run to a terminal + * state. More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + submitToolOutputsStream(runId, params, options) { + return AssistantStream_1.AssistantStream.createToolAssistantStream(runId, this._client.beta.threads.runs, params, options); + } +} +exports.Runs = Runs; +Runs.Steps = steps_1.Steps; +//# sourceMappingURL=runs.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.js.map new file mode 100644 index 0000000000000000000000000000000000000000..fb2053d35586711c5bb7a6965574f719344e2c4c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.js.map @@ -0,0 +1 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;IACjF,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,wBAAwB,CAC5B,KAAa,EACb,MAA8C,EAC9C,OAAsD;QAEtD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;OAIG;IACH,uBAAuB,CACrB,KAAa,EACb,MAAwC,EACxC,OAAwB;QAExB,OAAO,iCAAe,CAAC,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;CACF;AApPD,oBAoPC;AA6tBD,IAAI,CAAC,KAAK,GAAG,aAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.mjs new file mode 100644 index 0000000000000000000000000000000000000000..48d19c7a9c1f9900fbddd04a73583e044ffde1f8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.mjs @@ -0,0 +1,177 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../../core/resource.mjs"; +import * as StepsAPI from "./steps.mjs"; +import { Steps, } from "./steps.mjs"; +import { CursorPage } from "../../../../core/pagination.mjs"; +import { buildHeaders } from "../../../../internal/headers.mjs"; +import { AssistantStream } from "../../../../lib/AssistantStream.mjs"; +import { sleep } from "../../../../internal/utils/sleep.mjs"; +import { path } from "../../../../internal/utils/path.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export class Runs extends APIResource { + constructor() { + super(...arguments); + this.steps = new StepsAPI.Steps(this._client); + } + create(threadID, params, options) { + const { include, ...body } = params; + return this._client.post(path `/threads/${threadID}/runs`, { + query: { include }, + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + stream: params.stream ?? false, + }); + } + /** + * Retrieves a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(runID, params, options) { + const { thread_id } = params; + return this._client.get(path `/threads/${thread_id}/runs/${runID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(runID, params, options) { + const { thread_id, ...body } = params; + return this._client.post(path `/threads/${thread_id}/runs/${runID}`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of runs belonging to a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(threadID, query = {}, options) { + return this._client.getAPIList(path `/threads/${threadID}/runs`, (CursorPage), { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Cancels a run that is `in_progress`. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + cancel(runID, params, options) { + const { thread_id } = params; + return this._client.post(path `/threads/${thread_id}/runs/${runID}/cancel`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * A helper to create a run an poll for a terminal state. More information on Run + * lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async createAndPoll(threadId, body, options) { + const run = await this.create(threadId, body, options); + return await this.poll(run.id, { thread_id: threadId }, options); + } + /** + * Create a Run stream + * + * @deprecated use `stream` instead + */ + createAndStream(threadId, body, options) { + return AssistantStream.createAssistantStream(threadId, this._client.beta.threads.runs, body, options); + } + /** + * A helper to poll a run status until it reaches a terminal state. More + * information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async poll(runId, params, options) { + const headers = buildHeaders([ + options?.headers, + { + 'X-Stainless-Poll-Helper': 'true', + 'X-Stainless-Custom-Poll-Interval': options?.pollIntervalMs?.toString() ?? undefined, + }, + ]); + while (true) { + const { data: run, response } = await this.retrieve(runId, params, { + ...options, + headers: { ...options?.headers, ...headers }, + }).withResponse(); + switch (run.status) { + //If we are in any sort of intermediate state we poll + case 'queued': + case 'in_progress': + case 'cancelling': + let sleepInterval = 5000; + if (options?.pollIntervalMs) { + sleepInterval = options.pollIntervalMs; + } + else { + const headerInterval = response.headers.get('openai-poll-after-ms'); + if (headerInterval) { + const headerIntervalMs = parseInt(headerInterval); + if (!isNaN(headerIntervalMs)) { + sleepInterval = headerIntervalMs; + } + } + } + await sleep(sleepInterval); + break; + //We return the run in any terminal state. + case 'requires_action': + case 'incomplete': + case 'cancelled': + case 'completed': + case 'failed': + case 'expired': + return run; + } + } + } + /** + * Create a Run stream + */ + stream(threadId, body, options) { + return AssistantStream.createAssistantStream(threadId, this._client.beta.threads.runs, body, options); + } + submitToolOutputs(runID, params, options) { + const { thread_id, ...body } = params; + return this._client.post(path `/threads/${thread_id}/runs/${runID}/submit_tool_outputs`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + stream: params.stream ?? false, + }); + } + /** + * A helper to submit a tool output to a run and poll for a terminal run state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async submitToolOutputsAndPoll(runId, params, options) { + const run = await this.submitToolOutputs(runId, params, options); + return await this.poll(run.id, params, options); + } + /** + * Submit the tool outputs from a previous run and stream the run to a terminal + * state. More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + submitToolOutputsStream(runId, params, options) { + return AssistantStream.createToolAssistantStream(runId, this._client.beta.threads.runs, params, options); + } +} +Runs.Steps = Steps; +//# sourceMappingURL=runs.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..fb8863e8b7bb7ef247aaf2337e921d3f29e8eb7a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/runs.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,KAAK,QAAQ;OACb,EAkBL,KAAK,GAKN;OAEM,EAAE,UAAU,EAAsC;OAElD,EAAE,YAAY,EAAE;OAEhB,EAAE,eAAe,EAA6B;OAC9C,EAAE,KAAK,EAAE;OAET,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmP3D,CAAC;IAjOC,MAAM,CACJ,QAAgB,EAChB,MAAuB,EACvB,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,OAAO,EAAE;YACxD,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC7E,MAAM,EAAE,MA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AAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,SAAS,SAAS,KAAK,sBAAsB,EAAE;YACtF,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC7E,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,KAAK;SAC/B,CAA6E,CAAC;IACjF,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,wBAAwB,CAC5B,KAAa,EACb,MAA8C,EAC9C,OAAsD;QAEtD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;OAIG;IACH,uBAAuB,CACrB,KAAa,EACb,MAAwC,EACxC,OAAwB;QAExB,OAAO,eAAe,CAAC,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;CACF;AA6tBD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..4f93d9e3ef6bb936542bbf1fd562e9955e96a92a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.mts @@ -0,0 +1,615 @@ +import { APIResource } from "../../../../core/resource.mjs"; +import * as StepsAPI from "./steps.mjs"; +import * as Shared from "../../../shared.mjs"; +import { APIPromise } from "../../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../../core/pagination.mjs"; +import { RequestOptions } from "../../../../internal/request-options.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Steps extends APIResource { + /** + * Retrieves a run step. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(stepID: string, params: StepRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of run steps belonging to a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(runID: string, params: StepListParams, options?: RequestOptions): PagePromise; +} +export type RunStepsPage = CursorPage; +/** + * Text output from the Code Interpreter tool call as part of a run step. + */ +export interface CodeInterpreterLogs { + /** + * The index of the output in the outputs array. + */ + index: number; + /** + * Always `logs`. + */ + type: 'logs'; + /** + * The text output from the Code Interpreter tool call. + */ + logs?: string; +} +export interface CodeInterpreterOutputImage { + /** + * The index of the output in the outputs array. + */ + index: number; + /** + * Always `image`. + */ + type: 'image'; + image?: CodeInterpreterOutputImage.Image; +} +export declare namespace CodeInterpreterOutputImage { + interface Image { + /** + * The [file](https://platform.openai.com/docs/api-reference/files) ID of the + * image. + */ + file_id?: string; + } +} +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export interface CodeInterpreterToolCall { + /** + * The ID of the tool call. + */ + id: string; + /** + * The Code Interpreter tool call definition. + */ + code_interpreter: CodeInterpreterToolCall.CodeInterpreter; + /** + * The type of tool call. This is always going to be `code_interpreter` for this + * type of tool call. + */ + type: 'code_interpreter'; +} +export declare namespace CodeInterpreterToolCall { + /** + * The Code Interpreter tool call definition. + */ + interface CodeInterpreter { + /** + * The input to the Code Interpreter tool call. + */ + input: string; + /** + * The outputs from the Code Interpreter tool call. Code Interpreter can output one + * or more items, including text (`logs`) or images (`image`). Each of these are + * represented by a different object type. + */ + outputs: Array; + } + namespace CodeInterpreter { + /** + * Text output from the Code Interpreter tool call as part of a run step. + */ + interface Logs { + /** + * The text output from the Code Interpreter tool call. + */ + logs: string; + /** + * Always `logs`. + */ + type: 'logs'; + } + interface Image { + image: Image.Image; + /** + * Always `image`. + */ + type: 'image'; + } + namespace Image { + interface Image { + /** + * The [file](https://platform.openai.com/docs/api-reference/files) ID of the + * image. + */ + file_id: string; + } + } + } +} +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export interface CodeInterpreterToolCallDelta { + /** + * The index of the tool call in the tool calls array. + */ + index: number; + /** + * The type of tool call. This is always going to be `code_interpreter` for this + * type of tool call. + */ + type: 'code_interpreter'; + /** + * The ID of the tool call. + */ + id?: string; + /** + * The Code Interpreter tool call definition. + */ + code_interpreter?: CodeInterpreterToolCallDelta.CodeInterpreter; +} +export declare namespace CodeInterpreterToolCallDelta { + /** + * The Code Interpreter tool call definition. + */ + interface CodeInterpreter { + /** + * The input to the Code Interpreter tool call. + */ + input?: string; + /** + * The outputs from the Code Interpreter tool call. Code Interpreter can output one + * or more items, including text (`logs`) or images (`image`). Each of these are + * represented by a different object type. + */ + outputs?: Array; + } +} +export interface FileSearchToolCall { + /** + * The ID of the tool call object. + */ + id: string; + /** + * For now, this is always going to be an empty object. + */ + file_search: FileSearchToolCall.FileSearch; + /** + * The type of tool call. This is always going to be `file_search` for this type of + * tool call. + */ + type: 'file_search'; +} +export declare namespace FileSearchToolCall { + /** + * For now, this is always going to be an empty object. + */ + interface FileSearch { + /** + * The ranking options for the file search. + */ + ranking_options?: FileSearch.RankingOptions; + /** + * The results of the file search. + */ + results?: Array; + } + namespace FileSearch { + /** + * The ranking options for the file search. + */ + interface RankingOptions { + /** + * The ranker to use for the file search. If not specified will use the `auto` + * ranker. + */ + ranker: 'auto' | 'default_2024_08_21'; + /** + * The score threshold for the file search. All values must be a floating point + * number between 0 and 1. + */ + score_threshold: number; + } + /** + * A result instance of the file search. + */ + interface Result { + /** + * The ID of the file that result was found in. + */ + file_id: string; + /** + * The name of the file that result was found in. + */ + file_name: string; + /** + * The score of the result. All values must be a floating point number between 0 + * and 1. + */ + score: number; + /** + * The content of the result that was found. The content is only included if + * requested via the include query parameter. + */ + content?: Array; + } + namespace Result { + interface Content { + /** + * The text content of the file. + */ + text?: string; + /** + * The type of the content. + */ + type?: 'text'; + } + } + } +} +export interface FileSearchToolCallDelta { + /** + * For now, this is always going to be an empty object. + */ + file_search: unknown; + /** + * The index of the tool call in the tool calls array. + */ + index: number; + /** + * The type of tool call. This is always going to be `file_search` for this type of + * tool call. + */ + type: 'file_search'; + /** + * The ID of the tool call object. + */ + id?: string; +} +export interface FunctionToolCall { + /** + * The ID of the tool call object. + */ + id: string; + /** + * The definition of the function that was called. + */ + function: FunctionToolCall.Function; + /** + * The type of tool call. This is always going to be `function` for this type of + * tool call. + */ + type: 'function'; +} +export declare namespace FunctionToolCall { + /** + * The definition of the function that was called. + */ + interface Function { + /** + * The arguments passed to the function. + */ + arguments: string; + /** + * The name of the function. + */ + name: string; + /** + * The output of the function. This will be `null` if the outputs have not been + * [submitted](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) + * yet. + */ + output: string | null; + } +} +export interface FunctionToolCallDelta { + /** + * The index of the tool call in the tool calls array. + */ + index: number; + /** + * The type of tool call. This is always going to be `function` for this type of + * tool call. + */ + type: 'function'; + /** + * The ID of the tool call object. + */ + id?: string; + /** + * The definition of the function that was called. + */ + function?: FunctionToolCallDelta.Function; +} +export declare namespace FunctionToolCallDelta { + /** + * The definition of the function that was called. + */ + interface Function { + /** + * The arguments passed to the function. + */ + arguments?: string; + /** + * The name of the function. + */ + name?: string; + /** + * The output of the function. This will be `null` if the outputs have not been + * [submitted](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) + * yet. + */ + output?: string | null; + } +} +/** + * Details of the message creation by the run step. + */ +export interface MessageCreationStepDetails { + message_creation: MessageCreationStepDetails.MessageCreation; + /** + * Always `message_creation`. + */ + type: 'message_creation'; +} +export declare namespace MessageCreationStepDetails { + interface MessageCreation { + /** + * The ID of the message that was created by this run step. + */ + message_id: string; + } +} +/** + * Represents a step in execution of a run. + */ +export interface RunStep { + /** + * The identifier of the run step, which can be referenced in API endpoints. + */ + id: string; + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) + * associated with the run step. + */ + assistant_id: string; + /** + * The Unix timestamp (in seconds) for when the run step was cancelled. + */ + cancelled_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run step completed. + */ + completed_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run step was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the run step expired. A step is + * considered expired if the parent run is expired. + */ + expired_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run step failed. + */ + failed_at: number | null; + /** + * The last error associated with this run step. Will be `null` if there are no + * errors. + */ + last_error: RunStep.LastError | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The object type, which is always `thread.run.step`. + */ + object: 'thread.run.step'; + /** + * The ID of the [run](https://platform.openai.com/docs/api-reference/runs) that + * this run step is a part of. + */ + run_id: string; + /** + * The status of the run step, which can be either `in_progress`, `cancelled`, + * `failed`, `completed`, or `expired`. + */ + status: 'in_progress' | 'cancelled' | 'failed' | 'completed' | 'expired'; + /** + * The details of the run step. + */ + step_details: MessageCreationStepDetails | ToolCallsStepDetails; + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * that was run. + */ + thread_id: string; + /** + * The type of run step, which can be either `message_creation` or `tool_calls`. + */ + type: 'message_creation' | 'tool_calls'; + /** + * Usage statistics related to the run step. This value will be `null` while the + * run step's status is `in_progress`. + */ + usage: RunStep.Usage | null; +} +export declare namespace RunStep { + /** + * The last error associated with this run step. Will be `null` if there are no + * errors. + */ + interface LastError { + /** + * One of `server_error` or `rate_limit_exceeded`. + */ + code: 'server_error' | 'rate_limit_exceeded'; + /** + * A human-readable description of the error. + */ + message: string; + } + /** + * Usage statistics related to the run step. This value will be `null` while the + * run step's status is `in_progress`. + */ + interface Usage { + /** + * Number of completion tokens used over the course of the run step. + */ + completion_tokens: number; + /** + * Number of prompt tokens used over the course of the run step. + */ + prompt_tokens: number; + /** + * Total number of tokens used (prompt + completion). + */ + total_tokens: number; + } +} +/** + * The delta containing the fields that have changed on the run step. + */ +export interface RunStepDelta { + /** + * The details of the run step. + */ + step_details?: RunStepDeltaMessageDelta | ToolCallDeltaObject; +} +/** + * Represents a run step delta i.e. any changed fields on a run step during + * streaming. + */ +export interface RunStepDeltaEvent { + /** + * The identifier of the run step, which can be referenced in API endpoints. + */ + id: string; + /** + * The delta containing the fields that have changed on the run step. + */ + delta: RunStepDelta; + /** + * The object type, which is always `thread.run.step.delta`. + */ + object: 'thread.run.step.delta'; +} +/** + * Details of the message creation by the run step. + */ +export interface RunStepDeltaMessageDelta { + /** + * Always `message_creation`. + */ + type: 'message_creation'; + message_creation?: RunStepDeltaMessageDelta.MessageCreation; +} +export declare namespace RunStepDeltaMessageDelta { + interface MessageCreation { + /** + * The ID of the message that was created by this run step. + */ + message_id?: string; + } +} +export type RunStepInclude = 'step_details.tool_calls[*].file_search.results[*].content'; +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export type ToolCall = CodeInterpreterToolCall | FileSearchToolCall | FunctionToolCall; +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export type ToolCallDelta = CodeInterpreterToolCallDelta | FileSearchToolCallDelta | FunctionToolCallDelta; +/** + * Details of the tool call. + */ +export interface ToolCallDeltaObject { + /** + * Always `tool_calls`. + */ + type: 'tool_calls'; + /** + * An array of tool calls the run step was involved in. These can be associated + * with one of three types of tools: `code_interpreter`, `file_search`, or + * `function`. + */ + tool_calls?: Array; +} +/** + * Details of the tool call. + */ +export interface ToolCallsStepDetails { + /** + * An array of tool calls the run step was involved in. These can be associated + * with one of three types of tools: `code_interpreter`, `file_search`, or + * `function`. + */ + tool_calls: Array; + /** + * Always `tool_calls`. + */ + type: 'tool_calls'; +} +export interface StepRetrieveParams { + /** + * Path param: The ID of the thread to which the run and run step belongs. + */ + thread_id: string; + /** + * Path param: The ID of the run to which the run step belongs. + */ + run_id: string; + /** + * Query param: A list of additional fields to include in the response. Currently + * the only supported value is + * `step_details.tool_calls[*].file_search.results[*].content` to fetch the file + * search result content. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + include?: Array; +} +export interface StepListParams extends CursorPageParams { + /** + * Path param: The ID of the thread the run and run steps belong to. + */ + thread_id: string; + /** + * Query param: A cursor for use in pagination. `before` is an object ID that + * defines your place in the list. For instance, if you make a list request and + * receive 100 objects, starting with obj_foo, your subsequent call can include + * before=obj_foo in order to fetch the previous page of the list. + */ + before?: string; + /** + * Query param: A list of additional fields to include in the response. Currently + * the only supported value is + * `step_details.tool_calls[*].file_search.results[*].content` to fetch the file + * search result content. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + include?: Array; + /** + * Query param: Sort order by the `created_at` timestamp of the objects. `asc` for + * ascending order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Steps { + export { type CodeInterpreterLogs as CodeInterpreterLogs, type CodeInterpreterOutputImage as CodeInterpreterOutputImage, type CodeInterpreterToolCall as CodeInterpreterToolCall, type CodeInterpreterToolCallDelta as CodeInterpreterToolCallDelta, type FileSearchToolCall as FileSearchToolCall, type FileSearchToolCallDelta as FileSearchToolCallDelta, type FunctionToolCall as FunctionToolCall, type FunctionToolCallDelta as FunctionToolCallDelta, type MessageCreationStepDetails as MessageCreationStepDetails, type RunStep as RunStep, type RunStepDelta as RunStepDelta, type RunStepDeltaEvent as RunStepDeltaEvent, type RunStepDeltaMessageDelta as RunStepDeltaMessageDelta, type RunStepInclude as RunStepInclude, type ToolCall as ToolCall, type ToolCallDelta as ToolCallDelta, type ToolCallDeltaObject as ToolCallDeltaObject, type ToolCallsStepDetails as ToolCallsStepDetails, type RunStepsPage as RunStepsPage, type StepRetrieveParams as StepRetrieveParams, type StepListParams as StepListParams, }; +} +//# sourceMappingURL=steps.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..bbc2676bf0c91bd5b4775d33c3dbe0dc387f7c34 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"steps.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/steps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IASnG;;;;OAIG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC;CAQ1G;AAED,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,m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oB,EACjD,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..04cd0092a6f12c9e6d8dbf646492793c9cefafb9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.ts @@ -0,0 +1,615 @@ +import { APIResource } from "../../../../core/resource.js"; +import * as StepsAPI from "./steps.js"; +import * as Shared from "../../../shared.js"; +import { APIPromise } from "../../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../../core/pagination.js"; +import { RequestOptions } from "../../../../internal/request-options.js"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Steps extends APIResource { + /** + * Retrieves a run step. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(stepID: string, params: StepRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of run steps belonging to a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(runID: string, params: StepListParams, options?: RequestOptions): PagePromise; +} +export type RunStepsPage = CursorPage; +/** + * Text output from the Code Interpreter tool call as part of a run step. + */ +export interface CodeInterpreterLogs { + /** + * The index of the output in the outputs array. + */ + index: number; + /** + * Always `logs`. + */ + type: 'logs'; + /** + * The text output from the Code Interpreter tool call. + */ + logs?: string; +} +export interface CodeInterpreterOutputImage { + /** + * The index of the output in the outputs array. + */ + index: number; + /** + * Always `image`. + */ + type: 'image'; + image?: CodeInterpreterOutputImage.Image; +} +export declare namespace CodeInterpreterOutputImage { + interface Image { + /** + * The [file](https://platform.openai.com/docs/api-reference/files) ID of the + * image. + */ + file_id?: string; + } +} +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export interface CodeInterpreterToolCall { + /** + * The ID of the tool call. + */ + id: string; + /** + * The Code Interpreter tool call definition. + */ + code_interpreter: CodeInterpreterToolCall.CodeInterpreter; + /** + * The type of tool call. This is always going to be `code_interpreter` for this + * type of tool call. + */ + type: 'code_interpreter'; +} +export declare namespace CodeInterpreterToolCall { + /** + * The Code Interpreter tool call definition. + */ + interface CodeInterpreter { + /** + * The input to the Code Interpreter tool call. + */ + input: string; + /** + * The outputs from the Code Interpreter tool call. Code Interpreter can output one + * or more items, including text (`logs`) or images (`image`). Each of these are + * represented by a different object type. + */ + outputs: Array; + } + namespace CodeInterpreter { + /** + * Text output from the Code Interpreter tool call as part of a run step. + */ + interface Logs { + /** + * The text output from the Code Interpreter tool call. + */ + logs: string; + /** + * Always `logs`. + */ + type: 'logs'; + } + interface Image { + image: Image.Image; + /** + * Always `image`. + */ + type: 'image'; + } + namespace Image { + interface Image { + /** + * The [file](https://platform.openai.com/docs/api-reference/files) ID of the + * image. + */ + file_id: string; + } + } + } +} +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export interface CodeInterpreterToolCallDelta { + /** + * The index of the tool call in the tool calls array. + */ + index: number; + /** + * The type of tool call. This is always going to be `code_interpreter` for this + * type of tool call. + */ + type: 'code_interpreter'; + /** + * The ID of the tool call. + */ + id?: string; + /** + * The Code Interpreter tool call definition. + */ + code_interpreter?: CodeInterpreterToolCallDelta.CodeInterpreter; +} +export declare namespace CodeInterpreterToolCallDelta { + /** + * The Code Interpreter tool call definition. + */ + interface CodeInterpreter { + /** + * The input to the Code Interpreter tool call. + */ + input?: string; + /** + * The outputs from the Code Interpreter tool call. Code Interpreter can output one + * or more items, including text (`logs`) or images (`image`). Each of these are + * represented by a different object type. + */ + outputs?: Array; + } +} +export interface FileSearchToolCall { + /** + * The ID of the tool call object. + */ + id: string; + /** + * For now, this is always going to be an empty object. + */ + file_search: FileSearchToolCall.FileSearch; + /** + * The type of tool call. This is always going to be `file_search` for this type of + * tool call. + */ + type: 'file_search'; +} +export declare namespace FileSearchToolCall { + /** + * For now, this is always going to be an empty object. + */ + interface FileSearch { + /** + * The ranking options for the file search. + */ + ranking_options?: FileSearch.RankingOptions; + /** + * The results of the file search. + */ + results?: Array; + } + namespace FileSearch { + /** + * The ranking options for the file search. + */ + interface RankingOptions { + /** + * The ranker to use for the file search. If not specified will use the `auto` + * ranker. + */ + ranker: 'auto' | 'default_2024_08_21'; + /** + * The score threshold for the file search. All values must be a floating point + * number between 0 and 1. + */ + score_threshold: number; + } + /** + * A result instance of the file search. + */ + interface Result { + /** + * The ID of the file that result was found in. + */ + file_id: string; + /** + * The name of the file that result was found in. + */ + file_name: string; + /** + * The score of the result. All values must be a floating point number between 0 + * and 1. + */ + score: number; + /** + * The content of the result that was found. The content is only included if + * requested via the include query parameter. + */ + content?: Array; + } + namespace Result { + interface Content { + /** + * The text content of the file. + */ + text?: string; + /** + * The type of the content. + */ + type?: 'text'; + } + } + } +} +export interface FileSearchToolCallDelta { + /** + * For now, this is always going to be an empty object. + */ + file_search: unknown; + /** + * The index of the tool call in the tool calls array. + */ + index: number; + /** + * The type of tool call. This is always going to be `file_search` for this type of + * tool call. + */ + type: 'file_search'; + /** + * The ID of the tool call object. + */ + id?: string; +} +export interface FunctionToolCall { + /** + * The ID of the tool call object. + */ + id: string; + /** + * The definition of the function that was called. + */ + function: FunctionToolCall.Function; + /** + * The type of tool call. This is always going to be `function` for this type of + * tool call. + */ + type: 'function'; +} +export declare namespace FunctionToolCall { + /** + * The definition of the function that was called. + */ + interface Function { + /** + * The arguments passed to the function. + */ + arguments: string; + /** + * The name of the function. + */ + name: string; + /** + * The output of the function. This will be `null` if the outputs have not been + * [submitted](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) + * yet. + */ + output: string | null; + } +} +export interface FunctionToolCallDelta { + /** + * The index of the tool call in the tool calls array. + */ + index: number; + /** + * The type of tool call. This is always going to be `function` for this type of + * tool call. + */ + type: 'function'; + /** + * The ID of the tool call object. + */ + id?: string; + /** + * The definition of the function that was called. + */ + function?: FunctionToolCallDelta.Function; +} +export declare namespace FunctionToolCallDelta { + /** + * The definition of the function that was called. + */ + interface Function { + /** + * The arguments passed to the function. + */ + arguments?: string; + /** + * The name of the function. + */ + name?: string; + /** + * The output of the function. This will be `null` if the outputs have not been + * [submitted](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) + * yet. + */ + output?: string | null; + } +} +/** + * Details of the message creation by the run step. + */ +export interface MessageCreationStepDetails { + message_creation: MessageCreationStepDetails.MessageCreation; + /** + * Always `message_creation`. + */ + type: 'message_creation'; +} +export declare namespace MessageCreationStepDetails { + interface MessageCreation { + /** + * The ID of the message that was created by this run step. + */ + message_id: string; + } +} +/** + * Represents a step in execution of a run. + */ +export interface RunStep { + /** + * The identifier of the run step, which can be referenced in API endpoints. + */ + id: string; + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) + * associated with the run step. + */ + assistant_id: string; + /** + * The Unix timestamp (in seconds) for when the run step was cancelled. + */ + cancelled_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run step completed. + */ + completed_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run step was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the run step expired. A step is + * considered expired if the parent run is expired. + */ + expired_at: number | null; + /** + * The Unix timestamp (in seconds) for when the run step failed. + */ + failed_at: number | null; + /** + * The last error associated with this run step. Will be `null` if there are no + * errors. + */ + last_error: RunStep.LastError | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The object type, which is always `thread.run.step`. + */ + object: 'thread.run.step'; + /** + * The ID of the [run](https://platform.openai.com/docs/api-reference/runs) that + * this run step is a part of. + */ + run_id: string; + /** + * The status of the run step, which can be either `in_progress`, `cancelled`, + * `failed`, `completed`, or `expired`. + */ + status: 'in_progress' | 'cancelled' | 'failed' | 'completed' | 'expired'; + /** + * The details of the run step. + */ + step_details: MessageCreationStepDetails | ToolCallsStepDetails; + /** + * The ID of the [thread](https://platform.openai.com/docs/api-reference/threads) + * that was run. + */ + thread_id: string; + /** + * The type of run step, which can be either `message_creation` or `tool_calls`. + */ + type: 'message_creation' | 'tool_calls'; + /** + * Usage statistics related to the run step. This value will be `null` while the + * run step's status is `in_progress`. + */ + usage: RunStep.Usage | null; +} +export declare namespace RunStep { + /** + * The last error associated with this run step. Will be `null` if there are no + * errors. + */ + interface LastError { + /** + * One of `server_error` or `rate_limit_exceeded`. + */ + code: 'server_error' | 'rate_limit_exceeded'; + /** + * A human-readable description of the error. + */ + message: string; + } + /** + * Usage statistics related to the run step. This value will be `null` while the + * run step's status is `in_progress`. + */ + interface Usage { + /** + * Number of completion tokens used over the course of the run step. + */ + completion_tokens: number; + /** + * Number of prompt tokens used over the course of the run step. + */ + prompt_tokens: number; + /** + * Total number of tokens used (prompt + completion). + */ + total_tokens: number; + } +} +/** + * The delta containing the fields that have changed on the run step. + */ +export interface RunStepDelta { + /** + * The details of the run step. + */ + step_details?: RunStepDeltaMessageDelta | ToolCallDeltaObject; +} +/** + * Represents a run step delta i.e. any changed fields on a run step during + * streaming. + */ +export interface RunStepDeltaEvent { + /** + * The identifier of the run step, which can be referenced in API endpoints. + */ + id: string; + /** + * The delta containing the fields that have changed on the run step. + */ + delta: RunStepDelta; + /** + * The object type, which is always `thread.run.step.delta`. + */ + object: 'thread.run.step.delta'; +} +/** + * Details of the message creation by the run step. + */ +export interface RunStepDeltaMessageDelta { + /** + * Always `message_creation`. + */ + type: 'message_creation'; + message_creation?: RunStepDeltaMessageDelta.MessageCreation; +} +export declare namespace RunStepDeltaMessageDelta { + interface MessageCreation { + /** + * The ID of the message that was created by this run step. + */ + message_id?: string; + } +} +export type RunStepInclude = 'step_details.tool_calls[*].file_search.results[*].content'; +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export type ToolCall = CodeInterpreterToolCall | FileSearchToolCall | FunctionToolCall; +/** + * Details of the Code Interpreter tool call the run step was involved in. + */ +export type ToolCallDelta = CodeInterpreterToolCallDelta | FileSearchToolCallDelta | FunctionToolCallDelta; +/** + * Details of the tool call. + */ +export interface ToolCallDeltaObject { + /** + * Always `tool_calls`. + */ + type: 'tool_calls'; + /** + * An array of tool calls the run step was involved in. These can be associated + * with one of three types of tools: `code_interpreter`, `file_search`, or + * `function`. + */ + tool_calls?: Array; +} +/** + * Details of the tool call. + */ +export interface ToolCallsStepDetails { + /** + * An array of tool calls the run step was involved in. These can be associated + * with one of three types of tools: `code_interpreter`, `file_search`, or + * `function`. + */ + tool_calls: Array; + /** + * Always `tool_calls`. + */ + type: 'tool_calls'; +} +export interface StepRetrieveParams { + /** + * Path param: The ID of the thread to which the run and run step belongs. + */ + thread_id: string; + /** + * Path param: The ID of the run to which the run step belongs. + */ + run_id: string; + /** + * Query param: A list of additional fields to include in the response. Currently + * the only supported value is + * `step_details.tool_calls[*].file_search.results[*].content` to fetch the file + * search result content. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + include?: Array; +} +export interface StepListParams extends CursorPageParams { + /** + * Path param: The ID of the thread the run and run steps belong to. + */ + thread_id: string; + /** + * Query param: A cursor for use in pagination. `before` is an object ID that + * defines your place in the list. For instance, if you make a list request and + * receive 100 objects, starting with obj_foo, your subsequent call can include + * before=obj_foo in order to fetch the previous page of the list. + */ + before?: string; + /** + * Query param: A list of additional fields to include in the response. Currently + * the only supported value is + * `step_details.tool_calls[*].file_search.results[*].content` to fetch the file + * search result content. + * + * See the + * [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings) + * for more information. + */ + include?: Array; + /** + * Query param: Sort order by the `created_at` timestamp of the objects. `asc` for + * ascending order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Steps { + export { type CodeInterpreterLogs as CodeInterpreterLogs, type CodeInterpreterOutputImage as CodeInterpreterOutputImage, type CodeInterpreterToolCall as CodeInterpreterToolCall, type CodeInterpreterToolCallDelta as CodeInterpreterToolCallDelta, type FileSearchToolCall as FileSearchToolCall, type FileSearchToolCallDelta as FileSearchToolCallDelta, type FunctionToolCall as FunctionToolCall, type FunctionToolCallDelta as FunctionToolCallDelta, type MessageCreationStepDetails as MessageCreationStepDetails, type RunStep as RunStep, type RunStepDelta as RunStepDelta, type RunStepDeltaEvent as RunStepDeltaEvent, type RunStepDeltaMessageDelta as RunStepDeltaMessageDelta, type RunStepInclude as RunStepInclude, type ToolCall as ToolCall, type ToolCallDelta as ToolCallDelta, type ToolCallDeltaObject as ToolCallDeltaObject, type ToolCallsStepDetails as ToolCallsStepDetails, type RunStepsPage as RunStepsPage, type StepRetrieveParams as StepRetrieveParams, type StepListParams as StepListParams, }; +} +//# sourceMappingURL=steps.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c46f3bfc6434288ec5dc988e553946c4203abf4c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/steps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAA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K,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.js new file mode 100644 index 0000000000000000000000000000000000000000..c506ed59b270f17d771c4ccc2fc8b97d1428a7f1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.js @@ -0,0 +1,41 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Steps = void 0; +const resource_1 = require("../../../../core/resource.js"); +const pagination_1 = require("../../../../core/pagination.js"); +const headers_1 = require("../../../../internal/headers.js"); +const path_1 = require("../../../../internal/utils/path.js"); +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +class Steps extends resource_1.APIResource { + /** + * Retrieves a run step. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(stepID, params, options) { + const { thread_id, run_id, ...query } = params; + return this._client.get((0, path_1.path) `/threads/${thread_id}/runs/${run_id}/steps/${stepID}`, { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of run steps belonging to a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(runID, params, options) { + const { thread_id, ...query } = params; + return this._client.getAPIList((0, path_1.path) `/threads/${thread_id}/runs/${runID}/steps`, (pagination_1.CursorPage), { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +exports.Steps = Steps; +//# sourceMappingURL=steps.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0ff67d7a7267eed442c31708362881e2a5052425 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.js.map @@ -0,0 +1 @@ +{"version":3,"file":"steps.js","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/steps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAIxD,+DAA6F;AAC7F,6DAA4D;AAE5D,6DAAuD;AAEvD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;OAIG;IACH,QAAQ,CAAC,MAAc,EAAE,MAA0B,EAAE,OAAwB;QAC3E,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,SAAS,MAAM,UAAU,MAAM,EAAE,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,KAAa,EAAE,MAAsB,EAAE,OAAwB;QAClE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,SAAS,KAAK,QAAQ,EAAE,CAAA,uBAAmB,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AA5BD,sBA4BC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.mjs new file mode 100644 index 0000000000000000000000000000000000000000..9a548e8c75390969d35ed3f11db18d544684ebd6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.mjs @@ -0,0 +1,37 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../../core/resource.mjs"; +import { CursorPage } from "../../../../core/pagination.mjs"; +import { buildHeaders } from "../../../../internal/headers.mjs"; +import { path } from "../../../../internal/utils/path.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export class Steps extends APIResource { + /** + * Retrieves a run step. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(stepID, params, options) { + const { thread_id, run_id, ...query } = params; + return this._client.get(path `/threads/${thread_id}/runs/${run_id}/steps/${stepID}`, { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of run steps belonging to a run. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + list(runID, params, options) { + const { thread_id, ...query } = params; + return this._client.getAPIList(path `/threads/${thread_id}/runs/${runID}/steps`, (CursorPage), { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +//# sourceMappingURL=steps.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..7ff1639f9ee1b9e2d614af10ee20d965c4efb738 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/runs/steps.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"steps.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/threads/runs/steps.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;OAIG;IACH,QAAQ,CAAC,MAAc,EAAE,MAA0B,EAAE,OAAwB;QAC3E,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,SAAS,MAAM,UAAU,MAAM,EAAE,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,KAAa,EAAE,MAAsB,EAAE,OAAwB;QAClE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA,YAAY,SAAS,SAAS,KAAK,QAAQ,EAAE,CAAA,UAAmB,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..1b4e154a782386f7057431ca7a53deaae1ed0133 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.mts @@ -0,0 +1,1044 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as ThreadsAPI from "./threads.mjs"; +import * as Shared from "../../shared.mjs"; +import * as AssistantsAPI from "../assistants.mjs"; +import * as MessagesAPI from "./messages.mjs"; +import { Annotation, AnnotationDelta, FileCitationAnnotation, FileCitationDeltaAnnotation, FilePathAnnotation, FilePathDeltaAnnotation, ImageFile, ImageFileContentBlock, ImageFileDelta, ImageFileDeltaBlock, ImageURL, ImageURLContentBlock, ImageURLDelta, ImageURLDeltaBlock, Message as MessagesAPIMessage, MessageContent, MessageContentDelta, MessageContentPartParam, MessageCreateParams, MessageDeleteParams, MessageDeleted, MessageDelta, MessageDeltaEvent, MessageListParams, MessageRetrieveParams, MessageUpdateParams, Messages, MessagesPage, RefusalContentBlock, RefusalDeltaBlock, Text, TextContentBlock, TextContentBlockParam, TextDelta, TextDeltaBlock } from "./messages.mjs"; +import * as RunsAPI from "./runs/runs.mjs"; +import { RequiredActionFunctionToolCall, Run, RunCreateAndPollParams, RunCreateAndStreamParams, RunCancelParams, RunCreateParams, RunCreateParamsNonStreaming, RunCreateParamsStreaming, RunListParams, RunRetrieveParams, RunStatus, RunStreamParams, RunSubmitToolOutputsAndPollParams, RunSubmitToolOutputsParams, RunSubmitToolOutputsParamsNonStreaming, RunSubmitToolOutputsParamsStreaming, RunSubmitToolOutputsStreamParams, RunUpdateParams, Runs, RunsPage } from "./runs/runs.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { Stream } from "../../../core/streaming.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +import { AssistantStream, ThreadCreateAndRunParamsBaseStream } from "../../../lib/AssistantStream.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Threads extends APIResource { + runs: RunsAPI.Runs; + messages: MessagesAPI.Messages; + /** + * Create a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(body?: ThreadCreateParams | null | undefined, options?: RequestOptions): APIPromise; + /** + * Retrieves a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(threadID: string, options?: RequestOptions): APIPromise; + /** + * Modifies a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(threadID: string, body: ThreadUpdateParams, options?: RequestOptions): APIPromise; + /** + * Delete a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(threadID: string, options?: RequestOptions): APIPromise; + /** + * Create a thread and run it in one request. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + createAndRun(body: ThreadCreateAndRunParamsNonStreaming, options?: RequestOptions): APIPromise; + createAndRun(body: ThreadCreateAndRunParamsStreaming, options?: RequestOptions): APIPromise>; + createAndRun(body: ThreadCreateAndRunParamsBase, options?: RequestOptions): APIPromise | RunsAPI.Run>; + /** + * A helper to create a thread, start a run and then poll for a terminal state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + createAndRunPoll(body: ThreadCreateAndRunParamsNonStreaming, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Create a thread and stream the run back + */ + createAndRunStream(body: ThreadCreateAndRunParamsBaseStream, options?: RequestOptions): AssistantStream; +} +/** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ +export type AssistantResponseFormatOption = 'auto' | Shared.ResponseFormatText | Shared.ResponseFormatJSONObject | Shared.ResponseFormatJSONSchema; +/** + * Specifies a tool the model should use. Use to force the model to call a specific + * tool. + */ +export interface AssistantToolChoice { + /** + * The type of the tool. If type is `function`, the function name must be set + */ + type: 'function' | 'code_interpreter' | 'file_search'; + function?: AssistantToolChoiceFunction; +} +export interface AssistantToolChoiceFunction { + /** + * The name of the function to call. + */ + name: string; +} +/** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ +export type AssistantToolChoiceOption = 'none' | 'auto' | 'required' | AssistantToolChoice; +/** + * Represents a thread that contains + * [messages](https://platform.openai.com/docs/api-reference/messages). + */ +export interface Thread { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the thread was created. + */ + created_at: number; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The object type, which is always `thread`. + */ + object: 'thread'; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources: Thread.ToolResources | null; +} +export declare namespace Thread { + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + } + } +} +export interface ThreadDeleted { + id: string; + deleted: boolean; + object: 'thread.deleted'; +} +export interface ThreadCreateParams { + /** + * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to + * start the thread with. + */ + messages?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: ThreadCreateParams.ToolResources | null; +} +export declare namespace ThreadCreateParams { + interface Message { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + } + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this thread. There can be a maximum of 1 vector + * store attached to the thread. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. + */ + chunking_strategy?: VectorStore.Auto | VectorStore.Static; + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace VectorStore { + /** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ + interface Auto { + /** + * Always `auto`. + */ + type: 'auto'; + } + interface Static { + static: Static.Static; + /** + * Always `static`. + */ + type: 'static'; + } + namespace Static { + interface Static { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; + } + } + } + } + } +} +export interface ThreadUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: ThreadUpdateParams.ToolResources | null; +} +export declare namespace ThreadUpdateParams { + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + } + } +} +export type ThreadCreateAndRunParams = ThreadCreateAndRunParamsNonStreaming | ThreadCreateAndRunParamsStreaming; +export interface ThreadCreateAndRunParamsBase { + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to + * execute this run. + */ + assistant_id: string; + /** + * Override the default system message of the assistant. This is useful for + * modifying the behavior on a per-run basis. + */ + instructions?: string | null; + /** + * The maximum number of completion tokens that may be used over the course of the + * run. The run will make a best effort to use only the number of completion tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * completion tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_completion_tokens?: number | null; + /** + * The maximum number of prompt tokens that may be used over the course of the run. + * The run will make a best effort to use only the number of prompt tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * prompt tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_prompt_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to + * be used to execute this run. If a value is provided here, it will override the + * model associated with the assistant. If not, the model associated with the + * assistant will be used. + */ + model?: (string & {}) | Shared.ChatModel | null; + /** + * Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls?: boolean; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: AssistantResponseFormatOption | null; + /** + * If `true`, returns a stream of events that happen during the Run as server-sent + * events, terminating when the Run enters a terminal state with a `data: [DONE]` + * message. + */ + stream?: boolean | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * Options to create a new thread. If no thread is provided when running a request, + * an empty thread will be created. + */ + thread?: ThreadCreateAndRunParams.Thread; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice?: AssistantToolChoiceOption | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: ThreadCreateAndRunParams.ToolResources | null; + /** + * Override the tools the assistant can use for this run. This is useful for + * modifying the behavior on a per-run basis. + */ + tools?: Array | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + truncation_strategy?: ThreadCreateAndRunParams.TruncationStrategy | null; +} +export declare namespace ThreadCreateAndRunParams { + /** + * Options to create a new thread. If no thread is provided when running a request, + * an empty thread will be created. + */ + interface Thread { + /** + * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to + * start the thread with. + */ + messages?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: Thread.ToolResources | null; + } + namespace Thread { + interface Message { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + } + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this thread. There can be a maximum of 1 vector + * store attached to the thread. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. + */ + chunking_strategy?: VectorStore.Auto | VectorStore.Static; + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace VectorStore { + /** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ + interface Auto { + /** + * Always `auto`. + */ + type: 'auto'; + } + interface Static { + static: Static.Static; + /** + * Always `static`. + */ + type: 'static'; + } + namespace Static { + interface Static { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; + } + } + } + } + } + } + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } + type ThreadCreateAndRunParamsNonStreaming = ThreadsAPI.ThreadCreateAndRunParamsNonStreaming; + type ThreadCreateAndRunParamsStreaming = ThreadsAPI.ThreadCreateAndRunParamsStreaming; +} +export interface ThreadCreateAndRunParamsNonStreaming extends ThreadCreateAndRunParamsBase { + /** + * If `true`, returns a stream of events that happen during the Run as server-sent + * events, terminating when the Run enters a terminal state with a `data: [DONE]` + * message. + */ + stream?: false | null; +} +export interface ThreadCreateAndRunParamsStreaming extends ThreadCreateAndRunParamsBase { + /** + * If `true`, returns a stream of events that happen during the Run as server-sent + * events, terminating when the Run enters a terminal state with a `data: [DONE]` + * message. + */ + stream: true; +} +export interface ThreadCreateAndRunPollParams { + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to + * execute this run. + */ + assistant_id: string; + /** + * Override the default system message of the assistant. This is useful for + * modifying the behavior on a per-run basis. + */ + instructions?: string | null; + /** + * The maximum number of completion tokens that may be used over the course of the + * run. The run will make a best effort to use only the number of completion tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * completion tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_completion_tokens?: number | null; + /** + * The maximum number of prompt tokens that may be used over the course of the run. + * The run will make a best effort to use only the number of prompt tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * prompt tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_prompt_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format. Keys + * can be a maximum of 64 characters long and values can be a maxium of 512 + * characters long. + */ + metadata?: unknown | null; + /** + * The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to + * be used to execute this run. If a value is provided here, it will override the + * model associated with the assistant. If not, the model associated with the + * assistant will be used. + */ + model?: (string & {}) | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613' | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * If no thread is provided, an empty thread will be created. + */ + thread?: ThreadCreateAndRunPollParams.Thread; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice?: AssistantToolChoiceOption | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: ThreadCreateAndRunPollParams.ToolResources | null; + /** + * Override the tools the assistant can use for this run. This is useful for + * modifying the behavior on a per-run basis. + */ + tools?: Array | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the intial context window of the run. + */ + truncation_strategy?: ThreadCreateAndRunPollParams.TruncationStrategy | null; +} +export declare namespace ThreadCreateAndRunPollParams { + /** + * If no thread is provided, an empty thread will be created. + */ + interface Thread { + /** + * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to + * start the thread with. + */ + messages?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format. Keys + * can be a maximum of 64 characters long and values can be a maxium of 512 + * characters long. + */ + metadata?: unknown | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: Thread.ToolResources | null; + } + namespace Thread { + interface Message { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format. Keys + * can be a maximum of 64 characters long and values can be a maxium of 512 + * characters long. + */ + metadata?: unknown | null; + } + namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + } + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this thread. There can be a maximum of 1 vector + * store attached to the thread. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to a vector store. This can be + * useful for storing additional information about the vector store in a structured + * format. Keys can be a maximum of 64 characters long and values can be a maxium + * of 512 characters long. + */ + metadata?: unknown; + } + } + } + } + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the intial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } +} +export type ThreadCreateAndRunStreamParams = ThreadCreateAndRunParamsBaseStream; +export declare namespace Threads { + export { type AssistantResponseFormatOption as AssistantResponseFormatOption, type AssistantToolChoice as AssistantToolChoice, type AssistantToolChoiceFunction as AssistantToolChoiceFunction, type AssistantToolChoiceOption as AssistantToolChoiceOption, type Thread as Thread, type ThreadDeleted as ThreadDeleted, type ThreadCreateParams as ThreadCreateParams, type ThreadUpdateParams as ThreadUpdateParams, type ThreadCreateAndRunParams as ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming as ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming as ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, }; + export { Runs as Runs, type RequiredActionFunctionToolCall as RequiredActionFunctionToolCall, type Run as Run, type RunStatus as RunStatus, type RunsPage as RunsPage, type RunCreateParams as RunCreateParams, type RunCreateParamsNonStreaming as RunCreateParamsNonStreaming, type RunCreateParamsStreaming as RunCreateParamsStreaming, type RunRetrieveParams as RunRetrieveParams, type RunUpdateParams as RunUpdateParams, type RunListParams as RunListParams, type RunCancelParams as RunCancelParams, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsParams as RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming as RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming as RunSubmitToolOutputsParamsStreaming, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, }; + export { Messages as Messages, type Annotation as Annotation, type AnnotationDelta as AnnotationDelta, type FileCitationAnnotation as FileCitationAnnotation, type FileCitationDeltaAnnotation as FileCitationDeltaAnnotation, type FilePathAnnotation as FilePathAnnotation, type FilePathDeltaAnnotation as FilePathDeltaAnnotation, type ImageFile as ImageFile, type ImageFileContentBlock as ImageFileContentBlock, type ImageFileDelta as ImageFileDelta, type ImageFileDeltaBlock as ImageFileDeltaBlock, type ImageURL as ImageURL, type ImageURLContentBlock as ImageURLContentBlock, type ImageURLDelta as ImageURLDelta, type ImageURLDeltaBlock as ImageURLDeltaBlock, type MessagesAPIMessage as Message, type MessageContent as MessageContent, type MessageContentDelta as MessageContentDelta, type MessageContentPartParam as MessageContentPartParam, type MessageDeleted as MessageDeleted, type MessageDelta as MessageDelta, type MessageDeltaEvent as MessageDeltaEvent, type RefusalContentBlock as RefusalContentBlock, type RefusalDeltaBlock as RefusalDeltaBlock, type Text as Text, type TextContentBlock as TextContentBlock, type TextContentBlockParam as TextContentBlockParam, type TextDelta as TextDelta, type TextDeltaBlock as TextDeltaBlock, type MessagesPage as MessagesPage, type MessageCreateParams as MessageCreateParams, type MessageRetrieveParams as MessageRetrieveParams, type MessageUpdateParams as MessageUpdateParams, type MessageListParams as MessageListParams, type MessageDeleteParams as MessageDeleteParams, }; + export { AssistantStream }; +} +//# sourceMappingURL=threads.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..9128092563b8ddecd01d9327fc3f052daa64b5a3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/threads/threads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,KAAK,WAAW;OAChB,EACL,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,uBAAuB,EACvB,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,OAAO,IAAI,kBAAkB,EAC7B,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,E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K,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,OAAO,EAClC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ab8dfd4fe785c61267c53702de8055f793c26ce2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.ts @@ -0,0 +1,1044 @@ +import { APIResource } from "../../../core/resource.js"; +import * as ThreadsAPI from "./threads.js"; +import * as Shared from "../../shared.js"; +import * as AssistantsAPI from "../assistants.js"; +import * as MessagesAPI from "./messages.js"; +import { Annotation, AnnotationDelta, FileCitationAnnotation, FileCitationDeltaAnnotation, FilePathAnnotation, FilePathDeltaAnnotation, ImageFile, ImageFileContentBlock, ImageFileDelta, ImageFileDeltaBlock, ImageURL, ImageURLContentBlock, ImageURLDelta, ImageURLDeltaBlock, Message as MessagesAPIMessage, MessageContent, MessageContentDelta, MessageContentPartParam, MessageCreateParams, MessageDeleteParams, MessageDeleted, MessageDelta, MessageDeltaEvent, MessageListParams, MessageRetrieveParams, MessageUpdateParams, Messages, MessagesPage, RefusalContentBlock, RefusalDeltaBlock, Text, TextContentBlock, TextContentBlockParam, TextDelta, TextDeltaBlock } from "./messages.js"; +import * as RunsAPI from "./runs/runs.js"; +import { RequiredActionFunctionToolCall, Run, RunCreateAndPollParams, RunCreateAndStreamParams, RunCancelParams, RunCreateParams, RunCreateParamsNonStreaming, RunCreateParamsStreaming, RunListParams, RunRetrieveParams, RunStatus, RunStreamParams, RunSubmitToolOutputsAndPollParams, RunSubmitToolOutputsParams, RunSubmitToolOutputsParamsNonStreaming, RunSubmitToolOutputsParamsStreaming, RunSubmitToolOutputsStreamParams, RunUpdateParams, Runs, RunsPage } from "./runs/runs.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { Stream } from "../../../core/streaming.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +import { AssistantStream, ThreadCreateAndRunParamsBaseStream } from "../../../lib/AssistantStream.js"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export declare class Threads extends APIResource { + runs: RunsAPI.Runs; + messages: MessagesAPI.Messages; + /** + * Create a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(body?: ThreadCreateParams | null | undefined, options?: RequestOptions): APIPromise; + /** + * Retrieves a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(threadID: string, options?: RequestOptions): APIPromise; + /** + * Modifies a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(threadID: string, body: ThreadUpdateParams, options?: RequestOptions): APIPromise; + /** + * Delete a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(threadID: string, options?: RequestOptions): APIPromise; + /** + * Create a thread and run it in one request. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + createAndRun(body: ThreadCreateAndRunParamsNonStreaming, options?: RequestOptions): APIPromise; + createAndRun(body: ThreadCreateAndRunParamsStreaming, options?: RequestOptions): APIPromise>; + createAndRun(body: ThreadCreateAndRunParamsBase, options?: RequestOptions): APIPromise | RunsAPI.Run>; + /** + * A helper to create a thread, start a run and then poll for a terminal state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + createAndRunPoll(body: ThreadCreateAndRunParamsNonStreaming, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Create a thread and stream the run back + */ + createAndRunStream(body: ThreadCreateAndRunParamsBaseStream, options?: RequestOptions): AssistantStream; +} +/** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ +export type AssistantResponseFormatOption = 'auto' | Shared.ResponseFormatText | Shared.ResponseFormatJSONObject | Shared.ResponseFormatJSONSchema; +/** + * Specifies a tool the model should use. Use to force the model to call a specific + * tool. + */ +export interface AssistantToolChoice { + /** + * The type of the tool. If type is `function`, the function name must be set + */ + type: 'function' | 'code_interpreter' | 'file_search'; + function?: AssistantToolChoiceFunction; +} +export interface AssistantToolChoiceFunction { + /** + * The name of the function to call. + */ + name: string; +} +/** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ +export type AssistantToolChoiceOption = 'none' | 'auto' | 'required' | AssistantToolChoice; +/** + * Represents a thread that contains + * [messages](https://platform.openai.com/docs/api-reference/messages). + */ +export interface Thread { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the thread was created. + */ + created_at: number; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The object type, which is always `thread`. + */ + object: 'thread'; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources: Thread.ToolResources | null; +} +export declare namespace Thread { + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + } + } +} +export interface ThreadDeleted { + id: string; + deleted: boolean; + object: 'thread.deleted'; +} +export interface ThreadCreateParams { + /** + * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to + * start the thread with. + */ + messages?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: ThreadCreateParams.ToolResources | null; +} +export declare namespace ThreadCreateParams { + interface Message { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + } + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this thread. There can be a maximum of 1 vector + * store attached to the thread. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. + */ + chunking_strategy?: VectorStore.Auto | VectorStore.Static; + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace VectorStore { + /** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ + interface Auto { + /** + * Always `auto`. + */ + type: 'auto'; + } + interface Static { + static: Static.Static; + /** + * Always `static`. + */ + type: 'static'; + } + namespace Static { + interface Static { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; + } + } + } + } + } +} +export interface ThreadUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: ThreadUpdateParams.ToolResources | null; +} +export declare namespace ThreadUpdateParams { + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + } + } +} +export type ThreadCreateAndRunParams = ThreadCreateAndRunParamsNonStreaming | ThreadCreateAndRunParamsStreaming; +export interface ThreadCreateAndRunParamsBase { + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to + * execute this run. + */ + assistant_id: string; + /** + * Override the default system message of the assistant. This is useful for + * modifying the behavior on a per-run basis. + */ + instructions?: string | null; + /** + * The maximum number of completion tokens that may be used over the course of the + * run. The run will make a best effort to use only the number of completion tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * completion tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_completion_tokens?: number | null; + /** + * The maximum number of prompt tokens that may be used over the course of the run. + * The run will make a best effort to use only the number of prompt tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * prompt tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_prompt_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to + * be used to execute this run. If a value is provided here, it will override the + * model associated with the assistant. If not, the model associated with the + * assistant will be used. + */ + model?: (string & {}) | Shared.ChatModel | null; + /** + * Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls?: boolean; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: AssistantResponseFormatOption | null; + /** + * If `true`, returns a stream of events that happen during the Run as server-sent + * events, terminating when the Run enters a terminal state with a `data: [DONE]` + * message. + */ + stream?: boolean | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * Options to create a new thread. If no thread is provided when running a request, + * an empty thread will be created. + */ + thread?: ThreadCreateAndRunParams.Thread; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice?: AssistantToolChoiceOption | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: ThreadCreateAndRunParams.ToolResources | null; + /** + * Override the tools the assistant can use for this run. This is useful for + * modifying the behavior on a per-run basis. + */ + tools?: Array | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + truncation_strategy?: ThreadCreateAndRunParams.TruncationStrategy | null; +} +export declare namespace ThreadCreateAndRunParams { + /** + * Options to create a new thread. If no thread is provided when running a request, + * an empty thread will be created. + */ + interface Thread { + /** + * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to + * start the thread with. + */ + messages?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: Thread.ToolResources | null; + } + namespace Thread { + interface Message { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + namespace Attachment { + interface FileSearch { + /** + * The type of tool being defined: `file_search` + */ + type: 'file_search'; + } + } + } + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this thread. There can be a maximum of 1 vector + * store attached to the thread. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. + */ + chunking_strategy?: VectorStore.Auto | VectorStore.Static; + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + namespace VectorStore { + /** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ + interface Auto { + /** + * Always `auto`. + */ + type: 'auto'; + } + interface Static { + static: Static.Static; + /** + * Always `static`. + */ + type: 'static'; + } + namespace Static { + interface Static { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; + } + } + } + } + } + } + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the initial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } + type ThreadCreateAndRunParamsNonStreaming = ThreadsAPI.ThreadCreateAndRunParamsNonStreaming; + type ThreadCreateAndRunParamsStreaming = ThreadsAPI.ThreadCreateAndRunParamsStreaming; +} +export interface ThreadCreateAndRunParamsNonStreaming extends ThreadCreateAndRunParamsBase { + /** + * If `true`, returns a stream of events that happen during the Run as server-sent + * events, terminating when the Run enters a terminal state with a `data: [DONE]` + * message. + */ + stream?: false | null; +} +export interface ThreadCreateAndRunParamsStreaming extends ThreadCreateAndRunParamsBase { + /** + * If `true`, returns a stream of events that happen during the Run as server-sent + * events, terminating when the Run enters a terminal state with a `data: [DONE]` + * message. + */ + stream: true; +} +export interface ThreadCreateAndRunPollParams { + /** + * The ID of the + * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to + * execute this run. + */ + assistant_id: string; + /** + * Override the default system message of the assistant. This is useful for + * modifying the behavior on a per-run basis. + */ + instructions?: string | null; + /** + * The maximum number of completion tokens that may be used over the course of the + * run. The run will make a best effort to use only the number of completion tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * completion tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_completion_tokens?: number | null; + /** + * The maximum number of prompt tokens that may be used over the course of the run. + * The run will make a best effort to use only the number of prompt tokens + * specified, across multiple turns of the run. If the run exceeds the number of + * prompt tokens specified, the run will end with status `incomplete`. See + * `incomplete_details` for more info. + */ + max_prompt_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format. Keys + * can be a maximum of 64 characters long and values can be a maxium of 512 + * characters long. + */ + metadata?: unknown | null; + /** + * The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to + * be used to execute this run. If a value is provided here, it will override the + * model associated with the assistant. If not, the model associated with the + * assistant will be used. + */ + model?: (string & {}) | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613' | null; + /** + * Specifies the format that the model must output. Compatible with + * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o), + * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4), + * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`. + * + * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the + * message the model generates is valid JSON. + * + * **Important:** when using JSON mode, you **must** also instruct the model to + * produce JSON yourself via a system or user message. Without this, the model may + * generate an unending stream of whitespace until the generation reaches the token + * limit, resulting in a long-running and seemingly "stuck" request. Also note that + * the message content may be partially cut off if `finish_reason="length"`, which + * indicates the generation exceeded `max_tokens` or the conversation exceeded the + * max context length. + */ + response_format?: AssistantResponseFormatOption | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. + */ + temperature?: number | null; + /** + * If no thread is provided, an empty thread will be created. + */ + thread?: ThreadCreateAndRunPollParams.Thread; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tools and instead generates a message. `auto` is the default value + * and means the model can pick between generating a message or calling one or more + * tools. `required` means the model must call one or more tools before responding + * to the user. Specifying a particular tool like `{"type": "file_search"}` or + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + */ + tool_choice?: AssistantToolChoiceOption | null; + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + tool_resources?: ThreadCreateAndRunPollParams.ToolResources | null; + /** + * Override the tools the assistant can use for this run. This is useful for + * modifying the behavior on a per-run basis. + */ + tools?: Array | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or temperature but not both. + */ + top_p?: number | null; + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the intial context window of the run. + */ + truncation_strategy?: ThreadCreateAndRunPollParams.TruncationStrategy | null; +} +export declare namespace ThreadCreateAndRunPollParams { + /** + * If no thread is provided, an empty thread will be created. + */ + interface Thread { + /** + * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to + * start the thread with. + */ + messages?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format. Keys + * can be a maximum of 64 characters long and values can be a maxium of 512 + * characters long. + */ + metadata?: unknown | null; + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + tool_resources?: Thread.ToolResources | null; + } + namespace Thread { + interface Message { + /** + * The text contents of the message. + */ + content: string | Array; + /** + * The role of the entity that is creating the message. Allowed values include: + * + * - `user`: Indicates the message is sent by an actual user and should be used in + * most cases to represent user-generated messages. + * - `assistant`: Indicates the message is generated by the assistant. Use this + * value to insert messages from the assistant into the conversation. + */ + role: 'user' | 'assistant'; + /** + * A list of files attached to the message, and the tools they should be added to. + */ + attachments?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format. Keys + * can be a maximum of 64 characters long and values can be a maxium of 512 + * characters long. + */ + metadata?: unknown | null; + } + namespace Message { + interface Attachment { + /** + * The ID of the file to attach to the message. + */ + file_id?: string; + /** + * The tools to add this file to. + */ + tools?: Array; + } + } + /** + * A set of resources that are made available to the assistant's tools in this + * thread. The resources are specific to the type of tool. For example, the + * `code_interpreter` tool requires a list of file IDs, while the `file_search` + * tool requires a list of vector store IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this thread. There can be a maximum of 1 vector store attached to + * the thread. + */ + vector_store_ids?: Array; + /** + * A helper to create a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * with file_ids and attach it to this thread. There can be a maximum of 1 vector + * store attached to the thread. + */ + vector_stores?: Array; + } + namespace FileSearch { + interface VectorStore { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to + * add to the vector store. There can be a maximum of 10000 files in a vector + * store. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to a vector store. This can be + * useful for storing additional information about the vector store in a structured + * format. Keys can be a maximum of 64 characters long and values can be a maxium + * of 512 characters long. + */ + metadata?: unknown; + } + } + } + } + /** + * A set of resources that are used by the assistant's tools. The resources are + * specific to the type of tool. For example, the `code_interpreter` tool requires + * a list of file IDs, while the `file_search` tool requires a list of vector store + * IDs. + */ + interface ToolResources { + code_interpreter?: ToolResources.CodeInterpreter; + file_search?: ToolResources.FileSearch; + } + namespace ToolResources { + interface CodeInterpreter { + /** + * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made + * available to the `code_interpreter` tool. There can be a maximum of 20 files + * associated with the tool. + */ + file_ids?: Array; + } + interface FileSearch { + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * attached to this assistant. There can be a maximum of 1 vector store attached to + * the assistant. + */ + vector_store_ids?: Array; + } + } + /** + * Controls for how a thread will be truncated prior to the run. Use this to + * control the intial context window of the run. + */ + interface TruncationStrategy { + /** + * The truncation strategy to use for the thread. The default is `auto`. If set to + * `last_messages`, the thread will be truncated to the n most recent messages in + * the thread. When set to `auto`, messages in the middle of the thread will be + * dropped to fit the context length of the model, `max_prompt_tokens`. + */ + type: 'auto' | 'last_messages'; + /** + * The number of most recent messages from the thread when constructing the context + * for the run. + */ + last_messages?: number | null; + } +} +export type ThreadCreateAndRunStreamParams = ThreadCreateAndRunParamsBaseStream; +export declare namespace Threads { + export { type AssistantResponseFormatOption as AssistantResponseFormatOption, type AssistantToolChoice as AssistantToolChoice, type AssistantToolChoiceFunction as AssistantToolChoiceFunction, type AssistantToolChoiceOption as AssistantToolChoiceOption, type Thread as Thread, type ThreadDeleted as ThreadDeleted, type ThreadCreateParams as ThreadCreateParams, type ThreadUpdateParams as ThreadUpdateParams, type ThreadCreateAndRunParams as ThreadCreateAndRunParams, type ThreadCreateAndRunParamsNonStreaming as ThreadCreateAndRunParamsNonStreaming, type ThreadCreateAndRunParamsStreaming as ThreadCreateAndRunParamsStreaming, type ThreadCreateAndRunPollParams, type ThreadCreateAndRunStreamParams, }; + export { Runs as Runs, type RequiredActionFunctionToolCall as RequiredActionFunctionToolCall, type Run as Run, type RunStatus as RunStatus, type RunsPage as RunsPage, type RunCreateParams as RunCreateParams, type RunCreateParamsNonStreaming as RunCreateParamsNonStreaming, type RunCreateParamsStreaming as RunCreateParamsStreaming, type RunRetrieveParams as RunRetrieveParams, type RunUpdateParams as RunUpdateParams, type RunListParams as RunListParams, type RunCancelParams as RunCancelParams, type RunCreateAndPollParams, type RunCreateAndStreamParams, type RunStreamParams, type RunSubmitToolOutputsParams as RunSubmitToolOutputsParams, type RunSubmitToolOutputsParamsNonStreaming as RunSubmitToolOutputsParamsNonStreaming, type RunSubmitToolOutputsParamsStreaming as RunSubmitToolOutputsParamsStreaming, type RunSubmitToolOutputsAndPollParams, type RunSubmitToolOutputsStreamParams, }; + export { Messages as Messages, type Annotation as Annotation, type AnnotationDelta as AnnotationDelta, type FileCitationAnnotation as FileCitationAnnotation, type FileCitationDeltaAnnotation as FileCitationDeltaAnnotation, type FilePathAnnotation as FilePathAnnotation, type FilePathDeltaAnnotation as FilePathDeltaAnnotation, type ImageFile as ImageFile, type ImageFileContentBlock as ImageFileContentBlock, type ImageFileDelta as ImageFileDelta, type ImageFileDeltaBlock as ImageFileDeltaBlock, type ImageURL as ImageURL, type ImageURLContentBlock as ImageURLContentBlock, type ImageURLDelta as ImageURLDelta, type ImageURLDeltaBlock as ImageURLDeltaBlock, type MessagesAPIMessage as Message, type MessageContent as MessageContent, type MessageContentDelta as MessageContentDelta, type MessageContentPartParam as MessageContentPartParam, type MessageDeleted as MessageDeleted, type MessageDelta as MessageDelta, type MessageDeltaEvent as MessageDeltaEvent, type RefusalContentBlock as RefusalContentBlock, type RefusalDeltaBlock as RefusalDeltaBlock, type Text as Text, type TextContentBlock as TextContentBlock, type TextContentBlockParam as TextContentBlockParam, type TextDelta as TextDelta, type TextDeltaBlock as TextDeltaBlock, type MessagesPage as MessagesPage, type MessageCreateParams as MessageCreateParams, type MessageRetrieveParams as MessageRetrieveParams, type MessageUpdateParams as MessageUpdateParams, type MessageListParams as MessageListParams, type MessageDeleteParams as MessageDeleteParams, }; + export { AssistantStream }; +} +//# sourceMappingURL=threads.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ed0f26ed1ae7f4e0cc6c7b47bf071389c0ac10a4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/threads/threads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,KAAK,WAAW;OAChB,EACL,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,uBAAuB,EACvB,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,OAAO,IAAI,kBAAkB,EAC7B,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,IAAI,EACJ,gBAAgB,EAChB,qBAAqB,EACrB,SAAS,EACT,cAAc,EACf;OACM,KAAK,OAAO;OACZ,EACL,8BAA8B,EAC9B,GAAG,EACH,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,wBAAwB,EACxB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,iCAAiC,EACjC,0BAA0B,EAC1B,sCAAsC,EACtC,mCAAmC,EACnC,gCAAgC,EAChC,eAAe,EACf,IAAI,EACJ,QAAQ,EACT;OACM,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;OAClB,EAAE,eAAe,EAAE,kCAAkC,EAAE;AAG9D;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAA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EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.js new file mode 100644 index 0000000000000000000000000000000000000000..b8e9fa5bfe61a078d3e4e54d597705bd3c3bada9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.js @@ -0,0 +1,96 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Threads = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const MessagesAPI = tslib_1.__importStar(require("./messages.js")); +const messages_1 = require("./messages.js"); +const RunsAPI = tslib_1.__importStar(require("./runs/runs.js")); +const runs_1 = require("./runs/runs.js"); +const headers_1 = require("../../../internal/headers.js"); +const AssistantStream_1 = require("../../../lib/AssistantStream.js"); +const path_1 = require("../../../internal/utils/path.js"); +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +class Threads extends resource_1.APIResource { + constructor() { + super(...arguments); + this.runs = new RunsAPI.Runs(this._client); + this.messages = new MessagesAPI.Messages(this._client); + } + /** + * Create a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(body = {}, options) { + return this._client.post('/threads', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(threadID, options) { + return this._client.get((0, path_1.path) `/threads/${threadID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(threadID, body, options) { + return this._client.post((0, path_1.path) `/threads/${threadID}`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(threadID, options) { + return this._client.delete((0, path_1.path) `/threads/${threadID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + createAndRun(body, options) { + return this._client.post('/threads/runs', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + stream: body.stream ?? false, + }); + } + /** + * A helper to create a thread, start a run and then poll for a terminal state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async createAndRunPoll(body, options) { + const run = await this.createAndRun(body, options); + return await this.runs.poll(run.id, { thread_id: run.thread_id }, options); + } + /** + * Create a thread and stream the run back + */ + createAndRunStream(body, options) { + return AssistantStream_1.AssistantStream.createThreadAssistantStream(body, this._client.beta.threads, options); + } +} +exports.Threads = Threads; +Threads.Runs = runs_1.Runs; +Threads.Messages = messages_1.Messages; +//# sourceMappingURL=threads.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.js.map new file mode 100644 index 0000000000000000000000000000000000000000..9d91f079a7f810da2baf52fe351b53a803254f48 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.js","sourceRoot":"","sources":["../../../src/resources/beta/threads/threads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAIrD,mEAA0C;AAC1C,4CAoCoB;AACpB,gEAAuC;AACvC,yCAqBqB;AAGrB,0DAAyD;AAEzD,qEAAmG;AACnG,0DAAoD;AAEpD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiG1E,CAAC;IA/FC;;;;OAIG;IACH,MAAM,CAAC,OAA8C,EAAE,EAAE,OAAwB;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE;YACnC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ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,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,CAAC,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,kBAAkB,CAAC,IAAwC,EAAE,OAAwB;QACnF,OAAO,iCAAe,CAAC,2BAA2B,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;CACF;AAnGD,0BAmGC;AAknCD,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC;AACpB,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.mjs new file mode 100644 index 0000000000000000000000000000000000000000..0fb737804fd25908f9ac24804ee3d6d6301dc0b7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.mjs @@ -0,0 +1,91 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as MessagesAPI from "./messages.mjs"; +import { Messages, } from "./messages.mjs"; +import * as RunsAPI from "./runs/runs.mjs"; +import { Runs, } from "./runs/runs.mjs"; +import { buildHeaders } from "../../../internal/headers.mjs"; +import { AssistantStream } from "../../../lib/AssistantStream.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +/** + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ +export class Threads extends APIResource { + constructor() { + super(...arguments); + this.runs = new RunsAPI.Runs(this._client); + this.messages = new MessagesAPI.Messages(this._client); + } + /** + * Create a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + create(body = {}, options) { + return this._client.post('/threads', { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + retrieve(threadID, options) { + return this._client.get(path `/threads/${threadID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + update(threadID, body, options) { + return this._client.post(path `/threads/${threadID}`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete a thread. + * + * @deprecated The Assistants API is deprecated in favor of the Responses API + */ + delete(threadID, options) { + return this._client.delete(path `/threads/${threadID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + createAndRun(body, options) { + return this._client.post('/threads/runs', { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + stream: body.stream ?? false, + }); + } + /** + * A helper to create a thread, start a run and then poll for a terminal state. + * More information on Run lifecycles can be found here: + * https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps + */ + async createAndRunPoll(body, options) { + const run = await this.createAndRun(body, options); + return await this.runs.poll(run.id, { thread_id: run.thread_id }, options); + } + /** + * Create a thread and stream the run back + */ + createAndRunStream(body, options) { + return AssistantStream.createThreadAssistantStream(body, this._client.beta.threads, options); + } +} +Threads.Runs = Runs; +Threads.Messages = Messages; +//# sourceMappingURL=threads.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..bbc37d5687c61485ad1d3f2abf981b655e4ba810 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/beta/threads/threads.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"threads.mjs","sourceRoot":"","sources":["../../../src/resources/beta/threads/threads.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,KAAK,WAAW;OAChB,EA2BL,QAAQ,GAST;OACM,KAAK,OAAO;OACZ,EAmBL,IAAI,GAEL;OAGM,EAAE,YAAY,EAAE;OAEhB,EAAE,eAAe,EAAsC;OACvD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiG1E,CAAC;IA/FC;;;;OAIG;IACH,MAAM,CAAC,OAA8C,EAAE,EAAE,OAAwB;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE;YACnC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,QAAQ,EAAE,EAAE;YAClD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAwB,EA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eAAe,CAAC,2BAA2B,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;CACF;AAknCD,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;AACpB,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..7b290965ff708db29686e7e4b9aa28bc9b54cb09 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.mts @@ -0,0 +1,13 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as Shared from "../shared.mjs"; +import * as CompletionsAPI from "./completions/completions.mjs"; +import { ChatCompletion, ChatCompletionAllowedToolChoice, ChatCompletionAllowedTools, ChatCompletionAssistantMessageParam, ChatCompletionAudio, ChatCompletionAudioParam, ChatCompletionChunk, ChatCompletionContentPart, ChatCompletionContentPartImage, ChatCompletionContentPartInputAudio, ChatCompletionContentPartRefusal, ChatCompletionContentPartText, ChatCompletionCreateParams, ChatCompletionCreateParamsNonStreaming, ChatCompletionCreateParamsStreaming, ChatCompletionCustomTool, ChatCompletionDeleted, ChatCompletionDeveloperMessageParam, ChatCompletionFunctionCallOption, ChatCompletionFunctionMessageParam, ChatCompletionFunctionTool, ChatCompletionListParams, ChatCompletionMessage, ChatCompletionMessageCustomToolCall, ChatCompletionMessageFunctionToolCall, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionModality, ChatCompletionNamedToolChoice, ChatCompletionNamedToolChoiceCustom, ChatCompletionPredictionContent, ChatCompletionReasoningEffort, ChatCompletionRole, ChatCompletionStoreMessage, ChatCompletionStreamOptions, ChatCompletionSystemMessageParam, ChatCompletionTokenLogprob, ChatCompletionTool, ChatCompletionToolChoiceOption, ChatCompletionToolMessageParam, ChatCompletionUpdateParams, ChatCompletionUserMessageParam, ChatCompletionsPage, Completions } from "./completions/completions.mjs"; +export declare class Chat extends APIResource { + completions: CompletionsAPI.Completions; +} +export type ChatModel = Shared.ChatModel; +export declare namespace Chat { + export { type ChatModel as ChatModel }; + export { Completions as Completions, type ChatCompletion as ChatCompletion, type ChatCompletionAllowedToolChoice as ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam as ChatCompletionAssistantMessageParam, type ChatCompletionAudio as ChatCompletionAudio, type ChatCompletionAudioParam as ChatCompletionAudioParam, type ChatCompletionChunk as ChatCompletionChunk, type ChatCompletionContentPart as ChatCompletionContentPart, type ChatCompletionContentPartImage as ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio as ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal as ChatCompletionContentPartRefusal, type ChatCompletionContentPartText as ChatCompletionContentPartText, type ChatCompletionCustomTool as ChatCompletionCustomTool, type ChatCompletionDeleted as ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam as ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption as ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam as ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool as ChatCompletionFunctionTool, type ChatCompletionMessage as ChatCompletionMessage, type ChatCompletionMessageCustomToolCall as ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall as ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam as ChatCompletionMessageParam, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCall, type ChatCompletionModality as ChatCompletionModality, type ChatCompletionNamedToolChoice as ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom as ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent as ChatCompletionPredictionContent, type ChatCompletionRole as ChatCompletionRole, type ChatCompletionStoreMessage as ChatCompletionStoreMessage, type ChatCompletionStreamOptions as ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam as ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob as ChatCompletionTokenLogprob, type ChatCompletionTool as ChatCompletionTool, type ChatCompletionToolChoiceOption as ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam as ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam as ChatCompletionUserMessageParam, type ChatCompletionAllowedTools as ChatCompletionAllowedTools, type ChatCompletionReasoningEffort as ChatCompletionReasoningEffort, type ChatCompletionsPage as ChatCompletionsPage, type ChatCompletionCreateParams as ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming as ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming as ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams as ChatCompletionUpdateParams, type ChatCompletionListParams as ChatCompletionListParams, }; +} +//# sourceMappingURL=chat.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..97656a28c69d2faad729319c4d83126ac3993928 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../src/resources/chat/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,cAAc;OACnB,EACL,cAAc,EACd,+BAA+B,EAC/B,0BAA0B,EAC1B,mCAAmC,EACnC,mBAAmB,EACnB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,8BAA8B,EAC9B,mCAAmC,EACnC,gCAAgC,EAChC,6BAA6B,EAC7B,0BAA0B,EAC1B,sCAAsC,EACtC,mCAAmC,EACnC,wBAAwB,EACxB,q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IAAI,kCAAkC,EAC7E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1a18dd323e510156d52731bcf57624d4c65828df --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.ts @@ -0,0 +1,13 @@ +import { APIResource } from "../../core/resource.js"; +import * as Shared from "../shared.js"; +import * as CompletionsAPI from "./completions/completions.js"; +import { ChatCompletion, ChatCompletionAllowedToolChoice, ChatCompletionAllowedTools, ChatCompletionAssistantMessageParam, ChatCompletionAudio, ChatCompletionAudioParam, ChatCompletionChunk, ChatCompletionContentPart, ChatCompletionContentPartImage, ChatCompletionContentPartInputAudio, ChatCompletionContentPartRefusal, ChatCompletionContentPartText, ChatCompletionCreateParams, ChatCompletionCreateParamsNonStreaming, ChatCompletionCreateParamsStreaming, ChatCompletionCustomTool, ChatCompletionDeleted, ChatCompletionDeveloperMessageParam, ChatCompletionFunctionCallOption, ChatCompletionFunctionMessageParam, ChatCompletionFunctionTool, ChatCompletionListParams, ChatCompletionMessage, ChatCompletionMessageCustomToolCall, ChatCompletionMessageFunctionToolCall, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionModality, ChatCompletionNamedToolChoice, ChatCompletionNamedToolChoiceCustom, ChatCompletionPredictionContent, ChatCompletionReasoningEffort, ChatCompletionRole, ChatCompletionStoreMessage, ChatCompletionStreamOptions, ChatCompletionSystemMessageParam, ChatCompletionTokenLogprob, ChatCompletionTool, ChatCompletionToolChoiceOption, ChatCompletionToolMessageParam, ChatCompletionUpdateParams, ChatCompletionUserMessageParam, ChatCompletionsPage, Completions } from "./completions/completions.js"; +export declare class Chat extends APIResource { + completions: CompletionsAPI.Completions; +} +export type ChatModel = Shared.ChatModel; +export declare namespace Chat { + export { type ChatModel as ChatModel }; + export { Completions as Completions, type ChatCompletion as ChatCompletion, type ChatCompletionAllowedToolChoice as ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam as ChatCompletionAssistantMessageParam, type ChatCompletionAudio as ChatCompletionAudio, type ChatCompletionAudioParam as ChatCompletionAudioParam, type ChatCompletionChunk as ChatCompletionChunk, type ChatCompletionContentPart as ChatCompletionContentPart, type ChatCompletionContentPartImage as ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio as ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal as ChatCompletionContentPartRefusal, type ChatCompletionContentPartText as ChatCompletionContentPartText, type ChatCompletionCustomTool as ChatCompletionCustomTool, type ChatCompletionDeleted as ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam as ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption as ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam as ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool as ChatCompletionFunctionTool, type ChatCompletionMessage as ChatCompletionMessage, type ChatCompletionMessageCustomToolCall as ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall as ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam as ChatCompletionMessageParam, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCall, type ChatCompletionModality as ChatCompletionModality, type ChatCompletionNamedToolChoice as ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom as ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent as ChatCompletionPredictionContent, type ChatCompletionRole as ChatCompletionRole, type ChatCompletionStoreMessage as ChatCompletionStoreMessage, type ChatCompletionStreamOptions as ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam as ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob as ChatCompletionTokenLogprob, type ChatCompletionTool as ChatCompletionTool, type ChatCompletionToolChoiceOption as ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam as ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam as ChatCompletionUserMessageParam, type ChatCompletionAllowedTools as ChatCompletionAllowedTools, type ChatCompletionReasoningEffort as ChatCompletionReasoningEffort, type ChatCompletionsPage as ChatCompletionsPage, type ChatCompletionCreateParams as ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming as ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming as ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams as ChatCompletionUpdateParams, type ChatCompletionListParams as ChatCompletionListParams, }; +} +//# sourceMappingURL=chat.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..82c2c1bae40a6208d62abf4eb65a116d6ead3f35 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/resources/chat/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,cAAc;OACnB,EACL,cAAc,EACd,+BAA+B,EAC/B,0BAA0B,EAC1B,mCAAmC,EACnC,mBAAmB,EACnB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,8BAA8B,EAC9B,mCAAmC,EACnC,gCAAgC,EAChC,6BAA6B,EAC7B,0BAA0B,EAC1B,sCAAsC,EACtC,mCAAmC,EACnC,wBAAwB,EACxB,qBAAqB,EACrB,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACrB,mCAAmC,EACnC,qCAAqC,EACrC,0BAA0B,EAC1B,6BAA6B,EAC7B,sBAAsB,EACtB,6BAA6B,EAC7B,mCAAmC,EACnC,+BAA+B,EAC/B,6BAA6B,EAC7B,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,kBAAkB,EAClB,8BAA8B,EAC9B,8BAA8B,EAC9B,0BAA0B,EAC1B,8BAA8B,EAC9B,mBAAmB,EACnB,WAAW,EACZ;AAED,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW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2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.js new file mode 100644 index 0000000000000000000000000000000000000000..ee2f4aa11b64306bb4d1e856ae5bfb6dd7caed1e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.js @@ -0,0 +1,17 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Chat = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const CompletionsAPI = tslib_1.__importStar(require("./completions/completions.js")); +const completions_1 = require("./completions/completions.js"); +class Chat extends resource_1.APIResource { + constructor() { + super(...arguments); + this.completions = new CompletionsAPI.Completions(this._client); + } +} +exports.Chat = Chat; +Chat.Completions = completions_1.Completions; +//# sourceMappingURL=chat.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.js.map new file mode 100644 index 0000000000000000000000000000000000000000..aac6dd7d71a95231eac17eb9ecb1e0fcce23614f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/resources/chat/chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,qFAA4D;AAC5D,8DA6CmC;AAEnC,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAFD,oBAEC;AAID,IAAI,CAAC,WAAW,GAAG,yBAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a1a3c3d32b8c8ac0e9eef8e674ad212a9d89846c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.mjs @@ -0,0 +1,12 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as CompletionsAPI from "./completions/completions.mjs"; +import { Completions, } from "./completions/completions.mjs"; +export class Chat extends APIResource { + constructor() { + super(...arguments); + this.completions = new CompletionsAPI.Completions(this._client); + } +} +Chat.Completions = Completions; +//# sourceMappingURL=chat.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9addc8eee9f1c3f418f8f98094493d716e6ef82f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/chat.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"chat.mjs","sourceRoot":"","sources":["../../src/resources/chat/chat.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,cAAc;OACnB,EA4CL,WAAW,GACZ;AAED,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAID,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..97cab99b09c1f969c8d1359d49b199835f3fa029 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.mts @@ -0,0 +1,2 @@ +export * from "./completions/index.mjs"; +//# sourceMappingURL=completions.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..4d279ddd4f4fd3cedd9e7f5c5855645be867b494 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.d.mts","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e05b6c7a5e6dc5991b1252d1e466b2a87bf45ee3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.ts @@ -0,0 +1,2 @@ +export * from "./completions/index.js"; +//# sourceMappingURL=completions.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..36d007361f51f6b5d46215f22bc55ffc2349d288 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.js new file mode 100644 index 0000000000000000000000000000000000000000..05994d06019491195d2794aa7ee0f6d49506bfa7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./completions/index.js"), exports); +//# sourceMappingURL=completions.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.js.map new file mode 100644 index 0000000000000000000000000000000000000000..dc3724b3e2a3d27914bbffd8ace706ddd286555f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.js","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iEAAoC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e0a0785c885775485148ed4439d350a5a8c22bfc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./completions/index.mjs"; +//# sourceMappingURL=completions.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..dbb59f25aa76e36458d785c44fa93b04e8102c35 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.mjs","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..01f0c8eb85dca26c303ce27f2274136fa5aa05ca --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.mts @@ -0,0 +1,1624 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as CompletionsCompletionsAPI from "./completions.mjs"; +import * as CompletionsAPI from "../../completions.mjs"; +import * as Shared from "../../shared.mjs"; +import * as MessagesAPI from "./messages.mjs"; +import { MessageListParams, Messages } from "./messages.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { Stream } from "../../../core/streaming.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +import { ChatCompletionRunner } from "../../../lib/ChatCompletionRunner.mjs"; +import { ChatCompletionStreamingRunner } from "../../../lib/ChatCompletionStreamingRunner.mjs"; +import { RunnerOptions } from "../../../lib/AbstractChatCompletionRunner.mjs"; +import { ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner.mjs"; +import { ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.mjs"; +import { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream.mjs"; +import { ExtractParsedContentFromParams } from "../../../lib/parser.mjs"; +export declare class Completions extends APIResource { + messages: MessagesAPI.Messages; + /** + * **Starting a new project?** We recommend trying + * [Responses](https://platform.openai.com/docs/api-reference/responses) to take + * advantage of the latest OpenAI platform features. Compare + * [Chat Completions with Responses](https://platform.openai.com/docs/guides/responses-vs-chat-completions?api-mode=responses). + * + * --- + * + * Creates a model response for the given chat conversation. Learn more in the + * [text generation](https://platform.openai.com/docs/guides/text-generation), + * [vision](https://platform.openai.com/docs/guides/vision), and + * [audio](https://platform.openai.com/docs/guides/audio) guides. + * + * Parameter support can differ depending on the model used to generate the + * response, particularly for newer reasoning models. Parameters that are only + * supported for reasoning models are noted below. For the current state of + * unsupported parameters in reasoning models, + * [refer to the reasoning guide](https://platform.openai.com/docs/guides/reasoning). + * + * @example + * ```ts + * const chatCompletion = await client.chat.completions.create( + * { + * messages: [{ content: 'string', role: 'developer' }], + * model: 'gpt-4o', + * }, + * ); + * ``` + */ + create(body: ChatCompletionCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(body: ChatCompletionCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(body: ChatCompletionCreateParamsBase, options?: RequestOptions): APIPromise | ChatCompletion>; + /** + * Get a stored chat completion. Only Chat Completions that have been created with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * const chatCompletion = + * await client.chat.completions.retrieve('completion_id'); + * ``` + */ + retrieve(completionID: string, options?: RequestOptions): APIPromise; + /** + * Modify a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be modified. Currently, the only + * supported modification is to update the `metadata` field. + * + * @example + * ```ts + * const chatCompletion = await client.chat.completions.update( + * 'completion_id', + * { metadata: { foo: 'string' } }, + * ); + * ``` + */ + update(completionID: string, body: ChatCompletionUpdateParams, options?: RequestOptions): APIPromise; + /** + * List stored Chat Completions. Only Chat Completions that have been stored with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletion of client.chat.completions.list()) { + * // ... + * } + * ``` + */ + list(query?: ChatCompletionListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be deleted. + * + * @example + * ```ts + * const chatCompletionDeleted = + * await client.chat.completions.delete('completion_id'); + * ``` + */ + delete(completionID: string, options?: RequestOptions): APIPromise; + parse>(body: Params, options?: RequestOptions): APIPromise>; + /** + * A convenience helper for using tool calls with the /chat/completions endpoint + * which automatically calls the JavaScript functions you provide and sends their + * results back to the /chat/completions endpoint, looping as long as the model + * requests function calls. + * + * For more details and examples, see + * [the docs](https://github.com/openai/openai-node#automated-function-calls) + */ + runTools, ParsedT = ExtractParsedContentFromParams>(body: Params, options?: RunnerOptions): ChatCompletionRunner; + runTools, ParsedT = ExtractParsedContentFromParams>(body: Params, options?: RunnerOptions): ChatCompletionStreamingRunner; + /** + * Creates a chat completion stream + */ + stream>(body: Params, options?: RequestOptions): ChatCompletionStream; +} +export interface ParsedFunction extends ChatCompletionMessageFunctionToolCall.Function { + parsed_arguments?: unknown; +} +export interface ParsedFunctionToolCall extends ChatCompletionMessageFunctionToolCall { + function: ParsedFunction; +} +export interface ParsedChatCompletionMessage extends ChatCompletionMessage { + parsed: ParsedT | null; + tool_calls?: Array; +} +export interface ParsedChoice extends ChatCompletion.Choice { + message: ParsedChatCompletionMessage; +} +export interface ParsedChatCompletion extends ChatCompletion { + choices: Array>; +} +export type ChatCompletionParseParams = ChatCompletionCreateParamsNonStreaming; +export { ChatCompletionStreamingRunner } from "../../../lib/ChatCompletionStreamingRunner.mjs"; +export { type RunnableFunctionWithParse, type RunnableFunctionWithoutParse, ParsingToolFunction, } from "../../../lib/RunnableFunction.mjs"; +export { type ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner.mjs"; +export { type ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.mjs"; +export { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream.mjs"; +export { ChatCompletionRunner } from "../../../lib/ChatCompletionRunner.mjs"; +export type ChatCompletionsPage = CursorPage; +export type ChatCompletionStoreMessagesPage = CursorPage; +/** + * Represents a chat completion response returned by model, based on the provided + * input. + */ +export interface ChatCompletion { + /** + * A unique identifier for the chat completion. + */ + id: string; + /** + * A list of chat completion choices. Can be more than one if `n` is greater + * than 1. + */ + choices: Array; + /** + * The Unix timestamp (in seconds) of when the chat completion was created. + */ + created: number; + /** + * The model used for the chat completion. + */ + model: string; + /** + * The object type, which is always `chat.completion`. + */ + object: 'chat.completion'; + /** + * Specifies the processing type used for serving the request. + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When the `service_tier` parameter is set, the response body will include the + * `service_tier` value based on the processing mode actually used to serve the + * request. This response value may be different from the value set in the + * parameter. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * @deprecated This fingerprint represents the backend configuration that the model + * runs with. + * + * Can be used in conjunction with the `seed` request parameter to understand when + * backend changes have been made that might impact determinism. + */ + system_fingerprint?: string; + /** + * Usage statistics for the completion request. + */ + usage?: CompletionsAPI.CompletionUsage; +} +export declare namespace ChatCompletion { + interface Choice { + /** + * The reason the model stopped generating tokens. This will be `stop` if the model + * hit a natural stop point or a provided stop sequence, `length` if the maximum + * number of tokens specified in the request was reached, `content_filter` if + * content was omitted due to a flag from our content filters, `tool_calls` if the + * model called a tool, or `function_call` (deprecated) if the model called a + * function. + */ + finish_reason: 'stop' | 'length' | 'tool_calls' | 'content_filter' | 'function_call'; + /** + * The index of the choice in the list of choices. + */ + index: number; + /** + * Log probability information for the choice. + */ + logprobs: Choice.Logprobs | null; + /** + * A chat completion message generated by the model. + */ + message: CompletionsCompletionsAPI.ChatCompletionMessage; + } + namespace Choice { + /** + * Log probability information for the choice. + */ + interface Logprobs { + /** + * A list of message content tokens with log probability information. + */ + content: Array | null; + /** + * A list of message refusal tokens with log probability information. + */ + refusal: Array | null; + } + } +} +/** + * Constrains the tools available to the model to a pre-defined set. + */ +export interface ChatCompletionAllowedToolChoice { + /** + * Constrains the tools available to the model to a pre-defined set. + */ + allowed_tools: ChatCompletionAllowedTools; + /** + * Allowed tool configuration type. Always `allowed_tools`. + */ + type: 'allowed_tools'; +} +/** + * Messages sent by the model in response to user messages. + */ +export interface ChatCompletionAssistantMessageParam { + /** + * The role of the messages author, in this case `assistant`. + */ + role: 'assistant'; + /** + * Data about a previous audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + audio?: ChatCompletionAssistantMessageParam.Audio | null; + /** + * The contents of the assistant message. Required unless `tool_calls` or + * `function_call` is specified. + */ + content?: string | Array | null; + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + function_call?: ChatCompletionAssistantMessageParam.FunctionCall | null; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; + /** + * The refusal message by the assistant. + */ + refusal?: string | null; + /** + * The tool calls generated by the model, such as function calls. + */ + tool_calls?: Array; +} +export declare namespace ChatCompletionAssistantMessageParam { + /** + * Data about a previous audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + interface Audio { + /** + * Unique identifier for a previous audio response from the model. + */ + id: string; + } + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + interface FunctionCall { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments: string; + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * If the audio output modality is requested, this object contains data about the + * audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ +export interface ChatCompletionAudio { + /** + * Unique identifier for this audio response. + */ + id: string; + /** + * Base64 encoded audio bytes generated by the model, in the format specified in + * the request. + */ + data: string; + /** + * The Unix timestamp (in seconds) for when this audio response will no longer be + * accessible on the server for use in multi-turn conversations. + */ + expires_at: number; + /** + * Transcript of the audio generated by the model. + */ + transcript: string; +} +/** + * Parameters for audio output. Required when audio output is requested with + * `modalities: ["audio"]`. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ +export interface ChatCompletionAudioParam { + /** + * Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`, `opus`, + * or `pcm16`. + */ + format: 'wav' | 'aac' | 'mp3' | 'flac' | 'opus' | 'pcm16'; + /** + * The voice the model uses to respond. Supported voices are `alloy`, `ash`, + * `ballad`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, and `shimmer`. + */ + voice: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +/** + * Represents a streamed chunk of a chat completion response returned by the model, + * based on the provided input. + * [Learn more](https://platform.openai.com/docs/guides/streaming-responses). + */ +export interface ChatCompletionChunk { + /** + * A unique identifier for the chat completion. Each chunk has the same ID. + */ + id: string; + /** + * A list of chat completion choices. Can contain more than one elements if `n` is + * greater than 1. Can also be empty for the last chunk if you set + * `stream_options: {"include_usage": true}`. + */ + choices: Array; + /** + * The Unix timestamp (in seconds) of when the chat completion was created. Each + * chunk has the same timestamp. + */ + created: number; + /** + * The model to generate the completion. + */ + model: string; + /** + * The object type, which is always `chat.completion.chunk`. + */ + object: 'chat.completion.chunk'; + /** + * Specifies the processing type used for serving the request. + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When the `service_tier` parameter is set, the response body will include the + * `service_tier` value based on the processing mode actually used to serve the + * request. This response value may be different from the value set in the + * parameter. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * @deprecated This fingerprint represents the backend configuration that the model + * runs with. Can be used in conjunction with the `seed` request parameter to + * understand when backend changes have been made that might impact determinism. + */ + system_fingerprint?: string; + /** + * An optional field that will only be present when you set + * `stream_options: {"include_usage": true}` in your request. When present, it + * contains a null value **except for the last chunk** which contains the token + * usage statistics for the entire request. + * + * **NOTE:** If the stream is interrupted or cancelled, you may not receive the + * final usage chunk which contains the total token usage for the request. + */ + usage?: CompletionsAPI.CompletionUsage | null; +} +export declare namespace ChatCompletionChunk { + interface Choice { + /** + * A chat completion delta generated by streamed model responses. + */ + delta: Choice.Delta; + /** + * The reason the model stopped generating tokens. This will be `stop` if the model + * hit a natural stop point or a provided stop sequence, `length` if the maximum + * number of tokens specified in the request was reached, `content_filter` if + * content was omitted due to a flag from our content filters, `tool_calls` if the + * model called a tool, or `function_call` (deprecated) if the model called a + * function. + */ + finish_reason: 'stop' | 'length' | 'tool_calls' | 'content_filter' | 'function_call' | null; + /** + * The index of the choice in the list of choices. + */ + index: number; + /** + * Log probability information for the choice. + */ + logprobs?: Choice.Logprobs | null; + } + namespace Choice { + /** + * A chat completion delta generated by streamed model responses. + */ + interface Delta { + /** + * The contents of the chunk message. + */ + content?: string | null; + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + function_call?: Delta.FunctionCall; + /** + * The refusal message generated by the model. + */ + refusal?: string | null; + /** + * The role of the author of this message. + */ + role?: 'developer' | 'system' | 'user' | 'assistant' | 'tool'; + tool_calls?: Array; + } + namespace Delta { + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + interface FunctionCall { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments?: string; + /** + * The name of the function to call. + */ + name?: string; + } + interface ToolCall { + index: number; + /** + * The ID of the tool call. + */ + id?: string; + function?: ToolCall.Function; + /** + * The type of the tool. Currently, only `function` is supported. + */ + type?: 'function'; + } + namespace ToolCall { + interface Function { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments?: string; + /** + * The name of the function to call. + */ + name?: string; + } + } + } + /** + * Log probability information for the choice. + */ + interface Logprobs { + /** + * A list of message content tokens with log probability information. + */ + content: Array | null; + /** + * A list of message refusal tokens with log probability information. + */ + refusal: Array | null; + } + } +} +/** + * Learn about + * [text inputs](https://platform.openai.com/docs/guides/text-generation). + */ +export type ChatCompletionContentPart = ChatCompletionContentPartText | ChatCompletionContentPartImage | ChatCompletionContentPartInputAudio | ChatCompletionContentPart.File; +export declare namespace ChatCompletionContentPart { + /** + * Learn about [file inputs](https://platform.openai.com/docs/guides/text) for text + * generation. + */ + interface File { + file: File.File; + /** + * The type of the content part. Always `file`. + */ + type: 'file'; + } + namespace File { + interface File { + /** + * The base64 encoded file data, used when passing the file to the model as a + * string. + */ + file_data?: string; + /** + * The ID of an uploaded file to use as input. + */ + file_id?: string; + /** + * The name of the file, used when passing the file to the model as a string. + */ + filename?: string; + } + } +} +/** + * Learn about [image inputs](https://platform.openai.com/docs/guides/vision). + */ +export interface ChatCompletionContentPartImage { + image_url: ChatCompletionContentPartImage.ImageURL; + /** + * The type of the content part. + */ + type: 'image_url'; +} +export declare namespace ChatCompletionContentPartImage { + interface ImageURL { + /** + * Either a URL of the image or the base64 encoded image data. + */ + url: string; + /** + * Specifies the detail level of the image. Learn more in the + * [Vision guide](https://platform.openai.com/docs/guides/vision#low-or-high-fidelity-image-understanding). + */ + detail?: 'auto' | 'low' | 'high'; + } +} +/** + * Learn about [audio inputs](https://platform.openai.com/docs/guides/audio). + */ +export interface ChatCompletionContentPartInputAudio { + input_audio: ChatCompletionContentPartInputAudio.InputAudio; + /** + * The type of the content part. Always `input_audio`. + */ + type: 'input_audio'; +} +export declare namespace ChatCompletionContentPartInputAudio { + interface InputAudio { + /** + * Base64 encoded audio data. + */ + data: string; + /** + * The format of the encoded audio data. Currently supports "wav" and "mp3". + */ + format: 'wav' | 'mp3'; + } +} +export interface ChatCompletionContentPartRefusal { + /** + * The refusal message generated by the model. + */ + refusal: string; + /** + * The type of the content part. + */ + type: 'refusal'; +} +/** + * Learn about + * [text inputs](https://platform.openai.com/docs/guides/text-generation). + */ +export interface ChatCompletionContentPartText { + /** + * The text content. + */ + text: string; + /** + * The type of the content part. + */ + type: 'text'; +} +/** + * A custom tool that processes input using a specified format. + */ +export interface ChatCompletionCustomTool { + /** + * Properties of the custom tool. + */ + custom: ChatCompletionCustomTool.Custom; + /** + * The type of the custom tool. Always `custom`. + */ + type: 'custom'; +} +export declare namespace ChatCompletionCustomTool { + /** + * Properties of the custom tool. + */ + interface Custom { + /** + * The name of the custom tool, used to identify it in tool calls. + */ + name: string; + /** + * Optional description of the custom tool, used to provide more context. + */ + description?: string; + /** + * The input format for the custom tool. Default is unconstrained text. + */ + format?: Custom.Text | Custom.Grammar; + } + namespace Custom { + /** + * Unconstrained free-form text. + */ + interface Text { + /** + * Unconstrained text format. Always `text`. + */ + type: 'text'; + } + /** + * A grammar defined by the user. + */ + interface Grammar { + /** + * Your chosen grammar. + */ + grammar: Grammar.Grammar; + /** + * Grammar format. Always `grammar`. + */ + type: 'grammar'; + } + namespace Grammar { + /** + * Your chosen grammar. + */ + interface Grammar { + /** + * The grammar definition. + */ + definition: string; + /** + * The syntax of the grammar definition. One of `lark` or `regex`. + */ + syntax: 'lark' | 'regex'; + } + } + } +} +export interface ChatCompletionDeleted { + /** + * The ID of the chat completion that was deleted. + */ + id: string; + /** + * Whether the chat completion was deleted. + */ + deleted: boolean; + /** + * The type of object being deleted. + */ + object: 'chat.completion.deleted'; +} +/** + * Developer-provided instructions that the model should follow, regardless of + * messages sent by the user. With o1 models and newer, `developer` messages + * replace the previous `system` messages. + */ +export interface ChatCompletionDeveloperMessageParam { + /** + * The contents of the developer message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `developer`. + */ + role: 'developer'; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; +} +/** + * Specifying a particular function via `{"name": "my_function"}` forces the model + * to call that function. + */ +export interface ChatCompletionFunctionCallOption { + /** + * The name of the function to call. + */ + name: string; +} +/** + * @deprecated + */ +export interface ChatCompletionFunctionMessageParam { + /** + * The contents of the function message. + */ + content: string | null; + /** + * The name of the function to call. + */ + name: string; + /** + * The role of the messages author, in this case `function`. + */ + role: 'function'; +} +/** + * A function tool that can be used to generate a response. + */ +export interface ChatCompletionFunctionTool { + function: Shared.FunctionDefinition; + /** + * The type of the tool. Currently, only `function` is supported. + */ + type: 'function'; +} +/** + * A chat completion message generated by the model. + */ +export interface ChatCompletionMessage { + /** + * The contents of the message. + */ + content: string | null; + /** + * The refusal message generated by the model. + */ + refusal: string | null; + /** + * The role of the author of this message. + */ + role: 'assistant'; + /** + * Annotations for the message, when applicable, as when using the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat). + */ + annotations?: Array; + /** + * If the audio output modality is requested, this object contains data about the + * audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + audio?: ChatCompletionAudio | null; + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + function_call?: ChatCompletionMessage.FunctionCall | null; + /** + * The tool calls generated by the model, such as function calls. + */ + tool_calls?: Array; +} +export declare namespace ChatCompletionMessage { + /** + * A URL citation when using web search. + */ + interface Annotation { + /** + * The type of the URL citation. Always `url_citation`. + */ + type: 'url_citation'; + /** + * A URL citation when using web search. + */ + url_citation: Annotation.URLCitation; + } + namespace Annotation { + /** + * A URL citation when using web search. + */ + interface URLCitation { + /** + * The index of the last character of the URL citation in the message. + */ + end_index: number; + /** + * The index of the first character of the URL citation in the message. + */ + start_index: number; + /** + * The title of the web resource. + */ + title: string; + /** + * The URL of the web resource. + */ + url: string; + } + } + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + interface FunctionCall { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments: string; + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * A call to a custom tool created by the model. + */ +export interface ChatCompletionMessageCustomToolCall { + /** + * The ID of the tool call. + */ + id: string; + /** + * The custom tool that the model called. + */ + custom: ChatCompletionMessageCustomToolCall.Custom; + /** + * The type of the tool. Always `custom`. + */ + type: 'custom'; +} +export declare namespace ChatCompletionMessageCustomToolCall { + /** + * The custom tool that the model called. + */ + interface Custom { + /** + * The input for the custom tool call generated by the model. + */ + input: string; + /** + * The name of the custom tool to call. + */ + name: string; + } +} +/** + * A call to a function tool created by the model. + */ +export interface ChatCompletionMessageFunctionToolCall { + /** + * The ID of the tool call. + */ + id: string; + /** + * The function that the model called. + */ + function: ChatCompletionMessageFunctionToolCall.Function; + /** + * The type of the tool. Currently, only `function` is supported. + */ + type: 'function'; +} +export declare namespace ChatCompletionMessageFunctionToolCall { + /** + * The function that the model called. + */ + interface Function { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments: string; + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * Developer-provided instructions that the model should follow, regardless of + * messages sent by the user. With o1 models and newer, `developer` messages + * replace the previous `system` messages. + */ +export type ChatCompletionMessageParam = ChatCompletionDeveloperMessageParam | ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam; +/** + * A call to a function tool created by the model. + */ +export type ChatCompletionMessageToolCall = ChatCompletionMessageFunctionToolCall | ChatCompletionMessageCustomToolCall; +export type ChatCompletionModality = 'text' | 'audio'; +/** + * Specifies a tool the model should use. Use to force the model to call a specific + * function. + */ +export interface ChatCompletionNamedToolChoice { + function: ChatCompletionNamedToolChoice.Function; + /** + * For function calling, the type is always `function`. + */ + type: 'function'; +} +export declare namespace ChatCompletionNamedToolChoice { + interface Function { + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * Specifies a tool the model should use. Use to force the model to call a specific + * custom tool. + */ +export interface ChatCompletionNamedToolChoiceCustom { + custom: ChatCompletionNamedToolChoiceCustom.Custom; + /** + * For custom tool calling, the type is always `custom`. + */ + type: 'custom'; +} +export declare namespace ChatCompletionNamedToolChoiceCustom { + interface Custom { + /** + * The name of the custom tool to call. + */ + name: string; + } +} +/** + * Static predicted output content, such as the content of a text file that is + * being regenerated. + */ +export interface ChatCompletionPredictionContent { + /** + * The content that should be matched when generating a model response. If + * generated tokens would match this content, the entire model response can be + * returned much more quickly. + */ + content: string | Array; + /** + * The type of the predicted content you want to provide. This type is currently + * always `content`. + */ + type: 'content'; +} +/** + * The role of the author of a message + */ +export type ChatCompletionRole = 'developer' | 'system' | 'user' | 'assistant' | 'tool' | 'function'; +/** + * A chat completion message generated by the model. + */ +export interface ChatCompletionStoreMessage extends ChatCompletionMessage { + /** + * The identifier of the chat message. + */ + id: string; + /** + * If a content parts array was provided, this is an array of `text` and + * `image_url` parts. Otherwise, null. + */ + content_parts?: Array | null; +} +/** + * Options for streaming response. Only set this when you set `stream: true`. + */ +export interface ChatCompletionStreamOptions { + /** + * When true, stream obfuscation will be enabled. Stream obfuscation adds random + * characters to an `obfuscation` field on streaming delta events to normalize + * payload sizes as a mitigation to certain side-channel attacks. These obfuscation + * fields are included by default, but add a small amount of overhead to the data + * stream. You can set `include_obfuscation` to false to optimize for bandwidth if + * you trust the network links between your application and the OpenAI API. + */ + include_obfuscation?: boolean; + /** + * If set, an additional chunk will be streamed before the `data: [DONE]` message. + * The `usage` field on this chunk shows the token usage statistics for the entire + * request, and the `choices` field will always be an empty array. + * + * All other chunks will also include a `usage` field, but with a null value. + * **NOTE:** If the stream is interrupted, you may not receive the final usage + * chunk which contains the total token usage for the request. + */ + include_usage?: boolean; +} +/** + * Developer-provided instructions that the model should follow, regardless of + * messages sent by the user. With o1 models and newer, use `developer` messages + * for this purpose instead. + */ +export interface ChatCompletionSystemMessageParam { + /** + * The contents of the system message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `system`. + */ + role: 'system'; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; +} +export interface ChatCompletionTokenLogprob { + /** + * The token. + */ + token: string; + /** + * A list of integers representing the UTF-8 bytes representation of the token. + * Useful in instances where characters are represented by multiple tokens and + * their byte representations must be combined to generate the correct text + * representation. Can be `null` if there is no bytes representation for the token. + */ + bytes: Array | null; + /** + * The log probability of this token, if it is within the top 20 most likely + * tokens. Otherwise, the value `-9999.0` is used to signify that the token is very + * unlikely. + */ + logprob: number; + /** + * List of the most likely tokens and their log probability, at this token + * position. In rare cases, there may be fewer than the number of requested + * `top_logprobs` returned. + */ + top_logprobs: Array; +} +export declare namespace ChatCompletionTokenLogprob { + interface TopLogprob { + /** + * The token. + */ + token: string; + /** + * A list of integers representing the UTF-8 bytes representation of the token. + * Useful in instances where characters are represented by multiple tokens and + * their byte representations must be combined to generate the correct text + * representation. Can be `null` if there is no bytes representation for the token. + */ + bytes: Array | null; + /** + * The log probability of this token, if it is within the top 20 most likely + * tokens. Otherwise, the value `-9999.0` is used to signify that the token is very + * unlikely. + */ + logprob: number; + } +} +/** + * A function tool that can be used to generate a response. + */ +export type ChatCompletionTool = ChatCompletionFunctionTool | ChatCompletionCustomTool; +/** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tool and instead generates a message. `auto` means the model can + * pick between generating a message or calling one or more tools. `required` means + * the model must call one or more tools. Specifying a particular tool via + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + * + * `none` is the default when no tools are present. `auto` is the default if tools + * are present. + */ +export type ChatCompletionToolChoiceOption = 'none' | 'auto' | 'required' | ChatCompletionAllowedToolChoice | ChatCompletionNamedToolChoice | ChatCompletionNamedToolChoiceCustom; +export interface ChatCompletionToolMessageParam { + /** + * The contents of the tool message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `tool`. + */ + role: 'tool'; + /** + * Tool call that this message is responding to. + */ + tool_call_id: string; +} +/** + * Messages sent by an end user, containing prompts or additional context + * information. + */ +export interface ChatCompletionUserMessageParam { + /** + * The contents of the user message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `user`. + */ + role: 'user'; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; +} +/** + * Constrains the tools available to the model to a pre-defined set. + */ +export interface ChatCompletionAllowedTools { + /** + * Constrains the tools available to the model to a pre-defined set. + * + * `auto` allows the model to pick from among the allowed tools and generate a + * message. + * + * `required` requires the model to call one or more of the allowed tools. + */ + mode: 'auto' | 'required'; + /** + * A list of tool definitions that the model should be allowed to call. + * + * For the Chat Completions API, the list of tool definitions might look like: + * + * ```json + * [ + * { "type": "function", "function": { "name": "get_weather" } }, + * { "type": "function", "function": { "name": "get_time" } } + * ] + * ``` + */ + tools: Array<{ + [key: string]: unknown; + }>; +} +export type ChatCompletionReasoningEffort = Shared.ReasoningEffort | null; +export type ChatCompletionCreateParams = ChatCompletionCreateParamsNonStreaming | ChatCompletionCreateParamsStreaming; +export interface ChatCompletionCreateParamsBase { + /** + * A list of messages comprising the conversation so far. Depending on the + * [model](https://platform.openai.com/docs/models) you use, different message + * types (modalities) are supported, like + * [text](https://platform.openai.com/docs/guides/text-generation), + * [images](https://platform.openai.com/docs/guides/vision), and + * [audio](https://platform.openai.com/docs/guides/audio). + */ + messages: Array; + /** + * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a + * wide range of models with different capabilities, performance characteristics, + * and price points. Refer to the + * [model guide](https://platform.openai.com/docs/models) to browse and compare + * available models. + */ + model: (string & {}) | Shared.ChatModel; + /** + * Parameters for audio output. Required when audio output is requested with + * `modalities: ["audio"]`. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + audio?: ChatCompletionAudioParam | null; + /** + * Number between -2.0 and 2.0. Positive values penalize new tokens based on their + * existing frequency in the text so far, decreasing the model's likelihood to + * repeat the same line verbatim. + */ + frequency_penalty?: number | null; + /** + * @deprecated Deprecated in favor of `tool_choice`. + * + * Controls which (if any) function is called by the model. + * + * `none` means the model will not call a function and instead generates a message. + * + * `auto` means the model can pick between generating a message or calling a + * function. + * + * Specifying a particular function via `{"name": "my_function"}` forces the model + * to call that function. + * + * `none` is the default when no functions are present. `auto` is the default if + * functions are present. + */ + function_call?: 'none' | 'auto' | ChatCompletionFunctionCallOption; + /** + * @deprecated Deprecated in favor of `tools`. + * + * A list of functions the model may generate JSON inputs for. + */ + functions?: Array; + /** + * Modify the likelihood of specified tokens appearing in the completion. + * + * Accepts a JSON object that maps tokens (specified by their token ID in the + * tokenizer) to an associated bias value from -100 to 100. Mathematically, the + * bias is added to the logits generated by the model prior to sampling. The exact + * effect will vary per model, but values between -1 and 1 should decrease or + * increase likelihood of selection; values like -100 or 100 should result in a ban + * or exclusive selection of the relevant token. + */ + logit_bias?: { + [key: string]: number; + } | null; + /** + * Whether to return log probabilities of the output tokens or not. If true, + * returns the log probabilities of each output token returned in the `content` of + * `message`. + */ + logprobs?: boolean | null; + /** + * An upper bound for the number of tokens that can be generated for a completion, + * including visible output tokens and + * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning). + */ + max_completion_tokens?: number | null; + /** + * @deprecated The maximum number of [tokens](/tokenizer) that can be generated in + * the chat completion. This value can be used to control + * [costs](https://openai.com/api/pricing/) for text generated via API. + * + * This value is now deprecated in favor of `max_completion_tokens`, and is not + * compatible with + * [o-series models](https://platform.openai.com/docs/guides/reasoning). + */ + max_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Output types that you would like the model to generate. Most models are capable + * of generating text, which is the default: + * + * `["text"]` + * + * The `gpt-4o-audio-preview` model can also be used to + * [generate audio](https://platform.openai.com/docs/guides/audio). To request that + * this model generate both text and audio responses, you can use: + * + * `["text", "audio"]` + */ + modalities?: Array<'text' | 'audio'> | null; + /** + * How many chat completion choices to generate for each input message. Note that + * you will be charged based on the number of generated tokens across all of the + * choices. Keep `n` as `1` to minimize costs. + */ + n?: number | null; + /** + * Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls?: boolean; + /** + * Static predicted output content, such as the content of a text file that is + * being regenerated. + */ + prediction?: ChatCompletionPredictionContent | null; + /** + * Number between -2.0 and 2.0. Positive values penalize new tokens based on + * whether they appear in the text so far, increasing the model's likelihood to + * talk about new topics. + */ + presence_penalty?: number | null; + /** + * Used by OpenAI to cache responses for similar requests to optimize your cache + * hit rates. Replaces the `user` field. + * [Learn more](https://platform.openai.com/docs/guides/prompt-caching). + */ + prompt_cache_key?: string; + /** + * Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * An object specifying the format that the model must output. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + response_format?: Shared.ResponseFormatText | Shared.ResponseFormatJSONSchema | Shared.ResponseFormatJSONObject; + /** + * A stable identifier used to help detect users of your application that may be + * violating OpenAI's usage policies. The IDs should be a string that uniquely + * identifies each user. We recommend hashing their username or email address, in + * order to avoid sending us any identifying information. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + safety_identifier?: string; + /** + * @deprecated This feature is in Beta. If specified, our system will make a best + * effort to sample deterministically, such that repeated requests with the same + * `seed` and parameters should return the same result. Determinism is not + * guaranteed, and you should refer to the `system_fingerprint` response parameter + * to monitor changes in the backend. + */ + seed?: number | null; + /** + * Specifies the processing type used for serving the request. + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When the `service_tier` parameter is set, the response body will include the + * `service_tier` value based on the processing mode actually used to serve the + * request. This response value may be different from the value set in the + * parameter. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * Not supported with latest reasoning models `o3` and `o4-mini`. + * + * Up to 4 sequences where the API will stop generating further tokens. The + * returned text will not contain the stop sequence. + */ + stop?: string | null | Array; + /** + * Whether or not to store the output of this chat completion request for use in + * our [model distillation](https://platform.openai.com/docs/guides/distillation) + * or [evals](https://platform.openai.com/docs/guides/evals) products. + * + * Supports text and image inputs. Note: image inputs over 8MB will be dropped. + */ + store?: boolean | null; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/chat/streaming) + * for more information, along with the + * [streaming responses](https://platform.openai.com/docs/guides/streaming-responses) + * guide for more information on how to handle the streaming events. + */ + stream?: boolean | null; + /** + * Options for streaming response. Only set this when you set `stream: true`. + */ + stream_options?: ChatCompletionStreamOptions | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. We generally recommend altering this or `top_p` but + * not both. + */ + temperature?: number | null; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tool and instead generates a message. `auto` means the model can + * pick between generating a message or calling one or more tools. `required` means + * the model must call one or more tools. Specifying a particular tool via + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + * + * `none` is the default when no tools are present. `auto` is the default if tools + * are present. + */ + tool_choice?: ChatCompletionToolChoiceOption; + /** + * A list of tools the model may call. You can provide either + * [custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools) + * or [function tools](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An integer between 0 and 20 specifying the number of most likely tokens to + * return at each token position, each with an associated log probability. + * `logprobs` must be set to `true` if this parameter is used. + */ + top_logprobs?: number | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or `temperature` but not both. + */ + top_p?: number | null; + /** + * @deprecated This field is being replaced by `safety_identifier` and + * `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching + * optimizations. A stable identifier for your end-users. Used to boost cache hit + * rates by better bucketing similar requests and to help OpenAI detect and prevent + * abuse. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + user?: string; + /** + * Constrains the verbosity of the model's response. Lower values will result in + * more concise responses, while higher values will result in more verbose + * responses. Currently supported values are `low`, `medium`, and `high`. + */ + verbosity?: 'low' | 'medium' | 'high' | null; + /** + * This tool searches the web for relevant results to use in a response. Learn more + * about the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat). + */ + web_search_options?: ChatCompletionCreateParams.WebSearchOptions; +} +export declare namespace ChatCompletionCreateParams { + /** + * @deprecated + */ + interface Function { + /** + * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain + * underscores and dashes, with a maximum length of 64. + */ + name: string; + /** + * A description of what the function does, used by the model to choose when and + * how to call the function. + */ + description?: string; + /** + * The parameters the functions accepts, described as a JSON Schema object. See the + * [guide](https://platform.openai.com/docs/guides/function-calling) for examples, + * and the + * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for + * documentation about the format. + * + * Omitting `parameters` defines a function with an empty parameter list. + */ + parameters?: Shared.FunctionParameters; + } + /** + * This tool searches the web for relevant results to use in a response. Learn more + * about the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat). + */ + interface WebSearchOptions { + /** + * High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + */ + search_context_size?: 'low' | 'medium' | 'high'; + /** + * Approximate location parameters for the search. + */ + user_location?: WebSearchOptions.UserLocation | null; + } + namespace WebSearchOptions { + /** + * Approximate location parameters for the search. + */ + interface UserLocation { + /** + * Approximate location parameters for the search. + */ + approximate: UserLocation.Approximate; + /** + * The type of location approximation. Always `approximate`. + */ + type: 'approximate'; + } + namespace UserLocation { + /** + * Approximate location parameters for the search. + */ + interface Approximate { + /** + * Free text input for the city of the user, e.g. `San Francisco`. + */ + city?: string; + /** + * The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of + * the user, e.g. `US`. + */ + country?: string; + /** + * Free text input for the region of the user, e.g. `California`. + */ + region?: string; + /** + * The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the + * user, e.g. `America/Los_Angeles`. + */ + timezone?: string; + } + } + } + type ChatCompletionCreateParamsNonStreaming = CompletionsCompletionsAPI.ChatCompletionCreateParamsNonStreaming; + type ChatCompletionCreateParamsStreaming = CompletionsCompletionsAPI.ChatCompletionCreateParamsStreaming; +} +export interface ChatCompletionCreateParamsNonStreaming extends ChatCompletionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/chat/streaming) + * for more information, along with the + * [streaming responses](https://platform.openai.com/docs/guides/streaming-responses) + * guide for more information on how to handle the streaming events. + */ + stream?: false | null; +} +export interface ChatCompletionCreateParamsStreaming extends ChatCompletionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/chat/streaming) + * for more information, along with the + * [streaming responses](https://platform.openai.com/docs/guides/streaming-responses) + * guide for more information on how to handle the streaming events. + */ + stream: true; +} +export interface ChatCompletionUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; +} +export interface ChatCompletionListParams extends CursorPageParams { + /** + * A list of metadata keys to filter the Chat Completions by. Example: + * + * `metadata[key1]=value1&metadata[key2]=value2` + */ + metadata?: Shared.Metadata | null; + /** + * The model used to generate the Chat Completions. + */ + model?: string; + /** + * Sort order for Chat Completions by timestamp. Use `asc` for ascending order or + * `desc` for descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Completions { + export { type ChatCompletion as ChatCompletion, type ChatCompletionAllowedToolChoice as ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam as ChatCompletionAssistantMessageParam, type ChatCompletionAudio as ChatCompletionAudio, type ChatCompletionAudioParam as ChatCompletionAudioParam, type ChatCompletionChunk as ChatCompletionChunk, type ChatCompletionContentPart as ChatCompletionContentPart, type ChatCompletionContentPartImage as ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio as ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal as ChatCompletionContentPartRefusal, type ChatCompletionContentPartText as ChatCompletionContentPartText, type ChatCompletionCustomTool as ChatCompletionCustomTool, type ChatCompletionDeleted as ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam as ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption as ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam as ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool as ChatCompletionFunctionTool, type ChatCompletionMessage as ChatCompletionMessage, type ChatCompletionMessageCustomToolCall as ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall as ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam as ChatCompletionMessageParam, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCall, type ChatCompletionModality as ChatCompletionModality, type ChatCompletionNamedToolChoice as ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom as ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent as ChatCompletionPredictionContent, type ChatCompletionRole as ChatCompletionRole, type ChatCompletionStoreMessage as ChatCompletionStoreMessage, type ChatCompletionStreamOptions as ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam as ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob as ChatCompletionTokenLogprob, type ChatCompletionTool as ChatCompletionTool, type ChatCompletionToolChoiceOption as ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam as ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam as ChatCompletionUserMessageParam, type ChatCompletionAllowedTools as ChatCompletionAllowedTools, type ChatCompletionReasoningEffort as ChatCompletionReasoningEffort, type ChatCompletionsPage as ChatCompletionsPage, type ChatCompletionCreateParams as ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming as ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming as ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams as ChatCompletionUpdateParams, type ChatCompletionListParams as ChatCompletionListParams, }; + export { Messages as Messages, type MessageListParams as MessageListParams }; +} +//# sourceMappingURL=completions.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..fbc95fab1315136a9990fe002e506515c40cf5f9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.d.mts","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KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CAC9E"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9b93c07ffa983f6d4c5547a62767ded764a7840c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.ts @@ -0,0 +1,1624 @@ +import { APIResource } from "../../../core/resource.js"; +import * as CompletionsCompletionsAPI from "./completions.js"; +import * as CompletionsAPI from "../../completions.js"; +import * as Shared from "../../shared.js"; +import * as MessagesAPI from "./messages.js"; +import { MessageListParams, Messages } from "./messages.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { Stream } from "../../../core/streaming.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +import { ChatCompletionRunner } from "../../../lib/ChatCompletionRunner.js"; +import { ChatCompletionStreamingRunner } from "../../../lib/ChatCompletionStreamingRunner.js"; +import { RunnerOptions } from "../../../lib/AbstractChatCompletionRunner.js"; +import { ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner.js"; +import { ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.js"; +import { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream.js"; +import { ExtractParsedContentFromParams } from "../../../lib/parser.js"; +export declare class Completions extends APIResource { + messages: MessagesAPI.Messages; + /** + * **Starting a new project?** We recommend trying + * [Responses](https://platform.openai.com/docs/api-reference/responses) to take + * advantage of the latest OpenAI platform features. Compare + * [Chat Completions with Responses](https://platform.openai.com/docs/guides/responses-vs-chat-completions?api-mode=responses). + * + * --- + * + * Creates a model response for the given chat conversation. Learn more in the + * [text generation](https://platform.openai.com/docs/guides/text-generation), + * [vision](https://platform.openai.com/docs/guides/vision), and + * [audio](https://platform.openai.com/docs/guides/audio) guides. + * + * Parameter support can differ depending on the model used to generate the + * response, particularly for newer reasoning models. Parameters that are only + * supported for reasoning models are noted below. For the current state of + * unsupported parameters in reasoning models, + * [refer to the reasoning guide](https://platform.openai.com/docs/guides/reasoning). + * + * @example + * ```ts + * const chatCompletion = await client.chat.completions.create( + * { + * messages: [{ content: 'string', role: 'developer' }], + * model: 'gpt-4o', + * }, + * ); + * ``` + */ + create(body: ChatCompletionCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(body: ChatCompletionCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(body: ChatCompletionCreateParamsBase, options?: RequestOptions): APIPromise | ChatCompletion>; + /** + * Get a stored chat completion. Only Chat Completions that have been created with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * const chatCompletion = + * await client.chat.completions.retrieve('completion_id'); + * ``` + */ + retrieve(completionID: string, options?: RequestOptions): APIPromise; + /** + * Modify a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be modified. Currently, the only + * supported modification is to update the `metadata` field. + * + * @example + * ```ts + * const chatCompletion = await client.chat.completions.update( + * 'completion_id', + * { metadata: { foo: 'string' } }, + * ); + * ``` + */ + update(completionID: string, body: ChatCompletionUpdateParams, options?: RequestOptions): APIPromise; + /** + * List stored Chat Completions. Only Chat Completions that have been stored with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletion of client.chat.completions.list()) { + * // ... + * } + * ``` + */ + list(query?: ChatCompletionListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be deleted. + * + * @example + * ```ts + * const chatCompletionDeleted = + * await client.chat.completions.delete('completion_id'); + * ``` + */ + delete(completionID: string, options?: RequestOptions): APIPromise; + parse>(body: Params, options?: RequestOptions): APIPromise>; + /** + * A convenience helper for using tool calls with the /chat/completions endpoint + * which automatically calls the JavaScript functions you provide and sends their + * results back to the /chat/completions endpoint, looping as long as the model + * requests function calls. + * + * For more details and examples, see + * [the docs](https://github.com/openai/openai-node#automated-function-calls) + */ + runTools, ParsedT = ExtractParsedContentFromParams>(body: Params, options?: RunnerOptions): ChatCompletionRunner; + runTools, ParsedT = ExtractParsedContentFromParams>(body: Params, options?: RunnerOptions): ChatCompletionStreamingRunner; + /** + * Creates a chat completion stream + */ + stream>(body: Params, options?: RequestOptions): ChatCompletionStream; +} +export interface ParsedFunction extends ChatCompletionMessageFunctionToolCall.Function { + parsed_arguments?: unknown; +} +export interface ParsedFunctionToolCall extends ChatCompletionMessageFunctionToolCall { + function: ParsedFunction; +} +export interface ParsedChatCompletionMessage extends ChatCompletionMessage { + parsed: ParsedT | null; + tool_calls?: Array; +} +export interface ParsedChoice extends ChatCompletion.Choice { + message: ParsedChatCompletionMessage; +} +export interface ParsedChatCompletion extends ChatCompletion { + choices: Array>; +} +export type ChatCompletionParseParams = ChatCompletionCreateParamsNonStreaming; +export { ChatCompletionStreamingRunner } from "../../../lib/ChatCompletionStreamingRunner.js"; +export { type RunnableFunctionWithParse, type RunnableFunctionWithoutParse, ParsingToolFunction, } from "../../../lib/RunnableFunction.js"; +export { type ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner.js"; +export { type ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.js"; +export { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream.js"; +export { ChatCompletionRunner } from "../../../lib/ChatCompletionRunner.js"; +export type ChatCompletionsPage = CursorPage; +export type ChatCompletionStoreMessagesPage = CursorPage; +/** + * Represents a chat completion response returned by model, based on the provided + * input. + */ +export interface ChatCompletion { + /** + * A unique identifier for the chat completion. + */ + id: string; + /** + * A list of chat completion choices. Can be more than one if `n` is greater + * than 1. + */ + choices: Array; + /** + * The Unix timestamp (in seconds) of when the chat completion was created. + */ + created: number; + /** + * The model used for the chat completion. + */ + model: string; + /** + * The object type, which is always `chat.completion`. + */ + object: 'chat.completion'; + /** + * Specifies the processing type used for serving the request. + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When the `service_tier` parameter is set, the response body will include the + * `service_tier` value based on the processing mode actually used to serve the + * request. This response value may be different from the value set in the + * parameter. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * @deprecated This fingerprint represents the backend configuration that the model + * runs with. + * + * Can be used in conjunction with the `seed` request parameter to understand when + * backend changes have been made that might impact determinism. + */ + system_fingerprint?: string; + /** + * Usage statistics for the completion request. + */ + usage?: CompletionsAPI.CompletionUsage; +} +export declare namespace ChatCompletion { + interface Choice { + /** + * The reason the model stopped generating tokens. This will be `stop` if the model + * hit a natural stop point or a provided stop sequence, `length` if the maximum + * number of tokens specified in the request was reached, `content_filter` if + * content was omitted due to a flag from our content filters, `tool_calls` if the + * model called a tool, or `function_call` (deprecated) if the model called a + * function. + */ + finish_reason: 'stop' | 'length' | 'tool_calls' | 'content_filter' | 'function_call'; + /** + * The index of the choice in the list of choices. + */ + index: number; + /** + * Log probability information for the choice. + */ + logprobs: Choice.Logprobs | null; + /** + * A chat completion message generated by the model. + */ + message: CompletionsCompletionsAPI.ChatCompletionMessage; + } + namespace Choice { + /** + * Log probability information for the choice. + */ + interface Logprobs { + /** + * A list of message content tokens with log probability information. + */ + content: Array | null; + /** + * A list of message refusal tokens with log probability information. + */ + refusal: Array | null; + } + } +} +/** + * Constrains the tools available to the model to a pre-defined set. + */ +export interface ChatCompletionAllowedToolChoice { + /** + * Constrains the tools available to the model to a pre-defined set. + */ + allowed_tools: ChatCompletionAllowedTools; + /** + * Allowed tool configuration type. Always `allowed_tools`. + */ + type: 'allowed_tools'; +} +/** + * Messages sent by the model in response to user messages. + */ +export interface ChatCompletionAssistantMessageParam { + /** + * The role of the messages author, in this case `assistant`. + */ + role: 'assistant'; + /** + * Data about a previous audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + audio?: ChatCompletionAssistantMessageParam.Audio | null; + /** + * The contents of the assistant message. Required unless `tool_calls` or + * `function_call` is specified. + */ + content?: string | Array | null; + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + function_call?: ChatCompletionAssistantMessageParam.FunctionCall | null; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; + /** + * The refusal message by the assistant. + */ + refusal?: string | null; + /** + * The tool calls generated by the model, such as function calls. + */ + tool_calls?: Array; +} +export declare namespace ChatCompletionAssistantMessageParam { + /** + * Data about a previous audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + interface Audio { + /** + * Unique identifier for a previous audio response from the model. + */ + id: string; + } + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + interface FunctionCall { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments: string; + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * If the audio output modality is requested, this object contains data about the + * audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ +export interface ChatCompletionAudio { + /** + * Unique identifier for this audio response. + */ + id: string; + /** + * Base64 encoded audio bytes generated by the model, in the format specified in + * the request. + */ + data: string; + /** + * The Unix timestamp (in seconds) for when this audio response will no longer be + * accessible on the server for use in multi-turn conversations. + */ + expires_at: number; + /** + * Transcript of the audio generated by the model. + */ + transcript: string; +} +/** + * Parameters for audio output. Required when audio output is requested with + * `modalities: ["audio"]`. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ +export interface ChatCompletionAudioParam { + /** + * Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`, `opus`, + * or `pcm16`. + */ + format: 'wav' | 'aac' | 'mp3' | 'flac' | 'opus' | 'pcm16'; + /** + * The voice the model uses to respond. Supported voices are `alloy`, `ash`, + * `ballad`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, and `shimmer`. + */ + voice: (string & {}) | 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse'; +} +/** + * Represents a streamed chunk of a chat completion response returned by the model, + * based on the provided input. + * [Learn more](https://platform.openai.com/docs/guides/streaming-responses). + */ +export interface ChatCompletionChunk { + /** + * A unique identifier for the chat completion. Each chunk has the same ID. + */ + id: string; + /** + * A list of chat completion choices. Can contain more than one elements if `n` is + * greater than 1. Can also be empty for the last chunk if you set + * `stream_options: {"include_usage": true}`. + */ + choices: Array; + /** + * The Unix timestamp (in seconds) of when the chat completion was created. Each + * chunk has the same timestamp. + */ + created: number; + /** + * The model to generate the completion. + */ + model: string; + /** + * The object type, which is always `chat.completion.chunk`. + */ + object: 'chat.completion.chunk'; + /** + * Specifies the processing type used for serving the request. + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When the `service_tier` parameter is set, the response body will include the + * `service_tier` value based on the processing mode actually used to serve the + * request. This response value may be different from the value set in the + * parameter. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * @deprecated This fingerprint represents the backend configuration that the model + * runs with. Can be used in conjunction with the `seed` request parameter to + * understand when backend changes have been made that might impact determinism. + */ + system_fingerprint?: string; + /** + * An optional field that will only be present when you set + * `stream_options: {"include_usage": true}` in your request. When present, it + * contains a null value **except for the last chunk** which contains the token + * usage statistics for the entire request. + * + * **NOTE:** If the stream is interrupted or cancelled, you may not receive the + * final usage chunk which contains the total token usage for the request. + */ + usage?: CompletionsAPI.CompletionUsage | null; +} +export declare namespace ChatCompletionChunk { + interface Choice { + /** + * A chat completion delta generated by streamed model responses. + */ + delta: Choice.Delta; + /** + * The reason the model stopped generating tokens. This will be `stop` if the model + * hit a natural stop point or a provided stop sequence, `length` if the maximum + * number of tokens specified in the request was reached, `content_filter` if + * content was omitted due to a flag from our content filters, `tool_calls` if the + * model called a tool, or `function_call` (deprecated) if the model called a + * function. + */ + finish_reason: 'stop' | 'length' | 'tool_calls' | 'content_filter' | 'function_call' | null; + /** + * The index of the choice in the list of choices. + */ + index: number; + /** + * Log probability information for the choice. + */ + logprobs?: Choice.Logprobs | null; + } + namespace Choice { + /** + * A chat completion delta generated by streamed model responses. + */ + interface Delta { + /** + * The contents of the chunk message. + */ + content?: string | null; + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + function_call?: Delta.FunctionCall; + /** + * The refusal message generated by the model. + */ + refusal?: string | null; + /** + * The role of the author of this message. + */ + role?: 'developer' | 'system' | 'user' | 'assistant' | 'tool'; + tool_calls?: Array; + } + namespace Delta { + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + interface FunctionCall { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments?: string; + /** + * The name of the function to call. + */ + name?: string; + } + interface ToolCall { + index: number; + /** + * The ID of the tool call. + */ + id?: string; + function?: ToolCall.Function; + /** + * The type of the tool. Currently, only `function` is supported. + */ + type?: 'function'; + } + namespace ToolCall { + interface Function { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments?: string; + /** + * The name of the function to call. + */ + name?: string; + } + } + } + /** + * Log probability information for the choice. + */ + interface Logprobs { + /** + * A list of message content tokens with log probability information. + */ + content: Array | null; + /** + * A list of message refusal tokens with log probability information. + */ + refusal: Array | null; + } + } +} +/** + * Learn about + * [text inputs](https://platform.openai.com/docs/guides/text-generation). + */ +export type ChatCompletionContentPart = ChatCompletionContentPartText | ChatCompletionContentPartImage | ChatCompletionContentPartInputAudio | ChatCompletionContentPart.File; +export declare namespace ChatCompletionContentPart { + /** + * Learn about [file inputs](https://platform.openai.com/docs/guides/text) for text + * generation. + */ + interface File { + file: File.File; + /** + * The type of the content part. Always `file`. + */ + type: 'file'; + } + namespace File { + interface File { + /** + * The base64 encoded file data, used when passing the file to the model as a + * string. + */ + file_data?: string; + /** + * The ID of an uploaded file to use as input. + */ + file_id?: string; + /** + * The name of the file, used when passing the file to the model as a string. + */ + filename?: string; + } + } +} +/** + * Learn about [image inputs](https://platform.openai.com/docs/guides/vision). + */ +export interface ChatCompletionContentPartImage { + image_url: ChatCompletionContentPartImage.ImageURL; + /** + * The type of the content part. + */ + type: 'image_url'; +} +export declare namespace ChatCompletionContentPartImage { + interface ImageURL { + /** + * Either a URL of the image or the base64 encoded image data. + */ + url: string; + /** + * Specifies the detail level of the image. Learn more in the + * [Vision guide](https://platform.openai.com/docs/guides/vision#low-or-high-fidelity-image-understanding). + */ + detail?: 'auto' | 'low' | 'high'; + } +} +/** + * Learn about [audio inputs](https://platform.openai.com/docs/guides/audio). + */ +export interface ChatCompletionContentPartInputAudio { + input_audio: ChatCompletionContentPartInputAudio.InputAudio; + /** + * The type of the content part. Always `input_audio`. + */ + type: 'input_audio'; +} +export declare namespace ChatCompletionContentPartInputAudio { + interface InputAudio { + /** + * Base64 encoded audio data. + */ + data: string; + /** + * The format of the encoded audio data. Currently supports "wav" and "mp3". + */ + format: 'wav' | 'mp3'; + } +} +export interface ChatCompletionContentPartRefusal { + /** + * The refusal message generated by the model. + */ + refusal: string; + /** + * The type of the content part. + */ + type: 'refusal'; +} +/** + * Learn about + * [text inputs](https://platform.openai.com/docs/guides/text-generation). + */ +export interface ChatCompletionContentPartText { + /** + * The text content. + */ + text: string; + /** + * The type of the content part. + */ + type: 'text'; +} +/** + * A custom tool that processes input using a specified format. + */ +export interface ChatCompletionCustomTool { + /** + * Properties of the custom tool. + */ + custom: ChatCompletionCustomTool.Custom; + /** + * The type of the custom tool. Always `custom`. + */ + type: 'custom'; +} +export declare namespace ChatCompletionCustomTool { + /** + * Properties of the custom tool. + */ + interface Custom { + /** + * The name of the custom tool, used to identify it in tool calls. + */ + name: string; + /** + * Optional description of the custom tool, used to provide more context. + */ + description?: string; + /** + * The input format for the custom tool. Default is unconstrained text. + */ + format?: Custom.Text | Custom.Grammar; + } + namespace Custom { + /** + * Unconstrained free-form text. + */ + interface Text { + /** + * Unconstrained text format. Always `text`. + */ + type: 'text'; + } + /** + * A grammar defined by the user. + */ + interface Grammar { + /** + * Your chosen grammar. + */ + grammar: Grammar.Grammar; + /** + * Grammar format. Always `grammar`. + */ + type: 'grammar'; + } + namespace Grammar { + /** + * Your chosen grammar. + */ + interface Grammar { + /** + * The grammar definition. + */ + definition: string; + /** + * The syntax of the grammar definition. One of `lark` or `regex`. + */ + syntax: 'lark' | 'regex'; + } + } + } +} +export interface ChatCompletionDeleted { + /** + * The ID of the chat completion that was deleted. + */ + id: string; + /** + * Whether the chat completion was deleted. + */ + deleted: boolean; + /** + * The type of object being deleted. + */ + object: 'chat.completion.deleted'; +} +/** + * Developer-provided instructions that the model should follow, regardless of + * messages sent by the user. With o1 models and newer, `developer` messages + * replace the previous `system` messages. + */ +export interface ChatCompletionDeveloperMessageParam { + /** + * The contents of the developer message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `developer`. + */ + role: 'developer'; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; +} +/** + * Specifying a particular function via `{"name": "my_function"}` forces the model + * to call that function. + */ +export interface ChatCompletionFunctionCallOption { + /** + * The name of the function to call. + */ + name: string; +} +/** + * @deprecated + */ +export interface ChatCompletionFunctionMessageParam { + /** + * The contents of the function message. + */ + content: string | null; + /** + * The name of the function to call. + */ + name: string; + /** + * The role of the messages author, in this case `function`. + */ + role: 'function'; +} +/** + * A function tool that can be used to generate a response. + */ +export interface ChatCompletionFunctionTool { + function: Shared.FunctionDefinition; + /** + * The type of the tool. Currently, only `function` is supported. + */ + type: 'function'; +} +/** + * A chat completion message generated by the model. + */ +export interface ChatCompletionMessage { + /** + * The contents of the message. + */ + content: string | null; + /** + * The refusal message generated by the model. + */ + refusal: string | null; + /** + * The role of the author of this message. + */ + role: 'assistant'; + /** + * Annotations for the message, when applicable, as when using the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat). + */ + annotations?: Array; + /** + * If the audio output modality is requested, this object contains data about the + * audio response from the model. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + audio?: ChatCompletionAudio | null; + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + function_call?: ChatCompletionMessage.FunctionCall | null; + /** + * The tool calls generated by the model, such as function calls. + */ + tool_calls?: Array; +} +export declare namespace ChatCompletionMessage { + /** + * A URL citation when using web search. + */ + interface Annotation { + /** + * The type of the URL citation. Always `url_citation`. + */ + type: 'url_citation'; + /** + * A URL citation when using web search. + */ + url_citation: Annotation.URLCitation; + } + namespace Annotation { + /** + * A URL citation when using web search. + */ + interface URLCitation { + /** + * The index of the last character of the URL citation in the message. + */ + end_index: number; + /** + * The index of the first character of the URL citation in the message. + */ + start_index: number; + /** + * The title of the web resource. + */ + title: string; + /** + * The URL of the web resource. + */ + url: string; + } + } + /** + * @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a + * function that should be called, as generated by the model. + */ + interface FunctionCall { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments: string; + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * A call to a custom tool created by the model. + */ +export interface ChatCompletionMessageCustomToolCall { + /** + * The ID of the tool call. + */ + id: string; + /** + * The custom tool that the model called. + */ + custom: ChatCompletionMessageCustomToolCall.Custom; + /** + * The type of the tool. Always `custom`. + */ + type: 'custom'; +} +export declare namespace ChatCompletionMessageCustomToolCall { + /** + * The custom tool that the model called. + */ + interface Custom { + /** + * The input for the custom tool call generated by the model. + */ + input: string; + /** + * The name of the custom tool to call. + */ + name: string; + } +} +/** + * A call to a function tool created by the model. + */ +export interface ChatCompletionMessageFunctionToolCall { + /** + * The ID of the tool call. + */ + id: string; + /** + * The function that the model called. + */ + function: ChatCompletionMessageFunctionToolCall.Function; + /** + * The type of the tool. Currently, only `function` is supported. + */ + type: 'function'; +} +export declare namespace ChatCompletionMessageFunctionToolCall { + /** + * The function that the model called. + */ + interface Function { + /** + * The arguments to call the function with, as generated by the model in JSON + * format. Note that the model does not always generate valid JSON, and may + * hallucinate parameters not defined by your function schema. Validate the + * arguments in your code before calling your function. + */ + arguments: string; + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * Developer-provided instructions that the model should follow, regardless of + * messages sent by the user. With o1 models and newer, `developer` messages + * replace the previous `system` messages. + */ +export type ChatCompletionMessageParam = ChatCompletionDeveloperMessageParam | ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam; +/** + * A call to a function tool created by the model. + */ +export type ChatCompletionMessageToolCall = ChatCompletionMessageFunctionToolCall | ChatCompletionMessageCustomToolCall; +export type ChatCompletionModality = 'text' | 'audio'; +/** + * Specifies a tool the model should use. Use to force the model to call a specific + * function. + */ +export interface ChatCompletionNamedToolChoice { + function: ChatCompletionNamedToolChoice.Function; + /** + * For function calling, the type is always `function`. + */ + type: 'function'; +} +export declare namespace ChatCompletionNamedToolChoice { + interface Function { + /** + * The name of the function to call. + */ + name: string; + } +} +/** + * Specifies a tool the model should use. Use to force the model to call a specific + * custom tool. + */ +export interface ChatCompletionNamedToolChoiceCustom { + custom: ChatCompletionNamedToolChoiceCustom.Custom; + /** + * For custom tool calling, the type is always `custom`. + */ + type: 'custom'; +} +export declare namespace ChatCompletionNamedToolChoiceCustom { + interface Custom { + /** + * The name of the custom tool to call. + */ + name: string; + } +} +/** + * Static predicted output content, such as the content of a text file that is + * being regenerated. + */ +export interface ChatCompletionPredictionContent { + /** + * The content that should be matched when generating a model response. If + * generated tokens would match this content, the entire model response can be + * returned much more quickly. + */ + content: string | Array; + /** + * The type of the predicted content you want to provide. This type is currently + * always `content`. + */ + type: 'content'; +} +/** + * The role of the author of a message + */ +export type ChatCompletionRole = 'developer' | 'system' | 'user' | 'assistant' | 'tool' | 'function'; +/** + * A chat completion message generated by the model. + */ +export interface ChatCompletionStoreMessage extends ChatCompletionMessage { + /** + * The identifier of the chat message. + */ + id: string; + /** + * If a content parts array was provided, this is an array of `text` and + * `image_url` parts. Otherwise, null. + */ + content_parts?: Array | null; +} +/** + * Options for streaming response. Only set this when you set `stream: true`. + */ +export interface ChatCompletionStreamOptions { + /** + * When true, stream obfuscation will be enabled. Stream obfuscation adds random + * characters to an `obfuscation` field on streaming delta events to normalize + * payload sizes as a mitigation to certain side-channel attacks. These obfuscation + * fields are included by default, but add a small amount of overhead to the data + * stream. You can set `include_obfuscation` to false to optimize for bandwidth if + * you trust the network links between your application and the OpenAI API. + */ + include_obfuscation?: boolean; + /** + * If set, an additional chunk will be streamed before the `data: [DONE]` message. + * The `usage` field on this chunk shows the token usage statistics for the entire + * request, and the `choices` field will always be an empty array. + * + * All other chunks will also include a `usage` field, but with a null value. + * **NOTE:** If the stream is interrupted, you may not receive the final usage + * chunk which contains the total token usage for the request. + */ + include_usage?: boolean; +} +/** + * Developer-provided instructions that the model should follow, regardless of + * messages sent by the user. With o1 models and newer, use `developer` messages + * for this purpose instead. + */ +export interface ChatCompletionSystemMessageParam { + /** + * The contents of the system message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `system`. + */ + role: 'system'; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; +} +export interface ChatCompletionTokenLogprob { + /** + * The token. + */ + token: string; + /** + * A list of integers representing the UTF-8 bytes representation of the token. + * Useful in instances where characters are represented by multiple tokens and + * their byte representations must be combined to generate the correct text + * representation. Can be `null` if there is no bytes representation for the token. + */ + bytes: Array | null; + /** + * The log probability of this token, if it is within the top 20 most likely + * tokens. Otherwise, the value `-9999.0` is used to signify that the token is very + * unlikely. + */ + logprob: number; + /** + * List of the most likely tokens and their log probability, at this token + * position. In rare cases, there may be fewer than the number of requested + * `top_logprobs` returned. + */ + top_logprobs: Array; +} +export declare namespace ChatCompletionTokenLogprob { + interface TopLogprob { + /** + * The token. + */ + token: string; + /** + * A list of integers representing the UTF-8 bytes representation of the token. + * Useful in instances where characters are represented by multiple tokens and + * their byte representations must be combined to generate the correct text + * representation. Can be `null` if there is no bytes representation for the token. + */ + bytes: Array | null; + /** + * The log probability of this token, if it is within the top 20 most likely + * tokens. Otherwise, the value `-9999.0` is used to signify that the token is very + * unlikely. + */ + logprob: number; + } +} +/** + * A function tool that can be used to generate a response. + */ +export type ChatCompletionTool = ChatCompletionFunctionTool | ChatCompletionCustomTool; +/** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tool and instead generates a message. `auto` means the model can + * pick between generating a message or calling one or more tools. `required` means + * the model must call one or more tools. Specifying a particular tool via + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + * + * `none` is the default when no tools are present. `auto` is the default if tools + * are present. + */ +export type ChatCompletionToolChoiceOption = 'none' | 'auto' | 'required' | ChatCompletionAllowedToolChoice | ChatCompletionNamedToolChoice | ChatCompletionNamedToolChoiceCustom; +export interface ChatCompletionToolMessageParam { + /** + * The contents of the tool message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `tool`. + */ + role: 'tool'; + /** + * Tool call that this message is responding to. + */ + tool_call_id: string; +} +/** + * Messages sent by an end user, containing prompts or additional context + * information. + */ +export interface ChatCompletionUserMessageParam { + /** + * The contents of the user message. + */ + content: string | Array; + /** + * The role of the messages author, in this case `user`. + */ + role: 'user'; + /** + * An optional name for the participant. Provides the model information to + * differentiate between participants of the same role. + */ + name?: string; +} +/** + * Constrains the tools available to the model to a pre-defined set. + */ +export interface ChatCompletionAllowedTools { + /** + * Constrains the tools available to the model to a pre-defined set. + * + * `auto` allows the model to pick from among the allowed tools and generate a + * message. + * + * `required` requires the model to call one or more of the allowed tools. + */ + mode: 'auto' | 'required'; + /** + * A list of tool definitions that the model should be allowed to call. + * + * For the Chat Completions API, the list of tool definitions might look like: + * + * ```json + * [ + * { "type": "function", "function": { "name": "get_weather" } }, + * { "type": "function", "function": { "name": "get_time" } } + * ] + * ``` + */ + tools: Array<{ + [key: string]: unknown; + }>; +} +export type ChatCompletionReasoningEffort = Shared.ReasoningEffort | null; +export type ChatCompletionCreateParams = ChatCompletionCreateParamsNonStreaming | ChatCompletionCreateParamsStreaming; +export interface ChatCompletionCreateParamsBase { + /** + * A list of messages comprising the conversation so far. Depending on the + * [model](https://platform.openai.com/docs/models) you use, different message + * types (modalities) are supported, like + * [text](https://platform.openai.com/docs/guides/text-generation), + * [images](https://platform.openai.com/docs/guides/vision), and + * [audio](https://platform.openai.com/docs/guides/audio). + */ + messages: Array; + /** + * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a + * wide range of models with different capabilities, performance characteristics, + * and price points. Refer to the + * [model guide](https://platform.openai.com/docs/models) to browse and compare + * available models. + */ + model: (string & {}) | Shared.ChatModel; + /** + * Parameters for audio output. Required when audio output is requested with + * `modalities: ["audio"]`. + * [Learn more](https://platform.openai.com/docs/guides/audio). + */ + audio?: ChatCompletionAudioParam | null; + /** + * Number between -2.0 and 2.0. Positive values penalize new tokens based on their + * existing frequency in the text so far, decreasing the model's likelihood to + * repeat the same line verbatim. + */ + frequency_penalty?: number | null; + /** + * @deprecated Deprecated in favor of `tool_choice`. + * + * Controls which (if any) function is called by the model. + * + * `none` means the model will not call a function and instead generates a message. + * + * `auto` means the model can pick between generating a message or calling a + * function. + * + * Specifying a particular function via `{"name": "my_function"}` forces the model + * to call that function. + * + * `none` is the default when no functions are present. `auto` is the default if + * functions are present. + */ + function_call?: 'none' | 'auto' | ChatCompletionFunctionCallOption; + /** + * @deprecated Deprecated in favor of `tools`. + * + * A list of functions the model may generate JSON inputs for. + */ + functions?: Array; + /** + * Modify the likelihood of specified tokens appearing in the completion. + * + * Accepts a JSON object that maps tokens (specified by their token ID in the + * tokenizer) to an associated bias value from -100 to 100. Mathematically, the + * bias is added to the logits generated by the model prior to sampling. The exact + * effect will vary per model, but values between -1 and 1 should decrease or + * increase likelihood of selection; values like -100 or 100 should result in a ban + * or exclusive selection of the relevant token. + */ + logit_bias?: { + [key: string]: number; + } | null; + /** + * Whether to return log probabilities of the output tokens or not. If true, + * returns the log probabilities of each output token returned in the `content` of + * `message`. + */ + logprobs?: boolean | null; + /** + * An upper bound for the number of tokens that can be generated for a completion, + * including visible output tokens and + * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning). + */ + max_completion_tokens?: number | null; + /** + * @deprecated The maximum number of [tokens](/tokenizer) that can be generated in + * the chat completion. This value can be used to control + * [costs](https://openai.com/api/pricing/) for text generated via API. + * + * This value is now deprecated in favor of `max_completion_tokens`, and is not + * compatible with + * [o-series models](https://platform.openai.com/docs/guides/reasoning). + */ + max_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Output types that you would like the model to generate. Most models are capable + * of generating text, which is the default: + * + * `["text"]` + * + * The `gpt-4o-audio-preview` model can also be used to + * [generate audio](https://platform.openai.com/docs/guides/audio). To request that + * this model generate both text and audio responses, you can use: + * + * `["text", "audio"]` + */ + modalities?: Array<'text' | 'audio'> | null; + /** + * How many chat completion choices to generate for each input message. Note that + * you will be charged based on the number of generated tokens across all of the + * choices. Keep `n` as `1` to minimize costs. + */ + n?: number | null; + /** + * Whether to enable + * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) + * during tool use. + */ + parallel_tool_calls?: boolean; + /** + * Static predicted output content, such as the content of a text file that is + * being regenerated. + */ + prediction?: ChatCompletionPredictionContent | null; + /** + * Number between -2.0 and 2.0. Positive values penalize new tokens based on + * whether they appear in the text so far, increasing the model's likelihood to + * talk about new topics. + */ + presence_penalty?: number | null; + /** + * Used by OpenAI to cache responses for similar requests to optimize your cache + * hit rates. Replaces the `user` field. + * [Learn more](https://platform.openai.com/docs/guides/prompt-caching). + */ + prompt_cache_key?: string; + /** + * Constrains effort on reasoning for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently + * supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning + * effort can result in faster responses and fewer tokens used on reasoning in a + * response. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * An object specifying the format that the model must output. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + response_format?: Shared.ResponseFormatText | Shared.ResponseFormatJSONSchema | Shared.ResponseFormatJSONObject; + /** + * A stable identifier used to help detect users of your application that may be + * violating OpenAI's usage policies. The IDs should be a string that uniquely + * identifies each user. We recommend hashing their username or email address, in + * order to avoid sending us any identifying information. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + safety_identifier?: string; + /** + * @deprecated This feature is in Beta. If specified, our system will make a best + * effort to sample deterministically, such that repeated requests with the same + * `seed` and parameters should return the same result. Determinism is not + * guaranteed, and you should refer to the `system_fingerprint` response parameter + * to monitor changes in the backend. + */ + seed?: number | null; + /** + * Specifies the processing type used for serving the request. + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When the `service_tier` parameter is set, the response body will include the + * `service_tier` value based on the processing mode actually used to serve the + * request. This response value may be different from the value set in the + * parameter. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * Not supported with latest reasoning models `o3` and `o4-mini`. + * + * Up to 4 sequences where the API will stop generating further tokens. The + * returned text will not contain the stop sequence. + */ + stop?: string | null | Array; + /** + * Whether or not to store the output of this chat completion request for use in + * our [model distillation](https://platform.openai.com/docs/guides/distillation) + * or [evals](https://platform.openai.com/docs/guides/evals) products. + * + * Supports text and image inputs. Note: image inputs over 8MB will be dropped. + */ + store?: boolean | null; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/chat/streaming) + * for more information, along with the + * [streaming responses](https://platform.openai.com/docs/guides/streaming-responses) + * guide for more information on how to handle the streaming events. + */ + stream?: boolean | null; + /** + * Options for streaming response. Only set this when you set `stream: true`. + */ + stream_options?: ChatCompletionStreamOptions | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. We generally recommend altering this or `top_p` but + * not both. + */ + temperature?: number | null; + /** + * Controls which (if any) tool is called by the model. `none` means the model will + * not call any tool and instead generates a message. `auto` means the model can + * pick between generating a message or calling one or more tools. `required` means + * the model must call one or more tools. Specifying a particular tool via + * `{"type": "function", "function": {"name": "my_function"}}` forces the model to + * call that tool. + * + * `none` is the default when no tools are present. `auto` is the default if tools + * are present. + */ + tool_choice?: ChatCompletionToolChoiceOption; + /** + * A list of tools the model may call. You can provide either + * [custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools) + * or [function tools](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An integer between 0 and 20 specifying the number of most likely tokens to + * return at each token position, each with an associated log probability. + * `logprobs` must be set to `true` if this parameter is used. + */ + top_logprobs?: number | null; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or `temperature` but not both. + */ + top_p?: number | null; + /** + * @deprecated This field is being replaced by `safety_identifier` and + * `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching + * optimizations. A stable identifier for your end-users. Used to boost cache hit + * rates by better bucketing similar requests and to help OpenAI detect and prevent + * abuse. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + user?: string; + /** + * Constrains the verbosity of the model's response. Lower values will result in + * more concise responses, while higher values will result in more verbose + * responses. Currently supported values are `low`, `medium`, and `high`. + */ + verbosity?: 'low' | 'medium' | 'high' | null; + /** + * This tool searches the web for relevant results to use in a response. Learn more + * about the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat). + */ + web_search_options?: ChatCompletionCreateParams.WebSearchOptions; +} +export declare namespace ChatCompletionCreateParams { + /** + * @deprecated + */ + interface Function { + /** + * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain + * underscores and dashes, with a maximum length of 64. + */ + name: string; + /** + * A description of what the function does, used by the model to choose when and + * how to call the function. + */ + description?: string; + /** + * The parameters the functions accepts, described as a JSON Schema object. See the + * [guide](https://platform.openai.com/docs/guides/function-calling) for examples, + * and the + * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for + * documentation about the format. + * + * Omitting `parameters` defines a function with an empty parameter list. + */ + parameters?: Shared.FunctionParameters; + } + /** + * This tool searches the web for relevant results to use in a response. Learn more + * about the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat). + */ + interface WebSearchOptions { + /** + * High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + */ + search_context_size?: 'low' | 'medium' | 'high'; + /** + * Approximate location parameters for the search. + */ + user_location?: WebSearchOptions.UserLocation | null; + } + namespace WebSearchOptions { + /** + * Approximate location parameters for the search. + */ + interface UserLocation { + /** + * Approximate location parameters for the search. + */ + approximate: UserLocation.Approximate; + /** + * The type of location approximation. Always `approximate`. + */ + type: 'approximate'; + } + namespace UserLocation { + /** + * Approximate location parameters for the search. + */ + interface Approximate { + /** + * Free text input for the city of the user, e.g. `San Francisco`. + */ + city?: string; + /** + * The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of + * the user, e.g. `US`. + */ + country?: string; + /** + * Free text input for the region of the user, e.g. `California`. + */ + region?: string; + /** + * The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the + * user, e.g. `America/Los_Angeles`. + */ + timezone?: string; + } + } + } + type ChatCompletionCreateParamsNonStreaming = CompletionsCompletionsAPI.ChatCompletionCreateParamsNonStreaming; + type ChatCompletionCreateParamsStreaming = CompletionsCompletionsAPI.ChatCompletionCreateParamsStreaming; +} +export interface ChatCompletionCreateParamsNonStreaming extends ChatCompletionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/chat/streaming) + * for more information, along with the + * [streaming responses](https://platform.openai.com/docs/guides/streaming-responses) + * guide for more information on how to handle the streaming events. + */ + stream?: false | null; +} +export interface ChatCompletionCreateParamsStreaming extends ChatCompletionCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/chat/streaming) + * for more information, along with the + * [streaming responses](https://platform.openai.com/docs/guides/streaming-responses) + * guide for more information on how to handle the streaming events. + */ + stream: true; +} +export interface ChatCompletionUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; +} +export interface ChatCompletionListParams extends CursorPageParams { + /** + * A list of metadata keys to filter the Chat Completions by. Example: + * + * `metadata[key1]=value1&metadata[key2]=value2` + */ + metadata?: Shared.Metadata | null; + /** + * The model used to generate the Chat Completions. + */ + model?: string; + /** + * Sort order for Chat Completions by timestamp. Use `asc` for ascending order or + * `desc` for descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Completions { + export { type ChatCompletion as ChatCompletion, type ChatCompletionAllowedToolChoice as ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam as ChatCompletionAssistantMessageParam, type ChatCompletionAudio as ChatCompletionAudio, type ChatCompletionAudioParam as ChatCompletionAudioParam, type ChatCompletionChunk as ChatCompletionChunk, type ChatCompletionContentPart as ChatCompletionContentPart, type ChatCompletionContentPartImage as ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio as ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal as ChatCompletionContentPartRefusal, type ChatCompletionContentPartText as ChatCompletionContentPartText, type ChatCompletionCustomTool as ChatCompletionCustomTool, type ChatCompletionDeleted as ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam as ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption as ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam as ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool as ChatCompletionFunctionTool, type ChatCompletionMessage as ChatCompletionMessage, type ChatCompletionMessageCustomToolCall as ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall as ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam as ChatCompletionMessageParam, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCall, type ChatCompletionModality as ChatCompletionModality, type ChatCompletionNamedToolChoice as ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom as ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent as ChatCompletionPredictionContent, type ChatCompletionRole as ChatCompletionRole, type ChatCompletionStoreMessage as ChatCompletionStoreMessage, type ChatCompletionStreamOptions as ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam as ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob as ChatCompletionTokenLogprob, type ChatCompletionTool as ChatCompletionTool, type ChatCompletionToolChoiceOption as ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam as ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam as ChatCompletionUserMessageParam, type ChatCompletionAllowedTools as ChatCompletionAllowedTools, type ChatCompletionReasoningEffort as ChatCompletionReasoningEffort, type ChatCompletionsPage as ChatCompletionsPage, type ChatCompletionCreateParams as ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming as ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming as ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams as ChatCompletionUpdateParams, type ChatCompletionListParams as ChatCompletionListParams, }; + export { Messages as Messages, type MessageListParams as MessageListParams }; +} +//# sourceMappingURL=completions.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..bda9fc12a2ce379ccc9031e1c7f6b20f264cb461 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../../src/resources/chat/completions/completions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,yBAAyB;OAC9B,KAAK,cAAc;OACnB,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,EAAE,iBAAiB,EAAE,QAAQ,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;OAGlB,EAAE,oBAAoB,EAAE;OACxB,EAAE,6BAA6B,EAAE;OACjC,EAAE,aAAa,EAAE;OACjB,EAAE,8BAA8B,EAAE;OAClC,EAAE,uCAAuC,EAAE;OAC3C,EAAE,oBAAoB,EAAE,KAAK,0BAA0B,EAAE;OACzD,EAAE,8BAA8B,EAA2C;AAElF,qBAAa,WAAY,SAAQ,WAAW;IAC1C,QAAQ,EAAE,WAAW,CAAC,Q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KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CAC9E"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.js new file mode 100644 index 0000000000000000000000000000000000000000..9d4c473bf35a17c6f41ad7853d800a38604473cb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.js @@ -0,0 +1,115 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChatCompletionRunner = exports.ChatCompletionStream = exports.ParsingToolFunction = exports.ChatCompletionStreamingRunner = exports.Completions = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const MessagesAPI = tslib_1.__importStar(require("./messages.js")); +const messages_1 = require("./messages.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +const ChatCompletionRunner_1 = require("../../../lib/ChatCompletionRunner.js"); +const ChatCompletionStreamingRunner_1 = require("../../../lib/ChatCompletionStreamingRunner.js"); +const ChatCompletionStream_1 = require("../../../lib/ChatCompletionStream.js"); +const parser_1 = require("../../../lib/parser.js"); +class Completions extends resource_1.APIResource { + constructor() { + super(...arguments); + this.messages = new MessagesAPI.Messages(this._client); + } + create(body, options) { + return this._client.post('/chat/completions', { body, ...options, stream: body.stream ?? false }); + } + /** + * Get a stored chat completion. Only Chat Completions that have been created with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * const chatCompletion = + * await client.chat.completions.retrieve('completion_id'); + * ``` + */ + retrieve(completionID, options) { + return this._client.get((0, path_1.path) `/chat/completions/${completionID}`, options); + } + /** + * Modify a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be modified. Currently, the only + * supported modification is to update the `metadata` field. + * + * @example + * ```ts + * const chatCompletion = await client.chat.completions.update( + * 'completion_id', + * { metadata: { foo: 'string' } }, + * ); + * ``` + */ + update(completionID, body, options) { + return this._client.post((0, path_1.path) `/chat/completions/${completionID}`, { body, ...options }); + } + /** + * List stored Chat Completions. Only Chat Completions that have been stored with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletion of client.chat.completions.list()) { + * // ... + * } + * ``` + */ + list(query = {}, options) { + return this._client.getAPIList('/chat/completions', (pagination_1.CursorPage), { query, ...options }); + } + /** + * Delete a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be deleted. + * + * @example + * ```ts + * const chatCompletionDeleted = + * await client.chat.completions.delete('completion_id'); + * ``` + */ + delete(completionID, options) { + return this._client.delete((0, path_1.path) `/chat/completions/${completionID}`, options); + } + parse(body, options) { + (0, parser_1.validateInputTools)(body.tools); + return this._client.chat.completions + .create(body, { + ...options, + headers: { + ...options?.headers, + 'X-Stainless-Helper-Method': 'chat.completions.parse', + }, + }) + ._thenUnwrap((completion) => (0, parser_1.parseChatCompletion)(completion, body)); + } + runTools(body, options) { + if (body.stream) { + return ChatCompletionStreamingRunner_1.ChatCompletionStreamingRunner.runTools(this._client, body, options); + } + return ChatCompletionRunner_1.ChatCompletionRunner.runTools(this._client, body, options); + } + /** + * Creates a chat completion stream + */ + stream(body, options) { + return ChatCompletionStream_1.ChatCompletionStream.createChatCompletion(this._client, body, options); + } +} +exports.Completions = Completions; +var ChatCompletionStreamingRunner_2 = require("../../../lib/ChatCompletionStreamingRunner.js"); +Object.defineProperty(exports, "ChatCompletionStreamingRunner", { enumerable: true, get: function () { return ChatCompletionStreamingRunner_2.ChatCompletionStreamingRunner; } }); +var RunnableFunction_1 = require("../../../lib/RunnableFunction.js"); +Object.defineProperty(exports, "ParsingToolFunction", { enumerable: true, get: function () { return RunnableFunction_1.ParsingToolFunction; } }); +var ChatCompletionStream_2 = require("../../../lib/ChatCompletionStream.js"); +Object.defineProperty(exports, "ChatCompletionStream", { enumerable: true, get: function () { return ChatCompletionStream_2.ChatCompletionStream; } }); +var ChatCompletionRunner_2 = require("../../../lib/ChatCompletionRunner.js"); +Object.defineProperty(exports, "ChatCompletionRunner", { enumerable: true, get: function () { return ChatCompletionRunner_2.ChatCompletionRunner; } }); +Completions.Messages = messages_1.Messages; +//# sourceMappingURL=completions.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.js.map new file mode 100644 index 0000000000000000000000000000000000000000..875a7c25b17831d53e460b1f466fa681b76870e6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.js","sourceRoot":"","sources":["../../../src/resources/chat/completions/completions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAIrD,mEAA0C;AAC1C,4CAAyD;AAEzD,4DAA0F;AAG1F,0DAAoD;AAEpD,+EAAyE;AACzE,iGAA2F;AAI3F,+EAA0G;AAC1G,mDAA8G;AAE9G,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoL1E,CAAC;IA5IC,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,EAAE,CAErD,CAAC;IAC9C,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAgC,EAChC,OAAwB;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AAC;IAC3G,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAY,EACZ,OAAwB;QAExB,OAAO,2CAAoB,CAAC,oBAAoB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AArLD,kCAqLC;AAyBD,+FAA2F;AAAlF,8IAAA,6BAA6B,OAAA;AACtC,qEAIuC;AADrC,uHAAA,mBAAmB,OAAA;AAIrB,6EAA0G;AAAjG,4HAAA,oBAAoB,OAAA;AAC7B,6EAAyE;AAAhE,4HAAA,oBAAoB,OAAA;AAsrD7B,WAAW,CAAC,QAAQ,GAAG,mBAAQ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.mjs new file mode 100644 index 0000000000000000000000000000000000000000..1f7f1023c039ddfed249a70f05a7a85f2eef10e0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.mjs @@ -0,0 +1,106 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as MessagesAPI from "./messages.mjs"; +import { Messages } from "./messages.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +import { ChatCompletionRunner } from "../../../lib/ChatCompletionRunner.mjs"; +import { ChatCompletionStreamingRunner } from "../../../lib/ChatCompletionStreamingRunner.mjs"; +import { ChatCompletionStream } from "../../../lib/ChatCompletionStream.mjs"; +import { parseChatCompletion, validateInputTools } from "../../../lib/parser.mjs"; +export class Completions extends APIResource { + constructor() { + super(...arguments); + this.messages = new MessagesAPI.Messages(this._client); + } + create(body, options) { + return this._client.post('/chat/completions', { body, ...options, stream: body.stream ?? false }); + } + /** + * Get a stored chat completion. Only Chat Completions that have been created with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * const chatCompletion = + * await client.chat.completions.retrieve('completion_id'); + * ``` + */ + retrieve(completionID, options) { + return this._client.get(path `/chat/completions/${completionID}`, options); + } + /** + * Modify a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be modified. Currently, the only + * supported modification is to update the `metadata` field. + * + * @example + * ```ts + * const chatCompletion = await client.chat.completions.update( + * 'completion_id', + * { metadata: { foo: 'string' } }, + * ); + * ``` + */ + update(completionID, body, options) { + return this._client.post(path `/chat/completions/${completionID}`, { body, ...options }); + } + /** + * List stored Chat Completions. Only Chat Completions that have been stored with + * the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletion of client.chat.completions.list()) { + * // ... + * } + * ``` + */ + list(query = {}, options) { + return this._client.getAPIList('/chat/completions', (CursorPage), { query, ...options }); + } + /** + * Delete a stored chat completion. Only Chat Completions that have been created + * with the `store` parameter set to `true` can be deleted. + * + * @example + * ```ts + * const chatCompletionDeleted = + * await client.chat.completions.delete('completion_id'); + * ``` + */ + delete(completionID, options) { + return this._client.delete(path `/chat/completions/${completionID}`, options); + } + parse(body, options) { + validateInputTools(body.tools); + return this._client.chat.completions + .create(body, { + ...options, + headers: { + ...options?.headers, + 'X-Stainless-Helper-Method': 'chat.completions.parse', + }, + }) + ._thenUnwrap((completion) => parseChatCompletion(completion, body)); + } + runTools(body, options) { + if (body.stream) { + return ChatCompletionStreamingRunner.runTools(this._client, body, options); + } + return ChatCompletionRunner.runTools(this._client, body, options); + } + /** + * Creates a chat completion stream + */ + stream(body, options) { + return ChatCompletionStream.createChatCompletion(this._client, body, options); + } +} +export { ChatCompletionStreamingRunner } from "../../../lib/ChatCompletionStreamingRunner.mjs"; +export { ParsingToolFunction, } from "../../../lib/RunnableFunction.mjs"; +export { ChatCompletionStream } from "../../../lib/ChatCompletionStream.mjs"; +export { ChatCompletionRunner } from "../../../lib/ChatCompletionRunner.mjs"; +Completions.Messages = Messages; +//# sourceMappingURL=completions.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..0aade15b9947dd31cdea2b958d4c51e46d62e022 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/completions.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"completions.mjs","sourceRoot":"","sources":["../../../src/resources/chat/completions/completions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,KAAK,WAAW;OAChB,EAAqB,QAAQ,EAAE;OAE/B,EAAE,UAAU,EAAsC;OAGlD,EAAE,IAAI,EAAE;OAER,EAAE,oBAAoB,EAAE;OACxB,EAAE,6BAA6B,EAAE;OAIjC,EAAE,oBAAoB,EAAmC;OACzD,EAAkC,mBAAmB,EAAE,kBAAkB,EAAE;AAElF,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoL1E,CAAC;IA5IC,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,EAAE,CAErD,CAAC;IAC9C,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;O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AE,IAA2C,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAY,EACZ,OAAwB;QAExB,OAAO,oBAAoB,CAAC,oBAAoB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;OAyBM,EAAE,6BAA6B,EAAE;OACjC,EAGL,mBAAmB,GACpB;OAGM,EAAE,oBAAoB,EAAmC;OACzD,EAAE,oBAAoB,EAAE;AAsrD/B,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..b1468fcd4b71a2d7f9aad7617a42165bce620b2e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.mts @@ -0,0 +1,4 @@ +export { Completions, type ChatCompletion, type ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam, type ChatCompletionAudio, type ChatCompletionAudioParam, type ChatCompletionChunk, type ChatCompletionContentPart, type ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal, type ChatCompletionContentPartText, type ChatCompletionCustomTool, type ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool, type ChatCompletionMessage, type ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam, type ChatCompletionMessageToolCall, type ChatCompletionModality, type ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent, type ChatCompletionRole, type ChatCompletionStoreMessage, type ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob, type ChatCompletionTool, type ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam, type ChatCompletionAllowedTools, type ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams, type ChatCompletionListParams, type ChatCompletionStoreMessagesPage, type ChatCompletionsPage, } from "./completions.mjs"; +export * from "./completions.mjs"; +export { Messages, type MessageListParams } from "./messages.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..2044786652c8f756cd3a555dfa65084061910fd3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/chat/completions/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,GACzB;;OAEM,EAAE,QAAQ,EAAE,KAAK,iBAAiB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a8a85dfa22a3451628fde9213e6403f0c9c09daa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.ts @@ -0,0 +1,4 @@ +export { Completions, type ChatCompletion, type ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam, type ChatCompletionAudio, type ChatCompletionAudioParam, type ChatCompletionChunk, type ChatCompletionContentPart, type ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal, type ChatCompletionContentPartText, type ChatCompletionCustomTool, type ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool, type ChatCompletionMessage, type ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam, type ChatCompletionMessageToolCall, type ChatCompletionModality, type ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent, type ChatCompletionRole, type ChatCompletionStoreMessage, type ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob, type ChatCompletionTool, type ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam, type ChatCompletionAllowedTools, type ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams, type ChatCompletionListParams, type ChatCompletionStoreMessagesPage, type ChatCompletionsPage, } from "./completions.js"; +export * from "./completions.js"; +export { Messages, type MessageListParams } from "./messages.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a67d01681bc7917d679dd5a1a3adaabee3d7876e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/chat/completions/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,GACzB;;OAEM,EAAE,QAAQ,EAAE,KAAK,iBAAiB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cf29ae292cf2a7a864c9dff5c112bf01ca350e49 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.js @@ -0,0 +1,11 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Messages = exports.Completions = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +var completions_1 = require("./completions.js"); +Object.defineProperty(exports, "Completions", { enumerable: true, get: function () { return completions_1.Completions; } }); +tslib_1.__exportStar(require("./completions.js"), exports); +var messages_1 = require("./messages.js"); +Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..c5419125a72f5506f67df378e859e1daff6a1e13 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/chat/completions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,gDA6CuB;AA5CrB,0GAAA,WAAW,OAAA;AA6Cb,2DAA8B;AAC9B,0CAA8D;AAArD,oGAAA,QAAQ,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..c1b7dbfdbc08934a14aa76af1b8fa529e4d9978d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.mjs @@ -0,0 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Completions, } from "./completions.mjs"; +export * from "./completions.mjs"; +export { Messages } from "./messages.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..0ca9e9911f103bdc57aeefbba198fcfc018d93e5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/chat/completions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GA4CZ;;OAEM,EAAE,QAAQ,EAA0B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..41229b1a552ada0b5cfbb4a193033d4bbdbce2cd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.mts @@ -0,0 +1,34 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as CompletionsAPI from "./completions.mjs"; +import { ChatCompletionStoreMessagesPage } from "./completions.mjs"; +import { type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Messages extends APIResource { + /** + * Get the messages in a stored chat completion. Only Chat Completions that have + * been created with the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletionStoreMessage of client.chat.completions.messages.list( + * 'completion_id', + * )) { + * // ... + * } + * ``` + */ + list(completionID: string, query?: MessageListParams | null | undefined, options?: RequestOptions): PagePromise; +} +export interface MessageListParams extends CursorPageParams { + /** + * Sort order for messages by timestamp. Use `asc` for ascending order or `desc` + * for descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Messages { + export { type MessageListParams as MessageListParams }; +} +export { type ChatCompletionStoreMessagesPage }; +//# sourceMappingURL=messages.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c39f99c740815a1fd26c13e0ec36ed43270da8c5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../../src/resources/chat/completions/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,+BAA+B,EAAE;OACnC,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+BAA+B,EAAE,cAAc,CAAC,0BAA0B,CAAC;CAO3F;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD;AAED,OAAO,EAAE,KAAK,+BAA+B,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..da5db3e0700d14e594f24ecbf3cd4af290d12905 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.ts @@ -0,0 +1,34 @@ +import { APIResource } from "../../../core/resource.js"; +import * as CompletionsAPI from "./completions.js"; +import { ChatCompletionStoreMessagesPage } from "./completions.js"; +import { type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Messages extends APIResource { + /** + * Get the messages in a stored chat completion. Only Chat Completions that have + * been created with the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletionStoreMessage of client.chat.completions.messages.list( + * 'completion_id', + * )) { + * // ... + * } + * ``` + */ + list(completionID: string, query?: MessageListParams | null | undefined, options?: RequestOptions): PagePromise; +} +export interface MessageListParams extends CursorPageParams { + /** + * Sort order for messages by timestamp. Use `asc` for ascending order or `desc` + * for descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Messages { + export { type MessageListParams as MessageListParams }; +} +export { type ChatCompletionStoreMessagesPage }; +//# sourceMappingURL=messages.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ae461903390759fe11ca00f468ff29c6b30e09a8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/resources/chat/completions/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,+BAA+B,EAAE;OACnC,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+BAA+B,EAAE,cAAc,CAAC,0BAA0B,CAAC;CAO3F;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD;AAED,OAAO,EAAE,KAAK,+BAA+B,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.js new file mode 100644 index 0000000000000000000000000000000000000000..a8f3e59e9266d26b0dcedc66bca5ae6548e1a03b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.js @@ -0,0 +1,28 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Messages = void 0; +const resource_1 = require("../../../core/resource.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Messages extends resource_1.APIResource { + /** + * Get the messages in a stored chat completion. Only Chat Completions that have + * been created with the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletionStoreMessage of client.chat.completions.messages.list( + * 'completion_id', + * )) { + * // ... + * } + * ``` + */ + list(completionID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/chat/completions/${completionID}/messages`, (pagination_1.CursorPage), { query, ...options }); + } +} +exports.Messages = Messages; +//# sourceMappingURL=messages.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5d76619b5d9c435ba8d490ed46e687fa178d8040 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.js.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/resources/chat/completions/messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,4DAA0F;AAE1F,0DAAoD;AAEpD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,YAAoB,EACpB,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,qBAAqB,YAAY,WAAW,EAChD,CAAA,uBAAqD,CAAA,EACrD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AA1BD,4BA0BC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.mjs new file mode 100644 index 0000000000000000000000000000000000000000..0b5a67d8cb383fd52fa0f1bfe6985e97abd41720 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.mjs @@ -0,0 +1,24 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Messages extends APIResource { + /** + * Get the messages in a stored chat completion. Only Chat Completions that have + * been created with the `store` parameter set to `true` will be returned. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const chatCompletionStoreMessage of client.chat.completions.messages.list( + * 'completion_id', + * )) { + * // ... + * } + * ``` + */ + list(completionID, query = {}, options) { + return this._client.getAPIList(path `/chat/completions/${completionID}/messages`, (CursorPage), { query, ...options }); + } +} +//# sourceMappingURL=messages.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..774742f7ef1da0e109445d74eba760ac167e4677 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/completions/messages.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"messages.mjs","sourceRoot":"","sources":["../../../src/resources/chat/completions/messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,YAAoB,EACpB,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,qBAAqB,YAAY,WAAW,EAChD,CAAA,UAAqD,CAAA,EACrD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..4816cc10b4db18559192a60afc50172d87b4ae3f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.mts @@ -0,0 +1,3 @@ +export { Chat } from "./chat.mjs"; +export { Completions, type ChatCompletion, type ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam, type ChatCompletionAudio, type ChatCompletionAudioParam, type ChatCompletionChunk, type ChatCompletionContentPart, type ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal, type ChatCompletionContentPartText, type ChatCompletionCustomTool, type ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool, type ChatCompletionMessage, type ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam, type ChatCompletionMessageToolCall, type ChatCompletionModality, type ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent, type ChatCompletionRole, type ChatCompletionStoreMessage, type ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob, type ChatCompletionTool, type ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam, type ChatCompletionAllowedTools, type ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams, type ChatCompletionListParams, type ChatCompletionStoreMessagesPage, type ChatCompletionsPage, } from "./completions/index.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..22b926072a4bcc8abab08136d5ada2e0abf60540 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,GACzB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cb7f49e6d99c2f0009edf5628f5c700da8823d91 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.ts @@ -0,0 +1,3 @@ +export { Chat } from "./chat.js"; +export { Completions, type ChatCompletion, type ChatCompletionAllowedToolChoice, type ChatCompletionAssistantMessageParam, type ChatCompletionAudio, type ChatCompletionAudioParam, type ChatCompletionChunk, type ChatCompletionContentPart, type ChatCompletionContentPartImage, type ChatCompletionContentPartInputAudio, type ChatCompletionContentPartRefusal, type ChatCompletionContentPartText, type ChatCompletionCustomTool, type ChatCompletionDeleted, type ChatCompletionDeveloperMessageParam, type ChatCompletionFunctionCallOption, type ChatCompletionFunctionMessageParam, type ChatCompletionFunctionTool, type ChatCompletionMessage, type ChatCompletionMessageCustomToolCall, type ChatCompletionMessageFunctionToolCall, type ChatCompletionMessageParam, type ChatCompletionMessageToolCall, type ChatCompletionModality, type ChatCompletionNamedToolChoice, type ChatCompletionNamedToolChoiceCustom, type ChatCompletionPredictionContent, type ChatCompletionRole, type ChatCompletionStoreMessage, type ChatCompletionStreamOptions, type ChatCompletionSystemMessageParam, type ChatCompletionTokenLogprob, type ChatCompletionTool, type ChatCompletionToolChoiceOption, type ChatCompletionToolMessageParam, type ChatCompletionUserMessageParam, type ChatCompletionAllowedTools, type ChatCompletionCreateParams, type ChatCompletionCreateParamsNonStreaming, type ChatCompletionCreateParamsStreaming, type ChatCompletionUpdateParams, type ChatCompletionListParams, type ChatCompletionStoreMessagesPage, type ChatCompletionsPage, } from "./completions/index.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..2ea6ae1f74e14733cbc1434b25d7b539c03ea74c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,GACzB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.js new file mode 100644 index 0000000000000000000000000000000000000000..175cf6bfdb294b7e45c84b19cd09ee4cd57ef849 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Completions = exports.Chat = void 0; +var chat_1 = require("./chat.js"); +Object.defineProperty(exports, "Chat", { enumerable: true, get: function () { return chat_1.Chat; } }); +var index_1 = require("./completions/index.js"); +Object.defineProperty(exports, "Completions", { enumerable: true, get: function () { return index_1.Completions; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..e6ed0469f829c1ebacf56388899622f66a6719f6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,gDA6C6B;AA5C3B,oGAAA,WAAW,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..691169ca3c81cdd102f560c8524b430289eb9d65 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Chat } from "./chat.mjs"; +export { Completions, } from "./completions/index.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..f04067087b34a1389ee1ec2c39684ea6f753c9c9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/chat/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EACL,WAAW,GA4CZ"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..527bb3050f45055363834fe94d6d7c92ce02e7c7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.mts @@ -0,0 +1,200 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as FilesAPI from "./files/files.mjs"; +import { FileCreateParams, FileCreateResponse, FileDeleteParams, FileListParams, FileListResponse, FileListResponsesPage, FileRetrieveParams, FileRetrieveResponse, Files } from "./files/files.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Containers extends APIResource { + files: FilesAPI.Files; + /** + * Create Container + */ + create(body: ContainerCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieve Container + */ + retrieve(containerID: string, options?: RequestOptions): APIPromise; + /** + * List Containers + */ + list(query?: ContainerListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete Container + */ + delete(containerID: string, options?: RequestOptions): APIPromise; +} +export type ContainerListResponsesPage = CursorPage; +export interface ContainerCreateResponse { + /** + * Unique identifier for the container. + */ + id: string; + /** + * Unix timestamp (in seconds) when the container was created. + */ + created_at: number; + /** + * Name of the container. + */ + name: string; + /** + * The type of this object. + */ + object: string; + /** + * Status of the container (e.g., active, deleted). + */ + status: string; + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + expires_after?: ContainerCreateResponse.ExpiresAfter; +} +export declare namespace ContainerCreateResponse { + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + interface ExpiresAfter { + /** + * The reference point for the expiration. + */ + anchor?: 'last_active_at'; + /** + * The number of minutes after the anchor before the container expires. + */ + minutes?: number; + } +} +export interface ContainerRetrieveResponse { + /** + * Unique identifier for the container. + */ + id: string; + /** + * Unix timestamp (in seconds) when the container was created. + */ + created_at: number; + /** + * Name of the container. + */ + name: string; + /** + * The type of this object. + */ + object: string; + /** + * Status of the container (e.g., active, deleted). + */ + status: string; + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + expires_after?: ContainerRetrieveResponse.ExpiresAfter; +} +export declare namespace ContainerRetrieveResponse { + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + interface ExpiresAfter { + /** + * The reference point for the expiration. + */ + anchor?: 'last_active_at'; + /** + * The number of minutes after the anchor before the container expires. + */ + minutes?: number; + } +} +export interface ContainerListResponse { + /** + * Unique identifier for the container. + */ + id: string; + /** + * Unix timestamp (in seconds) when the container was created. + */ + created_at: number; + /** + * Name of the container. + */ + name: string; + /** + * The type of this object. + */ + object: string; + /** + * Status of the container (e.g., active, deleted). + */ + status: string; + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + expires_after?: ContainerListResponse.ExpiresAfter; +} +export declare namespace ContainerListResponse { + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + interface ExpiresAfter { + /** + * The reference point for the expiration. + */ + anchor?: 'last_active_at'; + /** + * The number of minutes after the anchor before the container expires. + */ + minutes?: number; + } +} +export interface ContainerCreateParams { + /** + * Name of the container to create. + */ + name: string; + /** + * Container expiration time in seconds relative to the 'anchor' time. + */ + expires_after?: ContainerCreateParams.ExpiresAfter; + /** + * IDs of files to copy to the container. + */ + file_ids?: Array; +} +export declare namespace ContainerCreateParams { + /** + * Container expiration time in seconds relative to the 'anchor' time. + */ + interface ExpiresAfter { + /** + * Time anchor for the expiration time. Currently only 'last_active_at' is + * supported. + */ + anchor: 'last_active_at'; + minutes: number; + } +} +export interface ContainerListParams extends CursorPageParams { + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Containers { + export { type ContainerCreateResponse as ContainerCreateResponse, type ContainerRetrieveResponse as ContainerRetrieveResponse, type ContainerListResponse as ContainerListResponse, type ContainerListResponsesPage as ContainerListResponsesPage, type ContainerCreateParams as ContainerCreateParams, type ContainerListParams as ContainerListParams, }; + export { Files as Files, type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileListResponse as FileListResponse, type FileListResponsesPage as FileListResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, }; +} +//# sourceMappingURL=containers.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..5af3c248bf92a0e48c8f4e25cb52a2463a507238 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"containers.d.mts","sourceRoot":"","sources":["../../src/resources/containers/containers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACN;OACM,EAAE,UA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EAAE,gBAAgB,CAAC;QAEzB,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cf0f294d6020e345de1e9e4e2d036b25af7a9bdf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.ts @@ -0,0 +1,200 @@ +import { APIResource } from "../../core/resource.js"; +import * as FilesAPI from "./files/files.js"; +import { FileCreateParams, FileCreateResponse, FileDeleteParams, FileListParams, FileListResponse, FileListResponsesPage, FileRetrieveParams, FileRetrieveResponse, Files } from "./files/files.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Containers extends APIResource { + files: FilesAPI.Files; + /** + * Create Container + */ + create(body: ContainerCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieve Container + */ + retrieve(containerID: string, options?: RequestOptions): APIPromise; + /** + * List Containers + */ + list(query?: ContainerListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete Container + */ + delete(containerID: string, options?: RequestOptions): APIPromise; +} +export type ContainerListResponsesPage = CursorPage; +export interface ContainerCreateResponse { + /** + * Unique identifier for the container. + */ + id: string; + /** + * Unix timestamp (in seconds) when the container was created. + */ + created_at: number; + /** + * Name of the container. + */ + name: string; + /** + * The type of this object. + */ + object: string; + /** + * Status of the container (e.g., active, deleted). + */ + status: string; + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + expires_after?: ContainerCreateResponse.ExpiresAfter; +} +export declare namespace ContainerCreateResponse { + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + interface ExpiresAfter { + /** + * The reference point for the expiration. + */ + anchor?: 'last_active_at'; + /** + * The number of minutes after the anchor before the container expires. + */ + minutes?: number; + } +} +export interface ContainerRetrieveResponse { + /** + * Unique identifier for the container. + */ + id: string; + /** + * Unix timestamp (in seconds) when the container was created. + */ + created_at: number; + /** + * Name of the container. + */ + name: string; + /** + * The type of this object. + */ + object: string; + /** + * Status of the container (e.g., active, deleted). + */ + status: string; + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + expires_after?: ContainerRetrieveResponse.ExpiresAfter; +} +export declare namespace ContainerRetrieveResponse { + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + interface ExpiresAfter { + /** + * The reference point for the expiration. + */ + anchor?: 'last_active_at'; + /** + * The number of minutes after the anchor before the container expires. + */ + minutes?: number; + } +} +export interface ContainerListResponse { + /** + * Unique identifier for the container. + */ + id: string; + /** + * Unix timestamp (in seconds) when the container was created. + */ + created_at: number; + /** + * Name of the container. + */ + name: string; + /** + * The type of this object. + */ + object: string; + /** + * Status of the container (e.g., active, deleted). + */ + status: string; + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + expires_after?: ContainerListResponse.ExpiresAfter; +} +export declare namespace ContainerListResponse { + /** + * The container will expire after this time period. The anchor is the reference + * point for the expiration. The minutes is the number of minutes after the anchor + * before the container expires. + */ + interface ExpiresAfter { + /** + * The reference point for the expiration. + */ + anchor?: 'last_active_at'; + /** + * The number of minutes after the anchor before the container expires. + */ + minutes?: number; + } +} +export interface ContainerCreateParams { + /** + * Name of the container to create. + */ + name: string; + /** + * Container expiration time in seconds relative to the 'anchor' time. + */ + expires_after?: ContainerCreateParams.ExpiresAfter; + /** + * IDs of files to copy to the container. + */ + file_ids?: Array; +} +export declare namespace ContainerCreateParams { + /** + * Container expiration time in seconds relative to the 'anchor' time. + */ + interface ExpiresAfter { + /** + * Time anchor for the expiration time. Currently only 'last_active_at' is + * supported. + */ + anchor: 'last_active_at'; + minutes: number; + } +} +export interface ContainerListParams extends CursorPageParams { + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace Containers { + export { type ContainerCreateResponse as ContainerCreateResponse, type ContainerRetrieveResponse as ContainerRetrieveResponse, type ContainerListResponse as ContainerListResponse, type ContainerListResponsesPage as ContainerListResponsesPage, type ContainerCreateParams as ContainerCreateParams, type ContainerListParams as ContainerListParams, }; + export { Files as Files, type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileListResponse as FileListResponse, type FileListResponsesPage as FileListResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, }; +} +//# sourceMappingURL=containers.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..99a6f9e22c63227907d4056dc730b54a84dcebaf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../src/resources/containers/containers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACN;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIlG;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0BAA0B,EAAE,qBAAqB,CAAC;IAIjE;;OAEG;IACH,MAAM,CAAC,WAAW,E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B,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.js new file mode 100644 index 0000000000000000000000000000000000000000..692a5cdfb3e48cf32bf321a4699fc8a29f10d82a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.js @@ -0,0 +1,47 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Containers = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const FilesAPI = tslib_1.__importStar(require("./files/files.js")); +const files_1 = require("./files/files.js"); +const pagination_1 = require("../../core/pagination.js"); +const headers_1 = require("../../internal/headers.js"); +const path_1 = require("../../internal/utils/path.js"); +class Containers extends resource_1.APIResource { + constructor() { + super(...arguments); + this.files = new FilesAPI.Files(this._client); + } + /** + * Create Container + */ + create(body, options) { + return this._client.post('/containers', { body, ...options }); + } + /** + * Retrieve Container + */ + retrieve(containerID, options) { + return this._client.get((0, path_1.path) `/containers/${containerID}`, options); + } + /** + * List Containers + */ + list(query = {}, options) { + return this._client.getAPIList('/containers', (pagination_1.CursorPage), { query, ...options }); + } + /** + * Delete Container + */ + delete(containerID, options) { + return this._client.delete((0, path_1.path) `/containers/${containerID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]), + }); + } +} +exports.Containers = Containers; +Containers.Files = files_1.Files; +//# sourceMappingURL=containers.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f554d32e180cffb632702c9166a08c33907fe55d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"containers.js","sourceRoot":"","sources":["../../src/resources/containers/containers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,mEAA0C;AAC1C,4CAUuB;AAEvB,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmC3D,CAAC;IAjCC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,uBAAiC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,WAAmB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AApCD,gCAoCC;AA2MD,UAAU,CAAC,KAAK,GAAG,aAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.mjs new file mode 100644 index 0000000000000000000000000000000000000000..bc3d749fee95d7043896ee100c132fad95e0f1bc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.mjs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as FilesAPI from "./files/files.mjs"; +import { Files, } from "./files/files.mjs"; +import { CursorPage } from "../../core/pagination.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Containers extends APIResource { + constructor() { + super(...arguments); + this.files = new FilesAPI.Files(this._client); + } + /** + * Create Container + */ + create(body, options) { + return this._client.post('/containers', { body, ...options }); + } + /** + * Retrieve Container + */ + retrieve(containerID, options) { + return this._client.get(path `/containers/${containerID}`, options); + } + /** + * List Containers + */ + list(query = {}, options) { + return this._client.getAPIList('/containers', (CursorPage), { query, ...options }); + } + /** + * Delete Container + */ + delete(containerID, options) { + return this._client.delete(path `/containers/${containerID}`, { + ...options, + headers: buildHeaders([{ Accept: '*/*' }, options?.headers]), + }); + } +} +Containers.Files = Files; +//# sourceMappingURL=containers.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..5b4df9e2c17a58964ef9fe5941ef287328877a5d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/containers.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"containers.mjs","sourceRoot":"","sources":["../../src/resources/containers/containers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EASL,KAAK,GACN;OAEM,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmC3D,CAAC;IAjCC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,UAAiC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,WAAmB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,WAAW,EAAE,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA2MD,UAAU,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..ed366fe3e0dbe5a910d451337e792df31018cbc0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.mts @@ -0,0 +1,2 @@ +export * from "./files/index.mjs"; +//# sourceMappingURL=files.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..411b2c6d915228b17e18ba80f2bd58c25a96b03b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../../src/resources/containers/files.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..550bada7da163587b2bacfbba414fc004882ab88 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.ts @@ -0,0 +1,2 @@ +export * from "./files/index.js"; +//# sourceMappingURL=files.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ed42584507d3768088138ae9e7b2eb65a8a688d5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/containers/files.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.js new file mode 100644 index 0000000000000000000000000000000000000000..0f265e1e84490441c1b660763199304b9e1be301 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./files/index.js"), exports); +//# sourceMappingURL=files.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.js.map new file mode 100644 index 0000000000000000000000000000000000000000..270ebaea0afa097f2064f63adf46a4ad523b23de --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.js.map @@ -0,0 +1 @@ +{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/resources/containers/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.mjs new file mode 100644 index 0000000000000000000000000000000000000000..030d685b92bb84edc686e473bbb29aff008c1917 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./files/index.mjs"; +//# sourceMappingURL=files.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c448e96a6a4420921d2c4c9cfd003a29c70005a9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/containers/files.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d3adb877cff7d800bd1bf3a05d48fc6b008b2572 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.mts @@ -0,0 +1,16 @@ +import { APIResource } from "../../../core/resource.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Content extends APIResource { + /** + * Retrieve Container File Content + */ + retrieve(fileID: string, params: ContentRetrieveParams, options?: RequestOptions): APIPromise; +} +export interface ContentRetrieveParams { + container_id: string; +} +export declare namespace Content { + export { type ContentRetrieveParams as ContentRetrieveParams }; +} +//# sourceMappingURL=content.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..001b7e25770d33fcdf2e173eae9aa999eeae870b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"content.d.mts","sourceRoot":"","sources":["../../../src/resources/containers/files/content.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAQxG;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a7c8b75dd03d5c9bc0e2b26f17b9a28c90f6e20a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.ts @@ -0,0 +1,16 @@ +import { APIResource } from "../../../core/resource.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Content extends APIResource { + /** + * Retrieve Container File Content + */ + retrieve(fileID: string, params: ContentRetrieveParams, options?: RequestOptions): APIPromise; +} +export interface ContentRetrieveParams { + container_id: string; +} +export declare namespace Content { + export { type ContentRetrieveParams as ContentRetrieveParams }; +} +//# sourceMappingURL=content.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..021426fd6930b946b0f692e4747426454af3ae3f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/resources/containers/files/content.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAQxG;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.js new file mode 100644 index 0000000000000000000000000000000000000000..282fbf78a918dddc91856ba440c9b6980c1a69e7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.js @@ -0,0 +1,22 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Content = void 0; +const resource_1 = require("../../../core/resource.js"); +const headers_1 = require("../../../internal/headers.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Content extends resource_1.APIResource { + /** + * Retrieve Container File Content + */ + retrieve(fileID, params, options) { + const { container_id } = params; + return this._client.get((0, path_1.path) `/containers/${container_id}/files/${fileID}/content`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ Accept: 'application/binary' }, options?.headers]), + __binaryResponse: true, + }); + } +} +exports.Content = Content; +//# sourceMappingURL=content.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.js.map new file mode 100644 index 0000000000000000000000000000000000000000..e0cc5408019e3fd2b10a2ff93f423eef20154683 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.js.map @@ -0,0 +1 @@ +{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../src/resources/containers/files/content.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,MAA6B,EAAE,OAAwB;QAC9E,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,YAAY,UAAU,MAAM,UAAU,EAAE;YACjF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,oBAAoB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC3E,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAZD,0BAYC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.mjs new file mode 100644 index 0000000000000000000000000000000000000000..aa81f7bb58e5d0a79939719ad893dc9b11fe6804 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.mjs @@ -0,0 +1,18 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { buildHeaders } from "../../../internal/headers.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Content extends APIResource { + /** + * Retrieve Container File Content + */ + retrieve(fileID, params, options) { + const { container_id } = params; + return this._client.get(path `/containers/${container_id}/files/${fileID}/content`, { + ...options, + headers: buildHeaders([{ Accept: 'application/binary' }, options?.headers]), + __binaryResponse: true, + }); + } +} +//# sourceMappingURL=content.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..5a8a54f4e05abe4dbdc5905f6b788eed269aef21 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/content.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"content.mjs","sourceRoot":"","sources":["../../../src/resources/containers/files/content.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,MAA6B,EAAE,OAAwB;QAC9E,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,YAAY,UAAU,MAAM,UAAU,EAAE;YACjF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,oBAAoB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC3E,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..4ddefdb118d22c4ccc55e39e2fe42f86eb846691 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.mts @@ -0,0 +1,148 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as ContentAPI from "./content.mjs"; +import { Content, ContentRetrieveParams } from "./content.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { type Uploadable } from "../../../core/uploads.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Files extends APIResource { + content: ContentAPI.Content; + /** + * Create a Container File + * + * You can send either a multipart/form-data request with the raw file content, or + * a JSON request with a file ID. + */ + create(containerID: string, body: FileCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieve Container File + */ + retrieve(fileID: string, params: FileRetrieveParams, options?: RequestOptions): APIPromise; + /** + * List Container files + */ + list(containerID: string, query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete Container File + */ + delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise; +} +export type FileListResponsesPage = CursorPage; +export interface FileCreateResponse { + /** + * Unique identifier for the file. + */ + id: string; + /** + * Size of the file in bytes. + */ + bytes: number; + /** + * The container this file belongs to. + */ + container_id: string; + /** + * Unix timestamp (in seconds) when the file was created. + */ + created_at: number; + /** + * The type of this object (`container.file`). + */ + object: 'container.file'; + /** + * Path of the file in the container. + */ + path: string; + /** + * Source of the file (e.g., `user`, `assistant`). + */ + source: string; +} +export interface FileRetrieveResponse { + /** + * Unique identifier for the file. + */ + id: string; + /** + * Size of the file in bytes. + */ + bytes: number; + /** + * The container this file belongs to. + */ + container_id: string; + /** + * Unix timestamp (in seconds) when the file was created. + */ + created_at: number; + /** + * The type of this object (`container.file`). + */ + object: 'container.file'; + /** + * Path of the file in the container. + */ + path: string; + /** + * Source of the file (e.g., `user`, `assistant`). + */ + source: string; +} +export interface FileListResponse { + /** + * Unique identifier for the file. + */ + id: string; + /** + * Size of the file in bytes. + */ + bytes: number; + /** + * The container this file belongs to. + */ + container_id: string; + /** + * Unix timestamp (in seconds) when the file was created. + */ + created_at: number; + /** + * The type of this object (`container.file`). + */ + object: 'container.file'; + /** + * Path of the file in the container. + */ + path: string; + /** + * Source of the file (e.g., `user`, `assistant`). + */ + source: string; +} +export interface FileCreateParams { + /** + * The File object (not file name) to be uploaded. + */ + file?: Uploadable; + /** + * Name of the file to create. + */ + file_id?: string; +} +export interface FileRetrieveParams { + container_id: string; +} +export interface FileListParams extends CursorPageParams { + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface FileDeleteParams { + container_id: string; +} +export declare namespace Files { + export { type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileListResponse as FileListResponse, type FileListResponsesPage as FileListResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, }; + export { Content as Content, type ContentRetrieveParams as ContentRetrieveParams }; +} +//# sourceMappingURL=files.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..7e840caf6ee26e40fae23d8573810830466e792a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../../../src/resources/containers/files/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,qBAAqB,EAAE;OAClC,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;OAKG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAOjC;;OAEG;IACH,QAAQ,CACN,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;OAEG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;IAOvD;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG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WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CACpF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..01f923972e79429eb5696e51e670a1f3ba9514a7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.ts @@ -0,0 +1,148 @@ +import { APIResource } from "../../../core/resource.js"; +import * as ContentAPI from "./content.js"; +import { Content, ContentRetrieveParams } from "./content.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { type Uploadable } from "../../../core/uploads.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Files extends APIResource { + content: ContentAPI.Content; + /** + * Create a Container File + * + * You can send either a multipart/form-data request with the raw file content, or + * a JSON request with a file ID. + */ + create(containerID: string, body: FileCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieve Container File + */ + retrieve(fileID: string, params: FileRetrieveParams, options?: RequestOptions): APIPromise; + /** + * List Container files + */ + list(containerID: string, query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete Container File + */ + delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise; +} +export type FileListResponsesPage = CursorPage; +export interface FileCreateResponse { + /** + * Unique identifier for the file. + */ + id: string; + /** + * Size of the file in bytes. + */ + bytes: number; + /** + * The container this file belongs to. + */ + container_id: string; + /** + * Unix timestamp (in seconds) when the file was created. + */ + created_at: number; + /** + * The type of this object (`container.file`). + */ + object: 'container.file'; + /** + * Path of the file in the container. + */ + path: string; + /** + * Source of the file (e.g., `user`, `assistant`). + */ + source: string; +} +export interface FileRetrieveResponse { + /** + * Unique identifier for the file. + */ + id: string; + /** + * Size of the file in bytes. + */ + bytes: number; + /** + * The container this file belongs to. + */ + container_id: string; + /** + * Unix timestamp (in seconds) when the file was created. + */ + created_at: number; + /** + * The type of this object (`container.file`). + */ + object: 'container.file'; + /** + * Path of the file in the container. + */ + path: string; + /** + * Source of the file (e.g., `user`, `assistant`). + */ + source: string; +} +export interface FileListResponse { + /** + * Unique identifier for the file. + */ + id: string; + /** + * Size of the file in bytes. + */ + bytes: number; + /** + * The container this file belongs to. + */ + container_id: string; + /** + * Unix timestamp (in seconds) when the file was created. + */ + created_at: number; + /** + * The type of this object (`container.file`). + */ + object: 'container.file'; + /** + * Path of the file in the container. + */ + path: string; + /** + * Source of the file (e.g., `user`, `assistant`). + */ + source: string; +} +export interface FileCreateParams { + /** + * The File object (not file name) to be uploaded. + */ + file?: Uploadable; + /** + * Name of the file to create. + */ + file_id?: string; +} +export interface FileRetrieveParams { + container_id: string; +} +export interface FileListParams extends CursorPageParams { + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface FileDeleteParams { + container_id: string; +} +export declare namespace Files { + export { type FileCreateResponse as FileCreateResponse, type FileRetrieveResponse as FileRetrieveResponse, type FileListResponse as FileListResponse, type FileListResponsesPage as FileListResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, }; + export { Content as Content, type ContentRetrieveParams as ContentRetrieveParams }; +} +//# sourceMappingURL=files.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f9135b3382a9c14d525ff004454f2d45128491b0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/resources/containers/files/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,qBAAqB,EAAE;OAClC,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;OAKG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAOjC;;OAEG;IACH,QAAQ,CACN,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAo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AAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CACpF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.js new file mode 100644 index 0000000000000000000000000000000000000000..af0d22cb85568323098e0928884534d92348d196 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.js @@ -0,0 +1,56 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Files = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const ContentAPI = tslib_1.__importStar(require("./content.js")); +const content_1 = require("./content.js"); +const pagination_1 = require("../../../core/pagination.js"); +const headers_1 = require("../../../internal/headers.js"); +const uploads_1 = require("../../../internal/uploads.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Files extends resource_1.APIResource { + constructor() { + super(...arguments); + this.content = new ContentAPI.Content(this._client); + } + /** + * Create a Container File + * + * You can send either a multipart/form-data request with the raw file content, or + * a JSON request with a file ID. + */ + create(containerID, body, options) { + return this._client.post((0, path_1.path) `/containers/${containerID}/files`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client)); + } + /** + * Retrieve Container File + */ + retrieve(fileID, params, options) { + const { container_id } = params; + return this._client.get((0, path_1.path) `/containers/${container_id}/files/${fileID}`, options); + } + /** + * List Container files + */ + list(containerID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/containers/${containerID}/files`, (pagination_1.CursorPage), { + query, + ...options, + }); + } + /** + * Delete Container File + */ + delete(fileID, params, options) { + const { container_id } = params; + return this._client.delete((0, path_1.path) `/containers/${container_id}/files/${fileID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]), + }); + } +} +exports.Files = Files; +Files.Content = content_1.Content; +//# sourceMappingURL=files.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.js.map new file mode 100644 index 0000000000000000000000000000000000000000..113d83b7abc063ad098ca150b3eaaa00a1f4e29c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.js.map @@ -0,0 +1 @@ +{"version":3,"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AAA,WAAI,EAAA,eAAe,YAAY,UAAU,MAAM,EAAE,EAAE;YAC5E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAxDD,sBAwDC;AA+ID,KAAK,CAAC,OAAO,GAAG,iBAAO,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.mjs new file mode 100644 index 0000000000000000000000000000000000000000..be01017fc2b91f788f91439938dea75e0a1ef7a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.mjs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as ContentAPI from "./content.mjs"; +import { Content } from "./content.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { buildHeaders } from "../../../internal/headers.mjs"; +import { multipartFormRequestOptions } from "../../../internal/uploads.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Files extends APIResource { + constructor() { + super(...arguments); + this.content = new ContentAPI.Content(this._client); + } + /** + * Create a Container File + * + * You can send either a multipart/form-data request with the raw file content, or + * a JSON request with a file ID. + */ + create(containerID, body, options) { + return this._client.post(path `/containers/${containerID}/files`, multipartFormRequestOptions({ body, ...options }, this._client)); + } + /** + * Retrieve Container File + */ + retrieve(fileID, params, options) { + const { container_id } = params; + return this._client.get(path `/containers/${container_id}/files/${fileID}`, options); + } + /** + * List Container files + */ + list(containerID, query = {}, options) { + return this._client.getAPIList(path `/containers/${containerID}/files`, (CursorPage), { + query, + ...options, + }); + } + /** + * Delete Container File + */ + delete(fileID, params, options) { + const { container_id } = params; + return this._client.delete(path `/containers/${container_id}/files/${fileID}`, { + ...options, + headers: buildHeaders([{ Accept: '*/*' }, options?.headers]), + }); + } +} +Files.Content = Content; +//# sourceMappingURL=files.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..7609e975bb3f57782c48d95c1a8f1a2e6fe8c13f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/files.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../../src/resources/containers/files/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAyB;OAElC,EAAE,UAAU,EAAsC;OAElD,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuDrE,CAAC;IArDC;;;;;OAKG;IACH,MAAM,CACJ,WAAmB,EACnB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAI,CAAA,eAAe,WAAW,QAAQ,EACtC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,YAAY,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,WAAmB,EACnB,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA,eAAe,WAAW,QAAQ,EAAE,CAAA,UAA4B,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,YAAY,UAAU,MAAM,EAAE,EAAE;YAC5E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA+ID,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..ab6d306e3661a8c818aa8434f83aa70198ca53cd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.mts @@ -0,0 +1,3 @@ +export { Content, type ContentRetrieveParams } from "./content.mjs"; +export { Files, type FileCreateResponse, type FileRetrieveResponse, type FileListResponse, type FileCreateParams, type FileRetrieveParams, type FileListParams, type FileDeleteParams, type FileListResponsesPage, } from "./files.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..f0edac4a504c19b058c9c6d787ddc7c4e3adf149 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/containers/files/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..857dce23d9f454535c9afd5c77431370e7a1b22b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.ts @@ -0,0 +1,3 @@ +export { Content, type ContentRetrieveParams } from "./content.js"; +export { Files, type FileCreateResponse, type FileRetrieveResponse, type FileListResponse, type FileCreateParams, type FileRetrieveParams, type FileListParams, type FileDeleteParams, type FileListResponsesPage, } from "./files.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e81ba0e28c1ce1fe0ac5874237909d49b5411617 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/containers/files/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.js new file mode 100644 index 0000000000000000000000000000000000000000..7bc49785c1382f0877d75520e47516cc79af36ce --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Files = exports.Content = void 0; +var content_1 = require("./content.js"); +Object.defineProperty(exports, "Content", { enumerable: true, get: function () { return content_1.Content; } }); +var files_1 = require("./files.js"); +Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a6a1064f8d6f86c768254a5c73e91175ba26c4f7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/containers/files/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAgE;AAAvD,kGAAA,OAAO,OAAA;AAChB,oCAUiB;AATf,8FAAA,KAAK,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..c1e8321a640ecc44e6f9ad7312d37157a2efe272 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Content } from "./content.mjs"; +export { Files, } from "./files.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..d64962f75653aefc0086677154c680702d36bdf3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/files/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/containers/files/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA8B;OACvC,EACL,KAAK,GASN"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..1528cafac921b46ffc4673444b534b438410bb32 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.mts @@ -0,0 +1,3 @@ +export { Containers, type ContainerCreateResponse, type ContainerRetrieveResponse, type ContainerListResponse, type ContainerCreateParams, type ContainerListParams, type ContainerListResponsesPage, } from "./containers.mjs"; +export { Files, type FileCreateResponse, type FileRetrieveResponse, type FileListResponse, type FileCreateParams, type FileRetrieveParams, type FileListParams, type FileDeleteParams, type FileListResponsesPage, } from "./files/index.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..bd175ad8429a55c8b0f48fc32bda0ed8858ded4b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/containers/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,GAChC;OACM,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b3c7c7669bfc17f74cef74a847a7086e9664f7e5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.ts @@ -0,0 +1,3 @@ +export { Containers, type ContainerCreateResponse, type ContainerRetrieveResponse, type ContainerListResponse, type ContainerCreateParams, type ContainerListParams, type ContainerListResponsesPage, } from "./containers.js"; +export { Files, type FileCreateResponse, type FileRetrieveResponse, type FileListResponse, type FileCreateParams, type FileRetrieveParams, type FileListParams, type FileDeleteParams, type FileListResponsesPage, } from "./files/index.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..82cca8edce815849572552edd899a9956697ea0a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/containers/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,GAChC;OACM,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.js new file mode 100644 index 0000000000000000000000000000000000000000..fac8c597e017acafaefc626a1d1ca1ea30d4d7f8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Files = exports.Containers = void 0; +var containers_1 = require("./containers.js"); +Object.defineProperty(exports, "Containers", { enumerable: true, get: function () { return containers_1.Containers; } }); +var index_1 = require("./files/index.js"); +Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return index_1.Files; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0c2e790441ee7c0c0675dc9fdb3bb1dfc53eb113 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/containers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAQsB;AAPpB,wGAAA,UAAU,OAAA;AAQZ,0CAUuB;AATrB,8FAAA,KAAK,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d0c78c90da606cb02d4b9062a5dc0bffa22bd445 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Containers, } from "./containers.mjs"; +export { Files, } from "./files/index.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..972a87d229a0fe756a4da27a6799d75dd62c62f0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/containers/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/containers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAOX;OACM,EACL,KAAK,GASN"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a39b06c39ec4d4779680bf719f5dcc21866e5312 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.mts @@ -0,0 +1,285 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as Shared from "../shared.mjs"; +import * as ItemsAPI from "./items.mjs"; +import { ConversationItem, ConversationItemList, ConversationItemsPage, ItemCreateParams, ItemDeleteParams, ItemListParams, ItemRetrieveParams, Items } from "./items.mjs"; +import * as ResponsesAPI from "../responses/responses.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Conversations extends APIResource { + items: ItemsAPI.Items; + /** + * Create a conversation with the given ID. + */ + create(body: ConversationCreateParams, options?: RequestOptions): APIPromise; + /** + * Get a conversation with the given ID. + */ + retrieve(conversationID: string, options?: RequestOptions): APIPromise; + /** + * Update a conversation's metadata with the given ID. + */ + update(conversationID: string, body: ConversationUpdateParams, options?: RequestOptions): APIPromise; + /** + * Delete a conversation with the given ID. + */ + delete(conversationID: string, options?: RequestOptions): APIPromise; +} +export interface ComputerScreenshotContent { + /** + * The identifier of an uploaded file that contains the screenshot. + */ + file_id: string | null; + /** + * The URL of the screenshot image. + */ + image_url: string | null; + /** + * Specifies the event type. For a computer screenshot, this property is always set + * to `computer_screenshot`. + */ + type: 'computer_screenshot'; +} +export interface ContainerFileCitationBody { + /** + * The ID of the container file. + */ + container_id: string; + /** + * The index of the last character of the container file citation in the message. + */ + end_index: number; + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the container file cited. + */ + filename: string; + /** + * The index of the first character of the container file citation in the message. + */ + start_index: number; + /** + * The type of the container file citation. Always `container_file_citation`. + */ + type: 'container_file_citation'; +} +export interface Conversation { + /** + * The unique ID of the conversation. + */ + id: string; + /** + * The time at which the conversation was created, measured in seconds since the + * Unix epoch. + */ + created_at: number; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters. + */ + metadata: unknown; + /** + * The object type, which is always `conversation`. + */ + object: 'conversation'; +} +export interface ConversationDeleted { + id: string; + deleted: boolean; + object: 'conversation.deleted'; +} +export interface ConversationDeletedResource { + id: string; + deleted: boolean; + object: 'conversation.deleted'; +} +export interface FileCitationBody { + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the file cited. + */ + filename: string; + /** + * The index of the file in the list of files. + */ + index: number; + /** + * The type of the file citation. Always `file_citation`. + */ + type: 'file_citation'; +} +export interface InputFileContent { + /** + * The ID of the file to be sent to the model. + */ + file_id: string | null; + /** + * The type of the input item. Always `input_file`. + */ + type: 'input_file'; + /** + * The URL of the file to be sent to the model. + */ + file_url?: string; + /** + * The name of the file to be sent to the model. + */ + filename?: string; +} +export interface InputImageContent { + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail: 'low' | 'high' | 'auto'; + /** + * The ID of the file to be sent to the model. + */ + file_id: string | null; + /** + * The URL of the image to be sent to the model. A fully qualified URL or base64 + * encoded image in a data URL. + */ + image_url: string | null; + /** + * The type of the input item. Always `input_image`. + */ + type: 'input_image'; +} +export interface InputTextContent { + /** + * The text input to the model. + */ + text: string; + /** + * The type of the input item. Always `input_text`. + */ + type: 'input_text'; +} +export interface LobProb { + token: string; + bytes: Array; + logprob: number; + top_logprobs: Array; +} +export interface Message { + /** + * The unique ID of the message. + */ + id: string; + /** + * The content of the message + */ + content: Array; + /** + * The role of the message. One of `unknown`, `user`, `assistant`, `system`, + * `critic`, `discriminator`, `developer`, or `tool`. + */ + role: 'unknown' | 'user' | 'assistant' | 'system' | 'critic' | 'discriminator' | 'developer' | 'tool'; + /** + * The status of item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the message. Always set to `message`. + */ + type: 'message'; +} +export interface OutputTextContent { + /** + * The annotations of the text output. + */ + annotations: Array; + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + logprobs?: Array; +} +export interface RefusalContent { + /** + * The refusal explanation from the model. + */ + refusal: string; + /** + * The type of the refusal. Always `refusal`. + */ + type: 'refusal'; +} +export interface SummaryTextContent { + text: string; + type: 'summary_text'; +} +export interface TextContent { + text: string; + type: 'text'; +} +export interface TopLogProb { + token: string; + bytes: Array; + logprob: number; +} +export interface URLCitationBody { + /** + * The index of the last character of the URL citation in the message. + */ + end_index: number; + /** + * The index of the first character of the URL citation in the message. + */ + start_index: number; + /** + * The title of the web resource. + */ + title: string; + /** + * The type of the URL citation. Always `url_citation`. + */ + type: 'url_citation'; + /** + * The URL of the web resource. + */ + url: string; +} +export interface ConversationCreateParams { + /** + * Initial items to include in the conversation context. You may add up to 20 items + * at a time. + */ + items?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. Useful for storing + * additional information about the object in a structured format. + */ + metadata?: Shared.Metadata | null; +} +export interface ConversationUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters. + */ + metadata: { + [key: string]: string; + }; +} +export declare namespace Conversations { + export { type ComputerScreenshotContent as ComputerScreenshotContent, type ContainerFileCitationBody as ContainerFileCitationBody, type Conversation as Conversation, type ConversationDeleted as ConversationDeleted, type ConversationDeletedResource as ConversationDeletedResource, type FileCitationBody as FileCitationBody, type InputFileContent as InputFileContent, type InputImageContent as InputImageContent, type InputTextContent as InputTextContent, type LobProb as LobProb, type Message as Message, type OutputTextContent as OutputTextContent, type RefusalContent as RefusalContent, type SummaryTextContent as SummaryTextContent, type TextContent as TextContent, type TopLogProb as TopLogProb, type URLCitationBody as URLCitationBody, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, }; + export { Items as Items, type ConversationItem as ConversationItem, type ConversationItemList as ConversationItemList, type ConversationItemsPage as ConversationItemsPage, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, type ItemDeleteParams as ItemDeleteParams, }; +} +//# sourceMappingURL=conversations.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c380f880786111923382824f87678f07a8ed1341 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"conversations.d.mts","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gB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7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b0792baad565082a8d87d2af7fc9561242360f10 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.ts @@ -0,0 +1,285 @@ +import { APIResource } from "../../core/resource.js"; +import * as Shared from "../shared.js"; +import * as ItemsAPI from "./items.js"; +import { ConversationItem, ConversationItemList, ConversationItemsPage, ItemCreateParams, ItemDeleteParams, ItemListParams, ItemRetrieveParams, Items } from "./items.js"; +import * as ResponsesAPI from "../responses/responses.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Conversations extends APIResource { + items: ItemsAPI.Items; + /** + * Create a conversation with the given ID. + */ + create(body: ConversationCreateParams, options?: RequestOptions): APIPromise; + /** + * Get a conversation with the given ID. + */ + retrieve(conversationID: string, options?: RequestOptions): APIPromise; + /** + * Update a conversation's metadata with the given ID. + */ + update(conversationID: string, body: ConversationUpdateParams, options?: RequestOptions): APIPromise; + /** + * Delete a conversation with the given ID. + */ + delete(conversationID: string, options?: RequestOptions): APIPromise; +} +export interface ComputerScreenshotContent { + /** + * The identifier of an uploaded file that contains the screenshot. + */ + file_id: string | null; + /** + * The URL of the screenshot image. + */ + image_url: string | null; + /** + * Specifies the event type. For a computer screenshot, this property is always set + * to `computer_screenshot`. + */ + type: 'computer_screenshot'; +} +export interface ContainerFileCitationBody { + /** + * The ID of the container file. + */ + container_id: string; + /** + * The index of the last character of the container file citation in the message. + */ + end_index: number; + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the container file cited. + */ + filename: string; + /** + * The index of the first character of the container file citation in the message. + */ + start_index: number; + /** + * The type of the container file citation. Always `container_file_citation`. + */ + type: 'container_file_citation'; +} +export interface Conversation { + /** + * The unique ID of the conversation. + */ + id: string; + /** + * The time at which the conversation was created, measured in seconds since the + * Unix epoch. + */ + created_at: number; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters. + */ + metadata: unknown; + /** + * The object type, which is always `conversation`. + */ + object: 'conversation'; +} +export interface ConversationDeleted { + id: string; + deleted: boolean; + object: 'conversation.deleted'; +} +export interface ConversationDeletedResource { + id: string; + deleted: boolean; + object: 'conversation.deleted'; +} +export interface FileCitationBody { + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the file cited. + */ + filename: string; + /** + * The index of the file in the list of files. + */ + index: number; + /** + * The type of the file citation. Always `file_citation`. + */ + type: 'file_citation'; +} +export interface InputFileContent { + /** + * The ID of the file to be sent to the model. + */ + file_id: string | null; + /** + * The type of the input item. Always `input_file`. + */ + type: 'input_file'; + /** + * The URL of the file to be sent to the model. + */ + file_url?: string; + /** + * The name of the file to be sent to the model. + */ + filename?: string; +} +export interface InputImageContent { + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail: 'low' | 'high' | 'auto'; + /** + * The ID of the file to be sent to the model. + */ + file_id: string | null; + /** + * The URL of the image to be sent to the model. A fully qualified URL or base64 + * encoded image in a data URL. + */ + image_url: string | null; + /** + * The type of the input item. Always `input_image`. + */ + type: 'input_image'; +} +export interface InputTextContent { + /** + * The text input to the model. + */ + text: string; + /** + * The type of the input item. Always `input_text`. + */ + type: 'input_text'; +} +export interface LobProb { + token: string; + bytes: Array; + logprob: number; + top_logprobs: Array; +} +export interface Message { + /** + * The unique ID of the message. + */ + id: string; + /** + * The content of the message + */ + content: Array; + /** + * The role of the message. One of `unknown`, `user`, `assistant`, `system`, + * `critic`, `discriminator`, `developer`, or `tool`. + */ + role: 'unknown' | 'user' | 'assistant' | 'system' | 'critic' | 'discriminator' | 'developer' | 'tool'; + /** + * The status of item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the message. Always set to `message`. + */ + type: 'message'; +} +export interface OutputTextContent { + /** + * The annotations of the text output. + */ + annotations: Array; + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + logprobs?: Array; +} +export interface RefusalContent { + /** + * The refusal explanation from the model. + */ + refusal: string; + /** + * The type of the refusal. Always `refusal`. + */ + type: 'refusal'; +} +export interface SummaryTextContent { + text: string; + type: 'summary_text'; +} +export interface TextContent { + text: string; + type: 'text'; +} +export interface TopLogProb { + token: string; + bytes: Array; + logprob: number; +} +export interface URLCitationBody { + /** + * The index of the last character of the URL citation in the message. + */ + end_index: number; + /** + * The index of the first character of the URL citation in the message. + */ + start_index: number; + /** + * The title of the web resource. + */ + title: string; + /** + * The type of the URL citation. Always `url_citation`. + */ + type: 'url_citation'; + /** + * The URL of the web resource. + */ + url: string; +} +export interface ConversationCreateParams { + /** + * Initial items to include in the conversation context. You may add up to 20 items + * at a time. + */ + items?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. Useful for storing + * additional information about the object in a structured format. + */ + metadata?: Shared.Metadata | null; +} +export interface ConversationUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters. + */ + metadata: { + [key: string]: string; + }; +} +export declare namespace Conversations { + export { type ComputerScreenshotContent as ComputerScreenshotContent, type ContainerFileCitationBody as ContainerFileCitationBody, type Conversation as Conversation, type ConversationDeleted as ConversationDeleted, type ConversationDeletedResource as ConversationDeletedResource, type FileCitationBody as FileCitationBody, type InputFileContent as InputFileContent, type InputImageContent as InputImageContent, type InputTextContent as InputTextContent, type LobProb as LobProb, type Message as Message, type OutputTextContent as OutputTextContent, type RefusalContent as RefusalContent, type SummaryTextContent as SummaryTextContent, type TextContent as TextContent, type TopLogProb as TopLogProb, type URLCitationBody as URLCitationBody, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, }; + export { Items as Items, type ConversationItem as ConversationItem, type ConversationItemList as ConversationItemList, type ConversationItemsPage as ConversationItemsPage, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, type ItemDeleteParams as ItemDeleteParams, }; +} +//# sourceMappingURL=conversations.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..34a9b989a9bebf8283de3c7331b4229822edc901 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,oBAAoB,EACpB,q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B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.js new file mode 100644 index 0000000000000000000000000000000000000000..e26ecb3e6ecc1f40b438cb7566fce7d624f64a84 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.js @@ -0,0 +1,42 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Conversations = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const ItemsAPI = tslib_1.__importStar(require("./items.js")); +const items_1 = require("./items.js"); +const path_1 = require("../../internal/utils/path.js"); +class Conversations extends resource_1.APIResource { + constructor() { + super(...arguments); + this.items = new ItemsAPI.Items(this._client); + } + /** + * Create a conversation with the given ID. + */ + create(body, options) { + return this._client.post('/conversations', { body, ...options }); + } + /** + * Get a conversation with the given ID. + */ + retrieve(conversationID, options) { + return this._client.get((0, path_1.path) `/conversations/${conversationID}`, options); + } + /** + * Update a conversation's metadata with the given ID. + */ + update(conversationID, body, options) { + return this._client.post((0, path_1.path) `/conversations/${conversationID}`, { body, ...options }); + } + /** + * Delete a conversation with the given ID. + */ + delete(conversationID, options) { + return this._client.delete((0, path_1.path) `/conversations/${conversationID}`, options); + } +} +exports.Conversations = Conversations; +Conversations.Items = items_1.Items; +//# sourceMappingURL=conversations.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.js.map new file mode 100644 index 0000000000000000000000000000000000000000..db2da0618218e044414bbd6fe30a34df9145f972 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.js.map @@ -0,0 +1 @@ +{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,6DAAoC;AACpC,sCASiB;AAIjB,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiC3D,CAAC;IA/BC;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AAlCD,sCAkCC;AAsUD,aAAa,CAAC,KAAK,GAAG,aAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ec11b276ebbc412dbb749faff3979c312b2c6d14 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.mjs @@ -0,0 +1,37 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as ItemsAPI from "./items.mjs"; +import { Items, } from "./items.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Conversations extends APIResource { + constructor() { + super(...arguments); + this.items = new ItemsAPI.Items(this._client); + } + /** + * Create a conversation with the given ID. + */ + create(body, options) { + return this._client.post('/conversations', { body, ...options }); + } + /** + * Get a conversation with the given ID. + */ + retrieve(conversationID, options) { + return this._client.get(path `/conversations/${conversationID}`, options); + } + /** + * Update a conversation's metadata with the given ID. + */ + update(conversationID, body, options) { + return this._client.post(path `/conversations/${conversationID}`, { body, ...options }); + } + /** + * Delete a conversation with the given ID. + */ + delete(conversationID, options) { + return this._client.delete(path `/conversations/${conversationID}`, options); + } +} +Conversations.Items = Items; +//# sourceMappingURL=conversations.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..e56a319d1a00537ba65b7fa100fae62bd8f8779e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/conversations.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,QAAQ;OACb,EAQL,KAAK,GACN;OAIM,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiC3D,CAAC;IA/BC;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AAsUD,aAAa,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..71acb2e8f3ba5a040994b43af5ce93fe87ebc39c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.mts @@ -0,0 +1,3 @@ +export { Conversations } from "./conversations.mjs"; +export { Items, type ConversationItem, type ConversationItemList, type ItemCreateParams, type ItemRetrieveParams, type ItemListParams, type ItemDeleteParams, type ConversationItemsPage, } from "./items.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8a13323571445badc6608aa1af157080349110ab --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/conversations/index.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE;OACjB,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ef75cb4858c1ad30173092dc8c0b581a38042b19 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.ts @@ -0,0 +1,3 @@ +export { Conversations } from "./conversations.js"; +export { Items, type ConversationItem, type ConversationItemList, type ItemCreateParams, type ItemRetrieveParams, type ItemListParams, type ItemDeleteParams, type ConversationItemsPage, } from "./items.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6cd1c46886a57333d591223a65b99700a951ba83 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/conversations/index.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE;OACjB,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.js new file mode 100644 index 0000000000000000000000000000000000000000..ecd3e619e9536c907fe78f9c216c222c90d3a93b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Items = exports.Conversations = void 0; +var conversations_1 = require("./conversations.js"); +Object.defineProperty(exports, "Conversations", { enumerable: true, get: function () { return conversations_1.Conversations; } }); +var items_1 = require("./items.js"); +Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return items_1.Items; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..6b9c06709691202c80b9eff0bcd45184ab0d9dd6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/conversations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAAgD;AAAvC,8GAAA,aAAa,OAAA;AACtB,oCASiB;AARf,8FAAA,KAAK,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..52fe5363dc8df9536b55ed8f6d31b4549310e064 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Conversations } from "./conversations.mjs"; +export { Items, } from "./items.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..da4bf82291b6ed0540e21db3f64c7f82180dced3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/conversations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,aAAa,EAAE;OACjB,EACL,KAAK,GAQN"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..897a8cb976032d34d0a50e9f5c0f5ff3226048fc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.mts @@ -0,0 +1,354 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as ConversationsAPI from "./conversations.mjs"; +import * as ResponsesAPI from "../responses/responses.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { ConversationCursorPage, type ConversationCursorPageParams, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Items extends APIResource { + /** + * Create items in a conversation with the given ID. + */ + create(conversationID: string, params: ItemCreateParams, options?: RequestOptions): APIPromise; + /** + * Get a single item from a conversation with the given IDs. + */ + retrieve(itemID: string, params: ItemRetrieveParams, options?: RequestOptions): APIPromise; + /** + * List all items for a conversation with the given ID. + */ + list(conversationID: string, query?: ItemListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an item from a conversation with the given IDs. + */ + delete(itemID: string, params: ItemDeleteParams, options?: RequestOptions): APIPromise; +} +export type ConversationItemsPage = ConversationCursorPage; +/** + * A single item within a conversation. The set of possible types are the same as + * the `output` type of a + * [Response object](https://platform.openai.com/docs/api-reference/responses/object#responses/object-output). + */ +export type ConversationItem = ConversationsAPI.Message | ResponsesAPI.ResponseFunctionToolCallItem | ResponsesAPI.ResponseFunctionToolCallOutputItem | ResponsesAPI.ResponseFileSearchToolCall | ResponsesAPI.ResponseFunctionWebSearch | ConversationItem.ImageGenerationCall | ResponsesAPI.ResponseComputerToolCall | ResponsesAPI.ResponseComputerToolCallOutputItem | ResponsesAPI.ResponseReasoningItem | ResponsesAPI.ResponseCodeInterpreterToolCall | ConversationItem.LocalShellCall | ConversationItem.LocalShellCallOutput | ConversationItem.McpListTools | ConversationItem.McpApprovalRequest | ConversationItem.McpApprovalResponse | ConversationItem.McpCall | ResponsesAPI.ResponseCustomToolCall | ResponsesAPI.ResponseCustomToolCallOutput; +export declare namespace ConversationItem { + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * The output of a local shell tool call. + */ + interface LocalShellCallOutput { + /** + * The unique ID of the local shell tool call generated by the model. + */ + id: string; + /** + * A JSON string of the output of the local shell tool call. + */ + output: string; + /** + * The type of the local shell tool call output. Always `local_shell_call_output`. + */ + type: 'local_shell_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } + /** + * A response to an MCP approval request. + */ + interface McpApprovalResponse { + /** + * The unique ID of the approval response + */ + id: string; + /** + * The ID of the approval request being answered. + */ + approval_request_id: string; + /** + * Whether the request was approved. + */ + approve: boolean; + /** + * The type of the item. Always `mcp_approval_response`. + */ + type: 'mcp_approval_response'; + /** + * Optional reason for the decision. + */ + reason?: string | null; + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } +} +/** + * A list of Conversation items. + */ +export interface ConversationItemList { + /** + * A list of conversation items. + */ + data: Array; + /** + * The ID of the first item in the list. + */ + first_id: string; + /** + * Whether there are more items available. + */ + has_more: boolean; + /** + * The ID of the last item in the list. + */ + last_id: string; + /** + * The type of object returned, must be `list`. + */ + object: 'list'; +} +export interface ItemCreateParams { + /** + * Body param: The items to add to the conversation. You may add up to 20 items at + * a time. + */ + items: Array; + /** + * Query param: Additional fields to include in the response. See the `include` + * parameter for + * [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) + * for more information. + */ + include?: Array; +} +export interface ItemRetrieveParams { + /** + * Path param: The ID of the conversation that contains the item. + */ + conversation_id: string; + /** + * Query param: Additional fields to include in the response. See the `include` + * parameter for + * [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) + * for more information. + */ + include?: Array; +} +export interface ItemListParams extends ConversationCursorPageParams { + /** + * Specify additional output data to include in the model response. Currently + * supported values are: + * + * - `code_interpreter_call.outputs`: Includes the outputs of python code execution + * in code interpreter tool call items. + * - `computer_call_output.output.image_url`: Include image urls from the computer + * call output. + * - `file_search_call.results`: Include the search results of the file search tool + * call. + * - `message.input_image.image_url`: Include image urls from the input message. + * - `message.output_text.logprobs`: Include logprobs with assistant messages. + * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning + * tokens in reasoning item outputs. This enables reasoning items to be used in + * multi-turn conversations when using the Responses API statelessly (like when + * the `store` parameter is set to `false`, or when an organization is enrolled + * in the zero data retention program). + */ + include?: Array; + /** + * The order to return the input items in. Default is `desc`. + * + * - `asc`: Return the input items in ascending order. + * - `desc`: Return the input items in descending order. + */ + order?: 'asc' | 'desc'; +} +export interface ItemDeleteParams { + /** + * The ID of the conversation that contains the item. + */ + conversation_id: string; +} +export declare namespace Items { + export { type ConversationItem as ConversationItem, type ConversationItemList as ConversationItemList, type ConversationItemsPage as ConversationItemsPage, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, type ItemDeleteParams as ItemDeleteParams, }; +} +//# sourceMappingURL=items.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..e041f1599514bd5dff2fa683535ebbe1781f1891 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../src/resources/conversations/items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EACL,sBAAsB,EACtB,KAAK,4BAA4B,EACjC,WAAW,EACZ;OACM,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IASnC;;OAEG;IACH,QAAQ,CACN,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAK/B;;OAEG;IACH,IAAI,CACF,cAAc,EAAE,MAAM,EACtB,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;IAQvD;;OAEG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC,YAAY,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;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAE7C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,cAAe,SAAQ,4BAA4B;IAClE;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f90f523b092032209ba1c2ac89d780373bee718f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.ts @@ -0,0 +1,354 @@ +import { APIResource } from "../../core/resource.js"; +import * as ConversationsAPI from "./conversations.js"; +import * as ResponsesAPI from "../responses/responses.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { ConversationCursorPage, type ConversationCursorPageParams, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Items extends APIResource { + /** + * Create items in a conversation with the given ID. + */ + create(conversationID: string, params: ItemCreateParams, options?: RequestOptions): APIPromise; + /** + * Get a single item from a conversation with the given IDs. + */ + retrieve(itemID: string, params: ItemRetrieveParams, options?: RequestOptions): APIPromise; + /** + * List all items for a conversation with the given ID. + */ + list(conversationID: string, query?: ItemListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an item from a conversation with the given IDs. + */ + delete(itemID: string, params: ItemDeleteParams, options?: RequestOptions): APIPromise; +} +export type ConversationItemsPage = ConversationCursorPage; +/** + * A single item within a conversation. The set of possible types are the same as + * the `output` type of a + * [Response object](https://platform.openai.com/docs/api-reference/responses/object#responses/object-output). + */ +export type ConversationItem = ConversationsAPI.Message | ResponsesAPI.ResponseFunctionToolCallItem | ResponsesAPI.ResponseFunctionToolCallOutputItem | ResponsesAPI.ResponseFileSearchToolCall | ResponsesAPI.ResponseFunctionWebSearch | ConversationItem.ImageGenerationCall | ResponsesAPI.ResponseComputerToolCall | ResponsesAPI.ResponseComputerToolCallOutputItem | ResponsesAPI.ResponseReasoningItem | ResponsesAPI.ResponseCodeInterpreterToolCall | ConversationItem.LocalShellCall | ConversationItem.LocalShellCallOutput | ConversationItem.McpListTools | ConversationItem.McpApprovalRequest | ConversationItem.McpApprovalResponse | ConversationItem.McpCall | ResponsesAPI.ResponseCustomToolCall | ResponsesAPI.ResponseCustomToolCallOutput; +export declare namespace ConversationItem { + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * The output of a local shell tool call. + */ + interface LocalShellCallOutput { + /** + * The unique ID of the local shell tool call generated by the model. + */ + id: string; + /** + * A JSON string of the output of the local shell tool call. + */ + output: string; + /** + * The type of the local shell tool call output. Always `local_shell_call_output`. + */ + type: 'local_shell_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } + /** + * A response to an MCP approval request. + */ + interface McpApprovalResponse { + /** + * The unique ID of the approval response + */ + id: string; + /** + * The ID of the approval request being answered. + */ + approval_request_id: string; + /** + * Whether the request was approved. + */ + approve: boolean; + /** + * The type of the item. Always `mcp_approval_response`. + */ + type: 'mcp_approval_response'; + /** + * Optional reason for the decision. + */ + reason?: string | null; + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } +} +/** + * A list of Conversation items. + */ +export interface ConversationItemList { + /** + * A list of conversation items. + */ + data: Array; + /** + * The ID of the first item in the list. + */ + first_id: string; + /** + * Whether there are more items available. + */ + has_more: boolean; + /** + * The ID of the last item in the list. + */ + last_id: string; + /** + * The type of object returned, must be `list`. + */ + object: 'list'; +} +export interface ItemCreateParams { + /** + * Body param: The items to add to the conversation. You may add up to 20 items at + * a time. + */ + items: Array; + /** + * Query param: Additional fields to include in the response. See the `include` + * parameter for + * [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) + * for more information. + */ + include?: Array; +} +export interface ItemRetrieveParams { + /** + * Path param: The ID of the conversation that contains the item. + */ + conversation_id: string; + /** + * Query param: Additional fields to include in the response. See the `include` + * parameter for + * [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) + * for more information. + */ + include?: Array; +} +export interface ItemListParams extends ConversationCursorPageParams { + /** + * Specify additional output data to include in the model response. Currently + * supported values are: + * + * - `code_interpreter_call.outputs`: Includes the outputs of python code execution + * in code interpreter tool call items. + * - `computer_call_output.output.image_url`: Include image urls from the computer + * call output. + * - `file_search_call.results`: Include the search results of the file search tool + * call. + * - `message.input_image.image_url`: Include image urls from the input message. + * - `message.output_text.logprobs`: Include logprobs with assistant messages. + * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning + * tokens in reasoning item outputs. This enables reasoning items to be used in + * multi-turn conversations when using the Responses API statelessly (like when + * the `store` parameter is set to `false`, or when an organization is enrolled + * in the zero data retention program). + */ + include?: Array; + /** + * The order to return the input items in. Default is `desc`. + * + * - `asc`: Return the input items in ascending order. + * - `desc`: Return the input items in descending order. + */ + order?: 'asc' | 'desc'; +} +export interface ItemDeleteParams { + /** + * The ID of the conversation that contains the item. + */ + conversation_id: string; +} +export declare namespace Items { + export { type ConversationItem as ConversationItem, type ConversationItemList as ConversationItemList, type ConversationItemsPage as ConversationItemsPage, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, type ItemDeleteParams as ItemDeleteParams, }; +} +//# sourceMappingURL=items.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..774028b26dcb0774b462f79e2804c5b32521a199 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../src/resources/conversations/items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EACL,sBAAsB,EACtB,KAA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IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.js new file mode 100644 index 0000000000000000000000000000000000000000..126b35aa1986181deaca08b14dbfec96906f15ef --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.js @@ -0,0 +1,42 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Items = void 0; +const resource_1 = require("../../core/resource.js"); +const pagination_1 = require("../../core/pagination.js"); +const path_1 = require("../../internal/utils/path.js"); +class Items extends resource_1.APIResource { + /** + * Create items in a conversation with the given ID. + */ + create(conversationID, params, options) { + const { include, ...body } = params; + return this._client.post((0, path_1.path) `/conversations/${conversationID}/items`, { + query: { include }, + body, + ...options, + }); + } + /** + * Get a single item from a conversation with the given IDs. + */ + retrieve(itemID, params, options) { + const { conversation_id, ...query } = params; + return this._client.get((0, path_1.path) `/conversations/${conversation_id}/items/${itemID}`, { query, ...options }); + } + /** + * List all items for a conversation with the given ID. + */ + list(conversationID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/conversations/${conversationID}/items`, (pagination_1.ConversationCursorPage), { query, ...options }); + } + /** + * Delete an item from a conversation with the given IDs. + */ + delete(itemID, params, options) { + const { conversation_id } = params; + return this._client.delete((0, path_1.path) `/conversations/${conversation_id}/items/${itemID}`, options); + } +} +exports.Items = Items; +//# sourceMappingURL=items.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.js.map new file mode 100644 index 0000000000000000000000000000000000000000..832030c8e4a338cad0158138627226f950cb8486 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.js.map @@ -0,0 +1 @@ +{"version":3,"file":"items.js","sourceRoot":"","sources":["../../src/resources/conversations/items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAI+B;AAE/B,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,QAAQ,EAAE;YACrE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,eAAe,UAAU,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,IAAI,CACF,cAAsB,EACtB,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,kBAAkB,cAAc,QAAQ,EAC5C,CAAA,mCAAwC,CAAA,EACxC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,MAAc,EACd,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,eAAe,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;CACF;AAvDD,sBAuDC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.mjs new file mode 100644 index 0000000000000000000000000000000000000000..7311706a2660f063d50b9ebb31c72a90dcbac083 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.mjs @@ -0,0 +1,38 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { ConversationCursorPage, } from "../../core/pagination.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Items extends APIResource { + /** + * Create items in a conversation with the given ID. + */ + create(conversationID, params, options) { + const { include, ...body } = params; + return this._client.post(path `/conversations/${conversationID}/items`, { + query: { include }, + body, + ...options, + }); + } + /** + * Get a single item from a conversation with the given IDs. + */ + retrieve(itemID, params, options) { + const { conversation_id, ...query } = params; + return this._client.get(path `/conversations/${conversation_id}/items/${itemID}`, { query, ...options }); + } + /** + * List all items for a conversation with the given ID. + */ + list(conversationID, query = {}, options) { + return this._client.getAPIList(path `/conversations/${conversationID}/items`, (ConversationCursorPage), { query, ...options }); + } + /** + * Delete an item from a conversation with the given IDs. + */ + delete(itemID, params, options) { + const { conversation_id } = params; + return this._client.delete(path `/conversations/${conversation_id}/items/${itemID}`, options); + } +} +//# sourceMappingURL=items.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..4d460eef8fb877d58b36afc7a7c22cdad2cce0b5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/conversations/items.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"items.mjs","sourceRoot":"","sources":["../../src/resources/conversations/items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EACL,sBAAsB,GAGvB;OAEM,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,cAAc,QAAQ,EAAE;YACrE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,eAAe,UAAU,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,IAAI,CACF,cAAsB,EACtB,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,kBAAkB,cAAc,QAAQ,EAC5C,CAAA,sBAAwC,CAAA,EACxC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,MAAc,EACd,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,eAAe,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..60ddf4a5c56c6f21c1440d58f7180fe4b31027c9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.mts @@ -0,0 +1,735 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as Shared from "../shared.mjs"; +import * as GraderModelsAPI from "../graders/grader-models.mjs"; +import * as ResponsesAPI from "../responses/responses.mjs"; +import * as RunsAPI from "./runs/runs.mjs"; +import { CreateEvalCompletionsRunDataSource, CreateEvalJSONLRunDataSource, EvalAPIError, RunCancelParams, RunCancelResponse, RunCreateParams, RunCreateResponse, RunDeleteParams, RunDeleteResponse, RunListParams, RunListResponse, RunListResponsesPage, RunRetrieveParams, RunRetrieveResponse, Runs } from "./runs/runs.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Evals extends APIResource { + runs: RunsAPI.Runs; + /** + * Create the structure of an evaluation that can be used to test a model's + * performance. An evaluation is a set of testing criteria and the config for a + * data source, which dictates the schema of the data used in the evaluation. After + * creating an evaluation, you can run it on different models and model parameters. + * We support several types of graders and datasources. For more information, see + * the [Evals guide](https://platform.openai.com/docs/guides/evals). + */ + create(body: EvalCreateParams, options?: RequestOptions): APIPromise; + /** + * Get an evaluation by ID. + */ + retrieve(evalID: string, options?: RequestOptions): APIPromise; + /** + * Update certain properties of an evaluation. + */ + update(evalID: string, body: EvalUpdateParams, options?: RequestOptions): APIPromise; + /** + * List evaluations for a project. + */ + list(query?: EvalListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an evaluation. + */ + delete(evalID: string, options?: RequestOptions): APIPromise; +} +export type EvalListResponsesPage = CursorPage; +/** + * A CustomDataSourceConfig which specifies the schema of your `item` and + * optionally `sample` namespaces. The response schema defines the shape of the + * data that will be: + * + * - Used to define your testing criteria and + * - What data is required when creating a run + */ +export interface EvalCustomDataSourceConfig { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `custom`. + */ + type: 'custom'; +} +/** + * @deprecated Deprecated in favor of LogsDataSourceConfig. + */ +export interface EvalStoredCompletionsDataSourceConfig { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `stored_completions`. + */ + type: 'stored_completions'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalCreateResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalCreateResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalCreateResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalRetrieveResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalRetrieveResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalRetrieveResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalUpdateResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalUpdateResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalUpdateResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalListResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalListResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalListResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +export interface EvalDeleteResponse { + deleted: boolean; + eval_id: string; + object: string; +} +export interface EvalCreateParams { + /** + * The configuration for the data source used for the evaluation runs. Dictates the + * schema of the data used in the evaluation. + */ + data_source_config: EvalCreateParams.Custom | EvalCreateParams.Logs | EvalCreateParams.StoredCompletions; + /** + * A list of graders for all eval runs in this group. Graders can reference + * variables in the data source using double curly braces notation, like + * `{{item.variable_name}}`. To reference the model's output, use the `sample` + * namespace (ie, `{{sample.output_text}}`). + */ + testing_criteria: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name?: string; +} +export declare namespace EvalCreateParams { + /** + * A CustomDataSourceConfig object that defines the schema for the data source used + * for the evaluation runs. This schema is used to define the shape of the data + * that will be: + * + * - Used to define your testing criteria and + * - What data is required when creating a run + */ + interface Custom { + /** + * The json schema for each row in the data source. + */ + item_schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `custom`. + */ + type: 'custom'; + /** + * Whether the eval should expect you to populate the sample namespace (ie, by + * generating responses off of your data source) + */ + include_sample_schema?: boolean; + } + /** + * A data source config which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. + */ + interface Logs { + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Metadata filters for the logs data source. + */ + metadata?: { + [key: string]: unknown; + }; + } + /** + * @deprecated Deprecated in favor of LogsDataSourceConfig. + */ + interface StoredCompletions { + /** + * The type of data source. Always `stored_completions`. + */ + type: 'stored_completions'; + /** + * Metadata filters for the stored completions data source. + */ + metadata?: { + [key: string]: unknown; + }; + } + /** + * A LabelModelGrader object which uses a model to assign labels to each item in + * the evaluation. + */ + interface LabelModel { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + input: Array; + /** + * The labels to classify to each item in the evaluation. + */ + labels: Array; + /** + * The model to use for the evaluation. Must support structured outputs. + */ + model: string; + /** + * The name of the grader. + */ + name: string; + /** + * The labels that indicate a passing result. Must be a subset of labels. + */ + passing_labels: Array; + /** + * The object type, which is always `label_model`. + */ + type: 'label_model'; + } + namespace LabelModel { + interface SimpleInputMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface TextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface Python extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface ScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +export interface EvalUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Rename the evaluation. + */ + name?: string; +} +export interface EvalListParams extends CursorPageParams { + /** + * Sort order for evals by timestamp. Use `asc` for ascending order or `desc` for + * descending order. + */ + order?: 'asc' | 'desc'; + /** + * Evals can be ordered by creation time or last updated time. Use `created_at` for + * creation time or `updated_at` for last updated time. + */ + order_by?: 'created_at' | 'updated_at'; +} +export declare namespace Evals { + export { type EvalCustomDataSourceConfig as EvalCustomDataSourceConfig, type EvalStoredCompletionsDataSourceConfig as EvalStoredCompletionsDataSourceConfig, type EvalCreateResponse as EvalCreateResponse, type EvalRetrieveResponse as EvalRetrieveResponse, type EvalUpdateResponse as EvalUpdateResponse, type EvalListResponse as EvalListResponse, type EvalDeleteResponse as EvalDeleteResponse, type EvalListResponsesPage as EvalListResponsesPage, type EvalCreateParams as EvalCreateParams, type EvalUpdateParams as EvalUpdateParams, type EvalListParams as EvalListParams, }; + export { Runs as Runs, type CreateEvalCompletionsRunDataSource as CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource as CreateEvalJSONLRunDataSource, type EvalAPIError as EvalAPIError, type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunDeleteResponse as RunDeleteResponse, type RunCancelResponse as RunCancelResponse, type RunListResponsesPage as RunListResponsesPage, type RunCreateParams as RunCreateParams, type RunRetrieveParams as RunRetrieveParams, type RunListParams as RunListParams, type RunDeleteParams as RunDeleteParams, type RunCancelParams as RunCancelParams, }; +} +//# sourceMappingURL=evals.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..f383a80443fc9ad30dd610e0fba2a57f677d360d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"evals.d.mts","sourceRoot":"","sources":["../../src/resources/evals/evals.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,eAAe;OACpB,KAAK,YAAY;OACjB,KAAK,OAAO;OACZ,EACL,kCAAkC,EAClC,4BAA4B,EAC5B,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACL;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,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-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..41df2f9094d9c05439619aa7f83846e3c825a5b1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.ts @@ -0,0 +1,735 @@ +import { APIResource } from "../../core/resource.js"; +import * as Shared from "../shared.js"; +import * as GraderModelsAPI from "../graders/grader-models.js"; +import * as ResponsesAPI from "../responses/responses.js"; +import * as RunsAPI from "./runs/runs.js"; +import { CreateEvalCompletionsRunDataSource, CreateEvalJSONLRunDataSource, EvalAPIError, RunCancelParams, RunCancelResponse, RunCreateParams, RunCreateResponse, RunDeleteParams, RunDeleteResponse, RunListParams, RunListResponse, RunListResponsesPage, RunRetrieveParams, RunRetrieveResponse, Runs } from "./runs/runs.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Evals extends APIResource { + runs: RunsAPI.Runs; + /** + * Create the structure of an evaluation that can be used to test a model's + * performance. An evaluation is a set of testing criteria and the config for a + * data source, which dictates the schema of the data used in the evaluation. After + * creating an evaluation, you can run it on different models and model parameters. + * We support several types of graders and datasources. For more information, see + * the [Evals guide](https://platform.openai.com/docs/guides/evals). + */ + create(body: EvalCreateParams, options?: RequestOptions): APIPromise; + /** + * Get an evaluation by ID. + */ + retrieve(evalID: string, options?: RequestOptions): APIPromise; + /** + * Update certain properties of an evaluation. + */ + update(evalID: string, body: EvalUpdateParams, options?: RequestOptions): APIPromise; + /** + * List evaluations for a project. + */ + list(query?: EvalListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an evaluation. + */ + delete(evalID: string, options?: RequestOptions): APIPromise; +} +export type EvalListResponsesPage = CursorPage; +/** + * A CustomDataSourceConfig which specifies the schema of your `item` and + * optionally `sample` namespaces. The response schema defines the shape of the + * data that will be: + * + * - Used to define your testing criteria and + * - What data is required when creating a run + */ +export interface EvalCustomDataSourceConfig { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `custom`. + */ + type: 'custom'; +} +/** + * @deprecated Deprecated in favor of LogsDataSourceConfig. + */ +export interface EvalStoredCompletionsDataSourceConfig { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `stored_completions`. + */ + type: 'stored_completions'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalCreateResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalCreateResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalCreateResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalRetrieveResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalRetrieveResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalRetrieveResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalUpdateResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalUpdateResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalUpdateResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +/** + * An Eval object with a data source config and testing criteria. An Eval + * represents a task to be done for your LLM integration. Like: + * + * - Improve the quality of my chatbot + * - See how well my chatbot handles customer support + * - Check if o4-mini is better at my usecase than gpt-4o + */ +export interface EvalListResponse { + /** + * Unique identifier for the evaluation. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the eval was created. + */ + created_at: number; + /** + * Configuration of data sources used in runs of the evaluation. + */ + data_source_config: EvalCustomDataSourceConfig | EvalListResponse.Logs | EvalStoredCompletionsDataSourceConfig; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name: string; + /** + * The object type. + */ + object: 'eval'; + /** + * A list of testing criteria. + */ + testing_criteria: Array; +} +export declare namespace EvalListResponse { + /** + * A LogsDataSourceConfig which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The + * schema returned by this data source config is used to defined what variables are + * available in your evals. `item` and `sample` are both defined when using this + * data source config. + */ + interface Logs { + /** + * The json schema for the run data source items. Learn how to build JSON schemas + * [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface EvalGraderTextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface EvalGraderPython extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface EvalGraderScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +export interface EvalDeleteResponse { + deleted: boolean; + eval_id: string; + object: string; +} +export interface EvalCreateParams { + /** + * The configuration for the data source used for the evaluation runs. Dictates the + * schema of the data used in the evaluation. + */ + data_source_config: EvalCreateParams.Custom | EvalCreateParams.Logs | EvalCreateParams.StoredCompletions; + /** + * A list of graders for all eval runs in this group. Graders can reference + * variables in the data source using double curly braces notation, like + * `{{item.variable_name}}`. To reference the model's output, use the `sample` + * namespace (ie, `{{sample.output_text}}`). + */ + testing_criteria: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the evaluation. + */ + name?: string; +} +export declare namespace EvalCreateParams { + /** + * A CustomDataSourceConfig object that defines the schema for the data source used + * for the evaluation runs. This schema is used to define the shape of the data + * that will be: + * + * - Used to define your testing criteria and + * - What data is required when creating a run + */ + interface Custom { + /** + * The json schema for each row in the data source. + */ + item_schema: { + [key: string]: unknown; + }; + /** + * The type of data source. Always `custom`. + */ + type: 'custom'; + /** + * Whether the eval should expect you to populate the sample namespace (ie, by + * generating responses off of your data source) + */ + include_sample_schema?: boolean; + } + /** + * A data source config which specifies the metadata property of your logs query. + * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. + */ + interface Logs { + /** + * The type of data source. Always `logs`. + */ + type: 'logs'; + /** + * Metadata filters for the logs data source. + */ + metadata?: { + [key: string]: unknown; + }; + } + /** + * @deprecated Deprecated in favor of LogsDataSourceConfig. + */ + interface StoredCompletions { + /** + * The type of data source. Always `stored_completions`. + */ + type: 'stored_completions'; + /** + * Metadata filters for the stored completions data source. + */ + metadata?: { + [key: string]: unknown; + }; + } + /** + * A LabelModelGrader object which uses a model to assign labels to each item in + * the evaluation. + */ + interface LabelModel { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + input: Array; + /** + * The labels to classify to each item in the evaluation. + */ + labels: Array; + /** + * The model to use for the evaluation. Must support structured outputs. + */ + model: string; + /** + * The name of the grader. + */ + name: string; + /** + * The labels that indicate a passing result. Must be a subset of labels. + */ + passing_labels: Array; + /** + * The object type, which is always `label_model`. + */ + type: 'label_model'; + } + namespace LabelModel { + interface SimpleInputMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + /** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ + interface TextSimilarity extends GraderModelsAPI.TextSimilarityGrader { + /** + * The threshold for the score. + */ + pass_threshold: number; + } + /** + * A PythonGrader object that runs a python script on the input. + */ + interface Python extends GraderModelsAPI.PythonGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } + /** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ + interface ScoreModel extends GraderModelsAPI.ScoreModelGrader { + /** + * The threshold for the score. + */ + pass_threshold?: number; + } +} +export interface EvalUpdateParams { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Rename the evaluation. + */ + name?: string; +} +export interface EvalListParams extends CursorPageParams { + /** + * Sort order for evals by timestamp. Use `asc` for ascending order or `desc` for + * descending order. + */ + order?: 'asc' | 'desc'; + /** + * Evals can be ordered by creation time or last updated time. Use `created_at` for + * creation time or `updated_at` for last updated time. + */ + order_by?: 'created_at' | 'updated_at'; +} +export declare namespace Evals { + export { type EvalCustomDataSourceConfig as EvalCustomDataSourceConfig, type EvalStoredCompletionsDataSourceConfig as EvalStoredCompletionsDataSourceConfig, type EvalCreateResponse as EvalCreateResponse, type EvalRetrieveResponse as EvalRetrieveResponse, type EvalUpdateResponse as EvalUpdateResponse, type EvalListResponse as EvalListResponse, type EvalDeleteResponse as EvalDeleteResponse, type EvalListResponsesPage as EvalListResponsesPage, type EvalCreateParams as EvalCreateParams, type EvalUpdateParams as EvalUpdateParams, type EvalListParams as EvalListParams, }; + export { Runs as Runs, type CreateEvalCompletionsRunDataSource as CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource as CreateEvalJSONLRunDataSource, type EvalAPIError as EvalAPIError, type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunDeleteResponse as RunDeleteResponse, type RunCancelResponse as RunCancelResponse, type RunListResponsesPage as RunListResponsesPage, type RunCreateParams as RunCreateParams, type RunRetrieveParams as RunRetrieveParams, type RunListParams as RunListParams, type RunDeleteParams as RunDeleteParams, type RunCancelParams as RunCancelParams, }; +} +//# sourceMappingURL=evals.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..4ed4f83333b26cb9d2afe28799c5119fe36e69ab --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"evals.d.ts","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K,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.js new file mode 100644 index 0000000000000000000000000000000000000000..7f8390fd785e9bdc435633db43a84bb0abbd86e0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.js @@ -0,0 +1,54 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Evals = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const RunsAPI = tslib_1.__importStar(require("./runs/runs.js")); +const runs_1 = require("./runs/runs.js"); +const pagination_1 = require("../../core/pagination.js"); +const path_1 = require("../../internal/utils/path.js"); +class Evals extends resource_1.APIResource { + constructor() { + super(...arguments); + this.runs = new RunsAPI.Runs(this._client); + } + /** + * Create the structure of an evaluation that can be used to test a model's + * performance. An evaluation is a set of testing criteria and the config for a + * data source, which dictates the schema of the data used in the evaluation. After + * creating an evaluation, you can run it on different models and model parameters. + * We support several types of graders and datasources. For more information, see + * the [Evals guide](https://platform.openai.com/docs/guides/evals). + */ + create(body, options) { + return this._client.post('/evals', { body, ...options }); + } + /** + * Get an evaluation by ID. + */ + retrieve(evalID, options) { + return this._client.get((0, path_1.path) `/evals/${evalID}`, options); + } + /** + * Update certain properties of an evaluation. + */ + update(evalID, body, options) { + return this._client.post((0, path_1.path) `/evals/${evalID}`, { body, ...options }); + } + /** + * List evaluations for a project. + */ + list(query = {}, options) { + return this._client.getAPIList('/evals', (pagination_1.CursorPage), { query, ...options }); + } + /** + * Delete an evaluation. + */ + delete(evalID, options) { + return this._client.delete((0, path_1.path) `/evals/${evalID}`, options); + } +} +exports.Evals = Evals; +Evals.Runs = runs_1.Runs; +//# sourceMappingURL=evals.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.js.map new file mode 100644 index 0000000000000000000000000000000000000000..25143cc67781b0438c56f9194b857cc436668fbf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.js.map @@ -0,0 +1 @@ +{"version":3,"file":"evals.js","sourceRoot":"","sources":["../../src/resources/evals/evals.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAIlD,gEAAuC;AACvC,yCAgBqB;AAErB,yDAAuF;AAEvF,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4CtD,CAAC;IA1CC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA,uBAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AA7CD,sBA6CC;AAmzBD,KAAK,CAAC,IAAI,GAAG,WAAI,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.mjs new file mode 100644 index 0000000000000000000000000000000000000000..cc89ea39e3f28f1d44f4db87486fa880ca5242ac --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.mjs @@ -0,0 +1,49 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as RunsAPI from "./runs/runs.mjs"; +import { Runs, } from "./runs/runs.mjs"; +import { CursorPage } from "../../core/pagination.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Evals extends APIResource { + constructor() { + super(...arguments); + this.runs = new RunsAPI.Runs(this._client); + } + /** + * Create the structure of an evaluation that can be used to test a model's + * performance. An evaluation is a set of testing criteria and the config for a + * data source, which dictates the schema of the data used in the evaluation. After + * creating an evaluation, you can run it on different models and model parameters. + * We support several types of graders and datasources. For more information, see + * the [Evals guide](https://platform.openai.com/docs/guides/evals). + */ + create(body, options) { + return this._client.post('/evals', { body, ...options }); + } + /** + * Get an evaluation by ID. + */ + retrieve(evalID, options) { + return this._client.get(path `/evals/${evalID}`, options); + } + /** + * Update certain properties of an evaluation. + */ + update(evalID, body, options) { + return this._client.post(path `/evals/${evalID}`, { body, ...options }); + } + /** + * List evaluations for a project. + */ + list(query = {}, options) { + return this._client.getAPIList('/evals', (CursorPage), { query, ...options }); + } + /** + * Delete an evaluation. + */ + delete(evalID, options) { + return this._client.delete(path `/evals/${evalID}`, options); + } +} +Evals.Runs = Runs; +//# sourceMappingURL=evals.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..ee931b2831f4aa35b22a92c7d35cbb6f161185e4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/evals.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"evals.mjs","sourceRoot":"","sources":["../../src/resources/evals/evals.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OA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1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a2919763be02dc1b944e9e628b197e975a884c45 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.mts @@ -0,0 +1,3 @@ +export { Evals, type EvalCustomDataSourceConfig, type EvalStoredCompletionsDataSourceConfig, type EvalCreateResponse, type EvalRetrieveResponse, type EvalUpdateResponse, type EvalListResponse, type EvalDeleteResponse, type EvalCreateParams, type EvalUpdateParams, type EvalListParams, type EvalListResponsesPage, } from "./evals.mjs"; +export { Runs, type CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource, type EvalAPIError, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunDeleteResponse, type RunCancelResponse, type RunCreateParams, type RunRetrieveParams, type RunListParams, type RunDeleteParams, type RunCancelParams, type RunListResponsesPage, } from "./runs/index.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..5559f7dc27a43be492f8b11e1c36ec6ae6353ac0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/evals/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B;OACM,EACL,IAAI,EACJ,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d6fbeab4ab89ffd2f9913947ac111858aa8f7a0f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.ts @@ -0,0 +1,3 @@ +export { Evals, type EvalCustomDataSourceConfig, type EvalStoredCompletionsDataSourceConfig, type EvalCreateResponse, type EvalRetrieveResponse, type EvalUpdateResponse, type EvalListResponse, type EvalDeleteResponse, type EvalCreateParams, type EvalUpdateParams, type EvalListParams, type EvalListResponsesPage, } from "./evals.js"; +export { Runs, type CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource, type EvalAPIError, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunDeleteResponse, type RunCancelResponse, type RunCreateParams, type RunRetrieveParams, type RunListParams, type RunDeleteParams, type RunCancelParams, type RunListResponsesPage, } from "./runs/index.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..86880f40ab0fbc000e43c9780f2631f43a898f26 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/evals/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B;OACM,EACL,IAAI,EACJ,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.js new file mode 100644 index 0000000000000000000000000000000000000000..fdb440d8d70b3d6326316468457a879b829a9d3d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Runs = exports.Evals = void 0; +var evals_1 = require("./evals.js"); +Object.defineProperty(exports, "Evals", { enumerable: true, get: function () { return evals_1.Evals; } }); +var index_1 = require("./runs/index.js"); +Object.defineProperty(exports, "Runs", { enumerable: true, get: function () { return index_1.Runs; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a93a3202dcc23e3be47ab9ee69c2ad5851b9270a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/evals/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,yCAgBsB;AAfpB,6FAAA,IAAI,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..3611911ddcb95594bc76922d12e6885dc6dd7776 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Evals, } from "./evals.mjs"; +export { Runs, } from "./runs/index.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..80b47e5974ff84cdb27ca1f452bda70d259b9afc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/evals/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAYN;OACM,EACL,IAAI,GAeL"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..57b66725a392c4f0e4adf8202808d5e737b33e7c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.mts @@ -0,0 +1,2 @@ +export * from "./runs/index.mjs"; +//# sourceMappingURL=runs.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..39d1465cacf1fa6c715a0e1b181319be996d04aa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../src/resources/evals/runs.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d50499c2deb266906ba85f0a239350d9a6827a5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.ts @@ -0,0 +1,2 @@ +export * from "./runs/index.js"; +//# sourceMappingURL=runs.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b1ab27190cf5853eff53d472c88c94008833f097 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../src/resources/evals/runs.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.js new file mode 100644 index 0000000000000000000000000000000000000000..8da6dc531d8a4f0604586f5e043cc74fabb5ee62 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./runs/index.js"), exports); +//# sourceMappingURL=runs.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.js.map new file mode 100644 index 0000000000000000000000000000000000000000..80fdd9abdc3e76b5414b5309676babe14302430b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../src/resources/evals/runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.mjs new file mode 100644 index 0000000000000000000000000000000000000000..02d03b3d35c7c6d2bd273c88bb7f0a5c82274e9f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./runs/index.mjs"; +//# sourceMappingURL=runs.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9a60d93f87dcd9cf004294aa9faf870416ecd139 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../src/resources/evals/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..cc9e5bf7bbfe97098142af351e73b500a770a4a7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.mts @@ -0,0 +1,3 @@ +export { OutputItems, type OutputItemRetrieveResponse, type OutputItemListResponse, type OutputItemRetrieveParams, type OutputItemListParams, type OutputItemListResponsesPage, } from "./output-items.mjs"; +export { Runs, type CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource, type EvalAPIError, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunDeleteResponse, type RunCancelResponse, type RunCreateParams, type RunRetrieveParams, type RunListParams, type RunDeleteParams, type RunCancelParams, type RunListResponsesPage, } from "./runs.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..1170b0f6180da7cc8130204e879f34d1d99e16d3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/evals/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a091ac5b1a1c5d0f2b5c18354c92fd862ec1890e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.ts @@ -0,0 +1,3 @@ +export { OutputItems, type OutputItemRetrieveResponse, type OutputItemListResponse, type OutputItemRetrieveParams, type OutputItemListParams, type OutputItemListResponsesPage, } from "./output-items.js"; +export { Runs, type CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource, type EvalAPIError, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunDeleteResponse, type RunCancelResponse, type RunCreateParams, type RunRetrieveParams, type RunListParams, type RunDeleteParams, type RunCancelParams, type RunListResponsesPage, } from "./runs.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..353487e8ab32102a9dbb49a2aba05e1c00576722 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/evals/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..26ad581e3972cef9dbebc1b7da635b438f0ea2d8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Runs = exports.OutputItems = void 0; +var output_items_1 = require("./output-items.js"); +Object.defineProperty(exports, "OutputItems", { enumerable: true, get: function () { return output_items_1.OutputItems; } }); +var runs_1 = require("./runs.js"); +Object.defineProperty(exports, "Runs", { enumerable: true, get: function () { return runs_1.Runs; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..40d1af1266698b72509c1073aecc1bf209f22430 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/evals/runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,kCAgBgB;AAfd,4FAAA,IAAI,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e96b970987221a9946bb5f04f7abba7b946ff073 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { OutputItems, } from "./output-items.mjs"; +export { Runs, } from "./runs.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..dbccad7fea13fbf8e6f146b614a64252e0952e11 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/evals/runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAMZ;OACM,EACL,IAAI,GAeL"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a46fbce19ac4bce72363a2c3df1a0350d87b81bc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.mts @@ -0,0 +1,330 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as RunsAPI from "./runs.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class OutputItems extends APIResource { + /** + * Get an evaluation run output item by ID. + */ + retrieve(outputItemID: string, params: OutputItemRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Get a list of output items for an evaluation run. + */ + list(runID: string, params: OutputItemListParams, options?: RequestOptions): PagePromise; +} +export type OutputItemListResponsesPage = CursorPage; +/** + * A schema representing an evaluation run output item. + */ +export interface OutputItemRetrieveResponse { + /** + * Unique identifier for the evaluation run output item. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Details of the input data source item. + */ + datasource_item: { + [key: string]: unknown; + }; + /** + * The identifier for the data source item. + */ + datasource_item_id: number; + /** + * The identifier of the evaluation group. + */ + eval_id: string; + /** + * The type of the object. Always "eval.run.output_item". + */ + object: 'eval.run.output_item'; + /** + * A list of results from the evaluation run. + */ + results: Array<{ + [key: string]: unknown; + }>; + /** + * The identifier of the evaluation run associated with this output item. + */ + run_id: string; + /** + * A sample containing the input and output of the evaluation run. + */ + sample: OutputItemRetrieveResponse.Sample; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace OutputItemRetrieveResponse { + /** + * A sample containing the input and output of the evaluation run. + */ + interface Sample { + /** + * An object representing an error response from the Eval API. + */ + error: RunsAPI.EvalAPIError; + /** + * The reason why the sample generation was finished. + */ + finish_reason: string; + /** + * An array of input messages. + */ + input: Array; + /** + * The maximum number of tokens allowed for completion. + */ + max_completion_tokens: number; + /** + * The model used for generating the sample. + */ + model: string; + /** + * An array of output messages. + */ + output: Array; + /** + * The seed used for generating the sample. + */ + seed: number; + /** + * The sampling temperature used. + */ + temperature: number; + /** + * The top_p value used for sampling. + */ + top_p: number; + /** + * Token usage details for the sample. + */ + usage: Sample.Usage; + } + namespace Sample { + /** + * An input message. + */ + interface Input { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message sender (e.g., system, user, developer). + */ + role: string; + } + interface Output { + /** + * The content of the message. + */ + content?: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role?: string; + } + /** + * Token usage details for the sample. + */ + interface Usage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + } +} +/** + * A schema representing an evaluation run output item. + */ +export interface OutputItemListResponse { + /** + * Unique identifier for the evaluation run output item. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Details of the input data source item. + */ + datasource_item: { + [key: string]: unknown; + }; + /** + * The identifier for the data source item. + */ + datasource_item_id: number; + /** + * The identifier of the evaluation group. + */ + eval_id: string; + /** + * The type of the object. Always "eval.run.output_item". + */ + object: 'eval.run.output_item'; + /** + * A list of results from the evaluation run. + */ + results: Array<{ + [key: string]: unknown; + }>; + /** + * The identifier of the evaluation run associated with this output item. + */ + run_id: string; + /** + * A sample containing the input and output of the evaluation run. + */ + sample: OutputItemListResponse.Sample; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace OutputItemListResponse { + /** + * A sample containing the input and output of the evaluation run. + */ + interface Sample { + /** + * An object representing an error response from the Eval API. + */ + error: RunsAPI.EvalAPIError; + /** + * The reason why the sample generation was finished. + */ + finish_reason: string; + /** + * An array of input messages. + */ + input: Array; + /** + * The maximum number of tokens allowed for completion. + */ + max_completion_tokens: number; + /** + * The model used for generating the sample. + */ + model: string; + /** + * An array of output messages. + */ + output: Array; + /** + * The seed used for generating the sample. + */ + seed: number; + /** + * The sampling temperature used. + */ + temperature: number; + /** + * The top_p value used for sampling. + */ + top_p: number; + /** + * Token usage details for the sample. + */ + usage: Sample.Usage; + } + namespace Sample { + /** + * An input message. + */ + interface Input { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message sender (e.g., system, user, developer). + */ + role: string; + } + interface Output { + /** + * The content of the message. + */ + content?: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role?: string; + } + /** + * Token usage details for the sample. + */ + interface Usage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + } +} +export interface OutputItemRetrieveParams { + /** + * The ID of the evaluation to retrieve runs for. + */ + eval_id: string; + /** + * The ID of the run to retrieve. + */ + run_id: string; +} +export interface OutputItemListParams extends CursorPageParams { + /** + * Path param: The ID of the evaluation to retrieve runs for. + */ + eval_id: string; + /** + * Query param: Sort order for output items by timestamp. Use `asc` for ascending + * order or `desc` for descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; + /** + * Query param: Filter output items by status. Use `failed` to filter by failed + * output items or `pass` to filter by passed output items. + */ + status?: 'fail' | 'pass'; +} +export declare namespace OutputItems { + export { type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, type OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemRetrieveParams as OutputItemRetrieveParams, type OutputItemListParams as OutputItemListParams, }; +} +//# sourceMappingURL=output-items.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..36259e953175e8cfbbdb9e93163154a016ab49ed --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"output-items.d.mts","sourceRoot":"","sources":["../../../src/resources/evals/runs/output-items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAKzC;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,W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E,KAAK,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3e59d06d6826828d86e75f8922ff96c37173c24b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.ts @@ -0,0 +1,330 @@ +import { APIResource } from "../../../core/resource.js"; +import * as RunsAPI from "./runs.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class OutputItems extends APIResource { + /** + * Get an evaluation run output item by ID. + */ + retrieve(outputItemID: string, params: OutputItemRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Get a list of output items for an evaluation run. + */ + list(runID: string, params: OutputItemListParams, options?: RequestOptions): PagePromise; +} +export type OutputItemListResponsesPage = CursorPage; +/** + * A schema representing an evaluation run output item. + */ +export interface OutputItemRetrieveResponse { + /** + * Unique identifier for the evaluation run output item. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Details of the input data source item. + */ + datasource_item: { + [key: string]: unknown; + }; + /** + * The identifier for the data source item. + */ + datasource_item_id: number; + /** + * The identifier of the evaluation group. + */ + eval_id: string; + /** + * The type of the object. Always "eval.run.output_item". + */ + object: 'eval.run.output_item'; + /** + * A list of results from the evaluation run. + */ + results: Array<{ + [key: string]: unknown; + }>; + /** + * The identifier of the evaluation run associated with this output item. + */ + run_id: string; + /** + * A sample containing the input and output of the evaluation run. + */ + sample: OutputItemRetrieveResponse.Sample; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace OutputItemRetrieveResponse { + /** + * A sample containing the input and output of the evaluation run. + */ + interface Sample { + /** + * An object representing an error response from the Eval API. + */ + error: RunsAPI.EvalAPIError; + /** + * The reason why the sample generation was finished. + */ + finish_reason: string; + /** + * An array of input messages. + */ + input: Array; + /** + * The maximum number of tokens allowed for completion. + */ + max_completion_tokens: number; + /** + * The model used for generating the sample. + */ + model: string; + /** + * An array of output messages. + */ + output: Array; + /** + * The seed used for generating the sample. + */ + seed: number; + /** + * The sampling temperature used. + */ + temperature: number; + /** + * The top_p value used for sampling. + */ + top_p: number; + /** + * Token usage details for the sample. + */ + usage: Sample.Usage; + } + namespace Sample { + /** + * An input message. + */ + interface Input { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message sender (e.g., system, user, developer). + */ + role: string; + } + interface Output { + /** + * The content of the message. + */ + content?: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role?: string; + } + /** + * Token usage details for the sample. + */ + interface Usage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + } +} +/** + * A schema representing an evaluation run output item. + */ +export interface OutputItemListResponse { + /** + * Unique identifier for the evaluation run output item. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Details of the input data source item. + */ + datasource_item: { + [key: string]: unknown; + }; + /** + * The identifier for the data source item. + */ + datasource_item_id: number; + /** + * The identifier of the evaluation group. + */ + eval_id: string; + /** + * The type of the object. Always "eval.run.output_item". + */ + object: 'eval.run.output_item'; + /** + * A list of results from the evaluation run. + */ + results: Array<{ + [key: string]: unknown; + }>; + /** + * The identifier of the evaluation run associated with this output item. + */ + run_id: string; + /** + * A sample containing the input and output of the evaluation run. + */ + sample: OutputItemListResponse.Sample; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace OutputItemListResponse { + /** + * A sample containing the input and output of the evaluation run. + */ + interface Sample { + /** + * An object representing an error response from the Eval API. + */ + error: RunsAPI.EvalAPIError; + /** + * The reason why the sample generation was finished. + */ + finish_reason: string; + /** + * An array of input messages. + */ + input: Array; + /** + * The maximum number of tokens allowed for completion. + */ + max_completion_tokens: number; + /** + * The model used for generating the sample. + */ + model: string; + /** + * An array of output messages. + */ + output: Array; + /** + * The seed used for generating the sample. + */ + seed: number; + /** + * The sampling temperature used. + */ + temperature: number; + /** + * The top_p value used for sampling. + */ + top_p: number; + /** + * Token usage details for the sample. + */ + usage: Sample.Usage; + } + namespace Sample { + /** + * An input message. + */ + interface Input { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message sender (e.g., system, user, developer). + */ + role: string; + } + interface Output { + /** + * The content of the message. + */ + content?: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role?: string; + } + /** + * Token usage details for the sample. + */ + interface Usage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + } +} +export interface OutputItemRetrieveParams { + /** + * The ID of the evaluation to retrieve runs for. + */ + eval_id: string; + /** + * The ID of the run to retrieve. + */ + run_id: string; +} +export interface OutputItemListParams extends CursorPageParams { + /** + * Path param: The ID of the evaluation to retrieve runs for. + */ + eval_id: string; + /** + * Query param: Sort order for output items by timestamp. Use `asc` for ascending + * order or `desc` for descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; + /** + * Query param: Filter output items by status. Use `failed` to filter by failed + * output items or `pass` to filter by passed output items. + */ + status?: 'fail' | 'pass'; +} +export declare namespace OutputItems { + export { type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, type OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemRetrieveParams as OutputItemRetrieveParams, type OutputItemListParams as OutputItemListParams, }; +} +//# sourceMappingURL=output-items.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ee2cc9835fb7b0d5eddb6b1b31c3aeae2b82f1ae --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"output-items.d.ts","sourceRoot":"","sources":["../../../src/resources/evals/runs/output-items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAKzC;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2BAA2B,EAAE,sBAAsB,CAAC;CAQpE;AAED,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM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C;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.js new file mode 100644 index 0000000000000000000000000000000000000000..457186de4801ec54e18adc01a8da2347c0e982b3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.js @@ -0,0 +1,25 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OutputItems = void 0; +const resource_1 = require("../../../core/resource.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +class OutputItems extends resource_1.APIResource { + /** + * Get an evaluation run output item by ID. + */ + retrieve(outputItemID, params, options) { + const { eval_id, run_id } = params; + return this._client.get((0, path_1.path) `/evals/${eval_id}/runs/${run_id}/output_items/${outputItemID}`, options); + } + /** + * Get a list of output items for an evaluation run. + */ + list(runID, params, options) { + const { eval_id, ...query } = params; + return this._client.getAPIList((0, path_1.path) `/evals/${eval_id}/runs/${runID}/output_items`, (pagination_1.CursorPage), { query, ...options }); + } +} +exports.OutputItems = OutputItems; +//# sourceMappingURL=output-items.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7291898d3ad563f679ac73b85805c6b5e233c978 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.js.map @@ -0,0 +1 @@ +{"version":3,"file":"output-items.js","sourceRoot":"","sources":["../../../src/resources/evals/runs/output-items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,4DAA0F;AAE1F,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,YAAoB,EACpB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,SAAS,MAAM,iBAAiB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,IAAI,CACF,KAAa,EACb,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,UAAU,OAAO,SAAS,KAAK,eAAe,EAClD,CAAA,uBAAkC,CAAA,EAClC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AA5BD,kCA4BC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ed950a78c0deb9261e7da8e501ed442648233432 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.mjs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class OutputItems extends APIResource { + /** + * Get an evaluation run output item by ID. + */ + retrieve(outputItemID, params, options) { + const { eval_id, run_id } = params; + return this._client.get(path `/evals/${eval_id}/runs/${run_id}/output_items/${outputItemID}`, options); + } + /** + * Get a list of output items for an evaluation run. + */ + list(runID, params, options) { + const { eval_id, ...query } = params; + return this._client.getAPIList(path `/evals/${eval_id}/runs/${runID}/output_items`, (CursorPage), { query, ...options }); + } +} +//# sourceMappingURL=output-items.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..6d1d4b561a82e1d90eab3f7b9205c9552dd03412 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/output-items.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"output-items.mjs","sourceRoot":"","sources":["../../../src/resources/evals/runs/output-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,YAAoB,EACpB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,OAAO,SAAS,MAAM,iBAAiB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,IAAI,CACF,KAAa,EACb,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,UAAU,OAAO,SAAS,KAAK,eAAe,EAClD,CAAA,UAAkC,CAAA,EAClC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..096ae87e8b6dd90d75b43fdacd4a1d20b744f0fa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.mts @@ -0,0 +1,2227 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as Shared from "../../shared.mjs"; +import * as ResponsesAPI from "../../responses/responses.mjs"; +import * as CompletionsAPI from "../../chat/completions/completions.mjs"; +import * as OutputItemsAPI from "./output-items.mjs"; +import { OutputItemListParams, OutputItemListResponse, OutputItemListResponsesPage, OutputItemRetrieveParams, OutputItemRetrieveResponse, OutputItems } from "./output-items.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Runs extends APIResource { + outputItems: OutputItemsAPI.OutputItems; + /** + * Kicks off a new run for a given evaluation, specifying the data source, and what + * model configuration to use to test. The datasource will be validated against the + * schema specified in the config of the evaluation. + */ + create(evalID: string, body: RunCreateParams, options?: RequestOptions): APIPromise; + /** + * Get an evaluation run by ID. + */ + retrieve(runID: string, params: RunRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Get a list of runs for an evaluation. + */ + list(evalID: string, query?: RunListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an eval run. + */ + delete(runID: string, params: RunDeleteParams, options?: RequestOptions): APIPromise; + /** + * Cancel an ongoing evaluation run. + */ + cancel(runID: string, params: RunCancelParams, options?: RequestOptions): APIPromise; +} +export type RunListResponsesPage = CursorPage; +/** + * A CompletionsRunDataSource object describing a model sampling configuration. + */ +export interface CreateEvalCompletionsRunDataSource { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: CreateEvalCompletionsRunDataSource.FileContent | CreateEvalCompletionsRunDataSource.FileID | CreateEvalCompletionsRunDataSource.StoredCompletions; + /** + * The type of run data source. Always `completions`. + */ + type: 'completions'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: CreateEvalCompletionsRunDataSource.Template | CreateEvalCompletionsRunDataSource.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: CreateEvalCompletionsRunDataSource.SamplingParams; +} +export declare namespace CreateEvalCompletionsRunDataSource { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A StoredCompletionsRunDataSource configuration describing a set of filters + */ + interface StoredCompletions { + /** + * The type of source. Always `stored_completions`. + */ + type: 'stored_completions'; + /** + * An optional Unix timestamp to filter items created after this time. + */ + created_after?: number | null; + /** + * An optional Unix timestamp to filter items created before this time. + */ + created_before?: number | null; + /** + * An optional maximum number of items to return. + */ + limit?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * An optional model to filter by (e.g., 'gpt-4o'). + */ + model?: string | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.input_trajectory" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * An object specifying the format that the model must output. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + response_format?: Shared.ResponseFormatText | Shared.ResponseFormatJSONSchema | Shared.ResponseFormatJSONObject; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * A list of tools the model may call. Currently, only functions are supported as a + * tool. Use this to provide a list of functions the model may generate JSON inputs + * for. A max of 128 functions are supported. + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } +} +/** + * A JsonlRunDataSource object with that specifies a JSONL file that matches the + * eval + */ +export interface CreateEvalJSONLRunDataSource { + /** + * Determines what populates the `item` namespace in the data source. + */ + source: CreateEvalJSONLRunDataSource.FileContent | CreateEvalJSONLRunDataSource.FileID; + /** + * The type of data source. Always `jsonl`. + */ + type: 'jsonl'; +} +export declare namespace CreateEvalJSONLRunDataSource { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } +} +/** + * An object representing an error response from the Eval API. + */ +export interface EvalAPIError { + /** + * The error code. + */ + code: string; + /** + * The error message. + */ + message: string; +} +/** + * A schema representing an evaluation run. + */ +export interface RunCreateResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunCreateResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunCreateResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunCreateResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +/** + * A schema representing an evaluation run. + */ +export interface RunRetrieveResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunRetrieveResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunRetrieveResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunRetrieveResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +/** + * A schema representing an evaluation run. + */ +export interface RunListResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunListResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunListResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunListResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +export interface RunDeleteResponse { + deleted?: boolean; + object?: string; + run_id?: string; +} +/** + * A schema representing an evaluation run. + */ +export interface RunCancelResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunCancelResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunCancelResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunCancelResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +export interface RunCreateParams { + /** + * Details about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunCreateParams.CreateEvalResponsesRunDataSource; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the run. + */ + name?: string; +} +export declare namespace RunCreateParams { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface CreateEvalResponsesRunDataSource { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: CreateEvalResponsesRunDataSource.FileContent | CreateEvalResponsesRunDataSource.FileID | CreateEvalResponsesRunDataSource.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: CreateEvalResponsesRunDataSource.Template | CreateEvalResponsesRunDataSource.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: CreateEvalResponsesRunDataSource.SamplingParams; + } + namespace CreateEvalResponsesRunDataSource { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } +} +export interface RunRetrieveParams { + /** + * The ID of the evaluation to retrieve runs for. + */ + eval_id: string; +} +export interface RunListParams extends CursorPageParams { + /** + * Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for + * descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; + /** + * Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` + * | `canceled`. + */ + status?: 'queued' | 'in_progress' | 'completed' | 'canceled' | 'failed'; +} +export interface RunDeleteParams { + /** + * The ID of the evaluation to delete the run from. + */ + eval_id: string; +} +export interface RunCancelParams { + /** + * The ID of the evaluation whose run you want to cancel. + */ + eval_id: string; +} +export declare namespace Runs { + export { type CreateEvalCompletionsRunDataSource as CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource as CreateEvalJSONLRunDataSource, type EvalAPIError as EvalAPIError, type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunDeleteResponse as RunDeleteResponse, type RunCancelResponse as RunCancelResponse, type RunListResponsesPage as RunListResponsesPage, type RunCreateParams as RunCreateParams, type RunRetrieveParams as RunRetrieveParams, type RunListParams as RunListParams, type RunDeleteParams as RunDeleteParams, type RunCancelParams as RunCancelParams, }; + export { OutputItems as OutputItems, type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, type OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemRetrieveParams as OutputItemRetrieveParams, type OutputItemListParams as OutputItemListParams, }; +} +//# sourceMappingURL=runs.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..2c95d69b4afc5797c1874e661c6c4da93fba6537 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../src/resources/evals/runs/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,YAAY;OACjB,KAAK,cAAc;OACnB,KAAK,cAAc;OACnB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACZ;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACn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first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4bde4e48e50183fa8aab94bb075f21f9abd813b3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.ts @@ -0,0 +1,2227 @@ +import { APIResource } from "../../../core/resource.js"; +import * as Shared from "../../shared.js"; +import * as ResponsesAPI from "../../responses/responses.js"; +import * as CompletionsAPI from "../../chat/completions/completions.js"; +import * as OutputItemsAPI from "./output-items.js"; +import { OutputItemListParams, OutputItemListResponse, OutputItemListResponsesPage, OutputItemRetrieveParams, OutputItemRetrieveResponse, OutputItems } from "./output-items.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Runs extends APIResource { + outputItems: OutputItemsAPI.OutputItems; + /** + * Kicks off a new run for a given evaluation, specifying the data source, and what + * model configuration to use to test. The datasource will be validated against the + * schema specified in the config of the evaluation. + */ + create(evalID: string, body: RunCreateParams, options?: RequestOptions): APIPromise; + /** + * Get an evaluation run by ID. + */ + retrieve(runID: string, params: RunRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Get a list of runs for an evaluation. + */ + list(evalID: string, query?: RunListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete an eval run. + */ + delete(runID: string, params: RunDeleteParams, options?: RequestOptions): APIPromise; + /** + * Cancel an ongoing evaluation run. + */ + cancel(runID: string, params: RunCancelParams, options?: RequestOptions): APIPromise; +} +export type RunListResponsesPage = CursorPage; +/** + * A CompletionsRunDataSource object describing a model sampling configuration. + */ +export interface CreateEvalCompletionsRunDataSource { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: CreateEvalCompletionsRunDataSource.FileContent | CreateEvalCompletionsRunDataSource.FileID | CreateEvalCompletionsRunDataSource.StoredCompletions; + /** + * The type of run data source. Always `completions`. + */ + type: 'completions'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: CreateEvalCompletionsRunDataSource.Template | CreateEvalCompletionsRunDataSource.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: CreateEvalCompletionsRunDataSource.SamplingParams; +} +export declare namespace CreateEvalCompletionsRunDataSource { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A StoredCompletionsRunDataSource configuration describing a set of filters + */ + interface StoredCompletions { + /** + * The type of source. Always `stored_completions`. + */ + type: 'stored_completions'; + /** + * An optional Unix timestamp to filter items created after this time. + */ + created_after?: number | null; + /** + * An optional Unix timestamp to filter items created before this time. + */ + created_before?: number | null; + /** + * An optional maximum number of items to return. + */ + limit?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * An optional model to filter by (e.g., 'gpt-4o'). + */ + model?: string | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.input_trajectory" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * An object specifying the format that the model must output. + * + * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured + * Outputs which ensures the model will match your supplied JSON schema. Learn more + * in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + response_format?: Shared.ResponseFormatText | Shared.ResponseFormatJSONSchema | Shared.ResponseFormatJSONObject; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * A list of tools the model may call. Currently, only functions are supported as a + * tool. Use this to provide a list of functions the model may generate JSON inputs + * for. A max of 128 functions are supported. + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } +} +/** + * A JsonlRunDataSource object with that specifies a JSONL file that matches the + * eval + */ +export interface CreateEvalJSONLRunDataSource { + /** + * Determines what populates the `item` namespace in the data source. + */ + source: CreateEvalJSONLRunDataSource.FileContent | CreateEvalJSONLRunDataSource.FileID; + /** + * The type of data source. Always `jsonl`. + */ + type: 'jsonl'; +} +export declare namespace CreateEvalJSONLRunDataSource { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } +} +/** + * An object representing an error response from the Eval API. + */ +export interface EvalAPIError { + /** + * The error code. + */ + code: string; + /** + * The error message. + */ + message: string; +} +/** + * A schema representing an evaluation run. + */ +export interface RunCreateResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunCreateResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunCreateResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunCreateResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +/** + * A schema representing an evaluation run. + */ +export interface RunRetrieveResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunRetrieveResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunRetrieveResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunRetrieveResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +/** + * A schema representing an evaluation run. + */ +export interface RunListResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunListResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunListResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunListResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +export interface RunDeleteResponse { + deleted?: boolean; + object?: string; + run_id?: string; +} +/** + * A schema representing an evaluation run. + */ +export interface RunCancelResponse { + /** + * Unique identifier for the evaluation run. + */ + id: string; + /** + * Unix timestamp (in seconds) when the evaluation run was created. + */ + created_at: number; + /** + * Information about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunCancelResponse.Responses; + /** + * An object representing an error response from the Eval API. + */ + error: EvalAPIError; + /** + * The identifier of the associated evaluation. + */ + eval_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The model that is evaluated, if applicable. + */ + model: string; + /** + * The name of the evaluation run. + */ + name: string; + /** + * The type of the object. Always "eval.run". + */ + object: 'eval.run'; + /** + * Usage statistics for each model during the evaluation run. + */ + per_model_usage: Array; + /** + * Results per testing criteria applied during the evaluation run. + */ + per_testing_criteria_results: Array; + /** + * The URL to the rendered evaluation run report on the UI dashboard. + */ + report_url: string; + /** + * Counters summarizing the outcomes of the evaluation run. + */ + result_counts: RunCancelResponse.ResultCounts; + /** + * The status of the evaluation run. + */ + status: string; +} +export declare namespace RunCancelResponse { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface Responses { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: Responses.FileContent | Responses.FileID | Responses.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: Responses.Template | Responses.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: Responses.SamplingParams; + } + namespace Responses { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } + interface PerModelUsage { + /** + * The number of tokens retrieved from cache. + */ + cached_tokens: number; + /** + * The number of completion tokens generated. + */ + completion_tokens: number; + /** + * The number of invocations. + */ + invocation_count: number; + /** + * The name of the model. + */ + model_name: string; + /** + * The number of prompt tokens used. + */ + prompt_tokens: number; + /** + * The total number of tokens used. + */ + total_tokens: number; + } + interface PerTestingCriteriaResult { + /** + * Number of tests failed for this criteria. + */ + failed: number; + /** + * Number of tests passed for this criteria. + */ + passed: number; + /** + * A description of the testing criteria. + */ + testing_criteria: string; + } + /** + * Counters summarizing the outcomes of the evaluation run. + */ + interface ResultCounts { + /** + * Number of output items that resulted in an error. + */ + errored: number; + /** + * Number of output items that failed to pass the evaluation. + */ + failed: number; + /** + * Number of output items that passed the evaluation. + */ + passed: number; + /** + * Total number of executed output items. + */ + total: number; + } +} +export interface RunCreateParams { + /** + * Details about the run's data source. + */ + data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunCreateParams.CreateEvalResponsesRunDataSource; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the run. + */ + name?: string; +} +export declare namespace RunCreateParams { + /** + * A ResponsesRunDataSource object describing a model sampling configuration. + */ + interface CreateEvalResponsesRunDataSource { + /** + * Determines what populates the `item` namespace in this run's data source. + */ + source: CreateEvalResponsesRunDataSource.FileContent | CreateEvalResponsesRunDataSource.FileID | CreateEvalResponsesRunDataSource.Responses; + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Used when sampling from a model. Dictates the structure of the messages passed + * into the model. Can either be a reference to a prebuilt trajectory (ie, + * `item.input_trajectory`), or a template with variable references to the `item` + * namespace. + */ + input_messages?: CreateEvalResponsesRunDataSource.Template | CreateEvalResponsesRunDataSource.ItemReference; + /** + * The name of the model to use for generating completions (e.g. "o3-mini"). + */ + model?: string; + sampling_params?: CreateEvalResponsesRunDataSource.SamplingParams; + } + namespace CreateEvalResponsesRunDataSource { + interface FileContent { + /** + * The content of the jsonl file. + */ + content: Array; + /** + * The type of jsonl source. Always `file_content`. + */ + type: 'file_content'; + } + namespace FileContent { + interface Content { + item: { + [key: string]: unknown; + }; + sample?: { + [key: string]: unknown; + }; + } + } + interface FileID { + /** + * The identifier of the file. + */ + id: string; + /** + * The type of jsonl source. Always `file_id`. + */ + type: 'file_id'; + } + /** + * A EvalResponsesSource object describing a run data source configuration. + */ + interface Responses { + /** + * The type of run data source. Always `responses`. + */ + type: 'responses'; + /** + * Only include items created after this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_after?: number | null; + /** + * Only include items created before this timestamp (inclusive). This is a query + * parameter used to select responses. + */ + created_before?: number | null; + /** + * Optional string to search the 'instructions' field. This is a query parameter + * used to select responses. + */ + instructions_search?: string | null; + /** + * Metadata filter for the responses. This is a query parameter used to select + * responses. + */ + metadata?: unknown | null; + /** + * The name of the model to find responses for. This is a query parameter used to + * select responses. + */ + model?: string | null; + /** + * Optional reasoning effort parameter. This is a query parameter used to select + * responses. + */ + reasoning_effort?: Shared.ReasoningEffort | null; + /** + * Sampling temperature. This is a query parameter used to select responses. + */ + temperature?: number | null; + /** + * List of tool names. This is a query parameter used to select responses. + */ + tools?: Array | null; + /** + * Nucleus sampling parameter. This is a query parameter used to select responses. + */ + top_p?: number | null; + /** + * List of user identifiers. This is a query parameter used to select responses. + */ + users?: Array | null; + } + interface Template { + /** + * A list of chat messages forming the prompt or context. May include variable + * references to the `item` namespace, ie {{item.name}}. + */ + template: Array; + /** + * The type of input messages. Always `template`. + */ + type: 'template'; + } + namespace Template { + interface ChatMessage { + /** + * The content of the message. + */ + content: string; + /** + * The role of the message (e.g. "system", "assistant", "user"). + */ + role: string; + } + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface EvalItem { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace EvalItem { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } + } + interface ItemReference { + /** + * A reference to a variable in the `item` namespace. Ie, "item.name" + */ + item_reference: string; + /** + * The type of input messages. Always `item_reference`. + */ + type: 'item_reference'; + } + interface SamplingParams { + /** + * The maximum number of tokens in the generated output. + */ + max_completion_tokens?: number; + /** + * A seed value to initialize the randomness, during sampling. + */ + seed?: number; + /** + * A higher temperature increases randomness in the outputs. + */ + temperature?: number; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: SamplingParams.Text; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code. Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ + tools?: Array; + /** + * An alternative to temperature for nucleus sampling; 1.0 includes all tokens. + */ + top_p?: number; + } + namespace SamplingParams { + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + interface Text { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponsesAPI.ResponseFormatTextConfig; + } + } + } +} +export interface RunRetrieveParams { + /** + * The ID of the evaluation to retrieve runs for. + */ + eval_id: string; +} +export interface RunListParams extends CursorPageParams { + /** + * Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for + * descending order. Defaults to `asc`. + */ + order?: 'asc' | 'desc'; + /** + * Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` + * | `canceled`. + */ + status?: 'queued' | 'in_progress' | 'completed' | 'canceled' | 'failed'; +} +export interface RunDeleteParams { + /** + * The ID of the evaluation to delete the run from. + */ + eval_id: string; +} +export interface RunCancelParams { + /** + * The ID of the evaluation whose run you want to cancel. + */ + eval_id: string; +} +export declare namespace Runs { + export { type CreateEvalCompletionsRunDataSource as CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource as CreateEvalJSONLRunDataSource, type EvalAPIError as EvalAPIError, type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunDeleteResponse as RunDeleteResponse, type RunCancelResponse as RunCancelResponse, type RunListResponsesPage as RunListResponsesPage, type RunCreateParams as RunCreateParams, type RunRetrieveParams as RunRetrieveParams, type RunListParams as RunListParams, type RunDeleteParams as RunDeleteParams, type RunCancelParams as RunCancelParams, }; + export { OutputItems as OutputItems, type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, type OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemRetrieveParams as OutputItemRetrieveParams, type OutputItemListParams as OutputItemListParams, }; +} +//# sourceMappingURL=runs.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d1dd17c700560ce17a47cbe44e165f12f308b03a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/evals/runs/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,YAAY;OACjB,KAAK,cAAc;OACnB,KAAK,cAAc;OACnB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACZ;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;OAIG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItG;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UA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,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.js new file mode 100644 index 0000000000000000000000000000000000000000..9c495e1a7040963baf9566d82a16e7279b1fd9d4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.js @@ -0,0 +1,57 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Runs = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const OutputItemsAPI = tslib_1.__importStar(require("./output-items.js")); +const output_items_1 = require("./output-items.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Runs extends resource_1.APIResource { + constructor() { + super(...arguments); + this.outputItems = new OutputItemsAPI.OutputItems(this._client); + } + /** + * Kicks off a new run for a given evaluation, specifying the data source, and what + * model configuration to use to test. The datasource will be validated against the + * schema specified in the config of the evaluation. + */ + create(evalID, body, options) { + return this._client.post((0, path_1.path) `/evals/${evalID}/runs`, { body, ...options }); + } + /** + * Get an evaluation run by ID. + */ + retrieve(runID, params, options) { + const { eval_id } = params; + return this._client.get((0, path_1.path) `/evals/${eval_id}/runs/${runID}`, options); + } + /** + * Get a list of runs for an evaluation. + */ + list(evalID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/evals/${evalID}/runs`, (pagination_1.CursorPage), { + query, + ...options, + }); + } + /** + * Delete an eval run. + */ + delete(runID, params, options) { + const { eval_id } = params; + return this._client.delete((0, path_1.path) `/evals/${eval_id}/runs/${runID}`, options); + } + /** + * Cancel an ongoing evaluation run. + */ + cancel(runID, params, options) { + const { eval_id } = params; + return this._client.post((0, path_1.path) `/evals/${eval_id}/runs/${runID}`, options); + } +} +exports.Runs = Runs; +Runs.OutputItems = output_items_1.OutputItems; +//# sourceMappingURL=runs.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f728122a8c9029a5cdeb7dd94298bd782e1d4280 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.js.map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OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF;AArDD,oBAqDC;AAqiFD,IAAI,CAAC,WAAW,GAAG,0BAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.mjs new file mode 100644 index 0000000000000000000000000000000000000000..83b4b63e954050bf3e3484c6251ba8398e463b2c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.mjs @@ -0,0 +1,52 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as OutputItemsAPI from "./output-items.mjs"; +import { OutputItems, } from "./output-items.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Runs extends APIResource { + constructor() { + super(...arguments); + this.outputItems = new OutputItemsAPI.OutputItems(this._client); + } + /** + * Kicks off a new run for a given evaluation, specifying the data source, and what + * model configuration to use to test. The datasource will be validated against the + * schema specified in the config of the evaluation. + */ + create(evalID, body, options) { + return this._client.post(path `/evals/${evalID}/runs`, { body, ...options }); + } + /** + * Get an evaluation run by ID. + */ + retrieve(runID, params, options) { + const { eval_id } = params; + return this._client.get(path `/evals/${eval_id}/runs/${runID}`, options); + } + /** + * Get a list of runs for an evaluation. + */ + list(evalID, query = {}, options) { + return this._client.getAPIList(path `/evals/${evalID}/runs`, (CursorPage), { + query, + ...options, + }); + } + /** + * Delete an eval run. + */ + delete(runID, params, options) { + const { eval_id } = params; + return this._client.delete(path `/evals/${eval_id}/runs/${runID}`, options); + } + /** + * Cancel an ongoing evaluation run. + */ + cancel(runID, params, options) { + const { eval_id } = params; + return this._client.post(path `/evals/${eval_id}/runs/${runID}`, options); + } +} +Runs.OutputItems = OutputItems; +//# sourceMappingURL=runs.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..a2804322acf6fe11d4c635b797130957b40cbd09 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/evals/runs/runs.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../../src/resources/evals/runs/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,KAAK,cAAc;OACnB,EAML,WAAW,GACZ;OAEM,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoDzF,CAAC;IAlDC;;;;OAIG;IACH,MAAM,CAAC,MAAc,EAAE,IAAqB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,MAAM,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,KAAa,EACb,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,OAAO,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,IAAI,CACF,MAAc,EACd,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA,UAAU,MAAM,OAAO,EAAE,CAAA,UAA2B,CAAA,EAAE;YACvF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,UAAU,OAAO,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,OAAO,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF;AAqiFD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..84440b6c7daa039e954e0c00a1a54b1929864c9f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.mts @@ -0,0 +1,2 @@ +export * from "./alpha/index.mjs"; +//# sourceMappingURL=alpha.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..591344bab87994d692886f2740455459be41936b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.d.mts","sourceRoot":"","sources":["../../src/resources/fine-tuning/alpha.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e5f704bf62561202f4352a605b24ca6a1298e8a0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.ts @@ -0,0 +1,2 @@ +export * from "./alpha/index.js"; +//# sourceMappingURL=alpha.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..2b011b38c565aa194e900a2d2f7f9b44c08d85aa --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.d.ts","sourceRoot":"","sources":["../../src/resources/fine-tuning/alpha.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.js new file mode 100644 index 0000000000000000000000000000000000000000..81c0768ead7f068cdb2f71479fc5d1893d487374 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./alpha/index.js"), exports); +//# sourceMappingURL=alpha.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8410d2b886b92ab059647f4465c185f853e5ad4d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.js.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.js","sourceRoot":"","sources":["../../src/resources/fine-tuning/alpha.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.mjs new file mode 100644 index 0000000000000000000000000000000000000000..2f0f4e065df8ca02af0b1a3448a654c10deb5cad --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./alpha/index.mjs"; +//# sourceMappingURL=alpha.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..d4a82125984848d73a735935c98e7ed1ad58192c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.mjs","sourceRoot":"","sources":["../../src/resources/fine-tuning/alpha.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a4f3e7936401ba289364e1369c50770bfff92fb7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts @@ -0,0 +1,10 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as GradersAPI from "./graders.mjs"; +import { GraderRunParams, GraderRunResponse, GraderValidateParams, GraderValidateResponse, Graders } from "./graders.mjs"; +export declare class Alpha extends APIResource { + graders: GradersAPI.Graders; +} +export declare namespace Alpha { + export { Graders as Graders, type GraderRunResponse as GraderRunResponse, type GraderValidateResponse as GraderValidateResponse, type GraderRunParams as GraderRunParams, type GraderValidateParams as GraderValidateParams, }; +} +//# sourceMappingURL=alpha.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..dbc83ecbf91e79e34dbd2441a70721fe4374397b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/alpha.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,OAAO,EACR;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..de804b9a1e8c8f0a2fca426b203e2363d32e0d85 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts @@ -0,0 +1,10 @@ +import { APIResource } from "../../../core/resource.js"; +import * as GradersAPI from "./graders.js"; +import { GraderRunParams, GraderRunResponse, GraderValidateParams, GraderValidateResponse, Graders } from "./graders.js"; +export declare class Alpha extends APIResource { + graders: GradersAPI.Graders; +} +export declare namespace Alpha { + export { Graders as Graders, type GraderRunResponse as GraderRunResponse, type GraderValidateResponse as GraderValidateResponse, type GraderRunParams as GraderRunParams, type GraderValidateParams as GraderValidateParams, }; +} +//# sourceMappingURL=alpha.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3273580643885956dae4f96dadd0b93f3e2b1b05 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/alpha.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,OAAO,EACR;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.js new file mode 100644 index 0000000000000000000000000000000000000000..6ad09668381dd682ca7b102d0ad8805af5ecd5f2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.js @@ -0,0 +1,17 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Alpha = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const GradersAPI = tslib_1.__importStar(require("./graders.js")); +const graders_1 = require("./graders.js"); +class Alpha extends resource_1.APIResource { + constructor() { + super(...arguments); + this.graders = new GradersAPI.Graders(this._client); + } +} +exports.Alpha = Alpha; +Alpha.Graders = graders_1.Graders; +//# sourceMappingURL=alpha.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f12a386a742467f19ed32d9608a87d6398e2426f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.js.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/alpha.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAMmB;AAEnB,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAFD,sBAEC;AAED,KAAK,CAAC,OAAO,GAAG,iBAAO,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f7394b58f9dc1aee0621d8d85f07eb6e91b2ec50 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs @@ -0,0 +1,12 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as GradersAPI from "./graders.mjs"; +import { Graders, } from "./graders.mjs"; +export class Alpha extends APIResource { + constructor() { + super(...arguments); + this.graders = new GradersAPI.Graders(this._client); + } +} +Alpha.Graders = Graders; +//# sourceMappingURL=alpha.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..37871c39458c7b2b74ff81b1b2a8097549fccf6c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"alpha.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/alpha.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAKL,OAAO,GACR;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..e995748a47086ac3e55242a999f1ebf20f4cc2f1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts @@ -0,0 +1,119 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as GraderModelsAPI from "../../graders/grader-models.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Graders extends APIResource { + /** + * Run a grader. + * + * @example + * ```ts + * const response = await client.fineTuning.alpha.graders.run({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * model_sample: 'model_sample', + * }); + * ``` + */ + run(body: GraderRunParams, options?: RequestOptions): APIPromise; + /** + * Validate a grader. + * + * @example + * ```ts + * const response = + * await client.fineTuning.alpha.graders.validate({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * }); + * ``` + */ + validate(body: GraderValidateParams, options?: RequestOptions): APIPromise; +} +export interface GraderRunResponse { + metadata: GraderRunResponse.Metadata; + model_grader_token_usage_per_model: { + [key: string]: unknown; + }; + reward: number; + sub_rewards: { + [key: string]: unknown; + }; +} +export declare namespace GraderRunResponse { + interface Metadata { + errors: Metadata.Errors; + execution_time: number; + name: string; + sampled_model_name: string | null; + scores: { + [key: string]: unknown; + }; + token_usage: number | null; + type: string; + } + namespace Metadata { + interface Errors { + formula_parse_error: boolean; + invalid_variable_error: boolean; + model_grader_parse_error: boolean; + model_grader_refusal_error: boolean; + model_grader_server_error: boolean; + model_grader_server_error_details: string | null; + other_error: boolean; + python_grader_runtime_error: boolean; + python_grader_runtime_error_details: string | null; + python_grader_server_error: boolean; + python_grader_server_error_type: string | null; + sample_parse_error: boolean; + truncated_observation_error: boolean; + unresponsive_reward_error: boolean; + } + } +} +export interface GraderValidateResponse { + /** + * The grader used for the fine-tuning job. + */ + grader?: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; +} +export interface GraderRunParams { + /** + * The grader used for the fine-tuning job. + */ + grader: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; + /** + * The model sample to be evaluated. This value will be used to populate the + * `sample` namespace. See + * [the guide](https://platform.openai.com/docs/guides/graders) for more details. + * The `output_json` variable will be populated if the model sample is a valid JSON + * string. + */ + model_sample: string; + /** + * The dataset item provided to the grader. This will be used to populate the + * `item` namespace. See + * [the guide](https://platform.openai.com/docs/guides/graders) for more details. + */ + item?: unknown; +} +export interface GraderValidateParams { + /** + * The grader used for the fine-tuning job. + */ + grader: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; +} +export declare namespace Graders { + export { type GraderRunResponse as GraderRunResponse, type GraderValidateResponse as GraderValidateResponse, type GraderRunParams as GraderRunParams, type GraderValidateParams as GraderValidateParams, }; +} +//# sourceMappingURL=graders.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..c19ce8c0fab86ed3a8549771217474bce4de76b0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/graders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,CAAC,IAAI,EAAE,eAAe,EAAE,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,EAAE,MAAM,GAAG,IAAI,CAAC;YAE/C,kBAAkB,EAAE,OAAO,CAAC;YAE5B,2BAA2B,EAAE,OAAO,CAAC;YAErC,yBAAyB,EAAE,OAAO,CAAC;SACpC;KACF;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,CAAC,EACH,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;CACjC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EACF,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;IAEhC;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EACF,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..259268ce12cc2e5f51ebcf5a77b096dfce12ecf1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts @@ -0,0 +1,119 @@ +import { APIResource } from "../../../core/resource.js"; +import * as GraderModelsAPI from "../../graders/grader-models.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Graders extends APIResource { + /** + * Run a grader. + * + * @example + * ```ts + * const response = await client.fineTuning.alpha.graders.run({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * model_sample: 'model_sample', + * }); + * ``` + */ + run(body: GraderRunParams, options?: RequestOptions): APIPromise; + /** + * Validate a grader. + * + * @example + * ```ts + * const response = + * await client.fineTuning.alpha.graders.validate({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * }); + * ``` + */ + validate(body: GraderValidateParams, options?: RequestOptions): APIPromise; +} +export interface GraderRunResponse { + metadata: GraderRunResponse.Metadata; + model_grader_token_usage_per_model: { + [key: string]: unknown; + }; + reward: number; + sub_rewards: { + [key: string]: unknown; + }; +} +export declare namespace GraderRunResponse { + interface Metadata { + errors: Metadata.Errors; + execution_time: number; + name: string; + sampled_model_name: string | null; + scores: { + [key: string]: unknown; + }; + token_usage: number | null; + type: string; + } + namespace Metadata { + interface Errors { + formula_parse_error: boolean; + invalid_variable_error: boolean; + model_grader_parse_error: boolean; + model_grader_refusal_error: boolean; + model_grader_server_error: boolean; + model_grader_server_error_details: string | null; + other_error: boolean; + python_grader_runtime_error: boolean; + python_grader_runtime_error_details: string | null; + python_grader_server_error: boolean; + python_grader_server_error_type: string | null; + sample_parse_error: boolean; + truncated_observation_error: boolean; + unresponsive_reward_error: boolean; + } + } +} +export interface GraderValidateResponse { + /** + * The grader used for the fine-tuning job. + */ + grader?: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; +} +export interface GraderRunParams { + /** + * The grader used for the fine-tuning job. + */ + grader: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; + /** + * The model sample to be evaluated. This value will be used to populate the + * `sample` namespace. See + * [the guide](https://platform.openai.com/docs/guides/graders) for more details. + * The `output_json` variable will be populated if the model sample is a valid JSON + * string. + */ + model_sample: string; + /** + * The dataset item provided to the grader. This will be used to populate the + * `item` namespace. See + * [the guide](https://platform.openai.com/docs/guides/graders) for more details. + */ + item?: unknown; +} +export interface GraderValidateParams { + /** + * The grader used for the fine-tuning job. + */ + grader: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; +} +export declare namespace Graders { + export { type GraderRunResponse as GraderRunResponse, type GraderValidateResponse as GraderValidateResponse, type GraderRunParams as GraderRunParams, type GraderValidateParams as GraderValidateParams, }; +} +//# sourceMappingURL=graders.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f7628abd7aba17c900c8ed5855f8ed3728925200 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/graders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OACd,EAAE,cA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AA2B,EAAE,OAAO,CAAC;YAErC,mCAAmC,EAAE,MAAM,GAAG,IAAI,CAAC;YAEnD,0BAA0B,EAAE,OAAO,CAAC;YAEpC,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;YAE/C,kBAAkB,EAAE,OAAO,CAAC;YAE5B,2BAA2B,EAAE,OAAO,CAAC;YAErC,yBAAyB,EAAE,OAAO,CAAC;SACpC;KACF;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,CAAC,EACH,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;CACjC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EACF,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;IAEhC;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EACF,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.js new file mode 100644 index 0000000000000000000000000000000000000000..326e786e84e6fe804b6fcf83f493965156ef65b5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.js @@ -0,0 +1,49 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Graders = void 0; +const resource_1 = require("../../../core/resource.js"); +class Graders extends resource_1.APIResource { + /** + * Run a grader. + * + * @example + * ```ts + * const response = await client.fineTuning.alpha.graders.run({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * model_sample: 'model_sample', + * }); + * ``` + */ + run(body, options) { + return this._client.post('/fine_tuning/alpha/graders/run', { body, ...options }); + } + /** + * Validate a grader. + * + * @example + * ```ts + * const response = + * await client.fineTuning.alpha.graders.validate({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * }); + * ``` + */ + validate(body, options) { + return this._client.post('/fine_tuning/alpha/graders/validate', { body, ...options }); + } +} +exports.Graders = Graders; +//# sourceMappingURL=graders.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.js.map new file mode 100644 index 0000000000000000000000000000000000000000..2177f8367399cc705f9e41d93c6045557a45cd48 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.js.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/graders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,CAAC,IAAqB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,IAA0B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AA1CD,0BA0CC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.mjs new file mode 100644 index 0000000000000000000000000000000000000000..51e52fba4e7716ff8e76e95d9df5c78d48c4cf18 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.mjs @@ -0,0 +1,45 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +export class Graders extends APIResource { + /** + * Run a grader. + * + * @example + * ```ts + * const response = await client.fineTuning.alpha.graders.run({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * model_sample: 'model_sample', + * }); + * ``` + */ + run(body, options) { + return this._client.post('/fine_tuning/alpha/graders/run', { body, ...options }); + } + /** + * Validate a grader. + * + * @example + * ```ts + * const response = + * await client.fineTuning.alpha.graders.validate({ + * grader: { + * input: 'input', + * name: 'name', + * operation: 'eq', + * reference: 'reference', + * type: 'string_check', + * }, + * }); + * ``` + */ + validate(body, options) { + return this._client.post('/fine_tuning/alpha/graders/validate', { body, ...options }); + } +} +//# sourceMappingURL=graders.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..aaa935354db04c57b508020f14bdf5210d390a38 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/graders.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/graders.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,CAAC,IAAqB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,IAA0B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a05c08208d32c35d914d21789ff2d81a1d3dc0eb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.mts @@ -0,0 +1,3 @@ +export { Alpha } from "./alpha.mjs"; +export { Graders, type GraderRunResponse, type GraderValidateResponse, type GraderRunParams, type GraderValidateParams, } from "./graders.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..48af8624764a34d0b9858f4e16f8575ba5ed29bf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ad27c4e49f4873d3b3bd5499227e3a0fef551437 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.ts @@ -0,0 +1,3 @@ +export { Alpha } from "./alpha.js"; +export { Graders, type GraderRunResponse, type GraderValidateResponse, type GraderRunParams, type GraderValidateParams, } from "./graders.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9c09c3e8eaa1331abdb1a79d8a56821f0027f722 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.js new file mode 100644 index 0000000000000000000000000000000000000000..2dbb68aa251db57a005f6b3823b14477ba7d08e9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Graders = exports.Alpha = void 0; +var alpha_1 = require("./alpha.js"); +Object.defineProperty(exports, "Alpha", { enumerable: true, get: function () { return alpha_1.Alpha; } }); +var graders_1 = require("./graders.js"); +Object.defineProperty(exports, "Graders", { enumerable: true, get: function () { return graders_1.Graders; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f9804380cb031423700a7978b71bb39729b0dac2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,wCAMmB;AALjB,kGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d67cbef850cd79bbead5360961020fbfff4238c1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Alpha } from "./alpha.mjs"; +export { Graders, } from "./graders.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..8e4cc1d8c19e65aa38ebda52533c49c28d0e5e61 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/alpha/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/alpha/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAAE;OACT,EACL,OAAO,GAKR"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..029fc793003dd743e4f04277c052cdee2641a4bd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.mts @@ -0,0 +1,2 @@ +export * from "./checkpoints/index.mjs"; +//# sourceMappingURL=checkpoints.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8cbb3bf9842aa2b7edcbb240e5da578d72a3d1b7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.d.mts","sourceRoot":"","sources":["../../src/resources/fine-tuning/checkpoints.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9ea8fbb14ab0acbf3dff45a0e61d505542cb311f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.ts @@ -0,0 +1,2 @@ +export * from "./checkpoints/index.js"; +//# sourceMappingURL=checkpoints.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3a1f9b71148484a713be2bf7e3b9abd237d05e34 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.d.ts","sourceRoot":"","sources":["../../src/resources/fine-tuning/checkpoints.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.js new file mode 100644 index 0000000000000000000000000000000000000000..537389b53f1c69fb21c83c0cdda7b45831c98350 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./checkpoints/index.js"), exports); +//# sourceMappingURL=checkpoints.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.js.map new file mode 100644 index 0000000000000000000000000000000000000000..895e50a520a4651dff000b2c37e919a46afab0d3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.js","sourceRoot":"","sources":["../../src/resources/fine-tuning/checkpoints.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iEAAoC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.mjs new file mode 100644 index 0000000000000000000000000000000000000000..666e0190b27d7343b1f11fe3bf8385bbe52b065e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./checkpoints/index.mjs"; +//# sourceMappingURL=checkpoints.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2c9deeb216b1d7958b10ec33954d5b3418bf0dc5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.mjs","sourceRoot":"","sources":["../../src/resources/fine-tuning/checkpoints.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..f7a44268caf0cd4209433ada8d69738a96aab80d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts @@ -0,0 +1,10 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as PermissionsAPI from "./permissions.mjs"; +import { PermissionCreateParams, PermissionCreateResponse, PermissionCreateResponsesPage, PermissionDeleteParams, PermissionDeleteResponse, PermissionRetrieveParams, PermissionRetrieveResponse, Permissions } from "./permissions.mjs"; +export declare class Checkpoints extends APIResource { + permissions: PermissionsAPI.Permissions; +} +export declare namespace Checkpoints { + export { Permissions as Permissions, type PermissionCreateResponse as PermissionCreateResponse, type PermissionRetrieveResponse as PermissionRetrieveResponse, type PermissionDeleteResponse as PermissionDeleteResponse, type PermissionCreateResponsesPage as PermissionCreateResponsesPage, type PermissionCreateParams as PermissionCreateParams, type PermissionRetrieveParams as PermissionRetrieveParams, type PermissionDeleteParams as PermissionDeleteParams, }; +} +//# sourceMappingURL=checkpoints.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..863cbca201aa7a98b718d1a97114d0bea25eb2de --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/checkpoints.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACZ;AAED,qBAAa,WAAY,SAAQ,WAAW;IAC1C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;CACxF;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4ad818ea7c6e8abe62f66c454be61c6957687050 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts @@ -0,0 +1,10 @@ +import { APIResource } from "../../../core/resource.js"; +import * as PermissionsAPI from "./permissions.js"; +import { PermissionCreateParams, PermissionCreateResponse, PermissionCreateResponsesPage, PermissionDeleteParams, PermissionDeleteResponse, PermissionRetrieveParams, PermissionRetrieveResponse, Permissions } from "./permissions.js"; +export declare class Checkpoints extends APIResource { + permissions: PermissionsAPI.Permissions; +} +export declare namespace Checkpoints { + export { Permissions as Permissions, type PermissionCreateResponse as PermissionCreateResponse, type PermissionRetrieveResponse as PermissionRetrieveResponse, type PermissionDeleteResponse as PermissionDeleteResponse, type PermissionCreateResponsesPage as PermissionCreateResponsesPage, type PermissionCreateParams as PermissionCreateParams, type PermissionRetrieveParams as PermissionRetrieveParams, type PermissionDeleteParams as PermissionDeleteParams, }; +} +//# sourceMappingURL=checkpoints.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6cc942e789456051e36cc88598be4262ff996d9a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/checkpoints.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACZ;AAED,qBAAa,WAAY,SAAQ,WAAW;IAC1C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;CACxF;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js new file mode 100644 index 0000000000000000000000000000000000000000..3bae7a413f87a548b8521d8c24c12c89d05103b9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js @@ -0,0 +1,17 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Checkpoints = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const PermissionsAPI = tslib_1.__importStar(require("./permissions.js")); +const permissions_1 = require("./permissions.js"); +class Checkpoints extends resource_1.APIResource { + constructor() { + super(...arguments); + this.permissions = new PermissionsAPI.Permissions(this._client); + } +} +exports.Checkpoints = Checkpoints; +Checkpoints.Permissions = permissions_1.Permissions; +//# sourceMappingURL=checkpoints.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js.map new file mode 100644 index 0000000000000000000000000000000000000000..61ed86f014fac7f9f8b3ba8f25ed4face46ac6c1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/checkpoints.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,yEAAgD;AAChD,kDASuB;AAEvB,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAFD,kCAEC;AAED,WAAW,CAAC,WAAW,GAAG,yBAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a76e13d6f9e0ce4fd4b001d83ed1462192ad6253 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs @@ -0,0 +1,12 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as PermissionsAPI from "./permissions.mjs"; +import { Permissions, } from "./permissions.mjs"; +export class Checkpoints extends APIResource { + constructor() { + super(...arguments); + this.permissions = new PermissionsAPI.Permissions(this._client); + } +} +Checkpoints.Permissions = Permissions; +//# sourceMappingURL=checkpoints.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..fdfab44ca66dc4d008d0b1d523466e7be44dfa07 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/checkpoints.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAQL,WAAW,GACZ;AAED,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAED,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..5b0092f430775b5692d3bc1539d4a2b59aa21f86 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts @@ -0,0 +1,3 @@ +export { Checkpoints } from "./checkpoints.mjs"; +export { Permissions, type PermissionCreateResponse, type PermissionRetrieveResponse, type PermissionDeleteResponse, type PermissionCreateParams, type PermissionRetrieveParams, type PermissionDeleteParams, type PermissionCreateResponsesPage, } from "./permissions.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..753bc7fcededbfe6bc1afccc8ca21da8024f05c1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,GACnC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6953e4933e2b5a56d6e5c3797c6422f6e4682bf3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts @@ -0,0 +1,3 @@ +export { Checkpoints } from "./checkpoints.js"; +export { Permissions, type PermissionCreateResponse, type PermissionRetrieveResponse, type PermissionDeleteResponse, type PermissionCreateParams, type PermissionRetrieveParams, type PermissionDeleteParams, type PermissionCreateResponsesPage, } from "./permissions.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7e09abf28589319620e3513d8ac2306580cd1668 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,GACnC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e845d5d395d69b363489bdef15b12642afbcc5fb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Permissions = exports.Checkpoints = void 0; +var checkpoints_1 = require("./checkpoints.js"); +Object.defineProperty(exports, "Checkpoints", { enumerable: true, get: function () { return checkpoints_1.Checkpoints; } }); +var permissions_1 = require("./permissions.js"); +Object.defineProperty(exports, "Permissions", { enumerable: true, get: function () { return permissions_1.Permissions; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..cd26f840184450a0b8b3accab0f82b05afe086a0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,gDASuB;AARrB,0GAAA,WAAW,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d3a52462191eba7df0cc71a2643600548a9f9420 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Checkpoints } from "./checkpoints.mjs"; +export { Permissions, } from "./permissions.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..175d84e6a946f839c7d39feb324bcdb0d7c7c0c8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EACL,WAAW,GAQZ"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..cbaac796c81b53fe768f140cd1c497e0ad20e5cf --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts @@ -0,0 +1,160 @@ +import { APIResource } from "../../../core/resource.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { Page, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Permissions extends APIResource { + /** + * **NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys). + * + * This enables organization owners to share fine-tuned models with other projects + * in their organization. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const permissionCreateResponse of client.fineTuning.checkpoints.permissions.create( + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * { project_ids: ['string'] }, + * )) { + * // ... + * } + * ``` + */ + create(fineTunedModelCheckpoint: string, body: PermissionCreateParams, options?: RequestOptions): PagePromise; + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to view all permissions for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTunedModelCheckpoint: string, query?: PermissionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise; + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to delete a permission for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.delete( + * 'cp_zc4Q7MP6XxulcVzj4MZdwsAB', + * { + * fine_tuned_model_checkpoint: + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * }, + * ); + * ``` + */ + delete(permissionID: string, params: PermissionDeleteParams, options?: RequestOptions): APIPromise; +} +export type PermissionCreateResponsesPage = Page; +/** + * The `checkpoint.permission` object represents a permission for a fine-tuned + * model checkpoint. + */ +export interface PermissionCreateResponse { + /** + * The permission identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the permission was created. + */ + created_at: number; + /** + * The object type, which is always "checkpoint.permission". + */ + object: 'checkpoint.permission'; + /** + * The project identifier that the permission is for. + */ + project_id: string; +} +export interface PermissionRetrieveResponse { + data: Array; + has_more: boolean; + object: 'list'; + first_id?: string | null; + last_id?: string | null; +} +export declare namespace PermissionRetrieveResponse { + /** + * The `checkpoint.permission` object represents a permission for a fine-tuned + * model checkpoint. + */ + interface Data { + /** + * The permission identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the permission was created. + */ + created_at: number; + /** + * The object type, which is always "checkpoint.permission". + */ + object: 'checkpoint.permission'; + /** + * The project identifier that the permission is for. + */ + project_id: string; + } +} +export interface PermissionDeleteResponse { + /** + * The ID of the fine-tuned model checkpoint permission that was deleted. + */ + id: string; + /** + * Whether the fine-tuned model checkpoint permission was successfully deleted. + */ + deleted: boolean; + /** + * The object type, which is always "checkpoint.permission". + */ + object: 'checkpoint.permission'; +} +export interface PermissionCreateParams { + /** + * The project identifiers to grant access to. + */ + project_ids: Array; +} +export interface PermissionRetrieveParams { + /** + * Identifier for the last permission ID from the previous pagination request. + */ + after?: string; + /** + * Number of permissions to retrieve. + */ + limit?: number; + /** + * The order in which to retrieve permissions. + */ + order?: 'ascending' | 'descending'; + /** + * The ID of the project to get permissions for. + */ + project_id?: string; +} +export interface PermissionDeleteParams { + /** + * The ID of the fine-tuned model checkpoint to delete a permission for. + */ + fine_tuned_model_checkpoint: string; +} +export declare namespace Permissions { + export { type PermissionCreateResponse as PermissionCreateResponse, type PermissionRetrieveResponse as PermissionRetrieveResponse, type PermissionDeleteResponse as PermissionDeleteResponse, type PermissionCreateResponsesPage as PermissionCreateResponsesPage, type PermissionCreateParams as PermissionCreateParams, type PermissionRetrieveParams as PermissionRetrieveParams, type PermissionDeleteParams as PermissionDeleteParams, }; +} +//# sourceMappingURL=permissions.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..ff5dd8a559874de64817054bcd8326c5b6934065 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"permissions.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/permissions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,IAAI,EAAE,WAAW,EAAE;OACrB,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,wBAAwB,EAAE,MAAM,EAChC,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,WA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AC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;CACjC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b95dc65694d6b41d560b648d9303b9514d08622b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts @@ -0,0 +1,160 @@ +import { APIResource } from "../../../core/resource.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { Page, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Permissions extends APIResource { + /** + * **NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys). + * + * This enables organization owners to share fine-tuned models with other projects + * in their organization. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const permissionCreateResponse of client.fineTuning.checkpoints.permissions.create( + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * { project_ids: ['string'] }, + * )) { + * // ... + * } + * ``` + */ + create(fineTunedModelCheckpoint: string, body: PermissionCreateParams, options?: RequestOptions): PagePromise; + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to view all permissions for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTunedModelCheckpoint: string, query?: PermissionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise; + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to delete a permission for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.delete( + * 'cp_zc4Q7MP6XxulcVzj4MZdwsAB', + * { + * fine_tuned_model_checkpoint: + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * }, + * ); + * ``` + */ + delete(permissionID: string, params: PermissionDeleteParams, options?: RequestOptions): APIPromise; +} +export type PermissionCreateResponsesPage = Page; +/** + * The `checkpoint.permission` object represents a permission for a fine-tuned + * model checkpoint. + */ +export interface PermissionCreateResponse { + /** + * The permission identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the permission was created. + */ + created_at: number; + /** + * The object type, which is always "checkpoint.permission". + */ + object: 'checkpoint.permission'; + /** + * The project identifier that the permission is for. + */ + project_id: string; +} +export interface PermissionRetrieveResponse { + data: Array; + has_more: boolean; + object: 'list'; + first_id?: string | null; + last_id?: string | null; +} +export declare namespace PermissionRetrieveResponse { + /** + * The `checkpoint.permission` object represents a permission for a fine-tuned + * model checkpoint. + */ + interface Data { + /** + * The permission identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the permission was created. + */ + created_at: number; + /** + * The object type, which is always "checkpoint.permission". + */ + object: 'checkpoint.permission'; + /** + * The project identifier that the permission is for. + */ + project_id: string; + } +} +export interface PermissionDeleteResponse { + /** + * The ID of the fine-tuned model checkpoint permission that was deleted. + */ + id: string; + /** + * Whether the fine-tuned model checkpoint permission was successfully deleted. + */ + deleted: boolean; + /** + * The object type, which is always "checkpoint.permission". + */ + object: 'checkpoint.permission'; +} +export interface PermissionCreateParams { + /** + * The project identifiers to grant access to. + */ + project_ids: Array; +} +export interface PermissionRetrieveParams { + /** + * Identifier for the last permission ID from the previous pagination request. + */ + after?: string; + /** + * Number of permissions to retrieve. + */ + limit?: number; + /** + * The order in which to retrieve permissions. + */ + order?: 'ascending' | 'descending'; + /** + * The ID of the project to get permissions for. + */ + project_id?: string; +} +export interface PermissionDeleteParams { + /** + * The ID of the fine-tuned model checkpoint to delete a permission for. + */ + fine_tuned_model_checkpoint: string; +} +export declare namespace Permissions { + export { type PermissionCreateResponse as PermissionCreateResponse, type PermissionRetrieveResponse as PermissionRetrieveResponse, type PermissionDeleteResponse as PermissionDeleteResponse, type PermissionCreateResponsesPage as PermissionCreateResponsesPage, type PermissionCreateParams as PermissionCreateParams, type PermissionRetrieveParams as PermissionRetrieveParams, type PermissionDeleteParams as PermissionDeleteParams, }; +} +//# sourceMappingURL=permissions.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..530ad9e8078bda5f35985c6a5508fb477ce40948 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/permissions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,IAAI,EAAE,WAAW,EAAE;OACrB,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,wBAAwB,EAAE,MAAM,EAChC,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,wBAAwB,CAAC;IAQvE;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,wBAAwB,EAAE,MAAM,EAChC,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAOzC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;CAOxC;AAGD,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC;AAE3E;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAEhC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,KAAK,CAAC,0BAA0B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EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js new file mode 100644 index 0000000000000000000000000000000000000000..a1a4a7264b525f54ee965e365d33dbcddd6fff75 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js @@ -0,0 +1,73 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Permissions = void 0; +const resource_1 = require("../../../core/resource.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Permissions extends resource_1.APIResource { + /** + * **NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys). + * + * This enables organization owners to share fine-tuned models with other projects + * in their organization. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const permissionCreateResponse of client.fineTuning.checkpoints.permissions.create( + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * { project_ids: ['string'] }, + * )) { + * // ... + * } + * ``` + */ + create(fineTunedModelCheckpoint, body, options) { + return this._client.getAPIList((0, path_1.path) `/fine_tuning/checkpoints/${fineTunedModelCheckpoint}/permissions`, (pagination_1.Page), { body, method: 'post', ...options }); + } + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to view all permissions for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTunedModelCheckpoint, query = {}, options) { + return this._client.get((0, path_1.path) `/fine_tuning/checkpoints/${fineTunedModelCheckpoint}/permissions`, { + query, + ...options, + }); + } + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to delete a permission for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.delete( + * 'cp_zc4Q7MP6XxulcVzj4MZdwsAB', + * { + * fine_tuned_model_checkpoint: + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * }, + * ); + * ``` + */ + delete(permissionID, params, options) { + const { fine_tuned_model_checkpoint } = params; + return this._client.delete((0, path_1.path) `/fine_tuning/checkpoints/${fine_tuned_model_checkpoint}/permissions/${permissionID}`, options); + } +} +exports.Permissions = Permissions; +//# sourceMappingURL=permissions.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ab49976a6772d5bdbe750ff57b9d940b19d8154f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/permissions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,4DAA6D;AAE7D,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,wBAAgC,EAChC,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,4BAA4B,wBAAwB,cAAc,EACtE,CAAA,iBAA8B,CAAA,EAC9B,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CACrC,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,wBAAgC,EAChC,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,wBAAwB,cAAc,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,2BAA2B,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAA,WAAI,EAAA,4BAA4B,2BAA2B,gBAAgB,YAAY,EAAE,EACzF,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AApFD,kCAoFC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a3c8a4e54b996f1e7ad43a90808867d79ba683d7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs @@ -0,0 +1,69 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { Page } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Permissions extends APIResource { + /** + * **NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys). + * + * This enables organization owners to share fine-tuned models with other projects + * in their organization. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const permissionCreateResponse of client.fineTuning.checkpoints.permissions.create( + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * { project_ids: ['string'] }, + * )) { + * // ... + * } + * ``` + */ + create(fineTunedModelCheckpoint, body, options) { + return this._client.getAPIList(path `/fine_tuning/checkpoints/${fineTunedModelCheckpoint}/permissions`, (Page), { body, method: 'post', ...options }); + } + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to view all permissions for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTunedModelCheckpoint, query = {}, options) { + return this._client.get(path `/fine_tuning/checkpoints/${fineTunedModelCheckpoint}/permissions`, { + query, + ...options, + }); + } + /** + * **NOTE:** This endpoint requires an [admin API key](../admin-api-keys). + * + * Organization owners can use this endpoint to delete a permission for a + * fine-tuned model checkpoint. + * + * @example + * ```ts + * const permission = + * await client.fineTuning.checkpoints.permissions.delete( + * 'cp_zc4Q7MP6XxulcVzj4MZdwsAB', + * { + * fine_tuned_model_checkpoint: + * 'ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd', + * }, + * ); + * ``` + */ + delete(permissionID, params, options) { + const { fine_tuned_model_checkpoint } = params; + return this._client.delete(path `/fine_tuning/checkpoints/${fine_tuned_model_checkpoint}/permissions/${permissionID}`, options); + } +} +//# sourceMappingURL=permissions.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..a0f5887874bb8571fa63b40607c1046cb621f845 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"permissions.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/checkpoints/permissions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,IAAI,EAAe;OAErB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,wBAAgC,EAChC,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,4BAA4B,wBAAwB,cAAc,EACtE,CAAA,IAA8B,CAAA,EAC9B,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CACrC,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,wBAAgC,EAChC,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,wBAAwB,cAAc,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,2BAA2B,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAI,CAAA,4BAA4B,2BAA2B,gBAAgB,YAAY,EAAE,EACzF,OAAO,CACR,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..293c6ad4962bf485027fab5f8c8b2044d117dec4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts @@ -0,0 +1,22 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as MethodsAPI from "./methods.mjs"; +import { DpoHyperparameters, DpoMethod, Methods, ReinforcementHyperparameters, ReinforcementMethod, SupervisedHyperparameters, SupervisedMethod } from "./methods.mjs"; +import * as AlphaAPI from "./alpha/alpha.mjs"; +import { Alpha } from "./alpha/alpha.mjs"; +import * as CheckpointsAPI from "./checkpoints/checkpoints.mjs"; +import { Checkpoints } from "./checkpoints/checkpoints.mjs"; +import * as JobsAPI from "./jobs/jobs.mjs"; +import { FineTuningJob, FineTuningJobEvent, FineTuningJobEventsPage, FineTuningJobIntegration, FineTuningJobWandbIntegration, FineTuningJobWandbIntegrationObject, FineTuningJobsPage, JobCreateParams, JobListEventsParams, JobListParams, Jobs } from "./jobs/jobs.mjs"; +export declare class FineTuning extends APIResource { + methods: MethodsAPI.Methods; + jobs: JobsAPI.Jobs; + checkpoints: CheckpointsAPI.Checkpoints; + alpha: AlphaAPI.Alpha; +} +export declare namespace FineTuning { + export { Methods as Methods, type DpoHyperparameters as DpoHyperparameters, type DpoMethod as DpoMethod, type ReinforcementHyperparameters as ReinforcementHyperparameters, type ReinforcementMethod as ReinforcementMethod, type SupervisedHyperparameters as SupervisedHyperparameters, type SupervisedMethod as SupervisedMethod, }; + export { Jobs as Jobs, type FineTuningJob as FineTuningJob, type FineTuningJobEvent as FineTuningJobEvent, type FineTuningJobWandbIntegration as FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject as FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration as FineTuningJobIntegration, type FineTuningJobsPage as FineTuningJobsPage, type FineTuningJobEventsPage as FineTuningJobEventsPage, type JobCreateParams as JobCreateParams, type JobListParams as JobListParams, type JobListEventsParams as JobListEventsParams, }; + export { Checkpoints as Checkpoints }; + export { Alpha as Alpha }; +} +//# sourceMappingURL=fine-tuning.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..6c3674aa7343bda091ede0a78ab9e611b6354cb1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"fine-tuning.d.mts","sourceRoot":"","sources":["../../src/resources/fine-tuning/fine-tuning.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,4BAA4B,EAC5B,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EACjB;OACM,KAAK,QAAQ;OACb,EAAE,KAAK,EAAE;OACT,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,EAC7B,mCAAmC,EACnC,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,aAAa,EACb,IAAI,EACL;AAED,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;CAC1D;AAOD,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,CAAC;IAEtC,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,CAAC;CAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8b99907c4c0e43f642914af141c733b503c83832 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts @@ -0,0 +1,22 @@ +import { APIResource } from "../../core/resource.js"; +import * as MethodsAPI from "./methods.js"; +import { DpoHyperparameters, DpoMethod, Methods, ReinforcementHyperparameters, ReinforcementMethod, SupervisedHyperparameters, SupervisedMethod } from "./methods.js"; +import * as AlphaAPI from "./alpha/alpha.js"; +import { Alpha } from "./alpha/alpha.js"; +import * as CheckpointsAPI from "./checkpoints/checkpoints.js"; +import { Checkpoints } from "./checkpoints/checkpoints.js"; +import * as JobsAPI from "./jobs/jobs.js"; +import { FineTuningJob, FineTuningJobEvent, FineTuningJobEventsPage, FineTuningJobIntegration, FineTuningJobWandbIntegration, FineTuningJobWandbIntegrationObject, FineTuningJobsPage, JobCreateParams, JobListEventsParams, JobListParams, Jobs } from "./jobs/jobs.js"; +export declare class FineTuning extends APIResource { + methods: MethodsAPI.Methods; + jobs: JobsAPI.Jobs; + checkpoints: CheckpointsAPI.Checkpoints; + alpha: AlphaAPI.Alpha; +} +export declare namespace FineTuning { + export { Methods as Methods, type DpoHyperparameters as DpoHyperparameters, type DpoMethod as DpoMethod, type ReinforcementHyperparameters as ReinforcementHyperparameters, type ReinforcementMethod as ReinforcementMethod, type SupervisedHyperparameters as SupervisedHyperparameters, type SupervisedMethod as SupervisedMethod, }; + export { Jobs as Jobs, type FineTuningJob as FineTuningJob, type FineTuningJobEvent as FineTuningJobEvent, type FineTuningJobWandbIntegration as FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject as FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration as FineTuningJobIntegration, type FineTuningJobsPage as FineTuningJobsPage, type FineTuningJobEventsPage as FineTuningJobEventsPage, type JobCreateParams as JobCreateParams, type JobListParams as JobListParams, type JobListEventsParams as JobListEventsParams, }; + export { Checkpoints as Checkpoints }; + export { Alpha as Alpha }; +} +//# sourceMappingURL=fine-tuning.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e830e1d2236fadc3d38a6450d3dd936766dd8aba --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"fine-tuning.d.ts","sourceRoot":"","sources":["../../src/resources/fine-tuning/fine-tuning.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,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,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,CAAC;IAEtC,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,CAAC;CAC3B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.js new file mode 100644 index 0000000000000000000000000000000000000000..d18287d586bedecedb046304927b362e0a47e59d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.js @@ -0,0 +1,29 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FineTuning = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const MethodsAPI = tslib_1.__importStar(require("./methods.js")); +const methods_1 = require("./methods.js"); +const AlphaAPI = tslib_1.__importStar(require("./alpha/alpha.js")); +const alpha_1 = require("./alpha/alpha.js"); +const CheckpointsAPI = tslib_1.__importStar(require("./checkpoints/checkpoints.js")); +const checkpoints_1 = require("./checkpoints/checkpoints.js"); +const JobsAPI = tslib_1.__importStar(require("./jobs/jobs.js")); +const jobs_1 = require("./jobs/jobs.js"); +class FineTuning extends resource_1.APIResource { + constructor() { + super(...arguments); + this.methods = new MethodsAPI.Methods(this._client); + this.jobs = new JobsAPI.Jobs(this._client); + this.checkpoints = new CheckpointsAPI.Checkpoints(this._client); + this.alpha = new AlphaAPI.Alpha(this._client); + } +} +exports.FineTuning = FineTuning; +FineTuning.Methods = methods_1.Methods; +FineTuning.Jobs = jobs_1.Jobs; +FineTuning.Checkpoints = checkpoints_1.Checkpoints; +FineTuning.Alpha = alpha_1.Alpha; +//# sourceMappingURL=fine-tuning.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.js.map new file mode 100644 index 0000000000000000000000000000000000000000..17e5476e06b026a03744d62e24bc877adb7e336f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fine-tuning.js","sourceRoot":"","sources":["../../src/resources/fine-tuning/fine-tuning.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAQmB;AACnB,mEAA0C;AAC1C,4CAAsC;AACtC,qFAA4D;AAC5D,8DAAwD;AACxD,gEAAuC;AACvC,yCAYqB;AAErB,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAAA;AALD,gCAKC;AAED,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC7B,UAAU,CAAC,IAAI,GAAG,WAAI,CAAC;AACvB,UAAU,CAAC,WAAW,GAAG,yBAAW,CAAC;AACrC,UAAU,CAAC,KAAK,GAAG,aAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.mjs new file mode 100644 index 0000000000000000000000000000000000000000..8b3abe8f093e8da868e5e0a92ca6e0eea6b3aff8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.mjs @@ -0,0 +1,24 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as MethodsAPI from "./methods.mjs"; +import { Methods, } from "./methods.mjs"; +import * as AlphaAPI from "./alpha/alpha.mjs"; +import { Alpha } from "./alpha/alpha.mjs"; +import * as CheckpointsAPI from "./checkpoints/checkpoints.mjs"; +import { Checkpoints } from "./checkpoints/checkpoints.mjs"; +import * as JobsAPI from "./jobs/jobs.mjs"; +import { Jobs, } from "./jobs/jobs.mjs"; +export class FineTuning extends APIResource { + constructor() { + super(...arguments); + this.methods = new MethodsAPI.Methods(this._client); + this.jobs = new JobsAPI.Jobs(this._client); + this.checkpoints = new CheckpointsAPI.Checkpoints(this._client); + this.alpha = new AlphaAPI.Alpha(this._client); + } +} +FineTuning.Methods = Methods; +FineTuning.Jobs = Jobs; +FineTuning.Checkpoints = Checkpoints; +FineTuning.Alpha = Alpha; +//# sourceMappingURL=fine-tuning.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2c7d2897b54392d224860e826fc88da9113723f7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/fine-tuning.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"fine-tuning.mjs","sourceRoot":"","sources":["../../src/resources/fine-tuning/fine-tuning.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAGL,OAAO,GAKR;OACM,KAAK,QAAQ;OACb,EAAE,KAAK,EAAE;OACT,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAWL,IAAI,GACL;AAED,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAAA;AAED,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC;AAC7B,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC;AACvB,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;AACrC,UAAU,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..c5edd4452fbc4ba68a2a9329fcb879cd74f32813 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.mts @@ -0,0 +1,6 @@ +export { Alpha } from "./alpha/index.mjs"; +export { Checkpoints } from "./checkpoints/index.mjs"; +export { FineTuning } from "./fine-tuning.mjs"; +export { Jobs, type FineTuningJob, type FineTuningJobEvent, type FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration, type JobCreateParams, type JobListParams, type JobListEventsParams, type FineTuningJobsPage, type FineTuningJobEventsPage, } from "./jobs/index.mjs"; +export { Methods, type DpoHyperparameters, type DpoMethod, type ReinforcementHyperparameters, type ReinforcementMethod, type SupervisedHyperparameters, type SupervisedMethod, } from "./methods.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..b69e9dc4f5bfd294953ab34c77188c5d03b92b44 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/fine-tuning/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,GACtB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..723ce9637c42def45dfad3841d499278c3b3c1e4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.ts @@ -0,0 +1,6 @@ +export { Alpha } from "./alpha/index.js"; +export { Checkpoints } from "./checkpoints/index.js"; +export { FineTuning } from "./fine-tuning.js"; +export { Jobs, type FineTuningJob, type FineTuningJobEvent, type FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration, type JobCreateParams, type JobListParams, type JobListEventsParams, type FineTuningJobsPage, type FineTuningJobEventsPage, } from "./jobs/index.js"; +export { Methods, type DpoHyperparameters, type DpoMethod, type ReinforcementHyperparameters, type ReinforcementMethod, type SupervisedHyperparameters, type SupervisedMethod, } from "./methods.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..64c1480d12601ee23e6e2c1510c372368b0439e6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/fine-tuning/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,GACtB"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e165c20dbad78fc7edefcf41800fccc66d536a6c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.js @@ -0,0 +1,15 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Methods = exports.Jobs = exports.FineTuning = exports.Checkpoints = exports.Alpha = void 0; +var index_1 = require("./alpha/index.js"); +Object.defineProperty(exports, "Alpha", { enumerable: true, get: function () { return index_1.Alpha; } }); +var index_2 = require("./checkpoints/index.js"); +Object.defineProperty(exports, "Checkpoints", { enumerable: true, get: function () { return index_2.Checkpoints; } }); +var fine_tuning_1 = require("./fine-tuning.js"); +Object.defineProperty(exports, "FineTuning", { enumerable: true, get: function () { return fine_tuning_1.FineTuning; } }); +var index_3 = require("./jobs/index.js"); +Object.defineProperty(exports, "Jobs", { enumerable: true, get: function () { return index_3.Jobs; } }); +var methods_1 = require("./methods.js"); +Object.defineProperty(exports, "Methods", { enumerable: true, get: function () { return methods_1.Methods; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f5eeb352bc8c072692d1b1bf6b30506e159eb836 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/fine-tuning/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,gDAAkD;AAAzC,oGAAA,WAAW,OAAA;AACpB,gDAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,yCAYsB;AAXpB,6FAAA,IAAI,OAAA;AAYN,wCAQmB;AAPjB,kGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d24f9143e98c69a4c288e6dfb92d2e673d106115 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.mjs @@ -0,0 +1,7 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Alpha } from "./alpha/index.mjs"; +export { Checkpoints } from "./checkpoints/index.mjs"; +export { FineTuning } from "./fine-tuning.mjs"; +export { Jobs, } from "./jobs/index.mjs"; +export { Methods, } from "./methods.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..1663c3dc2196c82bbdb08ed5ac6b7ba0e1699a77 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/fine-tuning/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAAE;OACT,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,IAAI,GAWL;OACM,EACL,OAAO,GAOR"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..0751c9b4d61ce087fbed07b3bb836344c02be8a6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.mts @@ -0,0 +1,2 @@ +export * from "./jobs/index.mjs"; +//# sourceMappingURL=jobs.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..8b31551605bf7f93509e6518996e40a204286a87 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.d.mts","sourceRoot":"","sources":["../../src/resources/fine-tuning/jobs.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8d7cad795c657ff01d047f86d38814629af71b7a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.ts @@ -0,0 +1,2 @@ +export * from "./jobs/index.js"; +//# sourceMappingURL=jobs.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..251067ae2c8e15b2d948b4431082521623ce549c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../src/resources/fine-tuning/jobs.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.js new file mode 100644 index 0000000000000000000000000000000000000000..66a19c255135f675c777557b8ae83f34d65a1a4b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.js @@ -0,0 +1,6 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("../../internal/tslib.js"); +tslib_1.__exportStar(require("./jobs/index.js"), exports); +//# sourceMappingURL=jobs.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.js.map new file mode 100644 index 0000000000000000000000000000000000000000..78a0dfbe6bd653ac31715cd863b94cab662e181d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../src/resources/fine-tuning/jobs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.mjs new file mode 100644 index 0000000000000000000000000000000000000000..922a17ba45068ec2b8057914ba0a56df4d1f1da5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.mjs @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export * from "./jobs/index.mjs"; +//# sourceMappingURL=jobs.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2b9691a38a69686228edbd479f7c107e449771b6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.mjs","sourceRoot":"","sources":["../../src/resources/fine-tuning/jobs.ts"],"names":[],"mappings":"AAAA,sFAAsF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..5028f5bad0fd3696eda712c3ed4514419c90a3b8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts @@ -0,0 +1,74 @@ +import { APIResource } from "../../../core/resource.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Checkpoints extends APIResource { + /** + * List checkpoints for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobCheckpoint of client.fineTuning.jobs.checkpoints.list( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + list(fineTuningJobID: string, query?: CheckpointListParams | null | undefined, options?: RequestOptions): PagePromise; +} +export type FineTuningJobCheckpointsPage = CursorPage; +/** + * The `fine_tuning.job.checkpoint` object represents a model checkpoint for a + * fine-tuning job that is ready to use. + */ +export interface FineTuningJobCheckpoint { + /** + * The checkpoint identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the checkpoint was created. + */ + created_at: number; + /** + * The name of the fine-tuned checkpoint model that is created. + */ + fine_tuned_model_checkpoint: string; + /** + * The name of the fine-tuning job that this checkpoint was created from. + */ + fine_tuning_job_id: string; + /** + * Metrics at the step number during the fine-tuning job. + */ + metrics: FineTuningJobCheckpoint.Metrics; + /** + * The object type, which is always "fine_tuning.job.checkpoint". + */ + object: 'fine_tuning.job.checkpoint'; + /** + * The step number that the checkpoint was created at. + */ + step_number: number; +} +export declare namespace FineTuningJobCheckpoint { + /** + * Metrics at the step number during the fine-tuning job. + */ + interface Metrics { + full_valid_loss?: number; + full_valid_mean_token_accuracy?: number; + step?: number; + train_loss?: number; + train_mean_token_accuracy?: number; + valid_loss?: number; + valid_mean_token_accuracy?: number; + } +} +export interface CheckpointListParams extends CursorPageParams { +} +export declare namespace Checkpoints { + export { type FineTuningJobCheckpoint as FineTuningJobCheckpoint, type FineTuningJobCheckpointsPage as FineTuningJobCheckpointsPage, type CheckpointListParams as CheckpointListParams, }; +} +//# sourceMappingURL=checkpoints.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..ed9c25d7420f5eb670bd83288114f22361e9897d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/checkpoints.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,eAAe,EAAE,MAAM,EACvB,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,uBAAuB,CAAC;CAOtE;AAED,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC,OAAO,CAAC;IAEzC;;OAEG;IACH,MAAM,EAAE,4BAA4B,CAAC;IAErC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,uBAAuB,CAAC;IACvC;;OAEG;IACH,UAAiB,OAAO;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;QAEzB,8BAA8B,CAAC,EAAE,MAAM,CAAC;QAExC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;QAEnC,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;KACpC;CACF;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;CAAG;AAEjE,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1ec97a80e946e5efe4e0bba8458ae7d845a91aad --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts @@ -0,0 +1,74 @@ +import { APIResource } from "../../../core/resource.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Checkpoints extends APIResource { + /** + * List checkpoints for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobCheckpoint of client.fineTuning.jobs.checkpoints.list( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + list(fineTuningJobID: string, query?: CheckpointListParams | null | undefined, options?: RequestOptions): PagePromise; +} +export type FineTuningJobCheckpointsPage = CursorPage; +/** + * The `fine_tuning.job.checkpoint` object represents a model checkpoint for a + * fine-tuning job that is ready to use. + */ +export interface FineTuningJobCheckpoint { + /** + * The checkpoint identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the checkpoint was created. + */ + created_at: number; + /** + * The name of the fine-tuned checkpoint model that is created. + */ + fine_tuned_model_checkpoint: string; + /** + * The name of the fine-tuning job that this checkpoint was created from. + */ + fine_tuning_job_id: string; + /** + * Metrics at the step number during the fine-tuning job. + */ + metrics: FineTuningJobCheckpoint.Metrics; + /** + * The object type, which is always "fine_tuning.job.checkpoint". + */ + object: 'fine_tuning.job.checkpoint'; + /** + * The step number that the checkpoint was created at. + */ + step_number: number; +} +export declare namespace FineTuningJobCheckpoint { + /** + * Metrics at the step number during the fine-tuning job. + */ + interface Metrics { + full_valid_loss?: number; + full_valid_mean_token_accuracy?: number; + step?: number; + train_loss?: number; + train_mean_token_accuracy?: number; + valid_loss?: number; + valid_mean_token_accuracy?: number; + } +} +export interface CheckpointListParams extends CursorPageParams { +} +export declare namespace Checkpoints { + export { type FineTuningJobCheckpoint as FineTuningJobCheckpoint, type FineTuningJobCheckpointsPage as FineTuningJobCheckpointsPage, type CheckpointListParams as CheckpointListParams, }; +} +//# sourceMappingURL=checkpoints.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..49f49baa28572641f6057adfb4f2bab9c0a28d55 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/checkpoints.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,eAAe,EAAE,MAAM,EACvB,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,uBAAuB,CAAC;CAOtE;AAED,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC,OAAO,CAAC;IAEzC;;OAEG;IACH,MAAM,EAAE,4BAA4B,CAAC;IAErC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,uBAAuB,CAAC;IACvC;;OAEG;IACH,UAAiB,OAAO;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;QAEzB,8BAA8B,CAAC,EAAE,MAAM,CAAC;QAExC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;QAEnC,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;KACpC;CACF;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;CAAG;AAEjE,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js new file mode 100644 index 0000000000000000000000000000000000000000..5e4e68354f813c80a0c7504a6c9d3b00ec2ac71c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js @@ -0,0 +1,27 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Checkpoints = void 0; +const resource_1 = require("../../../core/resource.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Checkpoints extends resource_1.APIResource { + /** + * List checkpoints for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobCheckpoint of client.fineTuning.jobs.checkpoints.list( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + list(fineTuningJobID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/fine_tuning/jobs/${fineTuningJobID}/checkpoints`, (pagination_1.CursorPage), { query, ...options }); + } +} +exports.Checkpoints = Checkpoints; +//# sourceMappingURL=checkpoints.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0aaa078380bf3672da5bc4f18d2d02a20a3bf407 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/checkpoints.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AACrD,4DAA0F;AAE1F,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,eAAuB,EACvB,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,qBAAqB,eAAe,cAAc,EACtD,CAAA,uBAAmC,CAAA,EACnC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAzBD,kCAyBC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs new file mode 100644 index 0000000000000000000000000000000000000000..6d2b3c1760227f21f20cf7c794cf7897ba0acd37 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs @@ -0,0 +1,23 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Checkpoints extends APIResource { + /** + * List checkpoints for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobCheckpoint of client.fineTuning.jobs.checkpoints.list( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + list(fineTuningJobID, query = {}, options) { + return this._client.getAPIList(path `/fine_tuning/jobs/${fineTuningJobID}/checkpoints`, (CursorPage), { query, ...options }); + } +} +//# sourceMappingURL=checkpoints.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..304415553732681e19dc6cd14675856e593edb82 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"checkpoints.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/checkpoints.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,eAAuB,EACvB,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,qBAAqB,eAAe,cAAc,EACtD,CAAA,UAAmC,CAAA,EACnC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..e51220bc7fe11fd38915c64695a0bc95399e9ad8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.mts @@ -0,0 +1,3 @@ +export { Checkpoints, type FineTuningJobCheckpoint, type CheckpointListParams, type FineTuningJobCheckpointsPage, } from "./checkpoints.mjs"; +export { Jobs, type FineTuningJob, type FineTuningJobEvent, type FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration, type JobCreateParams, type JobListParams, type JobListEventsParams, type FineTuningJobsPage, type FineTuningJobEventsPage, } from "./jobs.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..54ff55d0781015d7b926f0984fc90db0370609e3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..75017b233bf877c53db39e7610779bbce830e765 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.ts @@ -0,0 +1,3 @@ +export { Checkpoints, type FineTuningJobCheckpoint, type CheckpointListParams, type FineTuningJobCheckpointsPage, } from "./checkpoints.js"; +export { Jobs, type FineTuningJob, type FineTuningJobEvent, type FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration, type JobCreateParams, type JobListParams, type JobListEventsParams, type FineTuningJobsPage, type FineTuningJobEventsPage, } from "./jobs.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9fe5afe604c1952f29688ac0041388069f5354ca --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e9083d80a5d2f03f46c95ef58301e3c319a7e432 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Jobs = exports.Checkpoints = void 0; +var checkpoints_1 = require("./checkpoints.js"); +Object.defineProperty(exports, "Checkpoints", { enumerable: true, get: function () { return checkpoints_1.Checkpoints; } }); +var jobs_1 = require("./jobs.js"); +Object.defineProperty(exports, "Jobs", { enumerable: true, get: function () { return jobs_1.Jobs; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..cb33be5fdd9c929b8e9e688ee17f1e1206d73835 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,kCAYgB;AAXd,4FAAA,IAAI,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..07490244e4938c57e9b5487e641a6eff9fda8b09 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Checkpoints, } from "./checkpoints.mjs"; +export { Jobs, } from "./jobs.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..d84c46287a5fca5719445f26f994e938535241be --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAIZ;OACM,EACL,IAAI,GAWL"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d2b7d106f5e802893f712b426ad34bcdd38797da --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts @@ -0,0 +1,528 @@ +import { APIResource } from "../../../core/resource.mjs"; +import * as Shared from "../../shared.mjs"; +import * as MethodsAPI from "../methods.mjs"; +import * as CheckpointsAPI from "./checkpoints.mjs"; +import { CheckpointListParams, Checkpoints, FineTuningJobCheckpoint, FineTuningJobCheckpointsPage } from "./checkpoints.mjs"; +import { APIPromise } from "../../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.mjs"; +import { RequestOptions } from "../../../internal/request-options.mjs"; +export declare class Jobs extends APIResource { + checkpoints: CheckpointsAPI.Checkpoints; + /** + * Creates a fine-tuning job which begins the process of creating a new model from + * a given dataset. + * + * Response includes details of the enqueued job including job status and the name + * of the fine-tuned models once complete. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.create({ + * model: 'gpt-4o-mini', + * training_file: 'file-abc123', + * }); + * ``` + */ + create(body: JobCreateParams, options?: RequestOptions): APIPromise; + /** + * Get info about a fine-tuning job. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTuningJobID: string, options?: RequestOptions): APIPromise; + /** + * List your organization's fine-tuning jobs + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJob of client.fineTuning.jobs.list()) { + * // ... + * } + * ``` + */ + list(query?: JobListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Immediately cancel a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.cancel( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + cancel(fineTuningJobID: string, options?: RequestOptions): APIPromise; + /** + * Get status updates for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobEvent of client.fineTuning.jobs.listEvents( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + listEvents(fineTuningJobID: string, query?: JobListEventsParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Pause a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.pause( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + pause(fineTuningJobID: string, options?: RequestOptions): APIPromise; + /** + * Resume a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.resume( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + resume(fineTuningJobID: string, options?: RequestOptions): APIPromise; +} +export type FineTuningJobsPage = CursorPage; +export type FineTuningJobEventsPage = CursorPage; +/** + * The `fine_tuning.job` object represents a fine-tuning job that has been created + * through the API. + */ +export interface FineTuningJob { + /** + * The object identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job was created. + */ + created_at: number; + /** + * For fine-tuning jobs that have `failed`, this will contain more information on + * the cause of the failure. + */ + error: FineTuningJob.Error | null; + /** + * The name of the fine-tuned model that is being created. The value will be null + * if the fine-tuning job is still running. + */ + fine_tuned_model: string | null; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job was finished. The + * value will be null if the fine-tuning job is still running. + */ + finished_at: number | null; + /** + * The hyperparameters used for the fine-tuning job. This value will only be + * returned when running `supervised` jobs. + */ + hyperparameters: FineTuningJob.Hyperparameters; + /** + * The base model that is being fine-tuned. + */ + model: string; + /** + * The object type, which is always "fine_tuning.job". + */ + object: 'fine_tuning.job'; + /** + * The organization that owns the fine-tuning job. + */ + organization_id: string; + /** + * The compiled results file ID(s) for the fine-tuning job. You can retrieve the + * results with the + * [Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents). + */ + result_files: Array; + /** + * The seed used for the fine-tuning job. + */ + seed: number; + /** + * The current status of the fine-tuning job, which can be either + * `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`. + */ + status: 'validating_files' | 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled'; + /** + * The total number of billable tokens processed by this fine-tuning job. The value + * will be null if the fine-tuning job is still running. + */ + trained_tokens: number | null; + /** + * The file ID used for training. You can retrieve the training data with the + * [Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents). + */ + training_file: string; + /** + * The file ID used for validation. You can retrieve the validation results with + * the + * [Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents). + */ + validation_file: string | null; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job is estimated to + * finish. The value will be null if the fine-tuning job is not running. + */ + estimated_finish?: number | null; + /** + * A list of integrations to enable for this fine-tuning job. + */ + integrations?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The method used for fine-tuning. + */ + method?: FineTuningJob.Method; +} +export declare namespace FineTuningJob { + /** + * For fine-tuning jobs that have `failed`, this will contain more information on + * the cause of the failure. + */ + interface Error { + /** + * A machine-readable error code. + */ + code: string; + /** + * A human-readable error message. + */ + message: string; + /** + * The parameter that was invalid, usually `training_file` or `validation_file`. + * This field will be null if the failure was not parameter-specific. + */ + param: string | null; + } + /** + * The hyperparameters used for the fine-tuning job. This value will only be + * returned when running `supervised` jobs. + */ + interface Hyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number | null; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; + } + /** + * The method used for fine-tuning. + */ + interface Method { + /** + * The type of method. Is either `supervised`, `dpo`, or `reinforcement`. + */ + type: 'supervised' | 'dpo' | 'reinforcement'; + /** + * Configuration for the DPO fine-tuning method. + */ + dpo?: MethodsAPI.DpoMethod; + /** + * Configuration for the reinforcement fine-tuning method. + */ + reinforcement?: MethodsAPI.ReinforcementMethod; + /** + * Configuration for the supervised fine-tuning method. + */ + supervised?: MethodsAPI.SupervisedMethod; + } +} +/** + * Fine-tuning job event object + */ +export interface FineTuningJobEvent { + /** + * The object identifier. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job was created. + */ + created_at: number; + /** + * The log level of the event. + */ + level: 'info' | 'warn' | 'error'; + /** + * The message of the event. + */ + message: string; + /** + * The object type, which is always "fine_tuning.job.event". + */ + object: 'fine_tuning.job.event'; + /** + * The data associated with the event. + */ + data?: unknown; + /** + * The type of event. + */ + type?: 'message' | 'metrics'; +} +/** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ +export interface FineTuningJobWandbIntegration { + /** + * The name of the project that the new run will be created under. + */ + project: string; + /** + * The entity to use for the run. This allows you to set the team or username of + * the WandB user that you would like associated with the run. If not set, the + * default entity for the registered WandB API key is used. + */ + entity?: string | null; + /** + * A display name to set for the run. If not set, we will use the Job ID as the + * name. + */ + name?: string | null; + /** + * A list of tags to be attached to the newly created run. These tags are passed + * through directly to WandB. Some default tags are generated by OpenAI: + * "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcdef}". + */ + tags?: Array; +} +export interface FineTuningJobWandbIntegrationObject { + /** + * The type of the integration being enabled for the fine-tuning job + */ + type: 'wandb'; + /** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ + wandb: FineTuningJobWandbIntegration; +} +export type FineTuningJobIntegration = FineTuningJobWandbIntegrationObject; +export interface JobCreateParams { + /** + * The name of the model to fine-tune. You can select one of the + * [supported models](https://platform.openai.com/docs/guides/fine-tuning#which-models-can-be-fine-tuned). + */ + model: (string & {}) | 'babbage-002' | 'davinci-002' | 'gpt-3.5-turbo' | 'gpt-4o-mini'; + /** + * The ID of an uploaded file that contains training data. + * + * See [upload file](https://platform.openai.com/docs/api-reference/files/create) + * for how to upload a file. + * + * Your dataset must be formatted as a JSONL file. Additionally, you must upload + * your file with the purpose `fine-tune`. + * + * The contents of the file should differ depending on if the model uses the + * [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input), + * [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input) + * format, or if the fine-tuning method uses the + * [preference](https://platform.openai.com/docs/api-reference/fine-tuning/preference-input) + * format. + * + * See the + * [fine-tuning guide](https://platform.openai.com/docs/guides/model-optimization) + * for more details. + */ + training_file: string; + /** + * @deprecated The hyperparameters used for the fine-tuning job. This value is now + * deprecated in favor of `method`, and should be passed in under the `method` + * parameter. + */ + hyperparameters?: JobCreateParams.Hyperparameters; + /** + * A list of integrations to enable for your fine-tuning job. + */ + integrations?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The method used for fine-tuning. + */ + method?: JobCreateParams.Method; + /** + * The seed controls the reproducibility of the job. Passing in the same seed and + * job parameters should produce the same results, but may differ in rare cases. If + * a seed is not specified, one will be generated for you. + */ + seed?: number | null; + /** + * A string of up to 64 characters that will be added to your fine-tuned model + * name. + * + * For example, a `suffix` of "custom-model-name" would produce a model name like + * `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`. + */ + suffix?: string | null; + /** + * The ID of an uploaded file that contains validation data. + * + * If you provide this file, the data is used to generate validation metrics + * periodically during fine-tuning. These metrics can be viewed in the fine-tuning + * results file. The same data should not be present in both train and validation + * files. + * + * Your dataset must be formatted as a JSONL file. You must upload your file with + * the purpose `fine-tune`. + * + * See the + * [fine-tuning guide](https://platform.openai.com/docs/guides/model-optimization) + * for more details. + */ + validation_file?: string | null; +} +export declare namespace JobCreateParams { + /** + * @deprecated The hyperparameters used for the fine-tuning job. This value is now + * deprecated in favor of `method`, and should be passed in under the `method` + * parameter. + */ + interface Hyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; + } + interface Integration { + /** + * The type of integration to enable. Currently, only "wandb" (Weights and Biases) + * is supported. + */ + type: 'wandb'; + /** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ + wandb: Integration.Wandb; + } + namespace Integration { + /** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ + interface Wandb { + /** + * The name of the project that the new run will be created under. + */ + project: string; + /** + * The entity to use for the run. This allows you to set the team or username of + * the WandB user that you would like associated with the run. If not set, the + * default entity for the registered WandB API key is used. + */ + entity?: string | null; + /** + * A display name to set for the run. If not set, we will use the Job ID as the + * name. + */ + name?: string | null; + /** + * A list of tags to be attached to the newly created run. These tags are passed + * through directly to WandB. Some default tags are generated by OpenAI: + * "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcdef}". + */ + tags?: Array; + } + } + /** + * The method used for fine-tuning. + */ + interface Method { + /** + * The type of method. Is either `supervised`, `dpo`, or `reinforcement`. + */ + type: 'supervised' | 'dpo' | 'reinforcement'; + /** + * Configuration for the DPO fine-tuning method. + */ + dpo?: MethodsAPI.DpoMethod; + /** + * Configuration for the reinforcement fine-tuning method. + */ + reinforcement?: MethodsAPI.ReinforcementMethod; + /** + * Configuration for the supervised fine-tuning method. + */ + supervised?: MethodsAPI.SupervisedMethod; + } +} +export interface JobListParams extends CursorPageParams { + /** + * Optional metadata filter. To filter, use the syntax `metadata[k]=v`. + * Alternatively, set `metadata=null` to indicate no metadata. + */ + metadata?: { + [key: string]: string; + } | null; +} +export interface JobListEventsParams extends CursorPageParams { +} +export declare namespace Jobs { + export { type FineTuningJob as FineTuningJob, type FineTuningJobEvent as FineTuningJobEvent, type FineTuningJobWandbIntegration as FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject as FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration as FineTuningJobIntegration, type FineTuningJobsPage as FineTuningJobsPage, type FineTuningJobEventsPage as FineTuningJobEventsPage, type JobCreateParams as JobCreateParams, type JobListParams as JobListParams, type JobListEventsParams as JobListEventsParams, }; + export { Checkpoints as Checkpoints, type FineTuningJobCheckpoint as FineTuningJobCheckpoint, type FineTuningJobCheckpointsPage as FineTuningJobCheckpointsPage, type CheckpointListParams as CheckpointListParams, }; +} +//# sourceMappingURL=jobs.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..ca8b3934c5e1360b4df2f66cb91718d3344bba51 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.d.mts","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/jobs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,KAAK,cAAc;OACnB,EACL,oBAAoB,EACpB,WAAW,EACX,uBAAuB,EACvB,4BAA4B,EAC7B;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIlF;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAItF;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,aAAa,GA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ACF;IAED;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,IAAI,EAAE,YAAY,GAAG,KAAK,GAAG,eAAe,CAAC;QAE7C;;WAEG;QACH,GAAG,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC;QAE3B;;WAEG;QACH,aAAa,CAAC,EAAE,UAAU,CAAC,mBAAmB,CAAC;QAE/C;;WAEG;QACH,UAAU,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC;KAC1C;CACF;AAED,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD;;;OAGG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;CAAG;AAIhE,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..454b7316a53b0d38f3560c9e7755b753fe343e07 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts @@ -0,0 +1,528 @@ +import { APIResource } from "../../../core/resource.js"; +import * as Shared from "../../shared.js"; +import * as MethodsAPI from "../methods.js"; +import * as CheckpointsAPI from "./checkpoints.js"; +import { CheckpointListParams, Checkpoints, FineTuningJobCheckpoint, FineTuningJobCheckpointsPage } from "./checkpoints.js"; +import { APIPromise } from "../../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js"; +import { RequestOptions } from "../../../internal/request-options.js"; +export declare class Jobs extends APIResource { + checkpoints: CheckpointsAPI.Checkpoints; + /** + * Creates a fine-tuning job which begins the process of creating a new model from + * a given dataset. + * + * Response includes details of the enqueued job including job status and the name + * of the fine-tuned models once complete. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.create({ + * model: 'gpt-4o-mini', + * training_file: 'file-abc123', + * }); + * ``` + */ + create(body: JobCreateParams, options?: RequestOptions): APIPromise; + /** + * Get info about a fine-tuning job. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTuningJobID: string, options?: RequestOptions): APIPromise; + /** + * List your organization's fine-tuning jobs + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJob of client.fineTuning.jobs.list()) { + * // ... + * } + * ``` + */ + list(query?: JobListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Immediately cancel a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.cancel( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + cancel(fineTuningJobID: string, options?: RequestOptions): APIPromise; + /** + * Get status updates for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobEvent of client.fineTuning.jobs.listEvents( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + listEvents(fineTuningJobID: string, query?: JobListEventsParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Pause a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.pause( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + pause(fineTuningJobID: string, options?: RequestOptions): APIPromise; + /** + * Resume a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.resume( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + resume(fineTuningJobID: string, options?: RequestOptions): APIPromise; +} +export type FineTuningJobsPage = CursorPage; +export type FineTuningJobEventsPage = CursorPage; +/** + * The `fine_tuning.job` object represents a fine-tuning job that has been created + * through the API. + */ +export interface FineTuningJob { + /** + * The object identifier, which can be referenced in the API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job was created. + */ + created_at: number; + /** + * For fine-tuning jobs that have `failed`, this will contain more information on + * the cause of the failure. + */ + error: FineTuningJob.Error | null; + /** + * The name of the fine-tuned model that is being created. The value will be null + * if the fine-tuning job is still running. + */ + fine_tuned_model: string | null; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job was finished. The + * value will be null if the fine-tuning job is still running. + */ + finished_at: number | null; + /** + * The hyperparameters used for the fine-tuning job. This value will only be + * returned when running `supervised` jobs. + */ + hyperparameters: FineTuningJob.Hyperparameters; + /** + * The base model that is being fine-tuned. + */ + model: string; + /** + * The object type, which is always "fine_tuning.job". + */ + object: 'fine_tuning.job'; + /** + * The organization that owns the fine-tuning job. + */ + organization_id: string; + /** + * The compiled results file ID(s) for the fine-tuning job. You can retrieve the + * results with the + * [Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents). + */ + result_files: Array; + /** + * The seed used for the fine-tuning job. + */ + seed: number; + /** + * The current status of the fine-tuning job, which can be either + * `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`. + */ + status: 'validating_files' | 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled'; + /** + * The total number of billable tokens processed by this fine-tuning job. The value + * will be null if the fine-tuning job is still running. + */ + trained_tokens: number | null; + /** + * The file ID used for training. You can retrieve the training data with the + * [Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents). + */ + training_file: string; + /** + * The file ID used for validation. You can retrieve the validation results with + * the + * [Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents). + */ + validation_file: string | null; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job is estimated to + * finish. The value will be null if the fine-tuning job is not running. + */ + estimated_finish?: number | null; + /** + * A list of integrations to enable for this fine-tuning job. + */ + integrations?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The method used for fine-tuning. + */ + method?: FineTuningJob.Method; +} +export declare namespace FineTuningJob { + /** + * For fine-tuning jobs that have `failed`, this will contain more information on + * the cause of the failure. + */ + interface Error { + /** + * A machine-readable error code. + */ + code: string; + /** + * A human-readable error message. + */ + message: string; + /** + * The parameter that was invalid, usually `training_file` or `validation_file`. + * This field will be null if the failure was not parameter-specific. + */ + param: string | null; + } + /** + * The hyperparameters used for the fine-tuning job. This value will only be + * returned when running `supervised` jobs. + */ + interface Hyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number | null; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; + } + /** + * The method used for fine-tuning. + */ + interface Method { + /** + * The type of method. Is either `supervised`, `dpo`, or `reinforcement`. + */ + type: 'supervised' | 'dpo' | 'reinforcement'; + /** + * Configuration for the DPO fine-tuning method. + */ + dpo?: MethodsAPI.DpoMethod; + /** + * Configuration for the reinforcement fine-tuning method. + */ + reinforcement?: MethodsAPI.ReinforcementMethod; + /** + * Configuration for the supervised fine-tuning method. + */ + supervised?: MethodsAPI.SupervisedMethod; + } +} +/** + * Fine-tuning job event object + */ +export interface FineTuningJobEvent { + /** + * The object identifier. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the fine-tuning job was created. + */ + created_at: number; + /** + * The log level of the event. + */ + level: 'info' | 'warn' | 'error'; + /** + * The message of the event. + */ + message: string; + /** + * The object type, which is always "fine_tuning.job.event". + */ + object: 'fine_tuning.job.event'; + /** + * The data associated with the event. + */ + data?: unknown; + /** + * The type of event. + */ + type?: 'message' | 'metrics'; +} +/** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ +export interface FineTuningJobWandbIntegration { + /** + * The name of the project that the new run will be created under. + */ + project: string; + /** + * The entity to use for the run. This allows you to set the team or username of + * the WandB user that you would like associated with the run. If not set, the + * default entity for the registered WandB API key is used. + */ + entity?: string | null; + /** + * A display name to set for the run. If not set, we will use the Job ID as the + * name. + */ + name?: string | null; + /** + * A list of tags to be attached to the newly created run. These tags are passed + * through directly to WandB. Some default tags are generated by OpenAI: + * "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcdef}". + */ + tags?: Array; +} +export interface FineTuningJobWandbIntegrationObject { + /** + * The type of the integration being enabled for the fine-tuning job + */ + type: 'wandb'; + /** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ + wandb: FineTuningJobWandbIntegration; +} +export type FineTuningJobIntegration = FineTuningJobWandbIntegrationObject; +export interface JobCreateParams { + /** + * The name of the model to fine-tune. You can select one of the + * [supported models](https://platform.openai.com/docs/guides/fine-tuning#which-models-can-be-fine-tuned). + */ + model: (string & {}) | 'babbage-002' | 'davinci-002' | 'gpt-3.5-turbo' | 'gpt-4o-mini'; + /** + * The ID of an uploaded file that contains training data. + * + * See [upload file](https://platform.openai.com/docs/api-reference/files/create) + * for how to upload a file. + * + * Your dataset must be formatted as a JSONL file. Additionally, you must upload + * your file with the purpose `fine-tune`. + * + * The contents of the file should differ depending on if the model uses the + * [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input), + * [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input) + * format, or if the fine-tuning method uses the + * [preference](https://platform.openai.com/docs/api-reference/fine-tuning/preference-input) + * format. + * + * See the + * [fine-tuning guide](https://platform.openai.com/docs/guides/model-optimization) + * for more details. + */ + training_file: string; + /** + * @deprecated The hyperparameters used for the fine-tuning job. This value is now + * deprecated in favor of `method`, and should be passed in under the `method` + * parameter. + */ + hyperparameters?: JobCreateParams.Hyperparameters; + /** + * A list of integrations to enable for your fine-tuning job. + */ + integrations?: Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The method used for fine-tuning. + */ + method?: JobCreateParams.Method; + /** + * The seed controls the reproducibility of the job. Passing in the same seed and + * job parameters should produce the same results, but may differ in rare cases. If + * a seed is not specified, one will be generated for you. + */ + seed?: number | null; + /** + * A string of up to 64 characters that will be added to your fine-tuned model + * name. + * + * For example, a `suffix` of "custom-model-name" would produce a model name like + * `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`. + */ + suffix?: string | null; + /** + * The ID of an uploaded file that contains validation data. + * + * If you provide this file, the data is used to generate validation metrics + * periodically during fine-tuning. These metrics can be viewed in the fine-tuning + * results file. The same data should not be present in both train and validation + * files. + * + * Your dataset must be formatted as a JSONL file. You must upload your file with + * the purpose `fine-tune`. + * + * See the + * [fine-tuning guide](https://platform.openai.com/docs/guides/model-optimization) + * for more details. + */ + validation_file?: string | null; +} +export declare namespace JobCreateParams { + /** + * @deprecated The hyperparameters used for the fine-tuning job. This value is now + * deprecated in favor of `method`, and should be passed in under the `method` + * parameter. + */ + interface Hyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; + } + interface Integration { + /** + * The type of integration to enable. Currently, only "wandb" (Weights and Biases) + * is supported. + */ + type: 'wandb'; + /** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ + wandb: Integration.Wandb; + } + namespace Integration { + /** + * The settings for your integration with Weights and Biases. This payload + * specifies the project that metrics will be sent to. Optionally, you can set an + * explicit display name for your run, add tags to your run, and set a default + * entity (team, username, etc) to be associated with your run. + */ + interface Wandb { + /** + * The name of the project that the new run will be created under. + */ + project: string; + /** + * The entity to use for the run. This allows you to set the team or username of + * the WandB user that you would like associated with the run. If not set, the + * default entity for the registered WandB API key is used. + */ + entity?: string | null; + /** + * A display name to set for the run. If not set, we will use the Job ID as the + * name. + */ + name?: string | null; + /** + * A list of tags to be attached to the newly created run. These tags are passed + * through directly to WandB. Some default tags are generated by OpenAI: + * "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcdef}". + */ + tags?: Array; + } + } + /** + * The method used for fine-tuning. + */ + interface Method { + /** + * The type of method. Is either `supervised`, `dpo`, or `reinforcement`. + */ + type: 'supervised' | 'dpo' | 'reinforcement'; + /** + * Configuration for the DPO fine-tuning method. + */ + dpo?: MethodsAPI.DpoMethod; + /** + * Configuration for the reinforcement fine-tuning method. + */ + reinforcement?: MethodsAPI.ReinforcementMethod; + /** + * Configuration for the supervised fine-tuning method. + */ + supervised?: MethodsAPI.SupervisedMethod; + } +} +export interface JobListParams extends CursorPageParams { + /** + * Optional metadata filter. To filter, use the syntax `metadata[k]=v`. + * Alternatively, set `metadata=null` to indicate no metadata. + */ + metadata?: { + [key: string]: string; + } | null; +} +export interface JobListEventsParams extends CursorPageParams { +} +export declare namespace Jobs { + export { type FineTuningJob as FineTuningJob, type FineTuningJobEvent as FineTuningJobEvent, type FineTuningJobWandbIntegration as FineTuningJobWandbIntegration, type FineTuningJobWandbIntegrationObject as FineTuningJobWandbIntegrationObject, type FineTuningJobIntegration as FineTuningJobIntegration, type FineTuningJobsPage as FineTuningJobsPage, type FineTuningJobEventsPage as FineTuningJobEventsPage, type JobCreateParams as JobCreateParams, type JobListParams as JobListParams, type JobListEventsParams as JobListEventsParams, }; + export { Checkpoints as Checkpoints, type FineTuningJobCheckpoint as FineTuningJobCheckpoint, type FineTuningJobCheckpointsPage as FineTuningJobCheckpointsPage, type CheckpointListParams as CheckpointListParams, }; +} +//# sourceMappingURL=jobs.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..511e837d97ebc16a88f0a38f498ab07cf5abc1c8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts.map @@ -0,0 +1 @@ +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AC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.js new file mode 100644 index 0000000000000000000000000000000000000000..e5d6808d4377c0adecdb4479c45ebfb38232ad74 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.js @@ -0,0 +1,123 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Jobs = void 0; +const tslib_1 = require("../../../internal/tslib.js"); +const resource_1 = require("../../../core/resource.js"); +const CheckpointsAPI = tslib_1.__importStar(require("./checkpoints.js")); +const checkpoints_1 = require("./checkpoints.js"); +const pagination_1 = require("../../../core/pagination.js"); +const path_1 = require("../../../internal/utils/path.js"); +class Jobs extends resource_1.APIResource { + constructor() { + super(...arguments); + this.checkpoints = new CheckpointsAPI.Checkpoints(this._client); + } + /** + * Creates a fine-tuning job which begins the process of creating a new model from + * a given dataset. + * + * Response includes details of the enqueued job including job status and the name + * of the fine-tuned models once complete. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.create({ + * model: 'gpt-4o-mini', + * training_file: 'file-abc123', + * }); + * ``` + */ + create(body, options) { + return this._client.post('/fine_tuning/jobs', { body, ...options }); + } + /** + * Get info about a fine-tuning job. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTuningJobID, options) { + return this._client.get((0, path_1.path) `/fine_tuning/jobs/${fineTuningJobID}`, options); + } + /** + * List your organization's fine-tuning jobs + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJob of client.fineTuning.jobs.list()) { + * // ... + * } + * ``` + */ + list(query = {}, options) { + return this._client.getAPIList('/fine_tuning/jobs', (pagination_1.CursorPage), { query, ...options }); + } + /** + * Immediately cancel a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.cancel( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + cancel(fineTuningJobID, options) { + return this._client.post((0, path_1.path) `/fine_tuning/jobs/${fineTuningJobID}/cancel`, options); + } + /** + * Get status updates for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobEvent of client.fineTuning.jobs.listEvents( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + listEvents(fineTuningJobID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/fine_tuning/jobs/${fineTuningJobID}/events`, (pagination_1.CursorPage), { query, ...options }); + } + /** + * Pause a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.pause( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + pause(fineTuningJobID, options) { + return this._client.post((0, path_1.path) `/fine_tuning/jobs/${fineTuningJobID}/pause`, options); + } + /** + * Resume a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.resume( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + resume(fineTuningJobID, options) { + return this._client.post((0, path_1.path) `/fine_tuning/jobs/${fineTuningJobID}/resume`, options); + } +} +exports.Jobs = Jobs; +Jobs.Checkpoints = checkpoints_1.Checkpoints; +//# sourceMappingURL=jobs.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0f8c229f77f6e34e85ca95ad697f06664004089c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/jobs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAGrD,yEAAgD;AAChD,kDAKuB;AAEvB,4DAA0F;AAE1F,0DAAoD;AAEpD,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2HzF,CAAC;IAzHC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC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I,CAAC,WAAW,GAAG,yBAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs new file mode 100644 index 0000000000000000000000000000000000000000..6d7581dfcbdf805468911ec1ed965febc366d7b2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs @@ -0,0 +1,118 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../../core/resource.mjs"; +import * as CheckpointsAPI from "./checkpoints.mjs"; +import { Checkpoints, } from "./checkpoints.mjs"; +import { CursorPage } from "../../../core/pagination.mjs"; +import { path } from "../../../internal/utils/path.mjs"; +export class Jobs extends APIResource { + constructor() { + super(...arguments); + this.checkpoints = new CheckpointsAPI.Checkpoints(this._client); + } + /** + * Creates a fine-tuning job which begins the process of creating a new model from + * a given dataset. + * + * Response includes details of the enqueued job including job status and the name + * of the fine-tuned models once complete. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.create({ + * model: 'gpt-4o-mini', + * training_file: 'file-abc123', + * }); + * ``` + */ + create(body, options) { + return this._client.post('/fine_tuning/jobs', { body, ...options }); + } + /** + * Get info about a fine-tuning job. + * + * [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization) + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.retrieve( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + retrieve(fineTuningJobID, options) { + return this._client.get(path `/fine_tuning/jobs/${fineTuningJobID}`, options); + } + /** + * List your organization's fine-tuning jobs + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJob of client.fineTuning.jobs.list()) { + * // ... + * } + * ``` + */ + list(query = {}, options) { + return this._client.getAPIList('/fine_tuning/jobs', (CursorPage), { query, ...options }); + } + /** + * Immediately cancel a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.cancel( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + cancel(fineTuningJobID, options) { + return this._client.post(path `/fine_tuning/jobs/${fineTuningJobID}/cancel`, options); + } + /** + * Get status updates for a fine-tuning job. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const fineTuningJobEvent of client.fineTuning.jobs.listEvents( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * )) { + * // ... + * } + * ``` + */ + listEvents(fineTuningJobID, query = {}, options) { + return this._client.getAPIList(path `/fine_tuning/jobs/${fineTuningJobID}/events`, (CursorPage), { query, ...options }); + } + /** + * Pause a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.pause( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + pause(fineTuningJobID, options) { + return this._client.post(path `/fine_tuning/jobs/${fineTuningJobID}/pause`, options); + } + /** + * Resume a fine-tune job. + * + * @example + * ```ts + * const fineTuningJob = await client.fineTuning.jobs.resume( + * 'ft-AF1WoRqd3aJAHsqc9NY7iL8F', + * ); + * ``` + */ + resume(fineTuningJobID, options) { + return this._client.post(path `/fine_tuning/jobs/${fineTuningJobID}/resume`, options); + } +} +Jobs.Checkpoints = Checkpoints; +//# sourceMappingURL=jobs.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..3f2d2c8ed9a644e5e0f1d336dde9cc9ad0496a4c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"jobs.mjs","sourceRoot":"","sources":["../../../src/resources/fine-tuning/jobs/jobs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,cAAc;OACnB,EAEL,WAAW,GAGZ;OAEM,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2HzF,CAAC;IAzHC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,eAAuB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,eAAe,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,UAAyB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,eAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,eAAe,SAAS,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CACR,eAAuB,EACvB,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,qBAAqB,eAAe,SAAS,EACjD,CAAA,UAA8B,CAAA,EAC9B,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,eAAuB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,eAAe,QAAQ,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,eAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,eAAe,SAAS,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF;AA0eD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..98885930dd2275b8d280960dba8393557f45d5d4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.mts @@ -0,0 +1,120 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as GraderModelsAPI from "../graders/grader-models.mjs"; +export declare class Methods extends APIResource { +} +/** + * The hyperparameters used for the DPO fine-tuning job. + */ +export interface DpoHyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * The beta value for the DPO method. A higher beta value will increase the weight + * of the penalty between the policy and reference model. + */ + beta?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; +} +/** + * Configuration for the DPO fine-tuning method. + */ +export interface DpoMethod { + /** + * The hyperparameters used for the DPO fine-tuning job. + */ + hyperparameters?: DpoHyperparameters; +} +/** + * The hyperparameters used for the reinforcement fine-tuning job. + */ +export interface ReinforcementHyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * Multiplier on amount of compute used for exploring search space during training. + */ + compute_multiplier?: 'auto' | number; + /** + * The number of training steps between evaluation runs. + */ + eval_interval?: 'auto' | number; + /** + * Number of evaluation samples to generate per training step. + */ + eval_samples?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; + /** + * Level of reasoning effort. + */ + reasoning_effort?: 'default' | 'low' | 'medium' | 'high'; +} +/** + * Configuration for the reinforcement fine-tuning method. + */ +export interface ReinforcementMethod { + /** + * The grader used for the fine-tuning job. + */ + grader: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; + /** + * The hyperparameters used for the reinforcement fine-tuning job. + */ + hyperparameters?: ReinforcementHyperparameters; +} +/** + * The hyperparameters used for the fine-tuning job. + */ +export interface SupervisedHyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; +} +/** + * Configuration for the supervised fine-tuning method. + */ +export interface SupervisedMethod { + /** + * The hyperparameters used for the fine-tuning job. + */ + hyperparameters?: SupervisedHyperparameters; +} +export declare namespace Methods { + export { type DpoHyperparameters as DpoHyperparameters, type DpoMethod as DpoMethod, type ReinforcementHyperparameters as ReinforcementHyperparameters, type ReinforcementMethod as ReinforcementMethod, type SupervisedHyperparameters as SupervisedHyperparameters, type SupervisedMethod as SupervisedMethod, }; +} +//# sourceMappingURL=methods.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..40f842da76b1edacbaa7fa0a68b95df72455b9c5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"methods.d.mts","sourceRoot":"","sources":["../../src/resources/fine-tuning/methods.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;AAE3B,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,kBAAkB,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,UAAU,C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yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e93242e3de894fc32eca0b871bff325abb21e3f5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.ts @@ -0,0 +1,120 @@ +import { APIResource } from "../../core/resource.js"; +import * as GraderModelsAPI from "../graders/grader-models.js"; +export declare class Methods extends APIResource { +} +/** + * The hyperparameters used for the DPO fine-tuning job. + */ +export interface DpoHyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * The beta value for the DPO method. A higher beta value will increase the weight + * of the penalty between the policy and reference model. + */ + beta?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; +} +/** + * Configuration for the DPO fine-tuning method. + */ +export interface DpoMethod { + /** + * The hyperparameters used for the DPO fine-tuning job. + */ + hyperparameters?: DpoHyperparameters; +} +/** + * The hyperparameters used for the reinforcement fine-tuning job. + */ +export interface ReinforcementHyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * Multiplier on amount of compute used for exploring search space during training. + */ + compute_multiplier?: 'auto' | number; + /** + * The number of training steps between evaluation runs. + */ + eval_interval?: 'auto' | number; + /** + * Number of evaluation samples to generate per training step. + */ + eval_samples?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; + /** + * Level of reasoning effort. + */ + reasoning_effort?: 'default' | 'low' | 'medium' | 'high'; +} +/** + * Configuration for the reinforcement fine-tuning method. + */ +export interface ReinforcementMethod { + /** + * The grader used for the fine-tuning job. + */ + grader: GraderModelsAPI.StringCheckGrader | GraderModelsAPI.TextSimilarityGrader | GraderModelsAPI.PythonGrader | GraderModelsAPI.ScoreModelGrader | GraderModelsAPI.MultiGrader; + /** + * The hyperparameters used for the reinforcement fine-tuning job. + */ + hyperparameters?: ReinforcementHyperparameters; +} +/** + * The hyperparameters used for the fine-tuning job. + */ +export interface SupervisedHyperparameters { + /** + * Number of examples in each batch. A larger batch size means that model + * parameters are updated less frequently, but with lower variance. + */ + batch_size?: 'auto' | number; + /** + * Scaling factor for the learning rate. A smaller learning rate may be useful to + * avoid overfitting. + */ + learning_rate_multiplier?: 'auto' | number; + /** + * The number of epochs to train the model for. An epoch refers to one full cycle + * through the training dataset. + */ + n_epochs?: 'auto' | number; +} +/** + * Configuration for the supervised fine-tuning method. + */ +export interface SupervisedMethod { + /** + * The hyperparameters used for the fine-tuning job. + */ + hyperparameters?: SupervisedHyperparameters; +} +export declare namespace Methods { + export { type DpoHyperparameters as DpoHyperparameters, type DpoMethod as DpoMethod, type ReinforcementHyperparameters as ReinforcementHyperparameters, type ReinforcementMethod as ReinforcementMethod, type SupervisedHyperparameters as SupervisedHyperparameters, type SupervisedMethod as SupervisedMethod, }; +} +//# sourceMappingURL=methods.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..cb629b213ad73ad816cb39f2d55c748675ac282f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../src/resources/fine-tuning/methods.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;AAE3B,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,kBAAkB,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE/B;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC1D;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EACF,eAAe,CAAC,iBAAiB,GACjC,eAAe,CAAC,oBAAoB,GACpC,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gBAAgB,GAChC,eAAe,CAAC,WAAW,CAAC;IAEhC;;OAEG;IACH,eAAe,CAAC,EAAE,4BAA4B,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;CAC7C;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.js new file mode 100644 index 0000000000000000000000000000000000000000..6ec53d7ffca6130d32c5026d93f5a7bf359c1b10 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Methods = void 0; +const resource_1 = require("../../core/resource.js"); +class Methods extends resource_1.APIResource { +} +exports.Methods = Methods; +//# sourceMappingURL=methods.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.js.map new file mode 100644 index 0000000000000000000000000000000000000000..11c82e19b86e2b2cf56f81e5a15620cdafc2ec40 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.js.map @@ -0,0 +1 @@ +{"version":3,"file":"methods.js","sourceRoot":"","sources":["../../src/resources/fine-tuning/methods.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.mjs new file mode 100644 index 0000000000000000000000000000000000000000..00eeb19767e80a7461d173c274dea8548320159c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.mjs @@ -0,0 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +export class Methods extends APIResource { +} +//# sourceMappingURL=methods.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c21f700fdd43886b7569b2169d553dc0b29ccf77 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/fine-tuning/methods.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"methods.mjs","sourceRoot":"","sources":["../../src/resources/fine-tuning/methods.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..9ceb4102770a0320b97a6cc3b19635dedb4e322a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.mts @@ -0,0 +1,274 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as ResponsesAPI from "../responses/responses.mjs"; +export declare class GraderModels extends APIResource { +} +/** + * A LabelModelGrader object which uses a model to assign labels to each item in + * the evaluation. + */ +export interface LabelModelGrader { + input: Array; + /** + * The labels to assign to each item in the evaluation. + */ + labels: Array; + /** + * The model to use for the evaluation. Must support structured outputs. + */ + model: string; + /** + * The name of the grader. + */ + name: string; + /** + * The labels that indicate a passing result. Must be a subset of labels. + */ + passing_labels: Array; + /** + * The object type, which is always `label_model`. + */ + type: 'label_model'; +} +export declare namespace LabelModelGrader { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface Input { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace Input { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } +} +/** + * A MultiGrader object combines the output of multiple graders to produce a single + * score. + */ +export interface MultiGrader { + /** + * A formula to calculate the output based on grader results. + */ + calculate_output: string; + /** + * A StringCheckGrader object that performs a string comparison between input and + * reference using a specified operation. + */ + graders: StringCheckGrader | TextSimilarityGrader | PythonGrader | ScoreModelGrader | LabelModelGrader; + /** + * The name of the grader. + */ + name: string; + /** + * The object type, which is always `multi`. + */ + type: 'multi'; +} +/** + * A PythonGrader object that runs a python script on the input. + */ +export interface PythonGrader { + /** + * The name of the grader. + */ + name: string; + /** + * The source code of the python script. + */ + source: string; + /** + * The object type, which is always `python`. + */ + type: 'python'; + /** + * The image tag to use for the python script. + */ + image_tag?: string; +} +/** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ +export interface ScoreModelGrader { + /** + * The input text. This may include template strings. + */ + input: Array; + /** + * The model to use for the evaluation. + */ + model: string; + /** + * The name of the grader. + */ + name: string; + /** + * The object type, which is always `score_model`. + */ + type: 'score_model'; + /** + * The range of the score. Defaults to `[0, 1]`. + */ + range?: Array; + /** + * The sampling parameters for the model. + */ + sampling_params?: unknown; +} +export declare namespace ScoreModelGrader { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface Input { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace Input { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } +} +/** + * A StringCheckGrader object that performs a string comparison between input and + * reference using a specified operation. + */ +export interface StringCheckGrader { + /** + * The input text. This may include template strings. + */ + input: string; + /** + * The name of the grader. + */ + name: string; + /** + * The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`. + */ + operation: 'eq' | 'ne' | 'like' | 'ilike'; + /** + * The reference text. This may include template strings. + */ + reference: string; + /** + * The object type, which is always `string_check`. + */ + type: 'string_check'; +} +/** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ +export interface TextSimilarityGrader { + /** + * The evaluation metric to use. One of `cosine`, `fuzzy_match`, `bleu`, `gleu`, + * `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`. + */ + evaluation_metric: 'cosine' | 'fuzzy_match' | 'bleu' | 'gleu' | 'meteor' | 'rouge_1' | 'rouge_2' | 'rouge_3' | 'rouge_4' | 'rouge_5' | 'rouge_l'; + /** + * The text being graded. + */ + input: string; + /** + * The name of the grader. + */ + name: string; + /** + * The text being graded against. + */ + reference: string; + /** + * The type of grader. + */ + type: 'text_similarity'; +} +export declare namespace GraderModels { + export { type LabelModelGrader as LabelModelGrader, type MultiGrader as MultiGrader, type PythonGrader as PythonGrader, type ScoreModelGrader as ScoreModelGrader, type StringCheckGrader as StringCheckGrader, type TextSimilarityGrader as TextSimilarityGrader, }; +} +//# sourceMappingURL=grader-models.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..f983b3a9388537cd5ce1c334b2c2d7eb616427fe --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"grader-models.d.mts","sourceRoot":"","sources":["../../src/resources/graders/grader-models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;AAExB,qBAAa,YAAa,SAAQ,WAAW;CAAG;AAEhD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAErC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;;;;;OAMG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,iBAAiB,GAAG,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAExG;;;WAGG;QACH,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;QAEpD;;WAEG;QACH,IAAI,CAAC,EAAE,SAAS,CAAC;KAClB;IAED,UAAiB,KAAK,CAAC;QACrB;;WAEG;QACH,UAAiB,UAAU;YACzB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,IAAI,EAAE,aAAa,CAAC;SACrB;QAED;;WAEG;QACH,UAAiB,UAAU;YACzB;;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AAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5ae10ed3ba36b41f3c415a1f73951a88093904fe --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.ts @@ -0,0 +1,274 @@ +import { APIResource } from "../../core/resource.js"; +import * as ResponsesAPI from "../responses/responses.js"; +export declare class GraderModels extends APIResource { +} +/** + * A LabelModelGrader object which uses a model to assign labels to each item in + * the evaluation. + */ +export interface LabelModelGrader { + input: Array; + /** + * The labels to assign to each item in the evaluation. + */ + labels: Array; + /** + * The model to use for the evaluation. Must support structured outputs. + */ + model: string; + /** + * The name of the grader. + */ + name: string; + /** + * The labels that indicate a passing result. Must be a subset of labels. + */ + passing_labels: Array; + /** + * The object type, which is always `label_model`. + */ + type: 'label_model'; +} +export declare namespace LabelModelGrader { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface Input { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace Input { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } +} +/** + * A MultiGrader object combines the output of multiple graders to produce a single + * score. + */ +export interface MultiGrader { + /** + * A formula to calculate the output based on grader results. + */ + calculate_output: string; + /** + * A StringCheckGrader object that performs a string comparison between input and + * reference using a specified operation. + */ + graders: StringCheckGrader | TextSimilarityGrader | PythonGrader | ScoreModelGrader | LabelModelGrader; + /** + * The name of the grader. + */ + name: string; + /** + * The object type, which is always `multi`. + */ + type: 'multi'; +} +/** + * A PythonGrader object that runs a python script on the input. + */ +export interface PythonGrader { + /** + * The name of the grader. + */ + name: string; + /** + * The source code of the python script. + */ + source: string; + /** + * The object type, which is always `python`. + */ + type: 'python'; + /** + * The image tag to use for the python script. + */ + image_tag?: string; +} +/** + * A ScoreModelGrader object that uses a model to assign a score to the input. + */ +export interface ScoreModelGrader { + /** + * The input text. This may include template strings. + */ + input: Array; + /** + * The model to use for the evaluation. + */ + model: string; + /** + * The name of the grader. + */ + name: string; + /** + * The object type, which is always `score_model`. + */ + type: 'score_model'; + /** + * The range of the score. Defaults to `[0, 1]`. + */ + range?: Array; + /** + * The sampling parameters for the model. + */ + sampling_params?: unknown; +} +export declare namespace ScoreModelGrader { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ + interface Input { + /** + * Inputs to the model - can contain template strings. + */ + content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | Array; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; + } + namespace Input { + /** + * A text output from the model. + */ + interface OutputText { + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + } + /** + * An image input to the model. + */ + interface InputImage { + /** + * The URL of the image input. + */ + image_url: string; + /** + * The type of the image input. Always `input_image`. + */ + type: 'input_image'; + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail?: string; + } + } +} +/** + * A StringCheckGrader object that performs a string comparison between input and + * reference using a specified operation. + */ +export interface StringCheckGrader { + /** + * The input text. This may include template strings. + */ + input: string; + /** + * The name of the grader. + */ + name: string; + /** + * The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`. + */ + operation: 'eq' | 'ne' | 'like' | 'ilike'; + /** + * The reference text. This may include template strings. + */ + reference: string; + /** + * The object type, which is always `string_check`. + */ + type: 'string_check'; +} +/** + * A TextSimilarityGrader object which grades text based on similarity metrics. + */ +export interface TextSimilarityGrader { + /** + * The evaluation metric to use. One of `cosine`, `fuzzy_match`, `bleu`, `gleu`, + * `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`. + */ + evaluation_metric: 'cosine' | 'fuzzy_match' | 'bleu' | 'gleu' | 'meteor' | 'rouge_1' | 'rouge_2' | 'rouge_3' | 'rouge_4' | 'rouge_5' | 'rouge_l'; + /** + * The text being graded. + */ + input: string; + /** + * The name of the grader. + */ + name: string; + /** + * The text being graded against. + */ + reference: string; + /** + * The type of grader. + */ + type: 'text_similarity'; +} +export declare namespace GraderModels { + export { type LabelModelGrader as LabelModelGrader, type MultiGrader as MultiGrader, type PythonGrader as PythonGrader, type ScoreModelGrader as ScoreModelGrader, type StringCheckGrader as StringCheckGrader, type TextSimilarityGrader as TextSimilarityGrader, }; +} +//# sourceMappingURL=grader-models.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d923607b54992af3e77eb8f8a66b6a50f471a728 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"grader-models.d.ts","sourceRoot":"","sources":["../../src/resources/graders/grader-models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;AAExB,qBAAa,YAAa,SAAQ,WAAW;CAAG;AAEhD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAErC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;;;;;OAMG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,iBAAiB,GAAG,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAExG;;;WAGG;QACH,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;QAEpD;;WAEG;QACH,IAAI,CAAC,EAAE,SAAS,CAAC;KAClB;IAED,UAAiB,KAAK,CAAC;QACrB;;WAEG;QACH,UAAiB,UAAU;YACzB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,IAAI,EAAE,aAAa,CAAC;SACrB;QAED;;WAEG;QACH,UAAiB,UAAU;YACzB;;eAEG;YACH,SAAS,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EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.js new file mode 100644 index 0000000000000000000000000000000000000000..d538547adfffe11e79477e0df22429f8e7ead597 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GraderModels = void 0; +const resource_1 = require("../../core/resource.js"); +class GraderModels extends resource_1.APIResource { +} +exports.GraderModels = GraderModels; +//# sourceMappingURL=grader-models.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.js.map new file mode 100644 index 0000000000000000000000000000000000000000..41933c3d6b1ea8b5a79944c54cb406d919235ee7 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.js.map @@ -0,0 +1 @@ +{"version":3,"file":"grader-models.js","sourceRoot":"","sources":["../../src/resources/graders/grader-models.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,MAAa,YAAa,SAAQ,sBAAW;CAAG;AAAhD,oCAAgD"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f262b55bb075a1d7f51e0c6a3829a2f26f80e96b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.mjs @@ -0,0 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +export class GraderModels extends APIResource { +} +//# sourceMappingURL=grader-models.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..4c79137d7d1ef4fffe3e55632411510dd39f94a9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/grader-models.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"grader-models.mjs","sourceRoot":"","sources":["../../src/resources/graders/grader-models.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,YAAa,SAAQ,WAAW;CAAG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..973fad7edc3114a5b54cf76ad558e18c43fc0a83 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.mts @@ -0,0 +1,10 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as GraderModelsAPI from "./grader-models.mjs"; +import { GraderModels, LabelModelGrader, MultiGrader, PythonGrader, ScoreModelGrader, StringCheckGrader, TextSimilarityGrader } from "./grader-models.mjs"; +export declare class Graders extends APIResource { + graderModels: GraderModelsAPI.GraderModels; +} +export declare namespace Graders { + export { GraderModels as GraderModels, type LabelModelGrader as LabelModelGrader, type MultiGrader as MultiGrader, type PythonGrader as PythonGrader, type ScoreModelGrader as ScoreModelGrader, type StringCheckGrader as StringCheckGrader, type TextSimilarityGrader as TextSimilarityGrader, }; +} +//# sourceMappingURL=graders.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..e579e2aab7c026337ccd2475a773d09a73b22adc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.d.mts","sourceRoot":"","sources":["../../src/resources/graders/graders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EACL,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACrB;AAED,qBAAa,OAAQ,SAAQ,WAAW;IACtC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;CAC7F;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c329b7840819a8412ddaab9c6664caa32041ed3b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.ts @@ -0,0 +1,10 @@ +import { APIResource } from "../../core/resource.js"; +import * as GraderModelsAPI from "./grader-models.js"; +import { GraderModels, LabelModelGrader, MultiGrader, PythonGrader, ScoreModelGrader, StringCheckGrader, TextSimilarityGrader } from "./grader-models.js"; +export declare class Graders extends APIResource { + graderModels: GraderModelsAPI.GraderModels; +} +export declare namespace Graders { + export { GraderModels as GraderModels, type LabelModelGrader as LabelModelGrader, type MultiGrader as MultiGrader, type PythonGrader as PythonGrader, type ScoreModelGrader as ScoreModelGrader, type StringCheckGrader as StringCheckGrader, type TextSimilarityGrader as TextSimilarityGrader, }; +} +//# sourceMappingURL=graders.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..66bb1bd43a0d99cadfcaebb735c4343cbf83b7d5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.d.ts","sourceRoot":"","sources":["../../src/resources/graders/graders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EACL,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACrB;AAED,qBAAa,OAAQ,SAAQ,WAAW;IACtC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;CAC7F;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.js new file mode 100644 index 0000000000000000000000000000000000000000..9352fb58abb8ba645d8ca933ce971305a89c6f61 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.js @@ -0,0 +1,17 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Graders = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const GraderModelsAPI = tslib_1.__importStar(require("./grader-models.js")); +const grader_models_1 = require("./grader-models.js"); +class Graders extends resource_1.APIResource { + constructor() { + super(...arguments); + this.graderModels = new GraderModelsAPI.GraderModels(this._client); + } +} +exports.Graders = Graders; +Graders.GraderModels = grader_models_1.GraderModels; +//# sourceMappingURL=graders.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5945ec5cef47f425666fbfa665cb46775509c04f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.js.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.js","sourceRoot":"","sources":["../../src/resources/graders/graders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,4EAAmD;AACnD,sDAQyB;AAEzB,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9F,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,YAAY,GAAG,4BAAY,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.mjs new file mode 100644 index 0000000000000000000000000000000000000000..46eafceab3428e56e4477a1b3e9fc65dc6c2154f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.mjs @@ -0,0 +1,12 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as GraderModelsAPI from "./grader-models.mjs"; +import { GraderModels, } from "./grader-models.mjs"; +export class Graders extends APIResource { + constructor() { + super(...arguments); + this.graderModels = new GraderModelsAPI.GraderModels(this._client); + } +} +Graders.GraderModels = GraderModels; +//# sourceMappingURL=graders.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..c0342efdb4fc17cfe332feb3eca09b2771df941e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/graders.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"graders.mjs","sourceRoot":"","sources":["../../src/resources/graders/graders.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EACL,YAAY,GAOb;AAED,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9F,CAAC;CAAA;AAED,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..82481a4d5100af7dca08cf44492af3d69936aa04 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.mts @@ -0,0 +1,3 @@ +export { GraderModels, type LabelModelGrader, type MultiGrader, type PythonGrader, type ScoreModelGrader, type StringCheckGrader, type TextSimilarityGrader, } from "./grader-models.mjs"; +export { Graders } from "./graders.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..782280949f13bc95757cf8101b85dcbc161622a3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/graders/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC1B;OACM,EAAE,OAAO,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0e4992683bd0dbe0460b56d93cc83eeb5c868a74 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.ts @@ -0,0 +1,3 @@ +export { GraderModels, type LabelModelGrader, type MultiGrader, type PythonGrader, type ScoreModelGrader, type StringCheckGrader, type TextSimilarityGrader, } from "./grader-models.js"; +export { Graders } from "./graders.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6d6ac72c8661694e387ae456bb3fbad0d069cfbb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/graders/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC1B;OACM,EAAE,OAAO,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cd5fb698435a1e0606e0b08d1f9a3d0878c0e73a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Graders = exports.GraderModels = void 0; +var grader_models_1 = require("./grader-models.js"); +Object.defineProperty(exports, "GraderModels", { enumerable: true, get: function () { return grader_models_1.GraderModels; } }); +var graders_1 = require("./graders.js"); +Object.defineProperty(exports, "Graders", { enumerable: true, get: function () { return graders_1.Graders; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..d791dca59f4b73c6b62f0dd41edad5e4d5ba2d92 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/graders/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAQyB;AAPvB,6GAAA,YAAY,OAAA;AAQd,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..9e4fa8001a3286d539e58763893b1af774347447 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { GraderModels, } from "./grader-models.mjs"; +export { Graders } from "./graders.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..9f5930a7835e32464232c67dfa2d19d81623abc1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/graders/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/graders/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAOb;OACM,EAAE,OAAO,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..886e31c126b720f52018360427f21a17879ae25c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.mts @@ -0,0 +1,3 @@ +export { InputItems, type ResponseItemList, type InputItemListParams } from "./input-items.mjs"; +export { Responses } from "./responses.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..33ba5870ad09cebb88f0050ed55184fe5ca26bd6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/responses/index.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE;OAC/D,EAAE,SAAS,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1b47502bf00b979f674b0e9ca555b35f427933ba --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.ts @@ -0,0 +1,3 @@ +export { InputItems, type ResponseItemList, type InputItemListParams } from "./input-items.js"; +export { Responses } from "./responses.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..38c8669875007282f696647609cc2729672abc0b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/responses/index.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE;OAC/D,EAAE,SAAS,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.js new file mode 100644 index 0000000000000000000000000000000000000000..3327ffb5e142b48060e5b870bd164bee60c25e0d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Responses = exports.InputItems = void 0; +var input_items_1 = require("./input-items.js"); +Object.defineProperty(exports, "InputItems", { enumerable: true, get: function () { return input_items_1.InputItems; } }); +var responses_1 = require("./responses.js"); +Object.defineProperty(exports, "Responses", { enumerable: true, get: function () { return responses_1.Responses; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..dd5678214caeee94c7caadeace61cb1b21b84ebd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/responses/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4F;AAAnF,yGAAA,UAAU,OAAA;AACnB,4CAAwC;AAA/B,sGAAA,SAAS,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d1a116383f2792212de4515de62b605775586b86 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { InputItems } from "./input-items.mjs"; +export { Responses } from "./responses.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..aa296cc447d49ce7c0a9ab7f0389b6018a0d549f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/responses/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,UAAU,EAAmD;OAC/D,EAAE,SAAS,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..d875248f3f2a13222e0a3cec4065c93bce80b89c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.mts @@ -0,0 +1,65 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as ResponsesAPI from "./responses.mjs"; +import { ResponseItemsPage } from "./responses.mjs"; +import { type CursorPageParams, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class InputItems extends APIResource { + /** + * Returns a list of input items for a given response. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const responseItem of client.responses.inputItems.list( + * 'response_id', + * )) { + * // ... + * } + * ``` + */ + list(responseID: string, query?: InputItemListParams | null | undefined, options?: RequestOptions): PagePromise; +} +/** + * A list of Response items. + */ +export interface ResponseItemList { + /** + * A list of items used to generate this response. + */ + data: Array; + /** + * The ID of the first item in the list. + */ + first_id: string; + /** + * Whether there are more items available. + */ + has_more: boolean; + /** + * The ID of the last item in the list. + */ + last_id: string; + /** + * The type of object returned, must be `list`. + */ + object: 'list'; +} +export interface InputItemListParams extends CursorPageParams { + /** + * Additional fields to include in the response. See the `include` parameter for + * Response creation above for more information. + */ + include?: Array; + /** + * The order to return the input items in. Default is `desc`. + * + * - `asc`: Return the input items in ascending order. + * - `desc`: Return the input items in descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace InputItems { + export { type ResponseItemList as ResponseItemList, type InputItemListParams as InputItemListParams }; +} +export { type ResponseItemsPage }; +//# sourceMappingURL=input-items.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..d0becda988fb1caeb46aad03a6ce2b82d8551bdd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"input-items.d.mts","sourceRoot":"","sources":["../../src/resources/responses/input-items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,iBAAiB,EAAE;OACrB,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iBAAiB,EAAE,YAAY,CAAC,YAAY,CAAC;CAO7D;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAEvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CACvG;AAED,OAAO,EAAE,KAAK,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b8a68a1566da8664040c365e35dbb92b73dc2c2d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.ts @@ -0,0 +1,65 @@ +import { APIResource } from "../../core/resource.js"; +import * as ResponsesAPI from "./responses.js"; +import { ResponseItemsPage } from "./responses.js"; +import { type CursorPageParams, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class InputItems extends APIResource { + /** + * Returns a list of input items for a given response. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const responseItem of client.responses.inputItems.list( + * 'response_id', + * )) { + * // ... + * } + * ``` + */ + list(responseID: string, query?: InputItemListParams | null | undefined, options?: RequestOptions): PagePromise; +} +/** + * A list of Response items. + */ +export interface ResponseItemList { + /** + * A list of items used to generate this response. + */ + data: Array; + /** + * The ID of the first item in the list. + */ + first_id: string; + /** + * Whether there are more items available. + */ + has_more: boolean; + /** + * The ID of the last item in the list. + */ + last_id: string; + /** + * The type of object returned, must be `list`. + */ + object: 'list'; +} +export interface InputItemListParams extends CursorPageParams { + /** + * Additional fields to include in the response. See the `include` parameter for + * Response creation above for more information. + */ + include?: Array; + /** + * The order to return the input items in. Default is `desc`. + * + * - `asc`: Return the input items in ascending order. + * - `desc`: Return the input items in descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace InputItems { + export { type ResponseItemList as ResponseItemList, type InputItemListParams as InputItemListParams }; +} +export { type ResponseItemsPage }; +//# sourceMappingURL=input-items.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..827d9f7e3c5f896d57a253f0b8856e08142003e2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"input-items.d.ts","sourceRoot":"","sources":["../../src/resources/responses/input-items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,iBAAiB,EAAE;OACrB,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iBAAiB,EAAE,YAAY,CAAC,YAAY,CAAC;CAO7D;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAEvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CACvG;AAED,OAAO,EAAE,KAAK,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.js new file mode 100644 index 0000000000000000000000000000000000000000..11e8cf4fa0632eefdefb8a073737f781079557fd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.js @@ -0,0 +1,27 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InputItems = void 0; +const resource_1 = require("../../core/resource.js"); +const pagination_1 = require("../../core/pagination.js"); +const path_1 = require("../../internal/utils/path.js"); +class InputItems extends resource_1.APIResource { + /** + * Returns a list of input items for a given response. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const responseItem of client.responses.inputItems.list( + * 'response_id', + * )) { + * // ... + * } + * ``` + */ + list(responseID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/responses/${responseID}/input_items`, (pagination_1.CursorPage), { query, ...options }); + } +} +exports.InputItems = InputItems; +//# sourceMappingURL=input-items.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.js.map new file mode 100644 index 0000000000000000000000000000000000000000..289d75677400bd2096d64a3fcf81d67e1cb633b4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.js.map @@ -0,0 +1 @@ +{"version":3,"file":"input-items.js","sourceRoot":"","sources":["../../src/resources/responses/input-items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAAuF;AAEvF,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,UAAkB,EAClB,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,cAAc,UAAU,cAAc,EAC1C,CAAA,uBAAqC,CAAA,EACrC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAzBD,gCAyBC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.mjs new file mode 100644 index 0000000000000000000000000000000000000000..b589a03e32f2b359e059754a7425ea399db60fe2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.mjs @@ -0,0 +1,23 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { CursorPage } from "../../core/pagination.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class InputItems extends APIResource { + /** + * Returns a list of input items for a given response. + * + * @example + * ```ts + * // Automatically fetches more pages as needed. + * for await (const responseItem of client.responses.inputItems.list( + * 'response_id', + * )) { + * // ... + * } + * ``` + */ + list(responseID, query = {}, options) { + return this._client.getAPIList(path `/responses/${responseID}/input_items`, (CursorPage), { query, ...options }); + } +} +//# sourceMappingURL=input-items.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..e2c1eea038e23fd24124414677ac5fadfc642915 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/input-items.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"input-items.mjs","sourceRoot":"","sources":["../../src/resources/responses/input-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,UAAkB,EAClB,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,cAAc,UAAU,cAAc,EAC1C,CAAA,UAAqC,CAAA,EACrC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..fc8e6826c38b1ec668ffc0c7c1b12789a300bc4a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.mts @@ -0,0 +1,4442 @@ +import { type ExtractParsedContentFromParams, type ResponseCreateParamsWithTools } from "../../lib/ResponsesParser.mjs"; +import { ResponseStream, ResponseStreamParams } from "../../lib/responses/ResponseStream.mjs"; +import { APIResource } from "../../core/resource.mjs"; +import * as ResponsesAPI from "./responses.mjs"; +import * as Shared from "../shared.mjs"; +import * as InputItemsAPI from "./input-items.mjs"; +import { InputItemListParams, InputItems, ResponseItemList } from "./input-items.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { CursorPage } from "../../core/pagination.mjs"; +import { Stream } from "../../core/streaming.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export interface ParsedResponseOutputText extends ResponseOutputText { + parsed: ParsedT | null; +} +export type ParsedContent = ParsedResponseOutputText | ResponseOutputRefusal; +export interface ParsedResponseOutputMessage extends ResponseOutputMessage { + content: ParsedContent[]; +} +export interface ParsedResponseFunctionToolCall extends ResponseFunctionToolCall { + parsed_arguments: any; +} +export type ParsedResponseOutputItem = ParsedResponseOutputMessage | ParsedResponseFunctionToolCall | ResponseFileSearchToolCall | ResponseFunctionWebSearch | ResponseComputerToolCall | ResponseReasoningItem | ResponseOutputItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseOutputItem.LocalShellCall | ResponseOutputItem.McpCall | ResponseOutputItem.McpListTools | ResponseOutputItem.McpApprovalRequest | ResponseCustomToolCall; +export interface ParsedResponse extends Response { + output: Array>; + output_parsed: ParsedT | null; +} +export type ResponseParseParams = ResponseCreateParamsNonStreaming; +export declare class Responses extends APIResource { + inputItems: InputItemsAPI.InputItems; + /** + * Creates a model response. Provide + * [text](https://platform.openai.com/docs/guides/text) or + * [image](https://platform.openai.com/docs/guides/images) inputs to generate + * [text](https://platform.openai.com/docs/guides/text) or + * [JSON](https://platform.openai.com/docs/guides/structured-outputs) outputs. Have + * the model call your own + * [custom code](https://platform.openai.com/docs/guides/function-calling) or use + * built-in [tools](https://platform.openai.com/docs/guides/tools) like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search) to use + * your own data as input for the model's response. + * + * @example + * ```ts + * const response = await client.responses.create(); + * ``` + */ + create(body: ResponseCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(body: ResponseCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(body: ResponseCreateParamsBase, options?: RequestOptions): APIPromise | Response>; + /** + * Retrieves a model response with the given ID. + * + * @example + * ```ts + * const response = await client.responses.retrieve( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + retrieve(responseID: string, query?: ResponseRetrieveParamsNonStreaming, options?: RequestOptions): APIPromise; + retrieve(responseID: string, query: ResponseRetrieveParamsStreaming, options?: RequestOptions): APIPromise>; + retrieve(responseID: string, query?: ResponseRetrieveParamsBase | undefined, options?: RequestOptions): APIPromise | Response>; + /** + * Deletes a model response with the given ID. + * + * @example + * ```ts + * await client.responses.delete( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + delete(responseID: string, options?: RequestOptions): APIPromise; + parse>(body: Params, options?: RequestOptions): APIPromise>; + /** + * Creates a model response stream + */ + stream>(body: Params, options?: RequestOptions): ResponseStream; + /** + * Cancels a model response with the given ID. Only responses created with the + * `background` parameter set to `true` can be cancelled. + * [Learn more](https://platform.openai.com/docs/guides/background). + * + * @example + * ```ts + * const response = await client.responses.cancel( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + cancel(responseID: string, options?: RequestOptions): APIPromise; +} +export type ResponseItemsPage = CursorPage; +/** + * A tool that controls a virtual computer. Learn more about the + * [computer tool](https://platform.openai.com/docs/guides/tools-computer-use). + */ +export interface ComputerTool { + /** + * The height of the computer display. + */ + display_height: number; + /** + * The width of the computer display. + */ + display_width: number; + /** + * The type of computer environment to control. + */ + environment: 'windows' | 'mac' | 'linux' | 'ubuntu' | 'browser'; + /** + * The type of the computer use tool. Always `computer_use_preview`. + */ + type: 'computer_use_preview'; +} +/** + * A custom tool that processes input using a specified format. Learn more about + * [custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools). + */ +export interface CustomTool { + /** + * The name of the custom tool, used to identify it in tool calls. + */ + name: string; + /** + * The type of the custom tool. Always `custom`. + */ + type: 'custom'; + /** + * Optional description of the custom tool, used to provide more context. + */ + description?: string; + /** + * The input format for the custom tool. Default is unconstrained text. + */ + format?: Shared.CustomToolInputFormat; +} +/** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ +export interface EasyInputMessage { + /** + * Text, image, or audio input to the model, used to generate a response. Can also + * contain previous assistant responses. + */ + content: string | ResponseInputMessageContentList; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; +} +/** + * A tool that searches for relevant content from uploaded files. Learn more about + * the + * [file search tool](https://platform.openai.com/docs/guides/tools-file-search). + */ +export interface FileSearchTool { + /** + * The type of the file search tool. Always `file_search`. + */ + type: 'file_search'; + /** + * The IDs of the vector stores to search. + */ + vector_store_ids: Array; + /** + * A filter to apply. + */ + filters?: Shared.ComparisonFilter | Shared.CompoundFilter | null; + /** + * The maximum number of results to return. This number should be between 1 and 50 + * inclusive. + */ + max_num_results?: number; + /** + * Ranking options for search. + */ + ranking_options?: FileSearchTool.RankingOptions; +} +export declare namespace FileSearchTool { + /** + * Ranking options for search. + */ + interface RankingOptions { + /** + * The ranker to use for the file search. + */ + ranker?: 'auto' | 'default-2024-11-15'; + /** + * The score threshold for the file search, a number between 0 and 1. Numbers + * closer to 1 will attempt to return only the most relevant results, but may + * return fewer results. + */ + score_threshold?: number; + } +} +/** + * Defines a function in your own code the model can choose to call. Learn more + * about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ +export interface FunctionTool { + /** + * The name of the function to call. + */ + name: string; + /** + * A JSON schema object describing the parameters of the function. + */ + parameters: { + [key: string]: unknown; + } | null; + /** + * Whether to enforce strict parameter validation. Default `true`. + */ + strict: boolean | null; + /** + * The type of the function tool. Always `function`. + */ + type: 'function'; + /** + * A description of the function. Used by the model to determine whether or not to + * call the function. + */ + description?: string | null; +} +export interface Response { + /** + * Unique identifier for this Response. + */ + id: string; + /** + * Unix timestamp (in seconds) of when this Response was created. + */ + created_at: number; + output_text: string; + /** + * An error object returned when the model fails to generate a Response. + */ + error: ResponseError | null; + /** + * Details about why the response is incomplete. + */ + incomplete_details: Response.IncompleteDetails | null; + /** + * A system (or developer) message inserted into the model's context. + * + * When using along with `previous_response_id`, the instructions from a previous + * response will not be carried over to the next response. This makes it simple to + * swap out system (or developer) messages in new responses. + */ + instructions: string | Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a + * wide range of models with different capabilities, performance characteristics, + * and price points. Refer to the + * [model guide](https://platform.openai.com/docs/models) to browse and compare + * available models. + */ + model: Shared.ResponsesModel; + /** + * The object type of this resource - always set to `response`. + */ + object: 'response'; + /** + * An array of content items generated by the model. + * + * - The length and order of items in the `output` array is dependent on the + * model's response. + * - Rather than accessing the first item in the `output` array and assuming it's + * an `assistant` message with the content generated by the model, you might + * consider using the `output_text` property where supported in SDKs. + */ + output: Array; + /** + * Whether to allow the model to run tool calls in parallel. + */ + parallel_tool_calls: boolean; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. We generally recommend altering this or `top_p` but + * not both. + */ + temperature: number | null; + /** + * How the model should select which tool (or tools) to use when generating a + * response. See the `tools` parameter to see how to specify which tools the model + * can call. + */ + tool_choice: ToolChoiceOptions | ToolChoiceAllowed | ToolChoiceTypes | ToolChoiceFunction | ToolChoiceMcp | ToolChoiceCustom; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code with strongly typed arguments and outputs. + * Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + * You can also use custom tools to call your own code. + */ + tools: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or `temperature` but not both. + */ + top_p: number | null; + /** + * Whether to run the model response in the background. + * [Learn more](https://platform.openai.com/docs/guides/background). + */ + background?: boolean | null; + /** + * The conversation that this response belongs to. Input items and output items + * from this response are automatically added to this conversation. + */ + conversation?: Response.Conversation | null; + /** + * An upper bound for the number of tokens that can be generated for a response, + * including visible output tokens and + * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning). + */ + max_output_tokens?: number | null; + /** + * The unique ID of the previous response to the model. Use this to create + * multi-turn conversations. Learn more about + * [conversation state](https://platform.openai.com/docs/guides/conversation-state). + * Cannot be used in conjunction with `conversation`. + */ + previous_response_id?: string | null; + /** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ + prompt?: ResponsePrompt | null; + /** + * Used by OpenAI to cache responses for similar requests to optimize your cache + * hit rates. Replaces the `user` field. + * [Learn more](https://platform.openai.com/docs/guides/prompt-caching). + */ + prompt_cache_key?: string; + /** + * **gpt-5 and o-series models only** + * + * Configuration options for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). + */ + reasoning?: Shared.Reasoning | null; + /** + * A stable identifier used to help detect users of your application that may be + * violating OpenAI's usage policies. The IDs should be a string that uniquely + * identifies each user. We recommend hashing their username or email address, in + * order to avoid sending us any identifying information. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + safety_identifier?: string; + /** + * Specifies the latency tier to use for processing the request. This parameter is + * relevant for customers subscribed to the scale tier service: + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When this parameter is set, the response body will include the `service_tier` + * utilized. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * The status of the response generation. One of `completed`, `failed`, + * `in_progress`, `cancelled`, `queued`, or `incomplete`. + */ + status?: ResponseStatus; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: ResponseTextConfig; + /** + * The truncation strategy to use for the model response. + * + * - `auto`: If the context of this response and previous ones exceeds the model's + * context window size, the model will truncate the response to fit the context + * window by dropping input items in the middle of the conversation. + * - `disabled` (default): If a model response will exceed the context window size + * for a model, the request will fail with a 400 error. + */ + truncation?: 'auto' | 'disabled' | null; + /** + * Represents token usage details including input tokens, output tokens, a + * breakdown of output tokens, and the total tokens used. + */ + usage?: ResponseUsage; + /** + * @deprecated This field is being replaced by `safety_identifier` and + * `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching + * optimizations. A stable identifier for your end-users. Used to boost cache hit + * rates by better bucketing similar requests and to help OpenAI detect and prevent + * abuse. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + user?: string; +} +export declare namespace Response { + /** + * Details about why the response is incomplete. + */ + interface IncompleteDetails { + /** + * The reason why the response is incomplete. + */ + reason?: 'max_output_tokens' | 'content_filter'; + } + /** + * The conversation that this response belongs to. Input items and output items + * from this response are automatically added to this conversation. + */ + interface Conversation { + /** + * The unique ID of the conversation. + */ + id: string; + } +} +/** + * Emitted when there is a partial audio response. + */ +export interface ResponseAudioDeltaEvent { + /** + * A chunk of Base64 encoded response audio bytes. + */ + delta: string; + /** + * A sequence number for this chunk of the stream response. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.delta`. + */ + type: 'response.audio.delta'; +} +/** + * Emitted when the audio response is complete. + */ +export interface ResponseAudioDoneEvent { + /** + * The sequence number of the delta. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.done`. + */ + type: 'response.audio.done'; +} +/** + * Emitted when there is a partial transcript of audio. + */ +export interface ResponseAudioTranscriptDeltaEvent { + /** + * The partial transcript of the audio response. + */ + delta: string; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.transcript.delta`. + */ + type: 'response.audio.transcript.delta'; +} +/** + * Emitted when the full audio transcript is completed. + */ +export interface ResponseAudioTranscriptDoneEvent { + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.transcript.done`. + */ + type: 'response.audio.transcript.done'; +} +/** + * Emitted when a partial code snippet is streamed by the code interpreter. + */ +export interface ResponseCodeInterpreterCallCodeDeltaEvent { + /** + * The partial code snippet being streamed by the code interpreter. + */ + delta: string; + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code is being + * streamed. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call_code.delta`. + */ + type: 'response.code_interpreter_call_code.delta'; +} +/** + * Emitted when the code snippet is finalized by the code interpreter. + */ +export interface ResponseCodeInterpreterCallCodeDoneEvent { + /** + * The final code snippet output by the code interpreter. + */ + code: string; + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code is finalized. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call_code.done`. + */ + type: 'response.code_interpreter_call_code.done'; +} +/** + * Emitted when the code interpreter call is completed. + */ +export interface ResponseCodeInterpreterCallCompletedEvent { + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code interpreter call + * is completed. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call.completed`. + */ + type: 'response.code_interpreter_call.completed'; +} +/** + * Emitted when a code interpreter call is in progress. + */ +export interface ResponseCodeInterpreterCallInProgressEvent { + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code interpreter call + * is in progress. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call.in_progress`. + */ + type: 'response.code_interpreter_call.in_progress'; +} +/** + * Emitted when the code interpreter is actively interpreting the code snippet. + */ +export interface ResponseCodeInterpreterCallInterpretingEvent { + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code interpreter is + * interpreting code. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call.interpreting`. + */ + type: 'response.code_interpreter_call.interpreting'; +} +/** + * A tool call to run code. + */ +export interface ResponseCodeInterpreterToolCall { + /** + * The unique ID of the code interpreter tool call. + */ + id: string; + /** + * The code to run, or null if not available. + */ + code: string | null; + /** + * The ID of the container used to run the code. + */ + container_id: string; + /** + * The outputs generated by the code interpreter, such as logs or images. Can be + * null if no outputs are available. + */ + outputs: Array | null; + /** + * The status of the code interpreter tool call. Valid values are `in_progress`, + * `completed`, `incomplete`, `interpreting`, and `failed`. + */ + status: 'in_progress' | 'completed' | 'incomplete' | 'interpreting' | 'failed'; + /** + * The type of the code interpreter tool call. Always `code_interpreter_call`. + */ + type: 'code_interpreter_call'; +} +export declare namespace ResponseCodeInterpreterToolCall { + /** + * The logs output from the code interpreter. + */ + interface Logs { + /** + * The logs output from the code interpreter. + */ + logs: string; + /** + * The type of the output. Always 'logs'. + */ + type: 'logs'; + } + /** + * The image output from the code interpreter. + */ + interface Image { + /** + * The type of the output. Always 'image'. + */ + type: 'image'; + /** + * The URL of the image output from the code interpreter. + */ + url: string; + } +} +/** + * Emitted when the model response is complete. + */ +export interface ResponseCompletedEvent { + /** + * Properties of the completed response. + */ + response: Response; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.completed`. + */ + type: 'response.completed'; +} +/** + * A tool call to a computer use tool. See the + * [computer use guide](https://platform.openai.com/docs/guides/tools-computer-use) + * for more information. + */ +export interface ResponseComputerToolCall { + /** + * The unique ID of the computer call. + */ + id: string; + /** + * A click action. + */ + action: ResponseComputerToolCall.Click | ResponseComputerToolCall.DoubleClick | ResponseComputerToolCall.Drag | ResponseComputerToolCall.Keypress | ResponseComputerToolCall.Move | ResponseComputerToolCall.Screenshot | ResponseComputerToolCall.Scroll | ResponseComputerToolCall.Type | ResponseComputerToolCall.Wait; + /** + * An identifier used when responding to the tool call with output. + */ + call_id: string; + /** + * The pending safety checks for the computer call. + */ + pending_safety_checks: Array; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the computer call. Always `computer_call`. + */ + type: 'computer_call'; +} +export declare namespace ResponseComputerToolCall { + /** + * A click action. + */ + interface Click { + /** + * Indicates which mouse button was pressed during the click. One of `left`, + * `right`, `wheel`, `back`, or `forward`. + */ + button: 'left' | 'right' | 'wheel' | 'back' | 'forward'; + /** + * Specifies the event type. For a click action, this property is always set to + * `click`. + */ + type: 'click'; + /** + * The x-coordinate where the click occurred. + */ + x: number; + /** + * The y-coordinate where the click occurred. + */ + y: number; + } + /** + * A double click action. + */ + interface DoubleClick { + /** + * Specifies the event type. For a double click action, this property is always set + * to `double_click`. + */ + type: 'double_click'; + /** + * The x-coordinate where the double click occurred. + */ + x: number; + /** + * The y-coordinate where the double click occurred. + */ + y: number; + } + /** + * A drag action. + */ + interface Drag { + /** + * An array of coordinates representing the path of the drag action. Coordinates + * will appear as an array of objects, eg + * + * ``` + * [ + * { x: 100, y: 200 }, + * { x: 200, y: 300 } + * ] + * ``` + */ + path: Array; + /** + * Specifies the event type. For a drag action, this property is always set to + * `drag`. + */ + type: 'drag'; + } + namespace Drag { + /** + * A series of x/y coordinate pairs in the drag path. + */ + interface Path { + /** + * The x-coordinate. + */ + x: number; + /** + * The y-coordinate. + */ + y: number; + } + } + /** + * A collection of keypresses the model would like to perform. + */ + interface Keypress { + /** + * The combination of keys the model is requesting to be pressed. This is an array + * of strings, each representing a key. + */ + keys: Array; + /** + * Specifies the event type. For a keypress action, this property is always set to + * `keypress`. + */ + type: 'keypress'; + } + /** + * A mouse move action. + */ + interface Move { + /** + * Specifies the event type. For a move action, this property is always set to + * `move`. + */ + type: 'move'; + /** + * The x-coordinate to move to. + */ + x: number; + /** + * The y-coordinate to move to. + */ + y: number; + } + /** + * A screenshot action. + */ + interface Screenshot { + /** + * Specifies the event type. For a screenshot action, this property is always set + * to `screenshot`. + */ + type: 'screenshot'; + } + /** + * A scroll action. + */ + interface Scroll { + /** + * The horizontal scroll distance. + */ + scroll_x: number; + /** + * The vertical scroll distance. + */ + scroll_y: number; + /** + * Specifies the event type. For a scroll action, this property is always set to + * `scroll`. + */ + type: 'scroll'; + /** + * The x-coordinate where the scroll occurred. + */ + x: number; + /** + * The y-coordinate where the scroll occurred. + */ + y: number; + } + /** + * An action to type in text. + */ + interface Type { + /** + * The text to type. + */ + text: string; + /** + * Specifies the event type. For a type action, this property is always set to + * `type`. + */ + type: 'type'; + } + /** + * A wait action. + */ + interface Wait { + /** + * Specifies the event type. For a wait action, this property is always set to + * `wait`. + */ + type: 'wait'; + } + /** + * A pending safety check for the computer call. + */ + interface PendingSafetyCheck { + /** + * The ID of the pending safety check. + */ + id: string; + /** + * The type of the pending safety check. + */ + code: string; + /** + * Details about the pending safety check. + */ + message: string; + } +} +export interface ResponseComputerToolCallOutputItem { + /** + * The unique ID of the computer call tool output. + */ + id: string; + /** + * The ID of the computer tool call that produced the output. + */ + call_id: string; + /** + * A computer screenshot image used with the computer use tool. + */ + output: ResponseComputerToolCallOutputScreenshot; + /** + * The type of the computer tool call output. Always `computer_call_output`. + */ + type: 'computer_call_output'; + /** + * The safety checks reported by the API that have been acknowledged by the + * developer. + */ + acknowledged_safety_checks?: Array; + /** + * The status of the message input. One of `in_progress`, `completed`, or + * `incomplete`. Populated when input items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +export declare namespace ResponseComputerToolCallOutputItem { + /** + * A pending safety check for the computer call. + */ + interface AcknowledgedSafetyCheck { + /** + * The ID of the pending safety check. + */ + id: string; + /** + * The type of the pending safety check. + */ + code: string; + /** + * Details about the pending safety check. + */ + message: string; + } +} +/** + * A computer screenshot image used with the computer use tool. + */ +export interface ResponseComputerToolCallOutputScreenshot { + /** + * Specifies the event type. For a computer screenshot, this property is always set + * to `computer_screenshot`. + */ + type: 'computer_screenshot'; + /** + * The identifier of an uploaded file that contains the screenshot. + */ + file_id?: string; + /** + * The URL of the screenshot image. + */ + image_url?: string; +} +/** + * Multi-modal input and output contents. + */ +export type ResponseContent = ResponseInputText | ResponseInputImage | ResponseInputFile | ResponseOutputText | ResponseOutputRefusal; +/** + * Emitted when a new content part is added. + */ +export interface ResponseContentPartAddedEvent { + /** + * The index of the content part that was added. + */ + content_index: number; + /** + * The ID of the output item that the content part was added to. + */ + item_id: string; + /** + * The index of the output item that the content part was added to. + */ + output_index: number; + /** + * The content part that was added. + */ + part: ResponseOutputText | ResponseOutputRefusal; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.content_part.added`. + */ + type: 'response.content_part.added'; +} +/** + * Emitted when a content part is done. + */ +export interface ResponseContentPartDoneEvent { + /** + * The index of the content part that is done. + */ + content_index: number; + /** + * The ID of the output item that the content part was added to. + */ + item_id: string; + /** + * The index of the output item that the content part was added to. + */ + output_index: number; + /** + * The content part that is done. + */ + part: ResponseOutputText | ResponseOutputRefusal; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.content_part.done`. + */ + type: 'response.content_part.done'; +} +/** + * The conversation that this response belongs to. + */ +export interface ResponseConversationParam { + /** + * The unique ID of the conversation. + */ + id: string; +} +/** + * An event that is emitted when a response is created. + */ +export interface ResponseCreatedEvent { + /** + * The response that was created. + */ + response: Response; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.created`. + */ + type: 'response.created'; +} +/** + * A call to a custom tool created by the model. + */ +export interface ResponseCustomToolCall { + /** + * An identifier used to map this custom tool call to a tool call output. + */ + call_id: string; + /** + * The input for the custom tool call generated by the model. + */ + input: string; + /** + * The name of the custom tool being called. + */ + name: string; + /** + * The type of the custom tool call. Always `custom_tool_call`. + */ + type: 'custom_tool_call'; + /** + * The unique ID of the custom tool call in the OpenAI platform. + */ + id?: string; +} +/** + * Event representing a delta (partial update) to the input of a custom tool call. + */ +export interface ResponseCustomToolCallInputDeltaEvent { + /** + * The incremental input data (delta) for the custom tool call. + */ + delta: string; + /** + * Unique identifier for the API item associated with this event. + */ + item_id: string; + /** + * The index of the output this delta applies to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The event type identifier. + */ + type: 'response.custom_tool_call_input.delta'; +} +/** + * Event indicating that input for a custom tool call is complete. + */ +export interface ResponseCustomToolCallInputDoneEvent { + /** + * The complete input data for the custom tool call. + */ + input: string; + /** + * Unique identifier for the API item associated with this event. + */ + item_id: string; + /** + * The index of the output this event applies to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The event type identifier. + */ + type: 'response.custom_tool_call_input.done'; +} +/** + * The output of a custom tool call from your code, being sent back to the model. + */ +export interface ResponseCustomToolCallOutput { + /** + * The call ID, used to map this custom tool call output to a custom tool call. + */ + call_id: string; + /** + * The output from the custom tool call generated by your code. + */ + output: string; + /** + * The type of the custom tool call output. Always `custom_tool_call_output`. + */ + type: 'custom_tool_call_output'; + /** + * The unique ID of the custom tool call output in the OpenAI platform. + */ + id?: string; +} +/** + * An error object returned when the model fails to generate a Response. + */ +export interface ResponseError { + /** + * The error code for the response. + */ + code: 'server_error' | 'rate_limit_exceeded' | 'invalid_prompt' | 'vector_store_timeout' | 'invalid_image' | 'invalid_image_format' | 'invalid_base64_image' | 'invalid_image_url' | 'image_too_large' | 'image_too_small' | 'image_parse_error' | 'image_content_policy_violation' | 'invalid_image_mode' | 'image_file_too_large' | 'unsupported_image_media_type' | 'empty_image_file' | 'failed_to_download_image' | 'image_file_not_found'; + /** + * A human-readable description of the error. + */ + message: string; +} +/** + * Emitted when an error occurs. + */ +export interface ResponseErrorEvent { + /** + * The error code. + */ + code: string | null; + /** + * The error message. + */ + message: string; + /** + * The error parameter. + */ + param: string | null; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `error`. + */ + type: 'error'; +} +/** + * An event that is emitted when a response fails. + */ +export interface ResponseFailedEvent { + /** + * The response that failed. + */ + response: Response; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.failed`. + */ + type: 'response.failed'; +} +/** + * Emitted when a file search call is completed (results found). + */ +export interface ResponseFileSearchCallCompletedEvent { + /** + * The ID of the output item that the file search call is initiated. + */ + item_id: string; + /** + * The index of the output item that the file search call is initiated. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.file_search_call.completed`. + */ + type: 'response.file_search_call.completed'; +} +/** + * Emitted when a file search call is initiated. + */ +export interface ResponseFileSearchCallInProgressEvent { + /** + * The ID of the output item that the file search call is initiated. + */ + item_id: string; + /** + * The index of the output item that the file search call is initiated. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.file_search_call.in_progress`. + */ + type: 'response.file_search_call.in_progress'; +} +/** + * Emitted when a file search is currently searching. + */ +export interface ResponseFileSearchCallSearchingEvent { + /** + * The ID of the output item that the file search call is initiated. + */ + item_id: string; + /** + * The index of the output item that the file search call is searching. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.file_search_call.searching`. + */ + type: 'response.file_search_call.searching'; +} +/** + * The results of a file search tool call. See the + * [file search guide](https://platform.openai.com/docs/guides/tools-file-search) + * for more information. + */ +export interface ResponseFileSearchToolCall { + /** + * The unique ID of the file search tool call. + */ + id: string; + /** + * The queries used to search for files. + */ + queries: Array; + /** + * The status of the file search tool call. One of `in_progress`, `searching`, + * `incomplete` or `failed`, + */ + status: 'in_progress' | 'searching' | 'completed' | 'incomplete' | 'failed'; + /** + * The type of the file search tool call. Always `file_search_call`. + */ + type: 'file_search_call'; + /** + * The results of the file search tool call. + */ + results?: Array | null; +} +export declare namespace ResponseFileSearchToolCall { + interface Result { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The unique ID of the file. + */ + file_id?: string; + /** + * The name of the file. + */ + filename?: string; + /** + * The relevance score of the file - a value between 0 and 1. + */ + score?: number; + /** + * The text that was retrieved from the file. + */ + text?: string; + } +} +/** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ +export type ResponseFormatTextConfig = Shared.ResponseFormatText | ResponseFormatTextJSONSchemaConfig | Shared.ResponseFormatJSONObject; +/** + * JSON Schema response format. Used to generate structured JSON responses. Learn + * more about + * [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs). + */ +export interface ResponseFormatTextJSONSchemaConfig { + /** + * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores + * and dashes, with a maximum length of 64. + */ + name: string; + /** + * The schema for the response format, described as a JSON Schema object. Learn how + * to build JSON schemas [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of response format being defined. Always `json_schema`. + */ + type: 'json_schema'; + /** + * A description of what the response format is for, used by the model to determine + * how to respond in the format. + */ + description?: string; + /** + * Whether to enable strict schema adherence when generating the output. If set to + * true, the model will always follow the exact schema defined in the `schema` + * field. Only a subset of JSON Schema is supported when `strict` is `true`. To + * learn more, read the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + */ + strict?: boolean | null; +} +/** + * Emitted when there is a partial function-call arguments delta. + */ +export interface ResponseFunctionCallArgumentsDeltaEvent { + /** + * The function-call arguments delta that is added. + */ + delta: string; + /** + * The ID of the output item that the function-call arguments delta is added to. + */ + item_id: string; + /** + * The index of the output item that the function-call arguments delta is added to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.function_call_arguments.delta`. + */ + type: 'response.function_call_arguments.delta'; +} +/** + * Emitted when function-call arguments are finalized. + */ +export interface ResponseFunctionCallArgumentsDoneEvent { + /** + * The function-call arguments. + */ + arguments: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + type: 'response.function_call_arguments.done'; +} +/** + * A tool call to run a function. See the + * [function calling guide](https://platform.openai.com/docs/guides/function-calling) + * for more information. + */ +export interface ResponseFunctionToolCall { + /** + * A JSON string of the arguments to pass to the function. + */ + arguments: string; + /** + * The unique ID of the function tool call generated by the model. + */ + call_id: string; + /** + * The name of the function to run. + */ + name: string; + /** + * The type of the function tool call. Always `function_call`. + */ + type: 'function_call'; + /** + * The unique ID of the function tool call. + */ + id?: string; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +/** + * A tool call to run a function. See the + * [function calling guide](https://platform.openai.com/docs/guides/function-calling) + * for more information. + */ +export interface ResponseFunctionToolCallItem extends ResponseFunctionToolCall { + /** + * The unique ID of the function tool call. + */ + id: string; +} +export interface ResponseFunctionToolCallOutputItem { + /** + * The unique ID of the function call tool output. + */ + id: string; + /** + * The unique ID of the function tool call generated by the model. + */ + call_id: string; + /** + * A JSON string of the output of the function tool call. + */ + output: string; + /** + * The type of the function tool call output. Always `function_call_output`. + */ + type: 'function_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +/** + * The results of a web search tool call. See the + * [web search guide](https://platform.openai.com/docs/guides/tools-web-search) for + * more information. + */ +export interface ResponseFunctionWebSearch { + /** + * The unique ID of the web search tool call. + */ + id: string; + /** + * The status of the web search tool call. + */ + status: 'in_progress' | 'searching' | 'completed' | 'failed'; + /** + * The type of the web search tool call. Always `web_search_call`. + */ + type: 'web_search_call'; +} +export declare namespace ResponseFunctionWebSearch { + /** + * Action type "search" - Performs a web search query. + */ + interface Search { + /** + * The search query. + */ + query: string; + /** + * The action type. + */ + type: 'search'; + } + /** + * Action type "open_page" - Opens a specific URL from search results. + */ + interface OpenPage { + /** + * The action type. + */ + type: 'open_page'; + /** + * The URL opened by the model. + */ + url: string; + } + /** + * Action type "find": Searches for a pattern within a loaded page. + */ + interface Find { + /** + * The pattern or text to search for within the page. + */ + pattern: string; + /** + * The action type. + */ + type: 'find'; + /** + * The URL of the page searched for the pattern. + */ + url: string; + } +} +/** + * Emitted when an image generation tool call has completed and the final image is + * available. + */ +export interface ResponseImageGenCallCompletedEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.completed'. + */ + type: 'response.image_generation_call.completed'; +} +/** + * Emitted when an image generation tool call is actively generating an image + * (intermediate state). + */ +export interface ResponseImageGenCallGeneratingEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of the image generation item being processed. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.generating'. + */ + type: 'response.image_generation_call.generating'; +} +/** + * Emitted when an image generation tool call is in progress. + */ +export interface ResponseImageGenCallInProgressEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of the image generation item being processed. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.in_progress'. + */ + type: 'response.image_generation_call.in_progress'; +} +/** + * Emitted when a partial image is available during image generation streaming. + */ +export interface ResponseImageGenCallPartialImageEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * Base64-encoded partial image data, suitable for rendering as an image. + */ + partial_image_b64: string; + /** + * 0-based index for the partial image (backend is 1-based, but this is 0-based for + * the user). + */ + partial_image_index: number; + /** + * The sequence number of the image generation item being processed. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.partial_image'. + */ + type: 'response.image_generation_call.partial_image'; +} +/** + * Emitted when the response is in progress. + */ +export interface ResponseInProgressEvent { + /** + * The response that is in progress. + */ + response: Response; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.in_progress`. + */ + type: 'response.in_progress'; +} +/** + * Specify additional output data to include in the model response. Currently + * supported values are: + * + * - `file_search_call.results`: Include the search results of the file search tool + * call. + * - `message.input_image.image_url`: Include image urls from the input message. + * - `computer_call_output.output.image_url`: Include image urls from the computer + * call output. + * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning + * tokens in reasoning item outputs. This enables reasoning items to be used in + * multi-turn conversations when using the Responses API statelessly (like when + * the `store` parameter is set to `false`, or when an organization is enrolled + * in the zero data retention program). + * - `code_interpreter_call.outputs`: Includes the outputs of python code execution + * in code interpreter tool call items. + */ +export type ResponseIncludable = 'file_search_call.results' | 'message.input_image.image_url' | 'computer_call_output.output.image_url' | 'reasoning.encrypted_content' | 'code_interpreter_call.outputs'; +/** + * An event that is emitted when a response finishes as incomplete. + */ +export interface ResponseIncompleteEvent { + /** + * The response that was incomplete. + */ + response: Response; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.incomplete`. + */ + type: 'response.incomplete'; +} +/** + * A list of one or many input items to the model, containing different content + * types. + */ +export type ResponseInput = Array; +/** + * An audio input to the model. + */ +export interface ResponseInputAudio { + /** + * Base64-encoded audio data. + */ + data: string; + /** + * The format of the audio data. Currently supported formats are `mp3` and `wav`. + */ + format: 'mp3' | 'wav'; + /** + * The type of the input item. Always `input_audio`. + */ + type: 'input_audio'; +} +/** + * A text input to the model. + */ +export type ResponseInputContent = ResponseInputText | ResponseInputImage | ResponseInputFile; +/** + * A file input to the model. + */ +export interface ResponseInputFile { + /** + * The type of the input item. Always `input_file`. + */ + type: 'input_file'; + /** + * The content of the file to be sent to the model. + */ + file_data?: string; + /** + * The ID of the file to be sent to the model. + */ + file_id?: string | null; + /** + * The URL of the file to be sent to the model. + */ + file_url?: string; + /** + * The name of the file to be sent to the model. + */ + filename?: string; +} +/** + * An image input to the model. Learn about + * [image inputs](https://platform.openai.com/docs/guides/vision). + */ +export interface ResponseInputImage { + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail: 'low' | 'high' | 'auto'; + /** + * The type of the input item. Always `input_image`. + */ + type: 'input_image'; + /** + * The ID of the file to be sent to the model. + */ + file_id?: string | null; + /** + * The URL of the image to be sent to the model. A fully qualified URL or base64 + * encoded image in a data URL. + */ + image_url?: string | null; +} +/** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ +export type ResponseInputItem = EasyInputMessage | ResponseInputItem.Message | ResponseOutputMessage | ResponseFileSearchToolCall | ResponseComputerToolCall | ResponseInputItem.ComputerCallOutput | ResponseFunctionWebSearch | ResponseFunctionToolCall | ResponseInputItem.FunctionCallOutput | ResponseReasoningItem | ResponseInputItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseInputItem.LocalShellCall | ResponseInputItem.LocalShellCallOutput | ResponseInputItem.McpListTools | ResponseInputItem.McpApprovalRequest | ResponseInputItem.McpApprovalResponse | ResponseInputItem.McpCall | ResponseCustomToolCallOutput | ResponseCustomToolCall | ResponseInputItem.ItemReference; +export declare namespace ResponseInputItem { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. + */ + interface Message { + /** + * A list of one or many input items to the model, containing different content + * types. + */ + content: ResponsesAPI.ResponseInputMessageContentList; + /** + * The role of the message input. One of `user`, `system`, or `developer`. + */ + role: 'user' | 'system' | 'developer'; + /** + * The status of item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the message input. Always set to `message`. + */ + type?: 'message'; + } + /** + * The output of a computer tool call. + */ + interface ComputerCallOutput { + /** + * The ID of the computer tool call that produced the output. + */ + call_id: string; + /** + * A computer screenshot image used with the computer use tool. + */ + output: ResponsesAPI.ResponseComputerToolCallOutputScreenshot; + /** + * The type of the computer tool call output. Always `computer_call_output`. + */ + type: 'computer_call_output'; + /** + * The ID of the computer tool call output. + */ + id?: string | null; + /** + * The safety checks reported by the API that have been acknowledged by the + * developer. + */ + acknowledged_safety_checks?: Array | null; + /** + * The status of the message input. One of `in_progress`, `completed`, or + * `incomplete`. Populated when input items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + namespace ComputerCallOutput { + /** + * A pending safety check for the computer call. + */ + interface AcknowledgedSafetyCheck { + /** + * The ID of the pending safety check. + */ + id: string; + /** + * The type of the pending safety check. + */ + code?: string | null; + /** + * Details about the pending safety check. + */ + message?: string | null; + } + } + /** + * The output of a function tool call. + */ + interface FunctionCallOutput { + /** + * The unique ID of the function tool call generated by the model. + */ + call_id: string; + /** + * A JSON string of the output of the function tool call. + */ + output: string; + /** + * The type of the function tool call output. Always `function_call_output`. + */ + type: 'function_call_output'; + /** + * The unique ID of the function tool call output. Populated when this item is + * returned via API. + */ + id?: string | null; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * The output of a local shell tool call. + */ + interface LocalShellCallOutput { + /** + * The unique ID of the local shell tool call generated by the model. + */ + id: string; + /** + * A JSON string of the output of the local shell tool call. + */ + output: string; + /** + * The type of the local shell tool call output. Always `local_shell_call_output`. + */ + type: 'local_shell_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } + /** + * A response to an MCP approval request. + */ + interface McpApprovalResponse { + /** + * The ID of the approval request being answered. + */ + approval_request_id: string; + /** + * Whether the request was approved. + */ + approve: boolean; + /** + * The type of the item. Always `mcp_approval_response`. + */ + type: 'mcp_approval_response'; + /** + * The unique ID of the approval response + */ + id?: string | null; + /** + * Optional reason for the decision. + */ + reason?: string | null; + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } + /** + * An internal identifier for an item to reference. + */ + interface ItemReference { + /** + * The ID of the item to reference. + */ + id: string; + /** + * The type of item to reference. Always `item_reference`. + */ + type?: 'item_reference' | null; + } +} +/** + * A list of one or many input items to the model, containing different content + * types. + */ +export type ResponseInputMessageContentList = Array; +export interface ResponseInputMessageItem { + /** + * The unique ID of the message input. + */ + id: string; + /** + * A list of one or many input items to the model, containing different content + * types. + */ + content: ResponseInputMessageContentList; + /** + * The role of the message input. One of `user`, `system`, or `developer`. + */ + role: 'user' | 'system' | 'developer'; + /** + * The status of item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the message input. Always set to `message`. + */ + type?: 'message'; +} +/** + * A text input to the model. + */ +export interface ResponseInputText { + /** + * The text input to the model. + */ + text: string; + /** + * The type of the input item. Always `input_text`. + */ + type: 'input_text'; +} +/** + * Content item used to generate a response. + */ +export type ResponseItem = ResponseInputMessageItem | ResponseOutputMessage | ResponseFileSearchToolCall | ResponseComputerToolCall | ResponseComputerToolCallOutputItem | ResponseFunctionWebSearch | ResponseFunctionToolCallItem | ResponseFunctionToolCallOutputItem | ResponseItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseItem.LocalShellCall | ResponseItem.LocalShellCallOutput | ResponseItem.McpListTools | ResponseItem.McpApprovalRequest | ResponseItem.McpApprovalResponse | ResponseItem.McpCall; +export declare namespace ResponseItem { + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * The output of a local shell tool call. + */ + interface LocalShellCallOutput { + /** + * The unique ID of the local shell tool call generated by the model. + */ + id: string; + /** + * A JSON string of the output of the local shell tool call. + */ + output: string; + /** + * The type of the local shell tool call output. Always `local_shell_call_output`. + */ + type: 'local_shell_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } + /** + * A response to an MCP approval request. + */ + interface McpApprovalResponse { + /** + * The unique ID of the approval response + */ + id: string; + /** + * The ID of the approval request being answered. + */ + approval_request_id: string; + /** + * Whether the request was approved. + */ + approve: boolean; + /** + * The type of the item. Always `mcp_approval_response`. + */ + type: 'mcp_approval_response'; + /** + * Optional reason for the decision. + */ + reason?: string | null; + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } +} +/** + * Emitted when there is a delta (partial update) to the arguments of an MCP tool + * call. + */ +export interface ResponseMcpCallArgumentsDeltaEvent { + /** + * A JSON string containing the partial update to the arguments for the MCP tool + * call. + */ + delta: string; + /** + * The unique identifier of the MCP tool call item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call_arguments.delta'. + */ + type: 'response.mcp_call_arguments.delta'; +} +/** + * Emitted when the arguments for an MCP tool call are finalized. + */ +export interface ResponseMcpCallArgumentsDoneEvent { + /** + * A JSON string containing the finalized arguments for the MCP tool call. + */ + arguments: string; + /** + * The unique identifier of the MCP tool call item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call_arguments.done'. + */ + type: 'response.mcp_call_arguments.done'; +} +/** + * Emitted when an MCP tool call has completed successfully. + */ +export interface ResponseMcpCallCompletedEvent { + /** + * The ID of the MCP tool call item that completed. + */ + item_id: string; + /** + * The index of the output item that completed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call.completed'. + */ + type: 'response.mcp_call.completed'; +} +/** + * Emitted when an MCP tool call has failed. + */ +export interface ResponseMcpCallFailedEvent { + /** + * The ID of the MCP tool call item that failed. + */ + item_id: string; + /** + * The index of the output item that failed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call.failed'. + */ + type: 'response.mcp_call.failed'; +} +/** + * Emitted when an MCP tool call is in progress. + */ +export interface ResponseMcpCallInProgressEvent { + /** + * The unique identifier of the MCP tool call item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call.in_progress'. + */ + type: 'response.mcp_call.in_progress'; +} +/** + * Emitted when the list of available MCP tools has been successfully retrieved. + */ +export interface ResponseMcpListToolsCompletedEvent { + /** + * The ID of the MCP tool call item that produced this output. + */ + item_id: string; + /** + * The index of the output item that was processed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_list_tools.completed'. + */ + type: 'response.mcp_list_tools.completed'; +} +/** + * Emitted when the attempt to list available MCP tools has failed. + */ +export interface ResponseMcpListToolsFailedEvent { + /** + * The ID of the MCP tool call item that failed. + */ + item_id: string; + /** + * The index of the output item that failed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_list_tools.failed'. + */ + type: 'response.mcp_list_tools.failed'; +} +/** + * Emitted when the system is in the process of retrieving the list of available + * MCP tools. + */ +export interface ResponseMcpListToolsInProgressEvent { + /** + * The ID of the MCP tool call item that is being processed. + */ + item_id: string; + /** + * The index of the output item that is being processed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_list_tools.in_progress'. + */ + type: 'response.mcp_list_tools.in_progress'; +} +/** + * An audio output from the model. + */ +export interface ResponseOutputAudio { + /** + * Base64-encoded audio data from the model. + */ + data: string; + /** + * The transcript of the audio data from the model. + */ + transcript: string; + /** + * The type of the output audio. Always `output_audio`. + */ + type: 'output_audio'; +} +/** + * An output message from the model. + */ +export type ResponseOutputItem = ResponseOutputMessage | ResponseFileSearchToolCall | ResponseFunctionToolCall | ResponseFunctionWebSearch | ResponseComputerToolCall | ResponseReasoningItem | ResponseOutputItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseOutputItem.LocalShellCall | ResponseOutputItem.McpCall | ResponseOutputItem.McpListTools | ResponseOutputItem.McpApprovalRequest | ResponseCustomToolCall; +export declare namespace ResponseOutputItem { + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } +} +/** + * Emitted when a new output item is added. + */ +export interface ResponseOutputItemAddedEvent { + /** + * The output item that was added. + */ + item: ResponseOutputItem; + /** + * The index of the output item that was added. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.output_item.added`. + */ + type: 'response.output_item.added'; +} +/** + * Emitted when an output item is marked done. + */ +export interface ResponseOutputItemDoneEvent { + /** + * The output item that was marked done. + */ + item: ResponseOutputItem; + /** + * The index of the output item that was marked done. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.output_item.done`. + */ + type: 'response.output_item.done'; +} +/** + * An output message from the model. + */ +export interface ResponseOutputMessage { + /** + * The unique ID of the output message. + */ + id: string; + /** + * The content of the output message. + */ + content: Array; + /** + * The role of the output message. Always `assistant`. + */ + role: 'assistant'; + /** + * The status of the message input. One of `in_progress`, `completed`, or + * `incomplete`. Populated when input items are returned via API. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the output message. Always `message`. + */ + type: 'message'; +} +/** + * A refusal from the model. + */ +export interface ResponseOutputRefusal { + /** + * The refusal explanation from the model. + */ + refusal: string; + /** + * The type of the refusal. Always `refusal`. + */ + type: 'refusal'; +} +/** + * A text output from the model. + */ +export interface ResponseOutputText { + /** + * The annotations of the text output. + */ + annotations: Array; + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + logprobs?: Array; +} +export declare namespace ResponseOutputText { + /** + * A citation to a file. + */ + interface FileCitation { + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the file cited. + */ + filename: string; + /** + * The index of the file in the list of files. + */ + index: number; + /** + * The type of the file citation. Always `file_citation`. + */ + type: 'file_citation'; + } + /** + * A citation for a web resource used to generate a model response. + */ + interface URLCitation { + /** + * The index of the last character of the URL citation in the message. + */ + end_index: number; + /** + * The index of the first character of the URL citation in the message. + */ + start_index: number; + /** + * The title of the web resource. + */ + title: string; + /** + * The type of the URL citation. Always `url_citation`. + */ + type: 'url_citation'; + /** + * The URL of the web resource. + */ + url: string; + } + /** + * A citation for a container file used to generate a model response. + */ + interface ContainerFileCitation { + /** + * The ID of the container file. + */ + container_id: string; + /** + * The index of the last character of the container file citation in the message. + */ + end_index: number; + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the container file cited. + */ + filename: string; + /** + * The index of the first character of the container file citation in the message. + */ + start_index: number; + /** + * The type of the container file citation. Always `container_file_citation`. + */ + type: 'container_file_citation'; + } + /** + * A path to a file. + */ + interface FilePath { + /** + * The ID of the file. + */ + file_id: string; + /** + * The index of the file in the list of files. + */ + index: number; + /** + * The type of the file path. Always `file_path`. + */ + type: 'file_path'; + } + /** + * The log probability of a token. + */ + interface Logprob { + token: string; + bytes: Array; + logprob: number; + top_logprobs: Array; + } + namespace Logprob { + /** + * The top log probability of a token. + */ + interface TopLogprob { + token: string; + bytes: Array; + logprob: number; + } + } +} +/** + * Emitted when an annotation is added to output text content. + */ +export interface ResponseOutputTextAnnotationAddedEvent { + /** + * The annotation object being added. (See annotation schema for details.) + */ + annotation: unknown; + /** + * The index of the annotation within the content part. + */ + annotation_index: number; + /** + * The index of the content part within the output item. + */ + content_index: number; + /** + * The unique identifier of the item to which the annotation is being added. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.output_text.annotation.added'. + */ + type: 'response.output_text.annotation.added'; +} +/** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ +export interface ResponsePrompt { + /** + * The unique identifier of the prompt template to use. + */ + id: string; + /** + * Optional map of values to substitute in for variables in your prompt. The + * substitution values can either be strings, or other Response input types like + * images or files. + */ + variables?: { + [key: string]: string | ResponseInputText | ResponseInputImage | ResponseInputFile; + } | null; + /** + * Optional version of the prompt template. + */ + version?: string | null; +} +/** + * Emitted when a response is queued and waiting to be processed. + */ +export interface ResponseQueuedEvent { + /** + * The full response object that is queued. + */ + response: Response; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.queued'. + */ + type: 'response.queued'; +} +/** + * A description of the chain of thought used by a reasoning model while generating + * a response. Be sure to include these items in your `input` to the Responses API + * for subsequent turns of a conversation if you are manually + * [managing context](https://platform.openai.com/docs/guides/conversation-state). + */ +export interface ResponseReasoningItem { + /** + * The unique identifier of the reasoning content. + */ + id: string; + /** + * Reasoning summary content. + */ + summary: Array; + /** + * The type of the object. Always `reasoning`. + */ + type: 'reasoning'; + /** + * Reasoning text content. + */ + content?: Array; + /** + * The encrypted content of the reasoning item - populated when a response is + * generated with `reasoning.encrypted_content` in the `include` parameter. + */ + encrypted_content?: string | null; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +export declare namespace ResponseReasoningItem { + interface Summary { + /** + * A summary of the reasoning output from the model so far. + */ + text: string; + /** + * The type of the object. Always `summary_text`. + */ + type: 'summary_text'; + } + interface Content { + /** + * Reasoning text output from the model. + */ + text: string; + /** + * The type of the object. Always `reasoning_text`. + */ + type: 'reasoning_text'; + } +} +/** + * Emitted when a new reasoning summary part is added. + */ +export interface ResponseReasoningSummaryPartAddedEvent { + /** + * The ID of the item this summary part is associated with. + */ + item_id: string; + /** + * The index of the output item this summary part is associated with. + */ + output_index: number; + /** + * The summary part that was added. + */ + part: ResponseReasoningSummaryPartAddedEvent.Part; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The type of the event. Always `response.reasoning_summary_part.added`. + */ + type: 'response.reasoning_summary_part.added'; +} +export declare namespace ResponseReasoningSummaryPartAddedEvent { + /** + * The summary part that was added. + */ + interface Part { + /** + * The text of the summary part. + */ + text: string; + /** + * The type of the summary part. Always `summary_text`. + */ + type: 'summary_text'; + } +} +/** + * Emitted when a reasoning summary part is completed. + */ +export interface ResponseReasoningSummaryPartDoneEvent { + /** + * The ID of the item this summary part is associated with. + */ + item_id: string; + /** + * The index of the output item this summary part is associated with. + */ + output_index: number; + /** + * The completed summary part. + */ + part: ResponseReasoningSummaryPartDoneEvent.Part; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The type of the event. Always `response.reasoning_summary_part.done`. + */ + type: 'response.reasoning_summary_part.done'; +} +export declare namespace ResponseReasoningSummaryPartDoneEvent { + /** + * The completed summary part. + */ + interface Part { + /** + * The text of the summary part. + */ + text: string; + /** + * The type of the summary part. Always `summary_text`. + */ + type: 'summary_text'; + } +} +/** + * Emitted when a delta is added to a reasoning summary text. + */ +export interface ResponseReasoningSummaryTextDeltaEvent { + /** + * The text delta that was added to the summary. + */ + delta: string; + /** + * The ID of the item this summary text delta is associated with. + */ + item_id: string; + /** + * The index of the output item this summary text delta is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The type of the event. Always `response.reasoning_summary_text.delta`. + */ + type: 'response.reasoning_summary_text.delta'; +} +/** + * Emitted when a reasoning summary text is completed. + */ +export interface ResponseReasoningSummaryTextDoneEvent { + /** + * The ID of the item this summary text is associated with. + */ + item_id: string; + /** + * The index of the output item this summary text is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The full text of the completed reasoning summary. + */ + text: string; + /** + * The type of the event. Always `response.reasoning_summary_text.done`. + */ + type: 'response.reasoning_summary_text.done'; +} +/** + * Emitted when a delta is added to a reasoning text. + */ +export interface ResponseReasoningTextDeltaEvent { + /** + * The index of the reasoning content part this delta is associated with. + */ + content_index: number; + /** + * The text delta that was added to the reasoning content. + */ + delta: string; + /** + * The ID of the item this reasoning text delta is associated with. + */ + item_id: string; + /** + * The index of the output item this reasoning text delta is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.reasoning_text.delta`. + */ + type: 'response.reasoning_text.delta'; +} +/** + * Emitted when a reasoning text is completed. + */ +export interface ResponseReasoningTextDoneEvent { + /** + * The index of the reasoning content part. + */ + content_index: number; + /** + * The ID of the item this reasoning text is associated with. + */ + item_id: string; + /** + * The index of the output item this reasoning text is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The full text of the completed reasoning content. + */ + text: string; + /** + * The type of the event. Always `response.reasoning_text.done`. + */ + type: 'response.reasoning_text.done'; +} +/** + * Emitted when there is a partial refusal text. + */ +export interface ResponseRefusalDeltaEvent { + /** + * The index of the content part that the refusal text is added to. + */ + content_index: number; + /** + * The refusal text that is added. + */ + delta: string; + /** + * The ID of the output item that the refusal text is added to. + */ + item_id: string; + /** + * The index of the output item that the refusal text is added to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.refusal.delta`. + */ + type: 'response.refusal.delta'; +} +/** + * Emitted when refusal text is finalized. + */ +export interface ResponseRefusalDoneEvent { + /** + * The index of the content part that the refusal text is finalized. + */ + content_index: number; + /** + * The ID of the output item that the refusal text is finalized. + */ + item_id: string; + /** + * The index of the output item that the refusal text is finalized. + */ + output_index: number; + /** + * The refusal text that is finalized. + */ + refusal: string; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.refusal.done`. + */ + type: 'response.refusal.done'; +} +/** + * The status of the response generation. One of `completed`, `failed`, + * `in_progress`, `cancelled`, `queued`, or `incomplete`. + */ +export type ResponseStatus = 'completed' | 'failed' | 'in_progress' | 'cancelled' | 'queued' | 'incomplete'; +/** + * Emitted when there is a partial audio response. + */ +export type ResponseStreamEvent = ResponseAudioDeltaEvent | ResponseAudioDoneEvent | ResponseAudioTranscriptDeltaEvent | ResponseAudioTranscriptDoneEvent | ResponseCodeInterpreterCallCodeDeltaEvent | ResponseCodeInterpreterCallCodeDoneEvent | ResponseCodeInterpreterCallCompletedEvent | ResponseCodeInterpreterCallInProgressEvent | ResponseCodeInterpreterCallInterpretingEvent | ResponseCompletedEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseCreatedEvent | ResponseErrorEvent | ResponseFileSearchCallCompletedEvent | ResponseFileSearchCallInProgressEvent | ResponseFileSearchCallSearchingEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseInProgressEvent | ResponseFailedEvent | ResponseIncompleteEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseReasoningSummaryPartAddedEvent | ResponseReasoningSummaryPartDoneEvent | ResponseReasoningSummaryTextDeltaEvent | ResponseReasoningSummaryTextDoneEvent | ResponseReasoningTextDeltaEvent | ResponseReasoningTextDoneEvent | ResponseRefusalDeltaEvent | ResponseRefusalDoneEvent | ResponseTextDeltaEvent | ResponseTextDoneEvent | ResponseWebSearchCallCompletedEvent | ResponseWebSearchCallInProgressEvent | ResponseWebSearchCallSearchingEvent | ResponseImageGenCallCompletedEvent | ResponseImageGenCallGeneratingEvent | ResponseImageGenCallInProgressEvent | ResponseImageGenCallPartialImageEvent | ResponseMcpCallArgumentsDeltaEvent | ResponseMcpCallArgumentsDoneEvent | ResponseMcpCallCompletedEvent | ResponseMcpCallFailedEvent | ResponseMcpCallInProgressEvent | ResponseMcpListToolsCompletedEvent | ResponseMcpListToolsFailedEvent | ResponseMcpListToolsInProgressEvent | ResponseOutputTextAnnotationAddedEvent | ResponseQueuedEvent | ResponseCustomToolCallInputDeltaEvent | ResponseCustomToolCallInputDoneEvent; +/** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ +export interface ResponseTextConfig { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponseFormatTextConfig; + /** + * Constrains the verbosity of the model's response. Lower values will result in + * more concise responses, while higher values will result in more verbose + * responses. Currently supported values are `low`, `medium`, and `high`. + */ + verbosity?: 'low' | 'medium' | 'high' | null; +} +/** + * Emitted when there is an additional text delta. + */ +export interface ResponseTextDeltaEvent { + /** + * The index of the content part that the text delta was added to. + */ + content_index: number; + /** + * The text delta that was added. + */ + delta: string; + /** + * The ID of the output item that the text delta was added to. + */ + item_id: string; + /** + * The log probabilities of the tokens in the delta. + */ + logprobs: Array; + /** + * The index of the output item that the text delta was added to. + */ + output_index: number; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.output_text.delta`. + */ + type: 'response.output_text.delta'; +} +export declare namespace ResponseTextDeltaEvent { + /** + * A logprob is the logarithmic probability that the model assigns to producing a + * particular token at a given position in the sequence. Less-negative (higher) + * logprob values indicate greater model confidence in that token choice. + */ + interface Logprob { + /** + * A possible text token. + */ + token: string; + /** + * The log probability of this token. + */ + logprob: number; + /** + * The log probability of the top 20 most likely tokens. + */ + top_logprobs?: Array; + } + namespace Logprob { + interface TopLogprob { + /** + * A possible text token. + */ + token?: string; + /** + * The log probability of this token. + */ + logprob?: number; + } + } +} +/** + * Emitted when text content is finalized. + */ +export interface ResponseTextDoneEvent { + /** + * The index of the content part that the text content is finalized. + */ + content_index: number; + /** + * The ID of the output item that the text content is finalized. + */ + item_id: string; + /** + * The log probabilities of the tokens in the delta. + */ + logprobs: Array; + /** + * The index of the output item that the text content is finalized. + */ + output_index: number; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The text content that is finalized. + */ + text: string; + /** + * The type of the event. Always `response.output_text.done`. + */ + type: 'response.output_text.done'; +} +export declare namespace ResponseTextDoneEvent { + /** + * A logprob is the logarithmic probability that the model assigns to producing a + * particular token at a given position in the sequence. Less-negative (higher) + * logprob values indicate greater model confidence in that token choice. + */ + interface Logprob { + /** + * A possible text token. + */ + token: string; + /** + * The log probability of this token. + */ + logprob: number; + /** + * The log probability of the top 20 most likely tokens. + */ + top_logprobs?: Array; + } + namespace Logprob { + interface TopLogprob { + /** + * A possible text token. + */ + token?: string; + /** + * The log probability of this token. + */ + logprob?: number; + } + } +} +/** + * Represents token usage details including input tokens, output tokens, a + * breakdown of output tokens, and the total tokens used. + */ +export interface ResponseUsage { + /** + * The number of input tokens. + */ + input_tokens: number; + /** + * A detailed breakdown of the input tokens. + */ + input_tokens_details: ResponseUsage.InputTokensDetails; + /** + * The number of output tokens. + */ + output_tokens: number; + /** + * A detailed breakdown of the output tokens. + */ + output_tokens_details: ResponseUsage.OutputTokensDetails; + /** + * The total number of tokens used. + */ + total_tokens: number; +} +export declare namespace ResponseUsage { + /** + * A detailed breakdown of the input tokens. + */ + interface InputTokensDetails { + /** + * The number of tokens that were retrieved from the cache. + * [More on prompt caching](https://platform.openai.com/docs/guides/prompt-caching). + */ + cached_tokens: number; + } + /** + * A detailed breakdown of the output tokens. + */ + interface OutputTokensDetails { + /** + * The number of reasoning tokens. + */ + reasoning_tokens: number; + } +} +/** + * Emitted when a web search call is completed. + */ +export interface ResponseWebSearchCallCompletedEvent { + /** + * Unique ID for the output item associated with the web search call. + */ + item_id: string; + /** + * The index of the output item that the web search call is associated with. + */ + output_index: number; + /** + * The sequence number of the web search call being processed. + */ + sequence_number: number; + /** + * The type of the event. Always `response.web_search_call.completed`. + */ + type: 'response.web_search_call.completed'; +} +/** + * Emitted when a web search call is initiated. + */ +export interface ResponseWebSearchCallInProgressEvent { + /** + * Unique ID for the output item associated with the web search call. + */ + item_id: string; + /** + * The index of the output item that the web search call is associated with. + */ + output_index: number; + /** + * The sequence number of the web search call being processed. + */ + sequence_number: number; + /** + * The type of the event. Always `response.web_search_call.in_progress`. + */ + type: 'response.web_search_call.in_progress'; +} +/** + * Emitted when a web search call is executing. + */ +export interface ResponseWebSearchCallSearchingEvent { + /** + * Unique ID for the output item associated with the web search call. + */ + item_id: string; + /** + * The index of the output item that the web search call is associated with. + */ + output_index: number; + /** + * The sequence number of the web search call being processed. + */ + sequence_number: number; + /** + * The type of the event. Always `response.web_search_call.searching`. + */ + type: 'response.web_search_call.searching'; +} +/** + * A tool that can be used to generate a response. + */ +export type Tool = FunctionTool | FileSearchTool | WebSearchTool | ComputerTool | Tool.Mcp | Tool.CodeInterpreter | Tool.ImageGeneration | Tool.LocalShell | CustomTool; +export declare namespace Tool { + /** + * Give the model access to additional tools via remote Model Context Protocol + * (MCP) servers. + * [Learn more about MCP](https://platform.openai.com/docs/guides/tools-remote-mcp). + */ + interface Mcp { + /** + * A label for this MCP server, used to identify it in tool calls. + */ + server_label: string; + /** + * The type of the MCP tool. Always `mcp`. + */ + type: 'mcp'; + /** + * List of allowed tool names or a filter object. + */ + allowed_tools?: Array | Mcp.McpToolFilter | null; + /** + * An OAuth access token that can be used with a remote MCP server, either with a + * custom MCP server URL or a service connector. Your application must handle the + * OAuth authorization flow and provide the token here. + */ + authorization?: string; + /** + * Identifier for service connectors, like those available in ChatGPT. One of + * `server_url` or `connector_id` must be provided. Learn more about service + * connectors + * [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors). + * + * Currently supported `connector_id` values are: + * + * - Dropbox: `connector_dropbox` + * - Gmail: `connector_gmail` + * - Google Calendar: `connector_googlecalendar` + * - Google Drive: `connector_googledrive` + * - Microsoft Teams: `connector_microsoftteams` + * - Outlook Calendar: `connector_outlookcalendar` + * - Outlook Email: `connector_outlookemail` + * - SharePoint: `connector_sharepoint` + */ + connector_id?: 'connector_dropbox' | 'connector_gmail' | 'connector_googlecalendar' | 'connector_googledrive' | 'connector_microsoftteams' | 'connector_outlookcalendar' | 'connector_outlookemail' | 'connector_sharepoint'; + /** + * Optional HTTP headers to send to the MCP server. Use for authentication or other + * purposes. + */ + headers?: { + [key: string]: string; + } | null; + /** + * Specify which of the MCP server's tools require approval. + */ + require_approval?: Mcp.McpToolApprovalFilter | 'always' | 'never' | null; + /** + * Optional description of the MCP server, used to provide more context. + */ + server_description?: string; + /** + * The URL for the MCP server. One of `server_url` or `connector_id` must be + * provided. + */ + server_url?: string; + } + namespace Mcp { + /** + * A filter object to specify which tools are allowed. + */ + interface McpToolFilter { + /** + * Indicates whether or not a tool modifies data or is read-only. If an MCP server + * is + * [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + read_only?: boolean; + /** + * List of allowed tool names. + */ + tool_names?: Array; + } + /** + * Specify which of the MCP server's tools require approval. Can be `always`, + * `never`, or a filter object associated with tools that require approval. + */ + interface McpToolApprovalFilter { + /** + * A filter object to specify which tools are allowed. + */ + always?: McpToolApprovalFilter.Always; + /** + * A filter object to specify which tools are allowed. + */ + never?: McpToolApprovalFilter.Never; + } + namespace McpToolApprovalFilter { + /** + * A filter object to specify which tools are allowed. + */ + interface Always { + /** + * Indicates whether or not a tool modifies data or is read-only. If an MCP server + * is + * [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + read_only?: boolean; + /** + * List of allowed tool names. + */ + tool_names?: Array; + } + /** + * A filter object to specify which tools are allowed. + */ + interface Never { + /** + * Indicates whether or not a tool modifies data or is read-only. If an MCP server + * is + * [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + read_only?: boolean; + /** + * List of allowed tool names. + */ + tool_names?: Array; + } + } + } + /** + * A tool that runs Python code to help generate a response to a prompt. + */ + interface CodeInterpreter { + /** + * The code interpreter container. Can be a container ID or an object that + * specifies uploaded file IDs to make available to your code. + */ + container: string | CodeInterpreter.CodeInterpreterToolAuto; + /** + * The type of the code interpreter tool. Always `code_interpreter`. + */ + type: 'code_interpreter'; + } + namespace CodeInterpreter { + /** + * Configuration for a code interpreter container. Optionally specify the IDs of + * the files to run the code on. + */ + interface CodeInterpreterToolAuto { + /** + * Always `auto`. + */ + type: 'auto'; + /** + * An optional list of uploaded files to make available to your code. + */ + file_ids?: Array; + } + } + /** + * A tool that generates images using a model like `gpt-image-1`. + */ + interface ImageGeneration { + /** + * The type of the image generation tool. Always `image_generation`. + */ + type: 'image_generation'; + /** + * Background type for the generated image. One of `transparent`, `opaque`, or + * `auto`. Default: `auto`. + */ + background?: 'transparent' | 'opaque' | 'auto'; + /** + * Control how much effort the model will exert to match the style and features, + * especially facial features, of input images. This parameter is only supported + * for `gpt-image-1`. Supports `high` and `low`. Defaults to `low`. + */ + input_fidelity?: 'high' | 'low' | null; + /** + * Optional mask for inpainting. Contains `image_url` (string, optional) and + * `file_id` (string, optional). + */ + input_image_mask?: ImageGeneration.InputImageMask; + /** + * The image generation model to use. Default: `gpt-image-1`. + */ + model?: 'gpt-image-1'; + /** + * Moderation level for the generated image. Default: `auto`. + */ + moderation?: 'auto' | 'low'; + /** + * Compression level for the output image. Default: 100. + */ + output_compression?: number; + /** + * The output format of the generated image. One of `png`, `webp`, or `jpeg`. + * Default: `png`. + */ + output_format?: 'png' | 'webp' | 'jpeg'; + /** + * Number of partial images to generate in streaming mode, from 0 (default value) + * to 3. + */ + partial_images?: number; + /** + * The quality of the generated image. One of `low`, `medium`, `high`, or `auto`. + * Default: `auto`. + */ + quality?: 'low' | 'medium' | 'high' | 'auto'; + /** + * The size of the generated image. One of `1024x1024`, `1024x1536`, `1536x1024`, + * or `auto`. Default: `auto`. + */ + size?: '1024x1024' | '1024x1536' | '1536x1024' | 'auto'; + } + namespace ImageGeneration { + /** + * Optional mask for inpainting. Contains `image_url` (string, optional) and + * `file_id` (string, optional). + */ + interface InputImageMask { + /** + * File ID for the mask image. + */ + file_id?: string; + /** + * Base64-encoded mask image. + */ + image_url?: string; + } + } + /** + * A tool that allows the model to execute shell commands in a local environment. + */ + interface LocalShell { + /** + * The type of the local shell tool. Always `local_shell`. + */ + type: 'local_shell'; + } +} +/** + * Constrains the tools available to the model to a pre-defined set. + */ +export interface ToolChoiceAllowed { + /** + * Constrains the tools available to the model to a pre-defined set. + * + * `auto` allows the model to pick from among the allowed tools and generate a + * message. + * + * `required` requires the model to call one or more of the allowed tools. + */ + mode: 'auto' | 'required'; + /** + * A list of tool definitions that the model should be allowed to call. + * + * For the Responses API, the list of tool definitions might look like: + * + * ```json + * [ + * { "type": "function", "name": "get_weather" }, + * { "type": "mcp", "server_label": "deepwiki" }, + * { "type": "image_generation" } + * ] + * ``` + */ + tools: Array<{ + [key: string]: unknown; + }>; + /** + * Allowed tool configuration type. Always `allowed_tools`. + */ + type: 'allowed_tools'; +} +/** + * Use this option to force the model to call a specific custom tool. + */ +export interface ToolChoiceCustom { + /** + * The name of the custom tool to call. + */ + name: string; + /** + * For custom tool calling, the type is always `custom`. + */ + type: 'custom'; +} +/** + * Use this option to force the model to call a specific function. + */ +export interface ToolChoiceFunction { + /** + * The name of the function to call. + */ + name: string; + /** + * For function calling, the type is always `function`. + */ + type: 'function'; +} +/** + * Use this option to force the model to call a specific tool on a remote MCP + * server. + */ +export interface ToolChoiceMcp { + /** + * The label of the MCP server to use. + */ + server_label: string; + /** + * For MCP tools, the type is always `mcp`. + */ + type: 'mcp'; + /** + * The name of the tool to call on the server. + */ + name?: string | null; +} +/** + * Controls which (if any) tool is called by the model. + * + * `none` means the model will not call any tool and instead generates a message. + * + * `auto` means the model can pick between generating a message or calling one or + * more tools. + * + * `required` means the model must call one or more tools. + */ +export type ToolChoiceOptions = 'none' | 'auto' | 'required'; +/** + * Indicates that the model should use a built-in tool to generate a response. + * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools). + */ +export interface ToolChoiceTypes { + /** + * The type of hosted tool the model should to use. Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * + * Allowed values are: + * + * - `file_search` + * - `web_search_preview` + * - `computer_use_preview` + * - `code_interpreter` + * - `mcp` + * - `image_generation` + */ + type: 'file_search' | 'web_search_preview' | 'computer_use_preview' | 'web_search_preview_2025_03_11' | 'image_generation' | 'code_interpreter' | 'mcp'; +} +/** + * This tool searches the web for relevant results to use in a response. Learn more + * about the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search). + */ +export interface WebSearchTool { + /** + * The type of the web search tool. One of `web_search_preview` or + * `web_search_preview_2025_03_11`. + */ + type: 'web_search_preview' | 'web_search_preview_2025_03_11'; + /** + * High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + */ + search_context_size?: 'low' | 'medium' | 'high'; + /** + * The user's location. + */ + user_location?: WebSearchTool.UserLocation | null; +} +export declare namespace WebSearchTool { + /** + * The user's location. + */ + interface UserLocation { + /** + * The type of location approximation. Always `approximate`. + */ + type: 'approximate'; + /** + * Free text input for the city of the user, e.g. `San Francisco`. + */ + city?: string | null; + /** + * The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of + * the user, e.g. `US`. + */ + country?: string | null; + /** + * Free text input for the region of the user, e.g. `California`. + */ + region?: string | null; + /** + * The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the + * user, e.g. `America/Los_Angeles`. + */ + timezone?: string | null; + } +} +export type ResponseCreateParams = ResponseCreateParamsNonStreaming | ResponseCreateParamsStreaming; +export interface ResponseCreateParamsBase { + /** + * Whether to run the model response in the background. + * [Learn more](https://platform.openai.com/docs/guides/background). + */ + background?: boolean | null; + /** + * The conversation that this response belongs to. Items from this conversation are + * prepended to `input_items` for this response request. Input items and output + * items from this response are automatically added to this conversation after this + * response completes. + */ + conversation?: string | ResponseConversationParam | null; + /** + * Specify additional output data to include in the model response. Currently + * supported values are: + * + * - `file_search_call.results`: Include the search results of the file search tool + * call. + * - `message.input_image.image_url`: Include image urls from the input message. + * - `computer_call_output.output.image_url`: Include image urls from the computer + * call output. + * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning + * tokens in reasoning item outputs. This enables reasoning items to be used in + * multi-turn conversations when using the Responses API statelessly (like when + * the `store` parameter is set to `false`, or when an organization is enrolled + * in the zero data retention program). + * - `code_interpreter_call.outputs`: Includes the outputs of python code execution + * in code interpreter tool call items. + */ + include?: Array | null; + /** + * Text, image, or file inputs to the model, used to generate a response. + * + * Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Image inputs](https://platform.openai.com/docs/guides/images) + * - [File inputs](https://platform.openai.com/docs/guides/pdf-files) + * - [Conversation state](https://platform.openai.com/docs/guides/conversation-state) + * - [Function calling](https://platform.openai.com/docs/guides/function-calling) + */ + input?: string | ResponseInput; + /** + * A system (or developer) message inserted into the model's context. + * + * When using along with `previous_response_id`, the instructions from a previous + * response will not be carried over to the next response. This makes it simple to + * swap out system (or developer) messages in new responses. + */ + instructions?: string | null; + /** + * An upper bound for the number of tokens that can be generated for a response, + * including visible output tokens and + * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning). + */ + max_output_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a + * wide range of models with different capabilities, performance characteristics, + * and price points. Refer to the + * [model guide](https://platform.openai.com/docs/models) to browse and compare + * available models. + */ + model?: Shared.ResponsesModel; + /** + * Whether to allow the model to run tool calls in parallel. + */ + parallel_tool_calls?: boolean | null; + /** + * The unique ID of the previous response to the model. Use this to create + * multi-turn conversations. Learn more about + * [conversation state](https://platform.openai.com/docs/guides/conversation-state). + * Cannot be used in conjunction with `conversation`. + */ + previous_response_id?: string | null; + /** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ + prompt?: ResponsePrompt | null; + /** + * Used by OpenAI to cache responses for similar requests to optimize your cache + * hit rates. Replaces the `user` field. + * [Learn more](https://platform.openai.com/docs/guides/prompt-caching). + */ + prompt_cache_key?: string; + /** + * **gpt-5 and o-series models only** + * + * Configuration options for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). + */ + reasoning?: Shared.Reasoning | null; + /** + * A stable identifier used to help detect users of your application that may be + * violating OpenAI's usage policies. The IDs should be a string that uniquely + * identifies each user. We recommend hashing their username or email address, in + * order to avoid sending us any identifying information. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + safety_identifier?: string; + /** + * Specifies the latency tier to use for processing the request. This parameter is + * relevant for customers subscribed to the scale tier service: + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When this parameter is set, the response body will include the `service_tier` + * utilized. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * Whether to store the generated model response for later retrieval via API. + */ + store?: boolean | null; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: boolean | null; + /** + * Options for streaming responses. Only set this when you set `stream: true`. + */ + stream_options?: ResponseCreateParams.StreamOptions | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. We generally recommend altering this or `top_p` but + * not both. + */ + temperature?: number | null; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: ResponseTextConfig; + /** + * How the model should select which tool (or tools) to use when generating a + * response. See the `tools` parameter to see how to specify which tools the model + * can call. + */ + tool_choice?: ToolChoiceOptions | ToolChoiceAllowed | ToolChoiceTypes | ToolChoiceFunction | ToolChoiceMcp | ToolChoiceCustom; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code with strongly typed arguments and outputs. + * Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + * You can also use custom tools to call your own code. + */ + tools?: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or `temperature` but not both. + */ + top_p?: number | null; + /** + * The truncation strategy to use for the model response. + * + * - `auto`: If the context of this response and previous ones exceeds the model's + * context window size, the model will truncate the response to fit the context + * window by dropping input items in the middle of the conversation. + * - `disabled` (default): If a model response will exceed the context window size + * for a model, the request will fail with a 400 error. + */ + truncation?: 'auto' | 'disabled' | null; + /** + * @deprecated This field is being replaced by `safety_identifier` and + * `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching + * optimizations. A stable identifier for your end-users. Used to boost cache hit + * rates by better bucketing similar requests and to help OpenAI detect and prevent + * abuse. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + user?: string; +} +export declare namespace ResponseCreateParams { + /** + * Options for streaming responses. Only set this when you set `stream: true`. + */ + interface StreamOptions { + /** + * When true, stream obfuscation will be enabled. Stream obfuscation adds random + * characters to an `obfuscation` field on streaming delta events to normalize + * payload sizes as a mitigation to certain side-channel attacks. These obfuscation + * fields are included by default, but add a small amount of overhead to the data + * stream. You can set `include_obfuscation` to false to optimize for bandwidth if + * you trust the network links between your application and the OpenAI API. + */ + include_obfuscation?: boolean; + } + type ResponseCreateParamsNonStreaming = ResponsesAPI.ResponseCreateParamsNonStreaming; + type ResponseCreateParamsStreaming = ResponsesAPI.ResponseCreateParamsStreaming; +} +export interface ResponseCreateParamsNonStreaming extends ResponseCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: false | null; +} +export interface ResponseCreateParamsStreaming extends ResponseCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream: true; +} +export type ResponseRetrieveParams = ResponseRetrieveParamsNonStreaming | ResponseRetrieveParamsStreaming; +export interface ResponseRetrieveParamsBase { + /** + * Additional fields to include in the response. See the `include` parameter for + * Response creation above for more information. + */ + include?: Array; + /** + * When true, stream obfuscation will be enabled. Stream obfuscation adds random + * characters to an `obfuscation` field on streaming delta events to normalize + * payload sizes as a mitigation to certain side-channel attacks. These obfuscation + * fields are included by default, but add a small amount of overhead to the data + * stream. You can set `include_obfuscation` to false to optimize for bandwidth if + * you trust the network links between your application and the OpenAI API. + */ + include_obfuscation?: boolean; + /** + * The sequence number of the event after which to start streaming. + */ + starting_after?: number; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: boolean; +} +export declare namespace ResponseRetrieveParams { + type ResponseRetrieveParamsNonStreaming = ResponsesAPI.ResponseRetrieveParamsNonStreaming; + type ResponseRetrieveParamsStreaming = ResponsesAPI.ResponseRetrieveParamsStreaming; +} +export interface ResponseRetrieveParamsNonStreaming extends ResponseRetrieveParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: false; +} +export interface ResponseRetrieveParamsStreaming extends ResponseRetrieveParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream: true; +} +export declare namespace Responses { + export { type ComputerTool as ComputerTool, type CustomTool as CustomTool, type EasyInputMessage as EasyInputMessage, type FileSearchTool as FileSearchTool, type FunctionTool as FunctionTool, type Response as Response, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCodeInterpreterCallCodeDeltaEvent as ResponseCodeInterpreterCallCodeDeltaEvent, type ResponseCodeInterpreterCallCodeDoneEvent as ResponseCodeInterpreterCallCodeDoneEvent, type ResponseCodeInterpreterCallCompletedEvent as ResponseCodeInterpreterCallCompletedEvent, type ResponseCodeInterpreterCallInProgressEvent as ResponseCodeInterpreterCallInProgressEvent, type ResponseCodeInterpreterCallInterpretingEvent as ResponseCodeInterpreterCallInterpretingEvent, type ResponseCodeInterpreterToolCall as ResponseCodeInterpreterToolCall, type ResponseCompletedEvent as ResponseCompletedEvent, type ResponseComputerToolCall as ResponseComputerToolCall, type ResponseComputerToolCallOutputItem as ResponseComputerToolCallOutputItem, type ResponseComputerToolCallOutputScreenshot as ResponseComputerToolCallOutputScreenshot, type ResponseContent as ResponseContent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseConversationParam as ResponseConversationParam, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseCustomToolCall as ResponseCustomToolCall, type ResponseCustomToolCallInputDeltaEvent as ResponseCustomToolCallInputDeltaEvent, type ResponseCustomToolCallInputDoneEvent as ResponseCustomToolCallInputDoneEvent, type ResponseCustomToolCallOutput as ResponseCustomToolCallOutput, type ResponseError as ResponseError, type ResponseErrorEvent as ResponseErrorEvent, type ResponseFailedEvent as ResponseFailedEvent, type ResponseFileSearchCallCompletedEvent as ResponseFileSearchCallCompletedEvent, type ResponseFileSearchCallInProgressEvent as ResponseFileSearchCallInProgressEvent, type ResponseFileSearchCallSearchingEvent as ResponseFileSearchCallSearchingEvent, type ResponseFileSearchToolCall as ResponseFileSearchToolCall, type ResponseFormatTextConfig as ResponseFormatTextConfig, type ResponseFormatTextJSONSchemaConfig as ResponseFormatTextJSONSchemaConfig, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseFunctionToolCall as ResponseFunctionToolCall, type ResponseFunctionToolCallItem as ResponseFunctionToolCallItem, type ResponseFunctionToolCallOutputItem as ResponseFunctionToolCallOutputItem, type ResponseFunctionWebSearch as ResponseFunctionWebSearch, type ResponseImageGenCallCompletedEvent as ResponseImageGenCallCompletedEvent, type ResponseImageGenCallGeneratingEvent as ResponseImageGenCallGeneratingEvent, type ResponseImageGenCallInProgressEvent as ResponseImageGenCallInProgressEvent, type ResponseImageGenCallPartialImageEvent as ResponseImageGenCallPartialImageEvent, type ResponseInProgressEvent as ResponseInProgressEvent, type ResponseIncludable as ResponseIncludable, type ResponseIncompleteEvent as ResponseIncompleteEvent, type ResponseInput as ResponseInput, type ResponseInputAudio as ResponseInputAudio, type ResponseInputContent as ResponseInputContent, type ResponseInputFile as ResponseInputFile, type ResponseInputImage as ResponseInputImage, type ResponseInputItem as ResponseInputItem, type ResponseInputMessageContentList as ResponseInputMessageContentList, type ResponseInputMessageItem as ResponseInputMessageItem, type ResponseInputText as ResponseInputText, type ResponseItem as ResponseItem, type ResponseMcpCallArgumentsDeltaEvent as ResponseMcpCallArgumentsDeltaEvent, type ResponseMcpCallArgumentsDoneEvent as ResponseMcpCallArgumentsDoneEvent, type ResponseMcpCallCompletedEvent as ResponseMcpCallCompletedEvent, type ResponseMcpCallFailedEvent as ResponseMcpCallFailedEvent, type ResponseMcpCallInProgressEvent as ResponseMcpCallInProgressEvent, type ResponseMcpListToolsCompletedEvent as ResponseMcpListToolsCompletedEvent, type ResponseMcpListToolsFailedEvent as ResponseMcpListToolsFailedEvent, type ResponseMcpListToolsInProgressEvent as ResponseMcpListToolsInProgressEvent, type ResponseOutputAudio as ResponseOutputAudio, type ResponseOutputItem as ResponseOutputItem, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseOutputMessage as ResponseOutputMessage, type ResponseOutputRefusal as ResponseOutputRefusal, type ResponseOutputText as ResponseOutputText, type ResponseOutputTextAnnotationAddedEvent as ResponseOutputTextAnnotationAddedEvent, type ResponsePrompt as ResponsePrompt, type ResponseQueuedEvent as ResponseQueuedEvent, type ResponseReasoningItem as ResponseReasoningItem, type ResponseReasoningSummaryPartAddedEvent as ResponseReasoningSummaryPartAddedEvent, type ResponseReasoningSummaryPartDoneEvent as ResponseReasoningSummaryPartDoneEvent, type ResponseReasoningSummaryTextDeltaEvent as ResponseReasoningSummaryTextDeltaEvent, type ResponseReasoningSummaryTextDoneEvent as ResponseReasoningSummaryTextDoneEvent, type ResponseReasoningTextDeltaEvent as ResponseReasoningTextDeltaEvent, type ResponseReasoningTextDoneEvent as ResponseReasoningTextDoneEvent, type ResponseRefusalDeltaEvent as ResponseRefusalDeltaEvent, type ResponseRefusalDoneEvent as ResponseRefusalDoneEvent, type ResponseStatus as ResponseStatus, type ResponseStreamEvent as ResponseStreamEvent, type ResponseTextConfig as ResponseTextConfig, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type ResponseUsage as ResponseUsage, type ResponseWebSearchCallCompletedEvent as ResponseWebSearchCallCompletedEvent, type ResponseWebSearchCallInProgressEvent as ResponseWebSearchCallInProgressEvent, type ResponseWebSearchCallSearchingEvent as ResponseWebSearchCallSearchingEvent, type Tool as Tool, type ToolChoiceAllowed as ToolChoiceAllowed, type ToolChoiceCustom as ToolChoiceCustom, type ToolChoiceFunction as ToolChoiceFunction, type ToolChoiceMcp as ToolChoiceMcp, type ToolChoiceOptions as ToolChoiceOptions, type ToolChoiceTypes as ToolChoiceTypes, type WebSearchTool as WebSearchTool, type ResponseCreateParams as ResponseCreateParams, type ResponseCreateParamsNonStreaming as ResponseCreateParamsNonStreaming, type ResponseCreateParamsStreaming as ResponseCreateParamsStreaming, type ResponseRetrieveParams as ResponseRetrieveParams, type ResponseRetrieveParamsNonStreaming as ResponseRetrieveParamsNonStreaming, type ResponseRetrieveParamsStreaming as ResponseRetrieveParamsStreaming, }; + export { InputItems as InputItems, type ResponseItemList as ResponseItemList, type InputItemListParams as InputItemListParams, }; +} +//# sourceMappingURL=responses.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..ca09788c7d03e9f87e4c5b0ea8acf66f680dccbe --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"responses.d.mts","sourceRoot":"","sources":["../../src/resources/responses/responses.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,8BAA8B,EAEnC,KAAK,6BAA6B,EAEnC;OACM,EAAE,cAAc,EAAE,oBAAoB,EAAE;OACxC,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,KAAK,MAAM;OACX,KAAK,aAAa;OAClB,EAAE,mBAAmB,EAAE,UAAU,EAAE,gBAAgB,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,UA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AAwB,EACzD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..93155d301e610cf467b32466a67961f75e22c2df --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.ts @@ -0,0 +1,4442 @@ +import { type ExtractParsedContentFromParams, type ResponseCreateParamsWithTools } from "../../lib/ResponsesParser.js"; +import { ResponseStream, ResponseStreamParams } from "../../lib/responses/ResponseStream.js"; +import { APIResource } from "../../core/resource.js"; +import * as ResponsesAPI from "./responses.js"; +import * as Shared from "../shared.js"; +import * as InputItemsAPI from "./input-items.js"; +import { InputItemListParams, InputItems, ResponseItemList } from "./input-items.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { CursorPage } from "../../core/pagination.js"; +import { Stream } from "../../core/streaming.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export interface ParsedResponseOutputText extends ResponseOutputText { + parsed: ParsedT | null; +} +export type ParsedContent = ParsedResponseOutputText | ResponseOutputRefusal; +export interface ParsedResponseOutputMessage extends ResponseOutputMessage { + content: ParsedContent[]; +} +export interface ParsedResponseFunctionToolCall extends ResponseFunctionToolCall { + parsed_arguments: any; +} +export type ParsedResponseOutputItem = ParsedResponseOutputMessage | ParsedResponseFunctionToolCall | ResponseFileSearchToolCall | ResponseFunctionWebSearch | ResponseComputerToolCall | ResponseReasoningItem | ResponseOutputItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseOutputItem.LocalShellCall | ResponseOutputItem.McpCall | ResponseOutputItem.McpListTools | ResponseOutputItem.McpApprovalRequest | ResponseCustomToolCall; +export interface ParsedResponse extends Response { + output: Array>; + output_parsed: ParsedT | null; +} +export type ResponseParseParams = ResponseCreateParamsNonStreaming; +export declare class Responses extends APIResource { + inputItems: InputItemsAPI.InputItems; + /** + * Creates a model response. Provide + * [text](https://platform.openai.com/docs/guides/text) or + * [image](https://platform.openai.com/docs/guides/images) inputs to generate + * [text](https://platform.openai.com/docs/guides/text) or + * [JSON](https://platform.openai.com/docs/guides/structured-outputs) outputs. Have + * the model call your own + * [custom code](https://platform.openai.com/docs/guides/function-calling) or use + * built-in [tools](https://platform.openai.com/docs/guides/tools) like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search) to use + * your own data as input for the model's response. + * + * @example + * ```ts + * const response = await client.responses.create(); + * ``` + */ + create(body: ResponseCreateParamsNonStreaming, options?: RequestOptions): APIPromise; + create(body: ResponseCreateParamsStreaming, options?: RequestOptions): APIPromise>; + create(body: ResponseCreateParamsBase, options?: RequestOptions): APIPromise | Response>; + /** + * Retrieves a model response with the given ID. + * + * @example + * ```ts + * const response = await client.responses.retrieve( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + retrieve(responseID: string, query?: ResponseRetrieveParamsNonStreaming, options?: RequestOptions): APIPromise; + retrieve(responseID: string, query: ResponseRetrieveParamsStreaming, options?: RequestOptions): APIPromise>; + retrieve(responseID: string, query?: ResponseRetrieveParamsBase | undefined, options?: RequestOptions): APIPromise | Response>; + /** + * Deletes a model response with the given ID. + * + * @example + * ```ts + * await client.responses.delete( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + delete(responseID: string, options?: RequestOptions): APIPromise; + parse>(body: Params, options?: RequestOptions): APIPromise>; + /** + * Creates a model response stream + */ + stream>(body: Params, options?: RequestOptions): ResponseStream; + /** + * Cancels a model response with the given ID. Only responses created with the + * `background` parameter set to `true` can be cancelled. + * [Learn more](https://platform.openai.com/docs/guides/background). + * + * @example + * ```ts + * const response = await client.responses.cancel( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + cancel(responseID: string, options?: RequestOptions): APIPromise; +} +export type ResponseItemsPage = CursorPage; +/** + * A tool that controls a virtual computer. Learn more about the + * [computer tool](https://platform.openai.com/docs/guides/tools-computer-use). + */ +export interface ComputerTool { + /** + * The height of the computer display. + */ + display_height: number; + /** + * The width of the computer display. + */ + display_width: number; + /** + * The type of computer environment to control. + */ + environment: 'windows' | 'mac' | 'linux' | 'ubuntu' | 'browser'; + /** + * The type of the computer use tool. Always `computer_use_preview`. + */ + type: 'computer_use_preview'; +} +/** + * A custom tool that processes input using a specified format. Learn more about + * [custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools). + */ +export interface CustomTool { + /** + * The name of the custom tool, used to identify it in tool calls. + */ + name: string; + /** + * The type of the custom tool. Always `custom`. + */ + type: 'custom'; + /** + * Optional description of the custom tool, used to provide more context. + */ + description?: string; + /** + * The input format for the custom tool. Default is unconstrained text. + */ + format?: Shared.CustomToolInputFormat; +} +/** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ +export interface EasyInputMessage { + /** + * Text, image, or audio input to the model, used to generate a response. Can also + * contain previous assistant responses. + */ + content: string | ResponseInputMessageContentList; + /** + * The role of the message input. One of `user`, `assistant`, `system`, or + * `developer`. + */ + role: 'user' | 'assistant' | 'system' | 'developer'; + /** + * The type of the message input. Always `message`. + */ + type?: 'message'; +} +/** + * A tool that searches for relevant content from uploaded files. Learn more about + * the + * [file search tool](https://platform.openai.com/docs/guides/tools-file-search). + */ +export interface FileSearchTool { + /** + * The type of the file search tool. Always `file_search`. + */ + type: 'file_search'; + /** + * The IDs of the vector stores to search. + */ + vector_store_ids: Array; + /** + * A filter to apply. + */ + filters?: Shared.ComparisonFilter | Shared.CompoundFilter | null; + /** + * The maximum number of results to return. This number should be between 1 and 50 + * inclusive. + */ + max_num_results?: number; + /** + * Ranking options for search. + */ + ranking_options?: FileSearchTool.RankingOptions; +} +export declare namespace FileSearchTool { + /** + * Ranking options for search. + */ + interface RankingOptions { + /** + * The ranker to use for the file search. + */ + ranker?: 'auto' | 'default-2024-11-15'; + /** + * The score threshold for the file search, a number between 0 and 1. Numbers + * closer to 1 will attempt to return only the most relevant results, but may + * return fewer results. + */ + score_threshold?: number; + } +} +/** + * Defines a function in your own code the model can choose to call. Learn more + * about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + */ +export interface FunctionTool { + /** + * The name of the function to call. + */ + name: string; + /** + * A JSON schema object describing the parameters of the function. + */ + parameters: { + [key: string]: unknown; + } | null; + /** + * Whether to enforce strict parameter validation. Default `true`. + */ + strict: boolean | null; + /** + * The type of the function tool. Always `function`. + */ + type: 'function'; + /** + * A description of the function. Used by the model to determine whether or not to + * call the function. + */ + description?: string | null; +} +export interface Response { + /** + * Unique identifier for this Response. + */ + id: string; + /** + * Unix timestamp (in seconds) of when this Response was created. + */ + created_at: number; + output_text: string; + /** + * An error object returned when the model fails to generate a Response. + */ + error: ResponseError | null; + /** + * Details about why the response is incomplete. + */ + incomplete_details: Response.IncompleteDetails | null; + /** + * A system (or developer) message inserted into the model's context. + * + * When using along with `previous_response_id`, the instructions from a previous + * response will not be carried over to the next response. This makes it simple to + * swap out system (or developer) messages in new responses. + */ + instructions: string | Array | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a + * wide range of models with different capabilities, performance characteristics, + * and price points. Refer to the + * [model guide](https://platform.openai.com/docs/models) to browse and compare + * available models. + */ + model: Shared.ResponsesModel; + /** + * The object type of this resource - always set to `response`. + */ + object: 'response'; + /** + * An array of content items generated by the model. + * + * - The length and order of items in the `output` array is dependent on the + * model's response. + * - Rather than accessing the first item in the `output` array and assuming it's + * an `assistant` message with the content generated by the model, you might + * consider using the `output_text` property where supported in SDKs. + */ + output: Array; + /** + * Whether to allow the model to run tool calls in parallel. + */ + parallel_tool_calls: boolean; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. We generally recommend altering this or `top_p` but + * not both. + */ + temperature: number | null; + /** + * How the model should select which tool (or tools) to use when generating a + * response. See the `tools` parameter to see how to specify which tools the model + * can call. + */ + tool_choice: ToolChoiceOptions | ToolChoiceAllowed | ToolChoiceTypes | ToolChoiceFunction | ToolChoiceMcp | ToolChoiceCustom; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code with strongly typed arguments and outputs. + * Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + * You can also use custom tools to call your own code. + */ + tools: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or `temperature` but not both. + */ + top_p: number | null; + /** + * Whether to run the model response in the background. + * [Learn more](https://platform.openai.com/docs/guides/background). + */ + background?: boolean | null; + /** + * The conversation that this response belongs to. Input items and output items + * from this response are automatically added to this conversation. + */ + conversation?: Response.Conversation | null; + /** + * An upper bound for the number of tokens that can be generated for a response, + * including visible output tokens and + * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning). + */ + max_output_tokens?: number | null; + /** + * The unique ID of the previous response to the model. Use this to create + * multi-turn conversations. Learn more about + * [conversation state](https://platform.openai.com/docs/guides/conversation-state). + * Cannot be used in conjunction with `conversation`. + */ + previous_response_id?: string | null; + /** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ + prompt?: ResponsePrompt | null; + /** + * Used by OpenAI to cache responses for similar requests to optimize your cache + * hit rates. Replaces the `user` field. + * [Learn more](https://platform.openai.com/docs/guides/prompt-caching). + */ + prompt_cache_key?: string; + /** + * **gpt-5 and o-series models only** + * + * Configuration options for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). + */ + reasoning?: Shared.Reasoning | null; + /** + * A stable identifier used to help detect users of your application that may be + * violating OpenAI's usage policies. The IDs should be a string that uniquely + * identifies each user. We recommend hashing their username or email address, in + * order to avoid sending us any identifying information. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + safety_identifier?: string; + /** + * Specifies the latency tier to use for processing the request. This parameter is + * relevant for customers subscribed to the scale tier service: + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When this parameter is set, the response body will include the `service_tier` + * utilized. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * The status of the response generation. One of `completed`, `failed`, + * `in_progress`, `cancelled`, `queued`, or `incomplete`. + */ + status?: ResponseStatus; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: ResponseTextConfig; + /** + * The truncation strategy to use for the model response. + * + * - `auto`: If the context of this response and previous ones exceeds the model's + * context window size, the model will truncate the response to fit the context + * window by dropping input items in the middle of the conversation. + * - `disabled` (default): If a model response will exceed the context window size + * for a model, the request will fail with a 400 error. + */ + truncation?: 'auto' | 'disabled' | null; + /** + * Represents token usage details including input tokens, output tokens, a + * breakdown of output tokens, and the total tokens used. + */ + usage?: ResponseUsage; + /** + * @deprecated This field is being replaced by `safety_identifier` and + * `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching + * optimizations. A stable identifier for your end-users. Used to boost cache hit + * rates by better bucketing similar requests and to help OpenAI detect and prevent + * abuse. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + user?: string; +} +export declare namespace Response { + /** + * Details about why the response is incomplete. + */ + interface IncompleteDetails { + /** + * The reason why the response is incomplete. + */ + reason?: 'max_output_tokens' | 'content_filter'; + } + /** + * The conversation that this response belongs to. Input items and output items + * from this response are automatically added to this conversation. + */ + interface Conversation { + /** + * The unique ID of the conversation. + */ + id: string; + } +} +/** + * Emitted when there is a partial audio response. + */ +export interface ResponseAudioDeltaEvent { + /** + * A chunk of Base64 encoded response audio bytes. + */ + delta: string; + /** + * A sequence number for this chunk of the stream response. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.delta`. + */ + type: 'response.audio.delta'; +} +/** + * Emitted when the audio response is complete. + */ +export interface ResponseAudioDoneEvent { + /** + * The sequence number of the delta. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.done`. + */ + type: 'response.audio.done'; +} +/** + * Emitted when there is a partial transcript of audio. + */ +export interface ResponseAudioTranscriptDeltaEvent { + /** + * The partial transcript of the audio response. + */ + delta: string; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.transcript.delta`. + */ + type: 'response.audio.transcript.delta'; +} +/** + * Emitted when the full audio transcript is completed. + */ +export interface ResponseAudioTranscriptDoneEvent { + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.audio.transcript.done`. + */ + type: 'response.audio.transcript.done'; +} +/** + * Emitted when a partial code snippet is streamed by the code interpreter. + */ +export interface ResponseCodeInterpreterCallCodeDeltaEvent { + /** + * The partial code snippet being streamed by the code interpreter. + */ + delta: string; + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code is being + * streamed. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call_code.delta`. + */ + type: 'response.code_interpreter_call_code.delta'; +} +/** + * Emitted when the code snippet is finalized by the code interpreter. + */ +export interface ResponseCodeInterpreterCallCodeDoneEvent { + /** + * The final code snippet output by the code interpreter. + */ + code: string; + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code is finalized. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call_code.done`. + */ + type: 'response.code_interpreter_call_code.done'; +} +/** + * Emitted when the code interpreter call is completed. + */ +export interface ResponseCodeInterpreterCallCompletedEvent { + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code interpreter call + * is completed. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call.completed`. + */ + type: 'response.code_interpreter_call.completed'; +} +/** + * Emitted when a code interpreter call is in progress. + */ +export interface ResponseCodeInterpreterCallInProgressEvent { + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code interpreter call + * is in progress. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call.in_progress`. + */ + type: 'response.code_interpreter_call.in_progress'; +} +/** + * Emitted when the code interpreter is actively interpreting the code snippet. + */ +export interface ResponseCodeInterpreterCallInterpretingEvent { + /** + * The unique identifier of the code interpreter tool call item. + */ + item_id: string; + /** + * The index of the output item in the response for which the code interpreter is + * interpreting code. + */ + output_index: number; + /** + * The sequence number of this event, used to order streaming events. + */ + sequence_number: number; + /** + * The type of the event. Always `response.code_interpreter_call.interpreting`. + */ + type: 'response.code_interpreter_call.interpreting'; +} +/** + * A tool call to run code. + */ +export interface ResponseCodeInterpreterToolCall { + /** + * The unique ID of the code interpreter tool call. + */ + id: string; + /** + * The code to run, or null if not available. + */ + code: string | null; + /** + * The ID of the container used to run the code. + */ + container_id: string; + /** + * The outputs generated by the code interpreter, such as logs or images. Can be + * null if no outputs are available. + */ + outputs: Array | null; + /** + * The status of the code interpreter tool call. Valid values are `in_progress`, + * `completed`, `incomplete`, `interpreting`, and `failed`. + */ + status: 'in_progress' | 'completed' | 'incomplete' | 'interpreting' | 'failed'; + /** + * The type of the code interpreter tool call. Always `code_interpreter_call`. + */ + type: 'code_interpreter_call'; +} +export declare namespace ResponseCodeInterpreterToolCall { + /** + * The logs output from the code interpreter. + */ + interface Logs { + /** + * The logs output from the code interpreter. + */ + logs: string; + /** + * The type of the output. Always 'logs'. + */ + type: 'logs'; + } + /** + * The image output from the code interpreter. + */ + interface Image { + /** + * The type of the output. Always 'image'. + */ + type: 'image'; + /** + * The URL of the image output from the code interpreter. + */ + url: string; + } +} +/** + * Emitted when the model response is complete. + */ +export interface ResponseCompletedEvent { + /** + * Properties of the completed response. + */ + response: Response; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.completed`. + */ + type: 'response.completed'; +} +/** + * A tool call to a computer use tool. See the + * [computer use guide](https://platform.openai.com/docs/guides/tools-computer-use) + * for more information. + */ +export interface ResponseComputerToolCall { + /** + * The unique ID of the computer call. + */ + id: string; + /** + * A click action. + */ + action: ResponseComputerToolCall.Click | ResponseComputerToolCall.DoubleClick | ResponseComputerToolCall.Drag | ResponseComputerToolCall.Keypress | ResponseComputerToolCall.Move | ResponseComputerToolCall.Screenshot | ResponseComputerToolCall.Scroll | ResponseComputerToolCall.Type | ResponseComputerToolCall.Wait; + /** + * An identifier used when responding to the tool call with output. + */ + call_id: string; + /** + * The pending safety checks for the computer call. + */ + pending_safety_checks: Array; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the computer call. Always `computer_call`. + */ + type: 'computer_call'; +} +export declare namespace ResponseComputerToolCall { + /** + * A click action. + */ + interface Click { + /** + * Indicates which mouse button was pressed during the click. One of `left`, + * `right`, `wheel`, `back`, or `forward`. + */ + button: 'left' | 'right' | 'wheel' | 'back' | 'forward'; + /** + * Specifies the event type. For a click action, this property is always set to + * `click`. + */ + type: 'click'; + /** + * The x-coordinate where the click occurred. + */ + x: number; + /** + * The y-coordinate where the click occurred. + */ + y: number; + } + /** + * A double click action. + */ + interface DoubleClick { + /** + * Specifies the event type. For a double click action, this property is always set + * to `double_click`. + */ + type: 'double_click'; + /** + * The x-coordinate where the double click occurred. + */ + x: number; + /** + * The y-coordinate where the double click occurred. + */ + y: number; + } + /** + * A drag action. + */ + interface Drag { + /** + * An array of coordinates representing the path of the drag action. Coordinates + * will appear as an array of objects, eg + * + * ``` + * [ + * { x: 100, y: 200 }, + * { x: 200, y: 300 } + * ] + * ``` + */ + path: Array; + /** + * Specifies the event type. For a drag action, this property is always set to + * `drag`. + */ + type: 'drag'; + } + namespace Drag { + /** + * A series of x/y coordinate pairs in the drag path. + */ + interface Path { + /** + * The x-coordinate. + */ + x: number; + /** + * The y-coordinate. + */ + y: number; + } + } + /** + * A collection of keypresses the model would like to perform. + */ + interface Keypress { + /** + * The combination of keys the model is requesting to be pressed. This is an array + * of strings, each representing a key. + */ + keys: Array; + /** + * Specifies the event type. For a keypress action, this property is always set to + * `keypress`. + */ + type: 'keypress'; + } + /** + * A mouse move action. + */ + interface Move { + /** + * Specifies the event type. For a move action, this property is always set to + * `move`. + */ + type: 'move'; + /** + * The x-coordinate to move to. + */ + x: number; + /** + * The y-coordinate to move to. + */ + y: number; + } + /** + * A screenshot action. + */ + interface Screenshot { + /** + * Specifies the event type. For a screenshot action, this property is always set + * to `screenshot`. + */ + type: 'screenshot'; + } + /** + * A scroll action. + */ + interface Scroll { + /** + * The horizontal scroll distance. + */ + scroll_x: number; + /** + * The vertical scroll distance. + */ + scroll_y: number; + /** + * Specifies the event type. For a scroll action, this property is always set to + * `scroll`. + */ + type: 'scroll'; + /** + * The x-coordinate where the scroll occurred. + */ + x: number; + /** + * The y-coordinate where the scroll occurred. + */ + y: number; + } + /** + * An action to type in text. + */ + interface Type { + /** + * The text to type. + */ + text: string; + /** + * Specifies the event type. For a type action, this property is always set to + * `type`. + */ + type: 'type'; + } + /** + * A wait action. + */ + interface Wait { + /** + * Specifies the event type. For a wait action, this property is always set to + * `wait`. + */ + type: 'wait'; + } + /** + * A pending safety check for the computer call. + */ + interface PendingSafetyCheck { + /** + * The ID of the pending safety check. + */ + id: string; + /** + * The type of the pending safety check. + */ + code: string; + /** + * Details about the pending safety check. + */ + message: string; + } +} +export interface ResponseComputerToolCallOutputItem { + /** + * The unique ID of the computer call tool output. + */ + id: string; + /** + * The ID of the computer tool call that produced the output. + */ + call_id: string; + /** + * A computer screenshot image used with the computer use tool. + */ + output: ResponseComputerToolCallOutputScreenshot; + /** + * The type of the computer tool call output. Always `computer_call_output`. + */ + type: 'computer_call_output'; + /** + * The safety checks reported by the API that have been acknowledged by the + * developer. + */ + acknowledged_safety_checks?: Array; + /** + * The status of the message input. One of `in_progress`, `completed`, or + * `incomplete`. Populated when input items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +export declare namespace ResponseComputerToolCallOutputItem { + /** + * A pending safety check for the computer call. + */ + interface AcknowledgedSafetyCheck { + /** + * The ID of the pending safety check. + */ + id: string; + /** + * The type of the pending safety check. + */ + code: string; + /** + * Details about the pending safety check. + */ + message: string; + } +} +/** + * A computer screenshot image used with the computer use tool. + */ +export interface ResponseComputerToolCallOutputScreenshot { + /** + * Specifies the event type. For a computer screenshot, this property is always set + * to `computer_screenshot`. + */ + type: 'computer_screenshot'; + /** + * The identifier of an uploaded file that contains the screenshot. + */ + file_id?: string; + /** + * The URL of the screenshot image. + */ + image_url?: string; +} +/** + * Multi-modal input and output contents. + */ +export type ResponseContent = ResponseInputText | ResponseInputImage | ResponseInputFile | ResponseOutputText | ResponseOutputRefusal; +/** + * Emitted when a new content part is added. + */ +export interface ResponseContentPartAddedEvent { + /** + * The index of the content part that was added. + */ + content_index: number; + /** + * The ID of the output item that the content part was added to. + */ + item_id: string; + /** + * The index of the output item that the content part was added to. + */ + output_index: number; + /** + * The content part that was added. + */ + part: ResponseOutputText | ResponseOutputRefusal; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.content_part.added`. + */ + type: 'response.content_part.added'; +} +/** + * Emitted when a content part is done. + */ +export interface ResponseContentPartDoneEvent { + /** + * The index of the content part that is done. + */ + content_index: number; + /** + * The ID of the output item that the content part was added to. + */ + item_id: string; + /** + * The index of the output item that the content part was added to. + */ + output_index: number; + /** + * The content part that is done. + */ + part: ResponseOutputText | ResponseOutputRefusal; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.content_part.done`. + */ + type: 'response.content_part.done'; +} +/** + * The conversation that this response belongs to. + */ +export interface ResponseConversationParam { + /** + * The unique ID of the conversation. + */ + id: string; +} +/** + * An event that is emitted when a response is created. + */ +export interface ResponseCreatedEvent { + /** + * The response that was created. + */ + response: Response; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.created`. + */ + type: 'response.created'; +} +/** + * A call to a custom tool created by the model. + */ +export interface ResponseCustomToolCall { + /** + * An identifier used to map this custom tool call to a tool call output. + */ + call_id: string; + /** + * The input for the custom tool call generated by the model. + */ + input: string; + /** + * The name of the custom tool being called. + */ + name: string; + /** + * The type of the custom tool call. Always `custom_tool_call`. + */ + type: 'custom_tool_call'; + /** + * The unique ID of the custom tool call in the OpenAI platform. + */ + id?: string; +} +/** + * Event representing a delta (partial update) to the input of a custom tool call. + */ +export interface ResponseCustomToolCallInputDeltaEvent { + /** + * The incremental input data (delta) for the custom tool call. + */ + delta: string; + /** + * Unique identifier for the API item associated with this event. + */ + item_id: string; + /** + * The index of the output this delta applies to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The event type identifier. + */ + type: 'response.custom_tool_call_input.delta'; +} +/** + * Event indicating that input for a custom tool call is complete. + */ +export interface ResponseCustomToolCallInputDoneEvent { + /** + * The complete input data for the custom tool call. + */ + input: string; + /** + * Unique identifier for the API item associated with this event. + */ + item_id: string; + /** + * The index of the output this event applies to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The event type identifier. + */ + type: 'response.custom_tool_call_input.done'; +} +/** + * The output of a custom tool call from your code, being sent back to the model. + */ +export interface ResponseCustomToolCallOutput { + /** + * The call ID, used to map this custom tool call output to a custom tool call. + */ + call_id: string; + /** + * The output from the custom tool call generated by your code. + */ + output: string; + /** + * The type of the custom tool call output. Always `custom_tool_call_output`. + */ + type: 'custom_tool_call_output'; + /** + * The unique ID of the custom tool call output in the OpenAI platform. + */ + id?: string; +} +/** + * An error object returned when the model fails to generate a Response. + */ +export interface ResponseError { + /** + * The error code for the response. + */ + code: 'server_error' | 'rate_limit_exceeded' | 'invalid_prompt' | 'vector_store_timeout' | 'invalid_image' | 'invalid_image_format' | 'invalid_base64_image' | 'invalid_image_url' | 'image_too_large' | 'image_too_small' | 'image_parse_error' | 'image_content_policy_violation' | 'invalid_image_mode' | 'image_file_too_large' | 'unsupported_image_media_type' | 'empty_image_file' | 'failed_to_download_image' | 'image_file_not_found'; + /** + * A human-readable description of the error. + */ + message: string; +} +/** + * Emitted when an error occurs. + */ +export interface ResponseErrorEvent { + /** + * The error code. + */ + code: string | null; + /** + * The error message. + */ + message: string; + /** + * The error parameter. + */ + param: string | null; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `error`. + */ + type: 'error'; +} +/** + * An event that is emitted when a response fails. + */ +export interface ResponseFailedEvent { + /** + * The response that failed. + */ + response: Response; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.failed`. + */ + type: 'response.failed'; +} +/** + * Emitted when a file search call is completed (results found). + */ +export interface ResponseFileSearchCallCompletedEvent { + /** + * The ID of the output item that the file search call is initiated. + */ + item_id: string; + /** + * The index of the output item that the file search call is initiated. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.file_search_call.completed`. + */ + type: 'response.file_search_call.completed'; +} +/** + * Emitted when a file search call is initiated. + */ +export interface ResponseFileSearchCallInProgressEvent { + /** + * The ID of the output item that the file search call is initiated. + */ + item_id: string; + /** + * The index of the output item that the file search call is initiated. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.file_search_call.in_progress`. + */ + type: 'response.file_search_call.in_progress'; +} +/** + * Emitted when a file search is currently searching. + */ +export interface ResponseFileSearchCallSearchingEvent { + /** + * The ID of the output item that the file search call is initiated. + */ + item_id: string; + /** + * The index of the output item that the file search call is searching. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.file_search_call.searching`. + */ + type: 'response.file_search_call.searching'; +} +/** + * The results of a file search tool call. See the + * [file search guide](https://platform.openai.com/docs/guides/tools-file-search) + * for more information. + */ +export interface ResponseFileSearchToolCall { + /** + * The unique ID of the file search tool call. + */ + id: string; + /** + * The queries used to search for files. + */ + queries: Array; + /** + * The status of the file search tool call. One of `in_progress`, `searching`, + * `incomplete` or `failed`, + */ + status: 'in_progress' | 'searching' | 'completed' | 'incomplete' | 'failed'; + /** + * The type of the file search tool call. Always `file_search_call`. + */ + type: 'file_search_call'; + /** + * The results of the file search tool call. + */ + results?: Array | null; +} +export declare namespace ResponseFileSearchToolCall { + interface Result { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The unique ID of the file. + */ + file_id?: string; + /** + * The name of the file. + */ + filename?: string; + /** + * The relevance score of the file - a value between 0 and 1. + */ + score?: number; + /** + * The text that was retrieved from the file. + */ + text?: string; + } +} +/** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ +export type ResponseFormatTextConfig = Shared.ResponseFormatText | ResponseFormatTextJSONSchemaConfig | Shared.ResponseFormatJSONObject; +/** + * JSON Schema response format. Used to generate structured JSON responses. Learn + * more about + * [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs). + */ +export interface ResponseFormatTextJSONSchemaConfig { + /** + * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores + * and dashes, with a maximum length of 64. + */ + name: string; + /** + * The schema for the response format, described as a JSON Schema object. Learn how + * to build JSON schemas [here](https://json-schema.org/). + */ + schema: { + [key: string]: unknown; + }; + /** + * The type of response format being defined. Always `json_schema`. + */ + type: 'json_schema'; + /** + * A description of what the response format is for, used by the model to determine + * how to respond in the format. + */ + description?: string; + /** + * Whether to enable strict schema adherence when generating the output. If set to + * true, the model will always follow the exact schema defined in the `schema` + * field. Only a subset of JSON Schema is supported when `strict` is `true`. To + * learn more, read the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + */ + strict?: boolean | null; +} +/** + * Emitted when there is a partial function-call arguments delta. + */ +export interface ResponseFunctionCallArgumentsDeltaEvent { + /** + * The function-call arguments delta that is added. + */ + delta: string; + /** + * The ID of the output item that the function-call arguments delta is added to. + */ + item_id: string; + /** + * The index of the output item that the function-call arguments delta is added to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.function_call_arguments.delta`. + */ + type: 'response.function_call_arguments.delta'; +} +/** + * Emitted when function-call arguments are finalized. + */ +export interface ResponseFunctionCallArgumentsDoneEvent { + /** + * The function-call arguments. + */ + arguments: string; + /** + * The ID of the item. + */ + item_id: string; + /** + * The index of the output item. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + type: 'response.function_call_arguments.done'; +} +/** + * A tool call to run a function. See the + * [function calling guide](https://platform.openai.com/docs/guides/function-calling) + * for more information. + */ +export interface ResponseFunctionToolCall { + /** + * A JSON string of the arguments to pass to the function. + */ + arguments: string; + /** + * The unique ID of the function tool call generated by the model. + */ + call_id: string; + /** + * The name of the function to run. + */ + name: string; + /** + * The type of the function tool call. Always `function_call`. + */ + type: 'function_call'; + /** + * The unique ID of the function tool call. + */ + id?: string; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +/** + * A tool call to run a function. See the + * [function calling guide](https://platform.openai.com/docs/guides/function-calling) + * for more information. + */ +export interface ResponseFunctionToolCallItem extends ResponseFunctionToolCall { + /** + * The unique ID of the function tool call. + */ + id: string; +} +export interface ResponseFunctionToolCallOutputItem { + /** + * The unique ID of the function call tool output. + */ + id: string; + /** + * The unique ID of the function tool call generated by the model. + */ + call_id: string; + /** + * A JSON string of the output of the function tool call. + */ + output: string; + /** + * The type of the function tool call output. Always `function_call_output`. + */ + type: 'function_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +/** + * The results of a web search tool call. See the + * [web search guide](https://platform.openai.com/docs/guides/tools-web-search) for + * more information. + */ +export interface ResponseFunctionWebSearch { + /** + * The unique ID of the web search tool call. + */ + id: string; + /** + * The status of the web search tool call. + */ + status: 'in_progress' | 'searching' | 'completed' | 'failed'; + /** + * The type of the web search tool call. Always `web_search_call`. + */ + type: 'web_search_call'; +} +export declare namespace ResponseFunctionWebSearch { + /** + * Action type "search" - Performs a web search query. + */ + interface Search { + /** + * The search query. + */ + query: string; + /** + * The action type. + */ + type: 'search'; + } + /** + * Action type "open_page" - Opens a specific URL from search results. + */ + interface OpenPage { + /** + * The action type. + */ + type: 'open_page'; + /** + * The URL opened by the model. + */ + url: string; + } + /** + * Action type "find": Searches for a pattern within a loaded page. + */ + interface Find { + /** + * The pattern or text to search for within the page. + */ + pattern: string; + /** + * The action type. + */ + type: 'find'; + /** + * The URL of the page searched for the pattern. + */ + url: string; + } +} +/** + * Emitted when an image generation tool call has completed and the final image is + * available. + */ +export interface ResponseImageGenCallCompletedEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.completed'. + */ + type: 'response.image_generation_call.completed'; +} +/** + * Emitted when an image generation tool call is actively generating an image + * (intermediate state). + */ +export interface ResponseImageGenCallGeneratingEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of the image generation item being processed. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.generating'. + */ + type: 'response.image_generation_call.generating'; +} +/** + * Emitted when an image generation tool call is in progress. + */ +export interface ResponseImageGenCallInProgressEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of the image generation item being processed. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.in_progress'. + */ + type: 'response.image_generation_call.in_progress'; +} +/** + * Emitted when a partial image is available during image generation streaming. + */ +export interface ResponseImageGenCallPartialImageEvent { + /** + * The unique identifier of the image generation item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * Base64-encoded partial image data, suitable for rendering as an image. + */ + partial_image_b64: string; + /** + * 0-based index for the partial image (backend is 1-based, but this is 0-based for + * the user). + */ + partial_image_index: number; + /** + * The sequence number of the image generation item being processed. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.image_generation_call.partial_image'. + */ + type: 'response.image_generation_call.partial_image'; +} +/** + * Emitted when the response is in progress. + */ +export interface ResponseInProgressEvent { + /** + * The response that is in progress. + */ + response: Response; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.in_progress`. + */ + type: 'response.in_progress'; +} +/** + * Specify additional output data to include in the model response. Currently + * supported values are: + * + * - `file_search_call.results`: Include the search results of the file search tool + * call. + * - `message.input_image.image_url`: Include image urls from the input message. + * - `computer_call_output.output.image_url`: Include image urls from the computer + * call output. + * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning + * tokens in reasoning item outputs. This enables reasoning items to be used in + * multi-turn conversations when using the Responses API statelessly (like when + * the `store` parameter is set to `false`, or when an organization is enrolled + * in the zero data retention program). + * - `code_interpreter_call.outputs`: Includes the outputs of python code execution + * in code interpreter tool call items. + */ +export type ResponseIncludable = 'file_search_call.results' | 'message.input_image.image_url' | 'computer_call_output.output.image_url' | 'reasoning.encrypted_content' | 'code_interpreter_call.outputs'; +/** + * An event that is emitted when a response finishes as incomplete. + */ +export interface ResponseIncompleteEvent { + /** + * The response that was incomplete. + */ + response: Response; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.incomplete`. + */ + type: 'response.incomplete'; +} +/** + * A list of one or many input items to the model, containing different content + * types. + */ +export type ResponseInput = Array; +/** + * An audio input to the model. + */ +export interface ResponseInputAudio { + /** + * Base64-encoded audio data. + */ + data: string; + /** + * The format of the audio data. Currently supported formats are `mp3` and `wav`. + */ + format: 'mp3' | 'wav'; + /** + * The type of the input item. Always `input_audio`. + */ + type: 'input_audio'; +} +/** + * A text input to the model. + */ +export type ResponseInputContent = ResponseInputText | ResponseInputImage | ResponseInputFile; +/** + * A file input to the model. + */ +export interface ResponseInputFile { + /** + * The type of the input item. Always `input_file`. + */ + type: 'input_file'; + /** + * The content of the file to be sent to the model. + */ + file_data?: string; + /** + * The ID of the file to be sent to the model. + */ + file_id?: string | null; + /** + * The URL of the file to be sent to the model. + */ + file_url?: string; + /** + * The name of the file to be sent to the model. + */ + filename?: string; +} +/** + * An image input to the model. Learn about + * [image inputs](https://platform.openai.com/docs/guides/vision). + */ +export interface ResponseInputImage { + /** + * The detail level of the image to be sent to the model. One of `high`, `low`, or + * `auto`. Defaults to `auto`. + */ + detail: 'low' | 'high' | 'auto'; + /** + * The type of the input item. Always `input_image`. + */ + type: 'input_image'; + /** + * The ID of the file to be sent to the model. + */ + file_id?: string | null; + /** + * The URL of the image to be sent to the model. A fully qualified URL or base64 + * encoded image in a data URL. + */ + image_url?: string | null; +} +/** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. Messages with the + * `assistant` role are presumed to have been generated by the model in previous + * interactions. + */ +export type ResponseInputItem = EasyInputMessage | ResponseInputItem.Message | ResponseOutputMessage | ResponseFileSearchToolCall | ResponseComputerToolCall | ResponseInputItem.ComputerCallOutput | ResponseFunctionWebSearch | ResponseFunctionToolCall | ResponseInputItem.FunctionCallOutput | ResponseReasoningItem | ResponseInputItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseInputItem.LocalShellCall | ResponseInputItem.LocalShellCallOutput | ResponseInputItem.McpListTools | ResponseInputItem.McpApprovalRequest | ResponseInputItem.McpApprovalResponse | ResponseInputItem.McpCall | ResponseCustomToolCallOutput | ResponseCustomToolCall | ResponseInputItem.ItemReference; +export declare namespace ResponseInputItem { + /** + * A message input to the model with a role indicating instruction following + * hierarchy. Instructions given with the `developer` or `system` role take + * precedence over instructions given with the `user` role. + */ + interface Message { + /** + * A list of one or many input items to the model, containing different content + * types. + */ + content: ResponsesAPI.ResponseInputMessageContentList; + /** + * The role of the message input. One of `user`, `system`, or `developer`. + */ + role: 'user' | 'system' | 'developer'; + /** + * The status of item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the message input. Always set to `message`. + */ + type?: 'message'; + } + /** + * The output of a computer tool call. + */ + interface ComputerCallOutput { + /** + * The ID of the computer tool call that produced the output. + */ + call_id: string; + /** + * A computer screenshot image used with the computer use tool. + */ + output: ResponsesAPI.ResponseComputerToolCallOutputScreenshot; + /** + * The type of the computer tool call output. Always `computer_call_output`. + */ + type: 'computer_call_output'; + /** + * The ID of the computer tool call output. + */ + id?: string | null; + /** + * The safety checks reported by the API that have been acknowledged by the + * developer. + */ + acknowledged_safety_checks?: Array | null; + /** + * The status of the message input. One of `in_progress`, `completed`, or + * `incomplete`. Populated when input items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + namespace ComputerCallOutput { + /** + * A pending safety check for the computer call. + */ + interface AcknowledgedSafetyCheck { + /** + * The ID of the pending safety check. + */ + id: string; + /** + * The type of the pending safety check. + */ + code?: string | null; + /** + * Details about the pending safety check. + */ + message?: string | null; + } + } + /** + * The output of a function tool call. + */ + interface FunctionCallOutput { + /** + * The unique ID of the function tool call generated by the model. + */ + call_id: string; + /** + * A JSON string of the output of the function tool call. + */ + output: string; + /** + * The type of the function tool call output. Always `function_call_output`. + */ + type: 'function_call_output'; + /** + * The unique ID of the function tool call output. Populated when this item is + * returned via API. + */ + id?: string | null; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * The output of a local shell tool call. + */ + interface LocalShellCallOutput { + /** + * The unique ID of the local shell tool call generated by the model. + */ + id: string; + /** + * A JSON string of the output of the local shell tool call. + */ + output: string; + /** + * The type of the local shell tool call output. Always `local_shell_call_output`. + */ + type: 'local_shell_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } + /** + * A response to an MCP approval request. + */ + interface McpApprovalResponse { + /** + * The ID of the approval request being answered. + */ + approval_request_id: string; + /** + * Whether the request was approved. + */ + approve: boolean; + /** + * The type of the item. Always `mcp_approval_response`. + */ + type: 'mcp_approval_response'; + /** + * The unique ID of the approval response + */ + id?: string | null; + /** + * Optional reason for the decision. + */ + reason?: string | null; + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } + /** + * An internal identifier for an item to reference. + */ + interface ItemReference { + /** + * The ID of the item to reference. + */ + id: string; + /** + * The type of item to reference. Always `item_reference`. + */ + type?: 'item_reference' | null; + } +} +/** + * A list of one or many input items to the model, containing different content + * types. + */ +export type ResponseInputMessageContentList = Array; +export interface ResponseInputMessageItem { + /** + * The unique ID of the message input. + */ + id: string; + /** + * A list of one or many input items to the model, containing different content + * types. + */ + content: ResponseInputMessageContentList; + /** + * The role of the message input. One of `user`, `system`, or `developer`. + */ + role: 'user' | 'system' | 'developer'; + /** + * The status of item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the message input. Always set to `message`. + */ + type?: 'message'; +} +/** + * A text input to the model. + */ +export interface ResponseInputText { + /** + * The text input to the model. + */ + text: string; + /** + * The type of the input item. Always `input_text`. + */ + type: 'input_text'; +} +/** + * Content item used to generate a response. + */ +export type ResponseItem = ResponseInputMessageItem | ResponseOutputMessage | ResponseFileSearchToolCall | ResponseComputerToolCall | ResponseComputerToolCallOutputItem | ResponseFunctionWebSearch | ResponseFunctionToolCallItem | ResponseFunctionToolCallOutputItem | ResponseItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseItem.LocalShellCall | ResponseItem.LocalShellCallOutput | ResponseItem.McpListTools | ResponseItem.McpApprovalRequest | ResponseItem.McpApprovalResponse | ResponseItem.McpCall; +export declare namespace ResponseItem { + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * The output of a local shell tool call. + */ + interface LocalShellCallOutput { + /** + * The unique ID of the local shell tool call generated by the model. + */ + id: string; + /** + * A JSON string of the output of the local shell tool call. + */ + output: string; + /** + * The type of the local shell tool call output. Always `local_shell_call_output`. + */ + type: 'local_shell_call_output'; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + */ + status?: 'in_progress' | 'completed' | 'incomplete' | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } + /** + * A response to an MCP approval request. + */ + interface McpApprovalResponse { + /** + * The unique ID of the approval response + */ + id: string; + /** + * The ID of the approval request being answered. + */ + approval_request_id: string; + /** + * Whether the request was approved. + */ + approve: boolean; + /** + * The type of the item. Always `mcp_approval_response`. + */ + type: 'mcp_approval_response'; + /** + * Optional reason for the decision. + */ + reason?: string | null; + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } +} +/** + * Emitted when there is a delta (partial update) to the arguments of an MCP tool + * call. + */ +export interface ResponseMcpCallArgumentsDeltaEvent { + /** + * A JSON string containing the partial update to the arguments for the MCP tool + * call. + */ + delta: string; + /** + * The unique identifier of the MCP tool call item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call_arguments.delta'. + */ + type: 'response.mcp_call_arguments.delta'; +} +/** + * Emitted when the arguments for an MCP tool call are finalized. + */ +export interface ResponseMcpCallArgumentsDoneEvent { + /** + * A JSON string containing the finalized arguments for the MCP tool call. + */ + arguments: string; + /** + * The unique identifier of the MCP tool call item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call_arguments.done'. + */ + type: 'response.mcp_call_arguments.done'; +} +/** + * Emitted when an MCP tool call has completed successfully. + */ +export interface ResponseMcpCallCompletedEvent { + /** + * The ID of the MCP tool call item that completed. + */ + item_id: string; + /** + * The index of the output item that completed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call.completed'. + */ + type: 'response.mcp_call.completed'; +} +/** + * Emitted when an MCP tool call has failed. + */ +export interface ResponseMcpCallFailedEvent { + /** + * The ID of the MCP tool call item that failed. + */ + item_id: string; + /** + * The index of the output item that failed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call.failed'. + */ + type: 'response.mcp_call.failed'; +} +/** + * Emitted when an MCP tool call is in progress. + */ +export interface ResponseMcpCallInProgressEvent { + /** + * The unique identifier of the MCP tool call item being processed. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_call.in_progress'. + */ + type: 'response.mcp_call.in_progress'; +} +/** + * Emitted when the list of available MCP tools has been successfully retrieved. + */ +export interface ResponseMcpListToolsCompletedEvent { + /** + * The ID of the MCP tool call item that produced this output. + */ + item_id: string; + /** + * The index of the output item that was processed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_list_tools.completed'. + */ + type: 'response.mcp_list_tools.completed'; +} +/** + * Emitted when the attempt to list available MCP tools has failed. + */ +export interface ResponseMcpListToolsFailedEvent { + /** + * The ID of the MCP tool call item that failed. + */ + item_id: string; + /** + * The index of the output item that failed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_list_tools.failed'. + */ + type: 'response.mcp_list_tools.failed'; +} +/** + * Emitted when the system is in the process of retrieving the list of available + * MCP tools. + */ +export interface ResponseMcpListToolsInProgressEvent { + /** + * The ID of the MCP tool call item that is being processed. + */ + item_id: string; + /** + * The index of the output item that is being processed. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.mcp_list_tools.in_progress'. + */ + type: 'response.mcp_list_tools.in_progress'; +} +/** + * An audio output from the model. + */ +export interface ResponseOutputAudio { + /** + * Base64-encoded audio data from the model. + */ + data: string; + /** + * The transcript of the audio data from the model. + */ + transcript: string; + /** + * The type of the output audio. Always `output_audio`. + */ + type: 'output_audio'; +} +/** + * An output message from the model. + */ +export type ResponseOutputItem = ResponseOutputMessage | ResponseFileSearchToolCall | ResponseFunctionToolCall | ResponseFunctionWebSearch | ResponseComputerToolCall | ResponseReasoningItem | ResponseOutputItem.ImageGenerationCall | ResponseCodeInterpreterToolCall | ResponseOutputItem.LocalShellCall | ResponseOutputItem.McpCall | ResponseOutputItem.McpListTools | ResponseOutputItem.McpApprovalRequest | ResponseCustomToolCall; +export declare namespace ResponseOutputItem { + /** + * An image generation request made by the model. + */ + interface ImageGenerationCall { + /** + * The unique ID of the image generation call. + */ + id: string; + /** + * The generated image encoded in base64. + */ + result: string | null; + /** + * The status of the image generation call. + */ + status: 'in_progress' | 'completed' | 'generating' | 'failed'; + /** + * The type of the image generation call. Always `image_generation_call`. + */ + type: 'image_generation_call'; + } + /** + * A tool call to run a command on the local shell. + */ + interface LocalShellCall { + /** + * The unique ID of the local shell call. + */ + id: string; + /** + * Execute a shell command on the server. + */ + action: LocalShellCall.Action; + /** + * The unique ID of the local shell tool call generated by the model. + */ + call_id: string; + /** + * The status of the local shell call. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the local shell call. Always `local_shell_call`. + */ + type: 'local_shell_call'; + } + namespace LocalShellCall { + /** + * Execute a shell command on the server. + */ + interface Action { + /** + * The command to run. + */ + command: Array; + /** + * Environment variables to set for the command. + */ + env: { + [key: string]: string; + }; + /** + * The type of the local shell action. Always `exec`. + */ + type: 'exec'; + /** + * Optional timeout in milliseconds for the command. + */ + timeout_ms?: number | null; + /** + * Optional user to run the command as. + */ + user?: string | null; + /** + * Optional working directory to run the command in. + */ + working_directory?: string | null; + } + } + /** + * An invocation of a tool on an MCP server. + */ + interface McpCall { + /** + * The unique ID of the tool call. + */ + id: string; + /** + * A JSON string of the arguments passed to the tool. + */ + arguments: string; + /** + * The name of the tool that was run. + */ + name: string; + /** + * The label of the MCP server running the tool. + */ + server_label: string; + /** + * The type of the item. Always `mcp_call`. + */ + type: 'mcp_call'; + /** + * The error from the tool call, if any. + */ + error?: string | null; + /** + * The output from the tool call. + */ + output?: string | null; + } + /** + * A list of tools available on an MCP server. + */ + interface McpListTools { + /** + * The unique ID of the list. + */ + id: string; + /** + * The label of the MCP server. + */ + server_label: string; + /** + * The tools available on the server. + */ + tools: Array; + /** + * The type of the item. Always `mcp_list_tools`. + */ + type: 'mcp_list_tools'; + /** + * Error message if the server could not list tools. + */ + error?: string | null; + } + namespace McpListTools { + /** + * A tool available on an MCP server. + */ + interface Tool { + /** + * The JSON schema describing the tool's input. + */ + input_schema: unknown; + /** + * The name of the tool. + */ + name: string; + /** + * Additional annotations about the tool. + */ + annotations?: unknown | null; + /** + * The description of the tool. + */ + description?: string | null; + } + } + /** + * A request for human approval of a tool invocation. + */ + interface McpApprovalRequest { + /** + * The unique ID of the approval request. + */ + id: string; + /** + * A JSON string of arguments for the tool. + */ + arguments: string; + /** + * The name of the tool to run. + */ + name: string; + /** + * The label of the MCP server making the request. + */ + server_label: string; + /** + * The type of the item. Always `mcp_approval_request`. + */ + type: 'mcp_approval_request'; + } +} +/** + * Emitted when a new output item is added. + */ +export interface ResponseOutputItemAddedEvent { + /** + * The output item that was added. + */ + item: ResponseOutputItem; + /** + * The index of the output item that was added. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.output_item.added`. + */ + type: 'response.output_item.added'; +} +/** + * Emitted when an output item is marked done. + */ +export interface ResponseOutputItemDoneEvent { + /** + * The output item that was marked done. + */ + item: ResponseOutputItem; + /** + * The index of the output item that was marked done. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.output_item.done`. + */ + type: 'response.output_item.done'; +} +/** + * An output message from the model. + */ +export interface ResponseOutputMessage { + /** + * The unique ID of the output message. + */ + id: string; + /** + * The content of the output message. + */ + content: Array; + /** + * The role of the output message. Always `assistant`. + */ + role: 'assistant'; + /** + * The status of the message input. One of `in_progress`, `completed`, or + * `incomplete`. Populated when input items are returned via API. + */ + status: 'in_progress' | 'completed' | 'incomplete'; + /** + * The type of the output message. Always `message`. + */ + type: 'message'; +} +/** + * A refusal from the model. + */ +export interface ResponseOutputRefusal { + /** + * The refusal explanation from the model. + */ + refusal: string; + /** + * The type of the refusal. Always `refusal`. + */ + type: 'refusal'; +} +/** + * A text output from the model. + */ +export interface ResponseOutputText { + /** + * The annotations of the text output. + */ + annotations: Array; + /** + * The text output from the model. + */ + text: string; + /** + * The type of the output text. Always `output_text`. + */ + type: 'output_text'; + logprobs?: Array; +} +export declare namespace ResponseOutputText { + /** + * A citation to a file. + */ + interface FileCitation { + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the file cited. + */ + filename: string; + /** + * The index of the file in the list of files. + */ + index: number; + /** + * The type of the file citation. Always `file_citation`. + */ + type: 'file_citation'; + } + /** + * A citation for a web resource used to generate a model response. + */ + interface URLCitation { + /** + * The index of the last character of the URL citation in the message. + */ + end_index: number; + /** + * The index of the first character of the URL citation in the message. + */ + start_index: number; + /** + * The title of the web resource. + */ + title: string; + /** + * The type of the URL citation. Always `url_citation`. + */ + type: 'url_citation'; + /** + * The URL of the web resource. + */ + url: string; + } + /** + * A citation for a container file used to generate a model response. + */ + interface ContainerFileCitation { + /** + * The ID of the container file. + */ + container_id: string; + /** + * The index of the last character of the container file citation in the message. + */ + end_index: number; + /** + * The ID of the file. + */ + file_id: string; + /** + * The filename of the container file cited. + */ + filename: string; + /** + * The index of the first character of the container file citation in the message. + */ + start_index: number; + /** + * The type of the container file citation. Always `container_file_citation`. + */ + type: 'container_file_citation'; + } + /** + * A path to a file. + */ + interface FilePath { + /** + * The ID of the file. + */ + file_id: string; + /** + * The index of the file in the list of files. + */ + index: number; + /** + * The type of the file path. Always `file_path`. + */ + type: 'file_path'; + } + /** + * The log probability of a token. + */ + interface Logprob { + token: string; + bytes: Array; + logprob: number; + top_logprobs: Array; + } + namespace Logprob { + /** + * The top log probability of a token. + */ + interface TopLogprob { + token: string; + bytes: Array; + logprob: number; + } + } +} +/** + * Emitted when an annotation is added to output text content. + */ +export interface ResponseOutputTextAnnotationAddedEvent { + /** + * The annotation object being added. (See annotation schema for details.) + */ + annotation: unknown; + /** + * The index of the annotation within the content part. + */ + annotation_index: number; + /** + * The index of the content part within the output item. + */ + content_index: number; + /** + * The unique identifier of the item to which the annotation is being added. + */ + item_id: string; + /** + * The index of the output item in the response's output array. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.output_text.annotation.added'. + */ + type: 'response.output_text.annotation.added'; +} +/** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ +export interface ResponsePrompt { + /** + * The unique identifier of the prompt template to use. + */ + id: string; + /** + * Optional map of values to substitute in for variables in your prompt. The + * substitution values can either be strings, or other Response input types like + * images or files. + */ + variables?: { + [key: string]: string | ResponseInputText | ResponseInputImage | ResponseInputFile; + } | null; + /** + * Optional version of the prompt template. + */ + version?: string | null; +} +/** + * Emitted when a response is queued and waiting to be processed. + */ +export interface ResponseQueuedEvent { + /** + * The full response object that is queued. + */ + response: Response; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always 'response.queued'. + */ + type: 'response.queued'; +} +/** + * A description of the chain of thought used by a reasoning model while generating + * a response. Be sure to include these items in your `input` to the Responses API + * for subsequent turns of a conversation if you are manually + * [managing context](https://platform.openai.com/docs/guides/conversation-state). + */ +export interface ResponseReasoningItem { + /** + * The unique identifier of the reasoning content. + */ + id: string; + /** + * Reasoning summary content. + */ + summary: Array; + /** + * The type of the object. Always `reasoning`. + */ + type: 'reasoning'; + /** + * Reasoning text content. + */ + content?: Array; + /** + * The encrypted content of the reasoning item - populated when a response is + * generated with `reasoning.encrypted_content` in the `include` parameter. + */ + encrypted_content?: string | null; + /** + * The status of the item. One of `in_progress`, `completed`, or `incomplete`. + * Populated when items are returned via API. + */ + status?: 'in_progress' | 'completed' | 'incomplete'; +} +export declare namespace ResponseReasoningItem { + interface Summary { + /** + * A summary of the reasoning output from the model so far. + */ + text: string; + /** + * The type of the object. Always `summary_text`. + */ + type: 'summary_text'; + } + interface Content { + /** + * Reasoning text output from the model. + */ + text: string; + /** + * The type of the object. Always `reasoning_text`. + */ + type: 'reasoning_text'; + } +} +/** + * Emitted when a new reasoning summary part is added. + */ +export interface ResponseReasoningSummaryPartAddedEvent { + /** + * The ID of the item this summary part is associated with. + */ + item_id: string; + /** + * The index of the output item this summary part is associated with. + */ + output_index: number; + /** + * The summary part that was added. + */ + part: ResponseReasoningSummaryPartAddedEvent.Part; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The type of the event. Always `response.reasoning_summary_part.added`. + */ + type: 'response.reasoning_summary_part.added'; +} +export declare namespace ResponseReasoningSummaryPartAddedEvent { + /** + * The summary part that was added. + */ + interface Part { + /** + * The text of the summary part. + */ + text: string; + /** + * The type of the summary part. Always `summary_text`. + */ + type: 'summary_text'; + } +} +/** + * Emitted when a reasoning summary part is completed. + */ +export interface ResponseReasoningSummaryPartDoneEvent { + /** + * The ID of the item this summary part is associated with. + */ + item_id: string; + /** + * The index of the output item this summary part is associated with. + */ + output_index: number; + /** + * The completed summary part. + */ + part: ResponseReasoningSummaryPartDoneEvent.Part; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The type of the event. Always `response.reasoning_summary_part.done`. + */ + type: 'response.reasoning_summary_part.done'; +} +export declare namespace ResponseReasoningSummaryPartDoneEvent { + /** + * The completed summary part. + */ + interface Part { + /** + * The text of the summary part. + */ + text: string; + /** + * The type of the summary part. Always `summary_text`. + */ + type: 'summary_text'; + } +} +/** + * Emitted when a delta is added to a reasoning summary text. + */ +export interface ResponseReasoningSummaryTextDeltaEvent { + /** + * The text delta that was added to the summary. + */ + delta: string; + /** + * The ID of the item this summary text delta is associated with. + */ + item_id: string; + /** + * The index of the output item this summary text delta is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The type of the event. Always `response.reasoning_summary_text.delta`. + */ + type: 'response.reasoning_summary_text.delta'; +} +/** + * Emitted when a reasoning summary text is completed. + */ +export interface ResponseReasoningSummaryTextDoneEvent { + /** + * The ID of the item this summary text is associated with. + */ + item_id: string; + /** + * The index of the output item this summary text is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The index of the summary part within the reasoning summary. + */ + summary_index: number; + /** + * The full text of the completed reasoning summary. + */ + text: string; + /** + * The type of the event. Always `response.reasoning_summary_text.done`. + */ + type: 'response.reasoning_summary_text.done'; +} +/** + * Emitted when a delta is added to a reasoning text. + */ +export interface ResponseReasoningTextDeltaEvent { + /** + * The index of the reasoning content part this delta is associated with. + */ + content_index: number; + /** + * The text delta that was added to the reasoning content. + */ + delta: string; + /** + * The ID of the item this reasoning text delta is associated with. + */ + item_id: string; + /** + * The index of the output item this reasoning text delta is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.reasoning_text.delta`. + */ + type: 'response.reasoning_text.delta'; +} +/** + * Emitted when a reasoning text is completed. + */ +export interface ResponseReasoningTextDoneEvent { + /** + * The index of the reasoning content part. + */ + content_index: number; + /** + * The ID of the item this reasoning text is associated with. + */ + item_id: string; + /** + * The index of the output item this reasoning text is associated with. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The full text of the completed reasoning content. + */ + text: string; + /** + * The type of the event. Always `response.reasoning_text.done`. + */ + type: 'response.reasoning_text.done'; +} +/** + * Emitted when there is a partial refusal text. + */ +export interface ResponseRefusalDeltaEvent { + /** + * The index of the content part that the refusal text is added to. + */ + content_index: number; + /** + * The refusal text that is added. + */ + delta: string; + /** + * The ID of the output item that the refusal text is added to. + */ + item_id: string; + /** + * The index of the output item that the refusal text is added to. + */ + output_index: number; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.refusal.delta`. + */ + type: 'response.refusal.delta'; +} +/** + * Emitted when refusal text is finalized. + */ +export interface ResponseRefusalDoneEvent { + /** + * The index of the content part that the refusal text is finalized. + */ + content_index: number; + /** + * The ID of the output item that the refusal text is finalized. + */ + item_id: string; + /** + * The index of the output item that the refusal text is finalized. + */ + output_index: number; + /** + * The refusal text that is finalized. + */ + refusal: string; + /** + * The sequence number of this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.refusal.done`. + */ + type: 'response.refusal.done'; +} +/** + * The status of the response generation. One of `completed`, `failed`, + * `in_progress`, `cancelled`, `queued`, or `incomplete`. + */ +export type ResponseStatus = 'completed' | 'failed' | 'in_progress' | 'cancelled' | 'queued' | 'incomplete'; +/** + * Emitted when there is a partial audio response. + */ +export type ResponseStreamEvent = ResponseAudioDeltaEvent | ResponseAudioDoneEvent | ResponseAudioTranscriptDeltaEvent | ResponseAudioTranscriptDoneEvent | ResponseCodeInterpreterCallCodeDeltaEvent | ResponseCodeInterpreterCallCodeDoneEvent | ResponseCodeInterpreterCallCompletedEvent | ResponseCodeInterpreterCallInProgressEvent | ResponseCodeInterpreterCallInterpretingEvent | ResponseCompletedEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseCreatedEvent | ResponseErrorEvent | ResponseFileSearchCallCompletedEvent | ResponseFileSearchCallInProgressEvent | ResponseFileSearchCallSearchingEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseInProgressEvent | ResponseFailedEvent | ResponseIncompleteEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseReasoningSummaryPartAddedEvent | ResponseReasoningSummaryPartDoneEvent | ResponseReasoningSummaryTextDeltaEvent | ResponseReasoningSummaryTextDoneEvent | ResponseReasoningTextDeltaEvent | ResponseReasoningTextDoneEvent | ResponseRefusalDeltaEvent | ResponseRefusalDoneEvent | ResponseTextDeltaEvent | ResponseTextDoneEvent | ResponseWebSearchCallCompletedEvent | ResponseWebSearchCallInProgressEvent | ResponseWebSearchCallSearchingEvent | ResponseImageGenCallCompletedEvent | ResponseImageGenCallGeneratingEvent | ResponseImageGenCallInProgressEvent | ResponseImageGenCallPartialImageEvent | ResponseMcpCallArgumentsDeltaEvent | ResponseMcpCallArgumentsDoneEvent | ResponseMcpCallCompletedEvent | ResponseMcpCallFailedEvent | ResponseMcpCallInProgressEvent | ResponseMcpListToolsCompletedEvent | ResponseMcpListToolsFailedEvent | ResponseMcpListToolsInProgressEvent | ResponseOutputTextAnnotationAddedEvent | ResponseQueuedEvent | ResponseCustomToolCallInputDeltaEvent | ResponseCustomToolCallInputDoneEvent; +/** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ +export interface ResponseTextConfig { + /** + * An object specifying the format that the model must output. + * + * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which + * ensures the model will match your supplied JSON schema. Learn more in the + * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). + * + * The default format is `{ "type": "text" }` with no additional options. + * + * **Not recommended for gpt-4o and newer models:** + * + * Setting to `{ "type": "json_object" }` enables the older JSON mode, which + * ensures the message the model generates is valid JSON. Using `json_schema` is + * preferred for models that support it. + */ + format?: ResponseFormatTextConfig; + /** + * Constrains the verbosity of the model's response. Lower values will result in + * more concise responses, while higher values will result in more verbose + * responses. Currently supported values are `low`, `medium`, and `high`. + */ + verbosity?: 'low' | 'medium' | 'high' | null; +} +/** + * Emitted when there is an additional text delta. + */ +export interface ResponseTextDeltaEvent { + /** + * The index of the content part that the text delta was added to. + */ + content_index: number; + /** + * The text delta that was added. + */ + delta: string; + /** + * The ID of the output item that the text delta was added to. + */ + item_id: string; + /** + * The log probabilities of the tokens in the delta. + */ + logprobs: Array; + /** + * The index of the output item that the text delta was added to. + */ + output_index: number; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The type of the event. Always `response.output_text.delta`. + */ + type: 'response.output_text.delta'; +} +export declare namespace ResponseTextDeltaEvent { + /** + * A logprob is the logarithmic probability that the model assigns to producing a + * particular token at a given position in the sequence. Less-negative (higher) + * logprob values indicate greater model confidence in that token choice. + */ + interface Logprob { + /** + * A possible text token. + */ + token: string; + /** + * The log probability of this token. + */ + logprob: number; + /** + * The log probability of the top 20 most likely tokens. + */ + top_logprobs?: Array; + } + namespace Logprob { + interface TopLogprob { + /** + * A possible text token. + */ + token?: string; + /** + * The log probability of this token. + */ + logprob?: number; + } + } +} +/** + * Emitted when text content is finalized. + */ +export interface ResponseTextDoneEvent { + /** + * The index of the content part that the text content is finalized. + */ + content_index: number; + /** + * The ID of the output item that the text content is finalized. + */ + item_id: string; + /** + * The log probabilities of the tokens in the delta. + */ + logprobs: Array; + /** + * The index of the output item that the text content is finalized. + */ + output_index: number; + /** + * The sequence number for this event. + */ + sequence_number: number; + /** + * The text content that is finalized. + */ + text: string; + /** + * The type of the event. Always `response.output_text.done`. + */ + type: 'response.output_text.done'; +} +export declare namespace ResponseTextDoneEvent { + /** + * A logprob is the logarithmic probability that the model assigns to producing a + * particular token at a given position in the sequence. Less-negative (higher) + * logprob values indicate greater model confidence in that token choice. + */ + interface Logprob { + /** + * A possible text token. + */ + token: string; + /** + * The log probability of this token. + */ + logprob: number; + /** + * The log probability of the top 20 most likely tokens. + */ + top_logprobs?: Array; + } + namespace Logprob { + interface TopLogprob { + /** + * A possible text token. + */ + token?: string; + /** + * The log probability of this token. + */ + logprob?: number; + } + } +} +/** + * Represents token usage details including input tokens, output tokens, a + * breakdown of output tokens, and the total tokens used. + */ +export interface ResponseUsage { + /** + * The number of input tokens. + */ + input_tokens: number; + /** + * A detailed breakdown of the input tokens. + */ + input_tokens_details: ResponseUsage.InputTokensDetails; + /** + * The number of output tokens. + */ + output_tokens: number; + /** + * A detailed breakdown of the output tokens. + */ + output_tokens_details: ResponseUsage.OutputTokensDetails; + /** + * The total number of tokens used. + */ + total_tokens: number; +} +export declare namespace ResponseUsage { + /** + * A detailed breakdown of the input tokens. + */ + interface InputTokensDetails { + /** + * The number of tokens that were retrieved from the cache. + * [More on prompt caching](https://platform.openai.com/docs/guides/prompt-caching). + */ + cached_tokens: number; + } + /** + * A detailed breakdown of the output tokens. + */ + interface OutputTokensDetails { + /** + * The number of reasoning tokens. + */ + reasoning_tokens: number; + } +} +/** + * Emitted when a web search call is completed. + */ +export interface ResponseWebSearchCallCompletedEvent { + /** + * Unique ID for the output item associated with the web search call. + */ + item_id: string; + /** + * The index of the output item that the web search call is associated with. + */ + output_index: number; + /** + * The sequence number of the web search call being processed. + */ + sequence_number: number; + /** + * The type of the event. Always `response.web_search_call.completed`. + */ + type: 'response.web_search_call.completed'; +} +/** + * Emitted when a web search call is initiated. + */ +export interface ResponseWebSearchCallInProgressEvent { + /** + * Unique ID for the output item associated with the web search call. + */ + item_id: string; + /** + * The index of the output item that the web search call is associated with. + */ + output_index: number; + /** + * The sequence number of the web search call being processed. + */ + sequence_number: number; + /** + * The type of the event. Always `response.web_search_call.in_progress`. + */ + type: 'response.web_search_call.in_progress'; +} +/** + * Emitted when a web search call is executing. + */ +export interface ResponseWebSearchCallSearchingEvent { + /** + * Unique ID for the output item associated with the web search call. + */ + item_id: string; + /** + * The index of the output item that the web search call is associated with. + */ + output_index: number; + /** + * The sequence number of the web search call being processed. + */ + sequence_number: number; + /** + * The type of the event. Always `response.web_search_call.searching`. + */ + type: 'response.web_search_call.searching'; +} +/** + * A tool that can be used to generate a response. + */ +export type Tool = FunctionTool | FileSearchTool | WebSearchTool | ComputerTool | Tool.Mcp | Tool.CodeInterpreter | Tool.ImageGeneration | Tool.LocalShell | CustomTool; +export declare namespace Tool { + /** + * Give the model access to additional tools via remote Model Context Protocol + * (MCP) servers. + * [Learn more about MCP](https://platform.openai.com/docs/guides/tools-remote-mcp). + */ + interface Mcp { + /** + * A label for this MCP server, used to identify it in tool calls. + */ + server_label: string; + /** + * The type of the MCP tool. Always `mcp`. + */ + type: 'mcp'; + /** + * List of allowed tool names or a filter object. + */ + allowed_tools?: Array | Mcp.McpToolFilter | null; + /** + * An OAuth access token that can be used with a remote MCP server, either with a + * custom MCP server URL or a service connector. Your application must handle the + * OAuth authorization flow and provide the token here. + */ + authorization?: string; + /** + * Identifier for service connectors, like those available in ChatGPT. One of + * `server_url` or `connector_id` must be provided. Learn more about service + * connectors + * [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors). + * + * Currently supported `connector_id` values are: + * + * - Dropbox: `connector_dropbox` + * - Gmail: `connector_gmail` + * - Google Calendar: `connector_googlecalendar` + * - Google Drive: `connector_googledrive` + * - Microsoft Teams: `connector_microsoftteams` + * - Outlook Calendar: `connector_outlookcalendar` + * - Outlook Email: `connector_outlookemail` + * - SharePoint: `connector_sharepoint` + */ + connector_id?: 'connector_dropbox' | 'connector_gmail' | 'connector_googlecalendar' | 'connector_googledrive' | 'connector_microsoftteams' | 'connector_outlookcalendar' | 'connector_outlookemail' | 'connector_sharepoint'; + /** + * Optional HTTP headers to send to the MCP server. Use for authentication or other + * purposes. + */ + headers?: { + [key: string]: string; + } | null; + /** + * Specify which of the MCP server's tools require approval. + */ + require_approval?: Mcp.McpToolApprovalFilter | 'always' | 'never' | null; + /** + * Optional description of the MCP server, used to provide more context. + */ + server_description?: string; + /** + * The URL for the MCP server. One of `server_url` or `connector_id` must be + * provided. + */ + server_url?: string; + } + namespace Mcp { + /** + * A filter object to specify which tools are allowed. + */ + interface McpToolFilter { + /** + * Indicates whether or not a tool modifies data or is read-only. If an MCP server + * is + * [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + read_only?: boolean; + /** + * List of allowed tool names. + */ + tool_names?: Array; + } + /** + * Specify which of the MCP server's tools require approval. Can be `always`, + * `never`, or a filter object associated with tools that require approval. + */ + interface McpToolApprovalFilter { + /** + * A filter object to specify which tools are allowed. + */ + always?: McpToolApprovalFilter.Always; + /** + * A filter object to specify which tools are allowed. + */ + never?: McpToolApprovalFilter.Never; + } + namespace McpToolApprovalFilter { + /** + * A filter object to specify which tools are allowed. + */ + interface Always { + /** + * Indicates whether or not a tool modifies data or is read-only. If an MCP server + * is + * [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + read_only?: boolean; + /** + * List of allowed tool names. + */ + tool_names?: Array; + } + /** + * A filter object to specify which tools are allowed. + */ + interface Never { + /** + * Indicates whether or not a tool modifies data or is read-only. If an MCP server + * is + * [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + read_only?: boolean; + /** + * List of allowed tool names. + */ + tool_names?: Array; + } + } + } + /** + * A tool that runs Python code to help generate a response to a prompt. + */ + interface CodeInterpreter { + /** + * The code interpreter container. Can be a container ID or an object that + * specifies uploaded file IDs to make available to your code. + */ + container: string | CodeInterpreter.CodeInterpreterToolAuto; + /** + * The type of the code interpreter tool. Always `code_interpreter`. + */ + type: 'code_interpreter'; + } + namespace CodeInterpreter { + /** + * Configuration for a code interpreter container. Optionally specify the IDs of + * the files to run the code on. + */ + interface CodeInterpreterToolAuto { + /** + * Always `auto`. + */ + type: 'auto'; + /** + * An optional list of uploaded files to make available to your code. + */ + file_ids?: Array; + } + } + /** + * A tool that generates images using a model like `gpt-image-1`. + */ + interface ImageGeneration { + /** + * The type of the image generation tool. Always `image_generation`. + */ + type: 'image_generation'; + /** + * Background type for the generated image. One of `transparent`, `opaque`, or + * `auto`. Default: `auto`. + */ + background?: 'transparent' | 'opaque' | 'auto'; + /** + * Control how much effort the model will exert to match the style and features, + * especially facial features, of input images. This parameter is only supported + * for `gpt-image-1`. Supports `high` and `low`. Defaults to `low`. + */ + input_fidelity?: 'high' | 'low' | null; + /** + * Optional mask for inpainting. Contains `image_url` (string, optional) and + * `file_id` (string, optional). + */ + input_image_mask?: ImageGeneration.InputImageMask; + /** + * The image generation model to use. Default: `gpt-image-1`. + */ + model?: 'gpt-image-1'; + /** + * Moderation level for the generated image. Default: `auto`. + */ + moderation?: 'auto' | 'low'; + /** + * Compression level for the output image. Default: 100. + */ + output_compression?: number; + /** + * The output format of the generated image. One of `png`, `webp`, or `jpeg`. + * Default: `png`. + */ + output_format?: 'png' | 'webp' | 'jpeg'; + /** + * Number of partial images to generate in streaming mode, from 0 (default value) + * to 3. + */ + partial_images?: number; + /** + * The quality of the generated image. One of `low`, `medium`, `high`, or `auto`. + * Default: `auto`. + */ + quality?: 'low' | 'medium' | 'high' | 'auto'; + /** + * The size of the generated image. One of `1024x1024`, `1024x1536`, `1536x1024`, + * or `auto`. Default: `auto`. + */ + size?: '1024x1024' | '1024x1536' | '1536x1024' | 'auto'; + } + namespace ImageGeneration { + /** + * Optional mask for inpainting. Contains `image_url` (string, optional) and + * `file_id` (string, optional). + */ + interface InputImageMask { + /** + * File ID for the mask image. + */ + file_id?: string; + /** + * Base64-encoded mask image. + */ + image_url?: string; + } + } + /** + * A tool that allows the model to execute shell commands in a local environment. + */ + interface LocalShell { + /** + * The type of the local shell tool. Always `local_shell`. + */ + type: 'local_shell'; + } +} +/** + * Constrains the tools available to the model to a pre-defined set. + */ +export interface ToolChoiceAllowed { + /** + * Constrains the tools available to the model to a pre-defined set. + * + * `auto` allows the model to pick from among the allowed tools and generate a + * message. + * + * `required` requires the model to call one or more of the allowed tools. + */ + mode: 'auto' | 'required'; + /** + * A list of tool definitions that the model should be allowed to call. + * + * For the Responses API, the list of tool definitions might look like: + * + * ```json + * [ + * { "type": "function", "name": "get_weather" }, + * { "type": "mcp", "server_label": "deepwiki" }, + * { "type": "image_generation" } + * ] + * ``` + */ + tools: Array<{ + [key: string]: unknown; + }>; + /** + * Allowed tool configuration type. Always `allowed_tools`. + */ + type: 'allowed_tools'; +} +/** + * Use this option to force the model to call a specific custom tool. + */ +export interface ToolChoiceCustom { + /** + * The name of the custom tool to call. + */ + name: string; + /** + * For custom tool calling, the type is always `custom`. + */ + type: 'custom'; +} +/** + * Use this option to force the model to call a specific function. + */ +export interface ToolChoiceFunction { + /** + * The name of the function to call. + */ + name: string; + /** + * For function calling, the type is always `function`. + */ + type: 'function'; +} +/** + * Use this option to force the model to call a specific tool on a remote MCP + * server. + */ +export interface ToolChoiceMcp { + /** + * The label of the MCP server to use. + */ + server_label: string; + /** + * For MCP tools, the type is always `mcp`. + */ + type: 'mcp'; + /** + * The name of the tool to call on the server. + */ + name?: string | null; +} +/** + * Controls which (if any) tool is called by the model. + * + * `none` means the model will not call any tool and instead generates a message. + * + * `auto` means the model can pick between generating a message or calling one or + * more tools. + * + * `required` means the model must call one or more tools. + */ +export type ToolChoiceOptions = 'none' | 'auto' | 'required'; +/** + * Indicates that the model should use a built-in tool to generate a response. + * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools). + */ +export interface ToolChoiceTypes { + /** + * The type of hosted tool the model should to use. Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * + * Allowed values are: + * + * - `file_search` + * - `web_search_preview` + * - `computer_use_preview` + * - `code_interpreter` + * - `mcp` + * - `image_generation` + */ + type: 'file_search' | 'web_search_preview' | 'computer_use_preview' | 'web_search_preview_2025_03_11' | 'image_generation' | 'code_interpreter' | 'mcp'; +} +/** + * This tool searches the web for relevant results to use in a response. Learn more + * about the + * [web search tool](https://platform.openai.com/docs/guides/tools-web-search). + */ +export interface WebSearchTool { + /** + * The type of the web search tool. One of `web_search_preview` or + * `web_search_preview_2025_03_11`. + */ + type: 'web_search_preview' | 'web_search_preview_2025_03_11'; + /** + * High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + */ + search_context_size?: 'low' | 'medium' | 'high'; + /** + * The user's location. + */ + user_location?: WebSearchTool.UserLocation | null; +} +export declare namespace WebSearchTool { + /** + * The user's location. + */ + interface UserLocation { + /** + * The type of location approximation. Always `approximate`. + */ + type: 'approximate'; + /** + * Free text input for the city of the user, e.g. `San Francisco`. + */ + city?: string | null; + /** + * The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of + * the user, e.g. `US`. + */ + country?: string | null; + /** + * Free text input for the region of the user, e.g. `California`. + */ + region?: string | null; + /** + * The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the + * user, e.g. `America/Los_Angeles`. + */ + timezone?: string | null; + } +} +export type ResponseCreateParams = ResponseCreateParamsNonStreaming | ResponseCreateParamsStreaming; +export interface ResponseCreateParamsBase { + /** + * Whether to run the model response in the background. + * [Learn more](https://platform.openai.com/docs/guides/background). + */ + background?: boolean | null; + /** + * The conversation that this response belongs to. Items from this conversation are + * prepended to `input_items` for this response request. Input items and output + * items from this response are automatically added to this conversation after this + * response completes. + */ + conversation?: string | ResponseConversationParam | null; + /** + * Specify additional output data to include in the model response. Currently + * supported values are: + * + * - `file_search_call.results`: Include the search results of the file search tool + * call. + * - `message.input_image.image_url`: Include image urls from the input message. + * - `computer_call_output.output.image_url`: Include image urls from the computer + * call output. + * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning + * tokens in reasoning item outputs. This enables reasoning items to be used in + * multi-turn conversations when using the Responses API statelessly (like when + * the `store` parameter is set to `false`, or when an organization is enrolled + * in the zero data retention program). + * - `code_interpreter_call.outputs`: Includes the outputs of python code execution + * in code interpreter tool call items. + */ + include?: Array | null; + /** + * Text, image, or file inputs to the model, used to generate a response. + * + * Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Image inputs](https://platform.openai.com/docs/guides/images) + * - [File inputs](https://platform.openai.com/docs/guides/pdf-files) + * - [Conversation state](https://platform.openai.com/docs/guides/conversation-state) + * - [Function calling](https://platform.openai.com/docs/guides/function-calling) + */ + input?: string | ResponseInput; + /** + * A system (or developer) message inserted into the model's context. + * + * When using along with `previous_response_id`, the instructions from a previous + * response will not be carried over to the next response. This makes it simple to + * swap out system (or developer) messages in new responses. + */ + instructions?: string | null; + /** + * An upper bound for the number of tokens that can be generated for a response, + * including visible output tokens and + * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning). + */ + max_output_tokens?: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a + * wide range of models with different capabilities, performance characteristics, + * and price points. Refer to the + * [model guide](https://platform.openai.com/docs/models) to browse and compare + * available models. + */ + model?: Shared.ResponsesModel; + /** + * Whether to allow the model to run tool calls in parallel. + */ + parallel_tool_calls?: boolean | null; + /** + * The unique ID of the previous response to the model. Use this to create + * multi-turn conversations. Learn more about + * [conversation state](https://platform.openai.com/docs/guides/conversation-state). + * Cannot be used in conjunction with `conversation`. + */ + previous_response_id?: string | null; + /** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ + prompt?: ResponsePrompt | null; + /** + * Used by OpenAI to cache responses for similar requests to optimize your cache + * hit rates. Replaces the `user` field. + * [Learn more](https://platform.openai.com/docs/guides/prompt-caching). + */ + prompt_cache_key?: string; + /** + * **gpt-5 and o-series models only** + * + * Configuration options for + * [reasoning models](https://platform.openai.com/docs/guides/reasoning). + */ + reasoning?: Shared.Reasoning | null; + /** + * A stable identifier used to help detect users of your application that may be + * violating OpenAI's usage policies. The IDs should be a string that uniquely + * identifies each user. We recommend hashing their username or email address, in + * order to avoid sending us any identifying information. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + safety_identifier?: string; + /** + * Specifies the latency tier to use for processing the request. This parameter is + * relevant for customers subscribed to the scale tier service: + * + * - If set to 'auto', then the request will be processed with the service tier + * configured in the Project settings. Unless otherwise configured, the Project + * will use 'default'. + * - If set to 'default', then the request will be processed with the standard + * pricing and performance for the selected model. + * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or + * '[priority](https://openai.com/api-priority-processing/)', then the request + * will be processed with the corresponding service tier. + * - When not set, the default behavior is 'auto'. + * + * When this parameter is set, the response body will include the `service_tier` + * utilized. + */ + service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null; + /** + * Whether to store the generated model response for later retrieval via API. + */ + store?: boolean | null; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: boolean | null; + /** + * Options for streaming responses. Only set this when you set `stream: true`. + */ + stream_options?: ResponseCreateParams.StreamOptions | null; + /** + * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will + * make the output more random, while lower values like 0.2 will make it more + * focused and deterministic. We generally recommend altering this or `top_p` but + * not both. + */ + temperature?: number | null; + /** + * Configuration options for a text response from the model. Can be plain text or + * structured JSON data. Learn more: + * + * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text) + * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) + */ + text?: ResponseTextConfig; + /** + * How the model should select which tool (or tools) to use when generating a + * response. See the `tools` parameter to see how to specify which tools the model + * can call. + */ + tool_choice?: ToolChoiceOptions | ToolChoiceAllowed | ToolChoiceTypes | ToolChoiceFunction | ToolChoiceMcp | ToolChoiceCustom; + /** + * An array of tools the model may call while generating a response. You can + * specify which tool to use by setting the `tool_choice` parameter. + * + * The two categories of tools you can provide the model are: + * + * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's + * capabilities, like + * [web search](https://platform.openai.com/docs/guides/tools-web-search) or + * [file search](https://platform.openai.com/docs/guides/tools-file-search). + * Learn more about + * [built-in tools](https://platform.openai.com/docs/guides/tools). + * - **Function calls (custom tools)**: Functions that are defined by you, enabling + * the model to call your own code with strongly typed arguments and outputs. + * Learn more about + * [function calling](https://platform.openai.com/docs/guides/function-calling). + * You can also use custom tools to call your own code. + */ + tools?: Array; + /** + * An alternative to sampling with temperature, called nucleus sampling, where the + * model considers the results of the tokens with top_p probability mass. So 0.1 + * means only the tokens comprising the top 10% probability mass are considered. + * + * We generally recommend altering this or `temperature` but not both. + */ + top_p?: number | null; + /** + * The truncation strategy to use for the model response. + * + * - `auto`: If the context of this response and previous ones exceeds the model's + * context window size, the model will truncate the response to fit the context + * window by dropping input items in the middle of the conversation. + * - `disabled` (default): If a model response will exceed the context window size + * for a model, the request will fail with a 400 error. + */ + truncation?: 'auto' | 'disabled' | null; + /** + * @deprecated This field is being replaced by `safety_identifier` and + * `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching + * optimizations. A stable identifier for your end-users. Used to boost cache hit + * rates by better bucketing similar requests and to help OpenAI detect and prevent + * abuse. + * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). + */ + user?: string; +} +export declare namespace ResponseCreateParams { + /** + * Options for streaming responses. Only set this when you set `stream: true`. + */ + interface StreamOptions { + /** + * When true, stream obfuscation will be enabled. Stream obfuscation adds random + * characters to an `obfuscation` field on streaming delta events to normalize + * payload sizes as a mitigation to certain side-channel attacks. These obfuscation + * fields are included by default, but add a small amount of overhead to the data + * stream. You can set `include_obfuscation` to false to optimize for bandwidth if + * you trust the network links between your application and the OpenAI API. + */ + include_obfuscation?: boolean; + } + type ResponseCreateParamsNonStreaming = ResponsesAPI.ResponseCreateParamsNonStreaming; + type ResponseCreateParamsStreaming = ResponsesAPI.ResponseCreateParamsStreaming; +} +export interface ResponseCreateParamsNonStreaming extends ResponseCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: false | null; +} +export interface ResponseCreateParamsStreaming extends ResponseCreateParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream: true; +} +export type ResponseRetrieveParams = ResponseRetrieveParamsNonStreaming | ResponseRetrieveParamsStreaming; +export interface ResponseRetrieveParamsBase { + /** + * Additional fields to include in the response. See the `include` parameter for + * Response creation above for more information. + */ + include?: Array; + /** + * When true, stream obfuscation will be enabled. Stream obfuscation adds random + * characters to an `obfuscation` field on streaming delta events to normalize + * payload sizes as a mitigation to certain side-channel attacks. These obfuscation + * fields are included by default, but add a small amount of overhead to the data + * stream. You can set `include_obfuscation` to false to optimize for bandwidth if + * you trust the network links between your application and the OpenAI API. + */ + include_obfuscation?: boolean; + /** + * The sequence number of the event after which to start streaming. + */ + starting_after?: number; + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: boolean; +} +export declare namespace ResponseRetrieveParams { + type ResponseRetrieveParamsNonStreaming = ResponsesAPI.ResponseRetrieveParamsNonStreaming; + type ResponseRetrieveParamsStreaming = ResponsesAPI.ResponseRetrieveParamsStreaming; +} +export interface ResponseRetrieveParamsNonStreaming extends ResponseRetrieveParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream?: false; +} +export interface ResponseRetrieveParamsStreaming extends ResponseRetrieveParamsBase { + /** + * If set to true, the model response data will be streamed to the client as it is + * generated using + * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format). + * See the + * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming) + * for more information. + */ + stream: true; +} +export declare namespace Responses { + export { type ComputerTool as ComputerTool, type CustomTool as CustomTool, type EasyInputMessage as EasyInputMessage, type FileSearchTool as FileSearchTool, type FunctionTool as FunctionTool, type Response as Response, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCodeInterpreterCallCodeDeltaEvent as ResponseCodeInterpreterCallCodeDeltaEvent, type ResponseCodeInterpreterCallCodeDoneEvent as ResponseCodeInterpreterCallCodeDoneEvent, type ResponseCodeInterpreterCallCompletedEvent as ResponseCodeInterpreterCallCompletedEvent, type ResponseCodeInterpreterCallInProgressEvent as ResponseCodeInterpreterCallInProgressEvent, type ResponseCodeInterpreterCallInterpretingEvent as ResponseCodeInterpreterCallInterpretingEvent, type ResponseCodeInterpreterToolCall as ResponseCodeInterpreterToolCall, type ResponseCompletedEvent as ResponseCompletedEvent, type ResponseComputerToolCall as ResponseComputerToolCall, type ResponseComputerToolCallOutputItem as ResponseComputerToolCallOutputItem, type ResponseComputerToolCallOutputScreenshot as ResponseComputerToolCallOutputScreenshot, type ResponseContent as ResponseContent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseConversationParam as ResponseConversationParam, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseCustomToolCall as ResponseCustomToolCall, type ResponseCustomToolCallInputDeltaEvent as ResponseCustomToolCallInputDeltaEvent, type ResponseCustomToolCallInputDoneEvent as ResponseCustomToolCallInputDoneEvent, type ResponseCustomToolCallOutput as ResponseCustomToolCallOutput, type ResponseError as ResponseError, type ResponseErrorEvent as ResponseErrorEvent, type ResponseFailedEvent as ResponseFailedEvent, type ResponseFileSearchCallCompletedEvent as ResponseFileSearchCallCompletedEvent, type ResponseFileSearchCallInProgressEvent as ResponseFileSearchCallInProgressEvent, type ResponseFileSearchCallSearchingEvent as ResponseFileSearchCallSearchingEvent, type ResponseFileSearchToolCall as ResponseFileSearchToolCall, type ResponseFormatTextConfig as ResponseFormatTextConfig, type ResponseFormatTextJSONSchemaConfig as ResponseFormatTextJSONSchemaConfig, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseFunctionToolCall as ResponseFunctionToolCall, type ResponseFunctionToolCallItem as ResponseFunctionToolCallItem, type ResponseFunctionToolCallOutputItem as ResponseFunctionToolCallOutputItem, type ResponseFunctionWebSearch as ResponseFunctionWebSearch, type ResponseImageGenCallCompletedEvent as ResponseImageGenCallCompletedEvent, type ResponseImageGenCallGeneratingEvent as ResponseImageGenCallGeneratingEvent, type ResponseImageGenCallInProgressEvent as ResponseImageGenCallInProgressEvent, type ResponseImageGenCallPartialImageEvent as ResponseImageGenCallPartialImageEvent, type ResponseInProgressEvent as ResponseInProgressEvent, type ResponseIncludable as ResponseIncludable, type ResponseIncompleteEvent as ResponseIncompleteEvent, type ResponseInput as ResponseInput, type ResponseInputAudio as ResponseInputAudio, type ResponseInputContent as ResponseInputContent, type ResponseInputFile as ResponseInputFile, type ResponseInputImage as ResponseInputImage, type ResponseInputItem as ResponseInputItem, type ResponseInputMessageContentList as ResponseInputMessageContentList, type ResponseInputMessageItem as ResponseInputMessageItem, type ResponseInputText as ResponseInputText, type ResponseItem as ResponseItem, type ResponseMcpCallArgumentsDeltaEvent as ResponseMcpCallArgumentsDeltaEvent, type ResponseMcpCallArgumentsDoneEvent as ResponseMcpCallArgumentsDoneEvent, type ResponseMcpCallCompletedEvent as ResponseMcpCallCompletedEvent, type ResponseMcpCallFailedEvent as ResponseMcpCallFailedEvent, type ResponseMcpCallInProgressEvent as ResponseMcpCallInProgressEvent, type ResponseMcpListToolsCompletedEvent as ResponseMcpListToolsCompletedEvent, type ResponseMcpListToolsFailedEvent as ResponseMcpListToolsFailedEvent, type ResponseMcpListToolsInProgressEvent as ResponseMcpListToolsInProgressEvent, type ResponseOutputAudio as ResponseOutputAudio, type ResponseOutputItem as ResponseOutputItem, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseOutputMessage as ResponseOutputMessage, type ResponseOutputRefusal as ResponseOutputRefusal, type ResponseOutputText as ResponseOutputText, type ResponseOutputTextAnnotationAddedEvent as ResponseOutputTextAnnotationAddedEvent, type ResponsePrompt as ResponsePrompt, type ResponseQueuedEvent as ResponseQueuedEvent, type ResponseReasoningItem as ResponseReasoningItem, type ResponseReasoningSummaryPartAddedEvent as ResponseReasoningSummaryPartAddedEvent, type ResponseReasoningSummaryPartDoneEvent as ResponseReasoningSummaryPartDoneEvent, type ResponseReasoningSummaryTextDeltaEvent as ResponseReasoningSummaryTextDeltaEvent, type ResponseReasoningSummaryTextDoneEvent as ResponseReasoningSummaryTextDoneEvent, type ResponseReasoningTextDeltaEvent as ResponseReasoningTextDeltaEvent, type ResponseReasoningTextDoneEvent as ResponseReasoningTextDoneEvent, type ResponseRefusalDeltaEvent as ResponseRefusalDeltaEvent, type ResponseRefusalDoneEvent as ResponseRefusalDoneEvent, type ResponseStatus as ResponseStatus, type ResponseStreamEvent as ResponseStreamEvent, type ResponseTextConfig as ResponseTextConfig, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type ResponseUsage as ResponseUsage, type ResponseWebSearchCallCompletedEvent as ResponseWebSearchCallCompletedEvent, type ResponseWebSearchCallInProgressEvent as ResponseWebSearchCallInProgressEvent, type ResponseWebSearchCallSearchingEvent as ResponseWebSearchCallSearchingEvent, type Tool as Tool, type ToolChoiceAllowed as ToolChoiceAllowed, type ToolChoiceCustom as ToolChoiceCustom, type ToolChoiceFunction as ToolChoiceFunction, type ToolChoiceMcp as ToolChoiceMcp, type ToolChoiceOptions as ToolChoiceOptions, type ToolChoiceTypes as ToolChoiceTypes, type WebSearchTool as WebSearchTool, type ResponseCreateParams as ResponseCreateParams, type ResponseCreateParamsNonStreaming as ResponseCreateParamsNonStreaming, type ResponseCreateParamsStreaming as ResponseCreateParamsStreaming, type ResponseRetrieveParams as ResponseRetrieveParams, type ResponseRetrieveParamsNonStreaming as ResponseRetrieveParamsNonStreaming, type ResponseRetrieveParamsStreaming as ResponseRetrieveParamsStreaming, }; + export { InputItems as InputItems, type ResponseItemList as ResponseItemList, type InputItemListParams as InputItemListParams, }; +} +//# sourceMappingURL=responses.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0cc89684902207058149247b25b21ee3aba3c2e9 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.d.ts.map @@ -0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IAAI,mBAAmB,GAChD,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.js new file mode 100644 index 0000000000000000000000000000000000000000..cfd40fabde5b5690f088909173721bbc658af191 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.js @@ -0,0 +1,83 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Responses = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const ResponsesParser_1 = require("../../lib/ResponsesParser.js"); +const ResponseStream_1 = require("../../lib/responses/ResponseStream.js"); +const resource_1 = require("../../core/resource.js"); +const InputItemsAPI = tslib_1.__importStar(require("./input-items.js")); +const input_items_1 = require("./input-items.js"); +const headers_1 = require("../../internal/headers.js"); +const path_1 = require("../../internal/utils/path.js"); +class Responses extends resource_1.APIResource { + constructor() { + super(...arguments); + this.inputItems = new InputItemsAPI.InputItems(this._client); + } + create(body, options) { + return this._client.post('/responses', { body, ...options, stream: body.stream ?? false })._thenUnwrap((rsp) => { + if ('object' in rsp && rsp.object === 'response') { + (0, ResponsesParser_1.addOutputText)(rsp); + } + return rsp; + }); + } + retrieve(responseID, query = {}, options) { + return this._client.get((0, path_1.path) `/responses/${responseID}`, { + query, + ...options, + stream: query?.stream ?? false, + })._thenUnwrap((rsp) => { + if ('object' in rsp && rsp.object === 'response') { + (0, ResponsesParser_1.addOutputText)(rsp); + } + return rsp; + }); + } + /** + * Deletes a model response with the given ID. + * + * @example + * ```ts + * await client.responses.delete( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + delete(responseID, options) { + return this._client.delete((0, path_1.path) `/responses/${responseID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]), + }); + } + parse(body, options) { + return this._client.responses + .create(body, options) + ._thenUnwrap((response) => (0, ResponsesParser_1.parseResponse)(response, body)); + } + /** + * Creates a model response stream + */ + stream(body, options) { + return ResponseStream_1.ResponseStream.createResponse(this._client, body, options); + } + /** + * Cancels a model response with the given ID. Only responses created with the + * `background` parameter set to `true` can be cancelled. + * [Learn more](https://platform.openai.com/docs/guides/background). + * + * @example + * ```ts + * const response = await client.responses.cancel( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + cancel(responseID, options) { + return this._client.post((0, path_1.path) `/responses/${responseID}/cancel`, options); + } +} +exports.Responses = Responses; +Responses.InputItems = input_items_1.InputItems; +//# sourceMappingURL=responses.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.js.map new file mode 100644 index 0000000000000000000000000000000000000000..b3cd444da46b310bd540a20ff0e845a932754147 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.js.map @@ -0,0 +1 @@ +{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/resources/responses/responses.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,kEAKmC;AACnC,0EAA0F;AAC1F,qDAAkD;AAGlD,wEAA+C;AAC/C,kDAAkF;AAIlF,uDAAsD;AAEtD,uDAAiD;AAuCjD,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8IpF,CAAC;IAjHC,MAAM,CACJ,IAA0B,EAC1B,OAAwB;QAExB,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAA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,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAY,EACZ,OAAwB;QAExB,OAAO,+BAAc,CAAC,cAAc,CAAU,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,cAAc,UAAU,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF;AA/ID,8BA+IC;AAyoKD,SAAS,CAAC,UAAU,GAAG,wBAAU,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.mjs new file mode 100644 index 0000000000000000000000000000000000000000..159ad4e51b8b0373dbd2ccf3adda87bd96dd9085 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.mjs @@ -0,0 +1,78 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { parseResponse, addOutputText, } from "../../lib/ResponsesParser.mjs"; +import { ResponseStream } from "../../lib/responses/ResponseStream.mjs"; +import { APIResource } from "../../core/resource.mjs"; +import * as InputItemsAPI from "./input-items.mjs"; +import { InputItems } from "./input-items.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Responses extends APIResource { + constructor() { + super(...arguments); + this.inputItems = new InputItemsAPI.InputItems(this._client); + } + create(body, options) { + return this._client.post('/responses', { body, ...options, stream: body.stream ?? false })._thenUnwrap((rsp) => { + if ('object' in rsp && rsp.object === 'response') { + addOutputText(rsp); + } + return rsp; + }); + } + retrieve(responseID, query = {}, options) { + return this._client.get(path `/responses/${responseID}`, { + query, + ...options, + stream: query?.stream ?? false, + })._thenUnwrap((rsp) => { + if ('object' in rsp && rsp.object === 'response') { + addOutputText(rsp); + } + return rsp; + }); + } + /** + * Deletes a model response with the given ID. + * + * @example + * ```ts + * await client.responses.delete( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + delete(responseID, options) { + return this._client.delete(path `/responses/${responseID}`, { + ...options, + headers: buildHeaders([{ Accept: '*/*' }, options?.headers]), + }); + } + parse(body, options) { + return this._client.responses + .create(body, options) + ._thenUnwrap((response) => parseResponse(response, body)); + } + /** + * Creates a model response stream + */ + stream(body, options) { + return ResponseStream.createResponse(this._client, body, options); + } + /** + * Cancels a model response with the given ID. Only responses created with the + * `background` parameter set to `true` can be cancelled. + * [Learn more](https://platform.openai.com/docs/guides/background). + * + * @example + * ```ts + * const response = await client.responses.cancel( + * 'resp_677efb5139a88190b512bc3fef8e535d', + * ); + * ``` + */ + cancel(responseID, options) { + return this._client.post(path `/responses/${responseID}/cancel`, options); + } +} +Responses.InputItems = InputItems; +//# sourceMappingURL=responses.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..bcf199a8dab7e734d09f9e95b617ddbf26aab32f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/responses/responses.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"responses.mjs","sourceRoot":"","sources":["../../src/resources/responses/responses.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAEL,aAAa,EAEb,aAAa,GACd;OACM,EAAE,cAAc,EAAwB;OACxC,EAAE,WAAW,EAAE;OAGf,KAAK,aAAa;OAClB,EAAuB,UAAU,EAAoB;OAIrD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAu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AAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CACH,IAAY,EACZ,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS;aAC1B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC;aACrB,WAAW,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,aAAa,CAAC,QAAoB,EAAE,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAY,EACZ,OAAwB;QAExB,OAAO,cAAc,CAAC,cAAc,CAAU,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,cAAc,UAAU,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF;AAyoKD,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..40d349bf62ba4bdfab3cf803371a89eaf846d176 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.mts @@ -0,0 +1,3 @@ +export { Parts, type UploadPart, type PartCreateParams } from "./parts.mjs"; +export { Uploads, type Upload, type UploadCreateParams, type UploadCompleteParams } from "./uploads.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..cda72062c04162730b1b75a882b05dbb96fdcc6b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/uploads/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE;OACjD,EAAE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..745ba63bd104fe410145dc1d3e5619604faf504f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.ts @@ -0,0 +1,3 @@ +export { Parts, type UploadPart, type PartCreateParams } from "./parts.js"; +export { Uploads, type Upload, type UploadCreateParams, type UploadCompleteParams } from "./uploads.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..bc1c27feb135419f371bd2f29a71a75154924af3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/uploads/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE;OACjD,EAAE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.js new file mode 100644 index 0000000000000000000000000000000000000000..bce24dfecda08ad0c6b132b25ce194be81344ddd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.js @@ -0,0 +1,9 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Uploads = exports.Parts = void 0; +var parts_1 = require("./parts.js"); +Object.defineProperty(exports, "Parts", { enumerable: true, get: function () { return parts_1.Parts; } }); +var uploads_1 = require("./uploads.js"); +Object.defineProperty(exports, "Uploads", { enumerable: true, get: function () { return uploads_1.Uploads; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ea2e5416459fa986ad0395d3b99f72cd50ce4afe --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/uploads/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAAwE;AAA/D,8FAAA,KAAK,OAAA;AACd,wCAAqG;AAA5F,kGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..65b528059d7aec758b493d0b791160ef20905e3c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.mjs @@ -0,0 +1,4 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { Parts } from "./parts.mjs"; +export { Uploads } from "./uploads.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..5d3a737b25386ac413e415da20850569859cc46f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/uploads/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAA0C;OACjD,EAAE,OAAO,EAAmE"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..90079d7d40410293057d82206402367cdc532b39 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.mts @@ -0,0 +1,51 @@ +import { APIResource } from "../../core/resource.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { type Uploadable } from "../../core/uploads.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Parts extends APIResource { + /** + * Adds a + * [Part](https://platform.openai.com/docs/api-reference/uploads/part-object) to an + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object. + * A Part represents a chunk of bytes from the file you are trying to upload. + * + * Each Part can be at most 64 MB, and you can add Parts until you hit the Upload + * maximum of 8 GB. + * + * It is possible to add multiple Parts in parallel. You can decide the intended + * order of the Parts when you + * [complete the Upload](https://platform.openai.com/docs/api-reference/uploads/complete). + */ + create(uploadID: string, body: PartCreateParams, options?: RequestOptions): APIPromise; +} +/** + * The upload Part represents a chunk of bytes we can add to an Upload object. + */ +export interface UploadPart { + /** + * The upload Part unique identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the Part was created. + */ + created_at: number; + /** + * The object type, which is always `upload.part`. + */ + object: 'upload.part'; + /** + * The ID of the Upload object that this Part was added to. + */ + upload_id: string; +} +export interface PartCreateParams { + /** + * The chunk of bytes for this Part. + */ + data: Uploadable; +} +export declare namespace Parts { + export { type UploadPart as UploadPart, type PartCreateParams as PartCreateParams }; +} +//# sourceMappingURL=parts.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..18cf295eb09b1d2c0837e20fa6d7eb9e4833c848 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"parts.d.mts","sourceRoot":"","sources":["../../src/resources/uploads/parts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;CAMnG;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,UAAU,IAAI,UAAU,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9741316d2b6190ee796022e5275ddb46fc2d4920 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.ts @@ -0,0 +1,51 @@ +import { APIResource } from "../../core/resource.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { type Uploadable } from "../../core/uploads.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Parts extends APIResource { + /** + * Adds a + * [Part](https://platform.openai.com/docs/api-reference/uploads/part-object) to an + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object. + * A Part represents a chunk of bytes from the file you are trying to upload. + * + * Each Part can be at most 64 MB, and you can add Parts until you hit the Upload + * maximum of 8 GB. + * + * It is possible to add multiple Parts in parallel. You can decide the intended + * order of the Parts when you + * [complete the Upload](https://platform.openai.com/docs/api-reference/uploads/complete). + */ + create(uploadID: string, body: PartCreateParams, options?: RequestOptions): APIPromise; +} +/** + * The upload Part represents a chunk of bytes we can add to an Upload object. + */ +export interface UploadPart { + /** + * The upload Part unique identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the Part was created. + */ + created_at: number; + /** + * The object type, which is always `upload.part`. + */ + object: 'upload.part'; + /** + * The ID of the Upload object that this Part was added to. + */ + upload_id: string; +} +export interface PartCreateParams { + /** + * The chunk of bytes for this Part. + */ + data: Uploadable; +} +export declare namespace Parts { + export { type UploadPart as UploadPart, type PartCreateParams as PartCreateParams }; +} +//# sourceMappingURL=parts.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d65ba0fe6e2f7011d1fbb6fc822941e0aa9480c8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../src/resources/uploads/parts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;CAMnG;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,UAAU,IAAI,UAAU,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.js new file mode 100644 index 0000000000000000000000000000000000000000..f4a778b869d71829e75ef4c2eec88b791a273451 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.js @@ -0,0 +1,27 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Parts = void 0; +const resource_1 = require("../../core/resource.js"); +const uploads_1 = require("../../internal/uploads.js"); +const path_1 = require("../../internal/utils/path.js"); +class Parts extends resource_1.APIResource { + /** + * Adds a + * [Part](https://platform.openai.com/docs/api-reference/uploads/part-object) to an + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object. + * A Part represents a chunk of bytes from the file you are trying to upload. + * + * Each Part can be at most 64 MB, and you can add Parts until you hit the Upload + * maximum of 8 GB. + * + * It is possible to add multiple Parts in parallel. You can decide the intended + * order of the Parts when you + * [complete the Upload](https://platform.openai.com/docs/api-reference/uploads/complete). + */ + create(uploadID, body, options) { + return this._client.post((0, path_1.path) `/uploads/${uploadID}/parts`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client)); + } +} +exports.Parts = Parts; +//# sourceMappingURL=parts.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.js.map new file mode 100644 index 0000000000000000000000000000000000000000..d599b70495e5cbb862791f2a1e0b9c3cc2231602 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.js.map @@ -0,0 +1 @@ +{"version":3,"file":"parts.js","sourceRoot":"","sources":["../../src/resources/uploads/parts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAsB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,WAAI,EAAA,YAAY,QAAQ,QAAQ,EAChC,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF;AApBD,sBAoBC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ac83db8c3aa2ad8ae31910c6ad5755b6eac88b19 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.mjs @@ -0,0 +1,23 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { multipartFormRequestOptions } from "../../internal/uploads.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Parts extends APIResource { + /** + * Adds a + * [Part](https://platform.openai.com/docs/api-reference/uploads/part-object) to an + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object. + * A Part represents a chunk of bytes from the file you are trying to upload. + * + * Each Part can be at most 64 MB, and you can add Parts until you hit the Upload + * maximum of 8 GB. + * + * It is possible to add multiple Parts in parallel. You can decide the intended + * order of the Parts when you + * [complete the Upload](https://platform.openai.com/docs/api-reference/uploads/complete). + */ + create(uploadID, body, options) { + return this._client.post(path `/uploads/${uploadID}/parts`, multipartFormRequestOptions({ body, ...options }, this._client)); + } +} +//# sourceMappingURL=parts.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..888cbe9c83acb1729889f201193617d98cc05aa1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/parts.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"parts.mjs","sourceRoot":"","sources":["../../src/resources/uploads/parts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAsB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAI,CAAA,YAAY,QAAQ,QAAQ,EAChC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a42d6e97f4b47a232797120688e4a965ee67aef3 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.mts @@ -0,0 +1,157 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as FilesAPI from "../files.mjs"; +import * as PartsAPI from "./parts.mjs"; +import { PartCreateParams, Parts, UploadPart } from "./parts.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class Uploads extends APIResource { + parts: PartsAPI.Parts; + /** + * Creates an intermediate + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object + * that you can add + * [Parts](https://platform.openai.com/docs/api-reference/uploads/part-object) to. + * Currently, an Upload can accept at most 8 GB in total and expires after an hour + * after you create it. + * + * Once you complete the Upload, we will create a + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * contains all the parts you uploaded. This File is usable in the rest of our + * platform as a regular File object. + * + * For certain `purpose` values, the correct `mime_type` must be specified. Please + * refer to documentation for the + * [supported MIME types for your use case](https://platform.openai.com/docs/assistants/tools/file-search#supported-files). + * + * For guidance on the proper filename extensions for each purpose, please follow + * the documentation on + * [creating a File](https://platform.openai.com/docs/api-reference/files/create). + */ + create(body: UploadCreateParams, options?: RequestOptions): APIPromise; + /** + * Cancels the Upload. No Parts may be added after an Upload is cancelled. + */ + cancel(uploadID: string, options?: RequestOptions): APIPromise; + /** + * Completes the + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object). + * + * Within the returned Upload object, there is a nested + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * is ready to use in the rest of the platform. + * + * You can specify the order of the Parts by passing in an ordered list of the Part + * IDs. + * + * The number of bytes uploaded upon completion must match the number of bytes + * initially specified when creating the Upload object. No Parts may be added after + * an Upload is completed. + */ + complete(uploadID: string, body: UploadCompleteParams, options?: RequestOptions): APIPromise; +} +/** + * The Upload object can accept byte chunks in the form of Parts. + */ +export interface Upload { + /** + * The Upload unique identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The intended number of bytes to be uploaded. + */ + bytes: number; + /** + * The Unix timestamp (in seconds) for when the Upload was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the Upload will expire. + */ + expires_at: number; + /** + * The name of the file to be uploaded. + */ + filename: string; + /** + * The object type, which is always "upload". + */ + object: 'upload'; + /** + * The intended purpose of the file. + * [Please refer here](https://platform.openai.com/docs/api-reference/files/object#files/object-purpose) + * for acceptable values. + */ + purpose: string; + /** + * The status of the Upload. + */ + status: 'pending' | 'completed' | 'cancelled' | 'expired'; + /** + * The `File` object represents a document that has been uploaded to OpenAI. + */ + file?: FilesAPI.FileObject | null; +} +export interface UploadCreateParams { + /** + * The number of bytes in the file you are uploading. + */ + bytes: number; + /** + * The name of the file to upload. + */ + filename: string; + /** + * The MIME type of the file. + * + * This must fall within the supported MIME types for your file purpose. See the + * supported MIME types for assistants and vision. + */ + mime_type: string; + /** + * The intended purpose of the uploaded file. + * + * See the + * [documentation on File purposes](https://platform.openai.com/docs/api-reference/files/create#files-create-purpose). + */ + purpose: FilesAPI.FilePurpose; + /** + * The expiration policy for a file. By default, files with `purpose=batch` expire + * after 30 days and all other files are persisted until they are manually deleted. + */ + expires_after?: UploadCreateParams.ExpiresAfter; +} +export declare namespace UploadCreateParams { + /** + * The expiration policy for a file. By default, files with `purpose=batch` expire + * after 30 days and all other files are persisted until they are manually deleted. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `created_at`. + */ + anchor: 'created_at'; + /** + * The number of seconds after the anchor time that the file will expire. Must be + * between 3600 (1 hour) and 2592000 (30 days). + */ + seconds: number; + } +} +export interface UploadCompleteParams { + /** + * The ordered list of Part IDs. + */ + part_ids: Array; + /** + * The optional md5 checksum for the file contents to verify if the bytes uploaded + * matches what you expect. + */ + md5?: string; +} +export declare namespace Uploads { + export { type Upload as Upload, type UploadCreateParams as UploadCreateParams, type UploadCompleteParams as UploadCompleteParams, }; + export { Parts as Parts, type UploadPart as UploadPart, type PartCreateParams as PartCreateParams }; +} +//# sourceMappingURL=uploads.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..a54b8ec252b95cdff746634cb9cf1117749a386c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["../../src/resources/uploads/uploads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,QAAQ;OACb,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,EAAE;OACvC,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAItE;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;CAGrG;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAC;IAEjB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;IAE1D;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAE9B;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC;CACjD;AAED,yBAAiB,kBAAkB,CAAC;IAClC;;;OAGG;IACH,UAAiB,YAAY;QAC3B;;;WAGG;QACH,MAAM,EAAE,YAAY,CAAC;QAErB;;;WAGG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,UAAU,IAAI,UAAU,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fcece716dffbcab667621e9e16b2adb1181357de --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.ts @@ -0,0 +1,157 @@ +import { APIResource } from "../../core/resource.js"; +import * as FilesAPI from "../files.js"; +import * as PartsAPI from "./parts.js"; +import { PartCreateParams, Parts, UploadPart } from "./parts.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class Uploads extends APIResource { + parts: PartsAPI.Parts; + /** + * Creates an intermediate + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object + * that you can add + * [Parts](https://platform.openai.com/docs/api-reference/uploads/part-object) to. + * Currently, an Upload can accept at most 8 GB in total and expires after an hour + * after you create it. + * + * Once you complete the Upload, we will create a + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * contains all the parts you uploaded. This File is usable in the rest of our + * platform as a regular File object. + * + * For certain `purpose` values, the correct `mime_type` must be specified. Please + * refer to documentation for the + * [supported MIME types for your use case](https://platform.openai.com/docs/assistants/tools/file-search#supported-files). + * + * For guidance on the proper filename extensions for each purpose, please follow + * the documentation on + * [creating a File](https://platform.openai.com/docs/api-reference/files/create). + */ + create(body: UploadCreateParams, options?: RequestOptions): APIPromise; + /** + * Cancels the Upload. No Parts may be added after an Upload is cancelled. + */ + cancel(uploadID: string, options?: RequestOptions): APIPromise; + /** + * Completes the + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object). + * + * Within the returned Upload object, there is a nested + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * is ready to use in the rest of the platform. + * + * You can specify the order of the Parts by passing in an ordered list of the Part + * IDs. + * + * The number of bytes uploaded upon completion must match the number of bytes + * initially specified when creating the Upload object. No Parts may be added after + * an Upload is completed. + */ + complete(uploadID: string, body: UploadCompleteParams, options?: RequestOptions): APIPromise; +} +/** + * The Upload object can accept byte chunks in the form of Parts. + */ +export interface Upload { + /** + * The Upload unique identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The intended number of bytes to be uploaded. + */ + bytes: number; + /** + * The Unix timestamp (in seconds) for when the Upload was created. + */ + created_at: number; + /** + * The Unix timestamp (in seconds) for when the Upload will expire. + */ + expires_at: number; + /** + * The name of the file to be uploaded. + */ + filename: string; + /** + * The object type, which is always "upload". + */ + object: 'upload'; + /** + * The intended purpose of the file. + * [Please refer here](https://platform.openai.com/docs/api-reference/files/object#files/object-purpose) + * for acceptable values. + */ + purpose: string; + /** + * The status of the Upload. + */ + status: 'pending' | 'completed' | 'cancelled' | 'expired'; + /** + * The `File` object represents a document that has been uploaded to OpenAI. + */ + file?: FilesAPI.FileObject | null; +} +export interface UploadCreateParams { + /** + * The number of bytes in the file you are uploading. + */ + bytes: number; + /** + * The name of the file to upload. + */ + filename: string; + /** + * The MIME type of the file. + * + * This must fall within the supported MIME types for your file purpose. See the + * supported MIME types for assistants and vision. + */ + mime_type: string; + /** + * The intended purpose of the uploaded file. + * + * See the + * [documentation on File purposes](https://platform.openai.com/docs/api-reference/files/create#files-create-purpose). + */ + purpose: FilesAPI.FilePurpose; + /** + * The expiration policy for a file. By default, files with `purpose=batch` expire + * after 30 days and all other files are persisted until they are manually deleted. + */ + expires_after?: UploadCreateParams.ExpiresAfter; +} +export declare namespace UploadCreateParams { + /** + * The expiration policy for a file. By default, files with `purpose=batch` expire + * after 30 days and all other files are persisted until they are manually deleted. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `created_at`. + */ + anchor: 'created_at'; + /** + * The number of seconds after the anchor time that the file will expire. Must be + * between 3600 (1 hour) and 2592000 (30 days). + */ + seconds: number; + } +} +export interface UploadCompleteParams { + /** + * The ordered list of Part IDs. + */ + part_ids: Array; + /** + * The optional md5 checksum for the file contents to verify if the bytes uploaded + * matches what you expect. + */ + md5?: string; +} +export declare namespace Uploads { + export { type Upload as Upload, type UploadCreateParams as UploadCreateParams, type UploadCompleteParams as UploadCompleteParams, }; + export { Parts as Parts, type UploadPart as UploadPart, type PartCreateParams as PartCreateParams }; +} +//# sourceMappingURL=uploads.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..13bb19f2ff3f881508d8aa987bcaad5221427f48 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["../../src/resources/uploads/uploads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,QAAQ;OACb,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,EAAE;OACvC,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAItE;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;CAGrG;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,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G"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.js new file mode 100644 index 0000000000000000000000000000000000000000..64bdc2a40373b6521e67eaa9152199c96bd58f35 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.js @@ -0,0 +1,66 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Uploads = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const PartsAPI = tslib_1.__importStar(require("./parts.js")); +const parts_1 = require("./parts.js"); +const path_1 = require("../../internal/utils/path.js"); +class Uploads extends resource_1.APIResource { + constructor() { + super(...arguments); + this.parts = new PartsAPI.Parts(this._client); + } + /** + * Creates an intermediate + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object + * that you can add + * [Parts](https://platform.openai.com/docs/api-reference/uploads/part-object) to. + * Currently, an Upload can accept at most 8 GB in total and expires after an hour + * after you create it. + * + * Once you complete the Upload, we will create a + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * contains all the parts you uploaded. This File is usable in the rest of our + * platform as a regular File object. + * + * For certain `purpose` values, the correct `mime_type` must be specified. Please + * refer to documentation for the + * [supported MIME types for your use case](https://platform.openai.com/docs/assistants/tools/file-search#supported-files). + * + * For guidance on the proper filename extensions for each purpose, please follow + * the documentation on + * [creating a File](https://platform.openai.com/docs/api-reference/files/create). + */ + create(body, options) { + return this._client.post('/uploads', { body, ...options }); + } + /** + * Cancels the Upload. No Parts may be added after an Upload is cancelled. + */ + cancel(uploadID, options) { + return this._client.post((0, path_1.path) `/uploads/${uploadID}/cancel`, options); + } + /** + * Completes the + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object). + * + * Within the returned Upload object, there is a nested + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * is ready to use in the rest of the platform. + * + * You can specify the order of the Parts by passing in an ordered list of the Part + * IDs. + * + * The number of bytes uploaded upon completion must match the number of bytes + * initially specified when creating the Upload object. No Parts may be added after + * an Upload is completed. + */ + complete(uploadID, body, options) { + return this._client.post((0, path_1.path) `/uploads/${uploadID}/complete`, { body, ...options }); + } +} +exports.Uploads = Uploads; +Uploads.Parts = parts_1.Parts; +//# sourceMappingURL=uploads.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.js.map new file mode 100644 index 0000000000000000000000000000000000000000..bd9cc47866a1cd190d42d4bb90720eedb38094fd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.js.map @@ -0,0 +1 @@ +{"version":3,"file":"uploads.js","sourceRoot":"","sources":["../../src/resources/uploads/uploads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,6DAAoC;AACpC,sCAA8D;AAG9D,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoD3D,CAAC;IAlDC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,QAAgB,EAAE,IAA0B,EAAE,OAAwB;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AArDD,0BAqDC;AAyHD,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.mjs new file mode 100644 index 0000000000000000000000000000000000000000..40bed88762dd48e88fbc1da4d5f08db6fbe3141c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.mjs @@ -0,0 +1,61 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as PartsAPI from "./parts.mjs"; +import { Parts } from "./parts.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Uploads extends APIResource { + constructor() { + super(...arguments); + this.parts = new PartsAPI.Parts(this._client); + } + /** + * Creates an intermediate + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object + * that you can add + * [Parts](https://platform.openai.com/docs/api-reference/uploads/part-object) to. + * Currently, an Upload can accept at most 8 GB in total and expires after an hour + * after you create it. + * + * Once you complete the Upload, we will create a + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * contains all the parts you uploaded. This File is usable in the rest of our + * platform as a regular File object. + * + * For certain `purpose` values, the correct `mime_type` must be specified. Please + * refer to documentation for the + * [supported MIME types for your use case](https://platform.openai.com/docs/assistants/tools/file-search#supported-files). + * + * For guidance on the proper filename extensions for each purpose, please follow + * the documentation on + * [creating a File](https://platform.openai.com/docs/api-reference/files/create). + */ + create(body, options) { + return this._client.post('/uploads', { body, ...options }); + } + /** + * Cancels the Upload. No Parts may be added after an Upload is cancelled. + */ + cancel(uploadID, options) { + return this._client.post(path `/uploads/${uploadID}/cancel`, options); + } + /** + * Completes the + * [Upload](https://platform.openai.com/docs/api-reference/uploads/object). + * + * Within the returned Upload object, there is a nested + * [File](https://platform.openai.com/docs/api-reference/files/object) object that + * is ready to use in the rest of the platform. + * + * You can specify the order of the Parts by passing in an ordered list of the Part + * IDs. + * + * The number of bytes uploaded upon completion must match the number of bytes + * initially specified when creating the Upload object. No Parts may be added after + * an Upload is completed. + */ + complete(uploadID, body, options) { + return this._client.post(path `/uploads/${uploadID}/complete`, { body, ...options }); + } +} +Uploads.Parts = Parts; +//# sourceMappingURL=uploads.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..ecc01fb015da6155a9bf89161713dfc5178d396e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/uploads/uploads.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["../../src/resources/uploads/uploads.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,QAAQ;OACb,EAAoB,KAAK,EAAc;OAGvC,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoD3D,CAAC;IAlDC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,QAAgB,EAAE,IAA0B,EAAE,OAAwB;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AAyHD,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..9ca49d711f73fb28eef55bbbefd4122e0e69c5ae --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.mts @@ -0,0 +1,172 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as FilesAPI from "./files.mjs"; +import { VectorStoreFilesPage } from "./files.mjs"; +import * as VectorStoresAPI from "./vector-stores.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { type CursorPageParams, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +import { type Uploadable } from "../../uploads.mjs"; +export declare class FileBatches extends APIResource { + /** + * Create a vector store file batch. + */ + create(vectorStoreID: string, body: FileBatchCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves a vector store file batch. + */ + retrieve(batchID: string, params: FileBatchRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Cancel a vector store file batch. This attempts to cancel the processing of + * files in this batch as soon as possible. + */ + cancel(batchID: string, params: FileBatchCancelParams, options?: RequestOptions): APIPromise; + /** + * Create a vector store batch and poll until all files have been processed. + */ + createAndPoll(vectorStoreId: string, body: FileBatchCreateParams, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Returns a list of vector store files in a batch. + */ + listFiles(batchID: string, params: FileBatchListFilesParams, options?: RequestOptions): PagePromise; + /** + * Wait for the given file batch to be processed. + * + * Note: this will return even if one of the files failed to process, you need to + * check batch.file_counts.failed_count to handle this case. + */ + poll(vectorStoreID: string, batchID: string, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Uploads the given files concurrently and then creates a vector store file batch. + * + * The concurrency limit is configurable using the `maxConcurrency` parameter. + */ + uploadAndPoll(vectorStoreId: string, { files, fileIds }: { + files: Uploadable[]; + fileIds?: string[]; + }, options?: RequestOptions & { + pollIntervalMs?: number; + maxConcurrency?: number; + }): Promise; +} +/** + * A batch of files attached to a vector store. + */ +export interface VectorStoreFileBatch { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the vector store files batch was + * created. + */ + created_at: number; + file_counts: VectorStoreFileBatch.FileCounts; + /** + * The object type, which is always `vector_store.file_batch`. + */ + object: 'vector_store.files_batch'; + /** + * The status of the vector store files batch, which can be either `in_progress`, + * `completed`, `cancelled` or `failed`. + */ + status: 'in_progress' | 'completed' | 'cancelled' | 'failed'; + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * that the [File](https://platform.openai.com/docs/api-reference/files) is + * attached to. + */ + vector_store_id: string; +} +export declare namespace VectorStoreFileBatch { + interface FileCounts { + /** + * The number of files that where cancelled. + */ + cancelled: number; + /** + * The number of files that have been processed. + */ + completed: number; + /** + * The number of files that have failed to process. + */ + failed: number; + /** + * The number of files that are currently being processed. + */ + in_progress: number; + /** + * The total number of files. + */ + total: number; + } +} +export interface FileBatchCreateParams { + /** + * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that + * the vector store should use. Useful for tools like `file_search` that can access + * files. + */ + file_ids: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ + chunking_strategy?: VectorStoresAPI.FileChunkingStrategyParam; +} +export interface FileBatchRetrieveParams { + /** + * The ID of the vector store that the file batch belongs to. + */ + vector_store_id: string; +} +export interface FileBatchCancelParams { + /** + * The ID of the vector store that the file batch belongs to. + */ + vector_store_id: string; +} +export interface FileBatchListFilesParams extends CursorPageParams { + /** + * Path param: The ID of the vector store that the files belong to. + */ + vector_store_id: string; + /** + * Query param: A cursor for use in pagination. `before` is an object ID that + * defines your place in the list. For instance, if you make a list request and + * receive 100 objects, starting with obj_foo, your subsequent call can include + * before=obj_foo in order to fetch the previous page of the list. + */ + before?: string; + /** + * Query param: Filter by file status. One of `in_progress`, `completed`, `failed`, + * `cancelled`. + */ + filter?: 'in_progress' | 'completed' | 'failed' | 'cancelled'; + /** + * Query param: Sort order by the `created_at` timestamp of the objects. `asc` for + * ascending order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace FileBatches { + export { type VectorStoreFileBatch as VectorStoreFileBatch, type FileBatchCreateParams as FileBatchCreateParams, type FileBatchRetrieveParams as FileBatchRetrieveParams, type FileBatchCancelParams as FileBatchCancelParams, type FileBatchListFilesParams as FileBatchListFilesParams, }; +} +export { type VectorStoreFilesPage }; +//# sourceMappingURL=file-batches.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..b16800f66071937350aa179a63bac3a620ac5247 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"file-batches.d.mts","sourceRoot":"","sources":["../../src/resources/vector-stores/file-batches.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,oBAAoB,EAAE;OACxB,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OACd,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;OAElB,EAAE,KAAK,UAAU,EAAE;AAI1B,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAQnC;;OAEG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAQnC;;;OAGG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAQnC;;OAEG;IACG,aAAa,CACjB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GAAG;QAAE,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE,GACrD,OAAO,CAAC,oBAAoB,CAAC;IAKhC;;OAEG;IACH,SAAS,CACP,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,wBAAwB,EAChC,O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AW,qBAAqB;IACpC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAEjE;;;OAGG;IACH,iBAAiB,CAAC,EAAE,eAAe,CAAC,yBAAyB,CAAC;CAC/D;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAChE;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IAE9D;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,KAAK,oBAAoB,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b10a7155d44cf1ffc938369667b739b4cf4ea5d5 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.ts @@ -0,0 +1,172 @@ +import { APIResource } from "../../core/resource.js"; +import * as FilesAPI from "./files.js"; +import { VectorStoreFilesPage } from "./files.js"; +import * as VectorStoresAPI from "./vector-stores.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { type CursorPageParams, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +import { type Uploadable } from "../../uploads.js"; +export declare class FileBatches extends APIResource { + /** + * Create a vector store file batch. + */ + create(vectorStoreID: string, body: FileBatchCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves a vector store file batch. + */ + retrieve(batchID: string, params: FileBatchRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Cancel a vector store file batch. This attempts to cancel the processing of + * files in this batch as soon as possible. + */ + cancel(batchID: string, params: FileBatchCancelParams, options?: RequestOptions): APIPromise; + /** + * Create a vector store batch and poll until all files have been processed. + */ + createAndPoll(vectorStoreId: string, body: FileBatchCreateParams, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Returns a list of vector store files in a batch. + */ + listFiles(batchID: string, params: FileBatchListFilesParams, options?: RequestOptions): PagePromise; + /** + * Wait for the given file batch to be processed. + * + * Note: this will return even if one of the files failed to process, you need to + * check batch.file_counts.failed_count to handle this case. + */ + poll(vectorStoreID: string, batchID: string, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Uploads the given files concurrently and then creates a vector store file batch. + * + * The concurrency limit is configurable using the `maxConcurrency` parameter. + */ + uploadAndPoll(vectorStoreId: string, { files, fileIds }: { + files: Uploadable[]; + fileIds?: string[]; + }, options?: RequestOptions & { + pollIntervalMs?: number; + maxConcurrency?: number; + }): Promise; +} +/** + * A batch of files attached to a vector store. + */ +export interface VectorStoreFileBatch { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the vector store files batch was + * created. + */ + created_at: number; + file_counts: VectorStoreFileBatch.FileCounts; + /** + * The object type, which is always `vector_store.file_batch`. + */ + object: 'vector_store.files_batch'; + /** + * The status of the vector store files batch, which can be either `in_progress`, + * `completed`, `cancelled` or `failed`. + */ + status: 'in_progress' | 'completed' | 'cancelled' | 'failed'; + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * that the [File](https://platform.openai.com/docs/api-reference/files) is + * attached to. + */ + vector_store_id: string; +} +export declare namespace VectorStoreFileBatch { + interface FileCounts { + /** + * The number of files that where cancelled. + */ + cancelled: number; + /** + * The number of files that have been processed. + */ + completed: number; + /** + * The number of files that have failed to process. + */ + failed: number; + /** + * The number of files that are currently being processed. + */ + in_progress: number; + /** + * The total number of files. + */ + total: number; + } +} +export interface FileBatchCreateParams { + /** + * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that + * the vector store should use. Useful for tools like `file_search` that can access + * files. + */ + file_ids: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ + chunking_strategy?: VectorStoresAPI.FileChunkingStrategyParam; +} +export interface FileBatchRetrieveParams { + /** + * The ID of the vector store that the file batch belongs to. + */ + vector_store_id: string; +} +export interface FileBatchCancelParams { + /** + * The ID of the vector store that the file batch belongs to. + */ + vector_store_id: string; +} +export interface FileBatchListFilesParams extends CursorPageParams { + /** + * Path param: The ID of the vector store that the files belong to. + */ + vector_store_id: string; + /** + * Query param: A cursor for use in pagination. `before` is an object ID that + * defines your place in the list. For instance, if you make a list request and + * receive 100 objects, starting with obj_foo, your subsequent call can include + * before=obj_foo in order to fetch the previous page of the list. + */ + before?: string; + /** + * Query param: Filter by file status. One of `in_progress`, `completed`, `failed`, + * `cancelled`. + */ + filter?: 'in_progress' | 'completed' | 'failed' | 'cancelled'; + /** + * Query param: Sort order by the `created_at` timestamp of the objects. `asc` for + * ascending order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export declare namespace FileBatches { + export { type VectorStoreFileBatch as VectorStoreFileBatch, type FileBatchCreateParams as FileBatchCreateParams, type FileBatchRetrieveParams as FileBatchRetrieveParams, type FileBatchCancelParams as FileBatchCancelParams, type FileBatchListFilesParams as FileBatchListFilesParams, }; +} +export { type VectorStoreFilesPage }; +//# sourceMappingURL=file-batches.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ba1c734c48ed89ac8ad2499f50ae1950818f5213 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"file-batches.d.ts","sourceRoot":"","sources":["../../src/resources/vector-stores/file-batches.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,oBAAoB,EAAE;OACxB,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OACd,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;OAElB,EAAE,KAAK,UAAU,EAAE;AAI1B,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAQnC;;OAEG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,MAAM,EA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WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,KAAK,oBAAoB,EAAE,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.js new file mode 100644 index 0000000000000000000000000000000000000000..3933a70e11230365a9854931c3b535fede69f440 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.js @@ -0,0 +1,133 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FileBatches = void 0; +const resource_1 = require("../../core/resource.js"); +const pagination_1 = require("../../core/pagination.js"); +const headers_1 = require("../../internal/headers.js"); +const sleep_1 = require("../../internal/utils/sleep.js"); +const Util_1 = require("../../lib/Util.js"); +const path_1 = require("../../internal/utils/path.js"); +class FileBatches extends resource_1.APIResource { + /** + * Create a vector store file batch. + */ + create(vectorStoreID, body, options) { + return this._client.post((0, path_1.path) `/vector_stores/${vectorStoreID}/file_batches`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a vector store file batch. + */ + retrieve(batchID, params, options) { + const { vector_store_id } = params; + return this._client.get((0, path_1.path) `/vector_stores/${vector_store_id}/file_batches/${batchID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Cancel a vector store file batch. This attempts to cancel the processing of + * files in this batch as soon as possible. + */ + cancel(batchID, params, options) { + const { vector_store_id } = params; + return this._client.post((0, path_1.path) `/vector_stores/${vector_store_id}/file_batches/${batchID}/cancel`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Create a vector store batch and poll until all files have been processed. + */ + async createAndPoll(vectorStoreId, body, options) { + const batch = await this.create(vectorStoreId, body); + return await this.poll(vectorStoreId, batch.id, options); + } + /** + * Returns a list of vector store files in a batch. + */ + listFiles(batchID, params, options) { + const { vector_store_id, ...query } = params; + return this._client.getAPIList((0, path_1.path) `/vector_stores/${vector_store_id}/file_batches/${batchID}/files`, (pagination_1.CursorPage), { query, ...options, headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]) }); + } + /** + * Wait for the given file batch to be processed. + * + * Note: this will return even if one of the files failed to process, you need to + * check batch.file_counts.failed_count to handle this case. + */ + async poll(vectorStoreID, batchID, options) { + const headers = (0, headers_1.buildHeaders)([ + options?.headers, + { + 'X-Stainless-Poll-Helper': 'true', + 'X-Stainless-Custom-Poll-Interval': options?.pollIntervalMs?.toString() ?? undefined, + }, + ]); + while (true) { + const { data: batch, response } = await this.retrieve(batchID, { vector_store_id: vectorStoreID }, { + ...options, + headers, + }).withResponse(); + switch (batch.status) { + case 'in_progress': + let sleepInterval = 5000; + if (options?.pollIntervalMs) { + sleepInterval = options.pollIntervalMs; + } + else { + const headerInterval = response.headers.get('openai-poll-after-ms'); + if (headerInterval) { + const headerIntervalMs = parseInt(headerInterval); + if (!isNaN(headerIntervalMs)) { + sleepInterval = headerIntervalMs; + } + } + } + await (0, sleep_1.sleep)(sleepInterval); + break; + case 'failed': + case 'cancelled': + case 'completed': + return batch; + } + } + } + /** + * Uploads the given files concurrently and then creates a vector store file batch. + * + * The concurrency limit is configurable using the `maxConcurrency` parameter. + */ + async uploadAndPoll(vectorStoreId, { files, fileIds = [] }, options) { + if (files == null || files.length == 0) { + throw new Error(`No \`files\` provided to process. If you've already uploaded files you should use \`.createAndPoll()\` instead`); + } + const configuredConcurrency = options?.maxConcurrency ?? 5; + // We cap the number of workers at the number of files (so we don't start any unnecessary workers) + const concurrencyLimit = Math.min(configuredConcurrency, files.length); + const client = this._client; + const fileIterator = files.values(); + const allFileIds = [...fileIds]; + // This code is based on this design. The libraries don't accommodate our environment limits. + // https://stackoverflow.com/questions/40639432/what-is-the-best-way-to-limit-concurrency-when-using-es6s-promise-all + async function processFiles(iterator) { + for (let item of iterator) { + const fileObj = await client.files.create({ file: item, purpose: 'assistants' }, options); + allFileIds.push(fileObj.id); + } + } + // Start workers to process results + const workers = Array(concurrencyLimit).fill(fileIterator).map(processFiles); + // Wait for all processing to complete. + await (0, Util_1.allSettledWithThrow)(workers); + return await this.createAndPoll(vectorStoreId, { + file_ids: allFileIds, + }); + } +} +exports.FileBatches = FileBatches; +//# sourceMappingURL=file-batches.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.js.map new file mode 100644 index 0000000000000000000000000000000000000000..03042b4dc4bf57cd71e649ef85ce00182ad9f193 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.js.map @@ -0,0 +1 @@ +{"version":3,"file":"file-batches.js","sourceRoot":"","sources":["../../src/resources/vector-stores/file-batches.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,yDAAuF;AACvF,uDAAsD;AAEtD,yDAAmD;AAEnD,4CAAqD;AACrD,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,I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AAE,EAAE,OAAO,CAAC,CAAC;gBAC1F,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;QAED,mCAAmC;QACnC,MAAM,OAAO,GAAG,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAE7E,uCAAuC;QACvC,MAAM,IAAA,0BAAmB,EAAC,OAAO,CAAC,CAAC;QAEnC,OAAO,MAAM,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE;YAC7C,QAAQ,EAAE,UAAU;SACrB,CAAC,CAAC;IACL,CAAC;CACF;AA7KD,kCA6KC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.mjs new file mode 100644 index 0000000000000000000000000000000000000000..722cad205c4c90997cbf1d9f5b2a30969f3ade8b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.mjs @@ -0,0 +1,129 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { CursorPage } from "../../core/pagination.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +import { sleep } from "../../internal/utils/sleep.mjs"; +import { allSettledWithThrow } from "../../lib/Util.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class FileBatches extends APIResource { + /** + * Create a vector store file batch. + */ + create(vectorStoreID, body, options) { + return this._client.post(path `/vector_stores/${vectorStoreID}/file_batches`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a vector store file batch. + */ + retrieve(batchID, params, options) { + const { vector_store_id } = params; + return this._client.get(path `/vector_stores/${vector_store_id}/file_batches/${batchID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Cancel a vector store file batch. This attempts to cancel the processing of + * files in this batch as soon as possible. + */ + cancel(batchID, params, options) { + const { vector_store_id } = params; + return this._client.post(path `/vector_stores/${vector_store_id}/file_batches/${batchID}/cancel`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Create a vector store batch and poll until all files have been processed. + */ + async createAndPoll(vectorStoreId, body, options) { + const batch = await this.create(vectorStoreId, body); + return await this.poll(vectorStoreId, batch.id, options); + } + /** + * Returns a list of vector store files in a batch. + */ + listFiles(batchID, params, options) { + const { vector_store_id, ...query } = params; + return this._client.getAPIList(path `/vector_stores/${vector_store_id}/file_batches/${batchID}/files`, (CursorPage), { query, ...options, headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]) }); + } + /** + * Wait for the given file batch to be processed. + * + * Note: this will return even if one of the files failed to process, you need to + * check batch.file_counts.failed_count to handle this case. + */ + async poll(vectorStoreID, batchID, options) { + const headers = buildHeaders([ + options?.headers, + { + 'X-Stainless-Poll-Helper': 'true', + 'X-Stainless-Custom-Poll-Interval': options?.pollIntervalMs?.toString() ?? undefined, + }, + ]); + while (true) { + const { data: batch, response } = await this.retrieve(batchID, { vector_store_id: vectorStoreID }, { + ...options, + headers, + }).withResponse(); + switch (batch.status) { + case 'in_progress': + let sleepInterval = 5000; + if (options?.pollIntervalMs) { + sleepInterval = options.pollIntervalMs; + } + else { + const headerInterval = response.headers.get('openai-poll-after-ms'); + if (headerInterval) { + const headerIntervalMs = parseInt(headerInterval); + if (!isNaN(headerIntervalMs)) { + sleepInterval = headerIntervalMs; + } + } + } + await sleep(sleepInterval); + break; + case 'failed': + case 'cancelled': + case 'completed': + return batch; + } + } + } + /** + * Uploads the given files concurrently and then creates a vector store file batch. + * + * The concurrency limit is configurable using the `maxConcurrency` parameter. + */ + async uploadAndPoll(vectorStoreId, { files, fileIds = [] }, options) { + if (files == null || files.length == 0) { + throw new Error(`No \`files\` provided to process. If you've already uploaded files you should use \`.createAndPoll()\` instead`); + } + const configuredConcurrency = options?.maxConcurrency ?? 5; + // We cap the number of workers at the number of files (so we don't start any unnecessary workers) + const concurrencyLimit = Math.min(configuredConcurrency, files.length); + const client = this._client; + const fileIterator = files.values(); + const allFileIds = [...fileIds]; + // This code is based on this design. The libraries don't accommodate our environment limits. + // https://stackoverflow.com/questions/40639432/what-is-the-best-way-to-limit-concurrency-when-using-es6s-promise-all + async function processFiles(iterator) { + for (let item of iterator) { + const fileObj = await client.files.create({ file: item, purpose: 'assistants' }, options); + allFileIds.push(fileObj.id); + } + } + // Start workers to process results + const workers = Array(concurrencyLimit).fill(fileIterator).map(processFiles); + // Wait for all processing to complete. + await allSettledWithThrow(workers); + return await this.createAndPoll(vectorStoreId, { + file_ids: allFileIds, + }); + } +} +//# sourceMappingURL=file-batches.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..1f6be0dbdb91dfafe1613874952097a3dd815c93 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/file-batches.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"file-batches.mjs","sourceRoot":"","sources":["../../src/resources/vector-stores/file-batches.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,KAAK,EAAE;OAET,EAAE,mBAAmB,EAAE;OACvB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,a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O,EAAE,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;gBAC1F,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;QAED,mCAAmC;QACnC,MAAM,OAAO,GAAG,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAE7E,uCAAuC;QACvC,MAAM,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAEnC,OAAO,MAAM,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE;YAC7C,QAAQ,EAAE,UAAU;SACrB,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..303a268d0404fbab4f615833ef8f4c8fadd764e8 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.mts @@ -0,0 +1,231 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as VectorStoresAPI from "./vector-stores.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, PagePromise, Page } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +import { Uploadable } from "../../uploads.mjs"; +export declare class Files extends APIResource { + /** + * Create a vector store file by attaching a + * [File](https://platform.openai.com/docs/api-reference/files) to a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object). + */ + create(vectorStoreID: string, body: FileCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves a vector store file. + */ + retrieve(fileID: string, params: FileRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Update attributes on a vector store file. + */ + update(fileID: string, params: FileUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of vector store files. + */ + list(vectorStoreID: string, query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete a vector store file. This will remove the file from the vector store but + * the file itself will not be deleted. To delete the file, use the + * [delete file](https://platform.openai.com/docs/api-reference/files/delete) + * endpoint. + */ + delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise; + /** + * Attach a file to the given vector store and wait for it to be processed. + */ + createAndPoll(vectorStoreId: string, body: FileCreateParams, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Wait for the vector store file to finish processing. + * + * Note: this will return even if the file failed to process, you need to check + * file.last_error and file.status to handle these cases + */ + poll(vectorStoreID: string, fileID: string, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Upload a file to the `files` API and then attach it to the given vector store. + * + * Note the file will be asynchronously processed (you can use the alternative + * polling helper method to wait for processing to complete). + */ + upload(vectorStoreId: string, file: Uploadable, options?: RequestOptions): Promise; + /** + * Add a file to a vector store and poll until processing is complete. + */ + uploadAndPoll(vectorStoreId: string, file: Uploadable, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Retrieve the parsed contents of a vector store file. + */ + content(fileID: string, params: FileContentParams, options?: RequestOptions): PagePromise; +} +export type VectorStoreFilesPage = CursorPage; +export type FileContentResponsesPage = Page; +/** + * A list of files attached to a vector store. + */ +export interface VectorStoreFile { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the vector store file was created. + */ + created_at: number; + /** + * The last error associated with this vector store file. Will be `null` if there + * are no errors. + */ + last_error: VectorStoreFile.LastError | null; + /** + * The object type, which is always `vector_store.file`. + */ + object: 'vector_store.file'; + /** + * The status of the vector store file, which can be either `in_progress`, + * `completed`, `cancelled`, or `failed`. The status `completed` indicates that the + * vector store file is ready for use. + */ + status: 'in_progress' | 'completed' | 'cancelled' | 'failed'; + /** + * The total vector store usage in bytes. Note that this may be different from the + * original file size. + */ + usage_bytes: number; + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * that the [File](https://platform.openai.com/docs/api-reference/files) is + * attached to. + */ + vector_store_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The strategy used to chunk the file. + */ + chunking_strategy?: VectorStoresAPI.FileChunkingStrategy; +} +export declare namespace VectorStoreFile { + /** + * The last error associated with this vector store file. Will be `null` if there + * are no errors. + */ + interface LastError { + /** + * One of `server_error` or `rate_limit_exceeded`. + */ + code: 'server_error' | 'unsupported_file' | 'invalid_file'; + /** + * A human-readable description of the error. + */ + message: string; + } +} +export interface VectorStoreFileDeleted { + id: string; + deleted: boolean; + object: 'vector_store.file.deleted'; +} +export interface FileContentResponse { + /** + * The text content + */ + text?: string; + /** + * The content type (currently only `"text"`) + */ + type?: string; +} +export interface FileCreateParams { + /** + * A [File](https://platform.openai.com/docs/api-reference/files) ID that the + * vector store should use. Useful for tools like `file_search` that can access + * files. + */ + file_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ + chunking_strategy?: VectorStoresAPI.FileChunkingStrategyParam; +} +export interface FileRetrieveParams { + /** + * The ID of the vector store that the file belongs to. + */ + vector_store_id: string; +} +export interface FileUpdateParams { + /** + * Path param: The ID of the vector store the file belongs to. + */ + vector_store_id: string; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. Keys are + * strings with a maximum length of 64 characters. Values are strings with a + * maximum length of 512 characters, booleans, or numbers. + */ + attributes: { + [key: string]: string | number | boolean; + } | null; +} +export interface FileListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`. + */ + filter?: 'in_progress' | 'completed' | 'failed' | 'cancelled'; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface FileDeleteParams { + /** + * The ID of the vector store that the file belongs to. + */ + vector_store_id: string; +} +export interface FileContentParams { + /** + * The ID of the vector store. + */ + vector_store_id: string; +} +export declare namespace Files { + export { type VectorStoreFile as VectorStoreFile, type VectorStoreFileDeleted as VectorStoreFileDeleted, type FileContentResponse as FileContentResponse, type VectorStoreFilesPage as VectorStoreFilesPage, type FileContentResponsesPage as FileContentResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileContentParams as FileContentParams, }; +} +//# sourceMappingURL=files.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..6502d6c6c86c800a92ce612e10b31c96d5348552 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAA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;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f3bdd719e825cb8ab70a2d1081dc2a4e0d136f03 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.ts @@ -0,0 +1,231 @@ +import { APIResource } from "../../core/resource.js"; +import * as VectorStoresAPI from "./vector-stores.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, PagePromise, Page } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +import { Uploadable } from "../../uploads.js"; +export declare class Files extends APIResource { + /** + * Create a vector store file by attaching a + * [File](https://platform.openai.com/docs/api-reference/files) to a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object). + */ + create(vectorStoreID: string, body: FileCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves a vector store file. + */ + retrieve(fileID: string, params: FileRetrieveParams, options?: RequestOptions): APIPromise; + /** + * Update attributes on a vector store file. + */ + update(fileID: string, params: FileUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of vector store files. + */ + list(vectorStoreID: string, query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete a vector store file. This will remove the file from the vector store but + * the file itself will not be deleted. To delete the file, use the + * [delete file](https://platform.openai.com/docs/api-reference/files/delete) + * endpoint. + */ + delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise; + /** + * Attach a file to the given vector store and wait for it to be processed. + */ + createAndPoll(vectorStoreId: string, body: FileCreateParams, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Wait for the vector store file to finish processing. + * + * Note: this will return even if the file failed to process, you need to check + * file.last_error and file.status to handle these cases + */ + poll(vectorStoreID: string, fileID: string, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Upload a file to the `files` API and then attach it to the given vector store. + * + * Note the file will be asynchronously processed (you can use the alternative + * polling helper method to wait for processing to complete). + */ + upload(vectorStoreId: string, file: Uploadable, options?: RequestOptions): Promise; + /** + * Add a file to a vector store and poll until processing is complete. + */ + uploadAndPoll(vectorStoreId: string, file: Uploadable, options?: RequestOptions & { + pollIntervalMs?: number; + }): Promise; + /** + * Retrieve the parsed contents of a vector store file. + */ + content(fileID: string, params: FileContentParams, options?: RequestOptions): PagePromise; +} +export type VectorStoreFilesPage = CursorPage; +export type FileContentResponsesPage = Page; +/** + * A list of files attached to a vector store. + */ +export interface VectorStoreFile { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the vector store file was created. + */ + created_at: number; + /** + * The last error associated with this vector store file. Will be `null` if there + * are no errors. + */ + last_error: VectorStoreFile.LastError | null; + /** + * The object type, which is always `vector_store.file`. + */ + object: 'vector_store.file'; + /** + * The status of the vector store file, which can be either `in_progress`, + * `completed`, `cancelled`, or `failed`. The status `completed` indicates that the + * vector store file is ready for use. + */ + status: 'in_progress' | 'completed' | 'cancelled' | 'failed'; + /** + * The total vector store usage in bytes. Note that this may be different from the + * original file size. + */ + usage_bytes: number; + /** + * The ID of the + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object) + * that the [File](https://platform.openai.com/docs/api-reference/files) is + * attached to. + */ + vector_store_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The strategy used to chunk the file. + */ + chunking_strategy?: VectorStoresAPI.FileChunkingStrategy; +} +export declare namespace VectorStoreFile { + /** + * The last error associated with this vector store file. Will be `null` if there + * are no errors. + */ + interface LastError { + /** + * One of `server_error` or `rate_limit_exceeded`. + */ + code: 'server_error' | 'unsupported_file' | 'invalid_file'; + /** + * A human-readable description of the error. + */ + message: string; + } +} +export interface VectorStoreFileDeleted { + id: string; + deleted: boolean; + object: 'vector_store.file.deleted'; +} +export interface FileContentResponse { + /** + * The text content + */ + text?: string; + /** + * The content type (currently only `"text"`) + */ + type?: string; +} +export interface FileCreateParams { + /** + * A [File](https://platform.openai.com/docs/api-reference/files) ID that the + * vector store should use. Useful for tools like `file_search` that can access + * files. + */ + file_id: string; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes?: { + [key: string]: string | number | boolean; + } | null; + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ + chunking_strategy?: VectorStoresAPI.FileChunkingStrategyParam; +} +export interface FileRetrieveParams { + /** + * The ID of the vector store that the file belongs to. + */ + vector_store_id: string; +} +export interface FileUpdateParams { + /** + * Path param: The ID of the vector store the file belongs to. + */ + vector_store_id: string; + /** + * Body param: Set of 16 key-value pairs that can be attached to an object. This + * can be useful for storing additional information about the object in a + * structured format, and querying for objects via API or the dashboard. Keys are + * strings with a maximum length of 64 characters. Values are strings with a + * maximum length of 512 characters, booleans, or numbers. + */ + attributes: { + [key: string]: string | number | boolean; + } | null; +} +export interface FileListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`. + */ + filter?: 'in_progress' | 'completed' | 'failed' | 'cancelled'; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface FileDeleteParams { + /** + * The ID of the vector store that the file belongs to. + */ + vector_store_id: string; +} +export interface FileContentParams { + /** + * The ID of the vector store. + */ + vector_store_id: string; +} +export declare namespace Files { + export { type VectorStoreFile as VectorStoreFile, type VectorStoreFileDeleted as VectorStoreFileDeleted, type FileContentResponse as FileContentResponse, type VectorStoreFilesPage as VectorStoreFilesPage, type FileContentResponsesPage as FileContentResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileContentParams as FileContentParams, }; +} +//# sourceMappingURL=files.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..728488932da5f53b93b731fc90a64dde815fbc6c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,IAAI,EAAE;OAExD,EAAE,cAAc,EAAE;OAElB,EAAE,UAAU,EAAE;AAGrB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;OAIG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAQ9B;;OAEG;IACH,QAAQ,CACN,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAQ9B;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IASvG;;OAEG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oBAAoB,EAAE,eAAe,CAAC;IAQrD;;;;;OAKG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAQrC;;OAEG;IACG,aAAa,CACjB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,c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E,GAAG,IAAI,CAAC;CACjE;AAED,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IAE9D;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.js new file mode 100644 index 0000000000000000000000000000000000000000..a1ba28e5e9447712f6f6f27a71e34502ac29fc00 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.js @@ -0,0 +1,142 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Files = void 0; +const resource_1 = require("../../core/resource.js"); +const pagination_1 = require("../../core/pagination.js"); +const headers_1 = require("../../internal/headers.js"); +const utils_1 = require("../../internal/utils.js"); +const path_1 = require("../../internal/utils/path.js"); +class Files extends resource_1.APIResource { + /** + * Create a vector store file by attaching a + * [File](https://platform.openai.com/docs/api-reference/files) to a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object). + */ + create(vectorStoreID, body, options) { + return this._client.post((0, path_1.path) `/vector_stores/${vectorStoreID}/files`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a vector store file. + */ + retrieve(fileID, params, options) { + const { vector_store_id } = params; + return this._client.get((0, path_1.path) `/vector_stores/${vector_store_id}/files/${fileID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Update attributes on a vector store file. + */ + update(fileID, params, options) { + const { vector_store_id, ...body } = params; + return this._client.post((0, path_1.path) `/vector_stores/${vector_store_id}/files/${fileID}`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of vector store files. + */ + list(vectorStoreID, query = {}, options) { + return this._client.getAPIList((0, path_1.path) `/vector_stores/${vectorStoreID}/files`, (pagination_1.CursorPage), { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete a vector store file. This will remove the file from the vector store but + * the file itself will not be deleted. To delete the file, use the + * [delete file](https://platform.openai.com/docs/api-reference/files/delete) + * endpoint. + */ + delete(fileID, params, options) { + const { vector_store_id } = params; + return this._client.delete((0, path_1.path) `/vector_stores/${vector_store_id}/files/${fileID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Attach a file to the given vector store and wait for it to be processed. + */ + async createAndPoll(vectorStoreId, body, options) { + const file = await this.create(vectorStoreId, body, options); + return await this.poll(vectorStoreId, file.id, options); + } + /** + * Wait for the vector store file to finish processing. + * + * Note: this will return even if the file failed to process, you need to check + * file.last_error and file.status to handle these cases + */ + async poll(vectorStoreID, fileID, options) { + const headers = (0, headers_1.buildHeaders)([ + options?.headers, + { + 'X-Stainless-Poll-Helper': 'true', + 'X-Stainless-Custom-Poll-Interval': options?.pollIntervalMs?.toString() ?? undefined, + }, + ]); + while (true) { + const fileResponse = await this.retrieve(fileID, { + vector_store_id: vectorStoreID, + }, { ...options, headers }).withResponse(); + const file = fileResponse.data; + switch (file.status) { + case 'in_progress': + let sleepInterval = 5000; + if (options?.pollIntervalMs) { + sleepInterval = options.pollIntervalMs; + } + else { + const headerInterval = fileResponse.response.headers.get('openai-poll-after-ms'); + if (headerInterval) { + const headerIntervalMs = parseInt(headerInterval); + if (!isNaN(headerIntervalMs)) { + sleepInterval = headerIntervalMs; + } + } + } + await (0, utils_1.sleep)(sleepInterval); + break; + case 'failed': + case 'completed': + return file; + } + } + } + /** + * Upload a file to the `files` API and then attach it to the given vector store. + * + * Note the file will be asynchronously processed (you can use the alternative + * polling helper method to wait for processing to complete). + */ + async upload(vectorStoreId, file, options) { + const fileInfo = await this._client.files.create({ file: file, purpose: 'assistants' }, options); + return this.create(vectorStoreId, { file_id: fileInfo.id }, options); + } + /** + * Add a file to a vector store and poll until processing is complete. + */ + async uploadAndPoll(vectorStoreId, file, options) { + const fileInfo = await this.upload(vectorStoreId, file, options); + return await this.poll(vectorStoreId, fileInfo.id, options); + } + /** + * Retrieve the parsed contents of a vector store file. + */ + content(fileID, params, options) { + const { vector_store_id } = params; + return this._client.getAPIList((0, path_1.path) `/vector_stores/${vector_store_id}/files/${fileID}/content`, (pagination_1.Page), { ...options, headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]) }); + } +} +exports.Files = Files; +//# sourceMappingURL=files.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a308432077f498a753969d2e1bb221e6cbd095c6 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.js.map @@ -0,0 +1 @@ +{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAA6F;AAC7F,uDAAsD;AAEtD,mDAA6C;AAE7C,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,aAAa,QAAQ,EAAE;YACpE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,eAAe,UAAU,MAAM,EAAE,EAAE;YAC/E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;OAE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file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.mjs new file mode 100644 index 0000000000000000000000000000000000000000..8c6ea0b269562789b19da1e342be76474e47ba5f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.mjs @@ -0,0 +1,138 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import { CursorPage, Page } from "../../core/pagination.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +import { sleep } from "../../internal/utils.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class Files extends APIResource { + /** + * Create a vector store file by attaching a + * [File](https://platform.openai.com/docs/api-reference/files) to a + * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object). + */ + create(vectorStoreID, body, options) { + return this._client.post(path `/vector_stores/${vectorStoreID}/files`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a vector store file. + */ + retrieve(fileID, params, options) { + const { vector_store_id } = params; + return this._client.get(path `/vector_stores/${vector_store_id}/files/${fileID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Update attributes on a vector store file. + */ + update(fileID, params, options) { + const { vector_store_id, ...body } = params; + return this._client.post(path `/vector_stores/${vector_store_id}/files/${fileID}`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of vector store files. + */ + list(vectorStoreID, query = {}, options) { + return this._client.getAPIList(path `/vector_stores/${vectorStoreID}/files`, (CursorPage), { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete a vector store file. This will remove the file from the vector store but + * the file itself will not be deleted. To delete the file, use the + * [delete file](https://platform.openai.com/docs/api-reference/files/delete) + * endpoint. + */ + delete(fileID, params, options) { + const { vector_store_id } = params; + return this._client.delete(path `/vector_stores/${vector_store_id}/files/${fileID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Attach a file to the given vector store and wait for it to be processed. + */ + async createAndPoll(vectorStoreId, body, options) { + const file = await this.create(vectorStoreId, body, options); + return await this.poll(vectorStoreId, file.id, options); + } + /** + * Wait for the vector store file to finish processing. + * + * Note: this will return even if the file failed to process, you need to check + * file.last_error and file.status to handle these cases + */ + async poll(vectorStoreID, fileID, options) { + const headers = buildHeaders([ + options?.headers, + { + 'X-Stainless-Poll-Helper': 'true', + 'X-Stainless-Custom-Poll-Interval': options?.pollIntervalMs?.toString() ?? undefined, + }, + ]); + while (true) { + const fileResponse = await this.retrieve(fileID, { + vector_store_id: vectorStoreID, + }, { ...options, headers }).withResponse(); + const file = fileResponse.data; + switch (file.status) { + case 'in_progress': + let sleepInterval = 5000; + if (options?.pollIntervalMs) { + sleepInterval = options.pollIntervalMs; + } + else { + const headerInterval = fileResponse.response.headers.get('openai-poll-after-ms'); + if (headerInterval) { + const headerIntervalMs = parseInt(headerInterval); + if (!isNaN(headerIntervalMs)) { + sleepInterval = headerIntervalMs; + } + } + } + await sleep(sleepInterval); + break; + case 'failed': + case 'completed': + return file; + } + } + } + /** + * Upload a file to the `files` API and then attach it to the given vector store. + * + * Note the file will be asynchronously processed (you can use the alternative + * polling helper method to wait for processing to complete). + */ + async upload(vectorStoreId, file, options) { + const fileInfo = await this._client.files.create({ file: file, purpose: 'assistants' }, options); + return this.create(vectorStoreId, { file_id: fileInfo.id }, options); + } + /** + * Add a file to a vector store and poll until processing is complete. + */ + async uploadAndPoll(vectorStoreId, file, options) { + const fileInfo = await this.upload(vectorStoreId, file, options); + return await this.poll(vectorStoreId, fileInfo.id, options); + } + /** + * Retrieve the parsed contents of a vector store file. + */ + content(fileID, params, options) { + const { vector_store_id } = params; + return this._client.getAPIList(path `/vector_stores/${vector_store_id}/files/${fileID}/content`, (Page), { ...options, headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]) }); + } +} +//# sourceMappingURL=files.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..af81a77dd45c6b9080c4513e0c79430ac789281f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/files.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,UAAU,EAAsC,IAAI,EAAE;OACxD,EAAE,YAAY,EAAE;OAEhB,EAAE,KAAK,EAAE;OAET,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,aAAa,QAAQ,EAAE;YACpE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAA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E,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,EAAE,CAC9F,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a4d77af8cc2c14a371bfc771a003e8f8bdadb032 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.mts @@ -0,0 +1,4 @@ +export { FileBatches, type VectorStoreFileBatch, type FileBatchCreateParams, type FileBatchRetrieveParams, type FileBatchCancelParams, type FileBatchListFilesParams, } from "./file-batches.mjs"; +export { Files, type VectorStoreFile, type VectorStoreFileDeleted, type FileContentResponse, type FileCreateParams, type FileRetrieveParams, type FileUpdateParams, type FileListParams, type FileDeleteParams, type FileContentParams, type VectorStoreFilesPage, type FileContentResponsesPage, } from "./files.mjs"; +export { VectorStores, type AutoFileChunkingStrategyParam, type FileChunkingStrategy, type FileChunkingStrategyParam, type OtherFileChunkingStrategyObject, type StaticFileChunkingStrategy, type StaticFileChunkingStrategyObject, type StaticFileChunkingStrategyObjectParam, type VectorStore, type VectorStoreDeleted, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreSearchParams, type VectorStoresPage, type VectorStoreSearchResponsesPage, } from "./vector-stores.mjs"; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..b6518a98241ba876ba37bdd97a8520427d6eb882 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EACL,YAAY,EACZ,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,GACpC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0780221d2862b81d1eb01c6310612c08e2025da4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.ts @@ -0,0 +1,4 @@ +export { FileBatches, type VectorStoreFileBatch, type FileBatchCreateParams, type FileBatchRetrieveParams, type FileBatchCancelParams, type FileBatchListFilesParams, } from "./file-batches.js"; +export { Files, type VectorStoreFile, type VectorStoreFileDeleted, type FileContentResponse, type FileCreateParams, type FileRetrieveParams, type FileUpdateParams, type FileListParams, type FileDeleteParams, type FileContentParams, type VectorStoreFilesPage, type FileContentResponsesPage, } from "./files.js"; +export { VectorStores, type AutoFileChunkingStrategyParam, type FileChunkingStrategy, type FileChunkingStrategyParam, type OtherFileChunkingStrategyObject, type StaticFileChunkingStrategy, type StaticFileChunkingStrategyObject, type StaticFileChunkingStrategyObjectParam, type VectorStore, type VectorStoreDeleted, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreSearchParams, type VectorStoresPage, type VectorStoreSearchResponsesPage, } from "./vector-stores.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..1df7cb4ed8c2487ffba26b7941a0f87d13cbb328 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EACL,YAAY,EACZ,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,GACpC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.js new file mode 100644 index 0000000000000000000000000000000000000000..f0e03076d817330f542b5f52b20ebf9de663a73a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.js @@ -0,0 +1,11 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.VectorStores = exports.Files = exports.FileBatches = void 0; +var file_batches_1 = require("./file-batches.js"); +Object.defineProperty(exports, "FileBatches", { enumerable: true, get: function () { return file_batches_1.FileBatches; } }); +var files_1 = require("./files.js"); +Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } }); +var vector_stores_1 = require("./vector-stores.js"); +Object.defineProperty(exports, "VectorStores", { enumerable: true, get: function () { return vector_stores_1.VectorStores; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0a8e8d6e8fe58283cfdb22b0cf256cc3455c5472 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,oDAkByB;AAjBvB,6GAAA,YAAY,OAAA"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..9a44a01f8b6e840a4639c76ce3bc2c8610e65e44 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.mjs @@ -0,0 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +export { FileBatches, } from "./file-batches.mjs"; +export { Files, } from "./files.mjs"; +export { VectorStores, } from "./vector-stores.mjs"; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..37bb194954c4cac19372d6f8626c064395a1b12c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAMZ;OACM,EACL,KAAK,GAYN;OACM,EACL,YAAY,GAiBb"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.mts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..af829e8d7441e7032c3a38997545a982038fe5d0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.mts @@ -0,0 +1,373 @@ +import { APIResource } from "../../core/resource.mjs"; +import * as Shared from "../shared.mjs"; +import * as FileBatchesAPI from "./file-batches.mjs"; +import { FileBatchCancelParams, FileBatchCreateParams, FileBatchListFilesParams, FileBatchRetrieveParams, FileBatches, VectorStoreFileBatch } from "./file-batches.mjs"; +import * as FilesAPI from "./files.mjs"; +import { FileContentParams, FileContentResponse, FileContentResponsesPage, FileCreateParams, FileDeleteParams, FileListParams, FileRetrieveParams, FileUpdateParams, Files, VectorStoreFile, VectorStoreFileDeleted, VectorStoreFilesPage } from "./files.mjs"; +import { APIPromise } from "../../core/api-promise.mjs"; +import { CursorPage, type CursorPageParams, Page, PagePromise } from "../../core/pagination.mjs"; +import { RequestOptions } from "../../internal/request-options.mjs"; +export declare class VectorStores extends APIResource { + files: FilesAPI.Files; + fileBatches: FileBatchesAPI.FileBatches; + /** + * Create a vector store. + */ + create(body: VectorStoreCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves a vector store. + */ + retrieve(vectorStoreID: string, options?: RequestOptions): APIPromise; + /** + * Modifies a vector store. + */ + update(vectorStoreID: string, body: VectorStoreUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of vector stores. + */ + list(query?: VectorStoreListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete a vector store. + */ + delete(vectorStoreID: string, options?: RequestOptions): APIPromise; + /** + * Search a vector store for relevant chunks based on a query and file attributes + * filter. + */ + search(vectorStoreID: string, body: VectorStoreSearchParams, options?: RequestOptions): PagePromise; +} +export type VectorStoresPage = CursorPage; +export type VectorStoreSearchResponsesPage = Page; +/** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ +export interface AutoFileChunkingStrategyParam { + /** + * Always `auto`. + */ + type: 'auto'; +} +/** + * The strategy used to chunk the file. + */ +export type FileChunkingStrategy = StaticFileChunkingStrategyObject | OtherFileChunkingStrategyObject; +/** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ +export type FileChunkingStrategyParam = AutoFileChunkingStrategyParam | StaticFileChunkingStrategyObjectParam; +/** + * This is returned when the chunking strategy is unknown. Typically, this is + * because the file was indexed before the `chunking_strategy` concept was + * introduced in the API. + */ +export interface OtherFileChunkingStrategyObject { + /** + * Always `other`. + */ + type: 'other'; +} +export interface StaticFileChunkingStrategy { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; +} +export interface StaticFileChunkingStrategyObject { + static: StaticFileChunkingStrategy; + /** + * Always `static`. + */ + type: 'static'; +} +/** + * Customize your own chunking strategy by setting chunk size and chunk overlap. + */ +export interface StaticFileChunkingStrategyObjectParam { + static: StaticFileChunkingStrategy; + /** + * Always `static`. + */ + type: 'static'; +} +/** + * A vector store is a collection of processed files can be used by the + * `file_search` tool. + */ +export interface VectorStore { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the vector store was created. + */ + created_at: number; + file_counts: VectorStore.FileCounts; + /** + * The Unix timestamp (in seconds) for when the vector store was last active. + */ + last_active_at: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the vector store. + */ + name: string; + /** + * The object type, which is always `vector_store`. + */ + object: 'vector_store'; + /** + * The status of the vector store, which can be either `expired`, `in_progress`, or + * `completed`. A status of `completed` indicates that the vector store is ready + * for use. + */ + status: 'expired' | 'in_progress' | 'completed'; + /** + * The total number of bytes used by the files in the vector store. + */ + usage_bytes: number; + /** + * The expiration policy for a vector store. + */ + expires_after?: VectorStore.ExpiresAfter; + /** + * The Unix timestamp (in seconds) for when the vector store will expire. + */ + expires_at?: number | null; +} +export declare namespace VectorStore { + interface FileCounts { + /** + * The number of files that were cancelled. + */ + cancelled: number; + /** + * The number of files that have been successfully processed. + */ + completed: number; + /** + * The number of files that have failed to process. + */ + failed: number; + /** + * The number of files that are currently being processed. + */ + in_progress: number; + /** + * The total number of files. + */ + total: number; + } + /** + * The expiration policy for a vector store. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `last_active_at`. + */ + anchor: 'last_active_at'; + /** + * The number of days after the anchor time that the vector store will expire. + */ + days: number; + } +} +export interface VectorStoreDeleted { + id: string; + deleted: boolean; + object: 'vector_store.deleted'; +} +export interface VectorStoreSearchResponse { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes: { + [key: string]: string | number | boolean; + } | null; + /** + * Content chunks from the file. + */ + content: Array; + /** + * The ID of the vector store file. + */ + file_id: string; + /** + * The name of the vector store file. + */ + filename: string; + /** + * The similarity score for the result. + */ + score: number; +} +export declare namespace VectorStoreSearchResponse { + interface Content { + /** + * The text content returned from search. + */ + text: string; + /** + * The type of content. + */ + type: 'text'; + } +} +export interface VectorStoreCreateParams { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ + chunking_strategy?: FileChunkingStrategyParam; + /** + * The expiration policy for a vector store. + */ + expires_after?: VectorStoreCreateParams.ExpiresAfter; + /** + * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that + * the vector store should use. Useful for tools like `file_search` that can access + * files. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the vector store. + */ + name?: string; +} +export declare namespace VectorStoreCreateParams { + /** + * The expiration policy for a vector store. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `last_active_at`. + */ + anchor: 'last_active_at'; + /** + * The number of days after the anchor time that the vector store will expire. + */ + days: number; + } +} +export interface VectorStoreUpdateParams { + /** + * The expiration policy for a vector store. + */ + expires_after?: VectorStoreUpdateParams.ExpiresAfter | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the vector store. + */ + name?: string | null; +} +export declare namespace VectorStoreUpdateParams { + /** + * The expiration policy for a vector store. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `last_active_at`. + */ + anchor: 'last_active_at'; + /** + * The number of days after the anchor time that the vector store will expire. + */ + days: number; + } +} +export interface VectorStoreListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface VectorStoreSearchParams { + /** + * A query string for a search + */ + query: string | Array; + /** + * A filter to apply based on file attributes. + */ + filters?: Shared.ComparisonFilter | Shared.CompoundFilter; + /** + * The maximum number of results to return. This number should be between 1 and 50 + * inclusive. + */ + max_num_results?: number; + /** + * Ranking options for search. + */ + ranking_options?: VectorStoreSearchParams.RankingOptions; + /** + * Whether to rewrite the natural language query for vector search. + */ + rewrite_query?: boolean; +} +export declare namespace VectorStoreSearchParams { + /** + * Ranking options for search. + */ + interface RankingOptions { + /** + * Enable re-ranking; set to `none` to disable, which can help reduce latency. + */ + ranker?: 'none' | 'auto' | 'default-2024-11-15'; + score_threshold?: number; + } +} +export declare namespace VectorStores { + export { type AutoFileChunkingStrategyParam as AutoFileChunkingStrategyParam, type FileChunkingStrategy as FileChunkingStrategy, type FileChunkingStrategyParam as FileChunkingStrategyParam, type OtherFileChunkingStrategyObject as OtherFileChunkingStrategyObject, type StaticFileChunkingStrategy as StaticFileChunkingStrategy, type StaticFileChunkingStrategyObject as StaticFileChunkingStrategyObject, type StaticFileChunkingStrategyObjectParam as StaticFileChunkingStrategyObjectParam, type VectorStore as VectorStore, type VectorStoreDeleted as VectorStoreDeleted, type VectorStoreSearchResponse as VectorStoreSearchResponse, type VectorStoresPage as VectorStoresPage, type VectorStoreSearchResponsesPage as VectorStoreSearchResponsesPage, type VectorStoreCreateParams as VectorStoreCreateParams, type VectorStoreUpdateParams as VectorStoreUpdateParams, type VectorStoreListParams as VectorStoreListParams, type VectorStoreSearchParams as VectorStoreSearchParams, }; + export { Files as Files, type VectorStoreFile as VectorStoreFile, type VectorStoreFileDeleted as VectorStoreFileDeleted, type FileContentResponse as FileContentResponse, type VectorStoreFilesPage as VectorStoreFilesPage, type FileContentResponsesPage as FileContentResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileContentParams as FileContentParams, }; + export { FileBatches as FileBatches, type VectorStoreFileBatch as VectorStoreFileBatch, type FileBatchCreateParams as FileBatchCreateParams, type FileBatchRetrieveParams as FileBatchRetrieveParams, type FileBatchCancelParams as FileBatchCancelParams, type FileBatchListFilesParams as FileBatchListFilesParams, }; +} +//# sourceMappingURL=vector-stores.d.mts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.mts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.mts.map new file mode 100644 index 0000000000000000000000000000000000000000..97a39c6a4a34dc342a696732ce60af828d7ee924 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.mts.map @@ -0,0 +1 @@ +{"version":3,"file":"vector-stores.d.mts","sourceRoot":"","sources":["../../src/resources/vector-stores/vector-stores.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,cAAc;OACnB,EACL,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACrB;OACM,KAAK,QAAQ;OACb,EACL,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,EACL,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACrB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,IAAI,EAAE,WAAW,EAAE;OAExD,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,c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AAI,yBAAyB,EAC3D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cb7afa7ce78acbd4adeded6952b3be16a0f433fd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.ts @@ -0,0 +1,373 @@ +import { APIResource } from "../../core/resource.js"; +import * as Shared from "../shared.js"; +import * as FileBatchesAPI from "./file-batches.js"; +import { FileBatchCancelParams, FileBatchCreateParams, FileBatchListFilesParams, FileBatchRetrieveParams, FileBatches, VectorStoreFileBatch } from "./file-batches.js"; +import * as FilesAPI from "./files.js"; +import { FileContentParams, FileContentResponse, FileContentResponsesPage, FileCreateParams, FileDeleteParams, FileListParams, FileRetrieveParams, FileUpdateParams, Files, VectorStoreFile, VectorStoreFileDeleted, VectorStoreFilesPage } from "./files.js"; +import { APIPromise } from "../../core/api-promise.js"; +import { CursorPage, type CursorPageParams, Page, PagePromise } from "../../core/pagination.js"; +import { RequestOptions } from "../../internal/request-options.js"; +export declare class VectorStores extends APIResource { + files: FilesAPI.Files; + fileBatches: FileBatchesAPI.FileBatches; + /** + * Create a vector store. + */ + create(body: VectorStoreCreateParams, options?: RequestOptions): APIPromise; + /** + * Retrieves a vector store. + */ + retrieve(vectorStoreID: string, options?: RequestOptions): APIPromise; + /** + * Modifies a vector store. + */ + update(vectorStoreID: string, body: VectorStoreUpdateParams, options?: RequestOptions): APIPromise; + /** + * Returns a list of vector stores. + */ + list(query?: VectorStoreListParams | null | undefined, options?: RequestOptions): PagePromise; + /** + * Delete a vector store. + */ + delete(vectorStoreID: string, options?: RequestOptions): APIPromise; + /** + * Search a vector store for relevant chunks based on a query and file attributes + * filter. + */ + search(vectorStoreID: string, body: VectorStoreSearchParams, options?: RequestOptions): PagePromise; +} +export type VectorStoresPage = CursorPage; +export type VectorStoreSearchResponsesPage = Page; +/** + * The default strategy. This strategy currently uses a `max_chunk_size_tokens` of + * `800` and `chunk_overlap_tokens` of `400`. + */ +export interface AutoFileChunkingStrategyParam { + /** + * Always `auto`. + */ + type: 'auto'; +} +/** + * The strategy used to chunk the file. + */ +export type FileChunkingStrategy = StaticFileChunkingStrategyObject | OtherFileChunkingStrategyObject; +/** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ +export type FileChunkingStrategyParam = AutoFileChunkingStrategyParam | StaticFileChunkingStrategyObjectParam; +/** + * This is returned when the chunking strategy is unknown. Typically, this is + * because the file was indexed before the `chunking_strategy` concept was + * introduced in the API. + */ +export interface OtherFileChunkingStrategyObject { + /** + * Always `other`. + */ + type: 'other'; +} +export interface StaticFileChunkingStrategy { + /** + * The number of tokens that overlap between chunks. The default value is `400`. + * + * Note that the overlap must not exceed half of `max_chunk_size_tokens`. + */ + chunk_overlap_tokens: number; + /** + * The maximum number of tokens in each chunk. The default value is `800`. The + * minimum value is `100` and the maximum value is `4096`. + */ + max_chunk_size_tokens: number; +} +export interface StaticFileChunkingStrategyObject { + static: StaticFileChunkingStrategy; + /** + * Always `static`. + */ + type: 'static'; +} +/** + * Customize your own chunking strategy by setting chunk size and chunk overlap. + */ +export interface StaticFileChunkingStrategyObjectParam { + static: StaticFileChunkingStrategy; + /** + * Always `static`. + */ + type: 'static'; +} +/** + * A vector store is a collection of processed files can be used by the + * `file_search` tool. + */ +export interface VectorStore { + /** + * The identifier, which can be referenced in API endpoints. + */ + id: string; + /** + * The Unix timestamp (in seconds) for when the vector store was created. + */ + created_at: number; + file_counts: VectorStore.FileCounts; + /** + * The Unix timestamp (in seconds) for when the vector store was last active. + */ + last_active_at: number | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata: Shared.Metadata | null; + /** + * The name of the vector store. + */ + name: string; + /** + * The object type, which is always `vector_store`. + */ + object: 'vector_store'; + /** + * The status of the vector store, which can be either `expired`, `in_progress`, or + * `completed`. A status of `completed` indicates that the vector store is ready + * for use. + */ + status: 'expired' | 'in_progress' | 'completed'; + /** + * The total number of bytes used by the files in the vector store. + */ + usage_bytes: number; + /** + * The expiration policy for a vector store. + */ + expires_after?: VectorStore.ExpiresAfter; + /** + * The Unix timestamp (in seconds) for when the vector store will expire. + */ + expires_at?: number | null; +} +export declare namespace VectorStore { + interface FileCounts { + /** + * The number of files that were cancelled. + */ + cancelled: number; + /** + * The number of files that have been successfully processed. + */ + completed: number; + /** + * The number of files that have failed to process. + */ + failed: number; + /** + * The number of files that are currently being processed. + */ + in_progress: number; + /** + * The total number of files. + */ + total: number; + } + /** + * The expiration policy for a vector store. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `last_active_at`. + */ + anchor: 'last_active_at'; + /** + * The number of days after the anchor time that the vector store will expire. + */ + days: number; + } +} +export interface VectorStoreDeleted { + id: string; + deleted: boolean; + object: 'vector_store.deleted'; +} +export interface VectorStoreSearchResponse { + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. Keys are strings with a maximum + * length of 64 characters. Values are strings with a maximum length of 512 + * characters, booleans, or numbers. + */ + attributes: { + [key: string]: string | number | boolean; + } | null; + /** + * Content chunks from the file. + */ + content: Array; + /** + * The ID of the vector store file. + */ + file_id: string; + /** + * The name of the vector store file. + */ + filename: string; + /** + * The similarity score for the result. + */ + score: number; +} +export declare namespace VectorStoreSearchResponse { + interface Content { + /** + * The text content returned from search. + */ + text: string; + /** + * The type of content. + */ + type: 'text'; + } +} +export interface VectorStoreCreateParams { + /** + * The chunking strategy used to chunk the file(s). If not set, will use the `auto` + * strategy. Only applicable if `file_ids` is non-empty. + */ + chunking_strategy?: FileChunkingStrategyParam; + /** + * The expiration policy for a vector store. + */ + expires_after?: VectorStoreCreateParams.ExpiresAfter; + /** + * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that + * the vector store should use. Useful for tools like `file_search` that can access + * files. + */ + file_ids?: Array; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the vector store. + */ + name?: string; +} +export declare namespace VectorStoreCreateParams { + /** + * The expiration policy for a vector store. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `last_active_at`. + */ + anchor: 'last_active_at'; + /** + * The number of days after the anchor time that the vector store will expire. + */ + days: number; + } +} +export interface VectorStoreUpdateParams { + /** + * The expiration policy for a vector store. + */ + expires_after?: VectorStoreUpdateParams.ExpiresAfter | null; + /** + * Set of 16 key-value pairs that can be attached to an object. This can be useful + * for storing additional information about the object in a structured format, and + * querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings with + * a maximum length of 512 characters. + */ + metadata?: Shared.Metadata | null; + /** + * The name of the vector store. + */ + name?: string | null; +} +export declare namespace VectorStoreUpdateParams { + /** + * The expiration policy for a vector store. + */ + interface ExpiresAfter { + /** + * Anchor timestamp after which the expiration policy applies. Supported anchors: + * `last_active_at`. + */ + anchor: 'last_active_at'; + /** + * The number of days after the anchor time that the vector store will expire. + */ + days: number; + } +} +export interface VectorStoreListParams extends CursorPageParams { + /** + * A cursor for use in pagination. `before` is an object ID that defines your place + * in the list. For instance, if you make a list request and receive 100 objects, + * starting with obj_foo, your subsequent call can include before=obj_foo in order + * to fetch the previous page of the list. + */ + before?: string; + /** + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending + * order and `desc` for descending order. + */ + order?: 'asc' | 'desc'; +} +export interface VectorStoreSearchParams { + /** + * A query string for a search + */ + query: string | Array; + /** + * A filter to apply based on file attributes. + */ + filters?: Shared.ComparisonFilter | Shared.CompoundFilter; + /** + * The maximum number of results to return. This number should be between 1 and 50 + * inclusive. + */ + max_num_results?: number; + /** + * Ranking options for search. + */ + ranking_options?: VectorStoreSearchParams.RankingOptions; + /** + * Whether to rewrite the natural language query for vector search. + */ + rewrite_query?: boolean; +} +export declare namespace VectorStoreSearchParams { + /** + * Ranking options for search. + */ + interface RankingOptions { + /** + * Enable re-ranking; set to `none` to disable, which can help reduce latency. + */ + ranker?: 'none' | 'auto' | 'default-2024-11-15'; + score_threshold?: number; + } +} +export declare namespace VectorStores { + export { type AutoFileChunkingStrategyParam as AutoFileChunkingStrategyParam, type FileChunkingStrategy as FileChunkingStrategy, type FileChunkingStrategyParam as FileChunkingStrategyParam, type OtherFileChunkingStrategyObject as OtherFileChunkingStrategyObject, type StaticFileChunkingStrategy as StaticFileChunkingStrategy, type StaticFileChunkingStrategyObject as StaticFileChunkingStrategyObject, type StaticFileChunkingStrategyObjectParam as StaticFileChunkingStrategyObjectParam, type VectorStore as VectorStore, type VectorStoreDeleted as VectorStoreDeleted, type VectorStoreSearchResponse as VectorStoreSearchResponse, type VectorStoresPage as VectorStoresPage, type VectorStoreSearchResponsesPage as VectorStoreSearchResponsesPage, type VectorStoreCreateParams as VectorStoreCreateParams, type VectorStoreUpdateParams as VectorStoreUpdateParams, type VectorStoreListParams as VectorStoreListParams, type VectorStoreSearchParams as VectorStoreSearchParams, }; + export { Files as Files, type VectorStoreFile as VectorStoreFile, type VectorStoreFileDeleted as VectorStoreFileDeleted, type FileContentResponse as FileContentResponse, type VectorStoreFilesPage as VectorStoreFilesPage, type FileContentResponsesPage as FileContentResponsesPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileContentParams as FileContentParams, }; + export { FileBatches as FileBatches, type VectorStoreFileBatch as VectorStoreFileBatch, type FileBatchCreateParams as FileBatchCreateParams, type FileBatchRetrieveParams as FileBatchRetrieveParams, type FileBatchCancelParams as FileBatchCancelParams, type FileBatchListFilesParams as FileBatchListFilesParams, }; +} +//# sourceMappingURL=vector-stores.d.ts.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.ts.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a47a967b85a261356090e48d9de2286550ee85b2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"vector-stores.d.ts","sourceRoot":"","sources":["../../src/resources/vector-stores/vector-stores.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,cAAc;OACnB,EACL,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACrB;OACM,KAAK,QAAQ;OACb,EACL,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,EACL,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACrB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,IAAI,EAAE,WAAW,EAAE;OAExD,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAQxF;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAA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CAAgC,EACzE,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.js b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.js new file mode 100644 index 0000000000000000000000000000000000000000..8d839a0a4aa68cb3cc6e71322780aa1bdacdeccd --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.js @@ -0,0 +1,84 @@ +"use strict"; +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +Object.defineProperty(exports, "__esModule", { value: true }); +exports.VectorStores = void 0; +const tslib_1 = require("../../internal/tslib.js"); +const resource_1 = require("../../core/resource.js"); +const FileBatchesAPI = tslib_1.__importStar(require("./file-batches.js")); +const file_batches_1 = require("./file-batches.js"); +const FilesAPI = tslib_1.__importStar(require("./files.js")); +const files_1 = require("./files.js"); +const pagination_1 = require("../../core/pagination.js"); +const headers_1 = require("../../internal/headers.js"); +const path_1 = require("../../internal/utils/path.js"); +class VectorStores extends resource_1.APIResource { + constructor() { + super(...arguments); + this.files = new FilesAPI.Files(this._client); + this.fileBatches = new FileBatchesAPI.FileBatches(this._client); + } + /** + * Create a vector store. + */ + create(body, options) { + return this._client.post('/vector_stores', { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a vector store. + */ + retrieve(vectorStoreID, options) { + return this._client.get((0, path_1.path) `/vector_stores/${vectorStoreID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a vector store. + */ + update(vectorStoreID, body, options) { + return this._client.post((0, path_1.path) `/vector_stores/${vectorStoreID}`, { + body, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of vector stores. + */ + list(query = {}, options) { + return this._client.getAPIList('/vector_stores', (pagination_1.CursorPage), { + query, + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete a vector store. + */ + delete(vectorStoreID, options) { + return this._client.delete((0, path_1.path) `/vector_stores/${vectorStoreID}`, { + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Search a vector store for relevant chunks based on a query and file attributes + * filter. + */ + search(vectorStoreID, body, options) { + return this._client.getAPIList((0, path_1.path) `/vector_stores/${vectorStoreID}/search`, (pagination_1.Page), { + body, + method: 'post', + ...options, + headers: (0, headers_1.buildHeaders)([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +exports.VectorStores = VectorStores; +VectorStores.Files = files_1.Files; +VectorStores.FileBatches = file_batches_1.FileBatches; +//# sourceMappingURL=vector-stores.js.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.js.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.js.map new file mode 100644 index 0000000000000000000000000000000000000000..25a0993b689251d08ecfe59f0e394fa0dc7ae2a1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.js.map @@ -0,0 +1 @@ +{"version":3,"file":"vector-stores.js","sourceRoot":"","sources":["../../src/resources/vector-stores/vector-stores.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,0EAAiD;AACjD,oDAOwB;AACxB,6DAAoC;AACpC,sCAaiB;AAEjB,yDAA6F;AAC7F,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkFzF,CAAC;IAhFC;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAA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BAAkB,aAAa,EAAE,EAAE;YAChE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,kBAAkB,aAAa,SAAS,EAC5C,CAAA,iBAA+B,CAAA,EAC/B;YACE,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CACF,CAAC;IACJ,CAAC;CACF;AApFD,oCAoFC;AAuYD,YAAY,CAAC,KAAK,GAAG,aAAK,CAAC;AAC3B,YAAY,CAAC,WAAW,GAAG,0BAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.mjs b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.mjs new file mode 100644 index 0000000000000000000000000000000000000000..aaae5d7b7cc6ada6cf6cd5b8ebf077324ef80249 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.mjs @@ -0,0 +1,79 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import { APIResource } from "../../core/resource.mjs"; +import * as FileBatchesAPI from "./file-batches.mjs"; +import { FileBatches, } from "./file-batches.mjs"; +import * as FilesAPI from "./files.mjs"; +import { Files, } from "./files.mjs"; +import { CursorPage, Page } from "../../core/pagination.mjs"; +import { buildHeaders } from "../../internal/headers.mjs"; +import { path } from "../../internal/utils/path.mjs"; +export class VectorStores extends APIResource { + constructor() { + super(...arguments); + this.files = new FilesAPI.Files(this._client); + this.fileBatches = new FileBatchesAPI.FileBatches(this._client); + } + /** + * Create a vector store. + */ + create(body, options) { + return this._client.post('/vector_stores', { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Retrieves a vector store. + */ + retrieve(vectorStoreID, options) { + return this._client.get(path `/vector_stores/${vectorStoreID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Modifies a vector store. + */ + update(vectorStoreID, body, options) { + return this._client.post(path `/vector_stores/${vectorStoreID}`, { + body, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Returns a list of vector stores. + */ + list(query = {}, options) { + return this._client.getAPIList('/vector_stores', (CursorPage), { + query, + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Delete a vector store. + */ + delete(vectorStoreID, options) { + return this._client.delete(path `/vector_stores/${vectorStoreID}`, { + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } + /** + * Search a vector store for relevant chunks based on a query and file attributes + * filter. + */ + search(vectorStoreID, body, options) { + return this._client.getAPIList(path `/vector_stores/${vectorStoreID}/search`, (Page), { + body, + method: 'post', + ...options, + headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]), + }); + } +} +VectorStores.Files = Files; +VectorStores.FileBatches = FileBatches; +//# sourceMappingURL=vector-stores.mjs.map \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.mjs.map b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.mjs.map new file mode 100644 index 0000000000000000000000000000000000000000..2d841e740f0e6d07a7258139835722d5b9548479 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/resources/vector-stores/vector-stores.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"vector-stores.mjs","sourceRoot":"","sources":["../../src/resources/vector-stores/vector-stores.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,cAAc;OACnB,EAKL,WAAW,GAEZ;OACM,KAAK,QAAQ;OACb,EASL,KAAK,GAIN;OAEM,EAAE,UAAU,EAAyB,IAAI,EAAe;OACxD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkFzF,CAAC;IAhFC;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACzC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,aAAa,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,aAAqB,EACr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YD,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/README.md b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/README.md new file mode 100644 index 0000000000000000000000000000000000000000..485fce8617c9df053f0bed2dd56873df0371b0d0 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/README.md @@ -0,0 +1,3 @@ +# `core` + +This directory holds public modules implementing non-resource-specific SDK functionality. diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/api-promise.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/api-promise.ts new file mode 100644 index 0000000000000000000000000000000000000000..9e6c756c817d2fd6ab9ea9e8a3fa30867298022e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/api-promise.ts @@ -0,0 +1,101 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { type OpenAI } from '../client'; + +import { type PromiseOrValue } from '../internal/types'; +import { + type APIResponseProps, + defaultParseResponse, + type WithRequestID, + addRequestID, +} from '../internal/parse'; + +/** + * A subclass of `Promise` providing additional helper methods + * for interacting with the SDK. + */ +export class APIPromise extends Promise> { + private parsedPromise: Promise> | undefined; + #client: OpenAI; + + constructor( + client: OpenAI, + private responsePromise: Promise, + private parseResponse: ( + client: OpenAI, + props: APIResponseProps, + ) => PromiseOrValue> = defaultParseResponse, + ) { + super((resolve) => { + // this is maybe a bit weird but this has to be a no-op to not implicitly + // parse the response body; instead .then, .catch, .finally are overridden + // to parse the response + resolve(null as any); + }); + this.#client = client; + } + + _thenUnwrap(transform: (data: T, props: APIResponseProps) => U): APIPromise { + return new APIPromise(this.#client, this.responsePromise, async (client, props) => + addRequestID(transform(await this.parseResponse(client, props), props), props.response), + ); + } + + /** + * Gets the raw `Response` instance instead of parsing the response + * data. + * + * If you want to parse the response body but still get the `Response` + * instance, you can use {@link withResponse()}. + * + * 👋 Getting the wrong TypeScript type for `Response`? + * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]` + * to your `tsconfig.json`. + */ + asResponse(): Promise { + return this.responsePromise.then((p) => p.response); + } + + /** + * Gets the parsed response data, the raw `Response` instance and the ID of the request, + * returned via the X-Request-ID header which is useful for debugging requests and reporting + * issues to OpenAI. + * + * If you just want to get the raw `Response` instance without parsing it, + * you can use {@link asResponse()}. + * + * 👋 Getting the wrong TypeScript type for `Response`? + * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]` + * to your `tsconfig.json`. + */ + async withResponse(): Promise<{ data: T; response: Response; request_id: string | null }> { + const [data, response] = await Promise.all([this.parse(), this.asResponse()]); + return { data, response, request_id: response.headers.get('x-request-id') }; + } + + private parse(): Promise> { + if (!this.parsedPromise) { + this.parsedPromise = this.responsePromise.then((data) => + this.parseResponse(this.#client, data), + ) as any as Promise>; + } + return this.parsedPromise; + } + + override then, TResult2 = never>( + onfulfilled?: ((value: WithRequestID) => TResult1 | PromiseLike) | undefined | null, + onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null, + ): Promise { + return this.parse().then(onfulfilled, onrejected); + } + + override catch( + onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null, + ): Promise | TResult> { + return this.parse().catch(onrejected); + } + + override finally(onfinally?: (() => void) | undefined | null): Promise> { + return this.parse().finally(onfinally); + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/error.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/error.ts new file mode 100644 index 0000000000000000000000000000000000000000..723a15dd1734a1a1de97ba87ffcdbea29252ee65 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/error.ts @@ -0,0 +1,160 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { castToError } from '../internal/errors'; + +export class OpenAIError extends Error {} + +export class APIError< + TStatus extends number | undefined = number | undefined, + THeaders extends Headers | undefined = Headers | undefined, + TError extends Object | undefined = Object | undefined, +> extends OpenAIError { + /** HTTP status for the response that caused the error */ + readonly status: TStatus; + /** HTTP headers for the response that caused the error */ + readonly headers: THeaders; + /** JSON body of the response that caused the error */ + readonly error: TError; + + readonly code: string | null | undefined; + readonly param: string | null | undefined; + readonly type: string | undefined; + + readonly requestID: string | null | undefined; + + constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders) { + super(`${APIError.makeMessage(status, error, message)}`); + this.status = status; + this.headers = headers; + this.requestID = headers?.get('x-request-id'); + this.error = error; + + const data = error as Record; + this.code = data?.['code']; + this.param = data?.['param']; + this.type = data?.['type']; + } + + private static makeMessage(status: number | undefined, error: any, message: string | undefined) { + const msg = + error?.message ? + typeof error.message === 'string' ? + error.message + : JSON.stringify(error.message) + : error ? JSON.stringify(error) + : message; + + if (status && msg) { + return `${status} ${msg}`; + } + if (status) { + return `${status} status code (no body)`; + } + if (msg) { + return msg; + } + return '(no status code or body)'; + } + + static generate( + status: number | undefined, + errorResponse: Object | undefined, + message: string | undefined, + headers: Headers | undefined, + ): APIError { + if (!status || !headers) { + return new APIConnectionError({ message, cause: castToError(errorResponse) }); + } + + const error = (errorResponse as Record)?.['error']; + + if (status === 400) { + return new BadRequestError(status, error, message, headers); + } + + if (status === 401) { + return new AuthenticationError(status, error, message, headers); + } + + if (status === 403) { + return new PermissionDeniedError(status, error, message, headers); + } + + if (status === 404) { + return new NotFoundError(status, error, message, headers); + } + + if (status === 409) { + return new ConflictError(status, error, message, headers); + } + + if (status === 422) { + return new UnprocessableEntityError(status, error, message, headers); + } + + if (status === 429) { + return new RateLimitError(status, error, message, headers); + } + + if (status >= 500) { + return new InternalServerError(status, error, message, headers); + } + + return new APIError(status, error, message, headers); + } +} + +export class APIUserAbortError extends APIError { + constructor({ message }: { message?: string } = {}) { + super(undefined, undefined, message || 'Request was aborted.', undefined); + } +} + +export class APIConnectionError extends APIError { + constructor({ message, cause }: { message?: string | undefined; cause?: Error | undefined }) { + super(undefined, undefined, message || 'Connection error.', undefined); + // in some environments the 'cause' property is already declared + // @ts-ignore + if (cause) this.cause = cause; + } +} + +export class APIConnectionTimeoutError extends APIConnectionError { + constructor({ message }: { message?: string } = {}) { + super({ message: message ?? 'Request timed out.' }); + } +} + +export class BadRequestError extends APIError<400, Headers> {} + +export class AuthenticationError extends APIError<401, Headers> {} + +export class PermissionDeniedError extends APIError<403, Headers> {} + +export class NotFoundError extends APIError<404, Headers> {} + +export class ConflictError extends APIError<409, Headers> {} + +export class UnprocessableEntityError extends APIError<422, Headers> {} + +export class RateLimitError extends APIError<429, Headers> {} + +export class InternalServerError extends APIError {} + +export class LengthFinishReasonError extends OpenAIError { + constructor() { + super(`Could not parse response content as the length limit was reached`); + } +} + +export class ContentFilterFinishReasonError extends OpenAIError { + constructor() { + super(`Could not parse response content as the request was rejected by the content filter`); + } +} + +export class InvalidWebhookSignatureError extends Error { + constructor(message: string) { + super(message); + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/pagination.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/pagination.ts new file mode 100644 index 0000000000000000000000000000000000000000..9bef26447bd132891ff40d05962b7afd1e465194 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/pagination.ts @@ -0,0 +1,269 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { OpenAIError } from './error'; +import { FinalRequestOptions } from '../internal/request-options'; +import { defaultParseResponse, WithRequestID } from '../internal/parse'; +import { APIPromise } from './api-promise'; +import { type OpenAI } from '../client'; +import { type APIResponseProps } from '../internal/parse'; +import { maybeObj } from '../internal/utils/values'; + +export type PageRequestOptions = Pick; + +export abstract class AbstractPage implements AsyncIterable { + #client: OpenAI; + protected options: FinalRequestOptions; + + protected response: Response; + protected body: unknown; + + constructor(client: OpenAI, response: Response, body: unknown, options: FinalRequestOptions) { + this.#client = client; + this.options = options; + this.response = response; + this.body = body; + } + + abstract nextPageRequestOptions(): PageRequestOptions | null; + + abstract getPaginatedItems(): Item[]; + + hasNextPage(): boolean { + const items = this.getPaginatedItems(); + if (!items.length) return false; + return this.nextPageRequestOptions() != null; + } + + async getNextPage(): Promise { + const nextOptions = this.nextPageRequestOptions(); + if (!nextOptions) { + throw new OpenAIError( + 'No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.', + ); + } + + return await this.#client.requestAPIList(this.constructor as any, nextOptions); + } + + async *iterPages(): AsyncGenerator { + let page: this = this; + yield page; + while (page.hasNextPage()) { + page = await page.getNextPage(); + yield page; + } + } + + async *[Symbol.asyncIterator](): AsyncGenerator { + for await (const page of this.iterPages()) { + for (const item of page.getPaginatedItems()) { + yield item; + } + } + } +} + +/** + * This subclass of Promise will resolve to an instantiated Page once the request completes. + * + * It also implements AsyncIterable to allow auto-paginating iteration on an unawaited list call, eg: + * + * for await (const item of client.items.list()) { + * console.log(item) + * } + */ +export class PagePromise< + PageClass extends AbstractPage, + Item = ReturnType[number], + > + extends APIPromise + implements AsyncIterable +{ + constructor( + client: OpenAI, + request: Promise, + Page: new (...args: ConstructorParameters) => PageClass, + ) { + super( + client, + request, + async (client, props) => + new Page( + client, + props.response, + await defaultParseResponse(client, props), + props.options, + ) as WithRequestID, + ); + } + + /** + * Allow auto-paginating iteration on an unawaited list call, eg: + * + * for await (const item of client.items.list()) { + * console.log(item) + * } + */ + async *[Symbol.asyncIterator](): AsyncGenerator { + const page = await this; + for await (const item of page) { + yield item; + } + } +} + +export interface PageResponse { + data: Array; + + object: string; +} + +/** + * Note: no pagination actually occurs yet, this is for forwards-compatibility. + */ +export class Page extends AbstractPage implements PageResponse { + data: Array; + + object: string; + + constructor(client: OpenAI, response: Response, body: PageResponse, options: FinalRequestOptions) { + super(client, response, body, options); + + this.data = body.data || []; + this.object = body.object; + } + + getPaginatedItems(): Item[] { + return this.data ?? []; + } + + nextPageRequestOptions(): PageRequestOptions | null { + return null; + } +} + +export interface CursorPageResponse { + data: Array; + + has_more: boolean; +} + +export interface CursorPageParams { + after?: string; + + limit?: number; +} + +export class CursorPage + extends AbstractPage + implements CursorPageResponse +{ + data: Array; + + has_more: boolean; + + constructor( + client: OpenAI, + response: Response, + body: CursorPageResponse, + options: FinalRequestOptions, + ) { + super(client, response, body, options); + + this.data = body.data || []; + this.has_more = body.has_more || false; + } + + getPaginatedItems(): Item[] { + return this.data ?? []; + } + + override hasNextPage(): boolean { + if (this.has_more === false) { + return false; + } + + return super.hasNextPage(); + } + + nextPageRequestOptions(): PageRequestOptions | null { + const data = this.getPaginatedItems(); + const id = data[data.length - 1]?.id; + if (!id) { + return null; + } + + return { + ...this.options, + query: { + ...maybeObj(this.options.query), + after: id, + }, + }; + } +} + +export interface ConversationCursorPageResponse { + data: Array; + + has_more: boolean; + + last_id: string; +} + +export interface ConversationCursorPageParams { + after?: string; + + limit?: number; +} + +export class ConversationCursorPage + extends AbstractPage + implements ConversationCursorPageResponse +{ + data: Array; + + has_more: boolean; + + last_id: string; + + constructor( + client: OpenAI, + response: Response, + body: ConversationCursorPageResponse, + options: FinalRequestOptions, + ) { + super(client, response, body, options); + + this.data = body.data || []; + this.has_more = body.has_more || false; + this.last_id = body.last_id || ''; + } + + getPaginatedItems(): Item[] { + return this.data ?? []; + } + + override hasNextPage(): boolean { + if (this.has_more === false) { + return false; + } + + return super.hasNextPage(); + } + + nextPageRequestOptions(): PageRequestOptions | null { + const cursor = this.last_id; + if (!cursor) { + return null; + } + + return { + ...this.options, + query: { + ...maybeObj(this.options.query), + after: cursor, + }, + }; + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/resource.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/resource.ts new file mode 100644 index 0000000000000000000000000000000000000000..d9a191e58a23efeae8bd5858632de083f223f64b --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/resource.ts @@ -0,0 +1,11 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import type { OpenAI } from '../client'; + +export abstract class APIResource { + protected _client: OpenAI; + + constructor(client: OpenAI) { + this._client = client; + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/streaming.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/streaming.ts new file mode 100644 index 0000000000000000000000000000000000000000..efd85404622967e0f57fc76f43bae7c9108021bc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/streaming.ts @@ -0,0 +1,348 @@ +import { OpenAIError } from './error'; +import { type ReadableStream } from '../internal/shim-types'; +import { makeReadableStream } from '../internal/shims'; +import { findDoubleNewlineIndex, LineDecoder } from '../internal/decoders/line'; +import { ReadableStreamToAsyncIterable } from '../internal/shims'; +import { isAbortError } from '../internal/errors'; +import { encodeUTF8 } from '../internal/utils/bytes'; +import { loggerFor } from '../internal/utils/log'; +import type { OpenAI } from '../client'; + +import { APIError } from './error'; + +type Bytes = string | ArrayBuffer | Uint8Array | null | undefined; + +export type ServerSentEvent = { + event: string | null; + data: string; + raw: string[]; +}; + +export class Stream implements AsyncIterable { + controller: AbortController; + #client: OpenAI | undefined; + + constructor( + private iterator: () => AsyncIterator, + controller: AbortController, + client?: OpenAI, + ) { + this.controller = controller; + this.#client = client; + } + + static fromSSEResponse( + response: Response, + controller: AbortController, + client?: OpenAI, + ): Stream { + let consumed = false; + const logger = client ? loggerFor(client) : console; + + async function* iterator(): AsyncIterator { + if (consumed) { + throw new OpenAIError('Cannot iterate over a consumed stream, use `.tee()` to split the stream.'); + } + consumed = true; + let done = false; + try { + for await (const sse of _iterSSEMessages(response, controller)) { + if (done) continue; + + if (sse.data.startsWith('[DONE]')) { + done = true; + continue; + } + + if (sse.event === null || !sse.event.startsWith('thread.')) { + let data; + + try { + data = JSON.parse(sse.data); + } catch (e) { + logger.error(`Could not parse message into JSON:`, sse.data); + logger.error(`From chunk:`, sse.raw); + throw e; + } + + if (data && data.error) { + throw new APIError(undefined, data.error, undefined, response.headers); + } + + yield data; + } else { + let data; + try { + data = JSON.parse(sse.data); + } catch (e) { + console.error(`Could not parse message into JSON:`, sse.data); + console.error(`From chunk:`, sse.raw); + throw e; + } + // TODO: Is this where the error should be thrown? + if (sse.event == 'error') { + throw new APIError(undefined, data.error, data.message, undefined); + } + yield { event: sse.event, data: data } as any; + } + } + done = true; + } catch (e) { + // If the user calls `stream.controller.abort()`, we should exit without throwing. + if (isAbortError(e)) return; + throw e; + } finally { + // If the user `break`s, abort the ongoing request. + if (!done) controller.abort(); + } + } + + return new Stream(iterator, controller, client); + } + + /** + * Generates a Stream from a newline-separated ReadableStream + * where each item is a JSON value. + */ + static fromReadableStream( + readableStream: ReadableStream, + controller: AbortController, + client?: OpenAI, + ): Stream { + let consumed = false; + + async function* iterLines(): AsyncGenerator { + const lineDecoder = new LineDecoder(); + + const iter = ReadableStreamToAsyncIterable(readableStream); + for await (const chunk of iter) { + for (const line of lineDecoder.decode(chunk)) { + yield line; + } + } + + for (const line of lineDecoder.flush()) { + yield line; + } + } + + async function* iterator(): AsyncIterator { + if (consumed) { + throw new OpenAIError('Cannot iterate over a consumed stream, use `.tee()` to split the stream.'); + } + consumed = true; + let done = false; + try { + for await (const line of iterLines()) { + if (done) continue; + if (line) yield JSON.parse(line); + } + done = true; + } catch (e) { + // If the user calls `stream.controller.abort()`, we should exit without throwing. + if (isAbortError(e)) return; + throw e; + } finally { + // If the user `break`s, abort the ongoing request. + if (!done) controller.abort(); + } + } + + return new Stream(iterator, controller, client); + } + + [Symbol.asyncIterator](): AsyncIterator { + return this.iterator(); + } + + /** + * Splits the stream into two streams which can be + * independently read from at different speeds. + */ + tee(): [Stream, Stream] { + const left: Array>> = []; + const right: Array>> = []; + const iterator = this.iterator(); + + const teeIterator = (queue: Array>>): AsyncIterator => { + return { + next: () => { + if (queue.length === 0) { + const result = iterator.next(); + left.push(result); + right.push(result); + } + return queue.shift()!; + }, + }; + }; + + return [ + new Stream(() => teeIterator(left), this.controller, this.#client), + new Stream(() => teeIterator(right), this.controller, this.#client), + ]; + } + + /** + * Converts this stream to a newline-separated ReadableStream of + * JSON stringified values in the stream + * which can be turned back into a Stream with `Stream.fromReadableStream()`. + */ + toReadableStream(): ReadableStream { + const self = this; + let iter: AsyncIterator; + + return makeReadableStream({ + async start() { + iter = self[Symbol.asyncIterator](); + }, + async pull(ctrl: any) { + try { + const { value, done } = await iter.next(); + if (done) return ctrl.close(); + + const bytes = encodeUTF8(JSON.stringify(value) + '\n'); + + ctrl.enqueue(bytes); + } catch (err) { + ctrl.error(err); + } + }, + async cancel() { + await iter.return?.(); + }, + }); + } +} + +export async function* _iterSSEMessages( + response: Response, + controller: AbortController, +): AsyncGenerator { + if (!response.body) { + controller.abort(); + if ( + typeof (globalThis as any).navigator !== 'undefined' && + (globalThis as any).navigator.product === 'ReactNative' + ) { + throw new OpenAIError( + `The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`, + ); + } + throw new OpenAIError(`Attempted to iterate over a response with no body`); + } + + const sseDecoder = new SSEDecoder(); + const lineDecoder = new LineDecoder(); + + const iter = ReadableStreamToAsyncIterable(response.body); + for await (const sseChunk of iterSSEChunks(iter)) { + for (const line of lineDecoder.decode(sseChunk)) { + const sse = sseDecoder.decode(line); + if (sse) yield sse; + } + } + + for (const line of lineDecoder.flush()) { + const sse = sseDecoder.decode(line); + if (sse) yield sse; + } +} + +/** + * Given an async iterable iterator, iterates over it and yields full + * SSE chunks, i.e. yields when a double new-line is encountered. + */ +async function* iterSSEChunks(iterator: AsyncIterableIterator): AsyncGenerator { + let data = new Uint8Array(); + + for await (const chunk of iterator) { + if (chunk == null) { + continue; + } + + const binaryChunk = + chunk instanceof ArrayBuffer ? new Uint8Array(chunk) + : typeof chunk === 'string' ? encodeUTF8(chunk) + : chunk; + + let newData = new Uint8Array(data.length + binaryChunk.length); + newData.set(data); + newData.set(binaryChunk, data.length); + data = newData; + + let patternIndex; + while ((patternIndex = findDoubleNewlineIndex(data)) !== -1) { + yield data.slice(0, patternIndex); + data = data.slice(patternIndex); + } + } + + if (data.length > 0) { + yield data; + } +} + +class SSEDecoder { + private data: string[]; + private event: string | null; + private chunks: string[]; + + constructor() { + this.event = null; + this.data = []; + this.chunks = []; + } + + decode(line: string) { + if (line.endsWith('\r')) { + line = line.substring(0, line.length - 1); + } + + if (!line) { + // empty line and we didn't previously encounter any messages + if (!this.event && !this.data.length) return null; + + const sse: ServerSentEvent = { + event: this.event, + data: this.data.join('\n'), + raw: this.chunks, + }; + + this.event = null; + this.data = []; + this.chunks = []; + + return sse; + } + + this.chunks.push(line); + + if (line.startsWith(':')) { + return null; + } + + let [fieldname, _, value] = partition(line, ':'); + + if (value.startsWith(' ')) { + value = value.substring(1); + } + + if (fieldname === 'event') { + this.event = value; + } else if (fieldname === 'data') { + this.data.push(value); + } + + return null; + } +} + +function partition(str: string, delimiter: string): [string, string, string] { + const index = str.indexOf(delimiter); + if (index !== -1) { + return [str.substring(0, index), delimiter, str.substring(index + delimiter.length)]; + } + + return [str, '', '']; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/uploads.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/uploads.ts new file mode 100644 index 0000000000000000000000000000000000000000..2882ca6d18167e95dc8f204846ee798db6b131f1 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/core/uploads.ts @@ -0,0 +1,2 @@ +export { type Uploadable } from '../internal/uploads'; +export { toFile, type ToFileInput } from '../internal/to-file'; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/helpers/audio.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/helpers/audio.ts new file mode 100644 index 0000000000000000000000000000000000000000..ecb6d74814bd3bc193c14ae117ce0e7922562f1a --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/helpers/audio.ts @@ -0,0 +1,146 @@ +import { spawn } from 'node:child_process'; +import { Readable } from 'node:stream'; +import { platform, versions } from 'node:process'; +import { checkFileSupport } from '../internal/uploads'; + +const DEFAULT_SAMPLE_RATE = 24000; +const DEFAULT_CHANNELS = 1; + +const isNode = Boolean(versions?.node); + +const recordingProviders: Record = { + win32: 'dshow', + darwin: 'avfoundation', + linux: 'alsa', + aix: 'alsa', + android: 'alsa', + freebsd: 'alsa', + haiku: 'alsa', + sunos: 'alsa', + netbsd: 'alsa', + openbsd: 'alsa', + cygwin: 'dshow', +}; + +function isResponse(stream: NodeJS.ReadableStream | Response | File): stream is Response { + return typeof (stream as any).body !== 'undefined'; +} + +function isFile(stream: NodeJS.ReadableStream | Response | File): stream is File { + checkFileSupport(); + return stream instanceof File; +} + +async function nodejsPlayAudio(stream: NodeJS.ReadableStream | Response | File): Promise { + return new Promise((resolve, reject) => { + try { + const ffplay = spawn('ffplay', ['-autoexit', '-nodisp', '-i', 'pipe:0']); + + if (isResponse(stream)) { + (stream.body! as any).pipe(ffplay.stdin); + } else if (isFile(stream)) { + Readable.from(stream.stream()).pipe(ffplay.stdin); + } else { + stream.pipe(ffplay.stdin); + } + + ffplay.on('close', (code: number) => { + if (code !== 0) { + reject(new Error(`ffplay process exited with code ${code}`)); + } + resolve(); + }); + } catch (error) { + reject(error); + } + }); +} + +export async function playAudio(input: NodeJS.ReadableStream | Response | File): Promise { + if (isNode) { + return nodejsPlayAudio(input); + } + + throw new Error( + 'Play audio is not supported in the browser yet. Check out https://npm.im/wavtools as an alternative.', + ); +} + +type RecordAudioOptions = { + signal?: AbortSignal; + device?: number; + timeout?: number; +}; + +function nodejsRecordAudio({ signal, device, timeout }: RecordAudioOptions = {}): Promise { + checkFileSupport(); + return new Promise((resolve, reject) => { + const data: any[] = []; + const provider = recordingProviders[platform]; + try { + const ffmpeg = spawn( + 'ffmpeg', + [ + '-f', + provider, + '-i', + `:${device ?? 0}`, // default audio input device; adjust as needed + '-ar', + DEFAULT_SAMPLE_RATE.toString(), + '-ac', + DEFAULT_CHANNELS.toString(), + '-f', + 'wav', + 'pipe:1', + ], + { + stdio: ['ignore', 'pipe', 'pipe'], + }, + ); + + ffmpeg.stdout.on('data', (chunk) => { + data.push(chunk); + }); + + ffmpeg.on('error', (error) => { + console.error(error); + reject(error); + }); + + ffmpeg.on('close', (code) => { + returnData(); + }); + + function returnData() { + const audioBuffer = Buffer.concat(data); + const audioFile = new File([audioBuffer], 'audio.wav', { type: 'audio/wav' }); + resolve(audioFile); + } + + if (typeof timeout === 'number' && timeout > 0) { + const internalSignal = AbortSignal.timeout(timeout); + internalSignal.addEventListener('abort', () => { + ffmpeg.kill('SIGTERM'); + }); + } + + if (signal) { + signal.addEventListener('abort', () => { + ffmpeg.kill('SIGTERM'); + }); + } + } catch (error) { + reject(error); + } + }); +} + +export async function recordAudio(options: RecordAudioOptions = {}) { + if (isNode) { + return nodejsRecordAudio(options); + } + + throw new Error( + 'Record audio is not supported in the browser. Check out https://npm.im/wavtools as an alternative.', + ); +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/helpers/zod.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/helpers/zod.ts new file mode 100644 index 0000000000000000000000000000000000000000..d12e7f3caacaa541e2b274f988d03f214b5a048d --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/helpers/zod.ts @@ -0,0 +1,154 @@ +import { ResponseFormatJSONSchema } from '../resources/index'; +import type { infer as zodInfer, ZodType } from 'zod'; +import { + AutoParseableResponseFormat, + AutoParseableTextFormat, + AutoParseableTool, + makeParseableResponseFormat, + makeParseableTextFormat, + makeParseableTool, +} from '../lib/parser'; +import { zodToJsonSchema as _zodToJsonSchema } from '../_vendor/zod-to-json-schema'; +import { AutoParseableResponseTool, makeParseableResponseTool } from '../lib/ResponsesParser'; +import { type ResponseFormatTextJSONSchemaConfig } from '../resources/responses/responses'; + +function zodToJsonSchema(schema: ZodType, options: { name: string }): Record { + return _zodToJsonSchema(schema, { + openaiStrictMode: true, + name: options.name, + nameStrategy: 'duplicate-ref', + $refStrategy: 'extract-to-root', + nullableStrategy: 'property', + }); +} + +/** + * Creates a chat completion `JSONSchema` response format object from + * the given Zod schema. + * + * If this is passed to the `.parse()`, `.stream()` or `.runTools()` + * chat completion methods then the response message will contain a + * `.parsed` property that is the result of parsing the content with + * the given Zod object. + * + * ```ts + * const completion = await client.chat.completions.parse({ + * model: 'gpt-4o-2024-08-06', + * messages: [ + * { role: 'system', content: 'You are a helpful math tutor.' }, + * { role: 'user', content: 'solve 8x + 31 = 2' }, + * ], + * response_format: zodResponseFormat( + * z.object({ + * steps: z.array(z.object({ + * explanation: z.string(), + * answer: z.string(), + * })), + * final_answer: z.string(), + * }), + * 'math_answer', + * ), + * }); + * const message = completion.choices[0]?.message; + * if (message?.parsed) { + * console.log(message.parsed); + * console.log(message.parsed.final_answer); + * } + * ``` + * + * This can be passed directly to the `.create()` method but will not + * result in any automatic parsing, you'll have to parse the response yourself. + */ +export function zodResponseFormat( + zodObject: ZodInput, + name: string, + props?: Omit, +): AutoParseableResponseFormat> { + return makeParseableResponseFormat( + { + type: 'json_schema', + json_schema: { + ...props, + name, + strict: true, + schema: zodToJsonSchema(zodObject, { name }), + }, + }, + (content) => zodObject.parse(JSON.parse(content)), + ); +} + +export function zodTextFormat( + zodObject: ZodInput, + name: string, + props?: Omit, +): AutoParseableTextFormat> { + return makeParseableTextFormat( + { + type: 'json_schema', + ...props, + name, + strict: true, + schema: zodToJsonSchema(zodObject, { name }), + }, + (content) => zodObject.parse(JSON.parse(content)), + ); +} + +/** + * Creates a chat completion `function` tool that can be invoked + * automatically by the chat completion `.runTools()` method or automatically + * parsed by `.parse()` / `.stream()`. + */ +export function zodFunction(options: { + name: string; + parameters: Parameters; + function?: ((args: zodInfer) => unknown | Promise) | undefined; + description?: string | undefined; +}): AutoParseableTool<{ + arguments: Parameters; + name: string; + function: (args: zodInfer) => unknown; +}> { + // @ts-expect-error TODO + return makeParseableTool( + { + type: 'function', + function: { + name: options.name, + parameters: zodToJsonSchema(options.parameters, { name: options.name }), + strict: true, + ...(options.description ? { description: options.description } : undefined), + }, + }, + { + callback: options.function, + parser: (args) => options.parameters.parse(JSON.parse(args)), + }, + ); +} + +export function zodResponsesFunction(options: { + name: string; + parameters: Parameters; + function?: ((args: zodInfer) => unknown | Promise) | undefined; + description?: string | undefined; +}): AutoParseableResponseTool<{ + arguments: Parameters; + name: string; + function: (args: zodInfer) => unknown; +}> { + return makeParseableResponseTool( + { + type: 'function', + name: options.name, + parameters: zodToJsonSchema(options.parameters, { name: options.name }), + strict: true, + ...(options.description ? { description: options.description } : undefined), + }, + { + callback: options.function, + parser: (args) => options.parameters.parse(JSON.parse(args)), + }, + ); +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/README.md b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/README.md new file mode 100644 index 0000000000000000000000000000000000000000..3ef5a25bac10eec3925c29eacbfa68a84517c726 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/README.md @@ -0,0 +1,3 @@ +# `internal` + +The modules in this directory are not importable outside this package and will change between releases. diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/builtin-types.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/builtin-types.ts new file mode 100644 index 0000000000000000000000000000000000000000..c23d3bdedc13683a2ad7defc1515539ae2f1b32e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/builtin-types.ts @@ -0,0 +1,93 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise; + +/** + * An alias to the builtin `RequestInit` type so we can + * easily alias it in import statements if there are name clashes. + * + * https://developer.mozilla.org/docs/Web/API/RequestInit + */ +type _RequestInit = RequestInit; + +/** + * An alias to the builtin `Response` type so we can + * easily alias it in import statements if there are name clashes. + * + * https://developer.mozilla.org/docs/Web/API/Response + */ +type _Response = Response; + +/** + * The type for the first argument to `fetch`. + * + * https://developer.mozilla.org/docs/Web/API/Window/fetch#resource + */ +type _RequestInfo = Request | URL | string; + +/** + * The type for constructing `RequestInit` Headers. + * + * https://developer.mozilla.org/docs/Web/API/RequestInit#setting_headers + */ +type _HeadersInit = RequestInit['headers']; + +/** + * The type for constructing `RequestInit` body. + * + * https://developer.mozilla.org/docs/Web/API/RequestInit#body + */ +type _BodyInit = RequestInit['body']; + +/** + * An alias to the builtin `Array` type so we can + * easily alias it in import statements if there are name clashes. + */ +type _Array = Array; + +/** + * An alias to the builtin `Record` type so we can + * easily alias it in import statements if there are name clashes. + */ +type _Record = Record; + +export type { + _Array as Array, + _BodyInit as BodyInit, + _HeadersInit as HeadersInit, + _Record as Record, + _RequestInfo as RequestInfo, + _RequestInit as RequestInit, + _Response as Response, +}; + +/** + * A copy of the builtin `EndingType` type as it isn't fully supported in certain + * environments and attempting to reference the global version will error. + * + * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L27941 + */ +type EndingType = 'native' | 'transparent'; + +/** + * A copy of the builtin `BlobPropertyBag` type as it isn't fully supported in certain + * environments and attempting to reference the global version will error. + * + * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L154 + * https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#options + */ +export interface BlobPropertyBag { + endings?: EndingType; + type?: string; +} + +/** + * A copy of the builtin `FilePropertyBag` type as it isn't fully supported in certain + * environments and attempting to reference the global version will error. + * + * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L503 + * https://developer.mozilla.org/en-US/docs/Web/API/File/File#options + */ +export interface FilePropertyBag extends BlobPropertyBag { + lastModified?: number; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/detect-platform.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/detect-platform.ts new file mode 100644 index 0000000000000000000000000000000000000000..e82d95c92f05cdc6a167aea50becedff88116adc --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/detect-platform.ts @@ -0,0 +1,196 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { VERSION } from '../version'; + +export const isRunningInBrowser = () => { + return ( + // @ts-ignore + typeof window !== 'undefined' && + // @ts-ignore + typeof window.document !== 'undefined' && + // @ts-ignore + typeof navigator !== 'undefined' + ); +}; + +type DetectedPlatform = 'deno' | 'node' | 'edge' | 'unknown'; + +/** + * Note this does not detect 'browser'; for that, use getBrowserInfo(). + */ +function getDetectedPlatform(): DetectedPlatform { + if (typeof Deno !== 'undefined' && Deno.build != null) { + return 'deno'; + } + if (typeof EdgeRuntime !== 'undefined') { + return 'edge'; + } + if ( + Object.prototype.toString.call( + typeof (globalThis as any).process !== 'undefined' ? (globalThis as any).process : 0, + ) === '[object process]' + ) { + return 'node'; + } + return 'unknown'; +} + +declare const Deno: any; +declare const EdgeRuntime: any; +type Arch = 'x32' | 'x64' | 'arm' | 'arm64' | `other:${string}` | 'unknown'; +type PlatformName = + | 'MacOS' + | 'Linux' + | 'Windows' + | 'FreeBSD' + | 'OpenBSD' + | 'iOS' + | 'Android' + | `Other:${string}` + | 'Unknown'; +type Browser = 'ie' | 'edge' | 'chrome' | 'firefox' | 'safari'; +type PlatformProperties = { + 'X-Stainless-Lang': 'js'; + 'X-Stainless-Package-Version': string; + 'X-Stainless-OS': PlatformName; + 'X-Stainless-Arch': Arch; + 'X-Stainless-Runtime': 'node' | 'deno' | 'edge' | `browser:${Browser}` | 'unknown'; + 'X-Stainless-Runtime-Version': string; +}; +const getPlatformProperties = (): PlatformProperties => { + const detectedPlatform = getDetectedPlatform(); + if (detectedPlatform === 'deno') { + return { + 'X-Stainless-Lang': 'js', + 'X-Stainless-Package-Version': VERSION, + 'X-Stainless-OS': normalizePlatform(Deno.build.os), + 'X-Stainless-Arch': normalizeArch(Deno.build.arch), + 'X-Stainless-Runtime': 'deno', + 'X-Stainless-Runtime-Version': + typeof Deno.version === 'string' ? Deno.version : Deno.version?.deno ?? 'unknown', + }; + } + if (typeof EdgeRuntime !== 'undefined') { + return { + 'X-Stainless-Lang': 'js', + 'X-Stainless-Package-Version': VERSION, + 'X-Stainless-OS': 'Unknown', + 'X-Stainless-Arch': `other:${EdgeRuntime}`, + 'X-Stainless-Runtime': 'edge', + 'X-Stainless-Runtime-Version': (globalThis as any).process.version, + }; + } + // Check if Node.js + if (detectedPlatform === 'node') { + return { + 'X-Stainless-Lang': 'js', + 'X-Stainless-Package-Version': VERSION, + 'X-Stainless-OS': normalizePlatform((globalThis as any).process.platform ?? 'unknown'), + 'X-Stainless-Arch': normalizeArch((globalThis as any).process.arch ?? 'unknown'), + 'X-Stainless-Runtime': 'node', + 'X-Stainless-Runtime-Version': (globalThis as any).process.version ?? 'unknown', + }; + } + + const browserInfo = getBrowserInfo(); + if (browserInfo) { + return { + 'X-Stainless-Lang': 'js', + 'X-Stainless-Package-Version': VERSION, + 'X-Stainless-OS': 'Unknown', + 'X-Stainless-Arch': 'unknown', + 'X-Stainless-Runtime': `browser:${browserInfo.browser}`, + 'X-Stainless-Runtime-Version': browserInfo.version, + }; + } + + // TODO add support for Cloudflare workers, etc. + return { + 'X-Stainless-Lang': 'js', + 'X-Stainless-Package-Version': VERSION, + 'X-Stainless-OS': 'Unknown', + 'X-Stainless-Arch': 'unknown', + 'X-Stainless-Runtime': 'unknown', + 'X-Stainless-Runtime-Version': 'unknown', + }; +}; + +type BrowserInfo = { + browser: Browser; + version: string; +}; + +declare const navigator: { userAgent: string } | undefined; + +// Note: modified from https://github.com/JS-DevTools/host-environment/blob/b1ab79ecde37db5d6e163c050e54fe7d287d7c92/src/isomorphic.browser.ts +function getBrowserInfo(): BrowserInfo | null { + if (typeof navigator === 'undefined' || !navigator) { + return null; + } + + // NOTE: The order matters here! + const browserPatterns = [ + { key: 'edge' as const, pattern: /Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ }, + { key: 'ie' as const, pattern: /MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ }, + { key: 'ie' as const, pattern: /Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/ }, + { key: 'chrome' as const, pattern: /Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ }, + { key: 'firefox' as const, pattern: /Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ }, + { key: 'safari' as const, pattern: /(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/ }, + ]; + + // Find the FIRST matching browser + for (const { key, pattern } of browserPatterns) { + const match = pattern.exec(navigator.userAgent); + if (match) { + const major = match[1] || 0; + const minor = match[2] || 0; + const patch = match[3] || 0; + + return { browser: key, version: `${major}.${minor}.${patch}` }; + } + } + + return null; +} + +const normalizeArch = (arch: string): Arch => { + // Node docs: + // - https://nodejs.org/api/process.html#processarch + // Deno docs: + // - https://doc.deno.land/deno/stable/~/Deno.build + if (arch === 'x32') return 'x32'; + if (arch === 'x86_64' || arch === 'x64') return 'x64'; + if (arch === 'arm') return 'arm'; + if (arch === 'aarch64' || arch === 'arm64') return 'arm64'; + if (arch) return `other:${arch}`; + return 'unknown'; +}; + +const normalizePlatform = (platform: string): PlatformName => { + // Node platforms: + // - https://nodejs.org/api/process.html#processplatform + // Deno platforms: + // - https://doc.deno.land/deno/stable/~/Deno.build + // - https://github.com/denoland/deno/issues/14799 + + platform = platform.toLowerCase(); + + // NOTE: this iOS check is untested and may not work + // Node does not work natively on IOS, there is a fork at + // https://github.com/nodejs-mobile/nodejs-mobile + // however it is unknown at the time of writing how to detect if it is running + if (platform.includes('ios')) return 'iOS'; + if (platform === 'android') return 'Android'; + if (platform === 'darwin') return 'MacOS'; + if (platform === 'win32') return 'Windows'; + if (platform === 'freebsd') return 'FreeBSD'; + if (platform === 'openbsd') return 'OpenBSD'; + if (platform === 'linux') return 'Linux'; + if (platform) return `Other:${platform}`; + return 'Unknown'; +}; + +let _platformHeaders: PlatformProperties; +export const getPlatformHeaders = () => { + return (_platformHeaders ??= getPlatformProperties()); +}; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/errors.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/errors.ts new file mode 100644 index 0000000000000000000000000000000000000000..82c7b14d577cccf53e1719ea34c11d47351c5a63 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/errors.ts @@ -0,0 +1,33 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +export function isAbortError(err: unknown) { + return ( + typeof err === 'object' && + err !== null && + // Spec-compliant fetch implementations + (('name' in err && (err as any).name === 'AbortError') || + // Expo fetch + ('message' in err && String((err as any).message).includes('FetchRequestCanceledException'))) + ); +} + +export const castToError = (err: any): Error => { + if (err instanceof Error) return err; + if (typeof err === 'object' && err !== null) { + try { + if (Object.prototype.toString.call(err) === '[object Error]') { + // @ts-ignore - not all envs have native support for cause yet + const error = new Error(err.message, err.cause ? { cause: err.cause } : {}); + if (err.stack) error.stack = err.stack; + // @ts-ignore - not all envs have native support for cause yet + if (err.cause && !error.cause) error.cause = err.cause; + if (err.name) error.name = err.name; + return error; + } + } catch {} + try { + return new Error(JSON.stringify(err)); + } catch {} + } + return new Error(err); +}; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/headers.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/headers.ts new file mode 100644 index 0000000000000000000000000000000000000000..c724a9d22507fd04ddc290f78b9fb80754773621 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/headers.ts @@ -0,0 +1,97 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { isReadonlyArray } from './utils/values'; + +type HeaderValue = string | undefined | null; +export type HeadersLike = + | Headers + | readonly HeaderValue[][] + | Record + | undefined + | null + | NullableHeaders; + +const brand_privateNullableHeaders = /* @__PURE__ */ Symbol('brand.privateNullableHeaders'); + +/** + * @internal + * Users can pass explicit nulls to unset default headers. When we parse them + * into a standard headers type we need to preserve that information. + */ +export type NullableHeaders = { + /** Brand check, prevent users from creating a NullableHeaders. */ + [brand_privateNullableHeaders]: true; + /** Parsed headers. */ + values: Headers; + /** Set of lowercase header names explicitly set to null. */ + nulls: Set; +}; + +function* iterateHeaders(headers: HeadersLike): IterableIterator { + if (!headers) return; + + if (brand_privateNullableHeaders in headers) { + const { values, nulls } = headers; + yield* values.entries(); + for (const name of nulls) { + yield [name, null]; + } + return; + } + + let shouldClear = false; + let iter: Iterable; + if (headers instanceof Headers) { + iter = headers.entries(); + } else if (isReadonlyArray(headers)) { + iter = headers; + } else { + shouldClear = true; + iter = Object.entries(headers ?? {}); + } + for (let row of iter) { + const name = row[0]; + if (typeof name !== 'string') throw new TypeError('expected header name to be a string'); + const values = isReadonlyArray(row[1]) ? row[1] : [row[1]]; + let didClear = false; + for (const value of values) { + if (value === undefined) continue; + + // Objects keys always overwrite older headers, they never append. + // Yield a null to clear the header before adding the new values. + if (shouldClear && !didClear) { + didClear = true; + yield [name, null]; + } + yield [name, value]; + } + } +} + +export const buildHeaders = (newHeaders: HeadersLike[]): NullableHeaders => { + const targetHeaders = new Headers(); + const nullHeaders = new Set(); + for (const headers of newHeaders) { + const seenHeaders = new Set(); + for (const [name, value] of iterateHeaders(headers)) { + const lowerName = name.toLowerCase(); + if (!seenHeaders.has(lowerName)) { + targetHeaders.delete(name); + seenHeaders.add(lowerName); + } + if (value === null) { + targetHeaders.delete(name); + nullHeaders.add(lowerName); + } else { + targetHeaders.append(name, value); + nullHeaders.delete(lowerName); + } + } + } + return { [brand_privateNullableHeaders]: true, values: targetHeaders, nulls: nullHeaders }; +}; + +export const isEmptyHeaders = (headers: HeadersLike) => { + for (const _ of iterateHeaders(headers)) return false; + return true; +}; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/parse.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/parse.ts new file mode 100644 index 0000000000000000000000000000000000000000..dbda173113c6447ef1c87342a849e22aaf22960c --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/parse.ts @@ -0,0 +1,84 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import type { FinalRequestOptions } from './request-options'; +import { Stream } from '../core/streaming'; +import { type OpenAI } from '../client'; +import { formatRequestDetails, loggerFor } from './utils/log'; +import type { AbstractPage } from '../pagination'; + +export type APIResponseProps = { + response: Response; + options: FinalRequestOptions; + controller: AbortController; + requestLogID: string; + retryOfRequestLogID: string | undefined; + startTime: number; +}; + +export async function defaultParseResponse( + client: OpenAI, + props: APIResponseProps, +): Promise> { + const { response, requestLogID, retryOfRequestLogID, startTime } = props; + const body = await (async () => { + if (props.options.stream) { + loggerFor(client).debug('response', response.status, response.url, response.headers, response.body); + + // Note: there is an invariant here that isn't represented in the type system + // that if you set `stream: true` the response type must also be `Stream` + + if (props.options.__streamClass) { + return props.options.__streamClass.fromSSEResponse(response, props.controller, client) as any; + } + + return Stream.fromSSEResponse(response, props.controller, client) as any; + } + + // fetch refuses to read the body when the status code is 204. + if (response.status === 204) { + return null as T; + } + + if (props.options.__binaryResponse) { + return response as unknown as T; + } + + const contentType = response.headers.get('content-type'); + const mediaType = contentType?.split(';')[0]?.trim(); + const isJSON = mediaType?.includes('application/json') || mediaType?.endsWith('+json'); + if (isJSON) { + const json = await response.json(); + return addRequestID(json as T, response); + } + + const text = await response.text(); + return text as unknown as T; + })(); + loggerFor(client).debug( + `[${requestLogID}] response parsed`, + formatRequestDetails({ + retryOfRequestLogID, + url: response.url, + status: response.status, + body, + durationMs: Date.now() - startTime, + }), + ); + return body; +} + +export type WithRequestID = + T extends Array | Response | AbstractPage ? T + : T extends Record ? T & { _request_id?: string | null } + : T; + +export function addRequestID(value: T, response: Response): WithRequestID { + if (!value || typeof value !== 'object' || Array.isArray(value)) { + return value as WithRequestID; + } + + return Object.defineProperty(value, '_request_id', { + value: response.headers.get('x-request-id'), + enumerable: false, + }) as WithRequestID; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/request-options.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/request-options.ts new file mode 100644 index 0000000000000000000000000000000000000000..3a0c3d87907d9eaa1d458841ffc1203b925de7a4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/request-options.ts @@ -0,0 +1,94 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { NullableHeaders } from './headers'; + +import type { BodyInit } from './builtin-types'; +import { Stream } from '../core/streaming'; +import type { HTTPMethod, MergedRequestInit } from './types'; +import { type HeadersLike } from './headers'; + +export type FinalRequestOptions = RequestOptions & { method: HTTPMethod; path: string }; + +export type RequestOptions = { + /** + * The HTTP method for the request (e.g., 'get', 'post', 'put', 'delete'). + */ + method?: HTTPMethod; + + /** + * The URL path for the request. + * + * @example "/v1/foo" + */ + path?: string; + + /** + * Query parameters to include in the request URL. + */ + query?: object | undefined | null; + + /** + * The request body. Can be a string, JSON object, FormData, or other supported types. + */ + body?: unknown; + + /** + * HTTP headers to include with the request. Can be a Headers object, plain object, or array of tuples. + */ + headers?: HeadersLike; + + /** + * The maximum number of times that the client will retry a request in case of a + * temporary failure, like a network error or a 5XX error from the server. + * + * @default 2 + */ + maxRetries?: number; + + stream?: boolean | undefined; + + /** + * The maximum amount of time (in milliseconds) that the client should wait for a response + * from the server before timing out a single request. + * + * @unit milliseconds + */ + timeout?: number; + + /** + * Additional `RequestInit` options to be passed to the underlying `fetch` call. + * These options will be merged with the client's default fetch options. + */ + fetchOptions?: MergedRequestInit; + + /** + * An AbortSignal that can be used to cancel the request. + */ + signal?: AbortSignal | undefined | null; + + /** + * A unique key for this request to enable idempotency. + */ + idempotencyKey?: string; + + /** + * Override the default base URL for this specific request. + */ + defaultBaseURL?: string | undefined; + + __metadata?: Record; + __binaryResponse?: boolean | undefined; + __streamClass?: typeof Stream; +}; + +export type EncodedContent = { bodyHeaders: HeadersLike; body: BodyInit }; +export type RequestEncoder = (request: { headers: NullableHeaders; body: unknown }) => EncodedContent; + +export const FallbackEncoder: RequestEncoder = ({ headers, body }) => { + return { + bodyHeaders: { + 'content-type': 'application/json', + }, + body: JSON.stringify(body), + }; +}; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/shim-types.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/shim-types.ts new file mode 100644 index 0000000000000000000000000000000000000000..8ddf7b0ad14b80bc73317cf34beae74991f906bb --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/shim-types.ts @@ -0,0 +1,26 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +/** + * Shims for types that we can't always rely on being available globally. + * + * Note: these only exist at the type-level, there is no corresponding runtime + * version for any of these symbols. + */ + +type NeverToAny = T extends never ? any : T; + +/** @ts-ignore */ +type _DOMReadableStream = globalThis.ReadableStream; + +/** @ts-ignore */ +type _NodeReadableStream = import('stream/web').ReadableStream; + +type _ConditionalNodeReadableStream = + typeof globalThis extends { ReadableStream: any } ? never : _NodeReadableStream; + +type _ReadableStream = NeverToAny< + | ([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) + | ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream) +>; + +export type { _ReadableStream as ReadableStream }; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/shims.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/shims.ts new file mode 100644 index 0000000000000000000000000000000000000000..588ce43ab5bed3b66fcbffa098a5c275e85b4011 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/shims.ts @@ -0,0 +1,107 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +/** + * This module provides internal shims and utility functions for environments where certain Node.js or global types may not be available. + * + * These are used to ensure we can provide a consistent behaviour between different JavaScript environments and good error + * messages in cases where an environment isn't fully supported. + */ + +import type { Fetch } from './builtin-types'; +import type { ReadableStream } from './shim-types'; + +export function getDefaultFetch(): Fetch { + if (typeof fetch !== 'undefined') { + return fetch as any; + } + + throw new Error( + '`fetch` is not defined as a global; Either pass `fetch` to the client, `new OpenAI({ fetch })` or polyfill the global, `globalThis.fetch = fetch`', + ); +} + +type ReadableStreamArgs = ConstructorParameters; + +export function makeReadableStream(...args: ReadableStreamArgs): ReadableStream { + const ReadableStream = (globalThis as any).ReadableStream; + if (typeof ReadableStream === 'undefined') { + // Note: All of the platforms / runtimes we officially support already define + // `ReadableStream` as a global, so this should only ever be hit on unsupported runtimes. + throw new Error( + '`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`', + ); + } + + return new ReadableStream(...args); +} + +export function ReadableStreamFrom(iterable: Iterable | AsyncIterable): ReadableStream { + let iter: AsyncIterator | Iterator = + Symbol.asyncIterator in iterable ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator](); + + return makeReadableStream({ + start() {}, + async pull(controller: any) { + const { done, value } = await iter.next(); + if (done) { + controller.close(); + } else { + controller.enqueue(value); + } + }, + async cancel() { + await iter.return?.(); + }, + }); +} + +/** + * Most browsers don't yet have async iterable support for ReadableStream, + * and Node has a very different way of reading bytes from its "ReadableStream". + * + * This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490 + */ +export function ReadableStreamToAsyncIterable(stream: any): AsyncIterableIterator { + if (stream[Symbol.asyncIterator]) return stream; + + const reader = stream.getReader(); + return { + async next() { + try { + const result = await reader.read(); + if (result?.done) reader.releaseLock(); // release lock when stream becomes closed + return result; + } catch (e) { + reader.releaseLock(); // release lock when stream becomes errored + throw e; + } + }, + async return() { + const cancelPromise = reader.cancel(); + reader.releaseLock(); + await cancelPromise; + return { done: true, value: undefined }; + }, + [Symbol.asyncIterator]() { + return this; + }, + }; +} + +/** + * Cancels a ReadableStream we don't need to consume. + * See https://undici.nodejs.org/#/?id=garbage-collection + */ +export async function CancelReadableStream(stream: any): Promise { + if (stream === null || typeof stream !== 'object') return; + + if (stream[Symbol.asyncIterator]) { + await stream[Symbol.asyncIterator]().return?.(); + return; + } + + const reader = stream.getReader(); + const cancelPromise = reader.cancel(); + reader.releaseLock(); + await cancelPromise; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/stream-utils.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/stream-utils.ts new file mode 100644 index 0000000000000000000000000000000000000000..37f7793cffc8d65cc02ce1750f600e676ced481f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/stream-utils.ts @@ -0,0 +1,32 @@ +/** + * Most browsers don't yet have async iterable support for ReadableStream, + * and Node has a very different way of reading bytes from its "ReadableStream". + * + * This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490 + */ +export function ReadableStreamToAsyncIterable(stream: any): AsyncIterableIterator { + if (stream[Symbol.asyncIterator]) return stream; + + const reader = stream.getReader(); + return { + async next() { + try { + const result = await reader.read(); + if (result?.done) reader.releaseLock(); // release lock when stream becomes closed + return result; + } catch (e) { + reader.releaseLock(); // release lock when stream becomes errored + throw e; + } + }, + async return() { + const cancelPromise = reader.cancel(); + reader.releaseLock(); + await cancelPromise; + return { done: true, value: undefined }; + }, + [Symbol.asyncIterator]() { + return this; + }, + }; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/types.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..b668dfc0fe609e1f1c151104fab9c6bc39a7483e --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/types.ts @@ -0,0 +1,95 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +export type PromiseOrValue = T | Promise; +export type HTTPMethod = 'get' | 'post' | 'put' | 'patch' | 'delete'; + +export type KeysEnum = { [P in keyof Required]: true }; + +export type FinalizedRequestInit = RequestInit & { headers: Headers }; + +type NotAny = [0] extends [1 & T] ? never : T; + +/** + * Some environments overload the global fetch function, and Parameters only gets the last signature. + */ +type OverloadedParameters = + T extends ( + { + (...args: infer A): unknown; + (...args: infer B): unknown; + (...args: infer C): unknown; + (...args: infer D): unknown; + } + ) ? + A | B | C | D + : T extends ( + { + (...args: infer A): unknown; + (...args: infer B): unknown; + (...args: infer C): unknown; + } + ) ? + A | B | C + : T extends ( + { + (...args: infer A): unknown; + (...args: infer B): unknown; + } + ) ? + A | B + : T extends (...args: infer A) => unknown ? A + : never; + +/* eslint-disable */ +/** + * These imports attempt to get types from a parent package's dependencies. + * Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which + * would cause typescript to show types not present at runtime. To avoid this, we import + * directly from parent node_modules folders. + * + * We need to check multiple levels because we don't know what directory structure we'll be in. + * For example, pnpm generates directories like this: + * ``` + * node_modules + * ├── .pnpm + * │ └── pkg@1.0.0 + * │ └── node_modules + * │ └── pkg + * │ └── internal + * │ └── types.d.ts + * ├── pkg -> .pnpm/pkg@1.0.0/node_modules/pkg + * └── undici + * ``` + * + * [1]: https://www.typescriptlang.org/tsconfig/#typeAcquisition + */ +/** @ts-ignore For users with \@types/node */ +type UndiciTypesRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; +/** @ts-ignore For users with undici */ +type UndiciRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; +/** @ts-ignore For users with \@types/bun */ +type BunRequestInit = globalThis.FetchRequestInit; +/** @ts-ignore For users with node-fetch@2 */ +type NodeFetch2RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; +/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ +type NodeFetch3RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; +/** @ts-ignore For users who use Deno */ +type FetchRequestInit = NonNullable[1]>; +/* eslint-enable */ + +type RequestInits = + | NotAny + | NotAny + | NotAny + | NotAny + | NotAny + | NotAny + | NotAny; + +/** + * This type contains `RequestInit` options that may be available on the current runtime, + * including per-platform extensions like `dispatcher`, `agent`, `client`, etc. + */ +export type MergedRequestInit = RequestInits & + /** We don't include these in the types as they'll be overridden for every request. */ + Partial>; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/uploads.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/uploads.ts new file mode 100644 index 0000000000000000000000000000000000000000..15073983b40a1719ee2ea041a4fc233f16b3e016 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/uploads.ts @@ -0,0 +1,187 @@ +import { type RequestOptions } from './request-options'; +import type { FilePropertyBag, Fetch } from './builtin-types'; +import type { OpenAI } from '../client'; +import { ReadableStreamFrom } from './shims'; + +export type BlobPart = string | ArrayBuffer | ArrayBufferView | Blob | DataView; +type FsReadStream = AsyncIterable & { path: string | { toString(): string } }; + +// https://github.com/oven-sh/bun/issues/5980 +interface BunFile extends Blob { + readonly name?: string | undefined; +} + +export const checkFileSupport = () => { + if (typeof File === 'undefined') { + const { process } = globalThis as any; + const isOldNode = + typeof process?.versions?.node === 'string' && parseInt(process.versions.node.split('.')) < 20; + throw new Error( + '`File` is not defined as a global, which is required for file uploads.' + + (isOldNode ? + " Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`." + : ''), + ); + } +}; + +/** + * Typically, this is a native "File" class. + * + * We provide the {@link toFile} utility to convert a variety of objects + * into the File class. + * + * For convenience, you can also pass a fetch Response, or in Node, + * the result of fs.createReadStream(). + */ +export type Uploadable = File | Response | FsReadStream | BunFile; + +/** + * Construct a `File` instance. This is used to ensure a helpful error is thrown + * for environments that don't define a global `File` yet. + */ +export function makeFile( + fileBits: BlobPart[], + fileName: string | undefined, + options?: FilePropertyBag, +): File { + checkFileSupport(); + return new File(fileBits as any, fileName ?? 'unknown_file', options); +} + +export function getName(value: any): string | undefined { + return ( + ( + (typeof value === 'object' && + value !== null && + (('name' in value && value.name && String(value.name)) || + ('url' in value && value.url && String(value.url)) || + ('filename' in value && value.filename && String(value.filename)) || + ('path' in value && value.path && String(value.path)))) || + '' + ) + .split(/[\\/]/) + .pop() || undefined + ); +} + +export const isAsyncIterable = (value: any): value is AsyncIterable => + value != null && typeof value === 'object' && typeof value[Symbol.asyncIterator] === 'function'; + +/** + * Returns a multipart/form-data request if any part of the given request body contains a File / Blob value. + * Otherwise returns the request as is. + */ +export const maybeMultipartFormRequestOptions = async ( + opts: RequestOptions, + fetch: OpenAI | Fetch, +): Promise => { + if (!hasUploadableValue(opts.body)) return opts; + + return { ...opts, body: await createForm(opts.body, fetch) }; +}; + +type MultipartFormRequestOptions = Omit & { body: unknown }; + +export const multipartFormRequestOptions = async ( + opts: MultipartFormRequestOptions, + fetch: OpenAI | Fetch, +): Promise => { + return { ...opts, body: await createForm(opts.body, fetch) }; +}; + +const supportsFormDataMap = /* @__PURE__ */ new WeakMap>(); + +/** + * node-fetch doesn't support the global FormData object in recent node versions. Instead of sending + * properly-encoded form data, it just stringifies the object, resulting in a request body of "[object FormData]". + * This function detects if the fetch function provided supports the global FormData object to avoid + * confusing error messages later on. + */ +function supportsFormData(fetchObject: OpenAI | Fetch): Promise { + const fetch: Fetch = typeof fetchObject === 'function' ? fetchObject : (fetchObject as any).fetch; + const cached = supportsFormDataMap.get(fetch); + if (cached) return cached; + const promise = (async () => { + try { + const FetchResponse = ( + 'Response' in fetch ? + fetch.Response + : (await fetch('data:,')).constructor) as typeof Response; + const data = new FormData(); + if (data.toString() === (await new FetchResponse(data).text())) { + return false; + } + return true; + } catch { + // avoid false negatives + return true; + } + })(); + supportsFormDataMap.set(fetch, promise); + return promise; +} + +export const createForm = async >( + body: T | undefined, + fetch: OpenAI | Fetch, +): Promise => { + if (!(await supportsFormData(fetch))) { + throw new TypeError( + 'The provided fetch function does not support file uploads with the current global FormData class.', + ); + } + const form = new FormData(); + await Promise.all(Object.entries(body || {}).map(([key, value]) => addFormValue(form, key, value))); + return form; +}; + +// We check for Blob not File because Bun.File doesn't inherit from File, +// but they both inherit from Blob and have a `name` property at runtime. +const isNamedBlob = (value: unknown) => value instanceof Blob && 'name' in value; + +const isUploadable = (value: unknown) => + typeof value === 'object' && + value !== null && + (value instanceof Response || isAsyncIterable(value) || isNamedBlob(value)); + +const hasUploadableValue = (value: unknown): boolean => { + if (isUploadable(value)) return true; + if (Array.isArray(value)) return value.some(hasUploadableValue); + if (value && typeof value === 'object') { + for (const k in value) { + if (hasUploadableValue((value as any)[k])) return true; + } + } + return false; +}; + +const addFormValue = async (form: FormData, key: string, value: unknown): Promise => { + if (value === undefined) return; + if (value == null) { + throw new TypeError( + `Received null for "${key}"; to pass null in FormData, you must use the string 'null'`, + ); + } + + // TODO: make nested formats configurable + if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') { + form.append(key, String(value)); + } else if (value instanceof Response) { + form.append(key, makeFile([await value.blob()], getName(value))); + } else if (isAsyncIterable(value)) { + form.append(key, makeFile([await new Response(ReadableStreamFrom(value)).blob()], getName(value))); + } else if (isNamedBlob(value)) { + form.append(key, value, getName(value)); + } else if (Array.isArray(value)) { + await Promise.all(value.map((entry) => addFormValue(form, key + '[]', entry))); + } else if (typeof value === 'object') { + await Promise.all( + Object.entries(value).map(([name, prop]) => addFormValue(form, `${key}[${name}]`, prop)), + ); + } else { + throw new TypeError( + `Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${value} instead`, + ); + } +}; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/utils.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/utils.ts new file mode 100644 index 0000000000000000000000000000000000000000..3cbfacce29a05b720a183ce2c4680a40a8463fea --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/internal/utils.ts @@ -0,0 +1,8 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +export * from './utils/values'; +export * from './utils/base64'; +export * from './utils/env'; +export * from './utils/log'; +export * from './utils/uuid'; +export * from './utils/sleep'; diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ChatCompletionRunner.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ChatCompletionRunner.ts new file mode 100644 index 0000000000000000000000000000000000000000..a5edaf7411a198aeb81d37a79139baea32e1631f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ChatCompletionRunner.ts @@ -0,0 +1,54 @@ +import { + type ChatCompletionMessageParam, + type ChatCompletionCreateParamsNonStreaming, +} from '../resources/chat/completions'; +import { type BaseFunctionsArgs, RunnableTools } from './RunnableFunction'; +import { + AbstractChatCompletionRunner, + AbstractChatCompletionRunnerEvents, + RunnerOptions, +} from './AbstractChatCompletionRunner'; +import { isAssistantMessage } from './chatCompletionUtils'; +import OpenAI from '../index'; +import { AutoParseableTool } from '../lib/parser'; + +export interface ChatCompletionRunnerEvents extends AbstractChatCompletionRunnerEvents { + content: (content: string) => void; +} + +export type ChatCompletionToolRunnerParams = Omit< + ChatCompletionCreateParamsNonStreaming, + 'tools' +> & { + tools: RunnableTools | AutoParseableTool[]; +}; + +export class ChatCompletionRunner extends AbstractChatCompletionRunner< + ChatCompletionRunnerEvents, + ParsedT +> { + static runTools( + client: OpenAI, + params: ChatCompletionToolRunnerParams, + options?: RunnerOptions, + ): ChatCompletionRunner { + const runner = new ChatCompletionRunner(); + const opts = { + ...options, + headers: { ...options?.headers, 'X-Stainless-Helper-Method': 'runTools' }, + }; + runner._run(() => runner._runTools(client, params, opts)); + return runner; + } + + override _addMessage( + this: ChatCompletionRunner, + message: ChatCompletionMessageParam, + emit: boolean = true, + ) { + super._addMessage(message, emit); + if (isAssistantMessage(message) && message.content) { + this._emit('content', message.content as string); + } + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts new file mode 100644 index 0000000000000000000000000000000000000000..eb8fcc357946b944bb947a1e4d7a5abee6179066 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts @@ -0,0 +1,50 @@ +import { + type ChatCompletionChunk, + type ChatCompletionCreateParamsStreaming, +} from '../resources/chat/completions'; +import { RunnerOptions, type AbstractChatCompletionRunnerEvents } from './AbstractChatCompletionRunner'; +import { type ReadableStream } from '../internal/shim-types'; +import { RunnableTools, type BaseFunctionsArgs } from './RunnableFunction'; +import { ChatCompletionSnapshot, ChatCompletionStream } from './ChatCompletionStream'; +import OpenAI from '../index'; +import { AutoParseableTool } from '../lib/parser'; + +export interface ChatCompletionStreamEvents extends AbstractChatCompletionRunnerEvents { + content: (contentDelta: string, contentSnapshot: string) => void; + chunk: (chunk: ChatCompletionChunk, snapshot: ChatCompletionSnapshot) => void; +} + +export type ChatCompletionStreamingToolRunnerParams = Omit< + ChatCompletionCreateParamsStreaming, + 'tools' +> & { + tools: RunnableTools | AutoParseableTool[]; +}; + +export class ChatCompletionStreamingRunner + extends ChatCompletionStream + implements AsyncIterable +{ + static override fromReadableStream(stream: ReadableStream): ChatCompletionStreamingRunner { + const runner = new ChatCompletionStreamingRunner(null); + runner._run(() => runner._fromReadableStream(stream)); + return runner; + } + + static runTools( + client: OpenAI, + params: ChatCompletionStreamingToolRunnerParams, + options?: RunnerOptions, + ): ChatCompletionStreamingRunner { + const runner = new ChatCompletionStreamingRunner( + // @ts-expect-error TODO these types are incompatible + params, + ); + const opts = { + ...options, + headers: { ...options?.headers, 'X-Stainless-Helper-Method': 'runTools' }, + }; + runner._run(() => runner._runTools(client, params, opts)); + return runner; + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/EventEmitter.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/EventEmitter.ts new file mode 100644 index 0000000000000000000000000000000000000000..9adeebdc397daf49339704a4bd1cb3591f43a3d4 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/EventEmitter.ts @@ -0,0 +1,98 @@ +type EventListener = Events[EventType]; + +type EventListeners = Array<{ + listener: EventListener; + once?: boolean; +}>; + +export type EventParameters = { + [Event in EventType]: EventListener extends (...args: infer P) => any ? P : never; +}[EventType]; + +export class EventEmitter any>> { + #listeners: { + [Event in keyof EventTypes]?: EventListeners; + } = {}; + + /** + * Adds the listener function to the end of the listeners array for the event. + * No checks are made to see if the listener has already been added. Multiple calls passing + * the same combination of event and listener will result in the listener being added, and + * called, multiple times. + * @returns this, so that calls can be chained + */ + on(event: Event, listener: EventListener): this { + const listeners: EventListeners = + this.#listeners[event] || (this.#listeners[event] = []); + listeners.push({ listener }); + return this; + } + + /** + * Removes the specified listener from the listener array for the event. + * off() will remove, at most, one instance of a listener from the listener array. If any single + * listener has been added multiple times to the listener array for the specified event, then + * off() must be called multiple times to remove each instance. + * @returns this, so that calls can be chained + */ + off(event: Event, listener: EventListener): this { + const listeners = this.#listeners[event]; + if (!listeners) return this; + const index = listeners.findIndex((l) => l.listener === listener); + if (index >= 0) listeners.splice(index, 1); + return this; + } + + /** + * Adds a one-time listener function for the event. The next time the event is triggered, + * this listener is removed and then invoked. + * @returns this, so that calls can be chained + */ + once(event: Event, listener: EventListener): this { + const listeners: EventListeners = + this.#listeners[event] || (this.#listeners[event] = []); + listeners.push({ listener, once: true }); + return this; + } + + /** + * This is similar to `.once()`, but returns a Promise that resolves the next time + * the event is triggered, instead of calling a listener callback. + * @returns a Promise that resolves the next time given event is triggered, + * or rejects if an error is emitted. (If you request the 'error' event, + * returns a promise that resolves with the error). + * + * Example: + * + * const message = await stream.emitted('message') // rejects if the stream errors + */ + emitted( + event: Event, + ): Promise< + EventParameters extends [infer Param] ? Param + : EventParameters extends [] ? void + : EventParameters + > { + return new Promise((resolve, reject) => { + // TODO: handle errors + this.once(event, resolve as any); + }); + } + + protected _emit( + this: EventEmitter, + event: Event, + ...args: EventParameters + ) { + const listeners: EventListeners | undefined = this.#listeners[event]; + if (listeners) { + this.#listeners[event] = listeners.filter((l) => !l.once) as any; + listeners.forEach(({ listener }: any) => listener(...(args as any))); + } + } + + protected _hasListener(event: keyof EventTypes): boolean { + const listeners = this.#listeners[event]; + return listeners && listeners.length > 0; + } +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/EventStream.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/EventStream.ts new file mode 100644 index 0000000000000000000000000000000000000000..d3f485e9d08fda69c56605e23a08f0a6547f3df2 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/EventStream.ts @@ -0,0 +1,239 @@ +import { APIUserAbortError, OpenAIError } from '../error'; + +export class EventStream { + controller: AbortController = new AbortController(); + + #connectedPromise: Promise; + #resolveConnectedPromise: () => void = () => {}; + #rejectConnectedPromise: (error: OpenAIError) => void = () => {}; + + #endPromise: Promise; + #resolveEndPromise: () => void = () => {}; + #rejectEndPromise: (error: OpenAIError) => void = () => {}; + + #listeners: { + [Event in keyof EventTypes]?: EventListeners; + } = {}; + + #ended = false; + #errored = false; + #aborted = false; + #catchingPromiseCreated = false; + + constructor() { + this.#connectedPromise = new Promise((resolve, reject) => { + this.#resolveConnectedPromise = resolve; + this.#rejectConnectedPromise = reject; + }); + + this.#endPromise = new Promise((resolve, reject) => { + this.#resolveEndPromise = resolve; + this.#rejectEndPromise = reject; + }); + + // Don't let these promises cause unhandled rejection errors. + // we will manually cause an unhandled rejection error later + // if the user hasn't registered any error listener or called + // any promise-returning method. + this.#connectedPromise.catch(() => {}); + this.#endPromise.catch(() => {}); + } + + protected _run(this: EventStream, executor: () => Promise) { + // Unfortunately if we call `executor()` immediately we get runtime errors about + // references to `this` before the `super()` constructor call returns. + setTimeout(() => { + executor().then(() => { + this._emitFinal(); + this._emit('end'); + }, this.#handleError.bind(this)); + }, 0); + } + + protected _connected(this: EventStream) { + if (this.ended) return; + this.#resolveConnectedPromise(); + this._emit('connect'); + } + + get ended(): boolean { + return this.#ended; + } + + get errored(): boolean { + return this.#errored; + } + + get aborted(): boolean { + return this.#aborted; + } + + abort() { + this.controller.abort(); + } + + /** + * Adds the listener function to the end of the listeners array for the event. + * No checks are made to see if the listener has already been added. Multiple calls passing + * the same combination of event and listener will result in the listener being added, and + * called, multiple times. + * @returns this ChatCompletionStream, so that calls can be chained + */ + on(event: Event, listener: EventListener): this { + const listeners: EventListeners = + this.#listeners[event] || (this.#listeners[event] = []); + listeners.push({ listener }); + return this; + } + + /** + * Removes the specified listener from the listener array for the event. + * off() will remove, at most, one instance of a listener from the listener array. If any single + * listener has been added multiple times to the listener array for the specified event, then + * off() must be called multiple times to remove each instance. + * @returns this ChatCompletionStream, so that calls can be chained + */ + off(event: Event, listener: EventListener): this { + const listeners = this.#listeners[event]; + if (!listeners) return this; + const index = listeners.findIndex((l) => l.listener === listener); + if (index >= 0) listeners.splice(index, 1); + return this; + } + + /** + * Adds a one-time listener function for the event. The next time the event is triggered, + * this listener is removed and then invoked. + * @returns this ChatCompletionStream, so that calls can be chained + */ + once(event: Event, listener: EventListener): this { + const listeners: EventListeners = + this.#listeners[event] || (this.#listeners[event] = []); + listeners.push({ listener, once: true }); + return this; + } + + /** + * This is similar to `.once()`, but returns a Promise that resolves the next time + * the event is triggered, instead of calling a listener callback. + * @returns a Promise that resolves the next time given event is triggered, + * or rejects if an error is emitted. (If you request the 'error' event, + * returns a promise that resolves with the error). + * + * Example: + * + * const message = await stream.emitted('message') // rejects if the stream errors + */ + emitted( + event: Event, + ): Promise< + EventParameters extends [infer Param] ? Param + : EventParameters extends [] ? void + : EventParameters + > { + return new Promise((resolve, reject) => { + this.#catchingPromiseCreated = true; + if (event !== 'error') this.once('error', reject); + this.once(event, resolve as any); + }); + } + + async done(): Promise { + this.#catchingPromiseCreated = true; + await this.#endPromise; + } + + #handleError(this: EventStream, error: unknown) { + this.#errored = true; + if (error instanceof Error && error.name === 'AbortError') { + error = new APIUserAbortError(); + } + if (error instanceof APIUserAbortError) { + this.#aborted = true; + return this._emit('abort', error); + } + if (error instanceof OpenAIError) { + return this._emit('error', error); + } + if (error instanceof Error) { + const openAIError: OpenAIError = new OpenAIError(error.message); + // @ts-ignore + openAIError.cause = error; + return this._emit('error', openAIError); + } + return this._emit('error', new OpenAIError(String(error))); + } + + _emit(event: Event, ...args: EventParameters): void; + _emit(event: Event, ...args: EventParameters): void; + _emit( + this: EventStream, + event: Event, + ...args: EventParameters + ) { + // make sure we don't emit any events after end + if (this.#ended) { + return; + } + + if (event === 'end') { + this.#ended = true; + this.#resolveEndPromise(); + } + + const listeners: EventListeners | undefined = this.#listeners[event]; + if (listeners) { + this.#listeners[event] = listeners.filter((l) => !l.once) as any; + listeners.forEach(({ listener }: any) => listener(...(args as any))); + } + + if (event === 'abort') { + const error = args[0] as APIUserAbortError; + if (!this.#catchingPromiseCreated && !listeners?.length) { + Promise.reject(error); + } + this.#rejectConnectedPromise(error); + this.#rejectEndPromise(error); + this._emit('end'); + return; + } + + if (event === 'error') { + // NOTE: _emit('error', error) should only be called from #handleError(). + + const error = args[0] as OpenAIError; + if (!this.#catchingPromiseCreated && !listeners?.length) { + // Trigger an unhandled rejection if the user hasn't registered any error handlers. + // If you are seeing stack traces here, make sure to handle errors via either: + // - runner.on('error', () => ...) + // - await runner.done() + // - await runner.finalChatCompletion() + // - etc. + Promise.reject(error); + } + this.#rejectConnectedPromise(error); + this.#rejectEndPromise(error); + this._emit('end'); + } + } + + protected _emitFinal(): void {} +} + +type EventListener = Events[EventType]; + +type EventListeners = Array<{ + listener: EventListener; + once?: boolean; +}>; + +export type EventParameters = { + [Event in EventType]: EventListener extends (...args: infer P) => any ? P : never; +}[EventType]; + +export interface BaseEvents { + connect: () => void; + error: (error: OpenAIError) => void; + abort: (error: APIUserAbortError) => void; + end: () => void; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ResponsesParser.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ResponsesParser.ts new file mode 100644 index 0000000000000000000000000000000000000000..50a078ee9c758a087348e3014e5f2de8d6805479 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/ResponsesParser.ts @@ -0,0 +1,265 @@ +import { OpenAIError } from '../error'; +import type { ChatCompletionTool } from '../resources/chat/completions'; +import { + ResponseTextConfig, + type FunctionTool, + type ParsedContent, + type ParsedResponse, + type ParsedResponseFunctionToolCall, + type ParsedResponseOutputItem, + type Response, + type ResponseCreateParamsBase, + type ResponseCreateParamsNonStreaming, + type ResponseFunctionToolCall, + type Tool, +} from '../resources/responses/responses'; +import { type AutoParseableTextFormat, isAutoParsableResponseFormat } from '../lib/parser'; + +export type ParseableToolsParams = Array | ChatCompletionTool | null; + +export type ResponseCreateParamsWithTools = ResponseCreateParamsBase & { + tools?: ParseableToolsParams; +}; + +type TextConfigParams = { text?: ResponseTextConfig }; + +export type ExtractParsedContentFromParams = + NonNullable['format'] extends AutoParseableTextFormat ? P : null; + +export function maybeParseResponse< + Params extends ResponseCreateParamsBase | null, + ParsedT = Params extends null ? null : ExtractParsedContentFromParams>, +>(response: Response, params: Params): ParsedResponse { + if (!params || !hasAutoParseableInput(params)) { + return { + ...response, + output_parsed: null, + output: response.output.map((item) => { + if (item.type === 'function_call') { + return { + ...item, + parsed_arguments: null, + }; + } + + if (item.type === 'message') { + return { + ...item, + content: item.content.map((content) => ({ + ...content, + parsed: null, + })), + }; + } else { + return item; + } + }), + }; + } + + return parseResponse(response, params); +} + +export function parseResponse< + Params extends ResponseCreateParamsBase, + ParsedT = ExtractParsedContentFromParams, +>(response: Response, params: Params): ParsedResponse { + const output: Array> = response.output.map( + (item): ParsedResponseOutputItem => { + if (item.type === 'function_call') { + return { + ...item, + parsed_arguments: parseToolCall(params, item), + }; + } + if (item.type === 'message') { + const content: Array> = item.content.map((content) => { + if (content.type === 'output_text') { + return { + ...content, + parsed: parseTextFormat(params, content.text), + }; + } + + return content; + }); + + return { + ...item, + content, + }; + } + + return item; + }, + ); + + const parsed: Omit, 'output_parsed'> = Object.assign({}, response, { output }); + if (!Object.getOwnPropertyDescriptor(response, 'output_text')) { + addOutputText(parsed); + } + + Object.defineProperty(parsed, 'output_parsed', { + enumerable: true, + get() { + for (const output of parsed.output) { + if (output.type !== 'message') { + continue; + } + + for (const content of output.content) { + if (content.type === 'output_text' && content.parsed !== null) { + return content.parsed; + } + } + } + + return null; + }, + }); + + return parsed as ParsedResponse; +} + +function parseTextFormat< + Params extends ResponseCreateParamsBase, + ParsedT = ExtractParsedContentFromParams, +>(params: Params, content: string): ParsedT | null { + if (params.text?.format?.type !== 'json_schema') { + return null; + } + + if ('$parseRaw' in params.text?.format) { + const text_format = params.text?.format as unknown as AutoParseableTextFormat; + return text_format.$parseRaw(content); + } + + return JSON.parse(content); +} + +export function hasAutoParseableInput(params: ResponseCreateParamsWithTools): boolean { + if (isAutoParsableResponseFormat(params.text?.format)) { + return true; + } + + return false; +} + +type ToolOptions = { + name: string; + arguments: any; + function?: ((args: any) => any) | undefined; +}; + +export type AutoParseableResponseTool< + OptionsT extends ToolOptions, + HasFunction = OptionsT['function'] extends Function ? true : false, +> = FunctionTool & { + __arguments: OptionsT['arguments']; // type-level only + __name: OptionsT['name']; // type-level only + + $brand: 'auto-parseable-tool'; + $callback: ((args: OptionsT['arguments']) => any) | undefined; + $parseRaw(args: string): OptionsT['arguments']; +}; + +export function makeParseableResponseTool( + tool: FunctionTool, + { + parser, + callback, + }: { + parser: (content: string) => OptionsT['arguments']; + callback: ((args: any) => any) | undefined; + }, +): AutoParseableResponseTool { + const obj = { ...tool }; + + Object.defineProperties(obj, { + $brand: { + value: 'auto-parseable-tool', + enumerable: false, + }, + $parseRaw: { + value: parser, + enumerable: false, + }, + $callback: { + value: callback, + enumerable: false, + }, + }); + + return obj as AutoParseableResponseTool; +} + +export function isAutoParsableTool(tool: any): tool is AutoParseableResponseTool { + return tool?.['$brand'] === 'auto-parseable-tool'; +} + +function getInputToolByName(input_tools: Array, name: string): FunctionTool | undefined { + return input_tools.find((tool) => tool.type === 'function' && tool.name === name) as + | FunctionTool + | undefined; +} + +function parseToolCall( + params: Params, + toolCall: ResponseFunctionToolCall, +): ParsedResponseFunctionToolCall { + const inputTool = getInputToolByName(params.tools ?? [], toolCall.name); + + return { + ...toolCall, + ...toolCall, + parsed_arguments: + isAutoParsableTool(inputTool) ? inputTool.$parseRaw(toolCall.arguments) + : inputTool?.strict ? JSON.parse(toolCall.arguments) + : null, + }; +} + +export function shouldParseToolCall( + params: ResponseCreateParamsNonStreaming | null | undefined, + toolCall: ResponseFunctionToolCall, +): boolean { + if (!params) { + return false; + } + + const inputTool = getInputToolByName(params.tools ?? [], toolCall.name); + return isAutoParsableTool(inputTool) || inputTool?.strict || false; +} + +export function validateInputTools(tools: ChatCompletionTool[] | undefined) { + for (const tool of tools ?? []) { + if (tool.type !== 'function') { + throw new OpenAIError( + `Currently only \`function\` tool types support auto-parsing; Received \`${tool.type}\``, + ); + } + + if (tool.function.strict !== true) { + throw new OpenAIError( + `The \`${tool.function.name}\` tool is not marked with \`strict: true\`. Only strict function tools can be auto-parsed`, + ); + } + } +} + +export function addOutputText(rsp: Response): void { + const texts: string[] = []; + for (const output of rsp.output) { + if (output.type !== 'message') { + continue; + } + + for (const content of output.content) { + if (content.type === 'output_text') { + texts.push(content.text); + } + } + } + + rsp.output_text = texts.join(''); +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/chatCompletionUtils.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/chatCompletionUtils.ts new file mode 100644 index 0000000000000000000000000000000000000000..2bf0d5b478ad6a6ab687d790ea9a5bad0c31e30f --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/lib/chatCompletionUtils.ts @@ -0,0 +1,21 @@ +import { + type ChatCompletionAssistantMessageParam, + type ChatCompletionMessageParam, + type ChatCompletionToolMessageParam, +} from '../resources'; + +export const isAssistantMessage = ( + message: ChatCompletionMessageParam | null | undefined, +): message is ChatCompletionAssistantMessageParam => { + return message?.role === 'assistant'; +}; + +export const isToolMessage = ( + message: ChatCompletionMessageParam | null | undefined, +): message is ChatCompletionToolMessageParam => { + return message?.role === 'tool'; +}; + +export function isPresent(obj: T | null | undefined): obj is T { + return obj != null; +} diff --git a/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/resources/conversations.ts b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/resources/conversations.ts new file mode 100644 index 0000000000000000000000000000000000000000..6b5095057f7ca7fc00aab9f09735788c51a6e947 --- /dev/null +++ b/platform/aiml/elizabeth/e-1-first_session/claude-code-router/node_modules/openai/src/resources/conversations.ts @@ -0,0 +1,3 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +export * from './conversations/index';