@agiflowai/cli 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/README.md +37 -0
  2. package/dist/automation.cjs +1 -0
  3. package/dist/cli.cjs +1 -1
  4. package/dist/container-BfRwR9Fn.cjs +7 -0
  5. package/dist/container-DkY6I08X.cjs +3 -0
  6. package/dist/index.cjs +1 -1
  7. package/dist/src/__generated__/backend-agiflow-api/client.d.ts +16 -0
  8. package/dist/src/__generated__/backend-agiflow-api/client.d.ts.map +1 -0
  9. package/dist/src/__generated__/backend-agiflow-api/hooks/activities.d.ts +95 -0
  10. package/dist/src/__generated__/backend-agiflow-api/hooks/activities.d.ts.map +1 -0
  11. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-environment-variables.d.ts +88 -0
  12. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-environment-variables.d.ts.map +1 -0
  13. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-profile-credentials.d.ts +54 -0
  14. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-profile-credentials.d.ts.map +1 -0
  15. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-profiles.d.ts +94 -0
  16. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-profiles.d.ts.map +1 -0
  17. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-types.d.ts +64 -0
  18. package/dist/src/__generated__/backend-agiflow-api/hooks/agent-types.d.ts.map +1 -0
  19. package/dist/src/__generated__/backend-agiflow-api/hooks/apikeys.d.ts +43 -0
  20. package/dist/src/__generated__/backend-agiflow-api/hooks/apikeys.d.ts.map +1 -0
  21. package/dist/src/__generated__/backend-agiflow-api/hooks/auth.d.ts +21 -0
  22. package/dist/src/__generated__/backend-agiflow-api/hooks/auth.d.ts.map +1 -0
  23. package/dist/src/__generated__/backend-agiflow-api/hooks/automation.d.ts +116 -0
  24. package/dist/src/__generated__/backend-agiflow-api/hooks/automation.d.ts.map +1 -0
  25. package/dist/src/__generated__/backend-agiflow-api/hooks/cli.d.ts +31 -0
  26. package/dist/src/__generated__/backend-agiflow-api/hooks/cli.d.ts.map +1 -0
  27. package/dist/src/__generated__/backend-agiflow-api/hooks/contact.d.ts +22 -0
  28. package/dist/src/__generated__/backend-agiflow-api/hooks/contact.d.ts.map +1 -0
  29. package/dist/src/__generated__/backend-agiflow-api/hooks/credits.d.ts +62 -0
  30. package/dist/src/__generated__/backend-agiflow-api/hooks/credits.d.ts.map +1 -0
  31. package/dist/src/__generated__/backend-agiflow-api/hooks/dependencies.d.ts +32 -0
  32. package/dist/src/__generated__/backend-agiflow-api/hooks/dependencies.d.ts.map +1 -0
  33. package/dist/src/__generated__/backend-agiflow-api/hooks/device-agent-types.d.ts +203 -0
  34. package/dist/src/__generated__/backend-agiflow-api/hooks/device-agent-types.d.ts.map +1 -0
  35. package/dist/src/__generated__/backend-agiflow-api/hooks/devices.d.ts +74 -0
  36. package/dist/src/__generated__/backend-agiflow-api/hooks/devices.d.ts.map +1 -0
  37. package/dist/src/__generated__/backend-agiflow-api/hooks/git-hub.d.ts +29 -0
  38. package/dist/src/__generated__/backend-agiflow-api/hooks/git-hub.d.ts.map +1 -0
  39. package/dist/src/__generated__/backend-agiflow-api/hooks/identity-media.d.ts +18 -0
  40. package/dist/src/__generated__/backend-agiflow-api/hooks/identity-media.d.ts.map +1 -0
  41. package/dist/src/__generated__/backend-agiflow-api/hooks/index.d.ts +49 -0
  42. package/dist/src/__generated__/backend-agiflow-api/hooks/index.d.ts.map +1 -0
  43. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-app-spec.d.ts +81 -0
  44. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-app-spec.d.ts.map +1 -0
  45. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-oauth.d.ts +32 -0
  46. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-oauth.d.ts.map +1 -0
  47. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-proxy-config.d.ts +68 -0
  48. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-proxy-config.d.ts.map +1 -0
  49. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-servers.d.ts +89 -0
  50. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-servers.d.ts.map +1 -0
  51. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-sessions.d.ts +21 -0
  52. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp-sessions.d.ts.map +1 -0
  53. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp.d.ts +151 -0
  54. package/dist/src/__generated__/backend-agiflow-api/hooks/mcp.d.ts.map +1 -0
  55. package/dist/src/__generated__/backend-agiflow-api/hooks/members.d.ts +55 -0
  56. package/dist/src/__generated__/backend-agiflow-api/hooks/members.d.ts.map +1 -0
  57. package/dist/src/__generated__/backend-agiflow-api/hooks/oauth-credentials.d.ts +75 -0
  58. package/dist/src/__generated__/backend-agiflow-api/hooks/oauth-credentials.d.ts.map +1 -0
  59. package/dist/src/__generated__/backend-agiflow-api/hooks/oauth-resource-context.d.ts +31 -0
  60. package/dist/src/__generated__/backend-agiflow-api/hooks/oauth-resource-context.d.ts.map +1 -0
  61. package/dist/src/__generated__/backend-agiflow-api/hooks/organization-logo.d.ts +30 -0
  62. package/dist/src/__generated__/backend-agiflow-api/hooks/organization-logo.d.ts.map +1 -0
  63. package/dist/src/__generated__/backend-agiflow-api/hooks/organization-mcp-configs.d.ts +74 -0
  64. package/dist/src/__generated__/backend-agiflow-api/hooks/organization-mcp-configs.d.ts.map +1 -0
  65. package/dist/src/__generated__/backend-agiflow-api/hooks/organizations.d.ts +33 -0
  66. package/dist/src/__generated__/backend-agiflow-api/hooks/organizations.d.ts.map +1 -0
  67. package/dist/src/__generated__/backend-agiflow-api/hooks/payments.d.ts +70 -0
  68. package/dist/src/__generated__/backend-agiflow-api/hooks/payments.d.ts.map +1 -0
  69. package/dist/src/__generated__/backend-agiflow-api/hooks/project-environments.d.ts +75 -0
  70. package/dist/src/__generated__/backend-agiflow-api/hooks/project-environments.d.ts.map +1 -0
  71. package/dist/src/__generated__/backend-agiflow-api/hooks/project-mcp-configs.d.ts +65 -0
  72. package/dist/src/__generated__/backend-agiflow-api/hooks/project-mcp-configs.d.ts.map +1 -0
  73. package/dist/src/__generated__/backend-agiflow-api/hooks/projects.d.ts +159 -0
  74. package/dist/src/__generated__/backend-agiflow-api/hooks/projects.d.ts.map +1 -0
  75. package/dist/src/__generated__/backend-agiflow-api/hooks/sandboxes.d.ts +89 -0
  76. package/dist/src/__generated__/backend-agiflow-api/hooks/sandboxes.d.ts.map +1 -0
  77. package/dist/src/__generated__/backend-agiflow-api/hooks/subscription.d.ts +84 -0
  78. package/dist/src/__generated__/backend-agiflow-api/hooks/subscription.d.ts.map +1 -0
  79. package/dist/src/__generated__/backend-agiflow-api/hooks/support-reports.d.ts +24 -0
  80. package/dist/src/__generated__/backend-agiflow-api/hooks/support-reports.d.ts.map +1 -0
  81. package/dist/src/__generated__/backend-agiflow-api/hooks/task-comments.d.ts +64 -0
  82. package/dist/src/__generated__/backend-agiflow-api/hooks/task-comments.d.ts.map +1 -0
  83. package/dist/src/__generated__/backend-agiflow-api/hooks/task-mcp-configs.d.ts +78 -0
  84. package/dist/src/__generated__/backend-agiflow-api/hooks/task-mcp-configs.d.ts.map +1 -0
  85. package/dist/src/__generated__/backend-agiflow-api/hooks/task-status.d.ts +87 -0
  86. package/dist/src/__generated__/backend-agiflow-api/hooks/task-status.d.ts.map +1 -0
  87. package/dist/src/__generated__/backend-agiflow-api/hooks/tasks.d.ts +174 -0
  88. package/dist/src/__generated__/backend-agiflow-api/hooks/tasks.d.ts.map +1 -0
  89. package/dist/src/__generated__/backend-agiflow-api/hooks/team-members.d.ts +43 -0
  90. package/dist/src/__generated__/backend-agiflow-api/hooks/team-members.d.ts.map +1 -0
  91. package/dist/src/__generated__/backend-agiflow-api/hooks/team-projects.d.ts +43 -0
  92. package/dist/src/__generated__/backend-agiflow-api/hooks/team-projects.d.ts.map +1 -0
  93. package/dist/src/__generated__/backend-agiflow-api/hooks/usage.d.ts +20 -0
  94. package/dist/src/__generated__/backend-agiflow-api/hooks/usage.d.ts.map +1 -0
  95. package/dist/src/__generated__/backend-agiflow-api/hooks/user-avatar.d.ts +27 -0
  96. package/dist/src/__generated__/backend-agiflow-api/hooks/user-avatar.d.ts.map +1 -0
  97. package/dist/src/__generated__/backend-agiflow-api/hooks/user.d.ts +45 -0
  98. package/dist/src/__generated__/backend-agiflow-api/hooks/user.d.ts.map +1 -0
  99. package/dist/src/__generated__/backend-agiflow-api/hooks/vault-entries.d.ts +78 -0
  100. package/dist/src/__generated__/backend-agiflow-api/hooks/vault-entries.d.ts.map +1 -0
  101. package/dist/src/__generated__/backend-agiflow-api/hooks/work-unit-mcp-configs.d.ts +34 -0
  102. package/dist/src/__generated__/backend-agiflow-api/hooks/work-unit-mcp-configs.d.ts.map +1 -0
  103. package/dist/src/__generated__/backend-agiflow-api/hooks/work-units.d.ts +116 -0
  104. package/dist/src/__generated__/backend-agiflow-api/hooks/work-units.d.ts.map +1 -0
  105. package/dist/src/__generated__/backend-agiflow-api/hooks/workflows.d.ts +87 -0
  106. package/dist/src/__generated__/backend-agiflow-api/hooks/workflows.d.ts.map +1 -0
  107. package/dist/src/__generated__/backend-agiflow-api/index.d.ts +8 -0
  108. package/dist/src/__generated__/backend-agiflow-api/index.d.ts.map +1 -0
  109. package/dist/src/__generated__/backend-agiflow-api/repos/activities.d.ts +10 -0
  110. package/dist/src/__generated__/backend-agiflow-api/repos/activities.d.ts.map +1 -0
  111. package/dist/src/__generated__/backend-agiflow-api/repos/agent-environment-variables.d.ts +9 -0
  112. package/dist/src/__generated__/backend-agiflow-api/repos/agent-environment-variables.d.ts.map +1 -0
  113. package/dist/src/__generated__/backend-agiflow-api/repos/agent-profile-credentials.d.ts +6 -0
  114. package/dist/src/__generated__/backend-agiflow-api/repos/agent-profile-credentials.d.ts.map +1 -0
  115. package/dist/src/__generated__/backend-agiflow-api/repos/agent-profiles.d.ts +10 -0
  116. package/dist/src/__generated__/backend-agiflow-api/repos/agent-profiles.d.ts.map +1 -0
  117. package/dist/src/__generated__/backend-agiflow-api/repos/agent-types.d.ts +7 -0
  118. package/dist/src/__generated__/backend-agiflow-api/repos/agent-types.d.ts.map +1 -0
  119. package/dist/src/__generated__/backend-agiflow-api/repos/apikeys.d.ts +5 -0
  120. package/dist/src/__generated__/backend-agiflow-api/repos/apikeys.d.ts.map +1 -0
  121. package/dist/src/__generated__/backend-agiflow-api/repos/auth.d.ts +3 -0
  122. package/dist/src/__generated__/backend-agiflow-api/repos/auth.d.ts.map +1 -0
  123. package/dist/src/__generated__/backend-agiflow-api/repos/automation.d.ts +11 -0
  124. package/dist/src/__generated__/backend-agiflow-api/repos/automation.d.ts.map +1 -0
  125. package/dist/src/__generated__/backend-agiflow-api/repos/cli.d.ts +4 -0
  126. package/dist/src/__generated__/backend-agiflow-api/repos/cli.d.ts.map +1 -0
  127. package/dist/src/__generated__/backend-agiflow-api/repos/contact.d.ts +3 -0
  128. package/dist/src/__generated__/backend-agiflow-api/repos/contact.d.ts.map +1 -0
  129. package/dist/src/__generated__/backend-agiflow-api/repos/credits.d.ts +7 -0
  130. package/dist/src/__generated__/backend-agiflow-api/repos/credits.d.ts.map +1 -0
  131. package/dist/src/__generated__/backend-agiflow-api/repos/dependencies.d.ts +4 -0
  132. package/dist/src/__generated__/backend-agiflow-api/repos/dependencies.d.ts.map +1 -0
  133. package/dist/src/__generated__/backend-agiflow-api/repos/device-agent-types.d.ts +20 -0
  134. package/dist/src/__generated__/backend-agiflow-api/repos/device-agent-types.d.ts.map +1 -0
  135. package/dist/src/__generated__/backend-agiflow-api/repos/devices.d.ts +8 -0
  136. package/dist/src/__generated__/backend-agiflow-api/repos/devices.d.ts.map +1 -0
  137. package/dist/src/__generated__/backend-agiflow-api/repos/git-hub.d.ts +4 -0
  138. package/dist/src/__generated__/backend-agiflow-api/repos/git-hub.d.ts.map +1 -0
  139. package/dist/src/__generated__/backend-agiflow-api/repos/identity-media.d.ts +3 -0
  140. package/dist/src/__generated__/backend-agiflow-api/repos/identity-media.d.ts.map +1 -0
  141. package/dist/src/__generated__/backend-agiflow-api/repos/index.d.ts +49 -0
  142. package/dist/src/__generated__/backend-agiflow-api/repos/index.d.ts.map +1 -0
  143. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-app-spec.d.ts +8 -0
  144. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-app-spec.d.ts.map +1 -0
  145. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-oauth.d.ts +4 -0
  146. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-oauth.d.ts.map +1 -0
  147. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-proxy-config.d.ts +6 -0
  148. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-proxy-config.d.ts.map +1 -0
  149. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-servers.d.ts +9 -0
  150. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-servers.d.ts.map +1 -0
  151. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-sessions.d.ts +3 -0
  152. package/dist/src/__generated__/backend-agiflow-api/repos/mcp-sessions.d.ts.map +1 -0
  153. package/dist/src/__generated__/backend-agiflow-api/repos/mcp.d.ts +14 -0
  154. package/dist/src/__generated__/backend-agiflow-api/repos/mcp.d.ts.map +1 -0
  155. package/dist/src/__generated__/backend-agiflow-api/repos/members.d.ts +6 -0
  156. package/dist/src/__generated__/backend-agiflow-api/repos/members.d.ts.map +1 -0
  157. package/dist/src/__generated__/backend-agiflow-api/repos/oauth-credentials.d.ts +8 -0
  158. package/dist/src/__generated__/backend-agiflow-api/repos/oauth-credentials.d.ts.map +1 -0
  159. package/dist/src/__generated__/backend-agiflow-api/repos/oauth-resource-context.d.ts +4 -0
  160. package/dist/src/__generated__/backend-agiflow-api/repos/oauth-resource-context.d.ts.map +1 -0
  161. package/dist/src/__generated__/backend-agiflow-api/repos/organization-logo.d.ts +4 -0
  162. package/dist/src/__generated__/backend-agiflow-api/repos/organization-logo.d.ts.map +1 -0
  163. package/dist/src/__generated__/backend-agiflow-api/repos/organization-mcp-configs.d.ts +8 -0
  164. package/dist/src/__generated__/backend-agiflow-api/repos/organization-mcp-configs.d.ts.map +1 -0
  165. package/dist/src/__generated__/backend-agiflow-api/repos/organizations.d.ts +4 -0
  166. package/dist/src/__generated__/backend-agiflow-api/repos/organizations.d.ts.map +1 -0
  167. package/dist/src/__generated__/backend-agiflow-api/repos/payments.d.ts +8 -0
  168. package/dist/src/__generated__/backend-agiflow-api/repos/payments.d.ts.map +1 -0
  169. package/dist/src/__generated__/backend-agiflow-api/repos/project-environments.d.ts +8 -0
  170. package/dist/src/__generated__/backend-agiflow-api/repos/project-environments.d.ts.map +1 -0
  171. package/dist/src/__generated__/backend-agiflow-api/repos/project-mcp-configs.d.ts +7 -0
  172. package/dist/src/__generated__/backend-agiflow-api/repos/project-mcp-configs.d.ts.map +1 -0
  173. package/dist/src/__generated__/backend-agiflow-api/repos/projects.d.ts +16 -0
  174. package/dist/src/__generated__/backend-agiflow-api/repos/projects.d.ts.map +1 -0
  175. package/dist/src/__generated__/backend-agiflow-api/repos/sandboxes.d.ts +10 -0
  176. package/dist/src/__generated__/backend-agiflow-api/repos/sandboxes.d.ts.map +1 -0
  177. package/dist/src/__generated__/backend-agiflow-api/repos/subscription.d.ts +9 -0
  178. package/dist/src/__generated__/backend-agiflow-api/repos/subscription.d.ts.map +1 -0
  179. package/dist/src/__generated__/backend-agiflow-api/repos/support-reports.d.ts +3 -0
  180. package/dist/src/__generated__/backend-agiflow-api/repos/support-reports.d.ts.map +1 -0
  181. package/dist/src/__generated__/backend-agiflow-api/repos/task-comments.d.ts +7 -0
  182. package/dist/src/__generated__/backend-agiflow-api/repos/task-comments.d.ts.map +1 -0
  183. package/dist/src/__generated__/backend-agiflow-api/repos/task-mcp-configs.d.ts +8 -0
  184. package/dist/src/__generated__/backend-agiflow-api/repos/task-mcp-configs.d.ts.map +1 -0
  185. package/dist/src/__generated__/backend-agiflow-api/repos/task-status.d.ts +9 -0
  186. package/dist/src/__generated__/backend-agiflow-api/repos/task-status.d.ts.map +1 -0
  187. package/dist/src/__generated__/backend-agiflow-api/repos/tasks.d.ts +17 -0
  188. package/dist/src/__generated__/backend-agiflow-api/repos/tasks.d.ts.map +1 -0
  189. package/dist/src/__generated__/backend-agiflow-api/repos/team-members.d.ts +5 -0
  190. package/dist/src/__generated__/backend-agiflow-api/repos/team-members.d.ts.map +1 -0
  191. package/dist/src/__generated__/backend-agiflow-api/repos/team-projects.d.ts +5 -0
  192. package/dist/src/__generated__/backend-agiflow-api/repos/team-projects.d.ts.map +1 -0
  193. package/dist/src/__generated__/backend-agiflow-api/repos/usage.d.ts +3 -0
  194. package/dist/src/__generated__/backend-agiflow-api/repos/usage.d.ts.map +1 -0
  195. package/dist/src/__generated__/backend-agiflow-api/repos/user-avatar.d.ts +4 -0
  196. package/dist/src/__generated__/backend-agiflow-api/repos/user-avatar.d.ts.map +1 -0
  197. package/dist/src/__generated__/backend-agiflow-api/repos/user.d.ts +5 -0
  198. package/dist/src/__generated__/backend-agiflow-api/repos/user.d.ts.map +1 -0
  199. package/dist/src/__generated__/backend-agiflow-api/repos/vault-entries.d.ts +8 -0
  200. package/dist/src/__generated__/backend-agiflow-api/repos/vault-entries.d.ts.map +1 -0
  201. package/dist/src/__generated__/backend-agiflow-api/repos/work-unit-mcp-configs.d.ts +4 -0
  202. package/dist/src/__generated__/backend-agiflow-api/repos/work-unit-mcp-configs.d.ts.map +1 -0
  203. package/dist/src/__generated__/backend-agiflow-api/repos/work-units.d.ts +11 -0
  204. package/dist/src/__generated__/backend-agiflow-api/repos/work-units.d.ts.map +1 -0
  205. package/dist/src/__generated__/backend-agiflow-api/repos/workflows.d.ts +9 -0
  206. package/dist/src/__generated__/backend-agiflow-api/repos/workflows.d.ts.map +1 -0
  207. package/dist/src/__generated__/backend-agiflow-api/types/activities.d.ts +1914 -0
  208. package/dist/src/__generated__/backend-agiflow-api/types/activities.d.ts.map +1 -0
  209. package/dist/src/__generated__/backend-agiflow-api/types/agentEnvironmentVariables.d.ts +555 -0
  210. package/dist/src/__generated__/backend-agiflow-api/types/agentEnvironmentVariables.d.ts.map +1 -0
  211. package/dist/src/__generated__/backend-agiflow-api/types/agentProfileCredentials.d.ts +407 -0
  212. package/dist/src/__generated__/backend-agiflow-api/types/agentProfileCredentials.d.ts.map +1 -0
  213. package/dist/src/__generated__/backend-agiflow-api/types/agentProfiles.d.ts +776 -0
  214. package/dist/src/__generated__/backend-agiflow-api/types/agentProfiles.d.ts.map +1 -0
  215. package/dist/src/__generated__/backend-agiflow-api/types/agentTypes.d.ts +538 -0
  216. package/dist/src/__generated__/backend-agiflow-api/types/agentTypes.d.ts.map +1 -0
  217. package/dist/src/__generated__/backend-agiflow-api/types/apikeys.d.ts +333 -0
  218. package/dist/src/__generated__/backend-agiflow-api/types/apikeys.d.ts.map +1 -0
  219. package/dist/src/__generated__/backend-agiflow-api/types/auth.d.ts +73 -0
  220. package/dist/src/__generated__/backend-agiflow-api/types/auth.d.ts.map +1 -0
  221. package/dist/src/__generated__/backend-agiflow-api/types/automation.d.ts +1254 -0
  222. package/dist/src/__generated__/backend-agiflow-api/types/automation.d.ts.map +1 -0
  223. package/dist/src/__generated__/backend-agiflow-api/types/baseTypes.d.ts +59 -0
  224. package/dist/src/__generated__/backend-agiflow-api/types/baseTypes.d.ts.map +1 -0
  225. package/dist/src/__generated__/backend-agiflow-api/types/cli.d.ts +153 -0
  226. package/dist/src/__generated__/backend-agiflow-api/types/cli.d.ts.map +1 -0
  227. package/dist/src/__generated__/backend-agiflow-api/types/componentSchemas.d.ts +6160 -0
  228. package/dist/src/__generated__/backend-agiflow-api/types/componentSchemas.d.ts.map +1 -0
  229. package/dist/src/__generated__/backend-agiflow-api/types/contact.d.ts +78 -0
  230. package/dist/src/__generated__/backend-agiflow-api/types/contact.d.ts.map +1 -0
  231. package/dist/src/__generated__/backend-agiflow-api/types/credits.d.ts +505 -0
  232. package/dist/src/__generated__/backend-agiflow-api/types/credits.d.ts.map +1 -0
  233. package/dist/src/__generated__/backend-agiflow-api/types/dependencies.d.ts +341 -0
  234. package/dist/src/__generated__/backend-agiflow-api/types/dependencies.d.ts.map +1 -0
  235. package/dist/src/__generated__/backend-agiflow-api/types/deviceAgentTypes.d.ts +1708 -0
  236. package/dist/src/__generated__/backend-agiflow-api/types/deviceAgentTypes.d.ts.map +1 -0
  237. package/dist/src/__generated__/backend-agiflow-api/types/devices.d.ts +856 -0
  238. package/dist/src/__generated__/backend-agiflow-api/types/devices.d.ts.map +1 -0
  239. package/dist/src/__generated__/backend-agiflow-api/types/gitHub.d.ts +259 -0
  240. package/dist/src/__generated__/backend-agiflow-api/types/gitHub.d.ts.map +1 -0
  241. package/dist/src/__generated__/backend-agiflow-api/types/identityMedia.d.ts +68 -0
  242. package/dist/src/__generated__/backend-agiflow-api/types/identityMedia.d.ts.map +1 -0
  243. package/dist/src/__generated__/backend-agiflow-api/types/index.d.ts +55 -0
  244. package/dist/src/__generated__/backend-agiflow-api/types/index.d.ts.map +1 -0
  245. package/dist/src/__generated__/backend-agiflow-api/types/mcp.d.ts +774 -0
  246. package/dist/src/__generated__/backend-agiflow-api/types/mcp.d.ts.map +1 -0
  247. package/dist/src/__generated__/backend-agiflow-api/types/mcpAppSpec.d.ts +390 -0
  248. package/dist/src/__generated__/backend-agiflow-api/types/mcpAppSpec.d.ts.map +1 -0
  249. package/dist/src/__generated__/backend-agiflow-api/types/mcpProxyConfig.d.ts +439 -0
  250. package/dist/src/__generated__/backend-agiflow-api/types/mcpProxyConfig.d.ts.map +1 -0
  251. package/dist/src/__generated__/backend-agiflow-api/types/mcpServers.d.ts +725 -0
  252. package/dist/src/__generated__/backend-agiflow-api/types/mcpServers.d.ts.map +1 -0
  253. package/dist/src/__generated__/backend-agiflow-api/types/mcpSessions.d.ts +89 -0
  254. package/dist/src/__generated__/backend-agiflow-api/types/mcpSessions.d.ts.map +1 -0
  255. package/dist/src/__generated__/backend-agiflow-api/types/mcpoAuth.d.ts +119 -0
  256. package/dist/src/__generated__/backend-agiflow-api/types/mcpoAuth.d.ts.map +1 -0
  257. package/dist/src/__generated__/backend-agiflow-api/types/members.d.ts +567 -0
  258. package/dist/src/__generated__/backend-agiflow-api/types/members.d.ts.map +1 -0
  259. package/dist/src/__generated__/backend-agiflow-api/types/oAuthCredentials.d.ts +475 -0
  260. package/dist/src/__generated__/backend-agiflow-api/types/oAuthCredentials.d.ts.map +1 -0
  261. package/dist/src/__generated__/backend-agiflow-api/types/oAuthResourceContext.d.ts +214 -0
  262. package/dist/src/__generated__/backend-agiflow-api/types/oAuthResourceContext.d.ts.map +1 -0
  263. package/dist/src/__generated__/backend-agiflow-api/types/organizationLogo.d.ts +184 -0
  264. package/dist/src/__generated__/backend-agiflow-api/types/organizationLogo.d.ts.map +1 -0
  265. package/dist/src/__generated__/backend-agiflow-api/types/organizationMCPConfigs.d.ts +606 -0
  266. package/dist/src/__generated__/backend-agiflow-api/types/organizationMCPConfigs.d.ts.map +1 -0
  267. package/dist/src/__generated__/backend-agiflow-api/types/organizations.d.ts +128 -0
  268. package/dist/src/__generated__/backend-agiflow-api/types/organizations.d.ts.map +1 -0
  269. package/dist/src/__generated__/backend-agiflow-api/types/payments.d.ts +485 -0
  270. package/dist/src/__generated__/backend-agiflow-api/types/payments.d.ts.map +1 -0
  271. package/dist/src/__generated__/backend-agiflow-api/types/projectEnvironments.d.ts +586 -0
  272. package/dist/src/__generated__/backend-agiflow-api/types/projectEnvironments.d.ts.map +1 -0
  273. package/dist/src/__generated__/backend-agiflow-api/types/projectMCPConfigs.d.ts +516 -0
  274. package/dist/src/__generated__/backend-agiflow-api/types/projectMCPConfigs.d.ts.map +1 -0
  275. package/dist/src/__generated__/backend-agiflow-api/types/projects.d.ts +1640 -0
  276. package/dist/src/__generated__/backend-agiflow-api/types/projects.d.ts.map +1 -0
  277. package/dist/src/__generated__/backend-agiflow-api/types/sandboxes.d.ts +855 -0
  278. package/dist/src/__generated__/backend-agiflow-api/types/sandboxes.d.ts.map +1 -0
  279. package/dist/src/__generated__/backend-agiflow-api/types/subscription.d.ts +540 -0
  280. package/dist/src/__generated__/backend-agiflow-api/types/subscription.d.ts.map +1 -0
  281. package/dist/src/__generated__/backend-agiflow-api/types/supportReports.d.ts +120 -0
  282. package/dist/src/__generated__/backend-agiflow-api/types/supportReports.d.ts.map +1 -0
  283. package/dist/src/__generated__/backend-agiflow-api/types/taskComments.d.ts +618 -0
  284. package/dist/src/__generated__/backend-agiflow-api/types/taskComments.d.ts.map +1 -0
  285. package/dist/src/__generated__/backend-agiflow-api/types/taskMCPConfigs.d.ts +632 -0
  286. package/dist/src/__generated__/backend-agiflow-api/types/taskMCPConfigs.d.ts.map +1 -0
  287. package/dist/src/__generated__/backend-agiflow-api/types/taskStatus.d.ts +830 -0
  288. package/dist/src/__generated__/backend-agiflow-api/types/taskStatus.d.ts.map +1 -0
  289. package/dist/src/__generated__/backend-agiflow-api/types/tasks.d.ts +2657 -0
  290. package/dist/src/__generated__/backend-agiflow-api/types/tasks.d.ts.map +1 -0
  291. package/dist/src/__generated__/backend-agiflow-api/types/teamMembers.d.ts +325 -0
  292. package/dist/src/__generated__/backend-agiflow-api/types/teamMembers.d.ts.map +1 -0
  293. package/dist/src/__generated__/backend-agiflow-api/types/teamProjects.d.ts +318 -0
  294. package/dist/src/__generated__/backend-agiflow-api/types/teamProjects.d.ts.map +1 -0
  295. package/dist/src/__generated__/backend-agiflow-api/types/usage.d.ts +95 -0
  296. package/dist/src/__generated__/backend-agiflow-api/types/usage.d.ts.map +1 -0
  297. package/dist/src/__generated__/backend-agiflow-api/types/user.d.ts +224 -0
  298. package/dist/src/__generated__/backend-agiflow-api/types/user.d.ts.map +1 -0
  299. package/dist/src/__generated__/backend-agiflow-api/types/userAvatar.d.ts +138 -0
  300. package/dist/src/__generated__/backend-agiflow-api/types/userAvatar.d.ts.map +1 -0
  301. package/dist/src/__generated__/backend-agiflow-api/types/vaultEntries.d.ts +512 -0
  302. package/dist/src/__generated__/backend-agiflow-api/types/vaultEntries.d.ts.map +1 -0
  303. package/dist/src/__generated__/backend-agiflow-api/types/workUnitMCPConfigs.d.ts +224 -0
  304. package/dist/src/__generated__/backend-agiflow-api/types/workUnitMCPConfigs.d.ts.map +1 -0
  305. package/dist/src/__generated__/backend-agiflow-api/types/workUnits.d.ts +1338 -0
  306. package/dist/src/__generated__/backend-agiflow-api/types/workUnits.d.ts.map +1 -0
  307. package/dist/src/__generated__/backend-agiflow-api/types/workflows.d.ts +878 -0
  308. package/dist/src/__generated__/backend-agiflow-api/types/workflows.d.ts.map +1 -0
  309. package/dist/src/__generated__/backend-agiflow-api-admin/client.d.ts +16 -0
  310. package/dist/src/__generated__/backend-agiflow-api-admin/client.d.ts.map +1 -0
  311. package/dist/src/__generated__/backend-agiflow-api-admin/index.d.ts +7 -0
  312. package/dist/src/__generated__/backend-agiflow-api-admin/index.d.ts.map +1 -0
  313. package/dist/src/__generated__/backend-agiflow-api-admin/repos/admin---seed.d.ts +9 -0
  314. package/dist/src/__generated__/backend-agiflow-api-admin/repos/admin---seed.d.ts.map +1 -0
  315. package/dist/src/__generated__/backend-agiflow-api-admin/repos/admin---subscriptions.d.ts +3 -0
  316. package/dist/src/__generated__/backend-agiflow-api-admin/repos/admin---subscriptions.d.ts.map +1 -0
  317. package/dist/src/__generated__/backend-agiflow-api-admin/repos/index.d.ts +3 -0
  318. package/dist/src/__generated__/backend-agiflow-api-admin/repos/index.d.ts.map +1 -0
  319. package/dist/src/__generated__/backend-agiflow-api-admin/types/adminSeed.d.ts +663 -0
  320. package/dist/src/__generated__/backend-agiflow-api-admin/types/adminSeed.d.ts.map +1 -0
  321. package/dist/src/__generated__/backend-agiflow-api-admin/types/adminSubscriptions.d.ts +115 -0
  322. package/dist/src/__generated__/backend-agiflow-api-admin/types/adminSubscriptions.d.ts.map +1 -0
  323. package/dist/src/__generated__/backend-agiflow-api-admin/types/baseTypes.d.ts +59 -0
  324. package/dist/src/__generated__/backend-agiflow-api-admin/types/baseTypes.d.ts.map +1 -0
  325. package/dist/src/__generated__/backend-agiflow-api-admin/types/componentSchemas.d.ts +280 -0
  326. package/dist/src/__generated__/backend-agiflow-api-admin/types/componentSchemas.d.ts.map +1 -0
  327. package/dist/src/__generated__/backend-agiflow-api-admin/types/index.d.ts +9 -0
  328. package/dist/src/__generated__/backend-agiflow-api-admin/types/index.d.ts.map +1 -0
  329. package/dist/src/__generated__/index.d.ts +3 -0
  330. package/dist/src/__generated__/index.d.ts.map +1 -0
  331. package/dist/src/config/ConfigManager.d.ts +15 -0
  332. package/dist/src/config/ConfigManager.d.ts.map +1 -0
  333. package/dist/src/config/agiflowRc.d.ts +10 -0
  334. package/dist/src/config/agiflowRc.d.ts.map +1 -0
  335. package/dist/src/config/index.d.ts +3 -0
  336. package/dist/src/config/index.d.ts.map +1 -0
  337. package/dist/src/container/index.d.ts +4 -0
  338. package/dist/src/container/index.d.ts.map +1 -0
  339. package/dist/src/envSchema.d.ts +8 -0
  340. package/dist/src/envSchema.d.ts.map +1 -0
  341. package/dist/src/services/CredentialsService/CredentialsService.d.ts +38 -0
  342. package/dist/src/services/CredentialsService/CredentialsService.d.ts.map +1 -0
  343. package/dist/src/services/CredentialsService/index.d.ts +3 -0
  344. package/dist/src/services/CredentialsService/index.d.ts.map +1 -0
  345. package/dist/src/services/CredentialsService/types.d.ts +34 -0
  346. package/dist/src/services/CredentialsService/types.d.ts.map +1 -0
  347. package/dist/src/services/DeviceCodeAuthService/DeviceCodeAuthService.d.ts +43 -0
  348. package/dist/src/services/DeviceCodeAuthService/DeviceCodeAuthService.d.ts.map +1 -0
  349. package/dist/src/services/DeviceCodeAuthService/index.d.ts +3 -0
  350. package/dist/src/services/DeviceCodeAuthService/index.d.ts.map +1 -0
  351. package/dist/src/services/DeviceCodeAuthService/types.d.ts +61 -0
  352. package/dist/src/services/DeviceCodeAuthService/types.d.ts.map +1 -0
  353. package/dist/src/services/Logger/PinoLogger.d.ts +11 -0
  354. package/dist/src/services/Logger/PinoLogger.d.ts.map +1 -0
  355. package/dist/src/services/Logger/index.d.ts +3 -0
  356. package/dist/src/services/Logger/index.d.ts.map +1 -0
  357. package/dist/src/services/Logger/types.d.ts +7 -0
  358. package/dist/src/services/Logger/types.d.ts.map +1 -0
  359. package/dist/src/systems/cli/commands/analyticsCommand.d.ts +19 -0
  360. package/dist/src/systems/cli/commands/analyticsCommand.d.ts.map +1 -0
  361. package/dist/src/systems/cli/commands/artifactCommand.d.ts +27 -0
  362. package/dist/src/systems/cli/commands/artifactCommand.d.ts.map +1 -0
  363. package/dist/src/systems/cli/commands/authCommand.d.ts +25 -0
  364. package/dist/src/systems/cli/commands/authCommand.d.ts.map +1 -0
  365. package/dist/src/systems/cli/commands/automationCommand.d.ts +90 -0
  366. package/dist/src/systems/cli/commands/automationCommand.d.ts.map +1 -0
  367. package/dist/src/systems/cli/commands/baseCommand.d.ts +32 -0
  368. package/dist/src/systems/cli/commands/baseCommand.d.ts.map +1 -0
  369. package/dist/src/systems/cli/commands/dependencyCommand.d.ts +18 -0
  370. package/dist/src/systems/cli/commands/dependencyCommand.d.ts.map +1 -0
  371. package/dist/src/systems/cli/commands/index.d.ts +10 -0
  372. package/dist/src/systems/cli/commands/index.d.ts.map +1 -0
  373. package/dist/src/systems/cli/commands/jsonCommandBuilder.d.ts +26 -0
  374. package/dist/src/systems/cli/commands/jsonCommandBuilder.d.ts.map +1 -0
  375. package/dist/src/systems/cli/commands/projectMcpClient.d.ts +10 -0
  376. package/dist/src/systems/cli/commands/projectMcpClient.d.ts.map +1 -0
  377. package/dist/src/systems/cli/commands/resourceCommands.d.ts +107 -0
  378. package/dist/src/systems/cli/commands/resourceCommands.d.ts.map +1 -0
  379. package/dist/src/systems/cli/commands/vaultCommand.d.ts +20 -0
  380. package/dist/src/systems/cli/commands/vaultCommand.d.ts.map +1 -0
  381. package/dist/src/systems/cli/commands/workflowCommand.d.ts +14 -0
  382. package/dist/src/systems/cli/commands/workflowCommand.d.ts.map +1 -0
  383. package/dist/src/systems/cli/container/index.d.ts +4 -0
  384. package/dist/src/systems/cli/container/index.d.ts.map +1 -0
  385. package/dist/src/systems/cli/entry/automation.d.ts +68 -0
  386. package/dist/src/systems/cli/entry/automation.d.ts.map +1 -0
  387. package/dist/src/systems/cli/entry/cli.d.ts +3 -0
  388. package/dist/src/systems/cli/entry/cli.d.ts.map +1 -0
  389. package/dist/src/systems/cli/entry/index.d.ts +4 -0
  390. package/dist/src/systems/cli/entry/index.d.ts.map +1 -0
  391. package/dist/src/systems/cli/types.d.ts +15 -0
  392. package/dist/src/systems/cli/types.d.ts.map +1 -0
  393. package/dist/src/types.d.ts +12 -0
  394. package/dist/src/types.d.ts.map +1 -0
  395. package/dist/src/utils/index.d.ts +2 -0
  396. package/dist/src/utils/index.d.ts.map +1 -0
  397. package/dist/tests/config/agiflowRc.test.d.ts +2 -0
  398. package/dist/tests/config/agiflowRc.test.d.ts.map +1 -0
  399. package/dist/tests/envSchema.test.d.ts +2 -0
  400. package/dist/tests/envSchema.test.d.ts.map +1 -0
  401. package/dist/tests/integrations/authCommand.integration.test.d.ts +2 -0
  402. package/dist/tests/integrations/authCommand.integration.test.d.ts.map +1 -0
  403. package/dist/tests/integrations/automationCommand.integration.test.d.ts +2 -0
  404. package/dist/tests/integrations/automationCommand.integration.test.d.ts.map +1 -0
  405. package/dist/tests/integrations/dependencyCommand.integration.test.d.ts +2 -0
  406. package/dist/tests/integrations/dependencyCommand.integration.test.d.ts.map +1 -0
  407. package/dist/tests/integrations/projectMcpParity.integration.test.d.ts +2 -0
  408. package/dist/tests/integrations/projectMcpParity.integration.test.d.ts.map +1 -0
  409. package/dist/tests/mocks/services/MockDeviceCodeAuthService.d.ts +25 -0
  410. package/dist/tests/mocks/services/MockDeviceCodeAuthService.d.ts.map +1 -0
  411. package/dist/tests/services/CredentialsService/CredentialsService.test.d.ts +2 -0
  412. package/dist/tests/services/CredentialsService/CredentialsService.test.d.ts.map +1 -0
  413. package/dist/tests/services/DeviceCodeAuthService/DeviceCodeAuthService.test.d.ts +2 -0
  414. package/dist/tests/services/DeviceCodeAuthService/DeviceCodeAuthService.test.d.ts.map +1 -0
  415. package/dist/tests/setup.d.ts +2 -0
  416. package/dist/tests/setup.d.ts.map +1 -0
  417. package/dist/tests/systems/cli/commands/analyticsCommand.test.d.ts +2 -0
  418. package/dist/tests/systems/cli/commands/analyticsCommand.test.d.ts.map +1 -0
  419. package/dist/tests/systems/cli/commands/artifactCommand.test.d.ts +2 -0
  420. package/dist/tests/systems/cli/commands/artifactCommand.test.d.ts.map +1 -0
  421. package/dist/tests/systems/cli/commands/authCommand.test.d.ts +2 -0
  422. package/dist/tests/systems/cli/commands/authCommand.test.d.ts.map +1 -0
  423. package/dist/tests/systems/cli/commands/automationCommand.test.d.ts +2 -0
  424. package/dist/tests/systems/cli/commands/automationCommand.test.d.ts.map +1 -0
  425. package/dist/tests/systems/cli/commands/baseCommand.test.d.ts +2 -0
  426. package/dist/tests/systems/cli/commands/baseCommand.test.d.ts.map +1 -0
  427. package/dist/tests/systems/cli/commands/dependencyCommand.test.d.ts +2 -0
  428. package/dist/tests/systems/cli/commands/dependencyCommand.test.d.ts.map +1 -0
  429. package/dist/tests/systems/cli/commands/jsonCommandBuilder.test.d.ts +2 -0
  430. package/dist/tests/systems/cli/commands/jsonCommandBuilder.test.d.ts.map +1 -0
  431. package/dist/tests/systems/cli/commands/taskCommand.test.d.ts +2 -0
  432. package/dist/tests/systems/cli/commands/taskCommand.test.d.ts.map +1 -0
  433. package/dist/tests/systems/cli/commands/vaultCommand.test.d.ts +2 -0
  434. package/dist/tests/systems/cli/commands/vaultCommand.test.d.ts.map +1 -0
  435. package/dist/tests/systems/cli/commands/workUnitCommand.test.d.ts +2 -0
  436. package/dist/tests/systems/cli/commands/workUnitCommand.test.d.ts.map +1 -0
  437. package/dist/tests/systems/cli/commands/workflowCommand.test.d.ts +2 -0
  438. package/dist/tests/systems/cli/commands/workflowCommand.test.d.ts.map +1 -0
  439. package/package.json +15 -4
  440. package/dist/container-DDrQBLdJ.cjs +0 -8
@@ -0,0 +1,3 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));require("reflect-metadata/lite");let c=require("dotenv");c=s(c,1);let l=require("inversify"),u=require("zod"),d=require("node:fs");d=s(d,1);let f=require("node:path");f=s(f,1);let p=require("pino");p=s(p,1);let m=require("fs");m=s(m,1);let h=require("path");h=s(h,1);let g=require("os");g=s(g,1);var _=`.agiflowrc`;function v(e,t=process.cwd(),n=process.env){if(w(n[e]))return!0;if(e===`AGIFLOW_API_KEY`){let e=y(t,n);return!!(b(n.AGIFLOW_API_KEY_ENV,n)??e.apiKey)}if(e===`AGIFLOW_ORGANIZATION_ID`||e===`AGIFLOW_ORG_ID`){let e=y(t,n);return!!(w(n.AGIFLOW_ORGANIZATION_ID,n.AGIFLOW_ORG_ID)??e.organizationId)}return e===`AGIFLOW_PROJECT_ID`&&!!y(t,n).projectId}function y(e=process.cwd(),t=process.env){let n=S(e);if(!n)return{};let r;try{r=c.default.parse(d.readFileSync(n))}catch{return{}}let i=w(r.AGIFLOW_ORGANIZATION_ID,r.AGIFLOW_ORG_ID),a=w(r.AGIFLOW_PROJECT_ID);return E({apiKey:b(r.AGIFLOW_API_KEY_ENV,t),backendAgiflowApiEndpoint:w(r.BACKEND_AGIFLOW_API_ENDPOINT),organizationId:i,projectId:a})}function b(e,t=process.env){let n=x(e);if(n)return w(t[n])}function x(e){let t=e?.trim();if(!t)return;let n=/^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$/.exec(t);if(n)return n[1];let r=/^\$([A-Za-z_][A-Za-z0-9_]*)$/.exec(t);if(r)return r[1];if(/^[A-Za-z_][A-Za-z0-9_]*$/.test(t))return t}function S(e){let t=C(e);if(!t)return null;let n=f.default.join(t,_);return T(n)?n:null}function C(e){let t=f.default.resolve(e);for(;;){if(T(f.default.join(t,`.git`)))return t;let e=f.default.dirname(t);if(e===t)return null;t=e}}function w(...e){for(let t of e){let e=t?.trim();if(e)return e}}function T(e){try{return typeof d.existsSync==`function`&&d.existsSync(e)}catch{return!1}}function E(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}var D=u.z.string().url();u.z.object({VITE_INJECT_BACKEND_AGIFLOW_API_ENDPOINT:u.z.string().trim().optional()});function O(e=process.env,t={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_AUTO_AGIFLOW_CLI_DOCKER_ENDPOINT:``,VITE_AUTO_AGIFLOW_CLI_ENDPOINT:``,VITE_AUTO_AGIFLOW_CLI_PROXY_ENDPOINT:``,VITE_INJECT_BACKEND_AGIFLOW_API_ENDPOINT:`https://api.agiflow.io`},n=k(e)){let r=[t.VITE_INJECT_BACKEND_AGIFLOW_API_ENDPOINT,e.VITE_INJECT_BACKEND_AGIFLOW_API_ENDPOINT,e.INJECT_BACKEND_AGIFLOW_API_ENDPOINT,e.BACKEND_AGIFLOW_API_ENDPOINT,n?.backendAgiflowApiEndpoint];for(let e of r){let t=D.safeParse(typeof e==`string`?e.trim():e);if(t.success)return t.data}throw Error(`Missing Agiflow API endpoint. Set VITE_INJECT_BACKEND_AGIFLOW_API_ENDPOINT, INJECT_BACKEND_AGIFLOW_API_ENDPOINT, BACKEND_AGIFLOW_API_ENDPOINT, or add BACKEND_AGIFLOW_API_ENDPOINT to .agiflowrc.`)}function k(e){return e===process.env?y():void 0}function A(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var j=`serverUrl`,M=class{config=new Map;get(e){return this.config.get(e)}set(e,t){this.config.set(e,t)}has(e){return this.config.has(e)}getServerUrl(){let e=this.get(j);if(e)return e;let t=O();return this.set(j,t),t}};M=A([(0,l.injectable)()],M);function N(e,t){if(typeof Reflect==`object`&&typeof Reflect.metadata==`function`)return Reflect.metadata(e,t)}var P=class{logger;constructor(){this.logger=(0,p.default)({level:process.env.LOG_LEVEL||`info`,transport:{target:`pino-pretty`,options:{colorize:!0,translateTime:`SYS:standard`,ignore:`pid,hostname`}}})}debug(e,t){this.logger.debug(t,e)}info(e,t){this.logger.info(t,e)}warn(e,t){this.logger.warn(t,e)}error(e,t){this.logger.error(t,e)}};P=A([(0,l.injectable)(),N(`design:paramtypes`,[])],P);var F=class{filePath;constructor(){this.filePath=h.default.join(g.default.homedir(),`.agiflow`,`credentials.json`)}async load(e={}){let t=this.readStoredFile();if(!t)return null;if(e.scope===`global`)return t.global??null;let n=this.getRepositoryScopeKey();return t.repositories?.[n]??t.global??null}async setApiKey(e,t={}){let n=this.readStoredFile()??{version:2},r=await this.load(t),i=r?.organizationId===e.organizationId,a={apiKey:e.apiKey,organizationId:e.organizationId,keyId:e.keyId,deviceId:e.deviceId??(i?r?.deviceId:void 0),deviceGuid:e.deviceGuid??r?.deviceGuid,expiresAt:e.expiresAt};this.setCredentials(n,t,a),this.writeStoredFile(n)}async getApiKey(e={}){return process.env.AGIFLOW_API_KEY||b(process.env.AGIFLOW_API_KEY_ENV)||y().apiKey||((await this.load(e))?.apiKey??null)}async getOrganizationId(e={}){return process.env.AGIFLOW_ORGANIZATION_ID||process.env.AGIFLOW_ORG_ID||y().organizationId||((await this.load(e))?.organizationId??null)}async getProjectId(){return process.env.AGIFLOW_PROJECT_ID??y().projectId??null}async getTaskId(){return process.env.AGIFLOW_TASK_ID??null}async getWorkUnitId(){return process.env.AGIFLOW_WORK_UNIT_ID??null}async getDeviceId(e={}){return process.env.AGIFLOW_DEVICE_ID||((await this.load(e))?.deviceId??null)}async getDeviceGuid(e={}){return process.env.AGIFLOW_DEVICE_GUID||((await this.load(e))?.deviceGuid??null)}async setDeviceIdentity(e,t,n={}){let r=await this.load(n);if(!r)throw Error(`No credentials found. Run authentication first.`);let i=this.readStoredFile()??{version:2};this.setCredentials(i,n,{...r,deviceId:e,deviceGuid:t}),this.writeStoredFile(i)}async clear(e={}){try{let t=this.readStoredFile();if(!t)return;this.deleteCredentials(t,e),this.writeStoredFile(t)}catch{process.stderr.write(`[CredentialsService] failed to remove stored credentials
2
+ `)}}async buildAuthHeaders(e={}){let t=await this.getApiKey(e);if(!t)throw Error(`No API key found. Set AGIFLOW_API_KEY, map AGIFLOW_API_KEY_ENV in .agiflowrc, or run authentication.`);return{"x-api-key":t}}readStoredFile(){try{if(!m.default.existsSync(this.filePath))return null;let e=JSON.parse(m.default.readFileSync(this.filePath,`utf-8`));if(this.isStoredCredentialsFile(e))return e;if(this.isStoredCredentials(e))return{version:2,global:e}}catch{process.stderr.write(`[CredentialsService] credentials file is malformed, continuing without stored credentials
3
+ `)}return null}writeStoredFile(e){let t=this.compactStoredFile(e);if(!t.global&&!t.repositories){m.default.existsSync(this.filePath)&&m.default.unlinkSync(this.filePath);return}m.default.mkdirSync(h.default.dirname(this.filePath),{recursive:!0}),m.default.writeFileSync(this.filePath,`${JSON.stringify(t,null,2)}\n`,{mode:384})}setCredentials(e,t,n){if(t.scope===`global`){e.global=n;return}let r=this.getRepositoryScopeKey();e.repositories={...e.repositories,[r]:n}}deleteCredentials(e,t){if(t.scope===`global`){delete e.global;return}let n=this.getRepositoryScopeKey();e.repositories&&delete e.repositories[n]}compactStoredFile(e){let t=e.repositories?Object.fromEntries(Object.entries(e.repositories).filter(([,e])=>e)):void 0;return{version:2,...e.global?{global:e.global}:{},...t&&Object.keys(t).length>0?{repositories:t}:{}}}getRepositoryScopeKey(){return this.normalizePath(this.findGitRoot(process.cwd())??process.cwd())}findGitRoot(e){let t=h.default.resolve(e);for(;;){if(m.default.existsSync(h.default.join(t,`.git`)))return t;let e=h.default.dirname(t);if(e===t)return null;t=e}}normalizePath(e){let t=h.default.resolve(e),n=m.default.existsSync(t)?m.default.realpathSync.native(t):t,r=h.default.normalize(n).replace(RegExp(`${this.escapeRegExp(h.default.sep)}+$`),``);return process.platform===`win32`?r.toLowerCase():r}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}isStoredCredentialsFile(e){if(!this.isRecord(e)||e.version!==2)return!1;let t=e.global,n=e.repositories;return(t===void 0||this.isStoredCredentials(t))&&(n===void 0||this.isRecord(n)&&Object.values(n).every(e=>this.isStoredCredentials(e)))}isStoredCredentials(e){return this.isRecord(e)&&typeof e.apiKey==`string`&&typeof e.organizationId==`string`&&(e.keyId===void 0||typeof e.keyId==`string`)&&(e.deviceId===void 0||typeof e.deviceId==`string`)&&(e.deviceGuid===void 0||typeof e.deviceGuid==`string`)&&(e.expiresAt===void 0||typeof e.expiresAt==`number`)}isRecord(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}};F=A([(0,l.injectable)(),N(`design:paramtypes`,[])],F);var I={Logger:Symbol.for(`Logger`),ConfigManager:Symbol.for(`ConfigManager`),CredentialsService:Symbol.for(`CredentialsService`),DeviceCodeAuthService:Symbol.for(`DeviceCodeAuthService`)};function L(e,t){return function(n,r){t(n,r,e)}}var R=`agent-cli`,z=`0.0.1`,B=`openid profile email`,V=`urn:ietf:params:oauth:grant-type:device_code`,H=class{configManager;constructor(e){this.configManager=e}async requestDeviceCode(e=B){return await this.postJson(`/api/v1/auth/device/code`,void 0,{client_id:R,scope:e})}async pollForToken(e,t,n){let r=t;for(;;){if(n?.signal?.aborted)throw Error(`Polling aborted`);await this.sleep(r*1e3);let t=await fetch(this.url(`/api/v1/auth/device/token`),{method:`POST`,headers:this.headers(),body:JSON.stringify({grant_type:V,device_code:e,client_id:R})});if(t.ok)return await t.json();let i=await this.parseError(t);switch(i.error){case`authorization_pending`:n?.onPending?.();break;case`slow_down`:r+=5,n?.onSlowDown?.();break;case`access_denied`:throw Error(`Authorization denied by user`);case`expired_token`:throw Error(`Device code expired. Please start the authorization process again.`);default:throw Error(i.error_description||i.message||`Token request failed: ${t.status}`)}}}async listOrganizationsWithAccessToken(e){return(await this.getJson(`/api/v1/cli/organizations`,{Authorization:`Bearer ${e}`})).organizations??[]}async listOrganizationsWithApiKey(e){return(await this.getJson(`/api/v1/cli/organizations`,{"x-api-key":e})).organizations??[]}async exchangeForAgentApiKey(e,t){let n=await this.postJson(`/api/v1/cli/exchange-for-agent`,{Authorization:`Bearer ${e}`},{organizationId:t});return{apiKey:n.api_key,keyId:n.key_id,organizationId:n.organization_id,organizationName:n.organization_name,agentUserId:n.agent_user_id,expiresAt:n.expires_at}}async getJson(e,t){let n=await fetch(this.url(e),{method:`GET`,headers:this.headers(t)});return this.parseResponse(n)}async postJson(e,t,n){let r=await fetch(this.url(e),{method:`POST`,headers:this.headers(t),body:JSON.stringify(n)});return this.parseResponse(r)}async parseResponse(e){let t=await e.json().catch(()=>({}));if(!e.ok){let n=t;throw Error(n.error_description||n.message||n.error||e.statusText)}return t}async parseError(e){return await e.json().catch(()=>({}))}headers(e){return{"Content-Type":`application/json`,Accept:`application/json`,"x-client-type":R,"x-client-version":z,...e}}url(e){return`${this.configManager.getServerUrl().replace(/\/$/,``)}${e}`}sleep(e){return new Promise(t=>setTimeout(t,e))}};H=A([(0,l.injectable)(),L(0,(0,l.inject)(I.ConfigManager)),N(`design:paramtypes`,[Object])],H);var U=new l.Container;U.bind(I.Logger).to(P).inSingletonScope(),U.bind(I.ConfigManager).to(M).inSingletonScope(),U.bind(I.CredentialsService).to(F).inSingletonScope(),U.bind(I.DeviceCodeAuthService).to(H).inSingletonScope(),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return U}});
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./container-DDrQBLdJ.cjs");exports.CLI_TYPES=e.n,exports.cliContainer=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./container-BfRwR9Fn.cjs"),t=require("./automation.cjs");exports.CLI_TYPES=e.n,exports.cliContainer=e.t,exports.extractJobs=t.extractJobs,exports.listAutomationJobs=t.listAutomationJobs;
@@ -0,0 +1,16 @@
1
+ import { OpenapiClient, type ApiConfig, type AuthProvider, type OpenapiClientOptions } from '@agimonai/openapi-fetch';
2
+ /**
3
+ * BackendAgiflowApi API client instance
4
+ * Uses isolated config/auth namespaces so multiple generated clients can coexist
5
+ */
6
+ export declare const backendAgiflowApiClientNamespace = "backend-agiflow-api";
7
+ /** Configure base URL, default headers, and API key for this generated client namespace. */
8
+ export declare const configureBackendAgiflowApiClient: (config: ApiConfig) => void;
9
+ /** Configure auth provider for this generated client namespace. */
10
+ export declare const configureBackendAgiflowApiAuthProvider: (provider: AuthProvider) => void;
11
+ /** Remove config/auth provider for this generated client namespace. */
12
+ export declare const clearBackendAgiflowApiClientConfiguration: () => void;
13
+ /** Create an isolated OpenapiClient instance bound to this namespace. */
14
+ export declare const createBackendAgiflowApiClient: (options?: Omit<OpenapiClientOptions, "authNamespace" | "configNamespace">) => OpenapiClient;
15
+ export declare const backendAgiflowApiClientInstance: OpenapiClient;
16
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/__generated__/backend-agiflow-api/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA0C,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE9J;;;GAGG;AACH,eAAO,MAAM,gCAAgC,wBAAwB,CAAC;AAEtE,4FAA4F;AAC5F,eAAO,MAAM,gCAAgC,GAAI,QAAQ,SAAS,KAAG,IAEpE,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,sCAAsC,GAAI,UAAU,YAAY,KAAG,IAE/E,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,yCAAyC,QAAO,IAG5D,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,6BAA6B,GACxC,UAAS,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,iBAAiB,CAAM,KAC5E,aAMF,CAAC;AAEF,eAAO,MAAM,+BAA+B,eAAkC,CAAC"}
@@ -0,0 +1,95 @@
1
+ import type { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1OrganizationsorganizationIdActivitiesPath, IPostApiV1OrganizationsorganizationIdActivitiesPath, IGetApiV1OrganizationsorganizationIdActivitiesStatsPath, IGetApiV1OrganizationsorganizationIdActivitiesRecentPath, IPostApiV1OrganizationsorganizationIdActivitiesBulkPath, IGetApiV1OrganizationsorganizationIdActivitiesactivityIdPath, IPatchApiV1OrganizationsorganizationIdActivitiesactivityIdPath, IDeleteApiV1OrganizationsorganizationIdActivitiesactivityIdPath } from '../types';
4
+ import { getApiV1OrganizationsorganizationIdActivities, postApiV1OrganizationsorganizationIdActivities, getApiV1OrganizationsorganizationIdActivitiesStats, getApiV1OrganizationsorganizationIdActivitiesRecent, postApiV1OrganizationsorganizationIdActivitiesBulk, getApiV1OrganizationsorganizationIdActivitiesactivityId, patchApiV1OrganizationsorganizationIdActivitiesactivityId, deleteApiV1OrganizationsorganizationIdActivitiesactivityId } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1OrganizationsorganizationIdActivitiesQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivities>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdActivities>[1]) => any;
11
+ /**
12
+ * List activity logs
13
+ *
14
+ * List activity logs for a specific organization with pagination and filtering
15
+ *
16
+ * @api GET /api/v1/organizations/{organizationId}/activities
17
+ */
18
+ export declare const useGetApiV1OrganizationsorganizationIdActivities: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivities>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdActivities>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdActivities>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdActivitiesPath>>, "queryKey" | "queryFn">>) => any;
19
+ export declare const postApiV1OrganizationsorganizationIdActivitiesQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdActivities>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdActivities>[1]) => any;
20
+ /**
21
+ * Create activity log
22
+ *
23
+ * Create a new activity log entry within an organization using Durable Object
24
+ * storage
25
+ *
26
+ * @api POST /api/v1/organizations/{organizationId}/activities
27
+ */
28
+ export declare const usePostApiV1OrganizationsorganizationIdActivities: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdActivities>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdActivitiesPath>, {
29
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdActivities>[0];
30
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdActivities>[1];
31
+ }>>) => any;
32
+ export declare const getApiV1OrganizationsorganizationIdActivitiesStatsQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesStats>[0]) => any;
33
+ /**
34
+ * Get activity statistics
35
+ *
36
+ * Get activity statistics by type for an organization
37
+ *
38
+ * @api GET /api/v1/organizations/{organizationId}/activities/stats
39
+ */
40
+ export declare const useGetApiV1OrganizationsorganizationIdActivitiesStats: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesStats>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdActivitiesStats>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdActivitiesStatsPath>>, "queryKey" | "queryFn">>) => any;
41
+ export declare const getApiV1OrganizationsorganizationIdActivitiesRecentQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesRecent>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesRecent>[1]) => any;
42
+ /**
43
+ * Get recent activity logs with pagination
44
+ *
45
+ * Get recent activity logs for activity feed with pagination support
46
+ *
47
+ * @api GET /api/v1/organizations/{organizationId}/activities/recent
48
+ */
49
+ export declare const useGetApiV1OrganizationsorganizationIdActivitiesRecent: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesRecent>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesRecent>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdActivitiesRecent>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdActivitiesRecentPath>>, "queryKey" | "queryFn">>) => any;
50
+ export declare const postApiV1OrganizationsorganizationIdActivitiesBulkQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdActivitiesBulk>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdActivitiesBulk>[1]) => any;
51
+ /**
52
+ * Bulk create activity logs
53
+ *
54
+ * Create multiple activity log entries at once
55
+ *
56
+ * @api POST /api/v1/organizations/{organizationId}/activities/bulk
57
+ */
58
+ export declare const usePostApiV1OrganizationsorganizationIdActivitiesBulk: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdActivitiesBulk>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdActivitiesBulkPath>, {
59
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdActivitiesBulk>[0];
60
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdActivitiesBulk>[1];
61
+ }>>) => any;
62
+ export declare const getApiV1OrganizationsorganizationIdActivitiesactivityIdQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesactivityId>[0]) => any;
63
+ /**
64
+ * Get activity log by ID
65
+ *
66
+ * Retrieve a specific activity log by its ID
67
+ *
68
+ * @api GET /api/v1/organizations/{organizationId}/activities/{activityId}
69
+ */
70
+ export declare const useGetApiV1OrganizationsorganizationIdActivitiesactivityId: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdActivitiesactivityId>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdActivitiesactivityId>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdActivitiesactivityIdPath>>, "queryKey" | "queryFn">>) => any;
71
+ export declare const patchApiV1OrganizationsorganizationIdActivitiesactivityIdQueryOptions: (pathParams: Parameters<typeof patchApiV1OrganizationsorganizationIdActivitiesactivityId>[0], body: Parameters<typeof patchApiV1OrganizationsorganizationIdActivitiesactivityId>[1]) => any;
72
+ /**
73
+ * Update activity log
74
+ *
75
+ * Update an existing activity log entry
76
+ *
77
+ * @api PATCH /api/v1/organizations/{organizationId}/activities/{activityId}
78
+ */
79
+ export declare const usePatchApiV1OrganizationsorganizationIdActivitiesactivityId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof patchApiV1OrganizationsorganizationIdActivitiesactivityId>>, OpenapiHookError<IPatchApiV1OrganizationsorganizationIdActivitiesactivityIdPath>, {
80
+ pathParams: Parameters<typeof patchApiV1OrganizationsorganizationIdActivitiesactivityId>[0];
81
+ body: Parameters<typeof patchApiV1OrganizationsorganizationIdActivitiesactivityId>[1];
82
+ }>>) => any;
83
+ export declare const deleteApiV1OrganizationsorganizationIdActivitiesactivityIdQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdActivitiesactivityId>[0]) => any;
84
+ /**
85
+ * Delete activity log
86
+ *
87
+ * Delete an activity log entry
88
+ *
89
+ * @api DELETE /api/v1/organizations/{organizationId}/activities/{activityId}
90
+ */
91
+ export declare const useDeleteApiV1OrganizationsorganizationIdActivitiesactivityId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdActivitiesactivityId>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdActivitiesactivityIdPath>, {
92
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdActivitiesactivityId>[0];
93
+ }>>) => any;
94
+ export {};
95
+ //# sourceMappingURL=activities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../../../../src/__generated__/backend-agiflow-api/hooks/activities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,kDAAkD,EAAE,mDAAmD,EAAE,uDAAuD,EAAE,wDAAwD,EAAE,uDAAuD,EAAE,4DAA4D,EAAE,8DAA8D,EAAE,+DAA+D,EAAE,MAAM,UAAU,CAAC;AACnf,OAAO,EAAE,6CAA6C,EAAE,8CAA8C,EAAE,kDAAkD,EAAE,mDAAmD,EAAE,kDA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AC;AAGL,eAAO,MAAM,sEAAsE,GAAI,YAAY,UAAU,CAAC,OAAO,0DAA0D,CAAC,CAAC,CAAC,CAAC,QAI/K,CAAC;AAGL;;;;;;GAMG;AACH,eAAO,MAAM,6DAA6D,GAAI,UAAU,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,0DAA0D,CAAC,CAAC,EAAE,gBAAgB,CAAC,+DAA+D,CAAC,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC,OAAO,0DAA0D,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC,QAI5X,CAAC"}
@@ -0,0 +1,88 @@
1
+ import type { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesPath, IGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecordPath, IGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyPath, IPutApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyPath, IDeleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyPath, IPostApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulkPath, IDeleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdIdPath } from '../types';
4
+ import { getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariables, getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecord, getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey, putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey, deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey, postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk, deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdId } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariables>[0]) => any;
11
+ /**
12
+ * List environment variables
13
+ *
14
+ * List all environment variables for an agent profile. Regular variables return
15
+ * decrypted values. Secret variables return masked placeholder (***SECRET***).
16
+ *
17
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables
18
+ */
19
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariables: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariables>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariables>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesPath>>, "queryKey" | "queryFn">>) => any;
20
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecordQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecord>[0]) => any;
21
+ /**
22
+ * Get environment variables as record
23
+ *
24
+ * Get all environment variables as a Record<string, string> for agent execution
25
+ *
26
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables/record
27
+ */
28
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecord: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecord>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecord>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesRecordPath>>, "queryKey" | "queryFn">>) => any;
29
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[0]) => any;
30
+ /**
31
+ * Get environment variable by key
32
+ *
33
+ * Retrieve a specific environment variable by its key. Regular variables return
34
+ * decrypted values. Secret variables return masked placeholder (***SECRET***).
35
+ *
36
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables/{key}
37
+ */
38
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyPath>>, "queryKey" | "queryFn">>) => any;
39
+ export declare const putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyQueryOptions: (pathParams: Parameters<typeof putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[0], body: Parameters<typeof putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[1]) => any;
40
+ /**
41
+ * Set environment variable
42
+ *
43
+ * Set (upsert) an environment variable. Value is automatically encrypted before
44
+ * storage.
45
+ *
46
+ * @api PUT /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables/{key}
47
+ */
48
+ export declare const usePutApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>>, OpenapiHookError<IPutApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyPath>, {
49
+ pathParams: Parameters<typeof putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[0];
50
+ body: Parameters<typeof putApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[1];
51
+ }>>) => any;
52
+ export declare const deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[0]) => any;
53
+ /**
54
+ * Delete environment variable by key
55
+ *
56
+ * Delete an environment variable by its key
57
+ *
58
+ * @api DELETE /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables/{key}
59
+ */
60
+ export declare const useDeleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskeyPath>, {
61
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariableskey>[0];
62
+ }>>) => any;
63
+ export declare const postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulkQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk>[1]) => any;
64
+ /**
65
+ * Bulk upsert environment variables
66
+ *
67
+ * Bulk upsert multiple environment variables. Values are automatically encrypted
68
+ * before storage.
69
+ *
70
+ * @api POST /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables/bulk
71
+ */
72
+ export declare const usePostApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulkPath>, {
73
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk>[0];
74
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesBulk>[1];
75
+ }>>) => any;
76
+ export declare const deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdIdQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdId>[0]) => any;
77
+ /**
78
+ * Delete environment variable by ID
79
+ *
80
+ * Delete an environment variable by its ID
81
+ *
82
+ * @api DELETE /api/v1/organizations/{organizationId}/agent-profiles/{profileId}/environment-variables/by-id/{id}
83
+ */
84
+ export declare const useDeleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdId>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdIdPath>, {
85
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesprofileIdEnvironmentVariablesByIdId>[0];
86
+ }>>) => any;
87
+ export {};
88
+ //# sourceMappingURL=agent-environment-variables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-environment-variables.d.ts","sourceRoot":"","sources":["../../../../../src/__generated__/backend-agiflow-api/hooks/agent-environment-variables.ts"],"names":[],"mappings":"AAEA,OAAO,KAA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 import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1OrganizationsorganizationIdAgentProfilesidCredentialsPath, IPostApiV1OrganizationsorganizationIdAgentProfilesidCredentialsPath, IGetApiV1OrganizationsorganizationIdAgentProfilesidCredentialstypePath, IDeleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstypePath } from '../types';
4
+ import { getApiV1OrganizationsorganizationIdAgentProfilesidCredentials, postApiV1OrganizationsorganizationIdAgentProfilesidCredentials, getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype, deleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesidCredentialsQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentials>[0]) => any;
11
+ /**
12
+ * List agent profile credentials
13
+ *
14
+ * List all credential types stored for the specified agent profile
15
+ *
16
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{id}/credentials
17
+ */
18
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesidCredentials: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentials>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentials>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesidCredentialsPath>>, "queryKey" | "queryFn">>) => any;
19
+ export declare const postApiV1OrganizationsorganizationIdAgentProfilesidCredentialsQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidCredentials>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidCredentials>[1]) => any;
20
+ /**
21
+ * Upload agent profile credentials
22
+ *
23
+ * Upload and encrypt credential directories (e.g., .gemini, .codex) as TAR
24
+ * archives. Backend encrypts with AES-256-GCM before storing in R2.
25
+ *
26
+ * @api POST /api/v1/organizations/{organizationId}/agent-profiles/{id}/credentials
27
+ */
28
+ export declare const usePostApiV1OrganizationsorganizationIdAgentProfilesidCredentials: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdAgentProfilesidCredentials>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdAgentProfilesidCredentialsPath>, {
29
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidCredentials>[0];
30
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidCredentials>[1];
31
+ }>>) => any;
32
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstypeQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>[1]) => any;
33
+ /**
34
+ * Get agent profile credentials
35
+ *
36
+ * Retrieve and decrypt credentials for a specific credential type. Optionally
37
+ * returns presigned URL for download.
38
+ *
39
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{id}/credentials/{type}
40
+ */
41
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesidCredentialstypePath>>, "queryKey" | "queryFn">>) => any;
42
+ export declare const deleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstypeQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>[0]) => any;
43
+ /**
44
+ * Delete agent profile credentials
45
+ *
46
+ * Delete credentials for a specific credential type from R2 storage
47
+ *
48
+ * @api DELETE /api/v1/organizations/{organizationId}/agent-profiles/{id}/credentials/{type}
49
+ */
50
+ export declare const useDeleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstypePath>, {
51
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesidCredentialstype>[0];
52
+ }>>) => any;
53
+ export {};
54
+ //# sourceMappingURL=agent-profile-credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-profile-credentials.d.ts","sourceRoot":"","sources":["../../../../../src/__generated__/backend-agiflow-api/hooks/agent-profile-credentials.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,kEAAkE,EAAE,mEAAmE,EAAE,sEAAsE,EAAE,yEAAyE,EAAE,MAAM,UAAU,CAAC;AAC3T,OAAO,EAAE,6DAA6D,EAAE,8DAA8D,EAAE,iEAAiE,EAAE,oEAAoE,EAAE,MAAM,UAAU,CAAC;AAElS,KAAK,gBAAgB,CAAC,KAAK,SAAS;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,IAAI,mBAAmB,CAAC,KAAK,SAAS;IAAE,KAAK,CAAC,EAAE,MAAM,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,OAAO,CAAC,CAAC;AAM9J,eAAO,MAAM,yEAAyE,GAAI,YAAY,UAAU,CAAC,OAAO,6DAA6D,CAAC,CAAC,CAAC,CAAC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,OAAO,iEAAiE,CAAC,CAAC,EAAE,gBAAgB,CAAC,sEAAsE,CAAC,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC,QAGzhB,CAAC;AAGF,eAAO,MAAM,gFAAgF,GAAI,YAAY,UAAU,CAAC,OAAO,oEAAoE,CAAC,CAAC,CAAC,CAAC,QAInM,CAAC;AAGL;;;;;;GAMG;AACH,eAAO,MAAM,uEAAuE,GAAI,UAAU,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,oEAAoE,CAAC,CAAC,EAAE,gBAAgB,CAAC,yEAAyE,CAAC,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC,OAAO,oEAAoE,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC,QAIpa,CAAC"}
@@ -0,0 +1,94 @@
1
+ import type { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1OrganizationsorganizationIdAgentProfilesPath, IPostApiV1OrganizationsorganizationIdAgentProfilesPath, IGetApiV1OrganizationsorganizationIdAgentProfilesDefaultPath, IGetApiV1OrganizationsorganizationIdAgentProfilesIdPath, IPatchApiV1OrganizationsorganizationIdAgentProfilesIdPath, IDeleteApiV1OrganizationsorganizationIdAgentProfilesIdPath, IGetApiV1OrganizationsorganizationIdAgentProfilesidEnvironmentPath, IPostApiV1OrganizationsorganizationIdAgentProfilesidDefaultPath } from '../types';
4
+ import { getApiV1OrganizationsorganizationIdAgentProfiles, postApiV1OrganizationsorganizationIdAgentProfiles, getApiV1OrganizationsorganizationIdAgentProfilesDefault, getApiV1OrganizationsorganizationIdAgentProfilesId, patchApiV1OrganizationsorganizationIdAgentProfilesId, deleteApiV1OrganizationsorganizationIdAgentProfilesId, getApiV1OrganizationsorganizationIdAgentProfilesidEnvironment, postApiV1OrganizationsorganizationIdAgentProfilesidDefault } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfiles>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfiles>[1]) => any;
11
+ /**
12
+ * List agent profiles
13
+ *
14
+ * List all agent profiles for the organization
15
+ *
16
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles
17
+ */
18
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfiles: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfiles>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfiles>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfiles>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesPath>>, "queryKey" | "queryFn">>) => any;
19
+ export declare const postApiV1OrganizationsorganizationIdAgentProfilesQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfiles>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfiles>[1]) => any;
20
+ /**
21
+ * Create agent profile
22
+ *
23
+ * Create a new agent profile for the organization
24
+ *
25
+ * @api POST /api/v1/organizations/{organizationId}/agent-profiles
26
+ */
27
+ export declare const usePostApiV1OrganizationsorganizationIdAgentProfiles: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdAgentProfiles>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdAgentProfilesPath>, {
28
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfiles>[0];
29
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfiles>[1];
30
+ }>>) => any;
31
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesDefaultQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesDefault>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesDefault>[1]) => any;
32
+ /**
33
+ * Get default agent profile
34
+ *
35
+ * Retrieve the default agent profile for the organization
36
+ *
37
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/default
38
+ */
39
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesDefault: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesDefault>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesDefault>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesDefault>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesDefaultPath>>, "queryKey" | "queryFn">>) => any;
40
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesIdQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesId>[0]) => any;
41
+ /**
42
+ * Get agent profile by ID
43
+ *
44
+ * Retrieve a specific agent profile by its ID
45
+ *
46
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{id}
47
+ */
48
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesId: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesId>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesId>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesIdPath>>, "queryKey" | "queryFn">>) => any;
49
+ export declare const patchApiV1OrganizationsorganizationIdAgentProfilesIdQueryOptions: (pathParams: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentProfilesId>[0], body: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentProfilesId>[1]) => any;
50
+ /**
51
+ * Update agent profile
52
+ *
53
+ * Update an existing agent profile
54
+ *
55
+ * @api PATCH /api/v1/organizations/{organizationId}/agent-profiles/{id}
56
+ */
57
+ export declare const usePatchApiV1OrganizationsorganizationIdAgentProfilesId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof patchApiV1OrganizationsorganizationIdAgentProfilesId>>, OpenapiHookError<IPatchApiV1OrganizationsorganizationIdAgentProfilesIdPath>, {
58
+ pathParams: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentProfilesId>[0];
59
+ body: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentProfilesId>[1];
60
+ }>>) => any;
61
+ export declare const deleteApiV1OrganizationsorganizationIdAgentProfilesIdQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesId>[0]) => any;
62
+ /**
63
+ * Delete agent profile
64
+ *
65
+ * Delete an existing agent profile
66
+ *
67
+ * @api DELETE /api/v1/organizations/{organizationId}/agent-profiles/{id}
68
+ */
69
+ export declare const useDeleteApiV1OrganizationsorganizationIdAgentProfilesId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesId>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdAgentProfilesIdPath>, {
70
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentProfilesId>[0];
71
+ }>>) => any;
72
+ export declare const getApiV1OrganizationsorganizationIdAgentProfilesidEnvironmentQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidEnvironment>[0]) => any;
73
+ /**
74
+ * Get agent profile environment variables
75
+ *
76
+ * Retrieve environment variables for the specified agent profile
77
+ *
78
+ * @api GET /api/v1/organizations/{organizationId}/agent-profiles/{id}/environment
79
+ */
80
+ export declare const useGetApiV1OrganizationsorganizationIdAgentProfilesidEnvironment: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentProfilesidEnvironment>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentProfilesidEnvironment>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentProfilesidEnvironmentPath>>, "queryKey" | "queryFn">>) => any;
81
+ export declare const postApiV1OrganizationsorganizationIdAgentProfilesidDefaultQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidDefault>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidDefault>[1]) => any;
82
+ /**
83
+ * Set agent profile as default
84
+ *
85
+ * Set the specified agent profile as the default for the organization
86
+ *
87
+ * @api POST /api/v1/organizations/{organizationId}/agent-profiles/{id}/default
88
+ */
89
+ export declare const usePostApiV1OrganizationsorganizationIdAgentProfilesidDefault: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdAgentProfilesidDefault>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdAgentProfilesidDefaultPath>, {
90
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidDefault>[0];
91
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentProfilesidDefault>[1];
92
+ }>>) => any;
93
+ export {};
94
+ //# sourceMappingURL=agent-profiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-profiles.d.ts","sourceRoot":"","sources":["../../../../../src/__generated__/backend-agiflow-api/hooks/agent-profiles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,qDAAqD,EAAE,sDAAsD,EAAE,4DAA4D,EAAE,uDAAuD,EAAE,yDAAyD,EAAE,0DAA0D,EAAE,kEAAkE,EAAE,+DAA+D,EAAE,MAAM,UAAU,CAAC;AACjgB,OAAO,EAAE,gDAAgD,EAAE,iDAAiD,EAAE,uDAAuD,EAAE,kDAAkD,EAAE,oDAAoD,EAAE,qDAAqD,EA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C;AAGL;;;;;;GAMG;AACH,eAAO,MAAM,6DAA6D,GAAI,UAAU,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,0DAA0D,CAAC,CAAC,EAAE,gBAAgB,CAAC,+DAA+D,CAAC,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC,OAAO,0DAA0D,CAAC,CAAC,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC,OAAO,0DAA0D,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC,QAIpd,CAAC"}
@@ -0,0 +1,64 @@
1
+ import type { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1OrganizationsorganizationIdAgentTypesPath, IPostApiV1OrganizationsorganizationIdAgentTypesPath, IGetApiV1OrganizationsorganizationIdAgentTypesIdPath, IPatchApiV1OrganizationsorganizationIdAgentTypesIdPath, IDeleteApiV1OrganizationsorganizationIdAgentTypesIdPath } from '../types';
4
+ import { getApiV1OrganizationsorganizationIdAgentTypes, postApiV1OrganizationsorganizationIdAgentTypes, getApiV1OrganizationsorganizationIdAgentTypesId, patchApiV1OrganizationsorganizationIdAgentTypesId, deleteApiV1OrganizationsorganizationIdAgentTypesId } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1OrganizationsorganizationIdAgentTypesQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentTypes>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentTypes>[1]) => any;
11
+ /**
12
+ * List Agent Types
13
+ *
14
+ * List agent types including both global and organization-specific types
15
+ *
16
+ * @api GET /api/v1/organizations/{organizationId}/agent-types
17
+ */
18
+ export declare const useGetApiV1OrganizationsorganizationIdAgentTypes: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentTypes>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdAgentTypes>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentTypes>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentTypesPath>>, "queryKey" | "queryFn">>) => any;
19
+ export declare const postApiV1OrganizationsorganizationIdAgentTypesQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentTypes>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentTypes>[1]) => any;
20
+ /**
21
+ * Create Agent Type
22
+ *
23
+ * Create a new agent type for the organization
24
+ *
25
+ * @api POST /api/v1/organizations/{organizationId}/agent-types
26
+ */
27
+ export declare const usePostApiV1OrganizationsorganizationIdAgentTypes: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdAgentTypes>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdAgentTypesPath>, {
28
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdAgentTypes>[0];
29
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdAgentTypes>[1];
30
+ }>>) => any;
31
+ export declare const getApiV1OrganizationsorganizationIdAgentTypesIdQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentTypesId>[0]) => any;
32
+ /**
33
+ * Get Agent Type by ID
34
+ *
35
+ * Retrieve a specific agent type by its ID
36
+ *
37
+ * @api GET /api/v1/organizations/{organizationId}/agent-types/{id}
38
+ */
39
+ export declare const useGetApiV1OrganizationsorganizationIdAgentTypesId: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdAgentTypesId>[0], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdAgentTypesId>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdAgentTypesIdPath>>, "queryKey" | "queryFn">>) => any;
40
+ export declare const patchApiV1OrganizationsorganizationIdAgentTypesIdQueryOptions: (pathParams: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentTypesId>[0], body: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentTypesId>[1]) => any;
41
+ /**
42
+ * Update Agent Type
43
+ *
44
+ * Update an existing organization-specific agent type
45
+ *
46
+ * @api PATCH /api/v1/organizations/{organizationId}/agent-types/{id}
47
+ */
48
+ export declare const usePatchApiV1OrganizationsorganizationIdAgentTypesId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof patchApiV1OrganizationsorganizationIdAgentTypesId>>, OpenapiHookError<IPatchApiV1OrganizationsorganizationIdAgentTypesIdPath>, {
49
+ pathParams: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentTypesId>[0];
50
+ body: Parameters<typeof patchApiV1OrganizationsorganizationIdAgentTypesId>[1];
51
+ }>>) => any;
52
+ export declare const deleteApiV1OrganizationsorganizationIdAgentTypesIdQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentTypesId>[0]) => any;
53
+ /**
54
+ * Delete Agent Type
55
+ *
56
+ * Delete an existing organization-specific agent type
57
+ *
58
+ * @api DELETE /api/v1/organizations/{organizationId}/agent-types/{id}
59
+ */
60
+ export declare const useDeleteApiV1OrganizationsorganizationIdAgentTypesId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdAgentTypesId>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdAgentTypesIdPath>, {
61
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdAgentTypesId>[0];
62
+ }>>) => any;
63
+ export {};
64
+ //# sourceMappingURL=agent-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-types.d.ts","sourceRoot":"","sources":["../../../../../src/__generated__/backend-agiflow-api/hooks/agent-types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAA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AE,CAAC,CAAC,QAIva,CAAC;AAGL,eAAO,MAAM,8DAA8D,GAAI,YAAY,UAAU,CAAC,OAAO,kDAAkD,CAAC,CAAC,CAAC,CAAC,QAI/J,CAAC;AAGL;;;;;;GAMG;AACH,eAAO,MAAM,qDAAqD,GAAI,UAAU,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,kDAAkD,CAAC,CAAC,EAAE,gBAAgB,CAAC,uDAAuD,CAAC,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC,OAAO,kDAAkD,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC,QAI5V,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1OrganizationsorganizationIdApiKeysPath, IPostApiV1OrganizationsorganizationIdApiKeysPath, IDeleteApiV1OrganizationsorganizationIdApiKeysIdPath } from '../types';
4
+ import { getApiV1OrganizationsorganizationIdApiKeys, postApiV1OrganizationsorganizationIdApiKeys, deleteApiV1OrganizationsorganizationIdApiKeysId } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1OrganizationsorganizationIdApiKeysQueryOptions: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdApiKeys>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdApiKeys>[1]) => any;
11
+ /**
12
+ * List API Keys
13
+ *
14
+ * List API keys with pagination and filtering by user
15
+ *
16
+ * @api GET /api/v1/organizations/{organizationId}/api-keys
17
+ */
18
+ export declare const useGetApiV1OrganizationsorganizationIdApiKeys: (pathParams: Parameters<typeof getApiV1OrganizationsorganizationIdApiKeys>[0], queryParams?: Parameters<typeof getApiV1OrganizationsorganizationIdApiKeys>[1], options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1OrganizationsorganizationIdApiKeys>>, OpenapiHookError<IGetApiV1OrganizationsorganizationIdApiKeysPath>>, "queryKey" | "queryFn">>) => any;
19
+ export declare const postApiV1OrganizationsorganizationIdApiKeysQueryOptions: (pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdApiKeys>[0], body: Parameters<typeof postApiV1OrganizationsorganizationIdApiKeys>[1]) => any;
20
+ /**
21
+ * Create API Key
22
+ *
23
+ * Create a new API key for a user or AI agent with Better Auth integration
24
+ *
25
+ * @api POST /api/v1/organizations/{organizationId}/api-keys
26
+ */
27
+ export declare const usePostApiV1OrganizationsorganizationIdApiKeys: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof postApiV1OrganizationsorganizationIdApiKeys>>, OpenapiHookError<IPostApiV1OrganizationsorganizationIdApiKeysPath>, {
28
+ pathParams: Parameters<typeof postApiV1OrganizationsorganizationIdApiKeys>[0];
29
+ body: Parameters<typeof postApiV1OrganizationsorganizationIdApiKeys>[1];
30
+ }>>) => any;
31
+ export declare const deleteApiV1OrganizationsorganizationIdApiKeysIdQueryOptions: (pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdApiKeysId>[0]) => any;
32
+ /**
33
+ * Delete API Key
34
+ *
35
+ * Delete an existing API key
36
+ *
37
+ * @api DELETE /api/v1/organizations/{organizationId}/api-keys/{id}
38
+ */
39
+ export declare const useDeleteApiV1OrganizationsorganizationIdApiKeysId: (options?: Partial<UseMutationOptions<Awaited<ReturnType<typeof deleteApiV1OrganizationsorganizationIdApiKeysId>>, OpenapiHookError<IDeleteApiV1OrganizationsorganizationIdApiKeysIdPath>, {
40
+ pathParams: Parameters<typeof deleteApiV1OrganizationsorganizationIdApiKeysId>[0];
41
+ }>>) => any;
42
+ export {};
43
+ //# sourceMappingURL=apikeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeys.d.ts","sourceRoot":"","sources":["../../../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AAC,CAAC,CAAC,QAI1N,CAAC;AAGL;;;;;;GAMG;AACH,eAAO,MAAM,8CAA8C,GAAI,UAAU,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,2CAA2C,CAAC,CAAC,EAAE,gBAAgB,CAAC,gDAAgD,CAAC,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC,OAAO,2CAA2C,CAAC,CAAC,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC,OAAO,2CAA2C,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC,QAIzY,CAAC;AAGL,eAAO,MAAM,2DAA2D,GAAI,YAAY,UAAU,CAAC,OAAO,+CAA+C,CAAC,CAAC,CAAC,CAAC,QAIzJ,CAAC;AAGL;;;;;;GAMG;AACH,eAAO,MAAM,kDAAkD,GAAI,UAAU,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,+CAA+C,CAAC,CAAC,EAAE,gBAAgB,CAAC,oDAAoD,CAAC,EAAE;IAAE,UAAU,EAAE,UAAU,CAAC,OAAO,+CAA+C,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAAC,QAIhV,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OpenapiRequestError } from '@agimonai/openapi-fetch';
3
+ import type { IGetApiV1AuthCapabilitiesPath } from '../types';
4
+ import { getApiV1AuthCapabilities } from '../repos';
5
+ type OpenapiHookError<TPath extends {
6
+ error?: unknown;
7
+ }> = OpenapiRequestError<TPath extends {
8
+ error?: infer TError;
9
+ } ? Exclude<TError, undefined> : unknown>;
10
+ export declare const getApiV1AuthCapabilitiesQueryOptions: () => any;
11
+ /**
12
+ * Get authentication capabilities
13
+ *
14
+ * Returns the enabled authentication methods and social provider flows for
15
+ * clients.
16
+ *
17
+ * @api GET /api/v1/auth-capabilities
18
+ */
19
+ export declare const useGetApiV1AuthCapabilities: (options?: Partial<Omit<UseQueryOptions<Awaited<ReturnType<typeof getApiV1AuthCapabilities>>, OpenapiHookError<IGetApiV1AuthCapabilitiesPath>>, "queryKey" | "queryFn">>) => any;
20
+ export {};
21
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../src/__generated__/backend-agiflow-api/hooks/auth.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,gBAAgB,CAAC,KAAK,SAAS;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,IAAI,mBAAmB,CAAC,KAAK,SAAS;IAAE,KAAK,CAAC,EAAE,MAAM,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,OAAO,CAAC,CAAC;AAM9J,eAAO,MAAM,oCAAoC,WAI7C,CAAC;AAGL;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,GAAI,UAAU,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC,QAGlN,CAAC"}