@stigmer/server-slim 3.18.0 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. package/console/404.html +1 -1
  2. package/console/__next.__PAGE__.txt +2 -2
  3. package/console/__next._full.txt +24 -23
  4. package/console/__next._head.txt +4 -4
  5. package/console/__next._index.txt +13 -15
  6. package/console/__next._tree.txt +2 -2
  7. package/console/_next/static/chunks/0.k18aw8l68rs.js +1 -0
  8. package/console/_next/static/chunks/0.wpyf_drhv8x.css +1 -0
  9. package/console/_next/static/chunks/0028ryyk-zcrk.js +1 -0
  10. package/console/_next/static/chunks/{0x.4919xjicc5.js → 004w~8qxculo~.js} +1 -1
  11. package/console/_next/static/chunks/05121lnteh0k4.js +1 -0
  12. package/console/_next/static/chunks/05hsc2apcu-66.js +1 -0
  13. package/console/_next/static/chunks/0625f_sg_08~p.js +1 -0
  14. package/console/_next/static/chunks/06rm9q_8qy6o9.js +1 -0
  15. package/console/_next/static/chunks/0a9_yomn052wg.js +1 -0
  16. package/console/_next/static/chunks/0af9vacgizdg..js +1 -0
  17. package/console/_next/static/chunks/0ala3mcyjvwvv.js +1 -0
  18. package/console/_next/static/chunks/0b8nbfovx36l5.js +1 -0
  19. package/console/_next/static/chunks/0dozqag.y8cvd.js +1 -0
  20. package/console/_next/static/chunks/{0.cr0e7bzkpoi.js → 0hjw5613u.jem.js} +3 -3
  21. package/console/_next/static/chunks/0id2oe7r5dozz.js +1 -0
  22. package/console/_next/static/chunks/0l9~uyr.vjf0t.js +2 -0
  23. package/console/_next/static/chunks/0mg-64_rqe3v9.js +1 -0
  24. package/console/_next/static/chunks/0rihzw4w1wzg3.js +1 -0
  25. package/console/_next/static/chunks/0s.hd0_eyzhc..js +1 -0
  26. package/console/_next/static/chunks/0ta6paxih8wwd.js +1 -0
  27. package/console/_next/static/chunks/0u9~d-cnb0w01.js +1 -0
  28. package/console/_next/static/chunks/0zc3nm7n~zcnb.js +3 -0
  29. package/console/_next/static/chunks/{0ij17mw0v0qd-.js → 0zfzrf3u6eg~~.js} +1 -1
  30. package/console/_next/static/chunks/12wm5jicnl6m8.js +1 -0
  31. package/console/_not-found/__next._full.txt +27 -26
  32. package/console/_not-found/__next._head.txt +4 -4
  33. package/console/_not-found/__next._index.txt +13 -15
  34. package/console/_not-found/__next._not-found.__PAGE__.txt +3 -3
  35. package/console/_not-found/__next._not-found.txt +3 -3
  36. package/console/_not-found/__next._tree.txt +2 -2
  37. package/console/_not-found.html +1 -1
  38. package/console/_not-found.txt +27 -26
  39. package/console/auth/callback/__next._full.txt +32 -31
  40. package/console/auth/callback/__next._head.txt +4 -4
  41. package/console/auth/callback/__next._index.txt +13 -15
  42. package/console/auth/callback/__next._tree.txt +2 -2
  43. package/console/auth/callback/__next.auth.callback.__PAGE__.txt +4 -4
  44. package/console/auth/callback/__next.auth.callback.txt +3 -3
  45. package/console/auth/callback/__next.auth.txt +3 -3
  46. package/console/auth/callback.html +1 -1
  47. package/console/auth/callback.txt +32 -31
  48. package/console/auth/github/callback/__next._full.txt +35 -34
  49. package/console/auth/github/callback/__next._head.txt +4 -4
  50. package/console/auth/github/callback/__next._index.txt +13 -15
  51. package/console/auth/github/callback/__next._tree.txt +2 -2
  52. package/console/auth/github/callback/__next.auth.github.callback.__PAGE__.txt +4 -4
  53. package/console/auth/github/callback/__next.auth.github.callback.txt +3 -3
  54. package/console/auth/github/callback/__next.auth.github.txt +3 -3
  55. package/console/auth/github/callback/__next.auth.txt +3 -3
  56. package/console/auth/github/callback.html +1 -1
  57. package/console/auth/github/callback.txt +35 -34
  58. package/console/auth/oauth/callback/__next._full.txt +35 -34
  59. package/console/auth/oauth/callback/__next._head.txt +4 -4
  60. package/console/auth/oauth/callback/__next._index.txt +13 -15
  61. package/console/auth/oauth/callback/__next._tree.txt +2 -2
  62. package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +4 -4
  63. package/console/auth/oauth/callback/__next.auth.oauth.callback.txt +3 -3
  64. package/console/auth/oauth/callback/__next.auth.oauth.txt +3 -3
  65. package/console/auth/oauth/callback/__next.auth.txt +3 -3
  66. package/console/auth/oauth/callback.html +1 -1
  67. package/console/auth/oauth/callback.txt +35 -34
  68. package/console/chat/__placeholder__/__placeholder__/__next._full.txt +30 -32
  69. package/console/chat/__placeholder__/__placeholder__/__next._head.txt +4 -4
  70. package/console/chat/__placeholder__/__placeholder__/__next._index.txt +13 -15
  71. package/console/chat/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  72. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.__PAGE__.txt +3 -3
  73. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.txt +3 -3
  74. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.txt +3 -3
  75. package/console/chat/__placeholder__/__placeholder__/__next.chat.txt +3 -3
  76. package/console/chat/__placeholder__/__placeholder__.html +1 -1
  77. package/console/chat/__placeholder__/__placeholder__.txt +30 -32
  78. package/console/conversations/__next._full.txt +28 -27
  79. package/console/conversations/__next._head.txt +4 -4
  80. package/console/conversations/__next._index.txt +13 -15
  81. package/console/conversations/__next._tree.txt +2 -2
  82. package/console/conversations/__next.conversations.__PAGE__.txt +3 -3
  83. package/console/conversations/__next.conversations.txt +3 -3
  84. package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +30 -32
  85. package/console/conversations/__placeholder__/__placeholder__/__next._head.txt +4 -4
  86. package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +13 -15
  87. package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  88. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +3 -3
  89. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.txt +3 -3
  90. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.txt +3 -3
  91. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.txt +3 -3
  92. package/console/conversations/__placeholder__/__placeholder__.html +1 -1
  93. package/console/conversations/__placeholder__/__placeholder__.txt +30 -32
  94. package/console/conversations.html +1 -1
  95. package/console/conversations.txt +28 -27
  96. package/console/dashboard/__next._full.txt +28 -27
  97. package/console/dashboard/__next._head.txt +4 -4
  98. package/console/dashboard/__next._index.txt +13 -15
  99. package/console/dashboard/__next._tree.txt +2 -2
  100. package/console/dashboard/__next.dashboard.__PAGE__.txt +3 -3
  101. package/console/dashboard/__next.dashboard.txt +3 -3
  102. package/console/dashboard.html +1 -1
  103. package/console/dashboard.txt +28 -27
  104. package/console/executions/__placeholder__/__next._full.txt +30 -29
  105. package/console/executions/__placeholder__/__next._head.txt +4 -4
  106. package/console/executions/__placeholder__/__next._index.txt +13 -15
  107. package/console/executions/__placeholder__/__next._tree.txt +2 -2
  108. package/console/executions/__placeholder__/__next.executions.$d$id.__PAGE__.txt +2 -2
  109. package/console/executions/__placeholder__/__next.executions.$d$id.txt +3 -3
  110. package/console/executions/__placeholder__/__next.executions.txt +3 -3
  111. package/console/executions/__placeholder__.html +1 -1
  112. package/console/executions/__placeholder__.txt +30 -29
  113. package/console/index.html +1 -1
  114. package/console/index.txt +24 -23
  115. package/console/invite/__placeholder__/__next._full.txt +31 -30
  116. package/console/invite/__placeholder__/__next._head.txt +4 -4
  117. package/console/invite/__placeholder__/__next._index.txt +13 -15
  118. package/console/invite/__placeholder__/__next._tree.txt +2 -2
  119. package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +3 -3
  120. package/console/invite/__placeholder__/__next.invite.$d$token.txt +3 -3
  121. package/console/invite/__placeholder__/__next.invite.txt +3 -3
  122. package/console/invite/__placeholder__.html +1 -1
  123. package/console/invite/__placeholder__.txt +31 -30
  124. package/console/library/__next._full.txt +29 -28
  125. package/console/library/__next._head.txt +4 -4
  126. package/console/library/__next._index.txt +13 -15
  127. package/console/library/__next._tree.txt +2 -2
  128. package/console/library/__next.library.__PAGE__.txt +3 -3
  129. package/console/library/__next.library.txt +5 -5
  130. package/console/library/agents/__next._full.txt +34 -33
  131. package/console/library/agents/__next._head.txt +4 -4
  132. package/console/library/agents/__next._index.txt +13 -15
  133. package/console/library/agents/__next._tree.txt +2 -2
  134. package/console/library/agents/__next.library.agents.__PAGE__.txt +3 -3
  135. package/console/library/agents/__next.library.agents.txt +3 -3
  136. package/console/library/agents/__next.library.txt +5 -5
  137. package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +34 -36
  138. package/console/library/agents/__placeholder__/__placeholder__/__next._head.txt +4 -4
  139. package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +13 -15
  140. package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  141. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +3 -3
  142. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.txt +3 -3
  143. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.txt +3 -3
  144. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.txt +3 -3
  145. package/console/library/agents/__placeholder__/__placeholder__/__next.library.txt +5 -5
  146. package/console/library/agents/__placeholder__/__placeholder__.html +1 -1
  147. package/console/library/agents/__placeholder__/__placeholder__.txt +34 -36
  148. package/console/library/agents/new/__next._full.txt +38 -37
  149. package/console/library/agents/new/__next._head.txt +4 -4
  150. package/console/library/agents/new/__next._index.txt +13 -15
  151. package/console/library/agents/new/__next._tree.txt +2 -2
  152. package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +4 -4
  153. package/console/library/agents/new/__next.library.agents.new.txt +3 -3
  154. package/console/library/agents/new/__next.library.agents.txt +3 -3
  155. package/console/library/agents/new/__next.library.txt +5 -5
  156. package/console/library/agents/new.html +1 -1
  157. package/console/library/agents/new.txt +38 -37
  158. package/console/library/agents.html +1 -1
  159. package/console/library/agents.txt +34 -33
  160. package/console/library/mcp-servers/__next._full.txt +34 -33
  161. package/console/library/mcp-servers/__next._head.txt +4 -4
  162. package/console/library/mcp-servers/__next._index.txt +13 -15
  163. package/console/library/mcp-servers/__next._tree.txt +2 -2
  164. package/console/library/mcp-servers/__next.library.mcp-servers.__PAGE__.txt +3 -3
  165. package/console/library/mcp-servers/__next.library.mcp-servers.txt +3 -3
  166. package/console/library/mcp-servers/__next.library.txt +5 -5
  167. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._full.txt +34 -36
  168. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._head.txt +4 -4
  169. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._index.txt +13 -15
  170. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  171. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.__PAGE__.txt +3 -3
  172. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.txt +3 -3
  173. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.txt +3 -3
  174. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.txt +3 -3
  175. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.txt +5 -5
  176. package/console/library/mcp-servers/__placeholder__/__placeholder__.html +1 -1
  177. package/console/library/mcp-servers/__placeholder__/__placeholder__.txt +34 -36
  178. package/console/library/mcp-servers/new/__next._full.txt +38 -37
  179. package/console/library/mcp-servers/new/__next._head.txt +4 -4
  180. package/console/library/mcp-servers/new/__next._index.txt +13 -15
  181. package/console/library/mcp-servers/new/__next._tree.txt +2 -2
  182. package/console/library/mcp-servers/new/__next.library.mcp-servers.new.__PAGE__.txt +4 -4
  183. package/console/library/mcp-servers/new/__next.library.mcp-servers.new.txt +3 -3
  184. package/console/library/mcp-servers/new/__next.library.mcp-servers.txt +3 -3
  185. package/console/library/mcp-servers/new/__next.library.txt +5 -5
  186. package/console/library/mcp-servers/new.html +1 -1
  187. package/console/library/mcp-servers/new.txt +38 -37
  188. package/console/library/mcp-servers.html +1 -1
  189. package/console/library/mcp-servers.txt +34 -33
  190. package/console/library/plugins/__next._full.txt +34 -33
  191. package/console/library/plugins/__next._head.txt +4 -4
  192. package/console/library/plugins/__next._index.txt +13 -15
  193. package/console/library/plugins/__next._tree.txt +2 -2
  194. package/console/library/plugins/__next.library.plugins.__PAGE__.txt +3 -3
  195. package/console/library/plugins/__next.library.plugins.txt +3 -3
  196. package/console/library/plugins/__next.library.txt +5 -5
  197. package/console/library/plugins/__placeholder__/__placeholder__/__next._full.txt +34 -36
  198. package/console/library/plugins/__placeholder__/__placeholder__/__next._head.txt +4 -4
  199. package/console/library/plugins/__placeholder__/__placeholder__/__next._index.txt +13 -15
  200. package/console/library/plugins/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  201. package/console/library/plugins/__placeholder__/__placeholder__/__next.library.plugins.$d$org.$d$slug.__PAGE__.txt +3 -3
  202. package/console/library/plugins/__placeholder__/__placeholder__/__next.library.plugins.$d$org.$d$slug.txt +3 -3
  203. package/console/library/plugins/__placeholder__/__placeholder__/__next.library.plugins.$d$org.txt +3 -3
  204. package/console/library/plugins/__placeholder__/__placeholder__/__next.library.plugins.txt +3 -3
  205. package/console/library/plugins/__placeholder__/__placeholder__/__next.library.txt +5 -5
  206. package/console/library/plugins/__placeholder__/__placeholder__.html +1 -1
  207. package/console/library/plugins/__placeholder__/__placeholder__.txt +34 -36
  208. package/console/library/plugins/upload/__next._full.txt +38 -37
  209. package/console/library/plugins/upload/__next._head.txt +4 -4
  210. package/console/library/plugins/upload/__next._index.txt +13 -15
  211. package/console/library/plugins/upload/__next._tree.txt +2 -2
  212. package/console/library/plugins/upload/__next.library.plugins.txt +3 -3
  213. package/console/library/plugins/upload/__next.library.plugins.upload.__PAGE__.txt +4 -4
  214. package/console/library/plugins/upload/__next.library.plugins.upload.txt +3 -3
  215. package/console/library/plugins/upload/__next.library.txt +5 -5
  216. package/console/library/plugins/upload.html +1 -1
  217. package/console/library/plugins/upload.txt +38 -37
  218. package/console/library/plugins.html +1 -1
  219. package/console/library/plugins.txt +34 -33
  220. package/console/library/schedules/__next._full.txt +34 -33
  221. package/console/library/schedules/__next._head.txt +4 -4
  222. package/console/library/schedules/__next._index.txt +13 -15
  223. package/console/library/schedules/__next._tree.txt +2 -2
  224. package/console/library/schedules/__next.library.schedules.__PAGE__.txt +3 -3
  225. package/console/library/schedules/__next.library.schedules.txt +3 -3
  226. package/console/library/schedules/__next.library.txt +5 -5
  227. package/console/library/schedules/__placeholder__/__placeholder__/__next._full.txt +34 -36
  228. package/console/library/schedules/__placeholder__/__placeholder__/__next._head.txt +4 -4
  229. package/console/library/schedules/__placeholder__/__placeholder__/__next._index.txt +13 -15
  230. package/console/library/schedules/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  231. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.__PAGE__.txt +3 -3
  232. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.txt +3 -3
  233. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.txt +3 -3
  234. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.txt +3 -3
  235. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.txt +5 -5
  236. package/console/library/schedules/__placeholder__/__placeholder__.html +1 -1
  237. package/console/library/schedules/__placeholder__/__placeholder__.txt +34 -36
  238. package/console/library/schedules/new/__next._full.txt +38 -37
  239. package/console/library/schedules/new/__next._head.txt +4 -4
  240. package/console/library/schedules/new/__next._index.txt +13 -15
  241. package/console/library/schedules/new/__next._tree.txt +2 -2
  242. package/console/library/schedules/new/__next.library.schedules.new.__PAGE__.txt +4 -4
  243. package/console/library/schedules/new/__next.library.schedules.new.txt +3 -3
  244. package/console/library/schedules/new/__next.library.schedules.txt +3 -3
  245. package/console/library/schedules/new/__next.library.txt +5 -5
  246. package/console/library/schedules/new.html +1 -1
  247. package/console/library/schedules/new.txt +38 -37
  248. package/console/library/schedules.html +1 -1
  249. package/console/library/schedules.txt +34 -33
  250. package/console/library/skills/__next._full.txt +34 -33
  251. package/console/library/skills/__next._head.txt +4 -4
  252. package/console/library/skills/__next._index.txt +13 -15
  253. package/console/library/skills/__next._tree.txt +2 -2
  254. package/console/library/skills/__next.library.skills.__PAGE__.txt +3 -3
  255. package/console/library/skills/__next.library.skills.txt +3 -3
  256. package/console/library/skills/__next.library.txt +5 -5
  257. package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +34 -36
  258. package/console/library/skills/__placeholder__/__placeholder__/__next._head.txt +4 -4
  259. package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +13 -15
  260. package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  261. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +3 -3
  262. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.txt +3 -3
  263. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.txt +3 -3
  264. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.txt +3 -3
  265. package/console/library/skills/__placeholder__/__placeholder__/__next.library.txt +5 -5
  266. package/console/library/skills/__placeholder__/__placeholder__.html +1 -1
  267. package/console/library/skills/__placeholder__/__placeholder__.txt +34 -36
  268. package/console/library/skills/new/__next._full.txt +38 -37
  269. package/console/library/skills/new/__next._head.txt +4 -4
  270. package/console/library/skills/new/__next._index.txt +13 -15
  271. package/console/library/skills/new/__next._tree.txt +2 -2
  272. package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +4 -4
  273. package/console/library/skills/new/__next.library.skills.new.txt +3 -3
  274. package/console/library/skills/new/__next.library.skills.txt +3 -3
  275. package/console/library/skills/new/__next.library.txt +5 -5
  276. package/console/library/skills/new.html +1 -1
  277. package/console/library/skills/new.txt +38 -37
  278. package/console/library/skills.html +1 -1
  279. package/console/library/skills.txt +34 -33
  280. package/console/library/workflows/__next._full.txt +34 -33
  281. package/console/library/workflows/__next._head.txt +4 -4
  282. package/console/library/workflows/__next._index.txt +13 -15
  283. package/console/library/workflows/__next._tree.txt +2 -2
  284. package/console/library/workflows/__next.library.txt +5 -5
  285. package/console/library/workflows/__next.library.workflows.__PAGE__.txt +3 -3
  286. package/console/library/workflows/__next.library.workflows.txt +3 -3
  287. package/console/library/workflows/__placeholder__/__placeholder__/__next._full.txt +34 -36
  288. package/console/library/workflows/__placeholder__/__placeholder__/__next._head.txt +4 -4
  289. package/console/library/workflows/__placeholder__/__placeholder__/__next._index.txt +13 -15
  290. package/console/library/workflows/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  291. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.txt +5 -5
  292. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.__PAGE__.txt +3 -3
  293. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.txt +3 -3
  294. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.txt +3 -3
  295. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.txt +3 -3
  296. package/console/library/workflows/__placeholder__/__placeholder__.html +1 -1
  297. package/console/library/workflows/__placeholder__/__placeholder__.txt +34 -36
  298. package/console/library/workflows/executions/__next._full.txt +35 -34
  299. package/console/library/workflows/executions/__next._head.txt +4 -4
  300. package/console/library/workflows/executions/__next._index.txt +13 -15
  301. package/console/library/workflows/executions/__next._tree.txt +2 -2
  302. package/console/library/workflows/executions/__next.library.txt +5 -5
  303. package/console/library/workflows/executions/__next.library.workflows.executions.__PAGE__.txt +3 -3
  304. package/console/library/workflows/executions/__next.library.workflows.executions.txt +3 -3
  305. package/console/library/workflows/executions/__next.library.workflows.txt +3 -3
  306. package/console/library/workflows/executions.html +1 -1
  307. package/console/library/workflows/executions.txt +35 -34
  308. package/console/library/workflows/new/__next._full.txt +38 -37
  309. package/console/library/workflows/new/__next._head.txt +4 -4
  310. package/console/library/workflows/new/__next._index.txt +13 -15
  311. package/console/library/workflows/new/__next._tree.txt +2 -2
  312. package/console/library/workflows/new/__next.library.txt +5 -5
  313. package/console/library/workflows/new/__next.library.workflows.new.__PAGE__.txt +4 -4
  314. package/console/library/workflows/new/__next.library.workflows.new.txt +3 -3
  315. package/console/library/workflows/new/__next.library.workflows.txt +3 -3
  316. package/console/library/workflows/new.html +1 -1
  317. package/console/library/workflows/new.txt +38 -37
  318. package/console/library/workflows.html +1 -1
  319. package/console/library/workflows.txt +34 -33
  320. package/console/library.html +1 -1
  321. package/console/library.txt +29 -28
  322. package/console/login/__next._full.txt +31 -30
  323. package/console/login/__next._head.txt +4 -4
  324. package/console/login/__next._index.txt +13 -15
  325. package/console/login/__next._tree.txt +2 -2
  326. package/console/login/__next.login.__PAGE__.txt +4 -4
  327. package/console/login/__next.login.txt +3 -3
  328. package/console/login.html +1 -1
  329. package/console/login.txt +31 -30
  330. package/console/marketplace/__next._full.txt +28 -27
  331. package/console/marketplace/__next._head.txt +4 -4
  332. package/console/marketplace/__next._index.txt +13 -15
  333. package/console/marketplace/__next._tree.txt +2 -2
  334. package/console/marketplace/__next.marketplace.__PAGE__.txt +3 -3
  335. package/console/marketplace/__next.marketplace.txt +3 -3
  336. package/console/marketplace.html +1 -1
  337. package/console/marketplace.txt +28 -27
  338. package/console/oauth/slack/callback/__next._full.txt +35 -34
  339. package/console/oauth/slack/callback/__next._head.txt +4 -4
  340. package/console/oauth/slack/callback/__next._index.txt +13 -15
  341. package/console/oauth/slack/callback/__next._tree.txt +2 -2
  342. package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +4 -4
  343. package/console/oauth/slack/callback/__next.oauth.slack.callback.txt +3 -3
  344. package/console/oauth/slack/callback/__next.oauth.slack.txt +3 -3
  345. package/console/oauth/slack/callback/__next.oauth.txt +3 -3
  346. package/console/oauth/slack/callback.html +1 -1
  347. package/console/oauth/slack/callback.txt +35 -34
  348. package/console/sessions/__placeholder__/__next._full.txt +30 -29
  349. package/console/sessions/__placeholder__/__next._head.txt +4 -4
  350. package/console/sessions/__placeholder__/__next._index.txt +13 -15
  351. package/console/sessions/__placeholder__/__next._tree.txt +2 -2
  352. package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +2 -2
  353. package/console/sessions/__placeholder__/__next.sessions.$d$id.txt +3 -3
  354. package/console/sessions/__placeholder__/__next.sessions.txt +3 -3
  355. package/console/sessions/__placeholder__.html +1 -1
  356. package/console/sessions/__placeholder__.txt +30 -29
  357. package/console/settings/__next._full.txt +31 -30
  358. package/console/settings/__next._head.txt +4 -4
  359. package/console/settings/__next._index.txt +13 -15
  360. package/console/settings/__next._tree.txt +2 -2
  361. package/console/settings/__next.settings.__PAGE__.txt +4 -4
  362. package/console/settings/__next.settings.txt +5 -5
  363. package/console/settings/account-preferences/__next._full.txt +33 -32
  364. package/console/settings/account-preferences/__next._head.txt +4 -4
  365. package/console/settings/account-preferences/__next._index.txt +13 -15
  366. package/console/settings/account-preferences/__next._tree.txt +2 -2
  367. package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +3 -3
  368. package/console/settings/account-preferences/__next.settings.account-preferences.txt +3 -3
  369. package/console/settings/account-preferences/__next.settings.txt +5 -5
  370. package/console/settings/account-preferences.html +1 -1
  371. package/console/settings/account-preferences.txt +33 -32
  372. package/console/settings/api-keys/__next._full.txt +33 -32
  373. package/console/settings/api-keys/__next._head.txt +4 -4
  374. package/console/settings/api-keys/__next._index.txt +13 -15
  375. package/console/settings/api-keys/__next._tree.txt +2 -2
  376. package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +3 -3
  377. package/console/settings/api-keys/__next.settings.api-keys.txt +3 -3
  378. package/console/settings/api-keys/__next.settings.txt +5 -5
  379. package/console/settings/api-keys.html +1 -1
  380. package/console/settings/api-keys.txt +33 -32
  381. package/console/settings/billing/__next._full.txt +36 -35
  382. package/console/settings/billing/__next._head.txt +4 -4
  383. package/console/settings/billing/__next._index.txt +13 -15
  384. package/console/settings/billing/__next._tree.txt +2 -2
  385. package/console/settings/billing/__next.settings.billing.__PAGE__.txt +4 -4
  386. package/console/settings/billing/__next.settings.billing.txt +3 -3
  387. package/console/settings/billing/__next.settings.txt +5 -5
  388. package/console/settings/billing.html +1 -1
  389. package/console/settings/billing.txt +36 -35
  390. package/console/settings/channel-apps/__next._full.txt +33 -32
  391. package/console/settings/channel-apps/__next._head.txt +4 -4
  392. package/console/settings/channel-apps/__next._index.txt +13 -15
  393. package/console/settings/channel-apps/__next._tree.txt +2 -2
  394. package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +3 -3
  395. package/console/settings/channel-apps/__next.settings.channel-apps.txt +3 -3
  396. package/console/settings/channel-apps/__next.settings.txt +5 -5
  397. package/console/settings/channel-apps.html +1 -1
  398. package/console/settings/channel-apps.txt +33 -32
  399. package/console/settings/cursor-accounts/__next._full.txt +36 -35
  400. package/console/settings/cursor-accounts/__next._head.txt +4 -4
  401. package/console/settings/cursor-accounts/__next._index.txt +13 -15
  402. package/console/settings/cursor-accounts/__next._tree.txt +2 -2
  403. package/console/settings/cursor-accounts/__next.settings.cursor-accounts.__PAGE__.txt +4 -4
  404. package/console/settings/cursor-accounts/__next.settings.cursor-accounts.txt +3 -3
  405. package/console/settings/cursor-accounts/__next.settings.txt +5 -5
  406. package/console/settings/cursor-accounts.html +1 -1
  407. package/console/settings/cursor-accounts.txt +36 -35
  408. package/console/settings/environments/__next._full.txt +33 -32
  409. package/console/settings/environments/__next._head.txt +4 -4
  410. package/console/settings/environments/__next._index.txt +13 -15
  411. package/console/settings/environments/__next._tree.txt +2 -2
  412. package/console/settings/environments/__next.settings.environments.__PAGE__.txt +3 -3
  413. package/console/settings/environments/__next.settings.environments.txt +3 -3
  414. package/console/settings/environments/__next.settings.txt +5 -5
  415. package/console/settings/environments.html +1 -1
  416. package/console/settings/environments.txt +33 -32
  417. package/console/settings/identity-providers/__next._full.txt +33 -32
  418. package/console/settings/identity-providers/__next._head.txt +4 -4
  419. package/console/settings/identity-providers/__next._index.txt +13 -15
  420. package/console/settings/identity-providers/__next._tree.txt +2 -2
  421. package/console/settings/identity-providers/__next.settings.identity-providers.__PAGE__.txt +3 -3
  422. package/console/settings/identity-providers/__next.settings.identity-providers.txt +3 -3
  423. package/console/settings/identity-providers/__next.settings.txt +5 -5
  424. package/console/settings/identity-providers.html +1 -1
  425. package/console/settings/identity-providers.txt +33 -32
  426. package/console/settings/invitations/__next._full.txt +33 -32
  427. package/console/settings/invitations/__next._head.txt +4 -4
  428. package/console/settings/invitations/__next._index.txt +13 -15
  429. package/console/settings/invitations/__next._tree.txt +2 -2
  430. package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +3 -3
  431. package/console/settings/invitations/__next.settings.invitations.txt +3 -3
  432. package/console/settings/invitations/__next.settings.txt +5 -5
  433. package/console/settings/invitations.html +1 -1
  434. package/console/settings/invitations.txt +33 -32
  435. package/console/settings/members/__next._full.txt +33 -32
  436. package/console/settings/members/__next._head.txt +4 -4
  437. package/console/settings/members/__next._index.txt +13 -15
  438. package/console/settings/members/__next._tree.txt +2 -2
  439. package/console/settings/members/__next.settings.members.__PAGE__.txt +3 -3
  440. package/console/settings/members/__next.settings.members.txt +3 -3
  441. package/console/settings/members/__next.settings.txt +5 -5
  442. package/console/settings/members.html +1 -1
  443. package/console/settings/members.txt +33 -32
  444. package/console/settings/memory/__next._full.txt +33 -32
  445. package/console/settings/memory/__next._head.txt +4 -4
  446. package/console/settings/memory/__next._index.txt +13 -15
  447. package/console/settings/memory/__next._tree.txt +2 -2
  448. package/console/settings/memory/__next.settings.memory.__PAGE__.txt +3 -3
  449. package/console/settings/memory/__next.settings.memory.txt +3 -3
  450. package/console/settings/memory/__next.settings.txt +5 -5
  451. package/console/settings/memory.html +1 -1
  452. package/console/settings/memory.txt +33 -32
  453. package/console/settings/oauth-apps/__next._full.txt +33 -32
  454. package/console/settings/oauth-apps/__next._head.txt +4 -4
  455. package/console/settings/oauth-apps/__next._index.txt +13 -15
  456. package/console/settings/oauth-apps/__next._tree.txt +2 -2
  457. package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +3 -3
  458. package/console/settings/oauth-apps/__next.settings.oauth-apps.txt +3 -3
  459. package/console/settings/oauth-apps/__next.settings.txt +5 -5
  460. package/console/settings/oauth-apps.html +1 -1
  461. package/console/settings/oauth-apps.txt +33 -32
  462. package/console/settings/org-preferences/__next._full.txt +33 -32
  463. package/console/settings/org-preferences/__next._head.txt +4 -4
  464. package/console/settings/org-preferences/__next._index.txt +13 -15
  465. package/console/settings/org-preferences/__next._tree.txt +2 -2
  466. package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +3 -3
  467. package/console/settings/org-preferences/__next.settings.org-preferences.txt +3 -3
  468. package/console/settings/org-preferences/__next.settings.txt +5 -5
  469. package/console/settings/org-preferences.html +1 -1
  470. package/console/settings/org-preferences.txt +33 -32
  471. package/console/settings/org-profile/__next._full.txt +33 -32
  472. package/console/settings/org-profile/__next._head.txt +4 -4
  473. package/console/settings/org-profile/__next._index.txt +13 -15
  474. package/console/settings/org-profile/__next._tree.txt +2 -2
  475. package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +3 -3
  476. package/console/settings/org-profile/__next.settings.org-profile.txt +3 -3
  477. package/console/settings/org-profile/__next.settings.txt +5 -5
  478. package/console/settings/org-profile.html +1 -1
  479. package/console/settings/org-profile.txt +33 -32
  480. package/console/settings/platform-clients/__next._full.txt +33 -32
  481. package/console/settings/platform-clients/__next._head.txt +4 -4
  482. package/console/settings/platform-clients/__next._index.txt +13 -15
  483. package/console/settings/platform-clients/__next._tree.txt +2 -2
  484. package/console/settings/platform-clients/__next.settings.platform-clients.__PAGE__.txt +3 -3
  485. package/console/settings/platform-clients/__next.settings.platform-clients.txt +3 -3
  486. package/console/settings/platform-clients/__next.settings.txt +5 -5
  487. package/console/settings/platform-clients.html +1 -1
  488. package/console/settings/platform-clients.txt +33 -32
  489. package/console/settings/pricing-governance/__next._full.txt +36 -35
  490. package/console/settings/pricing-governance/__next._head.txt +4 -4
  491. package/console/settings/pricing-governance/__next._index.txt +13 -15
  492. package/console/settings/pricing-governance/__next._tree.txt +2 -2
  493. package/console/settings/pricing-governance/__next.settings.pricing-governance.__PAGE__.txt +4 -4
  494. package/console/settings/pricing-governance/__next.settings.pricing-governance.txt +3 -3
  495. package/console/settings/pricing-governance/__next.settings.txt +5 -5
  496. package/console/settings/pricing-governance.html +1 -1
  497. package/console/settings/pricing-governance.txt +36 -35
  498. package/console/settings/provider-standing/__next._full.txt +36 -35
  499. package/console/settings/provider-standing/__next._head.txt +4 -4
  500. package/console/settings/provider-standing/__next._index.txt +13 -15
  501. package/console/settings/provider-standing/__next._tree.txt +2 -2
  502. package/console/settings/provider-standing/__next.settings.provider-standing.__PAGE__.txt +4 -4
  503. package/console/settings/provider-standing/__next.settings.provider-standing.txt +3 -3
  504. package/console/settings/provider-standing/__next.settings.txt +5 -5
  505. package/console/settings/provider-standing.html +1 -1
  506. package/console/settings/provider-standing.txt +36 -35
  507. package/console/settings/usage/__next._full.txt +33 -32
  508. package/console/settings/usage/__next._head.txt +4 -4
  509. package/console/settings/usage/__next._index.txt +13 -15
  510. package/console/settings/usage/__next._tree.txt +2 -2
  511. package/console/settings/usage/__next.settings.txt +5 -5
  512. package/console/settings/usage/__next.settings.usage.__PAGE__.txt +3 -3
  513. package/console/settings/usage/__next.settings.usage.txt +3 -3
  514. package/console/settings/usage.html +1 -1
  515. package/console/settings/usage.txt +33 -32
  516. package/console/settings.html +1 -1
  517. package/console/settings.txt +31 -30
  518. package/console/workflows/__next._full.txt +28 -27
  519. package/console/workflows/__next._head.txt +4 -4
  520. package/console/workflows/__next._index.txt +13 -15
  521. package/console/workflows/__next._tree.txt +2 -2
  522. package/console/workflows/__next.workflows.__PAGE__.txt +2 -2
  523. package/console/workflows/__next.workflows.txt +3 -3
  524. package/console/workflows/__placeholder__/__placeholder__/__next._full.txt +30 -32
  525. package/console/workflows/__placeholder__/__placeholder__/__next._head.txt +4 -4
  526. package/console/workflows/__placeholder__/__placeholder__/__next._index.txt +13 -15
  527. package/console/workflows/__placeholder__/__placeholder__/__next._tree.txt +2 -2
  528. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.__PAGE__.txt +3 -3
  529. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.txt +3 -3
  530. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.txt +3 -3
  531. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.txt +3 -3
  532. package/console/workflows/__placeholder__/__placeholder__.html +1 -1
  533. package/console/workflows/__placeholder__/__placeholder__.txt +30 -32
  534. package/console/workflows/executions/__next._full.txt +31 -30
  535. package/console/workflows/executions/__next._head.txt +4 -4
  536. package/console/workflows/executions/__next._index.txt +13 -15
  537. package/console/workflows/executions/__next._tree.txt +2 -2
  538. package/console/workflows/executions/__next.workflows.executions.__PAGE__.txt +2 -2
  539. package/console/workflows/executions/__next.workflows.executions.txt +3 -3
  540. package/console/workflows/executions/__next.workflows.txt +3 -3
  541. package/console/workflows/executions/__placeholder__/__next._full.txt +30 -31
  542. package/console/workflows/executions/__placeholder__/__next._head.txt +4 -4
  543. package/console/workflows/executions/__placeholder__/__next._index.txt +13 -15
  544. package/console/workflows/executions/__placeholder__/__next._tree.txt +2 -2
  545. package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.__PAGE__.txt +3 -3
  546. package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.txt +3 -3
  547. package/console/workflows/executions/__placeholder__/__next.workflows.executions.txt +3 -3
  548. package/console/workflows/executions/__placeholder__/__next.workflows.txt +3 -3
  549. package/console/workflows/executions/__placeholder__.html +1 -1
  550. package/console/workflows/executions/__placeholder__.txt +30 -31
  551. package/console/workflows/executions.html +1 -1
  552. package/console/workflows/executions.txt +31 -30
  553. package/console/workflows.html +1 -1
  554. package/console/workflows.txt +28 -27
  555. package/main.js +21 -21
  556. package/package.json +6 -6
  557. package/console/_next/static/chunks/0-3vl848v~x7_.js +0 -1
  558. package/console/_next/static/chunks/0.ocu5b3uajbn.js +0 -1
  559. package/console/_next/static/chunks/00609po93aecc.js +0 -1
  560. package/console/_next/static/chunks/00o8ud2dmna2j.js +0 -1
  561. package/console/_next/static/chunks/02fsq8lsaeu8j.js +0 -1
  562. package/console/_next/static/chunks/071fdr3kvata1.js +0 -1
  563. package/console/_next/static/chunks/0_3utrn1at0vi.js +0 -1
  564. package/console/_next/static/chunks/0_j8~rfb.1ufy.js +0 -1
  565. package/console/_next/static/chunks/0amugang-25bm.js +0 -1
  566. package/console/_next/static/chunks/0c7llz2igr3w7.js +0 -1
  567. package/console/_next/static/chunks/0dtrm.qvfku1r.js +0 -3
  568. package/console/_next/static/chunks/0e7jd8wufwnu2.js +0 -1
  569. package/console/_next/static/chunks/0fgcvnc-b_oz_.js +0 -1
  570. package/console/_next/static/chunks/0g4-6iy.9p8sl.js +0 -1
  571. package/console/_next/static/chunks/0gz8yljnjzsmu.js +0 -1
  572. package/console/_next/static/chunks/0j~6628v9z3k-.js +0 -1
  573. package/console/_next/static/chunks/0og40-yo-nth-.js +0 -1
  574. package/console/_next/static/chunks/0rob~86j~8vge.js +0 -1
  575. package/console/_next/static/chunks/0s6bm1sujua~8.css +0 -1
  576. package/console/_next/static/chunks/0xq42ojv80jqz.js +0 -1
  577. package/console/_next/static/chunks/0xs_3fux3hsk3.js +0 -2
  578. package/console/_next/static/chunks/12329wyw7127c.js +0 -1
  579. /package/console/_next/static/{0d4BawxHa-jMy4WgCDP1P → -SJovNiHfwazArKzyL7X6}/_buildManifest.js +0 -0
  580. /package/console/_next/static/{0d4BawxHa-jMy4WgCDP1P → -SJovNiHfwazArKzyL7X6}/_clientMiddlewareManifest.js +0 -0
  581. /package/console/_next/static/{0d4BawxHa-jMy4WgCDP1P → -SJovNiHfwazArKzyL7X6}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,521557,e=>{"use strict";e.s(["isUnimplemented",0,function(e){if(!e||"object"!=typeof e)return!1;if("connectCode"in e&&12===e.connectCode)return!0;let t=e.message??"";return t.includes("[unimplemented]")||t.includes("UNIMPLEMENTED")}])},484763,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(981922),i=e.i(213149);e.s(["useManageAccess",0,function({resource:e,visibility:n,extraSection:a,label:l="Manage access"}){let[o,g]=(0,s.useState)(!1),{allowed:d}=(0,r.useCheckPermission)(e?{kind:e.kindString,id:e.id}:null,"can_view_access"),c=(0,s.useCallback)(()=>g(!0),[]);return{action:e&&d?{id:"manage-access",label:l,group:"sharing",onAction:c}:null,dialog:e?(0,t.jsx)(i.ManageAccessDialog,{open:o,onOpenChange:g,resource:e,visibility:n,extraSection:a}):null,open:c,isOpen:o}}])},141249,e=>{"use strict";var t=e.i(843476);e.s(["PluginIcon",0,function({className:e}){return(0,t.jsx)("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:"M6 2.5a1.5 1.5 0 0 1 3 0V4h2.5A1.5 1.5 0 0 1 13 5.5V8h-1.5a1.5 1.5 0 0 0 0 3H13v2.5a1.5 1.5 0 0 1-1.5 1.5H9v-1.5a1.5 1.5 0 0 0-3 0V15H3.5A1.5 1.5 0 0 1 2 13.5V11h1.5a1.5 1.5 0 0 0 0-3H2V5.5A1.5 1.5 0 0 1 3.5 4H6V2.5Z"})})}])},292420,473489,e=>{"use strict";var t=e.i(843476),s=e.i(893976),r=e.i(141249);e.s(["ManagedByPluginNotice",0,function({plugin:e,onPluginClick:i,className:n}){if(null===e)return null;let a=e.metadata,l=a?.name||a?.slug||"a plugin",o=a?{org:a.org,slug:a.slug}:null;return(0,t.jsxs)("div",{role:"note",className:(0,s.cn)("stg:flex stg:items-start stg:gap-2 stg:rounded-md stg:border stg:border-border stg:bg-muted stg:px-3 stg:py-2 stg:text-sm stg:text-foreground",n),children:[(0,t.jsx)(r.PluginIcon,{className:"stg:mt-0.5 stg:size-4 stg:shrink-0 stg:text-muted-foreground"}),(0,t.jsxs)("p",{children:["Installed by the plugin"," ",i&&o?(0,t.jsx)("button",{type:"button",onClick:()=>i(o),className:"stg:cursor-pointer stg:font-medium stg:underline stg:decoration-dotted stg:underline-offset-2 stg:hover:text-primary",children:l}):(0,t.jsx)("span",{className:"stg:font-medium",children:l}),". To change it, change the plugin and push it again; to customise, compose your own agent over its skills and servers."]})]})}],292420);var i=e.i(271645),n=e.i(910304),a=e.i(586108),l=e.i(583093);e.s(["useManagingPlugin",0,function(e){let t=(0,a.useStigmer)(),s=e?.["stigmer.ai/plugin"]??null,{data:r,isLoading:o}=(0,l.useFetch)(s?async()=>{try{return await t.plugin.get(s)}catch(e){if((0,n.isNotFound)(e))return null;throw e}}:null,[s,t],null);return(0,i.useMemo)(()=>({plugin:r,isLoading:o}),[r,o])}],473489)},244990,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(893976);function i({className:e}){return(0,t.jsx)("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:"M11.5 1.5a2.121 2.121 0 0 1 3 3L5 14l-4 1 1-4Z"})})}function n({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 3.5 3.5 6.5-8"})})}function a({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:"m4 4 8 8M12 4l-8 8"})})}function l(){return(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"stg:animate-spin","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 2a6 6 0 1 0 6 6"})})}e.s(["InlineEditText",0,function({value:e,onSave:o,placeholder:g="Click to edit",validate:d,variant:c="default",disabled:u,isSaving:m,error:f,className:x}){let[h,p]=(0,s.useState)(!1),[b,v]=(0,s.useState)(e),[j,N]=(0,s.useState)(null),y=(0,s.useRef)(null);(0,s.useEffect)(()=>{h&&(v(e),N(null),requestAnimationFrame(()=>y.current?.focus()))},[h,e]);let k=(0,s.useCallback)(async()=>{let t=b.trim();if(t===e)return void p(!1);if(d){let e=d(t);if(e)return void N(e)}await o(t)&&p(!1)},[b,e,d,o]),w=(0,s.useCallback)(()=>{p(!1),v(e),N(null)},[e]),S=(0,s.useCallback)(e=>{"Enter"===e.key?(e.preventDefault(),k()):"Escape"===e.key&&w()},[k,w]),C=j||f;return u||!h?(0,t.jsx)("div",{className:(0,r.cn)("stg:group/inline-edit",x),children:(0,t.jsxs)("button",{type:"button",onClick:()=>{u||p(!0)},disabled:u,className:(0,r.cn)("stg:inline-flex stg:w-full stg:items-center stg:gap-1.5 stg:rounded-md stg:px-1.5 stg:py-0.5 stg:text-left stg:transition-colors",!u&&"stg:hover:bg-accent-hover stg:cursor-pointer",u&&"stg:cursor-default","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-inset stg:focus-visible:ring-ring"),children:[(0,t.jsx)("span",{className:(0,r.cn)("stg:min-w-0 stg:truncate","heading"===c?"stg:text-lg stg:font-semibold stg:text-foreground":"stg:text-sm stg:text-foreground",!e&&"stg:text-muted-foreground stg:italic"),children:e||g}),!u&&(0,t.jsx)(i,{className:"stg:size-3 stg:shrink-0 stg:text-muted-foreground stg:opacity-0 stg:transition-opacity stg:group-hover/inline-edit:opacity-100"})]})}):(0,t.jsxs)("div",{className:(0,r.cn)("stg:flex stg:flex-col stg:gap-1",x),children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsx)("input",{ref:y,type:"text",value:b,onChange:e=>{v(e.target.value),N(null)},onKeyDown:S,disabled:m,placeholder:g,className:(0,r.cn)("stg:flex-1 stg:rounded-md stg:border stg:border-border stg:bg-input-bg stg:px-2 stg:py-1 stg:text-sm stg:text-foreground","stg:focus:outline-none stg:focus:ring-2 stg:focus:ring-ring","stg:disabled:opacity-50","heading"===c&&"stg:text-lg stg:font-semibold",C&&"stg:border-destructive")}),(0,t.jsx)("button",{type:"button",onClick:k,disabled:m,"aria-label":"Save",className:(0,r.cn)("stg:inline-flex stg:size-7 stg:items-center stg:justify-center stg:rounded-md","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:opacity-50","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:m?(0,t.jsx)(l,{}):(0,t.jsx)(n,{className:"stg:size-3.5"})}),(0,t.jsx)("button",{type:"button",onClick:w,disabled:m,"aria-label":"Cancel",className:(0,r.cn)("stg:inline-flex stg:size-7 stg:items-center stg:justify-center stg:rounded-md","stg:border stg:border-border stg:bg-background stg:text-foreground stg:hover:bg-accent stg:hover:text-accent-foreground","stg:disabled:opacity-50","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:(0,t.jsx)(a,{className:"stg:size-3.5"})})]}),C&&(0,t.jsx)("p",{className:"stg:px-1 stg:text-xs stg:text-destructive",role:"alert",children:C})]})}])},949037,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(618566),i=e.i(918789),n=e.i(893976),a=e.i(17616),l=e.i(579342),o=e.i(170255),g=e.i(910304),d=e.i(586108),c=e.i(583093),u=e.i(869803),m=e.i(61855),f=e.i(469196),x=e.i(536907),h=e.i(326283),p=e.i(891287),b=e.i(217516);async function v(t,s){let r=await j(t,s),{unzipSync:i,strFromU8:n}=await e.A(180067),a=Object.entries(i(r)),l=a.map(([e,t])=>({path:e,size:t.length,isDirectory:0===t.length&&e.endsWith("/")})),o=new Map;for(let[e,t]of a)if(!e.endsWith("/"))try{o.set(e,n(t))}catch{o.set(e,"[Binary content]")}return{files:l,contentMap:o}}async function j(e,t){let s,r=(0,p.create)(b.GetArtifactRequestSchema,{artifactStorageKey:t});try{s=await e.skill.getArtifactDownloadUrl(r)}catch(t){if((0,g.isUnimplemented)(t))return(await e.skill.getArtifact(r)).artifact;throw t}try{let t=e.fetch??globalThis.fetch,r=await t(s.url);if(!r.ok)throw Error(`artifact download failed with HTTP ${r.status}`);return new Uint8Array(await r.arrayBuffer())}catch(t){return console.warn("[stigmer] skill artifact download URL fetch failed (bucket CORS not provisioned for this origin?) — falling back to the unary lane",t),(await e.skill.getArtifact(r)).artifact}}function N({artifactStorageKey:e,className:r}){let{files:i,isLoading:a,error:l,getFileContent:o}=function(e){let t=(0,d.useStigmer)(),[r,i]=(0,s.useState)(null),[n,a]=(0,s.useState)(new Map),[l,o]=(0,s.useState)(!1),[g,c]=(0,s.useState)(null),u=(0,s.useRef)(0),m=(0,s.useCallback)(async()=>{if(!e){i(null),a(new Map),c(null);return}let s=++u.current;o(!0),c(null);try{let r=await v(t,e);if(u.current!==s)return;a(r.contentMap),i(r.files)}catch(e){if(u.current!==s)return;c((0,h.toError)(e)),i(null),a(new Map)}finally{u.current===s&&o(!1)}},[e,t]);(0,s.useEffect)(()=>{m()},[m]);let f=(0,s.useCallback)(e=>n.get(e)??null,[n]),x=(0,s.useCallback)(()=>{m()},[m]);return(0,s.useMemo)(()=>({files:r,isLoading:l,error:g,getFileContent:f,refetch:x}),[r,l,g,f,x])}(e),[g,c]=(0,s.useState)(null),m=(0,s.useMemo)(()=>i?i.filter(e=>!e.isDirectory):[],[i]),p=(0,s.useMemo)(()=>(0,f.buildFileTree)(m),[m]),b=(0,s.useMemo)(()=>{if(m.some(e=>"SKILL.md"===e.path))return"SKILL.md";let e=[...m].sort((e,t)=>e.path.localeCompare(t.path));return e[0]?.path??null},[m]),j=g??b,k=null!==j?o(j):null;return e?a?(0,t.jsxs)("div",{className:(0,n.cn)("stg:rounded-lg stg:border stg:border-border",r),"aria-busy":"true","aria-label":"Loading skill package files",children:[(0,t.jsx)("div",{className:"stg:p-4",children:(0,t.jsx)("div",{className:"stg:h-3 stg:w-32 stg:animate-pulse stg:rounded stg:bg-muted"})}),(0,t.jsxs)("div",{className:"stg:grid stg:grid-cols-1 stg:md:grid-cols-[200px_1fr] stg:border-t stg:border-border",children:[(0,t.jsx)("div",{className:"stg:space-y-2 stg:p-3 stg:border-b stg:md:border-b-0 stg:md:border-r stg:border-border",children:[1,2,3].map(e=>(0,t.jsx)("div",{className:"stg:h-4 stg:w-full stg:animate-pulse stg:rounded stg:bg-muted"},e))}),(0,t.jsx)("div",{className:"stg:p-4",children:(0,t.jsxs)("div",{className:"stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-3/4 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-1/2 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-2/3 stg:animate-pulse stg:rounded stg:bg-muted"})]})})]})]}):l?(0,t.jsx)("div",{className:(0,n.cn)("stg:rounded-lg stg:border stg:border-border stg:p-4",r),children:(0,t.jsxs)("p",{className:"stg:text-sm stg:text-destructive",children:["Failed to load skill package: ",l.message]})}):i&&0!==i.length?(0,t.jsxs)("div",{className:(0,n.cn)("stg:rounded-lg stg:border stg:border-border stg:overflow-hidden",r),children:[(0,t.jsx)("div",{className:"stg:border-b stg:border-border stg:px-4 stg:py-2",children:(0,t.jsx)("h3",{className:"stg:text-xs stg:font-medium stg:uppercase stg:tracking-wider stg:text-muted-foreground",children:"Package Files"})}),(0,t.jsxs)("div",{className:"stg:grid stg:grid-cols-1 stg:md:grid-cols-[220px_1fr]",children:[(0,t.jsx)("nav",{className:"stg:border-b stg:border-border stg:md:border-b-0 stg:md:border-r stg:overflow-y-auto","aria-label":"Skill package file tree",children:(0,t.jsx)("ul",{className:(0,n.cn)(u.UNSTYLED_LIST,"stg:py-1"),role:"tree",children:p.map(e=>(0,t.jsx)(x.FileTreeNode,{node:e,selectedPath:j??"",onSelect:c,depth:0},e.path))})}),(0,t.jsx)("div",{className:"stg:min-h-[200px] stg:max-h-[400px] stg:overflow-y-auto stg:p-4",children:null!==j&&null!==k?(0,t.jsx)(y,{path:j,content:k}):(0,t.jsx)("p",{className:"stg:text-sm stg:text-muted-foreground-subtle stg:italic",children:"Select a file to view its contents"})})]})]}):null:null}function y({path:e,content:s}){return e.endsWith(".md")?(0,t.jsx)(i.default,{remarkPlugins:m.REMARK_PLUGINS,components:m.MARKDOWN_COMPONENTS,children:(0,m.stripFrontmatter)(s)}):(0,t.jsx)("pre",{className:"stg:overflow-x-auto stg:font-mono stg:text-xs stg:leading-relaxed stg:text-foreground stg:whitespace-pre-wrap",children:s})}var k=e.i(476007),w=e.i(758960),S=e.i(484763),C=e.i(188482),M=e.i(668093),L=e.i(652337),A=e.i(267912),D=e.i(244990),T=e.i(261722),P=e.i(521557);function E(e){return{id:e.versionHash,timestamp:e.pushedAt?(0,a.timestampDate)(e.pushedAt):new Date(0),actor:e.pushedBy?{id:e.pushedBy.id,avatar:e.pushedBy.avatar||void 0,displayName:void 0}:void 0,label:e.versionHash.slice(0,12),sublabel:e.message||void 0,isCurrent:e.isCurrent,tag:e.tag||void 0,gitProvenance:e.gitProvenance?{remoteUrl:e.gitProvenance.remoteUrl,ref:e.gitProvenance.ref,commit:e.gitProvenance.commit}:void 0}}var R=e.i(784400),B=e.i(468806),K=e.i(321091);function F(e){if(0===e.length)return 0;let t=1;for(let s=0;s<e.length;s++)"\n"===e[s]&&t++;return t}function I(e,t){let s="SKILL.md"===e.path||"skill.md"===e.path,r="SKILL.md"===t.path||"skill.md"===t.path;if(s&&!r)return -1;if(!s&&r)return 1;let i={modified:0,added:1,removed:2},n=(i[e.changeType]??3)-(i[t.changeType]??3);return 0!==n?n:e.path.localeCompare(t.path)}function U(e){let t=0;for(let s of e.values())t+=2*s.length;return t}function O(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1048576).toFixed(1)} MB`}var W=e.i(598529),H=e.i(488479),z=e.i(676951);function V({diff:e,initialSelectedPath:r,className:i}){let[a,l]=(0,s.useState)(r??e.files[0]?.path??null),o=(0,s.useCallback)(e=>{l(e)},[]),g=a?e.getDiff(a):[];return 0===e.files.length?(0,t.jsxs)("div",{role:"status",className:(0,n.cn)("stg:flex stg:flex-col stg:items-center stg:gap-2 stg:py-12 stg:text-center",i),children:[(0,t.jsx)($,{className:"stg:size-8 stg:text-muted-foreground-faint"}),(0,t.jsx)("p",{className:"stg:text-sm stg:text-muted-foreground",children:"No differences found"}),(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground-subtle",children:"These two versions have identical content."})]}):(0,t.jsxs)("div",{className:(0,n.cn)("stg:flex stg:flex-col stg:gap-3",i),children:[(0,t.jsx)(z.DiffSummary,{fileCount:e.files.length,additions:e.totalAdditions,deletions:e.totalDeletions}),e.files.length>1&&(0,t.jsx)("div",{className:"stg:overflow-hidden stg:rounded-lg stg:border stg:border-border",children:(0,t.jsx)(H.DiffFileList,{files:e.files,selectedPath:a,onSelect:o})}),(0,t.jsx)(W.DiffViewer,{hunks:g,filePath:a??void 0})]})}function $({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:"M8 3v10M3 8h10"}),(0,t.jsx)("circle",{cx:"8",cy:"8",r:"7"})]})}function _({state:e,onClose:r}){let i=(0,s.useCallback)(e=>{e||r()},[r]),{diff:a,isLoading:l,error:o}=function(e,t){let r=(0,d.useStigmer)(),[i,n]=(0,s.useState)(null),[a,l]=(0,s.useState)(!1),[o,g]=(0,s.useState)(null),c=(0,s.useRef)(0),u=(0,s.useCallback)(async()=>{if(!e||!t){n(null),g(null);return}let s=++c.current;l(!0),g(null);try{let[i,a]=await Promise.all([v(r,e),v(r,t)]);if(c.current!==s)return;let l=U(i.contentMap)+U(a.contentMap);if(l>0xa00000)throw Error(`Combined artifact size (${O(l)}) exceeds the ${O(0xa00000)} limit. Try comparing smaller skill packages.`);let o=function(e,t){let s=new Map,r=[],i=0,n=0;for(let a of new Set([...e.keys(),...t.keys()])){let l=e.get(a),o=t.get(a);if(void 0===l&&void 0!==o){let e=F(o);r.push({path:a,changeType:"added",additions:e,deletions:0}),i+=e;let t=(0,K.computeDiff)("",o);s.set(a,t)}else if(void 0!==l&&void 0===o){let e=F(l);r.push({path:a,changeType:"removed",additions:0,deletions:e}),n+=e;let t=(0,K.computeDiff)(l,"");s.set(a,t)}else if(void 0!==l&&void 0!==o&&l!==o){let e=(0,K.computeDiff)(l,o),t=e.reduce((e,t)=>e+t.lines.filter(e=>"added"===e.type).length,0),g=e.reduce((e,t)=>e+t.lines.filter(e=>"removed"===e.type).length,0);r.push({path:a,changeType:"modified",additions:t,deletions:g}),i+=t,n+=g,s.set(a,e)}}return r.sort(I),{files:r,totalAdditions:i,totalDeletions:n,getDiff:e=>s.get(e)??[]}}(i.contentMap,a.contentMap);if(c.current!==s)return;n(o)}catch(e){if(c.current!==s)return;g((0,h.toError)(e)),n(null)}finally{c.current===s&&l(!1)}},[e,t,r]);return(0,s.useEffect)(()=>{u()},[u]),(0,s.useMemo)(()=>({diff:i,isLoading:a,error:o}),[i,a,o])}(e?.fromArtifactKey??null,e?.toArtifactKey??null);return e?(0,t.jsx)(B.DialogShell,{open:!0,onOpenChange:i,width:"4xl",dismissOnBackdrop:!0,className:"stg:h-[85vh]","aria-label":"Skill version diff",children:(0,t.jsxs)("div",{className:"stg:flex stg:h-full stg:flex-col",children:[(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:justify-between stg:border-b stg:border-border stg:px-4 stg:py-3",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:text-sm",children:[(0,t.jsx)("span",{className:"stg:font-medium stg:text-foreground",children:"Comparing"}),(0,t.jsx)("code",{className:"stg:rounded stg:bg-muted stg:px-1.5 stg:py-0.5 stg:font-mono stg:text-[11px] stg:text-muted-foreground",children:e.fromLabel}),(0,t.jsx)(Y,{className:"stg:size-3.5 stg:text-muted-foreground-faint"}),(0,t.jsx)("code",{className:"stg:rounded stg:bg-muted stg:px-1.5 stg:py-0.5 stg:font-mono stg:text-[11px] stg:text-muted-foreground",children:e.toLabel})]}),(0,t.jsx)("button",{type:"button",onClick:r,"aria-label":"Close diff viewer",className:(0,n.cn)("stg:rounded-md stg:p-1.5 stg:text-muted-foreground 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"),children:(0,t.jsx)(Z,{className:"stg:size-4"})})]}),(0,t.jsx)("div",{className:"stg:flex-1 stg:overflow-auto stg:p-4",children:l?(0,t.jsx)(G,{}):o?(0,t.jsx)(k.ErrorMessage,{error:o}):a?(0,t.jsx)(V,{diff:a}):null})]})}):null}function G(){return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-4","aria-busy":"true","aria-label":"Loading diff",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-36 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-20 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-20 stg:animate-pulse stg:rounded stg:bg-muted"})]}),(0,t.jsx)("div",{className:"stg:h-6 stg:w-full stg:animate-pulse stg:rounded stg:bg-muted"}),[1,2,3,4,5,6].map(e=>(0,t.jsxs)("div",{className:"stg:flex stg:gap-2",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-10 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-10 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:flex-1 stg:animate-pulse stg:rounded stg:bg-muted"})]},e))]})}function Y({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 8h10M9 4l4 4-4 4"})})}function Z({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:"M4 4l8 8M12 4l-8 8"})})}var q=e.i(292420),J=e.i(473489);let Q={id:"content",label:"Content"},X={id:"versions",label:"Versions"};function ee({org:e,slug:r,version:i,onResourceLoad:n,primaryAction:u,actions:m,additionalTabs:f,activeTab:x,onTabChange:h,defaultTab:v,onVersionSelect:j,onPluginClick:N,editable:y=!1,onResourceUpdated:C,className:L}){let D,{skill:T,isLoading:B,error:K,refetch:F}=function(e,t,s){let r=(0,d.useStigmer)(),{data:i,isLoading:n,isRefetching:a,error:l,refetch:o}=(0,c.useFetch)(e&&t?async()=>{try{return await r.skill.getByReference({org:e,slug:t,version:s})}catch(e){if((0,g.isNotFound)(e))return null;throw e}}:null,[e,t,s,r],null);return{skill:i,isLoading:n,isRefetching:a,error:l,refetch:o}}(e,r,i),I=(0,J.useManagingPlugin)(T?.metadata?.labels),U=y&&null===I.plugin,{versions:O,isEmpty:W,getArtifactKey:H}=function(e,t){let r=(0,d.useStigmer)(),{data:i,isLoading:n,error:a,refetch:l}=(0,c.useFetch)(e&&t?async()=>{try{let s=(0,p.create)(b.ListSkillVersionsInputSchema,{org:e,slug:t});return(await r.skill.listVersions(s)).versions}catch(e){if((0,P.isUnimplemented)(e))return[];throw e}}:null,[e,t,r],[]),o=(0,s.useMemo)(()=>i.map(E),[i]),g=(0,s.useMemo)(()=>{let e=new Map;for(let t of i)t.versionHash&&t.artifactStorageKey&&e.set(t.versionHash,t.artifactStorageKey);return e},[i]),u=(0,s.useCallback)(e=>g.get(e)??null,[g]),m=0===o.length;return(0,s.useMemo)(()=>({versions:o,isEmpty:m,isLoading:n,error:a,refetch:l,getArtifactKey:u}),[o,m,n,a,l,u])}(e,r),[z,V]=(0,s.useState)(null),$=(0,s.useMemo)(()=>W?[Q]:[Q,X],[W]),{effectiveTabs:G,effectiveActiveTab:Y,effectiveOnTabChange:Z,activeAdditionalTab:es}=(0,A.useDetailTabs)({builtInTabs:$,additionalTabs:f,activeTab:x,onTabChange:h,defaultTab:v}),er=(0,s.useCallback)(e=>j?.(e),[j]),ei=(0,s.useCallback)((e,t)=>{let s=H(e),r=H(t);s&&r&&V({fromArtifactKey:s,toArtifactKey:r,fromLabel:e.slice(0,12),toLabel:t.slice(0,12)})},[H]),en=(0,s.useCallback)(()=>V(null),[]),ea=(0,s.useRef)(n);ea.current=n,(0,s.useEffect)(()=>{T?.metadata?.name&&ea.current?.({name:T.metadata.name,id:T.metadata.id})},[T]);let ed=(0,S.useManageAccess)({resource:T?.metadata?{kind:o.ApiResourceKind.skill,kindString:"skill",id:T.metadata.id,org:T.metadata.org,name:T.metadata.name}:null,visibility:T?.metadata?{kind:"skill",current:T.metadata.visibility,org:T.metadata.org,onChanged:F}:void 0});if(B)return(0,t.jsx)(el,{className:L});if(K)return(0,t.jsx)(k.ErrorMessage,{error:K,retry:F,className:L});if(!T)return(0,t.jsx)(eo,{className:L});let ec=T.metadata,eu=T.spec,em=T.status,ef=em?.audit?.specAudit,ex={name:ec?.name||ec?.slug||"Untitled",id:ec?.id||"",org:ec?.org,slug:ec?.slug,description:void 0,icon:(0,t.jsx)(eg,{className:"stg:size-6 stg:text-muted-foreground"}),createdAt:ef?.createdAt?(0,a.timestampDate)(ef.createdAt):null,updatedAt:ef?.updatedAt?(0,a.timestampDate)(ef.updatedAt):null,status:em?function(e){switch(e){case l.SkillState.READY:return"ready";case l.SkillState.FAILED:return"failed";case l.SkillState.UPLOADING:return"pending";default:return}}(em.state):void 0,statusLabel:em?function(e){switch(e){case l.SkillState.READY:return"Ready";case l.SkillState.FAILED:return"Failed";case l.SkillState.UPLOADING:return"Uploading";default:return}}(em.state):void 0},eh=ec?(0,t.jsx)(w.VisibilityBadge,{visibility:ec.visibility,onClick:ed.action?ed.open:void 0}):void 0,ep=ed.action?[...m??[],ed.action]:m;return D=es?es.content:"versions"===Y&&O.length>0?(0,t.jsx)(R.VersionTimeline,{entries:O,onEntrySelect:er,onCompare:ei}):(0,t.jsx)(et,{spec:eu,status:em,editable:U}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.ResourceDetailShell,{header:ex,visibilityControl:eh,headerBanner:(0,t.jsx)(q.ManagedByPluginNotice,{plugin:I.plugin,onPluginClick:N}),primaryAction:u,actions:ep,tabs:G,activeTab:G?Y:void 0,onTabChange:G?Z:void 0,tabsAriaLabel:"Skill detail sections",className:L,children:D}),ed.dialog,(0,t.jsx)(_,{state:z,onClose:en})]})}function et({spec:e,status:s,editable:r}){return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-6",children:[(r||e?.description)&&(0,t.jsx)(L.Section,{title:"Description",children:r?(0,t.jsx)("div",{className:"stg:max-h-20 stg:overflow-y-auto stg:p-3",children:(0,t.jsx)(T.InlineEditTextarea,{value:e?.description||"",onSave:async()=>!1,isSaving:!1,placeholder:"Add a description",minRows:2,disabled:!0})}):(0,t.jsx)("div",{className:"stg:p-3",children:(0,t.jsx)("pre",{className:"stg:whitespace-pre-wrap stg:break-words stg:text-sm stg:text-foreground stg:font-sans",children:e?.description})})}),(r||e?.tag)&&(0,t.jsx)(L.Section,{title:"Tag",children:r?(0,t.jsx)("div",{className:"stg:p-3",children:(0,t.jsx)(D.InlineEditText,{value:e?.tag||"",onSave:async()=>!1,isSaving:!1,placeholder:"Add a tag (e.g. stable, latest)",disabled:!0})}):(0,t.jsx)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:px-3 stg:py-2.5",children:(0,t.jsx)("span",{className:"stg:rounded stg:bg-muted stg:px-1.5 stg:py-0.5 stg:font-mono stg:text-xs stg:font-medium stg:text-foreground",children:e?.tag})})}),s?.artifactStorageKey?(0,t.jsx)(N,{artifactStorageKey:s.artifactStorageKey}):e?.skillMd?(0,t.jsx)(es,{content:e.skillMd}):null,s&&(s.versionHash||s.gitProvenance)&&(0,t.jsx)(ei,{versionHash:s.versionHash,gitProvenance:s.gitProvenance})]})}function es({content:e}){let[r,n]=(0,s.useState)("rendered");return(0,t.jsx)(ea,{title:"Skill Content",trailing:(0,t.jsx)(er,{value:r,onChange:n}),children:"rendered"===r?(0,t.jsx)("div",{className:"stg:p-4",children:(0,t.jsx)(i.default,{remarkPlugins:m.REMARK_PLUGINS,components:m.MARKDOWN_COMPONENTS,children:(0,m.stripFrontmatter)(e)})}):(0,t.jsx)("pre",{className:"stg:overflow-x-auto stg:p-4 stg:font-mono stg:text-sm stg:leading-relaxed stg:text-foreground",children:e})})}function er({value:e,onChange:s}){return(0,t.jsxs)("div",{role:"radiogroup","aria-label":"Content view mode",className:"stg:inline-flex stg:rounded-md stg:border stg:border-input stg:text-[11px]",children:[(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":"rendered"===e,onClick:()=>s("rendered"),className:(0,n.cn)("stg:rounded-l-md stg:px-2 stg:py-0.5 stg:font-medium stg:transition-colors","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","rendered"===e?"stg:bg-muted stg:text-foreground":"stg:text-muted-foreground stg:hover:text-foreground"),children:"Preview"}),(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":"source"===e,onClick:()=>s("source"),className:(0,n.cn)("stg:rounded-r-md stg:border-l stg:border-input stg:px-2 stg:py-0.5 stg:font-medium stg:transition-colors","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","source"===e?"stg:bg-muted stg:text-foreground":"stg:text-muted-foreground stg:hover:text-foreground"),children:"Source"})]})}function ei({versionHash:e,gitProvenance:s}){let r=e?e.slice(0,12):null;return(0,t.jsx)(L.Section,{title:"Version",children:(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-3 stg:p-3",children:[r&&(0,t.jsxs)("div",{className:"stg:flex stg:items-baseline stg:gap-2",children:[(0,t.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground",children:"Hash"}),(0,t.jsxs)(C.Tooltip,{children:[(0,t.jsx)(C.TooltipTrigger,{render:(0,t.jsx)("code",{className:"stg:font-mono stg:text-xs stg:text-foreground"}),children:r}),(0,t.jsx)(C.TooltipContent,{side:"top",className:"stg:break-all",children:e})]})]}),s&&(0,t.jsx)(en,{provenance:s})]})})}function en({provenance:e}){let s=function(e){if(!e)return null;let t=e.replace(/\.git$/,"");if(t.startsWith("https://")||t.startsWith("http://"))return t;let s=t.match(/^(?:git@|ssh:\/\/)([^:/]+)[:/](.+)$/);return s?`https://${s[1]}/${s[2]}`:null}(e.remoteUrl),r=e.commit?e.commit.slice(0,7):null;return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-1.5",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-baseline stg:gap-2",children:[(0,t.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground",children:"Git"}),(0,t.jsxs)("div",{className:"stg:flex stg:flex-wrap stg:items-baseline stg:gap-x-1.5 stg:text-xs stg:text-foreground",children:[s?(0,t.jsx)("a",{href:s,className:"stg:text-primary stg:underline stg:underline-offset-2 stg:hover:text-primary-muted",target:"_blank",rel:"noopener noreferrer",children:function(e){try{return new URL(e).pathname.replace(/^\//,"").replace(/\.git$/,"")}catch{return e}}(s)}):(0,t.jsx)("span",{className:"stg:font-mono",children:e.remoteUrl}),e.ref&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"stg:text-muted-foreground",children:"@"}),(0,t.jsx)("span",{children:e.ref})]}),r&&(0,t.jsxs)(C.Tooltip,{children:[(0,t.jsx)(C.TooltipTrigger,{render:(0,t.jsx)("code",{className:"stg:rounded stg:bg-muted stg:px-1 stg:py-0.5 stg:font-mono stg:text-[10px]"}),children:r}),(0,t.jsx)(C.TooltipContent,{side:"top",className:"stg:break-all",children:e.commit})]})]})]}),e.subdir&&(0,t.jsxs)("div",{className:"stg:flex stg:items-baseline stg:gap-2",children:[(0,t.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground",children:"Path"}),(0,t.jsx)("code",{className:"stg:font-mono stg:text-xs stg:text-foreground",children:e.subdir})]})]})}function ea({title:e,trailing:s,children:r}){return(0,t.jsxs)("section",{children:[(0,t.jsxs)("div",{className:"stg:mb-2 stg:flex stg:items-center stg:justify-between",children:[(0,t.jsx)("h3",{className:"stg:text-xs stg:font-medium stg:uppercase stg:tracking-wider stg:text-muted-foreground",children:e}),s]}),(0,t.jsx)("div",{className:"stg:overflow-hidden stg:rounded-lg stg:border stg:border-border",children:r})]})}function el({className:e}){return(0,t.jsxs)("div",{className:(0,n.cn)("stg:flex stg:flex-col stg:gap-6",e),"aria-busy":"true","aria-label":"Loading skill details",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-3",children:[(0,t.jsx)("div",{className:"stg:mt-1 stg:size-6 stg:shrink-0 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsxs)("div",{className:"stg:flex-1 stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-5 stg:w-48 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-3 stg:w-64 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-full stg:max-w-md stg:animate-pulse stg:rounded stg:bg-muted"})]})]}),(0,t.jsxs)("div",{className:"stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:w-28 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:animate-pulse stg:rounded-lg stg:border stg:border-border stg:bg-muted-faint",style:{height:"240px"}})]}),(0,t.jsxs)("div",{className:"stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:w-20 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:animate-pulse stg:rounded-lg stg:border stg:border-border stg:bg-muted-faint",style:{height:"64px"}})]})]})}function eo({className:e}){return(0,t.jsxs)("div",{role:"status",className:(0,n.cn)("stg:flex stg:flex-col stg:items-center stg:gap-2 stg:py-12 stg:text-center",e),children:[(0,t.jsx)(eg,{className:"stg:size-10 stg:text-muted-foreground-faint"}),(0,t.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-muted-foreground",children:"Skill not found"}),(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground-subtle",children:"This skill doesn't exist or you don't have access to it."})]})}function eg({className:e}){return(0,t.jsx)("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:"M9 1.5 4 9h4l-1 5.5L12 7H8l1-5.5Z"})})}var ed=e.i(154752),ec=e.i(966205),eu=e.i(582321),em=e.i(10337),ef=e.i(310057),ex=e.i(451241),eh=e.i(107141);function ep({org:e,slug:i}){let n=(0,r.useRouter)(),{navigateToDetail:a}=(0,ex.useLibraryNavigation)(),{setLabel:l}=(0,ef.useBreadcrumbOverride)(),[o,g]=(0,s.useState)(null),[d,c]=(0,s.useState)("Skill"),{copyId:u,copyQualifiedSlug:m}=(0,ed.useCopyResource)(),{confirmState:f,confirm:x,handleConfirm:h,handleCancel:p}=(0,ec.useConfirmAction)(),{deleteResource:b,isDeleting:v}=(0,eu.useDeleteResource)("skill",o,d);(0,s.useEffect)(()=>()=>l(null),[l]);let j=(0,s.useCallback)(({name:e,id:t})=>{l(e),g(t),c(e)},[l]),N=(0,s.useCallback)(async()=>{if(await x({title:`Delete ${d}?`,description:"This action cannot be undone. The skill and its content will be permanently removed.",confirmLabel:"Delete",variant:"destructive"}))try{await b(),n.push("/library/skills")}catch{}},[x,b,n,d]),y=(0,s.useMemo)(()=>[{id:"copy-id",label:"Copy ID",group:"clipboard",onAction:()=>{o&&u(o)},disabled:!o},{id:"copy-slug",label:"Copy slug",group:"clipboard",onAction:()=>m(e,i)},{id:"delete",label:"Delete",variant:"destructive",group:"danger",onAction:N,disabled:v}],[o,u,m,e,i,N,v]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ee,{org:e,slug:i,editable:!0,onResourceLoad:j,onPluginClick:({org:e,slug:t})=>a("plugins",e,t),actions:y}),(0,t.jsx)(em.ConfirmDialog,{state:f,onConfirm:h,onCancel:p})]})}e.s(["SkillDetailPage",0,function(){let e=(0,ex.useRouteDetailYieldsToOverlay)(),s=(0,eh.useStaticRouteParam)("org",2),r=(0,eh.useStaticRouteParam)("slug");return!e&&s&&r?(0,t.jsx)(ep,{org:s,slug:r}):null},"SkillDetailPageInner",0,ep],949037)}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,338300,e=>{"use strict";var t=e.i(167937),r=e.i(939910),n=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){var i,a,s;i=n,a=o,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){i({value:e,done:s})},a)})}}},o=function(e){return this instanceof o?(this.v=e,this):new o(e)},i=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){a.push([e,t,r,n])>1||c(e,t)})},t&&(n[e]=t(n[e])))}function c(e,t){try{var r;(r=i[e](t)).value instanceof o?Promise.resolve(r.value.v).then(l,u):m(a[0][2],r)}catch(e){m(a[0][3],e)}}function l(e){c("next",e)}function u(e){c("throw",e)}function m(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},a=function(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:o(e[n](t)),done:!1}:i?i(t):t}:i}},s=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){var i,a,s;i=n,a=o,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){i({value:e,done:s})},a)})}}},c=function(e){return this instanceof c?(this.v=e,this):new c(e)},l=function(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:c(e[n](t)),done:!1}:o?o(t):t}:o}},u=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=o[e](t)).value instanceof c?Promise.resolve(r.value.v).then(l,u):m(i[0][2],r)}catch(e){m(i[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function m(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}};function m(e,t){let r=(function(){return u(this,arguments,function*(){var r,n;let o=yield c(e);null==(r=null==t?void 0:t.onHeader)||r.call(t,o.header),yield c((yield*l(s(o.message)))),null==(n=null==t?void 0:t.onTrailer)||n.call(t,o.trailer)})})()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>r.next()})}}e.s(["createClient",0,function(e,c){let l={};for(let u of e.methods){let e=(e=>{switch(e.methodKind){case"unary":return function(e,t){return async(r,n)=>{var o,i;let a=await e.unary(t,null==n?void 0:n.signal,null==n?void 0:n.timeoutMs,null==n?void 0:n.headers,r,null==n?void 0:n.contextValues);return null==(o=null==n?void 0:n.onHeader)||o.call(n,a.header),null==(i=null==n?void 0:n.onTrailer)||i.call(n,a.trailer),a.message}}(c,e);case"server_streaming":return function(e,t){return(r,s)=>m(e.stream(t,null==s?void 0:s.signal,null==s?void 0:s.timeoutMs,null==s?void 0:s.headers,function(e){return i(this,arguments,function*(){yield o((yield*a(n(e))))})}([r]),null==s?void 0:s.contextValues),s)}(c,e);case"client_streaming":return function(e,n){return async(o,i)=>{let a,c=await e.stream(n,null==i?void 0:i.signal,null==i?void 0:i.timeoutMs,null==i?void 0:i.headers,o,null==i?void 0:i.contextValues);null==(p=null==i?void 0:i.onHeader)||p.call(i,c.header);let l=0;try{for(var u,m,d,f,p,g,v,y=!0,h=s(c.message);!(u=(v=await h.next()).done);y=!0)f=v.value,y=!1,a=f,l++}catch(e){m={error:e}}finally{try{!y&&!u&&(d=h.return)&&await d.call(h)}finally{if(m)throw m.error}}if(!a)throw new t.ConnectError("protocol error: missing response message",r.Code.Unimplemented);if(l>1)throw new t.ConnectError("protocol error: received extra messages for client streaming method",r.Code.Unimplemented);return null==(g=null==i?void 0:i.onTrailer)||g.call(i,c.trailer),a}}(c,e);case"bidi_streaming":return function(e,t){return(r,n)=>m(e.stream(t,null==n?void 0:n.signal,null==n?void 0:n.timeoutMs,null==n?void 0:n.headers,r,null==n?void 0:n.contextValues),n)}(c,e);default:return null}})(u);null!=e&&(l[u.localName]=e)}return l}],338300)},292558,e=>{"use strict";var t=e.i(17616);function r(e){if(e&&(e.org||e.slug))return{org:e.org,slug:e.slug,...e.version&&{version:e.version},...e.kind&&{kind:e.kind}}}e.s(["stripUndefined",0,function(e){let t={};for(let r of Object.keys(e))void 0!==e[r]&&(t[r]=e[r]);return t},"toResourceRefInput",0,r,"toResourceRefInputs",0,function(e){if(e&&0!==e.length)return e.map(e=>r(e)??{org:"",slug:""})},"toTimestamp",0,function(e){let r=e instanceof Date?e:new Date(e);return(0,t.timestampFromDate)(r)}])},414385,e=>{"use strict";var t=e.i(274217),r=e.i(265209),n=e.i(57897),o=e.i(971811),i=e.i(95560),a=e.i(577755),s=e.i(647767),c=e.i(606322);let l={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function u(e,t,r){return m((0,n.reflect)(e,t),r?Object.assign(Object.assign({},l),r):l)}function m(e,t){var a,c;let l=function e(t,a){if(t.desc.typeName.startsWith("google.protobuf."))switch(t.desc.typeName){case"google.protobuf.Any":return function(t,r){let a,s;if(""===t.typeUrl)return{};let{registry:c}=r;if(c&&(a=(0,o.anyUnpack)(t,c))&&(s=c.getMessage(a.$typeName)),!s||!a)throw Error(`cannot encode message ${t.$typeName} to JSON: "${t.typeUrl}" is not in the type registry`);let l=(0,n.reflect)(s,a),u=(0,i.hasCustomJsonRepresentation)(s)?{value:e(l,r)}:m(l,r);return u["@type"]=t.typeUrl,u}(t.message,a);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 n=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)),n+="."+e,r<0&&0==t&&(n="-"+n)}return n+"s"}(t.message);case"google.protobuf.FieldMask":var s;return(s=t.message).paths.map(e=>{if((0,r.protoSnakeCase)((0,r.protoCamelCase)(e))!==e)throw Error(`cannot encode message ${s.$typeName} to JSON: lowerCamelCase of path name "${e}" is irreversible`);return(0,r.protoCamelCase)(e)}).join(",");case"google.protobuf.Struct":return g(t.message);case"google.protobuf.Value":return v(t.message);case"google.protobuf.ListValue":return y(t.message);default:if((0,i.isWrapperDesc)(t.desc)){let e=t.desc.fields[0];return p(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 n=d(r,e.get(r),t);void 0!==n&&(u[c=r,t.useProtoFieldName?c.name:c.jsonName]=n)}if(t.registry){let r=new Set;for(let{no:n}of null!=(a=e.getUnknown())?a:[])if(!r.has(n)){r.add(n);let o=t.registry.getExtensionFor(e.desc,n);if(!o)continue;let i=(0,s.getExtension)(e.message,o),[a,c]=(0,s.createExtensionContainer)(o,i),l=d(c,a.get(c),t);void 0!==l&&(u[o.jsonName]=l)}}return u}function d(e,t,r){switch(e.fieldKind){case"scalar":return p(e,t);case"message":return m(t,r);case"enum":return f(e.enum,t,r.enumAsInteger);case"list":var n=t,o=r;let i=n.field(),a=[];switch(i.listKind){case"scalar":for(let e of n)a.push(p(i,e));break;case"enum":for(let e of n)a.push(f(i.enum,e,o.enumAsInteger));break;case"message":for(let e of n)a.push(m(e,o))}return o.alwaysEmitImplicit||a.length>0?a:void 0;case"map":var s=t,c=r;let l=s.field(),u={};switch(l.mapKind){case"scalar":for(let[e,t]of s)u[e]=p(l,t);break;case"message":for(let[e,t]of s)u[e]=m(t,c);break;case"enum":for(let[e,t]of s)u[e]=f(l.enum,t,c.enumAsInteger)}return c.alwaysEmitImplicit||s.size>0?u:void 0}}function f(e,t,r){var n;if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: expected number, got ${(0,c.formatVal)(t)}`);if("google.protobuf.NullValue"==e.typeName)return null;if(r)return t;let o=e.value[t];return null!=(n=null==o?void 0:o.name)?n:t}function p(e,r){var n,o,i,s,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==(n=(0,c.checkField)(e,r))?void 0:n.message}`);return r;case t.ScalarType.FLOAT:case t.ScalarType.DOUBLE:if("number"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(o=(0,c.checkField)(e,r))?void 0:o.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==(i=(0,c.checkField)(e,r))?void 0:i.message}`);return r;case t.ScalarType.BOOL:if("boolean"!=typeof r)throw Error(`cannot encode ${e} to JSON: ${null==(s=(0,c.checkField)(e,r))?void 0:s.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,c.checkField)(e,r))?void 0:l.message}`);case t.ScalarType.BYTES:if(r instanceof Uint8Array)return(0,a.base64Encode)(r);throw Error(`cannot encode ${e} to JSON: ${null==(u=(0,c.checkField)(e,r))?void 0:u.message}`)}}function g(e){let t={};for(let[r,n]of Object.entries(e.fields))t[r]=v(n);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 g(e.kind.value);case"listValue":return y(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function y(e){return e.values.map(v)}e.s(["toJson",0,u,"toJsonString",0,function(e,t,r){var n;return JSON.stringify(u(e,t,r),null,null!=(n=null==r?void 0:r.prettySpaces)?n:0)}])},798525,301218,e=>{"use strict";var t=e.i(424407),r=e.i(304532),n=e.i(170255),o=e.i(302933),i=e.i(85849),a=e.i(761867),s=e.i(732303);let c=(0,t.fileDesc)("Ch1haS9zdGlnbWVyL3NlYXJjaC92MS9pby5wcm90bxIUYWkuc3RpZ21lci5zZWFyY2gudjEilQIKDVNlYXJjaFJlcXVlc3QSXQoFa2luZHMYASADKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZEINukgKkgEHIgWCAQIQARIXCgVxdWVyeRgCIAEoCUIIukgFcgMY9AMSKgoDb3JnGAMgASgJQh26SBpyGBg/MhReJHxeW2Etel1bYS16MC05LV0qJBIWCg5leGNsdWRlX3B1YmxpYxgEIAEoCBIuCgRwYWdlGAUgASgLMiAuYWkuc3RpZ21lci5jb21tb25zLnJwYy5QYWdlSW5mbxIYChBjcm9zc19vcmdfcHVibGljGAYgASgIIvQBCg5TZWFyY2hSZXNwb25zZRIzCgdlbnRyaWVzGAEgAygLMiIuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzdWx0Ek4KDmNvdW50c19ieV9raW5kGAIgAygLMjYuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzcG9uc2UuQ291bnRzQnlLaW5kRW50cnkSEwoLdG90YWxfY291bnQYAyABKAUSEwoLdG90YWxfcGFnZXMYBCABKAUaMwoRQ291bnRzQnlLaW5kRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgFOgI4ASKZAwoMU2VhcmNoUmVzdWx0Ek0KBGtpbmQYASABKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZBIKCgJpZBgCIAEoCRIMCgRuYW1lGAMgASgJEgwKBHNsdWcYBCABKAkSFgoOcXVhbGlmaWVkX3NsdWcYBSABKAkSCwoDb3JnGAYgASgJEhMKC2Rlc2NyaXB0aW9uGAcgASgJEkkKCnZpc2liaWxpdHkYCCABKA4yNS5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VWaXNpYmlsaXR5EgwKBHRhZ3MYCSADKAkSLgoKY3JlYXRlZF9hdBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgLIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDQoFc2NvcmUYDCABKAISEAoIaWNvbl91cmwYDSABKAliBnByb3RvMw",[n.file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind,o.file_ai_stigmer_commons_apiresource_enum,i.file_ai_stigmer_commons_rpc_pagination,a.file_buf_validate_validate,s.file_google_protobuf_timestamp]),l=(0,r.messageDesc)(c,0);e.s(["SearchRequestSchema",0,l,"file_ai_stigmer_search_v1_io",0,c],798525);var u=e.i(499328),m=e.i(693569);let d=(0,t.fileDesc)("CiBhaS9zdGlnbWVyL3NlYXJjaC92MS9xdWVyeS5wcm90bxIUYWkuc3RpZ21lci5zZWFyY2gudjEyagoNU2VhcmNoU2VydmljZRJZCgZzZWFyY2gSIy5haS5zdGlnbWVyLnNlYXJjaC52MS5TZWFyY2hSZXF1ZXN0GiQuYWkuc3RpZ21lci5zZWFyY2gudjEuU2VhcmNoUmVzcG9uc2UiBNC4GAFiBnByb3RvMw",[m.file_ai_stigmer_commons_rpc_method_options,c]),f=(0,u.serviceDesc)(d,0);e.s(["SearchService",0,f],301218)},992999,e=>{"use strict";var t=e.i(910304),r=e.i(292558),n=e.i(891287),o=e.i(338300),i=e.i(243176),a=e.i(779805),s=e.i(57674),c=e.i(538634),l=e.i(711961),u=e.i(621559),m=e.i(170255),d=e.i(459153),f=e.i(421415),p=e.i(85849),g=e.i(798525),v=e.i(301218);function y(e){return Object.assign((0,n.create)(l.ToolApprovalOverrideSchema),(0,r.stripUndefined)({toolName:e.toolName,requiresApproval:e.requiresApproval,message:e.message}))}function h(e){let t=(0,n.create)(l.McpServerUsageSchema);return(e.mcpServerRef?.slug||e.mcpServerRef?.org)&&(t.mcpServerRef=(0,n.create)(d.ApiResourceReferenceSchema,{...e.mcpServerRef,kind:44})),e.enabledTools&&(t.enabledTools=e.enabledTools),e.toolApprovalOverrides&&(t.toolApprovalOverrides=e.toolApprovalOverrides.map(y)),t}function b(e){return Object.assign((0,n.create)(l.McpAccessSchema),(0,r.stripUndefined)({mcpServer:e.mcpServer,enabledTools:e.enabledTools}))}function S(e){let t=(0,n.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(b)),e.skillRefs&&(t.skillRefs=e.skillRefs.map(e=>(0,n.create)(d.ApiResourceReferenceSchema,{...e,kind:43}))),void 0!==e.modelOverride&&(t.modelOverride=e.modelOverride),t}function A(e){let t,o=e.mcpServerUsages?.map(h),a=e.skillRefs?.map(e=>(0,n.create)(d.ApiResourceReferenceSchema,{...e,kind:43})),s=e.subAgents?.map(S);return e.env&&(t=Object.fromEntries(Object.entries(e.env).map(([e,t])=>[e,Object.assign((0,n.create)(u.EnvVarDeclarationSchema),(0,r.stripUndefined)({isSecret:t.isSecret,description:t.description,optional:t.optional}))]))),Object.assign((0,n.create)(i.AgentSchema),{apiVersion:"agentic.stigmer.ai/v1",kind:"Agent",metadata:Object.assign((0,n.create)(f.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,n.create)(l.AgentSpecSchema),(0,r.stripUndefined)({description:e.description,iconUrl:e.iconUrl,instructions:e.instructions,mcpServerUsages:o,skillRefs:a,subAgents:s,env:t}))})}function w(e){return{toolName:e.toolName||void 0,requiresApproval:e.requiresApproval||void 0,message:e.message||void 0}}function N(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(w):void 0}}function I(e){return{mcpServer:e.mcpServer??"",enabledTools:e.enabledTools?.length?[...e.enabledTools]:void 0}}function E(e){return{name:e.name??"",description:e.description||void 0,instructions:e.instructions||void 0,mcpAccess:e.mcpAccess?.length?e.mcpAccess.map(I):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,o.createClient)(a.AgentCommandController,e),this.query=(0,o.createClient)(c.AgentQueryController,e),this.search=(0,o.createClient)(v.SearchService,e)}async apply(e){try{return await this.command.apply(A(e))}catch(e){throw(0,t.wrapError)(e)}}async create(e){try{return await this.command.create(A(e))}catch(e){throw(0,t.wrapError)(e)}}async update(e){try{return await this.command.update(A(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,n.create)(s.AgentIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async get(e){try{return await this.query.get((0,n.create)(s.AgentIdSchema,{value:e}))}catch(e){throw(0,t.wrapError)(e)}}async getByReference(e){try{return await this.query.getByReference((0,n.create)(d.ApiResourceReferenceSchema,{...e,kind:m.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,n.create)(g.SearchRequestSchema,{kinds:[m.ApiResourceKind.agent],query:e.query,org:e.org,excludePublic:e.excludePublic??!1,crossOrgPublic:e.crossOrgPublic??!1,page:e.page?(0,n.create)(p.PageInfoSchema,e.page):void 0}));return{entries:t.entries,totalCount:t.totalCount,totalPages:t.totalPages}}catch(e){throw(0,t.wrapError)(e)}}},"buildAgentProto",0,A,"toAgentUpdateInput",0,function(e){let t=e.metadata,o=e.spec??(0,n.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:o.description||void 0,iconUrl:o.iconUrl||void 0,instructions:o.instructions||void 0,mcpServerUsages:o.mcpServerUsages?.length?o.mcpServerUsages.map(N):void 0,skillRefs:(0,r.toResourceRefInputs)(o.skillRefs),subAgents:o.subAgents?.length?o.subAgents.map(E):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}}])}]);