@stigmer/server-slim 3.14.1 → 3.15.1

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 (519) hide show
  1. package/console/404.html +1 -1
  2. package/console/__next.__PAGE__.txt +2 -2
  3. package/console/__next._full.txt +14 -14
  4. package/console/__next._head.txt +4 -4
  5. package/console/__next._index.txt +9 -9
  6. package/console/__next._tree.txt +1 -1
  7. package/console/_next/static/chunks/007vb4u7ww12-.js +1 -0
  8. package/console/_next/static/chunks/033ax6lji-tes.js +1 -0
  9. package/console/_next/static/chunks/{0l.8gs9zvjfin.js → 06pwiqdxiss2a.js} +1 -1
  10. package/console/_next/static/chunks/{0hq5gxp5dcv8w.js → 08c8zv8j__rv3.js} +1 -1
  11. package/console/_next/static/chunks/{0g4_345f39a55.js → 0cu7jpps89qek.js} +1 -1
  12. package/console/_next/static/chunks/0dvs3_g88-y3w.js +1 -0
  13. package/console/_next/static/chunks/{0243~hpvegq~b.js → 0lbq-rv4._sxd.js} +2 -2
  14. package/console/_next/static/chunks/0nilerz9~8htu.js +1 -0
  15. package/console/_next/static/chunks/{0wb74irrcc7v7.js → 0r4rc1_40gx7f.js} +1 -1
  16. package/console/_next/static/chunks/0rt0okeappaf0.js +3 -0
  17. package/console/_next/static/chunks/0ty3ab~a037dh.js +1 -0
  18. package/console/_next/static/chunks/15aq5lnv07h-o.js +1 -0
  19. package/console/_not-found/__next._full.txt +14 -14
  20. package/console/_not-found/__next._head.txt +4 -4
  21. package/console/_not-found/__next._index.txt +9 -9
  22. package/console/_not-found/__next._not-found.__PAGE__.txt +3 -3
  23. package/console/_not-found/__next._not-found.txt +3 -3
  24. package/console/_not-found/__next._tree.txt +1 -1
  25. package/console/_not-found.html +1 -1
  26. package/console/_not-found.txt +14 -14
  27. package/console/auth/callback/__next._full.txt +16 -16
  28. package/console/auth/callback/__next._head.txt +4 -4
  29. package/console/auth/callback/__next._index.txt +9 -9
  30. package/console/auth/callback/__next._tree.txt +1 -1
  31. package/console/auth/callback/__next.auth.callback.__PAGE__.txt +4 -4
  32. package/console/auth/callback/__next.auth.callback.txt +3 -3
  33. package/console/auth/callback/__next.auth.txt +3 -3
  34. package/console/auth/callback.html +1 -1
  35. package/console/auth/callback.txt +16 -16
  36. package/console/auth/github/callback/__next._full.txt +16 -16
  37. package/console/auth/github/callback/__next._head.txt +4 -4
  38. package/console/auth/github/callback/__next._index.txt +9 -9
  39. package/console/auth/github/callback/__next._tree.txt +1 -1
  40. package/console/auth/github/callback/__next.auth.github.callback.__PAGE__.txt +4 -4
  41. package/console/auth/github/callback/__next.auth.github.callback.txt +3 -3
  42. package/console/auth/github/callback/__next.auth.github.txt +3 -3
  43. package/console/auth/github/callback/__next.auth.txt +3 -3
  44. package/console/auth/github/callback.html +1 -1
  45. package/console/auth/github/callback.txt +16 -16
  46. package/console/auth/oauth/callback/__next._full.txt +16 -16
  47. package/console/auth/oauth/callback/__next._head.txt +4 -4
  48. package/console/auth/oauth/callback/__next._index.txt +9 -9
  49. package/console/auth/oauth/callback/__next._tree.txt +1 -1
  50. package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +4 -4
  51. package/console/auth/oauth/callback/__next.auth.oauth.callback.txt +3 -3
  52. package/console/auth/oauth/callback/__next.auth.oauth.txt +3 -3
  53. package/console/auth/oauth/callback/__next.auth.txt +3 -3
  54. package/console/auth/oauth/callback.html +1 -1
  55. package/console/auth/oauth/callback.txt +16 -16
  56. package/console/chat/__placeholder__/__placeholder__/__next._full.txt +15 -15
  57. package/console/chat/__placeholder__/__placeholder__/__next._head.txt +4 -4
  58. package/console/chat/__placeholder__/__placeholder__/__next._index.txt +9 -9
  59. package/console/chat/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  60. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.__PAGE__.txt +3 -3
  61. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.txt +3 -3
  62. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.txt +3 -3
  63. package/console/chat/__placeholder__/__placeholder__/__next.chat.txt +3 -3
  64. package/console/chat/__placeholder__/__placeholder__.html +1 -1
  65. package/console/chat/__placeholder__/__placeholder__.txt +15 -15
  66. package/console/conversations/__next._full.txt +15 -15
  67. package/console/conversations/__next._head.txt +4 -4
  68. package/console/conversations/__next._index.txt +9 -9
  69. package/console/conversations/__next._tree.txt +1 -1
  70. package/console/conversations/__next.conversations.__PAGE__.txt +3 -3
  71. package/console/conversations/__next.conversations.txt +3 -3
  72. package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +15 -15
  73. package/console/conversations/__placeholder__/__placeholder__/__next._head.txt +4 -4
  74. package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +9 -9
  75. package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  76. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +3 -3
  77. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.txt +3 -3
  78. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.txt +3 -3
  79. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.txt +3 -3
  80. package/console/conversations/__placeholder__/__placeholder__.html +1 -1
  81. package/console/conversations/__placeholder__/__placeholder__.txt +15 -15
  82. package/console/conversations.html +1 -1
  83. package/console/conversations.txt +15 -15
  84. package/console/dashboard/__next._full.txt +15 -15
  85. package/console/dashboard/__next._head.txt +4 -4
  86. package/console/dashboard/__next._index.txt +9 -9
  87. package/console/dashboard/__next._tree.txt +1 -1
  88. package/console/dashboard/__next.dashboard.__PAGE__.txt +3 -3
  89. package/console/dashboard/__next.dashboard.txt +3 -3
  90. package/console/dashboard.html +1 -1
  91. package/console/dashboard.txt +15 -15
  92. package/console/executions/__placeholder__/__next._full.txt +14 -14
  93. package/console/executions/__placeholder__/__next._head.txt +4 -4
  94. package/console/executions/__placeholder__/__next._index.txt +9 -9
  95. package/console/executions/__placeholder__/__next._tree.txt +1 -1
  96. package/console/executions/__placeholder__/__next.executions.$d$id.__PAGE__.txt +2 -2
  97. package/console/executions/__placeholder__/__next.executions.$d$id.txt +3 -3
  98. package/console/executions/__placeholder__/__next.executions.txt +3 -3
  99. package/console/executions/__placeholder__.html +1 -1
  100. package/console/executions/__placeholder__.txt +14 -14
  101. package/console/index.html +1 -1
  102. package/console/index.txt +14 -14
  103. package/console/invite/__placeholder__/__next._full.txt +16 -16
  104. package/console/invite/__placeholder__/__next._head.txt +4 -4
  105. package/console/invite/__placeholder__/__next._index.txt +9 -9
  106. package/console/invite/__placeholder__/__next._tree.txt +1 -1
  107. package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +3 -3
  108. package/console/invite/__placeholder__/__next.invite.$d$token.txt +3 -3
  109. package/console/invite/__placeholder__/__next.invite.txt +3 -3
  110. package/console/invite/__placeholder__.html +1 -1
  111. package/console/invite/__placeholder__.txt +16 -16
  112. package/console/library/__next._full.txt +17 -17
  113. package/console/library/__next._head.txt +4 -4
  114. package/console/library/__next._index.txt +9 -9
  115. package/console/library/__next._tree.txt +1 -1
  116. package/console/library/__next.library.__PAGE__.txt +3 -3
  117. package/console/library/__next.library.txt +5 -5
  118. package/console/library/agents/__next._full.txt +17 -17
  119. package/console/library/agents/__next._head.txt +4 -4
  120. package/console/library/agents/__next._index.txt +9 -9
  121. package/console/library/agents/__next._tree.txt +1 -1
  122. package/console/library/agents/__next.library.agents.__PAGE__.txt +3 -3
  123. package/console/library/agents/__next.library.agents.txt +3 -3
  124. package/console/library/agents/__next.library.txt +5 -5
  125. package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +17 -17
  126. package/console/library/agents/__placeholder__/__placeholder__/__next._head.txt +4 -4
  127. package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +9 -9
  128. package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  129. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +3 -3
  130. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.txt +3 -3
  131. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.txt +3 -3
  132. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.txt +3 -3
  133. package/console/library/agents/__placeholder__/__placeholder__/__next.library.txt +5 -5
  134. package/console/library/agents/__placeholder__/__placeholder__.html +1 -1
  135. package/console/library/agents/__placeholder__/__placeholder__.txt +17 -17
  136. package/console/library/agents/new/__next._full.txt +18 -18
  137. package/console/library/agents/new/__next._head.txt +4 -4
  138. package/console/library/agents/new/__next._index.txt +9 -9
  139. package/console/library/agents/new/__next._tree.txt +1 -1
  140. package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +4 -4
  141. package/console/library/agents/new/__next.library.agents.new.txt +3 -3
  142. package/console/library/agents/new/__next.library.agents.txt +3 -3
  143. package/console/library/agents/new/__next.library.txt +5 -5
  144. package/console/library/agents/new.html +1 -1
  145. package/console/library/agents/new.txt +18 -18
  146. package/console/library/agents.html +1 -1
  147. package/console/library/agents.txt +17 -17
  148. package/console/library/mcp-servers/__next._full.txt +17 -17
  149. package/console/library/mcp-servers/__next._head.txt +4 -4
  150. package/console/library/mcp-servers/__next._index.txt +9 -9
  151. package/console/library/mcp-servers/__next._tree.txt +1 -1
  152. package/console/library/mcp-servers/__next.library.mcp-servers.__PAGE__.txt +3 -3
  153. package/console/library/mcp-servers/__next.library.mcp-servers.txt +3 -3
  154. package/console/library/mcp-servers/__next.library.txt +5 -5
  155. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._full.txt +17 -17
  156. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._head.txt +4 -4
  157. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._index.txt +9 -9
  158. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  159. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.__PAGE__.txt +3 -3
  160. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.txt +3 -3
  161. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.txt +3 -3
  162. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.txt +3 -3
  163. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.txt +5 -5
  164. package/console/library/mcp-servers/__placeholder__/__placeholder__.html +1 -1
  165. package/console/library/mcp-servers/__placeholder__/__placeholder__.txt +17 -17
  166. package/console/library/mcp-servers/new/__next._full.txt +18 -18
  167. package/console/library/mcp-servers/new/__next._head.txt +4 -4
  168. package/console/library/mcp-servers/new/__next._index.txt +9 -9
  169. package/console/library/mcp-servers/new/__next._tree.txt +1 -1
  170. package/console/library/mcp-servers/new/__next.library.mcp-servers.new.__PAGE__.txt +4 -4
  171. package/console/library/mcp-servers/new/__next.library.mcp-servers.new.txt +3 -3
  172. package/console/library/mcp-servers/new/__next.library.mcp-servers.txt +3 -3
  173. package/console/library/mcp-servers/new/__next.library.txt +5 -5
  174. package/console/library/mcp-servers/new.html +1 -1
  175. package/console/library/mcp-servers/new.txt +18 -18
  176. package/console/library/mcp-servers.html +1 -1
  177. package/console/library/mcp-servers.txt +17 -17
  178. package/console/library/schedules/__next._full.txt +17 -17
  179. package/console/library/schedules/__next._head.txt +4 -4
  180. package/console/library/schedules/__next._index.txt +9 -9
  181. package/console/library/schedules/__next._tree.txt +1 -1
  182. package/console/library/schedules/__next.library.schedules.__PAGE__.txt +3 -3
  183. package/console/library/schedules/__next.library.schedules.txt +3 -3
  184. package/console/library/schedules/__next.library.txt +5 -5
  185. package/console/library/schedules/__placeholder__/__placeholder__/__next._full.txt +17 -17
  186. package/console/library/schedules/__placeholder__/__placeholder__/__next._head.txt +4 -4
  187. package/console/library/schedules/__placeholder__/__placeholder__/__next._index.txt +9 -9
  188. package/console/library/schedules/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  189. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.__PAGE__.txt +3 -3
  190. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.txt +3 -3
  191. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.txt +3 -3
  192. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.txt +3 -3
  193. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.txt +5 -5
  194. package/console/library/schedules/__placeholder__/__placeholder__.html +1 -1
  195. package/console/library/schedules/__placeholder__/__placeholder__.txt +17 -17
  196. package/console/library/schedules/new/__next._full.txt +18 -18
  197. package/console/library/schedules/new/__next._head.txt +4 -4
  198. package/console/library/schedules/new/__next._index.txt +9 -9
  199. package/console/library/schedules/new/__next._tree.txt +1 -1
  200. package/console/library/schedules/new/__next.library.schedules.new.__PAGE__.txt +4 -4
  201. package/console/library/schedules/new/__next.library.schedules.new.txt +3 -3
  202. package/console/library/schedules/new/__next.library.schedules.txt +3 -3
  203. package/console/library/schedules/new/__next.library.txt +5 -5
  204. package/console/library/schedules/new.html +1 -1
  205. package/console/library/schedules/new.txt +18 -18
  206. package/console/library/schedules.html +1 -1
  207. package/console/library/schedules.txt +17 -17
  208. package/console/library/skills/__next._full.txt +17 -17
  209. package/console/library/skills/__next._head.txt +4 -4
  210. package/console/library/skills/__next._index.txt +9 -9
  211. package/console/library/skills/__next._tree.txt +1 -1
  212. package/console/library/skills/__next.library.skills.__PAGE__.txt +3 -3
  213. package/console/library/skills/__next.library.skills.txt +3 -3
  214. package/console/library/skills/__next.library.txt +5 -5
  215. package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +17 -17
  216. package/console/library/skills/__placeholder__/__placeholder__/__next._head.txt +4 -4
  217. package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +9 -9
  218. package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  219. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +3 -3
  220. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.txt +3 -3
  221. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.txt +3 -3
  222. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.txt +3 -3
  223. package/console/library/skills/__placeholder__/__placeholder__/__next.library.txt +5 -5
  224. package/console/library/skills/__placeholder__/__placeholder__.html +1 -1
  225. package/console/library/skills/__placeholder__/__placeholder__.txt +17 -17
  226. package/console/library/skills/new/__next._full.txt +18 -18
  227. package/console/library/skills/new/__next._head.txt +4 -4
  228. package/console/library/skills/new/__next._index.txt +9 -9
  229. package/console/library/skills/new/__next._tree.txt +1 -1
  230. package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +4 -4
  231. package/console/library/skills/new/__next.library.skills.new.txt +3 -3
  232. package/console/library/skills/new/__next.library.skills.txt +3 -3
  233. package/console/library/skills/new/__next.library.txt +5 -5
  234. package/console/library/skills/new.html +1 -1
  235. package/console/library/skills/new.txt +18 -18
  236. package/console/library/skills.html +1 -1
  237. package/console/library/skills.txt +17 -17
  238. package/console/library/workflows/__next._full.txt +17 -17
  239. package/console/library/workflows/__next._head.txt +4 -4
  240. package/console/library/workflows/__next._index.txt +9 -9
  241. package/console/library/workflows/__next._tree.txt +1 -1
  242. package/console/library/workflows/__next.library.txt +5 -5
  243. package/console/library/workflows/__next.library.workflows.__PAGE__.txt +3 -3
  244. package/console/library/workflows/__next.library.workflows.txt +3 -3
  245. package/console/library/workflows/__placeholder__/__placeholder__/__next._full.txt +17 -17
  246. package/console/library/workflows/__placeholder__/__placeholder__/__next._head.txt +4 -4
  247. package/console/library/workflows/__placeholder__/__placeholder__/__next._index.txt +9 -9
  248. package/console/library/workflows/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  249. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.txt +5 -5
  250. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.__PAGE__.txt +3 -3
  251. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.txt +3 -3
  252. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.txt +3 -3
  253. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.txt +3 -3
  254. package/console/library/workflows/__placeholder__/__placeholder__.html +1 -1
  255. package/console/library/workflows/__placeholder__/__placeholder__.txt +17 -17
  256. package/console/library/workflows/executions/__next._full.txt +17 -17
  257. package/console/library/workflows/executions/__next._head.txt +4 -4
  258. package/console/library/workflows/executions/__next._index.txt +9 -9
  259. package/console/library/workflows/executions/__next._tree.txt +1 -1
  260. package/console/library/workflows/executions/__next.library.txt +5 -5
  261. package/console/library/workflows/executions/__next.library.workflows.executions.__PAGE__.txt +3 -3
  262. package/console/library/workflows/executions/__next.library.workflows.executions.txt +3 -3
  263. package/console/library/workflows/executions/__next.library.workflows.txt +3 -3
  264. package/console/library/workflows/executions.html +1 -1
  265. package/console/library/workflows/executions.txt +17 -17
  266. package/console/library/workflows/new/__next._full.txt +18 -18
  267. package/console/library/workflows/new/__next._head.txt +4 -4
  268. package/console/library/workflows/new/__next._index.txt +9 -9
  269. package/console/library/workflows/new/__next._tree.txt +1 -1
  270. package/console/library/workflows/new/__next.library.txt +5 -5
  271. package/console/library/workflows/new/__next.library.workflows.new.__PAGE__.txt +4 -4
  272. package/console/library/workflows/new/__next.library.workflows.new.txt +3 -3
  273. package/console/library/workflows/new/__next.library.workflows.txt +3 -3
  274. package/console/library/workflows/new.html +1 -1
  275. package/console/library/workflows/new.txt +18 -18
  276. package/console/library/workflows.html +1 -1
  277. package/console/library/workflows.txt +17 -17
  278. package/console/library.html +1 -1
  279. package/console/library.txt +17 -17
  280. package/console/login/__next._full.txt +17 -17
  281. package/console/login/__next._head.txt +4 -4
  282. package/console/login/__next._index.txt +9 -9
  283. package/console/login/__next._tree.txt +1 -1
  284. package/console/login/__next.login.__PAGE__.txt +4 -4
  285. package/console/login/__next.login.txt +3 -3
  286. package/console/login.html +1 -1
  287. package/console/login.txt +17 -17
  288. package/console/oauth/slack/callback/__next._full.txt +16 -16
  289. package/console/oauth/slack/callback/__next._head.txt +4 -4
  290. package/console/oauth/slack/callback/__next._index.txt +9 -9
  291. package/console/oauth/slack/callback/__next._tree.txt +1 -1
  292. package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +4 -4
  293. package/console/oauth/slack/callback/__next.oauth.slack.callback.txt +3 -3
  294. package/console/oauth/slack/callback/__next.oauth.slack.txt +3 -3
  295. package/console/oauth/slack/callback/__next.oauth.txt +3 -3
  296. package/console/oauth/slack/callback.html +1 -1
  297. package/console/oauth/slack/callback.txt +16 -16
  298. package/console/sessions/__placeholder__/__next._full.txt +14 -14
  299. package/console/sessions/__placeholder__/__next._head.txt +4 -4
  300. package/console/sessions/__placeholder__/__next._index.txt +9 -9
  301. package/console/sessions/__placeholder__/__next._tree.txt +1 -1
  302. package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +2 -2
  303. package/console/sessions/__placeholder__/__next.sessions.$d$id.txt +3 -3
  304. package/console/sessions/__placeholder__/__next.sessions.txt +3 -3
  305. package/console/sessions/__placeholder__.html +1 -1
  306. package/console/sessions/__placeholder__.txt +14 -14
  307. package/console/settings/__next._full.txt +18 -18
  308. package/console/settings/__next._head.txt +4 -4
  309. package/console/settings/__next._index.txt +9 -9
  310. package/console/settings/__next._tree.txt +1 -1
  311. package/console/settings/__next.settings.__PAGE__.txt +4 -4
  312. package/console/settings/__next.settings.txt +5 -5
  313. package/console/settings/account-preferences/__next._full.txt +18 -18
  314. package/console/settings/account-preferences/__next._head.txt +4 -4
  315. package/console/settings/account-preferences/__next._index.txt +9 -9
  316. package/console/settings/account-preferences/__next._tree.txt +1 -1
  317. package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +3 -3
  318. package/console/settings/account-preferences/__next.settings.account-preferences.txt +3 -3
  319. package/console/settings/account-preferences/__next.settings.txt +5 -5
  320. package/console/settings/account-preferences.html +1 -1
  321. package/console/settings/account-preferences.txt +18 -18
  322. package/console/settings/api-keys/__next._full.txt +17 -17
  323. package/console/settings/api-keys/__next._head.txt +4 -4
  324. package/console/settings/api-keys/__next._index.txt +9 -9
  325. package/console/settings/api-keys/__next._tree.txt +1 -1
  326. package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +3 -3
  327. package/console/settings/api-keys/__next.settings.api-keys.txt +3 -3
  328. package/console/settings/api-keys/__next.settings.txt +5 -5
  329. package/console/settings/api-keys.html +1 -1
  330. package/console/settings/api-keys.txt +17 -17
  331. package/console/settings/billing/__next._full.txt +18 -18
  332. package/console/settings/billing/__next._head.txt +4 -4
  333. package/console/settings/billing/__next._index.txt +9 -9
  334. package/console/settings/billing/__next._tree.txt +1 -1
  335. package/console/settings/billing/__next.settings.billing.__PAGE__.txt +4 -4
  336. package/console/settings/billing/__next.settings.billing.txt +3 -3
  337. package/console/settings/billing/__next.settings.txt +5 -5
  338. package/console/settings/billing.html +1 -1
  339. package/console/settings/billing.txt +18 -18
  340. package/console/settings/channel-apps/__next._full.txt +17 -17
  341. package/console/settings/channel-apps/__next._head.txt +4 -4
  342. package/console/settings/channel-apps/__next._index.txt +9 -9
  343. package/console/settings/channel-apps/__next._tree.txt +1 -1
  344. package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +3 -3
  345. package/console/settings/channel-apps/__next.settings.channel-apps.txt +3 -3
  346. package/console/settings/channel-apps/__next.settings.txt +5 -5
  347. package/console/settings/channel-apps.html +1 -1
  348. package/console/settings/channel-apps.txt +17 -17
  349. package/console/settings/cursor-accounts/__next._full.txt +18 -18
  350. package/console/settings/cursor-accounts/__next._head.txt +4 -4
  351. package/console/settings/cursor-accounts/__next._index.txt +9 -9
  352. package/console/settings/cursor-accounts/__next._tree.txt +1 -1
  353. package/console/settings/cursor-accounts/__next.settings.cursor-accounts.__PAGE__.txt +4 -4
  354. package/console/settings/cursor-accounts/__next.settings.cursor-accounts.txt +3 -3
  355. package/console/settings/cursor-accounts/__next.settings.txt +5 -5
  356. package/console/settings/cursor-accounts.html +1 -1
  357. package/console/settings/cursor-accounts.txt +18 -18
  358. package/console/settings/environments/__next._full.txt +17 -17
  359. package/console/settings/environments/__next._head.txt +4 -4
  360. package/console/settings/environments/__next._index.txt +9 -9
  361. package/console/settings/environments/__next._tree.txt +1 -1
  362. package/console/settings/environments/__next.settings.environments.__PAGE__.txt +3 -3
  363. package/console/settings/environments/__next.settings.environments.txt +3 -3
  364. package/console/settings/environments/__next.settings.txt +5 -5
  365. package/console/settings/environments.html +1 -1
  366. package/console/settings/environments.txt +17 -17
  367. package/console/settings/identity-providers/__next._full.txt +17 -17
  368. package/console/settings/identity-providers/__next._head.txt +4 -4
  369. package/console/settings/identity-providers/__next._index.txt +9 -9
  370. package/console/settings/identity-providers/__next._tree.txt +1 -1
  371. package/console/settings/identity-providers/__next.settings.identity-providers.__PAGE__.txt +3 -3
  372. package/console/settings/identity-providers/__next.settings.identity-providers.txt +3 -3
  373. package/console/settings/identity-providers/__next.settings.txt +5 -5
  374. package/console/settings/identity-providers.html +1 -1
  375. package/console/settings/identity-providers.txt +17 -17
  376. package/console/settings/invitations/__next._full.txt +17 -17
  377. package/console/settings/invitations/__next._head.txt +4 -4
  378. package/console/settings/invitations/__next._index.txt +9 -9
  379. package/console/settings/invitations/__next._tree.txt +1 -1
  380. package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +3 -3
  381. package/console/settings/invitations/__next.settings.invitations.txt +3 -3
  382. package/console/settings/invitations/__next.settings.txt +5 -5
  383. package/console/settings/invitations.html +1 -1
  384. package/console/settings/invitations.txt +17 -17
  385. package/console/settings/members/__next._full.txt +17 -17
  386. package/console/settings/members/__next._head.txt +4 -4
  387. package/console/settings/members/__next._index.txt +9 -9
  388. package/console/settings/members/__next._tree.txt +1 -1
  389. package/console/settings/members/__next.settings.members.__PAGE__.txt +3 -3
  390. package/console/settings/members/__next.settings.members.txt +3 -3
  391. package/console/settings/members/__next.settings.txt +5 -5
  392. package/console/settings/members.html +1 -1
  393. package/console/settings/members.txt +17 -17
  394. package/console/settings/memory/__next._full.txt +17 -17
  395. package/console/settings/memory/__next._head.txt +4 -4
  396. package/console/settings/memory/__next._index.txt +9 -9
  397. package/console/settings/memory/__next._tree.txt +1 -1
  398. package/console/settings/memory/__next.settings.memory.__PAGE__.txt +3 -3
  399. package/console/settings/memory/__next.settings.memory.txt +3 -3
  400. package/console/settings/memory/__next.settings.txt +5 -5
  401. package/console/settings/memory.html +1 -1
  402. package/console/settings/memory.txt +17 -17
  403. package/console/settings/oauth-apps/__next._full.txt +17 -17
  404. package/console/settings/oauth-apps/__next._head.txt +4 -4
  405. package/console/settings/oauth-apps/__next._index.txt +9 -9
  406. package/console/settings/oauth-apps/__next._tree.txt +1 -1
  407. package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +3 -3
  408. package/console/settings/oauth-apps/__next.settings.oauth-apps.txt +3 -3
  409. package/console/settings/oauth-apps/__next.settings.txt +5 -5
  410. package/console/settings/oauth-apps.html +1 -1
  411. package/console/settings/oauth-apps.txt +17 -17
  412. package/console/settings/org-preferences/__next._full.txt +17 -17
  413. package/console/settings/org-preferences/__next._head.txt +4 -4
  414. package/console/settings/org-preferences/__next._index.txt +9 -9
  415. package/console/settings/org-preferences/__next._tree.txt +1 -1
  416. package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +3 -3
  417. package/console/settings/org-preferences/__next.settings.org-preferences.txt +3 -3
  418. package/console/settings/org-preferences/__next.settings.txt +5 -5
  419. package/console/settings/org-preferences.html +1 -1
  420. package/console/settings/org-preferences.txt +17 -17
  421. package/console/settings/org-profile/__next._full.txt +17 -17
  422. package/console/settings/org-profile/__next._head.txt +4 -4
  423. package/console/settings/org-profile/__next._index.txt +9 -9
  424. package/console/settings/org-profile/__next._tree.txt +1 -1
  425. package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +3 -3
  426. package/console/settings/org-profile/__next.settings.org-profile.txt +3 -3
  427. package/console/settings/org-profile/__next.settings.txt +5 -5
  428. package/console/settings/org-profile.html +1 -1
  429. package/console/settings/org-profile.txt +17 -17
  430. package/console/settings/platform-clients/__next._full.txt +17 -17
  431. package/console/settings/platform-clients/__next._head.txt +4 -4
  432. package/console/settings/platform-clients/__next._index.txt +9 -9
  433. package/console/settings/platform-clients/__next._tree.txt +1 -1
  434. package/console/settings/platform-clients/__next.settings.platform-clients.__PAGE__.txt +3 -3
  435. package/console/settings/platform-clients/__next.settings.platform-clients.txt +3 -3
  436. package/console/settings/platform-clients/__next.settings.txt +5 -5
  437. package/console/settings/platform-clients.html +1 -1
  438. package/console/settings/platform-clients.txt +17 -17
  439. package/console/settings/pricing-governance/__next._full.txt +18 -18
  440. package/console/settings/pricing-governance/__next._head.txt +4 -4
  441. package/console/settings/pricing-governance/__next._index.txt +9 -9
  442. package/console/settings/pricing-governance/__next._tree.txt +1 -1
  443. package/console/settings/pricing-governance/__next.settings.pricing-governance.__PAGE__.txt +4 -4
  444. package/console/settings/pricing-governance/__next.settings.pricing-governance.txt +3 -3
  445. package/console/settings/pricing-governance/__next.settings.txt +5 -5
  446. package/console/settings/pricing-governance.html +1 -1
  447. package/console/settings/pricing-governance.txt +18 -18
  448. package/console/settings/provider-standing/__next._full.txt +18 -18
  449. package/console/settings/provider-standing/__next._head.txt +4 -4
  450. package/console/settings/provider-standing/__next._index.txt +9 -9
  451. package/console/settings/provider-standing/__next._tree.txt +1 -1
  452. package/console/settings/provider-standing/__next.settings.provider-standing.__PAGE__.txt +4 -4
  453. package/console/settings/provider-standing/__next.settings.provider-standing.txt +3 -3
  454. package/console/settings/provider-standing/__next.settings.txt +5 -5
  455. package/console/settings/provider-standing.html +1 -1
  456. package/console/settings/provider-standing.txt +18 -18
  457. package/console/settings/usage/__next._full.txt +17 -17
  458. package/console/settings/usage/__next._head.txt +4 -4
  459. package/console/settings/usage/__next._index.txt +9 -9
  460. package/console/settings/usage/__next._tree.txt +1 -1
  461. package/console/settings/usage/__next.settings.txt +5 -5
  462. package/console/settings/usage/__next.settings.usage.__PAGE__.txt +3 -3
  463. package/console/settings/usage/__next.settings.usage.txt +3 -3
  464. package/console/settings/usage.html +1 -1
  465. package/console/settings/usage.txt +17 -17
  466. package/console/settings.html +1 -1
  467. package/console/settings.txt +18 -18
  468. package/console/workflows/__next._full.txt +14 -14
  469. package/console/workflows/__next._head.txt +4 -4
  470. package/console/workflows/__next._index.txt +9 -9
  471. package/console/workflows/__next._tree.txt +1 -1
  472. package/console/workflows/__next.workflows.__PAGE__.txt +2 -2
  473. package/console/workflows/__next.workflows.txt +3 -3
  474. package/console/workflows/__placeholder__/__placeholder__/__next._full.txt +15 -15
  475. package/console/workflows/__placeholder__/__placeholder__/__next._head.txt +4 -4
  476. package/console/workflows/__placeholder__/__placeholder__/__next._index.txt +9 -9
  477. package/console/workflows/__placeholder__/__placeholder__/__next._tree.txt +1 -1
  478. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.__PAGE__.txt +3 -3
  479. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.txt +3 -3
  480. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.txt +3 -3
  481. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.txt +3 -3
  482. package/console/workflows/__placeholder__/__placeholder__.html +1 -1
  483. package/console/workflows/__placeholder__/__placeholder__.txt +15 -15
  484. package/console/workflows/executions/__next._full.txt +14 -14
  485. package/console/workflows/executions/__next._head.txt +4 -4
  486. package/console/workflows/executions/__next._index.txt +9 -9
  487. package/console/workflows/executions/__next._tree.txt +1 -1
  488. package/console/workflows/executions/__next.workflows.executions.__PAGE__.txt +2 -2
  489. package/console/workflows/executions/__next.workflows.executions.txt +3 -3
  490. package/console/workflows/executions/__next.workflows.txt +3 -3
  491. package/console/workflows/executions/__placeholder__/__next._full.txt +15 -15
  492. package/console/workflows/executions/__placeholder__/__next._head.txt +4 -4
  493. package/console/workflows/executions/__placeholder__/__next._index.txt +9 -9
  494. package/console/workflows/executions/__placeholder__/__next._tree.txt +1 -1
  495. package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.__PAGE__.txt +3 -3
  496. package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.txt +3 -3
  497. package/console/workflows/executions/__placeholder__/__next.workflows.executions.txt +3 -3
  498. package/console/workflows/executions/__placeholder__/__next.workflows.txt +3 -3
  499. package/console/workflows/executions/__placeholder__.html +1 -1
  500. package/console/workflows/executions/__placeholder__.txt +15 -15
  501. package/console/workflows/executions.html +1 -1
  502. package/console/workflows/executions.txt +14 -14
  503. package/console/workflows.html +1 -1
  504. package/console/workflows.txt +14 -14
  505. package/main.js +18 -18
  506. package/package.json +6 -6
  507. package/workflow-bundle-agent-execution.js +2 -1
  508. package/workflow-bundle-schedule.js +1 -0
  509. package/workflow-bundle-workflow-execution.js +2 -1
  510. package/console/_next/static/chunks/0g2364v9uczoe.js +0 -1
  511. package/console/_next/static/chunks/0jggc9ec3-p1-.js +0 -1
  512. package/console/_next/static/chunks/0n2qydw3oc1oj.js +0 -1
  513. package/console/_next/static/chunks/0uq41itbafxa3.js +0 -3
  514. package/console/_next/static/chunks/0xr1dk~mec2dn.js +0 -1
  515. package/console/_next/static/chunks/0y.q8_3yj1nxl.js +0 -1
  516. package/console/_next/static/chunks/14.38bpm-d3-l.js +0 -1
  517. /package/console/_next/static/{uKJya71hn3IRAvepoSOIo → 2SkEhTkGVdnF_PZztWplP}/_buildManifest.js +0 -0
  518. /package/console/_next/static/{uKJya71hn3IRAvepoSOIo → 2SkEhTkGVdnF_PZztWplP}/_clientMiddlewareManifest.js +0 -0
  519. /package/console/_next/static/{uKJya71hn3IRAvepoSOIo → 2SkEhTkGVdnF_PZztWplP}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,506213,e=>{"use strict";e.s([],593742),e.i(593742);var t,i=e.i(271645),n=e.i(66196),r=e.i(58509),s=e.i(933605),o=e.i(789633),a=e.i(926665),l=e.i(151665),c=e.i(206157);e.i(247167);var u=e.i(367805);let d=i.createContext(void 0);function g(e){let t=i.useContext(d);if(void 0===t&&!e)throw Error((0,u.default)(47));return t}var p=e.i(174080),b=e.i(598263),m=e.i(783921),v=e.i(566745),h=e.i(630628),f=e.i(294365),S=e.i(803404),A=e.i(600628),R=e.i(769375),y=e.i(607335);let k={...A.popupStoreSelectors,disabled:(0,m.createSelector)(e=>e.disabled),instantType:(0,m.createSelector)(e=>e.instantType),openMethod:(0,m.createSelector)(e=>e.openMethod),openChangeReason:(0,m.createSelector)(e=>e.openChangeReason),modal:(0,m.createSelector)(e=>e.modal),stickIfOpen:(0,m.createSelector)(e=>e.stickIfOpen),titleElementId:(0,m.createSelector)(e=>e.titleElementId),descriptionElementId:(0,m.createSelector)(e=>e.descriptionElementId),openOnHover:(0,m.createSelector)(e=>e.openOnHover),closeDelay:(0,m.createSelector)(e=>e.closeDelay),hasViewport:(0,m.createSelector)(e=>e.hasViewport)};class x extends b.ReactStore{constructor(e){const t={...(0,A.createInitialPopupStoreState)(),disabled:!1,modal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,nested:!1,openOnHover:!1,closeDelay:0,hasViewport:!1,...e};t.open&&e?.mounted===void 0&&(t.mounted=!0),super(t,{popupRef:i.createRef(),backdropRef:i.createRef(),internalBackdropRef:i.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:i.createRef(),beforeContentFocusGuardRef:i.createRef(),stickIfOpenTimeout:new v.Timeout,triggerElements:new R.PopupTriggerMap},k)}setOpen=(e,t)=>{let i=t.reason===S.REASONS.triggerHover,n=t.reason===S.REASONS.triggerPress&&0===t.event.detail,r=!e&&(t.reason===S.REASONS.escapeKey||null==t.reason);if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;let s={open:e,nativeEvent:t.event,reason:t.reason,nested:this.state.nested,triggerElement:t.trigger},o=this.state.floatingRootContext.context.events;o?.emit("openchange",s);let a=()=>{let i={open:e,openChangeReason:t.reason},n=t.trigger?.id??null;(n||e)&&(i.activeTriggerId=n,i.activeTriggerElement=t.trigger??null),this.update(i)};i?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(y.PATIENT_CLICK_THRESHOLD,()=>{this.set("stickIfOpen",!1)}),p.flushSync(a)):a(),n||r?this.set("instantType",n?"click":"dismiss"):t.reason===S.REASONS.focusOut?this.set("instantType","focus"):this.set("instantType",void 0)};static useStore(e,t){let i=(0,h.useRefWithInit)(()=>new x(t)).current,n=e??i;return(0,f.useOnMount)(i.disposeEffect),n}disposeEffect=()=>this.context.stickIfOpenTimeout.disposeEffect()}var W=e.i(5963),C=e.i(258642),I=e.i(450091),E=e.i(843476);function V({props:e}){let{children:t,open:u,defaultOpen:g=!1,onOpenChange:p,onOpenChangeComplete:b,modal:m=!1,handle:v,triggerId:h,defaultTriggerId:f=null}=e,A=x.useStore(v?.store,{modal:m,open:g,openProp:u,activeTriggerId:f,triggerIdProp:h});(0,r.useOnFirstRender)(()=>{void 0===u&&!1===A.state.open&&!0===g&&A.update({open:!0,activeTriggerId:f})}),A.useControlledProp("openProp",u),A.useControlledProp("triggerIdProp",h);let R=A.useState("open"),y=A.useState("positionerElement"),k=A.useState("payload"),Z=A.useState("openChangeReason");A.useContextCallback("onOpenChange",p),A.useContextCallback("onOpenChangeComplete",b);let{openMethod:G,triggerProps:Y}=(0,I.useOpenInteractionType)(R);(0,C.useImplicitActiveTrigger)(A);let{forceUnmount:B}=(0,C.useOpenStateTransitions)(R,A,()=>{A.update({stickIfOpen:!0,openChangeReason:null})});(0,n.useScrollLock)(R&&!0===m&&Z!==S.REASONS.triggerHover&&"touch"!==G,y),i.useEffect(()=>{R||A.context.stickIfOpenTimeout.clear()},[A,R]);let N=i.useCallback(e=>{let t=(0,W.createChangeEventDetails)(e);return t.preventUnmountOnClose=()=>{A.set("preventUnmountingOnClose",!0)},t},[A]),X=i.useCallback(()=>{A.setOpen(!1,N(S.REASONS.imperativeAction))},[A,N]);i.useImperativeHandle(e.actionsRef,()=>({unmount:B,close:X}),[B,X]);let w=(0,c.useSyncedFloatingRootContext)({popupStore:A,onOpenChange:A.setOpen}),j=(0,s.useDismiss)(w,{outsidePressEvent:{mouse:"trap-focus"===m?"sloppy":"intentional",touch:"sloppy"}}),F=(0,a.useRole)(w),{getReferenceProps:L,getFloatingProps:J,getTriggerProps:_}=(0,o.useInteractions)([j,F]),M=i.useMemo(()=>L(Y),[L,Y]),K=i.useMemo(()=>_(Y),[_,Y]),T=i.useMemo(()=>J(),[J]);A.useSyncedValues({modal:m,openMethod:G,activeTriggerProps:M,inactiveTriggerProps:K,popupProps:T,floatingRootContext:w,nested:null!=(0,l.useFloatingParentNodeId)()});let Q=i.useMemo(()=>({store:A}),[A]);return(0,E.jsx)(d.Provider,{value:Q,children:"function"==typeof t?t({payload:k}):t})}var Z=e.i(676477),G=e.i(991730),Y=e.i(383590),B=e.i(327601),N=e.i(437287),X=e.i(804012),w=e.i(397254),j=e.i(189879),F=e.i(672408),L=e.i(247857),J=e.i(559266);let _=i.forwardRef(function(e,t){let{render:n,className:r,disabled:s=!1,nativeButton:a=!0,handle:l,payload:c,openOnHover:d=!1,delay:b=300,closeDelay:m=0,id:v,...h}=e,f=g(!0),A=l?.store??f?.store;if(!A)throw Error((0,u.default)(74));let R=(0,j.useBaseUiId)(v),k=A.useState("isTriggerActive",R),x=A.useState("floatingRootContext"),I=A.useState("isOpenedByTrigger",R),V=i.useRef(null),{registerTrigger:_,isMountedByThisTrigger:M}=(0,C.useTriggerDataForwarding)(R,V,A,{payload:c,disabled:s,openOnHover:d,closeDelay:m}),K=A.useState("openChangeReason"),T=A.useState("stickIfOpen"),Q=A.useState("openMethod"),H=(0,w.useHoverReferenceInteraction)(x,{enabled:null!=x&&d&&("touch"!==Q||K!==S.REASONS.triggerPress),mouseOnly:!0,move:!1,handleClose:(0,N.safePolygon)(),restMs:b,delay:{close:m},triggerElementRef:V,isActiveTrigger:k}),z=(0,X.useClick)(x,{enabled:null!=x,stickIfOpen:T}),P=(0,o.useInteractions)([z]),D=A.useState("triggerProps",M),{getButtonProps:O,buttonRef:U}=(0,G.useButton)({disabled:s,native:a}),$=i.useMemo(()=>({open:e=>e&&K===S.REASONS.triggerPress?Y.pressableTriggerOpenStateMapping.open(e):Y.triggerOpenStateMapping.open(e)}),[K]),q=(0,B.useRenderElement)("button",e,{state:{disabled:s,open:I},ref:[U,t,_,V],props:[P.getReferenceProps(),H,D,{[y.CLICK_TRIGGER_IDENTIFIER]:"",id:R},h,O],stateAttributesMapping:$}),ee=i.useRef(null),et=(0,Z.useStableCallback)(e=>{p.flushSync(()=>{A.setOpen(!1,(0,W.createChangeEventDetails)(S.REASONS.focusOut,e.nativeEvent,e.currentTarget))});let t=(0,J.getTabbableBeforeElement)(ee.current);t?.focus()}),ei=(0,Z.useStableCallback)(e=>{let t=A.select("positionerElement");if(t&&(0,J.isOutsideEvent)(e,t))A.context.beforeContentFocusGuardRef.current?.focus();else{p.flushSync(()=>{A.setOpen(!1,(0,W.createChangeEventDetails)(S.REASONS.focusOut,e.nativeEvent,e.currentTarget))});let i=(0,J.getTabbableAfterElement)(A.context.triggerFocusTargetRef.current||V.current);for(;null!==i&&(0,L.contains)(t,i);){let e=i;if((i=(0,J.getNextTabbable)(i))===e)break}i?.focus()}});return k?(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(F.FocusGuard,{ref:ee,onFocus:et}),(0,E.jsx)(i.Fragment,{children:q},R),(0,E.jsx)(F.FocusGuard,{ref:A.context.triggerFocusTargetRef,onFocus:ei})]}):(0,E.jsx)(i.Fragment,{children:q},R)});var M=e.i(937692);let K=i.createContext(void 0),T=i.forwardRef(function(e,t){let{keepMounted:i=!1,...n}=e,{store:r}=g();return r.useState("mounted")||i?(0,E.jsx)(K.Provider,{value:i,children:(0,E.jsx)(M.FloatingPortal,{ref:t,...n})}):null});var Q=e.i(658130),H=e.i(500977);let z=i.createContext(void 0);function P(){let e=i.useContext(z);if(!e)throw Error((0,u.default)(46));return e}var D=e.i(56590),O=e.i(536893),U=e.i(177817),$=e.i(767569),q=e.i(418847);let ee=i.forwardRef(function(e,t){let{render:n,className:r,anchor:s,positionMethod:o="absolute",side:a="bottom",align:c="center",sideOffset:d=0,alignOffset:p=0,collisionBoundary:b="clipping-ancestors",collisionPadding:m=5,arrowPadding:v=5,sticky:h=!1,disableAnchorTracking:f=!1,collisionAvoidance:A=y.POPUP_COLLISION_AVOIDANCE,...R}=e,{store:k}=g(),x=function(){let e=i.useContext(K);if(void 0===e)throw Error((0,u.default)(45));return e}(),W=(0,l.useFloatingNodeId)(),C=k.useState("floatingRootContext"),I=k.useState("mounted"),V=k.useState("open"),Z=k.useState("openChangeReason"),G=k.useState("activeTriggerElement"),N=k.useState("modal"),X=k.useState("positionerElement"),w=k.useState("instantType"),j=k.useState("transitionStatus"),F=k.useState("hasViewport"),L=i.useRef(null),J=(0,U.useAnimationsFinished)(X,!1,!1),_=(0,D.useAnchorPositioning)({anchor:s,floatingRootContext:C,positionMethod:o,mounted:I,side:a,sideOffset:d,align:c,alignOffset:p,arrowPadding:v,collisionBoundary:b,collisionPadding:m,sticky:h,disableAnchorTracking:f,keepMounted:x,nodeId:W,collisionAvoidance:A,adaptiveOrigin:F?$.adaptiveOrigin:void 0}),M=i.useMemo(()=>{let e={};return V||(e.pointerEvents="none"),{role:"presentation",hidden:!I,style:{..._.positionerStyles,...e}}},[V,I,_.positionerStyles]),T=i.useMemo(()=>({props:M,..._}),[M,_]),P=C.useState("domReferenceElement");(0,H.useIsoLayoutEffect)(()=>{let e=L.current;if(P&&(L.current=P),e&&P&&P!==e){k.set("instantType",void 0);let e=new AbortController;return J(()=>{k.set("instantType","trigger-change")},e.signal),()=>{e.abort()}}},[P,J,k]);let ee={open:V,side:T.side,align:T.align,anchorHidden:T.anchorHidden,instant:w},et=i.useCallback(e=>{k.set("positionerElement",e)},[k]),ei=(0,B.useRenderElement)("div",e,{state:ee,props:[T.props,(0,q.getDisabledMountTransitionStyles)(j),R],ref:[t,et],stateAttributesMapping:Y.popupStateMapping});return(0,E.jsxs)(z.Provider,{value:T,children:[I&&!0===N&&Z!==S.REASONS.triggerHover&&(0,E.jsx)(O.InternalBackdrop,{ref:k.context.internalBackdropRef,inert:(0,Q.inertValue)(!V),cutout:G}),(0,E.jsx)(l.FloatingNode,{id:W,children:ei})]})});var et=e.i(229315),ei=e.i(488306),en=e.i(761896),er=e.i(284759),es=e.i(889269),eo=e.i(992238),ea=e.i(560752);let el=i.createContext(void 0);function ec(e){let{value:t,children:i}=e;return(0,E.jsx)(el.Provider,{value:t,children:i})}let eu={...Y.popupStateMapping,...er.transitionStatusMapping},ed=i.forwardRef(function(e,t){let{className:n,render:r,initialFocus:s,finalFocus:o,...a}=e,{store:l}=g(),c=P(),u=null!=(0,ea.useToolbarRootContext)(!0),{context:d,hasClosePart:p}=function(){let[e,t]=i.useState(0),n=(0,Z.useStableCallback)(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:i.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}(),b=l.useState("open"),m=l.useState("openMethod"),v=l.useState("instantType"),h=l.useState("transitionStatus"),f=l.useState("popupProps"),A=l.useState("titleElementId"),R=l.useState("descriptionElementId"),y=l.useState("modal"),k=l.useState("mounted"),x=l.useState("openChangeReason"),W=l.useState("activeTriggerElement"),C=l.useState("floatingRootContext");(0,es.useOpenChangeComplete)({open:b,ref:l.context.popupRef,onComplete(){b&&l.context.onOpenChangeComplete?.(!0)}});let I=l.useState("disabled"),V=l.useState("openOnHover"),G=l.useState("closeDelay");(0,en.useHoverFloatingInteraction)(C,{enabled:V&&!I,closeDelay:G});let Y=void 0===s?function(e){return"touch"!==e||l.context.popupRef.current}:s,N={open:b,side:c.side,align:c.align,instant:v,transitionStatus:h},X=i.useCallback(e=>{l.set("popupElement",e)},[l]),w=(0,B.useRenderElement)("div",e,{state:N,ref:[t,l.context.popupRef,X],props:[f,{"aria-labelledby":A,"aria-describedby":R,onKeyDown(e){u&&eo.COMPOSITE_KEYS.has(e.key)&&e.stopPropagation()}},(0,q.getDisabledMountTransitionStyles)(h),a],stateAttributesMapping:eu});return(0,E.jsx)(ei.FloatingFocusManager,{context:C,openInteractionType:m,modal:!1!==y&&p,disabled:!k||x===S.REASONS.triggerHover,initialFocus:Y,returnFocus:o,restoreFocus:"popup",previousFocusableElement:(0,et.isHTMLElement)(W)?W:void 0,nextFocusableElement:l.context.triggerFocusTargetRef,beforeContentFocusGuardRef:l.context.beforeContentFocusGuardRef,children:(0,E.jsx)(ec,{value:d,children:w})})}),eg=i.forwardRef(function(e,t){let{className:i,render:n,...r}=e,{store:s}=g(),o=s.useState("open"),{arrowRef:a,side:l,align:c,arrowUncentered:u,arrowStyles:d}=P();return(0,B.useRenderElement)("div",e,{state:{open:o,side:l,align:c,uncentered:u},ref:[t,a],props:[{style:d,"aria-hidden":!0},r],stateAttributesMapping:Y.popupStateMapping})}),ep={...Y.popupStateMapping,...er.transitionStatusMapping},eb=i.forwardRef(function(e,t){let{className:i,render:n,...r}=e,{store:s}=g(),o=s.useState("open"),a=s.useState("mounted"),l=s.useState("transitionStatus"),c=s.useState("openChangeReason");return(0,B.useRenderElement)("div",e,{state:{open:o,transitionStatus:l},ref:[s.context.backdropRef,t],props:[{role:"presentation",hidden:!a,style:{pointerEvents:c===S.REASONS.triggerHover?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},r],stateAttributesMapping:ep})}),em=i.forwardRef(function(e,t){let{render:i,className:n,...r}=e,{store:s}=g(),o=(0,j.useBaseUiId)(r.id);return(0,H.useIsoLayoutEffect)(()=>(s.set("titleElementId",o),()=>{s.set("titleElementId",void 0)}),[s,o]),(0,B.useRenderElement)("h2",e,{ref:t,props:[{id:o},r]})}),ev=i.forwardRef(function(e,t){let{render:i,className:n,...r}=e,{store:s}=g(),o=(0,j.useBaseUiId)(r.id);return(0,H.useIsoLayoutEffect)(()=>(s.set("descriptionElementId",o),()=>{s.set("descriptionElementId",void 0)}),[s,o]),(0,B.useRenderElement)("p",e,{ref:t,props:[{id:o},r]})}),eh=i.forwardRef(function(e,t){let n,{render:r,className:s,disabled:o=!1,nativeButton:a=!0,...l}=e,{buttonRef:c,getButtonProps:u}=(0,G.useButton)({disabled:o,focusableWhenDisabled:!1,native:a}),{store:d}=g();return n=i.useContext(el),(0,H.useIsoLayoutEffect)(()=>n?.register(),[n]),(0,B.useRenderElement)("button",e,{ref:[t,c],props:[{onClick(e){d.setOpen(!1,(0,W.createChangeEventDetails)(S.REASONS.closePress,e.nativeEvent,e.currentTarget))}},l,u]})}),ef=((t={}).popupWidth="--popup-width",t.popupHeight="--popup-height",t);var eS=e.i(712666);let eA={activationDirection:e=>e?{"data-activation-direction":e}:null},eR=i.forwardRef(function(e,t){let{render:i,className:n,children:r,...s}=e,{store:o}=g(),{side:a}=P(),l=o.useState("instantType"),{children:c,state:u}=(0,eS.usePopupViewport)({store:o,side:a,cssVars:ef,children:r}),d={activationDirection:u.activationDirection,transitioning:u.transitioning,instant:l};return(0,B.useRenderElement)("div",e,{state:d,ref:t,props:[s,{children:c}],stateAttributesMapping:eA})});class ey{constructor(){this.store=new x}open(e){let t=e?this.store.context.triggerElements.getById(e)??void 0:void 0;if(e&&!t)throw Error((0,u.default)(80,e));this.store.setOpen(!0,(0,W.createChangeEventDetails)(S.REASONS.imperativeAction,void 0,t))}close(){this.store.setOpen(!1,(0,W.createChangeEventDetails)(S.REASONS.imperativeAction,void 0,void 0))}get isOpen(){return this.store.state.open}}e.s(["Arrow",0,eg,"Backdrop",0,eb,"Close",0,eh,"Description",0,ev,"Handle",0,ey,"Popup",0,ed,"Portal",0,T,"Positioner",0,ee,"Root",0,function(e){return g(!0)?(0,E.jsx)(V,{props:e}):(0,E.jsx)(l.FloatingTree,{children:(0,E.jsx)(V,{props:e})})},"Title",0,em,"Trigger",0,_,"Viewport",0,eR,"createHandle",0,function(){return new ey}],307311);var ek=e.i(307311);e.s(["Popover",0,ek],506213)},981922,e=>{"use strict";var t=e.i(271645),i=e.i(891287),n=e.i(452026),r=e.i(632897),s=e.i(586108);e.s(["useCheckPermission",0,function(e,o,a){let l=(0,s.useStigmer)(),c="open"===(a?.fail??"open"),[u,d]=(0,t.useState)(c),[g,p]=(0,t.useState)(!1),[b,m]=(0,t.useState)(null),v=e?`${e.kind}:${e.id}:${o}`:null,h=(0,t.useRef)(new Map);return(0,t.useEffect)(()=>{if(!e||!v){d(c),p(!1);return}let t=h.current.get(v);if(void 0!==t){d(t),p(!1);return}let s=!1;d(c),p(!0);let a=(0,i.create)(n.CheckMyPermissionInputSchema,{resource:(0,i.create)(r.ApiResourceRefSchema,{kind:e.kind,id:e.id}),relation:o});return l.iamPolicy.checkMyPermission(a).then(e=>{if(s)return;let t=e.isAuthorized;h.current.set(v,t),d(t),m(null)}).catch(e=>{s||(d(c),m(e instanceof Error?e:Error(String(e))))}).finally(()=>{s||p(!1)}),()=>{s=!0}},[v,e?.kind,e?.id,o,c,l]),{allowed:u,isLoading:g,error:b}}])},597744,50086,940530,e=>{"use strict";var t,i,n=e.i(271645),r=e.i(170255);e.i(113024);var s=e.i(424407),o=e.i(304532),a=e.i(499328),l=e.i(693569),c=e.i(761867);let u=(0,s.fileDesc)("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL3NlcnZlcl9pbmZvLnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIhQKEkdldFNlcnZlckluZm9JbnB1dCJeChNHZXRTZXJ2ZXJJbmZvT3V0cHV0EjYKB2VkaXRpb24YASABKA4yJS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLlNlcnZlckVkaXRpb24SDwoHdmVyc2lvbhgCIAEoCSIfCh1HZXRSdW5uZXJCb290c3RyYXBDb25maWdJbnB1dCLjAgoeR2V0UnVubmVyQm9vdHN0cmFwQ29uZmlnT3V0cHV0EiEKEHRlbXBvcmFsX2FkZHJlc3MYASABKAlCB7pIBHICEAESIwoSdGVtcG9yYWxfbmFtZXNwYWNlGAIgASgJQge6SARyAhABEhsKE3J1bm5lcl9hY2Nlc3NfdG9rZW4YAyABKAkSEgoKdG9rZW5fdHlwZRgEIAEoCRIuCiZydW5uZXJfYWNjZXNzX3Rva2VuX2V4cGlyZXNfaW5fc2Vjb25kcxgFIAEoBRIeChZwYXlsb2FkX2VuY3J5cHRpb25fa2V5GAYgASgJEiEKGXBheWxvYWRfZW5jcnlwdGlvbl9rZXlfaWQYByABKAkSKAogcGF5bG9hZF9lbmNyeXB0aW9uX3NlY29uZGFyeV9rZXkYCCABKAkSKwojcGF5bG9hZF9lbmNyeXB0aW9uX3NlY29uZGFyeV9rZXlfaWQYCSABKAki3AEKGUdldFJ1bm5lclNjb3BlZFRva2VuSW5wdXQSHAoSYWdlbnRfZXhlY3V0aW9uX2lkGAEgASgJSAASHwoVd29ya2Zsb3dfZXhlY3V0aW9uX2lkGAIgASgJSAASNwoKcG9vbF9jbGFpbRgDIAEoCzIhLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuUG9vbENsYWltSAASNwoHcmVuZXdhbBgEIAEoCzIkLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuVG9rZW5SZW5ld2FsSABCDgoFc2NvcGUSBbpIAggBIigKCVBvb2xDbGFpbRIbCgpzZXNzaW9uX2lkGAEgASgJQge6SARyAhABIg4KDFRva2VuUmVuZXdhbCJpChpHZXRSdW5uZXJTY29wZWRUb2tlbk91dHB1dBIbChNydW5uZXJfc2NvcGVkX3Rva2VuGAEgASgJEhIKCnRva2VuX3R5cGUYAiABKAkSGgoSZXhwaXJlc19pbl9zZWNvbmRzGAMgASgFKlMKDVNlcnZlckVkaXRpb24SHgoac2VydmVyX2VkaXRpb25fdW5zcGVjaWZpZWQQABIHCgNvc3MQARIJCgVjbG91ZBACEg4KCmVudGVycHJpc2UQAzKhAwoXUGxhdGZvcm1RdWVyeUNvbnRyb2xsZXISbgoNZ2V0U2VydmVySW5mbxIqLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuR2V0U2VydmVySW5mb0lucHV0GisuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRTZXJ2ZXJJbmZvT3V0cHV0IgTIuBgBEo8BChhnZXRSdW5uZXJCb290c3RyYXBDb25maWcSNS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lckJvb3RzdHJhcENvbmZpZ0lucHV0GjYuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJCb290c3RyYXBDb25maWdPdXRwdXQiBNC4GAESgwEKFGdldFJ1bm5lclNjb3BlZFRva2VuEjEuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJTY29wZWRUb2tlbklucHV0GjIuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJTY29wZWRUb2tlbk91dHB1dCIE0LgYAUIRQg9TZXJ2ZXJJbmZvUHJvdG9iBnByb3RvMw",[l.file_ai_stigmer_commons_rpc_method_options,c.file_buf_validate_validate]),d=(0,o.messageDesc)(u,0);(t=i||(i={}))[t.server_edition_unspecified=0]="server_edition_unspecified",t[t.oss=1]="oss",t[t.cloud=2]="cloud",t[t.enterprise=3]="enterprise";let g=(0,a.serviceDesc)(u,0);e.s(["GetServerInfoInputSchema",0,d,"PlatformQueryController",0,g,"ServerEdition",0,i],50086);let p=new Map([[r.ApiResourceKind.api_resource_version,r.ResourceTier.cloud_only],[r.ApiResourceKind.iam_policy,r.ResourceTier.enterprise],[r.ApiResourceKind.identity_account,r.ResourceTier.open_source],[r.ApiResourceKind.api_key,r.ResourceTier.open_source],[r.ApiResourceKind.invitation,r.ResourceTier.enterprise],[r.ApiResourceKind.identity_provider,r.ResourceTier.enterprise],[r.ApiResourceKind.oauth_app,r.ResourceTier.open_source],[r.ApiResourceKind.platform_client,r.ResourceTier.cloud_only],[r.ApiResourceKind.organization,r.ResourceTier.open_source],[r.ApiResourceKind.platform,r.ResourceTier.enterprise],[r.ApiResourceKind.agent,r.ResourceTier.open_source],[r.ApiResourceKind.agent_execution,r.ResourceTier.open_source],[r.ApiResourceKind.session,r.ResourceTier.open_source],[r.ApiResourceKind.skill,r.ResourceTier.open_source],[r.ApiResourceKind.mcp_server,r.ResourceTier.open_source],[r.ApiResourceKind.agent_instance,r.ResourceTier.open_source],[r.ApiResourceKind.agent_share,r.ResourceTier.open_source],[r.ApiResourceKind.agent_channel,r.ResourceTier.open_source],[r.ApiResourceKind.channel_app,r.ResourceTier.open_source],[r.ApiResourceKind.workflow,r.ResourceTier.open_source],[r.ApiResourceKind.workflow_instance,r.ResourceTier.open_source],[r.ApiResourceKind.workflow_execution,r.ResourceTier.open_source],[r.ApiResourceKind.environment,r.ResourceTier.open_source],[r.ApiResourceKind.execution_context,r.ResourceTier.open_source],[r.ApiResourceKind.artifact,r.ResourceTier.open_source],[r.ApiResourceKind.schedule,r.ResourceTier.open_source],[r.ApiResourceKind.memory,r.ResourceTier.open_source],[r.ApiResourceKind.project,r.ResourceTier.open_source]]);function b(e,t){let i=p.get(e);if(void 0===i)throw Error(`isResourceAvailable: kind ${e} has no tier — only kinds with kind_meta can be asked about`);return function(e){switch(e){case"local":return 1;case"enterprise":return 2;case"cloud":return 3;default:throw Error(`unknown deployment mode: ${String(e)}`)}}(t)>=function(e){switch(e){case r.ResourceTier.open_source:return 1;case r.ResourceTier.enterprise:return 2;case r.ResourceTier.cloud_only:return 3;case r.ResourceTier.resource_tier_unspecified:return 1;default:throw Error(`unknown resource tier: ${String(e)}`)}}(i)}e.s(["deploymentModeOf",0,function(e){switch(e){case i.oss:return"local";case i.enterprise:return"enterprise";case i.cloud:case i.server_edition_unspecified:default:return"cloud"}},"isResourceAvailable",0,b],940530);let m=(0,n.createContext)("cloud");function v(){return(0,n.useContext)(m)}e.s(["DeploymentModeContext",0,m,"useDeploymentMode",0,v,"useResourceAvailable",0,function(e){return b(e,v())}],597744)},267872,e=>{"use strict";var t,i;e.i(113024);let n=(0,e.i(424407).fileDesc)("CixhaS9zdGlnbWVyL2lhbS9pZGVudGl0eWFjY291bnQvdjEvZW51bS5wcm90bxIhYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxKpIBCh9JZGVudGl0eUFjY291bnRQcm92aXNpb25pbmdNb2RlEjIKLmlkZW50aXR5X2FjY291bnRfcHJvdmlzaW9uaW5nX21vZGVfdW5zcGVjaWZpZWQQABIKCgZkaXJlY3QQARINCglmZWRlcmF0ZWQQAhILCgdtYWNoaW5lEAMSEwoPcGxhdGZvcm1fY2xpZW50EARiBnByb3RvMw");(i=t||(t={}))[i.identity_account_provisioning_mode_unspecified=0]="identity_account_provisioning_mode_unspecified",i[i.direct=1]="direct",i[i.federated=2]="federated",i[i.machine=3]="machine",i[i.platform_client=4]="platform_client",e.s(["file_ai_stigmer_iam_identityaccount_v1_enum",0,n])},452026,632897,626874,e=>{"use strict";var t=e.i(424407),i=e.i(304532),n=e.i(421415),r=e.i(988158),s=e.i(761867);let o=(0,t.fileDesc)("CiZhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvc3BlYy5wcm90bxIbYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxIr4BCg1JYW1Qb2xpY3lTcGVjEkYKCXByaW5jaXBhbBgBIAEoCzIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZkIGukgDyAEBEkUKCHJlc291cmNlGAIgASgLMisuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmQga6SAPIAQESHgoIcmVsYXRpb24YAyABKAlCDLpICcgBAXIEEAEYQCJkCg5BcGlSZXNvdXJjZVJlZhIbCgRraW5kGAEgASgJQg26SArIAQFyBRABGIACEhkKAmlkGAIgASgJQg26SArIAQFyBRABGIACEhoKCHJlbGF0aW9uGAMgASgJQgi6SAVyAxiAAmIGcHJvdG8z",[s.file_buf_validate_validate]),a=(0,i.messageDesc)(o,0),l=(0,i.messageDesc)(o,1);e.s(["ApiResourceRefSchema",0,l,"IamPolicySpecSchema",0,a,"file_ai_stigmer_iam_iampolicy_v1_spec",0,o],632897);let c=(0,t.fileDesc)("CiVhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvYXBpLnByb3RvEhthaS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEimQIKCUlhbVBvbGljeRItCgthcGlfdmVyc2lvbhgBIAEoCUIYukgVchMKEWlhbS5zdGlnbWVyLmFpL3YxEh4KBGtpbmQYAiABKAlCELpIDXILCglJYW1Qb2xpY3kSRQoIbWV0YWRhdGEYAyABKAsyMy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VNZXRhZGF0YRI4CgRzcGVjGAQgASgLMiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMSPAoGc3RhdHVzGAUgASgLMiwuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVN0YXR1cyJSCg9JYW1Qb2xpY3lTdGF0dXMSPwoFYXVkaXQYASABKAsyMC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdGIGcHJvdG8z",[n.file_ai_stigmer_commons_apiresource_metadata,r.file_ai_stigmer_commons_apiresource_status,o,s.file_buf_validate_validate]);e.s(["file_ai_stigmer_iam_iampolicy_v1_api",0,c],626874);var u=e.i(267872);let d=(0,t.fileDesc)("CiRhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MSLDAgoSQXBpUmVzb3VyY2VSZWZWaWV3EgwKBGtpbmQYASABKAkSCgoCaWQYAiABKAkSEAoIcmVsYXRpb24YAyABKAkSDAoEbmFtZRgEIAEoCRINCgVlbWFpbBgFIAEoCRIMCgRzbHVnGAYgASgJEg4KBmF2YXRhchgHIAEoCRJACgdtZW1iZXJzGAggAygLMi8uYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmVmlldxI+CgV0ZWFtcxgJIAMoCzIvLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZlZpZXcSRAoPaWRlbnRpdHlfb3JpZ2luGAogASgLMisuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklkZW50aXR5T3JpZ2luIo4BCg5JZGVudGl0eU9yaWdpbhJdChFwcm92aXNpb25pbmdfbW9kZRgBIAEoDjJCLmFpLnN0aWdtZXIuaWFtLmlkZW50aXR5YWNjb3VudC52MS5JZGVudGl0eUFjY291bnRQcm92aXNpb25pbmdNb2RlEh0KFXByb3ZpZGVyX2Rpc3BsYXlfbmFtZRgCIAEoCSIkCgtJYW1Qb2xpY3lJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIqcBChZQcmluY2lwYWxSZXNvdXJjZUlucHV0EkYKCXByaW5jaXBhbBgBIAEoCzIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZkIGukgDyAEBEkUKCHJlc291cmNlGAIgASgLMisuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmQga6SAPIAQEiqQEKF1Jlc291cmNlUHJpbmNpcGFsc0lucHV0EkUKCHJlc291cmNlGAEgASgLMisuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmQga6SAPIAQESRwoKcHJpbmNpcGFscxgCIAMoCzIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZkIGukgDyAEBImQKFFJldm9rZU9yZ0FjY2Vzc0lucHV0EicKE2lkZW50aXR5X2FjY291bnRfaWQYASABKAlCCrpIB8gBAXICEAESIwoPb3JnYW5pemF0aW9uX2lkGAIgASgJQgq6SAfIAQFyAhABIkoKD0lhbVBvbGljaWVzTGlzdBI3CgdlbnRyaWVzGAEgAygLMiYuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeSJ7ChdMaXN0UmVzb3VyY2VBY2Nlc3NJbnB1dBJFCghyZXNvdXJjZRgBIAEoCzIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZkIGukgDyAEBEhkKEWluY2x1ZGVfaW5oZXJpdGVkGAIgASgIIl4KHVJlc291cmNlQWNjZXNzQnlQcmluY2lwYWxMaXN0Ej0KB2VudHJpZXMYASADKAsyLC5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuUHJpbmNpcGFsQWNjZXNzIowBCg9QcmluY2lwYWxBY2Nlc3MSQgoJcHJpbmNpcGFsGAEgASgLMi8uYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmVmlldxI1CgVyb2xlcxgCIAMoCzImLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5Sb2xlR3JhbnQimwEKCVJvbGVHcmFudBIzCgRyb2xlGAEgASgLMiUuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLlJvbGVJbmZvEkMKDm93bmVyX3Jlc291cmNlGAIgASgLMisuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmEhQKDGlzX2luaGVyaXRlZBgDIAEoCCJUChhSZXNvdXJjZUFjY2Vzc0J5Um9sZUxpc3QSOAoHZW50cmllcxgBIAMoCzInLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5Sb2xlQWNjZXNzIocBCgpSb2xlQWNjZXNzEjQKBHJvbGUYASABKAsyJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuUm9sZUdyYW50EkMKCnByaW5jaXBhbHMYAiADKAsyLy5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuQXBpUmVzb3VyY2VSZWZWaWV3IkcKCFJvbGVJbmZvEgoKAmlkGAEgASgJEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCSJOChZQcmluY2lwYWxSZXNvdXJjZVJvbGVzEjQKBXJvbGVzGAEgAygLMiUuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLlJvbGVJbmZvIqYBChdDaGVja0F1dGhvcml6YXRpb25JbnB1dBJCCgZwb2xpY3kYASABKAsyKi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5U3BlY0IGukgDyAEBEkcKE2NvbnRleHR1YWxfcG9saWNpZXMYAiADKAsyKi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5U3BlYyIxChhDaGVja0F1dGhvcml6YXRpb25SZXN1bHQSFQoNaXNfYXV0aG9yaXplZBgBIAEoCCLIAQoWQ2hlY2tNeVBlcm1pc3Npb25JbnB1dBJFCghyZXNvdXJjZRgBIAEoCzIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZkIGukgDyAEBEh4KCHJlbGF0aW9uGAIgASgJQgy6SAnIAQFyBBABGEASRwoTY29udGV4dHVhbF9wb2xpY2llcxgDIAMoCzIqLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5JYW1Qb2xpY3lTcGVjIvIBCh5MaXN0QXV0aG9yaXplZFJlc291cmNlSWRzSW5wdXQSRgoJcHJpbmNpcGFsGAEgASgLMisuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkFwaVJlc291cmNlUmVmQga6SAPIAQESIQoNcmVzb3VyY2Vfa2luZBgCIAEoCUIKukgHyAEBcgIQARIcCghyZWxhdGlvbhgDIAEoCUIKukgHyAEBcgIQARJHChNjb250ZXh0dWFsX3BvbGljaWVzGAQgAygLMiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMiMQoZQXV0aG9yaXplZFJlc291cmNlSWRzTGlzdBIUCgxyZXNvdXJjZV9pZHMYASADKAki8wEKH0xpc3RBdXRob3JpemVkUHJpbmNpcGFsSWRzSW5wdXQSRQoIcmVzb3VyY2UYASABKAsyKy5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuQXBpUmVzb3VyY2VSZWZCBrpIA8gBARIiCg5wcmluY2lwYWxfa2luZBgCIAEoCUIKukgHyAEBcgIQARIcCghyZWxhdGlvbhgDIAEoCUIKukgHyAEBcgIQARJHChNjb250ZXh0dWFsX3BvbGljaWVzGAQgAygLMiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMiMwoaQXV0aG9yaXplZFByaW5jaXBhbElkc0xpc3QSFQoNcHJpbmNpcGFsX2lkcxgBIAMoCSJZChdHZXRQcmluY2lwYWxzQ291bnRJbnB1dBIaCgZvcmdfaWQYASABKAlCCrpIB8gBAXICEAESIgoOcHJpbmNpcGFsX2tpbmQYAiABKAlCCrpIB8gBAXICEAEiIAoPUHJpbmNpcGFsc0NvdW50Eg0KBWNvdW50GAEgASgFYgZwcm90bzM",[c,o,u.file_ai_stigmer_iam_identityaccount_v1_enum,s.file_buf_validate_validate]),g=(0,i.messageDesc)(d,2),p=(0,i.messageDesc)(d,5),b=(0,i.messageDesc)(d,7),m=(0,i.messageDesc)(d,17),v=(0,i.messageDesc)(d,22);e.s(["CheckMyPermissionInputSchema",0,m,"GetPrincipalsCountInputSchema",0,v,"IamPolicyIdSchema",0,g,"ListResourceAccessInputSchema",0,b,"RevokeOrgAccessInputSchema",0,p,"file_ai_stigmer_iam_iampolicy_v1_io",0,d],452026)},575407,e=>{"use strict";var t=e.i(271645),i=e.i(891287),n=e.i(725842),r=e.i(910304),s=e.i(586108),o=e.i(326283);e.s(["useSsoProvider",0,function(e){let a=(0,s.useStigmer)(),[l,c]=(0,t.useState)(null),[u,d]=(0,t.useState)(!1),[g,p]=(0,t.useState)(null);return(0,t.useEffect)(()=>{if(!e){c(null),d(!1),p(null);return}let t={current:!1};return d(!0),p(null),a.identityProvider.getSsoProvider((0,i.create)(n.OrganizationSsoLookupSchema,{org:e})).then(e=>{t.current||(c(e),d(!1))},e=>{t.current||((0,r.isNotFound)(e)?c(null):p((0,o.toError)(e)),d(!1))}),()=>{t.current=!0}},[e,a]),{ssoProvider:l,isLoading:u,error:g}}])},590150,973532,e=>{"use strict";var t=e.i(981922);e.s(["PermissionGate",0,function({resource:e,relation:i,children:n,fallback:r=null,loading:s=null}){let{allowed:o,isLoading:a}=(0,t.useCheckPermission)(e,i);return a?s:o?n:r}],590150);var i=e.i(170255),n=e.i(597744);let r={kind:"platform",id:"stigmer"};e.s(["useCanSetPublicVisibility",0,function(){let e=(0,n.useResourceAvailable)(i.ApiResourceKind.platform),{allowed:s,isLoading:o}=(0,t.useCheckPermission)(e?r:null,"can_set_public_visibility",{fail:"closed"});return e?{allowed:s,isLoading:o}:{allowed:!0,isLoading:!1}}],973532)},758960,853793,e=>{"use strict";var t=e.i(843476),i=e.i(271645),n=e.i(506213),r=e.i(893976),s=e.i(364354),o=e.i(188482),a=e.i(10337),l=e.i(966205);let c="stg:inline-flex stg:shrink-0 stg:items-center stg:gap-1 stg:rounded-full stg:bg-muted stg:px-2 stg:py-0.5 stg:text-[10px] stg:font-medium stg:text-muted-foreground",u=(0,i.forwardRef)(function({option:e,isSelected:i,role:n,isHighlighted:s,disabled:o,tabIndex:a,onSelect:l,onMouseEnter:c,onKeyDown:u},d){let b=void 0!==e.lockedReason,m="radio"===n?{"aria-checked":i}:{"aria-selected":i};return(0,t.jsxs)("button",{ref:d,type:"button",role:n,...m,"aria-disabled":b||void 0,tabIndex:a,disabled:o||b,onClick:l,onMouseEnter:c,onKeyDown:u,className:(0,r.cn)("stg:flex stg:w-full stg:items-start stg:gap-2 stg:rounded-md stg:px-2.5 stg:py-2 stg:text-left stg:transition-colors","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",b?"stg:disabled:pointer-events-none stg:cursor-default":"stg:disabled:pointer-events-none stg:disabled:opacity-50",!b&&(s?"stg:bg-accent stg:text-foreground":"stg:hover:bg-accent-hover")),children:[(0,t.jsx)(g,{tone:e.tone,className:"stg:mt-0.5 stg:size-3.5 stg:shrink-0 stg:text-muted-foreground"}),(0,t.jsxs)("span",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("span",{className:(0,r.cn)("stg:block stg:text-xs stg:font-medium",b?"stg:text-muted-foreground":"stg:text-foreground"),children:e.label}),(0,t.jsx)("span",{className:"stg:block stg:text-[0.65rem] stg:leading-snug stg:text-muted-foreground",children:b?e.lockedReason:e.description})]}),b?(0,t.jsx)(p,{className:"stg:mt-0.5 stg:size-3.5 stg:shrink-0 stg:text-muted-foreground"}):i&&(0,t.jsx)(h,{className:"stg:mt-0.5 stg:size-3.5 stg:shrink-0 stg:text-primary"})]})}),d={private:{container:"stg:border-amber-200 stg:bg-amber-50 stg:dark:border-amber-800/50 stg:dark:bg-amber-950/30",text:"stg:text-amber-800 stg:dark:text-amber-200",confirm:"stg:bg-amber-600 stg:hover:bg-amber-700 stg:dark:bg-amber-600 stg:dark:hover:bg-amber-500",cancel:"stg:text-amber-700 stg:hover:text-amber-900 stg:dark:text-amber-300 stg:dark:hover:text-amber-100"},org:{container:"stg:border-blue-200 stg:bg-blue-50 stg:dark:border-blue-800/50 stg:dark:bg-blue-950/30",text:"stg:text-blue-800 stg:dark:text-blue-200",confirm:"stg:bg-blue-600 stg:hover:bg-blue-700 stg:dark:bg-blue-600 stg:dark:hover:bg-blue-500",cancel:"stg:text-blue-700 stg:hover:text-blue-900 stg:dark:text-blue-300 stg:dark:hover:text-blue-100"},platform:{container:"stg:border-violet-200 stg:bg-violet-50 stg:dark:border-violet-800/50 stg:dark:bg-violet-950/30",text:"stg:text-violet-800 stg:dark:text-violet-200",confirm:"stg:bg-violet-600 stg:hover:bg-violet-700 stg:dark:bg-violet-600 stg:dark:hover:bg-violet-500",cancel:"stg:text-violet-700 stg:hover:text-violet-900 stg:dark:text-violet-300 stg:dark:hover:text-violet-100"},public:{container:"stg:border-emerald-200 stg:bg-emerald-50 stg:dark:border-emerald-800/50 stg:dark:bg-emerald-950/30",text:"stg:text-emerald-800 stg:dark:text-emerald-200",confirm:"stg:bg-emerald-600 stg:hover:bg-emerald-700 stg:dark:bg-emerald-600 stg:dark:hover:bg-emerald-500",cancel:"stg:text-emerald-700 stg:hover:text-emerald-900 stg:dark:text-emerald-300 stg:dark:hover:text-emerald-100"}};function g({tone:e,className:i}){switch(e){case"org":return(0,t.jsx)(b,{className:i});case"platform":return(0,t.jsx)(m,{className:i});case"public":return(0,t.jsx)(v,{className:i});default:return(0,t.jsx)(p,{className:i})}}function p({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"3.5",y:"7",width:"9",height:"7",rx:"1.5"}),(0,t.jsx)("path",{d:"M5.5 7V5a2.5 2.5 0 0 1 5 0v2"})]})}function b({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"6",cy:"5",r:"2.5"}),(0,t.jsx)("path",{d:"M2 13c0-2.21 1.79-4 4-4s4 1.79 4 4"}),(0,t.jsx)("circle",{cx:"11.5",cy:"5.5",r:"2"}),(0,t.jsx)("path",{d:"M14 13c0-1.66-1.12-3-2.5-3-.5 0-1 .14-1.4.4"})]})}function m({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M2 14V4.5L6.5 2v12"}),(0,t.jsx)("path",{d:"M6.5 6.5 14 8.5V14"}),(0,t.jsx)("path",{d:"M2 14h12"}),(0,t.jsx)("path",{d:"M4.25 6h.01M4.25 8.5h.01M4.25 11h.01M10.5 10.5h.01M10.5 12.5h.01"})]})}function v({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"8",cy:"8",r:"6"}),(0,t.jsx)("path",{d:"M2 8h12"}),(0,t.jsx)("path",{d:"M8 2c1.66 1.46 2.6 3.63 2.6 6s-.94 4.54-2.6 6c-1.66-1.46-2.6-3.63-2.6-6s.94-4.54 2.6-6Z"})]})}function h({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 8.5 6.5 12 13 4.5"})})}var f=e.i(302933);let S={value:f.ApiResourceVisibility.visibility_private,label:"Private",description:"Only you can access",tone:"private"},A={value:f.ApiResourceVisibility.visibility_org,label:"Organization",description:"All members of your organization",confirmPrompt:"Make visible to all org members?",tone:"org"},R={value:f.ApiResourceVisibility.visibility_platform,label:"Platform",description:"All organizations managed by your platform",confirmDialog:{title:"Share with your whole platform?",description:"Every organization managed by your platform will be able to view and use this resource. You can return it to a narrower visibility at any time."},tone:"platform"},y={value:f.ApiResourceVisibility.visibility_public,label:"Public",description:"Anyone on Stigmer",confirmDialog:{title:"Make this public?",description:"Anyone signed in to Stigmer will be able to view and use this resource. You can return it to a narrower visibility at any time."},tone:"public"};function k(e){return e?y:{...y,lockedReason:"Public listing is granted by the platform team — contact us to publish this resource."}}function x(e){switch(e){case f.ApiResourceVisibility.visibility_org:return A;case f.ApiResourceVisibility.visibility_platform:return R;case f.ApiResourceVisibility.visibility_public:return y;default:return S}}function W(){return(0,t.jsx)("svg",{className:"stg:size-2.5 stg:shrink-0 stg:text-muted-foreground",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 4.5 6 7.5 9 4.5"})})}e.s(["blueprintVisibilityLevels",0,function(e){let t=k(e.canSetPublicVisibility);return"local"===e.deploymentMode?[S,t]:e.hasIdentityProvider?[S,A,R,t]:[S,A,t]},"environmentVisibilityLevels",0,function(e){return"local"===e?[S]:[{...S,description:"Only you can view and use these credentials"},{...A,description:"Agents run in your org — including shared-agent visitors — can use these credentials. Members see names only; secret values stay hidden.",confirmPrompt:"Let agents run in your org use these credentials?"}]},"instanceVisibilityLevels",0,function(e){return[S,{...A,description:"All org members can view executions"},{...k(e.canSetPublicVisibility),description:"All authenticated users can view"}]},"visibilityOption",0,x],853793),e.s(["VisibilityBadge",0,function({visibility:e,className:i,onClick:n}){let s=x(e),a=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g,{tone:s.tone,className:"stg:size-2.5"}),s.label]});return n?(0,t.jsxs)(o.Tooltip,{children:[(0,t.jsx)(o.TooltipTrigger,{render:(0,t.jsx)("button",{type:"button",onClick:n,"aria-label":`${s.label} visibility — manage access`,className:(0,r.cn)(c,"stg:transition-colors stg:hover:bg-accent-hover stg:hover:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",i)}),children:a}),(0,t.jsx)(o.TooltipContent,{side:"top",children:"Manage access"})]}):(0,t.jsx)("span",{className:(0,r.cn)(c,i),children:a})},"VisibilitySelector",0,function({visibility:e,options:o,onVisibilityChange:p,mode:b="manage",isPending:m=!1,disabled:v=!1,ariaLabel:h="Resource visibility",className:f}){let S=(0,s.useStigmerPortalContainer)(),{confirmState:A,confirm:R,handleConfirm:y,handleCancel:k}=(0,l.useConfirmAction)(),[C,I]=(0,i.useState)(!1),[E,V]=(0,i.useState)(null),[Z,G]=(0,i.useState)(-1),Y=(0,i.useRef)([]),B=v||m,N=(0,i.useMemo)(()=>o.some(t=>t.value===e)?o:[...o,x(e)],[o,e]),X=(0,i.useCallback)(t=>{let i=N.map(e=>e.value);return i.indexOf(t)>i.indexOf(e)},[N,e]),w=(0,i.useCallback)(e=>{I(!1),V(null),p(e)},[p]),j=(0,i.useCallback)(t=>{if(void 0!==t.lockedReason)return;let i=t.value;if(i===e){V(null),I(!1);return}if("create"===b||!X(i))return void w(i);if(t.confirmDialog){I(!1),V(null),R({title:t.confirmDialog.title,description:t.confirmDialog.description,confirmLabel:`Make ${t.label}`,variant:"default"}).then(e=>{e&&p(i)});return}t.confirmPrompt?V(i):w(i)},[e,b,X,w,R,p]),F=(0,i.useCallback)((e,t)=>{let i=N.length,n=e;for(let e=0;e<i&&(n=(n+t+i)%i,N[n]?.lockedReason!==void 0);e++);G(n),Y.current[n]?.focus()},[N]),L=(0,i.useCallback)((e,t)=>{switch(e.key){case"ArrowDown":case"ArrowRight":e.preventDefault(),F(t,1);break;case"ArrowUp":case"ArrowLeft":e.preventDefault(),F(t,-1);break;case"Home":e.preventDefault(),G(0),Y.current[0]?.focus();break;case"End":{e.preventDefault();let t=N.length-1;G(t),Y.current[t]?.focus()}}},[F,N.length]);(0,i.useEffect)(()=>{if(!C){V(null),G(-1);return}let t=N.findIndex(t=>t.value===e),i=t>=0?t:0;G(i);let n=requestAnimationFrame(()=>Y.current[i]?.focus());return()=>cancelAnimationFrame(n)},[C,N,e]);let J=(0,t.jsx)(a.ConfirmDialog,{state:A,onConfirm:y,onCancel:k}),_=i=>N.map((n,r)=>(0,t.jsx)(u,{ref:e=>{Y.current[r]=e},option:n,role:i,isSelected:e===n.value,isHighlighted:"option"===i&&Z===r,tabIndex:"radio"===i?e===n.value?0:-1:Z===r?0:-1,disabled:B,onSelect:()=>j(n),onMouseEnter:"option"===i?()=>G(r):void 0,onKeyDown:e=>L(e,r)},n.value));if("create"===b)return(0,t.jsx)("div",{role:"radiogroup","aria-label":h,"aria-disabled":B||void 0,className:(0,r.cn)("stg:flex stg:flex-col stg:gap-0.5 stg:rounded-md stg:border stg:border-border stg:p-1",B&&"stg:pointer-events-none stg:opacity-50",f),children:_("radio")});let M=x(e),K=null!==E?N.find(e=>e.value===E):void 0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.Popover.Root,{open:C,onOpenChange:I,children:[(0,t.jsxs)(n.Popover.Trigger,{disabled:B,"aria-label":`${h}: ${M.label}`,className:(0,r.cn)(c,"stg:transition-colors stg:hover:bg-accent-hover stg:hover:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50",f),children:[m?(0,t.jsx)("span",{className:"stg:inline-block stg:size-2.5 stg:animate-spin stg:rounded-full stg:border-2 stg:border-current stg:border-t-transparent","aria-hidden":"true"}):(0,t.jsx)(g,{tone:M.tone,className:"stg:size-2.5"}),M.label,(0,t.jsx)(W,{})]}),(0,t.jsx)(n.Popover.Portal,{container:S,children:(0,t.jsx)(n.Popover.Positioner,{sideOffset:4,align:"start",children:(0,t.jsxs)(n.Popover.Popup,{role:"listbox","aria-label":h,className:(0,r.cn)("stg:z-popover stg:w-72 stg:rounded-lg stg:border stg:border-border stg:bg-popover stg:p-1 stg:shadow-md","stg:text-popover-foreground stg:animate-in stg:fade-in-0 stg:zoom-in-95"),children:[_("option"),K?.confirmPrompt&&(0,t.jsxs)("div",{role:"alert",className:(0,r.cn)("stg:mt-1 stg:flex stg:items-center stg:gap-2 stg:rounded-md stg:border stg:px-2.5 stg:py-1.5",d[K.tone].container),children:[(0,t.jsx)("span",{className:(0,r.cn)("stg:flex-1 stg:text-[0.65rem] stg:leading-snug",d[K.tone].text),children:K.confirmPrompt}),(0,t.jsx)("button",{type:"button",onClick:()=>V(null),className:(0,r.cn)("stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",d[K.tone].cancel),children:"Cancel"}),(0,t.jsx)("button",{type:"button",onClick:()=>w(K.value),className:(0,r.cn)("stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium stg:text-white","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",d[K.tone].confirm),children:"Confirm"})]})]})})})]}),J]})}],758960)},388023,e=>{"use strict";var t=e.i(843476),i=e.i(271645),n=e.i(302933),r=e.i(597744),s=e.i(590150),o=e.i(575407),a=e.i(973532),l=e.i(758960),c=e.i(853793),u=e.i(891287),d=e.i(459153),g=e.i(586108),p=e.i(326283);let b={agent:"agent",workflow:"workflow",skill:"skill",mcpServer:"mcp_server",agentInstance:"agent_instance",workflowInstance:"workflow_instance",environment:"environment"},m=new Set(["agentInstance","workflowInstance"]);e.s(["ResourceVisibilityControl",0,function({kind:e,resourceId:v,visibility:h,org:f,onChanged:S,className:A}){let{updateVisibility:R,isPending:y}=function(e,t){let n=(0,g.useStigmer)(),[r,s]=(0,i.useState)(!1),[o,a]=(0,i.useState)(null);return{updateVisibility:(0,i.useCallback)(async i=>{if(t){s(!0),a(null);try{let r=(0,u.create)(d.UpdateVisibilityInputSchema,{resourceId:t,visibility:i});switch(e){case"skill":await n.skill.updateVisibility(r);break;case"agent":await n.agent.updateVisibility(r);break;case"mcpServer":await n.mcpServer.updateVisibility(r);break;case"workflow":await n.workflow.updateVisibility(r);break;case"agentInstance":await n.agentInstance.updateVisibility(r);break;case"workflowInstance":await n.workflowInstance.updateVisibility(r);break;case"environment":await n.environment.updateVisibility(r)}}catch(e){throw a((0,p.toError)(e)),e}finally{s(!1)}}},[e,t,n]),isPending:r,error:o}}(e,v),k=(0,r.useDeploymentMode)(),x=(0,a.useCanSetPublicVisibility)(),W=m.has(e),C="environment"===e,I=W||C||"local"===k?null:f??null,{ssoProvider:E}=(0,o.useSsoProvider)(I),V=C?(0,c.environmentVisibilityLevels)(k):W?(0,c.instanceVisibilityLevels)({canSetPublicVisibility:x.allowed}):(0,c.blueprintVisibilityLevels)({deploymentMode:k,hasIdentityProvider:null!==E,canSetPublicVisibility:x.allowed}),Z=(0,i.useCallback)(async e=>{try{await R(e),S?.()}catch{}},[R,S]),G=(0,t.jsx)(l.VisibilityBadge,{visibility:h,className:A});if(V.length<2)return G;let Y=(0,t.jsx)(l.VisibilitySelector,{visibility:h,options:V,onVisibilityChange:Z,isPending:y,ariaLabel:W?"Instance visibility":"Resource visibility",className:A});return x.allowed&&h===n.ApiResourceVisibility.visibility_public?Y:(0,t.jsx)(s.PermissionGate,{resource:{kind:b[e],id:v},relation:"can_edit",fallback:G,loading:G,children:Y})}],388023)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78946,e=>{"use strict";var t=e.i(910304),r=e.i(292558),i=e.i(891287),a=e.i(338300),n=e.i(621559),c=e.i(71268),o=e.i(534125),s=e.i(425285),l=e.i(973955),u=e.i(170255),d=e.i(459153),p=e.i(421415),m=e.i(85849),g=e.i(798525),h=e.i(301218);function v(e){return Object.assign((0,i.create)(l.ToolApprovalPolicySchema),(0,r.stripUndefined)({toolName:e.toolName,message:e.message,fromDestructiveHint:e.fromDestructiveHint}))}function b(e){var t,a,o;let s,u;e.env&&(s=Object.fromEntries(Object.entries(e.env).map(([e,t])=>[e,Object.assign((0,i.create)(n.EnvVarDeclarationSchema),(0,r.stripUndefined)({isSecret:t.isSecret,description:t.description,optional:t.optional}))])));let m=e.pinnedToolApprovals?.map(v),g=e.auth?(t=e.auth,u=(0,i.create)(l.McpServerAuthSchema),(t.oauthAppRef?.slug||t.oauthAppRef?.org)&&(u.oauthAppRef=(0,i.create)(d.ApiResourceReferenceSchema,{...t.oauthAppRef,kind:22})),void 0!==t.targetEnvVar&&(u.targetEnvVar=t.targetEnvVar),void 0!==t.tokenLifetimeHint&&(u.tokenLifetimeHint=t.tokenLifetimeHint),t.scopeHints&&(u.scopeHints=t.scopeHints),void 0!==t.discoveryUrl&&(u.discoveryUrl=t.discoveryUrl),void 0!==t.oauthOnly&&(u.oauthOnly=t.oauthOnly),u):void 0,h=Object.assign((0,i.create)(l.McpServerSpecSchema),(0,r.stripUndefined)({description:e.description,iconUrl:e.iconUrl,tags:e.tags,defaultEnabledTools:e.defaultEnabledTools,env:s,pinnedToolApprovals:m,repositoryUrl:e.repositoryUrl,githubStars:e.githubStars,auth:g}));return e.stdio?h.serverType={case:"stdio",value:(a=e.stdio,Object.assign((0,i.create)(l.StdioServerConfigSchema),(0,r.stripUndefined)({command:a.command,args:a.args,workingDir:a.workingDir})))}:e.http&&(h.serverType={case:"http",value:(o=e.http,Object.assign((0,i.create)(l.HttpServerConfigSchema),(0,r.stripUndefined)({url:o.url,headers:o.headers,queryParams:o.queryParams,timeoutSeconds:o.timeoutSeconds})))}),Object.assign((0,i.create)(c.McpServerSchema),{apiVersion:"agentic.stigmer.ai/v1",kind:"McpServer",metadata:Object.assign((0,i.create)(p.ApiResourceMetadataSchema),{...e.id&&{id:e.id},name:e.name,org:e.org,...e.slug&&{slug:e.slug},...e.labels&&{labels:e.labels},...e.visibility&&{visibility:e.visibility}}),spec:h})}function f(e){return{toolName:e.toolName||void 0,message:e.message||void 0,fromDestructiveHint:e.fromDestructiveHint||void 0}}e.s(["McpServerClient",0,class{command;query;search;constructor(e){this.command=(0,a.createClient)(o.McpServerCommandController,e),this.query=(0,a.createClient)(s.McpServerQueryController,e),this.search=(0,a.createClient)(h.SearchService,e)}async apply(e){try{return await this.command.apply(b(e))}catch(e){throw(0,t.wrapError)(e)}}async create(e){try{return await this.command.create(b(e))}catch(e){throw(0,t.wrapError)(e)}}async update(e){try{return await this.command.update(b(e))}catch(e){throw(0,t.wrapError)(e)}}async delete(e){try{return await this.command.delete((0,i.create)(d.ApiResourceDeleteInputSchema,{resourceId:e.resourceId,versionMessage:e.versionMessage,force:e.force}))}catch(e){throw(0,t.wrapError)(e)}}async updateVisibility(e){try{return await this.command.updateVisibility(e)}catch(e){throw(0,t.wrapError)(e)}}async connect(e){try{return await this.command.connect(e)}catch(e){throw(0,t.wrapError)(e)}}async startConnect(e){try{return await this.command.startConnect(e)}catch(e){throw(0,t.wrapError)(e)}}async initiateOAuthConnect(e){try{return await this.command.initiateOAuthConnect(e)}catch(e){throw(0,t.wrapError)(e)}}async completeOAuthConnect(e){try{return await this.command.completeOAuthConnect(e)}catch(e){throw(0,t.wrapError)(e)}}async disconnectOAuth(e){try{return await this.command.disconnectOAuth(e)}catch(e){throw(0,t.wrapError)(e)}}async setOrgOAuthApp(e){try{return await this.command.setOrgOAuthApp(e)}catch(e){throw(0,t.wrapError)(e)}}async deleteOrgOAuthApp(e){try{return await this.command.deleteOrgOAuthApp(e)}catch(e){throw(0,t.wrapError)(e)}}async get(e){try{return await this.query.get((0,i.create)(d.ApiResourceIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async getByReference(e){try{return await this.query.getByReference((0,i.create)(d.ApiResourceReferenceSchema,{...e,kind:u.ApiResourceKind.mcp_server}))}catch(e){throw(0,t.wrapError)(e)}}async getOAuthGrantStatus(e){try{return await this.query.getOAuthGrantStatus(e)}catch(e){throw(0,t.wrapError)(e)}}async getOrgOAuthApp(e){try{return await this.query.getOrgOAuthApp(e)}catch(e){throw(0,t.wrapError)(e)}}async list(e){try{let t=await this.search.search((0,i.create)(g.SearchRequestSchema,{kinds:[u.ApiResourceKind.mcp_server],query:e.query,org:e.org,excludePublic:e.excludePublic??!1,crossOrgPublic:e.crossOrgPublic??!1,page:e.page?(0,i.create)(m.PageInfoSchema,e.page):void 0}));return{entries:t.entries,totalCount:t.totalCount,totalPages:t.totalPages}}catch(e){throw(0,t.wrapError)(e)}}},"buildMcpServerProto",0,b,"toMcpServerUpdateInput",0,function(e){var t,a,n;let c=e.metadata,o=e.spec??(0,i.create)(l.McpServerSpecSchema);return{id:c?.id||void 0,name:c?.name??"",slug:c?.slug||void 0,org:c?.org??"",labels:c?.labels&&Object.keys(c.labels).length>0?{...c.labels}:void 0,visibility:c?.visibility||void 0,description:o.description||void 0,iconUrl:o.iconUrl||void 0,tags:o.tags?.length?[...o.tags]:void 0,stdio:o.serverType?.case==="stdio"?{command:(t=o.serverType.value).command??"",args:t.args?.length?[...t.args]:void 0,workingDir:t.workingDir||void 0}:void 0,http:o.serverType?.case==="http"?{url:(a=o.serverType.value).url??"",headers:Object.keys(a.headers??{}).length>0?{...a.headers}:void 0,queryParams:Object.keys(a.queryParams??{}).length>0?{...a.queryParams}:void 0,timeoutSeconds:a.timeoutSeconds||void 0}:void 0,defaultEnabledTools:o.defaultEnabledTools?.length?[...o.defaultEnabledTools]:void 0,env:Object.keys(o.env??{}).length>0?Object.fromEntries(Object.entries(o.env).map(([e,t])=>[e,{isSecret:t.isSecret||void 0,description:t.description||void 0,optional:t.optional||void 0}])):void 0,pinnedToolApprovals:o.pinnedToolApprovals?.length?o.pinnedToolApprovals.map(f):void 0,repositoryUrl:o.repositoryUrl||void 0,githubStars:o.githubStars||void 0,auth:o.auth?(n=o.auth,{oauthAppRef:(0,r.toResourceRefInput)(n.oauthAppRef),targetEnvVar:n.targetEnvVar||void 0,tokenLifetimeHint:n.tokenLifetimeHint||void 0,scopeHints:n.scopeHints?.length?[...n.scopeHints]:void 0,discoveryUrl:n.discoveryUrl||void 0,oauthOnly:n.oauthOnly||void 0}):void 0}}])},414385,e=>{"use strict";var t=e.i(274217),r=e.i(265209),i=e.i(57897),a=e.i(971811),n=e.i(95560),c=e.i(577755),o=e.i(647767),s=e.i(606322);let l={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function u(e,t,r){return d((0,i.reflect)(e,t),r?Object.assign(Object.assign({},l),r):l)}function d(e,t){var c,s;let l=function e(t,c){if(t.desc.typeName.startsWith("google.protobuf."))switch(t.desc.typeName){case"google.protobuf.Any":return function(t,r){let c,o;if(""===t.typeUrl)return{};let{registry:s}=r;if(s&&(c=(0,a.anyUnpack)(t,s))&&(o=s.getMessage(c.$typeName)),!o||!c)throw Error(`cannot encode message ${t.$typeName} to JSON: "${t.typeUrl}" is not in the type registry`);let l=(0,i.reflect)(o,c),u=(0,n.hasCustomJsonRepresentation)(o)?{value:e(l,r)}:d(l,r);return u["@type"]=t.typeUrl,u}(t.message,c);case"google.protobuf.Timestamp":return function(e){let t=1e3*Number(e.seconds);if(t<Date.parse("0001-01-01T00:00:00Z")||t>Date.parse("9999-12-31T23:59:59Z"))throw Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);if(e.nanos>0x3b9ac9ff)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be greater than 99999999`);let r="Z";if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);r="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(t).toISOString().replace(".000Z",r)}(t.message);case"google.protobuf.Duration":return function(e){let t=Number(e.seconds),r=e.nanos;if(t>315576e6||t<-315576e6)throw Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);if(t>0&&r<0||t<0&&r>0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos sign must match seconds sign`);let i=e.seconds.toString();if(0!==r){let e=Math.abs(r).toString();"000000"===(e="0".repeat(9-e.length)+e).substring(3)?e=e.substring(0,3):"000"===e.substring(6)&&(e=e.substring(0,6)),i+="."+e,r<0&&0==t&&(i="-"+i)}return i+"s"}(t.message);case"google.protobuf.FieldMask":var o;return(o=t.message).paths.map(e=>{if((0,r.protoSnakeCase)((0,r.protoCamelCase)(e))!==e)throw Error(`cannot encode message ${o.$typeName} to JSON: lowerCamelCase of path name "${e}" is irreversible`);return(0,r.protoCamelCase)(e)}).join(",");case"google.protobuf.Struct":return h(t.message);case"google.protobuf.Value":return v(t.message);case"google.protobuf.ListValue":return b(t.message);default:if((0,n.isWrapperDesc)(t.desc)){let e=t.desc.fields[0];return g(e,t.get(e))}return}}(e,t);if(void 0!==l)return l;let u={};for(let r of e.sortedFields){if(!e.isSet(r)){if(3==r.presence)throw Error(`cannot encode ${r} to JSON: required field not set`);if(!t.alwaysEmitImplicit||2!==r.presence)continue}let i=p(r,e.get(r),t);void 0!==i&&(u[s=r,t.useProtoFieldName?s.name:s.jsonName]=i)}if(t.registry){let r=new Set;for(let{no:i}of null!=(c=e.getUnknown())?c:[])if(!r.has(i)){r.add(i);let a=t.registry.getExtensionFor(e.desc,i);if(!a)continue;let n=(0,o.getExtension)(e.message,a),[c,s]=(0,o.createExtensionContainer)(a,n),l=p(s,c.get(s),t);void 0!==l&&(u[a.jsonName]=l)}}return u}function p(e,t,r){switch(e.fieldKind){case"scalar":return g(e,t);case"message":return d(t,r);case"enum":return m(e.enum,t,r.enumAsInteger);case"list":var i=t,a=r;let n=i.field(),c=[];switch(n.listKind){case"scalar":for(let e of i)c.push(g(n,e));break;case"enum":for(let e of i)c.push(m(n.enum,e,a.enumAsInteger));break;case"message":for(let e of i)c.push(d(e,a))}return a.alwaysEmitImplicit||c.length>0?c:void 0;case"map":var o=t,s=r;let l=o.field(),u={};switch(l.mapKind){case"scalar":for(let[e,t]of o)u[e]=g(l,t);break;case"message":for(let[e,t]of o)u[e]=d(t,s);break;case"enum":for(let[e,t]of o)u[e]=m(l.enum,t,s.enumAsInteger)}return s.alwaysEmitImplicit||o.size>0?u:void 0}}function m(e,t,r){var i;if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: expected number, got ${(0,s.formatVal)(t)}`);if("google.protobuf.NullValue"==e.typeName)return null;if(r)return t;let a=e.value[t];return null!=(i=null==a?void 0:a.name)?i:t}function g(e,r){var i,a,n,o,l,u;switch(e.scalar){case t.ScalarType.INT32:case t.ScalarType.SFIXED32:case t.ScalarType.SINT32:case t.ScalarType.FIXED32:case t.ScalarType.UINT32:if("number"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(i=(0,s.checkField)(e,r))?void 0:i.message}`);return r;case t.ScalarType.FLOAT:case t.ScalarType.DOUBLE:if("number"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(a=(0,s.checkField)(e,r))?void 0:a.message}`);if(Number.isNaN(r))return"NaN";if(r===1/0)return"Infinity";if(r===-1/0)return"-Infinity";return r;case t.ScalarType.STRING:if("string"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(n=(0,s.checkField)(e,r))?void 0:n.message}`);return r;case t.ScalarType.BOOL:if("boolean"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(o=(0,s.checkField)(e,r))?void 0:o.message}`);return r;case t.ScalarType.UINT64:case t.ScalarType.FIXED64:case t.ScalarType.INT64:case t.ScalarType.SFIXED64:case t.ScalarType.SINT64:if("bigint"==typeof r||"string"==typeof r||"number"==typeof r&&Number.isInteger(r))return r.toString();throw Error(`cannot encode ${e} to JSON: ${null==(l=(0,s.checkField)(e,r))?void 0:l.message}`);case t.ScalarType.BYTES:if(r instanceof Uint8Array)return(0,c.base64Encode)(r);throw Error(`cannot encode ${e} to JSON: ${null==(u=(0,s.checkField)(e,r))?void 0:u.message}`)}}function h(e){let t={};for(let[r,i]of Object.entries(e.fields))t[r]=v(i);return t}function v(e){switch(e.kind.case){case"nullValue":return null;case"numberValue":if(!Number.isFinite(e.kind.value))throw Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case"boolValue":case"stringValue":return e.kind.value;case"structValue":return h(e.kind.value);case"listValue":return b(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function b(e){return e.values.map(v)}e.s(["toJson",0,u,"toJsonString",0,function(e,t,r){var i;return JSON.stringify(u(e,t,r),null,null!=(i=null==r?void 0:r.prettySpaces)?i:0)}])},798525,301218,e=>{"use strict";var t=e.i(424407),r=e.i(304532),i=e.i(170255),a=e.i(302933),n=e.i(85849),c=e.i(761867),o=e.i(732303);let s=(0,t.fileDesc)("Ch1haS9zdGlnbWVyL3NlYXJjaC92MS9pby5wcm90bxIUYWkuc3RpZ21lci5zZWFyY2gudjEilQIKDVNlYXJjaFJlcXVlc3QSXQoFa2luZHMYASADKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZEINukgKkgEHIgWCAQIQARIXCgVxdWVyeRgCIAEoCUIIukgFcgMY9AMSKgoDb3JnGAMgASgJQh26SBpyGBg/MhReJHxeW2Etel1bYS16MC05LV0qJBIWCg5leGNsdWRlX3B1YmxpYxgEIAEoCBIuCgRwYWdlGAUgASgLMiAuYWkuc3RpZ21lci5jb21tb25zLnJwYy5QYWdlSW5mbxIYChBjcm9zc19vcmdfcHVibGljGAYgASgIIvQBCg5TZWFyY2hSZXNwb25zZRIzCgdlbnRyaWVzGAEgAygLMiIuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzdWx0Ek4KDmNvdW50c19ieV9raW5kGAIgAygLMjYuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzcG9uc2UuQ291bnRzQnlLaW5kRW50cnkSEwoLdG90YWxfY291bnQYAyABKAUSEwoLdG90YWxfcGFnZXMYBCABKAUaMwoRQ291bnRzQnlLaW5kRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgFOgI4ASKZAwoMU2VhcmNoUmVzdWx0Ek0KBGtpbmQYASABKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZBIKCgJpZBgCIAEoCRIMCgRuYW1lGAMgASgJEgwKBHNsdWcYBCABKAkSFgoOcXVhbGlmaWVkX3NsdWcYBSABKAkSCwoDb3JnGAYgASgJEhMKC2Rlc2NyaXB0aW9uGAcgASgJEkkKCnZpc2liaWxpdHkYCCABKA4yNS5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VWaXNpYmlsaXR5EgwKBHRhZ3MYCSADKAkSLgoKY3JlYXRlZF9hdBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgLIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDQoFc2NvcmUYDCABKAISEAoIaWNvbl91cmwYDSABKAliBnByb3RvMw",[i.file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind,a.file_ai_stigmer_commons_apiresource_enum,n.file_ai_stigmer_commons_rpc_pagination,c.file_buf_validate_validate,o.file_google_protobuf_timestamp]),l=(0,r.messageDesc)(s,0);e.s(["SearchRequestSchema",0,l,"file_ai_stigmer_search_v1_io",0,s],798525);var u=e.i(499328),d=e.i(693569);let p=(0,t.fileDesc)("CiBhaS9zdGlnbWVyL3NlYXJjaC92MS9xdWVyeS5wcm90bxIUYWkuc3RpZ21lci5zZWFyY2gudjEyagoNU2VhcmNoU2VydmljZRJZCgZzZWFyY2gSIy5haS5zdGlnbWVyLnNlYXJjaC52MS5TZWFyY2hSZXF1ZXN0GiQuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzcG9uc2UiBNC4GAFiBnByb3RvMw",[d.file_ai_stigmer_commons_rpc_method_options,s]),m=(0,u.serviceDesc)(p,0);e.s(["SearchService",0,m],301218)},992999,e=>{"use strict";var t=e.i(910304),r=e.i(292558),i=e.i(891287),a=e.i(338300),n=e.i(243176),c=e.i(779805),o=e.i(57674),s=e.i(538634),l=e.i(711961),u=e.i(621559),d=e.i(170255),p=e.i(459153),m=e.i(421415),g=e.i(85849),h=e.i(798525),v=e.i(301218);function b(e){return Object.assign((0,i.create)(l.ToolApprovalOverrideSchema),(0,r.stripUndefined)({toolName:e.toolName,requiresApproval:e.requiresApproval,message:e.message}))}function f(e){let t=(0,i.create)(l.McpServerUsageSchema);return(e.mcpServerRef?.slug||e.mcpServerRef?.org)&&(t.mcpServerRef=(0,i.create)(p.ApiResourceReferenceSchema,{...e.mcpServerRef,kind:44})),e.enabledTools&&(t.enabledTools=e.enabledTools),e.toolApprovalOverrides&&(t.toolApprovalOverrides=e.toolApprovalOverrides.map(b)),t}function y(e){return Object.assign((0,i.create)(l.McpAccessSchema),(0,r.stripUndefined)({mcpServer:e.mcpServer,enabledTools:e.enabledTools}))}function A(e){let t=(0,i.create)(l.SubAgentSchema);return void 0!==e.name&&(t.name=e.name),void 0!==e.description&&(t.description=e.description),void 0!==e.instructions&&(t.instructions=e.instructions),e.mcpAccess&&(t.mcpAccess=e.mcpAccess.map(y)),e.skillRefs&&(t.skillRefs=e.skillRefs.map(e=>(0,i.create)(p.ApiResourceReferenceSchema,{...e,kind:43}))),void 0!==e.modelOverride&&(t.modelOverride=e.modelOverride),t}function S(e){let t,a=e.mcpServerUsages?.map(f),c=e.skillRefs?.map(e=>(0,i.create)(p.ApiResourceReferenceSchema,{...e,kind:43})),o=e.subAgents?.map(A);return e.env&&(t=Object.fromEntries(Object.entries(e.env).map(([e,t])=>[e,Object.assign((0,i.create)(u.EnvVarDeclarationSchema),(0,r.stripUndefined)({isSecret:t.isSecret,description:t.description,optional:t.optional}))]))),Object.assign((0,i.create)(n.AgentSchema),{apiVersion:"agentic.stigmer.ai/v1",kind:"Agent",metadata:Object.assign((0,i.create)(m.ApiResourceMetadataSchema),{...e.id&&{id:e.id},name:e.name,org:e.org,...e.slug&&{slug:e.slug},...e.labels&&{labels:e.labels},...e.visibility&&{visibility:e.visibility}}),spec:Object.assign((0,i.create)(l.AgentSpecSchema),(0,r.stripUndefined)({description:e.description,iconUrl:e.iconUrl,instructions:e.instructions,mcpServerUsages:a,skillRefs:c,subAgents:o,env:t}))})}function _(e){return{toolName:e.toolName||void 0,requiresApproval:e.requiresApproval||void 0,message:e.message||void 0}}function E(e){return{mcpServerRef:(0,r.toResourceRefInput)(e.mcpServerRef)??{org:"",slug:""},enabledTools:e.enabledTools?.length?[...e.enabledTools]:void 0,toolApprovalOverrides:e.toolApprovalOverrides?.length?e.toolApprovalOverrides.map(_):void 0}}function V(e){return{mcpServer:e.mcpServer??"",enabledTools:e.enabledTools?.length?[...e.enabledTools]:void 0}}function w(e){return{name:e.name??"",description:e.description||void 0,instructions:e.instructions||void 0,mcpAccess:e.mcpAccess?.length?e.mcpAccess.map(V):void 0,skillRefs:(0,r.toResourceRefInputs)(e.skillRefs),modelOverride:e.modelOverride||void 0}}e.s(["AgentClient",0,class{command;query;search;constructor(e){this.command=(0,a.createClient)(c.AgentCommandController,e),this.query=(0,a.createClient)(s.AgentQueryController,e),this.search=(0,a.createClient)(v.SearchService,e)}async apply(e){try{return await this.command.apply(S(e))}catch(e){throw(0,t.wrapError)(e)}}async create(e){try{return await this.command.create(S(e))}catch(e){throw(0,t.wrapError)(e)}}async update(e){try{return await this.command.update(S(e))}catch(e){throw(0,t.wrapError)(e)}}async updateVisibility(e){try{return await this.command.updateVisibility(e)}catch(e){throw(0,t.wrapError)(e)}}async delete(e){try{return await this.command.delete((0,i.create)(o.AgentIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async get(e){try{return await this.query.get((0,i.create)(o.AgentIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async getByReference(e){try{return await this.query.getByReference((0,i.create)(p.ApiResourceReferenceSchema,{...e,kind:d.ApiResourceKind.agent}))}catch(e){throw(0,t.wrapError)(e)}}async getDefault(e){try{return await this.query.getDefault(e)}catch(e){throw(0,t.wrapError)(e)}}async list(e){try{let t=await this.search.search((0,i.create)(h.SearchRequestSchema,{kinds:[d.ApiResourceKind.agent],query:e.query,org:e.org,excludePublic:e.excludePublic??!1,crossOrgPublic:e.crossOrgPublic??!1,page:e.page?(0,i.create)(g.PageInfoSchema,e.page):void 0}));return{entries:t.entries,totalCount:t.totalCount,totalPages:t.totalPages}}catch(e){throw(0,t.wrapError)(e)}}},"buildAgentProto",0,S,"toAgentUpdateInput",0,function(e){let t=e.metadata,a=e.spec??(0,i.create)(l.AgentSpecSchema);return{id:t?.id||void 0,name:t?.name??"",slug:t?.slug||void 0,org:t?.org??"",labels:t?.labels&&Object.keys(t.labels).length>0?{...t.labels}:void 0,visibility:t?.visibility||void 0,description:a.description||void 0,iconUrl:a.iconUrl||void 0,instructions:a.instructions||void 0,mcpServerUsages:a.mcpServerUsages?.length?a.mcpServerUsages.map(E):void 0,skillRefs:(0,r.toResourceRefInputs)(a.skillRefs),subAgents:a.subAgents?.length?a.subAgents.map(w):void 0,env:Object.keys(a.env??{}).length>0?Object.fromEntries(Object.entries(a.env).map(([e,t])=>[e,{isSecret:t.isSecret||void 0,description:t.description||void 0,optional:t.optional||void 0}])):void 0}}])},960511,e=>{"use strict";var t,r,i,a,n,c,o,s,l,u,d,p,m,g,h,v;e.i(113024);let b=(0,e.i(424407).fileDesc)("CiBhaS9zdGlnbWVyL2JpbGxpbmcvdjEvZW51bS5wcm90bxIVYWkuc3RpZ21lci5iaWxsaW5nLnYxKrYCCg9MZWRnZXJFbnRyeVR5cGUSIQodbGVkZ2VyX2VudHJ5X3R5cGVfdW5zcGVjaWZpZWQQABITCg9wdXJjaGFzZV9jcmVkaXQQARIWChJwcm9tb3Rpb25hbF9jcmVkaXQQAhIPCgt1c2FnZV9kZWJpdBADEhQKEHJlc2VydmF0aW9uX2hvbGQQBBIXChNyZXNlcnZhdGlvbl9yZWxlYXNlEAUSFQoRYWRqdXN0bWVudF9jcmVkaXQQBhIUChBhZGp1c3RtZW50X2RlYml0EAcSEwoPcmVmdW5kX3JldmVyc2FsEAgSEAoMZGlzcHV0ZV9ob2xkEAkSEwoPZGlzcHV0ZV9yZWxlYXNlEAoSEAoMZXhwaXJ5X2RlYml0EAsSGAoUYXV0b19yZWNoYXJnZV9jcmVkaXQQDCpECgpMZWRnZXJWaWV3EhsKF2xlZGdlcl92aWV3X3Vuc3BlY2lmaWVkEAASGQoVbGVkZ2VyX3ZpZXdfc3RhdGVtZW50EAEqZAoPQ3JlZGl0R3JhbnRLaW5kEiEKHWNyZWRpdF9ncmFudF9raW5kX3Vuc3BlY2lmaWVkEAASDQoJcHVyY2hhc2VkEAESDwoLcHJvbW90aW9uYWwQAhIOCgphZGp1c3RtZW50EAMqlQEKFEJpbGxpbmdBY2NvdW50U3RhdHVzEiYKImJpbGxpbmdfYWNjb3VudF9zdGF0dXNfdW5zcGVjaWZpZWQQABIaChZiaWxsaW5nX2FjY291bnRfYWN0aXZlEAESHQoZYmlsbGluZ19hY2NvdW50X3N1c3BlbmRlZBACEhoKFmJpbGxpbmdfYWNjb3VudF9jbG9zZWQQAyqeAQoRUmVzZXJ2YXRpb25TdGF0dXMSIgoecmVzZXJ2YXRpb25fc3RhdHVzX3Vuc3BlY2lmaWVkEAASFgoScmVzZXJ2YXRpb25fYWN0aXZlEAESGQoVcmVzZXJ2YXRpb25fZmluYWxpemVkEAISFwoTcmVzZXJ2YXRpb25fZXhwaXJlZBADEhkKFXJlc2VydmF0aW9uX2NhbmNlbGxlZBAEKocBChZFeGVjdXRpb25CaWxsaW5nU2lnbmFsEigKJGV4ZWN1dGlvbl9iaWxsaW5nX3NpZ25hbF91bnNwZWNpZmllZBAAEhYKEmNvbnRpbnVlX2V4ZWN1dGlvbhABEhcKE2xvd19iYWxhbmNlX3dhcm5pbmcQAhISCg5zdG9wX2V4ZWN1dGlvbhADKrMBChRDcmVkaXRQdXJjaGFzZVN0YXR1cxImCiJjcmVkaXRfcHVyY2hhc2Vfc3RhdHVzX3Vuc3BlY2lmaWVkEAASGwoXY3JlZGl0X3B1cmNoYXNlX3BlbmRpbmcQARIdChljcmVkaXRfcHVyY2hhc2VfY29tcGxldGVkEAISGgoWY3JlZGl0X3B1cmNoYXNlX2ZhaWxlZBADEhsKF2NyZWRpdF9wdXJjaGFzZV9leHBpcmVkEAQqlwEKF0F1dG9SZWNoYXJnZUV2ZW50U3RhdHVzEioKJmF1dG9fcmVjaGFyZ2VfZXZlbnRfc3RhdHVzX3Vuc3BlY2lmaWVkEAASGQoVYXV0b19yZWNoYXJnZV9wZW5kaW5nEAESGwoXYXV0b19yZWNoYXJnZV9zdWNjZWVkZWQQAhIYChRhdXRvX3JlY2hhcmdlX2ZhaWxlZBADYgZwcm90bzM");(l=t||(t={}))[l.ledger_entry_type_unspecified=0]="ledger_entry_type_unspecified",l[l.purchase_credit=1]="purchase_credit",l[l.promotional_credit=2]="promotional_credit",l[l.usage_debit=3]="usage_debit",l[l.reservation_hold=4]="reservation_hold",l[l.reservation_release=5]="reservation_release",l[l.adjustment_credit=6]="adjustment_credit",l[l.adjustment_debit=7]="adjustment_debit",l[l.refund_reversal=8]="refund_reversal",l[l.dispute_hold=9]="dispute_hold",l[l.dispute_release=10]="dispute_release",l[l.expiry_debit=11]="expiry_debit",l[l.auto_recharge_credit=12]="auto_recharge_credit",(u=r||(r={}))[u.unspecified=0]="unspecified",u[u.statement=1]="statement",(d=i||(i={}))[d.credit_grant_kind_unspecified=0]="credit_grant_kind_unspecified",d[d.purchased=1]="purchased",d[d.promotional=2]="promotional",d[d.adjustment=3]="adjustment",(p=a||(a={}))[p.billing_account_status_unspecified=0]="billing_account_status_unspecified",p[p.billing_account_active=1]="billing_account_active",p[p.billing_account_suspended=2]="billing_account_suspended",p[p.billing_account_closed=3]="billing_account_closed",(m=n||(n={}))[m.reservation_status_unspecified=0]="reservation_status_unspecified",m[m.reservation_active=1]="reservation_active",m[m.reservation_finalized=2]="reservation_finalized",m[m.reservation_expired=3]="reservation_expired",m[m.reservation_cancelled=4]="reservation_cancelled",(g=c||(c={}))[g.execution_billing_signal_unspecified=0]="execution_billing_signal_unspecified",g[g.continue_execution=1]="continue_execution",g[g.low_balance_warning=2]="low_balance_warning",g[g.stop_execution=3]="stop_execution",(h=o||(o={}))[h.credit_purchase_status_unspecified=0]="credit_purchase_status_unspecified",h[h.credit_purchase_pending=1]="credit_purchase_pending",h[h.credit_purchase_completed=2]="credit_purchase_completed",h[h.credit_purchase_failed=3]="credit_purchase_failed",h[h.credit_purchase_expired=4]="credit_purchase_expired",(v=s||(s={}))[v.auto_recharge_event_status_unspecified=0]="auto_recharge_event_status_unspecified",v[v.auto_recharge_pending=1]="auto_recharge_pending",v[v.auto_recharge_succeeded=2]="auto_recharge_succeeded",v[v.auto_recharge_failed=3]="auto_recharge_failed",e.s(["BillingAccountStatus",0,a,"LedgerEntryType",0,t,"LedgerView",0,r,"file_ai_stigmer_billing_v1_enum",0,b])},577817,400553,707125,e=>{"use strict";var t=e.i(424407),r=e.i(304532),i=e.i(125322),a=e.i(421415),n=e.i(988158),c=e.i(761867);let o=(0,t.fileDesc)("CidhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9hcGkucHJvdG8SHWFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxIqsCCgdTZXNzaW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEhwKBGtpbmQYAiABKAlCDrpIC3IJCgdTZXNzaW9uEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI4CgRzcGVjGAQgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvblNwZWMSRgoGc3RhdHVzGAUgASgLMjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRTdGF0dXNiBnByb3RvMw",[i.file_ai_stigmer_agentic_session_v1_spec,a.file_ai_stigmer_commons_apiresource_metadata,n.file_ai_stigmer_commons_apiresource_status,c.file_buf_validate_validate]),s=(0,r.messageDesc)(o,0);e.s(["SessionSchema",0,s,"file_ai_stigmer_agentic_session_v1_api",0,o],400553);let l=(0,t.fileDesc)("CiZhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9pby5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEiIgoJU2Vzc2lvbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiIAoHQWdlbnRJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIlsKC1Nlc3Npb25MaXN0EhMKC3RvdGFsX3BhZ2VzGAEgASgFEjcKB2VudHJpZXMYAiADKAsyJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkoKE0xpc3RTZXNzaW9uc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkSDAoEdGFncxgDIAMoCSJuCiJMaXN0U2Vzc2lvbnNCeUFnZW50SW5zdGFuY2VSZXF1ZXN0EiEKEWFnZW50X2luc3RhbmNlX2lkGAEgASgJQga6SAPIAQESEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkiYQocTGlzdFNlc3Npb25zQnlDaGFubmVsUmVxdWVzdBIaCgpjaGFubmVsX2lkGAEgASgJQga6SAPIAQESEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkiQgobVXBkYXRlU2Vzc2lvblN1YmplY3RSZXF1ZXN0EhIKAmlkGAEgASgJQga6SAPIAQESDwoHc3ViamVjdBgCIAEoCWIGcHJvdG8z",[o,c.file_buf_validate_validate]),u=(0,r.messageDesc)(l,0),d=(0,r.messageDesc)(l,5);e.s(["ListSessionsByChannelRequestSchema",0,d,"SessionIdSchema",0,u,"file_ai_stigmer_agentic_session_v1_io",0,l],577817);var p=e.i(247167);let m="http://localhost:7234",g="https://api.stigmer.com/",h=null;async function v(){if(h)return h;let e=await b()??{apiUrl:p.default.env.NEXT_PUBLIC_API_URL??m,appUrl:p.default.env.NEXT_PUBLIC_APP_URL??"",authMode:y(p.default.env.NEXT_PUBLIC_AUTH_MODE),oidcIssuer:p.default.env.NEXT_PUBLIC_OIDC_ISSUER??"",oidcClientId:p.default.env.NEXT_PUBLIC_OIDC_CLIENT_ID??"",oidcAudience:p.default.env.NEXT_PUBLIC_OIDC_AUDIENCE??g};return"oidc"===e.authMode&&function(e){let t=[];if(e.oidcIssuer||t.push("oidcIssuer (NEXT_PUBLIC_OIDC_ISSUER)"),e.oidcClientId||t.push("oidcClientId (NEXT_PUBLIC_OIDC_CLIENT_ID)"),e.oidcAudience||t.push("oidcAudience (NEXT_PUBLIC_OIDC_AUDIENCE)"),t.length>0)throw Error(`Auth mode is "oidc" but required fields are missing: ${t.join(", ")}. Check /config.json (container) or NEXT_PUBLIC_* env vars (.env).`)}(e),h=Object.freeze(e)}async function b(){try{let e=await fetch("/config.json");if(!e.ok)return null;let t=await e.json();return{apiUrl:f(t.apiUrl,m),appUrl:f(t.appUrl,""),authMode:y(t.authMode),oidcIssuer:f(t.oidcIssuer,""),oidcClientId:f(t.oidcClientId,""),oidcAudience:f(t.oidcAudience,g)}}catch{return null}}function f(e,t){return"string"==typeof e&&e.length>0?e:t}function y(e){return"oidc"===e?"oidc":"disabled"}e.s(["getRuntimeConfig",0,function(){if(!h)throw Error("getRuntimeConfig() called before loadRuntimeConfig(). Ensure <ConfigGate> wraps the component tree.");return h},"loadRuntimeConfig",0,v],707125)},472402,e=>{"use strict";var t=e.i(707125);e.s(["getApiBaseUrl",0,function(){return(0,t.getRuntimeConfig)().apiUrl},"getAppBaseUrl",0,function(){let e=(0,t.getRuntimeConfig)().appUrl;return e?e.replace(/\/$/,""):window.location.origin}])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78946,e=>{"use strict";var t=e.i(910304),r=e.i(292558),i=e.i(891287),a=e.i(338300),n=e.i(621559),c=e.i(71268),o=e.i(534125),s=e.i(425285),l=e.i(973955),u=e.i(170255),d=e.i(459153),p=e.i(421415),m=e.i(85849),g=e.i(798525),h=e.i(301218);function v(e){return Object.assign((0,i.create)(l.ToolApprovalPolicySchema),(0,r.stripUndefined)({toolName:e.toolName,message:e.message,fromDestructiveHint:e.fromDestructiveHint}))}function b(e){var t,a,o;let s,u;e.env&&(s=Object.fromEntries(Object.entries(e.env).map(([e,t])=>[e,Object.assign((0,i.create)(n.EnvVarDeclarationSchema),(0,r.stripUndefined)({isSecret:t.isSecret,description:t.description,optional:t.optional}))])));let m=e.pinnedToolApprovals?.map(v),g=e.auth?(t=e.auth,u=(0,i.create)(l.McpServerAuthSchema),(t.oauthAppRef?.slug||t.oauthAppRef?.org)&&(u.oauthAppRef=(0,i.create)(d.ApiResourceReferenceSchema,{...t.oauthAppRef,kind:22})),void 0!==t.targetEnvVar&&(u.targetEnvVar=t.targetEnvVar),void 0!==t.tokenLifetimeHint&&(u.tokenLifetimeHint=t.tokenLifetimeHint),t.scopeHints&&(u.scopeHints=t.scopeHints),void 0!==t.discoveryUrl&&(u.discoveryUrl=t.discoveryUrl),void 0!==t.oauthOnly&&(u.oauthOnly=t.oauthOnly),u):void 0,h=Object.assign((0,i.create)(l.McpServerSpecSchema),(0,r.stripUndefined)({description:e.description,iconUrl:e.iconUrl,tags:e.tags,defaultEnabledTools:e.defaultEnabledTools,env:s,pinnedToolApprovals:m,repositoryUrl:e.repositoryUrl,githubStars:e.githubStars,auth:g}));return e.stdio?h.serverType={case:"stdio",value:(a=e.stdio,Object.assign((0,i.create)(l.StdioServerConfigSchema),(0,r.stripUndefined)({command:a.command,args:a.args,workingDir:a.workingDir})))}:e.http&&(h.serverType={case:"http",value:(o=e.http,Object.assign((0,i.create)(l.HttpServerConfigSchema),(0,r.stripUndefined)({url:o.url,headers:o.headers,queryParams:o.queryParams,timeoutSeconds:o.timeoutSeconds})))}),Object.assign((0,i.create)(c.McpServerSchema),{apiVersion:"agentic.stigmer.ai/v1",kind:"McpServer",metadata:Object.assign((0,i.create)(p.ApiResourceMetadataSchema),{...e.id&&{id:e.id},name:e.name,org:e.org,...e.slug&&{slug:e.slug},...e.labels&&{labels:e.labels},...e.visibility&&{visibility:e.visibility}}),spec:h})}function f(e){return{toolName:e.toolName||void 0,message:e.message||void 0,fromDestructiveHint:e.fromDestructiveHint||void 0}}e.s(["McpServerClient",0,class{command;query;search;constructor(e){this.command=(0,a.createClient)(o.McpServerCommandController,e),this.query=(0,a.createClient)(s.McpServerQueryController,e),this.search=(0,a.createClient)(h.SearchService,e)}async apply(e){try{return await this.command.apply(b(e))}catch(e){throw(0,t.wrapError)(e)}}async create(e){try{return await this.command.create(b(e))}catch(e){throw(0,t.wrapError)(e)}}async update(e){try{return await this.command.update(b(e))}catch(e){throw(0,t.wrapError)(e)}}async delete(e){try{return await this.command.delete((0,i.create)(d.ApiResourceDeleteInputSchema,{resourceId:e.resourceId,versionMessage:e.versionMessage,force:e.force}))}catch(e){throw(0,t.wrapError)(e)}}async updateVisibility(e){try{return await this.command.updateVisibility(e)}catch(e){throw(0,t.wrapError)(e)}}async connect(e){try{return await this.command.connect(e)}catch(e){throw(0,t.wrapError)(e)}}async startConnect(e){try{return await this.command.startConnect(e)}catch(e){throw(0,t.wrapError)(e)}}async initiateOAuthConnect(e){try{return await this.command.initiateOAuthConnect(e)}catch(e){throw(0,t.wrapError)(e)}}async completeOAuthConnect(e){try{return await this.command.completeOAuthConnect(e)}catch(e){throw(0,t.wrapError)(e)}}async disconnectOAuth(e){try{return await this.command.disconnectOAuth(e)}catch(e){throw(0,t.wrapError)(e)}}async setOrgOAuthApp(e){try{return await this.command.setOrgOAuthApp(e)}catch(e){throw(0,t.wrapError)(e)}}async deleteOrgOAuthApp(e){try{return await this.command.deleteOrgOAuthApp(e)}catch(e){throw(0,t.wrapError)(e)}}async get(e){try{return await this.query.get((0,i.create)(d.ApiResourceIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async getByReference(e){try{return await this.query.getByReference((0,i.create)(d.ApiResourceReferenceSchema,{...e,kind:u.ApiResourceKind.mcp_server}))}catch(e){throw(0,t.wrapError)(e)}}async getOAuthGrantStatus(e){try{return await this.query.getOAuthGrantStatus(e)}catch(e){throw(0,t.wrapError)(e)}}async getOrgOAuthApp(e){try{return await this.query.getOrgOAuthApp(e)}catch(e){throw(0,t.wrapError)(e)}}async list(e){try{let t=await this.search.search((0,i.create)(g.SearchRequestSchema,{kinds:[u.ApiResourceKind.mcp_server],query:e.query,org:e.org,excludePublic:e.excludePublic??!1,crossOrgPublic:e.crossOrgPublic??!1,page:e.page?(0,i.create)(m.PageInfoSchema,e.page):void 0}));return{entries:t.entries,totalCount:t.totalCount,totalPages:t.totalPages}}catch(e){throw(0,t.wrapError)(e)}}},"buildMcpServerProto",0,b,"toMcpServerUpdateInput",0,function(e){var t,a,n;let c=e.metadata,o=e.spec??(0,i.create)(l.McpServerSpecSchema);return{id:c?.id||void 0,name:c?.name??"",slug:c?.slug||void 0,org:c?.org??"",labels:c?.labels&&Object.keys(c.labels).length>0?{...c.labels}:void 0,visibility:c?.visibility||void 0,description:o.description||void 0,iconUrl:o.iconUrl||void 0,tags:o.tags?.length?[...o.tags]:void 0,stdio:o.serverType?.case==="stdio"?{command:(t=o.serverType.value).command??"",args:t.args?.length?[...t.args]:void 0,workingDir:t.workingDir||void 0}:void 0,http:o.serverType?.case==="http"?{url:(a=o.serverType.value).url??"",headers:Object.keys(a.headers??{}).length>0?{...a.headers}:void 0,queryParams:Object.keys(a.queryParams??{}).length>0?{...a.queryParams}:void 0,timeoutSeconds:a.timeoutSeconds||void 0}:void 0,defaultEnabledTools:o.defaultEnabledTools?.length?[...o.defaultEnabledTools]:void 0,env:Object.keys(o.env??{}).length>0?Object.fromEntries(Object.entries(o.env).map(([e,t])=>[e,{isSecret:t.isSecret||void 0,description:t.description||void 0,optional:t.optional||void 0}])):void 0,pinnedToolApprovals:o.pinnedToolApprovals?.length?o.pinnedToolApprovals.map(f):void 0,repositoryUrl:o.repositoryUrl||void 0,githubStars:o.githubStars||void 0,auth:o.auth?(n=o.auth,{oauthAppRef:(0,r.toResourceRefInput)(n.oauthAppRef),targetEnvVar:n.targetEnvVar||void 0,tokenLifetimeHint:n.tokenLifetimeHint||void 0,scopeHints:n.scopeHints?.length?[...n.scopeHints]:void 0,discoveryUrl:n.discoveryUrl||void 0,oauthOnly:n.oauthOnly||void 0}):void 0}}])},414385,e=>{"use strict";var t=e.i(274217),r=e.i(265209),i=e.i(57897),a=e.i(971811),n=e.i(95560),c=e.i(577755),o=e.i(647767),s=e.i(606322);let l={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function u(e,t,r){return d((0,i.reflect)(e,t),r?Object.assign(Object.assign({},l),r):l)}function d(e,t){var c,s;let l=function e(t,c){if(t.desc.typeName.startsWith("google.protobuf."))switch(t.desc.typeName){case"google.protobuf.Any":return function(t,r){let c,o;if(""===t.typeUrl)return{};let{registry:s}=r;if(s&&(c=(0,a.anyUnpack)(t,s))&&(o=s.getMessage(c.$typeName)),!o||!c)throw Error(`cannot encode message ${t.$typeName} to JSON: "${t.typeUrl}" is not in the type registry`);let l=(0,i.reflect)(o,c),u=(0,n.hasCustomJsonRepresentation)(o)?{value:e(l,r)}:d(l,r);return u["@type"]=t.typeUrl,u}(t.message,c);case"google.protobuf.Timestamp":return function(e){let t=1e3*Number(e.seconds);if(t<Date.parse("0001-01-01T00:00:00Z")||t>Date.parse("9999-12-31T23:59:59Z"))throw Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);if(e.nanos>0x3b9ac9ff)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be greater than 99999999`);let r="Z";if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);r="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(t).toISOString().replace(".000Z",r)}(t.message);case"google.protobuf.Duration":return function(e){let t=Number(e.seconds),r=e.nanos;if(t>315576e6||t<-315576e6)throw Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);if(t>0&&r<0||t<0&&r>0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos sign must match seconds sign`);let i=e.seconds.toString();if(0!==r){let e=Math.abs(r).toString();"000000"===(e="0".repeat(9-e.length)+e).substring(3)?e=e.substring(0,3):"000"===e.substring(6)&&(e=e.substring(0,6)),i+="."+e,r<0&&0==t&&(i="-"+i)}return i+"s"}(t.message);case"google.protobuf.FieldMask":var o;return(o=t.message).paths.map(e=>{if((0,r.protoSnakeCase)((0,r.protoCamelCase)(e))!==e)throw Error(`cannot encode message ${o.$typeName} to JSON: lowerCamelCase of path name "${e}" is irreversible`);return(0,r.protoCamelCase)(e)}).join(",");case"google.protobuf.Struct":return h(t.message);case"google.protobuf.Value":return v(t.message);case"google.protobuf.ListValue":return b(t.message);default:if((0,n.isWrapperDesc)(t.desc)){let e=t.desc.fields[0];return g(e,t.get(e))}return}}(e,t);if(void 0!==l)return l;let u={};for(let r of e.sortedFields){if(!e.isSet(r)){if(3==r.presence)throw Error(`cannot encode ${r} to JSON: required field not set`);if(!t.alwaysEmitImplicit||2!==r.presence)continue}let i=p(r,e.get(r),t);void 0!==i&&(u[s=r,t.useProtoFieldName?s.name:s.jsonName]=i)}if(t.registry){let r=new Set;for(let{no:i}of null!=(c=e.getUnknown())?c:[])if(!r.has(i)){r.add(i);let a=t.registry.getExtensionFor(e.desc,i);if(!a)continue;let n=(0,o.getExtension)(e.message,a),[c,s]=(0,o.createExtensionContainer)(a,n),l=p(s,c.get(s),t);void 0!==l&&(u[a.jsonName]=l)}}return u}function p(e,t,r){switch(e.fieldKind){case"scalar":return g(e,t);case"message":return d(t,r);case"enum":return m(e.enum,t,r.enumAsInteger);case"list":var i=t,a=r;let n=i.field(),c=[];switch(n.listKind){case"scalar":for(let e of i)c.push(g(n,e));break;case"enum":for(let e of i)c.push(m(n.enum,e,a.enumAsInteger));break;case"message":for(let e of i)c.push(d(e,a))}return a.alwaysEmitImplicit||c.length>0?c:void 0;case"map":var o=t,s=r;let l=o.field(),u={};switch(l.mapKind){case"scalar":for(let[e,t]of o)u[e]=g(l,t);break;case"message":for(let[e,t]of o)u[e]=d(t,s);break;case"enum":for(let[e,t]of o)u[e]=m(l.enum,t,s.enumAsInteger)}return s.alwaysEmitImplicit||o.size>0?u:void 0}}function m(e,t,r){var i;if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: expected number, got ${(0,s.formatVal)(t)}`);if("google.protobuf.NullValue"==e.typeName)return null;if(r)return t;let a=e.value[t];return null!=(i=null==a?void 0:a.name)?i:t}function g(e,r){var i,a,n,o,l,u;switch(e.scalar){case t.ScalarType.INT32:case t.ScalarType.SFIXED32:case t.ScalarType.SINT32:case t.ScalarType.FIXED32:case t.ScalarType.UINT32:if("number"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(i=(0,s.checkField)(e,r))?void 0:i.message}`);return r;case t.ScalarType.FLOAT:case t.ScalarType.DOUBLE:if("number"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(a=(0,s.checkField)(e,r))?void 0:a.message}`);if(Number.isNaN(r))return"NaN";if(r===1/0)return"Infinity";if(r===-1/0)return"-Infinity";return r;case t.ScalarType.STRING:if("string"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(n=(0,s.checkField)(e,r))?void 0:n.message}`);return r;case t.ScalarType.BOOL:if("boolean"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(o=(0,s.checkField)(e,r))?void 0:o.message}`);return r;case t.ScalarType.UINT64:case t.ScalarType.FIXED64:case t.ScalarType.INT64:case t.ScalarType.SFIXED64:case t.ScalarType.SINT64:if("bigint"==typeof r||"string"==typeof r||"number"==typeof r&&Number.isInteger(r))return r.toString();throw Error(`cannot encode ${e} to JSON: ${null==(l=(0,s.checkField)(e,r))?void 0:l.message}`);case t.ScalarType.BYTES:if(r instanceof Uint8Array)return(0,c.base64Encode)(r);throw Error(`cannot encode ${e} to JSON: ${null==(u=(0,s.checkField)(e,r))?void 0:u.message}`)}}function h(e){let t={};for(let[r,i]of Object.entries(e.fields))t[r]=v(i);return t}function v(e){switch(e.kind.case){case"nullValue":return null;case"numberValue":if(!Number.isFinite(e.kind.value))throw Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case"boolValue":case"stringValue":return e.kind.value;case"structValue":return h(e.kind.value);case"listValue":return b(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function b(e){return e.values.map(v)}e.s(["toJson",0,u,"toJsonString",0,function(e,t,r){var i;return JSON.stringify(u(e,t,r),null,null!=(i=null==r?void 0:r.prettySpaces)?i:0)}])},798525,301218,e=>{"use strict";var t=e.i(424407),r=e.i(304532),i=e.i(170255),a=e.i(302933),n=e.i(85849),c=e.i(761867),o=e.i(732303);let s=(0,t.fileDesc)("Ch1haS9zdGlnbWVyL3NlYXJjaC92MS9pby5wcm90bxIUYWkuc3RpZ21lci5zZWFyY2gudjEilQIKDVNlYXJjaFJlcXVlc3QSXQoFa2luZHMYASADKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZEINukgKkgEHIgWCAQIQARIXCgVxdWVyeRgCIAEoCUIIukgFcgMY9AMSKgoDb3JnGAMgASgJQh26SBpyGBg/MhReJHxeW2Etel1bYS16MC05LV0qJBIWCg5leGNsdWRlX3B1YmxpYxgEIAEoCBIuCgRwYWdlGAUgASgLMiAuYWkuc3RpZ21lci5jb21tb25zLnJwYy5QYWdlSW5mbxIYChBjcm9zc19vcmdfcHVibGljGAYgASgIIvQBCg5TZWFyY2hSZXNwb25zZRIzCgdlbnRyaWVzGAEgAygLMiIuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzdWx0Ek4KDmNvdW50c19ieV9raW5kGAIgAygLMjYuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzcG9uc2UuQ291bnRzQnlLaW5kRW50cnkSEwoLdG90YWxfY291bnQYAyABKAUSEwoLdG90YWxfcGFnZXMYBCABKAUaMwoRQ291bnRzQnlLaW5kRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgFOgI4ASKZAwoMU2VhcmNoUmVzdWx0Ek0KBGtpbmQYASABKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZBIKCgJpZBgCIAEoCRIMCgRuYW1lGAMgASgJEgwKBHNsdWcYBCABKAkSFgoOcXVhbGlmaWVkX3NsdWcYBSABKAkSCwoDb3JnGAYgASgJEhMKC2Rlc2NyaXB0aW9uGAcgASgJEkkKCnZpc2liaWxpdHkYCCABKA4yNS5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VWaXNpYmlsaXR5EgwKBHRhZ3MYCSADKAkSLgoKY3JlYXRlZF9hdBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgLIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDQoFc2NvcmUYDCABKAISEAoIaWNvbl91cmwYDSABKAliBnByb3RvMw",[i.file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind,a.file_ai_stigmer_commons_apiresource_enum,n.file_ai_stigmer_commons_rpc_pagination,c.file_buf_validate_validate,o.file_google_protobuf_timestamp]),l=(0,r.messageDesc)(s,0);e.s(["SearchRequestSchema",0,l,"file_ai_stigmer_search_v1_io",0,s],798525);var u=e.i(499328),d=e.i(693569);let p=(0,t.fileDesc)("CiBhaS9zdGlnbWVyL3NlYXJjaC92MS9xdWVyeS5wcm90bxIUYWkuc3RpZ21lci5zZWFyY2gudjEyagoNU2VhcmNoU2VydmljZRJZCgZzZWFyY2gSIy5haS5zdGlnbWVyLnNlYXJjaC52MS5TZWFyY2hSZXF1ZXN0GiQuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzcG9uc2UiBNC4GAFiBnByb3RvMw",[d.file_ai_stigmer_commons_rpc_method_options,s]),m=(0,u.serviceDesc)(p,0);e.s(["SearchService",0,m],301218)},992999,e=>{"use strict";var t=e.i(910304),r=e.i(292558),i=e.i(891287),a=e.i(338300),n=e.i(243176),c=e.i(779805),o=e.i(57674),s=e.i(538634),l=e.i(711961),u=e.i(621559),d=e.i(170255),p=e.i(459153),m=e.i(421415),g=e.i(85849),h=e.i(798525),v=e.i(301218);function b(e){return Object.assign((0,i.create)(l.ToolApprovalOverrideSchema),(0,r.stripUndefined)({toolName:e.toolName,requiresApproval:e.requiresApproval,message:e.message}))}function f(e){let t=(0,i.create)(l.McpServerUsageSchema);return(e.mcpServerRef?.slug||e.mcpServerRef?.org)&&(t.mcpServerRef=(0,i.create)(p.ApiResourceReferenceSchema,{...e.mcpServerRef,kind:44})),e.enabledTools&&(t.enabledTools=e.enabledTools),e.toolApprovalOverrides&&(t.toolApprovalOverrides=e.toolApprovalOverrides.map(b)),t}function y(e){return Object.assign((0,i.create)(l.McpAccessSchema),(0,r.stripUndefined)({mcpServer:e.mcpServer,enabledTools:e.enabledTools}))}function A(e){let t=(0,i.create)(l.SubAgentSchema);return void 0!==e.name&&(t.name=e.name),void 0!==e.description&&(t.description=e.description),void 0!==e.instructions&&(t.instructions=e.instructions),e.mcpAccess&&(t.mcpAccess=e.mcpAccess.map(y)),e.skillRefs&&(t.skillRefs=e.skillRefs.map(e=>(0,i.create)(p.ApiResourceReferenceSchema,{...e,kind:43}))),void 0!==e.modelOverride&&(t.modelOverride=e.modelOverride),t}function S(e){let t,a=e.mcpServerUsages?.map(f),c=e.skillRefs?.map(e=>(0,i.create)(p.ApiResourceReferenceSchema,{...e,kind:43})),o=e.subAgents?.map(A);return e.env&&(t=Object.fromEntries(Object.entries(e.env).map(([e,t])=>[e,Object.assign((0,i.create)(u.EnvVarDeclarationSchema),(0,r.stripUndefined)({isSecret:t.isSecret,description:t.description,optional:t.optional}))]))),Object.assign((0,i.create)(n.AgentSchema),{apiVersion:"agentic.stigmer.ai/v1",kind:"Agent",metadata:Object.assign((0,i.create)(m.ApiResourceMetadataSchema),{...e.id&&{id:e.id},name:e.name,org:e.org,...e.slug&&{slug:e.slug},...e.labels&&{labels:e.labels},...e.visibility&&{visibility:e.visibility}}),spec:Object.assign((0,i.create)(l.AgentSpecSchema),(0,r.stripUndefined)({description:e.description,iconUrl:e.iconUrl,instructions:e.instructions,mcpServerUsages:a,skillRefs:c,subAgents:o,env:t}))})}function _(e){return{toolName:e.toolName||void 0,requiresApproval:e.requiresApproval||void 0,message:e.message||void 0}}function E(e){return{mcpServerRef:(0,r.toResourceRefInput)(e.mcpServerRef)??{org:"",slug:""},enabledTools:e.enabledTools?.length?[...e.enabledTools]:void 0,toolApprovalOverrides:e.toolApprovalOverrides?.length?e.toolApprovalOverrides.map(_):void 0}}function V(e){return{mcpServer:e.mcpServer??"",enabledTools:e.enabledTools?.length?[...e.enabledTools]:void 0}}function w(e){return{name:e.name??"",description:e.description||void 0,instructions:e.instructions||void 0,mcpAccess:e.mcpAccess?.length?e.mcpAccess.map(V):void 0,skillRefs:(0,r.toResourceRefInputs)(e.skillRefs),modelOverride:e.modelOverride||void 0}}e.s(["AgentClient",0,class{command;query;search;constructor(e){this.command=(0,a.createClient)(c.AgentCommandController,e),this.query=(0,a.createClient)(s.AgentQueryController,e),this.search=(0,a.createClient)(v.SearchService,e)}async apply(e){try{return await this.command.apply(S(e))}catch(e){throw(0,t.wrapError)(e)}}async create(e){try{return await this.command.create(S(e))}catch(e){throw(0,t.wrapError)(e)}}async update(e){try{return await this.command.update(S(e))}catch(e){throw(0,t.wrapError)(e)}}async updateVisibility(e){try{return await this.command.updateVisibility(e)}catch(e){throw(0,t.wrapError)(e)}}async delete(e){try{return await this.command.delete((0,i.create)(o.AgentIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async get(e){try{return await this.query.get((0,i.create)(o.AgentIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async getByReference(e){try{return await this.query.getByReference((0,i.create)(p.ApiResourceReferenceSchema,{...e,kind:d.ApiResourceKind.agent}))}catch(e){throw(0,t.wrapError)(e)}}async getDefault(e){try{return await this.query.getDefault(e)}catch(e){throw(0,t.wrapError)(e)}}async list(e){try{let t=await this.search.search((0,i.create)(h.SearchRequestSchema,{kinds:[d.ApiResourceKind.agent],query:e.query,org:e.org,excludePublic:e.excludePublic??!1,crossOrgPublic:e.crossOrgPublic??!1,page:e.page?(0,i.create)(g.PageInfoSchema,e.page):void 0}));return{entries:t.entries,totalCount:t.totalCount,totalPages:t.totalPages}}catch(e){throw(0,t.wrapError)(e)}}},"buildAgentProto",0,S,"toAgentUpdateInput",0,function(e){let t=e.metadata,a=e.spec??(0,i.create)(l.AgentSpecSchema);return{id:t?.id||void 0,name:t?.name??"",slug:t?.slug||void 0,org:t?.org??"",labels:t?.labels&&Object.keys(t.labels).length>0?{...t.labels}:void 0,visibility:t?.visibility||void 0,description:a.description||void 0,iconUrl:a.iconUrl||void 0,instructions:a.instructions||void 0,mcpServerUsages:a.mcpServerUsages?.length?a.mcpServerUsages.map(E):void 0,skillRefs:(0,r.toResourceRefInputs)(a.skillRefs),subAgents:a.subAgents?.length?a.subAgents.map(w):void 0,env:Object.keys(a.env??{}).length>0?Object.fromEntries(Object.entries(a.env).map(([e,t])=>[e,{isSecret:t.isSecret||void 0,description:t.description||void 0,optional:t.optional||void 0}])):void 0}}])},960511,e=>{"use strict";var t,r,i,a,n,c,o,s,l,u,d,p,m,g,h,v;e.i(113024);let b=(0,e.i(424407).fileDesc)("CiBhaS9zdGlnbWVyL2JpbGxpbmcvdjEvZW51bS5wcm90bxIVYWkuc3RpZ21lci5iaWxsaW5nLnYxKrYCCg9MZWRnZXJFbnRyeVR5cGUSIQodbGVkZ2VyX2VudHJ5X3R5cGVfdW5zcGVjaWZpZWQQABITCg9wdXJjaGFzZV9jcmVkaXQQARIWChJwcm9tb3Rpb25hbF9jcmVkaXQQAhIPCgt1c2FnZV9kZWJpdBADEhQKEHJlc2VydmF0aW9uX2hvbGQQBBIXChNyZXNlcnZhdGlvbl9yZWxlYXNlEAUSFQoRYWRqdXN0bWVudF9jcmVkaXQQBhIUChBhZGp1c3RtZW50X2RlYml0EAcSEwoPcmVmdW5kX3JldmVyc2FsEAgSEAoMZGlzcHV0ZV9ob2xkEAkSEwoPZGlzcHV0ZV9yZWxlYXNlEAoSEAoMZXhwaXJ5X2RlYml0EAsSGAoUYXV0b19yZWNoYXJnZV9jcmVkaXQQDCpECgpMZWRnZXJWaWV3EhsKF2xlZGdlcl92aWV3X3Vuc3BlY2lmaWVkEAASGQoVbGVkZ2VyX3ZpZXdfc3RhdGVtZW50EAEqZAoPQ3JlZGl0R3JhbnRLaW5kEiEKHWNyZWRpdF9ncmFudF9raW5kX3Vuc3BlY2lmaWVkEAASDQoJcHVyY2hhc2VkEAESDwoLcHJvbW90aW9uYWwQAhIOCgphZGp1c3RtZW50EAMqlQEKFEJpbGxpbmdBY2NvdW50U3RhdHVzEiYKImJpbGxpbmdfYWNjb3VudF9zdGF0dXNfdW5zcGVjaWZpZWQQABIaChZiaWxsaW5nX2FjY291bnRfYWN0aXZlEAESHQoZYmlsbGluZ19hY2NvdW50X3N1c3BlbmRlZBACEhoKFmJpbGxpbmdfYWNjb3VudF9jbG9zZWQQAyqeAQoRUmVzZXJ2YXRpb25TdGF0dXMSIgoecmVzZXJ2YXRpb25fc3RhdHVzX3Vuc3BlY2lmaWVkEAASFgoScmVzZXJ2YXRpb25fYWN0aXZlEAESGQoVcmVzZXJ2YXRpb25fZmluYWxpemVkEAISFwoTcmVzZXJ2YXRpb25fZXhwaXJlZBADEhkKFXJlc2VydmF0aW9uX2NhbmNlbGxlZBAEKocBChZFeGVjdXRpb25CaWxsaW5nU2lnbmFsEigKJGV4ZWN1dGlvbl9iaWxsaW5nX3NpZ25hbF91bnNwZWNpZmllZBAAEhYKEmNvbnRpbnVlX2V4ZWN1dGlvbhABEhcKE2xvd19iYWxhbmNlX3dhcm5pbmcQAhISCg5zdG9wX2V4ZWN1dGlvbhADKrMBChRDcmVkaXRQdXJjaGFzZVN0YXR1cxImCiJjcmVkaXRfcHVyY2hhc2Vfc3RhdHVzX3Vuc3BlY2lmaWVkEAASGwoXY3JlZGl0X3B1cmNoYXNlX3BlbmRpbmcQARIdChljcmVkaXRfcHVyY2hhc2VfY29tcGxldGVkEAISGgoWY3JlZGl0X3B1cmNoYXNlX2ZhaWxlZBADEhsKF2NyZWRpdF9wdXJjaGFzZV9leHBpcmVkEAQqlwEKF0F1dG9SZWNoYXJnZUV2ZW50U3RhdHVzEioKJmF1dG9fcmVjaGFyZ2VfZXZlbnRfc3RhdHVzX3Vuc3BlY2lmaWVkEAASGQoVYXV0b19yZWNoYXJnZV9wZW5kaW5nEAESGwoXYXV0b19yZWNoYXJnZV9zdWNjZWVkZWQQAhIYChRhdXRvX3JlY2hhcmdlX2ZhaWxlZBADYgZwcm90bzM");(l=t||(t={}))[l.ledger_entry_type_unspecified=0]="ledger_entry_type_unspecified",l[l.purchase_credit=1]="purchase_credit",l[l.promotional_credit=2]="promotional_credit",l[l.usage_debit=3]="usage_debit",l[l.reservation_hold=4]="reservation_hold",l[l.reservation_release=5]="reservation_release",l[l.adjustment_credit=6]="adjustment_credit",l[l.adjustment_debit=7]="adjustment_debit",l[l.refund_reversal=8]="refund_reversal",l[l.dispute_hold=9]="dispute_hold",l[l.dispute_release=10]="dispute_release",l[l.expiry_debit=11]="expiry_debit",l[l.auto_recharge_credit=12]="auto_recharge_credit",(u=r||(r={}))[u.unspecified=0]="unspecified",u[u.statement=1]="statement",(d=i||(i={}))[d.credit_grant_kind_unspecified=0]="credit_grant_kind_unspecified",d[d.purchased=1]="purchased",d[d.promotional=2]="promotional",d[d.adjustment=3]="adjustment",(p=a||(a={}))[p.billing_account_status_unspecified=0]="billing_account_status_unspecified",p[p.billing_account_active=1]="billing_account_active",p[p.billing_account_suspended=2]="billing_account_suspended",p[p.billing_account_closed=3]="billing_account_closed",(m=n||(n={}))[m.reservation_status_unspecified=0]="reservation_status_unspecified",m[m.reservation_active=1]="reservation_active",m[m.reservation_finalized=2]="reservation_finalized",m[m.reservation_expired=3]="reservation_expired",m[m.reservation_cancelled=4]="reservation_cancelled",(g=c||(c={}))[g.execution_billing_signal_unspecified=0]="execution_billing_signal_unspecified",g[g.continue_execution=1]="continue_execution",g[g.low_balance_warning=2]="low_balance_warning",g[g.stop_execution=3]="stop_execution",(h=o||(o={}))[h.credit_purchase_status_unspecified=0]="credit_purchase_status_unspecified",h[h.credit_purchase_pending=1]="credit_purchase_pending",h[h.credit_purchase_completed=2]="credit_purchase_completed",h[h.credit_purchase_failed=3]="credit_purchase_failed",h[h.credit_purchase_expired=4]="credit_purchase_expired",(v=s||(s={}))[v.auto_recharge_event_status_unspecified=0]="auto_recharge_event_status_unspecified",v[v.auto_recharge_pending=1]="auto_recharge_pending",v[v.auto_recharge_succeeded=2]="auto_recharge_succeeded",v[v.auto_recharge_failed=3]="auto_recharge_failed",e.s(["BillingAccountStatus",0,a,"LedgerEntryType",0,t,"LedgerView",0,r,"file_ai_stigmer_billing_v1_enum",0,b])},577817,400553,707125,e=>{"use strict";var t=e.i(424407),r=e.i(304532),i=e.i(125322),a=e.i(421415),n=e.i(988158),c=e.i(761867);let o=(0,t.fileDesc)("CidhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9hcGkucHJvdG8SHWFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxIqsCCgdTZXNzaW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEhwKBGtpbmQYAiABKAlCDrpIC3IJCgdTZXNzaW9uEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI4CgRzcGVjGAQgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvblNwZWMSRgoGc3RhdHVzGAUgASgLMjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRTdGF0dXNiBnByb3RvMw",[i.file_ai_stigmer_agentic_session_v1_spec,a.file_ai_stigmer_commons_apiresource_metadata,n.file_ai_stigmer_commons_apiresource_status,c.file_buf_validate_validate]),s=(0,r.messageDesc)(o,0);e.s(["SessionSchema",0,s,"file_ai_stigmer_agentic_session_v1_api",0,o],400553);let l=(0,t.fileDesc)("CiZhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9pby5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEiIgoJU2Vzc2lvbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiIAoHQWdlbnRJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIlsKC1Nlc3Npb25MaXN0EhMKC3RvdGFsX3BhZ2VzGAEgASgFEjcKB2VudHJpZXMYAiADKAsyJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkoKE0xpc3RTZXNzaW9uc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkSDAoEdGFncxgDIAMoCSJuCiJMaXN0U2Vzc2lvbnNCeUFnZW50SW5zdGFuY2VSZXF1ZXN0EiEKEWFnZW50X2luc3RhbmNlX2lkGAEgASgJQga6SAPIAQESEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkiYQocTGlzdFNlc3Npb25zQnlDaGFubmVsUmVxdWVzdBIaCgpjaGFubmVsX2lkGAEgASgJQga6SAPIAQESEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkiQgobVXBkYXRlU2Vzc2lvblN1YmplY3RSZXF1ZXN0EhIKAmlkGAEgASgJQga6SAPIAQESDwoHc3ViamVjdBgCIAEoCWIGcHJvdG8z",[o,c.file_buf_validate_validate]),u=(0,r.messageDesc)(l,0),d=(0,r.messageDesc)(l,5);e.s(["ListSessionsByChannelRequestSchema",0,d,"SessionIdSchema",0,u,"file_ai_stigmer_agentic_session_v1_io",0,l],577817);var p=e.i(247167);let m="https://api.stigmer.com/",g=null;async function h(){if(g)return g;let e=await v()??{apiUrl:p.default.env.NEXT_PUBLIC_API_URL??"http://localhost:7234",appUrl:p.default.env.NEXT_PUBLIC_APP_URL??"",authMode:f(p.default.env.NEXT_PUBLIC_AUTH_MODE),oidcIssuer:p.default.env.NEXT_PUBLIC_OIDC_ISSUER??"",oidcClientId:p.default.env.NEXT_PUBLIC_OIDC_CLIENT_ID??"",oidcAudience:p.default.env.NEXT_PUBLIC_OIDC_AUDIENCE??m};return"oidc"===e.authMode&&function(e){if(!e.oidcClientId)throw Error("This server requires sign-in, but no OIDC client is configured for the console. Set STIGMER_OIDC_CONSOLE_CLIENT_ID on the server (or NEXT_PUBLIC_OIDC_CLIENT_ID for a container build) to the public PKCE client you registered for the console at your identity provider.");let t=[];if(e.oidcIssuer||t.push("oidcIssuer (NEXT_PUBLIC_OIDC_ISSUER)"),e.oidcAudience||t.push("oidcAudience (NEXT_PUBLIC_OIDC_AUDIENCE)"),t.length>0)throw Error(`Auth mode is "oidc" but required fields are missing: ${t.join(", ")}. Check /config.json (container) or NEXT_PUBLIC_* env vars (.env).`)}(e),g=Object.freeze(e)}async function v(){try{let e=await fetch("/config.json");if(!e.ok)return null;let t=await e.json();return{apiUrl:b(t.apiUrl,window.location.origin),appUrl:b(t.appUrl,""),authMode:f(t.authMode),oidcIssuer:b(t.oidcIssuer,""),oidcClientId:b(t.oidcClientId,""),oidcAudience:b(t.oidcAudience,m)}}catch{return null}}function b(e,t){return"string"==typeof e&&e.length>0?e:t}function f(e){return"oidc"===e?"oidc":"disabled"}e.s(["getRuntimeConfig",0,function(){if(!g)throw Error("getRuntimeConfig() called before loadRuntimeConfig(). Ensure <ConfigGate> wraps the component tree.");return g},"loadRuntimeConfig",0,h],707125)},472402,e=>{"use strict";var t=e.i(707125);e.s(["getApiBaseUrl",0,function(){return(0,t.getRuntimeConfig)().apiUrl},"getAppBaseUrl",0,function(){let e=(0,t.getRuntimeConfig)().appUrl;return e?e.replace(/\/$/,""):window.location.origin}])}]);