@agentica/core 0.12.21 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -47
- package/lib/Agentica.d.ts +9 -9
- package/lib/Agentica.js +23 -16
- package/lib/Agentica.js.map +1 -1
- package/lib/chatgpt/ChatGptAgent.d.ts +7 -7
- package/lib/chatgpt/ChatGptAgent.js +17 -12
- package/lib/chatgpt/ChatGptAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptCallFunctionAgent.d.ts +7 -6
- package/lib/chatgpt/ChatGptCallFunctionAgent.js +120 -81
- package/lib/chatgpt/ChatGptCallFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptCancelFunctionAgent.d.ts +9 -7
- package/lib/chatgpt/ChatGptCancelFunctionAgent.js +177 -145
- package/lib/chatgpt/ChatGptCancelFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptCompletionMessageUtil.d.ts +13 -8
- package/lib/chatgpt/ChatGptCompletionMessageUtil.js +499 -489
- package/lib/chatgpt/ChatGptCompletionMessageUtil.js.map +1 -1
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.d.ts +7 -6
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.js +33 -32
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptHistoryDecoder.d.ts +7 -6
- package/lib/chatgpt/ChatGptHistoryDecoder.js +60 -56
- package/lib/chatgpt/ChatGptHistoryDecoder.js.map +1 -1
- package/lib/chatgpt/ChatGptInitializeFunctionAgent.d.ts +7 -6
- package/lib/chatgpt/ChatGptInitializeFunctionAgent.js +121 -116
- package/lib/chatgpt/ChatGptInitializeFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptSelectFunctionAgent.d.ts +20 -5
- package/lib/chatgpt/ChatGptSelectFunctionAgent.js +183 -150
- package/lib/chatgpt/ChatGptSelectFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptUsageAggregator.d.ts +9 -6
- package/lib/chatgpt/ChatGptUsageAggregator.js +46 -41
- package/lib/chatgpt/ChatGptUsageAggregator.js.map +1 -1
- package/lib/context/AgenticaCancelPrompt.d.ts +3 -3
- package/lib/context/AgenticaCancelPrompt.js +1 -1
- package/lib/context/AgenticaCancelPrompt.js.map +1 -1
- package/lib/context/AgenticaClassOperation.d.ts +1 -1
- package/lib/context/AgenticaClassOperation.js.map +1 -1
- package/lib/context/AgenticaContext.d.ts +9 -9
- package/lib/context/AgenticaHttpOperation.d.ts +1 -1
- package/lib/context/AgenticaHttpOperation.js.map +1 -1
- package/lib/context/AgenticaOperation.d.ts +4 -4
- package/lib/context/AgenticaOperationBase.d.ts +1 -1
- package/lib/context/AgenticaOperationCollection.d.ts +2 -2
- package/lib/context/AgenticaOperationSelection.d.ts +3 -3
- package/lib/context/AgenticaTokenUsage.d.ts +1 -1
- package/lib/context/AgenticaTokenUsage.js.map +1 -1
- package/lib/context/internal/AgenticaTokenUsageAggregator.d.ts +11 -10
- package/lib/context/internal/AgenticaTokenUsageAggregator.js +42 -43
- package/lib/context/internal/AgenticaTokenUsageAggregator.js.map +1 -1
- package/lib/context/internal/__IChatCancelFunctionsApplication.d.ts +2 -2
- package/lib/context/internal/__IChatInitialApplication.d.ts +2 -2
- package/lib/context/internal/__IChatSelectFunctionsApplication.d.ts +2 -2
- package/lib/events/AgenticaCallEvent.d.ts +3 -3
- package/lib/events/AgenticaCancelEvent.d.ts +3 -3
- package/lib/events/AgenticaDescribeEvent.d.ts +3 -3
- package/lib/events/AgenticaDescribeEvent.js +13 -2
- package/lib/events/AgenticaDescribeEvent.js.map +1 -1
- package/lib/events/AgenticaEvent.d.ts +12 -12
- package/lib/events/AgenticaExecuteEvent.d.ts +7 -7
- package/lib/events/AgenticaInitializeEvent.d.ts +1 -1
- package/lib/events/AgenticaRequestEvent.d.ts +3 -3
- package/lib/events/AgenticaRequestEvent.js.map +1 -1
- package/lib/events/AgenticaResponseEvent.d.ts +2 -2
- package/lib/events/AgenticaResponseEvent.js.map +1 -1
- package/lib/events/AgenticaSelectEvent.d.ts +3 -3
- package/lib/events/AgenticaSelectEvent.js.map +1 -1
- package/lib/events/AgenticaTextEvent.d.ts +1 -1
- package/lib/events/AgenticaTextEvent.js +12 -1
- package/lib/events/AgenticaTextEvent.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.d.ts +4 -3
- package/lib/functional/assertHttpLlmApplication.js +9339 -9338
- package/lib/functional/assertHttpLlmApplication.js.map +1 -1
- package/lib/functional/validateHttpLlmApplication.d.ts +5 -4
- package/lib/functional/validateHttpLlmApplication.js +19 -19
- package/lib/functional/validateHttpLlmApplication.js.map +1 -1
- package/lib/index.d.ts +19 -19
- package/lib/index.js +21 -21
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +19210 -18997
- package/lib/index.mjs.map +1 -1
- package/lib/internal/AgenticaDefaultPrompt.d.ts +6 -5
- package/lib/internal/AgenticaDefaultPrompt.js +39 -19
- package/lib/internal/AgenticaDefaultPrompt.js.map +1 -1
- package/lib/internal/AgenticaOperationComposer.d.ts +11 -10
- package/lib/internal/AgenticaOperationComposer.js +60 -59
- package/lib/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/internal/AgenticaSystemPrompt.d.ts +8 -8
- package/lib/internal/AgenticaSystemPrompt.js +9 -9
- package/lib/internal/AgenticaSystemPrompt.js.map +1 -1
- package/lib/internal/AsyncQueue.d.ts +15 -0
- package/lib/internal/AsyncQueue.js +82 -0
- package/lib/internal/AsyncQueue.js.map +1 -0
- package/lib/internal/ByteArrayUtil.d.ts +1 -1
- package/lib/internal/ByteArrayUtil.js +3 -2
- package/lib/internal/ByteArrayUtil.js.map +1 -1
- package/lib/internal/MPSC.d.ts +10 -0
- package/lib/internal/MPSC.js +49 -0
- package/lib/internal/MPSC.js.map +1 -0
- package/lib/internal/Singleton.js +6 -5
- package/lib/internal/Singleton.js.map +1 -1
- package/lib/internal/StreamUtil.d.ts +16 -6
- package/lib/internal/StreamUtil.js +43 -29
- package/lib/internal/StreamUtil.js.map +1 -1
- package/lib/internal/__map_take.js +5 -5
- package/lib/internal/__map_take.js.map +1 -1
- package/lib/json/IAgenticaEventJson.d.ts +7 -7
- package/lib/json/IAgenticaOperationSelectionJson.d.ts +1 -1
- package/lib/json/IAgenticaPromptJson.d.ts +2 -2
- package/lib/prompts/AgenticaCancelPrompt.d.ts +3 -3
- package/lib/prompts/AgenticaCancelPrompt.js +1 -1
- package/lib/prompts/AgenticaCancelPrompt.js.map +1 -1
- package/lib/prompts/AgenticaDescribePrompt.d.ts +3 -3
- package/lib/prompts/AgenticaDescribePrompt.js +1 -1
- package/lib/prompts/AgenticaDescribePrompt.js.map +1 -1
- package/lib/prompts/AgenticaExecutePrompt.d.ts +5 -5
- package/lib/prompts/AgenticaExecutePrompt.js.map +1 -1
- package/lib/prompts/AgenticaPrompt.d.ts +6 -6
- package/lib/prompts/AgenticaSelectPrompt.d.ts +3 -3
- package/lib/prompts/AgenticaSelectPrompt.js +1 -1
- package/lib/prompts/AgenticaSelectPrompt.js.map +1 -1
- package/lib/prompts/AgenticaTextPrompt.d.ts +1 -1
- package/lib/structures/IAgenticaConfig.d.ts +5 -5
- package/lib/structures/IAgenticaController.d.ts +1 -1
- package/lib/structures/IAgenticaExecutor.d.ts +4 -4
- package/lib/structures/IAgenticaProps.d.ts +5 -5
- package/lib/structures/IAgenticaSystemPrompt.d.ts +4 -4
- package/lib/structures/IAgenticaVendor.d.ts +1 -1
- package/lib/transformers/AgenticaEventTransformer.d.ts +55 -37
- package/lib/transformers/AgenticaEventTransformer.js +105 -58
- package/lib/transformers/AgenticaEventTransformer.js.map +1 -1
- package/lib/transformers/AgenticaPromptTransformer.d.ts +35 -29
- package/lib/transformers/AgenticaPromptTransformer.js +74 -45
- package/lib/transformers/AgenticaPromptTransformer.js.map +1 -1
- package/package.json +20 -23
- package/prompts/cancel.md +1 -1
- package/prompts/common.md +1 -1
- package/prompts/describe.md +1 -1
- package/prompts/execute.md +1 -1
- package/prompts/initialize.md +1 -1
- package/prompts/select.md +1 -1
- package/src/Agentica.ts +41 -31
- package/src/chatgpt/ChatGptAgent.ts +63 -57
- package/src/chatgpt/ChatGptCallFunctionAgent.ts +361 -337
- package/src/chatgpt/ChatGptCancelFunctionAgent.ts +188 -164
- package/src/chatgpt/ChatGptCompletionMessageUtil.ts +136 -137
- package/src/chatgpt/ChatGptDescribeFunctionAgent.ts +105 -101
- package/src/chatgpt/ChatGptHistoryDecoder.ts +69 -65
- package/src/chatgpt/ChatGptInitializeFunctionAgent.ts +128 -123
- package/src/chatgpt/ChatGptSelectFunctionAgent.ts +215 -189
- package/src/chatgpt/ChatGptUsageAggregator.ts +49 -54
- package/src/context/AgenticaCancelPrompt.ts +4 -4
- package/src/context/AgenticaClassOperation.ts +5 -5
- package/src/context/AgenticaContext.ts +15 -15
- package/src/context/AgenticaHttpOperation.ts +5 -5
- package/src/context/AgenticaOperation.ts +4 -4
- package/src/context/AgenticaOperationBase.ts +1 -1
- package/src/context/AgenticaOperationCollection.ts +2 -2
- package/src/context/AgenticaOperationSelection.ts +3 -3
- package/src/context/AgenticaTokenUsage.ts +4 -3
- package/src/context/internal/AgenticaTokenUsageAggregator.ts +59 -59
- package/src/context/internal/__IChatCancelFunctionsApplication.ts +2 -2
- package/src/context/internal/__IChatInitialApplication.ts +2 -2
- package/src/context/internal/__IChatSelectFunctionsApplication.ts +2 -2
- package/src/events/AgenticaCallEvent.ts +3 -3
- package/src/events/AgenticaCancelEvent.ts +3 -3
- package/src/events/AgenticaDescribeEvent.ts +5 -5
- package/src/events/AgenticaEvent.ts +12 -12
- package/src/events/AgenticaExecuteEvent.ts +7 -7
- package/src/events/AgenticaInitializeEvent.ts +1 -1
- package/src/events/AgenticaRequestEvent.ts +3 -3
- package/src/events/AgenticaResponseEvent.ts +2 -2
- package/src/events/AgenticaSelectEvent.ts +4 -4
- package/src/events/AgenticaTextEvent.ts +2 -2
- package/src/functional/assertHttpLlmApplication.ts +9 -6
- package/src/functional/validateHttpLlmApplication.ts +14 -8
- package/src/index.ts +24 -24
- package/src/internal/AgenticaDefaultPrompt.ts +42 -28
- package/src/internal/AgenticaOperationComposer.ts +63 -61
- package/src/internal/AgenticaSystemPrompt.ts +15 -14
- package/src/internal/AsyncQueue.ts +67 -0
- package/src/internal/ByteArrayUtil.ts +2 -2
- package/src/internal/MPSC.ts +40 -0
- package/src/internal/Singleton.ts +8 -6
- package/src/internal/StreamUtil.ts +62 -53
- package/src/internal/__map_take.ts +5 -7
- package/src/json/IAgenticaEventJson.ts +7 -8
- package/src/json/IAgenticaOperationSelectionJson.ts +1 -1
- package/src/json/IAgenticaPromptJson.ts +2 -2
- package/src/prompts/AgenticaCancelPrompt.ts +4 -4
- package/src/prompts/AgenticaDescribePrompt.ts +4 -4
- package/src/prompts/AgenticaExecutePrompt.ts +6 -5
- package/src/prompts/AgenticaPrompt.ts +6 -6
- package/src/prompts/AgenticaSelectPrompt.ts +4 -4
- package/src/prompts/AgenticaTextPrompt.ts +1 -1
- package/src/structures/IAgenticaConfig.ts +5 -5
- package/src/structures/IAgenticaController.ts +14 -14
- package/src/structures/IAgenticaExecutor.ts +4 -4
- package/src/structures/IAgenticaProps.ts +5 -5
- package/src/structures/IAgenticaSystemPrompt.ts +4 -4
- package/src/structures/IAgenticaVendor.ts +1 -1
- package/src/transformers/AgenticaEventTransformer.ts +169 -136
- package/src/transformers/AgenticaPromptTransformer.ts +125 -103
- package/lib/internal/MPSCUtil.d.ts +0 -35
- package/lib/internal/MPSCUtil.js +0 -105
- package/lib/internal/MPSCUtil.js.map +0 -1
- package/src/internal/MPSCUtil.ts +0 -111
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/assertHttpLlmApplication.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assertHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/assertHttpLlmApplication.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAAc,KAAK,CAAC,QAAQ,EAAE;QACvD,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IHttpLlmApplication, ILlmSchema,
|
|
2
|
-
import { IValidation } from "typia";
|
|
1
|
+
import type { IHttpLlmApplication, ILlmSchema, OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@samchon/openapi";
|
|
2
|
+
import type { IValidation } from "typia";
|
|
3
|
+
import { OpenApi } from "@samchon/openapi";
|
|
3
4
|
/**
|
|
4
5
|
* Create an HTTP LLM application instance with type validation.
|
|
5
6
|
*
|
|
@@ -17,7 +18,7 @@ import { IValidation } from "typia";
|
|
|
17
18
|
* @returns Validation result of the HTTP LLM application composition
|
|
18
19
|
* @author Samchon
|
|
19
20
|
*/
|
|
20
|
-
export declare
|
|
21
|
+
export declare function validateHttpLlmApplication<Model extends ILlmSchema.Model>(props: {
|
|
21
22
|
/**
|
|
22
23
|
* Target LLM model.
|
|
23
24
|
*/
|
|
@@ -30,4 +31,4 @@ export declare const validateHttpLlmApplication: <Model extends ILlmSchema.Model
|
|
|
30
31
|
* Options for the LLM function calling schema composition.
|
|
31
32
|
*/
|
|
32
33
|
options?: Partial<IHttpLlmApplication.IOptions<Model>>;
|
|
33
|
-
})
|
|
34
|
+
}): IValidation<IHttpLlmApplication<Model>>;
|
|
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.validateHttpLlmApplication =
|
|
39
|
+
exports.validateHttpLlmApplication = validateHttpLlmApplication;
|
|
40
40
|
const __typia_transform__accessExpressionAsString = __importStar(require("typia/lib/internal/_accessExpressionAsString.js"));
|
|
41
41
|
const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
|
|
42
42
|
const openapi_1 = require("@samchon/openapi");
|
|
@@ -58,7 +58,7 @@ const typia_1 = __importDefault(require("typia"));
|
|
|
58
58
|
* @returns Validation result of the HTTP LLM application composition
|
|
59
59
|
* @author Samchon
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
function validateHttpLlmApplication(props) {
|
|
62
62
|
const inspect = (() => { const _io0 = input => null !== input.swagger && undefined !== input.swagger && ("2.0" === input.swagger || "string" === typeof input.swagger && RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.swagger)) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io1(input.info)) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.basePath || "string" === typeof input.basePath) && (undefined === input.consumes || Array.isArray(input.consumes) && input.consumes.every(elem => "string" === typeof elem)) && (undefined === input.produces || Array.isArray(input.produces) && input.produces.every(elem => "string" === typeof elem)) && (undefined === input.definitions || "object" === typeof input.definitions && null !== input.definitions && false === Array.isArray(input.definitions) && _io4(input.definitions)) && (undefined === input.parameters || "object" === typeof input.parameters && null !== input.parameters && false === Array.isArray(input.parameters) && _io16(input.parameters)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io29(input.responses)) && (undefined === input.securityDefinitions || "object" === typeof input.securityDefinitions && null !== input.securityDefinitions && false === Array.isArray(input.securityDefinitions) && _io31(input.securityDefinitions)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io40(input.paths)) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io1 = input => "string" === typeof input.title && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && _io2(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io3(input.license)) && "string" === typeof input.version; const _io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email); const _io3 = input => "string" === typeof input.name && (undefined === input.url || "string" === typeof input.url); const _io4 = input => Object.keys(input).every(key => {
|
|
63
63
|
const value = input[key];
|
|
64
64
|
if (undefined === value)
|
|
@@ -79,7 +79,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
79
79
|
if (undefined === value)
|
|
80
80
|
return true;
|
|
81
81
|
return "object" === typeof value && null !== value && _iu10(value);
|
|
82
|
-
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
82
|
+
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io33 = input => "basic" === input.type && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io34 = input => "oauth2" === input.type && "implicit" === input.flow && (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)) && (undefined === input.description || "string" === typeof input.description); const _io35 = input => Object.keys(input).every(key => {
|
|
83
83
|
const value = input[key];
|
|
84
84
|
if (undefined === value)
|
|
85
85
|
return true;
|
|
@@ -139,7 +139,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
139
139
|
if (undefined === value)
|
|
140
140
|
return true;
|
|
141
141
|
return "object" === typeof value && null !== value && _io82(value);
|
|
142
|
-
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("
|
|
142
|
+
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || "path" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)); const _io83 = input => Object.keys(input).every(key => {
|
|
143
143
|
const value = input[key];
|
|
144
144
|
if (undefined === value)
|
|
145
145
|
return true;
|
|
@@ -149,7 +149,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
149
149
|
if (undefined === value)
|
|
150
150
|
return true;
|
|
151
151
|
return "object" === typeof value && null !== value && _iu14(value);
|
|
152
|
-
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
152
|
+
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io87 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io88 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io89 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io90(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io90 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io91(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io92(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io93(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io93(input.clientCredentials)); const _io91 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io92 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io93 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io94 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io95 = input => Object.keys(input).every(key => {
|
|
153
153
|
const value = input[key];
|
|
154
154
|
if (undefined === value)
|
|
155
155
|
return true;
|
|
@@ -184,7 +184,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
184
184
|
if (undefined === value)
|
|
185
185
|
return true;
|
|
186
186
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
|
|
187
|
-
}); const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace)); const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("
|
|
187
|
+
}); const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace)); const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || "path" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)); const _io133 = input => Object.keys(input).every(key => {
|
|
188
188
|
const value = input[key];
|
|
189
189
|
if (undefined === value)
|
|
190
190
|
return true;
|
|
@@ -224,7 +224,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
224
224
|
if (undefined === value)
|
|
225
225
|
return true;
|
|
226
226
|
return "object" === typeof value && null !== value && _iu21(value);
|
|
227
|
-
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
227
|
+
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io153 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io154 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io155 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io156(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io156 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io157(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io158(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io159(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io159(input.clientCredentials)); const _io157 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io158 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io159 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io160 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io161 = input => Object.keys(input).every(key => {
|
|
228
228
|
const value = input[key];
|
|
229
229
|
if (undefined === value)
|
|
230
230
|
return true;
|
|
@@ -254,12 +254,12 @@ const validateHttpLlmApplication = (props) => {
|
|
|
254
254
|
if (undefined === value)
|
|
255
255
|
return true;
|
|
256
256
|
return "object" === typeof value && null !== value && _iu23(value);
|
|
257
|
-
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
257
|
+
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io190 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io191 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io192 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io193(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io193 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io194(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io195(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io196(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io196(input.clientCredentials)); const _io194 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io195 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io196 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io197 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io198 = input => Object.keys(input).every(key => {
|
|
258
258
|
const value = input[key];
|
|
259
259
|
if (undefined === value)
|
|
260
260
|
return true;
|
|
261
261
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
|
|
262
|
-
}); const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace)); const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io201(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("
|
|
262
|
+
}); const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace)); const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io201(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || "path" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io202(input.examples)); const _io202 = input => Object.keys(input).every(key => {
|
|
263
263
|
const value = input[key];
|
|
264
264
|
if (undefined === value)
|
|
265
265
|
return true;
|
|
@@ -1991,7 +1991,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
1991
1991
|
path: _path + ".type",
|
|
1992
1992
|
expected: "\"apiKey\"",
|
|
1993
1993
|
value: input.type
|
|
1994
|
-
}), undefined === input["in"] || "
|
|
1994
|
+
}), undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
1995
1995
|
path: _path + "[\"in\"]",
|
|
1996
1996
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
1997
1997
|
value: input["in"]
|
|
@@ -3431,7 +3431,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
3431
3431
|
path: _path + ".name",
|
|
3432
3432
|
expected: "(string | undefined)",
|
|
3433
3433
|
value: input.name
|
|
3434
|
-
}), "
|
|
3434
|
+
}), "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || "path" === input["in"] || _report(_exceptionable, {
|
|
3435
3435
|
path: _path + "[\"in\"]",
|
|
3436
3436
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
3437
3437
|
value: input["in"]
|
|
@@ -3505,7 +3505,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
3505
3505
|
path: _path + ".type",
|
|
3506
3506
|
expected: "\"apiKey\"",
|
|
3507
3507
|
value: input.type
|
|
3508
|
-
}), undefined === input["in"] || "
|
|
3508
|
+
}), undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
3509
3509
|
path: _path + "[\"in\"]",
|
|
3510
3510
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
3511
3511
|
value: input["in"]
|
|
@@ -5348,7 +5348,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
5348
5348
|
path: _path + ".name",
|
|
5349
5349
|
expected: "(string | undefined)",
|
|
5350
5350
|
value: input.name
|
|
5351
|
-
}), "
|
|
5351
|
+
}), "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || "path" === input["in"] || _report(_exceptionable, {
|
|
5352
5352
|
path: _path + "[\"in\"]",
|
|
5353
5353
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
5354
5354
|
value: input["in"]
|
|
@@ -5788,7 +5788,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
5788
5788
|
path: _path + ".type",
|
|
5789
5789
|
expected: "\"apiKey\"",
|
|
5790
5790
|
value: input.type
|
|
5791
|
-
}), undefined === input["in"] || "
|
|
5791
|
+
}), undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
5792
5792
|
path: _path + "[\"in\"]",
|
|
5793
5793
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
5794
5794
|
value: input["in"]
|
|
@@ -6802,7 +6802,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
6802
6802
|
path: _path + ".type",
|
|
6803
6803
|
expected: "\"apiKey\"",
|
|
6804
6804
|
value: input.type
|
|
6805
|
-
}), undefined === input["in"] || "
|
|
6805
|
+
}), undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
6806
6806
|
path: _path + "[\"in\"]",
|
|
6807
6807
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
6808
6808
|
value: input["in"]
|
|
@@ -7171,7 +7171,7 @@ const validateHttpLlmApplication = (props) => {
|
|
|
7171
7171
|
path: _path + ".name",
|
|
7172
7172
|
expected: "(string | undefined)",
|
|
7173
7173
|
value: input.name
|
|
7174
|
-
}), "
|
|
7174
|
+
}), "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"] || "path" === input["in"] || _report(_exceptionable, {
|
|
7175
7175
|
path: _path + "[\"in\"]",
|
|
7176
7176
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
7177
7177
|
value: input["in"]
|
|
@@ -7779,8 +7779,9 @@ const validateHttpLlmApplication = (props) => {
|
|
|
7779
7779
|
data: input
|
|
7780
7780
|
};
|
|
7781
7781
|
}; })()(props.document);
|
|
7782
|
-
if (inspect.success === false)
|
|
7782
|
+
if (inspect.success === false) {
|
|
7783
7783
|
return inspect;
|
|
7784
|
+
}
|
|
7784
7785
|
return {
|
|
7785
7786
|
success: true,
|
|
7786
7787
|
data: openapi_1.HttpLlm.application({
|
|
@@ -7789,6 +7790,5 @@ const validateHttpLlmApplication = (props) => {
|
|
|
7789
7790
|
options: props.options,
|
|
7790
7791
|
}),
|
|
7791
7792
|
};
|
|
7792
|
-
}
|
|
7793
|
-
exports.validateHttpLlmApplication = validateHttpLlmApplication;
|
|
7793
|
+
}
|
|
7794
7794
|
//# sourceMappingURL=validateHttpLlmApplication.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/validateHttpLlmApplication.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validateHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/validateHttpLlmApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,gEAwCC;;;AA/DD,8CAG0B;AAC1B,kDAA0B;AAE1B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,0BAA0B,CAExC,KAmBD;IACC,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;QAC9B,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,iBAAO,CAAC,WAAW,CAAC;YACxB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,iBAAO,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;YACzC,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC;KACH,CAAC;AACJ,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./structures/IAgenticaController";
|
|
3
|
-
export * from "./structures/IAgenticaExecutor";
|
|
4
|
-
export * from "./structures/IAgenticaProps";
|
|
5
|
-
export * from "./structures/IAgenticaVendor";
|
|
6
|
-
export * from "./structures/IAgenticaSystemPrompt";
|
|
7
|
-
export * from "./json/IAgenticaEventJson";
|
|
8
|
-
export * from "./json/IAgenticaOperationJson";
|
|
9
|
-
export * from "./json/IAgenticaOperationSelectionJson";
|
|
10
|
-
export * from "./json/IAgenticaPromptJson";
|
|
11
|
-
export * from "./json/IAgenticaTokenUsageJson";
|
|
1
|
+
export * from "./Agentica";
|
|
12
2
|
export * from "./context/AgenticaContext";
|
|
13
3
|
export * from "./context/AgenticaOperation";
|
|
14
4
|
export * from "./context/AgenticaOperationCollection";
|
|
15
5
|
export * from "./context/AgenticaOperationSelection";
|
|
16
6
|
export * from "./context/AgenticaTokenUsage";
|
|
17
|
-
export * from "./prompts/AgenticaPrompt";
|
|
18
|
-
export * from "./prompts/AgenticaCancelPrompt";
|
|
19
|
-
export * from "./prompts/AgenticaDescribePrompt";
|
|
20
|
-
export * from "./prompts/AgenticaExecutePrompt";
|
|
21
|
-
export * from "./prompts/AgenticaSelectPrompt";
|
|
22
|
-
export * from "./prompts/AgenticaTextPrompt";
|
|
23
|
-
export * from "./events/AgenticaEvent";
|
|
24
7
|
export * from "./events/AgenticaCallEvent";
|
|
25
8
|
export * from "./events/AgenticaCancelEvent";
|
|
26
9
|
export * from "./events/AgenticaDescribeEvent";
|
|
10
|
+
export * from "./events/AgenticaEvent";
|
|
27
11
|
export * from "./events/AgenticaEventSource";
|
|
28
12
|
export * from "./events/AgenticaExecuteEvent";
|
|
29
13
|
export * from "./events/AgenticaRequestEvent";
|
|
@@ -32,4 +16,20 @@ export * from "./events/AgenticaSelectEvent";
|
|
|
32
16
|
export * from "./events/AgenticaTextEvent";
|
|
33
17
|
export * from "./functional/assertHttpLlmApplication";
|
|
34
18
|
export * from "./functional/validateHttpLlmApplication";
|
|
35
|
-
export * from "./
|
|
19
|
+
export * from "./json/IAgenticaEventJson";
|
|
20
|
+
export * from "./json/IAgenticaOperationJson";
|
|
21
|
+
export * from "./json/IAgenticaOperationSelectionJson";
|
|
22
|
+
export * from "./json/IAgenticaPromptJson";
|
|
23
|
+
export * from "./json/IAgenticaTokenUsageJson";
|
|
24
|
+
export * from "./prompts/AgenticaCancelPrompt";
|
|
25
|
+
export * from "./prompts/AgenticaDescribePrompt";
|
|
26
|
+
export * from "./prompts/AgenticaExecutePrompt";
|
|
27
|
+
export * from "./prompts/AgenticaPrompt";
|
|
28
|
+
export * from "./prompts/AgenticaSelectPrompt";
|
|
29
|
+
export * from "./prompts/AgenticaTextPrompt";
|
|
30
|
+
export * from "./structures/IAgenticaConfig";
|
|
31
|
+
export * from "./structures/IAgenticaController";
|
|
32
|
+
export * from "./structures/IAgenticaExecutor";
|
|
33
|
+
export * from "./structures/IAgenticaProps";
|
|
34
|
+
export * from "./structures/IAgenticaSystemPrompt";
|
|
35
|
+
export * from "./structures/IAgenticaVendor";
|
package/lib/index.js
CHANGED
|
@@ -14,35 +14,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./structures/IAgenticaConfig"), exports);
|
|
19
|
-
__exportStar(require("./structures/IAgenticaController"), exports);
|
|
20
|
-
__exportStar(require("./structures/IAgenticaExecutor"), exports);
|
|
21
|
-
__exportStar(require("./structures/IAgenticaProps"), exports);
|
|
22
|
-
__exportStar(require("./structures/IAgenticaVendor"), exports);
|
|
23
|
-
__exportStar(require("./structures/IAgenticaSystemPrompt"), exports);
|
|
24
|
-
__exportStar(require("./json/IAgenticaEventJson"), exports);
|
|
25
|
-
__exportStar(require("./json/IAgenticaOperationJson"), exports);
|
|
26
|
-
__exportStar(require("./json/IAgenticaOperationSelectionJson"), exports);
|
|
27
|
-
__exportStar(require("./json/IAgenticaPromptJson"), exports);
|
|
28
|
-
__exportStar(require("./json/IAgenticaTokenUsageJson"), exports);
|
|
17
|
+
__exportStar(require("./Agentica"), exports);
|
|
29
18
|
// CONTEXT
|
|
30
19
|
__exportStar(require("./context/AgenticaContext"), exports);
|
|
31
20
|
__exportStar(require("./context/AgenticaOperation"), exports);
|
|
32
21
|
__exportStar(require("./context/AgenticaOperationCollection"), exports);
|
|
33
22
|
__exportStar(require("./context/AgenticaOperationSelection"), exports);
|
|
34
23
|
__exportStar(require("./context/AgenticaTokenUsage"), exports);
|
|
35
|
-
__exportStar(require("./prompts/AgenticaPrompt"), exports);
|
|
36
|
-
__exportStar(require("./prompts/AgenticaCancelPrompt"), exports);
|
|
37
|
-
__exportStar(require("./prompts/AgenticaDescribePrompt"), exports);
|
|
38
|
-
__exportStar(require("./prompts/AgenticaExecutePrompt"), exports);
|
|
39
|
-
__exportStar(require("./prompts/AgenticaSelectPrompt"), exports);
|
|
40
|
-
__exportStar(require("./prompts/AgenticaTextPrompt"), exports);
|
|
41
|
-
// EVENTS
|
|
42
|
-
__exportStar(require("./events/AgenticaEvent"), exports);
|
|
43
24
|
__exportStar(require("./events/AgenticaCallEvent"), exports);
|
|
44
25
|
__exportStar(require("./events/AgenticaCancelEvent"), exports);
|
|
45
26
|
__exportStar(require("./events/AgenticaDescribeEvent"), exports);
|
|
27
|
+
// EVENTS
|
|
28
|
+
__exportStar(require("./events/AgenticaEvent"), exports);
|
|
46
29
|
__exportStar(require("./events/AgenticaEventSource"), exports);
|
|
47
30
|
__exportStar(require("./events/AgenticaExecuteEvent"), exports);
|
|
48
31
|
__exportStar(require("./events/AgenticaRequestEvent"), exports);
|
|
@@ -52,5 +35,22 @@ __exportStar(require("./events/AgenticaTextEvent"), exports);
|
|
|
52
35
|
// FACADE CLASS
|
|
53
36
|
__exportStar(require("./functional/assertHttpLlmApplication"), exports);
|
|
54
37
|
__exportStar(require("./functional/validateHttpLlmApplication"), exports);
|
|
55
|
-
__exportStar(require("./
|
|
38
|
+
__exportStar(require("./json/IAgenticaEventJson"), exports);
|
|
39
|
+
__exportStar(require("./json/IAgenticaOperationJson"), exports);
|
|
40
|
+
__exportStar(require("./json/IAgenticaOperationSelectionJson"), exports);
|
|
41
|
+
__exportStar(require("./json/IAgenticaPromptJson"), exports);
|
|
42
|
+
__exportStar(require("./json/IAgenticaTokenUsageJson"), exports);
|
|
43
|
+
__exportStar(require("./prompts/AgenticaCancelPrompt"), exports);
|
|
44
|
+
__exportStar(require("./prompts/AgenticaDescribePrompt"), exports);
|
|
45
|
+
__exportStar(require("./prompts/AgenticaExecutePrompt"), exports);
|
|
46
|
+
__exportStar(require("./prompts/AgenticaPrompt"), exports);
|
|
47
|
+
__exportStar(require("./prompts/AgenticaSelectPrompt"), exports);
|
|
48
|
+
__exportStar(require("./prompts/AgenticaTextPrompt"), exports);
|
|
49
|
+
// STRUCTURES
|
|
50
|
+
__exportStar(require("./structures/IAgenticaConfig"), exports);
|
|
51
|
+
__exportStar(require("./structures/IAgenticaController"), exports);
|
|
52
|
+
__exportStar(require("./structures/IAgenticaExecutor"), exports);
|
|
53
|
+
__exportStar(require("./structures/IAgenticaProps"), exports);
|
|
54
|
+
__exportStar(require("./structures/IAgenticaSystemPrompt"), exports);
|
|
55
|
+
__exportStar(require("./structures/IAgenticaVendor"), exports);
|
|
56
56
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,UAAU;AACV,4DAA0C;AAC1C,8DAA4C;AAC5C,wEAAsD;AACtD,uEAAqD;AACrD,+DAA6C;AAE7C,6DAA2C;AAC3C,+DAA6C;AAC7C,iEAA+C;AAC/C,SAAS;AACT,yDAAuC;AACvC,+DAA6C;AAE7C,gEAA8C;AAC9C,gEAA8C;AAC9C,iEAA+C;AAC/C,+DAA6C;AAC7C,6DAA2C;AAE3C,eAAe;AACf,wEAAsD;AACtD,0EAAwD;AACxD,4DAA0C;AAC1C,gEAA8C;AAC9C,yEAAuD;AACvD,6DAA2C;AAE3C,iEAA+C;AAC/C,iEAA+C;AAC/C,mEAAiD;AACjD,kEAAgD;AAChD,2DAAyC;AACzC,iEAA+C;AAC/C,+DAA6C;AAC7C,aAAa;AACb,+DAA6C;AAC7C,mEAAiD;AACjD,iEAA+C;AAE/C,8DAA4C;AAC5C,qEAAmD;AACnD,+DAA6C"}
|