@llm-dev-ops/agentics-cli 1.4.47 → 1.4.48

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 (315) hide show
  1. package/dist/cli/index.js +43 -67
  2. package/dist/cli/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
  5. package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
  6. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
  7. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
  8. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
  9. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
  10. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
  11. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
  12. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
  13. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
  14. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
  21. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
  22. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
  23. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
  24. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  25. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
  26. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
  27. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
  28. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
  29. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
  126. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
  127. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
  128. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
  129. package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
  130. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
  131. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
  132. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
  133. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
  134. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
  135. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
  136. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
  143. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
  144. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
  145. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
  146. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  147. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
  148. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
  149. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
  150. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
  151. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
  245. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
  246. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
  247. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
  248. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
  249. package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
  250. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
  251. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
  252. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
  253. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
  254. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
  255. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
  256. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
  257. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
  258. package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
  259. package/dist/bundled-agents/copilot-agents/package.json +0 -5
  260. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
  261. package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
  262. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
  263. package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
  264. package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
  265. package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
  266. package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
  267. package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
  268. package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
  269. package/dist/bundled-agents/platform-agents/package.json +0 -22
  270. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
  271. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
  272. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
  273. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
  274. package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
  275. package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
  276. package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
  277. package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
  278. package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
  279. package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
  280. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
  281. package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
  282. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
  283. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
  284. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
  285. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
  286. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
  287. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
  299. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
  300. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
  301. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
  302. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
  303. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
  304. package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
  305. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
  306. package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
  307. package/dist/bundled-agents/sentinel-agents/package.json +0 -62
  308. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
  309. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
  310. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
  311. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
  312. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
  313. package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
  314. package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
  315. package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * CORS Middleware for Cloud Functions
4
- *
5
- * Handles preflight requests and sets CORS headers on all responses.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.setCorsHeaders = setCorsHeaders;
9
- exports.handlePreflight = handlePreflight;
10
- const ALLOWED_ORIGINS = [
11
- 'https://agentics.dev',
12
- 'https://console.agentics.dev',
13
- 'https://us-central1-agentics-dev.cloudfunctions.net',
14
- ];
15
- const ALLOWED_METHODS = 'GET, POST, OPTIONS';
16
- const ALLOWED_HEADERS = 'Content-Type, Authorization, X-Correlation-Id, X-Request-Id';
17
- const MAX_AGE = '3600';
18
- /**
19
- * Set CORS headers on the response
20
- */
21
- function setCorsHeaders(res) {
22
- // Allow any origin for now (can be restricted via ALLOWED_ORIGINS in production)
23
- res.setHeader('Access-Control-Allow-Origin', '*');
24
- res.setHeader('Access-Control-Allow-Methods', ALLOWED_METHODS);
25
- res.setHeader('Access-Control-Allow-Headers', ALLOWED_HEADERS);
26
- res.setHeader('Access-Control-Max-Age', MAX_AGE);
27
- }
28
- /**
29
- * Handle CORS preflight (OPTIONS) request
30
- */
31
- function handlePreflight(res) {
32
- res.writeHead(204);
33
- res.end();
34
- }
35
- //# sourceMappingURL=cors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cors.js","sourceRoot":"","sources":["../../../src/cors.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAiBH,wCAMC;AAKD,0CAGC;AA3BD,MAAM,eAAe,GAAG;IACtB,sBAAsB;IACtB,8BAA8B;IAC9B,qDAAqD;CACtD,CAAC;AAEF,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAC7C,MAAM,eAAe,GAAG,6DAA6D,CAAC;AACtF,MAAM,OAAO,GAAG,MAAM,CAAC;AAEvB;;GAEG;AACH,SAAgB,cAAc,CAAC,GAAe;IAC5C,iFAAiF;IACjF,GAAG,CAAC,SAAS,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;IAClD,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,eAAe,CAAC,CAAC;IAC/D,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,eAAe,CAAC,CAAC;IAC/D,GAAG,CAAC,SAAS,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AACnD,CAAC;AAED;;GAEG;AACH,SAAgB,eAAe,CAAC,GAAe;IAC7C,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACnB,GAAG,CAAC,GAAG,EAAE,CAAC;AACZ,CAAC"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Response Envelope
3
- *
4
- * Every response from copilot-agents MUST include:
5
- * - execution_metadata (trace_id, timestamp, service, execution_id)
6
- * - layers_executed (routing + agent layer with status and duration)
7
- */
8
- export interface ExecutionMetadata {
9
- trace_id: string;
10
- timestamp: string;
11
- service: 'copilot-agents';
12
- execution_id: string;
13
- }
14
- export interface LayerExecuted {
15
- layer: string;
16
- status: 'completed' | 'error';
17
- duration_ms?: number;
18
- }
19
- export interface EnvelopedResponse {
20
- data: unknown;
21
- execution_metadata: ExecutionMetadata;
22
- layers_executed: LayerExecuted[];
23
- }
24
- /**
25
- * Wrap any response payload with execution_metadata and layers_executed
26
- */
27
- export declare function wrapResponse(data: unknown, executionMetadata: ExecutionMetadata, layersExecuted: LayerExecuted[]): EnvelopedResponse;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /**
3
- * Response Envelope
4
- *
5
- * Every response from copilot-agents MUST include:
6
- * - execution_metadata (trace_id, timestamp, service, execution_id)
7
- * - layers_executed (routing + agent layer with status and duration)
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.wrapResponse = wrapResponse;
11
- /**
12
- * Wrap any response payload with execution_metadata and layers_executed
13
- */
14
- function wrapResponse(data, executionMetadata, layersExecuted) {
15
- return {
16
- data,
17
- execution_metadata: executionMetadata,
18
- layers_executed: layersExecuted,
19
- };
20
- }
21
- //# sourceMappingURL=envelope.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"envelope.js","sourceRoot":"","sources":["../../../src/envelope.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAwBH,oCAUC;AAbD;;GAEG;AACH,SAAgB,YAAY,CAC1B,IAAa,EACb,iBAAoC,EACpC,cAA+B;IAE/B,OAAO;QACL,IAAI;QACJ,kBAAkB,EAAE,iBAAiB;QACrC,eAAe,EAAE,cAAc;KAChC,CAAC;AACJ,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Health Check Handler
3
- *
4
- * Returns the status of all 7 copilot agents.
5
- * Agents: planner, config, decomposer, clarifier, intent, reflection, meta-reasoner
6
- */
7
- export interface AgentHealthStatus {
8
- agent: string;
9
- status: 'healthy' | 'degraded' | 'unhealthy';
10
- version: string;
11
- }
12
- export interface HealthResponse {
13
- status: 'healthy' | 'degraded' | 'unhealthy';
14
- service: string;
15
- version: string;
16
- agents: AgentHealthStatus[];
17
- uptime_seconds: number;
18
- }
19
- /**
20
- * Build health check response for all agents
21
- */
22
- export declare function handleHealth(): HealthResponse;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /**
3
- * Health Check Handler
4
- *
5
- * Returns the status of all 7 copilot agents.
6
- * Agents: planner, config, decomposer, clarifier, intent, reflection, meta-reasoner
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.handleHealth = handleHealth;
10
- const SERVICE_START_TIME = Date.now();
11
- const AGENT_REGISTRY = [
12
- { name: 'planner', version: '1.0.0' },
13
- { name: 'config', version: '1.0.0' },
14
- { name: 'decomposer', version: '1.0.0' },
15
- { name: 'clarifier', version: '1.0.0' },
16
- { name: 'intent', version: '1.0.0' },
17
- { name: 'reflection', version: '1.0.0' },
18
- { name: 'meta-reasoner', version: '1.0.0' },
19
- ];
20
- /**
21
- * Build health check response for all agents
22
- */
23
- function handleHealth() {
24
- const agents = AGENT_REGISTRY.map(agent => ({
25
- agent: agent.name,
26
- status: 'healthy',
27
- version: agent.version,
28
- }));
29
- const allHealthy = agents.every(a => a.status === 'healthy');
30
- return {
31
- status: allHealthy ? 'healthy' : 'degraded',
32
- service: 'copilot-agents',
33
- version: '1.0.0',
34
- agents,
35
- uptime_seconds: Math.floor((Date.now() - SERVICE_START_TIME) / 1000),
36
- };
37
- }
38
- //# sourceMappingURL=health.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"health.js","sourceRoot":"","sources":["../../../src/health.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AA+BH,oCAgBC;AA/BD,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;AAEtC,MAAM,cAAc,GAA6C;IAC/D,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE;IACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;IACpC,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE;IACxC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE;IACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;IACpC,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE;IACxC,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE;CAC5C,CAAC;AAEF;;GAEG;AACH,SAAgB,YAAY;IAC1B,MAAM,MAAM,GAAwB,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC/D,KAAK,EAAE,KAAK,CAAC,IAAI;QACjB,MAAM,EAAE,SAAkB;QAC1B,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB,CAAC,CAAC,CAAC;IAEJ,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC;IAE7D,OAAO;QACL,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;QAC3C,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,OAAO;QAChB,MAAM;QACN,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,kBAAkB,CAAC,GAAG,IAAI,CAAC;KACrE,CAAC;AACJ,CAAC"}
@@ -1,34 +0,0 @@
1
- /**
2
- * Cloud Function Entry Point: copilot-agents
3
- *
4
- * Unified HTTP handler for all 7 copilot agents.
5
- * Deploy: gcloud functions deploy copilot-agents --runtime nodejs20 --trigger-http
6
- * --region us-central1 --project agentics-dev --entry-point handler
7
- * --memory 512MB --timeout 120s --no-allow-unauthenticated
8
- *
9
- * Routes:
10
- * POST /v1/copilot/planner → Planner Agent
11
- * POST /v1/copilot/config → Config Validation Agent
12
- * POST /v1/copilot/decomposer → Decomposer Agent
13
- * POST /v1/copilot/clarifier → Objective Clarifier Agent
14
- * POST /v1/copilot/intent → Intent Classifier Agent
15
- * POST /v1/copilot/reflection → Reflection Agent
16
- * POST /v1/copilot/meta-reasoner → Meta-Reasoner Agent
17
- * GET /health → Health check
18
- */
19
- import { IncomingMessage, ServerResponse } from 'http';
20
- export interface CfRequest extends IncomingMessage {
21
- body?: unknown;
22
- rawBody?: Buffer;
23
- }
24
- export interface CfResponse extends ServerResponse {
25
- status?: (code: number) => CfResponse;
26
- json?: (data: unknown) => void;
27
- send?: (data: string | Buffer) => void;
28
- }
29
- /**
30
- * Main Cloud Function handler
31
- *
32
- * Entry point name: handler
33
- */
34
- export declare function handler(req: CfRequest, res: CfResponse): Promise<void>;
@@ -1,174 +0,0 @@
1
- "use strict";
2
- /**
3
- * Cloud Function Entry Point: copilot-agents
4
- *
5
- * Unified HTTP handler for all 7 copilot agents.
6
- * Deploy: gcloud functions deploy copilot-agents --runtime nodejs20 --trigger-http
7
- * --region us-central1 --project agentics-dev --entry-point handler
8
- * --memory 512MB --timeout 120s --no-allow-unauthenticated
9
- *
10
- * Routes:
11
- * POST /v1/copilot/planner → Planner Agent
12
- * POST /v1/copilot/config → Config Validation Agent
13
- * POST /v1/copilot/decomposer → Decomposer Agent
14
- * POST /v1/copilot/clarifier → Objective Clarifier Agent
15
- * POST /v1/copilot/intent → Intent Classifier Agent
16
- * POST /v1/copilot/reflection → Reflection Agent
17
- * POST /v1/copilot/meta-reasoner → Meta-Reasoner Agent
18
- * GET /health → Health check
19
- */
20
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- var desc = Object.getOwnPropertyDescriptor(m, k);
23
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
- desc = { enumerable: true, get: function() { return m[k]; } };
25
- }
26
- Object.defineProperty(o, k2, desc);
27
- }) : (function(o, m, k, k2) {
28
- if (k2 === undefined) k2 = k;
29
- o[k2] = m[k];
30
- }));
31
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
32
- Object.defineProperty(o, "default", { enumerable: true, value: v });
33
- }) : function(o, v) {
34
- o["default"] = v;
35
- });
36
- var __importStar = (this && this.__importStar) || (function () {
37
- var ownKeys = function(o) {
38
- ownKeys = Object.getOwnPropertyNames || function (o) {
39
- var ar = [];
40
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
41
- return ar;
42
- };
43
- return ownKeys(o);
44
- };
45
- return function (mod) {
46
- if (mod && mod.__esModule) return mod;
47
- var result = {};
48
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
49
- __setModuleDefault(result, mod);
50
- return result;
51
- };
52
- })();
53
- Object.defineProperty(exports, "__esModule", { value: true });
54
- exports.handler = handler;
55
- const crypto = __importStar(require("crypto"));
56
- const router_1 = require("./router");
57
- const health_1 = require("./health");
58
- const cors_1 = require("./cors");
59
- const envelope_1 = require("./envelope");
60
- /**
61
- * Parse JSON body from request
62
- */
63
- function parseBody(req) {
64
- // Cloud Functions automatically parse JSON bodies into req.body
65
- if (req.body !== undefined) {
66
- return req.body;
67
- }
68
- return undefined;
69
- }
70
- /**
71
- * Send JSON response
72
- */
73
- function sendJson(res, statusCode, data) {
74
- res.writeHead(statusCode, { 'Content-Type': 'application/json' });
75
- res.end(JSON.stringify(data));
76
- }
77
- /**
78
- * Main Cloud Function handler
79
- *
80
- * Entry point name: handler
81
- */
82
- async function handler(req, res) {
83
- const startTime = Date.now();
84
- // CORS headers on every response
85
- (0, cors_1.setCorsHeaders)(res);
86
- // Handle CORS preflight
87
- if (req.method === 'OPTIONS') {
88
- (0, cors_1.handlePreflight)(res);
89
- return;
90
- }
91
- const url = new URL(req.url || '/', `https://${req.headers.host || 'localhost'}`);
92
- const pathname = url.pathname;
93
- // Build execution metadata
94
- const traceId = req.headers['x-correlation-id'] || crypto.randomUUID();
95
- const executionId = crypto.randomUUID();
96
- const executionMetadata = {
97
- trace_id: traceId,
98
- timestamp: new Date().toISOString(),
99
- service: 'copilot-agents',
100
- execution_id: executionId,
101
- };
102
- // Health endpoint
103
- if (pathname === '/health' && (req.method === 'GET' || req.method === 'HEAD')) {
104
- const healthResult = (0, health_1.handleHealth)();
105
- const layers = [
106
- { layer: 'AGENT_ROUTING', status: 'completed' },
107
- { layer: 'HEALTH_CHECK', status: 'completed', duration_ms: Date.now() - startTime },
108
- ];
109
- sendJson(res, 200, (0, envelope_1.wrapResponse)(healthResult, executionMetadata, layers));
110
- return;
111
- }
112
- // Agent routes: POST /v1/copilot/{agent}
113
- if (req.method === 'POST' && pathname.startsWith('/v1/copilot/')) {
114
- // Require end-user Anthropic API key via header
115
- const anthropicApiKey = req.headers['x-anthropic-api-key'];
116
- if (!anthropicApiKey) {
117
- const layers = [
118
- { layer: 'AGENT_ROUTING', status: 'error' },
119
- ];
120
- sendJson(res, 400, (0, envelope_1.wrapResponse)({ error: 'Missing Anthropic API key. Set it via `agentics login` or the ANTHROPIC_API_KEY environment variable.' }, executionMetadata, layers));
121
- return;
122
- }
123
- const agentSlug = pathname.replace('/v1/copilot/', '').replace(/\/$/, '');
124
- const body = parseBody(req);
125
- if (!body || typeof body !== 'object') {
126
- const layers = [
127
- { layer: 'AGENT_ROUTING', status: 'completed' },
128
- ];
129
- sendJson(res, 400, (0, envelope_1.wrapResponse)({ error: 'Request body must be a JSON object' }, executionMetadata, layers));
130
- return;
131
- }
132
- try {
133
- const routingLayerStart = Date.now();
134
- const agentResult = await (0, router_1.routeRequest)(agentSlug, body);
135
- const routingDuration = Date.now() - routingLayerStart;
136
- const agentName = agentSlug.toUpperCase().replace(/-/g, '_');
137
- const layers = [
138
- { layer: 'AGENT_ROUTING', status: 'completed' },
139
- { layer: `COPILOT_${agentName}`, status: 'completed', duration_ms: routingDuration },
140
- ];
141
- const statusCode = agentResult.status === 'success' ? 200 : 422;
142
- sendJson(res, statusCode, (0, envelope_1.wrapResponse)(agentResult, executionMetadata, layers));
143
- return;
144
- }
145
- catch (err) {
146
- const agentName = agentSlug.toUpperCase().replace(/-/g, '_');
147
- const layers = [
148
- { layer: 'AGENT_ROUTING', status: 'completed' },
149
- { layer: `COPILOT_${agentName}`, status: 'error', duration_ms: Date.now() - startTime },
150
- ];
151
- const errorMessage = err instanceof Error ? err.message : 'Internal server error';
152
- sendJson(res, 500, (0, envelope_1.wrapResponse)({ error: errorMessage }, executionMetadata, layers));
153
- return;
154
- }
155
- }
156
- // 404 for unmatched routes
157
- const layers = [
158
- { layer: 'AGENT_ROUTING', status: 'error' },
159
- ];
160
- sendJson(res, 404, (0, envelope_1.wrapResponse)({
161
- error: 'Not found',
162
- available_routes: [
163
- 'POST /v1/copilot/planner',
164
- 'POST /v1/copilot/config',
165
- 'POST /v1/copilot/decomposer',
166
- 'POST /v1/copilot/clarifier',
167
- 'POST /v1/copilot/intent',
168
- 'POST /v1/copilot/reflection',
169
- 'POST /v1/copilot/meta-reasoner',
170
- 'GET /health',
171
- ],
172
- }, executionMetadata, layers));
173
- }
174
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CH,0BAyGC;AAlJD,+CAAiC;AACjC,qCAAwC;AACxC,qCAAwC;AACxC,iCAAyD;AACzD,yCAA4E;AAa5E;;GAEG;AACH,SAAS,SAAS,CAAC,GAAc;IAC/B,gEAAgE;IAChE,IAAI,GAAG,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,GAAG,CAAC,IAAI,CAAC;IAClB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,SAAS,QAAQ,CAAC,GAAe,EAAE,UAAkB,EAAE,IAAa;IAClE,GAAG,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAChC,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,OAAO,CAAC,GAAc,EAAE,GAAe;IAC3D,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAE7B,iCAAiC;IACjC,IAAA,qBAAc,EAAC,GAAG,CAAC,CAAC;IAEpB,wBAAwB;IACxB,IAAI,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QAC7B,IAAA,sBAAe,EAAC,GAAG,CAAC,CAAC;QACrB,OAAO;IACT,CAAC;IAED,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,EAAE,WAAW,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,WAAW,EAAE,CAAC,CAAC;IAClF,MAAM,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AE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE;gBAC/C,EAAE,KAAK,EAAE,WAAW,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,EAAE;aACxF,CAAC;YACF,MAAM,YAAY,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC;YAClF,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,IAAA,uBAAY,EAC7B,EAAE,KAAK,EAAE,YAAY,EAAE,EACvB,iBAAiB,EACjB,MAAM,CACP,CAAC,CAAC;YACH,OAAO;QACT,CAAC;IACH,CAAC;IAED,2BAA2B;IAC3B,MAAM,MAAM,GAAoB;QAC9B,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE;KAC5C,CAAC;IACF,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,IAAA,uBAAY,EAC7B;QACE,KAAK,EAAE,WAAW;QAClB,gBAAgB,EAAE;YAChB,0BAA0B;YAC1B,yBAAyB;YACzB,6BAA6B;YAC7B,4BAA4B;YAC5B,yBAAyB;YACzB,6BAA6B;YAC7B,gCAAgC;YAChC,aAAa;SACd;KACF,EACD,iBAAiB,EACjB,MAAM,CACP,CAAC,CAAC;AACL,CAAC"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Agent Router
3
- *
4
- * Maps URL slugs to agent invocations.
5
- * Does NOT create new agents or modify business logic.
6
- * Instantiates existing agents with persistence/telemetry from env
7
- * and routes HTTP bodies to agent.invoke().
8
- *
9
- * Routes:
10
- * planner → PlannerAgent
11
- * config → ConfigValidationAgent
12
- * decomposer → DecomposerAgent
13
- * clarifier → ObjectiveClarifierAgent
14
- * intent → IntentClassifierAgent
15
- * reflection → ReflectionAgent
16
- * meta-reasoner → MetaReasonerAgent
17
- */
18
- import { AgentResult } from '../../services/agents/contracts';
19
- /**
20
- * Route a request to the appropriate agent
21
- *
22
- * @param slug - The agent slug from the URL path
23
- * @param body - The parsed JSON request body
24
- * @returns The agent result (success or error)
25
- * @throws If the slug is unknown
26
- */
27
- export declare function routeRequest(slug: string, body: unknown): Promise<AgentResult>;
@@ -1,107 +0,0 @@
1
- "use strict";
2
- /**
3
- * Agent Router
4
- *
5
- * Maps URL slugs to agent invocations.
6
- * Does NOT create new agents or modify business logic.
7
- * Instantiates existing agents with persistence/telemetry from env
8
- * and routes HTTP bodies to agent.invoke().
9
- *
10
- * Routes:
11
- * planner → PlannerAgent
12
- * config → ConfigValidationAgent
13
- * decomposer → DecomposerAgent
14
- * clarifier → ObjectiveClarifierAgent
15
- * intent → IntentClassifierAgent
16
- * reflection → ReflectionAgent
17
- * meta-reasoner → MetaReasonerAgent
18
- */
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.routeRequest = routeRequest;
21
- const uuid_1 = require("uuid");
22
- // Agent imports
23
- const planner_1 = require("../../services/agents/planner");
24
- const config_validation_1 = require("../../services/agents/config-validation");
25
- const decomposer_1 = require("../../services/agents/decomposer");
26
- const objective_clarifier_1 = require("../../services/agents/objective-clarifier");
27
- const intent_classifier_1 = require("../../services/agents/intent-classifier");
28
- const reflection_1 = require("../../services/agents/reflection");
29
- const meta_reasoner_1 = require("../../services/agents/meta-reasoner");
30
- // Each agent uses its own persistence/telemetry module (they have identical APIs
31
- // but TypeScript treats separate class declarations as distinct types)
32
- const ruvector_persistence_1 = require("../../services/agents/planner/ruvector-persistence");
33
- const telemetry_1 = require("../../services/agents/planner/telemetry");
34
- const ruvector_persistence_2 = require("../../services/agents/objective-clarifier/ruvector-persistence");
35
- const telemetry_2 = require("../../services/agents/objective-clarifier/telemetry");
36
- const ruvector_persistence_3 = require("../../services/agents/reflection/ruvector-persistence");
37
- const telemetry_3 = require("../../services/agents/reflection/telemetry");
38
- /**
39
- * Agent factory: instantiate the correct agent for the given slug
40
- */
41
- function createAgent(slug) {
42
- switch (slug) {
43
- case 'planner': {
44
- const p = (0, ruvector_persistence_1.createRuvectorFromEnv)();
45
- const t = (0, telemetry_1.createTelemetryFromEnv)();
46
- return new planner_1.PlannerAgent(p, t);
47
- }
48
- case 'config': {
49
- const p = (0, ruvector_persistence_1.createRuvectorFromEnv)();
50
- const t = (0, telemetry_1.createTelemetryFromEnv)();
51
- return new config_validation_1.ConfigValidationAgent(p, t);
52
- }
53
- case 'decomposer': {
54
- const p = (0, ruvector_persistence_1.createRuvectorFromEnv)();
55
- const t = (0, telemetry_1.createTelemetryFromEnv)();
56
- return new decomposer_1.DecomposerAgent(p, t);
57
- }
58
- case 'clarifier': {
59
- const p = (0, ruvector_persistence_2.createRuvectorFromEnv)();
60
- const t = (0, telemetry_2.createTelemetryFromEnv)();
61
- return new objective_clarifier_1.ObjectiveClarifierAgent(p, t);
62
- }
63
- case 'intent': {
64
- // IntentClassifier imports from planner persistence/telemetry
65
- const p = (0, ruvector_persistence_1.createRuvectorFromEnv)();
66
- const t = (0, telemetry_1.createTelemetryFromEnv)();
67
- return new intent_classifier_1.IntentClassifierAgent(p, t);
68
- }
69
- case 'reflection': {
70
- const p = (0, ruvector_persistence_3.createRuvectorFromEnv)();
71
- const t = (0, telemetry_3.createTelemetryFromEnv)();
72
- return new reflection_1.ReflectionAgent(p, t);
73
- }
74
- case 'meta-reasoner': {
75
- // MetaReasoner imports from planner persistence/telemetry
76
- const p = (0, ruvector_persistence_1.createRuvectorFromEnv)();
77
- const t = (0, telemetry_1.createTelemetryFromEnv)();
78
- return new meta_reasoner_1.MetaReasonerAgent(p, t);
79
- }
80
- default:
81
- return null;
82
- }
83
- }
84
- /**
85
- * Route a request to the appropriate agent
86
- *
87
- * @param slug - The agent slug from the URL path
88
- * @param body - The parsed JSON request body
89
- * @returns The agent result (success or error)
90
- * @throws If the slug is unknown
91
- */
92
- async function routeRequest(slug, body) {
93
- const agent = createAgent(slug);
94
- if (!agent) {
95
- throw new Error(`Unknown agent: "${slug}". Valid agents: planner, config, decomposer, clarifier, intent, reflection, meta-reasoner`);
96
- }
97
- // Extract execution_ref from body or generate one
98
- const bodyObj = body;
99
- const executionRef = (typeof bodyObj.execution_ref === 'string' && bodyObj.execution_ref)
100
- ? bodyObj.execution_ref
101
- : (0, uuid_1.v4)();
102
- // Validate input through the agent's schema
103
- const validatedInput = agent.validateInput(body);
104
- // Invoke the agent
105
- return agent.invoke(validatedInput, executionRef);
106
- }
107
- //# sourceMappingURL=router.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"router.js","sourceRoot":"","sources":["../../../src/router.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAsFH,oCAoBC;AAxGD,+BAAoC;AAGpC,gBAAgB;AAChB,2DAA6D;AAC7D,+EAAgF;AAChF,iEAAmE;AACnE,mFAAoF;AACpF,+EAAgF;AAChF,iEAAmE;AACnE,uEAAwE;AAExE,iFAAiF;AACjF,uEAAuE;AACvE,6FAAuH;AACvH,uEAA2G;AAC3G,yGAAqI;AACrI,mFAAyH;AACzH,gGAA6H;AAC7H,0EAAiH;AAUjH;;GAEG;AACH,SAAS,WAAW,CAAC,IAAY;IAC/B,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,SAAS,CAAC,CAAC,CAAC;YACf,MAAM,CAAC,GAAG,IAAA,4CAAwB,GAAE,CAAC;YACrC,MAAM,CAAC,GAAG,IAAA,kCAAsB,GAAE,CAAC;YACnC,OAAO,IAAI,sBAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAChC,CAAC;QACD,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,GAAG,IAAA,4CAAwB,GAAE,CAAC;YACrC,MAAM,CAAC,GAAG,IAAA,kCAAsB,GAAE,CAAC;YACnC,OAAO,IAAI,yCAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,YAAY,CAAC,CAAC,CAAC;YAClB,MAAM,CAAC,GAAG,IA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