@agentica/core 0.17.1 → 0.18.0

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/lib/index.mjs CHANGED
@@ -687,7 +687,7 @@ function transformCompletionChunk(source) {
687
687
  const result = JSON.parse(str);
688
688
  const valid = (() => {
689
689
  const _io0 = input => "string" === typeof input.id && (Array.isArray(input.choices) && input.choices.every((elem => "object" === typeof elem && null !== elem && _io1(elem)))) && "number" === typeof input.created && "string" === typeof input.model && "chat.completion.chunk" === input.object && (null === input.service_tier || undefined === input.service_tier || "scale" === input.service_tier || "default" === input.service_tier) && (undefined === input.system_fingerprint || "string" === typeof input.system_fingerprint) && (null === input.usage || undefined === input.usage || "object" === typeof input.usage && null !== input.usage && _io9(input.usage));
690
- const _io1 = input => "object" === typeof input.delta && null !== input.delta && false === Array.isArray(input.delta) && _io2(input.delta) && (null === input.finish_reason || "function_call" === input.finish_reason || "stop" === input.finish_reason || "length" === input.finish_reason || "tool_calls" === input.finish_reason || "content_filter" === input.finish_reason) && "number" === typeof input.index && (null === input.logprobs || undefined === input.logprobs || "object" === typeof input.logprobs && null !== input.logprobs && _io6(input.logprobs));
690
+ const _io1 = input => "object" === typeof input.delta && null !== input.delta && false === Array.isArray(input.delta) && _io2(input.delta) && (null === input.finish_reason || "length" === input.finish_reason || "function_call" === input.finish_reason || "stop" === input.finish_reason || "tool_calls" === input.finish_reason || "content_filter" === input.finish_reason) && "number" === typeof input.index && (null === input.logprobs || undefined === input.logprobs || "object" === typeof input.logprobs && null !== input.logprobs && _io6(input.logprobs));
691
691
  const _io2 = input => (null === input.content || undefined === input.content || "string" === typeof input.content) && (undefined === input.function_call || "object" === typeof input.function_call && null !== input.function_call && false === Array.isArray(input.function_call) && _io3(input.function_call)) && (null === input.refusal || undefined === input.refusal || "string" === typeof input.refusal) && (undefined === input.role || "assistant" === input.role || "user" === input.role || "developer" === input.role || "system" === input.role || "tool" === input.role) && (undefined === input.tool_calls || Array.isArray(input.tool_calls) && input.tool_calls.every((elem => "object" === typeof elem && null !== elem && _io4(elem))));
692
692
  const _io3 = input => (undefined === input.arguments || "string" === typeof input.arguments) && (undefined === input.name || "string" === typeof input.name);
693
693
  const _io4 = input => "number" === typeof input.index && (undefined === input.id || "string" === typeof input.id) && (undefined === input["function"] || "object" === typeof input["function"] && null !== input["function"] && false === Array.isArray(input["function"]) && _io5(input["function"])) && (undefined === input.type || "function" === input.type);
@@ -755,7 +755,7 @@ function transformCompletionChunk(source) {
755
755
  path: _path + ".delta",
756
756
  expected: "ChatCompletionChunk.Choice.Delta",
757
757
  value: input.delta
758
- }), null === input.finish_reason || "function_call" === input.finish_reason || "stop" === input.finish_reason || "length" === input.finish_reason || "tool_calls" === input.finish_reason || "content_filter" === input.finish_reason || _report(_exceptionable, {
758
+ }), null === input.finish_reason || "length" === input.finish_reason || "function_call" === input.finish_reason || "stop" === input.finish_reason || "tool_calls" === input.finish_reason || "content_filter" === input.finish_reason || _report(_exceptionable, {
759
759
  path: _path + ".finish_reason",
760
760
  expected: '("content_filter" | "function_call" | "length" | "stop" | "tool_calls" | null)',
761
761
  value: input.finish_reason
@@ -1514,33 +1514,11 @@ async function executeClassOperation(operation, operationArguments) {
1514
1514
  }
1515
1515
 
1516
1516
  async function executeMcpOperation(operation, operationArguments) {
1517
- const {Client} = await import("@modelcontextprotocol/sdk/client/index.js");
1518
- const {SSEClientTransport} = await import("@modelcontextprotocol/sdk/client/sse.js");
1519
- const {StdioClientTransport} = await import("@modelcontextprotocol/sdk/client/stdio.js");
1520
- const client = new Client({
1521
- name: operation.name,
1522
- version: "1.0.0"
1523
- });
1524
- const transport = (() => {
1525
- switch (operation.controller.application.transport.type) {
1526
- case "sse":
1527
- return new SSEClientTransport(operation.controller.application.transport.url);
1528
-
1529
- case "stdio":
1530
- return new StdioClientTransport(operation.controller.application.transport);
1531
-
1532
- default:
1533
- operation.controller.application.transport;
1534
- throw new Error("Unsupported transport type");
1535
- }
1536
- })();
1537
- await client.connect(transport);
1538
- const result = await client.callTool({
1517
+ return operation.controller.application.client.callTool({
1539
1518
  method: operation.function.name,
1540
1519
  name: operation.function.name,
1541
1520
  arguments: operationArguments
1542
- });
1543
- return result.content;
1521
+ }).then((v => v.content));
1544
1522
  }
1545
1523
 
1546
1524
  async function correct(ctx, call, retry, error) {
@@ -4569,7 +4547,7 @@ function assertHttpLlmApplication(props) {
4569
4547
  if (undefined === value) return true;
4570
4548
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io41(value);
4571
4549
  }));
4572
- const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu1(elem)))) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace));
4550
+ const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu1(elem)))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace));
4573
4551
  const _io42 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
4574
4552
  const _io43 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu2(elem)))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io45(input.responses)) && (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);
4575
4553
  const _io44 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
@@ -4682,7 +4660,7 @@ function assertHttpLlmApplication(props) {
4682
4660
  if (undefined === value) return true;
4683
4661
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io98(value);
4684
4662
  }));
4685
- const _io98 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu4(elem)))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io49(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) && _io100(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io100(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io100(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io100(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io100(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io100(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io100(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io100(input.trace));
4663
+ const _io98 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu4(elem)))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io49(elem)))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io100(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io100(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io100(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io100(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io100(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io100(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io100(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io100(input.trace));
4686
4664
  const _io99 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
4687
4665
  const _io100 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu4(elem)))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu15(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io102(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io49(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);
4688
4666
  const _io101 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
@@ -4731,7 +4709,7 @@ function assertHttpLlmApplication(props) {
4731
4709
  if (undefined === value) return true;
4732
4710
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
4733
4711
  }));
4734
- 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));
4712
+ 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.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (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.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));
4735
4713
  const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === 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));
4736
4714
  const _io133 = input => Object.keys(input).every((key => {
4737
4715
  const value = input[key];
@@ -4859,7 +4837,7 @@ function assertHttpLlmApplication(props) {
4859
4837
  if (undefined === value) return true;
4860
4838
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
4861
4839
  }));
4862
- 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));
4840
+ 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.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (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.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));
4863
4841
  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"]);
4864
4842
  const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === 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));
4865
4843
  const _io202 = input => Object.keys(input).every((key => {
@@ -6919,6 +6897,16 @@ function assertHttpLlmApplication(props) {
6919
6897
  path: _path + ".parameters",
6920
6898
  expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
6921
6899
  value: input.parameters
6900
+ }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
6901
+ method: "typia.assert",
6902
+ path: _path + ".options",
6903
+ expected: "(SwaggerV2.IOperation | undefined)",
6904
+ value: input.options
6905
+ }, _errorFactory)) && _ao43(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
6906
+ method: "typia.assert",
6907
+ path: _path + ".options",
6908
+ expected: "(SwaggerV2.IOperation | undefined)",
6909
+ value: input.options
6922
6910
  }, _errorFactory)) && (undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
6923
6911
  method: "typia.assert",
6924
6912
  path: _path + ".get",
@@ -6969,16 +6957,6 @@ function assertHttpLlmApplication(props) {
6969
6957
  path: _path + '["delete"]',
6970
6958
  expected: "(SwaggerV2.IOperation | undefined)",
6971
6959
  value: input["delete"]
6972
- }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
6973
- method: "typia.assert",
6974
- path: _path + ".options",
6975
- expected: "(SwaggerV2.IOperation | undefined)",
6976
- value: input.options
6977
- }, _errorFactory)) && _ao43(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
6978
- method: "typia.assert",
6979
- path: _path + ".options",
6980
- expected: "(SwaggerV2.IOperation | undefined)",
6981
- value: input.options
6982
6960
  }, _errorFactory)) && (undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
6983
6961
  method: "typia.assert",
6984
6962
  path: _path + ".head",
@@ -8972,6 +8950,16 @@ function assertHttpLlmApplication(props) {
8972
8950
  path: _path + ".description",
8973
8951
  expected: "(string | undefined)",
8974
8952
  value: input.description
8953
+ }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8954
+ method: "typia.assert",
8955
+ path: _path + ".options",
8956
+ expected: "(OpenApiV3.IOperation | undefined)",
8957
+ value: input.options
8958
+ }, _errorFactory)) && _ao100(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8959
+ method: "typia.assert",
8960
+ path: _path + ".options",
8961
+ expected: "(OpenApiV3.IOperation | undefined)",
8962
+ value: input.options
8975
8963
  }, _errorFactory)) && (undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8976
8964
  method: "typia.assert",
8977
8965
  path: _path + ".get",
@@ -9022,16 +9010,6 @@ function assertHttpLlmApplication(props) {
9022
9010
  path: _path + '["delete"]',
9023
9011
  expected: "(OpenApiV3.IOperation | undefined)",
9024
9012
  value: input["delete"]
9025
- }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9026
- method: "typia.assert",
9027
- path: _path + ".options",
9028
- expected: "(OpenApiV3.IOperation | undefined)",
9029
- value: input.options
9030
- }, _errorFactory)) && _ao100(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9031
- method: "typia.assert",
9032
- path: _path + ".options",
9033
- expected: "(OpenApiV3.IOperation | undefined)",
9034
- value: input.options
9035
9013
  }, _errorFactory)) && (undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9036
9014
  method: "typia.assert",
9037
9015
  path: _path + ".head",
@@ -11016,6 +10994,16 @@ function assertHttpLlmApplication(props) {
11016
10994
  path: _path + ".description",
11017
10995
  expected: "(string | undefined)",
11018
10996
  value: input.description
10997
+ }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10998
+ method: "typia.assert",
10999
+ path: _path + ".options",
11000
+ expected: "(OpenApiV3_1.IOperation | undefined)",
11001
+ value: input.options
11002
+ }, _errorFactory)) && _ao138(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11003
+ method: "typia.assert",
11004
+ path: _path + ".options",
11005
+ expected: "(OpenApiV3_1.IOperation | undefined)",
11006
+ value: input.options
11019
11007
  }, _errorFactory)) && (undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11020
11008
  method: "typia.assert",
11021
11009
  path: _path + ".get",
@@ -11066,16 +11054,6 @@ function assertHttpLlmApplication(props) {
11066
11054
  path: _path + '["delete"]',
11067
11055
  expected: "(OpenApiV3_1.IOperation | undefined)",
11068
11056
  value: input["delete"]
11069
- }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11070
- method: "typia.assert",
11071
- path: _path + ".options",
11072
- expected: "(OpenApiV3_1.IOperation | undefined)",
11073
- value: input.options
11074
- }, _errorFactory)) && _ao138(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11075
- method: "typia.assert",
11076
- path: _path + ".options",
11077
- expected: "(OpenApiV3_1.IOperation | undefined)",
11078
- value: input.options
11079
11057
  }, _errorFactory)) && (undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11080
11058
  method: "typia.assert",
11081
11059
  path: _path + ".head",
@@ -13219,6 +13197,16 @@ function assertHttpLlmApplication(props) {
13219
13197
  path: _path + ".description",
13220
13198
  expected: "(string | undefined)",
13221
13199
  value: input.description
13200
+ }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13201
+ method: "typia.assert",
13202
+ path: _path + ".options",
13203
+ expected: "(OpenApi.IOperation | undefined)",
13204
+ value: input.options
13205
+ }, _errorFactory)) && _ao200(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13206
+ method: "typia.assert",
13207
+ path: _path + ".options",
13208
+ expected: "(OpenApi.IOperation | undefined)",
13209
+ value: input.options
13222
13210
  }, _errorFactory)) && (undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13223
13211
  method: "typia.assert",
13224
13212
  path: _path + ".get",
@@ -13269,16 +13257,6 @@ function assertHttpLlmApplication(props) {
13269
13257
  path: _path + '["delete"]',
13270
13258
  expected: "(OpenApi.IOperation | undefined)",
13271
13259
  value: input["delete"]
13272
- }, _errorFactory)) && (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13273
- method: "typia.assert",
13274
- path: _path + ".options",
13275
- expected: "(OpenApi.IOperation | undefined)",
13276
- value: input.options
13277
- }, _errorFactory)) && _ao200(input.options, _path + ".options", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13278
- method: "typia.assert",
13279
- path: _path + ".options",
13280
- expected: "(OpenApi.IOperation | undefined)",
13281
- value: input.options
13282
13260
  }, _errorFactory)) && (undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13283
13261
  method: "typia.assert",
13284
13262
  path: _path + ".head",
@@ -13860,28 +13838,8 @@ function assertHttpLlmApplication(props) {
13860
13838
  }
13861
13839
 
13862
13840
  async function assertMcpLlmApplication(props) {
13863
- const {Client} = await import("@modelcontextprotocol/sdk/client/index.js");
13864
- const {SSEClientTransport} = await import("@modelcontextprotocol/sdk/client/sse.js");
13865
- const {StdioClientTransport} = await import("@modelcontextprotocol/sdk/client/stdio.js");
13866
13841
  const {ListToolsResultSchema} = await import("@modelcontextprotocol/sdk/types.js");
13867
- const client = new Client({
13868
- name: "get_tool_list",
13869
- version: "1.0.0"
13870
- });
13871
- const transport = (() => {
13872
- switch (props.type) {
13873
- case "sse":
13874
- return new SSEClientTransport(props.url);
13875
-
13876
- case "stdio":
13877
- return new StdioClientTransport(props);
13878
-
13879
- default:
13880
- throw new Error("Invalid transport type");
13881
- }
13882
- })();
13883
- await client.connect(transport);
13884
- const toolList = await client.request({
13842
+ const toolList = await props.client.request({
13885
13843
  method: "tools/list"
13886
13844
  }, ListToolsResultSchema);
13887
13845
  return {
@@ -13890,7 +13848,7 @@ async function assertMcpLlmApplication(props) {
13890
13848
  description: tool.description,
13891
13849
  parameters: tool.inputSchema
13892
13850
  }))),
13893
- transport: props
13851
+ client: props.client
13894
13852
  };
13895
13853
  }
13896
13854
 
@@ -13965,7 +13923,7 @@ function validateHttpLlmApplication(props) {
13965
13923
  if (undefined === value) return true;
13966
13924
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io41(value);
13967
13925
  }));
13968
- const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu1(elem)))) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace));
13926
+ const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu1(elem)))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace));
13969
13927
  const _io42 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
13970
13928
  const _io43 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu2(elem)))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io45(input.responses)) && (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);
13971
13929
  const _io44 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
@@ -14078,7 +14036,7 @@ function validateHttpLlmApplication(props) {
14078
14036
  if (undefined === value) return true;
14079
14037
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io98(value);
14080
14038
  }));
14081
- const _io98 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu4(elem)))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io49(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) && _io100(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io100(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io100(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io100(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io100(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io100(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io100(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io100(input.trace));
14039
+ const _io98 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu4(elem)))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io49(elem)))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io100(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io100(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io100(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io100(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io100(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io100(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io100(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io100(input.trace));
14082
14040
  const _io99 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
14083
14041
  const _io100 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu4(elem)))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu15(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io102(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io49(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);
14084
14042
  const _io101 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
@@ -14127,7 +14085,7 @@ function validateHttpLlmApplication(props) {
14127
14085
  if (undefined === value) return true;
14128
14086
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
14129
14087
  }));
14130
- 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));
14088
+ 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.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (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.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));
14131
14089
  const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === 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));
14132
14090
  const _io133 = input => Object.keys(input).every((key => {
14133
14091
  const value = input[key];
@@ -14255,7 +14213,7 @@ function validateHttpLlmApplication(props) {
14255
14213
  if (undefined === value) return true;
14256
14214
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
14257
14215
  }));
14258
- 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));
14216
+ 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.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (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.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));
14259
14217
  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"]);
14260
14218
  const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === 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));
14261
14219
  const _io202 = input => Object.keys(input).every((key => {
@@ -15940,6 +15898,14 @@ function validateHttpLlmApplication(props) {
15940
15898
  path: _path + ".parameters",
15941
15899
  expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
15942
15900
  value: input.parameters
15901
+ }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
15902
+ path: _path + ".options",
15903
+ expected: "(SwaggerV2.IOperation | undefined)",
15904
+ value: input.options
15905
+ })) && _vo43(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
15906
+ path: _path + ".options",
15907
+ expected: "(SwaggerV2.IOperation | undefined)",
15908
+ value: input.options
15943
15909
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
15944
15910
  path: _path + ".get",
15945
15911
  expected: "(SwaggerV2.IOperation | undefined)",
@@ -15980,14 +15946,6 @@ function validateHttpLlmApplication(props) {
15980
15946
  path: _path + '["delete"]',
15981
15947
  expected: "(SwaggerV2.IOperation | undefined)",
15982
15948
  value: input["delete"]
15983
- }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
15984
- path: _path + ".options",
15985
- expected: "(SwaggerV2.IOperation | undefined)",
15986
- value: input.options
15987
- })) && _vo43(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
15988
- path: _path + ".options",
15989
- expected: "(SwaggerV2.IOperation | undefined)",
15990
- value: input.options
15991
15949
  }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
15992
15950
  path: _path + ".head",
15993
15951
  expected: "(SwaggerV2.IOperation | undefined)",
@@ -17605,6 +17563,14 @@ function validateHttpLlmApplication(props) {
17605
17563
  path: _path + ".description",
17606
17564
  expected: "(string | undefined)",
17607
17565
  value: input.description
17566
+ }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
17567
+ path: _path + ".options",
17568
+ expected: "(OpenApiV3.IOperation | undefined)",
17569
+ value: input.options
17570
+ })) && _vo100(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
17571
+ path: _path + ".options",
17572
+ expected: "(OpenApiV3.IOperation | undefined)",
17573
+ value: input.options
17608
17574
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
17609
17575
  path: _path + ".get",
17610
17576
  expected: "(OpenApiV3.IOperation | undefined)",
@@ -17645,14 +17611,6 @@ function validateHttpLlmApplication(props) {
17645
17611
  path: _path + '["delete"]',
17646
17612
  expected: "(OpenApiV3.IOperation | undefined)",
17647
17613
  value: input["delete"]
17648
- }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
17649
- path: _path + ".options",
17650
- expected: "(OpenApiV3.IOperation | undefined)",
17651
- value: input.options
17652
- })) && _vo100(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
17653
- path: _path + ".options",
17654
- expected: "(OpenApiV3.IOperation | undefined)",
17655
- value: input.options
17656
17614
  }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
17657
17615
  path: _path + ".head",
17658
17616
  expected: "(OpenApiV3.IOperation | undefined)",
@@ -19250,6 +19208,14 @@ function validateHttpLlmApplication(props) {
19250
19208
  path: _path + ".description",
19251
19209
  expected: "(string | undefined)",
19252
19210
  value: input.description
19211
+ }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
19212
+ path: _path + ".options",
19213
+ expected: "(OpenApiV3_1.IOperation | undefined)",
19214
+ value: input.options
19215
+ })) && _vo138(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
19216
+ path: _path + ".options",
19217
+ expected: "(OpenApiV3_1.IOperation | undefined)",
19218
+ value: input.options
19253
19219
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
19254
19220
  path: _path + ".get",
19255
19221
  expected: "(OpenApiV3_1.IOperation | undefined)",
@@ -19290,14 +19256,6 @@ function validateHttpLlmApplication(props) {
19290
19256
  path: _path + '["delete"]',
19291
19257
  expected: "(OpenApiV3_1.IOperation | undefined)",
19292
19258
  value: input["delete"]
19293
- }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
19294
- path: _path + ".options",
19295
- expected: "(OpenApiV3_1.IOperation | undefined)",
19296
- value: input.options
19297
- })) && _vo138(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
19298
- path: _path + ".options",
19299
- expected: "(OpenApiV3_1.IOperation | undefined)",
19300
- value: input.options
19301
19259
  }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
19302
19260
  path: _path + ".head",
19303
19261
  expected: "(OpenApiV3_1.IOperation | undefined)",
@@ -21038,6 +20996,14 @@ function validateHttpLlmApplication(props) {
21038
20996
  path: _path + ".description",
21039
20997
  expected: "(string | undefined)",
21040
20998
  value: input.description
20999
+ }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
21000
+ path: _path + ".options",
21001
+ expected: "(OpenApi.IOperation | undefined)",
21002
+ value: input.options
21003
+ })) && _vo200(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
21004
+ path: _path + ".options",
21005
+ expected: "(OpenApi.IOperation | undefined)",
21006
+ value: input.options
21041
21007
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
21042
21008
  path: _path + ".get",
21043
21009
  expected: "(OpenApi.IOperation | undefined)",
@@ -21078,14 +21044,6 @@ function validateHttpLlmApplication(props) {
21078
21044
  path: _path + '["delete"]',
21079
21045
  expected: "(OpenApi.IOperation | undefined)",
21080
21046
  value: input["delete"]
21081
- }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
21082
- path: _path + ".options",
21083
- expected: "(OpenApi.IOperation | undefined)",
21084
- value: input.options
21085
- })) && _vo200(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
21086
- path: _path + ".options",
21087
- expected: "(OpenApi.IOperation | undefined)",
21088
- value: input.options
21089
21047
  }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
21090
21048
  path: _path + ".head",
21091
21049
  expected: "(OpenApi.IOperation | undefined)",