@agentica/core 0.21.0 → 0.23.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.
Files changed (91) hide show
  1. package/README.md +10 -11
  2. package/lib/Agentica.d.ts +2 -1
  3. package/lib/Agentica.js +15 -13
  4. package/lib/Agentica.js.map +1 -1
  5. package/lib/MicroAgentica.d.ts +12 -1
  6. package/lib/MicroAgentica.js +23 -10
  7. package/lib/MicroAgentica.js.map +1 -1
  8. package/lib/context/AgenticaContext.d.ts +4 -4
  9. package/lib/context/MicroAgenticaContext.d.ts +2 -2
  10. package/lib/events/AgenticaEvent.d.ts +3 -1
  11. package/lib/events/AgenticaTextEvent.d.ts +2 -2
  12. package/lib/events/AgenticaUserInputEvent.d.ts +10 -0
  13. package/lib/events/AgenticaUserInputEvent.js +3 -0
  14. package/lib/events/AgenticaUserInputEvent.js.map +1 -0
  15. package/lib/events/MicroAgenticaEvent.d.ts +3 -1
  16. package/lib/factory/events.d.ts +7 -3
  17. package/lib/factory/events.js +29 -4
  18. package/lib/factory/events.js.map +1 -1
  19. package/lib/factory/histories.d.ts +6 -3
  20. package/lib/factory/histories.js +59 -32
  21. package/lib/factory/histories.js.map +1 -1
  22. package/lib/functional/assertHttpController.d.ts +75 -0
  23. package/lib/functional/assertHttpController.js +9622 -0
  24. package/lib/functional/assertHttpController.js.map +1 -0
  25. package/lib/functional/assertHttpLlmApplication.d.ts +1 -0
  26. package/lib/functional/assertHttpLlmApplication.js +1 -0
  27. package/lib/functional/assertHttpLlmApplication.js.map +1 -1
  28. package/lib/functional/assertMcpController.d.ts +1 -1
  29. package/lib/functional/assertMcpController.js +1 -1
  30. package/lib/functional/assertMcpController.js.map +1 -1
  31. package/lib/functional/validateHttpController.d.ts +75 -0
  32. package/lib/functional/validateHttpController.js +7952 -0
  33. package/lib/functional/validateHttpController.js.map +1 -0
  34. package/lib/functional/validateHttpLlmApplication.d.ts +1 -0
  35. package/lib/functional/validateHttpLlmApplication.js +1 -0
  36. package/lib/functional/validateHttpLlmApplication.js.map +1 -1
  37. package/lib/functional/validateMcpController.d.ts +24 -0
  38. package/lib/functional/validateMcpController.js +3034 -0
  39. package/lib/functional/validateMcpController.js.map +1 -0
  40. package/lib/histories/AgenticaHistory.d.ts +3 -1
  41. package/lib/histories/AgenticaTextHistory.d.ts +2 -2
  42. package/lib/histories/AgenticaUserInputHistory.d.ts +80 -0
  43. package/lib/histories/AgenticaUserInputHistory.js +3 -0
  44. package/lib/histories/AgenticaUserInputHistory.js.map +1 -0
  45. package/lib/histories/MicroAgenticaHistory.d.ts +2 -1
  46. package/lib/index.d.ts +3 -0
  47. package/lib/index.js +3 -0
  48. package/lib/index.js.map +1 -1
  49. package/lib/index.mjs +25984 -5962
  50. package/lib/index.mjs.map +1 -1
  51. package/lib/json/IAgenticaEventJson.d.ts +8 -1
  52. package/lib/json/IAgenticaHistoryJson.d.ts +15 -3
  53. package/lib/orchestrate/call.js +3 -7
  54. package/lib/orchestrate/call.js.map +1 -1
  55. package/lib/orchestrate/cancel.js +1 -1
  56. package/lib/orchestrate/cancel.js.map +1 -1
  57. package/lib/orchestrate/initialize.js +2 -6
  58. package/lib/orchestrate/initialize.js.map +1 -1
  59. package/lib/orchestrate/select.js +2 -6
  60. package/lib/orchestrate/select.js.map +1 -1
  61. package/lib/transformers/AgenticaEventTransformer.js +0 -1
  62. package/lib/transformers/AgenticaEventTransformer.js.map +1 -1
  63. package/package.json +2 -2
  64. package/src/Agentica.ts +21 -18
  65. package/src/MicroAgentica.ts +30 -15
  66. package/src/context/AgenticaContext.ts +4 -4
  67. package/src/context/MicroAgenticaContext.ts +2 -2
  68. package/src/events/AgenticaEvent.ts +4 -1
  69. package/src/events/AgenticaTextEvent.ts +2 -4
  70. package/src/events/AgenticaUserInputEvent.ts +12 -0
  71. package/src/events/MicroAgenticaEvent.ts +4 -1
  72. package/src/factory/events.ts +26 -8
  73. package/src/factory/histories.ts +76 -43
  74. package/src/functional/assertHttpController.ts +112 -0
  75. package/src/functional/assertHttpLlmApplication.ts +1 -0
  76. package/src/functional/assertMcpController.ts +1 -2
  77. package/src/functional/validateHttpController.ts +118 -0
  78. package/src/functional/validateHttpLlmApplication.ts +1 -1
  79. package/src/functional/validateMcpController.ts +56 -0
  80. package/src/histories/AgenticaHistory.ts +4 -1
  81. package/src/histories/AgenticaTextHistory.ts +2 -4
  82. package/src/histories/AgenticaUserInputHistory.ts +88 -0
  83. package/src/histories/MicroAgenticaHistory.ts +3 -1
  84. package/src/index.ts +3 -0
  85. package/src/json/IAgenticaEventJson.ts +9 -1
  86. package/src/json/IAgenticaHistoryJson.ts +16 -4
  87. package/src/orchestrate/call.ts +5 -7
  88. package/src/orchestrate/cancel.ts +1 -1
  89. package/src/orchestrate/initialize.ts +2 -6
  90. package/src/orchestrate/select.ts +2 -7
  91. package/src/transformers/AgenticaEventTransformer.ts +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateHttpController.js","sourceRoot":"","sources":["../../src/functional/validateHttpController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,wDA6FC;;;AAnHD,8CAAoD;AACpD,kDAA0B;AAI1B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,sBAAsB,CAEpC,KAmED;IACC,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAKX,KAAK,CAAC,QAAQ,CAAC,CAAC;IAClB,IAAI,OAAO,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;QAC9B,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,WAAW,EAAE,iBAAO,CAAC,WAAW,CAAC;gBAC/B,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,QAAQ,EAAE,iBAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;gBACvC,OAAO,EAAE,KAAK,CAAC,OAAO;aACvB,CAAC;YACF,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,UAAU,EAAE,KAAK,CAAC,UAAU;SAC7B;KACF,CAAC;AACJ,CAAC"}
@@ -17,6 +17,7 @@ import { OpenApi } from "@samchon/openapi";
17
17
  * @param props Properties to create the HTTP LLM application instance
18
18
  * @returns Validation result of the HTTP LLM application composition
19
19
  * @author Samchon
20
+ * @deprecated Use {@link validateHttpController} instead.
20
21
  */
21
22
  export declare function validateHttpLlmApplication<Model extends ILlmSchema.Model>(props: {
22
23
  /**
@@ -57,6 +57,7 @@ const typia_1 = __importDefault(require("typia"));
57
57
  * @param props Properties to create the HTTP LLM application instance
58
58
  * @returns Validation result of the HTTP LLM application composition
59
59
  * @author Samchon
60
+ * @deprecated Use {@link validateHttpController} instead.
60
61
  */
61
62
  function validateHttpLlmApplication(props) {
62
63
  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 => {
@@ -1 +1 @@
1
- {"version":3,"file":"validateHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/validateHttpLlmApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,gEA8CC;;;AArED,8CAG0B;AAC1B,kDAA0B;AAE1B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,0BAA0B,CAExC,KAoBD;IACC,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAUX,KAAK,CAAC,QAAQ,CAAC,CAAC;IAClB,IAAI,OAAO,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;QAC9B,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,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,OAAO,CAAC,IAAI,CAAC;YACvC,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC;KACH,CAAC;AACJ,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { Client } from "@modelcontextprotocol/sdk/client/index.d.ts";
2
+ import type { ILlmSchema, IMcpLlmApplication, IValidation } from "@samchon/openapi";
3
+ import type { IAgenticaController } from "../structures/IAgenticaController";
4
+ /**
5
+ * Create an MCP controller with type validation.
6
+ *
7
+ * Create an {@link IAgenticaController.IMcp} instance which represents
8
+ * an MCP (Model Context Protocol) controller with LLM function calling
9
+ * schemas and client connection.
10
+ *
11
+ * @param props Properties to create the MCP controller
12
+ * @param props.name Name of the MCP implementation.
13
+ * @param props.client Client connection to the MCP implementation.
14
+ * @param props.model Model schema of the LLM function calling.
15
+ * @param props.options Options to create the MCP controller.
16
+ * @returns MCP LLM application instance
17
+ * @author SunRabbit
18
+ */
19
+ export declare function validateMcpController<Model extends ILlmSchema.Model>(props: {
20
+ name: string;
21
+ client: Client;
22
+ model: Model;
23
+ options?: Partial<IMcpLlmApplication.IOptions<Model>>;
24
+ }): Promise<IValidation<IAgenticaController.IMcp<Model>>>;