@llm-dev-ops/agentics-cli 1.4.53 → 1.4.54

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 (325) hide show
  1. package/dist/bundled-agents/connector-hub-agents/package-lock.json +11697 -0
  2. package/dist/bundled-agents/connector-hub-agents/package.json +75 -0
  3. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +22 -0
  4. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +57 -0
  5. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +17 -0
  6. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +14 -0
  7. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +35 -0
  8. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +1 -0
  9. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +55 -0
  10. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +40 -0
  11. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +1 -0
  12. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +22 -0
  13. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +38 -0
  14. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +1 -0
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +34 -0
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +186 -0
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +1 -0
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +36 -0
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +121 -0
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +1 -0
  21. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  22. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +948 -0
  23. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
  24. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +9 -0
  25. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +27 -0
  26. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +1 -0
  27. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  28. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
  29. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +214 -0
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +91 -0
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +1 -0
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +308 -0
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +59 -0
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +62 -0
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +1 -0
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +113 -0
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +250 -0
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +169 -0
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +1 -0
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +17 -0
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +97 -0
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +1 -0
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +246 -0
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +106 -0
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +136 -0
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +1 -0
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +225 -0
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +535 -0
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +9 -0
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +18 -0
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +1 -0
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +4 -0
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +9 -0
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +1 -0
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +10 -0
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +25 -0
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +1 -0
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +25 -0
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +6 -0
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +15 -0
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +1 -0
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +192 -0
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +11 -0
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +25 -0
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +1 -0
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +127 -0
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +483 -0
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +1 -0
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +125 -0
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +73 -0
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +192 -0
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +1 -0
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +11 -0
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +27 -0
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +1 -0
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +645 -0
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +1 -0
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +156 -0
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +88 -0
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +246 -0
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +1 -0
  126. package/dist/bundled-agents/copilot-agents/functions/index.js +4 -0
  127. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +29 -0
  128. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +14 -0
  129. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +35 -0
  130. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +1 -0
  131. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +27 -0
  132. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +21 -0
  133. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +1 -0
  134. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +22 -0
  135. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +38 -0
  136. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +1 -0
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +34 -0
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +174 -0
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +1 -0
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +27 -0
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +107 -0
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +1 -0
  143. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  144. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +941 -0
  145. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
  146. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +9 -0
  147. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +27 -0
  148. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +1 -0
  149. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  150. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
  151. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +185 -0
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +86 -0
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +1 -0
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +305 -0
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +59 -0
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +62 -0
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +1 -0
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +110 -0
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +250 -0
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +169 -0
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +1 -0
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +16 -0
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +88 -0
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +1 -0
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +246 -0
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +133 -0
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +1 -0
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +222 -0
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +360 -0
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +9 -0
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +18 -0
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +1 -0
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +4 -0
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +9 -0
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +1 -0
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +10 -0
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +25 -0
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +1 -0
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +25 -0
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +6 -0
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +15 -0
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +1 -0
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +192 -0
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +11 -0
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +25 -0
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +1 -0
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +119 -0
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +421 -0
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +1 -0
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +125 -0
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +73 -0
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +192 -0
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +1 -0
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +11 -0
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +27 -0
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +1 -0
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +645 -0
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +1 -0
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +156 -0
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +88 -0
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +246 -0
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +1 -0
  245. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +5473 -0
  246. package/dist/bundled-agents/copilot-agents/functions/package.json +40 -0
  247. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +71 -0
  248. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +36 -0
  249. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +77 -0
  250. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +340 -0
  251. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +53 -0
  252. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +201 -0
  253. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +148 -0
  254. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +31 -0
  255. package/dist/bundled-agents/copilot-agents/package-lock.json +11825 -0
  256. package/dist/bundled-agents/copilot-agents/package.json +5 -0
  257. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +8282 -0
  258. package/dist/bundled-agents/governance-dashboard-agents/package.json +13 -0
  259. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
  260. package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
  261. package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
  262. package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
  263. package/dist/bundled-agents/orchestrator-agents/package-lock.json +13254 -0
  264. package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
  265. package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
  266. package/dist/bundled-agents/platform-agents/package.json +22 -0
  267. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
  268. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
  269. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
  270. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
  271. package/dist/bundled-agents/platform-agents/src/claude.ts +71 -0
  272. package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
  273. package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
  274. package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
  275. package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
  276. package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
  277. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
  278. package/dist/bundled-agents/platform-agents/tsconfig.json +19 -0
  279. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
  280. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
  281. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
  282. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
  283. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
  284. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
  285. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
  286. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
  287. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
  299. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
  300. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
  301. package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
  302. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
  303. package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
  304. package/dist/bundled-agents/sentinel-agents/package.json +62 -0
  305. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
  306. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
  307. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
  308. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
  309. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
  310. package/dist/bundled-agents/sentinel-agents/src/claude.ts +71 -0
  311. package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
  312. package/dist/bundled-agents/sentinel-agents/tsconfig.json +20 -0
  313. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  314. package/dist/pipeline/auto-chain.js +52 -0
  315. package/dist/pipeline/auto-chain.js.map +1 -1
  316. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  317. package/dist/pipeline/phase2/phases/ddd-generator.js +15 -1
  318. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  319. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  320. package/dist/pipeline/phase2/phases/sparc-specification.js +9 -0
  321. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  322. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  323. package/dist/pipeline/phase3/phases/domain-codegen.js +41 -0
  324. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  325. package/package.json +1 -1
@@ -0,0 +1,949 @@
1
+ /**
2
+ * Meta-Reasoner Agent Schemas
3
+ *
4
+ * Input/Output contracts for the Meta-Reasoner Agent.
5
+ * This agent evaluates reasoning quality and consistency across agents.
6
+ *
7
+ * Classification: META_ANALYSIS, REASONING_QUALITY_ASSESSMENT
8
+ * decision_type: meta_reasoning_analysis
9
+ *
10
+ * Scope:
11
+ * - Detect contradictions
12
+ * - Assess confidence calibration
13
+ * - Identify systemic reasoning issues
14
+ *
15
+ * Must Never:
16
+ * - Override outputs
17
+ * - Enforce corrections
18
+ * - Execute logic
19
+ */
20
+ import { z } from 'zod';
21
+ /**
22
+ * Reasoning trace from an agent to analyze
23
+ */
24
+ export declare const ReasoningTraceSchema: z.ZodObject<{
25
+ /** Source agent ID */
26
+ agent_id: z.ZodString;
27
+ /** Source agent version */
28
+ agent_version: z.ZodString;
29
+ /** Decision type made by the agent */
30
+ decision_type: z.ZodString;
31
+ /** Execution reference for tracing */
32
+ execution_ref: z.ZodString;
33
+ /** Timestamp of the decision */
34
+ timestamp: z.ZodString;
35
+ /** Confidence reported by the agent */
36
+ reported_confidence: z.ZodNumber;
37
+ /** The reasoning steps or outputs to analyze */
38
+ reasoning_content: z.ZodUnknown;
39
+ /** Constraints that were applied */
40
+ constraints_applied: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
41
+ /** Optional tags for categorization */
42
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ agent_id: string;
45
+ agent_version: string;
46
+ decision_type: string;
47
+ constraints_applied: string[];
48
+ execution_ref: string;
49
+ timestamp: string;
50
+ tags: string[];
51
+ reported_confidence: number;
52
+ reasoning_content?: unknown;
53
+ }, {
54
+ agent_id: string;
55
+ agent_version: string;
56
+ decision_type: string;
57
+ execution_ref: string;
58
+ timestamp: string;
59
+ reported_confidence: number;
60
+ constraints_applied?: string[] | undefined;
61
+ tags?: string[] | undefined;
62
+ reasoning_content?: unknown;
63
+ }>;
64
+ export type ReasoningTrace = z.infer<typeof ReasoningTraceSchema>;
65
+ /**
66
+ * Meta-Reasoner Input Schema
67
+ */
68
+ export declare const MetaReasonerInputSchema: z.ZodObject<{
69
+ /** Reasoning traces to analyze (1 or more) */
70
+ traces: z.ZodArray<z.ZodObject<{
71
+ /** Source agent ID */
72
+ agent_id: z.ZodString;
73
+ /** Source agent version */
74
+ agent_version: z.ZodString;
75
+ /** Decision type made by the agent */
76
+ decision_type: z.ZodString;
77
+ /** Execution reference for tracing */
78
+ execution_ref: z.ZodString;
79
+ /** Timestamp of the decision */
80
+ timestamp: z.ZodString;
81
+ /** Confidence reported by the agent */
82
+ reported_confidence: z.ZodNumber;
83
+ /** The reasoning steps or outputs to analyze */
84
+ reasoning_content: z.ZodUnknown;
85
+ /** Constraints that were applied */
86
+ constraints_applied: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
87
+ /** Optional tags for categorization */
88
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ agent_id: string;
91
+ agent_version: string;
92
+ decision_type: string;
93
+ constraints_applied: string[];
94
+ execution_ref: string;
95
+ timestamp: string;
96
+ tags: string[];
97
+ reported_confidence: number;
98
+ reasoning_content?: unknown;
99
+ }, {
100
+ agent_id: string;
101
+ agent_version: string;
102
+ decision_type: string;
103
+ execution_ref: string;
104
+ timestamp: string;
105
+ reported_confidence: number;
106
+ constraints_applied?: string[] | undefined;
107
+ tags?: string[] | undefined;
108
+ reasoning_content?: unknown;
109
+ }>, "many">;
110
+ /** Analysis scope configuration */
111
+ scope: z.ZodDefault<z.ZodObject<{
112
+ /** Check for contradictions between traces */
113
+ detect_contradictions: z.ZodDefault<z.ZodBoolean>;
114
+ /** Assess if confidence scores are well-calibrated */
115
+ assess_confidence_calibration: z.ZodDefault<z.ZodBoolean>;
116
+ /** Identify systemic reasoning patterns/issues */
117
+ identify_systemic_issues: z.ZodDefault<z.ZodBoolean>;
118
+ /** Check for logical fallacies */
119
+ detect_fallacies: z.ZodDefault<z.ZodBoolean>;
120
+ /** Analyze reasoning chain completeness */
121
+ check_completeness: z.ZodDefault<z.ZodBoolean>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ detect_contradictions: boolean;
124
+ assess_confidence_calibration: boolean;
125
+ identify_systemic_issues: boolean;
126
+ detect_fallacies: boolean;
127
+ check_completeness: boolean;
128
+ }, {
129
+ detect_contradictions?: boolean | undefined;
130
+ assess_confidence_calibration?: boolean | undefined;
131
+ identify_systemic_issues?: boolean | undefined;
132
+ detect_fallacies?: boolean | undefined;
133
+ check_completeness?: boolean | undefined;
134
+ }>>;
135
+ /** Analysis context */
136
+ context: z.ZodOptional<z.ZodObject<{
137
+ /** Domain context for analysis */
138
+ domain: z.ZodOptional<z.ZodString>;
139
+ /** Reference standards or baselines */
140
+ reference_standards: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
141
+ /** Historical accuracy data for agents (for calibration) */
142
+ historical_accuracy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
143
+ /** Correlation groups (traces that should be consistent) */
144
+ correlation_groups: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ reference_standards: string[];
147
+ correlation_groups: string[][];
148
+ domain?: string | undefined;
149
+ historical_accuracy?: Record<string, number> | undefined;
150
+ }, {
151
+ domain?: string | undefined;
152
+ reference_standards?: string[] | undefined;
153
+ historical_accuracy?: Record<string, number> | undefined;
154
+ correlation_groups?: string[][] | undefined;
155
+ }>>;
156
+ /** Request identifier for tracing */
157
+ request_id: z.ZodOptional<z.ZodString>;
158
+ /** Optional pipeline context for multi-agent orchestration */
159
+ pipeline_context: z.ZodOptional<z.ZodObject<{
160
+ plan_id: z.ZodString;
161
+ step_id: z.ZodString;
162
+ previous_steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
163
+ step_id: z.ZodString;
164
+ domain: z.ZodString;
165
+ agent: z.ZodString;
166
+ output: z.ZodOptional<z.ZodUnknown>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ step_id: string;
169
+ domain: string;
170
+ agent: string;
171
+ output?: unknown;
172
+ }, {
173
+ step_id: string;
174
+ domain: string;
175
+ agent: string;
176
+ output?: unknown;
177
+ }>, "many">>;
178
+ execution_metadata: z.ZodOptional<z.ZodObject<{
179
+ trace_id: z.ZodString;
180
+ initiated_by: z.ZodString;
181
+ }, "strip", z.ZodTypeAny, {
182
+ trace_id: string;
183
+ initiated_by: string;
184
+ }, {
185
+ trace_id: string;
186
+ initiated_by: string;
187
+ }>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ step_id: string;
190
+ plan_id: string;
191
+ previous_steps: {
192
+ step_id: string;
193
+ domain: string;
194
+ agent: string;
195
+ output?: unknown;
196
+ }[];
197
+ execution_metadata?: {
198
+ trace_id: string;
199
+ initiated_by: string;
200
+ } | undefined;
201
+ }, {
202
+ step_id: string;
203
+ plan_id: string;
204
+ previous_steps?: {
205
+ step_id: string;
206
+ domain: string;
207
+ agent: string;
208
+ output?: unknown;
209
+ }[] | undefined;
210
+ execution_metadata?: {
211
+ trace_id: string;
212
+ initiated_by: string;
213
+ } | undefined;
214
+ }>>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ traces: {
217
+ agent_id: string;
218
+ agent_version: string;
219
+ decision_type: string;
220
+ constraints_applied: string[];
221
+ execution_ref: string;
222
+ timestamp: string;
223
+ tags: string[];
224
+ reported_confidence: number;
225
+ reasoning_content?: unknown;
226
+ }[];
227
+ scope: {
228
+ detect_contradictions: boolean;
229
+ assess_confidence_calibration: boolean;
230
+ identify_systemic_issues: boolean;
231
+ detect_fallacies: boolean;
232
+ check_completeness: boolean;
233
+ };
234
+ context?: {
235
+ reference_standards: string[];
236
+ correlation_groups: string[][];
237
+ domain?: string | undefined;
238
+ historical_accuracy?: Record<string, number> | undefined;
239
+ } | undefined;
240
+ request_id?: string | undefined;
241
+ pipeline_context?: {
242
+ step_id: string;
243
+ plan_id: string;
244
+ previous_steps: {
245
+ step_id: string;
246
+ domain: string;
247
+ agent: string;
248
+ output?: unknown;
249
+ }[];
250
+ execution_metadata?: {
251
+ trace_id: string;
252
+ initiated_by: string;
253
+ } | undefined;
254
+ } | undefined;
255
+ }, {
256
+ traces: {
257
+ agent_id: string;
258
+ agent_version: string;
259
+ decision_type: string;
260
+ execution_ref: string;
261
+ timestamp: string;
262
+ reported_confidence: number;
263
+ constraints_applied?: string[] | undefined;
264
+ tags?: string[] | undefined;
265
+ reasoning_content?: unknown;
266
+ }[];
267
+ context?: {
268
+ domain?: string | undefined;
269
+ reference_standards?: string[] | undefined;
270
+ historical_accuracy?: Record<string, number> | undefined;
271
+ correlation_groups?: string[][] | undefined;
272
+ } | undefined;
273
+ request_id?: string | undefined;
274
+ pipeline_context?: {
275
+ step_id: string;
276
+ plan_id: string;
277
+ previous_steps?: {
278
+ step_id: string;
279
+ domain: string;
280
+ agent: string;
281
+ output?: unknown;
282
+ }[] | undefined;
283
+ execution_metadata?: {
284
+ trace_id: string;
285
+ initiated_by: string;
286
+ } | undefined;
287
+ } | undefined;
288
+ scope?: {
289
+ detect_contradictions?: boolean | undefined;
290
+ assess_confidence_calibration?: boolean | undefined;
291
+ identify_systemic_issues?: boolean | undefined;
292
+ detect_fallacies?: boolean | undefined;
293
+ check_completeness?: boolean | undefined;
294
+ } | undefined;
295
+ }>;
296
+ export type MetaReasonerInput = z.infer<typeof MetaReasonerInputSchema>;
297
+ /**
298
+ * Contradiction finding
299
+ */
300
+ export declare const ContradictionSchema: z.ZodObject<{
301
+ /** Unique ID for this contradiction */
302
+ contradiction_id: z.ZodString;
303
+ /** Type of contradiction */
304
+ type: z.ZodEnum<["direct", "implicit", "temporal", "contextual", "statistical"]>;
305
+ /** Severity of the contradiction */
306
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
307
+ /** Execution refs of the traces involved */
308
+ involved_traces: z.ZodArray<z.ZodString, "many">;
309
+ /** Agent IDs involved */
310
+ involved_agents: z.ZodArray<z.ZodString, "many">;
311
+ /** Description of the contradiction */
312
+ description: z.ZodString;
313
+ /** Evidence supporting this finding */
314
+ evidence: z.ZodArray<z.ZodObject<{
315
+ trace_ref: z.ZodString;
316
+ excerpt: z.ZodString;
317
+ relevance: z.ZodString;
318
+ }, "strip", z.ZodTypeAny, {
319
+ trace_ref: string;
320
+ excerpt: string;
321
+ relevance: string;
322
+ }, {
323
+ trace_ref: string;
324
+ excerpt: string;
325
+ relevance: string;
326
+ }>, "many">;
327
+ /** Confidence in this finding */
328
+ finding_confidence: z.ZodNumber;
329
+ }, "strip", z.ZodTypeAny, {
330
+ type: "temporal" | "direct" | "implicit" | "contextual" | "statistical";
331
+ description: string;
332
+ severity: "low" | "medium" | "high" | "critical";
333
+ evidence: {
334
+ trace_ref: string;
335
+ excerpt: string;
336
+ relevance: string;
337
+ }[];
338
+ contradiction_id: string;
339
+ involved_traces: string[];
340
+ involved_agents: string[];
341
+ finding_confidence: number;
342
+ }, {
343
+ type: "temporal" | "direct" | "implicit" | "contextual" | "statistical";
344
+ description: string;
345
+ severity: "low" | "medium" | "high" | "critical";
346
+ evidence: {
347
+ trace_ref: string;
348
+ excerpt: string;
349
+ relevance: string;
350
+ }[];
351
+ contradiction_id: string;
352
+ involved_traces: string[];
353
+ involved_agents: string[];
354
+ finding_confidence: number;
355
+ }>;
356
+ export type Contradiction = z.infer<typeof ContradictionSchema>;
357
+ /**
358
+ * Confidence calibration assessment
359
+ */
360
+ export declare const ConfidenceCalibrationSchema: z.ZodObject<{
361
+ /** Agent ID being assessed */
362
+ agent_id: z.ZodString;
363
+ /** Calibration score (1.0 = perfectly calibrated) */
364
+ calibration_score: z.ZodNumber;
365
+ /** Assessment category */
366
+ assessment: z.ZodEnum<["well_calibrated", "overconfident", "underconfident", "inconsistent", "insufficient_data"]>;
367
+ /** Mean reported confidence */
368
+ mean_reported_confidence: z.ZodNumber;
369
+ /** Expected accuracy based on historical data */
370
+ expected_accuracy: z.ZodOptional<z.ZodNumber>;
371
+ /** Calibration gap (positive = overconfident, negative = underconfident) */
372
+ calibration_gap: z.ZodOptional<z.ZodNumber>;
373
+ /** Number of traces analyzed */
374
+ traces_analyzed: z.ZodNumber;
375
+ /** Recommendations for calibration improvement */
376
+ recommendations: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ agent_id: string;
379
+ recommendations: string[];
380
+ calibration_score: number;
381
+ assessment: "well_calibrated" | "overconfident" | "underconfident" | "inconsistent" | "insufficient_data";
382
+ mean_reported_confidence: number;
383
+ traces_analyzed: number;
384
+ expected_accuracy?: number | undefined;
385
+ calibration_gap?: number | undefined;
386
+ }, {
387
+ agent_id: string;
388
+ calibration_score: number;
389
+ assessment: "well_calibrated" | "overconfident" | "underconfident" | "inconsistent" | "insufficient_data";
390
+ mean_reported_confidence: number;
391
+ traces_analyzed: number;
392
+ recommendations?: string[] | undefined;
393
+ expected_accuracy?: number | undefined;
394
+ calibration_gap?: number | undefined;
395
+ }>;
396
+ export type ConfidenceCalibration = z.infer<typeof ConfidenceCalibrationSchema>;
397
+ /**
398
+ * Systemic reasoning issue
399
+ */
400
+ export declare const SystemicIssueSchema: z.ZodObject<{
401
+ /** Unique ID for this issue */
402
+ issue_id: z.ZodString;
403
+ /** Type of systemic issue */
404
+ type: z.ZodEnum<["reasoning_gap", "circular_reasoning", "anchoring_bias", "confirmation_bias", "availability_bias", "pattern_overfitting", "scope_creep", "premature_conclusion", "inconsistent_criteria", "missing_uncertainty"]>;
405
+ /** Severity of the issue */
406
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
407
+ /** Agent IDs exhibiting this issue */
408
+ affected_agents: z.ZodArray<z.ZodString, "many">;
409
+ /** Execution refs where issue was observed */
410
+ occurrences: z.ZodArray<z.ZodString, "many">;
411
+ /** Frequency of occurrence */
412
+ frequency: z.ZodEnum<["isolated", "occasional", "frequent", "pervasive"]>;
413
+ /** Description of the issue */
414
+ description: z.ZodString;
415
+ /** Evidence supporting this finding */
416
+ evidence: z.ZodArray<z.ZodObject<{
417
+ trace_ref: z.ZodString;
418
+ observation: z.ZodString;
419
+ }, "strip", z.ZodTypeAny, {
420
+ trace_ref: string;
421
+ observation: string;
422
+ }, {
423
+ trace_ref: string;
424
+ observation: string;
425
+ }>, "many">;
426
+ /** Impact assessment */
427
+ impact: z.ZodString;
428
+ /** Confidence in this finding */
429
+ finding_confidence: z.ZodNumber;
430
+ }, "strip", z.ZodTypeAny, {
431
+ type: "reasoning_gap" | "circular_reasoning" | "anchoring_bias" | "confirmation_bias" | "availability_bias" | "pattern_overfitting" | "scope_creep" | "premature_conclusion" | "inconsistent_criteria" | "missing_uncertainty";
432
+ description: string;
433
+ severity: "low" | "medium" | "high" | "critical";
434
+ evidence: {
435
+ trace_ref: string;
436
+ observation: string;
437
+ }[];
438
+ affected_agents: string[];
439
+ impact: string;
440
+ finding_confidence: number;
441
+ issue_id: string;
442
+ occurrences: string[];
443
+ frequency: "isolated" | "occasional" | "frequent" | "pervasive";
444
+ }, {
445
+ type: "reasoning_gap" | "circular_reasoning" | "anchoring_bias" | "confirmation_bias" | "availability_bias" | "pattern_overfitting" | "scope_creep" | "premature_conclusion" | "inconsistent_criteria" | "missing_uncertainty";
446
+ description: string;
447
+ severity: "low" | "medium" | "high" | "critical";
448
+ evidence: {
449
+ trace_ref: string;
450
+ observation: string;
451
+ }[];
452
+ affected_agents: string[];
453
+ impact: string;
454
+ finding_confidence: number;
455
+ issue_id: string;
456
+ occurrences: string[];
457
+ frequency: "isolated" | "occasional" | "frequent" | "pervasive";
458
+ }>;
459
+ export type SystemicIssue = z.infer<typeof SystemicIssueSchema>;
460
+ /**
461
+ * Reasoning quality metrics
462
+ */
463
+ export declare const ReasoningQualityMetricsSchema: z.ZodObject<{
464
+ /** Overall quality score */
465
+ overall_score: z.ZodNumber;
466
+ /** Logical consistency score */
467
+ consistency_score: z.ZodNumber;
468
+ /** Completeness of reasoning */
469
+ completeness_score: z.ZodNumber;
470
+ /** Clarity of reasoning */
471
+ clarity_score: z.ZodNumber;
472
+ /** Accuracy of stated constraints adherence */
473
+ constraint_adherence_score: z.ZodNumber;
474
+ /** Number of traces analyzed */
475
+ traces_analyzed: z.ZodNumber;
476
+ /** Number of unique agents analyzed */
477
+ agents_analyzed: z.ZodNumber;
478
+ /** Analysis coverage percentage */
479
+ coverage_percentage: z.ZodNumber;
480
+ }, "strip", z.ZodTypeAny, {
481
+ agents_analyzed: number;
482
+ traces_analyzed: number;
483
+ overall_score: number;
484
+ consistency_score: number;
485
+ completeness_score: number;
486
+ clarity_score: number;
487
+ constraint_adherence_score: number;
488
+ coverage_percentage: number;
489
+ }, {
490
+ agents_analyzed: number;
491
+ traces_analyzed: number;
492
+ overall_score: number;
493
+ consistency_score: number;
494
+ completeness_score: number;
495
+ clarity_score: number;
496
+ constraint_adherence_score: number;
497
+ coverage_percentage: number;
498
+ }>;
499
+ export type ReasoningQualityMetrics = z.infer<typeof ReasoningQualityMetricsSchema>;
500
+ /**
501
+ * Meta-Reasoner Output Schema
502
+ */
503
+ export declare const MetaReasonerOutputSchema: z.ZodObject<{
504
+ /** Unique analysis ID */
505
+ analysis_id: z.ZodString;
506
+ /** Summary of the analysis */
507
+ summary: z.ZodString;
508
+ /** Overall reasoning quality metrics */
509
+ quality_metrics: z.ZodObject<{
510
+ /** Overall quality score */
511
+ overall_score: z.ZodNumber;
512
+ /** Logical consistency score */
513
+ consistency_score: z.ZodNumber;
514
+ /** Completeness of reasoning */
515
+ completeness_score: z.ZodNumber;
516
+ /** Clarity of reasoning */
517
+ clarity_score: z.ZodNumber;
518
+ /** Accuracy of stated constraints adherence */
519
+ constraint_adherence_score: z.ZodNumber;
520
+ /** Number of traces analyzed */
521
+ traces_analyzed: z.ZodNumber;
522
+ /** Number of unique agents analyzed */
523
+ agents_analyzed: z.ZodNumber;
524
+ /** Analysis coverage percentage */
525
+ coverage_percentage: z.ZodNumber;
526
+ }, "strip", z.ZodTypeAny, {
527
+ agents_analyzed: number;
528
+ traces_analyzed: number;
529
+ overall_score: number;
530
+ consistency_score: number;
531
+ completeness_score: number;
532
+ clarity_score: number;
533
+ constraint_adherence_score: number;
534
+ coverage_percentage: number;
535
+ }, {
536
+ agents_analyzed: number;
537
+ traces_analyzed: number;
538
+ overall_score: number;
539
+ consistency_score: number;
540
+ completeness_score: number;
541
+ clarity_score: number;
542
+ constraint_adherence_score: number;
543
+ coverage_percentage: number;
544
+ }>;
545
+ /** Detected contradictions */
546
+ contradictions: z.ZodDefault<z.ZodArray<z.ZodObject<{
547
+ /** Unique ID for this contradiction */
548
+ contradiction_id: z.ZodString;
549
+ /** Type of contradiction */
550
+ type: z.ZodEnum<["direct", "implicit", "temporal", "contextual", "statistical"]>;
551
+ /** Severity of the contradiction */
552
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
553
+ /** Execution refs of the traces involved */
554
+ involved_traces: z.ZodArray<z.ZodString, "many">;
555
+ /** Agent IDs involved */
556
+ involved_agents: z.ZodArray<z.ZodString, "many">;
557
+ /** Description of the contradiction */
558
+ description: z.ZodString;
559
+ /** Evidence supporting this finding */
560
+ evidence: z.ZodArray<z.ZodObject<{
561
+ trace_ref: z.ZodString;
562
+ excerpt: z.ZodString;
563
+ relevance: z.ZodString;
564
+ }, "strip", z.ZodTypeAny, {
565
+ trace_ref: string;
566
+ excerpt: string;
567
+ relevance: string;
568
+ }, {
569
+ trace_ref: string;
570
+ excerpt: string;
571
+ relevance: string;
572
+ }>, "many">;
573
+ /** Confidence in this finding */
574
+ finding_confidence: z.ZodNumber;
575
+ }, "strip", z.ZodTypeAny, {
576
+ type: "temporal" | "direct" | "implicit" | "contextual" | "statistical";
577
+ description: string;
578
+ severity: "low" | "medium" | "high" | "critical";
579
+ evidence: {
580
+ trace_ref: string;
581
+ excerpt: string;
582
+ relevance: string;
583
+ }[];
584
+ contradiction_id: string;
585
+ involved_traces: string[];
586
+ involved_agents: string[];
587
+ finding_confidence: number;
588
+ }, {
589
+ type: "temporal" | "direct" | "implicit" | "contextual" | "statistical";
590
+ description: string;
591
+ severity: "low" | "medium" | "high" | "critical";
592
+ evidence: {
593
+ trace_ref: string;
594
+ excerpt: string;
595
+ relevance: string;
596
+ }[];
597
+ contradiction_id: string;
598
+ involved_traces: string[];
599
+ involved_agents: string[];
600
+ finding_confidence: number;
601
+ }>, "many">>;
602
+ /** Confidence calibration assessments (per agent) */
603
+ confidence_calibrations: z.ZodDefault<z.ZodArray<z.ZodObject<{
604
+ /** Agent ID being assessed */
605
+ agent_id: z.ZodString;
606
+ /** Calibration score (1.0 = perfectly calibrated) */
607
+ calibration_score: z.ZodNumber;
608
+ /** Assessment category */
609
+ assessment: z.ZodEnum<["well_calibrated", "overconfident", "underconfident", "inconsistent", "insufficient_data"]>;
610
+ /** Mean reported confidence */
611
+ mean_reported_confidence: z.ZodNumber;
612
+ /** Expected accuracy based on historical data */
613
+ expected_accuracy: z.ZodOptional<z.ZodNumber>;
614
+ /** Calibration gap (positive = overconfident, negative = underconfident) */
615
+ calibration_gap: z.ZodOptional<z.ZodNumber>;
616
+ /** Number of traces analyzed */
617
+ traces_analyzed: z.ZodNumber;
618
+ /** Recommendations for calibration improvement */
619
+ recommendations: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
620
+ }, "strip", z.ZodTypeAny, {
621
+ agent_id: string;
622
+ recommendations: string[];
623
+ calibration_score: number;
624
+ assessment: "well_calibrated" | "overconfident" | "underconfident" | "inconsistent" | "insufficient_data";
625
+ mean_reported_confidence: number;
626
+ traces_analyzed: number;
627
+ expected_accuracy?: number | undefined;
628
+ calibration_gap?: number | undefined;
629
+ }, {
630
+ agent_id: string;
631
+ calibration_score: number;
632
+ assessment: "well_calibrated" | "overconfident" | "underconfident" | "inconsistent" | "insufficient_data";
633
+ mean_reported_confidence: number;
634
+ traces_analyzed: number;
635
+ recommendations?: string[] | undefined;
636
+ expected_accuracy?: number | undefined;
637
+ calibration_gap?: number | undefined;
638
+ }>, "many">>;
639
+ /** Identified systemic issues */
640
+ systemic_issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
641
+ /** Unique ID for this issue */
642
+ issue_id: z.ZodString;
643
+ /** Type of systemic issue */
644
+ type: z.ZodEnum<["reasoning_gap", "circular_reasoning", "anchoring_bias", "confirmation_bias", "availability_bias", "pattern_overfitting", "scope_creep", "premature_conclusion", "inconsistent_criteria", "missing_uncertainty"]>;
645
+ /** Severity of the issue */
646
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
647
+ /** Agent IDs exhibiting this issue */
648
+ affected_agents: z.ZodArray<z.ZodString, "many">;
649
+ /** Execution refs where issue was observed */
650
+ occurrences: z.ZodArray<z.ZodString, "many">;
651
+ /** Frequency of occurrence */
652
+ frequency: z.ZodEnum<["isolated", "occasional", "frequent", "pervasive"]>;
653
+ /** Description of the issue */
654
+ description: z.ZodString;
655
+ /** Evidence supporting this finding */
656
+ evidence: z.ZodArray<z.ZodObject<{
657
+ trace_ref: z.ZodString;
658
+ observation: z.ZodString;
659
+ }, "strip", z.ZodTypeAny, {
660
+ trace_ref: string;
661
+ observation: string;
662
+ }, {
663
+ trace_ref: string;
664
+ observation: string;
665
+ }>, "many">;
666
+ /** Impact assessment */
667
+ impact: z.ZodString;
668
+ /** Confidence in this finding */
669
+ finding_confidence: z.ZodNumber;
670
+ }, "strip", z.ZodTypeAny, {
671
+ type: "reasoning_gap" | "circular_reasoning" | "anchoring_bias" | "confirmation_bias" | "availability_bias" | "pattern_overfitting" | "scope_creep" | "premature_conclusion" | "inconsistent_criteria" | "missing_uncertainty";
672
+ description: string;
673
+ severity: "low" | "medium" | "high" | "critical";
674
+ evidence: {
675
+ trace_ref: string;
676
+ observation: string;
677
+ }[];
678
+ affected_agents: string[];
679
+ impact: string;
680
+ finding_confidence: number;
681
+ issue_id: string;
682
+ occurrences: string[];
683
+ frequency: "isolated" | "occasional" | "frequent" | "pervasive";
684
+ }, {
685
+ type: "reasoning_gap" | "circular_reasoning" | "anchoring_bias" | "confirmation_bias" | "availability_bias" | "pattern_overfitting" | "scope_creep" | "premature_conclusion" | "inconsistent_criteria" | "missing_uncertainty";
686
+ description: string;
687
+ severity: "low" | "medium" | "high" | "critical";
688
+ evidence: {
689
+ trace_ref: string;
690
+ observation: string;
691
+ }[];
692
+ affected_agents: string[];
693
+ impact: string;
694
+ finding_confidence: number;
695
+ issue_id: string;
696
+ occurrences: string[];
697
+ frequency: "isolated" | "occasional" | "frequent" | "pervasive";
698
+ }>, "many">>;
699
+ /** Analysis metadata */
700
+ analysis_metadata: z.ZodObject<{
701
+ /** Total traces provided */
702
+ total_traces: z.ZodNumber;
703
+ /** Traces successfully analyzed */
704
+ traces_analyzed: z.ZodNumber;
705
+ /** Unique agents in input */
706
+ unique_agents: z.ZodNumber;
707
+ /** Unique decision types */
708
+ unique_decision_types: z.ZodNumber;
709
+ /** Time span of traces analyzed */
710
+ time_span: z.ZodOptional<z.ZodObject<{
711
+ earliest: z.ZodString;
712
+ latest: z.ZodString;
713
+ }, "strip", z.ZodTypeAny, {
714
+ earliest: string;
715
+ latest: string;
716
+ }, {
717
+ earliest: string;
718
+ latest: string;
719
+ }>>;
720
+ /** Scope of analysis performed */
721
+ scope_executed: z.ZodObject<{
722
+ contradictions_checked: z.ZodBoolean;
723
+ calibration_assessed: z.ZodBoolean;
724
+ systemic_issues_checked: z.ZodBoolean;
725
+ fallacies_checked: z.ZodBoolean;
726
+ completeness_checked: z.ZodBoolean;
727
+ }, "strip", z.ZodTypeAny, {
728
+ contradictions_checked: boolean;
729
+ calibration_assessed: boolean;
730
+ systemic_issues_checked: boolean;
731
+ fallacies_checked: boolean;
732
+ completeness_checked: boolean;
733
+ }, {
734
+ contradictions_checked: boolean;
735
+ calibration_assessed: boolean;
736
+ systemic_issues_checked: boolean;
737
+ fallacies_checked: boolean;
738
+ completeness_checked: boolean;
739
+ }>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ traces_analyzed: number;
742
+ total_traces: number;
743
+ unique_agents: number;
744
+ unique_decision_types: number;
745
+ scope_executed: {
746
+ contradictions_checked: boolean;
747
+ calibration_assessed: boolean;
748
+ systemic_issues_checked: boolean;
749
+ fallacies_checked: boolean;
750
+ completeness_checked: boolean;
751
+ };
752
+ time_span?: {
753
+ earliest: string;
754
+ latest: string;
755
+ } | undefined;
756
+ }, {
757
+ traces_analyzed: number;
758
+ total_traces: number;
759
+ unique_agents: number;
760
+ unique_decision_types: number;
761
+ scope_executed: {
762
+ contradictions_checked: boolean;
763
+ calibration_assessed: boolean;
764
+ systemic_issues_checked: boolean;
765
+ fallacies_checked: boolean;
766
+ completeness_checked: boolean;
767
+ };
768
+ time_span?: {
769
+ earliest: string;
770
+ latest: string;
771
+ } | undefined;
772
+ }>;
773
+ /** Key findings (prioritized list) */
774
+ key_findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
775
+ priority: z.ZodNumber;
776
+ category: z.ZodEnum<["contradiction", "calibration", "systemic", "quality"]>;
777
+ finding: z.ZodString;
778
+ affected_entities: z.ZodArray<z.ZodString, "many">;
779
+ }, "strip", z.ZodTypeAny, {
780
+ category: "quality" | "contradiction" | "calibration" | "systemic";
781
+ priority: number;
782
+ finding: string;
783
+ affected_entities: string[];
784
+ }, {
785
+ category: "quality" | "contradiction" | "calibration" | "systemic";
786
+ priority: number;
787
+ finding: string;
788
+ affected_entities: string[];
789
+ }>, "many">>;
790
+ /** Assumptions made during analysis */
791
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
792
+ /** Output version */
793
+ version: z.ZodDefault<z.ZodString>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ version: string;
796
+ assumptions: string[];
797
+ summary: string;
798
+ key_findings: {
799
+ category: "quality" | "contradiction" | "calibration" | "systemic";
800
+ priority: number;
801
+ finding: string;
802
+ affected_entities: string[];
803
+ }[];
804
+ analysis_id: string;
805
+ quality_metrics: {
806
+ agents_analyzed: number;
807
+ traces_analyzed: number;
808
+ overall_score: number;
809
+ consistency_score: number;
810
+ completeness_score: number;
811
+ clarity_score: number;
812
+ constraint_adherence_score: number;
813
+ coverage_percentage: number;
814
+ };
815
+ contradictions: {
816
+ type: "temporal" | "direct" | "implicit" | "contextual" | "statistical";
817
+ description: string;
818
+ severity: "low" | "medium" | "high" | "critical";
819
+ evidence: {
820
+ trace_ref: string;
821
+ excerpt: string;
822
+ relevance: string;
823
+ }[];
824
+ contradiction_id: string;
825
+ involved_traces: string[];
826
+ involved_agents: string[];
827
+ finding_confidence: number;
828
+ }[];
829
+ confidence_calibrations: {
830
+ agent_id: string;
831
+ recommendations: string[];
832
+ calibration_score: number;
833
+ assessment: "well_calibrated" | "overconfident" | "underconfident" | "inconsistent" | "insufficient_data";
834
+ mean_reported_confidence: number;
835
+ traces_analyzed: number;
836
+ expected_accuracy?: number | undefined;
837
+ calibration_gap?: number | undefined;
838
+ }[];
839
+ systemic_issues: {
840
+ type: "reasoning_gap" | "circular_reasoning" | "anchoring_bias" | "confirmation_bias" | "availability_bias" | "pattern_overfitting" | "scope_creep" | "premature_conclusion" | "inconsistent_criteria" | "missing_uncertainty";
841
+ description: string;
842
+ severity: "low" | "medium" | "high" | "critical";
843
+ evidence: {
844
+ trace_ref: string;
845
+ observation: string;
846
+ }[];
847
+ affected_agents: string[];
848
+ impact: string;
849
+ finding_confidence: number;
850
+ issue_id: string;
851
+ occurrences: string[];
852
+ frequency: "isolated" | "occasional" | "frequent" | "pervasive";
853
+ }[];
854
+ analysis_metadata: {
855
+ traces_analyzed: number;
856
+ total_traces: number;
857
+ unique_agents: number;
858
+ unique_decision_types: number;
859
+ scope_executed: {
860
+ contradictions_checked: boolean;
861
+ calibration_assessed: boolean;
862
+ systemic_issues_checked: boolean;
863
+ fallacies_checked: boolean;
864
+ completeness_checked: boolean;
865
+ };
866
+ time_span?: {
867
+ earliest: string;
868
+ latest: string;
869
+ } | undefined;
870
+ };
871
+ }, {
872
+ summary: string;
873
+ analysis_id: string;
874
+ quality_metrics: {
875
+ agents_analyzed: number;
876
+ traces_analyzed: number;
877
+ overall_score: number;
878
+ consistency_score: number;
879
+ completeness_score: number;
880
+ clarity_score: number;
881
+ constraint_adherence_score: number;
882
+ coverage_percentage: number;
883
+ };
884
+ analysis_metadata: {
885
+ traces_analyzed: number;
886
+ total_traces: number;
887
+ unique_agents: number;
888
+ unique_decision_types: number;
889
+ scope_executed: {
890
+ contradictions_checked: boolean;
891
+ calibration_assessed: boolean;
892
+ systemic_issues_checked: boolean;
893
+ fallacies_checked: boolean;
894
+ completeness_checked: boolean;
895
+ };
896
+ time_span?: {
897
+ earliest: string;
898
+ latest: string;
899
+ } | undefined;
900
+ };
901
+ version?: string | undefined;
902
+ assumptions?: string[] | undefined;
903
+ key_findings?: {
904
+ category: "quality" | "contradiction" | "calibration" | "systemic";
905
+ priority: number;
906
+ finding: string;
907
+ affected_entities: string[];
908
+ }[] | undefined;
909
+ contradictions?: {
910
+ type: "temporal" | "direct" | "implicit" | "contextual" | "statistical";
911
+ description: string;
912
+ severity: "low" | "medium" | "high" | "critical";
913
+ evidence: {
914
+ trace_ref: string;
915
+ excerpt: string;
916
+ relevance: string;
917
+ }[];
918
+ contradiction_id: string;
919
+ involved_traces: string[];
920
+ involved_agents: string[];
921
+ finding_confidence: number;
922
+ }[] | undefined;
923
+ confidence_calibrations?: {
924
+ agent_id: string;
925
+ calibration_score: number;
926
+ assessment: "well_calibrated" | "overconfident" | "underconfident" | "inconsistent" | "insufficient_data";
927
+ mean_reported_confidence: number;
928
+ traces_analyzed: number;
929
+ recommendations?: string[] | undefined;
930
+ expected_accuracy?: number | undefined;
931
+ calibration_gap?: number | undefined;
932
+ }[] | undefined;
933
+ systemic_issues?: {
934
+ type: "reasoning_gap" | "circular_reasoning" | "anchoring_bias" | "confirmation_bias" | "availability_bias" | "pattern_overfitting" | "scope_creep" | "premature_conclusion" | "inconsistent_criteria" | "missing_uncertainty";
935
+ description: string;
936
+ severity: "low" | "medium" | "high" | "critical";
937
+ evidence: {
938
+ trace_ref: string;
939
+ observation: string;
940
+ }[];
941
+ affected_agents: string[];
942
+ impact: string;
943
+ finding_confidence: number;
944
+ issue_id: string;
945
+ occurrences: string[];
946
+ frequency: "isolated" | "occasional" | "frequent" | "pervasive";
947
+ }[] | undefined;
948
+ }>;
949
+ export type MetaReasonerOutput = z.infer<typeof MetaReasonerOutputSchema>;